/* Desktop-first interactions at every size. Scrolling stays inside documents and windows. */
.desktop-ready body{height:100dvh;overflow:hidden;padding:0!important}.desktop-ready .desktop-dock{position:fixed!important;inset:0 0 44px!important;margin:0!important;display:block!important;max-width:none!important;width:auto!important;padding:0!important;pointer-events:auto;overflow:auto;touch-action:pan-y pinch-zoom;overscroll-behavior:contain;z-index:1}.desktop-ready .desktop-shortcut{position:absolute!important;width:98px;height:82px;margin:0!important;user-select:none;-webkit-touch-callout:none;touch-action:pan-y pinch-zoom}.desktop-ready .main-window{position:fixed!important;display:flex!important;flex-direction:column;margin:0!important;max-width:none;min-height:0;min-width:0;z-index:10}.main-window>.titlebar,.main-window>.addressbar,.main-window>.window-menubar,.main-window>.window-statusbar{flex-shrink:0}.main-window .explorer-layout{flex:1;min-height:0;overflow:hidden}.main-window .workspace{min-height:0;overflow:auto;overscroll-behavior:contain}.desktop-ready .main-window[hidden]{display:none!important}
.touch-desktop-tools{display:none;position:fixed;bottom:52px;right:9px;gap:4px;z-index:2;font:12px Tahoma,sans-serif}.touch-desktop-tools button{background:var(--chrome);color:var(--ink);border:2px outset #eee;min-height:34px;padding:4px 10px}.desktop-dock.select-mode{touch-action:pinch-zoom}.desktop-dock.select-mode .touch-desktop-tools{display:flex}.desktop-shortcut:focus-visible{outline:1px dotted white}.quick-desktop{min-width:30px;min-height:29px;border:1px outset #fff;background:var(--chrome);color:var(--ink);padding:2px 5px;flex-shrink:0}.quick-desktop:active{border-style:inset}.desktop-hint{position:fixed;left:12px;bottom:56px;max-width:calc(100% - 170px);color:white;text-shadow:1px 1px #000;background:#0005;padding:4px 7px;font:11px/1.5 Tahoma,sans-serif;pointer-events:none}
.explorer-navigation{display:flex;align-items:center;gap:4px;width:100%;min-width:0;padding:4px}.explorer-navigation label{display:flex;align-items:center;gap:8px;flex:1;min-width:0;font:12px Tahoma,sans-serif}.explorer-navigation input{flex:1;min-width:0;width:100%;font:12px Tahoma,sans-serif;border:2px inset #ddd;background:#fff;color:#111;padding:5px}.explorer-navigation input[aria-invalid=true]{outline:2px solid #ae3636}.explorer-navigation button{min-width:30px;min-height:29px;background:var(--chrome);color:#111;border:2px outset #eee;padding:2px 5px}.explorer-navigation button:disabled{color:#888}.main-window .addressbar{display:block;padding:0}.explorer-error{padding:7px 10px;margin:0;background:#fff2cb;color:#803b19;font:12px Tahoma,sans-serif}.project-collection{padding:18px!important}.collection-heading h1{font:700 23px Tahoma,sans-serif;margin:0}.collection-heading{margin-bottom:14px}.results-caption>span:last-child{display:none}.project-collection .eyebrow{display:none}.sidebar-title{font-family:Tahoma,sans-serif}.document-reader{display:flex;height:100%;flex-direction:column;min-height:0}.document-reader .app-menubar{flex-shrink:0}.document-text{font:14px/1.65 'Courier New',monospace;white-space:pre-wrap;overflow-wrap:anywhere;overflow:auto;flex:1;min-height:0;margin:0;padding:16px;background:#fff;color:#111;user-select:text;tab-size:2}.document-status{font:11px Tahoma,sans-serif;border-bottom:1px solid #888;padding:5px 9px;margin:0;background:var(--chrome)}[data-app^=document-] .app-window-body{overflow:hidden}
@media(max-width:820px){.desktop-ready .desktop-dock{bottom:48px!important}.desktop-ready .desktop-shortcut{width:78px;height:82px;flex:none!important}.desktop-ready .desktop-shortcut svg{width:35px;height:35px}.desktop-shortcut>span{font-size:11px!important}.touch-desktop-tools{display:flex}.desktop-ready .main-window,.desktop-ready .app-window{max-width:100vw}.desktop-ready [data-window-id]>.titlebar{min-height:42px;cursor:move;touch-action:none!important;padding:4px!important;position:relative}.desktop-ready .window-controls>button,.desktop-ready .dialog-close{min-width:30px;min-height:30px;width:30px!important;height:30px!important}.desktop-ready .app-window .window-title{max-width:calc(100% - 105px)}.desktop-ready .window-title{font-size:12px!important}.desktop-ready .resize-grip{display:block!important;min-width:30px;min-height:25px;touch-action:none}.desktop-ready .window-resize.resize-se{display:block!important;width:26px;height:26px;bottom:0;right:0;touch-action:none;cursor:nwse-resize}.desktop-ready .is-maximized .window-resize{display:none!important}.desktop-ready .main-window .explorer-layout{display:flex;flex-direction:column;overflow:hidden}.desktop-ready .main-window .explorer-sidebar{flex:0 0 auto;padding:6px;overflow:hidden}.desktop-ready .main-window .workspace{flex:1;overflow:auto;min-height:0}.main-window .folder-nav{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.main-window .folder-button{min-height:31px!important;padding:3px!important;font-size:10px}.main-window .folder-button svg{width:17px;height:17px}.main-window .folder-button .folder-count{font-size:9px}.main-window .sidebar-title,.main-window .sidebar-note,.main-window .sidebar-links{display:none!important}.main-window .collection-heading h1{font-size:18px}.project-collection{padding:12px!important}.explorer-navigation label{font-size:0;gap:0}.explorer-navigation input{font-size:16px;min-height:33px}.explorer-navigation{gap:2px}.explorer-navigation button{min-width:27px;min-height:33px}.window-menubar .menu-caption{display:none}.document-text{font-size:13px;padding:12px}.quick-desktop{min-width:29px;min-height:30px}.desktop-hint{bottom:87px;max-width:calc(100% - 24px)}.desktop-ready .main-window.is-maximized{inset:auto!important}.desktop-signature{display:none}}
:root[data-family=mac] .desktop-dock{bottom:0!important}:root[data-family=mac] .touch-desktop-tools{bottom:12px}:root[data-family=mac] .desktop-hint{bottom:54px}:root[data-os=ubuntu] .desktop-dock{bottom:34px!important}:root[data-family=mac] .quick-desktop{background:transparent;border:0;color:#111;min-width:22px}@media(max-width:500px){:root[data-family=mac] .mac-menus>[data-platform-menu=file]:not(.finder-label){display:none}:root[data-family=mac] .finder-label{max-width:65px;overflow:hidden;text-overflow:ellipsis}.desktop-ready[data-family=mac] .titlebar .window-controls{gap:2px}:root[data-os=ubuntu] .platform-topbar>button{padding-left:7px;padding-right:7px}}
@media print{.touch-desktop-tools,.quick-desktop,.desktop-hint{display:none!important}.desktop-ready body{height:auto;overflow:visible}}

@media(min-width:821px){:root[data-os=kde] .start-submenu{bottom:auto;top:0;max-height:calc(100dvh - 95px);overflow-y:auto}}
