/* 18/11 : CapCut, the last step, one way. Mockups docs/capcut-studio-20261118/maquettes/video-bureau_1.png (desktop),
   video-tel_1.png (phone), revision-bureau_1.png and revision-tel_2.png (a take to download). */

.cc { display: flex; flex-direction: column; gap: 12px; }
.cc__title { display: flex; align-items: center; gap: 9px; font-size: 19px; font-weight: 650; letter-spacing: -0.015em; color: var(--ink); }
.cc__icon {
  width: 20px; height: 20px; flex: none; border-radius: 5px; background: var(--ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Crect width='20' height='20' rx='5'/%3E%3C/svg%3E");
  position: relative;
}
.cc__icon::after {
  content: ""; position: absolute; inset: 5px 4px; border: 2px solid #fff; border-left: 0; border-right: 0;
  transform: skewX(-20deg);
}
.cc__rule { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }

.cc-file__row {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px;
  background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
}
.cc-file__icon {
  width: 18px; height: 22px; flex: none; border: 2px solid var(--ink-2); border-radius: 3px 7px 3px 3px; position: relative;
}
.cc-file__icon::after { content: ""; position: absolute; left: 3px; right: 3px; bottom: 4px; height: 2px; background: var(--ink-2); border-radius: 1px; }
.cc-file__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.cc-file__text b { font-size: 14.5px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.cc-file__text span { font-size: 13.5px; color: var(--muted); }
.cc-file__act { flex: none; font-size: 14.5px; font-weight: 600; text-decoration: none; }
.cc-file--mine .cc-file__text b { font-weight: 500; color: var(--ink-2); }
.cc-get { margin-top: 10px; text-decoration: none; }

.cc-up { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.cc-up__title { font-size: 15.5px; font-weight: 650; color: var(--ink); }
.cc-up__label { font-size: 14.5px; color: var(--muted); }
.cc-up__label b { font-weight: 600; color: var(--ink); }
.cc-up__changes { min-height: 70px; font-size: 15px; }
.cc-up__hint { font-size: 13px; line-height: 1.45; color: var(--muted); }
.cc-up__error { font-size: 14px; line-height: 1.45; color: var(--danger); background: var(--danger-soft); border-radius: 8px; padding: 8px 11px; }
.cc-up__done { font-size: 15px; font-weight: 600; color: var(--ok); background: var(--ok-soft); border-radius: 8px; padding: 10px 12px; }
.cc-up__progress { font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.cc-up .btn--sm { align-self: flex-start; }

.cc-fixes { display: flex; flex-direction: column; gap: 6px; }
.cc-fix { font-size: 14.5px; align-items: flex-start; }
.cc-fix input { margin-top: 1px; flex: none; }

.cc-drop {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 64px; padding: 12px 14px;
  border: 1.5px dashed var(--field); border-radius: var(--radius-sm); background: var(--surface-2);
  font-size: 15px; font-weight: 600; color: var(--action); cursor: pointer; text-align: center;
}
.cc-drop:hover, .cc-drop.is-over { border-color: var(--action); background: var(--action-soft); }
.cc-drop__icon { width: 16px; height: 16px; flex: none; position: relative; }
.cc-drop__icon::before { content: ""; position: absolute; left: 7px; top: 0; width: 2px; height: 12px; background: currentColor; border-radius: 1px; }
.cc-drop__icon::after {
  content: ""; position: absolute; left: 3px; top: 1px; width: 8px; height: 8px;
  border-left: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg);
}
#cc-input:focus-visible + .cc-drop { outline: 3px solid rgba(87, 83, 206, 0.35); outline-offset: 2px; }

.cc-bar { height: 8px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.cc-bar__fill { display: block; height: 100%; width: 0; background: var(--action); border-radius: 999px; transition: width 0.3s ease; }

@media (max-width: 999px) {
  .cc { order: 3; }
  .cc__title { font-size: 20px; }
  .cc-file__row { align-items: flex-start; flex-wrap: wrap; }
  .cc-file__row .cc-file__act { flex-basis: 100%; padding-left: 30px; text-align: left; }
}

/* 20/11: the editing mode's card, on a video of a card in the workshop (in place of the CapCut card, AY).
   Mockups docs/dossier-maquettes-entree-20261120/entree-bureau_2.png (computer) and entree-tel_2.png (phone): a tinted card, the
   scissors before the title, the text under the title, the button and the states from the card's left edge; on a phone a screen
   on the left of the title and the text. Wanted gaps (decision.md): no icon in the button, the orange dot without a frame. */
.ed {
  display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 18px; align-items: start;
  background: var(--action-soft); border-color: var(--action-line); padding: 20px 22px 22px;
}
.ed__body { display: contents; }
.ed__icon { grid-column: 1; grid-row: 1; width: 34px; height: 34px; color: var(--action); display: grid; place-items: center; }
.ed__ico { width: 32px; height: 32px; }
.ed__ico--screen { display: none; }
.ed__title { grid-column: 2; grid-row: 1; align-self: center; font-size: 21px; font-weight: 650; letter-spacing: -0.015em; color: var(--ink); line-height: 1.25; }
.ed__text { grid-column: 2; margin-top: 6px; font-size: 15.5px; line-height: 1.75; color: var(--ink-2); }
.ed__act { grid-column: 1 / -1; margin-top: 16px; display: flex; }
.ed__act:empty { display: none; }
.ed__act a.btn { text-decoration: none; min-height: 50px; padding: 0 30px; font-size: 16px; font-weight: 600; border-radius: 10px; }
.ed__act a.btn--primary { min-width: 266px; }
.ed__states { grid-column: 1 / -1; display: grid; gap: 6px; margin-top: 14px; }
.ed__states:empty { display: none; }
.ed__state { display: flex; align-items: center; gap: 11px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.ed__state::before { content: ""; width: 15px; height: 15px; flex: none; border-radius: 50%; background: #f5a524; }
.ed__state--render::before { background: var(--action); }

@media (max-width: 999px) {
  .ed { order: 3; }   /* on a phone: after the box of a note, before "What changed" (entree-tel_2.png) */
}
.ed--small { grid-template-columns: 44px minmax(0, 1fr); column-gap: 18px; padding: 18px 20px 20px; }
.ed--small .ed__icon { grid-row: 1 / span 2; align-self: center; width: 44px; height: 44px; }
.ed--small .ed__ico { width: 38px; height: 38px; }
.ed--small .ed__ico--cut { display: none; }
.ed--small .ed__ico--screen { display: block; }
.ed--small .ed__title { font-size: 19px; }
.ed--small .ed__text { margin-top: 2px; font-size: 15px; line-height: 1.55; }
