:root{--bg:#f5f5f7;--ink:#39363a;--ink-soft:#4b4850;--text:#39363a;--muted:#8a96a3;--placeholder:#6f7b88;--line:#d9dde2;--line-strong:#c8ced6;--panel:#fff;--panel-2:#f5f5f7;--panel-3:#fff;--surface:#fff;--surface-strong:#fff;--surface-tint:#fff;--field:#fff;--accent:#42a5f5;--accent-rgb:66, 165, 245;--accent-dark:#2279bb;--accent-soft:#edf7ff;--accent-quiet:#42a5f51a;--primary-gradient:linear-gradient(180deg, #55b4ff, var(--accent));--ok:#2f8f62;--ok-soft:#eef8f3;--warn:#a86a16;--warn-soft:#fff6e8;--danger:#d3423f;--danger-soft:#fff7f7;--shadow:0 14px 36px #39363a14;--shadow-strong:0 24px 60px #39363a2e;--shadow-soft:0 8px 18px #39363a0f;--focus-ring:0 0 0 3px rgba(var(--accent-rgb), .18);--liquid-sheen:linear-gradient(180deg, #ffffff6b, #fff0);--liquid-edge:linear-gradient(180deg, #ffffffeb, #d9dde2b8);--font-size-caption:12px;--font-size-ui:14px;--font-size-emphasis:16px;--font-weight-regular:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#1f2126;--ink:#f5f6f8;--ink-soft:#e3e6ea;--text:#f5f6f8;--muted:#aab3bd;--placeholder:#c1c8d0;--line:#3b4048;--line-strong:#4d535c;--panel:#292b31;--panel-2:#24272d;--panel-3:#30333a;--surface:#292b31;--surface-strong:#292b31;--surface-tint:#24272d;--field:#22252a;--accent:#42a5f5;--accent-rgb:66, 165, 245;--accent-dark:#8ed0ff;--accent-soft:#18354d;--accent-quiet:#42a5f526;--primary-gradient:linear-gradient(180deg, #55b4ff, var(--accent));--ok:#77d29b;--ok-soft:#173122;--warn:#efbd72;--warn-soft:#332815;--danger:#ff8f8f;--danger-soft:#3a2020;--shadow:0 18px 52px #00000052;--shadow-strong:0 32px 86px #0000007a;--shadow-soft:0 12px 30px #00000038;--focus-ring:0 0 0 3px rgba(var(--accent-rgb), .24);--liquid-sheen:linear-gradient(180deg, #ffffff0d, #fff0);--liquid-edge:linear-gradient(180deg, #ffffff1a, #4d535cb8)}*{box-sizing:border-box}html{scrollbar-gutter:stable}body{background:var(--bg);min-height:100vh;color:var(--ink);font-family:Golos Text Variable,sans-serif;font-weight:var(--font-weight-regular);font-synthesis:none;margin:0;transition:background-color .22s,color .22s}:root[data-theme=dark] body{background:var(--bg);color:var(--ink)}button,select,textarea,input{font:inherit}input::placeholder,textarea::placeholder{color:var(--placeholder);opacity:1}button{-webkit-tap-highlight-color:transparent;appearance:none;cursor:pointer}button svg{flex:none}button:disabled{cursor:not-allowed;opacity:.48}h1,h2,h3,p{margin-top:0}h1{margin-bottom:0;font-size:clamp(30px,4vw,44px);line-height:1}h2{margin-bottom:0;font-size:clamp(22px,3vw,32px)}h3{margin-bottom:14px;font-size:18px}select,textarea,input{border:1px solid var(--line);background:var(--field);color:var(--ink);border-radius:8px;transition:border-color .16s,box-shadow .16s,background .16s}select,input{min-height:42px;padding:0 12px}select{background:linear-gradient(45deg, transparent 50%, var(--accent-dark) 50%) right 15px center / 6px 6px no-repeat, linear-gradient(135deg, var(--accent-dark) 50%, transparent 50%) right 10px center / 6px 6px no-repeat, var(--field);appearance:none;padding-right:36px}select:focus,input:focus,textarea:focus{border-color:var(--accent);box-shadow:var(--focus-ring);outline:none}.loginScreen{z-index:20;background:var(--bg);place-items:center;padding:24px;display:grid;position:fixed;inset:0}.loginCard{border:1px solid var(--line);background:var(--surface-strong);width:min(980px,100%);min-height:560px;max-height:calc(100vh - 48px);box-shadow:var(--shadow-strong);border-radius:8px;grid-template-columns:minmax(320px,.82fr) minmax(420px,1.18fr);gap:0;display:grid;overflow:hidden}.sessionRestoreCard{border:1px solid var(--line);background:var(--surface-strong);width:min(420px,100%);box-shadow:var(--shadow-strong);border-radius:8px;gap:18px;padding:30px;display:grid}.sessionRestoreCard div{gap:6px;display:grid}.sessionRestoreCard b{font-size:22px}.sessionRestoreCard span{color:var(--muted);font-weight:600}.loginForm{border-right:1px solid #d8dee7b3;align-content:center;gap:15px;padding:48px;display:grid;overflow:auto}.loginForm label{color:var(--muted);gap:6px;font-size:13px;font-weight:600;display:grid}.loginForm textarea{resize:vertical;min-height:78px;padding:10px 12px}.loginTitle{gap:6px;margin:8px 0 2px;display:grid}.loginTitle b{color:var(--ink);font-size:22px;line-height:1.18}.loginTitle span,.loginMessage{color:var(--muted);font-size:13px;font-weight:600;line-height:1.45}.loginMessage{color:var(--danger);margin:0}.loginNoticeAnchor{display:grid;position:relative}.loginNoticeAnchor .primary{width:100%}.loginNoticeBubble{z-index:5;color:#9f2d2d;text-align:center;pointer-events:none;background:#fffafafa;border:1px solid #ef444457;border-radius:7px;width:max-content;min-width:220px;max-width:min(320px,100vw - 48px);padding:8px 10px;font-size:13px;font-weight:700;line-height:1.28;animation:.22s cubic-bezier(.2,.8,.2,1) projectNoticeSoftIn;position:absolute;top:calc(100% + 8px);left:50%;translate:-50%;box-shadow:0 10px 22px #7f1d1d1a}.loginNoticeBubble:before{content:"";background:inherit;border-top:1px solid #ef444457;border-left:1px solid #ef444457;width:9px;height:9px;position:absolute;top:-5px;left:50%;transform:translate(-50%)rotate(45deg)}.loginModeButton{justify-content:center}.loginTotpSetup{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px 16px;display:grid}.loginTotpSetupCopy{gap:10px;min-width:0;display:grid}.loginTotpHelp{color:var(--muted);margin:0;font-size:13px;font-weight:600;line-height:1.4}.loginTotpQr{border:1px solid var(--line);background:#fff;border-radius:8px;width:148px;height:148px;margin:0;display:block}.loginTotpSecret{border:1px solid var(--line);background:var(--field);color:var(--ink);letter-spacing:.06em;word-break:break-all;border-radius:8px;padding:8px 10px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;font-weight:700;line-height:1.35;display:block}.loginFormTotp{gap:12px;padding:32px 36px}.brandMark{color:var(--ink);align-items:center;gap:5px;font-size:20px;font-weight:700;display:inline-flex}.brandMark span{background:var(--accent);width:7px;height:18px;box-shadow:none;border-radius:999px;display:block;transform:rotate(-38deg)}.brandMark span:nth-child(2){background:#aab3bd;height:14px}.brandMark span:nth-child(3){background:var(--accent);height:10px}.brandMark b{margin-left:6px}.brandMark.compact{font-size:var(--font-size-ui);margin-bottom:0}.brandMark.compact span{width:5px;height:13px}.brandMark.compact span:nth-child(2){height:10px}.brandMark.compact span:nth-child(3){height:8px}.loginArt{background:#f7f9fc;position:relative;overflow:hidden}.loginArtImage{box-sizing:border-box;object-fit:cover;object-position:center top;padding:0;height:calc(100% + 90px)!important;top:-90px!important}.loginArt:after{content:"";background:linear-gradient(90deg,#ffffffdb,#0000 36%),linear-gradient(#f7f9fc24,#f7f9fcd1);position:absolute;inset:0}.loginOverlay{z-index:1;border:1px solid var(--line);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff0;border-radius:8px;gap:7px;padding:18px;display:grid;position:absolute;bottom:26px;left:26px;right:26px;box-shadow:0 18px 38px #39363a1f}.loginOverlay span{color:var(--accent-dark);font-size:12px;font-weight:700}.loginOverlay b{font-size:20px}.loginOverlay small{color:var(--muted);font-weight:700}.appShell{width:min(1240px,100% - 32px);margin:0 auto;padding:20px 0 44px}.sectionHead,.modal header,.modal footer{justify-content:space-between;align-items:center;gap:16px;display:flex}.topbar{z-index:30;border:1px solid var(--line);background:var(--surface);min-height:64px;box-shadow:var(--shadow-soft);border-radius:10px;grid-template-columns:auto minmax(0,1fr) auto;justify-content:space-between;align-items:center;gap:16px 12px;margin-bottom:14px;padding:9px 10px 9px 16px;display:grid;position:relative;overflow:visible}.topbar:has(.userMenu[open]){z-index:260}.topbar:before,.stage:after{content:"";z-index:0;border-radius:inherit;background:var(--liquid-sheen);opacity:0;pointer-events:none;position:absolute;inset:0}.topbar:after{content:"";z-index:0;border-radius:inherit;background:var(--liquid-edge);opacity:.42;pointer-events:none;-webkit-mask-composite:xor;-webkit-mask-source-type:auto,auto;-webkit-mask-composite:xor;-webkit-mask-source-type:auto,auto;padding:1px;position:absolute;inset:0;-webkit-mask-image:linear-gradient(#000 0 0),linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0),linear-gradient(#000 0 0);-webkit-mask-position:0 0,0 0;mask-position:0 0,0 0;-webkit-mask-size:auto,auto;mask-size:auto,auto;-webkit-mask-repeat:repeat,repeat;mask-repeat:repeat,repeat;-webkit-mask-clip:content-box,border-box;mask-clip:content-box,border-box;-webkit-mask-origin:content-box,border-box;mask-origin:content-box,border-box;-webkit-mask-composite:xor;mask-composite:exclude;-webkit-mask-source-type:auto,auto;mask-mode:match-source,match-source}.topbar>*,.stage>*{z-index:1;position:relative}.topbarBrand{min-width:0;color:var(--ink);font-size:var(--font-size-ui);justify-self:start;align-items:center;gap:12px;font-weight:700;display:inline-flex}.topbarBrand .brandMark{margin:0}.topbarActions,.previewTools{align-items:center;gap:10px;display:flex}.topbarActions{flex-wrap:wrap;justify-content:flex-end;justify-self:end;position:relative}.topbarNoticeAnchor{display:inline-flex;position:relative}.saveState{background:var(--ok-soft);min-height:34px;color:var(--ok);border:1px solid #127a4d2e;border-radius:999px;align-items:center;padding:0 10px;font-size:12px;font-weight:700;display:inline-flex}.projectNoticeBubble{z-index:90;color:#9f2d2d;pointer-events:none;background:#fffafafa;border:1px solid #ef444457;border-radius:7px;width:max-content;min-width:220px;max-width:270px;padding:8px 10px;font-size:13px;font-weight:700;line-height:1.28;animation:.22s cubic-bezier(.2,.8,.2,1) projectNoticeSoftIn;position:absolute;top:calc(100% + 6px);left:50%;right:auto;translate:-50%;box-shadow:0 10px 22px #7f1d1d1a}.projectNoticeBubble:before{content:"";background:inherit;border-top:1px solid #ef444457;border-left:1px solid #ef444457;width:9px;height:9px;position:absolute;top:-5px;left:50%;right:auto;transform:translate(-50%)rotate(45deg)}@keyframes projectNoticeSoftIn{0%{opacity:0;translate:-50% -4px;scale:.98}to{opacity:1;translate:-50%;scale:1}}.profileChip{border:1px solid rgba(var(--accent-rgb), .24);background:var(--accent-soft);min-height:34px;color:var(--accent-dark);border-radius:999px;align-items:center;padding:0 12px;font-size:13px;font-weight:700;display:inline-flex}.eyebrow{color:var(--muted);margin:0 0 4px;font-size:12px;font-weight:700}.iconButton{border:1px solid var(--line);background:var(--surface-strong);width:42px;height:42px;color:var(--ink);border-radius:8px;place-items:center;font-size:20px;display:inline-grid}.roundIconButton{border:1px solid var(--line);background:var(--surface-strong);width:34px;height:34px;color:var(--muted);border-radius:50%;flex:none;place-items:center;transition:background .16s,border-color .16s,color .16s,transform .16s;display:inline-grid}.roundIconButton:hover:not(:disabled){border-color:rgba(var(--accent-rgb), .28);background:var(--accent-soft);color:var(--accent-dark);transform:translateY(-1px)}.roundIconButton:disabled{cursor:not-allowed;opacity:.42}.roundIconButton.dangerAction{color:var(--danger)}.roundIconButton.dangerAction:hover{color:var(--danger);background:#fdeceb;border-color:#b3261e3d}.primary,.secondary,.ghost,.dangerGhost,.voiceCreateButton,.addCorrectionButton,.compactDropzone,.userMenuAction{border:1px solid rgba(var(--accent-rgb), .34);background:var(--surface-strong);min-height:42px;color:var(--accent-dark);font-size:13px;font-weight:var(--font-weight-semibold);box-shadow:none;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:0 16px;transition:background .16s,border-color .16s,color .16s,box-shadow .16s,transform .16s;display:inline-flex}.primary{isolation:isolate;border-color:var(--accent);background:var(--accent);color:#fff;position:relative;overflow:hidden}.primary:active:not(:disabled){filter:brightness(.94);transform:translateY(0);box-shadow:0 4px 10px #39363a0f}.primary:focus-visible{outline:2px solid rgba(var(--accent-rgb), .34);outline-offset:3px}.primary:disabled{color:var(--muted);box-shadow:none;filter:none;opacity:1;background:#e9edf2;border-color:#d3d9e1}.secondary{border-color:rgba(var(--accent-rgb), .34);background:var(--surface-strong);color:var(--accent-dark)}.topbarActionButton{width:38px;height:38px}.createProjectButton,.saveProjectButton{color:var(--accent-dark)}.roundIconButton.blockedActionButton,.roundIconButton.blockedActionButton:hover{border-color:var(--line);background:var(--surface-strong);color:var(--muted);box-shadow:none;opacity:.42;transform:none}.primary:hover:not(:disabled),.secondary:hover:not(:disabled),.ghost:hover:not(:disabled),.dangerGhost:hover:not(:disabled),.voiceCreateButton:hover:not(:disabled),.addCorrectionButton:hover:not(:disabled),.compactDropzone:hover,.userMenuAction:hover,.iconButton:hover:not(:disabled){border-color:rgba(var(--accent-rgb), .42);background:var(--accent-soft);color:var(--accent-dark);transform:translateY(-1px);box-shadow:0 8px 18px #39363a12}.primary:hover:not(:disabled){border-color:var(--accent);background:var(--accent);color:#fff}.ghost{border-color:rgba(var(--accent-rgb), .34);background:var(--surface-strong);color:var(--accent-dark)}.dangerGhost{background:var(--surface-strong);color:var(--danger);border-color:#b3261e47}.dangerGhost:hover:not(:disabled){background:var(--danger-soft);color:var(--danger);border-color:#b3261e61}.userMenu{position:relative}.userMenu summary{border:1px solid var(--line);background:var(--panel);min-height:42px;color:var(--ink);font-size:var(--font-size-ui);border-radius:999px;align-items:center;gap:8px;padding:0 12px 0 6px;font-weight:700;list-style:none;transition:border-color .16s,background .16s,box-shadow .16s,transform .16s;display:inline-flex}.userMenu summary::-webkit-details-marker{display:none}.userMenu summary:hover{border-color:rgba(var(--accent-rgb), .36);transform:translateY(-1px);box-shadow:0 8px 18px #39363a14}.userAvatar{background:var(--panel-2);width:30px;height:30px;color:var(--accent-dark);border-radius:50%;place-items:center;display:grid}.userMenuPanel{z-index:270;border:1px solid var(--line);background:var(--panel);border-radius:8px;width:280px;padding:12px;position:absolute;top:calc(100% + 10px);right:0;box-shadow:0 20px 50px #39363a29}.userMenuPanel:before{content:"";border-left:1px solid var(--line);border-top:1px solid var(--line);background:var(--panel);width:10px;height:10px;position:absolute;top:-5px;right:24px;transform:rotate(45deg)}.userMenuHead{gap:3px;padding:4px 4px 12px;display:grid}.userMenuHead b{color:var(--ink);font-size:14px}.userMenuHead span{color:var(--muted);font-size:12px;font-weight:600}.userMenuAction{border-color:rgba(var(--accent-rgb), .34);background:var(--surface-strong);width:100%;min-height:40px;color:var(--accent-dark);justify-content:flex-start;margin-bottom:8px;padding:0 10px;text-decoration:none}.userMenuAction:hover{border-color:rgba(var(--accent-rgb), .42);background:var(--accent-soft);color:var(--accent-dark)}.themeSwitch{border:1px solid var(--line);background:var(--surface-tint);border-radius:8px;grid-template-columns:1fr 1fr;gap:6px;padding:6px;display:grid}.themeSwitch label{min-height:38px;color:var(--muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;gap:7px;font-size:13px;font-weight:700;transition:background .16s,border-color .16s,color .16s,box-shadow .16s;display:inline-flex;position:relative}.themeSwitch input{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}.themeSwitch label:hover{color:var(--accent-dark)}.themeSwitch label:has(input:focus-visible){outline:2px solid rgba(var(--accent-rgb), .28);outline-offset:2px}.themeSwitch label.active{border-color:rgba(var(--accent-rgb), .3);background:var(--panel);color:var(--accent-dark);box-shadow:0 6px 14px #39363a0f}.workSurface{z-index:1;box-shadow:none;background:0 0;border:0;position:relative;overflow:visible}.workflowStatusBar{border:1px solid var(--line);background:var(--surface-strong);box-shadow:none;border-radius:8px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:16px;margin:0 0 14px;padding:8px 12px;display:grid}.workflowStatusContent{min-width:0}.steps{grid-template-columns:repeat(3,minmax(126px,160px));gap:8px;margin-bottom:0;display:grid}.topbarWorkflow{border:1px solid var(--line);background:var(--panel-2);border-radius:10px;grid-template-columns:repeat(3,minmax(92px,1fr));justify-self:center;gap:2px;padding:4px}.step{border:1px solid var(--line);background:var(--panel);min-width:0;min-height:42px;color:var(--muted);text-align:left;border-radius:8px;align-items:center;gap:8px;padding:7px 10px;transition:background .16s,border-color .16s,box-shadow .16s,transform .16s;display:flex;position:relative;overflow:hidden}.topbarWorkflow .step{min-height:36px;color:var(--muted);text-align:center;background:0 0;border-color:#0000;justify-content:center;padding:7px 13px}.topbarWorkflow .step span{display:none}.topbarWorkflow .step.active{border-color:var(--line);background:var(--surface);color:var(--ink);box-shadow:0 3px 10px #39363a12}.step:after{content:"";background:0 0;border-radius:999px;height:2px;display:none;position:absolute;inset:auto 10px 7px}.step span{background:var(--panel-2);width:24px;height:24px;color:var(--muted);border-radius:50%;flex:none;place-items:center;font-size:13px;font-weight:600;display:grid}.step b{text-overflow:ellipsis;white-space:nowrap;font-size:var(--font-size-ui);font-weight:var(--font-weight-semibold);overflow:hidden}.step.active{border-color:rgba(var(--accent-rgb), .44);background:var(--accent-soft);color:var(--accent-dark);box-shadow:none}.step.active:after{background:0 0}.step.active span{background:var(--accent);color:#fff}.step:disabled{box-shadow:none;background:#f6f7f8}.stage{z-index:1;box-shadow:none;background:0 0;border:0;border-radius:0;padding:0;position:relative;overflow:visible}.stage:before{content:"";z-index:2;background:0 0;border-radius:8px 8px 0 0;height:3px;position:absolute;inset:0 0 auto}.stage:after{opacity:.42;inset:1px}.sectionHead{border-bottom:0;align-items:flex-start;min-height:50px;margin-bottom:18px;padding-bottom:14px}.sectionHead h2{max-width:760px;font-size:clamp(19px,2.1vw,25px);line-height:1.15}.uploadStageActions{flex:none;align-items:end;gap:10px;margin-left:auto;display:flex}.sectionHead>.previewTools,.sectionHead>.statusPill{margin-left:auto}.projectMetaRow{z-index:20;border:1px solid var(--line);background:var(--surface-strong);box-shadow:none;border-radius:8px;grid-template-columns:minmax(260px,1fr);align-items:center;gap:8px;margin-bottom:14px;padding:10px 12px;display:grid;position:relative}.topbar .projectMetaRow{width:100%;min-width:0;box-shadow:none;background:0 0;border:0;grid-template-columns:minmax(240px,1fr);margin:0;padding:0}.projectMetaRow.invalid{border-color:var(--line);background:var(--surface-strong);box-shadow:none}.projectMetaRow input{width:100%;min-height:38px;font-size:var(--font-size-ui)}.projectMetaRow input[aria-invalid=true]{border-color:#d3423fbf;box-shadow:0 0 0 1px #d3423f14}.clearProjectButton{background:var(--surface-strong);border-color:#b3261e47}.materialRunBar{border:1px solid var(--line);background:var(--surface-tint);min-height:68px;box-shadow:none;border-radius:8px;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px;padding:12px 14px;display:flex}.workflowStatusBar .materialRunBar{height:48px;min-height:48px;box-shadow:none;background:0 0;border:0;margin:0;padding:0}.workflowStatusBar .materialRunLabel,.workflowStatusBar .materialRunDetail{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.workflowStatusBar .materialRunActions{flex-wrap:nowrap}.workflowStatusBar .serverJobPanel{margin:0}.materialRunBar.ready{background:var(--ok-soft);border-color:#2f8f6247}.materialRunBar.waiting,.materialRunBar.warning{background:var(--danger-soft);box-shadow:none;border-color:#d3423f52}.materialRunStatus{gap:3px;min-width:0;display:grid}.materialRunStatus span{color:var(--muted);font-size:var(--font-size-caption);font-weight:700}.materialRunStatus b{font-size:var(--font-size-emphasis);line-height:1.2}.materialRunStatus small{color:var(--muted);font-size:var(--font-size-caption);font-weight:600}.materialRunButton{min-width:220px;font-size:var(--font-size-ui);flex:none}.materialTextExportButton{min-width:180px;font-size:var(--font-size-ui);flex:none}.materialAnalyzeIconButton{flex:none;width:42px;min-width:42px;height:42px;min-height:42px;padding:0}.materialRunActions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.materialWorkspace{grid-template-columns:minmax(0,1fr);align-items:start;gap:12px;width:100%;min-width:0;display:grid}.materialWorkspace .scriptPanel,.materialWorkspace .fileList,.materialWorkspace .voiceoverWorkspace{grid-column:auto}.voiceoverWorkspace{border:1px solid var(--line);background:var(--surface-strong);min-width:0;box-shadow:var(--shadow-soft);border-radius:8px;padding:13px 14px}.voiceoverWorkspace.complete{border-color:#3f8d68}@supports (color:color-mix(in lab, red, red)){.voiceoverWorkspace.complete{border-color:color-mix(in srgb, #3f8d68 38%, var(--line))}}.voiceoverWorkspace>header,.voiceoverWorkspaceTitle,.workspaceSectionTitle,.voiceoverWorkspaceActions{align-items:center;display:flex}.voiceoverWorkspace>header{justify-content:space-between;gap:16px}.voiceoverWorkspaceTitle,.workspaceSectionTitle{gap:10px;min-width:0}.voiceoverWorkspaceIcon,.workspaceSectionIcon{width:36px;height:36px;color:var(--accent-dark);background:var(--surface-strong);box-shadow:inset 0 0 0 1px rgba(var(--accent-rgb), .18);border-radius:8px;flex:none;place-items:center;display:grid}.voiceoverWorkspace h3{font-size:var(--font-size-ui);margin:0;line-height:1.25}.voiceoverWorkspace small{max-width:min(720px,62vw);color:var(--muted);font-size:var(--font-size-caption);text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-weight:600;display:block;overflow:hidden}.voiceoverWorkspaceActions{flex:none;justify-content:flex-end;gap:8px}.voiceoverWorkspaceActions button{align-items:center;gap:7px;display:inline-flex}.voiceoverDirectUpload{cursor:pointer;width:auto;min-width:0}.voiceoverDirectUpload:disabled{cursor:not-allowed}.voiceoverWorkspaceFeedback{border:1px solid var(--line);background:var(--surface-tint);color:var(--muted);border-radius:7px;align-items:center;gap:9px;margin-top:10px;padding:9px 10px;font-size:12px;font-weight:650;display:flex}.voiceoverWorkspaceFeedback span{flex:1;min-width:0}.voiceoverWorkspaceFeedback.processing{color:var(--accent-dark);background:var(--accent-soft)}.voiceoverWorkspaceFeedback.error{color:var(--danger);background:var(--danger)}@supports (color:color-mix(in lab, red, red)){.voiceoverWorkspaceFeedback.error{background:color-mix(in srgb, var(--danger) 7%, var(--surface))}}.modal.voiceoverModal{flex-direction:column;width:min(1080px,100vw - 40px);height:min(760px,100vh - 40px);display:flex;overflow:hidden}.voiceoverModalToolbar{border-bottom:1px solid var(--line);justify-content:flex-end;align-items:end;gap:16px;padding-bottom:14px;display:flex}.voiceoverRecordingScope{justify-content:space-between;align-items:center;gap:14px;width:100%;display:flex}.voiceoverRecordingScope>div:first-child{gap:3px;display:grid}.voiceoverRecordingScope>div:first-child small{color:var(--muted);font-size:12px}.voiceoverRecordingScope>div:last-child{background:var(--panel-2);border-radius:8px;gap:4px;padding:4px;display:inline-flex}.voiceoverRecordingScope button{min-height:34px;color:var(--muted);background:0 0;border:0;border-radius:6px;padding:0 13px;font-size:13px;font-weight:700}.voiceoverRecordingScope button.active{color:var(--accent-dark);background:var(--surface-strong);box-shadow:0 2px 9px #1f212614}.voiceoverModeTabs{background:var(--panel-2);border-radius:8px;gap:4px;padding:4px;display:inline-flex}.voiceoverModeTabs button{min-height:34px;color:var(--muted);background:0 0;border:0;border-radius:6px;align-items:center;gap:7px;padding:0 12px;font-size:13px;font-weight:700;display:inline-flex}.voiceoverModeTabs button.active{color:var(--accent-dark);background:var(--surface-strong);box-shadow:0 2px 9px #1f212614}.voiceoverMicrophonePicker>span{color:var(--muted);letter-spacing:.03em;text-transform:uppercase;font-size:11px;font-weight:700}.voiceoverRecorder select{min-height:36px}.voiceoverModalLayout{flex:auto;grid-template-columns:300px minmax(0,1fr);min-height:0;margin:0 -18px -18px;display:grid}.voiceoverSegmentList{border-right:1px solid var(--line);background:var(--panel-2);min-height:0;padding:12px;overflow-y:auto}@supports (color:color-mix(in lab, red, red)){.voiceoverSegmentList{background:color-mix(in srgb, var(--panel-2) 55%, var(--surface))}}.voiceoverFullRecordingSummary{color:var(--accent-dark);justify-items:start;gap:8px;padding:14px;display:grid}.voiceoverFullRecordingSummary span,.voiceoverFullRecordingSummary p{color:var(--muted);font-size:12px;line-height:1.45}.voiceoverFullRecordingSummary p{margin:3px 0 0}.voiceoverSegmentList>button{width:100%;color:var(--ink);text-align:left;background:0 0;border:1px solid #0000;border-radius:7px;grid-template-columns:auto 1fr;gap:4px 8px;padding:10px;display:grid}.voiceoverSegmentList>button+button{margin-top:4px}.voiceoverSegmentList>button:hover{background:var(--surface-strong)}.voiceoverSegmentList>button.active{border-color:rgba(var(--accent-rgb), .32);background:var(--surface-strong);box-shadow:0 5px 16px #1f212612}.voiceoverSegmentNumber,.voiceoverSegmentStatus,.voiceoverSegmentDuration{font-size:11px;font-weight:700}.voiceoverSegmentNumber{color:var(--accent-dark)}.voiceoverSegmentMeta{grid-column:1/-1;align-items:center;gap:6px;min-width:0;display:flex}.voiceoverSegmentOrigin{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.voiceoverSegmentDuration{color:var(--muted);font-variant-numeric:tabular-nums;flex:none}.voiceoverSegmentStatus{color:var(--muted);flex:none;margin-left:auto}.status-stale .voiceoverSegmentStatus,.status-failed .voiceoverSegmentStatus{color:var(--danger)}.status-ready .voiceoverSegmentStatus{color:#2f805a}.voiceoverSegmentExcerpt{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:12px;font-weight:650;overflow:hidden}.voiceoverSegmentWorkspace{min-width:0;padding:20px 22px 24px;overflow-y:auto}.voiceoverTeleprompter{border-left:3px solid var(--accent);background:var(--accent-soft);border-radius:0 8px 8px 0;padding:16px 18px}@supports (color:color-mix(in lab, red, red)){.voiceoverTeleprompter{background:color-mix(in srgb, var(--accent-soft) 45%, var(--surface))}}.voiceoverFocusedModal .voiceoverTeleprompter{background:0 0;border-left:0;border-radius:0;padding:0}.voiceoverFocusedModal .voiceoverSegmentWorkspace{--voiceover-focused-gap:12px}.voiceoverFocusedModal .voiceoverTextEditor{margin-top:0}.voiceoverFocusedModal .voiceoverTextEditor textarea{border-color:var(--line);background:var(--surface);border-radius:10px;padding:10px 12px}.voiceoverFocusedModal .voiceoverTextEditor textarea:hover:not(:disabled){border-color:rgba(var(--accent-rgb), .34)}.voiceoverTeleprompter span{color:var(--accent-dark);text-transform:uppercase;font-size:11px;font-weight:700}.voiceoverTeleprompter p{margin:8px 0 0;font-size:18px;font-weight:650;line-height:1.55}.voiceoverTeleprompter.full p{white-space:pre-line}.voiceoverTextEditor{gap:6px;margin-top:8px;display:grid}.voiceoverTextEditor textarea{resize:vertical;background:var(--surface);border:1px solid #0000;border-radius:7px;width:100%;min-height:108px}@supports (color:color-mix(in lab, red, red)){.voiceoverTextEditor textarea{background:color-mix(in srgb, var(--surface) 86%, transparent)}}.voiceoverTextEditor textarea{color:var(--ink);font:inherit;font-size:18px;font-weight:650;line-height:1.55}.voiceoverTextEditor textarea:hover:not(:disabled){border-color:rgba(var(--accent-rgb), .24)}.voiceoverTextEditor textarea:focus{border-color:rgba(var(--accent-rgb), .52);background:var(--surface);box-shadow:0 0 0 3px rgba(var(--accent-rgb), .09);outline:none}.voiceoverTextEditor>small{color:var(--muted);font-size:11px;font-weight:600}.voiceoverFullTextEditors{gap:10px;margin-top:8px;display:grid}.voiceoverFullTextEditors .voiceoverTextEditor{margin-top:0}.voiceoverFullTextEditors .voiceoverTextEditor>small{color:var(--accent-dark);letter-spacing:.04em;text-transform:uppercase;font-size:10px;font-weight:700}.voiceoverFullTextEditors .voiceoverTextEditor textarea{min-height:82px;font-size:16px}.voiceoverCurrentTake{border:1px solid var(--line);background:var(--surface);border-radius:10px;min-height:124px;margin-top:12px;padding:12px 14px 10px}.voiceoverAudioPlayer,:root[data-theme=dark] .voiceoverAudioPlayer{background:0 0;border:0;border-radius:0;min-width:0;overflow:visible}.voiceoverAudioPlayer .fileMediaPlayerSurface{gap:6px;display:grid}.voiceoverWaveform{cursor:pointer;align-items:center;gap:2px;width:100%;height:50px;padding:3px 1px;display:flex}.voiceoverWaveform>span{background:rgba(var(--accent-rgb), .22);border-radius:999px;flex:1 1 0;min-width:1px;transition:background .12s}.voiceoverWaveform>span.played{background:var(--accent)}.voiceoverWaveform:focus-visible{outline:2px solid rgba(var(--accent-rgb), .35);outline-offset:3px;border-radius:6px}.voiceoverAudioPlayer.compactMediaPlayer .mediaPlayerBar,.voiceoverAudioPlayer.withoutPlayButton .mediaPlayerBar{background:0 0;border:0;grid-template:"current timeline duration"/42px minmax(0,1fr) 42px;column-gap:10px;padding:0}.voiceoverAudioPlayer.compactMediaPlayer .timelineScrubber{grid-area:auto;height:24px}.voiceoverAudioPlayer.compactMediaPlayer .mediaPlayerBar time:first-child,.voiceoverAudioPlayer.compactMediaPlayer .mediaPlayerBar time:last-child{color:var(--accent-dark);grid-area:auto;font-size:11px;font-weight:700}.voiceoverAudioPlayer .voiceoverPlayerToolBar{background:0 0;border:0;justify-content:flex-end;min-height:32px;margin-top:5px;padding:3px 0 0}.voiceoverAudioPlayer .scriptSourceToolBar button.playbackButton{border-color:rgba(var(--accent-rgb), .2);background:var(--surface)}@supports (color:color-mix(in lab, red, red)){.voiceoverAudioPlayer .scriptSourceToolBar button.playbackButton{background:color-mix(in srgb, var(--surface) 76%, transparent)}}.voiceoverAudioPlayer .scriptSourceToolBar button.playbackButton.active{border-color:rgba(var(--accent-rgb), .38);background:var(--accent);color:#fff}.voiceoverActionPane{gap:12px;margin-top:16px;display:grid}.voiceoverFocusedModal .voiceoverActionPane{gap:var(--voiceover-focused-gap);margin-top:var(--voiceover-focused-gap)}.voiceoverActionPane .voiceoverCurrentTake{margin-top:0}.voiceoverGeneratingTake{align-items:center;display:flex}.voiceoverGeneratingTake .voiceoverJobProgress{width:100%;padding:14px 16px}.voiceoverGenerationControls{grid-template-columns:minmax(132px,.7fr) auto auto;justify-content:stretch;align-items:stretch;display:grid}.voiceoverGenerationControls select{min-width:0;min-height:42px}.voiceoverGenerationControls button{white-space:nowrap;justify-content:center}.voiceoverDropPrompt{border:1px dashed rgba(var(--accent-rgb), .42);background:var(--accent-soft);border-radius:8px;place-items:center;min-height:176px;padding:22px;display:grid}@supports (color:color-mix(in lab, red, red)){.voiceoverDropPrompt{background:color-mix(in srgb, var(--accent-soft) 34%, transparent)}}.voiceoverDropPrompt{text-align:center}.voiceoverDropPrompt p,.voiceoverCommonTrackHint p{color:var(--muted);margin:4px 0 12px;font-size:12px;line-height:1.45}.voiceoverCommonTrackHint,.voiceoverJobProgress,.voiceoverActionError{border-radius:8px;align-items:center;gap:12px;padding:12px;display:flex}.voiceoverCommonTrackHint{border:1px solid var(--line);background:var(--surface)}.voiceoverCommonTrackHint>div{flex:1;min-width:0}.voiceoverCommonTrackHint p{margin-bottom:0}.voiceoverJobProgress{background:var(--accent-soft);color:var(--accent-dark);font-size:13px;font-weight:700}.voiceoverJobProgress span{flex:1}.voiceoverImportProgress{color:var(--accent-dark);align-items:center;gap:8px;font-size:12px;font-weight:700;display:flex}.voiceoverImportReview{gap:12px;display:grid}.voiceoverImportReview>header,.voiceoverImportRow,.voiceoverUnassigned{align-items:center;gap:12px;display:flex}.voiceoverImportReview>header{justify-content:space-between}.voiceoverImportReview p,.voiceoverImportRow p,.voiceoverUnassigned p{color:var(--muted);margin:3px 0 0;font-size:12px;line-height:1.45}.voiceoverImportRows{gap:7px;max-height:310px;display:grid;overflow-y:auto}.voiceoverImportRow{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-columns:minmax(170px,1fr) auto minmax(190px,.85fr);padding:10px 12px;display:grid}.voiceoverImportRow.unmatched{border-color:var(--danger);grid-template-columns:1fr auto}@supports (color:color-mix(in lab, red, red)){.voiceoverImportRow.unmatched{border-color:color-mix(in srgb, var(--danger) 28%, var(--line))}}.voiceoverImportRow audio{width:100%;height:34px}.voiceoverBoundaryFields{gap:6px;display:flex}.voiceoverBoundaryFields label{gap:3px;display:grid}.voiceoverBoundaryFields span{color:var(--muted);text-transform:uppercase;font-size:10px;font-weight:700}.voiceoverBoundaryFields input{width:84px;min-height:32px;padding:5px 7px}.voiceoverUnmatchedBadge,.voiceoverPublishedBadge{color:var(--danger);font-size:12px;font-weight:700}.voiceoverPublishedBadge{color:#2f805a;grid-column:2/-1;justify-self:end}.voiceoverImportError{color:var(--danger);grid-column:2/-1;font-size:11px;font-weight:700}.voiceoverUnassigned{color:var(--danger);background:var(--danger);border-radius:8px;align-items:flex-start;padding:10px 12px}@supports (color:color-mix(in lab, red, red)){.voiceoverUnassigned{background:color-mix(in srgb, var(--danger) 7%, var(--surface))}}.voiceoverPaneActions,.voiceoverRecordControls{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.voiceoverPaneActions button{align-items:center;gap:7px;display:inline-flex}.voiceoverRecordingControls{flex-wrap:nowrap;grid-template-columns:minmax(0,1fr) auto;align-items:end;display:grid}.voiceoverMicrophonePicker{gap:5px;min-width:0;display:grid}.voiceoverMicrophonePicker select{width:100%;min-height:42px}.voiceoverRecordingControls .voiceoverRecordButton{white-space:nowrap;justify-content:center;min-height:42px}.voiceoverRecordingTake{align-items:center;min-height:88px;display:flex}.voiceoverRecordingTake.recording{border-color:#bd4250}@supports (color:color-mix(in lab, red, red)){.voiceoverRecordingTake.recording{border-color:color-mix(in srgb, #bd4250 55%, var(--line))}}.voiceoverRecordingTake.recording{box-shadow:inset 0 0 0 3px #bd425012}.voiceoverRecordingStatus{justify-content:space-between;align-items:center;gap:16px;width:100%;display:flex}.voiceoverRecordTimer{font-variant-numeric:tabular-nums;letter-spacing:.04em;font-size:26px;font-weight:700}.voiceoverRecordButton,.voiceoverRecordControls button{align-items:center;gap:7px;display:inline-flex}.voiceoverRecordedPreview{gap:10px;display:grid}.voiceoverRecordedActions{border-top:1px solid var(--line);justify-content:flex-end;align-items:center;gap:8px;padding-top:10px;display:flex}.voiceoverRecordedActions button{align-items:center;gap:7px;display:inline-flex}.voiceoverActionError{color:var(--danger);background:var(--danger);margin-top:12px}@supports (color:color-mix(in lab, red, red)){.voiceoverActionError{background:color-mix(in srgb, var(--danger) 8%, var(--surface))}}.voiceoverActionError{font-size:13px;font-weight:650}@media (max-width:760px){.voiceoverWorkspace>header,.voiceoverModalToolbar{flex-direction:column;align-items:stretch}.voiceoverWorkspaceActions{justify-content:stretch}.voiceoverWorkspaceActions button{flex:1}.voiceoverGenerationControls,.voiceoverRecordingControls{grid-template-columns:1fr}.voiceoverRecordingStatus{flex-direction:column;align-items:stretch}.voiceoverModalLayout{grid-template-columns:1fr}.voiceoverSegmentList{border-right:0;border-bottom:1px solid var(--line);max-height:142px;display:flex}.voiceoverSegmentList>button{min-width:180px}.voiceoverSegmentList>button+button{margin:0 0 0 4px}.voiceoverImportRow{grid-template-columns:1fr}}.dropzone,.scriptPanel,.voiceoverPanel,.commentsBox,.synthesisPanel{border:1px solid var(--line);background:var(--surface-tint);border-radius:8px;min-width:0;min-height:138px}.scriptPanel,.commentsBox,.fileList{grid-column:span 2}.scriptPanel{border-color:var(--line);background:var(--surface-strong);box-shadow:var(--shadow-soft);gap:12px;padding:14px;display:grid}.scriptPanel header{justify-content:space-between;align-items:center;gap:14px;display:flex}.scriptPanelActions{flex-wrap:wrap;flex:none;justify-content:flex-end;align-items:center;gap:8px;display:flex}.clearScriptButton{white-space:nowrap;min-height:34px;padding:0 12px;font-size:13px;font-weight:700}.scriptPanel h3,.voiceoverPanel h3,.fileList h3{font-size:var(--font-size-ui);font-weight:var(--font-weight-semibold);margin-bottom:0;line-height:1.25}.scriptPanel small,.voiceoverPanel header small,.fileList header small{color:var(--muted);font-size:var(--font-size-caption);margin-top:4px;font-weight:600;display:block}.dropzone{text-align:center;align-content:center;justify-items:center;padding:22px;display:grid;position:relative}.compactDropzone{border-color:rgba(var(--accent-rgb), .34);background:var(--accent-soft);width:176px;min-width:176px;min-height:34px;color:var(--accent-dark);font-size:var(--font-size-ui);white-space:nowrap;justify-content:center;align-items:center;gap:8px;padding:0 12px;font-weight:700;line-height:1;display:inline-flex}.compactDropzone:hover{border-color:var(--accent);background:var(--accent-quiet);transform:translateY(-1px);box-shadow:0 8px 18px #39363a12}.dropzone input{display:none}.dropzone.disabled{cursor:not-allowed;opacity:.48}.dropzone strong{margin-bottom:5px;display:block}.downloadCard b{margin:0;line-height:1.25;display:block}.compactDropzone strong{min-width:0;color:inherit;font-size:var(--font-size-ui);margin-bottom:0;font-weight:700;line-height:1}.dropzone small,.downloadCard small,.shotOption small{color:var(--muted)}.compactDropzone small,.compactDropzone .zoneIcon{display:none}.zoneIcon{background:var(--surface-strong);width:38px;height:38px;color:var(--accent);border-radius:8px;place-items:center;margin-bottom:10px;font-weight:700;display:grid}.commentsBox{background:var(--surface-strong);flex-direction:column;padding:12px;display:flex}.scriptPanel textarea,.commentsBox textarea{resize:vertical;background:0 0;border:0;outline:none;flex:1;width:100%;line-height:1.45;overflow:hidden}.scriptPanel textarea{min-height:58px;padding:0;transition:height .16s}.scriptTableFrame{min-width:0;margin:8px 12px 10px;position:relative}.scriptTableEmptyState{border:1px dashed rgba(var(--accent-rgb), .24);background:rgba(var(--accent-rgb), .025);border-radius:8px;place-items:center;min-height:66px;margin:4px 12px 8px;display:grid;position:relative}.scriptBlockAppendControl.empty{width:auto;height:auto;position:absolute;inset:0}.scriptTable{border:1px solid var(--line);background:var(--surface);box-shadow:none;border-radius:8px;gap:0;display:grid;overflow:visible}.scriptTableRow{grid-template-columns:210px minmax(0,1fr);display:grid}.scriptTableTypeCell,.scriptTableTextArea{padding:10px 12px}.scriptTableRow+.scriptTableRow{border-top:2px solid rgba(var(--accent-rgb), .24)}.scriptTableRow{background:var(--surface);position:relative}.scriptTableRow.voiceover .scriptTableTypeCell,.scriptTableRow.voiceover .scriptTableTextGroup{background:var(--panel-2)}@supports (color:color-mix(in lab, red, red)){.scriptTableRow.voiceover .scriptTableTypeCell,.scriptTableRow.voiceover .scriptTableTextGroup{background:color-mix(in srgb, var(--panel-2) 42%, var(--surface))}}.scriptTableRow:first-child{border-top-left-radius:7px;border-top-right-radius:7px}.scriptTableRow:last-child{border-bottom-right-radius:7px;border-bottom-left-radius:7px}.scriptTableRow:first-child .scriptTableTypeCell{border-top-left-radius:7px}.scriptTableRow:first-child .scriptTableTextGroup{border-top-right-radius:7px}.scriptTableRow:last-child .scriptTableTypeCell{border-bottom-left-radius:7px}.scriptTableRow:last-child .scriptTableTextGroup{border-bottom-right-radius:7px}.scriptTableRow:hover{background:var(--accent-soft)}.scriptTableRow.scriptBlockDragging{opacity:.48}.scriptTableRow.scriptBlockDropBefore:before,.scriptTableRow.scriptBlockDropAfter:after{z-index:6;background:var(--accent);height:3px;box-shadow:0 0 0 2px var(--surface);content:"";pointer-events:none;border-radius:999px;position:absolute;left:7px;right:7px}.scriptTableRow.scriptBlockDropBefore:before{top:-2px}.scriptTableRow.scriptBlockDropAfter:after{bottom:-2px}.scriptBlockAppendControl{z-index:3;width:24px;height:24px;position:absolute;left:0}.scriptBlockAppendControl.after{bottom:0;transform:translate(-50%,50%)}.scriptBlockAppendControl.open{z-index:50}.scriptBlockAppendTrigger{border:1px solid rgba(var(--accent-rgb), .28);background:var(--surface);width:24px;height:24px;color:var(--accent-dark);cursor:pointer;border-radius:50%;outline:none;place-items:center;padding:0;transition:background .16s,border-color .16s,box-shadow .16s,color .16s;display:grid;box-shadow:0 1px 4px #39363a1f}.scriptBlockAppendControl:hover .scriptBlockAppendTrigger,.scriptBlockAppendControl.open .scriptBlockAppendTrigger{border-color:rgba(var(--accent-rgb), .48);background:var(--accent-soft);color:var(--accent)}.scriptBlockAppendTrigger:focus-visible{border-color:rgba(var(--accent-rgb), .48);box-shadow:0 0 0 2px rgba(var(--accent-rgb), .14), 0 2px 6px #39363a24}.scriptBlockAppendTrigger.emptyStateTrigger{width:100%;height:100%;box-shadow:none;background:0 0;border:0;border-radius:7px}.scriptBlockAppendTrigger.emptyStateTrigger:focus-visible{box-shadow:inset 0 0 0 2px rgba(var(--accent-rgb), .22)}.scriptBlockAppendIcon{pointer-events:none}.scriptBlockInsertMenu{z-index:4;border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:2px;width:164px;padding:6px;display:grid;position:absolute;left:calc(50% + 8px);box-shadow:0 12px 28px #39363a29}.scriptBlockInsertMenu[hidden]{display:none}.scriptBlockAppendControl.empty .scriptBlockInsertMenu{top:calc(100% + 6px)}.scriptBlockAppendControl.after .scriptBlockInsertMenu{bottom:calc(100% + 6px)}.scriptBlockInsertMenuHeading{color:var(--muted);font-size:var(--font-size-caption);font-weight:var(--font-weight-semibold);padding:5px 10px 4px}.scriptBlockInsertMenu button{width:100%;min-height:32px;color:var(--text);font-size:var(--font-size-caption);font-weight:var(--font-weight-semibold);text-align:left;background:0 0;border:0;border-radius:6px;grid-template-columns:16px minmax(0,1fr);align-items:center;gap:8px;padding:7px 10px;line-height:1.3;display:grid}.scriptBlockInsertMenu button:hover,.scriptBlockInsertMenu button:focus-visible{background:var(--accent-soft);color:var(--accent-dark);outline:none}.scriptTableTypeCell{border-right:1px solid var(--line);background:var(--surface);flex-direction:column;gap:6px;min-width:0;display:flex;position:relative}.scriptTableTypeCell b{color:var(--accent-dark);font-size:12px;font-weight:700}.scriptBlockHeader{grid-template-columns:24px minmax(0,1fr);align-items:start;gap:3px;min-width:0;display:grid}.scriptBlockDragHandle{width:24px;height:24px;color:var(--muted);cursor:grab;opacity:.66;background:0 0;border:0;border-radius:5px;outline:none;place-items:center;padding:0;transition:background .16s,color .16s,opacity .16s;display:grid}.scriptBlockDragHandle:hover{background:var(--accent-soft);color:var(--accent-dark);opacity:1}.scriptBlockDragHandle:focus-visible{background:var(--accent-soft);color:var(--accent-dark);outline:2px solid rgba(var(--accent-rgb), .36);outline-offset:1px;opacity:1}.scriptBlockDragHandle:active{cursor:grabbing}.scriptBlockDragHandle:disabled{cursor:default;opacity:.28}.scriptBlockMenuAnchor{width:100%;min-width:0;position:relative}.scriptBlockMenuTrigger{width:100%;min-width:0;color:var(--accent-dark);font:inherit;text-align:left;background:0 0;border:0;border-radius:5px;grid-template-columns:minmax(0,1fr) 20px;align-items:center;gap:6px;padding:4px 5px 4px 0;transition:background .16s,color .16s;display:grid}.scriptBlockMenuTrigger:hover,.scriptBlockMenuTrigger[aria-expanded=true]{background:var(--accent-soft);color:var(--accent)}.scriptBlockMenuTrigger:focus-visible{outline:2px solid rgba(var(--accent-rgb), .36);outline-offset:2px}.scriptBlockMenuTrigger svg{opacity:.58;justify-self:end}.scriptBlockMenuTrigger:hover svg,.scriptBlockMenuTrigger[aria-expanded=true] svg{opacity:1}.scriptBlockCompactLabel{cursor:pointer;text-overflow:ellipsis;white-space:nowrap;width:fit-content;max-width:100%;line-height:1.25;overflow:hidden}.scriptBlockContextMenu{z-index:40;border:1px solid rgba(var(--accent-rgb), .18);background:var(--surface);border-radius:8px;width:226px;padding:6px;display:grid;position:absolute;top:calc(100% + 5px);left:-5px;box-shadow:0 18px 42px #191e2c29,0 3px 10px #191e2c14}.scriptBlockContextMenu .scriptBlockContextHeading{color:var(--muted);letter-spacing:.045em;text-transform:uppercase;padding:5px 8px 6px;font-size:10px;font-weight:700}.scriptBlockContextMenu button{width:100%;color:var(--text);font:inherit;text-align:left;white-space:nowrap;background:0 0;border:0;border-radius:5px;grid-template-columns:16px minmax(0,1fr);align-items:center;gap:8px;padding:7px 8px;font-size:12px;font-weight:600;display:grid}.scriptBlockContextMenu button:hover:not(:disabled),.scriptBlockContextMenu button:focus-visible{background:var(--accent-soft);color:var(--accent-dark);outline:none}.scriptBlockContextMenu button[aria-checked=true]{background:var(--accent-soft);color:var(--accent-dark)}.scriptBlockContextMenu button:disabled{cursor:default;opacity:.35}.scriptBlockContextMenu button.danger{color:var(--danger)}.scriptBlockContextMenu button.danger:hover,.scriptBlockContextMenu button.danger:focus-visible{color:var(--danger);background:#d44a4a17}.scriptBlockContextDivider{background:var(--line);height:1px;margin:5px 4px}.scriptTableTypeCell span{overflow-wrap:anywhere;min-width:0;color:var(--text);font-size:12px;font-weight:600}.scriptSourceControl{background:var(--panel-2);width:100%;min-width:0;min-height:34px;color:var(--muted);border-radius:6px;grid-template-columns:minmax(0,1fr);align-items:center;transition:background .16s,color .16s;display:grid;overflow:hidden}.scriptTableRow.voiceover .scriptSourceControl{margin-top:auto}.scriptSourceControl.selected{background:var(--accent-soft);color:var(--accent-dark);grid-template-columns:minmax(0,1fr);position:relative}.scriptSourceControl.selected .scriptSourceTrigger{padding-right:28px}.scriptSourceTrigger{width:100%;min-width:0;min-height:34px;color:inherit;font:inherit;text-align:left;background:0 0;border:0;border-radius:6px;grid-template-columns:14px minmax(0,1fr);align-items:center;gap:7px;padding:6px 8px;transition:background .16s,color .16s;display:grid}.scriptSourceControl:hover .scriptSourceTrigger:not(:disabled){background:rgba(var(--accent-rgb), .13);color:var(--accent-dark)}.scriptSourceTrigger:focus-visible{outline:2px solid rgba(var(--accent-rgb), .36);outline-offset:2px}.scriptSourceTrigger span{width:100%;min-width:0;color:inherit;font-size:var(--font-size-ui);overflow-wrap:normal;text-overflow:ellipsis;white-space:nowrap;font-weight:700;line-height:1.15;display:block;overflow:clip}.scriptSourceClear{z-index:2;width:20px;min-width:20px;height:20px;color:var(--muted);box-shadow:none;background:0 0;border:0;border-radius:4px;place-items:center;padding:0;transition:color .16s;display:grid;position:absolute;top:50%;right:3px;transform:translateY(-50%)}.scriptSourceClear:hover{color:var(--danger);background:0 0}.scriptSourceClear:focus-visible{outline:2px solid rgba(var(--accent-rgb), .36);outline-offset:0}.scriptSpeechFragmentControls{gap:7px;width:100%;display:grid}.scriptSharedSpeechControls{gap:5px;width:100%;display:grid}.scriptSpeechFragmentControl{grid-template-columns:18px minmax(0,1fr);align-items:center;gap:2px 4px;min-width:0;display:grid}.scriptSpeechFragmentControl.single{grid-template-columns:minmax(0,1fr)}.scriptSpeechFragmentControl.single .scriptSpeechFragmentNumber{display:none}.scriptSpeechFragmentControl+.scriptSpeechFragmentControl{border-top:1px solid rgba(var(--accent-rgb), .12);padding-top:7px}.scriptSpeechFragmentNumber{background:var(--accent-soft);width:16px;height:16px;color:var(--accent-dark);border-radius:4px;place-items:center;font-size:9px;font-weight:700;display:inline-grid}.scriptSpeechFragmentNumber.empty{visibility:hidden}.scriptSourcePickerHint{color:var(--muted);margin:-4px 0 14px;font-size:13px;font-weight:700;line-height:1.45}.modal.scriptSourcePickerModal,.modal.liveSourcePickerModal,.modal.mediaLibraryModal{width:min(1160px,100%)}.liveBlockSummary{min-height:58px;color:var(--muted);text-align:left;background:0 0;border:0;border-radius:0;gap:4px;padding:11px 24px 11px 26px;display:grid}.liveBlockSummary:hover,.liveBlockSummary.configured{background:var(--ok-soft)}@supports (color:color-mix(in lab, red, red)){.liveBlockSummary:hover,.liveBlockSummary.configured{background:color-mix(in srgb, var(--ok-soft) 74%, transparent)}}.liveBlockSummary b{color:var(--ink);font-size:13px}.liveBlockSummary span{font-size:11px}.livePickerTrackTabs{gap:7px;margin-bottom:8px}.livePickerPartsList b{white-space:nowrap}.livePickerStepNumber{background:var(--surface);width:24px;height:24px;color:var(--accent-dark);border-radius:999px;place-items:center;font-size:10px;font-weight:700;display:grid}.livePickerStepNumber.complete{background:var(--ok-soft);color:var(--ok)}.livePickerStepText{gap:1px;min-width:0;display:grid}.livePickerStepText b{color:var(--ink);font-size:11px}.livePickerStepText small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;font-weight:600;overflow:hidden}.livePickerFileTabs{margin-top:0}button.scriptSourceTab.livePickerCurrentFile{text-align:left;grid-template-columns:minmax(0,1fr);gap:1px;min-width:min(420px,100%);max-width:520px;padding:6px 10px;display:grid}.livePickerCurrentFile span,.livePickerCurrentFile small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.livePickerCurrentFile span{font-size:10px;font-weight:700}.livePickerCurrentFile small{color:var(--muted);font-size:9px;font-weight:600}.scriptSourceWorkspace.livePickerWorkspace{grid-template-columns:minmax(0,1fr) minmax(320px,36%);gap:10px}.livePickerMain{grid-template-rows:auto}.livePickerParts{overflow-y:auto}.livePickerPartsSection{border-bottom:1px solid var(--line);flex-direction:column;flex:none;min-height:0;display:flex}.livePickerPartsSection.livePickerActiveStep{box-shadow:inset 3px 0 0 var(--accent)}.livePickerPictureTrack.livePickerActiveStep{box-shadow:inset 3px 0 0 var(--ok)}.livePickerPartsSection>header{border-bottom:1px solid var(--line);background:var(--surface);justify-content:space-between;align-items:center;gap:12px;min-height:52px;padding:7px 10px;display:flex}.livePickerPartsSectionSelect{min-width:0;color:var(--muted);text-align:left;background:0 0;border:0;align-items:center;gap:8px;padding:2px 0;display:flex}.livePickerPartsSectionSelect>span{gap:2px;min-width:0;display:grid}.livePickerPartsSectionSelect:hover b,.livePickerActiveStep .livePickerPartsSectionSelect b{color:var(--accent-dark)}.livePickerAudioTrack .livePickerPartsSectionSelect>svg{color:var(--accent)}.livePickerPictureTrack .livePickerPartsSectionSelect>svg,.livePickerPictureTrack.livePickerActiveStep .livePickerPartsSectionSelect b{color:var(--ok)}.livePickerPartsSection>header b{color:var(--ink);font-size:11px}.livePickerPartsSection>header small{color:var(--muted);font-size:9px;font-weight:600;line-height:1.35}.livePickerPartsSection>header strong{color:var(--accent-dark);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:10px}.scriptSourcePartsList.livePickerPartsList article{border:1px solid #0000;grid-template-columns:minmax(0,1fr) 24px;align-items:center;transition:border-color .14s,background .14s}.livePickerPartsList article:has(.scriptSourcePartOrder){grid-template-columns:23px minmax(0,1fr) 24px}.livePickerPartsList article:hover,.livePickerPartsList article.active{border-color:rgba(var(--accent-rgb), .28);background:var(--accent-soft)}.livePickerFragmentOpen{min-width:0;color:inherit;font:inherit;text-align:left;background:0 0;border:0;gap:2px;padding:0;display:grid}.livePickerFragmentOpen:hover b,.livePickerPartsList article.active .livePickerFragmentOpen b{color:var(--accent-dark)}.livePickerPartsEmpty{min-height:82px;font:inherit;background:0 0;border:0;flex:none;padding:12px 16px}.livePickerPartsEmpty:hover{background:var(--accent-soft)}.livePickerPartsEmpty span{max-width:240px;color:var(--muted);font-size:9px;font-weight:600;line-height:1.4}.livePickerPlacement{border-bottom:1px solid var(--line);background:var(--surface);flex:none;gap:9px;padding:10px;display:grid}.livePickerPlacement.error{background:var(--danger-soft)}.livePickerPlacementMessage{gap:2px;display:grid}.livePickerPlacementMessage.complete{color:var(--ok);grid-template-columns:18px minmax(0,1fr);align-items:center}.livePickerPlacementMessage b{color:var(--ink);font-size:10px}.livePickerPlacementMessage small,.livePickerPlacementResult{color:var(--muted);font-size:9px;font-weight:600;line-height:1.35}.livePickerPlacementOptions{background:var(--panel-2);border-radius:7px;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:3px;display:grid}.livePickerPlacementOptions button{min-height:30px;color:var(--muted);font:inherit;background:0 0;border:1px solid #0000;border-radius:5px;padding:4px 6px;font-size:9px;font-weight:700}.livePickerPlacementOptions button:hover,.livePickerPlacementOptions button.active{border-color:rgba(var(--accent-rgb), .24);background:var(--surface);color:var(--accent-dark);box-shadow:0 2px 6px #252d3a0f}@media (max-width:820px){.scriptSourceWorkspace.livePickerWorkspace{grid-template-columns:1fr}}.modal.mediaLibraryListModal{flex-direction:column;height:min(820px,100vh - 40px);display:flex;overflow:hidden}.modal.mediaLibraryPreviewModal{width:min(820px,100%)}.mediaLibraryListModal>header{border-bottom:1px solid var(--line);margin-bottom:0;padding-bottom:14px}.mediaLibraryHeaderButton{white-space:nowrap;justify-content:center;align-items:center;gap:7px;min-height:38px;padding-inline:14px;display:inline-flex}.mediaLibraryHeaderTools{border:1px solid var(--line);background:var(--panel-2);border-radius:9px;align-items:center;gap:8px;min-height:38px;padding:3px 4px 3px 10px;display:inline-flex}.mediaLibraryToolLabel,.mediaLibraryViewLabel{color:var(--muted);white-space:nowrap;font-size:12px;font-weight:700}.mediaLibraryViewLabel{border-left:1px solid var(--line);margin-left:2px;padding-left:10px}.mediaLibrarySortSwitch,.mediaLibraryViewSwitch{align-items:center;gap:2px;padding:0;display:inline-flex}.mediaLibrarySortSwitch button,.mediaLibraryViewSwitch button{width:30px;height:30px;color:var(--muted);box-shadow:none;background:0 0;border:0;border-radius:6px;place-items:center;padding:0;display:grid}.mediaLibrarySortSwitch button:hover,.mediaLibraryViewSwitch button:hover{color:var(--ink)}.mediaLibrarySortSwitch button[aria-pressed=true],.mediaLibraryViewSwitch button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent-dark);box-shadow:inset 0 0 0 1px rgba(var(--accent-rgb), .18)}.mediaLibrarySortSwitch button:focus-visible,.mediaLibraryViewSwitch button:focus-visible{outline:2px solid rgba(var(--accent-rgb), .48);outline-offset:1px}.mediaLibraryDeleteButton{margin-left:6px}.mediaLibraryAddButton{cursor:pointer;position:relative}.mediaLibraryAddButton input{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}.mediaLibraryAddButton:has(input:focus-visible){outline:2px solid rgba(var(--accent-rgb), .48);outline-offset:2px}.mediaLibraryAddButton.disabled{cursor:not-allowed;opacity:.48}.mediaLibraryScrollArea{overscroll-behavior:contain;scrollbar-gutter:stable;flex:auto;min-height:0;padding:14px 6px 4px 0;overflow-y:auto}.scriptSourcePickerGrid{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;display:grid}.mediaLibraryGrid{align-items:start}.mediaLibraryGrid.compact{grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:6px}.mediaLibraryGrid.list{grid-template-columns:minmax(0,1fr);gap:5px}.mediaLibraryGroups{gap:20px;display:grid}.mediaLibraryGroup{gap:9px;display:grid}.mediaLibraryGroupTitle{color:var(--ink);grid-column:1/-1;margin:0;font-size:13px;font-weight:700}.mediaLibraryCard .scriptSourceCardText{justify-content:center;min-height:34px;padding:8px 10px}.mediaLibraryCardTitleRow{justify-content:space-between;align-items:baseline;gap:8px;min-width:0;display:flex}.mediaLibraryCardTitleRow b{flex:auto;min-width:0}.mediaLibraryCardDuration{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none;font-size:11px;font-weight:700}.mediaLibraryCardFacts{flex:none;align-items:baseline;gap:10px;display:inline-flex}.mediaLibraryCardSize{color:var(--muted);white-space:nowrap;font-size:11px;font-weight:700;display:none}.mediaLibraryGrid.compact .mediaLibraryCard .scriptSourceCardText{min-height:30px;padding:6px 7px}.mediaLibraryGrid.compact .mediaLibraryCardTitleRow b{font-size:10px}.mediaLibraryGrid.compact .mediaLibraryCardDuration{display:none}.mediaLibraryGrid.compact .mediaLibraryRemoveButton{width:20px;height:20px;top:4px;right:4px}.mediaLibraryGrid.list .mediaLibraryCard{min-height:42px}.mediaLibraryGrid.list .scriptSourceCardOpen{grid-template-columns:60px minmax(0,1fr);align-items:center;padding-right:40px}.mediaLibraryGrid.list .scriptSourceCardPreview{aspect-ratio:auto;width:60px;height:34px}.mediaLibraryGrid.list .mediaLibraryCard .scriptSourceCardText{justify-content:stretch;min-height:0;padding:5px 10px}.mediaLibraryGrid.list .mediaLibraryCardTitleRow{justify-content:flex-start}.mediaLibraryGrid.list .mediaLibraryCardTitleRow b{flex:0 auto}.mediaLibraryGrid.list .mediaLibraryCardSize{display:inline}.mediaLibraryGrid.list .mediaLibraryRemoveButton{top:50%;transform:translateY(-50%)}.mediaLibraryGrid.list .mediaLibraryRemoveButton:hover:not(:disabled){transform:translateY(-50%)scale(1.05)}.mediaLibraryKindBadge{z-index:1;color:#fff;background:#0d1118c2;border-radius:999px;padding:4px 7px;font-size:10px;font-weight:700;line-height:1;position:absolute;bottom:7px;left:7px}.mediaLibraryRemoveButton{z-index:2;color:#fff;background:#0d1118b8;border:0;border-radius:50%;place-items:center;width:24px;height:24px;padding:0;display:grid;position:absolute;top:6px;right:6px;box-shadow:0 4px 12px #0d111829}.mediaLibraryRemoveButton:hover:not(:disabled){background:var(--danger);transform:scale(1.05)}.mediaLibraryRemoveButton:focus-visible{outline-offset:2px;outline:2px solid #fff}.mediaLibraryPreview{gap:12px;display:grid}.mediaLibraryPreview>.fileMediaPlayer{background:#10131a;border-radius:7px;margin-inline:auto;overflow:hidden}.mediaLibraryPreview .fileMediaPlayerSurface{border-radius:7px 7px 0 0;overflow:hidden}.mediaLibraryPreview .playerBar{z-index:2;background:linear-gradient(#0a0e1429,#0a0e14d1);border-top-color:#ffffff29;grid-template-columns:80px 44px minmax(0,1fr) 80px;grid-template-areas:"current play timeline duration";gap:10px;padding:8px 10px;position:absolute;bottom:0;left:0;right:0}.mediaLibraryPreview .fileMediaPlayer.withoutPlayButton .playerBar{grid-template-columns:80px minmax(0,1fr) 80px;grid-template-areas:"current timeline duration"}.mediaLibraryPreview .playerBar time{color:#ffffffe6;font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}.mediaLibraryPreview .playerBar time:first-child{text-align:left}.mediaPreviewToolBar{border-radius:0 0 7px 7px}.mediaLibraryPreviewModal .fileMediaVideoFrame{aspect-ratio:16/9}.mediaLibraryPreviewModal .fileMediaPlayer video{width:100%;height:auto;max-height:none}.mediaLibraryImagePreview{margin-bottom:0}@media (max-width:980px){.mediaLibraryListModal>header{flex-wrap:wrap;align-items:flex-start}.mediaLibraryListModal>header .modalHeaderActions{flex-wrap:wrap;flex:100%;justify-content:flex-start;margin-left:0}.mediaLibraryListModal>header .primary.mediaLibraryHeaderButton{margin-left:auto}}.scriptSourceCard{background:var(--panel-2);border:0;border-radius:8px;min-width:0;transition:background .16s,box-shadow .16s,transform .16s;display:grid;position:relative;overflow:hidden}.scriptSourceCardOpen{min-width:0;color:var(--ink);text-align:left;background:0 0;border:0;padding:0;display:grid}.scriptSourceCard:hover{background:var(--accent-soft);transform:translateY(-1px);box-shadow:0 8px 18px #39363a14}.scriptSourceCardOpen:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.scriptSourceCard.selected{background:var(--accent-soft);box-shadow:inset 0 0 0 2px rgba(var(--accent-rgb), .48)}.scriptSourceCardPreview{aspect-ratio:16/9;background:var(--panel);display:block;position:relative;overflow:hidden}.scriptSourceCardPreview img{object-fit:cover;width:100%;height:100%;transition:transform .18s;display:block}.scriptSourceCard:hover .scriptSourceCardPreview img{transform:scale(1.025)}.scriptSourceSelectedMark{z-index:1;background:var(--accent);color:#fff;width:22px;height:22px;box-shadow:0 4px 12px rgba(var(--accent-rgb), .24);border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:6px;right:6px}.scriptSourceSelectedMark:hover{background:var(--danger);transform:scale(1.06)}.scriptSourceCardText{gap:3px;min-width:0;padding:10px;display:grid}.scriptSourceCardText b{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:700;line-height:1.2;overflow:hidden}.scriptSourceCardText small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:600;overflow:hidden}.scriptSourcePickerEmpty{background:var(--panel-2);min-height:84px;color:var(--muted);border-radius:8px;align-items:center;gap:12px;padding:14px;display:flex}.scriptSourcePickerEmpty div{gap:4px;display:grid}.scriptSourcePickerEmpty b{color:var(--ink);font-size:14px}.scriptSourcePickerEmpty span{font-size:13px;font-weight:700}.scriptSourcePreview{gap:12px;display:grid}.scriptSourcePreview .fileMediaPlayer{background:#10131a;border-radius:8px;width:100%;position:relative;overflow:hidden}.scriptSourceMarkers{grid-template-columns:minmax(160px,1fr) minmax(140px,.7fr) minmax(160px,1fr);align-items:stretch;gap:8px;display:grid}.scriptSourceMarker,.scriptSourceMarkerSummary{background:var(--panel-2);text-align:left;border:0;border-radius:8px;align-content:center;gap:4px;min-height:58px;padding:9px 12px;display:grid}.scriptSourceMarker{color:var(--accent-dark)}.scriptSourceMarker:hover:not(:disabled){background:var(--accent-soft)}.scriptSourceMarker:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.scriptSourceMarker span,.scriptSourceMarkerSummary span{color:var(--muted);text-transform:uppercase;font-size:11px;font-weight:700}.scriptSourceMarker b,.scriptSourceMarkerSummary b{color:inherit;font-variant-numeric:tabular-nums;font-size:14px}.scriptSourceMarker.in{box-shadow:inset 3px 0 0 var(--accent)}.scriptSourceMarker.out{box-shadow:inset -3px 0 0 var(--accent);text-align:right}.scriptSourceMarkerSummary{color:var(--ink);text-align:center;justify-items:center}.scriptSourcePreviewHint{color:var(--muted);text-align:center;margin:-2px 0 0;font-size:12px;font-weight:600}.scriptSourceRecognitionBar{border:1px solid rgba(var(--accent-rgb), .14);background:rgba(var(--accent-rgb), .045);border-radius:8px;justify-content:space-between;align-items:center;gap:16px;margin:-5px 0 12px;padding:9px 10px 9px 12px;display:flex}.scriptSourceRecognitionBar>div,.scriptSourceRecognitionBar>div>span,.scriptSourceRecognitionError,.scriptSourceRecognitionError>span{align-items:center;gap:8px;min-width:0;display:flex}.scriptSourceRecognitionBar>div>span,.scriptSourceRecognitionError>span{flex-direction:column;align-items:flex-start;gap:1px}.scriptSourceRecognitionBar svg{color:var(--accent-dark);flex:none}.scriptSourceRecognitionBar b,.scriptSourceRecognitionError b{color:var(--ink);font-size:12px;line-height:1.25}.scriptSourceRecognitionBar small,.scriptSourceRecognitionError small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:650;line-height:1.25;overflow:hidden}.scriptSourceRecognizeButton{flex:none;min-height:32px;padding:0 11px;font-size:12px}.scriptSourceRecognizeButton .spin{animation:.9s linear infinite speechTranscriptionSpin}.scriptSourceRecognitionProgress{border:1px solid var(--line);background:var(--panel-2);min-height:35px;color:var(--muted);border-radius:7px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;margin:-4px 0 12px;padding:8px 10px;font-size:11px;display:grid;position:relative;overflow:hidden}.scriptSourceRecognitionProgress>span{background:var(--accent);height:2px;transition:width .25s;position:absolute;inset:auto auto 0 0}.scriptSourceRecognitionProgress b{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.scriptSourceRecognitionProgress small{font-variant-numeric:tabular-nums}.scriptSourceRecognitionProgress button,.scriptSourceTranscriptHead button{color:var(--accent-dark);font:inherit;background:0 0;border:0;padding:3px 6px;font-weight:700}.scriptSourceRecognitionError{color:var(--danger);background:#b945450f;border:1px solid #b9454538;border-radius:7px;margin:-4px 0 12px;padding:9px 11px}.scriptSourceRecognitionError small{white-space:normal}.scriptSourceWorkspace{gap:12px;display:grid}.scriptSourceWorkspace.withTranscript{grid-template-columns:minmax(0,1.18fr) minmax(300px,.82fr);align-items:start}.scriptSourceWorkspace.withTranscript .scriptSourcePreview .fileMediaPlayer{border-radius:7px}.scriptSourceWorkspace.withTranscript .scriptSourceMarkers{grid-template-columns:1fr .72fr 1fr;gap:6px}.scriptSourceWorkspace.withTranscript .scriptSourceMarker,.scriptSourceWorkspace.withTranscript .scriptSourceMarkerSummary{min-height:50px;padding:7px 9px}.scriptSourceAddRangeButton{justify-self:end;min-height:31px;padding:0 10px;font-size:11px}.scriptSourceTranscript{border:1px solid var(--line);background:var(--surface);border-radius:8px;flex-direction:column;min-height:0;max-height:min(470px,54vh);display:flex;overflow:hidden}.scriptSourceTranscriptHead{border-bottom:1px solid var(--line);background:var(--panel-2);flex:none;justify-content:space-between;align-items:center;gap:8px;min-height:51px;padding:9px 10px 8px 12px;display:flex}.scriptSourceTranscriptHead>span{gap:1px;min-width:0;display:grid}.scriptSourceTranscriptHead b{color:var(--ink);font-size:12px}.scriptSourceTranscriptHead small{color:var(--muted);font-size:10px;font-weight:650}.scriptSourceTranscriptList{scrollbar-gutter:stable;min-height:0;padding:5px;overflow-y:auto}.scriptSourceTranscriptList>button{width:100%;color:var(--ink);font:inherit;text-align:left;background:0 0;border:0;border-radius:5px;grid-template-columns:48px minmax(0,1fr) 18px;align-items:start;gap:7px;padding:7px;display:grid}.scriptSourceTranscriptList>button:hover{background:var(--panel-2)}.scriptSourceTranscriptList>button.selected{background:rgba(var(--accent-rgb), .09);box-shadow:inset 2px 0 0 var(--accent)}.scriptSourceTranscriptList time{color:var(--muted);font-variant-numeric:tabular-nums;padding-top:1px;font-size:10px;font-weight:700}.scriptSourceTranscriptList span{font-size:12px;font-weight:620;line-height:1.42}.scriptSourceTranscriptList i{border:1px solid var(--line);color:#fff;border-radius:4px;place-items:center;width:17px;height:17px;font-style:normal;display:grid}.scriptSourceTranscriptList .selected i{border-color:var(--accent);background:var(--accent)}.scriptSourceManualFragments{gap:6px;margin-top:10px;padding-bottom:2px;display:flex;overflow-x:auto}.scriptSourceManualFragments>span{border:1px solid var(--line);background:var(--panel-2);border-radius:7px;flex:0 0 min(310px,82vw);grid-template-columns:minmax(0,1fr) auto;gap:1px 8px;padding:7px 7px 7px 9px;display:grid}.scriptSourceManualFragments b,.scriptSourceManualFragments small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.scriptSourceManualFragments b{color:var(--accent-dark);font-variant-numeric:tabular-nums;font-size:10px}.scriptSourceManualFragments small{color:var(--muted);font-size:10px;font-weight:650}.scriptSourceManualFragments button{color:var(--muted);background:0 0;border:0;border-radius:4px;grid-area:1/2/span 2;align-self:center;padding:4px}.scriptSourceTextCheck{background:#3085590e;border:1px solid #3085592e;border-radius:7px;gap:7px;margin-top:10px;padding:9px 11px;display:grid}.scriptSourceTextCheck.close,.scriptSourceTextCheck.different{background:#b56b000d;border-color:#b56b002e}.scriptSourceTextCheckStatus{color:#23764c;align-items:center;gap:6px;font-size:11px;display:flex}.scriptSourceTextCheck.close .scriptSourceTextCheckStatus,.scriptSourceTextCheck.different .scriptSourceTextCheckStatus{color:#9b620f}.scriptSourceTextCheckStatus small{color:var(--muted);margin-left:auto}.scriptSourceTextCheck>div{grid-template-columns:1fr 1fr;gap:7px;display:grid}.scriptSourceTextCheck p{color:var(--ink);background:#ffffff80;border-radius:5px;gap:2px;margin:0;padding:6px 8px;font-size:11px;line-height:1.35;display:grid}.scriptSourceTextCheck p b{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;font-size:9px}.scriptSourceTextCheck>small{color:var(--muted);font-size:10px;font-weight:650}.scriptSourcePreviewUnavailable{aspect-ratio:16/9;background:#10131a;border-radius:8px;place-items:center;min-height:0;display:grid;position:relative;overflow:hidden}.scriptSourcePreviewUnavailable img{object-fit:contain;width:100%;height:100%}.scriptSourcePreviewUnavailable span{color:#fff;background:#080a10b8;border-radius:6px;padding:6px 9px;font-size:12px;font-weight:600;position:absolute;bottom:12px}.scriptTableTextGroup{background:var(--surface);align-content:start;min-width:0;display:grid}.scriptBlockMetadataLine{border-bottom:1px solid rgba(var(--accent-rgb), .12);background:rgba(var(--accent-rgb), .045);grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;min-height:31px;padding:5px 24px 5px 26px;display:grid}.scriptBlockMetadataLine.comment{border-top:1px solid var(--ok);align-self:end;margin-top:auto}@supports (color:color-mix(in lab, red, red)){.scriptBlockMetadataLine.comment{border-top:1px solid color-mix(in srgb, var(--ok) 18%, transparent)}}.scriptBlockMetadataLine.comment{background:var(--ok-soft);border-bottom:0}.scriptBlockMetadataLine span{color:var(--muted);letter-spacing:.045em;text-transform:uppercase;flex:none;font-size:10px;font-weight:700}.scriptBlockMetadataInput{width:100%;min-width:0;height:20px;min-height:0;color:var(--text);font:inherit;background:0 0;border:0;border-radius:0;outline:none;padding:1px 2px;font-size:12px;font-weight:700;line-height:1.2}.scriptBlockMetadataInput::placeholder{color:var(--placeholder);opacity:1}.scriptBlockMetadataInput:focus{background:rgba(var(--accent-rgb), .07);box-shadow:0 0 0 2px rgba(var(--accent-rgb), .1);border-radius:3px}.scriptTableJoinedFragments{min-height:58px;color:var(--text);font:inherit;font-size:var(--font-size-ui);padding:12px 24px 12px 26px;line-height:1.45}.scriptTableJoinedPart,.scriptTableInlineFragment{display:inline}.scriptTableInlineFragment{white-space:pre-wrap;border-radius:3px;outline:none}.scriptTableInlineFragment:focus{background:rgba(var(--accent-rgb), .07);box-shadow:0 0 0 2px rgba(var(--accent-rgb), .1)}.scriptTableJoinMarker{color:var(--accent-dark);white-space:pre-wrap;font-weight:700}.scriptPanel textarea.scriptTableTextArea{resize:none;min-height:58px;color:var(--text);font:inherit;font-size:var(--font-size-ui);background:0 0;border:0;outline:none;padding:12px 24px 12px 26px;line-height:1.45;overflow:hidden}.scriptTableTextAreaHost{min-width:0}.textAssistantMenu{z-index:120;max-height:min(520px,100vh - 24px);position:fixed;overflow:auto;transform:translate(-50%)}.textAssistantMenuHeading button{color:inherit;font:inherit;cursor:pointer;background:0 0;border:0}.textAssistantPending{min-height:38px;color:var(--accent-dark);align-items:center;gap:9px;padding:7px 9px;font-size:12px;font-weight:700;display:flex}.textAssistantPending .spin{animation:.9s linear infinite speechTranscriptionSpin}.textAssistantIssues{gap:5px;display:grid}.textAssistantMenuHeading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;min-height:30px;padding:2px 5px 4px 8px;font-size:12px;display:flex}.textAssistantMenuHeading button{border-radius:5px;place-items:center;width:25px;height:25px;padding:0;display:grid}.textAssistantMenuHeading button:hover,.textAssistantMenuHeading button:focus-visible{background:var(--panel-2);outline:none}.textAssistantIssues ul{gap:0;margin:0;padding:0;list-style:none;display:grid}.textAssistantIssues li{border-bottom:1px solid var(--line);gap:2px;padding:7px 8px;display:grid}@supports (color:color-mix(in lab, red, red)){.textAssistantIssues li{border-bottom:1px solid color-mix(in srgb, var(--line) 70%, transparent)}}.textAssistantIssues li{font-size:11px;line-height:1.35}.textAssistantIssues li:last-child{border-bottom:0}.textAssistantIssues li b{color:var(--text);font-weight:var(--font-weight-bold)}.textAssistantIssues li span,.textAssistantIssues p{color:var(--muted)}.textAssistantIssues p{margin:0;padding:9px 8px;font-size:11px}.textAssistantError{background:var(--danger-soft);color:var(--danger);border-radius:6px;margin:5px 3px 2px;padding:7px 8px;font-size:11px;font-weight:650;line-height:1.35}.scriptPanel textarea.scriptTableTextArea:focus{box-shadow:none;background:0 0}.scriptTableRow.transcribing .scriptTableTextArea,.scriptTableRow.transcribing .scriptTableInlineFragment{color:var(--muted);opacity:.72}.scriptTableRow.transcribing .scriptTableTypeCell,.scriptTableRow.transcribing .scriptTableTextGroup{background:var(--accent-soft)}@supports (color:color-mix(in lab, red, red)){.scriptTableRow.transcribing .scriptTableTypeCell,.scriptTableRow.transcribing .scriptTableTextGroup{background:color-mix(in srgb, var(--accent-soft) 28%, var(--surface))}}.scriptTranscriptionStatus{color:var(--accent-dark)}.scriptTranscriptionStatus,.speechTranscriptionUndoNotice,.textAssistantUndoNotice{border-top:1px solid rgba(var(--accent-rgb), .16);background:rgba(var(--accent-rgb), .055);min-height:36px;color:var(--accent-dark);grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:7px 12px 7px 26px;font-size:11px;font-weight:700;display:grid}.scriptTranscriptionStatus .spin{animation:.9s linear infinite speechTranscriptionSpin}.scriptTranscriptionStatus strong{font-variant-numeric:tabular-nums}.scriptTranscriptionStatus button,.speechTranscriptionUndoNotice button,.textAssistantUndoNotice button{color:inherit;font:inherit;background:0 0;border:0;border-radius:5px;padding:4px 7px;font-size:11px;font-weight:700}.scriptTranscriptionStatus button:hover:not(:disabled),.speechTranscriptionUndoNotice button:hover:not(:disabled),.textAssistantUndoNotice button:hover:not(:disabled){background:rgba(var(--accent-rgb), .12)}.speechTranscriptionUndoNotice{border-top-color:var(--ok);grid-template-columns:minmax(0,1fr) auto}@supports (color:color-mix(in lab, red, red)){.speechTranscriptionUndoNotice{border-top-color:color-mix(in srgb, var(--ok) 22%, transparent)}}.speechTranscriptionUndoNotice{background:var(--ok-soft);color:var(--ok)}.textAssistantUndoNotice{border-top-color:var(--accent);grid-template-columns:minmax(0,1fr) auto}@supports (color:color-mix(in lab, red, red)){.textAssistantUndoNotice{border-top-color:color-mix(in srgb, var(--accent) 20%, transparent)}}.textAssistantUndoNotice{background:rgba(var(--accent-rgb), .055);color:var(--accent-dark)}.textAssistantUndoNotice button{align-items:center;gap:5px;display:inline-flex}@keyframes speechTranscriptionSpin{to{transform:rotate(360deg)}}.speechBlockList{gap:8px;padding-top:4px;display:grid}.speechBlockListHead{color:var(--muted);justify-content:space-between;align-items:center;gap:10px;display:flex}.speechBlockListHead b,.speechBlockListHead span{font-size:12px;font-weight:700}.speechBlockItem{border:1px solid var(--line);background:var(--surface-tint);border-radius:8px;grid-template-columns:1fr auto;align-items:center;gap:12px;padding:10px 12px;display:grid}.speechBlockItem div{gap:3px;min-width:0;display:grid}.speechBlockItem span{color:var(--accent-dark);font-size:11px;font-weight:700}.speechBlockItem b,.speechBlockItem small,.speechBlockItem p{overflow-wrap:anywhere;min-width:0}.speechBlockItem b{font-size:13px}.speechBlockItem p{color:var(--text);margin:2px 0 0;font-size:13px;line-height:1.35}.commentsBox textarea{min-height:260px}.commentsBox label{color:var(--muted);margin-bottom:8px;font-size:13px;font-weight:700}.voiceoverPanel{border-color:var(--line);background:var(--surface-tint);grid-column:span 2;align-content:start;gap:12px;width:100%;min-height:auto;padding:14px;display:grid}.voiceoverPanel header{justify-content:space-between;align-items:center;gap:12px;display:flex}.voiceoverControlBar{grid-template-columns:minmax(150px,.8fr) minmax(170px,.9fr) 38px minmax(170px,auto);align-items:end;gap:8px;display:grid}.voiceoverControlBar label{color:var(--muted);gap:6px;font-size:12px;font-weight:600;display:grid}.voiceoverControlBar select{border-color:var(--line);width:100%;min-height:38px;padding:0 36px 0 12px;font-size:13px;font-weight:600}.voicePreviewButton{border:1px solid var(--line);background:var(--surface-strong);width:38px;height:38px;color:var(--ink);border-radius:8px;place-items:center;font-size:13px;font-weight:700;display:grid}.voiceCreateButton{border-color:rgba(var(--accent-rgb), .34);background:var(--surface-strong);min-height:38px;color:var(--accent-dark);font-size:var(--font-size-ui);padding:0 18px}.voiceCreateButton:hover:not(:disabled){border-color:rgba(var(--accent-rgb), .42);background:var(--accent-soft);transform:translateY(-1px);box-shadow:0 8px 18px #39363a12}.voiceoverFiles{gap:10px;display:grid}.voiceoverSettingsGrid{grid-template-columns:minmax(160px,1fr) minmax(180px,1fr) 42px;align-items:end;gap:10px;display:grid}.voiceoverSettingsGrid label{color:var(--muted);gap:6px;font-size:12px;font-weight:600;display:grid}.voiceoverSettingsGrid select{border-color:var(--line);min-height:42px;padding:0 36px 0 12px;font-size:14px;font-weight:600}.modalFooterActions{justify-content:flex-end;gap:10px;margin-top:18px;display:flex}.voiceoverEmpty{border:1px dashed var(--line);background:var(--surface-tint);min-height:52px;color:var(--muted);border-radius:8px;padding:14px;font-size:13px;font-weight:700}.synthesisPanel{justify-content:center;align-items:center;gap:10px;padding:18px;display:flex}.fileList{border:1px solid var(--line);background:var(--surface-strong);box-shadow:var(--shadow-soft);border-radius:8px;padding:14px}.missingBlock{background:var(--panel);border-color:#d3423fb8;box-shadow:0 0 0 1px #d3423f14}.scriptPanel.dropTargetActive,.voiceoverPanel.dropTargetActive,.fileList.dropTargetActive{border-color:var(--accent);background:var(--accent-soft);box-shadow:var(--focus-ring)}.fileList header,.projectRow,.fileRow,.miniPreview,.rowActions{justify-content:space-between;align-items:center;gap:14px;display:flex}.fileList header{border-bottom:0;align-items:flex-start;margin-bottom:12px;padding-bottom:0}.emptyMediaList header{align-items:center;margin-bottom:0}.mediaLibrarySummary header{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;margin-bottom:0;display:grid}.mediaLibrarySummaryTitleButton{color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;padding:0}.mediaLibrarySummaryTitleButton:hover .workspaceSectionHeading{color:var(--accent-dark)}.mediaLibrarySummaryTitleButton:focus-visible{outline:2px solid rgba(var(--accent-rgb), .6);outline-offset:3px}.mediaLibrarySummaryTitleButton:disabled{cursor:default;opacity:.56}.mediaLibrarySummary .workspaceSectionTitleCopy{min-width:0}.mediaLibrarySummary .workspaceSectionHeading{font-size:var(--font-size-ui);font-weight:var(--font-weight-semibold);margin-bottom:0;line-height:1.25;display:block}.mediaLibrarySummary .workspaceSectionTitle small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mediaSummaryPreviewRail{scrollbar-width:none;align-items:center;gap:5px;width:100%;min-width:0;max-width:100%;padding-left:28px;display:flex;overflow-x:auto}.mediaSummaryPreviewRail::-webkit-scrollbar{display:none}.mediaLibrarySummary .fileListTools{grid-column:3}.mediaSummaryPreviewButton,.mediaSummaryOverflowButton{border:1px solid rgba(var(--accent-rgb), .18);background:var(--surface-strong);height:43px;box-shadow:none;border-radius:6px;flex:none;transition:border-color .16s,box-shadow .16s}.mediaSummaryPreviewButton{width:76px;padding:0;overflow:hidden}.mediaSummaryPreviewButton img{object-fit:cover;width:100%;height:100%;display:block}.mediaSummaryOverflowButton{min-width:43px;color:var(--accent-dark);place-items:center;padding:0 9px;font-size:14px;font-weight:700;display:grid}.mediaSummaryPreviewButton:hover:not(:disabled),.mediaSummaryOverflowButton:hover:not(:disabled){border-color:rgba(var(--accent-rgb), .44);box-shadow:0 4px 10px rgba(var(--accent-rgb), .1)}.mediaSummaryPreviewButton:focus-visible,.mediaSummaryOverflowButton:focus-visible{box-shadow:var(--focus-ring);outline:0}.mediaSummaryPreviewButton:disabled,.mediaSummaryOverflowButton:disabled{cursor:default;opacity:.56}.fileList header+.fileRow{margin-top:0}.fileListTools{flex:none;align-items:center;gap:10px;display:flex}@media (max-width:820px){.mediaLibrarySummary header{display:flex}.mediaLibrarySummary .fileListTools{grid-column:auto}.mediaSummaryPreviewRail{width:100%;padding-bottom:2px;overflow-x:auto}}.fileRow,.projectRow{border:1px solid var(--line);background:var(--surface-strong);box-shadow:none;border-radius:8px;justify-content:flex-start;margin-top:10px;padding:11px 12px;transition:border-color .16s,box-shadow .16s,transform .16s}.fileRow:hover,.projectRow:hover{border-color:rgba(var(--accent-rgb), .34);box-shadow:0 8px 18px #39363a0f}.projectRow{cursor:pointer;justify-content:space-between}.activeProjectRow{border-color:rgba(var(--accent-rgb), .44);background:var(--accent-soft);box-shadow:inset 3px 0 0 var(--accent)}.adminSettingsSummary,.adminSettingsGrid{gap:10px;display:grid}.adminSettingsSection{gap:10px;margin-top:18px;display:grid}.adminSettingsSection h3{color:var(--ink);margin:0;font-size:14px;font-weight:700}.adminSettingsSummary article,.adminSettingsGrid article{border:1px solid var(--line);background:var(--panel-3);border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;min-height:54px;padding:12px 14px;display:flex}.adminSettingsGrid article{grid-template-columns:1fr;align-items:start;display:grid}.adminSettingsSummary span,.adminSettingsGrid span{color:var(--muted);font-size:13px;font-weight:700}.adminSettingsSummary b,.adminSettingsGrid b{color:var(--ink);text-align:right;font-size:14px}.adminSettingsCardHeader{min-width:0;display:block}.adminSettingsCardHeader p{min-width:0;color:var(--muted);margin:0;font-size:12px;font-weight:700;line-height:1.35}.adminSettingsCardHeader h4{color:var(--ink);margin:0;font-size:14px;font-weight:700}.adminSettingsBody{flex:auto;min-height:0;padding-right:2px;overflow:auto}.adminSettingsFields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.adminTtsProfileList{grid-column:1/-1;gap:6px;display:grid}.adminTtsProfileRow{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;min-height:46px;padding:6px 8px;display:grid}.adminTtsProfileIcon{border:1px solid rgba(var(--accent-rgb), .22);background:var(--accent-soft);width:30px;height:30px;color:var(--accent-dark);border-radius:8px;place-items:center;display:inline-grid}.adminSettingsGrid .adminTtsProfileName{min-width:0;color:var(--ink);text-align:left;text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.adminTtsProfileActions{align-items:center;gap:6px;display:flex}.adminTtsProfileDefaultButton{justify-content:center;min-width:132px}.adminTtsProfileDefaultButton.active{border-color:rgba(var(--accent-rgb), .34);background:var(--accent-soft);color:var(--accent-dark)}.adminTtsProfileActions .iconButton{width:32px;height:32px}.adminTtsProfileActions .dangerIconButton:hover:not(:disabled){color:var(--danger);background:#d6454514;border-color:#d6454557}.adminTtsAddButton{justify-self:start}.ttsProfileEditorModal{width:min(620px,100%)}.ttsProfileEditorFields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.ttsProfileEditorFullField{grid-column:1/-1}.ttsProfileEditorFields label{align-content:start;gap:6px;display:grid}.ttsProfileEditorFields input{width:100%}.ttsProfileEditorFields label small{color:var(--muted);font-size:11px;font-weight:600;line-height:1.35;display:block}.ttsProfileEditorFooter{justify-content:flex-end}.adminUserList{gap:8px;display:grid}.adminUserLine{gap:8px;min-width:0;display:grid}.adminUserRow{min-width:0;color:var(--ink);align-items:center;gap:8px;display:flex}.adminUsersPanel{min-width:0}.adminUserRoleIcon{width:24px;height:24px;color:var(--primary);flex:0 0 24px;justify-content:center;align-items:center;display:inline-flex}.adminUserSeparator{color:var(--muted);font-weight:600}.adminUserRow b{text-align:left;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.adminUserRow small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.adminUserActions{flex:none;align-items:center;gap:6px;margin-left:auto;display:inline-flex}.adminUserActionButton{width:30px;height:30px}.adminUserPasswordEditor{flex-wrap:wrap;align-items:flex-end;gap:8px;padding-left:32px;display:flex}.adminUserPasswordEditor label{min-width:170px}.usersPage{flex-direction:column;width:calc(100% - 32px);min-width:0;max-width:none;min-height:100vh;padding-bottom:24px;display:flex}.usersBrandLink{color:inherit;text-decoration:none}.usersPageTitle{color:var(--ink);text-align:center;margin:0;font-size:20px;font-weight:700}.usersPage .topbarActions{align-items:center;gap:10px;display:flex}.usersPage .topbarActions a{text-decoration:none}.usersPage .adminUserActions{margin-left:0;margin-right:64px}.usersTableCard{border:1px solid var(--line);background:var(--surface);min-width:0;min-height:0;box-shadow:var(--shadow-soft);border-radius:10px;flex-direction:column;flex:1;display:flex;overflow:hidden}.usersTableWrap{flex:1;min-width:0;overflow:hidden auto;container:users-table/inline-size}.usersTable{table-layout:fixed;border-collapse:collapse;--users-font:clamp(8.5px, 1.1cqi, 13px);--users-head-font:clamp(8px, .95cqi, 12px);--users-pad-y:clamp(5px, .7cqi, 12px);--users-pad-x:clamp(3px, .55cqi, 10px);width:100%;max-width:100%;font-size:var(--users-font)}.usersColTotp{width:3.5%}.usersColName{width:9%}.usersColCompany,.usersColComment{width:8%}.usersColEmail{width:9%}.usersColCreated{width:8%}.usersColVisit{width:10%}.usersColStatus{width:7%}.usersColProjects{width:5.5%}.usersColStorage,.usersColToken,.usersColActions{width:8%}.usersTable th,.usersTable td{min-width:0;padding:var(--users-pad-y) var(--users-pad-x);border-bottom:1px solid var(--line);text-align:left;vertical-align:middle;font-size:var(--users-font)}.usersTable td{overflow:hidden}.usersTable tbody tr.usersRow{cursor:pointer}.usersTable tbody tr.usersRow:hover{background:var(--accent-quiet)}.usersTable tbody tr.usersRow.selected{background:var(--accent-soft)}.usersTable th{z-index:1;color:var(--muted);font-size:var(--users-head-font);letter-spacing:.02em;white-space:normal;overflow-wrap:break-word;background:var(--surface);font-weight:700;line-height:1.2;position:sticky;top:0;overflow:hidden}.usersTable thead tr:nth-child(2) th{position:static;top:auto}.usersSortHead{cursor:pointer}.usersSortButton{max-width:100%;color:inherit;font:inherit;letter-spacing:inherit;line-height:inherit;text-align:inherit;white-space:normal;background:0 0;border:0;align-items:flex-start;gap:4px;padding:0;display:inline-flex}.usersSortButton:hover{color:var(--accent-dark)}.usersSortHead.isSorted .usersSortButton{color:var(--ink)}.usersSortMark{color:var(--accent-dark);flex:none;font-size:.92em}.usersTable th.userTokenGroup,.usersTable th.userTokenHead,.usersTable td.userTokenCell{background:rgba(var(--accent-rgb), .08)}.usersTable th.userTokenGroup{color:var(--accent-dark);text-align:center;letter-spacing:.08em;text-transform:uppercase}.usersCellClip{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block;overflow:hidden}.usersNameCell{align-items:center;gap:8px;min-width:0;display:flex}.usersNameCell .usersCellClip{flex:auto}.userCommentPreview{min-width:0;color:var(--ink);text-overflow:ellipsis;white-space:nowrap;cursor:help;display:block;overflow:hidden}.userCommentBalloon{z-index:80;border:1px solid var(--line);background:var(--surface);width:min(420px,100vw - 32px);max-height:min(48vh,420px);box-shadow:var(--shadow-soft);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:10px;padding:12px 14px;font-size:13px;line-height:1.45;position:fixed;overflow:auto}.userStatus{white-space:nowrap;align-items:center;gap:6px;min-width:0;max-width:100%;font-weight:600;display:inline-flex}.userStatus .usersCellClip{flex:auto}.userStatusDot{background:var(--muted);border-radius:50%;flex:none;width:.62em;height:.62em}.userStatus.online{color:var(--ok)}.userStatus.online .userStatusDot{background:var(--ok)}.userStatus.offline{color:var(--muted)}.userStatus.blocked{color:var(--danger)}.userStatus.blocked .userStatusDot{background:var(--danger)}.userTokenList{flex-direction:column;gap:.4em;min-width:0;display:flex}.userTokenChip{border:1px solid var(--line);background:var(--panel-2);border-radius:6px;gap:.15em;width:100%;min-width:0;padding:.45em .6em;display:grid}.userTokenChip small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.85em;font-weight:600;overflow:hidden}.userTokenChip b{text-overflow:ellipsis;white-space:nowrap;font-size:1em;font-weight:700;overflow:hidden}.usersTable .adminUserActions{margin-left:0}.usersTable th.usersActionsHead,.usersTable td.usersActionsCell{white-space:nowrap;padding-left:8px;padding-right:8px}.usersPageStatus{color:var(--muted);margin:0;padding:18px 16px;font-weight:600}.usersTableCard .adminSettingsMessage{padding:0 16px 14px}.adminSettingsGrid label{flex-direction:column;gap:6px;min-width:0;display:flex}.adminSettingsFieldRow{grid-template-columns:1fr 1fr;gap:10px;min-width:0;display:grid}.adminSettingsGrid label span{letter-spacing:0;font-size:11px}.adminSettingsGrid select,.adminSettingsGrid input:not([type=checkbox]),.adminSettingsGrid textarea{border:1px solid var(--line);background:var(--panel);width:100%;min-height:36px;color:var(--ink);font:inherit;border-radius:8px;padding:0 10px;font-size:13px;font-weight:600}.adminSettingsGrid textarea{resize:vertical;min-height:88px;padding:8px 10px}.adminSettingsGrid input[aria-invalid=true],.adminSettingsGrid textarea[aria-invalid=true],.adminSettingsGrid select[aria-invalid=true]{border-color:#d3423fbf;box-shadow:0 0 0 1px #d3423f14}.adminSettingsGrid label.adminCheckboxRow{flex-direction:row;align-items:center;gap:10px}.adminSettingsGrid label.adminCheckboxRow input[type=checkbox]{width:16px;height:16px;min-height:0;accent-color:var(--accent);flex:none;margin:0;padding:0}.adminSettingsGrid label.adminCheckboxRow span{color:var(--ink);font-size:13px;font-weight:600}.adminPasswordFieldRow{align-items:stretch;gap:8px;width:100%;min-width:0;display:flex}.adminPasswordFieldRow input{flex:auto;width:auto;min-width:0}.adminPasswordFieldRow .compactButton{white-space:nowrap;flex:none}.adminFieldHint{color:var(--muted);font-size:12px;font-weight:600;line-height:1.35}.userTotpMark{background:var(--accent-quiet);min-height:1.7em;color:var(--accent-dark);font-size:.85em;font-weight:var(--font-weight-bold);letter-spacing:.04em;border-radius:6px;justify-content:center;align-items:center;padding:0 .45em;display:inline-flex}.userTotpEmpty{color:var(--muted)}.adminFieldError{color:var(--danger);font-size:12px;font-weight:600}.adminFormError{color:var(--danger)}.adminTotpRevokeHint{color:var(--muted);margin:12px 0 0;font-size:13px;font-weight:600;line-height:1.4}.adminSettingsMessage{min-height:18px;color:var(--muted);margin:12px 0 0;font-size:13px;font-weight:600}.adminSettingsFooter{border-top:1px solid var(--line);flex:none;margin-top:14px;padding-top:14px}.rowActions{flex:none;margin-left:auto}.fileRowActions{flex:none;justify-content:flex-end;align-items:center;gap:8px;margin-left:auto;display:flex}.mediaCardRow{min-height:62px}.mediaFileInfo{flex:auto;min-width:0}.mediaMetaRow{flex-wrap:wrap;align-items:center;gap:10px;min-width:0;display:flex}.audioFileRow{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 10px;min-width:0;min-height:62px;display:grid}.audioFileMeta{grid-area:1/1;align-items:center;gap:14px;min-width:0;max-width:none;display:flex}.audioFileMeta>div{min-width:0}.audioFileMeta b{overflow-wrap:anywhere;font-size:13px;font-weight:600;line-height:1.25;display:block}.audioFileRow .audioPreviewPlayer{grid-area:2/1/auto/-1}.audioFileRow .fileRowActions{grid-area:1/2;min-width:auto}.audioPlayerPlaceholder{color:var(--muted);flex:auto;font-size:13px;font-weight:700}.mediaThumbButton{background:var(--panel-2);border:0;border-radius:6px;flex:none;width:72px;height:46px;padding:0;display:block;overflow:hidden;box-shadow:inset 0 0 0 1px #141a220a}.mediaThumbButton img{object-fit:cover;width:72px;height:46px;transition:transform .16s,filter .16s;display:block}.mediaThumbButton:hover img{filter:saturate(1.06);transform:scale(1.04)}.mediaThumbButton:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.fileRow small,.projectRow small,.miniPreview p{color:var(--muted);margin:4px 0 0;display:block}.fileMetaLine{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;min-width:0;max-width:min(640px,52vw);overflow:hidden}.fileDot{background:var(--panel-2);width:38px;height:38px;color:var(--muted);border-radius:50%;flex:none;place-items:center;font-size:12px;font-weight:700;display:grid}.fileRow.uploaded .fileDot{background:var(--ok-soft);color:var(--ok)}.fileRow.uploading{opacity:.72}.fileRow.unused{opacity:.56}.fileRow.required{border-color:rgba(var(--accent-rgb), .44);background:var(--accent-soft)}.fileRow.required .fileStatusLabel,.fileRow.syncCandidate .fileStatusLabel{color:var(--accent-dark)}.compactButton{min-height:34px;padding:0 12px;font-size:13px}.deleteAllMediaButton{background:var(--surface-strong);border-color:#b3261e42}.fileRow.uploading .fileDot{background:var(--accent-soft);color:var(--accent-dark)}.fileRow.warning .fileDot{background:var(--warn-soft);color:var(--warn)}.fileRow.failed .fileDot{background:var(--danger-soft);color:var(--danger)}.fileWarnings{flex-wrap:wrap;flex:none;gap:6px;margin-top:4px;display:flex}.fileWarnings span{background:var(--warn-soft);color:#7a4700;border-radius:999px;padding:4px 7px;font-size:11px;font-weight:600}.fileStatusLabel{color:var(--muted);white-space:nowrap;font-size:12px;font-weight:700}.collapsedFilesNotice{border:1px dashed var(--line);background:var(--panel-3);color:var(--muted);text-align:center;border-radius:8px;margin-top:10px;padding:12px;font-size:13px;font-weight:700}.statusPill{background:var(--warn-soft);min-height:34px;color:var(--warn);border:1px solid #a9630442;border-radius:999px;align-items:center;padding:0 12px;font-size:13px;font-weight:600;display:inline-flex}.statusPill.good{background:var(--ok-soft);color:var(--ok);border-color:#127a4d33}.statusPill.critical{background:var(--danger-soft);color:var(--danger);border-color:#f2b8b5}.statusPill.progress{border-color:rgba(var(--accent-rgb), .24);background:var(--accent-soft);color:var(--accent-dark)}.serverJobPanel{border:1px solid rgba(var(--accent-rgb), .22);background:var(--surface-tint);box-shadow:var(--shadow-soft);border-radius:8px;grid-template-columns:minmax(0,1fr) auto;gap:8px 14px;margin-top:16px;padding:14px;display:grid}.buildProgressPanel.error{background:var(--danger-soft);border-color:#b3261e47}.buildProgressPanel.muted{border-color:var(--line-strong);background:var(--panel-2)}.serverJobPanel div:first-child{gap:3px;display:grid}.serverJobPanel b{font-size:15px}.buildProgressPanel p{color:var(--muted);margin:2px 0 0;font-size:13px;font-weight:600;line-height:1.4}.buildProgressMeta{justify-items:end;gap:5px;display:grid}.buildProgressMeta time{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px;font-weight:700}.buildDiagnostic{background:var(--accent-soft);color:var(--accent-dark);border-radius:8px;margin-top:8px;padding:8px 10px;font-size:12px;font-style:normal;font-weight:700;line-height:1.35;display:block}.buildDiagnostic.warning{background:var(--warn-soft);color:var(--warn)}.buildDiagnostic.error{background:var(--danger-soft);color:var(--danger)}.serverJobPanel strong{color:var(--accent-dark);font-size:15px}.serverJobProgress,.renderProgress{background:rgba(var(--accent-rgb), .13);border-radius:999px;overflow:hidden}.serverJobProgress{grid-column:1/-1;height:8px}.buildAppearanceProgress{grid-column:1/-1;gap:6px;padding-top:4px;display:grid}.buildAppearanceProgressHead{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.buildAppearanceProgressHead b{font-size:13px}.buildAppearanceProgressHead strong{font-variant-numeric:tabular-nums;font-size:13px}.buildAppearanceProgress p{color:var(--muted);margin:0;font-size:12px;font-weight:600;line-height:1.35}.appearanceJobProgress{height:6px}.serverJobProgress span,.renderProgress span{border-radius:inherit;background:linear-gradient(90deg, var(--accent), #78c6ff);height:100%;transition:width .18s;display:block}.serverJobProgress.indeterminate span{width:38%;animation:1.15s ease-in-out infinite jobProgressIndeterminate}@keyframes jobProgressIndeterminate{0%{transform:translate(-110%)}to{transform:translate(270%)}}.checkOverviewPanel{border:1px solid rgba(var(--accent-rgb), .18);background:var(--panel-3);border-radius:8px;margin-bottom:14px;padding:12px 14px}.checkOverviewLine{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.checkInfoItem{border:1px solid rgba(var(--accent-rgb), .16);background:var(--surface-strong);border-radius:8px;align-items:center;gap:8px;min-height:54px;padding:10px 12px;display:flex}.checkInfoItem span{color:var(--muted);font-size:13px;font-weight:700}.checkInfoItem b{color:var(--ink);font-size:22px;font-weight:700;line-height:1}.checkInfoItem small{color:var(--muted);font-size:13px;font-weight:600}.checkEmptyPanel{border:1px solid rgba(var(--accent-rgb), .2);background:var(--panel-3);border-radius:8px;gap:6px;margin-bottom:14px;padding:16px;display:grid}.checkEmptyPanel b{font-size:17px}.checkEmptyPanel p{color:var(--muted);margin:0;font-weight:700;line-height:1.45}.stageEmptyPanel{border:1px solid rgba(var(--accent-rgb), .2);background:var(--panel-3);border-radius:8px;gap:7px;margin-bottom:14px;padding:18px;display:grid}.stageEmptyPanel b{font-size:18px}.stageEmptyPanel p{max-width:680px;color:var(--muted);margin:0;font-weight:700;line-height:1.45}.buildDoneNotice{background:var(--ok-soft);color:var(--ok);border:1px solid #127a4d2e;border-radius:8px;align-items:center;gap:10px;margin-top:14px;padding:12px 14px;display:flex}.buildDoneNotice b{font-size:14px}.buildDoneNotice span{color:var(--muted);font-size:13px;font-weight:600}.analysisSheetBackdrop{z-index:220;pointer-events:none;justify-content:center;padding:18px;display:flex;position:fixed;inset:auto 0 0}.analysisResultSheet{border:1px solid rgba(var(--accent-rgb), .22);background:var(--surface-strong);pointer-events:auto;border-radius:10px;width:min(980px,100%);max-height:min(70vh,620px);padding:16px;overflow:auto;box-shadow:0 24px 60px #39363a2e}.analysisResultSheet.critical{border-color:#b3261e47}.analysisSheetHead{justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:12px;display:flex}.analysisSheetHead div{gap:3px;display:grid}.analysisSheetHead span{color:var(--muted);text-transform:uppercase;font-size:12px;font-weight:700}.analysisSheetHead b{font-size:17px;line-height:1.25}.analysisSheetActions{border-top:1px solid var(--line);justify-content:flex-end;gap:10px;margin-top:14px;padding-top:14px;display:flex}.warningsList,.warningGroup{gap:10px;display:grid}.warningGroup h3{margin-bottom:0}.warningItem{border:1px solid var(--line);border-left:5px solid var(--warn);background:var(--surface-strong);box-shadow:none;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px 14px;display:grid}.warningItem>div{min-width:0}.warningItem b{text-wrap:balance;line-height:1.25;display:block}.warningItem.critical{border-left-color:var(--danger)}.warningItem p{color:var(--muted);margin:5px 0 0;font-size:13px;line-height:1.4}.warningAction{white-space:nowrap;min-height:34px;padding:0 12px;font-size:13px}.previewLayout{grid-template-columns:minmax(0,1.85fr) minmax(280px,.78fr);gap:16px;display:grid}.videoPreview,.quickEdits{border:1px solid var(--line);background:var(--surface-strong);box-shadow:none;border-radius:8px}.quickEdits{border-color:var(--line);background:var(--surface-tint);padding:16px}.fakeFrame,.realFrame{aspect-ratio:var(--preview-frame-ar,16 / 9);width:min(100%, calc(min(70vh, 720px) * var(--preview-frame-ar,16 / 9)));background:linear-gradient(#fff3,#0000 45%),linear-gradient(135deg,#39363a 0%,#1f2126 52%,#5c6470 100%);border-radius:0;max-height:min(70vh,720px);margin-inline:auto;position:relative;overflow:hidden}.videoPreview:not(.qgateVideoPreview) .realFrame{cursor:pointer}.realFrame img{object-fit:cover;width:100%;height:100%}.realFrame video{object-fit:contain;background:#080b12;width:100%;height:100%}.realFrame.isSourceAspect video,.previewChapterHoverFrame.isSourceAspect video{object-fit:cover}.realFrame video::-webkit-media-controls{-webkit-appearance:none;display:none!important}.realFrame video::-webkit-media-controls-enclosure{-webkit-appearance:none;display:none!important}.realFrame video::-webkit-media-controls-overlay-enclosure{-webkit-appearance:none;display:none!important}.realFrame video::-webkit-media-controls-start-playback-button{-webkit-appearance:none;display:none!important}.realFrame video::-webkit-media-controls-overlay-play-button{-webkit-appearance:none;display:none!important}.realFrame video::-webkit-media-controls-fullscreen-button{-webkit-appearance:none;display:none!important}.previewChapterHoverFrame video::-webkit-media-controls{-webkit-appearance:none;display:none!important}.previewChapterHoverFrame video::-webkit-media-controls-enclosure{-webkit-appearance:none;display:none!important}.fileMediaPlayer video::-webkit-media-controls{-webkit-appearance:none;display:none!important}.fileMediaPlayer video::-webkit-media-controls-enclosure{-webkit-appearance:none;display:none!important}.realFrame:after{content:"";pointer-events:none;background:linear-gradient(#0a0d139e,#0000);height:34%;position:absolute;inset:0 0 auto}.mediaFullscreenButton{z-index:4;border:1px solid var(--line);background:var(--surface-strong);width:36px;height:36px;color:var(--text);box-shadow:none;border-radius:8px;place-items:center;padding:0;display:grid;position:relative}.realFrame>.mediaFullscreenButton,.fileMediaVideoFrame>.mediaFullscreenButton{color:#fff;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#080a1080;border:1px solid #ffffff47;position:absolute;top:14px;right:14px;box-shadow:0 8px 20px #0000002e}.mediaFullscreenButton:hover{border-color:rgba(var(--accent-rgb), .45);background:var(--accent-soft)}.realFrame>.mediaFullscreenButton:hover,.fileMediaVideoFrame>.mediaFullscreenButton:hover{background:rgba(var(--accent-rgb), .78);border-color:#ffffff94;transform:translateY(-1px)}.mediaFullscreenButton:focus-visible{outline:2px solid rgba(var(--accent-rgb), .45);outline-offset:2px}.videoPreview:fullscreen{background:#080b12;border:0;border-radius:0;grid-template-rows:minmax(0,1fr) auto;width:100vw;height:100vh;display:grid}.videoPreview:fullscreen .realFrame{width:min(100%, calc(100vh * var(--preview-frame-ar,16 / 9)));min-height:0;max-height:100%;aspect-ratio:var(--preview-frame-ar,16 / 9);margin:auto}.videoPreview:fullscreen .fileMediaPlayerSurface{width:min(100%, calc(100vh * var(--preview-frame-ar,16 / 9)));min-height:0;max-height:100%;aspect-ratio:var(--preview-frame-ar,16 / 9);place-self:center;margin-inline:auto}.videoPreview:fullscreen .manualCorrections{display:none}.videoPreview:fullscreen .playerBar{background:#101620;border-color:#ffffff1f;padding:14px clamp(18px,3vw,42px)}.videoPreview:fullscreen .playerBar time{color:#ffffffc7}.videoPreview:fullscreen .timeline{background:#ffffff2e}.videoPreview:fullscreen .previewChapter--cover{background-color:#6aa8ef}.videoPreview:fullscreen .previewChapter--sync{background-color:#e0a35a}.videoPreview:fullscreen .previewChapter--live{background-color:#45c089}.videoPreview:fullscreen .previewChapter--standup{background-color:#8a9bb0}.videoPreview:fullscreen .previewCorrectionMarker--cover{background:#6aa8ef}.videoPreview:fullscreen .previewCorrectionMarker--sync{background:#e0a35a}.videoPreview:fullscreen .previewCorrectionMarker--live{background:#45c089}.videoPreview:fullscreen .previewCorrectionMarker--standup{background:#8a9bb0}.videoPreview:not(:fullscreen){width:min(100%, calc(min(70vh, 720px) * var(--preview-frame-ar,16 / 9)));margin-inline:auto}.previewMediaPlayer .fileMediaPlayerSurface{background:#10131a;border-radius:7px 7px 0 0;overflow:hidden}.previewMediaPlayer .realFrame{width:100%}.previewMediaPlayer .realFrame video{max-height:none}.renderOverlay{z-index:2;color:#fff;text-align:center;background:#07080db8;place-content:center;gap:6px;display:grid;position:absolute;inset:0}.renderOverlay span{color:#ffffffb8;font-size:13px;font-weight:700}.renderProgress{background:#ffffff38;width:min(260px,64vw);height:7px;margin:4px auto 0}.renderProgress span{background:#fff}.previewMediaOverlay{z-index:2;color:#fff;text-align:center;background:radial-gradient(circle at 50% 38%,#3689bc47,#0000 42%),linear-gradient(145deg,#0e2d41f5,#081622fa);place-content:center;justify-items:center;gap:8px;padding:24px;display:grid;position:absolute;inset:0}.previewMediaOverlay>span:not(.previewMediaSpinner){color:#ffffffbd;max-width:390px;font-size:13px;font-weight:700}.previewMediaOverlay.error{background:radial-gradient(circle at 50% 38%,#95583442,#0000 42%),linear-gradient(145deg,#30231df7,#141417fc)}.previewMediaOverlay button{color:#fff;border-color:#ffffff75;margin-top:4px}.previewMediaSpinner{border:3px solid #ffffff47;border-top-color:#fff;border-radius:50%;width:28px;height:28px;animation:.8s linear infinite previewMediaSpin}@keyframes previewMediaSpin{to{transform:rotate(360deg)}}.fakeFrame:before{content:"";background:#ffffff29;border-radius:8px;height:18%;position:absolute;inset:12% 8% auto}.meetingTable{background:#9e7a52;border-radius:8px;height:18%;position:absolute;bottom:18%;left:15%;right:15%;box-shadow:0 18px 30px #00000040}.person{aspect-ratio:1;background:#e9d2bd;border-radius:50%;width:8%;position:absolute}.person:after{content:"";background:#60758d;border-radius:18px 18px 4px 4px;width:148%;height:130%;position:absolute;top:82%;left:-24%}.personA{bottom:42%;left:28%}.personB{bottom:42%;right:30%}.lowerLine{background:#ffffffb8;border-radius:999px;height:5px;position:absolute;bottom:18px;left:22px;right:22px}.playerBar{z-index:3;border-top:1px solid var(--line);grid-template-columns:44px 1fr auto;align-items:center;gap:12px;padding:12px 14px;display:grid;position:relative;overflow:visible}.previewMediaPlayer .previewPlayerBar{background:linear-gradient(#0a0e1429,#0a0e14d1);border-top-color:#ffffff29;grid-template-columns:80px minmax(0,1fr) 80px;grid-template-areas:"current timeline duration";gap:10px;padding:8px 10px;position:absolute;bottom:0;left:0;right:0}.videoPreview:fullscreen .previewPlayerBar{background:linear-gradient(#0a0e1429,#0a0e14d1);border-top-color:#ffffff29}.previewMediaPlayer .previewPlayerBar time{color:#ffffffe6;font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}.previewMediaPlayer .previewPlayerBar time:first-child{text-align:left}.previewChapterBar{width:100%;height:8px;position:relative;overflow:visible}.previewPlayerBar .previewChapterBar{z-index:2;position:absolute;inset:0}.previewChapterHover{z-index:6;pointer-events:none;gap:6px;width:185px;display:grid;position:absolute;bottom:calc(100% + 10px);transform:translate(-50%)}.previewChapterHoverFrame{aspect-ratio:var(--preview-frame-ar,16 / 9);background:#0b1018;border:1px solid #ffffff38;border-radius:8px;width:min(185px,42vw);max-height:210px;position:relative;overflow:hidden;box-shadow:0 12px 28px #080c1459}.previewChapterHoverSource{opacity:0;pointer-events:none;width:2px;height:2px;position:absolute}.previewChapterHoverFrame canvas{width:100%;height:100%;display:block;position:absolute;inset:0}.previewChapterHoverSource::-webkit-media-controls{display:none!important}.previewChapterHoverSource::-webkit-media-controls-enclosure{display:none!important}.previewChapterHoverSource::-webkit-media-controls-overlay-play-button{display:none!important}.previewChapterHoverSource::-webkit-media-controls-start-playback-button{display:none!important}.previewChapterHoverSource::-webkit-media-controls-overlay-enclosure{display:none!important}.previewChapterHover>span{color:#f4f7fb;letter-spacing:.01em;text-align:center;white-space:nowrap;background:#0c1018e0;border-radius:6px;padding:4px 6px;font-size:11px;font-weight:600;line-height:1.2;display:block}.previewChapter{box-sizing:border-box;cursor:pointer;opacity:.78;background-clip:content-box;border:0;border-radius:2px;padding:0 1px 0 0;transition:opacity .14s,filter .14s;position:absolute;top:0;bottom:0}.previewChapter:last-child{padding-right:0}.previewChapter:hover,.previewChapter.isActive{opacity:1;filter:saturate(1.08);z-index:1}.previewChapter--cover{background-color:#4f8fdb}.previewChapter--sync{background-color:#d0893b}.previewChapter--live{background-color:#2f9d6a}.previewChapter--standup{background-color:#6b7c93}.playButton{background:var(--accent);color:#fff;width:38px;height:38px;box-shadow:0 8px 18px rgba(var(--accent-rgb), .22);border:0;border-radius:50%;place-items:center;line-height:0;display:inline-grid}.playButton svg{display:block}.playButton .playIcon{transform:translate(1px)}.playButton .pauseIcon{transform:none}.timelineScrubber{cursor:pointer;align-items:center;width:100%;height:28px;display:flex}.timeline{background:rgba(var(--accent-rgb), .12);border-radius:999px;width:100%;height:8px;display:block;position:relative;overflow:visible}.timelineFill{border-radius:inherit;background:linear-gradient(90deg, var(--accent), #78c6ff);pointer-events:none;position:absolute;inset:0 auto 0 0}.timelineRange{background:rgba(var(--accent-rgb), .16);outline:1px solid rgba(var(--accent-rgb), .28);pointer-events:none;border-radius:999px;position:absolute;inset:-3px auto -3px 0}.timelineThumb{background:var(--accent);pointer-events:none;border:3px solid #fff;border-radius:50%;width:16px;height:16px;position:absolute;top:50%;transform:translate(-50%,-50%);box-shadow:0 4px 10px #39363a2e}.previewCorrectionMarker{z-index:4;color:#fff;cursor:pointer;background:#4f8fdb;border:1.5px solid #fff;border-radius:50%;place-items:center;width:18px;height:18px;padding:0;display:grid;position:absolute;top:50%;transform:translate(-50%,-50%);box-shadow:0 3px 10px #10182438}.previewCorrectionMarker--cover{background:#4f8fdb}.previewCorrectionMarker--sync{background:#d0893b}.previewCorrectionMarker--live{background:#2f9d6a}.previewCorrectionMarker--standup{background:#6b7c93}.previewCorrectionMarker:hover{transform:translate(-50%,-50%)scale(1.08)}.previewCorrectionMarker:focus-visible{outline:2px solid rgba(var(--accent-rgb), .45);outline-offset:1px}.videoPreview:fullscreen .previewCorrectionMarker{border-color:#ffffffeb}.timelineScrubber:focus-visible{outline:2px solid rgba(var(--accent-rgb), .35);outline-offset:0}.playerBar time{color:var(--muted);font-size:13px;font-weight:700}.manualCorrections{padding:16px 14px 14px}.manualCorrections label{color:var(--muted);font-size:13px;font-weight:var(--font-weight-regular);margin-top:8px;display:block}.correctionInputRow{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px;display:grid}.manualCorrections textarea{border:1px solid var(--line);background:var(--field);resize:vertical;width:100%;min-height:52px;padding:9px 10px;line-height:1.45}.addCorrectionButton{border-color:rgba(var(--accent-rgb), .34);background:var(--surface-strong);min-width:138px;min-height:38px;color:var(--accent-dark);padding:0 12px}.addCorrectionButton:hover:not(:disabled){border-color:rgba(var(--accent-rgb), .42);background:var(--accent-soft)}.addCorrectionButton span{color:var(--ok);margin-right:6px}.removeCorrectionButton{border:1px solid var(--line);background:var(--surface-strong);min-width:84px;min-height:38px;color:var(--danger,#b42318);font-size:13px;font-weight:var(--font-weight-semibold);border-radius:8px;padding:0 12px}.removeCorrectionButton:hover:not(:disabled){background:#b4231814;border-color:#b4231859}.journalRows{gap:8px;margin-top:10px;display:grid}.journalRow{border:1px solid var(--line);background:var(--surface-strong);border-radius:8px;grid-template-columns:auto 1fr auto;align-items:start;gap:10px;padding:10px;display:grid}.journalRow time{color:var(--accent-dark);font-size:12px;font-weight:700}.journalRow p{color:var(--ink);margin:0;font-size:14px;font-weight:700}.journalRow button{background:0 0;border:0;min-height:auto;padding:0;font-size:12px;font-weight:700}.journalActions{justify-items:end;gap:6px;display:grid}.journalActions button:first-child{color:var(--accent-dark)}.journalActions button:last-child{color:var(--danger)}.editRow{border:1px solid var(--line);background:var(--surface-strong);text-align:left;border-radius:8px;width:100%;margin-bottom:10px;padding:13px}.editRow span{color:var(--muted);margin-bottom:4px;font-size:12px;font-weight:600;display:block}.correctionResult{border-top:1px solid var(--line);margin-top:14px;padding-top:14px}.correctionStatus{border:1px solid var(--line);background:var(--surface-strong);border-radius:8px;gap:5px;margin-top:14px;padding:12px;display:grid}.correctionStatus b{font-size:14px}.correctionStatus p{color:var(--muted);margin:0;font-size:13px;font-weight:600;line-height:1.4}.correctionStatus.warning{background:var(--warn-soft);border-color:#b56b0047}.correctionStatus.warning b{color:var(--warn)}.correctionStatus.good{background:var(--ok-soft);border-color:#127a4d33}.correctionStatus.good b{color:var(--ok)}.appliedCorrections{background:var(--ok-soft);border:1px solid #127a4d33;border-radius:8px;gap:8px;margin-top:14px;padding:12px;display:grid}.appliedCorrections b{color:var(--ok)}.appliedCorrections p{color:var(--ink);gap:8px;margin:0;font-size:13px;font-weight:600;display:flex}.appliedCorrections span{color:var(--ok);font-weight:700}.fullWidth{width:100%;margin-top:10px}.correctionResult p{color:var(--muted);margin:8px 0 0}.correctionResult small{color:var(--ok);margin-top:10px;font-size:13px;font-weight:700;display:block}details{margin-top:12px}summary{cursor:pointer;color:var(--accent-dark);font-weight:600}.planList{color:var(--muted);padding-left:20px}.previewTools{flex-wrap:wrap;justify-content:flex-end}.buildLogModal{flex-direction:column;width:min(640px,100%);display:flex;overflow:hidden}.buildLogPanel{background:0 0;flex:auto;max-height:min(70vh,640px);margin:0;padding:4px 2px 2px;overflow:auto}.buildLogSection+.buildLogSection{border-top:1px solid var(--line);margin-top:14px;padding-top:14px}.buildLogSection h3{color:var(--ink);margin:0 0 8px;font-size:14px;font-weight:700}.buildLogSection ul,.buildDecisionList{color:var(--muted);margin:0;padding-left:18px;font-size:13px;line-height:1.45}.buildLogSection li+li,.buildDecisionList li+li{margin-top:7px}.buildDecisionList b,.buildDecisionList span,.buildDecisionList small,.buildDecisionList em{display:block}.buildDecisionList b{color:var(--ink);font-size:13px}.buildDecisionList span{color:var(--ink);margin-top:2px;font-weight:600}.buildDecisionList small{color:var(--muted);margin-top:2px;font-size:12px}.buildDecisionReasons{gap:4px;margin-top:4px;display:grid}.buildDecisionList em{color:var(--accent-dark);margin-top:3px;font-size:12px;font-style:normal;font-weight:600}.buildLogSection p{color:var(--muted);margin:10px 0 0;font-size:13px}.previewState{border:1px solid var(--line);background:var(--surface-strong);min-height:34px;color:var(--muted);border-radius:999px;align-items:center;padding:0 10px;font-size:12px;font-weight:700;display:inline-flex}.previewState.warning{background:var(--warn-soft);color:var(--warn);border-color:#b56b0047}.previewState.good{background:var(--ok-soft);color:var(--ok);border-color:#127a4d33}.buildElapsedBadge{background:var(--ok-soft);min-height:34px;color:var(--ok);white-space:nowrap;border:1px solid #127a4d2e;border-radius:999px;align-items:center;padding:0 11px;font-size:12px;font-weight:700;display:inline-flex}.exportGrid{grid-template-columns:repeat(3,1fr);gap:14px;display:grid}.masterSummary{border:1px solid rgba(var(--accent-rgb), .2);background:var(--surface-tint);box-shadow:var(--shadow-soft);border-radius:8px;grid-template-columns:1fr;gap:14px;margin-bottom:14px;padding:14px;display:grid}.masterSummary>div{border:1px solid rgba(var(--accent-rgb), .16);background:var(--surface-strong);border-radius:8px;padding:14px}.masterSummary h3{margin-bottom:8px}.masterSummary p{color:var(--muted);margin-bottom:0;font-weight:700;line-height:1.45}.masterFacts{background:0 0;grid-template-columns:repeat(2,minmax(0,220px));gap:8px;max-width:460px;margin-top:12px;display:grid}.masterFacts div{background:var(--panel-2);border:1px solid var(--line);border-radius:8px;justify-content:space-between;align-items:center;gap:6px;min-width:0;padding:10px 12px;display:flex}.masterFacts span{color:var(--muted);font-size:12px;font-weight:700}.masterFacts b{color:var(--ink);text-align:right;overflow-wrap:anywhere;font-size:16px;line-height:1.2}.masterProgress{background:rgba(var(--accent-rgb), .13);border-radius:999px;width:min(320px,100%);height:8px;margin:10px 0;position:relative;overflow:hidden}.masterProgress span{border-radius:inherit;background:linear-gradient(90deg, var(--accent), #78c6ff);width:62%;animation:2.2s ease-in-out forwards masterProgress;position:absolute;inset:0 auto 0 0}@keyframes masterProgress{0%{width:18%}to{width:100%}}.downloadCard{border:1px solid var(--line);background:var(--surface-strong);min-height:160px;color:var(--ink);text-align:left;border-radius:8px;grid-template-rows:44px auto 1fr;align-content:start;row-gap:16px;padding:18px;text-decoration:none;transition:border-color .2s,box-shadow .2s,transform .2s;display:grid}.downloadCard:hover:not(:disabled){border-color:rgba(var(--accent-rgb), .42);transform:translateY(-1px);box-shadow:0 8px 18px #39363a12}.downloadCard span{background:var(--accent-soft);width:44px;height:44px;color:var(--accent);border-radius:8px;place-items:center;font-weight:700;display:grid}.downloadCard small{align-self:start;line-height:1.35;display:block}.primaryCard{border-color:rgba(var(--accent-rgb), .36);box-shadow:inset 0 -3px 0 var(--accent)}.renderingCard{border-color:#f4cf9b;box-shadow:inset 0 0 0 2px #b56b001f}.downloadCard:disabled{cursor:default;opacity:1}.modalBackdrop{z-index:320;background:#1f212694;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{z-index:1;border:1px solid var(--line);background:var(--surface-strong);border-radius:8px;width:min(640px,100%);max-height:calc(100vh - 40px);padding:18px;position:relative;overflow:auto;box-shadow:0 24px 60px #39363a33}.wideModal{width:min(820px,100%)}.settingsModal{flex-direction:column;display:flex;overflow:hidden}.modal header{flex:none;margin-bottom:16px}.modal>footer{margin-top:16px}.modalHeaderActions{justify-content:flex-end;align-items:center;gap:8px;margin-left:auto;display:inline-flex}.historyClearButton{min-height:36px;padding:0 12px;font-size:13px}.modal h2{font-size:24px}.compactNewProjectModal{width:max-content;min-width:420px;max-width:calc(100vw - 40px);padding:22px 24px}.compactNewProjectModal header{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:18px;display:flex}.compactNewProjectModal h2{color:var(--ink);white-space:nowrap;flex:0 auto;font-size:17px;font-weight:700;line-height:1.42}.newProjectChoice{gap:18px;display:grid}.newProjectChoice p{color:var(--ink-soft);margin:0;font-size:14px;font-weight:600;line-height:1.45}.newProjectChoiceWarning{background:#fffafaf0;border:1px solid #ef444452;border-radius:7px;padding:7px 8px;color:#9f2d2d!important;font-size:12px!important;font-weight:700!important}.newProjectChoiceActions{flex-wrap:nowrap;align-items:center;gap:10px;margin-top:0;margin-left:auto;display:inline-flex}.newProjectChoiceActions button{min-height:38px;padding:0 16px;font-size:13px}.materialTypeChoiceModal .newProjectChoiceActions{flex-wrap:wrap;align-items:stretch}.materialTypeChoiceModal .newProjectChoiceActions button{min-width:max-content}.usersConfirmModal h2{white-space:normal}.usersConfirmModal .newProjectChoiceActions{justify-content:flex-end;width:100%}@media (max-width:700px){.compactNewProjectModal h2{white-space:normal}}.shotOptions{gap:10px;display:grid}.shotOption{border:1px solid var(--line);background:var(--surface-strong);text-align:left;border-radius:8px;grid-template-columns:96px 1fr;align-items:center;gap:12px;padding:10px;display:grid}.shotOption.active{border-color:var(--accent);box-shadow:inset 3px 0 0 var(--accent)}.shotThumb{aspect-ratio:16/9;background:linear-gradient(135deg,#6f8b5f,#d9d0a3);border-radius:6px;grid-row:span 2}.shotThumb.bench{background:linear-gradient(135deg,#5d7d6c,#b8945c)}.shotThumb.meeting{background:linear-gradient(135deg,#41566d,#9e7a52)}.requiredToggleButton.active{border-color:rgba(var(--accent-rgb), .38);background:var(--accent-soft);color:var(--accent-dark)}.miniPreview .shotThumb{flex:none;width:180px;max-width:42%}.miniPreview>img{object-fit:cover;border-radius:6px;flex:none;width:180px;max-width:42%;height:auto}.mediaPreviewBox{border:1px solid var(--line);background:#10131a;border-radius:8px;place-items:center;min-height:240px;margin-bottom:14px;display:grid;overflow:hidden}.mediaPreviewBox video,.mediaPreviewBox img{object-fit:contain;width:100%;max-height:420px;display:block}.fileMediaPlayer{background:var(--surface-strong);width:100%}.fileMediaPlayerSurface{width:100%;position:relative}.fileMediaVideoFrame{background:#10131a;width:100%;position:relative;overflow:hidden}.fileMediaPlayer video{object-fit:contain;background:#10131a;width:100%;max-height:420px;display:block}.fileMediaPlayer:fullscreen:not(.previewMediaPlayer){background:#080b12;border:0;border-radius:0;grid-template-rows:minmax(0,1fr) auto auto;width:100vw;height:100vh;display:grid}:is(.fileMediaPlayer:fullscreen:not(.previewMediaPlayer) .fileMediaPlayerSurface,.fileMediaPlayer:fullscreen:not(.previewMediaPlayer) .fileMediaVideoFrame){height:100%;min-height:0}.fileMediaPlayer:fullscreen:not(.previewMediaPlayer) video{height:100%;max-height:none}.fileMediaPlayer:fullscreen:not(.previewMediaPlayer) .mediaPlayerBar{background:linear-gradient(#0a0e1429,#0a0e14db);border-color:#ffffff1f;padding:14px clamp(18px,3vw,42px)}.fileMediaPlayer:fullscreen:not(.previewMediaPlayer) .mediaPlayerBar time{color:#ffffffd1}.fileMediaPlayer:fullscreen:not(.previewMediaPlayer) .timeline{background:#ffffff2e}.fileMediaPlayer:fullscreen:not(.previewMediaPlayer) .mediaRangeHint{display:none}.mediaLibraryPreviewModal .fileMediaVideoFrame video{height:100%}.audioPreviewPlayer{border:1px solid var(--line);border-radius:8px;width:100%;overflow:hidden}.audioPreviewPlayer.compactMediaPlayer{background:0 0;border:0;border-radius:0;flex:none;width:100%;min-width:0}.audioPreviewPlayer audio{display:none}.mediaPlayerBar{background:var(--surface-strong);grid-template-columns:80px 44px minmax(0,1fr) 80px;grid-template-areas:"current play timeline duration"}.mediaPlayerBar>time{font-variant-numeric:tabular-nums;white-space:nowrap}.mediaPlayerBar>time:first-child{grid-area:current}.mediaPlayerBar>.playButton{grid-area:play}.mediaPlayerBar>.timelineScrubber{grid-area:timeline;min-width:0}.mediaPlayerBar>time:last-child{grid-area:duration}.fileMediaPlayer.withoutPlayButton .mediaPlayerBar{grid-template-columns:80px minmax(0,1fr) 80px;grid-template-areas:"current timeline duration"}.mediaRangeHint{color:var(--muted);padding:0 14px 12px;font-size:12px;font-weight:700;display:block}.compactMediaPlayer .mediaPlayerBar{background:0 0;border-top:0;grid-template:"play timeline timeline""play current duration"/34px minmax(0,1fr) auto;gap:0 10px;padding:0}.compactMediaPlayer .playButton{width:32px;height:32px;box-shadow:none;grid-area:1/1/3}.compactMediaPlayer .timeline{background:rgba(var(--accent-rgb), .14);height:4px}.compactMediaPlayer .timelineThumb{width:10px;height:10px;box-shadow:none;border:0}.compactMediaPlayer .timelineScrubber{grid-area:1/2;min-width:0;height:24px}.compactMediaPlayer .mediaPlayerBar time:first-child{grid-area:2/2;justify-self:start;font-size:11px;line-height:1.2}.compactMediaPlayer .mediaPlayerBar time:last-child{grid-area:2/3;justify-self:end;font-size:11px;line-height:1.2}.compactMediaPlayer .timeline{height:6px}.compactMediaPlayer .timelineThumb{width:14px;height:14px}.documentPreview,.emptyState{color:#fff;text-align:center;gap:8px;padding:24px;display:grid}.documentPreview span{color:#b8c2cd;font-size:12px;font-weight:700}.documentPreview small,.emptyState{color:var(--muted)}.userMenu{margin-top:0}:root[data-theme=dark] .loginScreen,:root[data-theme=dark] .loginCard,:root[data-theme=dark] .topbar,:root[data-theme=dark] .stage,:root[data-theme=dark] .step,:root[data-theme=dark] .projectMetaRow,:root[data-theme=dark] .projectMetaRow.invalid,:root[data-theme=dark] .scriptPanel,:root[data-theme=dark] .commentsBox,:root[data-theme=dark] .fileList,:root[data-theme=dark] .fileRow,:root[data-theme=dark] .projectRow,:root[data-theme=dark] .adminSettingsSummary article,:root[data-theme=dark] .adminSettingsGrid article,:root[data-theme=dark] .checkInfoItem,:root[data-theme=dark] .analysisResultSheet,:root[data-theme=dark] .warningItem,:root[data-theme=dark] .videoPreview,:root[data-theme=dark] .journalRow,:root[data-theme=dark] .correctionStatus,:root[data-theme=dark] .addCorrectionButton,:root[data-theme=dark] .masterSummary>div,:root[data-theme=dark] .masterFacts,:root[data-theme=dark] .downloadCard,:root[data-theme=dark] .modal,:root[data-theme=dark] .shotOption,:root[data-theme=dark] .mediaPlayerBar,:root[data-theme=dark] .audioPreviewPlayer,:root[data-theme=dark] .mediaPreviewBox .fileMediaPlayer{background:var(--surface-strong);color:var(--ink)}:root[data-theme=dark] .usersTable th.userTokenGroup,:root[data-theme=dark] .usersTable th.userTokenHead,:root[data-theme=dark] .usersTable td.userTokenCell{background:rgba(var(--accent-rgb), .16)}:root[data-theme=dark] .topbar{box-shadow:var(--shadow-soft);border-color:#3a4556db}:root[data-theme=dark] .stage{box-shadow:none;background:0 0;border-color:#0000}:root[data-theme=dark] .loginArt,:root[data-theme=dark] .dropzone,:root[data-theme=dark] .voiceoverPanel,:root[data-theme=dark] .activeProjectRow,:root[data-theme=dark] .adminSettingsSummary article,:root[data-theme=dark] .adminSettingsGrid article,:root[data-theme=dark] .collapsedFilesNotice,:root[data-theme=dark] .serverJobPanel,:root[data-theme=dark] .checkOverviewPanel,:root[data-theme=dark] .checkEmptyPanel,:root[data-theme=dark] .stageEmptyPanel,:root[data-theme=dark] .quickEdits,:root[data-theme=dark] .masterSummary,:root[data-theme=dark] .voiceoverPanel,:root[data-theme=dark] .quickEdits,:root[data-theme=dark] .masterSummary,:root[data-theme=dark] .serverJobPanel{background:var(--panel-3)}.workflowStatusBar .materialRunBar,:root[data-theme=dark] .workflowStatusBar .materialRunBar{box-shadow:none;background:0 0;border:0}.workflowStatusBar .serverJobPanel,:root[data-theme=dark] .workflowStatusBar .serverJobPanel{height:48px;box-shadow:none;background:0 0;border:0;grid-template-rows:minmax(0,1fr) 4px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 14px;margin:0;padding:0}.workflowStatusBar .serverJobPanel:has(.buildAppearanceProgress){grid-template-rows:minmax(0,1fr) 4px auto;height:auto;min-height:48px}:root[data-theme=dark] .workflowStatusBar .serverJobPanel:has(.buildAppearanceProgress){grid-template-rows:minmax(0,1fr) 4px auto;height:auto;min-height:48px}.workflowStatusBar .buildProgressCopy{align-content:center;gap:4px;min-width:0}.workflowStatusBar .buildProgressTitle,.workflowStatusBar .buildProgressDetail{text-overflow:ellipsis;white-space:nowrap;line-height:1.15;display:block;overflow:hidden}.workflowStatusBar .buildProgressDetail{margin:0}.workflowStatusBar .buildProgressMeta{flex-wrap:nowrap;justify-content:flex-end;align-items:center;gap:12px;display:flex}.workflowStatusBar .serverJobProgress{height:4px}.workflowStatusBar .buildAppearanceProgress{gap:4px;min-width:0;padding-top:2px}.workflowStatusBar .buildAppearanceProgressHead{gap:10px;min-width:0}.workflowStatusBar .buildAppearanceProgressHead b,.workflowStatusBar .buildAppearanceProgressHead strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.workflowStatusBar .buildAppearanceProgress p{display:none}.workflowStatusBar .appearanceJobProgress{height:4px}:root[data-theme=dark] .analysisResultSheet{box-shadow:0 24px 60px #00000070}:root[data-theme=dark] .buildDoneNotice,:root[data-theme=dark] .buildElapsedBadge{background:#36b57c1c;border-color:#36b57c42}:root[data-theme=dark] .loginOverlay,:root[data-theme=dark] .zoneIcon,:root[data-theme=dark] .voicePreviewButton,:root[data-theme=dark] .voiceCreateButton,:root[data-theme=dark] .voiceoverEmpty,:root[data-theme=dark] .masterFacts div,:root[data-theme=dark] .documentPreview{background:var(--panel-2)}:root[data-theme=dark] .loginOverlay{background:#1c222be6;box-shadow:0 18px 38px #00000047}:root[data-theme=dark] .compactDropzone,:root[data-theme=dark] .profileChip,:root[data-theme=dark] .userMenu summary{border-color:rgba(var(--accent-rgb), .34);background:var(--accent-soft);color:var(--accent-dark)}:root[data-theme=dark] .step.active,:root[data-theme=dark] .fileRow.required,:root[data-theme=dark] .requiredToggleButton.active,:root[data-theme=dark] .primaryCard{border-color:rgba(var(--accent-rgb), .56);background:var(--accent-soft);box-shadow:inset 3px 0 0 var(--accent)}:root[data-theme=dark] .step:disabled{background:#151a22}:root[data-theme=dark] .secondary,:root[data-theme=dark] .iconButton,:root[data-theme=dark] .roundIconButton,:root[data-theme=dark] .userMenuAction,:root[data-theme=dark] .clearProjectButton{background:var(--surface-strong);color:var(--accent-dark)}:root[data-theme=dark] .dangerGhost,:root[data-theme=dark] .deleteAllMediaButton{background:var(--surface-strong);color:var(--danger);border-color:#ff8c855c}:root[data-theme=dark] .iconButton,:root[data-theme=dark] .roundIconButton,:root[data-theme=dark] .clearProjectButton{color:var(--ink)}:root[data-theme=dark] .primary:hover:not(:disabled),:root[data-theme=dark] .secondary:hover:not(:disabled),:root[data-theme=dark] .ghost:hover:not(:disabled),:root[data-theme=dark] .dangerGhost:hover:not(:disabled),:root[data-theme=dark] .voiceCreateButton:hover:not(:disabled),:root[data-theme=dark] .iconButton:hover:not(:disabled),:root[data-theme=dark] .roundIconButton:hover:not(:disabled),:root[data-theme=dark] .compactDropzone:hover,:root[data-theme=dark] .userMenuAction:hover,:root[data-theme=dark] .addCorrectionButton:hover:not(:disabled){border-color:rgba(var(--accent-rgb), .42);background:var(--accent-soft);box-shadow:0 12px 24px #0003}:root[data-theme=dark] .primary:hover:not(:disabled){border-color:var(--accent);background:var(--accent);color:#fff}:root[data-theme=dark] .dangerGhost:hover:not(:disabled){background:var(--danger-soft);color:var(--danger);border-color:#ff8c8570}:root[data-theme=dark] .roundIconButton.blockedActionButton,:root[data-theme=dark] .roundIconButton.blockedActionButton:hover:not(:disabled){background:var(--surface-strong);color:var(--muted);box-shadow:none;opacity:.42;border-color:#3a4556db;transform:none}:root[data-theme=dark] .primary{border-color:var(--accent);background:var(--accent)}:root[data-theme=dark] .primary:disabled{color:var(--muted);background:#343941;border-color:#4d535c}:root[data-theme=dark] .statusPill,:root[data-theme=dark] .fileRow.warning .fileDot,:root[data-theme=dark] .fileWarnings span,:root[data-theme=dark] .correctionStatus.warning,:root[data-theme=dark] .previewState.warning{background:var(--warn-soft);color:var(--warn);border-color:#f1b86a59}:root[data-theme=dark] .statusPill.good,:root[data-theme=dark] .fileRow.uploaded .fileDot,:root[data-theme=dark] .correctionStatus.good,:root[data-theme=dark] .appliedCorrections,:root[data-theme=dark] .previewState.good,:root[data-theme=dark] .buildElapsedBadge{background:var(--ok-soft);color:var(--ok);border-color:#66d09a57}:root[data-theme=dark] .statusPill.critical,:root[data-theme=dark] .fileRow.failed .fileDot{background:var(--danger-soft);color:var(--danger);border-color:#ff8c855c}:root[data-theme=dark] .statusPill.progress,:root[data-theme=dark] .fileRow.uploading .fileDot,:root[data-theme=dark] .fileDot,:root[data-theme=dark] .step span,:root[data-theme=dark] .downloadCard span{background:var(--panel-2);color:var(--accent-dark)}:root[data-theme=dark] .realFrame video,:root[data-theme=dark] .mediaPreviewBox,:root[data-theme=dark] .fileMediaPlayer video{background:#070b12}:root[data-theme=dark] .modalBackdrop{background:#04070cad}:root[data-theme=dark] .newProjectChoiceWarning{background:#3b181bb8;border-color:#ff8c8547;color:#ffb7b2!important}:root[data-theme=dark] .loginArt{background:#151a22}:root[data-theme=dark] .loginArt:after{background:linear-gradient(90deg,#111419b8,#0000 38%),linear-gradient(#11141924,#111419c2)}:root[data-theme=dark] .timeline,:root[data-theme=dark] .serverJobProgress,:root[data-theme=dark] .renderProgress,:root[data-theme=dark] .masterProgress{background:#2c3341}:root[data-theme=dark] .downloadCard:hover:not(:disabled){border-color:rgba(var(--accent-rgb), .52);box-shadow:0 18px 34px #00000040}:root[data-theme=dark] .projectNoticeBubble{color:#fca5a5;background:#3b1919f7;border-color:#f871715c;box-shadow:0 10px 22px #00000038}:root[data-theme=dark] .projectNoticeBubble:before{border-color:#f871715c}:root[data-theme=dark] .loginNoticeBubble{color:#fca5a5;background:#3b1919f7;border-color:#f871715c;box-shadow:0 10px 22px #00000038}:root[data-theme=dark] .loginNoticeBubble:before{border-color:#f871715c}:root[data-theme=dark] .userMenuPanel,:root[data-theme=dark] .modal{box-shadow:var(--shadow-strong)}@media (max-width:820px){.loginCard,.materialWorkspace,.previewLayout,.exportGrid,.masterSummary,.projectMetaRow,.checkOverviewPanel,.masterFacts,.adminSettingsGrid article,.adminSettingsFields,.ttsProfileEditorFields,.correctionInputRow{grid-template-columns:1fr}.ttsProfileEditorFullField{grid-column:auto}.adminTtsProfileRow{grid-template-columns:auto minmax(0,1fr)}.adminTtsProfileActions{grid-column:1/-1;justify-content:flex-end}.loginArt{display:none}.loginForm{padding:28px}.loginFormTotp{padding:24px}.loginTotpSetup{grid-template-columns:minmax(0,1fr) 132px}.loginTotpQr{width:132px;height:132px}.appShell{width:min(100% - 20px,1180px);padding-top:14px}.topbar,.sectionHead,.uploadStageActions,.materialRunBar,.audioFileRow,.fileListTools,.synthesisPanel,.fileList header,.projectRow{flex-direction:column;align-items:stretch}.topbar{grid-template-columns:1fr;gap:10px;padding:12px}.topbarBrand,.topbarActions,.topbarWorkflow{width:100%}.topbarActions{justify-content:flex-end}.topbar .projectMetaRow,.workflowStatusBar{grid-template-columns:1fr}.workflowStatusBar .materialRunBar{gap:10px;height:auto;min-height:48px}.workflowStatusBar .materialRunActions{flex-wrap:wrap}.topbar .projectMetaRow,.topbarWorkflow{width:100%}.projectNoticeBubble{align-self:flex-end;width:auto;min-width:0;max-width:100%;margin-top:2px;position:static;left:auto;right:auto;translate:0;scale:1}.projectNoticeBubble:before{display:none}.materialRunButton,.materialTextExportButton{justify-content:center;width:100%}.materialRunActions{width:100%}.speechBlockItem{grid-template-columns:1fr}.scriptTableRow{grid-template-columns:minmax(194px,46%) minmax(0,1fr)}.scriptTableTypeCell,.scriptTableTextArea{padding:9px}.scriptBlockContextMenu{width:min(226px,100vw - 52px);left:-2px}.scriptBlockMetadataLine,.scriptTableJoinedFragments{padding-inline:12px}.scriptSourcePickerGrid{grid-template-columns:repeat(3,minmax(0,1fr))}.scriptSourceWorkspace.withTranscript,.scriptSourceTextCheck>div{grid-template-columns:1fr}.scriptSourceTranscript{max-height:42vh}.scriptSourceRecognitionBar{flex-direction:column;align-items:stretch}.scriptSourceRecognizeButton{align-self:flex-end}.scriptSourceMarkers{grid-template-columns:1fr 1fr}.scriptSourceMarkerSummary{grid-area:2/1/auto/-1}.topbarWorkflow{grid-template-columns:repeat(3,minmax(0,1fr))}.warningItem{grid-template-columns:1fr;align-items:stretch}.mediaZone,.scriptPanel,.commentsBox,.fileList,.voiceoverPanel{grid-column:auto;min-width:0}.serverJobPanel{grid-template-columns:1fr}.buildProgressMeta{justify-items:start}.analysisSheetBackdrop{padding:10px}.analysisSheetActions,.analysisSheetHead{flex-direction:column;align-items:stretch}.voiceoverControlBar{grid-template-columns:1fr 1fr}.voicePreviewButton,.voiceCreateButton{width:100%}.voiceoverUploadRow{flex-direction:column;align-items:stretch}.compactDropzone{width:100%}.audioFileMeta{flex:auto;min-width:0}.audioFileRow .fileRowActions{justify-content:space-between;margin-left:0}}@media (max-width:520px){.stage{padding:16px}.scriptSourcePickerGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.scriptSourceRecognitionProgress{grid-template-columns:minmax(0,1fr) auto}.scriptSourceRecognitionProgress button{grid-column:1/-1;justify-self:start}.steps{grid-template-columns:1fr}.step{min-height:54px}.playerBar{grid-template-columns:38px 1fr}.playerBar time{grid-column:2}.previewMediaPlayer .previewPlayerBar{grid-template:"timeline timeline""current duration"/minmax(0,1fr) auto}.mediaPlayerBar{grid-template:"play timeline timeline""play current duration"/38px minmax(0,1fr) auto}.fileMediaPlayer.withoutPlayButton .mediaPlayerBar{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"timeline timeline""current duration"}.voiceoverControlBar{grid-template-columns:1fr}.mediaCardRow{grid-template-columns:72px 38px minmax(0,1fr);align-items:center;gap:10px;display:grid}.mediaCardRow .mediaFileInfo{min-width:0}.mediaCardRow .mediaFileInfo b{overflow-wrap:anywhere;line-height:1.2;display:block}.mediaCardRow .mediaMetaRow{display:block}.mediaCardRow .fileMetaLine{white-space:normal;max-width:100%}.mediaCardRow .fileRowActions{border-top:1px solid #d8dee7b8;grid-column:1/-1;justify-content:flex-end;width:100%;margin-left:0;padding-top:8px}}.modalBackdrop:has(.scriptSourcePickerModal){place-items:start center;overflow-y:auto}.modal.scriptSourcePickerModal{flex-direction:column;width:min(1080px,100%);height:auto;max-height:none;margin-block:0;display:flex;overflow:visible}.modal.scriptSourcePickerModal>header h2{font-size:18px;line-height:1.25}.scriptSourceSaveClose,.scriptSourceClose{min-height:34px;padding-inline:12px;font-size:11px}.scriptSourceTabs{flex:none;align-items:center;gap:5px;margin:-5px -2px 10px;padding:2px;display:flex;overflow-x:auto}.scriptSourceTab{border:1px solid var(--line);background:var(--panel-2);min-width:0;max-width:290px;min-height:34px;color:var(--ink);border-radius:7px;grid-template-columns:minmax(0,1fr) 28px;align-items:center;display:grid}.scriptSourceTab:hover,.scriptSourceTab.active{border-color:rgba(var(--accent-rgb), .34);background:var(--accent-soft)}.scriptSourceTabOpen{min-width:0;min-height:32px;color:var(--ink);text-align:left;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;padding:0 4px 0 9px;font-size:10px;font-weight:700;overflow:hidden}.scriptSourceTabRemove{width:24px;height:24px;color:var(--muted);background:0 0;border:0;border-radius:5px;place-items:center;padding:0;display:grid}.scriptSourceTabRemove:hover{background:var(--surface);color:var(--danger)}.scriptSourceTabs button.add{border:1px solid var(--line);background:var(--panel-2);min-height:34px;color:var(--accent-dark);border-radius:7px;flex:none;align-items:center;gap:6px;padding:5px 9px;font-size:11px;font-weight:700;display:inline-flex}.scriptSourceTabs button.add:hover,.scriptSourceTabs button.add.active{border-color:rgba(var(--accent-rgb), .34);background:var(--accent-soft)}.scriptSourceTab.livePickerTrackTab{min-width:190px;max-width:240px;min-height:46px;color:var(--ink);text-align:left;grid-template-columns:24px minmax(0,1fr);gap:8px;padding:5px 10px;display:grid}.scriptSourceLibrary{flex:auto;min-height:0;padding:2px 2px 10px;overflow-y:auto}.scriptSourceLibraryHead{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.scriptSourceLibraryHead>span{gap:2px;display:grid}.scriptSourceLibraryHead b{color:var(--ink);font-size:13px}.scriptSourceLibraryHead small{color:var(--muted);font-size:11px;font-weight:650}.scriptSourcePickerGrid.compact .scriptSourceCardOpen{position:relative}.scriptSourcePickerGrid.compact .scriptSourceCardOpen>i{color:#fff;background:#0d1118c2;border-radius:999px;padding:4px 6px;font-size:9px;font-style:normal;font-weight:700;position:absolute;bottom:50px;right:6px}.scriptSourceWorkspace{flex:none;grid-template-columns:minmax(0,1fr) minmax(320px,36%);gap:10px;min-height:0;display:grid;overflow:visible}.scriptSourceMain{grid-template-rows:auto auto;gap:9px;min-width:0;min-height:0;display:grid}.scriptSourcePreview{gap:0;min-width:0;display:grid}.scriptSourcePreview .fileMediaPlayer{background:#10131a;border-radius:7px 7px 0 0;overflow:hidden}.scriptSourcePreview .fileMediaPlayer video{aspect-ratio:16/9;object-fit:contain;max-height:none}.scriptSourcePreview .playerBar{z-index:2;background:linear-gradient(#0a0e1429,#0a0e14d1);border-top-color:#ffffff29;grid-template-columns:80px 44px minmax(0,1fr) 80px;grid-template-areas:"current play timeline duration";gap:10px;padding:8px 10px;position:absolute;bottom:0;left:0;right:0}.scriptSourcePreview .fileMediaPlayer.withoutPlayButton .playerBar{grid-template-columns:80px minmax(0,1fr) 80px;grid-template-areas:"current timeline duration"}.scriptSourcePreview .playButton{width:34px;height:34px}.scriptSourcePreview .playerBar time{color:#ffffffe6;font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}.scriptSourcePreview .playerBar time:first-child{text-align:left}.scriptSourcePreview .mediaRangeHint{display:none}.scriptSourceToolBar{border:1px solid var(--line);background:var(--panel-2);border-top:0;border-radius:0 0 7px 7px;align-items:center;gap:3px;min-height:36px;padding:4px 6px;display:flex;overflow:visible}.scriptSourceToolGroup{flex:none;align-items:center;gap:3px;display:inline-flex}.scriptSourceRecognitionActions{margin-left:auto}.scriptSourceToolBar button{min-height:27px;color:var(--ink);font:inherit;background:0 0;border:0;border-radius:5px;flex:none;align-items:center;gap:5px;padding:0 6px;font-size:10px;font-weight:700;display:inline-flex}.scriptSourceToolBar button:hover:not(:disabled),.scriptSourceToolBar button.addRange{background:var(--accent-soft);color:var(--accent-dark)}.scriptSourceToolBar button.markerButton{border:1px solid rgba(var(--accent-rgb), .22);background:var(--surface);width:27px;color:var(--accent-dark);justify-content:center;padding:0}.scriptSourceToolBar button.playbackButton{border:1px solid rgba(var(--accent-rgb), .16);background:var(--surface);width:27px;color:var(--accent-dark);justify-content:center;padding:0}.scriptSourceToolBar button.playbackSpeedButton{font-variant-numeric:tabular-nums;width:31px}.previewPlayerBar .previewChapter{background-clip:content-box;border:0;border-radius:2px;height:auto;min-height:0;padding:0 1px 0 0;display:block;position:absolute;top:0;bottom:0}.previewPlayerBar .previewChapter--cover,.previewPlayerBar .previewChapter--cover:hover:not(:disabled){background-color:#4f8fdb}.previewPlayerBar .previewChapter--sync,.previewPlayerBar .previewChapter--sync:hover:not(:disabled){background-color:#d0893b}.previewPlayerBar .previewChapter--live,.previewPlayerBar .previewChapter--live:hover:not(:disabled){background-color:#2f9d6a}.previewPlayerBar .previewChapter--standup,.previewPlayerBar .previewChapter--standup:hover:not(:disabled){background-color:#6b7c93}.previewPlayerBar .previewCorrectionMarker{border:1.5px solid #fff;border-radius:50%;width:18px;height:18px;min-height:0;padding:0;display:grid;position:absolute}.previewPlayerBar .previewCorrectionMarker--cover,.previewPlayerBar .previewCorrectionMarker--cover:hover:not(:disabled){background:#4f8fdb}.previewPlayerBar .previewCorrectionMarker--sync,.previewPlayerBar .previewCorrectionMarker--sync:hover:not(:disabled){background:#d0893b}.previewPlayerBar .previewCorrectionMarker--live,.previewPlayerBar .previewCorrectionMarker--live:hover:not(:disabled){background:#2f9d6a}.previewPlayerBar .previewCorrectionMarker--standup,.previewPlayerBar .previewCorrectionMarker--standup:hover:not(:disabled){background:#6b7c93}.scriptSourceToolBar .markerGlyph{font-size:18px;font-weight:600;line-height:1;display:inline}.scriptSourceToolBar button.recognizeRange{border:1px solid rgba(var(--accent-rgb), .24);background:var(--surface);color:var(--accent-dark)}.scriptSourceToolBar button.recognizeRange:hover:not(:disabled){border-color:rgba(var(--accent-rgb), .4);background:var(--accent-soft)}.scriptSourceToolBar .spin{animation:.9s linear infinite speechTranscriptionSpin}.scriptSourcePreview .scriptSourceRecognitionProgress,.scriptSourcePreview .scriptSourceRecognitionError{margin:5px 0 0}.scriptSourceRecognitionError{align-items:center;gap:7px;font-size:10px;display:flex}.scriptSourceTranscript{max-height:none}.scriptSourceTranscriptBody{flex:none;min-height:95px;padding:14px 16px 18px;position:relative;overflow-y:visible}.scriptSourceTranscriptBody p{color:var(--ink);-webkit-user-select:text;user-select:text;margin:0;font-size:14px;font-weight:570;line-height:1.82}.scriptSourceTranscriptBody p span{border-radius:3px;transition:background .12s,color .12s;position:relative}.scriptSourceTranscriptBody p span.current:before{background:var(--accent);content:"";border-radius:2px;width:2px;position:absolute;top:-2px;bottom:-2px;left:-2px}.scriptSourceTranscriptBody p span.current{color:var(--accent-dark)}.scriptSourceTranscriptBody p span.selected{background:var(--ok-soft)}.scriptSourceTranscriptBody p span.marked{background:rgba(var(--accent-rgb), .18);box-shadow:inset 0 -2px 0 var(--accent)}.scriptSourceTranscriptEmpty{height:100%;min-height:95px;color:var(--muted);text-align:center;justify-content:center;align-items:center;gap:8px;font-size:11px;font-weight:650;display:flex}.scriptSourceSelectionMenu{z-index:4;border:1px solid rgba(var(--accent-rgb), .2);background:var(--surface);border-radius:7px;gap:2px;padding:3px;display:flex;position:absolute;box-shadow:0 10px 26px #1d263329}.scriptSourceSelectionMenu button{min-height:28px;color:var(--accent-dark);font:inherit;background:0 0;border:0;border-radius:5px;align-items:center;gap:6px;padding:0 8px;font-size:10px;font-weight:700;display:inline-flex}.scriptSourceSelectionMenu button:hover,.scriptSourceSelectionMenu>button:last-child{background:var(--accent-soft)}.scriptSourceSelectionPlayback{gap:2px;display:flex}.scriptSourceSelectionPlayback button{justify-content:center;width:28px;padding:0}.scriptSourceParts{border:1px solid var(--line);background:var(--panel-2);border-radius:8px;flex-direction:column;min-height:0;display:flex;overflow:visible}.scriptSourcePartsList{flex:none;min-height:0;padding:6px;overflow-y:visible}.scriptSourcePartsList article{background:var(--surface);border-radius:6px;grid-template-columns:23px minmax(0,1fr) 24px;align-items:start;gap:7px;padding:8px 6px;display:grid}.scriptSourcePartsList article+article{margin-top:5px}.scriptSourcePartOrder{grid-template-rows:23px minmax(0,1fr) 23px;align-self:stretch;justify-items:center;gap:0;display:grid}.scriptSourcePartOrder button:last-child{grid-row:3}.scriptSourcePartOrder button,.scriptSourcePartActions button{width:23px;height:23px;color:var(--muted);background:0 0;border:0;border-radius:4px;place-items:center;padding:0;display:grid}.scriptSourcePartOrder button:hover:not(:disabled),.scriptSourcePartActions button:hover:not(:disabled){background:var(--panel-2);color:var(--accent-dark)}.scriptSourcePartsList article>div:nth-child(2){gap:2px;min-width:0;display:grid}.scriptSourcePartsList b{color:var(--accent-dark);font-variant-numeric:tabular-nums;font-size:10px}.scriptSourcePartsList small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;font-weight:600;line-height:1.25;display:block;overflow:hidden}.scriptSourcePartsList p{color:var(--ink);margin:1px 0 0;font-size:10px;font-weight:600;line-height:1.35}.scriptSourcePartActions{grid-template-columns:23px;gap:2px;display:grid}.scriptSourcePartsEmpty{min-height:0;color:var(--muted);text-align:center;flex:auto;align-content:center;justify-items:center;gap:5px;padding:22px;display:grid}.scriptSourcePartsEmpty b{color:var(--ink);font-size:11px}.scriptSourceComparison{background:#3085590b;border:1px solid #30855929;border-radius:6px;flex:none;margin:6px}.scriptSourcePartsHint{border-top:1px solid var(--line);color:var(--muted);flex:none;gap:3px;margin-top:auto;padding:9px 11px 10px;font-size:9px;font-weight:600;line-height:1.35;display:grid}.scriptSourceComparison.close,.scriptSourceComparison.different{background:#b56b000b;border-color:#b56b002e}.scriptSourceComparison>button{color:#23764c;width:100%;min-height:32px;font:inherit;text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;gap:8px;padding:6px 8px;font-size:9px;font-weight:700;display:flex}.scriptSourceComparison.close>button,.scriptSourceComparison.different>button{color:#9b620f}.scriptSourceComparison>button b{color:var(--accent-dark);font-size:9px}.scriptSourceComparison>button:disabled{cursor:default;opacity:1}.scriptSourceComparison>div{gap:5px;padding:0 6px 6px;display:grid}.scriptSourceComparison p{background:var(--surface);max-height:92px;color:var(--ink);border-radius:5px;gap:2px;margin:0;padding:6px;font-size:9px;line-height:1.4;display:grid;overflow-y:auto}.scriptSourceComparison p b{color:var(--muted);text-transform:uppercase;font-size:8px}.timelineSelectedRange{z-index:6;pointer-events:none;background:#39a9f5;border-radius:2px;min-width:4px;height:5px;position:absolute;top:9px;bottom:auto;box-shadow:0 0 0 1px #ffffffe6,0 2px 5px #09568e80}.rangeTone-picture .timelineSelectedRange{background:var(--ok);box-shadow:0 0 0 1px #ffffffe6, 0 2px 5px var(--ok)}@supports (color:color-mix(in lab, red, red)){.rangeTone-picture .timelineSelectedRange{box-shadow:0 0 0 1px #ffffffe6, 0 2px 5px color-mix(in srgb, var(--ok) 52%, transparent)}}.rangeTone-picture .timelineRange{background:var(--ok)}@supports (color:color-mix(in lab, red, red)){.rangeTone-picture .timelineRange{background:color-mix(in srgb, var(--ok) 16%, transparent)}}.rangeTone-picture .timelineRange{outline-color:var(--ok)}@supports (color:color-mix(in lab, red, red)){.rangeTone-picture .timelineRange{outline-color:color-mix(in srgb, var(--ok) 38%, transparent)}}.rangeTone-picture .timelineEditMarker:before{color:var(--ok)}.editableRange .timelineRange{z-index:1}.timelineEditMarker{z-index:7;pointer-events:none;width:1px;height:18px;position:absolute;top:50%;transform:translate(-50%,-50%)}.timelineEditMarker:before{color:var(--accent);text-shadow:-1px 0 #fff,0 1px #fff,1px 0 #fff,0 -1px #fff,0 2px 4px #0a0e146b;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:18px;font-weight:700;line-height:1;position:absolute;top:50%;left:50%;transform:translate(-50%,-53%)}.timelineEditMarker.in:before{content:"{"}.timelineEditMarker.out:before{content:"}"}.timelineFill,.timelineThumb{z-index:3}.timelineThumb{z-index:5}@media (max-width:860px){.modal.scriptSourcePickerModal{height:auto}.scriptSourceWorkspace{grid-template-columns:minmax(0,1fr) minmax(290px,38%)}.scriptSourcePreview .fileMediaPlayer video{max-height:none}}@media (max-width:680px){.scriptSourceWorkspace{grid-template-columns:1fr;overflow-y:visible}.scriptSourceParts{min-height:210px}.scriptSourceToolBar button span{display:none}.scriptSourceToolBar button.markerButton .markerGlyph{display:inline}}.qgatePage{gap:20px;width:min(960px,100%);margin:0 auto;padding:28px 20px 48px;display:grid}.qgatePage.qgateMapPage{--map-px:calc(100vw / 1920);--map-card:296;width:auto;max-width:none;padding:calc(28 * var(--map-px)) calc(20 * var(--map-px)) calc(48 * var(--map-px))}.qgateMapBoard{padding:calc(12 * var(--map-px)) calc(20 * var(--map-px)) calc(40 * var(--map-px)) 0;overflow:auto}.qgateMapCanvas{align-items:flex-start;gap:calc(64 * var(--map-px));width:max-content;min-width:100%;display:flex;position:relative}.qgateMapArrows{pointer-events:none;z-index:4;shape-rendering:geometricprecision;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.qgateMapArrows path{fill:none;stroke:currentColor;stroke-width:calc(2.4 * var(--map-px));stroke-linecap:round;stroke-linejoin:round}.qgateMapArrows polygon{fill:currentColor;stroke:none}.qgateMapLayout{grid-template-columns:calc(var(--map-card) * var(--map-px)) minmax(0, 1fr);align-items:start;gap:calc(28 * var(--map-px));display:grid}.qgateMapShots{z-index:2;width:calc(var(--map-card) * var(--map-px));gap:calc(16 * var(--map-px));flex-direction:column;flex:none;margin:0;padding:0;list-style:none;display:flex;position:relative}.qgateMapShots:hover,.qgateMapShots:focus-within{z-index:30}.qgateMapShot{gap:calc(6 * var(--map-px));width:calc(var(--map-card) * var(--map-px));flex-direction:column;display:flex;position:relative;overflow:visible}.qgateMapShot.isPreviewing{z-index:20}.qgateMapShotMedia{aspect-ratio:16/9;width:100%;position:relative;overflow:visible}.qgateMapShotFrame{border:calc(1 * var(--map-px)) solid var(--line);border-radius:calc(4 * var(--map-px));background:#12151a;position:absolute;inset:0;overflow:hidden}.qgateMapShotId{appearance:none;width:100%;color:var(--muted);font:inherit;font-size:calc(11 * var(--map-px));letter-spacing:.01em;text-align:left;white-space:nowrap;text-overflow:ellipsis;-webkit-user-select:all;user-select:all;cursor:pointer;background:0 0;border:0;margin:0;padding:0;font-weight:500;line-height:1.3;display:block;overflow:hidden}.qgateMapShotId:hover,.qgateMapShotId:focus-visible{color:var(--ink);outline:none}.qgateMapStill,.qgateMapStillPlaceholder{object-fit:cover;width:100%;height:100%;display:block}.qgateMapStillPlaceholder{background:linear-gradient(180deg, #ffffff0a, transparent 40%), repeating-linear-gradient(-45deg, transparent, transparent calc(8 * var(--map-px)), #ffffff08 calc(8 * var(--map-px)), #ffffff08 calc(9 * var(--map-px)))}.qgateMapBox{box-sizing:border-box;border-width:calc(1.5 * var(--map-px));cursor:pointer;appearance:none;min-width:0;min-height:0;box-shadow:0 0 0 calc(1 * var(--map-px)) #00000059;z-index:4;background:0 0;border-style:solid;padding:0;position:absolute}.qgateMapBox.isEntity{z-index:4}.qgateMapBox.isFace{z-index:8}.qgateMapBox:hover,.qgateMapBox:focus-visible{background:#ffffff80;outline:none}.qgateMapBox.isLinked{cursor:default;border-color:#0000}.qgateMapBoxAnts{pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.qgateMapBoxAnts rect{fill:none;stroke:currentColor;stroke-width:calc(1.5 * var(--map-px));stroke-dasharray:calc(6 * var(--map-px)) calc(4 * var(--map-px));vector-effect:non-scaling-stroke;shape-rendering:geometricprecision;animation:.45s linear infinite qgateMapAnts}@keyframes qgateMapAnts{to{stroke-dashoffset:calc(-10 * var(--map-px))}}@media (prefers-reduced-motion:reduce){.qgateMapBoxAnts rect{animation:none}}.qgateMapCrop{top:0;left:calc(100% + (10 * var(--map-px)));z-index:30;pointer-events:none;height:100%;position:absolute;overflow:visible}.qgateMapCropStat{top:calc(100% + (6 * var(--map-px)));padding:calc(3 * var(--map-px)) calc(7 * var(--map-px));color:currentColor;font-size:calc(12 * var(--map-px));white-space:nowrap;border-radius:calc(4 * var(--map-px));background:#ffffffd1;margin:0;font-weight:600;line-height:1.25;position:absolute;left:0}.qgateMapPage .qgateHeader h1{font-size:calc(30.8 * var(--map-px))}.qgateMapSubhead{margin:calc(6 * var(--map-px)) 0 0;color:var(--muted);font-size:calc(15 * var(--map-px));line-height:1.35}.qgateMapCropMedia{border-radius:calc(4 * var(--map-px));width:100%;height:100%;box-shadow:0 0 0 calc(1 * var(--map-px)) #00000038, 0 calc(2 * var(--map-px)) calc(6 * var(--map-px)) #00000024;background:#12151a;position:relative;overflow:hidden}.qgateMapCropStill{object-fit:cover;max-width:none;display:block;position:absolute}.qgateMapCropMark{width:calc(28 * var(--map-px));height:calc(28 * var(--map-px));box-sizing:border-box;filter:drop-shadow(0 0 calc(1 * var(--map-px)) #000000d9);border:0 solid;position:absolute}.qgateMapCropMark.isTl{top:calc(-2 * var(--map-px));left:calc(-2 * var(--map-px));border-top-width:calc(4 * var(--map-px));border-left-width:calc(4 * var(--map-px));border-top-left-radius:calc(6 * var(--map-px))}.qgateMapCropMark.isTr{top:calc(-2 * var(--map-px));right:calc(-2 * var(--map-px));border-top-width:calc(4 * var(--map-px));border-right-width:calc(4 * var(--map-px));border-top-right-radius:calc(6 * var(--map-px))}.qgateMapCropMark.isBl{bottom:calc(-2 * var(--map-px));left:calc(-2 * var(--map-px));border-bottom-width:calc(4 * var(--map-px));border-left-width:calc(4 * var(--map-px));border-bottom-left-radius:calc(6 * var(--map-px))}.qgateMapCropMark.isBr{bottom:calc(-2 * var(--map-px));right:calc(-2 * var(--map-px));border-bottom-width:calc(4 * var(--map-px));border-right-width:calc(4 * var(--map-px));border-bottom-right-radius:calc(6 * var(--map-px))}.qgateMapLegend{gap:calc(8 * var(--map-px));padding-top:calc(2 * var(--map-px));color:var(--muted);font-size:calc(13 * var(--map-px));display:grid}.qgateMapLegend p{align-items:center;gap:calc(8 * var(--map-px));margin:0;display:flex}.qgateMapSwatch{width:calc(14 * var(--map-px));height:calc(10 * var(--map-px));border:calc(1.5 * var(--map-px)) solid currentColor;border-radius:calc(2 * var(--map-px));display:inline-block}.qgateMapSwatch.isFace{color:#df8116}.qgateMapSwatch.isEntity{color:#298e99}@media (max-width:640px){.qgateMapLayout{grid-template-columns:calc(var(--map-card) * var(--map-px))}}.qgateHeader{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.qgateMapPage .qgateHeader{gap:calc(16 * var(--map-px))}.qgateMapToolbar{align-items:flex-end;gap:calc(12 * var(--map-px));flex-shrink:0;display:flex}.qgateMapToolbar .primary,.qgateMapToolbar .secondary{min-height:calc(36 * var(--map-px));padding:0 calc(14 * var(--map-px));font-size:calc(13 * var(--map-px));border-radius:calc(8 * var(--map-px));white-space:nowrap}.qgateMapProgress{gap:calc(6 * var(--map-px));min-width:calc(248 * var(--map-px));display:grid}.qgateMapProgressLabel{color:var(--muted);font-size:calc(12 * var(--map-px));margin:0;line-height:1.3}.qgateMapProgressTrack{height:calc(8 * var(--map-px));background:#0f172a14;border-radius:999px;overflow:hidden}.qgateMapProgressFill{border-radius:inherit;background:linear-gradient(90deg,#0f766e,#2563eb);height:100%;transition:width .22s;display:block}.qgateMapSort{gap:calc(4 * var(--map-px));color:var(--muted);font-size:calc(12 * var(--map-px));display:grid}.qgateMapSort select{min-width:calc(248 * var(--map-px));min-height:calc(36 * var(--map-px))}.qgateMapSize{gap:calc(4 * var(--map-px));color:var(--muted);font-size:calc(12 * var(--map-px));display:grid}.qgateMapSizeControl{align-items:center;gap:calc(8 * var(--map-px));min-height:calc(36 * var(--map-px));display:flex}.qgateMapSize input[type=range]{width:calc(140 * var(--map-px));height:calc(16 * var(--map-px));min-height:0;accent-color:var(--accent);box-shadow:none;background:0 0;border:0;margin:0;padding:0}.qgateMapSize input[type=range]:focus,.qgateMapSize input[type=range]:focus-visible{box-shadow:none;border:0;outline:none}.qgateMapSizeValue{min-width:calc(28 * var(--map-px));color:var(--ink);font-variant-numeric:tabular-nums}.qgateHeader h1,.qgateProject h2{margin:0}.qgateHeader p,.qgateEmpty,.qgatePreviewMeta small{color:var(--muted);margin:6px 0 0}.qgateError{color:#b42318;margin:0;font-weight:600}.qgateList{gap:18px;display:grid}.qgateProject{border:1px solid var(--line);background:var(--surface-strong);border-radius:8px;gap:12px;padding:16px;display:grid}.qgatePreviewList{gap:12px;display:grid}.qgatePreviewRow{border:1px solid var(--line);background:var(--bg);border-radius:6px;gap:12px;padding:12px;display:grid}.qgatePreviewTop{justify-content:space-between;align-items:center;gap:12px;display:flex}.qgatePreviewActions{align-items:center;gap:8px;display:flex}.qgateFileInput{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.qgateIconButton{border:1px solid var(--line);background:var(--surface-strong);width:40px;height:40px;color:inherit;cursor:pointer;border-radius:8px;place-items:center;padding:0;display:grid}.qgateIconButton:hover:not(:disabled){border-color:rgba(var(--accent-rgb), .55);background:rgba(var(--accent-rgb), .08)}.qgateIconButton:disabled{opacity:.5;cursor:not-allowed}.qgatePreviewMeta{gap:4px;display:grid}.qgateVideoPreview{overflow:hidden}.qgateVideoHud{z-index:3;pointer-events:none;justify-items:start;gap:6px;display:grid;position:absolute;top:14px;left:14px}.qgateSyncBadge{color:#fff;letter-spacing:.01em;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#080a108c;border:1px solid #ffffff47;border-radius:8px;padding:6px 10px;font-size:13px;font-weight:700;line-height:1.2}.qgateLevelMeter{color:#fff;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#080a108c;border:1px solid #ffffff38;border-radius:8px;align-items:center;gap:8px;padding:6px 8px;display:flex}.qgateLevelTrack{background:#ffffff2e;border-radius:999px;width:88px;height:3px;display:block;position:relative;overflow:hidden}.qgateLevelFill{border-radius:inherit;background:#7dd3fc;position:absolute;inset:0 auto 0 0}.qgateLevelDb{font-variant-numeric:tabular-nums;white-space:nowrap;min-width:4.6em;font-size:12px;font-weight:700;line-height:1}.qgateVideoPreview .playerBar{grid-template-columns:auto 1fr auto}.qgatePlayerTimes{color:var(--muted);font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1;white-space:nowrap;grid-template-columns:11ch auto 11ch;align-items:center;column-gap:6px;font-size:13px;font-weight:700;display:grid}.qgatePlayerTimes time{width:11ch;min-width:11ch;color:inherit;font-size:inherit;font-weight:inherit;font-variant-numeric:inherit;font-feature-settings:inherit;text-align:right;font-family:ui-monospace,Cascadia Mono,Segoe UI Mono,SF Mono,Menlo,Consolas,monospace;line-height:1;display:block}.qgatePlayerTimes time:last-of-type{text-align:left}.qgatePlayerTimes span{opacity:.55}.qgatePlayerControls{align-items:center;gap:6px;display:flex}.qgateFrameButton{border:1px solid var(--line);width:34px;height:34px;color:var(--ink);background:#fff;border-radius:50%;place-items:center;line-height:0;display:inline-grid}.qgateFrameButton:hover{border-color:rgba(var(--accent-rgb), .45);color:var(--accent)}.qgateFrameButton svg{display:block}.qgateProgress,.qgateResult{min-width:0}.qgateProgress{gap:6px;display:grid}.qgateProgressTrack{background:#0f172a14;border-radius:999px;height:8px;overflow:hidden}.qgateProgressFill{border-radius:inherit;background:linear-gradient(90deg,#0f766e,#2563eb);height:100%;transition:width .22s}.qgateResult{border:1px solid var(--line);border-radius:8px;gap:12px;padding:14px;display:grid}.qgateResultOk{background:#10b98114}.qgateResultBad{background:#f43f5e0f}.qgateResultHead{gap:4px;display:grid}.qgateResultHead b{font-size:16px}.qgateResultHead small{color:var(--muted)}.qgateHighlights,.qgateIssues{border-radius:8px;padding:12px 14px}.qgateHighlights{background:#10b98124;border:1px solid #10b98159}.qgateIssues{background:#f43f5e1f;border:1px solid #f43f5e59}.qgateIssues h3,.qgateHighlights h3{text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin:0 0 8px;font-size:13px}.qgateHighlights h3{color:#067647}.qgateIssues h3{color:#b42318}.qgateIssues ol,.qgateHighlights ul{gap:8px;margin:0;padding-left:18px;display:grid}.qgateHighlights li{color:#05603a}.qgateIssues li{gap:2px;display:grid}.qgateIssue.isSeekable button{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:#0f172a08;border:1px solid #0000;border-radius:6px;gap:2px;margin:0;padding:8px 10px;display:grid}.qgateIssue.isSeekable button:hover{background:#2563eb14;border-color:#2563eb}.qgateIssue.isSeekable em{color:#2563eb;font-size:12px;font-style:normal}.qgateIssues li.isError strong{color:#b42318}.qgateIssues li.isWarning strong{color:#b54708}
