/* JIANYI approved gray-blue workspace. Presentation only; existing handlers and APIs remain intact. */
body:has(.creator-page){--gold:#536c8f;--gold2:#334b6c;--bg:#dce3ec;--panel:#f7f9fc;color:#26364d;background:#dce3ec;font-family:Inter,"Microsoft YaHei",sans-serif}
body:has(.creator-page) .shell{grid-template-columns:190px minmax(0,1fr)!important;background:#dce3ec!important}
body:has(.creator-page) .rail{width:190px!important;background:#252e3b!important;border-color:#364254!important;align-items:stretch}
body:has(.creator-page) .brand-mark{width:100%!important;min-height:70px;border:0;background:transparent!important;justify-content:flex-start;padding-left:22px}
body:has(.creator-page) .brand-mark img{width:38px;height:38px}
body:has(.creator-page) .brand-mark::after{content:'简一';font-size:21px;font-weight:750;color:#e9eff7;margin-left:12px}
body:has(.creator-page) .rail nav{padding:20px 14px!important;gap:7px!important}
body:has(.creator-page) .rail nav button,body:has(.creator-page) .rail-bottom>button:not(.avatar-mini){width:100%!important;min-height:46px!important;flex-direction:row!important;justify-content:flex-start!important;gap:13px!important;padding:0 13px;color:#b6c3d6!important;font-size:14px!important}
body:has(.creator-page) .rail nav button svg{color:inherit!important;filter:none!important;width:21px;height:21px}
body:has(.creator-page) .rail nav button span{display:inline!important;white-space:nowrap}
body:has(.creator-page) .rail nav button.active{background:#536b8e!important;color:white!important;box-shadow:none!important}
body:has(.creator-page) .rail nav button:hover{background:#344255!important;color:white!important}
body:has(.creator-page) .rail-bottom{padding:12px 14px;display:flex;align-items:center;gap:10px}
body:has(.creator-page) .topbar{height:70px!important;background:#f4f6fa!important;border-color:#c7d1df!important;padding:0 28px!important;color:#25364b!important}
body:has(.creator-page) .topbar-title{font-size:0!important;color:#25364b!important}
body:has(.creator-page) .topbar-title::after{content:'JIANYI 简一';font:800 23px/1.3 Inter,"Microsoft YaHei",sans-serif;letter-spacing:-.6px}
body:has(.creator-page) .topbar-page-heading{margin-left:34px!important;max-width:640px}
body:has(.creator-page) .topbar-page-heading h1{color:#2a3b53!important;font:650 20px/1.3 Inter,"Microsoft YaHei",sans-serif!important}
body:has(.creator-page) .topbar-page-heading span,body:has(.creator-page) .topbar-page-heading p{color:#687e99!important}
body:has(.creator-page) .topbar-actions button{background:#e7edf5!important;border-color:#c1cede!important;color:#3c5679!important}
body:has(.creator-page) .stage{background:#dce3ec!important;min-width:0}
body:has(.creator-page) .creator-page{padding:24px 28px 32px!important;background:#dce3ec!important;min-height:calc(100dvh - 70px)}
body:has(.creator-page) .workbench{display:grid!important;grid-template-columns:minmax(0,1fr) 350px!important;gap:20px!important;align-items:start!important;max-width:none!important}
body:has(.creator-page) .composer-panel,body:has(.creator-page) .task-panel{background:#f7f9fc!important;border:1px solid #bdcbdc!important;border-radius:9px!important;box-shadow:0 3px 14px #344b6410!important;min-height:0!important;height:auto!important;padding:20px!important;min-width:0}
body:has(.creator-page) .composer-panel{display:flex!important;flex-direction:column!important;gap:0}
body:has(.creator-page) .section-line{color:#293b53!important;font-size:14px!important;margin-bottom:12px}
body:has(.creator-page) .section-line span,body:has(.creator-page) .section-line small{color:#71859e!important}
body:has(.creator-page) .drop-target{min-height:80px!important;background:#e9eef5!important;color:#4f698b!important;border-color:#acbed3!important;border-radius:6px!important}
body:has(.creator-page) .drop-target strong{font-size:14px!important}
body:has(.creator-page) .drop-target span{color:#71859e!important;font-size:12px!important}
body:has(.creator-page) .prompt-box{flex:none!important;min-height:0!important;background:#e7edf5!important;border-color:#b8c7db!important;margin-top:20px!important;border-radius:6px!important}
body:has(.creator-page) .prompt-box>div:first-child{color:#344b69!important;font-size:14px!important}
body:has(.creator-page) .prompt-editor-shell{height:max(260px,var(--adaptive-prompt-height,260px))!important;min-height:260px!important;flex:none!important}
body:has(.creator-page) .prompt-editor-shell textarea{background:transparent!important;color:#293f5c!important;font-size:15px!important;line-height:1.8!important;caret-color:#344b69!important}
body:has(.creator-page) .prompt-editor-shell.structured textarea{color:transparent!important}
body:has(.creator-page) .prompt-editor-shell textarea::placeholder{color:#7c8da4!important}
body:has(.creator-page) .prompt-actions{background:#e7edf5!important;border-color:#c0cddd!important;min-height:42px}
body:has(.creator-page) .mention-trigger{background:#f5f8fc!important;color:#4e6788!important;border-color:#b9c8da!important}
body:has(.creator-page) .composer-creation-tip-inline{color:#6e8099!important;font-size:11px!important}
body:has(.creator-page) .control-row{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin-top:22px!important;padding-top:18px;border-top:1px solid #cbd5e2}
body:has(.creator-page) .control-row .model-badge-picker{grid-column:1/-1!important;order:-2!important;min-width:0}
body:has(.creator-page) .control-row .video-preset-control{grid-column:1/-1!important;order:-1!important}
body:has(.creator-page) .control-row label>span{color:#3d5371!important;font-size:13px!important;margin-bottom:7px!important}
body:has(.creator-page) .control-row select,body:has(.creator-page) .ad-style-trigger{height:44px!important;background:#e8eef6!important;color:#304866!important;border:1px solid #b5c6dd!important;font-size:14px!important;border-radius:5px!important;width:100%}
body:has(.creator-page) .model-badge-trigger{width:100%!important;min-height:54px!important;background:#e6edf6!important;border:1px solid #a4bad5!important;border-radius:6px!important;color:#314967!important;font-size:14px!important;padding:10px 14px!important}
body:has(.creator-page) .model-badge-trigger::after{content:'更换模型 ▾';margin-left:auto;background:#536b8e;color:white;padding:8px 12px;border-radius:4px;font-size:12px;white-space:nowrap}
body:has(.creator-page) .model-badge-name{color:inherit!important;font-size:14px!important}
body:has(.creator-page) .model-billing-mode{background:#d0deed!important;color:#3c587e!important;border-color:#b1c5df!important}
body:has(.creator-page) .model-badge-menu{background:#f6f9fd!important;border-color:#b5c6dc!important;box-shadow:0 12px 32px #283e5c30!important;max-height:340px!important;overflow:auto!important}
body:has(.creator-page) .model-badge-menu button{background:#f6f9fd!important;color:#304867!important;border-color:#cad6e5!important;min-height:52px!important;font-size:13px!important}
body:has(.creator-page) .model-badge-menu button:hover,body:has(.creator-page) .model-badge-menu button.active,body:has(.creator-page) .model-badge-menu button[aria-selected=true]{background:#3c5476!important;color:white!important}
body:has(.creator-page) .submit-bar{margin-top:22px!important;padding:16px!important;background:#e0e8f3!important;border:1px solid #b9c9dd!important;border-radius:6px;display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:14px!important}
body:has(.creator-page) .audio-switch{color:#435d80!important;font-size:13px!important}
body:has(.creator-page) .model-insight{background:#edf2f8!important;border-color:#bccce0!important;color:#4c6484!important;flex:1;min-width:160px}
body:has(.creator-page) .model-insight :is(span,p){color:#5b718d!important}
body:has(.creator-page) .model-insight :is(b,strong){color:#cd6a12!important}
body:has(.creator-page) .cost{color:#536c8b!important;font-size:13px!important;white-space:nowrap}
body:has(.creator-page) .cost strong{color:#d66b11!important;font-size:26px!important}
body:has(.creator-page) .gold-button.primary{background:#536b8e!important;border:1px solid #536b8e!important;color:#fff!important;min-height:52px!important;min-width:190px!important;font-size:15px!important;display:flex;align-items:center;justify-content:center;border-radius:6px!important}
body:has(.creator-page) .gold-button.primary:disabled{opacity:.55}
body:has(.creator-page) .task-panel{position:sticky!important;top:20px!important;height:calc(100dvh - 118px)!important;max-height:calc(100dvh - 118px)!important;min-height:420px!important;overflow-y:auto!important;overscroll-behavior:contain}
body:has(.creator-page) .task-panel .panel-heading{color:#2b405d!important;border-color:#c5d0df!important}
body:has(.creator-page) .task-panel h2{font-size:18px!important;color:#2b405d!important}
body:has(.creator-page) .task-empty{color:#70839d!important;min-height:330px!important}
body:has(.creator-page) .task-empty strong{color:#3a516f!important;font-size:16px!important}
body:has(.creator-page) .play-orbit{border-color:#bbcbdc!important;color:#6e89ab!important;background:#e6edf5!important;box-shadow:none!important}
body:has(.creator-page) .task-preview{background:#e7edf5!important;border-color:#bbc9dc!important;min-height:160px!important;max-height:260px!important;aspect-ratio:16/9}
body:has(.creator-page) .task-preview img,body:has(.creator-page) .task-preview video{object-fit:contain!important}
body:has(.creator-page) .task-body,body:has(.creator-page) .task-body :is(dt,dd){color:#425a7c!important;font-size:13px!important;border-color:#c6d1df!important}
body:has(.creator-page) .task-panel .progress-row{color:#4a6283!important;font-size:13px!important}
body:has(.creator-page) .task-panel .progress-row.failed-reason>span{color:#b13f3a!important;white-space:normal!important}
body:has(.creator-page) .task-panel-meta{color:#5c7494!important;background:#e4ebf5!important;border-color:#becce0!important;font-size:12px!important}
body:has(.creator-page) .task-panel-history{flex:none!important;overflow:visible!important;border-color:#c4cfdf!important}
body:has(.creator-page) .task-panel-history>header strong{color:#365171!important;font-size:14px!important}
body:has(.creator-page) .task-panel-history>div{max-height:360px!important;min-height:0!important}
body:has(.creator-page) .task-panel-history>div>button{background:#e9eff6!important;border-color:#bfcede!important;min-height:58px!important;max-height:none!important}
body:has(.creator-page) .task-panel-history>div>button :is(strong,small,em){color:#49627f!important;font-size:12px!important}
body:has(.creator-page) .task-actions :is(a,button){background:#eef3f9!important;border-color:#b7c8dd!important;color:#425f83!important;min-height:38px!important;font-size:12px!important}
body:has(.creator-page) :is(button,select,textarea):focus-visible{outline:2px solid #6687b4!important;outline-offset:3px}
@media(min-width:1800px){body:has(.creator-page) .workbench{grid-template-columns:minmax(0,1fr) 380px!important}body:has(.creator-page) .creator-page{padding:30px 38px!important}}
@media(max-width:1050px){body:has(.creator-page) .shell{grid-template-columns:160px minmax(0,1fr)!important}body:has(.creator-page) .rail{width:160px!important}body:has(.creator-page) .workbench{grid-template-columns:minmax(0,1fr)!important}body:has(.creator-page) .task-panel{position:static!important;height:480px!important;max-height:480px!important}body:has(.creator-page) .control-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}body:has(.creator-page) .topbar-page-heading{display:none!important}}
@media(max-width:600px){body:has(.creator-page) .shell{grid-template-columns:58px minmax(0,1fr)!important}body:has(.creator-page) .rail{width:58px!important}body:has(.creator-page) .brand-mark{padding:10px!important}body:has(.creator-page) .brand-mark::after{display:none}body:has(.creator-page) .rail nav{padding:12px 5px!important}body:has(.creator-page) .rail nav button{width:48px!important;padding:8px!important;justify-content:center!important}body:has(.creator-page) .rail nav button span{display:none!important}body:has(.creator-page) .rail-bottom{padding:10px 5px;flex-direction:column}body:has(.creator-page) .creator-page{padding:16px 10px!important}body:has(.creator-page) .topbar{padding:0 10px!important}body:has(.creator-page) .topbar-title::after{font-size:18px}body:has(.creator-page) .composer-panel,body:has(.creator-page) .task-panel{padding:14px!important}body:has(.creator-page) .control-row{gap:10px!important}body:has(.creator-page) .model-badge-trigger{flex-wrap:wrap!important}body:has(.creator-page) .model-badge-trigger::after{margin-left:0}body:has(.creator-page) .model-insight{flex-basis:100%}body:has(.creator-page) .gold-button.primary{width:100%!important}body:has(.creator-page) .prompt-editor-shell{min-height:230px!important}body:has(.creator-page) .composer-creation-tip-inline{display:none!important}}
/* Follow-up containment corrections verified against production DOM. */
body:has(.creator-page) .topbar-title>strong,body:has(.creator-page) .topbar-title>span{display:none!important}
body:has(.creator-page) .rail nav{width:100%!important;max-width:none!important;align-items:stretch!important;box-sizing:border-box}
body:has(.creator-page) .rail nav button{max-width:none!important;flex-shrink:0!important}
body:has(.creator-page) .brand-mark{display:flex!important;flex-direction:row!important;align-items:center!important;gap:0!important;max-width:none!important}
body:has(.creator-page) .control-row>label:has(.model-badge-picker){grid-column:1/-1!important;order:-2!important}
body:has(.creator-page) .control-row .video-preset-control>button{background:#e8eef6!important;border:1px solid #b5c6dd!important;color:#304866!important;min-height:44px!important}
body:has(.creator-page) .control-row .video-preset-control>button :is(strong,svg){color:#425e82!important}
body:has(.creator-page) .task-empty :is(strong,p){font-family:Inter,"Microsoft YaHei",sans-serif!important;color:#536b89!important}
@media(max-width:600px){body:has(.creator-page) .rail nav{width:58px!important}body:has(.creator-page) .rail nav button{max-width:48px!important}}
body:has(.creator-page) .model-badge-trigger{display:flex!important;align-items:center!important;gap:8px!important;position:relative!important;flex-wrap:wrap!important}
body:has(.creator-page) .model-badge-trigger::after{position:static!important;transform:none!important;inset:auto!important;display:inline-flex!important;align-items:center!important;line-height:1.3!important}
body:has(.creator-page) .model-insight :is(em,small){color:#5b718d!important}
body:has(.creator-page) .task-panel .panel-heading :is(span,small){color:#6d8099!important}
body:has(.creator-page) .model-badge-trigger{height:auto!important;max-height:none!important;min-height:60px!important}
body:has(.creator-page) .model-badge-name{flex:1 1 180px!important;min-width:0!important;white-space:normal!important;line-height:1.55!important;overflow-wrap:anywhere!important}
body:has(.creator-page) .model-badge-trigger>i{position:static!important;flex:0 0 auto!important}
body:has(.creator-page) .model-badge-trigger>b{display:none!important}
@media(max-width:600px){body:has(.creator-page) .model-badge-name{flex-basis:100%!important}body:has(.creator-page) .model-badge-trigger::after{margin-left:auto!important}}
