/* Interface surfaces share the palette; printed pages and preview pixels do not. */
html body.warm-modern[data-theme] main>header{align-items:center;flex-wrap:nowrap!important;gap:12px}
html body.warm-modern[data-theme] main>header h1{flex:1;min-width:0;margin:0!important}
html body.warm-modern[data-theme] main>header .wc-main-link{margin:0!important;align-self:center;flex:none}
html body.warm-modern[data-theme] dialog.psk-desktop-window{--ap-card:inherit;--ap-input:inherit;--ap-ink:inherit;--ap-muted:inherit;--ap-button:inherit;--ap-button-ink:inherit;--ap-secondary:inherit;--ap-line:inherit;background:var(--ap-card)!important;color:var(--ap-ink)!important}
html body.warm-modern[data-theme] dialog.psk-desktop-window :is(small,.muted){color:var(--ap-muted)!important}
html body.warm-modern[data-theme] dialog.psk-desktop-window>.psk-window-menubar{background:var(--ap-secondary)!important;border-color:var(--ap-line)!important}
html body.warm-modern[data-theme] dialog.psk-desktop-window .psk-window-command-group>summary{color:var(--ap-ink)!important}
html body.warm-modern[data-theme] dialog.psk-desktop-window :is(.psk-window-command-list,.psk-window-command-list>button){background:var(--ap-card)!important;color:var(--ap-ink)!important;border-color:var(--ap-line)!important}
html body.warm-modern[data-theme] dialog.psk-desktop-window .psk-window-command-list>button:hover{background:var(--ap-secondary)!important}
html body.warm-modern[data-theme] #view .cabinet-stage-p>header{margin-bottom:6px}
html body.warm-modern[data-theme] #view .cabinet-stage-p>header h2{font-size:18px!important;margin:0}
html body.warm-modern[data-theme] #view .cabinet-stage-p .cabinet-tabs{margin:6px 0}
html body.warm-modern[data-theme] #view :is(.ep-workspace,.psk-volume,.project-overview,.pd-workspace){color:var(--ap-ink);border-color:var(--ap-line)}
html body.warm-modern[data-theme] #view .ep-workspace :is(.ep-heading,.ep-center,.ep-viewbar,.ep-files,.ep-footer,.ep-breadcrumb){background:var(--ap-card)}
html body.warm-modern[data-theme] #view .ep-workspace :is(.ep-tree,.ep-toolbar,.ep-tools,.ep-ask){background:var(--ap-secondary)}
html body.warm-modern[data-theme] #view .ep-workspace :is(.ep-muted,.ep-person small,.ep-availability){color:var(--ap-muted)!important}
html body.warm-modern[data-theme] #view .ep-workspace .ep-priority{background:color-mix(in srgb,var(--ap-card) 94%,var(--ap-danger));border-color:var(--ap-line)}
html body.warm-modern[data-theme] #view .ep-workspace .ep-priority :is(h2,strong,small){color:var(--ap-danger)!important}
html body.warm-modern[data-theme] #view .ep-workspace .ep-status{background:var(--ap-secondary);color:var(--ap-ink)!important}
html body.warm-modern[data-theme] :is(.engineer-compose,.task-toolbar){background:var(--ap-card);border-color:var(--ap-line);color:var(--ap-ink)}
html body.warm-modern[data-theme] .task-toolbar button{background:var(--ap-secondary)!important;color:var(--ap-ink)!important}
html body.warm-modern[data-theme] :is(.psk-explorer-menu,.psk-explorer-submenu){--menu-bg:var(--ap-card);--menu-ink:var(--ap-ink);--menu-line:var(--ap-line);--menu-hover:var(--ap-secondary)}
html body.warm-modern[data-theme] .psk-explorer-menu{animation:psk-menu-in 120ms ease-out}
html body.warm-modern[data-theme] :is(.psk-explorer-menu,.psk-explorer-submenu) :is(button,.psk-menu-command){letter-spacing:0!important}
html body.warm-modern[data-theme] :is(.ep-files,.ep-volume-list,.psk-volume-files,.psk-volume-feed){scrollbar-color:var(--ap-line) var(--ap-card)}
html body.warm-modern[data-theme] :is(button,input,textarea,select){transition:background-color 140ms ease,border-color 140ms ease,color 140ms ease,box-shadow 140ms ease;letter-spacing:0}
@media(prefers-reduced-motion:reduce){html body.warm-modern[data-theme] :is(button,input,textarea,select,dialog,.psk-explorer-menu){transition:none!important;animation:none!important;scroll-behavior:auto!important}}
html body.warm-modern:is([data-accessibility=light],[data-accessibility=dark]) :is(button,input,textarea,select,dialog,.psk-explorer-menu){transition:none!important;animation:none!important;scroll-behavior:auto!important}
@media(forced-colors:active){:root[data-platform-theme],html body.warm-modern[data-theme]{--ap-bg:Canvas;--ap-card:Canvas;--ap-input:Canvas;--ap-ink:CanvasText;--ap-muted:CanvasText;--ap-button:ButtonFace;--ap-button-ink:ButtonText;--ap-secondary:Canvas;--ap-line:ButtonText;--ap-accent:Highlight;--ap-link:LinkText;--ap-danger:CanvasText;--ap-good:CanvasText}}
html body.warm-modern[data-theme] dialog.psk-document-viewer.psk-document-viewer{padding:0;background:var(--ap-card);color:var(--ap-ink);gap:0}
html body.warm-modern[data-theme] .psk-document-viewer.psk-document-viewer>header{padding:10px 16px;background:#30363d;color:#fff}
html body.warm-modern[data-theme] .psk-document-viewer.psk-document-viewer>header strong{color:#fff}
html body.warm-modern[data-theme] .psk-document-viewer.psk-document-viewer>header button{flex-shrink:0;background:transparent;color:#fff;border:1px solid #66717c}
html body.warm-modern[data-theme] .psk-document-viewer.psk-document-viewer .document-toolbar{padding:8px 16px;background:var(--ap-secondary);border-bottom:1px solid var(--ap-line)}
html body.warm-modern[data-theme] .psk-document-viewer.psk-document-viewer>p{padding:8px 16px;color:var(--ap-muted)}
html body.warm-modern[data-theme] .psk-document-viewer.psk-document-viewer .document-reading{margin:0 12px 12px;background:var(--ap-bg);border-radius:4px;scrollbar-color:var(--ap-line) var(--ap-bg)}
