/* Final workspace rhythm. Functional canvases keep their own rendering dimensions. */
:root{--last-header-height:119px;--work-control:38px;--work-radius:8px}
html[data-theme=light] :is(#image-app,#studio-main,#game-editor,.creator-library){--surface:#fff;--panel:#fff;--raised:#f7f7f8;--line:#e5e7ea;--border:#e5e7ea;--text:#2b2b2b;--muted:#777}
html[data-theme=dark] :is(#image-app,#studio-main,#game-editor,.creator-library){--surface:#211d28;--panel:#211d28;--raised:#2b2534;--line:#44394f;--border:#44394f;--text:#f1edf7;--muted:#b7afc2}
html body :is(#image-app,#studio-main,#game-editor,.creator-library){font-family:var(--last-ui-font);font-size:14px;line-height:1.6;color:var(--text);--cl-bg:var(--surface);--cl-text:var(--text);--cl-muted:var(--muted);--cl-line:var(--line)}
html body :is(#image-app,#studio-main,#game-editor,.creator-library) :is(input,textarea,select){font:400 14px/1.5 var(--last-ui-font);background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:7px;padding:9px 11px;box-sizing:border-box;max-width:100%}
html body :is(#image-app,#studio-main,#game-editor,.creator-library) :is(input,select):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]){min-height:38px}
html body :is(#image-app,#studio-main,#game-editor,.creator-library) :is(input,select,textarea):focus{border-color:#7456e8;outline-offset:2px}
html body :is(#image-app,#studio-main,#game-editor,.creator-library) :is(input[type=checkbox],input[type=radio]){width:17px;height:17px;min-height:0;padding:0;flex:none;vertical-align:middle;accent-color:#7456e8}
html body :is(#image-app,#studio-main,#game-editor,.creator-library) button:not(:disabled):hover{filter:none}
html body :is(#image-app,#studio-main,#game-editor,.creator-library) button:disabled{opacity:.45}
html body :is(#image-app,#studio-main,#game-editor,.creator-library) :is(p,small,.note,.small-note){color:var(--muted)}
/* A — calm controls, a clear canvas, independent A1/A2 side switches. */
html body #image-app.image-workbench{grid-template-columns:300px minmax(0,1fr) 280px;background:var(--raised)}
html body #image-app :is(.image-controls,.image-history){padding:0 20px 24px;background:var(--surface)}
html body #image-app .segmented{position:sticky;top:0;z-index:3;height:54px;min-height:54px;padding:0;margin:0 0 22px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:var(--surface);gap:20px}
html body #image-app .segmented button{font-size:14px;font-weight:500;min-height:54px;padding:0 8px;border-radius:0;background:transparent;box-shadow:none;border:0;border-bottom:2px solid transparent}
html body #image-app .segmented [aria-pressed=true]{border-bottom-color:#7456e8;color:#7456e8}
html body #image-app .image-form{gap:18px}
html body #image-app .image-form label{font-size:14px;font-weight:600;gap:9px}
html body #image-app .image-form textarea{min-height:136px;line-height:1.75;resize:vertical;background:var(--surface)}
html body #image-app :is(.image-form p,.image-history p,.image-model-note,.prompt-composer p){font-size:13px;line-height:1.75;margin-block:8px 12px;color:var(--muted)}
html body #image-app .image-presets{gap:7px}
html body #image-app .image-presets button{font:500 12px/1.5 var(--last-ui-font);min-height:32px;padding:6px 9px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--text)}
html body #image-app .image-presets button:hover{color:#7456e8}
html body #image-app .image-form details{border-top:1px solid var(--line);padding-top:12px}
html body #image-app .image-form summary{font-size:14px;padding:9px 0;min-height:38px;border:0;border-radius:0}
html body #image-app .image-stage{padding:0 24px 20px;background:var(--raised)}
html body #image-app .image-stage-toolbar{height:64px;min-height:64px;margin:0;gap:12px}
html body #image-app .image-stage-toolbar strong{font-size:17px;font-weight:700}
html body #image-app .image-stage-toolbar button{font-size:13px;min-height:36px;padding:7px 11px;border-radius:7px}
html body #image-app .image-empty{border:1px solid var(--line);border-radius:10px;background:var(--surface);min-height:calc(100dvh - 292px);box-shadow:0 2px 5px #00000003;padding:28px}
html body #image-app .image-empty>span{display:grid;place-items:center;width:64px;height:64px;border-radius:14px;background:var(--raised);color:#7456e8;font-size:35px;font-weight:300;margin-bottom:8px}
html body #image-app .image-empty p{font-size:14px;line-height:1.8;max-width:32ch}
html body #image-app .image-actions{padding:16px 0 0;gap:8px;border:0;background:transparent}
html body #image-app .image-actions button{font-size:13px;min-height:40px;padding:9px 12px;border-radius:7px;line-height:1.5;flex:1 1 auto}
html body #image-app .image-history h3{font-size:14px;font-weight:600;margin:26px 0 12px}
html body #image-app .image-history .party-button{font-size:13px;min-height:40px;background:var(--surface);border:1px solid var(--line);border-radius:7px}
html body #image-app .image-queue-empty{padding:20px 12px;border:1px dashed var(--line);border-radius:8px;text-align:center}
html body #image-app .prompt-composer{padding:0 0 20px;margin-bottom:0;border:0;border-bottom:1px solid var(--line)}
html body #image-app .prompt-composer textarea{min-height:100px}
html body #image-app .prompt-composer :is(button,small){font-size:13px}
html body #image-app>.image-progress{min-height:46px;padding:10px 20px;font-size:13px;background:var(--surface)}
/* B — the same control density with a quieter canvas and readable inspector. */
html body #studio-main>.toolbar{min-height:62px;padding:10px 20px;gap:8px;align-items:center;background:var(--surface);border-bottom:1px solid var(--line)}
html body #studio-main .toolbar #title{font-size:16px;font-weight:650;border-color:transparent;background:transparent;max-width:260px}
html body #studio-main .toolbar #title:focus{background:var(--raised);border-color:#7456e8}
html body #studio-main .toolbar :is(button,.button){font-size:13px;height:38px;min-height:38px;padding:8px 11px;border-radius:7px;line-height:20px}
html body #studio-main .toolbar #workspace-save-status{font-size:12px;color:var(--muted)}
html body #studio-main .subbar{min-height:0;padding:4px 20px;background:var(--surface)}
html body #studio-main .subbar:empty{display:none}
html body #studio-main .workspace{grid-template-columns:260px minmax(0,1fr) 310px;border-top:0}
html body #studio-main :is(.panels-sidebar,.right-sidebar>aside){padding:20px;background:var(--surface)}
html body #studio-main :is(.panels-sidebar h2,.right-sidebar h2){font-size:16px;margin-top:0;line-height:1.5}
html body #studio-main :is(.note,.layout-settings label,.comic-material span){font-size:13px;line-height:1.7}
html body #studio-main .add-tools>*{font-size:13px!important;min-height:38px!important;border-radius:7px;padding:8px!important}
html body #studio-main .right-sidebar :is(label,input,textarea,select,button){font-size:14px;line-height:1.6}
html body #studio-main .right-sidebar label{margin-bottom:18px;gap:8px}
html body #studio-main .right-sidebar .actions{gap:6px;display:flex;flex-wrap:wrap;margin-bottom:20px}
html body #studio-main .right-sidebar .actions button{font-size:12px;min-height:32px;border-radius:6px;padding:6px 9px}
html body #studio-main .right-sidebar h3{font-size:15px;padding-top:20px;margin-top:20px;border-top:1px solid var(--line)}
html body #studio-main .tool-tabs{height:54px;background:var(--surface)}
html body #studio-main .tool-tabs button{height:54px;font-size:14px;font-weight:500}
html body #studio-main .preview{grid-template-rows:54px minmax(0,1fr) 26px 118px;padding:0 20px;background:var(--raised)}
html body #studio-main .preview-tools{height:54px;background:var(--raised);font-size:13px;gap:12px}
html body #studio-main .preview-tools :is(button,label){font-size:12px}
html body #studio-main .preview-tools button{min-height:32px;padding:6px 10px}
html body #studio-main .comic-canvas-scroll{padding:12px 8px 24px}
html body #studio-main .preview canvas{box-shadow:0 4px 20px #0000001a}
html body #studio-main .preview>#dimensions{font-size:12px;color:var(--muted)}
html body #studio-main .comic-panel-strip .panel-row{width:72px;min-width:72px;max-width:72px;border-radius:6px;padding:4px}
html body #studio-main .comic-panel-strip .panel-row img{width:62px;height:67px}
html body #studio-main .comic-panel-strip .panel-row span{font-size:11px}
/* C — fixed assistant position, template-specific outline and real preview. */
html body #party-app:has(#game-editor)>.party-top{padding:12px 24px;min-height:64px;align-items:center;background:var(--surface)}
html body #party-app:has(#game-editor)>.party-top h1{font-size:20px;line-height:1.4}
html body #party-app:has(#game-editor)>.party-top button{min-height:38px;font-size:13px;padding:8px 13px;border-radius:7px}
html body #game-editor .editor-layout{grid-template-columns:250px minmax(0,1fr) 310px}
html body #game-editor .game-editor-outline{padding:22px 16px;background:var(--surface)}
html body #game-editor .game-editor-outline>strong{font-size:16px;margin:0 8px 20px}
html body #game-editor .game-editor-outline>small{font-size:12px;margin-bottom:12px}
html body #game-editor .game-editor-outline button{min-height:48px;padding:11px 10px;font-size:13px;line-height:1.65;border-radius:7px;margin-bottom:5px}
html body #game-editor .game-editor-outline button b{font-size:12px;font-variant-numeric:tabular-nums}
html body #game-editor .editor-settings{padding:20px;gap:18px}
html body #game-editor .editor-settings label{font-size:14px;gap:9px}
html body #game-editor .editor-settings :is(button,a){font-size:13px;line-height:1.6;border-radius:7px}
html body #game-editor .editor-settings>a{display:flex;align-items:center;justify-content:center;min-height:40px;padding:9px 12px}
html body #game-editor .editor-settings>a.primary{background:var(--surface);color:var(--text);border:1px solid var(--line)}
html body #game-editor .editor-settings>a:hover{color:#7456e8}
html body #game-editor .game-assistant-dock button{font-size:14px;min-height:44px;border-radius:8px}
html body #game-editor .game-assistant-dock small{font-size:12px;margin-top:10px;line-height:1.7}
html body #game-editor .editor-mode-details>summary{font-size:13px;min-height:38px}
html body #game-editor .game-editor-stage{padding:0 24px 24px;background:var(--raised)}
html body #game-editor .game-stage-tabs{height:54px;align-items:stretch;gap:24px;margin-bottom:20px}
html body #game-editor .game-stage-tabs button{font-size:14px;font-weight:500}
html body #game-editor .game-preview-top strong{font-size:16px}
html body #game-editor :is(.game-preview-top button,.game-preview-player,.game-preview-player select,.game-preview-player button){font-size:13px}
html body #game-editor .game-preview-player button{min-height:36px;padding:7px 10px}
html body #game-editor .game-preview-stage{padding:28px;border-radius:10px;border:1px solid var(--line);box-shadow:0 2px 5px #00000003}
html body #game-editor .game-preview-note{font-size:12px;line-height:1.75;margin-top:16px}
html body #game-editor .choice-editor{border-radius:8px;padding:16px}
html body #game-editor .choice-editor .button-row button{font-size:12px;min-height:34px;padding:7px 10px}
html body .game-translation-control{padding:8px 24px;display:flex;justify-content:flex-end;border-bottom:1px solid var(--line)}
/* Related new workspaces use the same readable sizes; focused readers stay unchanged. */
html body :is(.creator-dashboard,.upload-composed,.broadcast-workspace) :is(p,.small-note,.note){font-size:13px;line-height:1.75}
html body :is(.creator-dashboard,.upload-composed,.broadcast-workspace) :is(label,input,select,textarea){font-size:14px;line-height:1.6}
html body :is(.creator-dashboard,.upload-composed,.broadcast-workspace) :is(input,select):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]){min-height:38px;border-radius:7px}
html body :is(.creator-dashboard,.upload-composed,.broadcast-workspace) button{font-size:13px;line-height:1.5;border-radius:7px}
html body .dashboard-navigation .dashboard-nav-button{font-size:14px;min-height:44px}
html body .creator-dashboard .stats-kpi{padding:20px;border-radius:8px}
html body .creator-dashboard .stats-kpi strong{font-size:30px;line-height:1.4;font-variant-numeric:tabular-nums}
html body .creator-dashboard .stats-kpi span{font-size:13px}
html body .upload-composed .form-panel,html body .upload-composed .upload-post-preview{padding:20px;border-radius:8px}
html body .upload-composed .check-field{font-size:13px;line-height:1.75}
@media(min-width:1700px){html body #image-app.image-workbench{grid-template-columns:330px minmax(0,1fr) 310px}html body #studio-main .workspace{grid-template-columns:280px minmax(0,1fr) 340px}html body #game-editor .editor-layout{grid-template-columns:270px minmax(0,1fr) 340px}}
@media(max-width:1200px){html body #image-app.image-workbench{grid-template-columns:280px minmax(0,1fr) 240px}html body #studio-main .workspace{grid-template-columns:220px minmax(0,1fr) 280px}html body #studio-main>.toolbar{flex-wrap:wrap}html body #game-editor .editor-layout{grid-template-columns:210px minmax(0,1fr) 280px}html body .creator-library{grid-template-columns:200px minmax(0,1fr) 270px}html body .creator-library .library-main{padding-inline:18px}}
@media(max-width:1000px){html body #image-app.image-workbench{grid-template-columns:270px minmax(0,1fr);height:auto!important}html body #image-app .image-history{grid-column:1/-1}html body #game-editor .editor-layout{grid-template-columns:190px minmax(0,1fr)}html body #game-editor .editor-settings{grid-column:1/-1;border-left:0;border-top:1px solid var(--line);position:static;max-height:none}html body .creator-library{grid-template-columns:190px minmax(0,1fr)}html body .creator-library .library-inspector{grid-column:2;position:static;min-height:0;border-top:1px solid var(--line)}}
@media(max-width:850px){html body #studio-main .workspace{grid-template-columns:190px minmax(0,1fr)}html body #studio-main .right-sidebar{grid-column:1/-1}html body #studio-main .preview{min-height:500px}}
@media(max-width:720px){html body #image-app.image-workbench{display:block}html body #image-app .image-stage{padding-inline:16px}html body #image-app .image-empty{min-height:45vh}html body #game-editor .editor-layout{display:block}html body #game-editor .game-editor-outline{display:flex;overflow-x:auto;gap:8px;align-items:center;padding:12px 16px;border-bottom:1px solid var(--line)}html body #game-editor .game-editor-outline>small{display:none}html body #game-editor .game-editor-outline>strong{margin:0 12px 0 0;white-space:nowrap}html body #game-editor .game-editor-outline button{min-width:140px;max-width:180px;flex:none}html body #game-editor .game-editor-stage{padding:0 16px 20px}html body #game-editor .game-preview-stage{padding:20px;min-height:340px}html body .creator-library{display:block}html body .creator-library .library-nav{position:static;min-height:0;border-right:0;border-bottom:1px solid var(--line);padding:16px}html body .creator-library .library-nav-group{display:flex;overflow:auto;gap:6px}html body .creator-library .library-nav-group>*{width:auto;white-space:nowrap;flex:none}html body .creator-library .library-inspector{position:static;border-top:1px solid var(--line);min-height:0}html body .creator-library .library-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){:root{--last-header-height:115px}html body #studio-main .workspace{display:flex;flex-direction:column}html body #studio-main .panels-sidebar{width:100%;height:auto}html body #studio-main .preview{width:100%}html body :is(#image-app,#studio-main,#game-editor,.creator-library) :is(input,textarea,select){font-size:16px}html body #image-app .image-stage-toolbar strong{font-size:16px}html body .creator-library .library-table{overflow-x:auto}html body .creator-library .library-table :is(article,.library-table-head){min-width:570px}}
html body #studio-main .comic-history-actions{display:flex;gap:5px;padding-left:12px;border-left:1px solid var(--line);margin-right:auto}
html body #studio-main .comic-history-actions button{font-size:12px;padding-inline:9px}
html body #studio-main .comic-file-menu{position:relative;margin:0;padding:0;border:0;flex:none}
html body #studio-main .comic-file-menu>summary{height:38px;min-height:38px;display:flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid var(--line);border-radius:7px;cursor:pointer;font-size:13px;list-style:none;white-space:nowrap}
html body #studio-main .comic-file-menu>summary:after{content:'⌄';font-size:15px;line-height:1}
html body #studio-main .comic-file-menu>summary::-webkit-details-marker{display:none}
html body #studio-main .comic-file-panel{position:absolute;z-index:20;top:calc(100% + 8px);right:0;width:240px;padding:8px;border:1px solid var(--line);border-radius:9px;background:var(--surface);box-shadow:0 8px 25px #0002;display:grid;gap:2px}
html body #studio-main .toolbar .comic-file-panel :is(button,.button,a){display:flex!important;justify-content:flex-start;align-items:center;width:100%;max-width:none;height:40px;border:0;background:transparent;color:var(--text);padding:8px 12px;border-radius:6px;margin:0;font-size:13px}
html body #studio-main .toolbar .comic-file-panel :is(button,.button,a):hover{background:var(--raised);color:#7456e8}
html body #studio-main .toolbar #workspace-save{border-color:transparent;color:var(--muted)}
@media(max-width:620px){html body #studio-main .comic-file-panel{position:fixed;top:auto;left:12px;right:12px;width:auto}html body #studio-main .comic-history-actions{margin-right:0;padding-left:0;border:0}}
html body .creator-library .library-nav [aria-current=page] small{color:inherit}
@media(min-width:1101px){
 html body #image-app .image-stage{height:100%;padding-bottom:16px;display:flex;flex-direction:column;overflow:auto}
 html body #image-app .image-stage-toolbar{flex:none}
 html body #image-app .image-results:empty{display:none}
 html body #image-app .image-empty{min-height:240px;flex:1}
 html body #image-app .image-actions{flex:none;padding-top:16px}
}
/* Neutral shared surfaces, with purple reserved for actions and selection. */
html[data-theme=dark] :is(.creator-dashboard,.upload-composed,.stream-workbench){--surface:#211d28;--panel:#211d28;--raised:#2b2534;--line:#44394f;--border:#44394f;--text:#f1edf7;--muted:#b7afc2;--brand-surface:#211d28;--brand-paper:#211d28;--brand-ink:#f1edf7;--brand-muted:#b7afc2;--brand-line:#44394f}
html[data-theme=light] :is(.creator-dashboard,.upload-composed,.stream-workbench){--surface:#fff;--panel:#fff;--raised:#f7f7f8;--line:#e5e7ea;--border:#e5e7ea;--text:#2b2b2b;--muted:#777;--brand-surface:#fff;--brand-paper:#fff;--brand-ink:#2b2b2b;--brand-muted:#777;--brand-line:#e5e7ea}
html body :is(.creator-dashboard,.stream-workbench){background:var(--surface)!important;color:var(--text)}
html body .creator-dashboard :is(.stats-panel,.stats-kpi,.dashboard-navigation){background:var(--surface)!important;border-color:var(--line)!important}
html body .creator-dashboard svg text{stroke:none!important;paint-order:normal;letter-spacing:0}
html body :is(.dashboard-navigation,.stream-rail) .library-icon{display:block;width:18px!important;height:18px!important;flex:none;stroke:currentColor;fill:none}
html body .dashboard-navigation .dashboard-nav-button{display:flex;align-items:center;gap:11px}
html body .stream-workbench :is(button,a,input,select,textarea){font:400 14px/1.5 var(--last-ui-font);border-radius:7px}
html body .stream-workbench :is(p,small,.stream-note){font-size:13px;line-height:1.75;color:var(--muted)}
html body .stream-workbench .stream-provider-card{border:1px solid var(--line);padding:18px;border-radius:8px;background:var(--surface)}
html body .stream-workbench .stream-provider-card button{min-height:36px;padding:7px 12px;font-size:13px}
html body .stream-workbench :is(.stream-overlay-card,.stream-tool-card){border-radius:9px;border-color:var(--line)}
html body .stream-workbench .stream-rail nav button{border-radius:7px!important}
html body .stream-workbench :is(.stream-inspector,.stream-rail){background:var(--surface)}

/* Selected E3: taller gallery cards. Keep the existing site header authoritative. */
html body .creator-library .library-gallery .library-thumbnail{aspect-ratio:1/1}
html body .creator-library .library-gallery .library-item-title{padding:13px 14px 6px}
html body .creator-library .library-gallery .library-item-title strong{font-size:15px;line-height:1.55;font-weight:600}
html body .creator-library .library-gallery .library-item-title small{font-size:12px;line-height:1.6}
html body .creator-library .library-gallery .library-row-actions{padding:6px 13px 0}
html body .creator-library .library-gallery .library-type{padding-left:14px}
html body .creator-library .library-gallery .library-state{padding-right:14px}
html body .creator-library .library-toggle button{width:36px;height:36px;display:grid;place-items:center}
html body #studio-main .comic-material-tools{display:grid;gap:8px;margin-top:12px}
html body #studio-main .comic-material-tools :is(a,button){display:flex;align-items:center;justify-content:center;min-height:38px;margin:0;padding:8px 10px;border:1px solid var(--line);border-radius:7px;color:var(--text);background:var(--surface);font-size:13px;line-height:1.5;text-decoration:none}
html body #studio-main .comic-material-tools :is(a,button):hover{color:#7456e8;background:var(--raised);border-color:var(--line);text-decoration:none}
html body #image-app .image-progress{font-variant-numeric:tabular-nums}
html body #image-app .image-result-overlay>button{display:grid;place-items:center;line-height:1}

html body #image-app .image-purpose-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:12px}
html body #image-app .image-purpose-grid label{min-width:0}
html body #image-app .image-create-actions{background:var(--surface);border-top:1px solid var(--line);padding:14px 0 0;margin:12px 0 0;gap:8px}
html body #image-app .image-create-actions .file-button{display:flex;align-items:center;justify-content:center;position:relative;border:1px solid var(--line);border-radius:7px;min-height:38px;padding:8px 10px;cursor:pointer;font-size:13px}
html body #image-app .image-create-actions .file-button input{position:absolute;width:1px;height:1px;min-height:0;clip-path:inset(50%);overflow:hidden;padding:0;border:0}
html body #image-app .image-create-actions .file-button:focus-within{outline:2px solid #7456e8;outline-offset:3px}
html body #image-app .image-create-actions .primary{min-height:42px;font-size:14px}
html body #image-app .image-preset-picker .image-presets{margin-top:8px}
@media(min-width:1101px){html body #image-app .image-controls{display:grid;grid-template-rows:54px minmax(0,1fr) auto;overflow:hidden;padding-bottom:14px}html body #image-app .image-controls>.segmented{margin-bottom:0}html body #image-app .image-form{height:100%;overflow-y:auto;overscroll-behavior:contain;padding-top:18px;align-content:start}html body #image-app .image-create-actions{position:relative;z-index:2}}

html body #image-app .image-purpose-grid{align-items:end}html body #image-app .image-purpose-grid label{display:flex;flex-direction:column;justify-content:flex-end;gap:8px}html body #image-app .image-purpose-grid select{height:40px;min-height:40px;margin:0}
/* Content sidebars scroll with the document; navigation, editors and game HUDs are unaffected. */
html[data-theme] :is(.social-left-rail,.social-right-rail,.search-left-rail,.help-navigation,.help-context,.duk-context-rail,.ranking-panel,.real-art-aside,.home-side-rail,.home-ad-rails,.help-side,.program-side,.creative-detail-aside,.settings-context),html[data-theme] .art-detail-wrap>aside,html[data-theme] .mp-detail>aside{position:static!important;top:auto!important;min-height:0!important}
html[data-theme] .card-like-button.like-button,html[data-theme] .card-like-button.like-button.selected{border-color:transparent!important;background:transparent!important;box-shadow:none!important}
html[data-theme] .card-like-button.like-button.selected{color:#ef5a83!important}
html[data-theme] .card-like-button.like-button.selected svg{fill:currentColor}
html[data-theme] .card-like-button.like-button:focus-visible{outline:2px solid #7456e8;outline-offset:3px}
.template-activity{margin:24px 0;border:1px solid var(--line,#ded9e8);border-radius:6px;padding:18px}.template-activity>summary{cursor:pointer;font-weight:700}.template-activity .journey-main{max-width:none;padding:0}.template-activity .journey-hero{padding:22px 0 6px}.template-activity .journey-hero h2{font-size:22px}
html[data-theme=light] .template-activity :is(.journey-card,.journey-panel,dialog){background:#fff;color:#282333;border-color:#ddd5eb}html[data-theme=light] .template-activity :is(.journey-hero p,.journey-meta,.journey-empty){color:#71677f}html[data-theme=light] .template-activity :is(input,textarea,select){background:#fff;color:#282333;border-color:#d4c9e0}html[data-theme=light] .template-activity a{color:#7050c9}
html[data-theme] .work-actionbar .like-button.selected{border-color:var(--line,#dfd9e8)!important;background:transparent!important;box-shadow:none!important;color:#ef5a83!important}

/* Content rails follow document flow; editor tools and navigation retain their controls. */
html body :is(.choice-filter,.library-nav,.library-inspector){position:static!important;top:auto!important;min-height:0!important}

html body :is(.creator-context,.policy-x2-navigation,.policy-x2-context){position:static!important;top:auto!important;min-height:0!important}
