@font-face{font-family:Geist;src:url("/fonts/geist-latin.woff2") format("woff2");font-style:normal;font-weight:100 900;font-display:swap}
@font-face{font-family:"Geist Mono";src:url("/fonts/geist-mono-latin.woff2") format("woff2");font-style:normal;font-weight:100 900;font-display:swap}
:root {
  color-scheme: dark;
  --bg: #131512; --panel: #1b1e19; --inset: #22251f; --line: #33372f; --subline: #2b2f28;
  --ink: #f0f1e8; --muted: #a5aa9c; --soft: #828879; --accent: #d3e989; --accent-ink: #202817;
  --mono: "Geist Mono", "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: "Geist", "Inter", "Helvetica Neue", Arial, sans-serif;
}
* {box-sizing:border-box}
[hidden] {display:none!important}
html {min-width:300px;background:var(--bg)}
body {margin:0;color:var(--ink);background:var(--bg);font:14px/1.4 var(--sans);-webkit-font-smoothing:antialiased}
button,input {font:inherit}
button {border:0;cursor:pointer;color:inherit}
button:disabled,input:disabled {cursor:not-allowed}
button:focus-visible,input:focus-visible,[tabindex]:focus-visible {outline:2px solid var(--accent);outline-offset:3px}
svg {width:20px;height:20px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.65;flex-shrink:0}
.symbols {position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
h1,h2,h3,p {margin:0}
.mast {height:72px;border-bottom:1px solid var(--line);background:#171a16}
.mast-inner,.workspace {max-width:1680px;margin:0 auto;padding:0 clamp(20px,3.2vw,61px)}
.mast-inner {height:100%;display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand,.head-actions,.btn,.icon-btn,.section-line,.section-line h2,.project-context,.settings-label,.direction-label,.inspector-title,.direction-label h2,.transport,.lock-card,.dialog-top,.export-path,.export-lock {display:flex;align-items:center}
.brand {color:inherit;text-decoration:none;gap:9px;white-space:nowrap;line-height:1}
.brand-mark {width:35px;height:32px;stroke:none;color:var(--accent)}
.brand-name {font-size:30px;letter-spacing:-1.9px;font-weight:760}
.brand-period {color:var(--accent)}
.brand-by {color:#babdae;margin:3px 0 0 4px;border-left:1px solid #494e41;padding-left:12px;font-size:12px;letter-spacing:.015em}
.head-actions {gap:10px}
.pricing-toplink {display:inline-flex;align-items:center;min-height:38px;padding:0 6px;color:var(--muted);font-size:12px;font-weight:620;text-decoration:none}
.pricing-toplink:hover,.export-handoff:hover strong {color:var(--accent)}
.pricing-toplink:focus-visible,.export-handoff:focus-visible {outline:2px solid var(--accent);outline-offset:3px}
.export-handoff {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px;padding-top:13px;border-top:1px solid var(--line);color:var(--ink);text-decoration:none}
.export-handoff strong,.export-handoff small {display:block}
.export-handoff strong {font-size:12px}
.export-handoff small {margin-top:2px;color:var(--muted);font-size:11px}
.export-handoff>span:last-child {display:flex;align-items:center;gap:5px;color:var(--accent);font-size:11px;white-space:nowrap}
.export-handoff svg {width:14px;height:14px}
@media(max-width:520px){.mast .brand-by{display:none}.mast #openImport span{display:none}.mast .pricing-toplink{min-height:34px;padding:0 3px;font-size:11px}}
.btn {justify-content:center;gap:8px;min-height:38px;padding:0 14px;border-radius:6px;line-height:1;font-size:12px;font-weight:650;white-space:nowrap;transition:background .16s,border-color .16s,transform .16s}
.btn svg {width:16px;height:16px;stroke-width:1.8}
.btn-quiet {border:1px solid #44483c;background:#20231d;color:#e2e5d8}
.btn-quiet:hover {background:#2c3027;border-color:#59614d}
.btn-accent {background:var(--accent);color:var(--accent-ink);border:1px solid transparent}
.btn-accent:hover:not(:disabled),.brief-submit:hover:not(:disabled) {background:#dff59c}
.btn:active:not(:disabled),.brief-submit:active:not(:disabled) {transform:translateY(1px)}
.btn:disabled,.brief-submit:disabled,.icon-btn:disabled {opacity:.45}
.btn-subtle {background:transparent;color:var(--muted);border:1px solid var(--line);min-height:34px;font-weight:550}
.btn-subtle:hover {color:var(--ink);border-color:var(--soft)}
.workspace {padding-bottom:44px}
.brand:focus-visible,.home-sample:focus-visible {outline:2px solid var(--accent);outline-offset:5px}
#homeStart {min-height:calc(100svh - 72px);display:grid;place-items:center;padding-block:clamp(24px,4vh,50px)}
.home-wrap {width:min(100%,1192px);min-width:0}
.home-upload {width:min(100%,840px);margin-inline:auto}
.home-dropzone {position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:clamp(255px,34vh,345px);padding:clamp(24px,3.5vh,44px) 18px;text-align:center;background:#1b1f19;border:1px solid #373e31;border-radius:14px;transition:background .16s,border-color .16s}
.home-dropzone::before {content:"";position:absolute;inset:12px;border:1px dashed #48523e;border-radius:8px;pointer-events:none}
.home-dropzone:hover,.home-dropzone.dragover {background:#20261c;border-color:#73845b}
.home-dropzone.dragover::before {border-color:var(--accent)}
.home-mark {display:grid;place-items:center;color:var(--accent);width:50px;height:50px;background:#293021;border:1px solid #414d35;border-radius:12px;margin-bottom:19px}
.home-mark svg {width:27px;height:27px;stroke-width:1.5}
.home-dropzone h1 {font-size:clamp(32px,5vw,58px);line-height:1.09;letter-spacing:-.054em;font-weight:620;text-wrap:balance}
.home-dropzone p {font-size:clamp(14px,1.4vw,17px);margin-top:10px;line-height:1.5;color:var(--muted)}
.home-choose {margin-top:25px;min-height:44px;padding:0 20px;font-size:14px}
.home-choose::after {content:"";position:absolute;inset:0;border-radius:14px}
.home-choose:active:not(:disabled) {transform:none}
.home-choose:focus-visible {outline-offset:4px}
.home-foot {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;margin:12px 4px 0;font-size:12px;color:var(--muted)}
#homeFileHint>span {padding:0 4px}
.home-sample {display:inline-flex;align-items:center;gap:6px;min-height:30px;color:var(--ink);text-underline-offset:4px;text-decoration-color:#666e58}
.home-sample:hover {color:var(--accent)}
.home-sample svg {width:14px;height:14px}
#homeCancel {margin-top:8px}
.home-features {margin-top:clamp(28px,4.3vh,48px)}
.home-gallery-heading {display:flex;align-items:center;gap:clamp(12px,1.6vw,24px)}
.home-gallery-heading h2 {display:flex;align-items:center;gap:inherit;flex:1;margin:0;font-size:clamp(23px,2.3vw,32px);font-weight:600;line-height:1.2;letter-spacing:-.045em}
.home-gallery-heading h2::after {content:"";height:1px;flex:1;background:var(--line)}
.gallery-motion {display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:4px 0 4px 5px;background:transparent;color:var(--muted);font-size:12px;white-space:nowrap}
.gallery-motion svg {width:14px;height:14px;color:var(--accent)}
.gallery-motion:hover {color:var(--ink)}
.home-feature-list {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,1.5vw,20px);list-style:none;margin:15px 0 0;padding:0}
.home-feature-list li {min-width:0}
.home-feature-list p {margin:9px 2px 0;color:var(--muted);font-size:14px;line-height:1.5;text-wrap:pretty}
.home-film {display:block;position:relative;isolation:isolate;overflow:hidden;aspect-ratio:16/9;border-radius:12px;background:#1e221c;box-shadow:inset 0 0 0 1px var(--line);color:white;text-decoration:none}
.home-film video {position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;pointer-events:none}
.home-film::after {content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;box-shadow:inset 0 0 0 1px #ffffff24;background:linear-gradient(180deg,transparent 57%,rgba(8,11,9,.24) 73%,rgba(8,11,9,.87) 100%)}
.home-film:hover::after {box-shadow:inset 0 0 0 1px #d3e989a8}
.home-film:focus-visible {outline:3px solid var(--accent);outline-offset:3px}
.home-film-title {position:absolute;z-index:1;inset:auto 15px 12px;font-size:clamp(16px,1.55vw,22px);line-height:1.14;letter-spacing:-.032em;font-weight:640;text-shadow:0 1px 7px #000a}
.home-film-play {position:absolute;z-index:1;top:10px;right:10px;display:inline-flex;align-items:center;justify-content:center;gap:7px;height:32px;min-width:32px;padding-inline:7px;border:1px solid #fff5;border-radius:20px;background:#10130ec9;color:white}
.home-film-play svg {width:14px;height:14px}
.home-film-audio svg:first-child {padding-right:6px;border-right:1px solid #fff5;box-sizing:content-box}
.home-film-dialog {width:min(960px,calc(100vw - 32px));padding:0;border:1px solid #47513d;background:#191d16}
.home-film-view {display:grid;min-width:0}
.home-film-bar {display:flex;align-items:center;justify-content:space-between;gap:15px;padding:10px 14px 10px 18px}
.home-film-bar h2 {font-size:clamp(18px,2vw,24px);line-height:1.2}
.home-film-bar .icon-btn {height:36px;width:36px}
#homeFilmPlayer {display:block;width:100%;aspect-ratio:16/9;max-height:calc(100dvh - 155px);object-fit:contain;background:#0c0e0b}
.home-film-view p {margin:0;padding:12px 18px 15px;color:var(--ink);font-size:14px;line-height:1.5}
#homeFilmError {padding-top:0;color:#efc1af}
#homeFilmFile {color:inherit;text-underline-offset:3px}
#returnDemo {text-decoration:none}
#projectTitle:focus {outline:none}
@media (max-width:700px) {#homeStart {min-height:calc(100svh - 57px)}}
@media (max-width:650px) {
  .home-foot {justify-content:center;text-align:center;flex-direction:column;gap:3px}
  .home-dropzone::before {inset:8px}
  .home-feature-list {grid-template-columns:1fr;gap:22px}
  .home-film-title {font-size:20px}
  .home-features {max-width:520px;margin-inline:auto}
  .home-gallery-heading h2::after {display:none}
  .home-gallery-heading {justify-content:space-between;gap:8px}
}
.watermark-banner {
  position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);
  align-items:center;gap:clamp(24px,4vw,64px);padding:clamp(25px,3.5vw,51px);
  margin-top:clamp(30px,4vw,54px);scroll-margin:24px;overflow:clip;border-radius:15px;
  color:#172014;background:linear-gradient(110deg,#e1f298 3%,#c9e576 58%,#95b65f 100%);
}
.watermark-banner::before {
  content:"";position:absolute;z-index:-1;inset:0;border-radius:inherit;pointer-events:none;
  background:linear-gradient(116deg,transparent 54%,#34521219 54% 55%,#f1ffb544 55% 65%,#34521219 65% 66%,transparent 66%);
}
.watermark-copy {min-width:0}
.watermark-kicker {
  display:flex;align-items:center;gap:10px;margin-bottom:16px;
  font:650 11px/1.2 var(--mono);letter-spacing:.11em;text-transform:uppercase;
}
.watermark-kicker span {width:27px;height:1px;background:currentColor;font-size:0}
.watermark-heading {display:block;font-size:clamp(36px,4.2vw,60px);font-weight:680;line-height:.99;letter-spacing:-.06em}
.watermark-heading span {display:inline-block}
.watermark-copy p {max-width:37ch;margin:16px 0 18px;color:#344225;font-size:clamp(14px,1.08vw,16px);line-height:1.45}
.watermark-positions {
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) minmax(40px,.72fr);width:min(100%,362px);min-width:0;
  margin:0;padding:3px;gap:2px;border:1px solid #34452266;border-radius:9px;background:#eff8cc6b;
}
.watermark-positions label {position:relative;display:flex;min-width:0}
.watermark-positions input,.watermark-sr {
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;
}
.watermark-option {
  display:grid;grid-template-rows:14px auto;align-content:center;justify-items:center;align-items:center;gap:5px;
  flex:1;min-width:0;min-height:46px;border-radius:5px;text-align:center;cursor:pointer;color:#344227;
  font:620 11px/1.1 var(--sans);
}
.watermark-option i {display:block;position:relative;width:20px;height:13px;border:1px solid currentColor;border-radius:2px}
.watermark-option i::after {content:"";position:absolute;top:2px;left:2px;width:5px;height:4px;border-radius:.5px;background:currentColor}
.watermark-positions input[value$="right"] + span i::after {left:auto;right:2px}
.watermark-positions input[value^="bottom"] + span i::after {top:auto;bottom:2px}
.watermark-positions input[value="off"] + span i::after {top:50%;left:50%;width:15px;height:1px;transform:translate(-50%,-50%) rotate(-31deg)}
.watermark-positions label:hover .watermark-option {background:#d8e9a5}
.watermark-positions input:checked + .watermark-option {background:#24321b;color:#f0facd}
.watermark-positions input:focus-visible + .watermark-option {outline:2px solid #192112;outline-offset:2px}
.watermark-frame {
  --wm-pad:5%;position:relative;min-width:0;aspect-ratio:16/9;margin:0;overflow:hidden;isolation:isolate;
  background:#262a20;border:3px solid #20281d;border-radius:9px;box-shadow:0 8px 20px -9px #1f2d186e;
}
.watermark-frame video {display:block;width:100%;height:100%;object-fit:cover}
.watermark-logo {
  position:absolute;top:var(--wm-pad);right:var(--wm-pad);width:auto;height:23%;opacity:.79;pointer-events:none;
  filter:drop-shadow(0 1px 1px #10160ee8) drop-shadow(0 0 3px #10160eb3);
}
.watermark-banner:has(input[value$="left"]:checked) .watermark-logo {left:var(--wm-pad);right:auto}
.watermark-banner:has(input[value^="bottom"]:checked) .watermark-logo {top:auto;bottom:var(--wm-pad)}
.watermark-banner:has(input[value="off"]:checked) .watermark-logo {visibility:hidden}
@media (max-width:780px) {
  .watermark-banner {grid-template-columns:1fr;gap:22px}
  .watermark-copy p {max-width:none}
}
@media (max-width:650px) {
  .watermark-banner {max-width:520px;margin-inline:auto;padding:clamp(18px,5vw,27px);gap:20px}
  .watermark-heading {font-size:clamp(36px,8vw,44px)}
  .watermark-kicker {margin-bottom:12px}
  .watermark-copy p {margin:12px 0 15px}
}
@media (max-width:390px) {
  .watermark-positions {grid-template-columns:minmax(0,.92fr) minmax(0,1fr) minmax(0,1.17fr) minmax(0,1.26fr) minmax(38px,.62fr)}
  .watermark-option {min-height:48px;align-content:start;gap:4px;padding-top:7px;font-size:10px}
}
@media (forced-colors:active) {
  .watermark-positions input:checked + .watermark-option {outline:2px solid Highlight;outline-offset:-2px}
}
.project-head {padding:26px 0 24px}
.project-context {gap:8px;color:var(--muted);font-size:11px;letter-spacing:.028em}
.workspace-dot {width:7px;height:7px;border-radius:2px;background:var(--accent)}
.project-context .divider {color:#616854;margin:0 1px}
.project-title-row {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:9px}
h1 {font-size:clamp(30px,3vw,49px);font-weight:610;line-height:1.04;letter-spacing:-.053em;overflow-wrap:anywhere}
.project-meta {color:var(--muted);font-size:12px;letter-spacing:.006em;margin-top:8px;line-height:1.4}
.workspace-grid {display:grid;grid-template-columns:minmax(0,1fr) clamp(290px,23.1vw,362px);align-items:start;gap:clamp(22px,2.2vw,40px)}
.edit-column,.screening {min-width:0}
.section-line {justify-content:space-between;gap:12px;margin-bottom:11px}
.section-line h2,.direction-label h2,.inspector-title h2 {font-size:16px;font-weight:600;line-height:1.23;letter-spacing:-.025em}
.section-line h2 {gap:8px}
.section-line h2 svg {width:17px;height:17px;color:#b9bea9;stroke-width:1.5}
.monitor-selection,.tiny-mono {font:10.5px/1.4 var(--mono);color:var(--muted);letter-spacing:.025em}
.monitor-selection {color:#b9beab;background:#24281f;border:1px solid var(--line);border-radius:4px;padding:2px 7px;font-size:10px}
.player {border:1px solid #33382c;border-radius:10px;overflow:hidden;background:#0b0c0b}
.stage {width:100%;aspect-ratio:16/9;position:relative;display:grid;place-items:center;overflow:hidden;background:#090a08}
.picture {position:relative;height:100%;width:auto;max-width:100%;aspect-ratio:var(--ratio,16/9);background:#090a08}
.picture video {display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#090a08}
.guides {position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,transparent calc(33.333% - .5px),#fff7 calc(33.333% - .5px),#fff7 calc(33.333% + .5px),transparent calc(33.333% + .5px),transparent calc(66.666% - .5px),#fff7 calc(66.666% - .5px),#fff7 calc(66.666% + .5px),transparent calc(66.666% + .5px)),linear-gradient(0deg,transparent calc(33.333% - .5px),#fff7 calc(33.333% - .5px),#fff7 calc(33.333% + .5px),transparent calc(33.333% + .5px),transparent calc(66.666% - .5px),#fff7 calc(66.666% - .5px),#fff7 calc(66.666% + .5px),transparent calc(66.666% + .5px))}
.hero-play {position:absolute;width:57px;height:57px;inset:50% auto auto 50%;transform:translate(-50%,-50%);display:grid;place-items:center;border-radius:50%;border:1px solid #f0f1e48a;background:#13161382;color:white;backdrop-filter:blur(4px);transition:opacity .15s,background .15s}
.hero-play svg {width:25px;height:25px;margin-left:1px}
.hero-play:hover {background:#22271ac2}
.hero-play[disabled] {visibility:hidden}
.stage.is-playing .hero-play {opacity:0;pointer-events:none}
.stage.is-playing:hover .hero-play,.stage.is-playing .hero-play:focus-visible {opacity:1;pointer-events:auto}
.transport {min-height:43px;gap:9px;padding:0 11px;background:#1c1f19;border-top:1px solid #33372d}
.icon-btn {justify-content:center;color:#c6caba;width:30px;min-width:30px;height:30px;border-radius:4px;background:transparent}
.icon-btn svg {width:16px;height:16px}
.icon-btn:hover:not(:disabled),.icon-btn[aria-pressed="true"] {color:var(--accent);background:#303627}
.time {font:10.5px/1 var(--mono);color:#e4e7d8;white-space:nowrap}
.time-slash,#timeEnd {color:#959c88}
.scrub {appearance:none;flex:1;min-width:20px;height:16px;margin:0 4px 0 6px;cursor:pointer;background:transparent;touch-action:auto;--played:0%}
.scrub::-webkit-slider-runnable-track {height:3px;border-radius:3px;background:linear-gradient(to right,var(--accent) var(--played),#494e40 var(--played))}
.scrub::-moz-range-track {height:3px;border-radius:3px;background:#494e40}
.scrub::-moz-range-progress {height:3px;background:var(--accent)}
.scrub::-webkit-slider-thumb {appearance:none;width:9px;height:9px;margin-top:-3px;border-radius:50%;background:var(--accent)}
.scrub::-moz-range-thumb {width:9px;height:9px;border:0;border-radius:50%;background:var(--accent)}
.direction {margin:16px 0 24px;display:grid;grid-template-columns:auto minmax(140px,1fr);align-items:center;gap:6px 15px;border:1px solid #373d2e;border-radius:8px;background:#20251b;padding:10px 11px 10px 14px}
.direction-label {gap:7px;white-space:nowrap}
.direction-label>svg {width:19px;height:19px;color:var(--accent)}
.direction-label h2 {font-size:14px}
.small-help {width:20px;min-width:20px;height:23px;color:#9da78b}
.small-help svg {width:13px;height:13px}
.brief-form {display:flex;align-items:center;gap:6px;padding:3px 4px 3px 11px;background:#141710;border:1px solid #424936;border-radius:5px}
.brief-form:focus-within {border-color:var(--accent)}
.brief-form input {flex:1;min-width:0;background:transparent;border:0;color:var(--ink);outline:0;font-size:12px;height:27px;line-height:27px}
.brief-form input:focus-visible {outline:0}
.brief-form input::placeholder {color:#9aa48d}
.brief-submit {width:29px;height:27px;display:grid;place-items:center;border-radius:3px;background:var(--accent);color:var(--accent-ink)}
.brief-submit svg {width:15px;height:15px;stroke-width:2}
.brief-note,.proposal,.model-choice {grid-column:1/-1;font-size:12px;line-height:1.55;color:#bdc5af}
.brief-note,.proposal {border-top:1px solid #37412c;margin-top:4px;padding-top:8px}
.proposal p+p {margin-top:3px}
.proposal strong {color:var(--ink)}
.proposal .btn {margin-top:8px;min-height:29px;font-size:11px}
.model-choice {display:flex;align-items:flex-start;gap:6px;margin-top:6px}
.model-choice input {margin:3px 0 0;accent-color:var(--accent)}
.timeline-panel {margin-bottom:4px}
.timeline-ruler {display:flex;align-items:flex-end;justify-content:space-between;margin:0 1px 4px;font:9px/1 var(--mono);color:#8d9482}
.track {display:flex;gap:3px;min-height:70px;position:relative;border-radius:5px;overflow:hidden;background:#282d23}
.shot {position:relative;min-width:0;min-height:71px;flex-basis:0;text-align:left;display:flex;align-items:flex-end;background:#30362a;isolation:isolate;overflow:hidden;border:0;border-top:2px solid #6e795a}
.shot:nth-child(2) {border-color:#9f9673}
.shot[data-role="lock"] {border-color:#c8de81}
.shot-img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;filter:saturate(.78)}
.shot::before {content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#10130de8 0%,#11140f65 62%,#11140f28)}
.shot:hover,.shot[aria-current="true"] {box-shadow:inset 0 0 0 1px #c0d782c2}
.shot-label {display:flex;align-items:center;gap:5px;color:#f4f5ed;font-size:11px;font-weight:600;padding:5px 3px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.shot-label svg {width:12px;height:12px}
.inspector {background:var(--panel);border:1px solid var(--line);border-radius:10px;overflow:hidden;min-width:0}
.inspector-title {padding:18px 18px 13px;gap:8px}
.inspector-title>svg {width:18px;height:18px;color:#c8d0b7}
.inspector-title h2 {font-size:18px}
.tabs {margin:0 17px;display:flex;gap:18px;border-bottom:1px solid #383e31}
.tabs button {background:transparent;color:#a7ae9a;min-height:33px;padding:0 1px 8px;margin:0 0 -1px;line-height:1;font-size:12px;font-weight:550;border-bottom:2px solid transparent}
.tabs button:hover {color:var(--ink)}
.tabs button[aria-selected="true"] {color:var(--accent);border-color:var(--accent)}
.inspector-panel {padding:0 17px 3px}
.settings-group {padding:18px 0;border-bottom:1px solid var(--subline)}
.settings-group:last-child {border-bottom:0}
.settings-label {justify-content:space-between;gap:5px;margin-bottom:11px}
.settings-label h3 {font-size:13px;letter-spacing:-.012em;font-weight:600;color:#e9ecdf}
.settings-label .tiny-mono {font-size:9px;letter-spacing:.02em}
.hooks {display:grid;gap:7px}
.hook {display:flex;gap:10px;align-items:center;text-align:left;min-height:56px;width:100%;border:1px solid #3b4134;border-radius:6px;padding:5px 8px 5px 5px;background:#22261f;position:relative}
.hook:hover {background:#2c3226;border-color:#657052}
.hook[aria-pressed="true"] {background:#2c3325;border-color:#a0b56f}
.hook-thumb {position:relative;display:grid;place-items:center;overflow:hidden;flex:0 0 59px;height:44px;border-radius:3px;background:#383f30;font:11px var(--mono);color:#d7dec9}
.hook-thumb img {width:100%;height:100%;display:block;object-fit:cover}
.hook-text {min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:3px;flex:1}
.hook-text small {font:9px/1.1 var(--mono);letter-spacing:.08em;color:#adb89c;text-transform:uppercase}
.hook-text strong {line-height:1.25;font-size:12px;color:#e8eddf;font-weight:600;overflow-wrap:anywhere}
.hook-choice {display:grid;place-items:center;width:15px;height:15px;border:1px solid #69725b;border-radius:50%;margin-left:auto;flex-shrink:0}
.hook-choice svg {width:10px;height:10px;stroke-width:2.7;opacity:0}
.hook[aria-pressed="true"] .hook-choice {background:var(--accent);border-color:var(--accent);color:#242b19}
.hook[aria-pressed="true"] .hook-choice svg {opacity:1}
.ratios {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.ratios button {min-height:43px;border:1px solid #3d4435;background:#232720;border-radius:5px;display:flex;align-items:center;justify-content:center;gap:6px;color:#b7beaa;font:10px var(--mono)}
.ratios button:hover {border-color:#74805f}
.ratios button[aria-pressed="true"] {background:#343d29;border-color:#92a462;color:#deedbe}
.shape {display:inline-block;border:1.4px solid currentColor;border-radius:1.5px}
.shape.wide {width:17px;height:10px}.shape.vertical {width:8px;height:15px}.shape.square {width:12px;height:12px}
.lock-glyph {width:13px;height:13px;color:#a9b497}
.lock-card {width:100%;padding:10px;gap:9px;background:#23271f;border:1px solid #38402f;border-radius:6px;text-align:left}
.lock-card:hover:not(:disabled) {border-color:#6f785e}
.lock-mark {width:27px;height:30px;display:grid;place-items:center;border-radius:4px;background:#303826;color:#c4d7a2}
.lock-mark svg {width:15px;height:15px}
.lock-copy {display:flex;flex-direction:column;gap:3px;min-width:0}
.lock-copy strong {font-size:12px;font-weight:570}.lock-copy>span {color:var(--muted);font-size:10px}
.chevron {margin-left:auto;width:14px;height:14px;color:#9fa98f}
#panel-quality,#panel-exports {padding-top:17px;padding-bottom:17px}
.q-row,.history-row {padding:11px 0;border-bottom:1px solid var(--subline)}
.q-row:first-of-type,.history-row:first-of-type {padding-top:3px}
.q-row:last-child,.history-row:last-child {border:0;padding-bottom:0}
.q-head {display:flex;justify-content:space-between;align-items:center;gap:8px}
.q-row strong,.history-row strong {font-size:12px;font-weight:600}
.q-row p,.history-row p,.empty {font-size:11px;line-height:1.55;color:var(--muted);margin-top:3px}
.q-status {color:var(--accent);font:9px/1.3 var(--mono)}
.q-status.review {color:#e1ca92}.q-status.fail {color:#f3af9d}
.q-jump {margin-top:5px;font:10px/1.4 var(--mono);background:transparent;color:var(--accent);padding:0}
#historyRows .tiny-mono {display:block;font-size:9px;color:var(--soft);margin-top:4px}
dialog {background:#20251d;border:1px solid #515945;border-radius:12px;color:var(--ink);padding:22px;width:min(420px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;box-shadow:0 18px 70px #0008}
dialog::backdrop {background:#090c08bb;backdrop-filter:blur(3px)}
.dialog-top {justify-content:space-between;margin-bottom:13px}
.modal-icon {width:33px;height:33px;display:grid;place-items:center;border-radius:6px;background:#323b27;color:var(--accent)}
.modal-icon svg {width:18px;height:18px}
dialog h2 {font-size:26px;line-height:1.15;letter-spacing:-.045em;font-weight:600}
dialog>p {font-size:12px;line-height:1.55;color:#c3cbb5;margin-top:7px}
.dropzone {position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:137px;padding:17px;text-align:center;border:1px dashed #788362;background:#272e22;border-radius:7px;cursor:pointer;margin-top:17px}
.dropzone>svg {color:var(--accent);width:22px;height:22px}
.dropzone strong {font-size:13px}.dropzone span {color:var(--muted);font-size:11px}
.dropzone:hover,.dropzone.dragover {background:#323b29;border-color:var(--accent)}
.dropzone input {position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.dropzone:focus-within {outline:2px solid var(--accent);outline-offset:3px}
.modal-back {margin-top:14px}
.export-path {justify-content:space-between;border:1px solid #404936;border-radius:6px;padding:9px 10px;margin:16px 0;background:#272d22;gap:8px}
.export-lock {gap:6px;color:#cbd8b5;font-size:11px}
.export-lock svg {width:13px;height:13px}
.modal-actions {display:flex;gap:7px;flex-wrap:wrap;margin-top:15px}
.modal-caption {margin-top:8px;font-size:10px;color:var(--muted)}
.dialog-state {background:#191e16;border-radius:5px;padding:10px 11px;margin:13px 0 3px;color:#d5dec8;font-size:12px;line-height:1.5}
.dialog-state.error,.issue {color:#efc1af;border:1px solid #614d3c;background:#322a21}
.dialog-state progress {appearance:none;display:block;width:100%;height:4px;border:none;background:#3d4931;margin-top:8px;border-radius:5px;overflow:hidden}
progress::-webkit-progress-bar {background:#3d4931}progress::-webkit-progress-value {background:var(--accent)}progress::-moz-progress-bar {background:var(--accent)}
.dialog-state .btn {margin-top:8px;min-height:32px}
.issue {font-size:12px;padding:10px 12px;border-radius:6px;margin-bottom:10px}
.inline-issue {margin-top:8px;margin-bottom:0}
.toast {position:fixed;z-index:10;bottom:max(18px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);max-width:min(92vw,490px);background:#303827;border:1px solid #657052;color:#e7eedc;padding:9px 15px;border-radius:6px;font-size:12px;box-shadow:0 7px 30px #0005}
.player:fullscreen {display:flex;flex-direction:column;border:0;border-radius:0}
.player:fullscreen .stage {flex:1;min-height:0;aspect-ratio:auto}
.player.expanded {position:fixed;inset:0;z-index:9;display:flex;flex-direction:column;border:0;border-radius:0}
.player.expanded .stage {flex:1;min-height:0;aspect-ratio:auto}
@media (min-width:1550px) {.monitor-line {margin-bottom:13px}.project-head {padding:34px 0 30px}.settings-group {padding:21px 0}.inspector-panel {padding-left:21px;padding-right:21px}.inspector-title {padding-left:21px}.tabs{margin-left:21px;margin-right:21px}}
@media (max-width:950px) {.workspace-grid {grid-template-columns:minmax(0,1fr) 265px;gap:18px}.mast-inner,.workspace{padding-left:20px;padding-right:20px}.inspector-title{padding:14px 13px 10px}.inspector-panel{padding-left:12px;padding-right:12px}.tabs{margin:0 12px}.direction {grid-template-columns:1fr;gap:7px}.settings-group{padding:14px 0}.project-head{padding:22px 0}.transport{gap:4px}.ratios button{gap:5px}.hook-thumb{flex-basis:48px;height:38px}.hook{min-height:49px}}
@media (max-width:700px) {
  .mast {height:57px}.mast-inner,.workspace {padding-left:15px;padding-right:15px}.brand{gap:5px}.brand-mark{width:27px;height:26px}.brand-name{font-size:25px}.brand-by{font-size:10px;padding-left:7px;margin-left:3px}.head-actions{gap:6px}.head-actions .btn{min-height:34px;padding:0 9px;gap:5px;font-size:11px}.head-actions .btn svg{width:14px;height:14px}
  .project-head {padding:19px 0 17px}.project-context{font-size:10px}.project-title-row{margin-top:7px}h1{font-size:31px}.project-meta{font-size:11px;margin-top:5px}
  .workspace-grid {display:flex;flex-direction:column;gap:15px}.edit-column{display:contents}.screening{order:1;width:100%}.inspector{order:2;width:100%}.direction{order:3;width:100%;margin:0;grid-template-columns:auto minmax(110px,1fr)}.timeline-panel{order:4;width:100%;margin-top:1px}.section-line{margin-bottom:7px}.section-line h2,.inspector-title h2{font-size:15px}
  .inspector-title {display:none}.tabs{margin:0 12px;gap:20px}.tabs button{padding:9px 0;min-height:35px}.inspector-panel#panel-edit{display:grid;grid-template-columns:1.25fr 1fr;gap:0 12px;padding-bottom:9px}.settings-group{padding:12px 0 5px;border-bottom:0}.settings-label{margin-bottom:7px}.settings-label h3{font-size:12px}.settings-label .tiny-mono{font-size:8px}.hooks{gap:4px}.hook{gap:6px;min-height:38px;padding:3px 5px 3px 3px}.hook-thumb{height:30px;flex-basis:38px}.hook-text{gap:2px}.hook-text small{font-size:8px}.hook-text strong{font-size:10px}.hook-choice{width:12px;height:12px}.ratios{gap:3px}.ratios button{min-height:38px;flex-direction:column;gap:3px;font-size:8px}.shape.wide{width:14px;height:8px}.shape.vertical{width:6px;height:11px}.shape.square{width:9px;height:9px}
  .lock-group{grid-column:1/-1;padding-top:8px}.lock-group>.settings-label{display:none}.lock-card{padding:6px 8px}.lock-mark{width:20px;height:19px}.lock-mark svg{width:11px;height:11px}.lock-copy{flex-direction:row;align-items:center;flex-wrap:wrap;gap:3px 9px}.lock-copy strong{font-size:10px}.lock-copy>span{font-size:9px}.track{min-height:54px}.shot{min-height:54px}.direction-label h2{font-size:12px}.direction{padding:8px;gap:7px}.direction-label{gap:5px}.direction-label>svg{width:16px}.brief-form{padding-left:6px}.brief-form input{font-size:11px}.hero-play{width:45px;height:45px}
}
@media (max-width:405px) {.brand-by{display:none}.transport{padding:0 5px;gap:1px;min-height:36px}.icon-btn{width:27px;min-width:27px;height:27px}.direction{grid-template-columns:1fr}.time{font-size:9px}.project-title-row .btn{font-size:10px;min-height:28px}.track .shot-label{font-size:9px}.hook-thumb{flex-basis:33px}}
@media (prefers-reduced-motion:reduce) {*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

.compare-action {display:inline-flex;align-items:center;color:var(--accent);font:10px var(--sans);background:transparent;padding:1px 0;gap:1px}
.compare-action:hover{text-decoration:underline}.compare-action:disabled{color:var(--soft)}.compare-action svg{width:11px;height:11px}
@media(max-width:700px){.compare-action{font-size:9px}}

.lengths{display:flex;gap:6px}.lengths button{min-height:30px;padding:0 11px;background:#232720;color:#b7beaa;border:1px solid #3d4435;border-radius:4px;font:10px var(--mono)}.lengths button[aria-pressed=true]{color:#deedbe;border-color:#92a462;background:#343d29}.lengths button:hover{border-color:#74805f}
@media(max-width:700px){.length-group{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0 0}.length-group .settings-label{margin:0}.lengths button{min-height:25px;padding:0 7px;font-size:9px}.length-group .settings-label h3{font-size:11px}}
@media (min-width:701px) and (max-height:940px) {
  .mast{height:62px}
  .project-head{padding-top:19px;padding-bottom:17px}
  .stage{max-height:52dvh}
  .player:fullscreen .stage,.player.expanded .stage{max-height:none}
}
