:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;color:#f0f5f3;background:#101719}*{box-sizing:border-box}body{margin:0;min-width:320px;background:radial-gradient(ellipse 80% 34% at 50% -8%,#28483f 0%,transparent 72%),#101719}.shell{width:min(930px,100%);margin:auto;padding:22px 16px 52px}.topbar,.section-title,.token-row,.device-actions{display:flex;align-items:center;justify-content:space-between;gap:14px}.brand{display:flex;align-items:center;gap:10px}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#c7f36b;color:#18311e;font-weight:900;font-family:Georgia,serif}.brand p,.section-kicker{margin:0;color:#a9d277;font-size:.65rem;font-weight:800;letter-spacing:.13em}.brand h1{font-size:1.05rem;margin:3px 0 0;letter-spacing:.02em}h2{font-size:1.3rem;letter-spacing:-.025em;margin:3px 0}button{border:1px solid rgba(216,244,224,.14);border-radius:10px;padding:9px 12px;background:#20302d;color:#edf5ec;font:inherit;font-size:.82rem;font-weight:700;cursor:pointer}.status{font-size:.72rem}.status.online{border-color:#4d7853;background:#234b38;color:#d9f7d3}.start-comfy{border:0;background:#c7f36b;color:#19311e}.hero,.projects,.command,.queue,.connection{margin-top:18px;border:1px solid #283935;border-radius:18px;background:rgba(22,32,31,.92);box-shadow:0 16px 40px rgba(0,0,0,.13)}.hero{padding:25px;background:linear-gradient(130deg,rgba(42,73,57,.96),rgba(21,33,31,.96) 67%)}.hero-kicker{color:#d7f5ac;font-size:.8rem;font-weight:700}.live-dot{display:inline-block;width:7px;height:7px;margin-right:7px;border-radius:99px;background:#c7f36b;box-shadow:0 0 0 4px rgba(199,243,107,.12)}.hero h2{font-family:Georgia,"Songti SC",serif;font-size:2rem;margin-top:14px}.hero>p,.command>p,.connection>p,.section-title>div>p:not(.section-kicker){color:#adbbb3;line-height:1.62;font-size:.88rem;margin:7px 0 0}.flow{display:flex;align-items:center;gap:8px;overflow:auto;margin-top:24px;color:#dcedd2;font-size:.75rem;font-weight:700}.flow i{display:block;min-width:13px;height:1px;background:#83a776}.flow span{white-space:nowrap}.projects,.command,.queue,.connection{padding:20px}.section-title{align-items:flex-start}.section-title button{margin-top:4px}.project{margin-top:17px;padding:16px;border:1px solid #30423d;border-radius:13px;background:#15201e}.project-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.project h3{font-size:1.08rem;margin:8px 0 4px;line-height:1.35}.project small{color:#84958b;font-size:.74rem}.tag{display:inline-flex;border-radius:99px;padding:4px 8px;background:#2d4336;color:#cdf0a5;font-size:.68rem;font-weight:800;letter-spacing:.03em}.tag.segments_approved,.tag.completed{background:#1d6958;color:#dcffe5}.tag.running{background:#69531d;color:#fff0b4}.tag.needs_attention{background:#702f37;color:#ffd8dc}.segments{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:17px 0 0;padding:0;list-style:none}.segments li{min-height:108px;padding:12px;border:1px solid #2c3e38;border-radius:10px;background:#182522}.segments li>div{display:flex;justify-content:space-between;gap:7px;align-items:flex-start}.segments strong{font-size:.78rem;line-height:1.35}.segments span{color:#c6ef99;font-size:.72rem;white-space:nowrap}.segments p{margin:8px 0 0;color:#a9b8b0;font-size:.75rem;line-height:1.5}.project-note,.reference-note,.approved-message{margin:13px 0 0;color:#aebdb5;font-size:.78rem;line-height:1.55}.reference-note,.approved-message{color:#c6ef99}.approve{width:100%;margin-top:16px;border:0;background:#c7f36b;color:#19311e;padding:13px}.approve:disabled{opacity:.65;cursor:wait}.command{border-color:#52694d}.command label,.connection label{display:block;margin:17px 0 7px;color:#dce7df;font-size:.8rem;font-weight:700}textarea,input{width:100%;border:1px solid #394d46;border-radius:11px;background:#0f1816;color:#eff8f2;padding:12px;font:inherit;font-size:.9rem}textarea{min-height:108px;resize:vertical}.primary{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:10px;padding:13px 15px;border:0;background:#c7f36b;color:#17301d}.primary span{font-size:1.15rem}.feedback{min-height:1.3em;margin:9px 0 0;color:#c6ef99;font-size:.8rem}.job{padding:14px 0;border-top:1px solid #2a3a35}.job:first-child{border-top:0}.job div{display:flex;justify-content:space-between;gap:8px;align-items:center}.job p{margin:8px 0;color:#ecf4ef;font-size:.9rem;line-height:1.5}time,small{color:#84958b;font-size:.74rem}.outputs{margin:9px 0 0;padding-left:17px;color:#c6ef99;font-size:.75rem;line-height:1.5;overflow-wrap:anywhere}.connection{background:#16201e}.token-row input{flex:1}.token-row button{white-space:nowrap}.empty{color:#84958b;font-size:.85rem;margin:9px 0}@media (max-width:520px){.segments{grid-template-columns:1fr}.hero h2{font-size:1.78rem}.section-title{gap:10px}.projects,.command,.queue,.connection{padding:17px}}@media (min-width:760px){.shell{padding:35px 24px 64px}.projects,.command,.queue,.connection{padding:25px}.hero{padding:33px}.hero h2{font-size:2.35rem}}
/* Keep media thumbnails aligned with the same three-column folder grid. */
.folder-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;}
.folder-grid>.file-card,.folder-grid>.folder-card{width:100%;min-width:0;box-sizing:border-box;}
.folder-grid>.media-file-card .media-thumb{width:76.19px;height:66.12px;aspect-ratio:auto;flex:none;margin-top:-10.06px;}
.media-thumb img{-webkit-user-drag:none;user-drag:none;-webkit-touch-callout:none;user-select:none;-webkit-user-select:none;pointer-events:none}
.folder-grid>.file-card[data-preview-area="scripts"] .file-glyph{width:76.19px;height:66.12px;box-sizing:border-box;flex:none;margin-top:-10.06px;border-radius:7.19px;font-size:1rem;}
.workspace-reorder-mode .folder-grid>.folder-card,.workspace-reorder-mode .folder-grid>.file-card{position:relative;transform-origin:center;touch-action:none;cursor:grab;border-radius:12px!important;-webkit-tap-highlight-color:transparent;animation:workspace-card-wiggle .42s ease-in-out infinite;}
.workspace-reorder-mode .folder-grid>.folder-card:nth-child(even),.workspace-reorder-mode .folder-grid>.file-card:nth-child(even){animation-delay:.08s}
html.workspace-reorder-active,body.workspace-reorder-active{overflow-x:hidden!important;overscroll-behavior:none!important;touch-action:none!important;}
.media-thumb,.file-glyph{position:relative;}
.asset-icon-shell{position:relative;display:inline-grid;place-items:center;width:max-content;flex:none;}
.folder-grid>.file-card[data-preview-area="scripts"] .asset-icon-shell{margin-top:-10.06px;}
.folder-grid>.file-card[data-preview-area="scripts"] .file-glyph{margin-top:0!important;}
.folder-grid>.audio-file-card .asset-icon-shell{margin-top:-10.06px;}
.folder-grid>.audio-file-card .file-glyph{margin-top:0!important;}
.media-thumb-shell{position:relative;display:inline-grid;place-items:center;width:max-content;max-width:76.19px;flex:none;margin-top:-10.06px;}
.folder-grid>.media-file-card .media-thumb{margin-top:0!important;}
.media-thumb-shell>.asset-entry-delete,.asset-icon-shell>.asset-entry-delete{top:-7px;right:-7px;}
.asset-entry-delete{display:none;position:absolute;z-index:5;top:3px;right:3px;width:18px;height:18px;align-items:center;justify-content:center;border:1.5px solid #fff;border-radius:50%;background:#111;color:#fff;font:700 12px/1 Arial,sans-serif;box-shadow:0 1px 4px #0009;cursor:pointer;touch-action:manipulation;}
.workspace-reorder-mode .asset-entry-delete{display:flex;}
.workspace-reorder-mode .asset-entry-delete:focus-visible{outline:2px solid #c7f36b;outline-offset:2px;}
.workbench-subject-image-slot .workbench-bound-thumb{min-width:0;overflow:hidden;font-size:0!important;color:transparent!important;}
.workbench-bound-preview-fallback{display:grid;flex:none;place-items:center;width:76.19px;height:66.12px;max-width:100%;box-sizing:border-box;overflow:hidden;border:1px solid #395444;border-radius:7px;background:#17241e;color:#c7f36b;font-size:.65rem;font-weight:700;line-height:1.25;text-align:center;}
.workbench-bound-preview-fallback.compact{width:25px;height:20px;border:0;border-radius:4px;font-size:.48rem;}
.workspace-reorder-mode .folder-grid>.is-drag-source{z-index:2;}
.workspace-reorder-mode .folder-grid>.is-dragging{z-index:3;opacity:.78;pointer-events:none;transform:translate3d(var(--drag-x,0),var(--drag-y,0),0) scale(1.06);animation:none;}
.workspace-reorder-mode .folder-grid>.drop-target{border-radius:12px;background:rgba(199,243,107,.14);box-shadow:0 0 0 2px #c7f36b;}
.workspace-reorder-mode .folder-grid>.reorder-target{border-radius:12px;background:rgba(199,243,107,.08);}
@keyframes workspace-card-wiggle{0%,100%{transform:rotate(0)}25%{transform:rotate(-1.2deg)}75%{transform:rotate(1.2deg)}}
@media(prefers-reduced-motion:reduce){.workspace-reorder-mode .folder-grid>.folder-card,.workspace-reorder-mode .folder-grid>.file-card{animation:none}}
.folder-create-actions:has([data-image-create]),.folder-create-actions:has([data-video-create]){grid-template-columns:repeat(2,minmax(0,1fr));}
.workbench-page{margin-top:18px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.project-home{margin-top:18px;padding:20px;border:1px solid #283935;border-radius:18px;background:rgba(22,32,31,.92);box-shadow:0 16px 40px rgba(0,0,0,.13)}
.project-home-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.project-home-head h2{margin:5px 0}.project-home-head p:last-child{max-width:580px;margin:6px 0 0;color:#9eafa6;font-size:.82rem;line-height:1.5}.project-home-head>.primary{flex:none;width:auto;margin:0;min-height:44px;white-space:nowrap}
.home-project-list{display:grid;gap:10px}.home-project-card{overflow:hidden;border:1px solid #30463b;border-radius:13px;background:#111a17}.home-project-open{display:flex;align-items:center;gap:13px;width:100%;min-height:76px;padding:12px 14px;border:0;border-radius:0;background:transparent;text-align:left}.home-project-open:hover{background:#18251e}.home-project-icon{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:12px;background:#263e31;color:#c7f36b;font-size:.72rem;font-weight:900}.home-project-copy{display:block;flex:1;min-width:0}.home-project-copy strong,.home-project-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-project-copy strong{color:#edf5ec;font-size:.92rem}.home-project-copy small{margin-top:5px;color:#91a49a;font-size:.72rem}.home-project-arrow{flex:none;color:#c7f36b;font-size:1.15rem}.home-project-empty{display:grid;justify-items:center;gap:9px;padding:44px 18px;border:1px dashed #344b3c;border-radius:14px;background:#111a17;text-align:center}.home-project-empty>span{color:#c7f36b;font-size:2rem}.home-project-empty strong{color:#e7f0e6}.home-project-empty small{max-width:340px;color:#91a49a;font-size:.76rem;line-height:1.5}
.home-project-list-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:21px 0 10px}.home-project-list-heading h3{margin:0;color:#dce9dd;font-size:.88rem}.home-project-list-heading span{color:#84958b;font-size:.7rem}
.project-create-dialog{width:min(460px,calc(100vw - 30px));padding:20px;border:1px solid #40584a;border-radius:16px;background:#16201e;color:#edf5ec;box-shadow:0 18px 60px #0009}.project-create-dialog:not([open]){display:none}.project-create-dialog::backdrop{background:#050908b8}.project-create-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.project-create-head h3{margin:0;font-size:1.05rem}.project-create-head button{width:36px;height:36px;padding:0;font-size:1.2rem}.project-create-dialog label{display:grid;gap:7px;margin-top:14px;color:#dce7df;font-size:.78rem;font-weight:700}.project-create-dialog input,.project-create-dialog select{width:100%;min-height:44px;box-sizing:border-box;padding:10px;border:1px solid #394d46;border-radius:10px;background:#0f1816;color:#eff8f2;font:inherit;font-size:.88rem}.project-create-dialog>p{margin:13px 0 6px;color:#91a49a;font-size:.73rem;line-height:1.5}.project-create-dialog>small{display:block;min-height:1.3em;color:#c7f36b;font-size:.72rem}.project-create-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:14px}.project-create-actions button{min-height:42px}.project-create-actions .primary{justify-content:center;width:auto;margin:0;padding:10px}
@media(max-width:600px){.project-home{padding:15px 12px;border-right:0;border-left:0;border-radius:0}.project-home-head{align-items:flex-start;flex-direction:column;gap:12px}.project-home-head>.primary{width:100%;justify-content:center}.home-project-open{gap:10px;padding:11px}.home-project-copy small{font-size:.67rem}}
.workbench-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.workbench-heading h2{margin:5px 0}.workbench-heading p:last-child{margin:5px 0 0;color:#aabbb1;font-size:.84rem;line-height:1.45}
.workbench-project-tag{flex:none;padding:7px 10px;border:1px solid #3c5547;border-radius:999px;color:#c7f36b;font-size:.72rem;font-weight:800}
.workbench-steps{display:flex;align-items:flex-end;gap:0;margin:0;padding:0;min-height:52px;overflow:hidden;scrollbar-width:none}
.workbench-steps::-webkit-scrollbar{display:none}.workbench-steps button{display:flex;align-items:center;justify-content:center;gap:7px;flex:1 1 0;min-width:0;min-height:52px;margin:0 0 -1px;padding:8px 8px 9px;border:0;border-radius:15px 15px 0 0;background:#101719;color:#91a198;font-size:.75rem;white-space:nowrap;transition:background .16s,color .16s}
.workbench-steps button i{display:grid;place-items:center;width:21px;height:21px;border:1px solid #3d5548;border-radius:6px;background:#20322a;color:#a9d277;font-size:.57rem;font-style:normal;font-weight:900}
.workbench-steps button span{font-size:.75rem;font-weight:800}.workbench-steps button.active{position:relative;z-index:1;min-height:52px;margin-bottom:-1px;border:0;border-radius:17px 17px 0 0;background:#16201e;color:#f0f8e9;box-shadow:none;outline:none;filter:none}.workbench-steps button.active i{border-color:#c7f36b;background:#c7f36b;color:#18311e}
.workbench-steps button{box-shadow:none;-webkit-tap-highlight-color:transparent}.workbench-steps button:focus,.workbench-steps button:focus-visible{outline:none;box-shadow:none}
.workbench-steps button.locked,.workbench-steps button:disabled{cursor:not-allowed;opacity:.38;filter:saturate(.45)}
.workbench-step-content{position:relative;margin-top:-1px;padding:18px;border:0;border-radius:0 0 18px 18px;background:#16201e}
.workbench-panel{min-height:50vh}.workbench-panel-title{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:17px}.workbench-panel-title h3{margin:4px 0;font-size:1.12rem}.workbench-panel-title p:last-child{margin:4px 0 0;color:#98aaa0;font-size:.8rem;line-height:1.5}
.workbench-control-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:16px 0 8px;color:#dce7df;font-size:.82rem;font-weight:700}.workbench-control-row button{padding:7px 10px;font-size:.72rem}
.workbench-submit-segment{display:block;width:100%;margin-top:12px;padding:12px;border-color:#789c48;background:#c7f36b;color:#19311e;font-weight:800}.workbench-submit-segment:disabled{border-color:#3d5941;background:#203c2c;color:#c7f36b;cursor:default;opacity:1}.workbench-submit-status{display:block;margin-top:7px;color:#93ad92;font-size:.72rem}
.workbench-timeline-prompt{margin-top:14px;padding:14px;border:1px solid #354b3e;border-radius:13px;background:#14201b}.workbench-timeline-prompt-head{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:10px}.workbench-timeline-prompt-head>strong{flex:1 1 220px;color:#c7f36b;font-size:.88rem}.workbench-prompt-actions{display:flex;gap:6px}.workbench-prompt-actions button{padding:6px 10px;font-size:.72rem}.workbench-timeline-prompt-editor{display:block;width:100%;min-height:150px;resize:vertical;border:1px solid #30483c;border-radius:10px;background:#0e1714;color:#e8f0eb;padding:12px;font:inherit;font-size:.82rem;line-height:1.6}.workbench-timeline-prompt-editor[readonly]{opacity:.94}.workbench-timeline-prompt-status{display:block;margin-top:8px;color:#91a49a;font-size:.72rem}
.workbench-timeline-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.workbench-split-banner{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.workbench-split-banner-message{flex:1 1 auto;min-width:180px}.workbench-split-banner [data-generate-all-prompts]{flex:none;margin-left:auto;padding:7px 10px;border-color:#587546;background:#203a2b;color:#c7f36b;font-size:.72rem;white-space:nowrap}.workbench-split-banner [data-generate-all-prompts]:disabled{opacity:.75;cursor:wait}.workbench-split-banner [data-batch-prompt-feedback]:not(:empty){flex:1 1 100%;color:#c7f36b;font-size:.72rem}
#workbenchScriptSelect{width:100%;min-height:46px;border:1px solid #394d46;border-radius:11px;background:#0f1816;color:#eff8f2;padding:10px 12px;font:inherit;font-size:.88rem}
#workbenchSplitMode{grid-column:1/-1;width:100%;min-height:44px;border:1px solid #394d46;border-radius:11px;background:#0f1816;color:#eff8f2;padding:9px 12px;font:inherit;font-size:.84rem}.workbench-split-box #workbenchCountField{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) 88px;align-items:center;gap:10px}.workbench-split-box #workbenchCountField[hidden]{display:none}.workbench-split-box #workbenchCountField input{min-height:42px;padding:8px;text-align:center}.workbench-timing-hint{grid-column:1/-1;margin:0 0 5px;padding:9px 10px;border-radius:9px;background:#111a17}
.workbench-selected-script{display:flex;align-items:center;gap:12px;margin-top:12px;padding:12px;border:1px solid #34483d;border-radius:12px;background:#15201c}.workbench-selected-script .file-glyph{flex:none}.workbench-selected-script strong,.workbench-selected-script small{display:block}.workbench-selected-script small{margin-top:4px;color:#91a49a;font-size:.72rem}
.workbench-split-box{display:grid;grid-template-columns:minmax(0,1fr) 88px;gap:8px 10px;margin-top:16px;padding:14px;border:1px solid #31483b;border-radius:13px;background:#14201b}.workbench-split-box label{align-self:center;color:#dce7df;font-size:.8rem;font-weight:700}.workbench-split-box input{grid-column:2;min-height:42px;padding:8px;text-align:center}.workbench-split-box label[for=workbenchSplitInstructions],.workbench-split-box textarea,.workbench-split-box .primary,.workbench-split-box .workbench-hint{grid-column:1/-1}.workbench-split-box textarea{min-height:82px;font-size:16px}.workbench-split-box .primary{margin-top:3px}.workbench-hint{margin:8px 0 0;color:#8ea197;font-size:.74rem;line-height:1.5}
.workbench-split-chat{grid-column:1/-1;min-width:0;overflow:hidden;border:1px solid #30463b;border-radius:12px;background:#0f1815}.workbench-split-chat-messages{display:flex;max-height:210px;min-height:88px;flex-direction:column;gap:8px;overflow:auto;padding:12px}.workbench-split-chat-message{align-self:flex-start;max-width:min(88%,680px);margin:0;padding:9px 11px;border-radius:11px;background:#1a2922;color:#dce8df;font-size:.8rem;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}.workbench-split-chat-message.user{align-self:flex-end;background:#263d2d;color:#eff8e9}.workbench-split-chat-message.error{color:#ffb5a8}.workbench-split-chat-form{display:flex;align-items:flex-end;gap:8px;padding:9px;border-top:1px solid #263a31}.workbench-split-chat-form textarea{flex:1;min-width:0;min-height:46px;max-height:110px;resize:vertical;border:1px solid #344b3f;border-radius:9px;background:#111b17;color:#eff8f2;padding:9px 10px;font:inherit;font-size:16px;line-height:1.4}.workbench-split-chat-form button{flex:none;min-width:64px;min-height:42px;padding:8px 12px;border:0;border-radius:9px;background:#c7f36b;color:#1c3020;font-size:.78rem;font-weight:800}.workbench-split-chat-form button:disabled{opacity:.6}.workbench-split-chat-status{display:block;min-height:22px;padding:0 11px 8px;color:#8ea197;font-size:.7rem;line-height:1.4}
.workbench-split-chat-messages:has(#workbenchSplitResult:not(:empty)){max-height:min(68vh,720px)}.workbench-split-chat-messages>#workbenchSplitResult{flex:0 0 auto;align-self:stretch}.workbench-split-chat-messages>#workbenchSplitResult>.workbench-split-chat-result-summary{max-width:min(88%,680px)}
.workbench-info{display:flex;flex-direction:column;gap:5px;margin:14px 0;padding:12px;border:1px solid #354a3c;border-radius:12px;background:#15211a}.workbench-info strong{color:#d8efbd;font-size:.78rem}.workbench-info span{color:#9eafa4;font-size:.75rem;line-height:1.5}
.workbench-reference-list{display:grid;gap:16px;margin-top:12px}.workbench-library-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.workbench-library-actions button{padding:7px 10px}.workbench-reference-group{padding:13px;border:1px solid #30453a;border-radius:13px;background:#14201b}.workbench-reference-group h4{display:flex;align-items:center;gap:7px;margin:0 0 11px;color:#dce7df;font-size:.86rem}.workbench-reference-group h4 span{display:grid;place-items:center;width:23px;height:23px;border-radius:7px;background:#294136;color:#c7f36b;font-size:.65rem}.workbench-reference-group h4 small{margin-left:auto;color:#8fa198;font-size:.68rem;font-weight:600}.workbench-reference-group-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.workbench-reference-empty{margin:0;color:#84958b;font-size:.75rem}.workbench-reference-card{display:grid;grid-template-columns:22px 32px minmax(0,1fr) 20px;align-items:center;gap:9px;min-height:58px;padding:8px 10px;border:1px solid #2d4037;border-radius:11px;background:#111a17}.workbench-reference-card input{width:17px;height:17px;margin:0;accent-color:#c7f36b}.workbench-reference-type{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#294136;color:#c7f36b;font-size:.72rem;font-weight:900}.workbench-reference-name{min-width:0}.workbench-reference-name strong,.workbench-reference-name small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workbench-reference-name strong{font-size:.77rem}.workbench-reference-name small{margin-top:3px;color:#85998f;font-size:.68rem}.workbench-checkmark{color:#c7f36b;font-weight:900;opacity:0}.workbench-reference-card input:checked~.workbench-checkmark{opacity:1}
.workbench-next{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:18px;padding:13px 14px;border-color:#3e5c43;background:#203c2a;color:#e2f5d7}.workbench-next span{font-size:1.1rem;color:#c7f36b}.workbench-prev{justify-content:flex-start;background:transparent;color:#aebdb5}
.workbench-empty-state{display:flex;flex-direction:column;align-items:center;gap:7px;margin:20px 0;padding:26px 16px;border:1px dashed #34473e;border-radius:14px;color:#91a198;text-align:center}.workbench-empty-state>span{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#263b2d;color:#c7f36b;font-weight:900}.workbench-empty-state strong{color:#dce7df;font-size:.88rem}.workbench-empty-state small{font-size:.74rem}
.workbench-segment-list{display:grid;gap:7px}.workbench-segment-card{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;padding:10px;border:1px solid #2c3e36;border-radius:12px;background:#121b18;text-align:left}.workbench-segment-card.active{border-color:#75965f;background:#1a2a20}.workbench-segment-number{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#294136;color:#c7f36b;font-size:.78rem;font-weight:900}.workbench-segment-copy{min-width:0}.workbench-segment-copy strong,.workbench-segment-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workbench-segment-copy strong{font-size:.78rem}.workbench-segment-copy small{margin-top:3px;color:#8fa198;font-size:.68rem}.workbench-segment-duration{color:#a9d277;font-size:.7rem;white-space:nowrap}
.workbench-completed-project-list{display:grid;gap:8px}.workbench-completed-project-card{position:relative;min-width:0}.workbench-completed-project{display:block;width:100%;padding:14px 16px;border-color:#31483b;background:#14201b;text-align:left}.workbench-completed-project strong{font-size:.9rem}.workbench-completed-project-delete{position:absolute;z-index:4;top:-8px;right:-8px;display:none;align-items:center;justify-content:center;width:24px!important;min-width:24px!important;height:24px;min-height:24px!important;margin:0!important;padding:0!important;border:1.5px solid #fff!important;border-radius:50%!important;background:#111!important;color:#fff!important;font:700 17px/1 Arial,sans-serif!important;box-shadow:0 1px 5px #000b;touch-action:manipulation}.workbench-completed-project-list.production-delete-mode .workbench-completed-project-delete{display:flex}.workbench-completed-project-list.production-delete-mode .workbench-completed-project{pointer-events:none}.workbench-completed-segments{display:grid;gap:10px}.workbench-completed-segments>h3{margin:2px 0 4px;font-size:.94rem;color:#c7f36b}.workbench-completed-segment{overflow:hidden;border:1px solid #30473b;border-radius:12px;background:#121b18}.workbench-completed-segment header{display:flex;align-items:center;gap:9px;padding:10px 12px}.workbench-completed-segment header span{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#294136;color:#c7f36b;font-size:.7rem;font-weight:900}.workbench-completed-segment header strong{font-size:.8rem}.workbench-completed-segment video{display:block;width:100%;max-height:360px;background:#090d0c}.workbench-completed-segment p{margin:0;padding:0 12px 12px;color:#899b91;font-size:.74rem}
.workbench-segment-editor{margin-top:14px;padding:13px;border:1px solid #384d40;border-radius:14px;background:#14201b}.workbench-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.workbench-editor-heading h4{margin:4px 0;font-size:.95rem}.workbench-editor-heading>span{color:#c7f36b;font-size:.72rem}.workbench-beat{margin:8px 0 12px;color:#b5c2b9;font-size:.8rem;line-height:1.55}.workbench-local-references{margin:12px 0}.workbench-local-references summary{padding:10px;border:1px solid #30453a;border-radius:9px;color:#dce7df;font-size:.78rem;font-weight:700}.workbench-prompt-label{display:block;margin:14px 0 7px;color:#dce7df;font-size:.8rem;font-weight:700}.workbench-prompt-editor{min-height:180px;font-size:15px;line-height:1.6}
.workbench-review-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:12px 0 22px;padding:12px 0;border-block:1px solid #2b3d35}.workbench-review-summary>div{min-width:0;padding:2px 12px;border-right:1px solid #2b3d35}.workbench-review-summary>div:first-child{padding-left:0}.workbench-review-summary>div:last-child{border-right:0}.workbench-review-summary span,.workbench-review-summary strong{display:block}.workbench-review-summary span{color:#8fa198;font-size:.68rem}.workbench-review-summary strong{margin-top:5px;overflow-wrap:anywhere;color:#e1eddf;font-size:.77rem}.workbench-export-production{grid-column:1/-1;justify-self:start;margin-top:13px;border:1px solid #b8f45a;border-radius:8px;background:#b8f45a;color:#102217;padding:8px 13px;font-weight:800}.workbench-export-production:disabled{opacity:.65}.workbench-run-form{margin-top:17px}.workbench-run-form textarea{min-height:118px}.workbench-prototype-note{margin-top:16px;padding:0;border:0;background:transparent}.workbench-success{margin-top:12px;padding:11px;border-radius:10px;background:#1b3c2b;color:#d6f3cb;font-size:.8rem}
.workbench-split-result-list{display:grid;gap:7px;margin-top:10px}.workbench-split-result-list article{display:grid;grid-template-columns:30px minmax(0,1fr);gap:9px;padding:10px;border:1px solid #30453a;border-radius:10px;background:#111a17}.workbench-split-result-list article>span{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#294136;color:#c7f36b;font-size:.72rem;font-weight:900}.workbench-split-result-list article strong{font-size:.78rem}.workbench-split-result-list article p{margin:4px 0;color:#afbeb5;font-size:.74rem;line-height:1.45}.workbench-split-result-list article small{color:#85998f;font-size:.68rem}
.workbench-result-subjects{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0}.workbench-result-subjects small{padding:4px 6px;border:1px solid #3c5944;border-radius:999px;background:#193022;color:#cce8b2;font-size:.66rem;line-height:1.2}
.workbench-binding-notice{margin:0 0 12px;padding:10px 11px;border:1px solid #668759;border-radius:10px;background:#1c3926;color:#dff3c9;font-size:.78rem;line-height:1.45}.workbench-subject-assets,.workbench-bound-assets{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:8px 0}.workbench-bound-assets{margin:0}.workbench-bound-thumb{display:block;width:46px;height:34px;object-fit:contain;object-position:center;border:1px solid #668759;border-radius:6px;background:#101815}.workbench-bound-thumb.compact{width:25px;height:20px;border-radius:4px}.workbench-bound-audio{display:grid;place-items:center;width:34px;height:34px;border:1px solid #668759;border-radius:6px;background:#294136;color:#c7f36b;font-size:.72rem;font-weight:900}.workbench-bound-assets.compact{margin:2px 0}.workbench-bound-assets.compact .workbench-bound-audio{width:20px;height:20px;border-radius:4px;font-size:.58rem}.workbench-timeline-segment .workbench-bound-assets{position:absolute;right:5px;bottom:4px;max-width:70%;justify-content:flex-end}.workbench-timeline-segment{position:relative}
.workbench-character-summary{margin-top:0;padding:0;border:0;background:transparent}.workbench-character-summary>strong{display:block;margin:0 0 11px;color:#c7f36b;font-size:.92rem}.workbench-character-summary>.workbench-scene-title{margin-top:22px}.workbench-character-grid,.workbench-scene-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;justify-items:start;gap:10px}.workbench-subject-card{display:block;box-sizing:border-box;width:100%;min-width:0;min-height:150px;padding:10px 10px 70px;border:0;border-radius:0;background:transparent}.workbench-subject-card:not(.has-bound-assets)>button:not(.workbench-subject-preview){position:absolute;right:10px;bottom:10px;left:10px;width:auto;margin:0}.workbench-subject-card.has-bound-assets{position:relative;justify-self:start;box-sizing:border-box;width:100%;max-width:320px;min-width:0;min-height:0;padding:0;overflow:hidden;border:1px solid #355044;border-radius:10px;background:#101815}.workbench-subject-preview{display:flex;align-items:center;justify-content:flex-start;gap:6px;min-height:52px;margin-bottom:9px}.workbench-subject-preview.has-assets{position:absolute;inset:-4px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;min-height:0;margin:0;width:auto;height:auto;max-width:none;max-height:none;overflow:hidden;border:0;border-radius:0;background:transparent}.workbench-subject-preview.empty{display:block;width:52px;height:52px;border:1px dashed #46624c;border-radius:8px;background:#1a2b21}.workbench-subject-preview.has-assets .workbench-bound-thumb{display:block;flex:0 1 auto;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;object-position:center;border:0;border-radius:0;background:transparent}.workbench-subject-preview .workbench-bound-thumb{width:auto;height:auto;max-width:64px;max-height:52px;object-fit:contain;object-position:center;border-radius:8px}.workbench-subject-preview .workbench-subject-image{max-width:100%;max-height:100%}.workbench-subject-preview .workbench-bound-audio{width:52px;height:52px;border-radius:8px}.workbench-subject-card.has-bound-assets>button{position:absolute;z-index:1;right:auto;bottom:8px;left:8px;width:max-content;max-width:calc(100% - 16px);margin:0;padding:7px 10px;border-color:#577b4f;background:#1c4028;color:#ddf2cb;font-size:.72rem}
.workbench-subject-image{position:relative;display:block;flex:0 1 auto;max-width:100%;max-height:178px;touch-action:pan-y;user-select:none;-webkit-user-select:none}.workbench-subject-image img{pointer-events:none}
@media(max-width:620px){.workbench-steps{gap:0}.workbench-steps button{flex:1 1 0;min-width:0;min-height:52px;padding:7px 4px;font-size:.66rem}.workbench-steps button i{display:none}.workbench-steps button span{overflow:hidden;font-size:.66rem;text-overflow:ellipsis}.workbench-step-content{padding:16px}.workbench-control-row{align-items:flex-start;flex-direction:column}.workbench-library-actions{justify-content:flex-start}.workbench-reference-group-grid{grid-template-columns:1fr}.workbench-review-summary{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:12px}.workbench-review-summary>div{padding:2px 10px;border-right:0}.workbench-review-summary>div:nth-child(odd){padding-left:0}.workbench-review-summary>div:nth-child(even){border-left:1px solid #2b3d35}.workbench-review-summary>div:last-child{border-right:0}}
.workbench-character-grid,.workbench-scene-grid{grid-auto-rows:11px;grid-auto-flow:row dense;align-items:start;justify-items:start;gap:10px}.workbench-subject-card{grid-row-end:span 8}@media(max-width:760px){.workbench-character-grid,.workbench-scene-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:420px){.workbench-character-grid,.workbench-scene-grid{grid-template-columns:minmax(0,1fr)}}
.workbench-character-grid,.workbench-scene-grid{grid-template-columns:minmax(0,1fr);grid-auto-rows:auto;grid-auto-flow:row;gap:8px}.workbench-subject-card,.workbench-subject-card.has-bound-assets{display:flex;position:relative;align-items:center;justify-self:stretch;box-sizing:border-box;gap:12px;width:100%;height:auto;min-height:112px;max-width:none;padding:8px 12px;overflow:hidden;border:1px solid #355044;border-radius:10px;background:#101815}.workbench-subject-card{grid-row-end:auto}.workbench-subject-preview.has-assets{position:relative;inset:auto;display:flex;flex:0 0 180px;align-items:center;justify-content:center;width:180px;height:96px;max-width:180px;max-height:96px;margin:0;overflow:hidden;border:0;border-radius:0;background:transparent}.workbench-subject-preview.has-assets .workbench-bound-thumb{width:auto;height:auto;max-width:180px;max-height:96px;object-fit:contain;object-position:center;border:0;border-radius:0;background:transparent}.workbench-subject-preview .workbench-subject-image{display:flex;max-width:100%;max-height:100%;align-items:center;justify-content:center}.workbench-subject-preview.empty-slot{position:relative;inset:auto;display:grid;flex:0 0 180px;place-items:center;width:180px;height:96px;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:#c7f36b;font-size:3rem;font-weight:300;line-height:1}.workbench-subject-card>button:not(.empty-slot){position:relative;inset:auto;z-index:1;align-self:center;width:max-content;max-width:calc(100% - 192px);margin:0;padding:7px 10px;border-color:#577b4f;background:#1c4028;color:#ddf2cb;font-size:.82rem}.workbench-subject-card>button.empty-slot{width:180px;max-width:180px}.workbench-subject-card:not(.has-bound-assets)>button:not(.empty-slot){margin-left:0}@media(max-width:600px){.workbench-subject-card,.workbench-subject-card.has-bound-assets{min-height:88px;gap:8px;padding:6px 8px}.workbench-subject-preview.has-assets,.workbench-subject-preview.empty-slot{flex-basis:96px;width:96px;height:72px;max-width:96px;max-height:72px}.workbench-subject-preview.has-assets .workbench-bound-thumb{max-width:96px;max-height:72px}.workbench-subject-card>button:not(.empty-slot){max-width:calc(100% - 104px)}}
.workbench-subject-preview.subject-image-slots{position:relative;inset:auto;display:flex;flex:0 0 auto;align-items:center;gap:8px;width:auto;height:auto;max-width:none;max-height:none;margin:0;overflow:visible;border:0;background:transparent}.workbench-subject-image-slot{position:relative;display:flex;flex:0 0 112px;align-items:center;justify-content:center;width:112px;height:96px;overflow:hidden}.workbench-subject-image-slot .workbench-bound-thumb{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;object-position:center;border:0;border-radius:0;background:transparent}.workbench-subject-image-slot.empty-slot{display:grid;place-items:center;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:#c7f36b;font-size:3rem;font-weight:300;line-height:1}.workbench-subject-image-slot.empty-slot span{display:block}.workbench-subject-card>button:not(.empty-slot){max-width:calc(100% - 380px)}@media(max-width:600px){.workbench-subject-image-slot{flex-basis:96px;width:96px;height:72px}.workbench-subject-card>button:not(.empty-slot){max-width:calc(100% - 312px)}}
.workbench-subject-card.has-bound-assets,.workbench-subject-card:not(.has-bound-assets){justify-content:space-between}.workbench-subject-card>button:not(.empty-slot){order:0;align-self:center;width:max-content;max-width:calc(100% - 380px);margin:0;text-align:left}.workbench-subject-preview.subject-image-slots{order:1;margin-left:auto}@media(max-width:600px){.workbench-subject-card>button:not(.empty-slot){max-width:calc(100% - 212px)}}
@media(max-width:600px){.shell{width:100%;padding-right:0;padding-left:0}.topbar{padding-right:12px;padding-left:12px}.workbench-page{width:100%;margin-right:0;margin-left:0}.workbench-step-content{padding:8px}.workspace,.projects,.command,.queue,.connection{border-right:0;border-left:0;border-radius:0}}
.workbench-result-subjects{display:block;margin:5px 0}.workbench-result-asset-board{display:grid;gap:5px;min-width:0;margin:4px 0;padding:6px;border:1px solid #344b3c;border-radius:8px;background:#111a17}.workbench-result-asset-lane{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;column-gap:6px;min-width:0}.workbench-result-asset-lane+.workbench-result-asset-lane{padding-top:5px;border-top:1px solid #293e33}.workbench-result-subjects .workbench-result-asset-lane-title{box-sizing:border-box;display:flex;grid-column:1;grid-row:1;align-self:center;align-items:center;justify-content:center;width:24px;min-height:42px;margin:0;padding:5px 0;border:1px solid #395444;border-radius:8px;background:#15231b;box-shadow:none;color:#bcd89d;font-size:.58rem;font-weight:800;letter-spacing:0;line-height:1.1;text-align:center;white-space:nowrap;writing-mode:vertical-rl;text-orientation:upright}.workbench-result-asset-lane-scroll{grid-column:2;grid-row:1;display:flex;align-items:flex-start;justify-content:space-between;column-gap:clamp(4px,3%,14px);min-width:0;overflow-x:auto;overflow-y:hidden;padding:1px 0 4px;touch-action:pan-x pan-y;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#557448 #17221d}.workbench-result-asset-lane-scroll::-webkit-scrollbar{height:3px}.workbench-result-asset-lane-scroll::-webkit-scrollbar-thumb{border-radius:3px;background:#557448}.workbench-result-asset-item{display:flex;flex:0 0 78px;flex-direction:column;align-items:center;gap:3px;min-width:0}.workbench-result-asset-item>small{width:100%;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:hidden;color:#e6f1e5;font-size:.58rem;font-weight:700;line-height:1.2;text-align:center;text-overflow:ellipsis;white-space:nowrap}.workbench-result-asset-slots{display:flex;align-items:center;justify-content:center;gap:4px;width:100%}.workbench-result-asset-slots>span{display:grid;flex:0 0 34px;place-items:center;width:34px;height:28px;overflow:hidden;border:1px solid #395444;border-radius:5px;background:#0e1713}.workbench-result-asset-slots .workbench-bound-thumb.compact{width:100%;height:100%;border:0;border-radius:4px;object-fit:contain}.workbench-result-asset-slots .workbench-bound-audio{width:24px;height:24px;border:0;font-size:.6rem}.workbench-result-asset-slot-empty{background:linear-gradient(135deg,#121c17,#17251c)!important}
.workbench-result-asset-lane-scroll.has-many{justify-content:flex-start;column-gap:3px}.workbench-result-asset-lane-scroll.has-many .workbench-result-asset-item{flex-basis:66px}

/* Full-screen project landing: restrained ambient motion, with reduced-motion support. */
.project-home.app-page.page-active{position:fixed;z-index:15;inset:0;display:block;overflow-x:hidden;overflow-y:auto;margin:0;padding:0;border:0;border-radius:0;background:#0a1211;box-shadow:none;isolation:isolate;scrollbar-width:thin;scrollbar-color:#31483b #0a1211}
.home-ambient{position:fixed;z-index:0;inset:0;overflow:hidden;pointer-events:none;background:radial-gradient(ellipse at 50% 55%,rgba(29,66,48,.27),transparent 49%),linear-gradient(145deg,#0a1211 4%,#0c1714 51%,#0a1211 100%)}
.home-ambient::before,.home-ambient::after{position:absolute;inset:-40%;content:"";filter:blur(55px);will-change:transform}
.home-ambient::before{background:linear-gradient(112deg,transparent 31%,rgba(143,202,76,.02) 39%,rgba(143,202,76,.20) 46%,rgba(56,141,91,.16) 51%,rgba(26,105,76,.02) 59%,transparent 67%),conic-gradient(from 50deg at 50% 50%,transparent 0 20%,rgba(143,202,76,.13) 28%,transparent 38% 62%,rgba(26,105,76,.16) 73%,transparent 83%);background-size:190% 190%,100% 100%;animation:home-current var(--home-current-duration,54s) linear infinite,home-wave var(--home-wave-duration,24s) ease-in-out infinite alternate}
.home-ambient::after{background:radial-gradient(ellipse at 30% 40%,rgba(131,190,83,.13),transparent 28%),radial-gradient(ellipse at 73% 62%,rgba(35,109,78,.19),transparent 31%);animation:home-breathe var(--home-breathe-duration,18s) ease-in-out infinite alternate}
.home-ambient i{position:absolute;display:block;width:clamp(160px,28vw,420px);aspect-ratio:1;border:1px solid rgba(177,226,122,.08);border-radius:50%;box-shadow:0 0 75px rgba(114,174,84,.035),inset 0 0 50px rgba(67,127,79,.035);animation:home-drift 34s ease-in-out infinite alternate}
.home-ambient i:nth-child(1){top:7%;left:-9%}.home-ambient i:nth-child(2){top:38%;right:-8%;width:clamp(220px,37vw,560px);animation-delay:-9s}.home-ambient i:nth-child(3){top:62%;left:30%;width:clamp(110px,18vw,270px);animation-delay:-17s}
.home-ambient span{position:absolute;inset:0;opacity:.13;background-image:radial-gradient(rgba(214,246,191,.55) .55px,transparent .7px);background-size:5px 5px;mask-image:linear-gradient(transparent,#000 25%,#000 75%,transparent)}
.home-content{position:relative;z-index:1;width:min(100% - 48px,1080px);min-height:100%;margin:auto;padding:clamp(28px,6vh,70px) 0 54px;box-sizing:border-box}
.home-hero{position:relative;display:flex;min-height:min(72vh,690px);flex-direction:column;justify-content:space-between;padding:0 clamp(4px,4vw,54px)}
.home-brand{display:flex;align-items:center;gap:12px;color:#c7f36b;font-size:.68rem;font-weight:900;letter-spacing:.19em}.home-brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#c7f36b;color:#142317;font-family:Georgia,serif;font-size:1.35rem;letter-spacing:0}.home-brand small{display:block;margin-top:4px;color:#dce8dc;font-size:.83rem;font-weight:700;letter-spacing:.03em}
.home-hero-copy{position:relative;margin:clamp(50px,10vh,115px) 0 auto;animation:home-enter 1.2s cubic-bezier(.2,.7,.2,1) both}.home-hero-copy .section-kicker,.home-project-list-heading .section-kicker{margin:0 0 13px;color:#b8df75;font-size:.66rem;font-weight:900;letter-spacing:.24em}.home-hero-copy h2{margin:0;color:#f0f5e9;font-size:clamp(2.5rem,7vw,5.4rem);font-weight:700;letter-spacing:.04em;line-height:1.12;text-shadow:0 5px 36px rgba(171,220,115,.1)}.home-hero-copy>p:not(.section-kicker){margin:20px 0 27px;color:#9cafa3;font-size:clamp(.88rem,1.5vw,1.03rem);line-height:1.9;letter-spacing:.05em}.home-hero-copy .primary{display:inline-flex;align-items:center;justify-content:center;gap:10px;width:auto;min-width:176px;min-height:50px;margin:0;padding:0 23px;border:1px solid rgba(222,255,174,.4);border-radius:999px;background:linear-gradient(115deg,#c7f36b,#a9df61);box-shadow:0 8px 34px rgba(158,221,91,.16);color:#162618;font-size:.93rem;font-weight:900;transition:transform .2s,box-shadow .2s}.home-hero-copy .primary:hover{transform:translateY(-2px);box-shadow:0 12px 40px rgba(158,221,91,.25)}.home-hero-copy .primary span{font-size:1.25rem;font-weight:400}
.home-hero-foot{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:20px;border-top:1px solid rgba(116,148,123,.2);color:#74877c;font-size:.72rem;letter-spacing:.04em}.home-scroll-cue{display:flex;align-items:center;gap:8px}.home-scroll-cue i{display:block;width:7px;height:7px;border-right:1px solid #b8df75;border-bottom:1px solid #b8df75;transform:rotate(45deg);animation:home-scroll 1.8s ease-in-out infinite}
.home-projects-section{max-width:850px;margin:clamp(46px,9vh,100px) auto 0;padding:26px clamp(0px,4vw,54px) 0;border-top:1px solid rgba(116,148,123,.18)}.home-project-list-heading{align-items:flex-end;margin:0 0 15px}.home-project-list-heading>div .section-kicker{margin-bottom:6px}.home-project-list-heading h3{color:#edf4e8;font-size:1.25rem}.home-project-list-heading>span{max-width:48%;text-align:right;line-height:1.5}.home-project-card{border-color:rgba(107,145,111,.3);background:rgba(17,27,23,.66);backdrop-filter:blur(12px);transition:transform .2s,border-color .2s,background .2s}.home-project-card:hover{transform:translateY(-2px);border-color:rgba(177,226,122,.55);background:rgba(26,43,32,.82)}.home-project-open{min-height:82px}.home-project-icon{background:rgba(199,243,107,.14);color:#c7f36b}.home-project-empty{border-style:solid;border-color:rgba(107,145,111,.25);background:rgba(17,27,23,.48);backdrop-filter:blur(10px)}
@keyframes home-current{to{transform:rotate(360deg)}}@keyframes home-wave{from{background-position:0% 50%,0 0;transform:translate3d(-4%,1%,0) scale(1)}to{background-position:100% 50%,0 0;transform:translate3d(4%,-1%,0) scale(1.06)}}@keyframes home-breathe{from{transform:translate3d(-2%,1%,0) scale(.95);opacity:.65}to{transform:translate3d(2%,-1%,0) scale(1.08);opacity:1}}@keyframes home-drift{from{transform:translate3d(-2%,0,0) scale(.96)}to{transform:translate3d(3%,-2%,0) scale(1.04)}}@keyframes home-enter{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}@keyframes home-scroll{0%,100%{transform:translateY(-3px) rotate(45deg);opacity:.45}50%{transform:translateY(3px) rotate(45deg);opacity:1}}
@media(max-width:600px){.home-content{width:calc(100% - 36px);padding-top:max(24px,env(safe-area-inset-top));padding-bottom:max(36px,env(safe-area-inset-bottom))}.home-hero{min-height:calc(100vh - 54px);min-height:calc(100svh - 54px);padding:0 2px}.home-brand-mark{width:38px;height:38px}.home-hero-copy{margin-top:clamp(55px,12vh,100px)}.home-hero-copy h2{font-size:clamp(1.7rem,8.4vw,3rem);letter-spacing:0;white-space:nowrap}.home-hero-copy>p:not(.section-kicker){font-size:.86rem}.home-hero-copy .primary{width:100%;min-height:49px}.home-projects-section{margin-top:35px;padding:22px 0 0}.home-project-list-heading{align-items:flex-start;flex-direction:column;gap:5px}.home-project-list-heading>span{max-width:none;text-align:left}.home-project-open{min-height:72px}.home-ambient i:nth-child(2){right:-28%}}
@media(prefers-reduced-motion:reduce){.home-ambient::before,.home-ambient::after,.home-ambient i,.home-hero-copy,.home-scroll-cue i{animation:none!important}.home-project-card,.home-hero-copy .primary{transition:none}}
.home-project-list-heading{align-items:center}.home-all-projects{flex:none;padding:9px 13px;border:1px solid rgba(177,226,122,.32);border-radius:999px;background:rgba(199,243,107,.08);color:#c7f36b;font-size:.74rem;font-weight:800;white-space:nowrap}.home-all-projects:hover{background:rgba(199,243,107,.16)}.home-project-search{display:flex;align-items:center;gap:9px;margin:0 0 12px;padding:0 13px;border:1px solid rgba(107,145,111,.35);border-radius:11px;background:rgba(11,19,16,.76);color:#b8df75}.home-project-search>span{font-size:1.2rem}.home-project-search input{width:100%;min-height:42px;padding:0;border:0;outline:0;background:transparent;color:#edf5ec;font:inherit;font-size:.82rem}.home-project-search input::placeholder{color:#75877c}.home-shared-note{margin:15px 0 0;color:#77887e;font-size:.68rem;line-height:1.5}
@media(max-width:600px){.home-project-list-heading{align-items:center;flex-direction:row}.home-project-list-heading>div{min-width:0}.home-project-list-heading h3{font-size:1.1rem}.home-all-projects{padding:8px 10px;font-size:.68rem}.home-shared-note{font-size:.65rem}}
.home-ambient i{width:clamp(360px,68vw,1040px);height:clamp(55px,13vw,185px);border:0;border-radius:48% 52% 40% 60%;background:linear-gradient(100deg,transparent 4%,rgba(119,185,79,.025) 22%,rgba(152,211,99,.13) 45%,rgba(52,140,97,.11) 61%,rgba(73,165,113,.025) 82%,transparent 98%);box-shadow:none;filter:blur(24px);opacity:.65;mix-blend-mode:screen;animation:home-ribbon-one var(--home-ribbon-one-duration,38s) ease-in-out infinite alternate}
.home-ambient i:nth-child(1){top:19%;left:-19%;transform:rotate(-17deg)}.home-ambient i:nth-child(2){top:55%;right:-27%;width:clamp(420px,78vw,1200px);height:clamp(70px,16vw,220px);border-radius:60% 40% 54% 46%;background:linear-gradient(100deg,transparent 2%,rgba(41,126,91,.025) 18%,rgba(47,151,105,.13) 48%,rgba(117,188,83,.10) 66%,transparent 96%);animation-name:home-ribbon-two;animation-duration:var(--home-ribbon-two-duration,47s);animation-delay:-13s}.home-ambient i:nth-child(3){top:77%;left:16%;width:clamp(280px,49vw,740px);height:clamp(45px,9vw,130px);border-radius:43% 57% 63% 37%;background:linear-gradient(100deg,transparent 5%,rgba(140,192,81,.02) 24%,rgba(173,219,106,.10) 50%,rgba(62,142,92,.07) 73%,transparent 98%);filter:blur(30px);animation-name:home-ribbon-three;animation-duration:var(--home-ribbon-three-duration,51s);animation-delay:-21s}
@keyframes home-ribbon-one{from{transform:translate3d(-3%,3%,0) rotate(-17deg) scaleX(.92)}to{transform:translate3d(12%,-5%,0) rotate(-11deg) scaleX(1.08)}}@keyframes home-ribbon-two{from{transform:translate3d(5%,4%,0) rotate(-13deg) scaleX(1.06)}to{transform:translate3d(-9%,-6%,0) rotate(-19deg) scaleX(.94)}}@keyframes home-ribbon-three{from{transform:translate3d(-5%,3%,0) rotate(-12deg) scaleX(.9)}to{transform:translate3d(8%,-4%,0) rotate(-7deg) scaleX(1.1)}}
@media(max-width:600px){.home-ambient i{width:125vw;height:27vw;filter:blur(19px)}.home-ambient i:nth-child(1){top:25%;left:-45%}.home-ambient i:nth-child(2){top:57%;right:-62%;width:140vw;height:31vw}.home-ambient i:nth-child(3){top:80%;left:-15%;width:110vw;height:22vw}}
@media(max-width:600px){.home-ambient i{animation-duration:var(--home-ribbon-one-duration,38s)}.home-ambient i:nth-child(2){animation-duration:var(--home-ribbon-two-duration,47s)}.home-ambient i:nth-child(3){animation-duration:var(--home-ribbon-three-duration,51s)}}
@media(max-width:600px){.project-create-dialog input,.project-create-dialog select,.settings-sheet input{font-size:16px}}
@media(prefers-reduced-motion:reduce){.home-ambient i{animation:none!important}}
.home-hero-copy .primary{min-width:0;min-height:42px;padding:0 16px;font-size:.82rem}.home-hero-copy .primary span{font-size:1rem}
@media(max-width:600px){.home-hero-copy .primary{width:fit-content;min-width:0;min-height:40px;padding:0 15px;font-size:.78rem}}
.home-hero{min-height:min(62vh,620px)}.home-projects-section{margin-top:clamp(24px,5vh,52px)}
@media(max-width:600px){.home-hero{min-height:68vh;min-height:68svh}.home-projects-section{margin-top:20px}}
.home-project-list{gap:7px}.home-project-card{border-radius:10px}.home-project-open{min-height:62px;gap:10px;padding:9px 11px}.home-project-icon{width:32px;height:32px;border-radius:9px;font-size:.63rem}.home-project-copy strong{font-size:.82rem}.home-project-copy small{margin-top:3px;font-size:.65rem}.home-project-arrow{font-size:.95rem}
@media(max-width:600px){.home-project-open{min-height:58px;padding:8px 9px}.home-project-icon{width:29px;height:29px}.home-project-copy strong{font-size:.78rem}.home-project-copy small{font-size:.61rem}}
.home-content{display:flex;align-items:center;justify-content:center;width:min(100% - 48px,1080px);padding-top:32px;padding-bottom:32px}.home-hub-panel{width:min(100%,860px);box-sizing:border-box;padding:clamp(22px,4vw,42px);border:1px solid rgba(143,184,134,.25);border-radius:24px;background:linear-gradient(145deg,rgba(20,33,27,.78),rgba(12,22,19,.72));box-shadow:0 25px 90px rgba(0,0,0,.32),inset 0 1px rgba(232,255,219,.045);backdrop-filter:blur(22px);animation:home-panel-float 12s ease-in-out infinite alternate}.home-hero-copy{margin:clamp(28px,5vh,48px) 0 32px}.home-projects-section{max-width:none;margin:0;padding:23px 0 0;border-top:1px solid rgba(148,183,143,.2)}.home-project-list{gap:10px}.home-project-card{border-radius:13px}.home-project-open{min-height:76px;gap:13px;padding:12px 14px}.home-project-icon{width:42px;height:42px;border-radius:12px;font-size:.72rem}.home-project-copy strong{font-size:.92rem}.home-project-copy small{margin-top:5px;font-size:.72rem}.home-project-arrow{font-size:1.15rem}.home-shared-note{margin-bottom:0}
@keyframes home-panel-float{from{transform:translate3d(0,3px,0)}to{transform:translate3d(0,-3px,0)}}
@media(max-width:600px){.home-content{width:calc(100% - 28px);padding-top:max(20px,env(safe-area-inset-top));padding-bottom:max(20px,env(safe-area-inset-bottom))}.home-hub-panel{padding:20px 16px;border-radius:20px}.home-brand{font-size:.61rem}.home-hero-copy{margin:29px 0 26px}.home-hero-copy h2{font-size:clamp(1.7rem,8.4vw,3rem)}.home-projects-section{margin:0;padding-top:19px}.home-project-open{min-height:70px;padding:10px 11px}.home-project-copy strong{font-size:.84rem}.home-project-copy small{font-size:.66rem}}
@media(prefers-reduced-motion:reduce){.home-hub-panel{animation:none!important}}
.home-content{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(20px,4vh,36px);padding-top:34px;padding-bottom:34px}.home-intro{width:min(100%,760px)}.home-hero-copy{margin:clamp(24px,4vh,40px) 0 0}.home-action-panel{width:min(100%,650px);box-sizing:border-box;padding:clamp(16px,2.8vw,26px);border:1px solid rgba(143,184,134,.3);border-radius:21px;background:linear-gradient(145deg,rgba(20,33,27,.78),rgba(12,22,19,.72));box-shadow:0 25px 90px rgba(0,0,0,.32),inset 0 1px rgba(232,255,219,.045);backdrop-filter:blur(22px);animation:home-panel-float 12s ease-in-out infinite alternate}.home-create-action{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:11px;width:100%;min-height:58px;padding:9px 13px;border:1px solid rgba(199,243,107,.27);border-radius:13px;background:linear-gradient(110deg,rgba(199,243,107,.16),rgba(199,243,107,.07));color:#e8f2df;text-align:left;transition:background .2s,border-color .2s,transform .2s}.home-create-action:hover{transform:translateY(-1px);border-color:rgba(199,243,107,.55);background:rgba(199,243,107,.17)}.home-create-action>span{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#c7f36b;color:#18291c;font-size:1.45rem;font-weight:400}.home-create-action{font-size:.9rem;font-weight:800}.home-create-action i{display:block;margin-top:3px;color:#8fa295;font-size:.67rem;font-style:normal;font-weight:400}.home-create-action b{color:#c7f36b;font-size:1.1rem}.home-action-panel .home-projects-section{margin-top:17px;padding:17px 0 0;border-top:1px solid rgba(148,183,143,.17)}.home-action-panel .home-project-list-heading{margin-bottom:11px}.home-action-panel .home-project-list-heading h3{font-size:1.08rem}.home-action-panel .home-shared-note{font-size:.64rem}
@media(max-width:600px){.home-content{gap:20px;padding-top:max(22px,env(safe-area-inset-top));padding-bottom:max(24px,env(safe-area-inset-bottom))}.home-hero-copy{margin-top:25px}.home-hero-copy h2{font-size:clamp(1.7rem,8.4vw,3rem)}.home-action-panel{padding:14px 12px;border-radius:17px}.home-create-action{grid-template-columns:36px minmax(0,1fr) auto;gap:9px;min-height:54px;padding:8px 10px;font-size:.82rem}.home-create-action>span{width:34px;height:34px}.home-create-action i{font-size:.61rem}.home-action-panel .home-projects-section{margin-top:14px;padding-top:15px}.home-action-panel .home-project-open{min-height:67px;padding:9px 10px}.home-action-panel .home-project-copy strong{font-size:.82rem}.home-action-panel .home-project-copy small{font-size:.63rem}}
@media(prefers-reduced-motion:reduce){.home-action-panel{animation:none!important}}
.home-action-panel{width:min(100%,358px)}.home-create-action>.home-create-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#c7f36b;color:#18291c;font-size:1.45rem;font-weight:400}.home-create-action>.home-create-copy{display:block;min-width:0;background:transparent;color:#e8f2df;font-size:.9rem;font-weight:800;line-height:1.25}.home-create-copy small{display:block;margin-top:3px;color:#8fa295;font-size:.67rem;font-weight:400}.home-create-action>b{justify-self:end}.home-create-action>span:not(.home-create-icon){width:auto;height:auto;padding:0;border:0;border-radius:0;box-shadow:none}
@media(max-width:600px){.home-create-action>.home-create-icon{width:34px;height:34px}.home-create-action>.home-create-copy{font-size:.82rem}.home-create-copy small{font-size:.61rem}}
.home-brand{position:fixed;z-index:2;top:35px;left:max(24px,calc((100vw - 930px)/2 + 24px));gap:10px}.home-brand-mark{width:34px;height:34px;border-radius:10px;font-size:1.1rem}.home-brand small{font-size:1.05rem}
@media(max-width:759px){.home-brand{top:22px;left:16px}}@media(max-width:600px){.home-brand{left:12px}}
.brand-mark,.home-brand-mark{font-size:1rem;letter-spacing:-.07em}
.home-brand{font-size:.65rem;font-weight:800;letter-spacing:.13em}.home-brand-mark{background:#c7f36b;color:#18311e;font-family:Georgia,serif;font-size:1rem;font-weight:900;letter-spacing:-.07em}.home-brand small{margin-top:3px;color:#f0f5f3;font-size:1.05rem;font-weight:700;letter-spacing:.02em}
.brand-mark{padding:0;border:0;line-height:1;font-family:Georgia,serif;font-size:1rem;letter-spacing:-.07em}.home-brand-mark{line-height:1}
.home-hero-copy h2{font-size:clamp(2rem,5vw,4.8rem);white-space:nowrap}
.home-project-open{justify-content:center;text-align:center}.home-project-copy{flex:0 1 auto}.home-project-copy strong{text-align:center}
.home-create-action{display:flex;justify-content:center;text-align:center}.home-create-action>.home-create-copy{text-align:center}
.home-action-panel{background:linear-gradient(145deg,rgba(20,33,27,.28),rgba(12,22,19,.2))}
.home-action-panel .home-create-action{width:70%;min-height:40px;margin-right:auto;margin-left:auto;padding-top:3px;padding-bottom:3px}.home-action-panel .home-project-card{width:70%;margin-right:auto;margin-left:auto}.home-action-panel .home-project-open{min-height:40px;padding-top:3px;padding-bottom:3px}
@media(max-width:600px){.home-action-panel .home-create-action,.home-action-panel .home-project-open{min-height:40px;padding-top:3px;padding-bottom:3px}}
.home-action-panel .home-project-list{max-height:240px;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;padding-right:4px;scrollbar-width:thin;scrollbar-color:rgba(199,243,107,.38) transparent}
.home-action-panel .home-project-list:has(>.home-project-empty){padding-right:0;max-height:none;overflow:visible}
.home-action-panel .home-project-empty{box-sizing:border-box;width:70%;min-width:0;margin-right:auto;margin-left:auto}
.home-action-panel .home-project-list-heading{flex-direction:column;align-items:center;text-align:center}
.home-action-panel .home-project-list-heading>div{width:100%}
.home-action-panel .home-project-list-heading>.home-all-projects{align-self:flex-end}
.home-create-heading{margin:0 auto 12px;text-align:center}.home-create-heading .section-kicker{margin:0 0 6px;color:#b8df75;font-size:.66rem;font-weight:900;letter-spacing:.24em}.home-create-heading h3{margin:0;color:#edf4e8;font-size:1.08rem}
.home-all-projects-bottom{display:block;width:max-content;margin:12px auto 0}
.home-action-panel .home-shared-note{text-align:center}
.all-projects-page{width:min(calc(100% - 32px),780px);min-height:100vh;box-sizing:border-box;margin:0 auto;padding:clamp(22px,5vh,54px) 0 110px}.all-projects-head{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;margin-bottom:22px}.all-projects-head h2{margin:0;color:#edf5ec;font-size:1.25rem}.all-projects-head>span{width:1px}.all-projects-back{justify-self:start;padding:8px 11px;border:1px solid #354b3f;border-radius:10px;background:#15211c;color:#c7f36b;font-size:.78rem}.all-projects-page>.home-project-search{margin-bottom:14px}.all-projects-page>.home-project-list{max-height:none;overflow:visible;padding:0}
@media(max-width:600px){.all-projects-page{width:calc(100% - 24px);padding-top:max(22px,env(safe-area-inset-top))}.all-projects-head{margin-bottom:17px}}
.all-projects-page>.home-project-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.all-project-tile{display:flex;min-width:0;min-height:128px;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:14px 9px;border:1px solid rgba(107,145,111,.32);border-radius:14px;background:rgba(17,27,23,.72);color:#edf5ec;text-align:center;transition:transform .18s,border-color .18s,background .18s}.all-project-tile:hover{transform:translateY(-2px);border-color:rgba(199,243,107,.6);background:rgba(26,43,32,.88)}.all-project-icon{width:38px;height:38px;fill:none;stroke:#c7f36b;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.all-project-tile strong{display:-webkit-box;max-width:100%;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:1.4;font-size:.83rem;overflow-wrap:anywhere}
.home-action-panel{width:min(100%,clamp(358px,40vw,620px))}
.all-projects-page{position:fixed;z-index:15;inset:0;width:100%;min-height:0;box-sizing:border-box;overflow-x:hidden;overflow-y:auto;margin:0;padding:clamp(22px,5vh,54px) 0 40px;background:#0a1211;scrollbar-width:thin;scrollbar-color:#31483b #0a1211}.all-projects-head,.all-projects-page>.home-project-search,.all-projects-page>.home-project-list{width:min(calc(100% - 32px),780px);box-sizing:border-box;margin-right:auto;margin-left:auto}
@media(max-width:600px){.all-projects-page{padding-top:max(22px,env(safe-area-inset-top));padding-bottom:max(24px,env(safe-area-inset-bottom))}.all-projects-head,.all-projects-page>.home-project-search,.all-projects-page>.home-project-list{width:calc(100% - 24px)}}
/* In the workbench the bottom navigation is a real adjacent row, rather
   than a fixed layer over the content.  The shell is the only scrolling
   region, so the panel's bottom edge meets the navigation's top edge. */
body.workbench-fullscreen{display:flex;height:100dvh;min-height:0;flex-direction:column;overflow:hidden}
body.workbench-fullscreen .shell{display:flex;flex:1 1 auto;min-height:0;flex-direction:column;overflow:hidden;margin:0 auto;padding-bottom:0}
@media(max-width:600px){body.workbench-fullscreen .shell{padding-top:max(22px,env(safe-area-inset-top))}}
@media(max-width:600px){body.workbench-fullscreen{width:var(--android-ui-width,100vw);height:var(--android-ui-height,100dvh);min-height:0;overflow:hidden;background:#16201e}body.workbench-fullscreen .shell{width:100%;max-width:none;min-height:0;margin:0}}
@media(max-width:600px){body.workbench-fullscreen .workbench-step-content{border-radius:0;background:#16201e}body.workbench-fullscreen .app-nav{background:#16201e!important;box-shadow:none!important;backdrop-filter:none!important}}
body.workbench-fullscreen .workbench-step-content{height:auto;flex:1 1 auto;min-height:0;overflow:hidden;border-radius:0;background:#16201e}
body.workbench-fullscreen .workbench-panel[data-workbench-panel="shared"]:not([hidden]){flex:1 1 0;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y}
body.workbench-fullscreen .app-nav{background:#101719!important;box-shadow:none!important;backdrop-filter:none!important}
html.workbench-active{background:#16201e;overscroll-behavior-y:none}
body.workbench-fullscreen,.workbench-fullscreen .shell{background:#16201e;overscroll-behavior-y:none}
body.workbench-fullscreen .workbench-split-chat-messages{max-height:min(52dvh,720px);overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
body.workbench-fullscreen .workbench-split-chat-messages:has(#workbenchSplitResult:not(:empty)){max-height:min(52dvh,720px)}
.workbench-split-box>.workbench-script-control{grid-column:1/-1;min-width:0;min-height:0}
.workbench-split-chat{position:relative;display:flex;min-width:0;min-height:0;flex-direction:column;isolation:isolate;overflow:hidden}
.workbench-split-chat-messages{position:relative;z-index:0;flex:0 1 auto;min-height:88px;max-height:min(52dvh,720px);margin-bottom:5px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
/* The composer is an opaque foreground row.  Streaming text therefore cannot
   visually pass underneath it while the message viewport is scrolling. */
.workbench-split-chat-form,.workbench-split-chat-status{position:relative;z-index:2;background:#0f1815}
@media(max-width:600px){.shell{padding-top:max(22px,env(safe-area-inset-top))}.home-brand{top:max(22px,env(safe-area-inset-top))}}
@media(max-width:600px){.project-home.app-page.page-active{bottom:calc(0px - env(safe-area-inset-bottom))}.home-ambient{bottom:calc(0px - env(safe-area-inset-bottom))}}
body{isolation:isolate}
.home-ambient{z-index:-1;bottom:calc(0px - env(safe-area-inset-bottom));background:radial-gradient(ellipse at 50% 55%,rgba(29,66,48,.27),transparent 49%),linear-gradient(145deg,#0a1211 4%,#0c1714 51%,#0a1211 100%)}
body.home-active .home-ambient{z-index:0}
.project-home.app-page.page-active{background:transparent}
@media(max-width:600px){.home-ambient{bottom:-40px}}
/* Use one logo component everywhere.  The former home-only logo had a
   separate position and click path, so it drifted from (and could fall below)
   the project header on mobile. */
body.home-active .home-brand{display:none}
body.home-active #topbarBrand{visibility:visible}
body.home-active .topbar{position:fixed;z-index:200;top:max(12px,env(safe-area-inset-top));left:12px;margin:0;padding:0}
@media(min-width:760px){body.home-active .topbar{top:35px;left:max(24px,calc((100vw - 930px)/2 + 24px))}}

/* Installed iOS uses one stable, non-scrolling page canvas.  The navigation
   is absolute inside that canvas, so the system keyboard cannot move it.
   Only the composer is allowed to follow VisualViewport while editing. */
@media(max-width:600px){
  html.ios-browser body.workbench-keyboard-open .app-nav{
    bottom:calc(-1 * var(--workbench-keyboard-inset,0px))!important;
  }
  html.ios-standalone.workbench-active,
  html.ios-standalone.workbench-active body.workbench-fullscreen{
    width:100%!important;
    height:var(--ios-standalone-layout-height,100vh)!important;
    min-height:var(--ios-standalone-layout-height,100vh)!important;
    max-height:var(--ios-standalone-layout-height,100vh)!important;
    overflow:hidden!important;
  }
  html.ios-standalone.workbench-active body.workbench-fullscreen{
    position:fixed!important;
    inset:0!important;
    display:flex!important;
    flex-direction:column!important;
  }
  html.pwa-standalone.ios-standalone body.workbench-fullscreen .shell{
    display:flex!important;
    height:calc(var(--ios-standalone-layout-height,100vh) - var(--workbench-app-nav-height,64px))!important;
    min-height:0!important;
    max-height:calc(var(--ios-standalone-layout-height,100vh) - var(--workbench-app-nav-height,64px))!important;
    flex:0 0 calc(var(--ios-standalone-layout-height,100vh) - var(--workbench-app-nav-height,64px))!important;
    flex-direction:column!important;
    overflow:hidden!important;
  }
  html.ios-standalone body.workbench-fullscreen .app-nav{
    position:absolute!important;
    right:0!important;
    bottom:0!important;
    left:0!important;
  }
  html.ios-standalone body.workbench-composer-focused .app-nav,
  html.ios-standalone body.workbench-keyboard-open .app-nav{
    visibility:hidden!important;
    pointer-events:none!important;
  }
  html.ios-standalone body.workbench-fullscreen .workbench-page.page-active,
  html.ios-standalone body.workbench-fullscreen .workbench-step-content,
  html.ios-standalone body.workbench-fullscreen .workbench-panel[data-workbench-panel="storyboard"]:not([hidden]),
  html.ios-standalone body.workbench-fullscreen .workbench-split-box,
  html.ios-standalone body.workbench-fullscreen .workbench-script-control,
  html.ios-standalone body.workbench-fullscreen .workbench-split-chat{
    display:flex!important;
    min-height:0!important;
    flex:1 1 auto!important;
    flex-direction:column!important;
  }
  html.ios-standalone body.workbench-fullscreen .workbench-step-content,
  html.ios-standalone body.workbench-fullscreen .workbench-split-chat{
    overflow:hidden!important;
    background:#16201e!important;
  }
  /* The shell already reserves the navigation height.  Do not reserve it a
     second time inside the story panel, or the composer floats too high. */
  html.pwa-standalone.ios-standalone body.workbench-fullscreen .workbench-step-content{
    padding-bottom:8px!important;
  }
  html.ios-standalone body.workbench-fullscreen .workbench-split-chat-messages{
    min-height:0!important;
    max-height:none!important;
    flex:1 1 auto!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch;
  }
}

/* Ask mobile browsers to keep their own controls in the dark scheme too. */
:root{color-scheme:dark}

/* iOS Safari samples the root canvas around its bottom browser bar.  Keep
   that canvas transparent above one continuous animated root background;
   an opaque workbench body here is what previously broke the visual flow. */
@keyframes ios-root-flow{
  0%{background-position:0% 45%,0% 50%}
  50%{background-position:100% 58%,72% 46%}
  100%{background-position:0% 45%,0% 50%}
}
@media(max-width:600px){
  html.home-active,
  html.workbench-active{
    background:
      radial-gradient(ellipse 115% 75% at 50% 100%,rgba(55,112,62,.46),transparent 67%),
      linear-gradient(135deg,#08110f 0%,#0c1b16 46%,#10241b 67%,#08110f 100%)!important;
    background-size:165% 165%,190% 190%!important;
    animation:ios-root-flow 34s ease-in-out infinite;
  }
  body.workbench-fullscreen{background:transparent!important}
  body.workbench-fullscreen .shell{background:transparent!important}
  html.home-active body.home-active .home-ambient{
    position:fixed!important;
    top:calc(0px - env(safe-area-inset-top))!important;
    right:0!important;
    bottom:calc(0px - env(safe-area-inset-bottom))!important;
    left:0!important;
  }
  body.workbench-fullscreen .home-ambient{
    bottom:calc(0px - env(safe-area-inset-bottom))!important;
  }
}

/* Must remain last: mobile fallback layout intentionally paints panels solid,
   but the open header above them needs the animated canvas through the status
   bar safe area. */
html.workbench-active{background:#101719}
body.workbench-fullscreen{background:#101719!important}
body.workbench-fullscreen .home-ambient{position:fixed!important;z-index:0!important;top:calc(0px - env(safe-area-inset-top))!important;right:0!important;bottom:calc(0px - env(safe-area-inset-bottom))!important;left:0!important}
body.workbench-fullscreen .shell{position:relative;z-index:1;background:transparent!important}

/* The workbench panels stay solid, while the strip carrying the XuLang logo
   returns to the flowing canvas instead of merging into the first panel. */
body.workbench-fullscreen{background:radial-gradient(ellipse 80% 34% at 50% -8%,#28483f 0%,transparent 72%),linear-gradient(145deg,#0a1211 4%,#0c1714 51%,#0a1211 100%)}
body.workbench-fullscreen .shell{background:transparent!important}

/* Installed mobile app: the navigation belongs to the screen edge, not after
   the document flow.  Reserve its height inside the shell so it never covers
   the composer or the last row of content. */
@media(max-width:600px){
  html.pwa-standalone body.workbench-fullscreen .shell{height:calc(var(--android-ui-height,100dvh) - var(--workbench-app-nav-height,64px));max-height:calc(var(--android-ui-height,100dvh) - var(--workbench-app-nav-height,64px));min-height:0;flex:0 0 calc(var(--android-ui-height,100dvh) - var(--workbench-app-nav-height,64px));padding-bottom:0}
  html.pwa-standalone body.workbench-fullscreen .app-nav{position:fixed!important;z-index:30;right:0!important;bottom:0!important;left:0!important;width:100%!important;margin:0!important;background:#101719!important}
}

/* A browser tab can have a shorter visual viewport than the home canvas due
   to its address and toolbar.  Anchor the backdrop to that canvas, rather
   than to the transient viewport, so the animation and grid fill it top to
   bottom in ordinary mobile browsing as well as in the installed app. */
@media(max-width:600px){
  html.home-active body.home-active .home-ambient{position:absolute;inset:0}
}

/* The same flowing canvas continues behind the workbench header.  Panels and
   navigation remain above it, so only the open area above the four tabs shows
   the motion rather than turning into another opaque panel. */
body.workbench-fullscreen .home-ambient{position:fixed;z-index:0;inset:0;bottom:0;background:radial-gradient(ellipse at 50% 55%,rgba(29,66,48,.27),transparent 49%),linear-gradient(145deg,#0a1211 4%,#0c1714 51%,#0a1211 100%)}
body.workbench-fullscreen .shell{position:relative;z-index:1}

/* Final mobile workbench canvas override: it must come after the fallback
   layout rules, otherwise their opaque #16201e background hides the motion. */
html.workbench-active{background:radial-gradient(ellipse 80% 34% at 50% -8%,#28483f 0%,transparent 72%),linear-gradient(145deg,#0a1211 4%,#0c1714 51%,#0a1211 100%)}
body.workbench-fullscreen{background:transparent!important}
body.workbench-fullscreen .home-ambient{position:fixed!important;z-index:0!important;top:calc(0px - env(safe-area-inset-top))!important;right:0!important;bottom:calc(0px - env(safe-area-inset-bottom))!important;left:0!important}
body.workbench-fullscreen .shell{position:relative;z-index:1;background:transparent!important}
.workbench-page.page-active{display:flex!important;flex:1 1 auto;min-height:0;flex-direction:column}
.workbench-step-content{flex:1 1 auto;min-height:0;overflow:auto}
/* Storyboard chat has one fixed-height workspace.  Only its message viewport
   scrolls, so new text grows upward while the composer remains visible. */
body.workbench-fullscreen .workbench-step-content,
body.workbench-fullscreen .workbench-panel[data-workbench-panel="storyboard"]:not([hidden]),
body.workbench-fullscreen .workbench-panel[data-workbench-panel="storyboard"] .workbench-split-box,
body.workbench-fullscreen .workbench-panel[data-workbench-panel="storyboard"] .workbench-script-control{display:flex;flex:1 1 auto;min-height:0;flex-direction:column}
body.workbench-fullscreen .workbench-panel[data-workbench-panel="storyboard"] .workbench-split-box{margin-top:0}
body.workbench-fullscreen .workbench-panel[data-workbench-panel="storyboard"] .workbench-split-chat{flex:1 1 auto;min-height:0;overflow:hidden}
body.workbench-fullscreen .workbench-panel[data-workbench-panel="storyboard"] .workbench-split-chat-messages{flex:1 1 auto;min-height:0;max-height:none!important}
body.workbench-fullscreen .workbench-panel[data-workbench-panel="storyboard"] .workbench-split-chat-form{order:3;flex:none;margin-top:auto}
body.workbench-fullscreen .workbench-panel[data-workbench-panel="storyboard"] .workbench-split-chat-status{order:2;flex:none}
/* Paint the home backdrop on the document canvas as well as the page layer.
   iOS standalone Safari can expose the canvas below the body in its bottom safe area. */
html{min-height:100%;background:radial-gradient(ellipse 80% 34% at 50% -8%,#28483f 0%,transparent 72%),linear-gradient(145deg,#0a1211 4%,#0c1714 51%,#0a1211 100%)}
body{background:transparent}
@media(max-width:600px){html{background:radial-gradient(ellipse 80% 34% at 50% -8%,#28483f 0%,transparent 72%),linear-gradient(145deg,#0a1211 4%,#0c1714 51%,#0a1211 100%)}}
html.home-active,body.home-active{height:100%;overflow:hidden;overscroll-behavior:none;touch-action:pan-y}
html.home-active{position:relative;isolation:isolate;background-color:#0a1211;background-image:radial-gradient(ellipse 120% 85% at 50% 100%,rgba(74,122,56,.48) 0%,rgba(37,89,50,.3) 42%,transparent 85%),radial-gradient(ellipse 80% 34% at 50% -8%,#28483f 0%,transparent 72%),linear-gradient(145deg,#0a1211 4%,#0c1714 51%,#0a1211 100%)}
html.home-active::before{position:fixed;z-index:1;top:0;right:0;bottom:auto;left:0;height:var(--home-canvas-height,100dvh);content:"";pointer-events:none;background:radial-gradient(ellipse 72% 48% at 25% 38%,rgba(119,185,79,.28),transparent 72%),radial-gradient(ellipse 74% 55% at 80% 70%,rgba(35,109,78,.34),transparent 72%),radial-gradient(ellipse 95% 62% at 52% 106%,rgba(104,154,65,.32),transparent 78%);animation:home-root-aurora var(--home-root-aurora-duration,32s) ease-in-out infinite alternate;will-change:transform}
body.home-active{position:relative;z-index:2;inset:auto;width:100%;height:var(--home-canvas-height,100dvh);min-height:var(--home-canvas-height,100dvh);background:transparent}
body.home-active .project-home.app-page.page-active{top:0!important;right:0!important;bottom:auto!important;left:0!important;height:var(--home-canvas-height,100dvh);min-height:var(--home-canvas-height,100dvh);overflow:hidden!important;overscroll-behavior:none;touch-action:pan-y}
@media(max-width:600px){html.pwa-standalone.home-active{height:var(--home-canvas-height,100dvh);min-height:var(--home-canvas-height,100dvh);overflow:visible}html.pwa-standalone body.home-active{height:var(--home-canvas-height,100dvh);min-height:var(--home-canvas-height,100dvh)}}
body.home-active .topbar{position:relative;z-index:16}
body.home-active .shell{position:relative;z-index:2}
body.home-active .home-content{position:relative;top:clamp(-120px,-9vh,-48px)}
body.home-active .topbar .device-actions{display:none}
body.home-active .topbar{min-height:42px}
/* The landing screen is a full-page layer. Keep the connection control and
   its sheet above it so the logo remains a usable entry point. */
body.home-active .topbar{z-index:100}
body.home-active .brand-controls{z-index:101}
body.home-active .settings-sheet{z-index:120}
#openSettings.brand-mark,.home-brand-mark{position:relative;width:46px;height:34px;flex:0 0 46px;overflow:hidden;border:0;border-radius:0;background:transparent;padding:0}
.brand-logo{position:absolute;top:50%;left:50%;display:block;width:50px;height:50px;max-width:none;object-fit:contain;transform:translate(-50%,-50%)}
#token{font-size:16px}
/* iOS Safari zooms the page when an editable control smaller than 16px receives focus. */
@media(max-width:700px){html.pwa-standalone input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),html.pwa-standalone select,html.pwa-standalone textarea,html.pwa-standalone [contenteditable="true"]{font-size:16px!important}}
.workbench-character-summary article.workbench-subject-card,.workbench-character-summary .workbench-subject-image-slot.empty-slot,.workbench-character-summary .workbench-subject-image-slot.empty-slot:hover,.workbench-character-summary .workbench-subject-image-slot.empty-slot:focus,.workbench-character-summary .workbench-subject-image-slot.empty-slot:focus-visible{border:0!important;border-color:transparent!important;outline:none!important;box-shadow:none!important;-webkit-appearance:none!important;appearance:none!important}
/* Keep the animated backdrop, its grid, and the home canvas on the same
   vertical origin.  The earlier -100px inset moved the grid upward and let
   the lower page layer show through beneath it. */
@media(max-width:600px){html.pwa-standalone body.home-active .home-ambient{position:absolute;inset:0;background:radial-gradient(ellipse 120% 85% at 50% 100%,rgba(74,122,56,.48) 0%,rgba(37,89,50,.3) 42%,transparent 85%),radial-gradient(ellipse at 50% 55%,rgba(29,66,48,.27),transparent 49%),linear-gradient(145deg,#0a1211 4%,#0c1714 51%,#0a1211 100%)}}
@media(max-width:600px){html.pwa-standalone:not(.home-active):not(.workbench-active){height:100dvh;overflow:hidden;overscroll-behavior:none}html.pwa-standalone:not(.home-active):not(.workbench-active) body:not(.home-active){height:100dvh;overflow:hidden}html.pwa-standalone:not(.home-active):not(.workbench-active) body:not(.home-active)>.shell{height:100dvh;max-height:100dvh;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}}
@keyframes home-root-aurora{from{transform:translate3d(-5%,2%,0) scale(1)}to{transform:translate3d(5%,-2%,0) scale(1.06)}}
@media(prefers-reduced-motion:reduce){html.pwa-standalone body.home-active .home-ambient{animation:none}}
@media(max-width:600px) and (prefers-reduced-motion:reduce){html.pwa-standalone body.home-active .home-ambient::before{animation:home-current var(--home-current-duration,54s) linear infinite,home-wave var(--home-wave-duration,24s) ease-in-out infinite alternate!important}html.pwa-standalone body.home-active .home-ambient::after{animation:home-breathe var(--home-breathe-duration,18s) ease-in-out infinite alternate!important}html.pwa-standalone body.home-active .home-ambient i{animation:home-ribbon-one var(--home-ribbon-one-duration,38s) ease-in-out infinite alternate!important}html.pwa-standalone body.home-active .home-ambient i:nth-child(2){animation-name:home-ribbon-two!important;animation-duration:var(--home-ribbon-two-duration,47s)!important}html.pwa-standalone body.home-active .home-ambient i:nth-child(3){animation-name:home-ribbon-three!important;animation-duration:var(--home-ribbon-three-duration,51s)!important}}
@media(max-width:600px){html.pwa-standalone .app-nav{bottom:calc(0px - var(--pwa-keyboard-inset,0px))!important}}
.queue.app-page{border:0;border-radius:0;background:transparent;box-shadow:none}
.job-delete{display:block;margin:10px 0 0 auto;padding:6px 10px;border:0;background:transparent;color:#9aa9a0;font-size:.72rem}.job-delete:hover{color:#ffb3ad}.job-delete:disabled{opacity:.5}
.job-project{display:block;margin:4px 0;color:#bedb91}
.job .job-segments{display:grid;gap:9px;margin-top:12px;padding:10px 0;border-top:1px solid rgba(106,139,112,.18);border-bottom:1px solid rgba(106,139,112,.18)}
.job-segments>strong{color:#c7f36b;font-size:.76rem}
.job .job-segment{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:6px 10px;padding:8px 0;border-top:1px solid rgba(106,139,112,.12)}
.job-segment-heading{display:flex;grid-column:1/-1;justify-content:space-between;gap:8px;color:#cddbd0;font-size:.74rem}
.job-segment-heading span:last-child{flex:none;color:#9fba83}
.job-segment-track{grid-column:1/-1;height:4px;overflow:hidden;border-radius:5px;background:#273832}
.job-segment-track i{display:block;height:100%;border-radius:inherit;background:#c7f36b;transition:width .25s ease}
.job-segment-open,.job-output-link,.job-retry{width:max-content;margin:0;padding:5px 8px;border:0;background:transparent;color:#c7f36b;font-size:.72rem}
.job-output-link{overflow-wrap:anywhere;text-align:left}
.job-outputs{display:grid;gap:4px;margin:8px 0 0;padding-left:17px;color:#c6ef99;font-size:.75rem;line-height:1.5;overflow-wrap:anywhere}
.job-retry{margin-top:9px;border:1px solid rgba(199,243,107,.28);border-radius:8px;background:rgba(199,243,107,.08)}
.job-segment-open:hover,.job-output-link:hover,.job-retry:hover{color:#e4ffa5}
.files-head-actions{justify-content:flex-end}
body.workspace-library-active .topbar{position:relative;margin-bottom:22px;padding-bottom:0;border-bottom:0;box-shadow:none}
body.workspace-library-active .topbar::after{position:absolute;right:0;bottom:-4px;left:0;height:1px;background:rgba(145,174,144,.24);content:"";pointer-events:none}
.folder-topbar-location{display:flex;flex:1;align-items:center;gap:12px;min-width:0}
.folder-topbar-location button{flex:none;padding:8px 11px;border:1px solid #385147;border-radius:10px;background:#20302d;color:#edf5ec}
.folder-topbar-location strong{min-width:0;overflow:hidden;color:#edf5ec;font-size:1rem;text-overflow:ellipsis;white-space:nowrap}
.workbench-bound-audio{grid-auto-rows:1fr auto;gap:1px;box-sizing:border-box;padding:3px}.workbench-bound-audio>b{font-size:1.15rem;line-height:1}.workbench-bound-audio>small{color:#d7e9b5;font-size:.48rem;font-weight:700;line-height:1;white-space:nowrap}.workbench-bound-assets.compact .workbench-bound-audio{padding:0}.workbench-bound-assets.compact .workbench-bound-audio>b{font-size:.72rem}.workbench-subject-preview .workbench-bound-audio{grid-auto-rows:1fr auto;gap:2px;padding:5px}.workbench-subject-preview .workbench-bound-audio>b{font-size:1.4rem}.workbench-subject-preview .workbench-bound-audio>small{font-size:.56rem}
.workbench-subject-image-slot>.workbench-bound-thumb,.workbench-subject-image-slot>.workbench-bound-preview-fallback,.workbench-subject-image-slot>.workbench-bound-audio{box-sizing:border-box;flex:0 0 100%;width:100%;height:100%;min-width:0;max-width:none;max-height:none;margin:0}.workbench-subject-image-slot>.workbench-bound-thumb{object-fit:contain!important}.workbench-subject-image-slot>.workbench-bound-audio{border:0;border-radius:8px}.workbench-subject-preview.has-assets>.workbench-bound-thumb{flex:0 0 180px;width:180px;height:96px;max-width:180px;max-height:96px;object-fit:contain!important}.workbench-subject-preview.has-assets>.workbench-bound-audio,.workbench-subject-preview.has-assets>.workbench-bound-preview-fallback{flex:0 0 180px;width:180px;height:96px;box-sizing:border-box}@media(max-width:600px){.workbench-subject-preview.has-assets>.workbench-bound-thumb{flex-basis:96px;width:96px;height:72px;max-width:96px;max-height:72px}.workbench-subject-preview.has-assets>.workbench-bound-audio,.workbench-subject-preview.has-assets>.workbench-bound-preview-fallback{flex-basis:96px;width:96px;height:72px}}
.workbench-subject-image-slot:not(.empty-slot){overflow:visible;border-radius:12px;background:#303a36}.workbench-subject-image-slot:not(.empty-slot)>.workbench-bound-thumb{overflow:hidden;border-radius:12px;background:transparent!important}
.workbench-subject-image-slot>.workbench-bound-audio{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:0;background:#303a36;text-align:center}.workbench-subject-image-slot>.workbench-bound-audio>b{font-size:1.5rem}.workbench-subject-image-slot>.workbench-bound-audio>small{font-size:.64rem}
.workbench-subject-image-slot>.workbench-bound-remove{position:absolute;z-index:20;top:-7px;right:-7px;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;min-width:18px;margin:0;padding:0;border:1.5px solid #fff;border-radius:50%;background:#111;color:#fff;font:700 12px/1 Arial,sans-serif;box-shadow:0 1px 4px #0009;cursor:pointer;touch-action:manipulation;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .12s ease,visibility .12s ease}.workbench-subject-image-slot:not(.empty-slot):hover>.workbench-bound-remove,.workbench-subject-image-slot:not(.empty-slot):focus-within>.workbench-bound-remove,.workbench-subject-image-slot:not(.empty-slot).show-remove>.workbench-bound-remove{opacity:1;visibility:visible;pointer-events:auto}@media(hover:none),(pointer:coarse){.workbench-subject-image-slot:not(.empty-slot):hover>.workbench-bound-remove,.workbench-subject-image-slot:not(.empty-slot):focus-within>.workbench-bound-remove{opacity:0;visibility:hidden;pointer-events:none}.workbench-subject-image-slot:not(.empty-slot).show-remove>.workbench-bound-remove{opacity:1;visibility:visible;pointer-events:auto}}
.workbench-subject-card>button.workbench-subject-name{display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:7px 8px;touch-action:manipulation}.workbench-subject-name::before,.workbench-subject-name::after{content:none!important;display:none!important}.workbench-subject-type-icon{display:block;width:22px;height:22px;flex:0 0 22px}.workbench-subject-type-icon svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.workbench-subject-type-icon.person,.workbench-subject-type-icon.scene{color:#78c7d8}#workbenchCommonReferences .workbench-subject-card>button.workbench-subject-name .workbench-subject-label{display:block;max-width:6em;color:#f0f5f3!important;font-size:.9rem!important;font-weight:800;line-height:1.35;white-space:normal;overflow-wrap:anywhere}
@media(max-width:600px){.workbench-subject-card>button.workbench-subject-name{flex:1 1 0;width:auto;min-width:0;max-width:none;align-items:center;text-align:center;transform:translateY(-8px)}.workbench-subject-card>.workbench-subject-preview.subject-image-slots{flex:0 0 auto;margin-left:0}}
.workbench-subject-label[contenteditable="true"]{min-width:2em;padding:2px 4px;border-radius:4px;outline:1px solid #78c7d8;background:#101815;color:#f0f5f3;-webkit-user-select:text;user-select:text}
.workbench-production-picker{padding:0;border:0;border-radius:0;background:transparent}.workbench-production-picker>strong{display:block;color:#c7f36b;font-size:1rem}.workbench-production-picker>p{margin:8px 0 14px;color:#91a49a;font-size:.82rem}.workbench-production-picker>div{display:grid;gap:8px}.workbench-production-card{position:relative;min-width:0}.workbench-production-open{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;width:100%;padding:12px;border:1px solid #3b5846;border-radius:10px;background:#16251f;color:#edf5ec;text-align:left}.workbench-production-open:hover{border-color:#8bbb58;background:#1d3226}.workbench-production-open b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workbench-production-open>small{color:#91a49a}.workbench-production-assets{display:flex;align-items:center;gap:7px;min-width:0;margin-top:5px}.workbench-production-assets>em{flex:none;color:#91a49a;font-size:.62rem;font-style:normal}.workbench-production-asset-slots{display:flex;align-items:flex-start;gap:5px;min-width:0;overflow:hidden}.workbench-production-asset-slot{display:grid;grid-template-rows:27px auto;flex:0 0 34px;justify-items:center;gap:2px;min-width:0}.workbench-production-asset-slot>i,.workbench-production-asset-slot>.workbench-bound-thumb,.workbench-production-asset-slot>.workbench-bound-preview-fallback{display:grid;width:27px!important;height:27px!important;place-items:center;overflow:hidden;border:1px dashed #59754f;border-radius:6px;background:#1c3024;color:#b9dc80;font-size:.62rem;font-style:normal;object-fit:cover}.workbench-production-asset-slot.has-image>.workbench-bound-thumb{border-style:solid}.workbench-production-asset-slot>small{display:block;width:34px;overflow:hidden;color:#b8c8bd;font-size:.52rem;line-height:1.15;text-align:center;text-overflow:ellipsis;white-space:nowrap}.workbench-production-asset-more{display:grid;flex:0 0 27px;place-items:center;width:27px;height:27px;border:1px dashed #59754f;border-radius:6px;color:#b9dc80;font-size:.58rem;font-style:normal}.workbench-production-assets-empty{margin-top:4px;color:#91a49a;font-size:.64rem}.workbench-production-delete{position:absolute;z-index:4;top:-8px;right:-8px;display:none;align-items:center;justify-content:center;width:24px!important;min-width:24px!important;height:24px;min-height:24px!important;margin:0!important;padding:0!important;border:1.5px solid #fff!important;border-radius:50%!important;background:#111!important;color:#fff!important;font:700 17px/1 Arial,sans-serif!important;box-shadow:0 1px 5px #000b;touch-action:manipulation}.workbench-production-picker.production-delete-mode .workbench-production-delete{display:flex}.workbench-production-picker.production-delete-mode .workbench-production-open{pointer-events:none}
/* iOS standalone may otherwise lay out an unopened native dialog as ordinary
   content when the workbench panel is re-rendered. */
dialog.workbench-script-dialog:not([open]){display:none!important}
@keyframes workbench-split-progress-sweep{from{transform:translateX(-170%)}to{transform:translateX(330%)}}
.workbench-progress-track.is-indeterminate{overflow:hidden}.workbench-progress-track.is-indeterminate .workbench-progress-fill{width:32%!important;animation:workbench-split-progress-sweep 1.25s ease-in-out infinite}
.workbench-production-nav{display:flex;align-items:center;justify-content:flex-start;gap:10px;min-width:0;margin:0 0 12px}.workbench-production-back{display:inline-flex!important;flex:0 0 auto!important;justify-self:start!important;width:max-content!important;min-width:0!important;margin:0!important;padding:7px 10px!important;border:1px solid #46624c!important;border-radius:9px!important;background:#14201b!important;color:#dce8dc!important;font-size:.78rem!important;white-space:nowrap}.workbench-production-filename{min-width:0;overflow:hidden;color:#91a49a;font-size:.75rem;text-overflow:ellipsis;white-space:nowrap}.workbench-production-filename strong{color:#dce8dc;font-weight:700}
.workbench-exported-storyboard{margin-top:28px}.workbench-exported-storyboard-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:10px}.workbench-exported-storyboard-head strong{display:block;color:#c7f36b;font-size:.95rem}.workbench-exported-storyboard-head small{display:block;max-width:620px;margin-top:5px;color:#91a49a;font-size:.73rem;line-height:1.45}.workbench-exported-storyboard-head>span{flex:none;color:#b9dc80;font-size:.72rem;font-weight:800}.workbench-exported-segment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.workbench-exported-segment{min-width:0;border:1px solid #365143;border-radius:11px;background:#121d18}.workbench-exported-segment summary{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:68px;padding:10px;cursor:pointer;list-style:none}.workbench-exported-segment summary::-webkit-details-marker{display:none}.workbench-exported-segment-number{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#294136;color:#c7f36b;font-size:.68rem;font-weight:900}.workbench-exported-segment-copy{min-width:0}.workbench-exported-segment-copy strong,.workbench-exported-segment-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workbench-exported-segment-copy strong{font-size:.78rem}.workbench-exported-segment-copy small{margin-top:3px;color:#91a49a;font-size:.64rem}.workbench-exported-segment-assets{display:flex;justify-content:flex-end;gap:3px;max-width:122px;overflow:hidden}.workbench-exported-segment-assets>i{color:#91a49a;font-size:.62rem;font-style:normal}.workbench-exported-segment-asset{display:grid;flex:0 0 22px;place-items:center;width:22px;height:22px;overflow:hidden;border:1px dashed #58754e;border-radius:5px;background:#1a2e22;color:#b9dc80;font-size:.52rem;font-style:normal}.workbench-exported-segment-asset .workbench-bound-thumb{width:100%!important;height:100%!important;border:0!important;border-radius:4px;object-fit:cover}.workbench-exported-segment-asset.has-image{border-style:solid}.workbench-exported-segment-body{padding:0 10px 11px;border-top:1px solid #2d4236}.workbench-exported-segment-subjects{display:flex;flex-wrap:wrap;gap:4px;margin:9px 0}.workbench-exported-segment-subjects span{padding:3px 5px;border:1px solid #395343;border-radius:999px;background:#182a20;color:#cde4b1;font-size:.61rem}.workbench-exported-segment-body section{margin-top:9px}.workbench-exported-segment-body section+section{padding-top:8px;border-top:1px solid #293c32}.workbench-exported-segment-body section strong{color:#b9dc80;font-size:.68rem}.workbench-exported-segment-body p{margin:4px 0 0;color:#d4dfd7;font-size:.7rem;line-height:1.55;white-space:pre-wrap}.workbench-exported-segment-body p.workbench-exported-dialogue{color:#dcebd8}@media(max-width:640px){.workbench-exported-segment-grid{grid-template-columns:1fr}.workbench-exported-storyboard-head{align-items:flex-start;flex-direction:column;gap:5px}.workbench-exported-segment-assets{max-width:144px}}
.workbench-review-summary .workbench-production-picker{grid-column:1 / -1;width:100%}.workbench-production-picker>div{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.workbench-production-open{min-height:88px}@media(max-width:760px){.workbench-production-picker>div{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:430px){.workbench-production-picker>div{grid-template-columns:1fr}}
.workbench-production-picker.is-material-picker>div{align-items:stretch}
.workbench-production-picker.is-material-picker .workbench-production-card{height:369px;min-height:369px}
.workbench-production-picker.is-material-picker .workbench-production-open{box-sizing:border-box;display:grid;height:100%;min-height:0;grid-template-rows:1.35em minmax(0,1fr) 183px;align-content:start;overflow:hidden}
.workbench-production-picker.is-material-picker .workbench-production-open>b,.workbench-production-picker.is-material-picker .workbench-production-open>small{grid-column:1;grid-row:1}
.workbench-production-picker.is-material-picker .workbench-production-open>small{align-self:center;justify-self:end;white-space:nowrap}
.workbench-production-picker.is-material-picker .workbench-production-open>.workbench-production-plot{grid-column:1;grid-row:2}
.workbench-production-picker.is-material-picker .workbench-production-open>.workbench-production-assets{grid-column:1;grid-row:3}
.workbench-production-picker.is-material-picker .workbench-production-plot{display:grid;grid-template-columns:auto minmax(0,1fr);align-content:start;gap:7px;min-height:0;overflow:hidden;color:#b8c8bd;font-size:.76rem;line-height:1.45}
.workbench-production-picker.is-material-picker .workbench-production-plot>em{color:#c7f36b;font-style:normal;font-weight:700}
.workbench-production-picker.is-material-picker .workbench-production-plot>span{display:-webkit-box;min-width:0;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:8}
.workbench-production-picker.is-material-picker .workbench-production-assets{display:grid;grid-template-rows:repeat(3,61px);align-content:start;gap:0;min-height:0;margin-top:0;overflow:hidden}
.workbench-production-picker.is-material-picker .workbench-production-asset-row{display:flex;align-items:flex-start;gap:7px;min-width:0;min-height:0;overflow:hidden;padding-top:0}
.workbench-production-picker.is-material-picker .workbench-production-asset-row>em{flex:0 0 4.4em;padding-top:12px;color:#91a49a;font-size:.62rem;font-style:normal}
.workbench-production-picker.is-material-picker .workbench-production-asset-slots{align-items:flex-start;flex-wrap:nowrap;min-height:0}
@media(max-width:600px){.workbench-production-picker.is-material-picker .workbench-production-card{height:351px;min-height:351px}.workbench-production-picker.is-material-picker .workbench-production-open{grid-template-rows:1.35em minmax(0,1fr) 183px}}
.workbench-add-production-project{padding:10px 14px;border:1px solid #789b58;border-radius:10px;background:#1b3524;color:#dff6b9;font-weight:800}.workbench-review-summary>small{align-self:center;color:#91a49a;font-size:.76rem}
.workbench-split-chat-message.split-history-label{margin-top:24px;padding:6px 0;border-radius:0;background:transparent;color:#b9dc80;font-size:.72rem;font-weight:800}
/* Keep Android browsers from auto-inflating text compared with iOS. */
html,body{-webkit-text-size-adjust:none;text-size-adjust:none}
.auth-choice{display:grid;grid-template-columns:1fr;gap:12px;margin-top:20px}.auth-choice button,.auth-panel button{min-height:46px;justify-content:center}.auth-choice .primary{border:1px solid rgba(216,244,224,.14);background:#20302d;color:#edf5ec}.auth-panel{display:grid;gap:13px;margin-top:20px}.auth-panel label{display:grid;gap:7px;margin:0;color:#dce7df;font-size:.8rem;font-weight:700}.auth-panel input{min-height:46px}.auth-panel .settings-status{margin:0}
.invite-admin{display:grid;gap:10px;margin-top:18px}.invite-admin>label{margin:0}.invite-admin>#createInvite{width:max-content;min-height:42px}.invite-result{display:grid;gap:8px;padding:13px;border:1px solid #496c45;border-radius:12px;background:#15251d}.invite-result>span{color:#b9dc80;font-size:.74rem;font-weight:800}.invite-result code{overflow:auto;padding:10px;border-radius:8px;background:#0e1713;color:#eff8d5;font:700 .88rem/1.35 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.04em}.invite-result>div{display:flex;gap:8px}.invite-result button{min-height:36px;padding:7px 10px;font-size:.75rem}.invite-result #hideInvite{background:transparent;color:#b5c4ba}
.brand-logo{width:45px;height:45px}
#topbarBrand p{position:relative;top:2px;font-size:.9rem;letter-spacing:.1em}.home-brand>span{position:relative;top:2px;font-size:.9rem;letter-spacing:.1em}
body:not(.home-active) #topbarBrand p{display:none}
body.home-active #topbarBrand p{display:block}

/* The split-document detail toolbar needs the full phone width for its actions. */
@media(max-width:600px){
  body:has([data-workbench-panel="storyboard"]:not([hidden]) #workbenchSegmentDetail:not([hidden])) .topbar{display:none!important}
}
.comfy-toggle .toggle-state{margin-right:2px!important}
.brand-menu>#openConnection,.brand-menu>#returnHome,.brand-menu>.comfy-toggle-row{min-height:42px;padding:4px 12px;border:1px solid rgba(216,244,224,.14);border-radius:10px;background:#20302d!important;color:#edf5ec}.brand-menu>.comfy-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.status .status-brand{font-size:.72rem;font-weight:800;letter-spacing:.01em}
html:not(.account-authenticated) body.home-active .home-content{top:0;min-height:var(--home-canvas-height,100dvh);padding-top:0;padding-bottom:0}html:not(.account-authenticated) body.home-active .home-intro{display:flex;min-height:100%;flex-direction:column;align-items:center;justify-content:center}html:not(.account-authenticated) body.home-active .home-hero-copy{width:fit-content;margin:0;text-align:left}

/* The signed-out landing copy must be centered against the viewport itself.
   A percentage min-height on the nested flex item is not resolved consistently
   after a browser resize, which could leave the copy near the bottom edge. */
html:not(.account-authenticated) body.home-active .home-intro{position:absolute;inset:0;width:100%;height:100%;min-height:0}
/* Desktop browsers can calculate the nested home canvas taller than the
   visible tab.  Pin the signed-out headline to the visual viewport instead
   of that canvas.  Disable the entrance transform because it would override
   the centering transform. */
html:not(.account-authenticated) body.home-active .home-hero-copy{position:fixed;z-index:2;top:50%;left:50%;width:max-content;max-width:calc(100vw - 48px);margin:0!important;animation:none;transform:translate(-50%,-50%)}
/* The sign-in sheet is the complete signed-out task; do not leave a second
   headline peeking out from underneath it. */
html:not(.account-authenticated) body.home-active:has(#settingsSheet:not([hidden])) .home-hero-copy{visibility:hidden}
html.account-authenticated body.home-active .home-content{top:0;min-height:var(--home-canvas-height,100dvh);padding-top:0;padding-bottom:0}html.account-authenticated body.home-active .home-intro{display:flex;min-height:100%;flex-direction:column;align-items:center;justify-content:center}html.account-authenticated body.home-active .home-hero-copy{width:fit-content;margin:0;text-align:left}html.account-authenticated body.home-active .home-action-panel{position:absolute;z-index:2;top:43%;left:50%;transform:translate(-50%,-50%);animation:none}

/* The authenticated home is a project launcher.  Its panel must be anchored
   to the viewport, not to the content canvas (whose height can grow after
   the project list renders).  The unauthenticated campaign copy has no role
   in this state and otherwise competes for the same vertical space. */
html.account-authenticated body.home-active .home-hero-copy{display:none}
html.account-authenticated body.home-active .home-action-panel{position:fixed;top:50%;left:50%;margin:0;transform:translate(-50%,-50%)}

/* A reload on mobile can leave nested flex items without a resolved height.
   Use the document scroller there so no conversation is clipped off-screen. */
@media(max-width:600px){
  body.workbench-fullscreen{display:block;height:auto;min-height:var(--android-ui-height,100dvh);overflow-x:hidden;overflow-y:auto}
  body.workbench-fullscreen .shell{display:block;min-height:var(--android-ui-height,100dvh);overflow:visible;padding-bottom:calc(var(--workbench-app-nav-height,64px) + 16px)}
  body.workbench-fullscreen .workbench-page.page-active{display:block!important;min-height:0}
  body.workbench-fullscreen .workbench-step-content{display:block;height:auto;min-height:0;overflow:visible}
  body.workbench-fullscreen .workbench-panel[data-workbench-panel="storyboard"]:not([hidden]),
  body.workbench-fullscreen .workbench-panel[data-workbench-panel="storyboard"] .workbench-split-box,
  body.workbench-fullscreen .workbench-panel[data-workbench-panel="storyboard"] .workbench-script-control{display:block;min-height:0}
  body.workbench-fullscreen .workbench-panel[data-workbench-panel="storyboard"] .workbench-split-chat{display:flex;overflow:hidden}
  body.workbench-fullscreen .workbench-panel[data-workbench-panel="storyboard"] .workbench-split-chat-messages{display:flex;min-height:88px;max-height:min(52dvh,720px)!important;overflow-x:hidden;overflow-y:auto;touch-action:pan-y}
}

/* Desktop shell: the workbench canvas is 930px minus its 24px side padding.
   Use that exact same width for the bottom navigation instead of a measured
   value, which can be stale after a viewport/layout transition. */
@media(min-width:760px){
  body.workbench-fullscreen .shell{background:transparent}
  body.workbench-fullscreen .workbench-page{width:min(calc(100vw - 48px),882px);margin-right:auto;margin-left:auto}
  body.workbench-fullscreen .app-nav{width:min(calc(100vw - 48px),882px)!important;margin-right:auto!important;margin-left:auto!important}
}

/* Phone workbench: one viewport, one coordinate system.  Do not compensate
   Android's visual zoom by making the page wider again: that was what pushed
   the content, composer, and navigation onto different horizontal tracks. */
@media(max-width:600px){
  html.workbench-active,
  body.workbench-fullscreen{width:100%;height:var(--android-ui-height,100dvh);min-height:0;max-width:100%;overflow:hidden}
  body.workbench-fullscreen{display:flex;flex-direction:column;background:#16201e}
  body.workbench-fullscreen .shell{display:flex;width:100%;max-width:none;height:auto;min-height:0;flex:1 1 auto;flex-direction:column;overflow:hidden;margin:0;padding:max(4px,env(safe-area-inset-top)) 0 0}
  body.workbench-fullscreen .topbar{position:relative;z-index:40;flex:none;transform:translateY(-4px)}
  body.workbench-fullscreen .workbench-page.page-active{display:flex!important;width:100%;min-height:0;flex:1 1 auto;flex-direction:column;margin:0}
  body.workbench-fullscreen .workbench-steps{flex:none}
  body.workbench-fullscreen .workbench-step-content{display:flex;height:auto;min-height:0;flex:1 1 auto;flex-direction:column;overflow:hidden;padding:8px;background:#16201e}
  body.workbench-fullscreen .workbench-panel[data-workbench-panel="storyboard"]:not([hidden]),
  body.workbench-fullscreen .workbench-panel[data-workbench-panel="storyboard"] .workbench-split-box,
  body.workbench-fullscreen .workbench-panel[data-workbench-panel="storyboard"] .workbench-script-control{display:flex;min-height:0;flex:1 1 auto;flex-direction:column}
  body.workbench-fullscreen .workbench-panel[data-workbench-panel="storyboard"] .workbench-split-chat{display:flex;min-height:0;flex:1 1 auto;overflow:hidden}
  body.workbench-fullscreen .workbench-panel[data-workbench-panel="storyboard"] .workbench-split-chat-messages{display:flex;min-height:0;max-height:none!important;flex:1 1 auto;overflow-x:hidden;overflow-y:auto;touch-action:pan-y}
  body.workbench-fullscreen .workbench-panel:not([hidden]):not([data-workbench-panel="storyboard"]){min-height:0;overflow:auto;-webkit-overflow-scrolling:touch}
  body.workbench-fullscreen .app-nav{position:fixed!important;z-index:30;right:0!important;bottom:0!important;left:0!important;display:grid;flex:none;width:100%!important;margin:0!important;padding:5px!important;transform:none!important;background:#101719!important}
}

/* Keep the same interactive topbar logo in exactly the same screen position
   on the home page and inside a project.  This comes last so it wins over the
   earlier home-layer stacking rules. */
body.home-active .topbar{position:fixed;z-index:200;top:max(4px,env(safe-area-inset-top));left:12px;margin:0;padding:0}
@media(min-width:760px){body.home-active .topbar{top:35px;left:max(24px,calc((100vw - 930px)/2 + 24px))}}

.home-project-card{position:relative}.home-project-open{touch-action:pan-y;-webkit-touch-callout:none;user-select:none}.home-project-delete{position:absolute;right:8px;top:50%;transform:translateY(-50%);z-index:2;min-height:32px;padding:5px 12px;border:1px solid #9c5b55;border-radius:8px;background:#512b28;color:#ffd9d4;font-weight:700}.home-project-delete[hidden]{display:none}.home-project-card:has(.home-project-delete:not([hidden])) .home-project-open{padding-right:76px}.home-project-delete:disabled{opacity:.5}

.topbar{gap:8px}
.machine-queue-status{display:flex;align-items:center;justify-content:center;flex:1 1 auto;min-width:0;max-width:none;margin:0 4px;padding:0;border:0;border-radius:0;background:transparent!important;box-shadow:none;line-height:1.25;text-align:center;white-space:nowrap}
.topbar>.device-actions{flex:none;margin-left:0}
#refreshWorkspace{display:none!important}
.machine-queue-status>strong{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#dce8df;font-size:.82rem;font-weight:700}
.machine-queue-status-track{display:inline}
.machine-queue-status-track>span:nth-child(2){display:none}
.machine-queue-status.is-running>strong{color:#d3f18c}
.machine-queue-status.is-queued>strong{color:#e7d998}
@media(max-width:600px){
  .topbar{gap:6px}
  .machine-queue-status{margin:0 2px}
  .machine-queue-status>strong{width:100%;font-size:.72rem;text-overflow:clip}
  .machine-queue-status-track{display:inline-flex;gap:48px;white-space:nowrap}
  .machine-queue-status-track>span{flex:none}
  .machine-queue-status.is-overflowing>strong{text-align:left}
  .machine-queue-status.is-overflowing .machine-queue-status-track>span:nth-child(2){display:block}
  .machine-queue-status.is-overflowing .machine-queue-status-track{animation:machine-queue-marquee 22s linear infinite}
  @keyframes machine-queue-marquee{to{transform:translateX(calc(-50% - 24px))}}
}
body:not(.workbench-fullscreen) .machine-queue-status{display:none!important}


/* Keep the logo row on one vertical track across home, workbench, and library pages. */
.topbar{min-height:42px}
@media(max-width:600px){
  body.home-active .topbar{transform:translateY(-4px)}
  body:not(.home-active):not(.workbench-fullscreen) .topbar{
    transform:translateY(calc(max(4px,env(safe-area-inset-top)) - 4px - max(22px,env(safe-area-inset-top))))
  }
}
.scene-image-dialog { max-width: min(560px, 92vw); max-height: 88vh; width: 100%; padding: 0; overflow: auto; border: 1px solid #50705d; border-radius: 16px; background: #15221e; color: #e6f0e6; box-shadow: 0 24px 80px #0009; }
.scene-image-dialog::backdrop { background: #000a; }
.scene-image-form { display: grid; gap: 14px; padding: 22px; }
.scene-image-form h2, .scene-image-form p { margin: 0; }
.scene-image-form label { display: grid; gap: 6px; }
.scene-image-form textarea, .scene-image-form select { box-sizing: border-box; width: 100%; padding: 10px; border: 1px solid #50705d; border-radius: 8px; background: #0e1815; color: inherit; font: inherit; }
.scene-image-status { min-height: 2.5em; color: #b7ceb7; }
.scene-image-brief { padding: 10px 12px; border-left: 3px solid #a9d96d; border-radius: 4px; background: #203228; line-height: 1.5; white-space: pre-wrap; }
.scene-image-style { display: grid; gap: 8px; }
.scene-image-style-options { display: flex; flex-wrap: wrap; gap: 8px; }
.scene-image-style-options button { flex: 1 1 110px; border-color: #658a57; }
.scene-image-style-options button[aria-pressed="true"] { border-color: #c7f36b; background: #c7f36b; color: #18311e; }
.scene-image-style small { color: #b7ceb7; line-height: 1.4; }
.scene-image-advanced { border: 1px solid #395444; border-radius: 8px; padding: 9px 11px; }
.scene-image-advanced summary { cursor: pointer; font-weight: 700; }
.scene-image-advanced label { margin-top: 10px; }
.scene-image-candidate { display: grid; gap: 9px; justify-items: center; padding: 10px; border: 1px solid #50705d; border-radius: 10px; }
.scene-image-candidate[hidden] { display: none; }
.scene-image-candidate img { display: block; max-width: 100%; max-height: min(48vh, 420px); object-fit: contain; border-radius: 7px; }
.scene-image-candidate button { border-color: #c7f36b; background: #c7f36b; color: #18311e; }
.workbench-subject-image-slot .scene-image-regenerate { position: absolute; right: 3px; bottom: 3px; z-index: 2; padding: 4px 6px; border-color: #c7f36b; background: #1c4028; color: #e4f7c1; font-size: .65rem; }
.scene-image-actions { display: flex; justify-content: flex-end; gap: 10px; }
.workbench-character-summary .scene-reference-actions { display: flex; flex-direction: column; gap: 5px; box-sizing: border-box; overflow: visible; }
.workbench-character-summary .scene-reference-actions button { display: block; width: 100%; min-height: 36px; padding: 4px 2px; border: 1px solid #658a57; border-radius: 7px; background: #1c4028; color: #e4f7c1; font: inherit; font-size: .72rem; font-weight: 700; line-height: 1.15; cursor: pointer; }
@media (max-width: 600px) { .workbench-character-summary .scene-reference-actions button { min-height: 31px; font-size: .65rem; } }
