:root { --studio-bg:#070b16; --studio-panel:#0d1425; --studio-panel2:#111d35; --studio-panel3:#152440; --studio-line:rgba(181,201,239,.13); --studio-line-gold:rgba(212,168,67,.34); --studio-gold:#d4a843; --studio-gold-hi:#f1ca6c; --studio-ink:#f0f3fb; --studio-muted:#98a6c2; --studio-good:#71c99a; --studio-bad:#ff8c91; --studio-warn:#ffd56f; }
* { box-sizing:border-box; }
body { background:radial-gradient(900px 620px at 88% -15%,rgba(212,168,67,.11),transparent 66%),radial-gradient(800px 500px at -10% 100%,rgba(31,66,135,.22),transparent 70%),var(--studio-bg); }
button,input,textarea,select { font:inherit; }
[hidden] { display:none !important; }
button { touch-action:manipulation; }
.studio-shell { min-height:100vh; max-width:1660px; margin:0 auto; padding:0 24px; }
.studio-header { height:68px; border-bottom:1px solid var(--studio-line); display:flex; align-items:center; gap:26px; }
.studio-brand { display:flex; align-items:center; gap:10px; text-decoration:none; color:var(--studio-ink); white-space:nowrap; }
.studio-brand b { display:block; font-family:Georgia, 'Times New Roman', serif; letter-spacing:.02em; font-size:17px; }
.studio-brand small { display:block; color:var(--studio-muted); text-transform:uppercase; letter-spacing:.16em; font-size:9px; margin-top:2px; }
.brand-mark { display:flex; align-items:center; gap:3px; color:var(--studio-gold); font-size:11px; }
.brand-mark i { width:23px; height:2px; display:block; background:var(--studio-gold); }
.utility-nav { display:flex; gap:16px; align-items:center; }
.utility-nav a,.rail-bottom a { color:var(--studio-muted); font-size:12px; text-decoration:none; transition:color .18s ease; }
.utility-nav a:hover,.rail-bottom a:hover { color:var(--studio-gold-hi); }
.account-area { margin-left:auto; display:flex; gap:8px; align-items:center; color:var(--studio-muted); font-size:12px; min-width:0; }
.connection-dot { width:7px; height:7px; border-radius:99px; background:#8a95ad; box-shadow:0 0 0 3px rgba(138,149,173,.12); }
.connection-dot.live { background:var(--studio-good); box-shadow:0 0 0 3px rgba(113,201,154,.12); }
.connection-dot.offline { background:var(--studio-bad); box-shadow:0 0 0 3px rgba(255,140,145,.12); }
.startup-screen,.auth-screen { min-height:calc(100vh - 69px); }
.startup-screen { max-width:720px; padding:20vh 0 0 10vw; }
.gold-rule { width:64px; height:2px; background:var(--studio-gold); margin-bottom:24px; }
.eyebrow { margin:0 0 8px; color:var(--studio-gold); text-transform:uppercase; letter-spacing:.18em; font-size:10px; font-weight:800; }
h1,h2,h3,p { margin-top:0; }
.startup-screen h1,.auth-card h1 { margin:0 0 14px; font:clamp(36px,6vw,72px)/.98 Georgia, 'Times New Roman', serif; letter-spacing:-.045em; }
.startup-screen em,.auth-card em,.project-empty em { font-style:normal; color:var(--studio-gold); }
.startup-screen p:not(.eyebrow) { color:var(--studio-muted); font-size:15px; }
.auth-screen { display:grid; grid-template-columns:minmax(270px,1fr) minmax(420px,680px) minmax(230px,.7fr); gap:42px; align-items:center; padding:6vh 6vw; }
.auth-orbit { color:var(--studio-gold); align-self:start; margin-top:12vh; display:flex; align-items:center; gap:8px; letter-spacing:.16em; font:11px ui-monospace,monospace; }
.auth-orbit i { width:clamp(48px,9vw,150px); height:1px; background:var(--studio-line-gold); }
.auth-card { padding:52px clamp(20px,5vw,72px); border-left:1px solid var(--studio-line-gold); background:linear-gradient(130deg,rgba(19,32,59,.78),rgba(8,12,23,.5)); box-shadow:0 28px 90px rgba(0,0,0,.2); }
.auth-card>p:not(.eyebrow) { max-width:510px; color:#c5cde0; font-size:16px; line-height:1.6; }
.studio-btn { border:1px solid rgba(212,168,67,.42); color:var(--studio-ink); background:rgba(18,30,54,.74); border-radius:8px; min-height:38px; padding:8px 14px; cursor:pointer; font-size:13px; font-weight:650; transition:transform .18s ease,border-color .18s ease,background .18s ease,opacity .18s ease; }
.studio-btn:hover:not(:disabled) { transform:translateY(-1px); border-color:var(--studio-gold-hi); background:rgba(26,43,75,.96); }
.studio-btn.primary { background:var(--studio-gold); color:#171209; border-color:var(--studio-gold); }
.studio-btn.primary:hover:not(:disabled) { background:var(--studio-gold-hi); }
.studio-btn.ghost { background:transparent; border-color:var(--studio-line); color:var(--studio-muted); }
.studio-btn.compact { min-height:31px; padding:5px 10px; font-size:11px; }
.studio-btn:disabled,.icon-btn:disabled { cursor:not-allowed; opacity:.42; transform:none; }
.fine-print,.subtle { color:var(--studio-muted); font-size:12px; line-height:1.48; }
.auth-card .studio-btn { margin:12px 0 5px; }
.local-links { display:flex; flex-wrap:wrap; gap:13px; margin-top:18px; }
.local-links a { color:var(--studio-gold); font-size:12px; }
.auth-notes { border-left:1px solid var(--studio-line); padding-left:22px; display:grid; gap:24px; }
.auth-notes div { display:grid; gap:5px; }
.auth-notes b { font-size:12px; color:var(--studio-ink); }
.auth-notes span { color:var(--studio-muted); font-size:12px; line-height:1.45; }
.studio-workspace { display:grid; grid-template-columns:238px minmax(0,1fr); min-height:calc(100vh - 69px); }
.project-rail { border-right:1px solid var(--studio-line); padding:22px 16px 16px 0; display:flex; flex-direction:column; min-height:calc(100vh - 69px); }
.rail-top { display:flex; align-items:flex-start; justify-content:space-between; margin-bottom:16px; }
.rail-top h2 { font:600 22px/1 Georgia,serif; letter-spacing:-.03em; margin:0; }
.icon-btn { min-width:31px; height:31px; display:inline-grid; place-items:center; border-radius:7px; border:1px solid var(--studio-line); color:var(--studio-gold); background:transparent; font-size:18px; line-height:1; cursor:pointer; transition:border-color .18s,background .18s; }
.icon-btn:hover:not(:disabled) { border-color:var(--studio-gold); background:rgba(212,168,67,.08); }
.icon-btn.danger { color:var(--studio-bad); }
.project-search { width:100%; height:34px; border:1px solid var(--studio-line); border-radius:7px; background:rgba(5,10,21,.8); color:var(--studio-ink); padding:0 10px; margin-bottom:10px; font-size:12px; }
.project-search:focus,.field input:focus,.field select:focus,.field textarea:focus,.inline-field select:focus { outline:2px solid rgba(212,168,67,.28); outline-offset:1px; border-color:var(--studio-gold); }
.project-list { display:grid; align-content:start; gap:3px; overflow:auto; min-height:80px; }
.project-card { border:1px solid transparent; background:transparent; border-radius:7px; padding:10px; text-align:left; color:var(--studio-ink); cursor:pointer; width:100%; display:grid; gap:4px; transition:background .18s,border-color .18s; }
.project-card:hover { background:rgba(151,171,214,.07); }
.project-card.active { background:linear-gradient(90deg,rgba(212,168,67,.12),rgba(212,168,67,.03)); border-color:rgba(212,168,67,.22); }
.project-card strong { font-size:12px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.project-card small { color:var(--studio-muted); font-size:10px; }
.empty-rail { color:var(--studio-muted); font-size:12px; padding:10px; line-height:1.5; }
.rail-bottom { margin-top:auto; padding:16px 9px 2px; border-top:1px solid var(--studio-line); display:grid; gap:9px; }
.workbench { min-width:0; padding:0 clamp(18px,3.2vw,52px) 40px; }
.project-bar { min-height:90px; display:flex; align-items:center; justify-content:space-between; gap:16px; border-bottom:1px solid var(--studio-line); }
.project-title-wrap { min-width:0; }
.project-title-wrap .eyebrow { margin-bottom:3px; }
.project-title-wrap h1 { margin:0; font:600 clamp(22px,2.5vw,32px)/1.05 Georgia,serif; letter-spacing:-.035em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:68vw; }
.save-state { color:var(--studio-muted); font-size:10px; }
.save-state.is-dirty { color:var(--studio-warn); }.save-state.is-saving { color:var(--studio-gold); }.save-state.is-error { color:var(--studio-bad); }
.project-actions { display:flex; gap:8px; flex-shrink:0; }
.stage-nav { height:58px; display:flex; border-bottom:1px solid var(--studio-line); overflow-x:auto; scrollbar-width:none; }
.stage-nav button { border:0; background:transparent; color:var(--studio-muted); padding:0 18px 0 0; margin-right:18px; cursor:pointer; font-size:12px; white-space:nowrap; position:relative; }
.stage-nav button span { color:#596681; font-size:10px; margin-right:6px; letter-spacing:.1em; }
.stage-nav button.active { color:var(--studio-ink); }.stage-nav button.active span { color:var(--studio-gold); }
.stage-nav button.active::after { content:""; position:absolute; height:2px; background:var(--studio-gold); left:0; right:18px; bottom:0; }
.project-empty { padding:13vh 3vw 0; max-width:780px; }
.project-empty h2 { font:clamp(30px,4vw,50px)/1.04 Georgia,serif; letter-spacing:-.04em; margin:0 0 14px; }.project-empty p:not(.eyebrow) { color:var(--studio-muted); line-height:1.6; max-width:600px; }.project-empty .studio-btn { margin-top:12px; }
.stage-panel { padding:30px 0; max-width:1180px; }.panel-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; margin-bottom:25px; }.panel-heading h2 { margin:0 0 6px; font:600 clamp(26px,3vw,35px)/1 Georgia,serif; letter-spacing:-.035em; }.panel-heading p:not(.eyebrow) { margin:0; max-width:650px; color:var(--studio-muted); font-size:13px; line-height:1.55; }
.format-badge,.time-readout { display:inline-flex; align-items:center; gap:5px; color:var(--studio-gold-hi); border:1px solid var(--studio-line-gold); background:rgba(212,168,67,.06); border-radius:99px; padding:6px 10px; white-space:nowrap; font-size:10px; font-weight:700; letter-spacing:.09em; text-transform:uppercase; }.time-readout { font:11px ui-monospace,monospace; letter-spacing:0; }
.editor-split { display:grid; grid-template-columns:minmax(0,1fr) minmax(220px,.55fr); gap:14px; }.field { display:grid; gap:7px; margin-bottom:15px; }.field>span { color:var(--studio-muted); text-transform:uppercase; letter-spacing:.14em; font-size:10px; font-weight:750; }.field input,.field textarea,.field select,.inline-field select { width:100%; color:var(--studio-ink); background:#0a1020; border:1px solid var(--studio-line); border-radius:7px; padding:10px 11px; min-height:38px; }.field textarea { resize:vertical; line-height:1.45; }.script-head { display:flex; justify-content:space-between; align-items:center; }.char-count { font:10px ui-monospace,monospace; color:var(--studio-muted); }.script-area { width:100%; padding:14px; border:1px solid var(--studio-line); border-radius:8px; color:#edf0f9; background:#090e1d; font:13px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; resize:vertical; }.script-area:focus { outline:2px solid rgba(212,168,67,.28); border-color:var(--studio-gold); }.save-row { display:flex; justify-content:space-between; align-items:center; gap:14px; margin-top:12px; }.save-row p { margin:0; }.beta-callout { display:grid; gap:5px; padding:12px 14px; border-left:2px solid var(--studio-gold); background:rgba(212,168,67,.055); color:var(--studio-muted); font-size:12px; line-height:1.45; margin-top:25px; }.beta-callout b { color:#f4dfaa; font-size:11px; text-transform:uppercase; letter-spacing:.1em; }.beta-callout.small { margin-top:18px; }.limits-note,.mapping-note { color:#bbc4d8; border:1px solid var(--studio-line); background:rgba(125,147,195,.055); padding:10px 12px; border-radius:7px; font-size:11px; line-height:1.48; margin:14px 0; }.mapping-note.warning { border-color:rgba(255,213,111,.35); color:var(--studio-warn); }.mapping-note.good { border-color:rgba(113,201,154,.35); color:#bde8cf; }
.upload-box { border:1px dashed rgba(212,168,67,.45); border-radius:10px; background:linear-gradient(135deg,rgba(212,168,67,.06),rgba(23,41,72,.1)); padding:18px; }.drop-target { width:100%; min-height:94px; display:grid; place-items:center; align-content:center; gap:8px; padding:18px; cursor:pointer; border:1px solid var(--studio-line); border-radius:7px; color:var(--studio-gold-hi); background:rgba(3,8,19,.42); }.drop-target strong { font-size:13px; }.drop-target span { color:var(--studio-muted); font-size:11px; }.consent-check,.toggle-line { display:flex; align-items:flex-start; gap:8px; color:#c5cde0; font-size:12px; line-height:1.45; margin-top:14px; }.consent-check input,.toggle-line input { accent-color:var(--studio-gold); margin-top:2px; }.upload-actions { margin-top:15px; display:flex; align-items:center; justify-content:space-between; gap:12px; }.upload-actions p { margin:0; }.asset-list { display:grid; gap:8px; margin-top:17px; }.asset-card { display:grid; grid-template-columns:42px minmax(0,1fr) auto; align-items:center; gap:12px; padding:10px 12px; border:1px solid var(--studio-line); border-radius:8px; background:rgba(13,20,37,.72); }.asset-icon { width:32px; height:32px; border-radius:6px; display:grid; place-items:center; font-size:10px; color:var(--studio-gold); background:rgba(212,168,67,.1); font-weight:800; }.asset-info { min-width:0; }.asset-info strong { display:block; font-size:12px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }.asset-info small { color:var(--studio-muted); font:10px ui-monospace,monospace; }.asset-actions { display:flex; gap:6px; }.asset-preview { grid-column:1/-1; width:100%; max-height:260px; border-radius:6px; background:#03060d; }
.editor-layout { display:grid; grid-template-columns:minmax(0,1fr) 270px; gap:20px; }.source-preview { width:100%; min-height:220px; max-height:440px; border:1px solid var(--studio-line); border-radius:9px; overflow:hidden; background:#03060d; display:grid; place-items:center; }.source-preview video { max-width:100%; max-height:438px; }.preview-placeholder { color:var(--studio-muted); font-size:12px; text-align:center; padding:25px; }.timeline-toolbar { display:flex; flex-wrap:wrap; align-items:end; gap:9px; margin:13px 0; }.inline-field { display:grid; gap:5px; flex:1; min-width:200px; color:var(--studio-muted); font-size:10px; letter-spacing:.12em; text-transform:uppercase; }.inline-field select { min-height:33px; font-size:12px; letter-spacing:0; text-transform:none; }.timeline-list { display:grid; gap:7px; }.segment-row { display:grid; grid-template-columns:25px minmax(0,1fr) 95px 95px auto; gap:7px; align-items:center; padding:8px; border:1px solid var(--studio-line); border-radius:7px; background:rgba(13,20,37,.58); }.segment-index { color:var(--studio-gold); font:11px ui-monospace,monospace; text-align:center; }.segment-row select,.segment-row input { width:100%; border:1px solid rgba(151,171,214,.18); background:#090f1d; color:var(--studio-ink); border-radius:5px; padding:7px; min-width:0; font-size:11px; }.segment-controls { display:flex; gap:4px; }.mini-btn { border:1px solid var(--studio-line); color:var(--studio-muted); border-radius:5px; background:transparent; min-width:25px; height:28px; cursor:pointer; }.mini-btn:hover:not(:disabled) { color:var(--studio-gold); border-color:var(--studio-line-gold); }.mini-btn.remove:hover:not(:disabled) { color:var(--studio-bad); border-color:rgba(255,140,145,.4); }.timeline-line { margin-top:16px; border-top:1px solid var(--studio-line-gold); position:relative; padding-top:8px; }.timeline-line>span { color:var(--studio-gold); font-size:10px; text-transform:uppercase; letter-spacing:.14em; }.timeline-ticks { display:flex; gap:2px; height:12px; margin-top:7px; }.timeline-ticks i { display:block; height:100%; min-width:4px; background:linear-gradient(90deg,var(--studio-gold),#8c6924); border-radius:2px; }.inspector { border-left:1px solid var(--studio-line); padding-left:20px; }.inspector h3,.subtitle-section h3,.export-card h3,.jobs-head h3,.runs-heading h3,.module-catalog h3 { margin:0 0 14px; font:600 17px Georgia,serif; letter-spacing:-.02em; }.inspector hr { border:0; border-top:1px solid var(--studio-line); margin:18px 0; }.inspector output { float:right; color:var(--studio-gold-hi); font:11px ui-monospace,monospace; }.subtitle-section { margin-top:28px; padding-top:22px; border-top:1px solid var(--studio-line); }.section-title { display:flex; justify-content:space-between; gap:14px; align-items:start; }.section-title h3 { margin-bottom:4px; }
.ai-layout { display:grid; grid-template-columns:260px minmax(0,1fr); gap:20px; }.module-catalog { border-right:1px solid var(--studio-line); padding-right:18px; }.catalog-title { display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }.text-btn { color:var(--studio-gold); background:transparent; border:0; padding:0; cursor:pointer; font-size:11px; }.module-item { border:1px solid transparent; border-radius:7px; background:transparent; display:grid; grid-template-columns:20px minmax(0,1fr) auto; gap:8px; align-items:start; padding:9px; width:100%; color:var(--studio-ink); text-align:left; cursor:pointer; }.module-item:hover { background:rgba(151,171,214,.06); }.module-item.selected { border-color:var(--studio-line-gold); background:rgba(212,168,67,.06); }.module-item input { accent-color:var(--studio-gold); margin-top:2px; }.module-item [data-select-module] { display:block; width:100%; padding:0; border:0; background:transparent; color:inherit; text-align:left; cursor:pointer; }.module-item strong { display:block; font-size:12px; }.module-item small { color:var(--studio-muted); font-size:10px; line-height:1.3; display:block; margin-top:3px; }.module-menu { display:flex; gap:3px; }.module-menu button { border:0; background:transparent; color:var(--studio-muted); padding:0 2px; cursor:pointer; font-size:13px; }.module-menu button:hover { color:var(--studio-gold); }.ai-config { padding:14px; border:1px solid var(--studio-line); border-radius:8px; background:rgba(13,20,37,.5); }.ai-run-row { display:flex; align-items:center; justify-content:space-between; gap:12px; }.ai-run-row span { margin:0; }.runs-heading { margin:22px 0 9px; display:flex; justify-content:space-between; align-items:center; gap:15px; }.runs-heading h3 { margin:0; }.runs-heading span { color:var(--studio-muted); font-size:10px; }.run-list { display:grid; gap:9px; }.run-card { border:1px solid var(--studio-line); border-radius:8px; background:rgba(10,16,31,.68); padding:12px; }.run-card header { display:flex; justify-content:space-between; gap:12px; align-items:start; }.run-card h4 { margin:0 0 3px; font-size:12px; }.run-card time { color:var(--studio-muted); font-size:10px; }.run-card .run-actions { display:flex; flex-wrap:wrap; gap:6px; margin-top:10px; }.markdown-result { margin:11px 0 0; padding:10px; max-height:250px; overflow:auto; background:#070b16; border-left:2px solid var(--studio-gold); color:#dce2f1; font-size:12px; line-height:1.55; white-space:pre-wrap; }.markdown-result h1,.markdown-result h2,.markdown-result h3 { font:600 15px Georgia,serif; margin:8px 0 5px; color:#f5dfab; }.markdown-result ul { margin:5px 0 5px 18px; padding:0; }.markdown-result p { margin:0 0 7px; }.empty-message { color:var(--studio-muted); font-size:12px; padding:14px; border:1px dashed var(--studio-line); border-radius:7px; }
.export-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }.export-card { border:1px solid var(--studio-line); border-radius:9px; background:rgba(13,20,37,.52); padding:15px; min-width:0; }.export-card h3 { margin-bottom:8px; }.export-card>p { min-height:38px; }.export-card .studio-btn { margin:5px 0 8px; }.cue-card { background:linear-gradient(145deg,rgba(212,168,67,.06),rgba(13,20,37,.5)); }.jobs-panel { margin-top:24px; border-top:1px solid var(--studio-line); padding-top:17px; }.jobs-head { display:flex; justify-content:space-between; align-items:start; gap:12px; }.jobs-head h3 { margin-bottom:0; }.job-panel-empty { border:1px dashed var(--studio-line); border-radius:7px; padding:15px; color:var(--studio-muted); font-size:12px; margin-top:10px; }.job-card { border:1px solid var(--studio-line); border-radius:8px; padding:13px; margin-top:10px; background:rgba(13,20,37,.58); }.job-top { display:flex; justify-content:space-between; gap:12px; align-items:center; }.job-top h4 { margin:0; font-size:13px; }.job-state { color:var(--studio-warn); font:10px ui-monospace,monospace; text-transform:uppercase; }.job-state.success { color:var(--studio-good); }.job-state.error { color:var(--studio-bad); }.job-progress { display:block; width:100%; height:5px; appearance:none; margin:11px 0; }.job-progress::-webkit-progress-bar { background:#071020; border-radius:6px; }.job-progress::-webkit-progress-value { background:var(--studio-gold); border-radius:6px; }.job-meta,.job-error { color:var(--studio-muted); font-size:11px; line-height:1.45; }.job-error { color:var(--studio-bad); }.job-actions { display:flex; flex-wrap:wrap; gap:6px; margin-top:10px; }
.studio-dialog { width:min(550px,calc(100vw - 24px)); border:1px solid var(--studio-line-gold); border-radius:10px; padding:0; background:#0d1527; color:var(--studio-ink); box-shadow:0 24px 90px rgba(0,0,0,.65); }.studio-dialog::backdrop { background:rgba(0,0,0,.7); backdrop-filter:blur(2px); }.studio-dialog form { padding:21px; }.dialog-head { display:flex; justify-content:space-between; align-items:start; gap:12px; margin-bottom:16px; }.dialog-head h2 { margin:0; font:600 27px Georgia,serif; letter-spacing:-.03em; }.dialog-actions { display:flex; justify-content:flex-end; gap:8px; margin-top:18px; }.form-error { color:var(--studio-bad); font-size:12px; min-height:18px; margin:4px 0; }
#toast { position:fixed; z-index:20; left:50%; bottom:20px; transform:translate(-50%,16px); background:#172440; color:var(--studio-ink); border:1px solid var(--studio-line-gold); border-radius:7px; padding:9px 13px; font-size:12px; opacity:0; pointer-events:none; transition:opacity .18s,transform .18s; max-width:min(500px,calc(100vw - 30px)); text-align:center; }.show-toast { opacity:1!important; transform:translate(-50%,0)!important; }
@media (max-width:1020px) { .auth-screen { grid-template-columns:1fr minmax(320px,600px); }.auth-notes { grid-column:2; }.auth-orbit { display:none; }.studio-workspace { grid-template-columns:200px minmax(0,1fr); }.editor-layout,.ai-layout { grid-template-columns:1fr; }.inspector,.module-catalog { border-left:0;border-right:0;border-top:1px solid var(--studio-line); padding:18px 0 0; }.export-grid { grid-template-columns:1fr 1fr; }.cue-card { grid-column:1/-1; } }
@media (max-width:720px) { .studio-shell { padding:0 13px; }.studio-header { height:57px; gap:14px; }.utility-nav { display:none; }.account-area { font-size:10px; }.auth-screen { display:block; padding:10vh 0; }.auth-card { padding:38px 22px; }.auth-notes { display:none; }.studio-workspace { display:block; }.project-rail { min-height:0; height:auto; padding:13px 0; border-right:0; border-bottom:1px solid var(--studio-line); }.rail-top { margin-bottom:9px; }.project-search { margin-bottom:7px; }.project-list { display:flex; overflow-x:auto; gap:6px; padding-bottom:3px; }.project-card { min-width:160px; border-color:var(--studio-line); }.rail-bottom { display:none; }.workbench { padding:0 0 30px; }.project-bar { min-height:75px; }.project-title-wrap h1 { max-width:58vw; }.stage-nav { height:49px; }.stage-nav button { padding-right:11px; margin-right:11px; font-size:11px; }.stage-nav button.active::after { right:11px; }.stage-panel { padding:23px 0; }.panel-heading { margin-bottom:18px; }.panel-heading h2 { font-size:28px; }.panel-heading .format-badge,.panel-heading .time-readout { display:none; }.editor-split,.export-grid { grid-template-columns:1fr; }.save-row,.upload-actions,.ai-run-row { align-items:flex-start; flex-direction:column; }.save-row .studio-btn,.upload-actions .studio-btn,.ai-run-row .studio-btn { width:100%; }.segment-row { grid-template-columns:22px minmax(0,1fr) 70px 70px; }.segment-controls { grid-column:2/-1; justify-content:flex-end; }.source-preview { min-height:190px; }.section-title { flex-direction:column; }.project-empty { padding:12vh 5vw 0; }.project-empty h2 { font-size:34px; }.jobs-head { align-items:center; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; transition-duration:.01ms!important; animation-duration:.01ms!important; } }

.script-source-tools { display:flex; flex-wrap:wrap; align-items:end; gap:10px; margin:18px 0; }
.script-source-tools .field { min-width:200px; flex:1; margin:0; }
.script-video-choice { padding:18px 0; border-top:1px solid var(--studio-line-gold); display:flex; gap:12px; flex-wrap:wrap; }
.script-video-choice p { flex-basis:100%; margin:0; }
.materials-record { display:flex; align-items:center; flex-wrap:wrap; gap:16px; margin:16px 0; color:var(--studio-muted); font-size:13px; }
#uploadProgress { width:100%; height:16px; accent-color:var(--studio-gold); margin:12px 0; }
.studio-recorder-dialog { position:fixed; inset:0; padding:12px; width:100vw; height:100dvh; max-width:100vw; max-height:100dvh; border:0; margin:0; color:var(--studio-ink); background:var(--studio-bg); }
.studio-recorder-dialog[open] { display:flex; flex-direction:column; gap:8px; }
.studio-recorder-dialog header { display:flex; justify-content:space-between; align-items:center; gap:8px; }
.studio-recorder-dialog p { margin:0; }
.studio-recorder-dialog iframe { width:100%; flex:1; min-height:0; border:1px solid var(--studio-line); border-radius:12px; background:var(--studio-bg); }
.efy-autoedit-card { margin-top:18px; border:1px solid var(--studio-line-gold); border-radius:10px; padding:16px; background:linear-gradient(135deg,rgba(212,168,67,.1),rgba(14,27,53,.76) 45%,rgba(13,20,37,.74)); }
.export-card.efy-autoedit-card { margin-top:0; }.efy-autoedit-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; margin-bottom:14px; }.efy-autoedit-heading h3 { margin:0; font:600 19px Georgia,serif; letter-spacing:-.02em; }.efy-autoedit-heading>span { color:var(--studio-gold-hi); border:1px solid var(--studio-line-gold); border-radius:999px; padding:5px 8px; font:10px ui-monospace,monospace; white-space:nowrap; }.efy-autoedit-options { display:grid; gap:0; margin:-4px 0 12px; }.efy-autoedit-options .toggle-line { margin-top:8px; }.efy-autoedit-action { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }.efy-autoedit-action p { margin:0; }.asset-actions .asset-autoedit { width:auto; min-width:0; height:auto; padding:5px 8px; color:var(--studio-gold-hi); border-color:var(--studio-line-gold); font-size:10px; white-space:nowrap; }.efy-job-result { margin-top:12px; padding:12px; border:1px solid rgba(113,201,154,.36); border-radius:7px; background:rgba(9,25,31,.45); }.efy-job-result h5 { margin:0 0 8px; color:#d9f1e2; font:600 15px Georgia,serif; }.efy-job-video { display:block; width:100%; max-height:460px; margin:9px 0 10px; border-radius:6px; background:#02050a; }.efy-job-result p { margin:7px 0 0; }.efy-review-notes { margin:9px 0 0; padding-left:18px; color:#c7d3df; font-size:11px; line-height:1.45; }.efy-review-notes li { margin:3px 0; }.efy-review-confirm { display:flex; align-items:flex-start; gap:8px; margin:11px 0 0; color:#dce6f5; font-size:11px; line-height:1.42; }.efy-review-confirm input { accent-color:var(--studio-gold); margin-top:2px; }.efy-job-result .studio-btn { margin-top:10px; }
@media(max-width:650px) { .script-source-tools .field { flex-basis:100%; } .script-video-choice button { flex:1 0 100%; } .studio-recorder-dialog { padding:6px; } .studio-recorder-dialog header b { font-size:12px; } }
