/* Aster 1.9.2 — component-level profile refinement. Original CSS and vector art.
 * Profile metrics remain user-editable. Content is not made glass indiscriminately.
 * See docs/visual-materials.md for reference targets and platform boundaries. */
.theme-managed{font-kerning:normal;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.theme-managed .window-title{font-size:13px;letter-spacing:0}
.theme-managed .statusbar{font-size:11px;min-height:26px}
.theme-managed .window.inactive .window-title{color:var(--muted)}
.theme-managed :is(button,a,input,select,textarea):focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.theme-managed .themed-app-icon{background:transparent;border:0;clip-path:none;border-radius:0;filter:drop-shadow(0 1px 1px #0002)}
.theme-managed .themed-app-icon>svg{width:100%;height:100%;overflow:visible}
.theme-managed[data-icon-style=tinted] .themed-app-icon>svg,.theme-managed[data-icon-style=clear] .themed-app-icon>svg{filter:grayscale(1)}
.theme-managed[data-icon-style=dark] .themed-app-icon{background:#22252a;border-radius:22%}
.theme-managed[data-icon-style=dark] .themed-app-icon>svg{filter:brightness(.85)}
/* WINDOWS — opaque Mica base, solid content, Acrylic only for transient surfaces. */
body.theme-managed[data-profile=windows]{--profile-control-radius:4px;--shadow:0 12px 32px #00000028,0 2px 6px #0000001a}
body.theme-managed[data-profile=windows][data-theme=dark]{--shadow:0 16px 42px #0008,0 2px 8px #0006}
.theme-managed[data-profile=windows] .window{outline:1px solid #00000028;border-color:#ffffffd9}
.theme-managed[data-profile=windows][data-theme=dark] .window{border-color:#ffffff21;outline-color:#0007}
.theme-managed[data-profile=windows] .window.inactive{border-color:var(--app-border);box-shadow:0 4px 12px #0002}
.theme-managed[data-profile=windows] .window>.titlebar{box-shadow:none}
.theme-managed[data-profile=windows] .window-title{padding-left:12px;gap:10px;font-size:12px}
.theme-managed[data-profile=windows] .window-title .app-icon{--icon-size:16px!important}
.theme-managed[data-profile=windows] .window-controls{gap:0;margin:0}
.theme-managed[data-profile=windows] .window-controls>button{width:46px}
.theme-managed[data-profile=windows] .window-controls svg{width:11px;height:11px;stroke-width:1.15}
.theme-managed[data-profile=windows] .window-controls>button:hover{background:var(--hover)}
.theme-managed[data-profile=windows] .window-controls>button:last-child:hover{background:#c42b1c;color:#fff}
.theme-managed[data-profile=windows] :is(.secondary,select,input:not([type=range]):not([type=checkbox]):not([type=color])){border-radius:4px}
.theme-managed[data-profile=windows] .primary{border-radius:4px;box-shadow:inset 0 1px #ffffff16,inset 0 -1px #0002}
.theme-managed[data-profile=windows] .secondary{box-shadow:inset 0 -1px #00000013}
.theme-managed[data-profile=windows] :is(.start-menu,.shell-surface,.context-menu,.task-preview,.snap-layouts){background:color-mix(in srgb,var(--shell-glass) 84%,transparent);backdrop-filter:blur(32px) saturate(1.3);border:1px solid var(--shell-border);outline:1px solid #ffffff30;box-shadow:var(--shadow)}
.theme-managed[data-profile=windows] .menu-item{font-size:13px;min-height:32px;padding:6px 11px;border-radius:4px;gap:11px}
.theme-managed[data-profile=windows] .menu-item:hover{background:var(--hover)}
.theme-managed[data-profile=windows] .context-menu{min-width:220px;padding:5px;border-radius:8px}
.theme-managed[data-profile=windows] #taskbar{background:color-mix(in srgb,var(--shell-glass) 84%,transparent);border-top:1px solid #ffffff70;box-shadow:0 -1px #00000009}
.theme-managed[data-profile=windows][data-shell-mode=dark] #taskbar{border-top-color:#ffffff14}
.theme-managed[data-profile=windows] .task-button{border-radius:4px;padding:7px;box-shadow:none}
.theme-managed[data-profile=windows] .task-button .app-icon{--icon-size:calc(var(--theme-icon-size) - 12px)!important}
.theme-managed[data-profile=windows] .task-button.running:after{height:3px;width:6px;left:calc(50% - 3px);background:var(--shell-muted);bottom:1px}
.theme-managed[data-profile=windows] .task-button.active{background:color-mix(in srgb,var(--shell-surface) 63%,transparent);box-shadow:0 1px 1px #0000000c}
.theme-managed[data-profile=windows] .task-button.active:after{width:16px;left:calc(50% - 8px);background:var(--accent)}
.theme-managed[data-profile=windows] .task-search{width:168px;border-radius:18px;margin:0 3px;height:32px;box-shadow:inset 0 -1px #0002;border:1px solid var(--shell-border);color:var(--shell-text)}
.theme-managed[data-profile=windows] .task-search span{font-size:13px}
.theme-managed[data-profile=windows] .tray-clock{font-size:12px;line-height:16px;font-variant-numeric:tabular-nums}
.theme-managed[data-profile=windows] .start-menu{width:640px;height:688px;border-radius:8px}
.theme-managed[data-profile=windows] .start-search .search-field{border:1px solid #00000010;border-bottom:2px solid var(--accent);height:34px;border-radius:5px}
.theme-managed[data-profile=windows] .pinned-app{font-size:12px;height:83px;line-height:16px;gap:7px}
.theme-managed[data-profile=windows] .pinned-app .app-icon{--icon-size:34px!important}
.theme-managed[data-profile=windows] .start-footer{background:color-mix(in srgb,var(--shell-mica) 75%,transparent);border-top:1px solid var(--shell-border)}
.theme-managed[data-profile=windows] .explorer-tabs{min-height:36px;height:36px;padding-left:10px}
.theme-managed[data-profile=windows] .explorer-commandbar{height:50px;padding:7px 16px;background:var(--surface2);border-bottom:1px solid var(--border)}
.theme-managed[data-profile=windows] .explorer-nav{background:var(--surface2);padding:8px 12px}
.theme-managed[data-profile=windows] .explorer-sidebar{background:var(--surface2)}
.theme-managed[data-profile=windows] .explorer-sidebar .nav-item{height:34px;font-size:13px;padding:7px 12px}
.theme-managed[data-profile=windows] .explorer-main{background:var(--surface);padding:14px 20px}
.theme-managed[data-profile=windows] .file-row td{height:36px;padding:5px 8px}
.theme-managed[data-profile=windows] .file-table .app-icon{--icon-size:23px!important}
.theme-managed[data-profile=windows] .settings-main{background:var(--surface2);border-radius:8px 0 0 0}
.theme-managed[data-profile=windows] .setting-row{background:var(--surface);border:1px solid var(--border);border-radius:4px;min-height:65px;margin-bottom:4px}
/* macOS 26 — navigation floats above solid content, concentric corners and subdued chrome. */
body.theme-managed[data-profile=macos26]{--profile-control-radius:8px;--shadow:0 22px 55px #00000033,0 3px 12px #0002}
body.theme-managed[data-profile=macos26][data-theme=dark]{--shadow:0 22px 65px #0008,0 2px 10px #0007}
.theme-managed[data-profile=macos26] .window{border:var(--theme-border-width) solid #ffffff7a;outline:1px solid #0000003d;box-shadow:var(--shadow);background:transparent}
.theme-managed[data-profile=macos26][data-theme=dark] .window{border-color:#ffffff2c;outline-color:#0009}
.theme-managed[data-profile=macos26] .window.inactive{box-shadow:0 7px 24px #0003;border-color:var(--app-border)}
.theme-managed[data-profile=macos26] .window>.titlebar{background:color-mix(in srgb,var(--app-glass) 60%,transparent);border:0;box-shadow:inset 0 -1px #00000012}
.theme-managed[data-profile=macos26] .window-title{padding:0 105px;justify-content:center;font-size:13px;font-weight:650}
.theme-managed[data-profile=macos26] .window-controls{left:17px;gap:8px}
.theme-managed[data-profile=macos26] .window-controls>button{width:12px;height:12px;min-width:12px;border:1px solid #0000001c;box-shadow:inset 0 1px #ffffff25}
.theme-managed[data-profile=macos26] .window-controls>button:first-child{background:#ffbd2e}
.theme-managed[data-profile=macos26] .window-controls>button:nth-child(2){background:#28c840}
.theme-managed[data-profile=macos26] .window-controls>button:last-child{background:#ff5f57}
.theme-managed[data-profile=macos26] .window-controls>button:focus-visible{outline-offset:4px}
.theme-managed[data-profile=macos26] .window-controls svg{width:8px;height:8px;stroke-width:2}
.theme-managed[data-profile=macos26] .window.inactive .window-controls:not(:hover):not(:focus-within)>button{background:#b5b4b8}
.theme-managed[data-profile=macos26][data-theme=dark] .window.inactive .window-controls:not(:hover):not(:focus-within)>button{background:#615e65}
.theme-managed[data-profile=macos26] #theme-topbar{background:color-mix(in srgb,var(--shell-glass) 18%,transparent);border:0;backdrop-filter:blur(12px) saturate(1.4);font-size:13px;padding:0 14px;box-shadow:none}
.theme-managed[data-profile=macos26] .theme-active-app{font-size:13px;font-weight:700;max-width:200px}
.theme-managed[data-profile=macos26] .theme-global-menus>button{font-size:13px;padding:2px 10px;height:25px;border-radius:5px}
.theme-managed[data-profile=macos26] #theme-topbar .tray-clock{font-size:12px;letter-spacing:.1px;white-space:nowrap}
.theme-managed[data-profile=macos26] #theme-topbar .tray-status{padding:4px 9px;gap:9px}
.theme-managed[data-profile=macos26] #taskbar{border-radius:24px;border:1px solid #ffffff91;box-shadow:inset 0 1px 1px #ffffff94,inset 0 -1px 1px #00000018,0 9px 25px #00000030;padding:6px 9px;overflow:visible}
.theme-managed[data-profile=macos26] #taskbar .task-center{overflow:visible;gap:4px}
.theme-managed[data-profile=macos26] #taskbar .task-button{padding:3px;border-radius:13px;background:transparent;box-shadow:none;translate:0 0}
.theme-managed[data-profile=macos26] #taskbar .task-button .app-icon{--icon-size:calc(var(--theme-icon-size) - 6px)!important;transform:translateY(var(--dock-lift,0px)) scale(var(--dock-scale,1));transform-origin:50% 100%;transition:transform 140ms cubic-bezier(.2,.7,.25,1);filter:drop-shadow(0 2px 2px #0004)}
.theme-managed[data-profile=macos26][data-dock-side=true] #taskbar .task-button .app-icon{transform:scale(var(--dock-scale,1));transform-origin:center}
.theme-managed[data-profile=macos26] #taskbar .task-button:hover{background:#ffffff18}
.theme-managed[data-profile=macos26] #taskbar .task-button.running:after{height:4px;width:4px!important;left:calc(50% - 2px);bottom:-4px;background:var(--shell-text);opacity:.75}
.theme-managed[data-profile=macos26] #taskbar .task-search{border:0;border-radius:13px}
.theme-managed[data-profile=macos26] #taskbar [aria-label="Task View"]{margin-right:7px}
.theme-managed[data-profile=macos26] #taskbar [aria-label="Task View"]:before{content:'';position:absolute;right:-5px;top:7px;bottom:7px;width:1px;background:#00000022}
.theme-managed[data-profile=macos26] .context-menu{border-radius:12px;padding:5px;min-width:224px}
.theme-managed[data-profile=macos26] .menu-item{height:26px;min-height:26px;border-radius:6px;font-size:13px;padding:4px 9px;gap:9px}
.theme-managed[data-profile=macos26] .menu-item:hover{background:var(--accent);color:var(--accent-text)}
.theme-managed[data-profile=macos26] .menu-item:hover kbd{color:inherit}
.theme-managed[data-profile=macos26] .menu-separator{margin:5px 9px}
.theme-managed[data-profile=macos26] :is(.start-menu,.clipboard-flyout,.quick-integrated,.notifications-integrated,.widgets-flyout){border-radius:24px}
.theme-managed[data-profile=macos26] .start-menu{width:670px}
.theme-managed[data-profile=macos26] .start-search{padding:22px 24px 12px}
.theme-managed[data-profile=macos26] .start-search .search-field{height:39px;border:1px solid #00000017;border-radius:12px;box-shadow:inset 0 1px 2px #0000000b;background:color-mix(in srgb,var(--shell-surface) 65%,transparent)}
.theme-managed[data-profile=macos26] .start-search input{font-size:15px}
.theme-managed[data-profile=macos26] .start-footer{background:color-mix(in srgb,var(--shell-surface) 25%,transparent);border-top:1px solid var(--border)}
.theme-managed[data-profile=macos26] .pinned-app{height:84px;border-radius:12px;font-size:12px}
.theme-managed[data-profile=macos26] .pinned-app .app-icon{--icon-size:40px!important}
.theme-managed[data-profile=macos26] .search-result{border-radius:9px}
.theme-managed[data-profile=macos26] .dialog{border-radius:18px;outline:1px solid #0003;border:1px solid #ffffff80}
.theme-managed[data-profile=macos26] .dialog-actions{padding:16px 20px;background:color-mix(in srgb,var(--surface2) 50%,transparent);border-top:0}
.theme-managed[data-profile=macos26] :is(.secondary,.primary){min-height:26px;border-radius:7px;padding:5px 13px;font-size:13px}
.theme-managed[data-profile=macos26] .secondary{background:var(--surface);border:1px solid #0000000c;box-shadow:0 1px 2px #00000021}
.theme-managed[data-profile=macos26] .primary{box-shadow:inset 0 1px #ffffff3b,inset 0 -1px #0002;background:linear-gradient(180deg,color-mix(in srgb,var(--accent) 88%,white),var(--accent))}
.theme-managed[data-profile=macos26] :is(input:not([type=range]):not([type=checkbox]):not([type=color]),select){border-radius:7px;border-color:var(--border);box-shadow:inset 0 1px 2px #0000000d}
.theme-managed[data-profile=macos26] .window[data-app=files]>.window-body,.theme-managed[data-profile=macos26] .window[data-app=settings]>.window-body,.theme-managed[data-profile=macos26] .settings-layout{background:transparent}
.theme-managed[data-profile=macos26] .explorer-tabs{min-height:32px;height:32px;padding:0 10px;background:color-mix(in srgb,var(--app-glass) 86%,transparent)}
.theme-managed[data-profile=macos26] .explorer-tabs:has(.explorer-tab-slot:only-of-type){display:none}
.theme-managed[data-profile=macos26] .explorer-tab-slot{flex:1;max-width:none;border-radius:6px 6px 0 0;background:var(--hover)}
.theme-managed[data-profile=macos26] .explorer-tab{flex:1;width:auto;max-width:none;height:28px;font-size:12px;justify-content:center}
.theme-managed[data-profile=macos26] .explorer-commandbar{height:40px;min-height:40px;padding:3px 12px;background:color-mix(in srgb,var(--app-glass) 92%,transparent);border:0;gap:3px}
.theme-managed[data-profile=macos26] .explorer-commandbar button{height:28px;border-radius:6px;font-size:12px}
.theme-managed[data-profile=macos26] .explorer-nav{padding:5px 10px;gap:3px;background:color-mix(in srgb,var(--app-glass) 92%,transparent);border-bottom:1px solid var(--border)}
.theme-managed[data-profile=macos26] .explorer-nav :is(.path-bar,.folder-search){height:28px;border-radius:7px;font-size:12px;background:color-mix(in srgb,var(--surface) 65%,transparent)}
.theme-managed[data-profile=macos26] .explorer-layout{background:transparent;gap:0}
.theme-managed[data-profile=macos26] .explorer-sidebar{width:196px;flex:none;background:color-mix(in srgb,var(--app-glass) 65%,transparent);border:0;padding:10px 8px;margin:6px;border-radius:12px}
.theme-managed[data-profile=macos26] .explorer-sidebar .nav-item{height:30px;min-height:30px;padding:6px 10px;font-size:13px;border-radius:6px;gap:9px;margin:1px 0}
.theme-managed[data-profile=macos26] .explorer-sidebar .nav-item .icon{color:var(--muted);width:16px;height:16px}
.theme-managed[data-profile=macos26] :is(.explorer-sidebar,.settings-sidebar) .nav-item.active{background:var(--accent);color:var(--accent-text)}
.theme-managed[data-profile=macos26] :is(.explorer-sidebar,.settings-sidebar) .nav-item.active .icon{color:inherit}
.theme-managed[data-profile=macos26] :is(.explorer-sidebar,.settings-sidebar) .nav-item.active:before{display:none}
.theme-managed[data-profile=macos26] .explorer-main{background:var(--surface);padding:8px 12px;border-radius:10px 0 0 0}
.theme-managed[data-profile=macos26] .file-table{border-collapse:separate;border-spacing:0;font-size:12px}
.theme-managed[data-profile=macos26] .file-table th{height:28px;padding:5px 8px;font-size:11px;background:var(--surface2);font-weight:500}
.theme-managed[data-profile=macos26] .file-row td{height:28px;padding:3px 8px;border:0}
.theme-managed[data-profile=macos26] .file-row:nth-child(even){background:var(--surface2)}
.theme-managed[data-profile=macos26] .file-row td:first-child{border-radius:5px 0 0 5px}.theme-managed[data-profile=macos26] .file-row td:last-child{border-radius:0 5px 5px 0}
.theme-managed[data-profile=macos26] .file-row.selected{background:var(--selection);color:var(--selection-text)}
.theme-managed[data-profile=macos26] .file-row.selected td{color:inherit}
.theme-managed[data-profile=macos26] .file-table .app-icon{--icon-size:19px!important}
.theme-managed[data-profile=macos26] .explorer-details{background:var(--surface);border-color:var(--border)}
.theme-managed[data-profile=macos26] .statusbar{background:var(--surface2);border-top:1px solid var(--border);min-height:26px;font-size:11px}
.theme-managed[data-profile=macos26] .settings-sidebar{width:224px;margin:6px;padding:14px 8px;border-radius:12px}
.theme-managed[data-profile=macos26] .settings-sidebar .nav-item{height:32px;margin:1px 0;border-radius:7px;padding:6px 10px;font-size:13px}
.theme-managed[data-profile=macos26] .settings-main{margin:0;border:0;border-radius:10px 0 0 0;padding:23px 26px;background:var(--surface2)}
.theme-managed[data-profile=macos26] .settings-breadcrumb h1{font-size:22px;letter-spacing:-.4px}
.theme-managed[data-profile=macos26] .setting-row{border:1px solid var(--border);border-radius:10px;background:var(--surface);padding:14px;min-height:60px;margin-bottom:8px}
.theme-managed[data-profile=macos26] .setting-label strong{font-size:13px;font-weight:500}
.theme-managed[data-profile=macos26] .setting-label small{font-size:11px}
/* True backdrop lens. DOM text and app canvases are NOT fed into the filter.
   Rich-content Dock uses clear; text-heavy menus use the legible regular recipe. */
.theme-managed[data-profile=macos26] .liquid-surface{--light-x:20%;--light-y:0%;position:relative;background:color-mix(in srgb,var(--shell-glass) 68%,transparent);backdrop-filter:var(--optical-filter,blur(18px) saturate(1.4));-webkit-backdrop-filter:var(--optical-filter,blur(18px) saturate(1.4))}
.theme-managed[data-profile=macos26] .window .liquid-surface{background:color-mix(in srgb,var(--app-glass) 72%,transparent)}
.theme-managed[data-profile=macos26] .liquid-surface[data-material=clear]{background:color-mix(in srgb,var(--shell-glass) 28%,transparent)}
.theme-managed[data-profile=macos26][data-glass=tinted] .liquid-surface{background:color-mix(in srgb,var(--shell-glass) 88%,transparent)}
.theme-managed[data-profile=macos26][data-glass=tinted] .window .liquid-surface{background:color-mix(in srgb,var(--app-glass) 88%,transparent)}
.theme-managed[data-profile=macos26] .liquid-surface::before{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:radial-gradient(ellipse 220px 120px at var(--light-x) var(--light-y),#ffffff24,transparent 75%),linear-gradient(150deg,#ffffff17,transparent 32%,transparent 72%,#ffffff13);z-index:0}
.theme-managed[data-profile=macos26] .liquid-surface::after{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;box-shadow:inset 0 1px 1px #ffffff9c,inset 1px 0 1px #ffffff35,inset -1px -1px 1px #0000001c;z-index:0}
.theme-managed[data-profile=macos26] .liquid-surface> :not(.window-controls){z-index:1}
/* Existing shell surfaces are fixed-position; never change their containing block. */
.theme-managed[data-profile=macos26] :is(#taskbar,.panel,.context-menu,.task-preview,.snap-layouts).liquid-surface{position:fixed}
.theme-managed[data-profile=macos26] .window.inactive .liquid-surface{background:color-mix(in srgb,var(--app-mica) 93%,transparent)}
.theme-managed[data-profile=macos26] .window.inactive .liquid-surface::before{opacity:.25}
/* Ubuntu / Yaru — solid GNOME surfaces, an opaque panel, restrained orange accents. */
body.theme-managed[data-profile=ubuntu]{--shadow:0 12px 28px #0004,0 2px 8px #0003;--profile-control-radius:8px}
.theme-managed[data-profile=ubuntu] .window{outline:1px solid #00000044;border:var(--theme-border-width) solid #ffffff46;box-shadow:var(--shadow)}
.theme-managed[data-profile=ubuntu][data-theme=dark] .window{border-color:#ffffff16;outline-color:#0009}
.theme-managed[data-profile=ubuntu] .window>.titlebar{border:0;box-shadow:inset 0 -1px #0000001a}
.theme-managed[data-profile=ubuntu] .window-title{justify-content:center;padding:0 112px;min-height:100%;font-size:14px;font-weight:700}
.theme-managed[data-profile=ubuntu] .window-title .app-icon{display:none}
.theme-managed[data-profile=ubuntu] .window-controls{position:absolute;right:0;top:0;height:var(--theme-title-height);gap:6px;padding:0 10px}
.theme-managed[data-profile=ubuntu] .window-controls>button{height:24px;width:24px;min-width:24px;padding:5px}
.theme-managed[data-profile=ubuntu] .window-controls>button:last-child{background:color-mix(in srgb,var(--text) 12%,var(--mica))}
.theme-managed[data-profile=ubuntu] .window-controls>button:last-child:hover{background:color-mix(in srgb,var(--text) 20%,var(--mica));color:var(--text)}
.theme-managed[data-profile=ubuntu] .window-controls svg{width:12px;height:12px;stroke-width:2}
.theme-managed[data-profile=ubuntu] #theme-topbar{background:#1e1e1e;box-shadow:none;border:0;font-size:13px}
.theme-managed[data-profile=ubuntu] #theme-topbar .theme-center-clock{font-size:13px;letter-spacing:.1px;white-space:nowrap}
.theme-managed[data-profile=ubuntu] #theme-topbar button:hover{background:#ffffff27}
.theme-managed[data-profile=ubuntu] #taskbar{backdrop-filter:none;background:#25232be8;box-shadow:none;border:0;padding:8px 6px}
.theme-managed[data-profile=ubuntu] #taskbar .task-center{gap:7px}
.theme-managed[data-profile=ubuntu] #taskbar .task-button{border-radius:9px;padding:4px}
.theme-managed[data-profile=ubuntu] #taskbar .task-button .app-icon{--icon-size:calc(var(--theme-icon-size) - 6px)!important}
.theme-managed[data-profile=ubuntu] #taskbar .task-button:hover{background:#ffffff19}
.theme-managed[data-profile=ubuntu] #taskbar .task-button.active{background:#ffffff23}
.theme-managed[data-profile=ubuntu][data-dock-side=true] #taskbar .task-button.running:after{width:3px!important;height:5px;left:-4px;top:calc(50% - 2px);bottom:auto;background:var(--accent);border-radius:4px}
.theme-managed[data-profile=ubuntu][data-dock-side=true] #taskbar .task-button.active:after{height:16px;top:calc(50% - 8px)}
.theme-managed[data-profile=ubuntu] #taskbar #start-button{border:0;border-radius:10px}
.theme-managed[data-profile=ubuntu] #start-button .aster-symbol{clip-path:none;background:none;color:#f5f5f5;width:26px!important;height:26px!important;display:grid;place-items:center}
.theme-managed[data-profile=ubuntu] :is(.start-menu,.shell-surface,.context-menu,.task-preview,.snap-layouts){background:#353535;border:1px solid #ffffff13;outline:1px solid #00000040;backdrop-filter:none;color:#fff;border-radius:16px;box-shadow:0 10px 28px #0006}
.theme-managed[data-profile=ubuntu] :is(.quick-integrated,.notifications-integrated){border-radius:22px;right:10px}
.theme-managed[data-profile=ubuntu] .context-menu{padding:6px;border-radius:12px;min-width:222px}
.theme-managed[data-profile=ubuntu] .menu-item{min-height:34px;padding:7px 12px;font-size:13px;border-radius:7px}
.theme-managed[data-profile=ubuntu] .menu-item:hover{background:#ffffff20;color:#fff}
.theme-managed[data-profile=ubuntu] .start-menu{width:720px;border-radius:20px;background:#2e2e2ef8}
.theme-managed[data-profile=ubuntu] .start-search .search-field{height:40px;border-radius:20px;background:#484848;border:1px solid #ffffff29;color:white}
.theme-managed[data-profile=ubuntu] .start-search .search-field:focus-within{outline:2px solid var(--accent);outline-offset:1px}
.theme-managed[data-profile=ubuntu] .pinned-app{border-radius:12px;height:91px;font-size:12px;gap:10px}
.theme-managed[data-profile=ubuntu] .pinned-app .app-icon{--icon-size:42px!important}
.theme-managed[data-profile=ubuntu] .start-footer{border-top:1px solid #ffffff12;background:#23232380}
.theme-managed[data-profile=ubuntu] :is(.primary,.secondary){min-height:32px;border-radius:7px;padding:7px 13px;font-size:13px;box-shadow:none}
.theme-managed[data-profile=ubuntu] .secondary{background:var(--surface3);border:1px solid var(--border)}
.theme-managed[data-profile=ubuntu] :is(input:not([type=range]):not([type=checkbox]):not([type=color]),select){border-radius:7px;box-shadow:inset 0 1px 2px #0000000c}
.theme-managed[data-profile=ubuntu] .dialog{border-radius:14px;border:1px solid var(--border);outline:1px solid #0004}
.theme-managed[data-profile=ubuntu] .dialog-actions{background:var(--mica)}
.theme-managed[data-profile=ubuntu] .explorer-tabs:has(.explorer-tab-slot:only-of-type){display:none}
.theme-managed[data-profile=ubuntu] .explorer-commandbar{height:43px;background:var(--mica);border:0;padding:5px 10px}
.theme-managed[data-profile=ubuntu] .explorer-commandbar button{border-radius:6px;height:30px}
.theme-managed[data-profile=ubuntu] .explorer-nav{padding:6px 10px;background:var(--mica);border-bottom:1px solid var(--border)}
.theme-managed[data-profile=ubuntu] .explorer-sidebar{width:200px;padding:10px 8px;background:var(--surface2);border-right:1px solid var(--border)}
.theme-managed[data-profile=ubuntu] .explorer-sidebar .nav-item{height:38px;border-radius:6px;font-size:13px;margin:2px 0;padding:8px 12px}
.theme-managed[data-profile=ubuntu] .explorer-sidebar .nav-item .icon{color:var(--muted);stroke-width:1.9}
.theme-managed[data-profile=ubuntu] :is(.explorer-sidebar,.settings-sidebar) .nav-item.active{background:color-mix(in srgb,var(--accent) 18%,var(--surface2));color:var(--text)}
.theme-managed[data-profile=ubuntu] :is(.explorer-sidebar,.settings-sidebar) .nav-item.active:before{display:none}
.theme-managed[data-profile=ubuntu] .explorer-main{background:var(--surface);padding:12px 16px}
.theme-managed[data-profile=ubuntu] .file-row td{height:39px;padding:6px 8px}
.theme-managed[data-profile=ubuntu] .file-table .app-icon{--icon-size:24px!important}
.theme-managed[data-profile=ubuntu] .explorer-details{background:var(--surface2)}
.theme-managed[data-profile=ubuntu] .settings-sidebar{width:236px;padding:14px 8px;background:var(--surface2);border-right:1px solid var(--border)}
.theme-managed[data-profile=ubuntu] .settings-main{margin:0;border:0;border-radius:0;padding:24px 30px;background:var(--surface)}
.theme-managed[data-profile=ubuntu] .settings-breadcrumb h1{font-size:24px;letter-spacing:-.2px}
.theme-managed[data-profile=ubuntu] .setting-row{border:1px solid var(--border);border-radius:12px;background:var(--surface2);margin-bottom:8px;min-height:68px;box-shadow:0 1px 2px #00000009}
.theme-managed[data-profile=ubuntu] .settings-sidebar .nav-item{font-weight:500;border-radius:8px}
.theme-managed[data-profile=ubuntu] .integrated-task-view{background:#262329f5;backdrop-filter:none}
.theme-managed[data-profile=ubuntu] .taskview-window-card{border-radius:14px}
/* Native-feeling binary switches only on Settings rows; ordinary checkboxes keep
   their normal semantics. Both keyboard focus and disabled state stay visible. */
.theme-managed .setting-row>input[type=checkbox]{appearance:none;width:40px;height:22px;min-width:40px;border:1px solid var(--muted);border-radius:12px;padding:0;position:relative;background:var(--surface3);cursor:pointer;box-shadow:none}
.theme-managed .setting-row>input[type=checkbox]::before{content:'';position:absolute;width:12px;height:12px;left:4px;top:4px;border-radius:50%;background:var(--muted);transition:translate .16s ease,background .16s ease}
.theme-managed .setting-row>input[type=checkbox]:checked{background:var(--accent);border-color:var(--accent)}
.theme-managed .setting-row>input[type=checkbox]:checked::before{background:var(--accent-text);translate:18px 0}
.theme-managed .setting-row>input[type=checkbox]:disabled{opacity:.45}
.theme-managed[data-profile=macos26] .setting-row>input[type=checkbox]{width:36px;min-width:36px;height:21px;border:0;background:#b8b8bc}
.theme-managed[data-profile=macos26] .setting-row>input[type=checkbox]::before{width:17px;height:17px;left:2px;top:2px;background:#fff;box-shadow:0 1px 3px #0003}
.theme-managed[data-profile=macos26] .setting-row>input[type=checkbox]:checked::before{translate:15px 0;background:#fff}
.theme-managed[data-profile=macos26] .setting-row>input[type=checkbox]:checked{background:var(--accent)}
.theme-managed[data-profile=ubuntu] .setting-row>input[type=checkbox]{width:45px;min-width:45px;height:26px;border:0;background:#b3b3b3}
.theme-managed[data-profile=ubuntu] .setting-row>input[type=checkbox]::before{width:20px;height:20px;left:3px;top:3px;background:white;box-shadow:0 1px 3px #0003}
.theme-managed[data-profile=ubuntu] .setting-row>input[type=checkbox]:checked::before{translate:19px 0}
.theme-managed[data-profile=ubuntu] .setting-row>input[type=checkbox]:checked{background:var(--accent)}
/* Compact hosts stay compact under every profile. No iframe content is styled. */
.theme-managed .window.web-app-compact>.titlebar[hidden]{display:none!important}
.theme-managed .window.maximized{border:0;border-radius:0;outline:0}
.theme-managed[data-profile=macos26] .window.maximized>.titlebar{border-radius:0}
/* Accessibility is last and authoritative, including host OS preferences. */
.theme-managed:is(.no-transparency,.theme-contrast,.material-solid) :is(.liquid-surface,#taskbar,#theme-topbar,.flyout){backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:var(--surface2)!important}
.theme-managed:is(.no-transparency,.theme-contrast,.material-solid) .window{background:var(--app-mica)!important}
.theme-managed:is(.no-transparency,.theme-contrast,.material-solid) .liquid-surface::before,.theme-managed:is(.no-transparency,.theme-contrast,.material-solid) .liquid-surface::after{display:none}
.theme-managed.theme-contrast :is(.titlebar,.menu-item,.setting-row,.settings-main,.explorer-main,.explorer-sidebar,.settings-sidebar){background:var(--surface)!important;color:var(--text)!important}
.theme-managed.theme-contrast .themed-app-icon{outline:1px solid currentColor;background:var(--surface)!important;filter:none}
.theme-managed.theme-contrast .window-controls>button{border:1px solid var(--text)!important;background:var(--surface)!important;color:var(--text)!important}
.theme-managed.theme-contrast .setting-row>input[type=checkbox]{border:1px solid currentColor}
.material-reduced-motion .app-icon{--dock-scale:1!important;--dock-lift:0px!important}
.material-reduced-motion .liquid-surface::before{background:linear-gradient(150deg,#ffffff17,transparent 35%)}
.theme-managed.material-contrast .liquid-surface{background:color-mix(in srgb,var(--surface) 94%,transparent)!important;border:1px solid currentColor!important}
@media(prefers-reduced-motion:reduce){.theme-managed *{animation:none!important;transition:none!important}.theme-managed .app-icon{transform:none!important}}
@media(forced-colors:active){.theme-managed :is(.liquid-surface,#taskbar,#theme-topbar,.flyout,.titlebar){background:Canvas!important;color:CanvasText!important;backdrop-filter:none!important;box-shadow:none!important}.themed-app-icon{forced-color-adjust:none}.theme-managed .setting-row>input[type=checkbox]{appearance:auto}.theme-managed .setting-row>input[type=checkbox]::before{display:none}}
@media(max-width:760px){.theme-managed[data-profile=macos26] #taskbar .task-center{gap:2px}.theme-managed[data-profile=macos26] #taskbar{max-width:calc(100vw - 14px);padding:5px}.theme-managed[data-profile=macos26] .explorer-sidebar,.theme-managed[data-profile=ubuntu] .explorer-sidebar{width:145px}.theme-managed[data-profile=macos26] .settings-sidebar,.theme-managed[data-profile=ubuntu] .settings-sidebar{width:180px}}
@media(max-width:540px){.theme-managed[data-profile=macos26] .settings-sidebar,.theme-managed[data-profile=ubuntu] .settings-sidebar{width:52px;min-width:52px;margin:0;padding:8px 4px}.theme-managed[data-profile=macos26] .explorer-sidebar,.theme-managed[data-profile=ubuntu] .explorer-sidebar{width:106px;min-width:106px;padding:8px 3px;margin:0;border-radius:0}.theme-managed[data-profile=macos26] .explorer-sidebar .nav-item,.theme-managed[data-profile=ubuntu] .explorer-sidebar .nav-item{font-size:10px;padding:6px;gap:5px}.theme-managed .window-title{padding-left:9px;padding-right:9px}.theme-managed[data-profile=macos26] .window-title{padding:0 83px;font-size:11px}.theme-managed[data-profile=ubuntu] .window-title{padding:0 92px;font-size:11px}.theme-managed:not([data-profile=windows]) .settings-main{padding:15px 12px}.theme-managed .start-menu{width:calc(100vw - 16px)}.theme-managed #taskbar .task-center{gap:1px}.theme-managed:not([data-profile=windows]) #taskbar .task-button{width:40px;min-width:40px}.theme-managed:not([data-profile=windows]) #taskbar .task-button .app-icon{--icon-size:34px!important}.theme-managed .pinned-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.theme-managed:not([data-profile=windows]) #theme-topbar .theme-active-app{max-width:100px}.theme-managed:not([data-profile=windows]) #theme-topbar .tray-clock{font-size:10px}.theme-managed[data-profile=macos26] #theme-topbar .theme-top-tools>[aria-label="Open your day widgets"]{display:none}}
/* Platform bars expose Search/Overview in the real top panel rather than duplicate
   Windows task buttons in their docks. Applications is last, separated on macOS. */
.theme-managed:not([data-profile=windows]) #taskbar :is(.task-search,[aria-label="Task View"]){display:none}
.theme-managed[data-profile=macos26] #taskbar #start-button{margin-left:10px;position:relative}
.theme-managed[data-profile=macos26] #taskbar #start-button:before{content:'';position:absolute;left:-6px;top:7px;bottom:7px;width:1px;background:#00000024}
.theme-managed[data-profile=macos26][data-dock-side=true] #taskbar #start-button{margin:10px 0 0}
.theme-managed[data-profile=macos26][data-dock-side=true] #taskbar #start-button:before{top:-6px;left:7px;right:7px;bottom:auto;width:auto;height:1px}
.theme-managed[data-profile=macos26] .window{background:color-mix(in srgb,var(--app-glass) 25%,transparent)}
.gpu-active.theme-managed .window.gpu-surface-ready{box-shadow:none}
.theme-managed[data-profile=macos26] :is(.primary,.secondary,.menu-bar>button,.theme-global-menus>button):active{filter:brightness(.94)}
.theme-managed[data-profile=windows] .start-search .search-field{border-radius:16px}
.theme-managed[data-profile=ubuntu] :is(.notification-stack,.calendar-surface,.quick-bottom,.calendar-focus){background:#353535}
.theme-managed[data-profile=ubuntu] .quick-tile>span{border-radius:22px;background:#505050;border:0}
.theme-managed[data-profile=ubuntu] .quick-tile[aria-pressed=true]>span{background:var(--accent)}
.theme-managed[data-profile=ubuntu] .quick-tile>label{font-size:12px}
.theme-managed[data-profile=macos26] :is(.notification-stack,.calendar-surface){background:transparent;border:0;box-shadow:none}
.theme-managed[data-profile=macos26] .quick-tile>span{border-radius:15px;border:1px solid #ffffff30;background:color-mix(in srgb,var(--shell-surface) 66%,transparent);box-shadow:0 1px 3px #00000014}
.theme-managed[data-profile=macos26] .quick-tile[aria-pressed=true]>span{background:var(--accent)}
.theme-managed[data-profile=macos26] .quick-bottom{background:color-mix(in srgb,var(--shell-surface) 22%,transparent)}
.theme-managed[data-profile=ubuntu] .integrated-task-view{background:#262329f5!important;backdrop-filter:none!important}
.theme-managed:is(.theme-contrast,.material-solid) :is(.notification-stack,.calendar-surface,.quick-bottom,.calendar-focus){background:var(--surface2)!important}
/* File Explorer tabs occupy the Windows caption strip, not a duplicate title row.
   Nodes remain in the original tablist and preserve keyboard handlers/state. */
.theme-managed[data-profile=windows] .window[data-app=files]>.titlebar{height:max(40px,var(--theme-title-height));min-height:max(40px,var(--theme-title-height))}
.theme-managed[data-profile=windows] .window[data-app=files]>.titlebar .window-title{visibility:hidden}
.theme-managed[data-profile=windows] .window[data-app=files]>.titlebar .window-controls{z-index:4;margin-left:auto}
.theme-managed[data-profile=windows] .window[data-app=files]>.window-body{position:static;overflow:visible}
.theme-managed[data-profile=windows] .window[data-app=files] .explorer-tabs{position:absolute;top:0;left:8px;right:146px;width:auto;height:max(40px,var(--theme-title-height));min-height:40px;max-height:none;padding:7px 0 0;border:0;background:transparent;z-index:3}
.theme-managed[data-profile=windows] .window[data-app=files] .explorer-layout{overflow:hidden}
.theme-managed[data-profile=windows] .window[data-app=files] .explorer-tab-slot{max-width:240px;flex:1;min-width:60px;border-radius:8px 8px 0 0}
.theme-managed[data-profile=windows] .window[data-app=files] .explorer-tab{max-width:none;min-width:0;flex:1}
.theme-managed[data-profile=windows] .window[data-app=files] .explorer-tab-slot:has(.active){background:var(--surface2);border-color:var(--border)}
.theme-managed[data-profile=windows] .window[data-app=files]>.window-body>.statusbar{border-radius:0 0 var(--theme-radius) var(--theme-radius)}
.theme-managed[data-profile=macos26]:not(.theme-contrast) :is(.explorer-sidebar,.settings-sidebar) .nav-item.active{background:color-mix(in srgb,var(--accent) 86%,#000);color:#fff}
.theme-managed[data-profile=macos26]:not(.theme-contrast) :is(.explorer-sidebar,.settings-sidebar) .nav-item.active .icon{color:#fff}
@media(max-width:540px){.theme-managed[data-profile=windows] .window[data-app=files] .explorer-tabs{right:122px;left:5px}.theme-managed[data-profile=windows] .window[data-app=files]>.titlebar .window-controls>button{width:40px}}
/* The Dock's existing ID-level blur rule must not override the live optical
   filter. Keep the specificity explicit rather than globally forcing filters. */
.theme-managed[data-profile=macos26] #taskbar.liquid-surface{backdrop-filter:var(--optical-filter,blur(18px) saturate(1.4));-webkit-backdrop-filter:var(--optical-filter,blur(18px) saturate(1.4));background:color-mix(in srgb,var(--shell-glass) 68%,transparent)}
.theme-managed[data-profile=macos26] #taskbar.liquid-surface[data-material=clear]{background:color-mix(in srgb,var(--shell-glass) 28%,transparent)}
.theme-managed[data-profile=macos26][data-glass=tinted] #taskbar.liquid-surface{background:color-mix(in srgb,var(--shell-glass) 88%,transparent)}
