/* Compact mobile chrome and stable keyboard geometry. */
html{height:100%;background:#000;overscroll-behavior:none;touch-action:manipulation}
.desktop-ready body{height:var(--desk-height,100dvh);min-height:0;background-color:var(--wall-color,#000);overflow:hidden;overscroll-behavior:none}
.desktop-ready .desktop-dock{height:auto;bottom:var(--taskbar-height,44px)!important;overflow:hidden;touch-action:pinch-zoom}
.desktop-ready .window-resize{position:absolute!important;z-index:30;touch-action:none!important;user-select:none}
.desktop-ready .window-resize.resize-n{top:-3px;left:18px;right:18px;height:9px;cursor:n-resize}
.desktop-ready .window-resize.resize-s{bottom:-3px;left:18px;right:18px;height:9px;cursor:s-resize}
.desktop-ready .window-resize.resize-e{right:-3px;top:18px;bottom:18px;width:9px;cursor:e-resize}
.desktop-ready .window-resize.resize-w{left:-3px;top:18px;bottom:18px;width:9px;cursor:w-resize}
.desktop-ready .resize-ne,.desktop-ready .resize-nw,.desktop-ready .resize-se,.desktop-ready .resize-sw{width:18px;height:18px}
.desktop-ready .resize-ne{right:-3px;top:-3px;cursor:ne-resize}.desktop-ready .resize-nw{left:-3px;top:-3px;cursor:nw-resize}
.desktop-ready .resize-se{right:-3px;bottom:-3px;cursor:se-resize}.desktop-ready .resize-sw{left:-3px;bottom:-3px;cursor:sw-resize}
.desktop-ready .is-maximized .window-resize{display:none!important}
:root[data-os] .taskbar{bottom:0!important;margin-bottom:0!important;padding-bottom:calc(4px + env(safe-area-inset-bottom,0px));isolation:isolate}
.taskbar::after{content:'';position:absolute;left:0;right:0;top:100%;height:100px;background:inherit;pointer-events:none}
.tray-icon{flex-shrink:0;min-width:28px;min-height:28px;padding:2px;border:1px inset #ddd;background:var(--chrome);color:var(--ink);display:flex;align-items:center;justify-content:center}
.tray-icon svg{width:21px;height:21px}.environment-button>svg{width:18px;height:18px}.mobile-project-filter{display:none}
.application-menus{flex-shrink:0}
.os-command-menu{position:fixed;z-index:400;min-width:190px;max-width:calc(100vw - 8px);max-height:calc(var(--desk-height,100dvh) - 40px);overflow:auto;padding:3px;background:var(--chrome);font:12px Tahoma,sans-serif}
.os-command-menu button{display:block;text-align:left;width:100%;min-height:30px;padding:6px 16px;background:transparent}
.os-command-menu button:hover:not(:disabled),.os-command-menu button:focus-visible{background:var(--navy);color:white;outline:0}
.os-command-menu button:disabled{color:#888}.os-command-menu hr{border:0;border-top:1px solid #888;border-bottom:1px solid white;margin:4px 2px}
.taskmanager{padding:12px;font:12px Tahoma,sans-serif}.taskmanager h2{font-size:14px;margin:0 0 10px}
.taskmanager-list{border:2px inset #ddd;background:white;min-height:160px;max-height:320px;overflow:auto}
.taskmanager-list button{width:100%;display:grid;grid-template-columns:1fr 95px;text-align:left;gap:12px;padding:9px;background:white;color:#222;border-bottom:1px solid #eee}
.taskmanager-list button[aria-selected=true]{background:var(--navy);color:white}.taskmanager .accessory-note{margin:10px 0}
.taskmanager .app-menubar{padding:0;gap:8px;border:0}.taskmanager-status{font-size:11px}
@media(max-width:820px){
 .desktop-ready [data-window-id]>.titlebar{min-height:32px!important;height:32px;padding:2px 4px!important;gap:5px}
 .desktop-ready .window-controls>button,.desktop-ready .dialog-close{min-width:25px;min-height:25px;width:25px!important;height:25px!important;font-size:16px}
 .desktop-ready .app-window .window-title{max-width:calc(100% - 88px)}
 .desktop-ready .window-menubar{padding:1px 3px;min-height:26px;height:26px;gap:0}
 .desktop-ready .window-menubar>button{padding:2px 8px;min-height:23px;height:23px;font-size:12px}
 .desktop-ready .explorer-navigation{padding:2px 3px;gap:2px;min-height:32px}
 .desktop-ready .explorer-navigation input{min-height:28px;height:28px;padding:2px 5px;font-size:16px}
 .desktop-ready .explorer-navigation button{min-height:28px;height:28px;min-width:27px;padding:1px 4px}
 .desktop-ready .main-window .explorer-sidebar{display:none!important}
 .desktop-ready .main-window .window-statusbar{height:20px;min-height:20px;margin-top:1px;font-size:10px;overflow:hidden;flex-shrink:0}
 .desktop-ready .main-window .window-statusbar>span:nth-child(2){display:none}
 .desktop-ready .main-window .resize-grip{min-height:16px;height:16px;min-width:20px;padding:0}
 .desktop-ready .mobile-project-filter{display:flex;flex:1;min-width:0;align-items:center;gap:5px}
 .mobile-project-filter select{height:28px;min-width:0;max-width:100%;width:100%;font:13px Tahoma,sans-serif;padding:3px 6px;border:1px solid #999;background:white}
 .collection-heading h1{display:none}.collection-heading{gap:8px;margin-bottom:7px}
 .project-collection{padding:8px!important}.collection-tools{flex-wrap:nowrap;gap:4px}
 .sort-box{display:none}.search-box{min-height:31px;padding:0 6px}.search-box>input{height:30px;padding:3px 0;font-size:16px}
 .results-caption{margin:5px 0 8px;font-size:10px}.view-toggle{align-self:center}.view-button{height:27px;width:27px}
 .desktop-ready [data-window-id]:not(.is-maximized)>.window-resize{display:block!important}
 .desktop-ready .window-resize.resize-e,.desktop-ready .window-resize.resize-w{width:13px;top:28px;bottom:18px}
 .desktop-ready .window-resize.resize-n,.desktop-ready .window-resize.resize-s{height:12px;left:23px;right:23px}
 .desktop-ready .window-resize.resize-ne,.desktop-ready .window-resize.resize-nw,.desktop-ready .window-resize.resize-se,.desktop-ready .window-resize.resize-sw{width:22px;height:22px}
 .desktop-ready .window-resize.resize-n{top:-5px}.desktop-ready .window-resize.resize-s{bottom:-5px}
 .desktop-ready .window-resize.resize-e{right:-5px}.desktop-ready .window-resize.resize-w{left:-5px}
 :root[data-os] .taskbar{min-height:40px;gap:3px;padding-top:2px;padding-bottom:calc(2px + env(safe-area-inset-bottom,0px))}
 :root[data-os] .task-list{scrollbar-width:none}.task-list::-webkit-scrollbar{display:none}
 .task-separator{display:none}.tray-icon{min-width:25px;width:25px;padding:1px}.tray-icon svg{width:18px}
 :root[data-os] .clock-tray{font-size:10px;padding:2px 5px}.clock-tray .online-dot{display:none}
 :root[data-os] .environment-button{padding:2px 3px;min-width:24px}
}
:root[data-family=mac] .taskbar{top:0!important;bottom:auto!important;padding-bottom:0!important}
:root[data-family=mac] .taskbar::after{display:none}
:root[data-family=mac] .desktop-dock{bottom:0!important}

.card-preview>img{aspect-ratio:12/7;object-fit:contain;background:#111}.project-detail-preview{height:auto!important;aspect-ratio:12/7;object-fit:contain;background:#111}.preview-label{font:9px Tahoma,sans-serif;letter-spacing:0;padding:3px 5px;background:#ffffffe8;color:#333}.sketch-note{text-align:left;line-height:1.5}

:root[data-wallpaper-kind=image] body{background-color:#000!important}
