/* Approved Graphite workspace. Public surfaces retain their own light palette. */
body.studio-workspace-surface{
  --bg:#111317;--panel:#191c22;--text:#f0f2f7;--muted:#aab2c0;--accent:#94aeff;
  --surface:#242832;--soft:#202c49;--danger:#ffacb5;
  --paper:var(--bg);--card:var(--panel);--ink:var(--text);--line:#343b47;
  color-scheme:dark;background:var(--bg);color:var(--text);
}
.studio-workspace-surface body,.studio-workspace-surface #app{color:var(--text)}
body.studio-workspace-surface>header{position:sticky;top:0;z-index:60;height:56px;padding:0 24px;border-color:var(--line);background:var(--bg)}
.studio-workspace-surface .service-brand{gap:12px}
.studio-workspace-surface .service-brand .service-home{font-size:13px;font-weight:600}
.studio-workspace-surface .service-brand .aibu-logo{width:30px;height:30px;background:transparent}
.studio-workspace-surface .service-brand .aibu-logo::after{display:none}
.studio-workspace-surface .service-brand .aibu-logo>span{display:none}
.studio-workspace-surface .service-brand .aibu-logo img{width:30px;height:30px;object-fit:contain}
.studio-workspace-surface .account-trigger:hover,.studio-workspace-surface .account-trigger:focus-visible,.studio-workspace-surface .account-menu[open] .account-trigger{background:var(--panel)}
.studio-workspace-surface .account-popover{background:var(--panel);color:var(--text);border-color:var(--line)}
.studio-workspace-surface #app{max-width:none;width:auto;margin:0 0 0 76px;padding:0 24px 32px}
.studio-workspace-surface :is(button,input,textarea,select,.button){font:inherit;color:var(--text);background:var(--panel);border:1px solid var(--line);border-radius:5px;box-shadow:none}
.studio-workspace-surface :is(button,.button){min-height:36px;padding:8px 12px;cursor:pointer;font-weight:500}
.studio-workspace-surface :is(button,.button):hover:not(:disabled){background:#242a35;border-color:#63718d}
.studio-workspace-surface :is(button,.button).primary{background:var(--accent);color:#11182b;border-color:var(--accent);font-weight:650}
.studio-workspace-surface :is(button,.button).primary:hover:not(:disabled){background:#b0c3ff}
.studio-workspace-surface :is(button,input,textarea,select,a,summary):focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.studio-workspace-surface :is(button,input,textarea,select):disabled{opacity:.44;cursor:default}
.studio-workspace-surface :is(input,textarea,select){padding:10px 12px;max-width:100%}
.studio-workspace-surface textarea{line-height:1.6;resize:vertical}
.studio-workspace-surface :is(input,textarea)::placeholder{color:#929aab;opacity:1}
.studio-workspace-surface :is(a,.muted,small,.eyebrow){color:var(--muted)}
.studio-workspace-surface :is(h1,h2,h3,h4,strong,b){color:inherit}
.studio-workspace-surface :is(.card,.creative-section,.record-card,.creative-final-output,.creative-preset-disclosure,.creative-request-summary,.creative-progress-details){background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:7px;box-shadow:none}
.studio-workspace-surface :is(.notice,.creative-service-notice,.creative-pairwise-guidance){background:#202635;color:#c3cfec;border-color:#394861}
.studio-workspace-surface :is(.error,.status-message.error){color:#ffada8}
.studio-workspace-surface .studio-icon{width:20px;height:20px;flex:0 0 20px;vertical-align:middle}
.studio-workspace-surface .studio-workspace-rail{position:fixed;left:0;top:56px;bottom:0;z-index:55;display:flex;flex-direction:column;align-items:stretch;width:76px;margin:0;padding:16px 7px;gap:9px;border:0;border-right:1px solid var(--line);background:var(--bg);overflow-y:auto}
.studio-workspace-surface .studio-workspace-rail a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:60px;padding:8px 2px;border:1px solid transparent;border-radius:6px;font-size:10px;line-height:1.3;text-align:center;text-decoration:none;color:var(--muted);font-weight:500;white-space:normal}
.studio-workspace-surface .studio-workspace-rail a.active{background:#222a3c;border-color:#334363;color:#b8c9ff}
.studio-workspace-surface .studio-workspace-rail a:hover{background:var(--panel);color:var(--text)}
.studio-workspace-surface .studio-workspace-rail .studio-rail-home{margin-bottom:14px}
.studio-workspace-surface .studio-project-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:54px;margin:0 -24px 22px;padding:8px 24px;border-bottom:1px solid var(--line)}
.studio-workspace-surface .studio-project-heading>div:first-child{display:flex;align-items:center;gap:12px;min-width:0}
.studio-workspace-surface .studio-project-heading h1{margin:0;font-size:14px;line-height:1.4;max-width:440px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.studio-project-parent{font-size:12px;text-decoration:none;white-space:nowrap}
.studio-project-divider,.studio-project-client{color:var(--muted);font-size:11px}
.studio-project-client{max-width:240px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.studio-workspace-surface .project-lifecycle-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.studio-workspace-surface .project-lifecycle-actions button{font-size:11px;min-height:30px;padding:5px 8px}
.studio-workspace-surface .status-tag{background:#242b37;color:#c0cce6;border:1px solid var(--line);border-radius:4px;font-size:10px;padding:4px 7px}
.studio-workspace-surface #workspace-body{min-width:0}
.studio-workspace-surface .creative-heading{margin:0 0 18px;align-items:center;gap:20px}
.studio-workspace-surface .creative-heading h2{font-size:24px;letter-spacing:-.6px;margin:4px 0 8px;font-weight:600}
.studio-workspace-surface .creative-heading .eyebrow{font-size:9px;letter-spacing:.12em;margin:0}
.studio-workspace-surface .creative-heading p{font-size:12px;margin:6px 0;color:var(--muted)}
.studio-workspace-surface #creative-rename-job{padding:3px 8px;min-height:26px;font-size:11px}
.studio-workspace-surface .creative-live-status{background:transparent;color:var(--text);border-color:var(--line);border-radius:5px;padding:9px 12px}
.studio-workspace-surface .creative-live-status small{color:var(--muted)}
.studio-workspace-surface .creative-flow{gap:0;margin:14px 0 18px;padding:0;border-bottom:1px solid var(--line)}
.studio-workspace-surface .creative-flow li{border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--muted);padding:10px 12px;font-size:11px}
.studio-workspace-surface .creative-flow li.active{background:transparent;border-color:var(--accent);color:var(--text)}
.studio-workspace-surface .creative-flow li.complete{background:transparent;color:#abbde8}
.studio-workspace-surface .creative-flow li span{width:20px;height:20px;background:#262e3c;color:inherit;border-radius:4px;font-size:10px}
.studio-workspace-surface :is(.creative-preset-disclosure,.creative-request-summary,.creative-progress-details){margin:8px 0;padding:10px 14px;font-size:12px}
.studio-workspace-surface :is(.creative-preset-disclosure,.creative-request-summary,.creative-progress-details) summary{cursor:pointer;color:var(--muted)}
.studio-workspace-surface .creative-shell{display:grid;grid-template-columns:minmax(0,1fr);gap:20px}
.studio-workspace-surface .creative-main{gap:12px;min-width:0}
.studio-workspace-surface .creative-storyboard{min-width:0;--creative-media-ratio:9/16}
.studio-workspace-surface .creative-storyboard[data-preview-ratio="16/9"]{--creative-media-ratio:16/9}
.studio-workspace-surface .creative-storyboard[data-preview-ratio="1/1"]{--creative-media-ratio:1/1}
.studio-workspace-surface .creative-storyboard[data-preview-ratio="4/5"]{--creative-media-ratio:4/5}
.studio-workspace-surface .creative-storyboard[data-preview-ratio="3/4"]{--creative-media-ratio:3/4}
.studio-workspace-surface .creative-storyboard[data-preview-ratio="4/3"]{--creative-media-ratio:4/3}
.studio-workspace-surface .creative-storyboard-heading{margin:18px 0 16px;align-items:flex-start;gap:28px}
.studio-workspace-surface .creative-storyboard-heading h2{font-size:23px;font-weight:550;letter-spacing:-.5px;margin:4px 0 9px}
.studio-workspace-surface .creative-storyboard-heading p{font-size:12px;color:var(--muted);line-height:1.65;max-width:800px;margin:5px 0}
.studio-workspace-surface .creative-storyboard-preset{background:transparent;border:0;color:var(--muted);font-size:11px;min-width:150px;padding:3px 0}
.studio-workspace-surface .creative-storyboard-progress{background:transparent;border-color:var(--line);color:var(--muted);font-size:12px;padding:10px 0;margin-bottom:14px}
.studio-workspace-surface .studio-storyboard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start;padding-bottom:24px}
.studio-workspace-surface .studio-scene-card{display:block;width:100%;min-width:0;text-align:left;padding:0;overflow:hidden;background:var(--panel);border:1px solid var(--line);border-radius:6px;font-weight:400;transition:border-color .15s ease}
.studio-workspace-surface .studio-scene-card:hover{border-color:#7b8cad;background:var(--panel)}
.studio-workspace-surface .studio-scene-card.is-confirmed{border-color:#49624f}
.studio-scene-preview{position:relative;display:grid;place-items:center;background:#080a0e;height:clamp(220px,26vw,370px);overflow:hidden}
.studio-scene-preview :is(img,video){display:block;width:100%;height:100%;min-height:0;object-fit:contain;pointer-events:none}
.studio-scene-number,.studio-scene-kind{position:absolute;top:12px;padding:5px 7px;border:1px solid #ffffff24;border-radius:4px;background:#111317d9;color:#f0f2f7;font-size:10px}
.studio-scene-number{left:12px;letter-spacing:.08em}.studio-scene-kind{right:12px}
.studio-scene-placeholder{display:flex;flex-direction:column;align-items:center;gap:16px;color:var(--muted);font-size:12px}
.studio-scene-copy{display:grid;gap:10px;padding:14px 16px 12px}
.studio-scene-meta{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:var(--muted)}
.studio-scene-copy>strong{font-size:13px;line-height:1.6;font-weight:550;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:42px}
.studio-scene-caption{font-size:11px;line-height:1.5;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.studio-scene-status{display:flex;align-items:center;gap:5px;border-top:1px solid var(--line);padding-top:12px;color:var(--muted);font-size:10px}
.studio-scene-status>.studio-icon{width:13px;height:13px;flex-basis:13px;color:#b1d3b5}
.studio-scene-status>span:last-child{margin-left:auto;color:#c3ceeb}
.studio-workspace-surface .studio-scene-navigation{position:sticky;top:56px;z-index:40;scroll-margin-top:56px;display:flex;align-items:center;justify-content:space-between;gap:14px;background:var(--bg);padding:11px 0;border-bottom:1px solid var(--line);margin:0 0 18px;min-height:61px}
.studio-scene-navigation button{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:12px;white-space:nowrap}
.studio-scene-switcher{display:flex;align-items:center;gap:8px}
.studio-scene-switcher select{width:195px;font-size:12px;min-height:36px}
.studio-selection-rule{color:var(--muted);font-size:11px}
.studio-storyboard.is-focused>.creative-storyboard-heading,.studio-storyboard.is-focused>.creative-storyboard-progress{display:none}
.studio-workspace-surface .studio-focused-scene .creative-storyboard-segment{display:grid;grid-template-columns:minmax(0,1fr) 302px;column-gap:22px;row-gap:14px;background:transparent;border:0;border-radius:0;box-shadow:none;padding:0;margin:0;min-width:0}
.studio-focused-scene .creative-storyboard-segment::before,.studio-focused-scene .creative-storyboard-segment::after{display:none}
.studio-workspace-surface .studio-focused-scene .creative-segment-heading{grid-column:1;grid-row:1;display:flex;align-items:flex-start;padding:0 0 10px;border:0;background:transparent;gap:12px;min-width:0}
.studio-workspace-surface .creative-segment-number{display:none}
.studio-workspace-surface .creative-scene-kicker{font-size:10px;color:var(--accent);font-weight:600;letter-spacing:.1em}
.studio-workspace-surface .creative-segment-meta{display:flex;gap:10px;color:var(--muted);font-size:10px;margin:7px 0}
.studio-workspace-surface .creative-role-pill{background:#242b39;border:1px solid var(--line);border-radius:3px;color:#c8d4f4;padding:3px 6px;font-size:10px}
.studio-workspace-surface .creative-segment-heading h3{font-size:16px;font-weight:550;line-height:1.6;letter-spacing:-.2px;margin:6px 0}
.studio-workspace-surface .creative-segment-caption{color:var(--muted);font-size:11px;line-height:1.5;margin:5px 0 0}
.studio-workspace-surface .creative-segment-status{margin-left:auto;background:#202938;border:1px solid var(--line);color:#bdcbed;font-size:10px;border-radius:4px;padding:6px 8px;white-space:nowrap}
.studio-focused-scene .creative-segment-candidates{grid-column:1;grid-row:2;display:flex;flex-direction:column;gap:12px;min-width:0;background:transparent;padding:0}
.studio-focused-scene .creative-comparison-set{order:-1;min-width:0;background:transparent;border:0;padding:0}
.studio-workspace-surface .creative-comparison-set>header{padding:0 0 10px;font-size:11px;color:var(--muted);background:transparent;border:0}
.studio-workspace-surface .creative-pairwise-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:none;min-width:0}
.studio-workspace-surface .creative-pairwise-grid.single{grid-template-columns:minmax(0,1fr);max-width:520px;margin:0 auto}
.studio-workspace-surface .creative-comparison-set .creative-pairwise-grid>.creative-storyboard-candidate{display:grid;grid-template-columns:minmax(0,1fr);border:1px solid var(--line);border-radius:5px;background:var(--panel);box-shadow:none;opacity:1;padding:0;gap:0;min-width:0;overflow:hidden}
.studio-workspace-surface .creative-comparison-set .creative-pairwise-grid>.creative-storyboard-candidate.pairwise-preferred{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}
.studio-workspace-surface .creative-comparison-set .creative-pairwise-grid>.creative-storyboard-candidate.pairwise-not-preferred{border-color:var(--line);box-shadow:none;opacity:1}
.studio-workspace-surface .creative-pairwise-grid .creative-candidate-media{height:clamp(235px,calc(100dvh - 420px),580px);aspect-ratio:auto;background:#080a0e;min-height:0;position:relative}
.studio-workspace-surface .creative-storyboard[data-preview-ratio="16/9"] .creative-pairwise-grid .creative-candidate-media{height:auto;aspect-ratio:16/9}
.studio-workspace-surface .creative-pairwise-grid .creative-candidate-media :is(img,video){width:100%;height:100%;max-height:none;object-fit:contain}
.studio-workspace-surface .creative-candidate-label{background:#111317dd;color:var(--text);border:1px solid #ffffff26;border-radius:3px;left:10px;top:10px;font-size:10px;padding:5px 7px}
.studio-workspace-surface .creative-candidate-body{padding:12px;gap:10px;background:var(--panel);min-width:0;color:var(--text)}
.studio-workspace-surface .studio-focused-scene .creative-pairwise-grid>.creative-storyboard-candidate{background:var(--panel);border-color:var(--line);grid-template-columns:minmax(0,1fr);opacity:1}
.studio-workspace-surface .creative-candidate-body :is(p,small){font-size:11px;line-height:1.55;color:var(--muted)}
.studio-workspace-surface .creative-pairwise-select{width:100%;background:#242b38;color:#d7e0f8;border-color:#3f4b63;border-radius:4px;font-size:12px;min-height:36px}
.studio-workspace-surface .pairwise-preferred .creative-pairwise-select{background:#293756;color:#dce5ff;border-color:#7e96d6}
.studio-workspace-surface .creative-choice-state{background:#263756;color:#dce5ff;border-color:#8aa4ed}
.studio-workspace-surface .creative-preference-badge{border:1px solid #566684;border-radius:4px;font-size:10px;padding:5px 7px;box-shadow:none;background:#202c49;color:#dce5ff}
.studio-workspace-surface .creative-preference-badge.not-preferred{background:#242832;color:#c0c6d2;border-color:#4b5362}
.studio-workspace-surface .creative-retrieval-status{background:var(--panel);border:1px solid var(--line);color:var(--muted);border-radius:5px;margin:0;padding:12px;font-size:11px}
.studio-workspace-surface .creative-retrieval-status :is(p,b){color:var(--muted);font-size:11px}
.studio-workspace-surface .studio-scene-director{grid-column:2;grid-row:1 / span 2;align-self:start;position:sticky;top:132px;max-height:calc(100dvh - 150px);overflow-y:auto;overscroll-behavior:contain;border:1px solid var(--line);background:var(--panel);border-radius:6px;scrollbar-width:thin}
.studio-workspace-surface .studio-scene-director .creative-pairwise-review{display:flex;flex-direction:column;gap:12px;padding:18px;border:0;background:transparent;border-radius:0;margin:0;box-shadow:none}
.studio-workspace-surface .creative-pairwise-step{display:flex;gap:9px;align-items:flex-start}
.studio-workspace-surface .creative-pairwise-step>span{background:transparent;color:var(--accent);padding:0;width:20px;height:20px}
.studio-workspace-surface .creative-pairwise-step b{font-size:13px;font-weight:600}
.studio-workspace-surface .creative-pairwise-step small{display:block;color:var(--muted);font-size:11px;line-height:1.6;margin-top:7px}
.studio-workspace-surface .studio-scene-director textarea{width:100%;min-height:132px;background:var(--bg);font-size:12px;border-color:var(--line)}
.studio-workspace-surface .creative-neither{align-self:flex-start;min-height:30px;font-size:11px;padding:5px 9px}
.studio-workspace-surface .creative-neither.selected{background:#3c2931;border:1px solid #9b6879;color:#f1ccd8}
.studio-workspace-surface .creative-pairwise-save-status{color:var(--muted);font-size:10px;line-height:1.5;padding:2px 0}
.studio-workspace-surface .studio-scene-director .creative-pairwise-actions{display:grid;grid-template-columns:1fr;gap:8px;margin-top:3px}
.studio-workspace-surface .creative-pairwise-actions button{min-height:40px;font-size:12px;border-radius:4px;padding:10px 8px}
.studio-workspace-surface .creative-revision-plan{background:#202838;color:#d8e2fa;border:0;border-top:1px solid #405272;border-radius:0;margin:0;padding:18px;font-size:12px;line-height:1.6}
.studio-workspace-surface .creative-revision-plan header{gap:8px;font-size:12px;background:transparent}
.studio-workspace-surface .creative-revision-plan button{font-size:11px;margin:8px 5px 0 0}
.studio-workspace-surface .studio-candidate-details{border:0;margin:3px 0 0;padding:0;background:transparent;font-size:11px;color:var(--muted)}
.studio-candidate-details>summary{padding:4px 0;cursor:pointer;color:var(--muted)}
.studio-workspace-surface .creative-storyboard-final{background:var(--panel);border:1px solid var(--line);border-radius:6px;color:var(--text);padding:18px;margin-top:22px}
.studio-workspace-surface .creative-storyboard-final p{font-size:12px;color:var(--muted)}
.studio-storyboard.is-focused>#creative-final-review,.studio-storyboard.is-focused>.creative-storyboard-final{margin-top:28px}
.studio-workspace-surface #creative-final-review{scroll-margin-top:76px}
.studio-workspace-surface .creative-brief-input{min-height:190px;font-size:16px;background:var(--bg);border-color:var(--line);padding:22px}
.studio-workspace-surface .creative-section-heading>span{background:#26324a;color:var(--accent)}
.studio-workspace-surface .creative-section-heading p{color:var(--muted)}
.studio-workspace-surface #workspace-body header b{padding:0;margin:0;background:transparent;color:inherit}
.studio-workspace-surface .studio-focused-scene .creative-storyboard-segment:not(:has(.studio-scene-director)){grid-template-columns:minmax(0,1fr)}
.studio-workspace-surface .studio-context-toolbar{display:flex;align-items:flex-start;gap:14px;margin:8px 0 12px}
.studio-context-details{flex:1;min-width:0;padding:9px 12px;border:1px solid var(--line);border-radius:5px;color:var(--muted);font-size:11px;background:var(--panel)}
.studio-context-details>summary{cursor:pointer}
.studio-workspace-surface .studio-context-details .creative-preset-disclosure{margin:12px 0}
.studio-workspace-surface .studio-context-toolbar .creative-review-jump{font-size:11px;min-height:34px;padding:8px 12px;white-space:nowrap}
.studio-workspace-surface .studio-storyboard>.creative-storyboard-heading{border:0;padding:6px 0;background:transparent;margin:6px 0 8px;min-height:76px}
.studio-workspace-surface .studio-story-summary{font-size:11px;color:var(--muted);margin-top:8px}
.studio-workspace-surface .studio-story-summary>summary{cursor:pointer}
.studio-workspace-surface .studio-story-summary .creative-readable-summary{margin:12px 0 0;font-size:12px;max-width:800px}
.studio-workspace-surface .studio-storyboard>.creative-storyboard-progress{margin-bottom:10px;padding:0 0 10px}
.studio-workspace-surface .studio-scene-preview{height:clamp(220px,22vw,330px)}
/* Keep retained production, recovery, assets and operator controls on Graphite too. */
.studio-workspace-surface :is(.creative-campaign-comparison,.creative-campaign-candidate,.creative-final-review-actions,.creative-final-revision,.creative-final-revision>header,.creative-final-revision>header code,.creative-final-output.quality-warning,.creative-quality-output,.creative-campaign-candidate.status-quality-warning,.creative-ops-summary,.creative-ops-summary dl div,.creative-cost-totals div,.creative-cost-dialog,.creative-cost-panel,.creative-review-assessment>div,.creative-review-media figure,.creative-datahub-status,.creative-policy-recovery){background:var(--panel);color:var(--text);border-color:var(--line);border-radius:5px;box-shadow:none}
.studio-workspace-surface :is(.creative-campaign-candidate,.creative-campaign-candidate.selected,.creative-campaign-candidate.status-quality-warning){border-width:1px}
.studio-workspace-surface .creative-campaign-candidate.selected{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}
.studio-workspace-surface :is(.creative-campaign-candidate.selected footer,.creative-campaign-candidate.not-preferred footer,#creative-final-neither.not-preferred){background:#222b3d;color:var(--text)}
.studio-workspace-surface :is(.creative-campaign-loading,.creative-final-revision-loading,.creative-scene-preparation,.creative-segment-empty,.creative-preview-state,.creative-retrieved-media:has(.creative-preview-state),.creative-scene-asset-media .creative-preview-state,.creative-empty-copy){background:#171b22;color:var(--muted);border-color:var(--line)}
.studio-workspace-surface :is(.creative-campaign-candidate header,.creative-campaign-candidate footer,.creative-campaign-candidate footer span,.creative-campaign-candidate header span,.creative-campaign-loading small,.creative-final-review-actions>div:first-child span,.creative-final-revision-notes small){color:var(--muted);border-color:var(--line)}
.studio-workspace-surface :is(.creative-campaign-comparison>header>span,.creative-campaign-candidate code,.creative-count,.creative-requirement-chips span,.creative-quota,.creative-quota.unlimited,.creative-onboarding-status,.creative-onboarding-safe-summary>p span,.creative-provider-target-chips span,.creative-ai-scores span,.creative-candidate-provenance>span,.creative-candidate-provenance code,.creative-model-id,.creative-common-settings-heading>span,.creative-golden-group-heading>span){background:#263044;color:#ccd8f5;border-color:#394762}
.studio-workspace-surface :is(.creative-intake-guide,.creative-prompt-example,.creative-intake-dialog,.creative-intake-confirmation,.creative-assumption,.creative-agent-interpretation p,.creative-inferred-mode,.creative-reference-note,.creative-billing-basis,.creative-client-summary,.creative-asset,.creative-reference-upload form,.creative-retrieved-asset,.creative-scene-asset-review,.creative-scene-asset-card,.creative-asset-detail-dialog,.creative-input-card,.creative-common-rules li,.creative-golden-example,.creative-golden-example details p){background:var(--panel);color:var(--text);border-color:var(--line);border-radius:5px}
.studio-workspace-surface :is(.creative-scene-asset-card.selected,.creative-input-card.selected,.creative-asset-decision-actions button.selected){background:#22312b;color:#c7e3d1;border-color:#617f6a}
.studio-workspace-surface :is(.creative-scene-asset-media,.creative-scene-asset-media>img,.creative-scene-asset-media>video,.creative-asset-preview,.creative-asset-detail-dialog .creative-asset-detail-media,.creative-original-canvas){background:#090c11}
.studio-workspace-surface :is(.creative-onboarding-loading,.creative-onboarding-active,.creative-onboarding-empty,.creative-onboarding-safe-summary,.creative-onboarding-contribution,.creative-onboarding-version,.creative-onboarding-version>.creative-onboarding-safe-summary,.creative-onboarding-release-controls,.creative-onboarding-assignment,.creative-onboarding-assignment-users,.creative-onboarding-assignment-users label,.creative-onboarding-assignment-summary,.creative-onboarding-assignment-summary li,.creative-onboarding-assignment-empty,.creative-onboarding-lifecycle li,.creative-onboarding-gate-note,.creative-onboarding-distill,.creative-onboarding-message,.creative-onboarding-evaluation){background:var(--panel);color:var(--text);border-color:var(--line)}
.studio-workspace-surface :is(.creative-provider-execution-summary,.creative-provider-prompt-group,.creative-provider-prompt-group-heading,.creative-provider-prompt-group pre,.creative-provider-bindings,.creative-provider-bindings li,.creative-provider-plan-choice,.creative-revised-prompt,.creative-history-item.active,.creative-progress-steps li,.creative-progress-step-icon,.creative-progress-meta>span){background:var(--panel);color:var(--text);border-color:var(--line)}
.studio-workspace-surface :is(.creative-storyboard-blocked,.creative-revision-progress,.creative-scene-recovery,.creative-preset-load-status,.creative-budget-wait,.creative-progress-delay,.creative-evaluation-pending,.creative-service-notice.stale){background:#302b22;color:#e6d5b1;border-color:#61503a}
.studio-workspace-surface :is(.creative-provider-reject-confirmation,.creative-confirm-error,.creative-revision-progress.phase-failed,.creative-canonical-bridge.failed,.creative-datahub-status.failed,.creative-policy-recovery.needs_review){background:#35262a;color:#f0c2c2;border-color:#65404a}
.studio-workspace-surface :is(.creative-readable-summary,.creative-readable-summary li,.creative-storyboard-heading .creative-readable-summary,.creative-final-output>p,.creative-intake-guide span,.creative-prompt-example p,.creative-agentic-note,.creative-mode-reason,.creative-candidate-provenance,.creative-scene-asset-scope,.creative-cost-note){color:var(--muted)}
.studio-workspace-surface .creative-message,.studio-workspace-surface .studio-request-notice{background:#222938;color:var(--text);border-color:#3c4961;box-shadow:0 5px 18px #0005}
.studio-workspace-surface .studio-request-copy small{color:var(--muted)}
.studio-workspace-surface .creative-storyboard-progress progress,.studio-workspace-surface .creative-storyboard-progress progress::-webkit-progress-bar{background:#303946}
.studio-workspace-surface .creative-storyboard-progress progress::-webkit-progress-value{background:#8ca4df}
.studio-workspace-surface .nav-links .nav-button{background:var(--panel);color:var(--muted);border-color:var(--line);border-radius:4px;font-size:12px;padding:8px 10px}
.studio-workspace-surface .service-brand .aibu-logo img{filter:brightness(0) invert(1);opacity:.94}
@media(min-width:1700px){.studio-workspace-surface #app{padding-left:32px;padding-right:32px}.studio-workspace-surface .studio-storyboard-grid{gap:24px}.studio-workspace-surface .studio-focused-scene .creative-storyboard-segment{grid-template-columns:minmax(0,1fr) 330px;column-gap:28px}}
@media(max-width:1400px){.studio-selection-rule{display:none}.studio-workspace-surface .studio-focused-scene .creative-storyboard-segment{column-gap:16px;grid-template-columns:minmax(0,1fr) 282px}.studio-workspace-surface .creative-heading h2{font-size:21px}.studio-workspace-surface .studio-scene-director .creative-pairwise-review{padding:15px}.studio-project-client{max-width:140px}}
@media(prefers-reduced-motion:reduce){.studio-workspace-surface *{scroll-behavior:auto!important;transition:none!important}}
