/* Series studio: bounded canvas, one collapsible inspector, no global notices. */
.vs-mode-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:24px auto;max-width:1050px}.vs-mode-cards button{text-align:left;padding:22px!important;font-size:17px!important}.vs-mode-cards small{display:block;margin-top:10px;font-size:12px;font-weight:400;opacity:.7}.vs-series-list{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}
html body dialog.vs-shell{box-sizing:border-box;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:12px;border:0;border-radius:0;background:var(--ap-bg,#1e2226);color:var(--ap-ink,#eee);overflow:hidden;display:flex;flex-direction:column;gap:10px;color-scheme:dark}
.vs-shell[hidden],.vs-shell [hidden]{display:none!important}.vs-shell .vs-header{display:flex;gap:8px;align-items:center;flex:none;flex-wrap:wrap}.vs-shell .vs-header input{flex:1;min-width:130px;max-width:260px}.vs-shell :is(button,input,select,textarea){font:inherit;font-size:12px;box-sizing:border-box;border:0;border-radius:5px;background:var(--ap-input,#303941);color:inherit;padding:8px;min-height:32px}.vs-shell button{cursor:pointer}.vs-shell button:hover{background:#56636d}.vs-shell :is(button,input,select,textarea):focus-visible{outline:2px solid #dab583;outline-offset:2px}.vs-shell h3{font-size:15px;margin:6px 0 12px}.vs-shell h4{font-size:13px;margin:18px 0 10px}.vs-shell :is(p,small){font-size:12px;line-height:1.5}.vs-shell small{opacity:.75}.vs-shell label{display:flex;flex-direction:column;gap:5px;font-size:12px;margin:10px 0}.vs-shell textarea{resize:vertical;min-height:42px;max-height:180px}.vs-shell select{width:100%}.vs-shell .vs-check{flex-direction:row;align-items:center;gap:8px;margin:6px 0}.vs-shell input[type=checkbox]{min-height:16px;width:16px;height:16px;accent-color:#d5ad7e}
.vs-layout{display:grid;grid-template-columns:270px minmax(0,1fr);flex:1;gap:12px;min-height:0}.vs-layout.vs-collapsed{grid-template-columns:minmax(0,1fr)}.vs-layout>.vs-sidebar{overflow:auto;background:var(--ap-card,#272d32);border-radius:7px;padding:12px;scrollbar-width:thin}.vs-layout>.vs-sidebar>div>button{display:block;width:100%;text-align:left;margin:7px 0}.vs-tabs{display:flex;flex-wrap:wrap;gap:5px;position:sticky;top:-12px;background:var(--ap-card,#272d32);padding:6px 0;z-index:2}.vs-tabs button{padding:7px;font-size:11px}.vs-layout>.vs-main{display:flex;flex-direction:column;min-width:0;min-height:0;gap:7px}.vs-stage{position:relative;flex:1;min-height:160px;overflow:auto;display:grid;place-items:center;background:#14181b;border-radius:6px;overscroll-behavior:contain}.vs-picture{position:relative;flex:none}.vs-picture img{display:block;width:100%;height:100%;max-width:none;object-fit:contain}.vs-picture canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:crosshair}.vs-toolbar{position:absolute;left:50%;top:10px;transform:translateX(-50%);display:flex;align-items:center;gap:3px;z-index:3;max-width:95%;flex-wrap:wrap;background:#252d32f2;padding:5px;border-radius:7px;box-shadow:0 4px 18px #0005}.vs-toolbar button{padding:5px 7px;font-size:11px;min-height:28px;white-space:nowrap}.psk-tool-grip{cursor:grab!important;touch-action:none}.psk-tool-grip:active{cursor:grabbing!important}.vs-frames,.vs-versions{display:flex;gap:6px;overflow-x:auto;flex:none;scrollbar-width:thin;min-height:0}.vs-frame{position:relative;flex:none}.vs-frame>input{position:absolute;left:3px;top:3px;z-index:1}.vs-frame button,.vs-versions button{width:96px;flex:none;padding:3px;display:flex;flex-direction:column;gap:3px}.vs-frame img,.vs-versions img{width:90px;height:47px;object-fit:cover;border-radius:3px}.vs-frame small,.vs-versions small{max-width:90px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px}.vs-versions:empty{display:none}.vs-composer{display:flex;align-items:stretch;gap:7px;flex:none}.vs-composer textarea{flex:1;resize:none}.vs-composer button:last-child{background:#d5ad7e;color:#231f18}.vs-status{margin:0;max-height:58px;overflow:auto;flex:none;white-space:pre-wrap}.vs-status:empty{display:none}.vs-chips{display:flex;flex-wrap:wrap;gap:5px}.vs-busy{cursor:progress}.vs-busy .vs-composer button{opacity:.55}.vs-import{max-height:85vh;max-width:620px;width:90vw;overflow:auto;background:var(--ap-bg,#22282c);color:var(--ap-ink,#eee);border:0;border-radius:10px;padding:20px}.vs-import .vs-check{display:flex;align-items:center;gap:10px;margin:12px 0}.vs-import>button{margin:10px 8px 0 0}
html body.warm-modern[data-theme] #view .vz-studio[data-workspace=architect] .vz-layout{grid-template-columns:260px minmax(0,1fr)!important}
html body.warm-modern[data-theme] #view .vz-studio[data-workspace=architect] .vz-layout.vz-left-collapsed{grid-template-columns:minmax(0,1fr)!important}
html body.warm-modern[data-theme] #view .vz-studio[data-workspace=architect] .vz-tools>.vz-inspector{overflow:visible;padding:0;flex:1;min-height:0}
html body.warm-modern[data-theme] #view .vz-studio[data-workspace=architect] .vz-left-tabs{display:flex;flex-wrap:wrap;gap:4px}
.d5-body{grid-template-columns:300px minmax(0,1fr)!important}.d5-panel{grid-column:1!important;grid-row:1!important}.d5-stage{grid-column:2!important;grid-row:1!important}.d5-quick{display:flex;gap:6px;position:absolute;top:8px;left:12px;z-index:5}
@media(max-width:850px){.vs-mode-cards{grid-template-columns:1fr}.vs-layout{grid-template-columns:220px minmax(0,1fr)}.vs-shell .vs-header>button{font-size:11px}.vs-toolbar{min-width:220px}.vs-composer button{font-size:10px}.vs-composer textarea{min-width:70px}}
@media(prefers-reduced-motion:no-preference){.vs-shell button,.vs-frame,.vs-versions button{transition:background-color .16s ease,opacity .16s ease}.vs-picture{transition:width .16s ease,height .16s ease}}

html body.warm-modern[data-theme] dialog.vs-shell{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;inset:0!important;margin:0!important;padding:12px!important;transform:none!important;overflow:hidden!important;border-radius:0!important}
html body.warm-modern[data-theme] .vs-shell :is(button,input,select,textarea){width:auto;max-width:100%;background:var(--ap-input)!important;color:var(--ap-ink)!important;box-shadow:none!important}
html body.warm-modern[data-theme] .vs-shell .vs-sidebar>div>button{width:100%}
html body.warm-modern[data-theme] .vs-shell .vs-header{display:flex!important;align-items:center!important;gap:8px!important;padding:0!important;margin:0!important;flex:none!important}
html body.warm-modern[data-theme] .vs-shell .vs-sidebar{position:static!important;width:auto!important;height:auto!important;display:block!important;margin:0!important;transform:none!important;z-index:auto!important}
html body.warm-modern[data-theme] .vs-shell .vs-main{position:relative!important;display:flex!important;margin:0!important;padding:0!important;width:auto!important;max-width:none!important}
html body.warm-modern[data-theme] .vs-shell :is(p,small,h3,h4,label){color:var(--ap-ink)!important}
html body.warm-modern[data-theme] .vs-shell .vs-composer button:last-child{background:#d5ad7e!important;color:#231f18!important}
html body.warm-modern[data-theme] .vs-shell .vs-toolbar button{background:#303941!important;color:#eee!important}

html body.warm-modern[data-theme] #psk-series-studio .vs-toolbar{width:max-content;max-width:calc(100% - 20px)}
html body.warm-modern[data-theme] #psk-series-studio .vs-toolbar button{padding:5px 8px!important;background:#303941!important;color:#eee!important;font-size:12px!important;min-height:28px!important;margin:0!important}
html body.warm-modern[data-theme] #psk-series-studio .vs-tabs{position:sticky;display:flex;gap:4px;margin-bottom:12px}
html body.warm-modern[data-theme] #psk-series-studio .vs-tabs button{width:auto!important;display:inline-flex!important;flex:1 1 70px;margin:0!important;padding:7px!important;font-size:11px!important}
html body.warm-modern[data-theme] #psk-series-studio .vs-composer button:last-child{background:#d5ad7e!important;color:#231f18!important}
html body.warm-modern[data-theme] #psk-series-studio :is(.vs-frame,.vs-versions) button{width:96px!important;padding:3px!important;margin:0!important}
html body.warm-modern[data-theme] #view .vs-mode-cards button small{color:inherit!important}

/* Keep navigation responsive and distinguish viewing from inclusion in a batch. */
.vs-shell .vs-header>label{flex-direction:row;align-items:center;margin:0;gap:6px}
.vs-shell .vs-strip-heading{display:flex;align-items:center;gap:10px;flex:none;font-size:11px;min-height:20px}
.vs-shell .vs-strip-heading>span{opacity:.7;margin-right:auto}
.vs-shell .vs-strip-heading button{padding:3px 7px;min-height:24px;font-size:11px}
.vs-shell .vs-frame-check{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:5px;margin:3px 0 0;font-size:10px;cursor:pointer;min-height:22px}
.vs-shell .vs-frame-check input{padding:0;margin:0}
.vs-shell .vs-frame.is-current>button,.vs-shell .vs-versions button[aria-pressed=true],.vs-shell .vs-tabs button[aria-pressed=true]{background:#715b42!important;color:#fff!important;box-shadow:inset 0 -2px #e9c99c!important}
.vs-shell button:disabled{opacity:.55;cursor:default}
.vs-shell .vs-load-note{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);padding:14px 20px;border-radius:8px;background:#20292fee;z-index:2;display:flex;align-items:center;gap:10px;font-size:13px}
.vs-shell .vs-run-note:empty{display:none}
.vs-shell .vs-run-note{display:flex;align-items:center;gap:12px;flex:none;font-size:11px;min-height:22px}
.vs-shell .vs-run-note progress{width:100px;height:5px;accent-color:#d5ad7e}
.vs-shell .vs-run-note small{font-size:11px;opacity:.7}
.vs-shell .vs-sidebar details{margin:8px 0}
.vs-shell summary{cursor:pointer;font-size:12px;padding:7px 0}
.vs-shell .vs-sidebar details p{margin:5px 0;overflow-wrap:anywhere}
.vs-shell .vs-picture{transition:opacity .15s ease}
.vs-shell .vs-status{font-size:11px;max-height:32px}
.vs-shell .vs-toolbar{max-width:calc(100% - 16px)}
@media(max-width:1100px){.vs-shell .vs-layout{grid-template-columns:230px minmax(0,1fr)}.vs-shell .vs-layout.vs-collapsed{grid-template-columns:minmax(0,1fr)}.vs-shell .vs-run-note small{display:none}.vs-shell .vs-header input{max-width:190px}}
@media(max-width:650px){
 html body dialog.vs-shell,html body.warm-modern[data-theme] dialog.vs-shell{padding:6px!important;gap:6px}
 .vs-shell .vs-header{gap:4px!important}.vs-shell .vs-header input{max-width:150px}.vs-shell .vs-header>label{font-size:0}
 .vs-shell .vs-layout{position:relative;grid-template-columns:minmax(0,1fr);gap:0}
 .vs-shell .vs-layout>.vs-sidebar{position:absolute!important;inset:0 auto 0 0;width:min(280px,85vw)!important;z-index:5!important;box-shadow:8px 0 24px #0008}
 .vs-shell .vs-strip-heading{gap:4px;flex-wrap:wrap}.vs-shell .vs-toolbar{min-width:0;left:8px;transform:none;padding:3px}
 .vs-shell .vs-toolbar button{min-height:26px;font-size:10px!important;padding:4px!important}
 .vs-shell .vs-composer{gap:3px}.vs-shell .vs-composer button{padding:5px;font-size:10px}.vs-shell .vs-composer textarea{min-width:60px}
}
@media(prefers-reduced-motion:reduce){.vs-shell .vs-picture{transition:none}}
html body.warm-modern[data-theme] #psk-series-studio{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;border:0!important;border-radius:0!important}
html body.warm-modern[data-theme] #psk-series-studio [hidden]{display:none!important}
html body.warm-modern[data-theme] #psk-series-studio button{border:0!important;min-height:30px;font-weight:500}
html body.warm-modern[data-theme] #psk-series-studio .vs-header input{max-width:260px!important;min-width:100px}
html body.warm-modern[data-theme] #psk-series-studio .vs-header>label{margin-right:auto}
html body.warm-modern[data-theme] #psk-series-studio .vs-tabs button{min-height:30px}
html body.warm-modern[data-theme] #psk-series-studio .vs-frame.is-current>button,
html body.warm-modern[data-theme] #psk-series-studio .vs-versions button[aria-pressed=true],
html body.warm-modern[data-theme] #psk-series-studio .vs-tabs button[aria-pressed=true]{background:#715b42!important;color:#fff!important;box-shadow:inset 0 -2px #e9c99c!important}
@media(max-width:650px){
 html body.warm-modern[data-theme] #psk-series-studio .vs-layout>.vs-sidebar{position:absolute!important;inset:0 auto 0 0;width:min(280px,85vw)!important;z-index:5!important}
 html body.warm-modern[data-theme] #psk-series-studio .vs-header input{max-width:calc(100% - 90px)!important}
 html body.warm-modern[data-theme] #psk-series-studio .vs-header{gap:4px!important}
 html body.warm-modern[data-theme] #psk-series-studio .vs-header button{padding:6px!important;font-size:11px}
}
