/* Aster Atelier — original artwork tuned to the three desktop conventions.
   Drawn vectors, not system assets; decorative pieces never intercept input. MIT. */
body.theme-managed .aster-adaptive-icon{isolation:isolate;vertical-align:middle;flex-shrink:0}
body.theme-managed .aster-adaptive-icon .art-plate{fill:var(--art-base);stroke:color-mix(in srgb,var(--art-ink) 18%,var(--art-base));stroke-width:.7}
body.theme-managed .aster-adaptive-icon .art-depth{fill:color-mix(in srgb,var(--art-base) 72%,#102132);stroke:none}
body.theme-managed .aster-adaptive-icon .art-fold{fill:var(--art-accent);stroke:none;opacity:1}
body.theme-managed .aster-adaptive-icon .art-glyph{stroke:var(--art-ink);color:var(--art-ink);fill:none}
body.theme-managed .aster-adaptive-icon .art-glaze{fill:#fff;opacity:.16}
body.theme-managed .aster-adaptive-icon .art-rim{fill:none;stroke:#fff;stroke-width:1;opacity:.4;stroke-linecap:round}
body.theme-managed .aster-adaptive-icon .art-signature{fill:var(--art-ink);opacity:.4}
body.theme-managed .aster-adaptive-icon[data-icon-family=macos26]{filter:drop-shadow(0 1px 1px #0003)}
body.theme-managed .aster-adaptive-icon[data-icon-family=macos26] .art-plate{stroke:#ffffff80;stroke-width:1}
body.theme-managed .aster-adaptive-icon[data-icon-family=ubuntu]{filter:none}
body.theme-managed .aster-adaptive-icon[data-icon-family=ubuntu] .art-plate{stroke-width:0}
body.theme-managed .aster-adaptive-icon[data-icon-detail=small] .art-signature{display:none}
body.theme-managed[data-icon-style=dark] .aster-adaptive-icon .art-plate{fill:#262f3d;stroke:var(--art-base)}
body.theme-managed[data-icon-style=dark] .aster-adaptive-icon .art-glyph{stroke:var(--art-accent);color:var(--art-accent)}
body.theme-managed[data-icon-style=dark] .aster-adaptive-icon .art-depth{fill:#161c25}
body.theme-managed[data-icon-style=tinted] .aster-adaptive-icon .art-glyph{stroke:var(--accent-text);color:var(--accent-text)}
body.theme-managed[data-icon-style=clear] .aster-adaptive-icon .art-plate{fill:color-mix(in srgb,var(--surface) 88%,transparent);stroke:var(--muted)}
body.theme-managed[data-icon-style=clear] .aster-adaptive-icon .art-glyph{stroke:var(--text);color:var(--text)}
body.theme-managed[data-icon-style=clear] .aster-adaptive-icon .art-depth{fill:var(--border)}
body.theme-managed[data-icon-style=clear] .aster-adaptive-icon .art-fold{fill:var(--border)}
body.theme-managed.theme-contrast .aster-adaptive-icon .art-plate{fill:var(--surface);stroke:var(--text);stroke-width:1.5}
body.theme-managed.theme-contrast .aster-adaptive-icon .art-glyph{stroke:var(--text);color:var(--text)}
body.theme-managed.theme-contrast .aster-adaptive-icon :is(.art-glaze,.art-rim,.art-depth,.art-fold,.art-signature){display:none}
body.theme-managed .aster-adaptive-icon .art-paper{fill:color-mix(in srgb,var(--art-base) 8%,#fff);stroke:none}
body.theme-managed .aster-adaptive-icon .art-accent-fill{fill:var(--art-accent);stroke:none}
body.theme-managed .aster-adaptive-icon .art-ink-fill{fill:var(--art-ink);stroke:none}
body.theme-managed .aster-adaptive-icon .art-object{fill:var(--art-base);stroke:color-mix(in srgb,var(--art-ink) 18%,transparent);stroke-width:1}
body.theme-managed .aster-adaptive-icon[data-icon-family=macos26] .art-plate{fill:color-mix(in srgb,var(--art-base) 24%,#f8fafc)}
body.theme-managed .aster-adaptive-icon[data-icon-family=macos26] .art-glaze{opacity:.44}
body.theme-managed[data-icon-style=dark] .aster-adaptive-icon .art-object{fill:#303d50;stroke:var(--art-accent)}
body.theme-managed[data-icon-style=dark] .aster-adaptive-icon .art-paper{fill:var(--art-accent)}
body.theme-managed[data-icon-style=tinted] .aster-adaptive-icon .art-ink-fill{fill:var(--accent-text)}
body.theme-managed[data-icon-style=tinted] .aster-adaptive-icon .art-paper{fill:color-mix(in srgb,var(--accent-text) 80%,var(--accent))}
body.theme-managed[data-icon-style=clear] .aster-adaptive-icon :is(.art-object,.art-paper){fill:var(--surface2);stroke:var(--text);stroke-width:1}
body.theme-managed[data-icon-style=clear] .aster-adaptive-icon :is(.art-accent-fill,.art-ink-fill){fill:var(--text)}
body.theme-managed[data-icon-style=dark] .aster-adaptive-icon[data-icon-family=macos26] .art-plate{fill:#182232}
body.theme-managed[data-icon-style=clear] .aster-adaptive-icon[data-icon-family=macos26] .art-plate{fill:color-mix(in srgb,var(--surface) 85%,transparent)}
body.theme-managed.theme-contrast .aster-adaptive-icon :is(.art-object,.art-paper){fill:var(--surface);stroke:var(--text);stroke-width:2}
body.theme-managed.theme-contrast .aster-adaptive-icon :is(.art-accent-fill,.art-ink-fill){fill:var(--text);stroke:none}
/* Crisp 16px symbols inside controls, larger colored identities in launchers. */
body.theme-managed[data-profile=ubuntu] :is(.explorer-sidebar,.settings-sidebar,.menu-item)>.icon{stroke-width:1.8}
body.theme-managed[data-profile=macos26] .window-title{letter-spacing:.01em}
body.theme-managed[data-profile=windows] .file-table .aster-adaptive-icon{--icon-size:22px!important}
body.theme-managed .task-button.pin-drop-target{outline:2px solid var(--accent);outline-offset:-2px}
/* Scoped new shell cards do not alter the existing Jump List layout. */
body.theme-managed .task-preview.task-window-panel{display:flex;flex-direction:column;gap:10px;padding:12px;min-width:260px;width:min(700px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100vh - 100px);overflow:hidden;border-radius:10px;box-sizing:border-box}
.task-window-heading{display:flex;align-items:center;gap:10px;min-height:28px;color:var(--text)}
.task-window-heading>strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.task-window-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;overflow:auto;min-height:0;padding:3px}
.task-window-card{position:relative;min-width:0;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);overflow:hidden}
.task-window-card:hover{border-color:var(--accent);background:var(--surface2)}
.task-window-card .preview-activate{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;text-align:left;gap:8px;width:100%;min-height:128px;padding:14px 14px 12px;white-space:normal;background:none;color:inherit}
.task-window-card .preview-activate>strong{font-size:12px;line-height:1.35;max-width:100%;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.task-window-card .preview-activate>small{font-size:10px;line-height:1.5;color:var(--muted)}
.task-window-card .preview-close{position:absolute;right:4px;top:4px;width:27px;height:27px;padding:5px;z-index:1}
.task-window-card .preview-close:hover{background:#be3c3c;color:white}
.task-window-card .preview-app-art{display:block;pointer-events:none}
.task-window-footer{display:flex;gap:8px;justify-content:flex-end}
.task-window-panel button:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}
body.theme-managed[data-profile=macos26] .task-window-panel{border-radius:18px;padding:14px}
body.theme-managed[data-profile=macos26] .task-window-card{border-radius:12px}
body.theme-managed[data-profile=ubuntu] .task-window-panel{background:#323232;color:#fafafa;border-radius:12px}
body.theme-managed[data-profile=ubuntu] .task-window-card{background:#414141;color:#fafafa}
body.theme-managed[data-profile=ubuntu] .task-window-panel .task-window-card small{color:#ddd}
/* Read-only Quick Preview shares the modal layer, tokens and escape conventions. */
.quick-preview.dialog{width:min(860px,calc(100vw - 32px));max-width:calc(100vw - 32px);height:min(680px,calc(100dvh - 70px));max-height:calc(100dvh - 32px);display:flex;flex-direction:column;overflow:hidden;background:var(--surface);color:var(--text)}
.quick-preview-header{display:flex;align-items:center;gap:12px;flex:none;padding:15px 18px;background:var(--surface2);border-bottom:1px solid var(--border)}
.quick-preview-header .grow{min-width:0}
.quick-preview-header h2{margin:0 0 5px;font-size:15px;font-weight:600;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.preview-file-caption{display:block;color:var(--muted);font-size:11px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.quick-preview-header>button{flex:none}
.quick-preview-body{overflow:auto;min-height:0;flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;padding:18px}
.quick-preview-body>img,.quick-preview-body>video{display:block;max-height:100%;max-width:100%;min-height:0;object-fit:contain}
.quick-preview-body>audio{width:min(500px,100%)}
.quick-preview-body:has(.quick-preview-text){align-items:stretch;justify-content:flex-start}
.quick-preview-text{margin:0;font:13px/1.65 var(--mono);white-space:pre-wrap;overflow-wrap:anywhere;tab-size:4;user-select:text;max-width:100%}
.quick-preview-notice{font-size:13px;text-align:center;color:var(--muted);max-width:550px;line-height:1.6;padding:0 10px}
.quick-preview-footer{flex:none;display:flex;align-items:center;justify-content:center;gap:14px;padding:10px;border-top:1px solid var(--border);background:var(--surface2)}
.quick-preview-footer>span{font-size:12px;font-variant-numeric:tabular-nums;color:var(--muted);min-width:65px;text-align:center}
body.theme-managed[data-profile=macos26] .quick-preview{border-radius:18px;box-shadow:0 28px 100px #0006,inset 0 1px #fff7}
body.theme-managed[data-profile=ubuntu] .quick-preview{border-radius:12px}
@media(max-width:540px){
 .quick-preview.dialog{width:calc(100vw - 16px);max-width:calc(100vw - 16px);height:calc(100dvh - 32px)}
 .quick-preview-header{gap:7px;padding:10px}.quick-preview-header .secondary{font-size:11px;padding:7px}.quick-preview-body{padding:12px}
 body.theme-managed .task-window-panel .task-window-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .task-window-card .preview-activate{padding:10px;min-height:138px}
}
@media(forced-colors:active){
 body.theme-managed .aster-adaptive-icon .art-plate{fill:Canvas!important;stroke:CanvasText!important}
 body.theme-managed .aster-adaptive-icon .art-glyph{stroke:CanvasText!important;color:CanvasText!important}
 .aster-adaptive-icon :is(.art-fold,.art-glaze,.art-rim,.art-depth,.art-signature){display:none}
 body.theme-managed .aster-adaptive-icon :is(.art-object,.art-paper){fill:Canvas!important;stroke:CanvasText!important}
 body.theme-managed .aster-adaptive-icon :is(.art-accent-fill,.art-ink-fill){fill:CanvasText!important}
 .task-window-card{border:1px solid CanvasText!important;background:Canvas!important;color:CanvasText!important}
}
/* The adaptive shapes remain visible in every icon mode; never flatten tinted
   colors through the previous global grayscale filter or add a square backdrop. */
body.theme-managed[data-icon-style] .aster-adaptive-icon>svg{filter:none}
body.theme-managed[data-icon-style=dark] .aster-adaptive-icon{background:transparent;border-radius:0}
body.theme-managed[data-icon-style=tinted] .aster-adaptive-icon .art-plate,
body.theme-managed[data-icon-style=tinted] .aster-adaptive-icon .art-object{fill:var(--accent);stroke:var(--accent-text);stroke-width:.7}
body.theme-managed[data-icon-style=tinted] .aster-adaptive-icon :is(.art-fold,.art-accent-fill){fill:color-mix(in srgb,var(--accent) 55%,var(--accent-text))}
body.theme-managed[data-icon-style=tinted] .aster-adaptive-icon .art-depth{fill:color-mix(in srgb,var(--accent) 75%,#000)}
body.theme-managed[data-icon-style=tinted] .aster-adaptive-icon[data-icon-family=macos26] .art-plate{fill:color-mix(in srgb,var(--accent) 22%,var(--surface))}
body.theme-managed.theme-contrast .aster-adaptive-icon[data-icon-family] .art-plate{fill:var(--surface);stroke:var(--text);stroke-width:1.5}
