/* Beco Films Portal — visual baseado no becofilms.com */
:root {
  --bg: #ffffff;
  --ink: #0d0d0d;
  --ink-2: #4d4d4d;
  --muted: #6f6f6f;
  --line: rgba(13, 13, 13, 0.12);
  --line-2: rgba(13, 13, 13, 0.3);
  --fill: #efefed;
  --fill-2: #f5f5f3;
  --sans: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); }
a:hover { color: var(--muted); }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Etiquetas mono */
.mono {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
}
.muted { color: var(--muted); }
.ink2 { color: var(--ink-2); }

/* Topo */
.top { border-bottom: 1px solid var(--line); }
.top .wrap, .top .wrap-narrow {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 24px; padding-top: 18px; padding-bottom: 18px;
}
.brand { font-size: 15px; font-weight: 500; letter-spacing: -0.01em; text-decoration: none; }
.badge { border: 1px solid var(--line); padding: 3px 8px; color: var(--muted); }
.nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.nav a { text-decoration: none; color: var(--muted); padding: 10px 0; }
.nav a.on { color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.top-right { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.linkbtn {
  background: none; border: 0; padding: 0; min-height: 44px; cursor: pointer;
  display: inline-flex; align-items: center; text-decoration: none; color: var(--ink);
}
.linkbtn:hover { color: var(--muted); }

/* Cabeçalho de página */
.hero { padding: 64px 0 48px; border-bottom: 1px solid var(--line); }
.hero.noline { border-bottom: 0; }
.eyebrow { margin: 0 0 22px; color: var(--muted); }
.eyebrow b { font-weight: 500; color: var(--ink); }
.title {
  margin: 0; font-weight: 400; letter-spacing: -0.03em; line-height: 0.95;
  font-size: clamp(42px, 7vw, 88px);
}
.title .soft { color: var(--muted); }
.lead { margin: 26px 0 0; max-width: 560px; font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.hero-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }

/* Botões */
.btn, .btn-sec, .btn-dash {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: 0; cursor: pointer; text-decoration: none;
  font-family: var(--mono); font-weight: 500; font-size: 12px; text-transform: uppercase;
  white-space: nowrap;
}
.btn { background: var(--ink); color: #fff; border: 1px solid var(--ink); }
.btn:hover { background: #333; color: #fff; }
.btn-sec { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn-sec:hover { border-color: var(--ink); color: var(--ink); }
.btn-dash { background: transparent; color: var(--muted); border: 1px dashed var(--line-2); cursor: default; }
button.btn-dash { cursor: pointer; }
.btn-sm { min-height: 44px; padding: 0 14px; }
.btn-block { display: flex; width: 100%; }
.btn[disabled], .btn-sec[disabled] { opacity: 0.45; cursor: not-allowed; }
.danger { color: #9b1c1c; }

/* Seções e linhas */
.section { margin-top: 56px; }
.section-h {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line); margin: 0;
}
.section-h h2, .section-h h3 { margin: 0; }
.row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.row .grow { flex: 999 1 240px; min-width: 0; }
.row .name { margin: 0; font-size: 17px; }
.row .sub { margin: 4px 0 0; }
.empty { padding: 28px 0; color: var(--muted); border-bottom: 1px solid var(--line); margin: 0; }

.tag {
  display: inline-block; padding: 5px 10px; border: 1px solid var(--line-2);
  font-family: var(--mono); font-weight: 500; font-size: 11px; text-transform: uppercase; white-space: nowrap;
}
.tag.dash { border-style: dashed; color: var(--muted); }
.tag.solid { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Barra segmentada */
.prog-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.prog-num { font-size: 40px; letter-spacing: -0.02em; color: var(--ink); line-height: 1; }
.segs { display: grid; gap: 8px; }
.seg { min-width: 0; }
.seg i { display: block; height: 6px; background: rgba(13,13,13,0.12); }
.seg.done i { background: var(--ink); }
.seg.now i { background: rgba(13,13,13,0.4); }
.seg span {
  display: block; margin-top: 10px; font-family: var(--mono); font-weight: 500; font-size: 11px;
  text-transform: uppercase; line-height: 1.35; color: var(--muted); overflow-wrap: anywhere;
}
.seg.done span, .seg.now span { color: var(--ink); }
.thin { height: 2px; background: rgba(13,13,13,0.12); }
.thin > i { display: block; height: 2px; background: var(--ink); }

/* Números do início */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); border-bottom: 1px solid var(--line); }
.stat { display: block; padding: 30px 24px 30px 0; text-decoration: none; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .n { margin: 12px 0 0; font-size: 56px; line-height: 1; letter-spacing: -0.02em; }
.stat .h { margin: 12px 0 0; color: var(--ink-2); font-size: 13px; }

/* Colunas */
.cols { display: flex; flex-wrap: wrap; gap: 0 64px; }
.col-main { flex: 999 1 560px; min-width: 0; }
.col-side { flex: 1 1 300px; min-width: 0; }

/* Lista lateral de clientes */
.side-list { flex: 1 1 260px; min-width: 0; border-top: 1px solid var(--line); align-self: flex-start; }
.side-item {
  display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 12px;
  min-height: 60px; padding: 0 14px; background: transparent; border: 0; border-bottom: 1px solid var(--line);
  text-align: left; cursor: pointer; text-decoration: none; color: var(--ink); font-size: 16px;
}
.side-item.on { background: rgba(13,13,13,0.05); }
.side-item:hover { background: rgba(13,13,13,0.03); }

/* Tabela */
.table-box { overflow-x: auto; border-top: 1px solid var(--line); }
table.t { width: 100%; min-width: 860px; border-collapse: collapse; }
table.t th { text-align: left; padding: 14px 14px 14px 0; color: var(--muted); }
table.t td { padding: 18px 14px 18px 0; border-top: 1px solid var(--line); vertical-align: middle; }
table.t td.r, table.t th.r { text-align: right; padding-right: 0; }

/* Filtros */
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 28px 0; }
.chip {
  min-height: 44px; padding: 0 16px; background: transparent; border: 1px solid var(--line-2); cursor: pointer;
  font-family: var(--mono); font-weight: 500; font-size: 12px; text-transform: uppercase;
}
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Formulários */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span { font-family: var(--mono); font-weight: 500; font-size: 11px; text-transform: uppercase; color: var(--muted); }
.in, .sel, .area {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-2);
  padding: 10px 0; font-size: 16px; border-radius: 0; outline: none;
}
.in:focus, .area:focus { border-bottom-color: var(--ink); }
.sel {
  border: 1px solid var(--line-2); min-height: 44px; padding: 0 10px; background: #fff;
  font-family: var(--mono); font-weight: 500; font-size: 12px; text-transform: uppercase; cursor: pointer;
}
.sel.hot { background: var(--ink); color: #fff; border-color: var(--ink); }
.area { min-height: 90px; resize: vertical; border: 1px solid var(--line-2); padding: 10px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px 36px; }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--ink); }
.fieldset { border: 0; padding: 0; margin: 0 0 44px; }
.fieldset legend { padding: 0 0 16px; }

/* Grade de capas */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 44px 22px; }
.cards.reels { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 40px 18px; }
.card { display: block; text-decoration: none; color: var(--ink); min-width: 0; }
.cover {
  position: relative; aspect-ratio: 16 / 10; background: var(--fill); overflow: hidden;
  display: flex; align-items: flex-end; padding: 12px;
}
.cover.v { aspect-ratio: 9 / 16; }
.cover.done { background: #e4e4e1; }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover .pin { position: absolute; top: 12px; left: 12px; z-index: 1; }
.card-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; }
.card-meta p { margin: 0; }

/* Quadro "Sua vez" */
.turn {
  margin-top: 52px; border: 1px solid var(--line-2); padding: clamp(24px, 4vw, 48px);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px;
}
.turn h2 { margin: 0 0 12px; font-size: clamp(26px, 3vw, 36px); font-weight: 400; letter-spacing: -0.02em; }
.turn p { margin: 0; color: var(--ink-2); }

/* Linha do tempo */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: flex; gap: 22px; }
.tl-rail { flex: 0 0 20px; display: flex; flex-direction: column; align-items: center; }
.tl-dot { width: 14px; height: 14px; margin-top: 5px; border-radius: 50%; border: 2px solid rgba(13,13,13,0.3); background: #fff; }
.tl-line { flex: 1 1 auto; width: 1px; min-height: 40px; background: rgba(13,13,13,0.14); }
li.done .tl-dot { background: var(--ink); border-color: var(--ink); }
li.done .tl-line { background: var(--ink); }
li.now .tl-dot { border-color: var(--ink); }
li:last-child .tl-line { background: transparent; }
.tl-body { flex: 1 1 auto; min-width: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-bottom: 34px; }
.tl-body p { margin: 0; }
.tl-name { font-size: 18px; }
li.next .tl-name { color: var(--muted); }

/* Etapas editáveis (admin) */
.step-row > .tag { justify-self: end; }
.step-row { display: grid; grid-template-columns: 40px minmax(140px, 1fr) 150px minmax(200px, 2fr) 84px; gap: 12px 20px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.step-row.now { background: rgba(13,13,13,0.03); }
@media (max-width: 760px) {
  .step-row { grid-template-columns: 32px 1fr; }
  .step-row > :nth-child(n+3) { grid-column: 1 / -1; }
}

/* Entrega (admin, mensal) */
.ent-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ent-row .num { flex: 0 0 40px; align-self: center; }
.ent-row .f-tema { flex: 3 1 200px; }
.ent-row .f-data { flex: 0 1 150px; }
.ent-row .f-link { flex: 2 1 180px; }
.ent-row .f-status { flex: 0 0 auto; }

/* Resumo da cotação */
.summary { flex: 1 1 340px; min-width: 0; border: 1px solid var(--line-2); padding: 30px; align-self: flex-start; position: sticky; top: 20px; }
.sum-line { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 22px 0 28px; }
.sum-total b { font-size: 38px; font-weight: 400; letter-spacing: -0.02em; }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.opt {
  min-height: 60px; padding: 12px 16px; background: transparent; border: 1px solid var(--line-2);
  text-align: left; cursor: pointer; font-size: 15px;
}
.opt.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper button { width: 44px; height: 44px; background: transparent; border: 1px solid var(--line-2); cursor: pointer; font-size: 18px; }
.stepper b { min-width: 28px; text-align: center; font-size: 20px; font-weight: 400; }

/* Login */
.login { min-height: 100vh; display: flex; flex-direction: column; }
.login main { flex: 1 1 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 40px 96px; padding-top: 40px; padding-bottom: 40px; }
.login .intro { flex: 999 1 420px; min-width: 0; }
.login .intro h1 { margin: 0; font-weight: 400; font-size: clamp(56px, 9vw, 120px); line-height: 0.9; letter-spacing: -0.035em; }
.login .box { flex: 1 1 340px; min-width: 0; }
.login .box h2 { margin: 0 0 28px; font-size: 28px; font-weight: 400; letter-spacing: -0.02em; }
.or { display: flex; align-items: center; gap: 14px; }
.or::before, .or::after { content: ''; flex: 1 1 auto; height: 1px; background: var(--line); }
.foot { border-top: 1px solid var(--line); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 20px; color: var(--muted); }
.foot a { color: var(--muted); text-decoration: none; }
.msg { margin: 0; padding: 14px 16px; border: 1px solid var(--line-2); font-size: 14px; line-height: 1.5; }
.msg.err { border-color: #9b1c1c; color: #9b1c1c; }

/* Boas-vindas */
.welcome { position: fixed; inset: 0; background: #fff; display: flex; flex-direction: column; overflow: hidden; z-index: 50; }
.welcome main { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; width: 100%; }
.welcome h1 { margin: 0; font-weight: 400; font-size: clamp(56px, 10vw, 148px); line-height: 0.92; letter-spacing: -0.04em; }
.welcome .mask { display: block; overflow: hidden; padding-bottom: 0.06em; }
.welcome .up { display: block; animation: bfUp 1s cubic-bezier(.2,.7,.1,1) both; }
.welcome .fade { animation: bfFade .6s ease both; }
.welcome .line { height: 1px; background: var(--line); }
.welcome .line i { display: block; height: 1px; background: var(--ink); transform-origin: left center; animation: bfLine 1.9s cubic-bezier(.4,0,.2,1) .9s both; }
.welcome .curtain {
  position: absolute; inset: 0; background: var(--ink); display: flex; align-items: center; justify-content: center;
  color: #bdbdbd; animation: bfCurtain .9s cubic-bezier(.77,0,.18,1) .25s both;
}
.welcome.short .up, .welcome.short .fade { animation-duration: .5s; animation-delay: 0s !important; }
.welcome.short .curtain { display: none; }
.welcome.short .line i { animation-duration: .8s; animation-delay: 0s; }
@keyframes bfCurtain { to { transform: translateY(-100%); } }
@keyframes bfUp { from { transform: translateY(110%); } to { transform: translateY(0); } }
@keyframes bfFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes bfLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .welcome .curtain { display: none; }
  .welcome .up, .welcome .fade, .welcome .line i { animation: none; }
}

/* Diálogo */
dialog.dlg { border: 1px solid var(--ink); border-radius: 0; padding: 0; width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 32px); }
dialog.dlg::backdrop { background: rgba(13,13,13,0.35); }
.dlg-body { padding: 28px; }
.dlg-body h2 { margin: 0 0 24px; font-size: 26px; font-weight: 400; letter-spacing: -0.02em; }
.dlg-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 28px; }

/* Aviso rápido */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px; font-family: var(--mono); font-weight: 500; font-size: 12px;
  text-transform: uppercase; max-width: calc(100vw - 32px);
}

