/* Vortex Creative Center: the bettter.us design system (bettter-constructor theme, read 2026-10-22).
   Univers LT Pro is licensed and not redistributed here: it is used when installed, Archivo
   (variable width) stands in otherwise. Square corners, #F9F9F9 paper, black ink, white nav
   bars floating over the page, numbered section heads, dark green panels, yellow captions. */
:root {
  color-scheme: light;
  --bg: #f9f9f9; --paper: #fff; --ink: #000; --grey: #686868; --muted: #878787; --faint: rgba(0,0,0,.4);
  --line: #e2e2e2; --soft: #f1f1f1; --green: #203520; --green-2: #20351d; --pink: #ff4d67; --violet: #7470fa;
  --yellow: #f9fd00; --ok: #008f5a; --warn: #b86e00; --err: #b50000;
  --sans: "Univers LT Pro", "Archivo", Helvetica, Arial, sans-serif;
  --cn: "Univers LT Pro Cn", "Archivo", "Arial Narrow", Helvetica, sans-serif;
  --pad: clamp(16px, 2.2vw, 40px);
  --nav-h: 42px;
  --shadow: 0 6px 30px rgba(0,0,0,.06);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: none; text-size-adjust: none; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 14px/1.35 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { color: currentColor; text-decoration: none; transition: color .2s linear, background .2s linear; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img, video, canvas, svg { display: block; max-width: 100%; }
code, pre, .mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12px; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
::selection { background: var(--yellow); color: #000; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- navigation: two white bars floating over the page ---------- */
.nav { position: sticky; top: 0; z-index: 50; display: flex; gap: 10px; padding: 20px var(--pad) 12px; background: linear-gradient(var(--bg) 70%, rgba(249,249,249,0)); }
.nav .bar { display: flex; align-items: stretch; background: var(--paper); height: var(--nav-h); box-shadow: var(--shadow); }
.seg { display: flex; }
.seg a { display: flex; align-items: center; padding: 0 16px; font-size: 12px; color: var(--muted); background: var(--soft); white-space: nowrap; }
.seg a.on { background: var(--paper); color: var(--ink); }
.seg a:hover { text-decoration: none; color: var(--ink); }
.nav .main { flex: 1; min-width: 0; }
.nav .links { display: flex; align-items: center; gap: 4px; padding: 0 10px; overflow-x: auto; scrollbar-width: none; }
.nav .links a { padding: 6px 10px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.nav .links a.on, .nav .links a:hover { color: var(--ink); text-decoration: none; }
.nav .util { display: flex; align-items: center; gap: 14px; margin-left: auto; padding: 0 18px 0 14px; }
.nav .util a.u { font-size: 12px; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.credits { display: flex; gap: 12px; font-size: 11px; color: var(--grey); white-space: nowrap; }
.credits b { color: var(--ink); font-weight: 700; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); margin-right: 6px; vertical-align: 1px; }
.dot.ok { background: var(--ok); } .dot.warn { background: var(--warn); } .dot.err { background: var(--err); } .dot.live { background: var(--pink); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.me { display: flex; align-items: center; gap: 8px; font-size: 12px; white-space: nowrap; }
.avatar { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .02em; flex: none; }
.brand { display: flex; align-items: center; gap: 10px; padding: 0 16px; font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.brand i { width: 14px; height: 14px; background: var(--ink); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 40px; padding: 0 22px; border: 0; border-radius: 0; background: var(--ink); color: var(--bg); font: 400 11px/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; white-space: nowrap; text-decoration: none; transition: all .2s linear; }
.btn:hover { text-decoration: underline; text-underline-offset: 3px; }
.btn.white { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn.green { background: var(--green); color: #fff; }
.btn.pink { background: var(--pink); color: #fff; }
.btn.sm { height: 30px; padding: 0 12px; font-size: 10.5px; }
.btn:disabled, .btn.disabled { background: #d7d7d7; color: #fff; cursor: default; text-decoration: none; box-shadow: none; }
.nav .btn { height: var(--nav-h); }
.btnrow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* ---------- page + section heads (number, uppercase title, dash) ---------- */
main { padding: 18px var(--pad) 80px; max-width: 1600px; margin: 0 auto; }
.head { margin: 26px 0 26px; }
.head .num { font-size: 14px; margin-bottom: 10px; }
.head h1, .head h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1; font-weight: 400; text-transform: uppercase; margin: 0; }
.head .dash { width: 14px; height: 1px; background: currentColor; margin-top: 20px; }
.head p.lead { max-width: 760px; font-size: 16px; color: var(--grey); margin: 16px 0 0; }
.head .row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
h2.sec { font-size: 25px; line-height: 1; font-weight: 400; text-transform: uppercase; margin: 46px 0 6px; }
h3 { font-size: 16px; line-height: 1.1; font-weight: 700; margin: 0 0 8px; }
.kick { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
.muted { color: var(--grey); } .small { font-size: 12px; } .tiny { font-size: 11px; }
.statement { font-family: var(--cn); font-stretch: 75%; font-weight: 700; text-transform: uppercase; text-align: justify; font-size: clamp(30px, 4.3vw, 64px); line-height: .96; letter-spacing: .01em; margin: 0; }

/* ---------- panels ---------- */
.dark { background: var(--green); color: var(--bg); }
.dark .muted, .dark .kick { color: rgba(249,249,249,.62); }
.band { padding: 34px var(--pad) 40px; margin: 0 calc(var(--pad) * -1); }
.panel { background: var(--paper); padding: 20px; }
.panel.line { box-shadow: inset 0 0 0 1px var(--line); }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
@media (max-width: 1100px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .split { grid-template-columns: minmax(0, 1fr); } }
.split > *, .grid > * { min-width: 0; }
@media (max-width: 760px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

/* ---------- cards: number, bold title, dash, text at the bottom ---------- */
.card { position: relative; display: flex; flex-direction: column; background: var(--bg); color: var(--ink); padding: 20px; min-height: 300px; text-decoration: none; }
.panel .card, .card.on-white { background: var(--bg); }
.band .card, .dark .card { background: var(--bg); }
.card:hover { text-decoration: none; }
.card .n { font-size: 12px; display: flex; justify-content: space-between; gap: 10px; }
.card .t { font-size: 22px; line-height: 1.05; font-weight: 700; text-transform: uppercase; margin: 22px 0 0; }
.card .dash { width: 12px; height: 1px; background: currentColor; margin: 26px 0; }
.card .b { margin-top: auto; font-size: 13.5px; line-height: 1.3; }
.card .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
a.card { transition: transform .25s ease, box-shadow .25s ease; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card.new { background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--grey); justify-content: center; align-items: center; text-align: center; }
.band .card.new { box-shadow: inset 0 0 0 1px rgba(249,249,249,.3); color: rgba(249,249,249,.7); }

/* ---------- chips, tags, stats ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; padding: 4px 8px; border: 1px solid var(--ink); background: var(--paper); white-space: nowrap; line-height: 1.1; }
.chip.soft { border-color: var(--line); color: var(--grey); }
.chip.ok { border-color: #9fd3bd; background: #eaf6f0; color: #00603c; }
.chip.warn { border-color: #e5c48f; background: #fbf2e3; color: #7a4a00; }
.chip.err { border-color: #f0a8b5; background: #fde8ec; color: #8a1730; }
.chip.v { border-color: #b9b6fb; background: #efeeff; color: #3e38c9; }
.chip.dark { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip.key { background: var(--yellow); border-color: var(--ink); color: var(--ink); }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat b { font-size: 56px; line-height: .9; font-weight: 700; }
.stat span { font-size: 12.5px; color: var(--grey); }
.dark .stat span { color: rgba(249,249,249,.65); }

/* ---------- tables ---------- */
table.t { width: 100%; border-collapse: collapse; font-size: 13px; }
table.t th { text-align: left; font-weight: 400; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--grey); padding: 10px 10px; border-bottom: 1px solid var(--ink); white-space: nowrap; background: var(--bg); }
table.t td { padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.t tr.hl td { background: #fffff0; }
table.t td.nowrap { white-space: nowrap; }
.tablewrap { overflow-x: auto; }

/* ---------- forms ---------- */
label.f { display: block; margin: 0 0 16px; }
label.f > span { display: block; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--grey); margin-bottom: 6px; }
label.f small { display: block; color: var(--grey); font-size: 11.5px; margin-top: 5px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=url], select, textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; padding: 9px 0; font: 400 15px/1.3 var(--sans); color: var(--ink); -webkit-appearance: none; appearance: none; }
select { background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z'/%3E%3C/svg%3E") no-repeat right 4px center; padding-right: 22px; }
textarea { min-height: 96px; resize: vertical; border: 1px solid var(--line); padding: 10px 12px; font-size: 13.5px; background: var(--paper); }
textarea.code { font: 12px/1.45 ui-monospace, Menlo, monospace; min-height: 520px; white-space: pre; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--violet); }
.check { display: flex; gap: 8px; align-items: center; font-size: 13px; margin-bottom: 12px; }
.err-box { background: #fde8ec; color: #8a1730; padding: 10px 12px; margin-bottom: 16px; font-size: 13px; }
.ok-box { background: #eaf6f0; color: #00603c; padding: 10px 12px; margin-bottom: 16px; font-size: 13px; }
.note-box { background: var(--soft); padding: 12px 14px; font-size: 13px; }
.warn-box { background: #fbf2e3; color: #6b4100; padding: 12px 14px; font-size: 13px; }

/* ---------- auth screens ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); }
.auth .art { background: var(--green); color: var(--bg); padding: 48px var(--pad); display: flex; flex-direction: column; justify-content: space-between; gap: 30px; }
.auth .art .statement { color: var(--bg); }
.auth .form { padding: 48px clamp(24px, 5vw, 80px); display: flex; flex-direction: column; justify-content: center; max-width: 560px; }
@media (max-width: 860px) { .auth { grid-template-columns: 1fr; } .auth .art { min-height: 46vh; } }

/* ---------- harness structure strip ---------- */
.strip { display: flex; gap: 2px; height: 56px; margin: 8px 0 6px; }
.strip > div { position: relative; background: var(--ink); color: var(--bg); padding: 7px 8px; overflow: hidden; min-width: 0; }
.strip > div:nth-child(2n) { background: #2a2a2a; }
.strip > div.pay { background: var(--pink); }
.strip b { display: block; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.strip span { font-size: 10.5px; opacity: .7; }
.ruler { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--grey); }

.shot { display: grid; grid-template-columns: 54px minmax(0, 1fr) 260px; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.shot .id { font-size: 12px; } .shot .id b { display: block; font-size: 22px; line-height: 1; }
.shot .prompt { font-size: 13px; line-height: 1.4; background: var(--paper); padding: 10px 12px; margin-top: 8px; }
.shot .vo { font-size: 15px; margin-top: 8px; } .shot .vo::before { content: "VO  "; font-size: 10px; letter-spacing: .08em; color: var(--grey); }
.shot .side { font-size: 12px; display: flex; flex-direction: column; gap: 8px; }
.shot .media { background: #000; aspect-ratio: 9 / 16; width: 100%; max-width: 170px; display: grid; place-items: center; color: #777; font-size: 11px; overflow: hidden; }
.shot .media video, .shot .media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .shot { grid-template-columns: 40px 1fr; } .shot .side { grid-column: 2; } }

/* ---------- montage timeline ---------- */
.tl { background: #0d0d0d; color: #f9f9f9; padding: 16px 16px 12px; position: relative; user-select: none; }
.tl canvas { width: 100%; height: 330px; cursor: crosshair; }
.tl .bar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; font-size: 11px; color: #bbb; margin-bottom: 10px; }
.tl .bar b { color: #fff; }
.tl .legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 11px; color: #aaa; margin-top: 10px; }
.tl .legend i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; vertical-align: -1px; }
.phone { aspect-ratio: 9 / 16; background: #000; position: relative; overflow: hidden; width: 100%; max-width: 330px; margin: 0 auto; }
.phone .safe { position: absolute; border: 1px dashed rgba(249,253,0,.45); pointer-events: none; }
.phone .slate { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 24px; color: #fff; }
.phone .slate b { font-family: var(--cn); font-stretch: 75%; text-transform: uppercase; font-size: 30px; line-height: .95; }
.phone .slate span { font-size: 11px; opacity: .65; margin-top: 8px; }
.phone .cap { position: absolute; left: 8%; right: 13%; bottom: 27%; text-align: center; font-family: var(--cn); font-stretch: 75%; font-weight: 800; font-size: 25px; line-height: 1; text-transform: uppercase; color: rgba(255,255,255,.35); text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.phone .cap .on { color: var(--yellow); }
.phone .badge { position: absolute; top: 4.5%; left: 6%; font-size: 10px; font-weight: 700; color: #fff; border: 1px solid #fff; padding: 2px 5px; }
.phone video { width: 100%; height: 100%; object-fit: cover; }
.checks { display: flex; flex-direction: column; }
.checks div { display: grid; grid-template-columns: 18px 1fr; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.checks div i { font-style: normal; font-weight: 700; }
.checks .ok i { color: var(--ok); } .checks .warn i { color: var(--warn); } .checks .bad i { color: var(--err); }
.checks small { display: block; color: var(--grey); font-size: 11.5px; margin-top: 2px; }

/* ---------- tabs ---------- */
.tabs { display: flex; gap: 2px; margin: 0 0 24px; overflow-x: auto; scrollbar-width: none; }
.tabs a { padding: 12px 18px; background: var(--soft); font-size: 12px; color: var(--grey); white-space: nowrap; }
.tabs a.on { background: var(--ink); color: var(--bg); }
.tabs a:hover { text-decoration: none; color: var(--ink); } .tabs a.on:hover { color: var(--bg); }

/* ---------- feed, lists ---------- */
.feed { display: flex; flex-direction: column; }
.feed div { display: grid; grid-template-columns: 24px 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.dark .feed div { border-color: rgba(249,249,249,.14); }
.feed time { font-size: 11px; color: var(--grey); white-space: nowrap; }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 8px 14px; font-size: 13px; }
.kv dt { color: var(--grey); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; padding-top: 2px; }
.kv dd { margin: 0; }
.empty { padding: 40px 20px; text-align: center; color: var(--grey); box-shadow: inset 0 0 0 1px var(--line); }
.bar-meter { height: 6px; background: var(--soft); } .bar-meter i { display: block; height: 100%; background: var(--ink); }

/* ---------- dialog ---------- */
dialog { border: 0; padding: 0; max-width: 520px; width: calc(100% - 32px); box-shadow: 0 20px 80px rgba(0,0,0,.25); }
dialog::backdrop { background: rgba(0,0,0,.45); }
dialog .in { padding: 26px; }
dialog h3 { font-size: 22px; font-weight: 400; text-transform: uppercase; margin-bottom: 14px; }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 12px 18px; font-size: 13px; z-index: 100; }
footer.f { padding: 30px var(--pad); color: var(--grey); font-size: 11px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; margin: 6px 0 26px; }
@media (max-width: 760px) {
  .nav { flex-wrap: wrap; padding: 10px 12px 8px; gap: 6px; }
  .nav .bar { width: 100%; }
  .nav .bar:first-child .seg { margin-left: auto; }
  .nav .credits, .nav .me span { display: none; }
  .nav .util { padding: 0 8px; }
  .nav .bar.main .btn { padding: 0 12px; font-size: 10px; }
  .head h1 { font-size: 28px; overflow-wrap: anywhere; }
  .chip { white-space: normal; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tabs a { padding: 12px 12px; }
  .shot { grid-template-columns: 1fr; } .shot .side { grid-column: auto; }
  .card { min-height: 220px; }
  .tl { padding: 12px 10px; margin: 0 calc(var(--pad) * -1); }
  .kv { grid-template-columns: 96px 1fr; }
  .auth .form { padding: 32px 20px; }
}

/* ---------- folds: big sections open and close ---------- */
details.fold { margin: 10px 0; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
details.fold > summary { display: flex; align-items: center; gap: 14px; padding: 14px 18px; cursor: pointer; list-style: none; user-select: none; }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary::after { content: "+"; margin-left: auto; font-size: 20px; line-height: 1; color: var(--grey); }
details.fold[open] > summary::after { content: "–"; }
details.fold > summary:hover { background: var(--soft); }
details.fold .ft { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
details.fold .fn { font-size: 12px; color: var(--muted); }
details.fold > .fb { padding: 4px 18px 18px; }
details.fold details.fold { box-shadow: inset 0 0 0 1px var(--line); background: var(--bg); }
details.fold details.fold > summary { padding: 10px 14px; }
details.fold details.fold .ft { font-size: 12.5px; }
.fthumb { width: 27px; height: 48px; object-fit: cover; background: #111; }
.foldbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 6px; }
details.more { display: inline; }
details.more > summary { display: inline; cursor: pointer; list-style: none; }
details.more > summary::-webkit-details-marker { display: none; }
details.more:not([open]) > summary::after { content: " more"; color: var(--violet); white-space: nowrap; }

/* ---------- reference frames ---------- */
.thumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 10px; }
.th { display: inline-flex; flex-direction: column; flex: none; text-decoration: none; color: var(--grey); }
.th img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; background: #1a1a1a; }
.th span { font-size: 10px; line-height: 1.3; margin-top: 2px; white-space: nowrap; }
.th:hover { text-decoration: none; outline: 2px solid var(--yellow); }
.film { display: flex; gap: 4px; overflow-x: auto; padding: 6px 0 10px; scrollbar-width: thin; }
.film.tight { gap: 2px; }
.thumbsrow { margin-top: 4px; height: auto; background: transparent; }
.thumbsrow > div { background: transparent !important; padding: 2px 0 0 !important; }
.refgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.refcard { display: flex; gap: 10px; align-items: flex-start; padding: 8px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; font-size: 12.5px; line-height: 1.35; }
.refcard:hover { text-decoration: none; box-shadow: inset 0 0 0 2px var(--ink); }
.refcard img { width: 54px; height: 96px; object-fit: cover; flex: none; background: #1a1a1a; }
.refcard i { color: var(--grey); font-style: normal; }
.card.gene .thumbs { margin: 10px 0 4px; }
.card.gene .b { margin-top: 6px; }
.grid:has(> .card.gene) { align-items: start; }

/* ---------- production stages ---------- */
.stage { display: inline-block; font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; padding: 3px 8px; }
.stage.todo { background: var(--soft); color: var(--grey); }
.stage.drafting { background: #fff4d6; color: #8a5a00; }
.stage.liked { background: #ecebff; color: #4b47c9; }
.stage.final { background: #e5f3ec; color: #00754a; }
.stagebar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin: 0 0 16px; }
.stagebar > div { padding: 12px 14px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.stagebar b { display: block; font-size: 15px; margin: 2px 0; }
@media (max-width: 720px) { .stagebar { grid-template-columns: 1fr 1fr; } }

/* ---------- lightbox: frames open large in place ---------- */
.lb { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; gap: 12px; background: rgba(10, 12, 10, .92); padding: 24px; }
.lb.on { display: flex; }
.lb figure { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: min(92vw, 720px); }
.lb-media img, .lb-media video { display: block; max-height: 82vh; max-width: 100%; width: auto; background: #000; box-shadow: 0 10px 60px rgba(0,0,0,.6); }
.lb figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; justify-content: center; color: #f1f1f1; font-size: 13px; margin-top: 12px; text-align: center; }
.lb-n { color: #aaa; }
.lb button { font: inherit; cursor: pointer; border: 0; }
.lb-play { background: var(--yellow); color: #000; padding: 7px 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.lb-x { position: absolute; top: 14px; right: 18px; background: none; color: #fff; font-size: 34px; line-height: 1; }
.lb-p, .lb-nx { background: rgba(255,255,255,.08); color: #fff; font-size: 40px; width: 52px; height: 84px; flex: none; }
.lb-p:hover, .lb-nx:hover { background: rgba(255,255,255,.18); }
@media (max-width: 640px) { .lb { padding: 8px; gap: 4px; } .lb-p, .lb-nx { width: 34px; font-size: 28px; } }

/* ---------- one frame per shot under the structure strip ---------- */
.shotrow { display: flex; gap: 2px; margin-top: 6px; align-items: flex-start; }
.shotrow > div { min-width: 0; display: flex; align-items: flex-end; gap: 6px; }
.shotrow span { font-size: 10.5px; color: rgba(249,249,249,.65); white-space: nowrap; }

/* ---------- categories ---------- */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(225px, 1fr)); gap: 10px; }
.cat { display: flex; flex-direction: column; align-items: flex-start; padding: 14px 16px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.cat h3 a { text-decoration: none; }
.cat h3 a:hover { text-decoration: underline; }
.cat h3 { margin: 6px 0; font-size: 16px; text-transform: uppercase; }
.cat .thumbs { margin: 8px 0; }
.gm td.on { background: var(--ink); color: #fff; text-align: center; }
.gm td.off { color: var(--line); text-align: center; }
.gm th.rot { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }

/* ---------- simplified DNA page: overview first, details on demand ---------- */
.hero2 { background: var(--green); color: var(--bg); padding: 22px 24px 18px; margin: 0 0 8px; }
.hero2 .one { font: 600 clamp(19px, 2.1vw, 26px)/1.25 var(--sans); margin: 0; max-width: 1040px; }
.hero2 .strip > div { min-height: 44px; }
h2.sec2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; font-size: 20px; font-weight: 700; text-transform: uppercase; margin: 30px 0 12px; }
h2.sec2 span { font-size: 12px; font-weight: 400; text-transform: none; color: var(--muted); }
.refgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 8px; }
.refcard { display: flex; gap: 12px; align-items: flex-start; padding: 8px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; line-height: 1.4; }
.refcard .th span { display: none; }
.refcard > span a { text-decoration: none; }
.refcard > span a:hover { text-decoration: underline; }
.refcard i { color: var(--grey); font-style: normal; }
.wd { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 7px; margin-top: 4px; }
.wd.clothed { background: #e5f3ec; color: #00754a; }
.wd.revealing { background: #fff1d6; color: #8a5a00; }
.wd.half-naked { background: #ffe1e5; color: #b5002a; }
.refcard .wd + .tiny { display: block; margin-top: 3px; }
.genegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.gene2 { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); padding: 14px 16px; }
.gene2 .gh { display: flex; justify-content: space-between; gap: 10px; }
.gene2 .gh b { font-size: 14.5px; text-transform: uppercase; line-height: 1.2; }
.gene2 .thumbs { margin: 10px 0 8px; }
.gene2 p { font-size: 13.5px; line-height: 1.4; margin: 0; }
.gene2 details.more > summary::after, details.more:not([open]) > summary:empty::after { content: "more"; color: var(--violet); }
.stageflow { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 2px; }
.stageflow > div { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.stageflow b { font-size: 14px; line-height: 1.25; }
.stageflow .id { font: 11px/1.3 ui-monospace, Menlo, Consolas, monospace; color: var(--grey); word-break: break-all; }
details.details-all { margin-top: 30px; box-shadow: inset 0 0 0 2px var(--ink); }
details.details-all > summary .ft { font-size: 17px; }
.cats .pf { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.cats .pf .th span { display: none; }
.cats .pf .wd { margin-top: 0; font-size: 9.5px; padding: 1px 5px; }
.cats .cat .thumbs { margin: 10px 0; }
.dnacard .posters { display: flex; gap: 4px; margin: 14px 0 4px; }
.dnacard .posters img { width: 48px; height: 85px; object-fit: cover; background: #1a1a1a; }

.cats .cat .thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; width: 100%; }
.cats .pf { min-width: 0; }
.cats .pf .th { width: 100% !important; }
.cats .pf .th img { width: 100%; height: auto; }
.cats .pf .wd { font-size: 8.5px; letter-spacing: .02em; padding: 1px 4px; white-space: nowrap; }
.stageflow .id { display: none; }
.cats .pf .wd { display: block; width: 100%; text-align: center; white-space: normal; overflow-wrap: anywhere; line-height: 1.25; }

/* ---------- formats: examples → DNA → recipe → videos ---------- */
.how, .path { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; counter-reset: none; }
.how li, .path li { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); padding: 12px 14px; position: relative; }
.how li b, .path li b { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .02em; }
.how li span { display: block; font-size: 12.5px; color: var(--grey); margin-top: 4px; line-height: 1.4; }
.how li:not(:last-child)::after, .path li:not(:last-child)::after { content: "→"; position: absolute; right: -9px; top: 50%; transform: translateY(-50%); z-index: 1; background: var(--bg); font-size: 13px; line-height: 1; padding: 2px 0; }
.path li a { display: block; color: inherit; text-decoration: none; }
.path li span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.path li i { display: block; font-style: normal; font-size: 12.5px; margin-top: 6px; }
.path li.done { background: var(--green); color: var(--bg); box-shadow: none; }
.path li.done span { color: rgba(249,249,249,.7); }
.path li.off { opacity: .55; }
.path li:hover:not(.off) { box-shadow: inset 0 0 0 2px var(--ink); }
@media (max-width: 760px) { .how, .path { grid-template-columns: 1fr 1fr; } .how li::after, .path li::after { display: none; } }
.recipe { margin-bottom: 12px; }
.recipe .strip > div { min-height: 40px; }

/* the structure as a board: parts across, examples down, a frame where each part starts */
.board { overflow-x: auto; margin: 0; padding-bottom: 4px; }
.bt { border-collapse: separate; border-spacing: 4px 0; }
.bt th, .bt td { vertical-align: top; text-align: left; padding: 0; }
.bt thead th { background: var(--green); color: var(--bg); padding: 8px 10px; width: 112px; min-width: 112px; font-weight: 400; }
.bt thead th:first-child { background: none; width: auto; min-width: 0; }
.bt thead th b { display: block; font-size: 12px; text-transform: uppercase; line-height: 1.2; }
.bt thead th span { display: block; font-size: 11px; opacity: .7; margin-top: 2px; }
.bt thead th em { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-style: normal; font-size: 11px; line-height: 1.3; opacity: .85; margin-top: 4px; }
.bt tbody th { font-weight: 400; font-size: 11.5px; padding: 10px 8px 0 0; white-space: nowrap; position: sticky; left: 0; background: var(--bg); z-index: 1; color: var(--grey); }
.bt tbody th b { display: block; font-size: 15px; color: var(--ink); }
.bt tbody th span { display: block; }
.bt td { padding-top: 8px; }
.bt td .th { display: block; margin: 0 auto; }
.bt td > span { display: block; text-align: center; font-size: 11px; color: var(--grey); margin-top: 3px; }
.bt td > i { display: flex; align-items: center; justify-content: center; text-align: center; width: 84px; height: 149px; margin: 0 auto; background: var(--soft); color: var(--muted); font-size: 11px; font-style: normal; padding: 8px; }

/* ---------- the assistant ---------- */
.chatwrap { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 18px; align-items: start; }
.chats { position: sticky; top: 90px; }
.chats .list { display: flex; flex-direction: column; gap: 2px; margin-top: 10px; max-height: 70vh; overflow: auto; }
.chats .list a { display: block; padding: 10px 12px; background: var(--paper); color: inherit; text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); }
.chats .list a.on { background: var(--ink); color: var(--bg); box-shadow: none; }
.chats .list a b { display: block; font-size: 13px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chats .list a span { display: block; font-size: 11px; opacity: .65; margin-top: 2px; }
.thread { max-width: 900px; }
.msgs { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.msg { padding: 12px 16px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.msg.user { background: var(--soft); box-shadow: none; margin-left: 10%; }
.msg.assistant { margin-right: 6%; }
.msg .who { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 6px; }
.msg .who time { text-transform: none; letter-spacing: 0; margin-left: 6px; }
.msg .body { font-size: 15px; line-height: 1.5; }
.msg .body p { margin: 0 0 8px; } .msg .body p:last-child { margin-bottom: 0; }
.msg .body ul, .msg .body ol { margin: 0 0 8px; padding-left: 20px; }
.msg .body h4 { margin: 10px 0 6px; font-size: 14px; text-transform: uppercase; }
.msg .body pre { background: var(--soft); padding: 10px; overflow: auto; font-size: 12px; white-space: pre-wrap; }
.msg .body code { background: var(--soft); padding: 0 4px; font-size: 13px; }
.composer { background: var(--paper); box-shadow: var(--shadow); padding: 12px; position: sticky; bottom: 12px; }
.composer textarea { width: 100%; border: 0; resize: vertical; font: inherit; font-size: 15px; min-height: 70px; outline: none; background: transparent; }
.ideas { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.idea { border: 0; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); padding: 8px 12px; font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.idea:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.chats, .thread, .msg { min-width: 0; } .msg .body { overflow-wrap: anywhere; }
@media (max-width: 860px) { .chatwrap { grid-template-columns: minmax(0, 1fr); } .chats { position: static; } .chats .list { max-height: 180px; } .msg.user { margin-left: 0; } .msg.assistant { margin-right: 0; } }
.msg .body a { text-decoration: underline; text-underline-offset: 2px; color: inherit; font-weight: 500; }
.chat-title { font-size: 22px; font-weight: 400; margin: 6px 0 4px; max-width: 1000px; }

/* ---------- the assistant panel, docked on the right ---------- */
.assist { position: fixed; top: 0; right: 0; bottom: 0; width: 420px; max-width: 100vw; background: var(--paper); box-shadow: -12px 0 40px rgba(0,0,0,.08); z-index: 70; display: flex; flex-direction: column; }
.assist[hidden] { display: none; }
@media (min-width: 1100px) { body.assist-open { padding-right: 420px; } }
.assist .ah { display: flex; align-items: center; gap: 6px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.assist .ah b { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.assist .ah .sp { flex: 1; }
.assist .ab { border: 0; background: var(--soft); font: inherit; font-size: 12px; padding: 6px 10px; cursor: pointer; color: var(--ink); text-decoration: none; }
.assist .ab:hover { background: var(--line); text-decoration: none; }
.assist .ab.x { font-size: 18px; line-height: 1; padding: 4px 10px; }
.assist .actx { padding: 8px 16px; font-size: 12px; color: var(--grey); background: var(--bg); border-bottom: 1px solid var(--line); }
.assist .actx b { color: var(--ink); font-weight: 500; }
.assist .amsgs { flex: 1; overflow-y: auto; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.assist .msg { padding: 10px 12px; }
.assist .msg.user { margin-left: 8%; }
.assist .msg.assistant { margin-right: 0; }
.assist .msg .body { font-size: 14px; }
.assist .aempty p { font-size: 14px; color: var(--grey); margin: 0 0 12px; line-height: 1.45; }
.assist .ideas { flex-direction: column; }
.assist .idea { width: 100%; }
.assist .areload { padding: 8px 14px 0; }
.assist .areload[hidden] { display: none; }
.assist .acomp { padding: 10px 14px 14px; border-top: 1px solid var(--line); }
.assist .acomp textarea { width: 100%; border: 0; resize: none; font: inherit; font-size: 14px; outline: none; background: var(--soft); padding: 10px; min-height: 72px; margin-bottom: 8px; }
.msg .who .on { text-transform: none; letter-spacing: 0; margin-left: 6px; }
.msg .who .on a { color: inherit; }
/* with the panel open the top bar keeps only what it needs */
body.assist-open .nav .credits, body.assist-open .nav .me span { display: none; }

/* ---------- the workflow: lanes of steps, in the order a video is made ---------- */
.wf { display: flex; flex-direction: column; gap: 10px; }
.wf-lane { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; align-items: stretch; }
.wf-lab { font-size: 13px; font-weight: 700; text-transform: uppercase; padding-top: 12px; }
.wf-lab span { display: block; font-size: 11px; font-weight: 400; text-transform: none; color: var(--muted); margin-top: 2px; }
.wf-row { display: flex; align-items: stretch; gap: 0; overflow-x: auto; padding-bottom: 2px; }
.wf-step { flex: 1 1 0; min-width: 190px; max-width: 360px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.wf-step.draft { box-shadow: inset 0 0 0 1px var(--line), inset 4px 0 0 var(--yellow); }
.wf-step.final { background: var(--green); color: var(--bg); box-shadow: none; }
.wf-step.final .wf-n, .wf-step.final .wf-meta, .wf-step.final .wf-note, .wf-step.final .wf-fb { color: rgba(249,249,249,.75); }
.wf-n { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.wf-t { font-size: 14px; font-weight: 700; }
.wf-m { font-size: 15px; font-weight: 500; }
.wf-meta, .wf-note { font-size: 12px; color: var(--grey); line-height: 1.35; }
.wf-fb { font-size: 11px; color: var(--muted); }
.wf-step select { margin-top: 6px; width: 100%; font: inherit; font-size: 12.5px; padding: 6px 8px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.wf-arrow { display: flex; align-items: center; padding: 0 6px; color: var(--muted); font-size: 18px; }
.wf-gate { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-width: 110px; max-width: 140px; padding: 8px; background: var(--soft); }
.wf-gate b { font-size: 24px; color: var(--pink); line-height: 1; }
.wf-gate span { font-size: 11.5px; color: var(--grey); margin-top: 4px; line-height: 1.3; }
.wf-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin: 6px 0 14px; }
.wf-save { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.wf-save input { font: inherit; font-size: 13px; padding: 9px 10px; border: 1px solid var(--line); min-width: 280px; background: var(--paper); }
.wf-explain { margin-bottom: 14px; }
.wf-shots select { font: inherit; font-size: 12px; padding: 4px 6px; border: 1px solid var(--line); max-width: 300px; background: var(--paper); }
.wf-shots tr.pay td:first-child { box-shadow: inset 3px 0 0 var(--pink); }
.wf-strip { display: flex; align-items: stretch; flex-wrap: wrap; gap: 6px; }
.wf-mini { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); padding: 8px 12px; display: flex; flex-direction: column; min-width: 120px; }
.wf-mini span { font-size: 10.5px; text-transform: uppercase; color: var(--muted); letter-spacing: .03em; }
.wf-mini b { font-size: 13px; font-weight: 500; }
.wf-mini i { font-style: normal; font-size: 11.5px; color: var(--grey); }
.wf-mini.gate { align-items: center; justify-content: center; min-width: 70px; background: var(--soft); box-shadow: none; }
.wf-mini.gate b { color: var(--pink); font-size: 20px; }
.wf-strip .wf-arrow { padding: 0 2px; }
/* the pipeline: what goes into each step, and what comes out */
.wf-in, .wf-out { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; font-size: 11.5px; margin: 2px 0; }
.wf-in > .lab, .wf-out > .lab { font-size: 10px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); min-width: 22px; }
.wf-out { color: var(--grey); }
.wf-step.final .wf-in > .lab, .wf-step.final .wf-out, .wf-step.final .wf-out > .lab { color: rgba(249,249,249,.75); }
.pin { display: inline-block; font-size: 11px; line-height: 1.3; padding: 2px 6px; background: var(--soft); color: var(--ink); white-space: nowrap; text-transform: none; letter-spacing: 0; }
.pin.ours { background: #fff0f3; box-shadow: inset 0 0 0 1px #f0a8b5; }
.pin.words { background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--grey); }
.pin.clip { background: #efeeff; box-shadow: inset 0 0 0 1px #c9c7fb; }
.wf-step.final .pin { background: rgba(249,249,249,.16); color: var(--bg); box-shadow: none; }
.wf-step.muted { opacity: .7; }
.pins { display: flex; flex-wrap: wrap; gap: 4px; }
.wf-prog td { vertical-align: top; }
.wf-prog tr.sum td { border-top: 1.5px solid var(--ink); background: var(--soft); }
.wf-prog tr.gate td { color: var(--grey); font-size: 13px; }
.wf-prog tr.gate b { color: var(--pink); font-size: 16px; margin-right: 6px; }
.wf-mini em { font-style: normal; font-size: 11.5px; font-weight: 600; }
.wf-mini.draft { box-shadow: inset 0 0 0 1px var(--line), inset 3px 0 0 var(--yellow); }
.wf-mini.final { background: var(--green); color: var(--bg); box-shadow: none; }
.wf-mini.final span, .wf-mini.final i { color: rgba(249,249,249,.75); }
.wf-mini.tot { background: var(--ink); color: var(--bg); box-shadow: none; }
.wf-mini.tot span, .wf-mini.tot i { color: rgba(249,249,249,.7); }
.wf-strip.side { margin-top: 6px; }
@media (max-width: 760px) { .wf-lane { grid-template-columns: 1fr; } .wf-lab { padding-top: 0; } .wf-row { flex-wrap: wrap; gap: 6px; } .wf-arrow { display: none; } .wf-step { min-width: 100%; max-width: none; } .wf-gate { max-width: none; width: 100%; } }

/* ---------- drop zones (instead of "Choose File · No file chosen") ---------- */
.drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 18px 14px; min-height: 96px; text-align: center; background: repeating-linear-gradient(45deg, #fff 0 8px, #fafafa 8px 16px); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: box-shadow .15s linear; }
.drop input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.drop b { font-size: 22px; line-height: 1; font-weight: 400; }
.drop .dl { font-size: 13px; }
.drop .dh { font-size: 11px; color: var(--grey); }
.drop .df { font-size: 12px; font-weight: 700; overflow-wrap: anywhere; }
.drop.over, .drop:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.drop:focus-within { outline: 2px solid var(--violet); outline-offset: 2px; }
.drop.has { background: #fff; }
.drop.busy { opacity: .7; pointer-events: none; }
.drop.ours { background: repeating-linear-gradient(45deg, #fff 0 8px, #fde8ec 8px 16px); }
.drop.sm { min-height: 64px; padding: 10px; }
.drop.sm b { font-size: 16px; }

/* ---------- our footage ---------- */
.wf-step.ours { box-shadow: inset 0 0 0 1px var(--line), inset 4px 0 0 var(--pink); background: repeating-linear-gradient(45deg, #fff 0 8px, #fff6f8 8px 16px); }
.wf-mini.ours { box-shadow: inset 0 0 0 1px #f0a8b5; background: #fff6f8; }
.cliplist { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.clip { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.clip .pic { aspect-ratio: 9 / 16; background: #111; display: grid; place-items: center; overflow: hidden; }
.clip .pic img, .clip .pic video { width: 100%; height: 100%; object-fit: cover; }
.clip .meta { padding: 8px 10px 10px; font-size: 12px; }
.clip .meta b { display: block; font-size: 13px; margin-bottom: 2px; overflow-wrap: anywhere; }
.needs { list-style: none; padding: 0; margin: 8px 0 0; }
.needs li { padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.needs li b { display: block; }
.shot.ours > div:first-child b { color: var(--pink); }
.stage.footage { background: #fde8ec; color: #8a1730; }

/* ---------- a video: the storyboard (approved mockup, 2026-10-26) ---------- */
.vhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 18px 0 18px; flex-wrap: wrap; }
.vhead h1 { font-size: clamp(26px, 3vw, 36px); line-height: 1; font-weight: 400; text-transform: uppercase; margin: 6px 0 0; }
.vhead .num a { text-decoration: underline; text-underline-offset: 3px; }
.vhead .chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.subtabs { display: flex; gap: 2px; align-items: center; flex-wrap: wrap; margin: -18px 0 22px; }
.subtabs a { padding: 8px 14px; font-size: 12px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); color: var(--grey); }
.subtabs a.on { box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); }
.subtabs span { margin-left: 10px; }
.tabs { align-items: stretch; }
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; margin-bottom: 18px; }
.flow a { padding: 12px 14px; background: var(--paper); font-size: 12px; color: var(--grey); text-decoration: none; }
.flow a b { display: block; font-size: 14px; color: var(--ink); }
.flow a.now { background: var(--ink); color: rgba(249,249,249,.72); }
.flow a.now b { color: #fff; }
.flow a.done { background: var(--green); color: rgba(249,249,249,.72); }
.flow a.done b { color: #fff; }
.sbgrid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 26px; align-items: start; }
.sb { display: grid; grid-template-columns: repeat(var(--n, 8), minmax(0, 1fr)); gap: 10px; }
.sbc { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; min-width: 0; }
.sbc.liked { box-shadow: inset 0 0 0 2px var(--pink); }
.sbc.final { box-shadow: inset 0 0 0 2px var(--green); }
.sbc .pic { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: #151515; }
.sbc .pic video, .sbc .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sbc .pic .no { position: absolute; left: 6px; top: 6px; font-size: 10px; background: rgba(0,0,0,.6); color: #fff; padding: 2px 5px; }
.sbc .pic .cap { position: absolute; left: 6px; right: 6px; bottom: 30px; text-align: center; font: 800 10px/1.1 var(--cn); font-stretch: 75%; text-transform: uppercase; color: #fff; text-shadow: 0 1px 2px #000; pointer-events: none; }
.sbc .heart { position: absolute; right: 6px; top: 6px; margin: 0; }
.sbc .heart button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: #fff; color: #c4c4c4; font-size: 15px; cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.sbc .heart button.on { color: var(--pink); }
.sbc .heart button:hover { color: var(--pink); }
.sbc .takes { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 26px 1fr 26px; align-items: center; background: rgba(0,0,0,.55); color: #fff; font-size: 10.5px; text-align: center; }
.sbc .takes form { margin: 0; }
.sbc .takes button { width: 26px; height: 22px; border: 0; background: transparent; color: #fff; font-size: 15px; cursor: pointer; }
.sbc .empty-pic { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 6px; align-items: center; justify-content: center; color: #888; font-size: 11px; }
.sbc.need .pic { background: repeating-linear-gradient(45deg, #fff 0 8px, #fde8ec 8px 16px); }
.sbc.need .drop { position: absolute; inset: 0; min-height: 0; background: transparent; box-shadow: none; padding: 8px; }
.sbc.need .drop .dl { color: #8a1730; font-size: 11.5px; }
.sbc .meta { padding: 8px 8px 10px; font-size: 11px; line-height: 1.3; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sbc .meta b { font-size: 12px; overflow-wrap: anywhere; }
.sbc .meta > span { color: var(--grey); }
.sbc .meta .st { color: var(--ink); font-size: 10.5px; margin-top: 3px; }
.sbc .meta .st.liked { color: var(--pink); }
.sbc .meta .st.ok { color: var(--ok); }
.sbc .meta .st.ours { color: #8a1730; }
.sbc .meta .st.run { color: var(--warn); }
.sbc .meta .model, .sbc .meta .what { font-size: 10px; color: var(--grey); overflow-wrap: anywhere; }
.sbc .meta .acts { display: flex; gap: 10px; margin-top: 4px; }
.sbc .lnk { background: none; border: 0; padding: 0; font: inherit; font-size: 10.5px; color: var(--ink); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.sbc .pickclip { display: flex; gap: 4px; margin-top: 6px; }
.sbc .meta .acts form { margin: 0; }
.sbc .pic .tag, .look .pic .tag { position: absolute; left: 6px; bottom: 6px; font-size: 9.5px; text-transform: uppercase; letter-spacing: .04em; background: rgba(0,0,0,.6); color: #fff; padding: 2px 5px; }
.chain { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 6px; align-items: start; margin-top: 5px; padding-top: 5px; border-top: 1px solid var(--line); font-size: 10px; line-height: 1.3; color: var(--grey); }
.chain > span:only-child { grid-column: 1 / -1; }
.chain img, .chain i { width: 22px; aspect-ratio: 9 / 16; object-fit: cover; display: block; background: repeating-linear-gradient(45deg, #eee 0 4px, #f8f8f8 4px 8px); }
.chain b { font-size: 10px; color: var(--ink); }
/* cast & set: one picture each, above the shots */
.cast { margin-bottom: 14px; }
.cast-h { display: flex; gap: 10px; align-items: baseline; margin-bottom: 8px; font-size: 12px; }
.cast-h b { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.cast-h span { color: var(--grey); }
.castrow { display: flex; gap: 10px; flex-wrap: wrap; }
.look { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 10px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); padding: 8px; width: 250px; }
.look.redo { box-shadow: inset 0 0 0 1px var(--line), inset 3px 0 0 var(--yellow); }
.look .pic { position: relative; aspect-ratio: 9 / 16; background: #151515; overflow: hidden; }
.look .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.look .pic .tag { left: 2px; bottom: 2px; font-size: 8px; padding: 1px 3px; }
.look .empty-pic { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; color: #888; font-size: 9px; padding: 4px; gap: 4px; flex-direction: column; }
.look .meta { display: flex; flex-direction: column; gap: 2px; font-size: 11px; min-width: 0; }
.look .meta b { font-size: 12.5px; }
.look .meta > span { color: var(--grey); }
.look .meta .st.redo { color: var(--warn); font-size: 10.5px; }
.look .acts { display: flex; gap: 10px; margin-top: auto; }
.look .acts form { margin: 0; }
.look .lnk { background: none; border: 0; padding: 0; font: inherit; font-size: 11px; color: var(--ink); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
form.busy { opacity: .5; pointer-events: none; }
.sbc .pickclip select { font-size: 11px; padding: 4px; min-width: 0; flex: 1; }
.runbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; background: var(--paper); box-shadow: var(--shadow); padding: 16px 20px; margin: 18px 0 0; }
.runbar .l { font-size: 13px; }
.runbar .l b { font-size: 15px; }
.runbar .l span { color: var(--grey); display: block; font-size: 12px; margin-top: 4px; }
.runbar.busy { box-shadow: inset 4px 0 0 var(--yellow), var(--shadow); }
.sbside { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 90px; }
.anim .phone { border-radius: 18px; box-shadow: 0 0 0 10px #0d0d0d; max-width: 260px; margin: 10px auto 0; }
.anim .phone .badge { position: absolute; left: auto; right: 12px; top: 12px; border: 1px solid #fff; color: #fff; font-size: 10px; padding: 1px 4px; }
.anim .phone .cap { font-size: 20px; }
.anim > .btnrow { justify-content: center; margin-top: 18px !important; }
.sbchecks { font-size: 12.5px; }
.sbchecks > div { display: flex; gap: 8px; padding: 4px 0; }
.sbchecks i { font-style: normal; font-weight: 700; width: 12px; }
.sbchecks .ok i { color: var(--ok); } .sbchecks .warn i { color: var(--warn); } .sbchecks .bad i { color: var(--err); }
.sbchecks a { display: inline-block; margin-top: 6px; }
.runlist { max-height: 46vh; overflow: auto; font-size: 13px; }
.runrow { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 4px 12px; padding: 7px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.runrow .m { font-size: 11px; color: var(--grey); text-align: right; }
.runrow small { grid-column: 1 / -1; font-size: 11px; color: var(--warn); }
.runrow.bad b { color: var(--err); }
.runrow small.uses { color: var(--grey); margin-top: -2px; }
.runstep { display: flex; gap: 6px; align-items: baseline; margin: 14px 0 2px; padding-bottom: 4px; border-bottom: 1.5px solid var(--ink); font-size: 12px; }
.runstep:first-child { margin-top: 0; }
.runstep b { text-transform: uppercase; letter-spacing: .06em; font-size: 11px; white-space: nowrap; }
.runstep span { color: var(--grey); flex: 1; }
.runstep i { font-style: normal; font-weight: 700; white-space: nowrap; }
dialog#run { width: min(560px, 94vw); }
@media (max-width: 1280px) { .sb { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .sbgrid { grid-template-columns: minmax(0, 1fr); } .sbside { position: static; } }
@media (max-width: 760px) {
  .sb { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .runbar { grid-template-columns: minmax(0, 1fr); }
  .runbar .btnrow { justify-content: stretch; } .runbar .btn { width: 100%; }
}

/* ---------- a new video on one page ---------- */
.nv { display: grid; grid-template-columns: 440px minmax(0, 1fr); gap: 28px; align-items: start; }
.rc { display: block; background: var(--paper); padding: 16px 18px; box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 10px; color: var(--ink); text-decoration: none; }
.rc:hover { text-decoration: none; box-shadow: inset 0 0 0 1px var(--ink); }
.rc.on { box-shadow: inset 0 0 0 2px var(--ink); }
.rc h4 { margin: 0; font-size: 16px; text-transform: uppercase; }
.rc p { margin: 6px 0 8px; font-size: 12.5px; color: var(--grey); line-height: 1.35; }
.rc .strip { height: 26px; margin: 0 0 8px; }
.rc .strip b { font-size: 9px; }
.rc .chip { font-size: 9.5px; margin-left: 4px; }
.folded { box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; color: var(--grey); }
.folded > summary { padding: 14px 18px; cursor: pointer; }
.folded > .rc { margin: 0 10px 10px; }
.brief { background: var(--paper); padding: 24px 26px; box-shadow: var(--shadow); }
.brief .fl { border: 0; padding: 0; margin: 0 0 22px; }
.brief .fl > legend { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); margin-bottom: 10px; padding: 0; }
.brief .f .from { font-style: normal; color: var(--ok); text-transform: none; letter-spacing: 0; margin-left: 6px; }
.brief .hint { font-size: 12px; color: var(--grey); margin: 8px 0 12px; }
.brief .hint.warn { color: var(--warn); }
.mk { display: flex; gap: 2px; flex-wrap: wrap; margin-bottom: 10px; }
.mk label { position: relative; padding: 9px 13px; background: var(--soft); font-size: 12.5px; cursor: pointer; }
.mk label input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.mk label.on { background: var(--ink); color: var(--bg); }
.mk label:focus-within { outline: 2px solid var(--violet); }
.mk label small { font-size: 10px; opacity: .7; margin-left: 3px; }
.filled { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; background: var(--line); margin-top: 8px; }
.filled div { background: #fbfbfb; padding: 9px 12px; font-size: 13px; }
.filled div.wide { grid-column: 1 / -1; }
.filled div small { display: block; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--grey); margin-bottom: 3px; }
.costbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--ink); color: var(--bg); padding: 16px 22px; margin-top: 8px; }
.costbar .c { font-size: 12.5px; color: rgba(249,249,249,.75); }
.costbar .c b { color: #fff; }
.costbar .btn { background: var(--yellow); color: #000; }
@media (max-width: 1100px) { .nv { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .costbar { flex-direction: column; align-items: stretch; } .filled { grid-template-columns: 1fr; } }

/* ---------- the menu: budget in dollars, to review, the two of you ---------- */
.budget { display: flex; align-items: center; gap: 10px; font-size: 11px; white-space: nowrap; color: var(--ink); text-decoration: none; }
.budget:hover { text-decoration: none; }
.budget b { font-weight: 700; }
.budget .bbar { display: inline-block; width: 46px; height: 4px; background: var(--line); margin-left: 6px; vertical-align: 2px; position: relative; }
.budget .bbar i { position: absolute; inset: 0 auto 0 0; background: var(--ok); }
.badge-n { display: inline-grid; place-items: center; min-width: 16px; height: 16px; padding: 0 4px; margin-left: 4px; background: var(--pink); color: #fff; font-size: 10px; border-radius: 8px; line-height: 1; }
.nav .me .avatar + .avatar { margin-left: -6px; box-shadow: 0 0 0 2px #fff; }
.nav .me.on span:last-child { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1180px) { .budget .muted, .budget .bbar { display: none; } }
@media (max-width: 900px) { .budget { display: none; } }

/* ---------- home: what's next ---------- */
.next { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.nx { background: var(--paper); padding: 22px; display: flex; flex-direction: column; gap: 10px; min-height: 240px; box-shadow: var(--shadow); }
.nx .k { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
.nx h3 { font-size: 21px; text-transform: uppercase; font-weight: 700; line-height: 1.05; margin: 4px 0 0; }
.nx p { margin: 0; color: var(--grey); font-size: 13.5px; line-height: 1.38; }
.nx .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.nx.block { box-shadow: inset 4px 0 0 var(--pink), var(--shadow); }
.nx.decide { box-shadow: inset 4px 0 0 var(--yellow), var(--shadow); }
.nx.go { background: var(--green); color: var(--bg); }
.nx.go p, .nx.go .k { color: rgba(249,249,249,.75); }
.nx .btn.yel { background: var(--yellow); color: #000; }
.nx .cost { font-size: 12px; } .nx .cost b { font-size: 18px; }
.nx .mk { margin: 0; }
.mkb { padding: 8px 12px; background: var(--soft); border: 0; font: inherit; font-size: 12px; cursor: pointer; }
.mkb:hover { background: var(--ink); color: var(--bg); }
.vrow { display: grid; grid-template-columns: 54px minmax(0, 1fr) 230px 170px; gap: 18px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.vrow:hover { text-decoration: none; background: rgba(0,0,0,.015); }
.vrow .poster9 { width: 54px; aspect-ratio: 9 / 16; object-fit: cover; background: #222; display: block; }
.vrow .poster9.empty { background: repeating-linear-gradient(45deg, #ececec 0 6px, #e2e2e2 6px 12px); }
.vrow .mini { display: flex; gap: 2px; }
.vrow .mini i { width: 12px; height: 22px; background: var(--line); }
.vrow .mini i.d { background: #9a9a9a; } .vrow .mini i.l { background: var(--pink); } .vrow .mini i.f { background: var(--ink); }
.vrow .mini i.u { background: repeating-linear-gradient(45deg, #fff 0 3px, #f0a8b5 3px 6px); }
.vrow .state { font-size: 12px; } .vrow .state b { display: block; font-size: 13.5px; }
@media (max-width: 1100px) { .next { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .vrow { grid-template-columns: 54px minmax(0, 1fr); } .vrow > div:nth-child(3), .vrow > .state { grid-column: 2; } }

/* ---------- review on a phone ---------- */
.rv-body { background: #0b0b0b; color: #fff; margin: 0; }
.rv { position: relative; height: 100vh; height: 100dvh; max-width: 480px; margin: 0 auto; overflow: hidden; background: #000; }
.rv-stage { position: absolute; inset: 0; touch-action: pan-y; }
.rv-media { position: absolute; inset: 0; display: grid; place-items: center; }
.rv-media video, .rv-media img { width: 100%; height: 100%; object-fit: cover; }
.rv-empty { display: flex; flex-direction: column; gap: 6px; text-align: center; padding: 40px; color: rgba(255,255,255,.7); }
.rv-empty b { font: 800 26px/1 var(--cn); font-stretch: 75%; text-transform: uppercase; color: #fff; }
.rv-cap { position: absolute; left: 7%; right: 22%; top: 46%; text-align: center; font: 800 28px/1.02 var(--cn); font-stretch: 75%; text-transform: uppercase; text-shadow: 0 2px 6px #000; pointer-events: none; }
.rv-top { position: absolute; left: 0; right: 0; top: 0; padding: 14px 14px 34px; display: grid; grid-template-columns: 32px 1fr 40px; gap: 10px; align-items: center; background: linear-gradient(rgba(0,0,0,.7), transparent); }
.rv-top b { display: block; font-size: 15px; }
.rv-top span { color: rgba(255,255,255,.72); font-size: 12px; }
.rv-back { font-size: 30px; line-height: 1; color: #fff; text-decoration: none; }
.rv-sound { background: rgba(0,0,0,.4); border: 0; color: #fff; width: 38px; height: 38px; border-radius: 50%; font-size: 17px; cursor: pointer; }
.rv-takes { position: absolute; left: 50%; top: 120px; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; background: rgba(0,0,0,.55); font-size: 12px; padding: 2px 4px; }
.rv-takes button { background: none; border: 0; color: #fff; font-size: 20px; width: 30px; height: 30px; cursor: pointer; }
.rv-rail { position: absolute; right: 10px; top: 32%; display: flex; flex-direction: column; gap: 14px; }
.rv-rail button { display: flex; flex-direction: column; align-items: center; gap: 4px; background: none; border: 0; color: #fff; font: inherit; font-size: 11px; cursor: pointer; }
.rv-rail i { font-style: normal; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.45); font-size: 23px; }
.rv-rail button.on i { background: var(--pink); }
.rv-rail button[data-redo].on i { background: var(--yellow); color: #000; }
.rv-rail button:disabled { opacity: .35; cursor: default; }
.rv-bottom { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px calc(16px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, rgba(0,0,0,.88) 32%); }
.rv-shot { font-size: 13px; margin-bottom: 10px; } .rv-shot b { font-size: 15px; } .rv-shot span { color: rgba(255,255,255,.72); }
.rv-tl { display: flex; gap: 3px; margin-bottom: 12px; }
.rv-tl button { flex: 1; height: 24px; border: 0; background: rgba(255,255,255,.22); cursor: pointer; padding: 0; }
.rv-tl button.d { background: #8a8a8a; } .rv-tl button.l { background: var(--pink); } .rv-tl button.r { background: var(--yellow); }
.rv-tl button.u { background: repeating-linear-gradient(45deg, rgba(255,255,255,.15) 0 4px, rgba(240,168,181,.55) 4px 8px); }
.rv-tl button.cur { box-shadow: 0 0 0 2px #fff; }
.rv-cm { display: flex; gap: 8px; }
.rv-cm input { flex: 1; background: rgba(255,255,255,.14); border: 0; color: #fff; padding: 12px 12px; font: inherit; font-size: 14px; }
.rv-cm input::placeholder { color: rgba(255,255,255,.6); }
.rv-cm .btn { background: var(--yellow); color: #000; height: auto; }
.rv-sub { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; font-size: 12px; color: rgba(255,255,255,.75); }
.rv-sub a { color: #fff; }
.rv-toast { position: absolute; left: 50%; bottom: 190px; transform: translateX(-50%); background: #fff; color: #000; font-size: 13px; padding: 8px 12px; white-space: nowrap; }

/* ---------- notes and review on the storyboard ---------- */
.sbnotes { font-size: 12.5px; }
.sbnotes .n { display: grid; grid-template-columns: 24px 1fr auto; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); align-items: start; }
.sbnotes .n.done { opacity: .5; }
.sbnotes .n time { font-size: 11px; background: var(--yellow); padding: 0 4px; margin-right: 4px; }
.sbnotes .n button { background: none; border: 0; cursor: pointer; font-size: 13px; color: var(--grey); }
.sbnotes form.add { display: grid; grid-template-columns: 80px 1fr; gap: 6px; margin-top: 10px; }
.sbnotes form.add textarea { grid-column: 1 / -1; min-height: 54px; }
.sbc .meta .st.redo { color: #8a5a00; }

[hidden] { display: none !important; }
.sbnotes form.add .btn { grid-column: 1 / -1; justify-self: start; }

/* ---------- a format: "Can we make it with CoinPusher?" beside the title ---------- */
.headx { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 36px; align-items: start; margin: 20px 0 26px; }
.headx h1 { font-size: clamp(28px, 3vw, 40px); line-height: 1; font-weight: 400; text-transform: uppercase; margin: 6px 0 0; }
.headx .dash { width: 14px; height: 1px; background: currentColor; margin-top: 20px; }
.headx .lead { max-width: 720px; font-size: 16px; color: var(--grey); margin: 16px 0 0; }
.headx .num a { text-decoration: underline; text-underline-offset: 3px; }
.facts { display: flex; gap: 28px; margin-top: 22px; flex-wrap: wrap; }
.facts div b { display: block; font-size: 28px; font-weight: 700; line-height: 1; }
.facts div span { font-size: 12px; color: var(--grey); }
.ready { background: var(--paper); padding: 20px 22px; box-shadow: var(--shadow); }
.ready ol { list-style: none; margin: 12px 0 16px; padding: 0; }
.ready li { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; align-items: start; }
.ready li .ic { width: 18px; height: 18px; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; background: var(--ok); border-radius: 50%; }
.ready li.no .ic { background: var(--pink); }
.ready li.ask .ic { background: var(--yellow); color: #000; }
.ready li span.s { color: var(--grey); font-size: 12px; display: block; margin-top: 2px; }
.ready li a.u { font-size: 12px; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
@media (max-width: 1100px) { .headx { grid-template-columns: minmax(0, 1fr); } }

/* ---------- the assistant: one tab on the right edge, not a menu item ---------- */
.assist-tab { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 60; border: 0; background: var(--ink); color: var(--bg); padding: 16px 9px; cursor: pointer; box-shadow: var(--shadow); font: 400 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.assist-tab span { writing-mode: vertical-rl; transform: rotate(180deg); display: block; }
.assist-tab:hover { background: var(--green); }
.assist-tab:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
body.assist-open .assist-tab { display: none; }
@media (max-width: 760px) { .assist-tab { top: auto; bottom: 16px; transform: none; padding: 12px 14px; border-radius: 22px 0 0 22px; } .assist-tab span { writing-mode: horizontal-tb; transform: none; } }

/* ---------- videos: watch, keep, feedback ---------- */
.vgal { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 18px; }
.vcard { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; background: var(--paper); padding: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.vcard.kept { box-shadow: inset 0 0 0 2px var(--pink); }
.vplay { position: relative; }
.vplay video { width: 170px; aspect-ratio: 9 / 16; object-fit: cover; background: #000; display: block; }
.vplay .tag { display: block; font-size: 10.5px; color: var(--grey); margin-top: 4px; }
.vplay .nocut { width: 170px; aspect-ratio: 9 / 16; display: grid; place-items: center; background: repeating-linear-gradient(45deg, #f3f3f3 0 8px, #ececec 8px 16px); font-size: 12px; color: var(--grey); }
.takegrid { width: 170px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.takegrid a { display: block; aspect-ratio: 9 / 16; background: #222; overflow: hidden; }
.takegrid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vtop { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.vtop b { display: block; font-size: 15px; }
.vtop .small { display: block; margin-top: 2px; }
.keep { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--soft); color: #c4c4c4; font-size: 18px; cursor: pointer; flex: none; }
.keep.on, .keep:hover { color: var(--pink); }
.keep.on { background: #fde8ec; }
.fbk > div { display: grid; grid-template-columns: 24px 1fr auto; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); align-items: start; }
.fbk time { font-size: 11px; color: var(--grey); }
.fbform { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: center; margin-top: 10px; }
.fbform input[type=text] { padding: 8px 0; }
.stars { display: flex; flex-direction: row-reverse; justify-content: flex-end; }
.stars label { position: relative; cursor: pointer; font-size: 18px; color: #d0d0d0; padding: 0 1px; }
.stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars label:hover, .stars label:hover ~ label, .stars input:checked ~ span, .stars label:has(input:checked), .stars label:has(input:checked) ~ label { color: var(--yellow); text-shadow: 0 0 0 #000; }
.stars label:focus-within { outline: 2px solid var(--violet); }
@media (max-width: 760px) { .vgal { grid-template-columns: 1fr; } .vcard { grid-template-columns: 120px minmax(0, 1fr); } .vplay video, .vplay .nocut, .takegrid { width: 120px; } .fbform { grid-template-columns: 1fr auto; } .stars { grid-column: 1 / -1; } }

/* ---------- our games ---------- */
.gamegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.gamecard { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; display: flex; flex-direction: column; }
.gamecard:hover { text-decoration: none; box-shadow: inset 0 0 0 1px var(--ink); }
.gamecard .thumbs9 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; height: 140px; background: var(--soft); }
.gamecard .thumbs9 img { width: 100%; height: 140px; object-fit: cover; }
.gamecard .thumbs9 i { background: #222; }
.gamecard .thumbs9 i.none { grid-column: 1 / -1; background: repeating-linear-gradient(45deg, #f6f6f6 0 8px, #eee 8px 16px); display: grid; place-items: center; font-style: normal; font-size: 12px; color: var(--grey); }
.gamecard .gm { padding: 10px 12px 12px; }
.gamecard .gm b { display: block; font-size: 15px; }
.gamecard .gm span { font-size: 12px; color: var(--grey); }
.glinks { display: flex; gap: 8px; flex-wrap: wrap; margin-top: -10px; }
.glinks a { font-size: 12.5px; padding: 6px 10px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; }
.glinks a:hover { box-shadow: inset 0 0 0 1px var(--ink); }

/* a shot's start frame and motion, in the shot settings */
.pbox { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; margin-top: 14px; padding: 12px; background: var(--soft); }
.pbox-f { display: flex; flex-direction: column; gap: 6px; font-size: 11px; }
.pbox-f img, .pbox-f .nof { width: 96px; aspect-ratio: 9 / 16; object-fit: cover; display: block; background: repeating-linear-gradient(45deg, #eee 0 6px, #f8f8f8 6px 12px); }
.pbox-f .nof { display: flex; align-items: center; justify-content: center; text-align: center; color: var(--muted); font-size: 10.5px; padding: 6px; }
.pbox-f form { margin: 0; }
.pbox .lnk, .mform .lnk { background: none; border: 0; padding: 0; font: inherit; font-size: 11.5px; color: var(--ink); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.pbox textarea { font-size: 12.5px; }
.mform { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.mform select { font: inherit; font-size: 12.5px; padding: 6px 8px; border: 1px solid var(--line); background: var(--paper); max-width: 100%; }

/* a shot's chain on the recipe page: start frame from … → motion → models */
.chainbox { display: grid; gap: 4px; background: var(--soft); padding: 9px 10px; font-size: 12px; margin: 4px 0; }
.chainbox .k { font-size: 10px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.chainbox .m { font-size: 12px; font-weight: 600; }
.chainbox .m i { font-style: normal; font-weight: 400; color: var(--grey); }
.chainbox .dn { color: var(--muted); text-align: left; line-height: 1; }
.chainbox .pin { background: var(--paper); }
.thumbs9 img.logo { object-fit: contain; background: #111; }
.clip .pic img.logo { object-fit: contain; background: #111; }
