/* Private beta: quiet surfaces, visible workflow and touch-friendly controls. */
:root{color-scheme:dark}
.video-stage video,.video-stage #photo{position:relative}
:root{--bg:#141a2a;--panel:#1e293f;--raised:#24324d;--ink:#f6f8ff;--muted:#a9b3c9;--line:#303e59;--accent:#194bff;--warm:#ebc984;font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
body{background:var(--bg);color:var(--ink)}h1,h2,h3,.cost strong,.selection-total>span,.quote-cost strong{font-family:inherit}button,input,select,textarea{font-family:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #55c7ff;outline-offset:3px}[hidden]{display:none!important}
.topbar{height:84px;background:#182237;border-color:var(--line);padding:0 4%;gap:50px}.brand strong{letter-spacing:-1px}.brand span{font-size:8px;letter-spacing:2px;color:var(--muted)}.nav{color:var(--muted)}.nav.active{color:var(--accent);border-color:var(--accent)}.status-pill{background:#182237;border-color:var(--line);color:var(--muted);font-size:11px}.status-pill i{background:#b49665}.status-pill.live i{background:#42bde8}.balance{color:var(--ink)}main{max-width:1440px;padding:40px 4% 24px}.pageheading{margin-bottom:28px}.pageheading h1{font-size:clamp(29px,3.3vw,43px);font-weight:550;letter-spacing:-1.6px;line-height:1.2}.pageheading p{font-size:14px;color:var(--muted)}.eyebrow{color:var(--muted);letter-spacing:1.8px;font-size:10px}.stepper{color:#7f8ca8}.stepper .current{color:var(--accent)}.workspace{grid-template-columns:minmax(0,1fr) 315px;gap:22px;align-items:start}.editor-column{display:grid;gap:22px}.panel{background:#1e293f;border-color:var(--line);border-radius:14px;box-shadow:none}.panel-head{padding:20px 22px}.panel-head h2{font-size:17px;font-weight:650}.panel-head p{font-size:12px;line-height:1.6}.section-number{display:inline-grid;place-items:center;width:23px;height:23px;background:var(--raised);color:var(--accent);border-radius:50%;font-size:11px;margin-right:7px;vertical-align:middle}.count{background:var(--raised);color:var(--accent)}
.primary{background:var(--accent);color:#fff;border-color:var(--accent);border-radius:8px;font-weight:600}.primary:hover:not(:disabled){background:#3261ff;color:white}.secondary{background:#1e293f;color:var(--ink);border-color:var(--line);border-radius:8px}.secondary:hover:not(:disabled){background:var(--raised)}.text-button{color:var(--muted);text-underline-offset:4px}.video-stage{background:#18243b;border:0;border-radius:10px;margin:0 16px;min-height:340px;aspect-ratio:auto}.empty-video{padding:26px 15px}.upload-symbol{width:64px;height:64px;border:1px solid #345482;border-radius:18px;background:#1f3456;color:var(--accent);box-shadow:7px 7px 0 #112d53;margin-bottom:20px}.empty-video h3{font-size:24px;font-weight:550;letter-spacing:-.7px}.empty-video p{color:var(--muted);font-size:13px}.upload-formats{display:inline-block;font-size:11px;color:#a9b3c9;margin-top:8px}.video-stage:has(video:not([hidden])),.video-stage:has(#photo:not([hidden])){background:#0a1222}.video-stage video,.video-stage #photo{height:390px;max-height:55vh;object-fit:contain}.video-toolbar{padding:17px 20px}.video-toolbar strong{font-size:12px}.video-toolbar .muted{font-size:10px}.video-tabs{background:var(--raised);border:0;padding:3px;border-radius:8px}.video-tabs .chosen{background:#1e293f;color:var(--accent);box-shadow:0 1px 3px #f6f8ff15}.stage-overlay{background:#18243bf5;color:var(--ink)}
.people-panel{margin:0}.people-grid{grid-template-columns:repeat(auto-fill,minmax(158px,1fr));gap:10px}.empty-people,.empty-people small{color:var(--muted)}.empty-people>span{color:#6794d3}.person{background:#1e293f;border-color:var(--line);padding:10px;border-radius:9px}.person.active{background:#253a60;border-color:var(--accent);box-shadow:0 0 0 2px #194bff20}.person-top img{width:46px;height:46px}.person-top strong{font-size:12px}.person-top small{font-size:10px;color:var(--muted)}.person-bottom{font-size:10px}.person-bottom.mapped{color:var(--accent)}.library-panel{position:sticky;top:18px;min-height:0;align-self:start}.library-intro p{min-height:0;color:var(--muted)}.test-label{background:#243550;color:var(--muted);border:0}.library-grid{grid-template-columns:1fr 1fr;gap:10px}.identity{background:#1e293f;color:var(--ink);border-color:var(--line)}.identity.selected{outline:2px solid var(--accent);outline-offset:2px}.identity strong{font-size:12px}.identity:hover:not(:disabled){transform:none}.library-note,.summary-row small{color:var(--muted)}.mapping-summary{border-color:var(--line)}
.bottom-bar{background:#1d2e4e;border-color:#354d78;position:sticky;bottom:12px;z-index:3;box-shadow:0 4px 15px #f6f8ff08}.selection-total>span{color:var(--accent)}.cost strong{color:var(--ink);font-weight:500}.workspace-footnote{color:var(--muted)}.beta-footer{text-align:center;font-size:10px;line-height:1.8;color:var(--muted);padding:25px 10px}.workspace-notice{padding:17px 20px;background:#332d22;border:1px solid #675332;border-radius:10px;margin-bottom:20px;font-size:13px}.workspace-notice p{margin-top:5px}.workspace-notice button{margin-top:10px}.spinner{border-color:#30466c;border-top-color:var(--accent)}.run-panel p{color:var(--muted)}.result-actions{display:flex;gap:12px;margin-top:17px}.feedback-panel{margin-top:23px;padding-top:20px;border-top:1px solid var(--line)}.feedback-panel label{display:block;font-size:11px;margin:12px 0 6px}.feedback-panel select,.feedback-panel textarea{width:100%;border:1px solid var(--line);border-radius:6px;background:#182237;color:var(--ink);padding:10px;font-size:12px}.feedback-panel textarea{resize:vertical}.feedback-panel button{margin-top:10px}.feedback-panel span[role=status]{margin-left:12px;font-size:11px;color:var(--accent)}
dialog{background:#1e293f;color:var(--ink);border-color:var(--line);box-shadow:0 25px 100px #1c302f35}dialog::backdrop{background:#060d2066;backdrop-filter:blur(4px)}.icon-button{color:var(--muted)}.quote-cost strong{color:var(--accent)}.quote-progress{background:var(--raised)}.quote-progress.failed{background:#3c242e;color:#ffb8a5}.paused-note{color:var(--warm);background:#302b23;border-color:#64543a}.setting-card{background:var(--raised)}.history-row,.review-row{border-color:var(--line)}.preview-banner{background:#302d23;border-color:#63583b;color:#e6cf93}#toast{background:var(--ink);color:white;border:0;box-shadow:0 4px 20px #0002}.login-body{background:#111b30}.login-card{background:#1e293f;border-color:var(--line)}.login-card h1{font-weight:500;letter-spacing:-1.8px}.login-card input{background:var(--bg);border-color:var(--line)}#loginError{color:#ffb8a5}
@media(min-width:1450px){.workspace{grid-template-columns:minmax(0,1fr) 350px}.library-grid{grid-template-columns:1fr 1fr}}@media(max-width:1000px){.topbar{padding:0 24px;gap:25px}.workspace{grid-template-columns:minmax(0,1fr) 265px}.panel-head{padding:17px}.stepper b{display:none}.people-grid{grid-template-columns:repeat(auto-fill,minmax(145px,1fr))}}@media(max-width:800px){.topbar{height:auto;padding:15px 18px;gap:10px}.brand strong{font-size:20px}.brand span{display:block}.balance{display:block;font-size:10px}.status-pill{font-size:10px;padding:7px}main{padding:26px 14px}.pageheading h1{font-size:29px}.pageheading p{font-size:12px}.workspace{grid-template-columns:1fr;gap:18px}.library-panel{position:static}.library-grid{grid-template-columns:repeat(2,minmax(0,145px))}.mapping-summary{display:block}.video-stage{min-height:300px;margin:0 10px}.video-stage video,.video-stage #photo{height:350px}.video-toolbar{padding:14px}.panel-head{padding:15px;gap:8px}.panel-head h2{font-size:14px}.people-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 12px 12px}.person-top img{width:40px;height:40px}.person-top small{font-size:9px}.bottom-bar{padding:12px;bottom:8px;gap:8px;align-items:center}.review-actions{gap:12px}.review-actions .primary{font-size:11px;padding:12px}.selection-total{gap:7px}.selection-total>span{font-size:22px}.selection-total small{max-width:95px;font-size:9px}.selection-total strong{font-size:10px}.cost strong{font-size:18px}.beta-footer{font-size:9px}}@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;transition:none!important}}


/* Brand system: navy surfaces, electric blue actions, cyan identity accents. */
.count,.stepper .current{color:#7dcfff}.bottom-bar{position:static}.bottom-bar.has-selections{position:sticky}
#libraryView .pageheading,#activityView .pageheading{display:block}
.studio-instructions{margin:0 0 25px}.studio-instructions .stepper{justify-content:flex-start;display:flex;margin-bottom:12px;font-size:12px}.studio-instructions p{font-size:14px}.clip-guidance{margin:0 20px 18px;font-size:12px;color:var(--muted)}summary{cursor:pointer;color:#b9d9f5}.clip-guidance p{margin-top:10px;line-height:1.7}.clip-context{margin:0 20px 20px;padding-top:15px;border-top:1px solid var(--line);font-size:12px}.context-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.context-fields label{display:grid;gap:6px;color:var(--muted)}.context-fields select,.admin-controls input{border:1px solid #3a4c6b;background:#152137;color:#eaf2ff;border-radius:7px;padding:9px;font-size:12px;width:100%}.clip-context>p,.clip-context details{margin:12px 0}.issue-options{border:0;padding:12px 0;display:flex;gap:8px;flex-wrap:wrap}.issue-options legend{font-size:13px;margin-bottom:7px}.issue-options label{display:flex;gap:6px;align-items:center;padding:7px 10px;border:1px solid var(--line);border-radius:7px;margin:0;font-size:11px}.share-panel{padding-top:20px;margin-top:20px;border-top:1px solid var(--line)}.share-panel p{margin:8px 0;font-size:12px}#improvementPermission{margin-top:18px;font-size:12px}#improvementPermission details{color:var(--muted)}.admin-controls{padding:20px;margin-bottom:20px;display:grid;gap:14px}.beta-user{padding:20px;margin:15px 0}.beta-user p{margin-top:10px;font-size:12px}#inviteResult{overflow-wrap:anywhere}#creditsDialog>p{margin:15px 0}#creditsDialog>.primary{margin-top:18px}.topbar{gap:25px}.account{gap:10px}.balance{font-size:12px;white-space:nowrap}#addCredits{white-space:nowrap;font-size:11px}#logoutButton{font-size:11px;white-space:nowrap}@media(max-width:800px){.studio-instructions .stepper b{display:inline}.studio-instructions .stepper{gap:12px;font-size:10px}.context-fields{grid-template-columns:1fr}.topbar .account{width:100%;justify-content:flex-end}.studio-instructions p{font-size:12px}.issue-options label{font-size:10px}}
body{font-family:'DM Sans',system-ui,sans-serif}.topbar{background:#111c32;border-bottom:1px solid #2b3a55}.brand img{width:42px;height:46px}.brand strong{font-size:23px;letter-spacing:-.8px}.brand span{color:#88a4cc}.pageheading h1{color:#f8faff}.eyebrow{color:#7d9dc9}.panel{border-radius:18px;background:#1e293f;border-color:#2b3852}.section-number{color:#62caff;background:#173853}.nav.active{color:#68cfff;border-color:#40baff}.primary{background:#194bff;color:#fff;border-color:#194bff}.primary:hover:not(:disabled){background:#3261ff}.secondary{color:#e2eafa;background:#28354e}.secondary:hover:not(:disabled){background:#34496b}.identity{background:#16223a;border-color:#34425b;color:#f6f8ff;border-radius:9px}.identity:disabled{opacity:.76}.identity.selected{outline-color:#4ac7ff;background:#233f64}.person.active{border-color:#4ac7ff;background:#263a5b}.person-bottom.mapped{color:#80d5ff}.video-tabs .chosen{background:#315180;color:#fff}.selection-total>span,.quote-cost strong{color:#65caff}.test-label{color:#b7cbea}.upload-symbol{color:#43bfff;border-color:#32577d;box-shadow:none;border-radius:50%}.status-pill.live{border-color:#3b7f9c}.status-pill.live i{background:#46d1d4}.spinner{border-top-color:#58c8ff}.login-body{background:#141a2a}.login-card{background:#1e293f;border-radius:22px}.login-card input{color:#fff}.progress-track i{background:#194bff}.feedback-panel span[role=status]{color:#79d5ff}#toast{background:#2c4772;color:white}.workspace-notice{color:#f1d6a9}.workspace-notice p{color:#e5d0af}
.library-search{padding:0 20px 14px}.library-search label{display:block;color:#afbed5;font-size:11px;margin-bottom:7px}.library-search input{width:100%;min-width:0;background:#111e34;border:1px solid #3a4c6b;color:#f6f8ff;border-radius:8px;padding:11px 12px;font-size:12px}.library-search input::placeholder{color:#8ea2c1}.library-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-height:440px;overflow:auto;align-content:start;gap:8px}.identity img{aspect-ratio:1;object-fit:cover}.identity strong{font-size:11px;padding-top:5px}.identity small{font-size:9px}.library-pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 20px;color:#a9bddb;font-size:11px}.library-pagination button{min-height:34px}.library-note{padding-top:4px}.library-empty{grid-column:1/-1;color:#a9bddb;font-size:12px;padding:18px 0}.collection-toolbar{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}.collection-toolbar .library-search{padding:0;width:340px}.collection-toolbar .library-pagination{padding:0}.full-library{grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}.full-library .panel{padding:0 0 14px}.full-library img{aspect-ratio:1;object-fit:cover;width:100%}.full-library h2,.full-library p{padding:0 14px}.full-library h2{margin:12px 0 4px;font-size:15px}.full-library p{font-size:11px}
@media(min-width:1001px){.workspace{grid-template-columns:minmax(0,1fr) 350px}}@media(max-width:1000px){.full-library{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:800px){.library-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-height:460px}.library-panel{width:100%}.full-library{grid-template-columns:repeat(2,minmax(0,1fr))}.collection-toolbar{display:block}.collection-toolbar .library-search{width:100%;margin-bottom:14px}.brand strong{font-size:20px}.brand img{width:34px;height:38px}.account{gap:8px}.brand span{display:none}}
@media(max-width:800px){.topbar .account{flex-wrap:wrap;justify-content:flex-start;min-width:0;gap:10px}.topbar .balance{margin-right:auto;white-space:normal}.topbar .status-pill{white-space:nowrap;flex-shrink:0}.topbar #addCredits,.topbar #logoutButton{flex-shrink:0}}