.loading { min-height: 60vh; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.pagefoot { margin-top: 96px; padding: 24px 0 40px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.pagefoot a { color: var(--muted); text-decoration: none; }
.mt0 { margin-top: 0; } .mt8 { margin-top: 8px; } .mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; } .mt40 { margin-top: 40px; }
.flex { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.between { justify-content: space-between; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.pad-b { padding-bottom: 96px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 640px) {
  .hero { padding: 40px 0 32px; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .summary { position: static; }
}

/* Calendário (estilo iPhone/Mac) */
.calx-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.calx-t { margin: 0; font-weight: 400; font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.02em; line-height: 1; }
.calx-t .soft { color: var(--muted); }
.calx-nav { display: flex; gap: 8px; }
.calx-nav .btn-sec { min-width: 44px; padding: 0 12px; font-size: 13px; }
.calx-body { display: flex; flex-wrap: wrap; gap: 28px 36px; align-items: flex-start; }
.calx-main { flex: 999 1 560px; min-width: 0; }
.calx-day { flex: 1 1 260px; min-width: 0; border-top: 1px solid var(--line); padding-top: 14px; position: sticky; top: 16px; }
.calx-dt { margin: 6px 0 4px; font-size: 22px; font-weight: 400; letter-spacing: -0.01em; }
.calx-wd { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.calx-wd span { padding: 0 8px 8px; text-align: right; font-family: var(--mono); font-weight: 500; font-size: 11px; text-transform: uppercase; color: var(--muted); }
.calx-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cc {
  display: flex; flex-direction: column; align-items: stretch; gap: 3px; min-width: 0; min-height: 112px; padding: 6px;
  background: #fff; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  text-align: left; cursor: pointer; font: inherit; color: inherit; border-radius: 0;
}
.cc:hover { background: #fafaf8; }
.cc.fora { background: var(--fill-2); }
.cc.fora .cc-n { color: #a9a9a6; }
.cc-n { align-self: flex-end; display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 13px; font-size: 14px; }
.cc.hoje .cc-n { background: #e5484d; color: #fff; }
.cc.is-sel { box-shadow: inset 0 0 0 2px var(--ink); }
.cc-evs { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pill { display: flex; align-items: center; gap: 5px; min-width: 0; font-size: 11.5px; line-height: 1.3; border-radius: 4px; }
.pill i { flex: 0 0 7px; height: 7px; border-radius: 50%; }
.pill-t { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill-h { flex: 0 0 auto; color: var(--muted); font-size: 10.5px; }
.pill.pa { padding: 2px 6px; border-left: 3px solid transparent; }
.cc-mais { font-size: 10.5px; color: var(--muted); padding-left: 2px; }
.cc-dots { display: none; }
.calx-leg { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; }
.calx-leg span { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-weight: 500; font-size: 11px; text-transform: uppercase; color: var(--muted); }
.calx-leg i { width: 8px; height: 8px; border-radius: 50%; }
.dl { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.dl-bar { flex: 0 0 4px; align-self: stretch; border-radius: 2px; }
.dl-b { flex: 1 1 auto; min-width: 0; }
.dl-t { margin: 0; font-size: 15px; }
@media (max-width: 760px) {
  .calx-day { position: static; }
  .calx-wd span { text-align: center; padding: 0 0 8px; font-size: 10px; }
  .calx-grid { border: 0; }
  .cc { min-height: 54px; padding: 4px 0; align-items: center; border: 0; background: transparent; }
  .cc.fora { background: transparent; }
  .cc-n { align-self: center; min-width: 30px; height: 30px; border-radius: 15px; font-size: 14px; }
  .cc.is-sel { box-shadow: none; }
  .cc.is-sel .cc-n { background: var(--ink); color: #fff; }
  .cc.is-sel.hoje .cc-n, .cc.hoje .cc-n { background: #e5484d; color: #fff; }
  .cc-evs { display: none; }
  .cc-dots { display: flex; justify-content: center; gap: 3px; min-height: 5px; }
  .cc-dots i { width: 5px; height: 5px; border-radius: 50%; }
}
.pill.pd { padding: 1px 6px; border: 1px dashed var(--muted); color: var(--ink-2); }

/* Revisão de vídeo */
.cover-link { display: block; text-decoration: none; color: inherit; }
.cover .play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(13,13,13,0.78); }
.cover .play::after { content: ''; position: absolute; left: 22px; top: 17px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent #fff; }
.cover-link:hover .play { background: #0d0d0d; }
.f-prev { flex: 1 1 100%; justify-content: flex-start; }
.rv { display: flex; flex-wrap: wrap; gap: 32px 40px; align-items: flex-start; border-top: 1px solid var(--line); padding-top: 28px; }
.rv-main { flex: 999 1 560px; min-width: 0; }
.rv-side { flex: 1 1 300px; min-width: 0; max-height: 82vh; overflow-y: auto; }
.rv-video { background: #0d0d0d; display: flex; justify-content: center; align-items: center; min-height: 200px; }
.rv-video video { display: block; max-width: 100%; max-height: 72vh; width: 100%; background: #000; }
.rv-marks { position: relative; height: 14px; margin-top: 8px; background: rgba(13,13,13,0.06); }
.rv-mark { position: absolute; top: 0; width: 4px; height: 14px; margin-left: -2px; padding: 0; border: 0; background: #e5484d; cursor: pointer; }
.rv-mark.ok { background: #a9a9a6; }
.rv-mark:hover { transform: scaleX(1.6); }
.rv-form { margin-top: 24px; }
.rv-tempo { display: inline-block; margin-left: 4px; padding: 2px 8px; background: var(--ink); color: #fff; font-weight: 500; }
.rv-ok { margin: 0; padding: 10px 14px; background: #e9f6ee; color: #1d6b3f; border: 1px solid #b7e1c6; }
.cm { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cm-t { flex: 0 0 auto; align-self: flex-start; min-height: 30px; padding: 0 8px; background: var(--ink); color: #fff; border: 0; cursor: pointer; font-size: 11px; }
.cm.ok .cm-t { background: #a9a9a6; }
.cm-b { flex: 1 1 auto; min-width: 0; }
.cm-a { margin: 0; font-size: 11px; color: var(--muted); }
.cm-x { margin: 4px 0 0; font-size: 14px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.cm.ok .cm-x { color: var(--muted); }
.cm-r { margin-top: 10px; padding-left: 12px; border-left: 2px solid var(--line); }
