/* Two concrete workspaces; semantic colors continue to follow published themes. */
body.aurora-ui #workspace[data-active-page=harness] .console-hero{background:linear-gradient(110deg,#e8f5ff,#f1edff)!important;min-height:110px!important;padding:24px 30px!important}
body.aurora-ui #workspace[data-active-page=harness] .console-hero:after{display:none}
#harness{--hc-text:var(--ui-text,#17264d);--hc-line:var(--ui-border,#dce7f8);--hc-surface:var(--ui-surface,#fff);--hc-canvas:var(--ui-canvas,#f3f7ff)}
#workspace #harness-workbench-tabs{border:0;background:transparent;gap:24px;padding:0 6px;margin:0 0 20px;border-radius:0;border-bottom:1px solid var(--hc-line)}
#workspace #harness-workbench-tabs button{border-radius:0;padding:12px 5px;color:var(--ui-text-muted);border-bottom:3px solid transparent;background:transparent!important}
#workspace #harness-workbench-tabs button[aria-current=page]{color:var(--ui-accent,#7952eb);border-color:var(--ui-accent,#7952eb)}
#workspace #harness .hc-workspace{display:grid;grid-template-columns:210px minmax(0,1fr);min-height:0;overflow:visible;border:0;background:transparent;box-shadow:none;gap:18px}
#workspace #harness .hc-history{padding:20px 16px;border:1px solid var(--hc-line);border-radius:16px;background:var(--hc-surface);gap:16px;align-self:start}
#workspace #harness .hc-main{min-width:0;border:1px solid var(--hc-line);border-radius:18px;overflow:hidden;background:var(--hc-surface);box-shadow:0 8px 32px #455c9a07}
#workspace #harness .hc-chat-head{position:static;display:flex;flex-wrap:wrap;justify-content:space-between;gap:14px;padding:18px 22px;height:auto;background:var(--hc-surface);border-bottom:1px solid var(--hc-line)}
#workspace #harness .hc-agent-heading h2{font-size:16px;color:var(--hc-text)}
#workspace #harness .hc-head-actions select{width:180px;max-width:100%;background:var(--hc-surface);color:var(--hc-text)}
#workspace #harness .hc-transcript{padding:24px 28px;min-height:0;max-height:60vh;background:var(--hc-surface)}
#workspace #harness .hc-transcript:has(#harness-welcome:not([hidden])){max-height:none}
#workspace #harness .hc-welcome{margin:10px auto 20px;max-width:760px;padding:0;text-align:center}
#workspace #harness .hc-spark{font-size:0;border:0;border-radius:20px;width:92px;height:76px;margin:0 auto 15px;background:#eff5ff url('/console/assets/aurora-workbench-hero.png') 89% center/360px auto no-repeat;box-shadow:none}
#workspace #harness .hc-welcome .eyebrow{display:none}
#workspace #harness .hc-welcome h2{font-size:30px;letter-spacing:-.5px;color:var(--hc-text);margin:0 0 12px}
#workspace #harness .hc-welcome>p{font-size:13px;line-height:1.8;color:var(--ui-text-muted)}
#workspace #harness .hc-manual-hint{margin:10px 0 20px}
#workspace #harness .hc-suggestions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;justify-content:initial;margin:24px 0 0}
#workspace #harness .hc-suggestions button{display:flex;flex-direction:column;align-items:flex-start;gap:8px;text-align:left;min-width:0;padding:16px 12px;border:1px solid #e7dcfb;border-radius:12px;background:linear-gradient(150deg,#faf7ff,#f3ecff)!important;box-shadow:none}
#workspace #harness .hc-suggestions button:nth-child(1){background:linear-gradient(150deg,#f3feff,#e8faff)!important;border-color:#cfedf5}
#workspace #harness .hc-suggestions button:nth-child(3){background:linear-gradient(150deg,#fffcf4,#fff1d9)!important;border-color:#f3e2bf}
#workspace #harness .hc-suggestions button:nth-child(4){background:linear-gradient(150deg,#f4f8ff,#e8efff)!important;border-color:#dce6fa}
#workspace #harness .hc-suggestions img{width:34px;height:34px;object-fit:contain}
#workspace #harness .hc-suggestions strong{font-size:14px;color:#24355c}
#workspace #harness .hc-suggestions span{font-size:11px;color:#617496;line-height:1.6}
#workspace #harness .hc-composer{padding:0 28px 24px;min-width:0}
#workspace #harness .hc-composer textarea{min-height:95px;padding:16px;border:1px solid var(--hc-line);border-bottom:0;box-shadow:none;background:var(--hc-surface);color:var(--hc-text)}
#workspace #harness .hc-composer-footer{flex-wrap:wrap;gap:10px;border-color:var(--hc-line);padding:10px 14px;background:var(--hc-surface)}
#workspace #harness .hc-composer-footer label{font-size:11px}
#workspace #harness .primary{border:0;border-radius:9px;background:linear-gradient(110deg,#21bddf,#4872ff,#8255f3)!important;color:#fff!important}
#workspace #harness .commander-settings{grid-column:1/-1;border:1px solid var(--hc-line);border-radius:12px;background:var(--hc-surface);padding:14px 18px}
#workspace #harness .commander-settings>summary{font-size:13px;cursor:pointer;color:var(--hc-text)}
#workspace #harness .hc-context{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:18px 0 0;background:var(--hc-surface);border:0;min-width:0}
#workspace #harness .hc-context :is(.hc-context-title,.hc-context-divider,.hc-device-card,.hc-history-panel,#harness-readiness,.hc-context-note),#workspace #harness .hc-context>p{grid-column:1/-1}
#workspace #harness .hc-context .hc-tool{min-width:0;margin:0;background:var(--hc-surface);border-color:var(--hc-line)}
#workspace #harness .commander-media-help{margin:12px 0 0;font-size:11px;line-height:1.8;color:var(--ui-text-muted)}
#workspace #harness .commander-media-help summary{cursor:pointer}
#workspace #harness .commander-media-help #harness-upload-state{display:block;margin-top:8px}
#workspace #creation .ct-source-layout{grid-template-columns:380px minmax(0,1fr)!important;gap:20px!important;border:0!important;background:transparent!important;padding:0!important;box-shadow:none!important}
#workspace #creation .ct-source-main{padding:24px!important;border:1px solid var(--ui-border)!important;border-radius:16px;background:var(--ui-surface)!important;min-width:0}
#workspace #creation .ct-source-main>h3{font-size:21px;line-height:1.4;margin-bottom:12px}
#workspace #creation .ct-source-main>p{font-size:12px;line-height:1.8}
#workspace #creation .studio-flow{font-size:11px;padding:12px;line-height:1.9;border-radius:9px;background:var(--ui-surface-muted)}
#workspace #creation .ct-source-main :is(#cr-link-form,#cr-upload-form,#cr-decompose-form){display:flex;flex-direction:column;align-items:stretch;gap:12px}
#workspace #creation .ct-source-main label{width:100%;margin:0!important;font-size:12px}
#workspace #creation .ct-source-main :is(select,input[type=url]){width:100%!important;max-width:none!important;min-width:0!important}
#workspace #creation #cr-decompose-form .primary{width:100%!important;margin-top:8px}
#workspace #creation .studio-report-column{padding:24px!important;border:1px solid var(--ui-border)!important;border-radius:16px;background:var(--ui-surface)!important;min-width:0}
#workspace #creation .studio-report-title{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:650;color:var(--ui-text);margin-bottom:18px}
#workspace #creation .studio-report-symbol{display:grid;place-items:center;width:34px;height:34px;color:#8056ec;background:#eee7ff;border-radius:10px}
#workspace #creation #studio-source-preview{padding:0;background:transparent;display:block;border:0;min-height:0}
#workspace #creation #studio-source-preview .studio-thumbnail{width:100%;height:200px;border-radius:12px;overflow:hidden;background:#202641}
#workspace #creation #studio-source-preview .studio-empty-preview{display:grid;place-items:center;min-height:210px;border:1px dashed #d8ccef;border-radius:12px;color:var(--ui-text-muted);background:linear-gradient(125deg,#f0f7ff,#f5eeff);font-size:13px}
#workspace #creation .studio-source-copy{padding:12px 0;display:flex;align-items:center;flex-wrap:wrap;gap:10px}
#workspace #creation #studio-decompose-detail{border:0!important;padding:22px 0 0!important;margin:0;box-shadow:none!important;background:transparent!important}
#workspace #creation #studio-decompose-detail>h3{font-size:16px;margin-bottom:16px}
#workspace #creation #studio-decompose-detail>.studio-decompose-empty{min-height:70px;padding:16px;text-align:left;line-height:1.8}
#workspace #creation .studio-decompose-results{display:flex;flex-direction:column;gap:12px}
#workspace #creation .studio-decompose-shot-list{max-height:350px;overflow:auto}
#workspace #creation .studio-decompose-shot{padding:14px 16px;border-left:3px solid #9563ec;margin:8px 0;background:var(--ui-surface-muted);border-radius:0 8px 8px 0}
#workspace #creation .studio-decompose-extras{margin-top:20px;border-top:1px solid var(--ui-border);padding-top:14px;font-size:12px;color:var(--ui-text-muted)}
#workspace #creation .studio-decompose-extras summary{cursor:pointer}
#workspace #creation .studio-decompose-extras>.ct-eyebrow{display:none}
#workspace #creation .studio-decompose-current{padding:18px 0 0!important;border:0!important;box-shadow:none;background:transparent!important}
#workspace #creation .studio-decompose-current .studio-decompose-empty{min-height:0!important;padding:12px!important;font-size:11px;line-height:1.8}
#workspace #creation .studio-decompose-history .studio-decompose-empty{min-height:0;padding:22px;font-size:12px}
body[data-theme=dark] #workspace #creation #studio-source-preview .studio-empty-preview{background:var(--ui-surface-muted);border-color:var(--ui-border)}
body[data-theme=dark] #workspace[data-active-page=harness] .console-hero{background:var(--ui-surface-muted)!important}
@media(max-width:1100px){#workspace #creation .ct-source-layout{grid-template-columns:320px minmax(0,1fr)!important}#workspace #harness .hc-workspace{grid-template-columns:180px minmax(0,1fr)}#workspace #harness .hc-suggestions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){#workspace #creation .ct-source-layout{grid-template-columns:minmax(0,1fr)!important}#workspace #harness .hc-workspace{display:flex;flex-direction:column}#workspace #harness .hc-history{width:100%;box-sizing:border-box}#workspace #harness .hc-agent-list{grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}#workspace #harness .hc-recent{margin:0}#workspace #harness .hc-welcome h2{font-size:24px}#workspace #harness .hc-transcript{padding:22px 16px}#workspace #harness .hc-composer{padding:0 16px 18px}#workspace #harness .hc-head-actions{flex-wrap:wrap;min-width:0}#workspace #harness .hc-head-actions select{width:170px}#workspace #harness .hc-context{grid-template-columns:minmax(0,1fr)}#workspace #harness .hc-suggestions{gap:8px}#workspace #creation .ct-source-main,#workspace #creation .studio-report-column{padding:20px!important}#workspace #creation .ct-source-main{overflow:hidden}#workspace #creation .studio-decompose-detail-head{flex-wrap:wrap}}
/* Override the older fixed three-column grid and input flex bases. */
#workspace #harness .hc-workspace{grid-template-columns:210px minmax(0,1fr)!important;background:transparent!important;border:0!important;box-shadow:none!important}
#workspace #harness .hc-main{background:var(--hc-surface)!important}
#workspace #harness .hc-spark{background:#eff5ff url('/console/assets/aurora-workbench-hero.png') 89% center/360px auto no-repeat!important}
#workspace #harness-workbench-tabs button[aria-current=page]{color:#8053de!important;border-bottom:3px solid #8053de!important}
#workspace.board-layout #creation .ct-source-main :is(#cr-link-form,#cr-upload-form,#cr-decompose-form)>*{flex:0 0 auto!important;min-height:0}
#workspace #harness .hc-composer-footer:has(.hc-model-picker){padding:8px 14px;border-radius:0;justify-content:flex-start;min-height:0}
#workspace #harness .hc-model-picker{display:flex;align-items:center;gap:10px;text-align:left;margin:0}
#workspace #harness .hc-model-picker select{width:180px;max-width:100%;margin:0;padding:7px 10px}
#workspace #harness .commander-assistants{min-width:0}
#workspace #harness .commander-assistants>summary{display:none}
#workspace #harness .hc-main{grid-column:2}
@media(max-width:800px){#workspace #harness .hc-workspace{display:flex!important}#workspace #harness .commander-assistants>summary{display:block;padding:13px 16px;background:var(--hc-surface);border:1px solid var(--hc-line);border-radius:10px;font-size:13px;color:var(--hc-text);cursor:pointer}#workspace #harness .commander-assistants{width:100%}#workspace #harness .hc-history{margin-top:8px}#workspace #harness .hc-main{grid-column:auto}#workspace #harness-workbench-tabs{gap:4px;display:flex;flex-wrap:nowrap;overflow:auto}#workspace #harness-workbench-tabs button{flex:1;white-space:nowrap;font-size:12px;padding:12px 8px}#workspace #harness .hc-welcome{margin-top:0}#workspace #harness .hc-welcome h2{font-size:24px}}
#workspace #harness .hc-context>.hc-model-picker{grid-column:1/-1;justify-content:flex-start;font-size:12px}
#workspace #harness .hc-composer{max-width:820px;margin:0 auto;width:100%;box-sizing:border-box}
#workspace #harness .hc-welcome{margin:0 auto 12px}
#workspace #harness .hc-transcript{padding-top:20px;padding-bottom:18px}
#workspace #harness .hc-spark{width:72px;height:60px;background-size:280px auto!important;margin-bottom:12px}
#workspace #harness .hc-welcome h2{font-size:28px}
#workspace #harness .hc-suggestions{margin-top:18px}
#workspace #creation .ct-source-layout{align-items:start!important}
#workspace #creation .studio-report-column{min-height:0!important}
/* Digital human: the same editable form, arranged as creation / preview / records. */
#workspace #creation .digital-layout{grid-template-columns:minmax(340px,.95fr) minmax(0,1.2fr);align-items:start;gap:20px}
#workspace #creation .digital-create-card,#workspace #creation .dv2-output{padding:24px;border-radius:20px;background:var(--ui-surface);border:1px solid var(--ui-border)}
#workspace #creation .digital-create-card .form-grid{display:flex;flex-direction:column;gap:16px}
#workspace #creation .digital-upload{padding:16px;border:1px solid var(--ui-border);border-radius:14px;background:var(--ui-surface-muted,var(--ui-surface))}
#workspace #creation .digital-upload label{display:block;margin-bottom:10px}
#workspace #creation .dv2-modes{display:flex;gap:8px;margin-bottom:20px}
#workspace #creation .dv2-modes button{flex:1;white-space:normal;border-radius:12px}
#workspace #creation .dv2-screen{min-height:390px;border-radius:16px;background:linear-gradient(145deg,#e9edff,#f5eaff 55%,#e4f7ff);display:grid;place-content:center;text-align:center;padding:24px}
#workspace #creation .dv2-screen:empty::before{content:'数字人口播预览';font-size:22px;font-weight:700;color:#55508b}
#workspace #creation .dv2-preview-steps{display:flex;justify-content:space-between;gap:12px;list-style-position:inside;padding:20px 0 0;color:var(--ui-text-muted)}
#workspace #creation .dv2-configuration{padding:14px;border:1px solid var(--ui-border);border-radius:12px}
#workspace #creation .dv2-configuration summary{cursor:pointer;font-weight:600}
#workspace #creation .dv2-records{margin-top:20px;border-radius:18px}
@media(max-width:800px){#workspace #creation .digital-layout{grid-template-columns:minmax(0,1fr)}#workspace #creation .digital-create-card,#workspace #creation .dv2-output{padding:18px}#workspace #creation .dv2-screen{min-height:280px}}
.creation-link-dialog{box-sizing:border-box;width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:28px;border:1px solid var(--ui-border,#dce1f3);border-radius:20px;background:var(--ui-surface,#fff);color:var(--ui-text,#24243c);box-shadow:0 24px 100px #101a4840}
.creation-link-dialog::backdrop{background:#18234166;backdrop-filter:blur(4px)}
.creation-link-header{display:flex;align-items:center;justify-content:space-between;gap:16px}
.creation-link-header h2{font-size:22px;margin:0}
.creation-link-dialog #cr-link-form{display:flex;flex-direction:column;align-items:stretch;gap:14px;margin:24px 0 12px}
.creation-link-dialog #cr-link-form label{width:100%;flex:auto;min-width:0}
.creation-link-dialog #cr-link-form input{width:100%;box-sizing:border-box;margin-top:8px}
.creation-link-dialog #cr-link-form button{width:100%}
.creation-link-dialog .board-source-note{margin:16px 0}
.creation-link-result{border-top:1px solid var(--ui-border,#dce1f3);padding-top:16px;display:flex;gap:12px;flex-wrap:wrap}
.creation-link-result p{width:100%;margin:0;overflow-wrap:anywhere}
.creation-link-inline{font-size:12px;overflow-wrap:anywhere}
.creation-link-inline:empty{display:none}
@media(max-width:600px){.creation-link-dialog{padding:20px}.creation-link-header h2{font-size:19px}}
/* Mix: editor and result remain side by side at desktop widths. */
#workspace #creation .mw-workbench .mw-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);align-items:start;gap:20px}
#workspace #creation .mw-workbench .mw-main,#workspace #creation .mw-workbench .mw-side{display:flex;flex-direction:column;gap:16px;background:transparent!important;border:0!important;box-shadow:none!important;min-width:0}
#workspace #creation .mw-workbench .mw-library{position:static;width:auto}
#workspace #creation .mw-workbench .mw-side{position:sticky;top:16px;grid-column:auto}
#workspace #creation .mw-workbench .mw-output{grid-row:auto;margin:0}
#workspace #creation .mw-workbench .mw-output-screen{width:min(100%,210px);min-height:0;aspect-ratio:9/16;margin:18px auto;background:linear-gradient(150deg,#eeebff,#e6f4ff);border-radius:16px}
#workspace #creation .mw-workbench .mw-submit{order:0;margin:0}
#workspace #creation .mw-workbench .mw-generator{order:1}
#workspace #creation .mw-workbench .mw-card{margin:0;border-radius:16px;padding:20px}
#workspace #creation .mw-workbench .mw-order{background:var(--ui-surface);border:1px solid var(--ui-border);padding:16px;border-radius:14px}
#workspace #creation .mw-workbench .mw-advanced{margin-top:0}
#workspace #creation .mw-workbench .mw-toolbar{background:transparent!important;flex-wrap:wrap}
@media(max-width:800px){#workspace #creation .mw-workbench .mw-layout{grid-template-columns:minmax(0,1fr)}#workspace #creation .mw-workbench .mw-side{position:static}#workspace #creation .mw-workbench .mw-card{padding:16px}}
/* Approved mix editor: materials / scene candidates / historical output. */
#workspace #creation[data-studio-tab=mix]>.ct-hero{display:none}
#workspace #creation .mw-page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px 0}
#workspace #creation .mw-page-heading h2{font-size:26px;margin-bottom:6px}
#workspace #creation .mw-workbench .mw-layout{grid-template-columns:minmax(220px,.85fr) minmax(380px,1.65fr) minmax(250px,.9fr);gap:14px}
#workspace #creation .mw-workbench .mw-library,#workspace #creation .mw-workbench .mw-main{max-height:650px;overflow:auto;scrollbar-width:thin}
#workspace #creation .mw-workbench .mw-library{display:flex;flex-direction:column;gap:14px;min-height:600px}
#workspace #creation .mw-workbench .mw-library .mw-material-grid{overflow:auto;flex:1;align-content:start;grid-template-columns:repeat(2,minmax(0,1fr));max-height:none}
#workspace #creation .mw-workbench .mw-library .mw-material{position:relative;cursor:pointer;display:block}
#workspace #creation .mw-workbench .mw-material input[type=checkbox]{position:absolute;top:6px;left:6px;width:18px;height:18px;accent-color:#7451f4}
#workspace #creation .mw-workbench .mw-material small{display:block;padding-top:6px;font-size:11px}
#workspace #creation .mw-workbench .mw-material-tools{display:flex;gap:6px;flex-wrap:wrap}
#workspace #creation .mw-workbench .mw-material-tools button{flex:1;font-size:12px;padding:10px 6px}
#workspace #creation .mw-workbench .mw-material-footer{margin-top:auto;border-top:1px solid var(--ui-border);padding-top:14px;display:grid;gap:10px}
#workspace #creation .mw-workbench .mw-side{position:static}
#workspace #creation .mw-workbench .mw-card{padding:16px}
#workspace #creation .mw-workbench .mw-scene-head{flex-wrap:nowrap}
#workspace #creation .mw-workbench .mw-scene-head label{flex:1;min-width:0}
#workspace #creation .mw-workbench .mw-scene-head button{padding:8px;font-size:11px}
#workspace #creation .mw-workbench .mw-scene{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:12px}
#workspace #creation .mw-workbench .mw-scene-head{width:100%}
#workspace #creation .mw-workbench .mw-scene>.mw-row.mw-scene-candidates{order:1;width:100%;display:flex;gap:8px;overflow-x:auto;flex-wrap:nowrap;margin:0}
#workspace #creation .mw-workbench .mw-scene>.mw-check,#workspace #creation .mw-workbench .mw-scene>label{order:2;flex:1;min-width:95px;font-size:11px;margin:0}
#workspace #creation .mw-workbench .mw-scene>label input[type=number]{padding:6px}
#workspace #creation .mw-workbench .mw-scene>button{order:0;font-size:11px;padding:6px 10px}
#workspace #creation .mw-workbench .mw-candidate{flex:0 0 105px}
#workspace #creation .mw-workbench .mw-add-candidate{flex:0 0 105px;border:1px dashed #b6b4e7;min-height:86px;white-space:normal}
#workspace #creation .mw-workbench .mw-generation-bar{position:sticky;bottom:12px;z-index:4;display:flex;align-items:center;gap:18px;margin-top:16px;padding:16px 20px;box-shadow:0 4px 24px #6052bb18!important}
#workspace #creation .mw-workbench .mw-generation-bar h3{display:none}
#workspace #creation .mw-workbench .mw-generation-bar strong{margin:0;font-size:18px;white-space:nowrap}
#workspace #creation .mw-workbench .mw-generation-bar label{max-width:135px;margin:0}
#workspace #creation .mw-workbench .mw-generation-bar>p{flex:1;font-size:11px}
#workspace #creation .mw-workbench .mw-generation-bar>button{width:auto;min-width:170px}
#workspace #creation .mw-view-tabs{display:flex;gap:20px;border-bottom:1px solid var(--ui-border);margin:12px 0 18px}
#workspace #creation .mw-view-tabs button{border:0;background:transparent;padding:12px 0;border-radius:0;color:var(--ui-text-muted)}
#workspace #creation .mw-view-tabs button[aria-pressed=true]{color:#7250ef;border-bottom:3px solid #7250ef}
#workspace #creation .mw-save-state{margin-left:auto;color:var(--ui-text-muted);font-size:12px}
#workspace #creation .mw-workbench #mw-jobs{margin-top:0}
.mw-settings-dialog{width:min(760px,calc(100vw - 32px));max-height:85dvh;overflow:auto;padding:24px;border:1px solid var(--ui-border,#dce1f3);border-radius:18px;background:var(--ui-surface,#fff);color:var(--ui-text,#24243c)}
.mw-settings-dialog::backdrop{background:#18234166;backdrop-filter:blur(3px)}
.mw-settings-dialog h2{margin-bottom:20px}
.mw-settings-dialog>.mw-card{background:transparent!important;box-shadow:none!important;border:0!important}
.mw-settings-dialog>.mw-advanced>summary{display:none}
@media(max-width:1200px) and (min-width:801px){#workspace #creation .mw-workbench .mw-layout{grid-template-columns:220px minmax(0,1fr)}#workspace #creation .mw-workbench .mw-side{grid-column:1/-1;flex-direction:row}#workspace #creation .mw-workbench .mw-output{flex:1}#workspace #creation .mw-workbench .mw-library{min-height:0}}
@media(max-width:800px){#workspace #creation .mw-workbench .mw-layout{grid-template-columns:minmax(0,1fr)}#workspace #creation .mw-workbench .mw-main,#workspace #creation .mw-workbench .mw-library{max-height:none;min-height:0}#workspace #creation .mw-workbench .mw-generation-bar{position:static;flex-wrap:wrap;padding:16px}#workspace #creation .mw-workbench .mw-generation-bar>p{flex-basis:100%}#workspace #creation .mw-workbench .mw-generation-bar>button{width:100%}#workspace #creation .mw-workbench .mw-scene-head{flex-wrap:wrap}#workspace #creation .mw-workbench .mw-scene-head label{min-width:120px}#workspace #creation .mw-page-heading{align-items:start}#workspace #creation .mw-page-heading h2{font-size:22px}}
#workspace #creation .mw-page-heading{padding:0;background:transparent;border:0;margin:16px 0 10px}
#workspace #creation .mw-workbench .mw-toolbar{padding:0!important;margin:10px 0}
#workspace #creation .mw-workbench .mw-toolbar label{gap:4px}
#workspace #creation .mw-view-tabs{margin:8px 0 16px}
#workspace #creation .mw-workbench .mw-layout{padding-bottom:10px}
#workspace #creation .mw-view-tabs button{border:0!important;background:transparent!important;border-radius:0!important}
#workspace #creation .mw-view-tabs button[aria-pressed=true]{border-bottom:3px solid #7250ef!important;color:#7250ef!important}
#workspace #creation .mw-workbench .mw-scene-head label{font-size:0;gap:0;margin:0}
#workspace #creation .mw-workbench .mw-scene-head input{font-size:12px;padding:7px}
#workspace #creation .mw-workbench .mw-scene>button{order:2;padding:5px 7px;font-size:10px}
#workspace #creation .mw-workbench .mw-scene .mw-candidate button:not(.studio-thumbnail){padding:3px 5px;font-size:10px}
#workspace #creation .mw-workbench .mw-scene>.mw-check{font-size:10px;min-width:90px}
#workspace #creation .mw-workbench .mw-scene>label:not(.mw-check){min-width:80px;font-size:10px;gap:3px}
#workspace #creation .mw-workbench .mw-scene>label:not(.mw-check) input{padding:5px}
#workspace #creation .mw-workbench .mw-scene{padding:10px;gap:6px}
#workspace #creation .mw-workbench .mw-scene .studio-thumbnail{height:62px;min-height:0}
#workspace #creation .mw-workbench .mw-candidate{position:relative}
#workspace #creation .mw-workbench .mw-candidate>button:not(.studio-thumbnail){position:absolute;top:3px;right:3px;width:22px;height:22px;min-height:0;padding:0!important;overflow:hidden;font-size:0;border-radius:50%;background:#ffffffdd}
#workspace #creation .mw-workbench .mw-candidate>button:not(.studio-thumbnail)::after{content:'×';font-size:16px}
#workspace #creation .mw-workbench .mw-library .studio-thumbnail-small{max-width:none;width:100%;height:auto;aspect-ratio:16/9}
/* Match the approved reference toolbar and button hierarchy. */
#workspace #creation .mw-page-heading{align-items:center;height:auto;min-height:48px;gap:14px;margin:10px 0 4px;padding:0!important;background:transparent!important}
#workspace #creation .mw-page-heading>div:first-child{display:flex;align-items:baseline;gap:16px;min-width:0}
#workspace #creation .mw-page-heading h2{font-size:26px;margin:0;white-space:nowrap}
#workspace #creation .mw-page-heading .muted{font-size:12px}
#workspace #creation .mw-page-heading .mw-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:nowrap;margin:0 0 0 auto!important;padding:0!important}
#workspace #creation .mw-project-select{font-size:0;gap:0;width:220px;min-width:0}
#workspace #creation .mw-project-select select{font-size:12px;padding:10px 12px;background:#ffffffb8!important;border-radius:8px;max-width:220px}
#workspace #creation .mw-save-state{display:none}
#workspace #creation .mw-workbench button.secondary{border-radius:8px;padding:9px 12px;font-size:12px}
#workspace #creation .mw-workbench .mw-save-project{background:linear-gradient(110deg,#2695ff,#176bff)!important;color:#fff!important;border:0!important;box-shadow:0 4px 10px #2084ff25!important}
#workspace #creation .mw-workbench .mw-scenes>.mw-row:first-child{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
#workspace #creation .mw-workbench .mw-scenes>.mw-row:first-child h3{margin:0;font-size:17px}
#workspace #creation .mw-workbench .mw-scenes>.mw-row:first-child button,#workspace #creation .mw-workbench .mw-material-tools>button:first-child,#workspace #creation .mw-workbench .mw-material-footer>button{background:linear-gradient(110deg,#299fff,#8854ff)!important;color:white!important;border:0!important;box-shadow:0 3px 10px #7252eb15!important}
#workspace #creation .mw-workbench .mw-material-tools>button:nth-child(2){background:#f9fbff!important;border:1px solid #dbe4fa!important;color:#3d527a!important}
#workspace #creation .mw-workbench .mw-filters{gap:6px;background:#f5f7ff;border-radius:18px;padding:3px}
#workspace #creation .mw-workbench .mw-filters button{padding:5px 12px;border:0;border-radius:16px;background:transparent;color:#8190aa;font-size:11px}
#workspace #creation .mw-workbench .mw-filters [aria-pressed=true]{background:#dce6ff!important;color:#514cff!important}
#workspace #creation .mw-workbench .mw-library input[type=search]{padding:9px 10px;font-size:11px}
#workspace #creation .mw-workbench .mw-generation-bar>button{background:linear-gradient(110deg,#493cff,#7b42ff)!important;color:white!important;border:0!important;border-radius:10px;padding:13px 20px;font-size:14px}
#workspace #creation .mw-workbench .mw-scene.is-active{border:1px solid #9169ff;box-shadow:0 0 0 1px #9169ff22;background:#faf8ff}
#workspace #creation .mw-workbench .mw-scene-head input{border:1px solid #e1e7f7;border-radius:6px;background:#f8faff;padding:5px 8px;max-width:160px}
#workspace #creation .mw-workbench .mw-scene-head button{padding:4px!important;width:26px;height:26px}
#workspace #creation .mw-workbench .mw-number{font-size:14px;padding:5px 8px}
#workspace #creation .mw-workbench .mw-scene-duration{order:2;font-size:11px;color:#6c7da1;white-space:nowrap}
#workspace #creation .mw-workbench .mw-scene-options{position:relative}
#workspace #creation .mw-workbench .mw-scene-options summary{list-style:none;cursor:pointer;padding:4px 8px;color:#49699d;font-weight:bold}
#workspace #creation .mw-workbench .mw-scene-options[open]{background:var(--ui-surface,#fff);border:1px solid var(--ui-border,#dce1f3);border-radius:10px;padding:10px;position:absolute;right:10px;top:10px;z-index:6;box-shadow:0 8px 24px #20335620}
#workspace #creation .mw-workbench .mw-scene-options[open] label{margin:10px 0}
#workspace #creation .mw-workbench .mw-scenes>p{font-size:11px;margin-bottom:8px}
#workspace #creation .mw-workbench .mw-scene{position:relative}
@media(max-width:1100px){#workspace #creation .mw-page-heading{flex-wrap:wrap}#workspace #creation .mw-page-heading>div:first-child{flex-wrap:wrap;gap:6px}#workspace #creation .mw-page-heading .mw-toolbar{margin-left:0!important}}
@media(max-width:650px){#workspace #creation .mw-page-heading .mw-toolbar{flex-wrap:wrap}#workspace #creation .mw-project-select{width:100%}#workspace #creation .mw-project-select select{max-width:none}#workspace #creation .mw-page-heading h2{font-size:22px}}
#workspace #creation .mw-project-select{position:relative;width:240px}
#workspace #creation .mw-project-select select{max-width:240px;padding-right:82px}
#workspace #creation .mw-project-select .mw-save-state{display:block!important;position:absolute;right:26px;top:50%;transform:translateY(-50%);font-size:10px;color:#526992;pointer-events:none;margin:0;background:#fafcff}
#workspace #creation .mw-project-select .mw-save-state::before{content:'·';padding-right:4px;color:#36b99a}
@media(max-width:650px){#workspace #creation .mw-project-select{width:100%}#workspace #creation .mw-project-select select{max-width:none}}
#workspace #creation .mw-workbench .mw-filters button{min-height:0!important;height:26px!important;padding:4px 12px!important;border:0!important}
#workspace #creation .mw-workbench .mw-scene-head button{min-height:0!important;height:26px!important;padding:4px!important}
#workspace #creation .mw-workbench .mw-scene>button{min-height:0!important;height:25px!important;padding:4px 7px!important}
#workspace #creation .mw-workbench .mw-scene>.mw-check input{appearance:none;width:30px!important;height:16px!important;min-height:0;padding:0!important;position:relative;background:#c9d3e3!important;border:0!important;border-radius:12px;margin:0}
#workspace #creation .mw-workbench .mw-scene>.mw-check input::after{content:'';position:absolute;top:2px;left:2px;width:12px;height:12px;border-radius:50%;background:white;transition:transform .15s}
#workspace #creation .mw-workbench .mw-scene>.mw-check input:checked{background:linear-gradient(110deg,#4288ff,#7452ff)!important}
#workspace #creation .mw-workbench .mw-scene>.mw-check input:checked::after{transform:translateX(14px)}
#workspace.board-layout #creation .mw-workbench .mw-toolbar button.mw-save-project{background:linear-gradient(110deg,#2695ff,#176bff)!important;color:#fff!important;border:0!important;box-shadow:0 4px 10px #2084ff25!important}
#workspace #creation .mw-workbench .mw-scene-head{margin:0!important;min-height:0;gap:6px}
#workspace #creation .mw-workbench .mw-scene-head input{min-height:0!important;height:28px;padding:4px 8px!important}
#workspace #creation .mw-workbench .mw-scenes>p{display:none}
#workspace #creation .mw-workbench .mw-candidate>small{display:none}
#workspace #creation .mw-workbench .mw-scene{gap:5px;padding:8px}
#workspace #creation .mw-workbench .mw-add-candidate{min-height:62px;font-size:11px}
#workspace #creation .mw-workbench .mw-scene-head .mw-number{padding:3px 6px}
/* Confirmed commander: visible assistants / conversation / skills. */
body #workspace.board-layout #harness .hc-workspace{display:grid!important;grid-template-columns:210px minmax(0,1fr) 290px!important;gap:12px;background:transparent!important;border:0;align-items:stretch}
body #workspace.board-layout #harness :is(.hc-history,.hc-main,.hc-context,.hc-chat-head,.hc-composer,.hc-composer-footer){background:var(--hc-surface)!important;color:var(--hc-text)!important;border-color:var(--hc-line)!important}
body #workspace.board-layout #harness .hc-history{width:auto;max-height:none;align-self:stretch;padding:18px 14px;border-radius:12px;display:flex;flex-direction:column}
body #workspace.board-layout #harness .hc-agent-list{display:flex;flex-direction:column;flex-wrap:nowrap;gap:10px;min-height:0;max-height:420px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
body #workspace.board-layout #harness .hc-agent-item{width:100%;display:flex;gap:10px;align-items:center;padding:12px 8px;text-align:left;border:1px solid transparent;background:transparent!important;border-radius:10px;color:var(--hc-text)!important}
body #workspace.board-layout #harness .hc-agent-item.active{background:var(--ui-surface-muted)!important;border-color:var(--hc-line)}
body #workspace.board-layout #harness .hc-agent-meta{min-width:0;display:grid;gap:5px}
body #workspace.board-layout #harness .hc-agent-meta small{font-size:11px;line-height:1.6;overflow-wrap:anywhere}
body #workspace.board-layout #harness .hc-context{display:flex!important;flex-direction:column;grid-column:auto!important;gap:10px;padding:18px 14px;border:1px solid var(--hc-line);border-radius:12px;min-width:0;position:static;width:auto}
body #workspace.board-layout #harness .hc-context-title{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0}
body #workspace.board-layout #harness .hc-context-title .hc-section-label{display:none}
body #workspace.board-layout #harness .hc-context-title h3{font-size:17px;margin:0}
body #workspace.board-layout #harness .hc-tool-count{font-size:11px;color:var(--ui-link);background:var(--ui-surface-muted);border-radius:20px;padding:5px 8px}
body #workspace.board-layout #harness .commander-manage-skills{margin-left:auto;font-size:11px;padding:4px}
body #workspace.board-layout #harness .hc-context>p{font-size:11px;line-height:1.6;margin:0;color:var(--ui-text-muted)!important}
body #workspace.board-layout #harness .hc-tool{display:flex;flex-direction:row;align-items:center;gap:10px;padding:12px 10px;margin:0;min-height:62px;box-sizing:border-box;background:var(--hc-surface)!important;border:1px solid var(--hc-line);border-radius:10px}
body #workspace.board-layout #harness .hc-tool>span:nth-child(2){flex:1;min-width:0;display:grid;gap:5px}
body #workspace.board-layout #harness .hc-tool strong{font-size:13px;color:var(--hc-text)!important}
body #workspace.board-layout #harness .hc-tool small{font-size:10px;line-height:1.5;color:var(--ui-text-muted)!important}
body #workspace.board-layout #harness .hc-tool input{width:17px;height:17px;flex:none;accent-color:#496cff}
body #workspace.board-layout #harness .hc-tool-icon{width:38px;height:38px;border-radius:11px;font-size:18px;display:grid;place-items:center;flex:none}
body #workspace.board-layout #harness .hc-tool-acquisition{background:#ddf8ff;color:#039abb}
body #workspace.board-layout #harness .hc-tool-creation{background:#eee3ff;color:#8550e7}
body #workspace.board-layout #harness .hc-tool-knowledge{background:#dcf9ee;color:#08966d}
body #workspace.board-layout #harness .hc-tool-outbound{background:#fff1d1;color:#d48a13}
body #workspace.board-layout #harness .hc-tool-map_leads{background:#e5efff;color:#3d73ed}
body #workspace.board-layout #harness .hc-tool.commander-skill-selected{border-color:var(--ui-border-strong)}
body #workspace.board-layout #harness .hc-context-divider,body #workspace.board-layout #harness .hc-context-note{display:none}
body #workspace.board-layout #harness .commander-settings{padding:12px;border-radius:10px;margin:8px 0;background:var(--ui-surface-muted);border-color:var(--hc-line)}
body #workspace.board-layout #harness .commander-settings .hc-head-actions{display:grid;margin-top:14px;padding:0;background:transparent!important}
body #workspace.board-layout #harness .commander-settings :is(select,.hc-device-card){width:100%;min-width:0}
body #workspace.board-layout #harness .commander-task-summary{position:relative;border-top:1px solid var(--hc-line);padding-top:20px;margin-top:10px}
body #workspace.board-layout #harness .commander-task-summary h3{font-size:16px}
body #workspace.board-layout #harness .commander-task-summary>button{font-size:11px;position:absolute;right:0;top:17px}
body #workspace.board-layout #harness .commander-task-empty{padding:32px 12px;text-align:center;font-size:12px;color:var(--ui-text-muted)}
body #workspace.board-layout #harness .hc-main{display:flex;flex-direction:column;border-radius:12px;grid-column:auto;min-width:0}
body #workspace.board-layout #harness .hc-chat-head{padding:16px;gap:10px;align-items:center}
body #workspace.board-layout #harness .hc-chat-head .hc-agent-heading{display:none}
body #workspace.board-layout #harness .hc-model-picker{display:flex;align-items:center;gap:8px;font-size:0;min-width:0;flex:1}
body #workspace.board-layout #harness .hc-model-picker select{max-width:100%;width:210px;font-size:15px;font-weight:650;border:0;background:var(--hc-surface)!important;color:var(--hc-text)!important}
body #workspace.board-layout #harness .commander-model-toggle{font-size:12px;padding:9px 12px;background:var(--hc-surface)!important;color:var(--hc-text)!important;border:1px solid var(--hc-line)}
body #workspace.board-layout #harness .hc-transcript{flex:1;padding:30px 18px;background:var(--hc-surface)!important;min-height:350px}
body #workspace.board-layout #harness .hc-welcome{margin:24px auto 0}
body #workspace.board-layout #harness .hc-welcome h2{font-size:25px;color:var(--hc-text)!important}
body #workspace.board-layout #harness .hc-manual-hint{display:none}
body #workspace.board-layout #harness .hc-suggestions{gap:10px;margin-top:26px}
body #workspace.board-layout #harness .hc-suggestions button{align-items:center;text-align:center;padding:16px 8px;background:var(--hc-surface)!important;border-color:var(--hc-line)}
body #workspace.board-layout #harness .hc-suggestions :is(strong,span){color:var(--hc-text)!important}
body #workspace.board-layout #harness .hc-suggestions span{color:var(--ui-text-muted)!important}
body #workspace.board-layout #harness .hc-composer{padding:0 14px 14px}
body #workspace.board-layout #harness .hc-composer textarea{background:var(--hc-surface)!important;color:var(--hc-text)!important;border-color:var(--hc-line)!important;min-height:90px}
body #workspace.board-layout #harness .hc-composer-footer{padding:10px;gap:8px}
body #workspace.board-layout #harness .hc-composer-footer>span{display:none}
body #workspace.board-layout #harness .commander-selected-skills{display:flex;gap:5px;flex-wrap:wrap;flex:1}
body #workspace.board-layout #harness .commander-skill-chip{font-size:10px;padding:5px 7px;border-radius:16px;background:var(--ui-surface-muted)!important;color:var(--ui-link)!important;border:1px solid var(--hc-line)}
body #workspace.board-layout #harness .hc-attach-button{font-size:11px;border:1px solid var(--hc-line);padding:8px;border-radius:8px}
body #workspace.board-layout #harness .commander-media-help{margin-top:6px;font-size:10px}
body[data-theme=dark] #workspace.board-layout #harness :is(.muted,small,.hc-message-content){color:var(--ui-text-secondary)!important}
@media(min-width:801px) and (max-width:1200px){body #workspace.board-layout #harness .hc-workspace{grid-template-columns:170px minmax(0,1fr)!important}body #workspace.board-layout #harness .hc-context{grid-column:1/-1!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))}body #workspace.board-layout #harness .hc-context-title{grid-column:1/-1}}
@media(max-width:800px){body #workspace.board-layout #harness .hc-workspace{display:flex!important;flex-direction:column}body #workspace.board-layout #harness .hc-history{width:100%}body #workspace.board-layout #harness .hc-context{width:100%;box-sizing:border-box}body #workspace.board-layout #harness .hc-suggestions{grid-template-columns:repeat(2,minmax(0,1fr))}body #workspace.board-layout #harness .hc-agent-list{flex-direction:column;flex-wrap:nowrap}body #workspace.board-layout #harness .hc-agent-item{flex:1;min-width:140px}body #workspace.board-layout #harness .hc-welcome h2{font-size:22px}body #workspace.board-layout #harness .hc-chat-head{flex-wrap:nowrap}body #workspace.board-layout #harness .hc-model-picker select{width:180px}}
body #workspace.board-layout[data-active-page=harness] .console-hero{min-height:110px!important;padding:22px 30px!important}
body #workspace.board-layout[data-active-page=harness] .console-hero .eyebrow{display:none}
body #workspace.board-layout[data-active-page=harness] .console-hero:not([data-hero-source=upload])::after{display:block!important;content:"";position:absolute;right:0;top:0;width:42%;height:100%;background:var(--configured-hero,url('/console/assets/aurora-workbench-hero.png')) right center/cover no-repeat;opacity:.75;pointer-events:none}
body #workspace.board-layout #harness .hc-tool{min-height:58px;padding:10px}
body #workspace.board-layout #harness .hc-tool input[type=checkbox]{appearance:auto!important;background:initial!important;border-radius:3px;box-shadow:none}
body #workspace.board-layout #harness .hc-tool input[type=checkbox]::before,body #workspace.board-layout #harness .hc-tool input[type=checkbox]::after{content:none!important}
body #workspace.board-layout #harness .hc-history-note{display:none}
body #workspace.board-layout #harness .commander-task-empty{padding:22px 12px}
body #workspace.board-layout #harness .hc-model-picker{justify-content:flex-start}
body #workspace.board-layout #harness .hc-model-picker select{text-align:left}
body #workspace.board-layout #harness .commander-media-help button{margin:8px 6px 0 0;font-size:11px}
body #workspace.board-layout #harness :is(.hc-sidebar-title strong,.hc-agent-meta strong,.hc-context h3,.commander-settings summary,.hc-recent summary){color:var(--hc-text)!important}
body #workspace.board-layout #harness :is(.hc-welcome>p,.hc-history-item,.commander-media-help,.hc-context .muted){color:var(--ui-text-muted)!important}
body #workspace.board-layout #harness .hc-agent-search{background:var(--hc-surface)!important;border-color:var(--hc-line)}
body #workspace.board-layout #harness .hc-agent-search input{background:transparent!important;color:var(--hc-text)!important}
/* Keep the existing assistant card geometry while separating rows and marking the current one. */
body #workspace.board-layout #harness .hc-agent-item{border-bottom-color:#1f2937}
body #workspace.board-layout #harness .hc-agent-item.active{background:linear-gradient(110deg,#c6eaf6,#cedcff,#dac9ff)!important;border-color:#dcdff8;box-shadow:none;color:#303d67!important}
body #workspace.board-layout #harness .hc-agent-item.active .hc-agent-meta strong{color:#303d67!important}
body #workspace.board-layout #harness .hc-agent-item.active .hc-agent-meta small{color:#62708a!important}
body #workspace.board-layout #harness .hc-agent-item.active .hc-agent-avatar{background:#ffffffaa;border-color:#d5ddf6;color:#6551e6}
body #workspace.board-layout #harness .hc-agent-item:focus-visible{outline:2px solid #6551e6;outline-offset:2px}
body #workspace.board-layout #harness .hc-model-picker select{flex:0 1 250px;text-align:left;appearance:auto!important}
body #workspace.board-layout #harness .hc-attach-button{background:var(--hc-surface)!important;color:var(--ui-text-secondary)!important}
body #workspace.board-layout[data-active-page=harness] .console-hero::after{mask-image:linear-gradient(to right,transparent,#000 30%)}
body #workspace.board-layout[data-active-page=harness] .console-hero>div>p:first-child{display:none}
body #workspace.board-layout #harness .hc-model-picker{flex-direction:row!important;height:auto;min-height:0}
body #workspace.board-layout #harness .hc-model-picker select{height:36px;min-height:36px;flex:0 1 250px}
