:root{color-scheme:light;--desktop:#008080;--face:#c0c0c0;--light:#fff;--shadow:#808080;--dark:#000;--navy:#000080;--card:72px;font-family:"MS Sans Serif","Microsoft Sans Serif",Tahoma,Arial,sans-serif;font-size:12px;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:var(--desktop);color:#000}button,input,textarea,select{font:inherit;color:inherit}button,summary{cursor:default}a{color:#000080}button,summary,a{-webkit-tap-highlight-color:transparent}[hidden]{display:none!important}::selection{background:#000080;color:#fff}button:disabled{color:#808080;text-shadow:1px 1px #fff}button:disabled .pixel-icon{opacity:.35;filter:grayscale(1)}button:focus-visible,summary:focus-visible,a:focus-visible{outline:1px dotted #000;outline-offset:-5px}.pixel-icon{width:16px;height:16px;flex:0 0 16px;display:inline-block;vertical-align:middle;shape-rendering:crispEdges;image-rendering:pixelated;pointer-events:none}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}.flip{transform:scaleX(-1)}
.desktop-icons{position:fixed;left:14px;top:26px;width:80px;display:flex;flex-direction:column;gap:26px}.desktop-icon{border:0;background:none;padding:4px 2px;display:flex;flex-direction:column;align-items:center;gap:7px;color:#fff;font-size:12px;line-height:15px;min-height:70px}.desktop-pixel{width:32px;height:32px;flex-basis:32px}.desktop-icon span{padding:1px 3px;text-align:center;background:#008080}.desktop-icon:focus span{background:#000080;outline:1px dotted white}.desktop-icon:focus-visible{outline:0}
.window{background:var(--face);padding:3px;box-shadow:inset -1px -1px #000,inset 1px 1px #dfdfdf,inset -2px -2px #808080,inset 2px 2px #fff}.window#app{width:calc(100% - 148px);max-width:1280px;margin:36px 30px 70px 118px;min-width:0}.title-bar{height:24px;padding:3px 3px 3px 4px;background:linear-gradient(90deg,#000080,#1084d0);display:flex;align-items:center;justify-content:space-between;gap:8px;color:#fff;user-select:none}.title-bar-text{display:flex;align-items:center;gap:5px;font-weight:bold;min-width:0;font-size:12px}.title-bar-text span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.title-bar-controls{display:flex;flex:none;gap:2px}.title-bar-controls button{width:16px;min-width:16px;height:14px;border:0;border-radius:0;background:#c0c0c0;padding:0;box-shadow:inset -1px -1px #000,inset 1px 1px #fff,inset -2px -2px #808080,inset 2px 2px #dfdfdf;display:flex;align-items:center;justify-content:center}.title-bar-controls button:last-child{margin-left:2px}.title-bar-controls button:active{box-shadow:inset 1px 1px #000,inset -1px -1px #fff,inset 2px 2px #808080}.glyph-minimize{width:6px;height:2px;background:#000;margin-top:5px}.glyph-maximize{width:9px;height:9px;border:1px solid #000;border-top-width:2px}.glyph-close{width:8px;height:8px;position:relative}.glyph-close:before,.glyph-close:after{content:"";position:absolute;width:10px;height:2px;background:#000;top:3px;left:-1px;transform:rotate(45deg)}.glyph-close:after{transform:rotate(-45deg)}
.menu-bar{display:flex;align-items:stretch;height:25px;position:relative;padding:1px 1px;border-bottom:1px solid #808080;box-shadow:0 1px white;z-index:30}.classic-menu{position:relative}.classic-menu summary,.menu-direct{list-style:none;padding:4px 8px;border:0;background:none;font-size:12px;line-height:16px;height:23px;white-space:nowrap}.classic-menu summary::-webkit-details-marker{display:none}.classic-menu summary:hover,.menu-direct:hover{box-shadow:inset 1px 1px #fff,inset -1px -1px #808080}.classic-menu[open]>summary{background:#000080;color:#fff;box-shadow:none}.menu-direct u{text-decoration:none}.menu-direct u:first-child{text-decoration:underline}.menu-brand{margin-left:auto;width:34px;border-left:1px solid #808080;box-shadow:inset 1px 0 #fff;display:grid;place-items:center}.menu-panel{position:absolute;top:23px;left:0;z-index:60;min-width:238px;padding:3px;background:#c0c0c0;box-shadow:inset -1px -1px #000,inset 1px 1px #dfdfdf,inset -2px -2px #808080,inset 2px 2px #fff,2px 2px #000;display:flex;flex-direction:column}.menu-panel button{display:flex;align-items:center;gap:9px;min-height:25px;background:transparent;border:0;border-radius:0;padding:4px 8px;text-align:left;font-size:12px;white-space:nowrap}.menu-panel button:hover:not(:disabled),.menu-panel button:focus-visible{color:#fff;background:#000080;outline:0}.menu-panel kbd{font:inherit;margin-left:auto;padding-left:16px}.menu-icon-spacer{width:16px;flex:0 0 16px}.menu-separator{height:2px;border-top:1px solid #808080;border-bottom:1px solid #fff;margin:3px 2px}.toolbar{display:flex;align-items:center;gap:1px;min-height:54px;padding:3px 4px 3px 2px;border-bottom:1px solid #808080;box-shadow:0 1px #fff;position:relative;z-index:2}.toolbar-grip{width:5px;height:39px;border-left:1px solid #fff;border-right:1px solid #808080;margin-right:4px;flex-shrink:0}.toolbar-group{display:flex;align-items:center;gap:1px}.tool-button{border:1px solid transparent;background:transparent;min-height:47px;min-width:60px;padding:4px 5px 2px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;white-space:nowrap;font-size:11px}.tool-icon{width:24px;height:24px;flex-basis:24px}.tool-button:hover:not(:disabled){border-color:#fff #808080 #808080 #fff}.tool-button:active:not(:disabled){border-color:#808080 #fff #fff #808080;padding:5px 4px 1px 6px}.toolbar-separator{width:2px;height:38px;border-left:1px solid #808080;border-right:1px solid #fff;margin:0 5px}.viewer-meta{display:flex;align-items:center;gap:7px;margin-left:auto;padding:0 10px;font-size:11px;color:#404040}.viewer-meta span:last-child{border-left:1px solid #808080;padding-left:8px}
.address-bar{display:flex;gap:7px;align-items:center;margin-top:2px;padding:4px 5px;font-size:11px}.address-field{height:24px;background:#fff;box-shadow:inset -1px -1px #fff,inset 1px 1px #808080,inset -2px -2px #dfdfdf,inset 2px 2px #000;flex:1;min-width:0;display:flex;align-items:center;gap:5px;padding:3px 6px}.address-field h1{font:inherit;color:#000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}.button{min-height:24px;min-width:70px;padding:4px 12px;border:0;border-radius:0;background:#c0c0c0;box-shadow:inset -1px -1px #000,inset 1px 1px #fff,inset -2px -2px #808080,inset 2px 2px #dfdfdf;font-size:12px;line-height:16px;white-space:nowrap}.button:active:not(:disabled){box-shadow:inset -1px -1px #fff,inset 1px 1px #000,inset -2px -2px #dfdfdf,inset 2px 2px #808080;padding:5px 11px 3px 13px}.button.primary{outline:1px solid black;outline-offset:1px}.address-bar .button{font-size:11px;padding:3px 9px;min-width:64px}.window-body{padding:4px 6px 6px}.subtitle{margin:1px 0 7px;font-size:12px;line-height:1.5;white-space:pre-line;overflow-wrap:anywhere}.board{padding:2px;background:#fff;box-shadow:inset -1px -1px #fff,inset 1px 1px #808080,inset -2px -2px #dfdfdf,inset 2px 2px #000;min-width:0}.tier-row{display:grid;grid-template-columns:70px minmax(0,1fr) 22px;min-height:86px;border-bottom:1px solid #808080}.tier-row:last-child{border-bottom:0}.tier-row.readonly{grid-template-columns:70px minmax(0,1fr)}.tier-label{min-width:0;padding:8px 5px;display:flex;align-items:center;justify-content:center;text-align:center;font-size:24px;font-weight:bold;background:var(--tier-color);color:#000;overflow-wrap:anywhere;box-shadow:inset 1px 1px #ffffff80,inset -1px -1px #0006;border-right:1px solid #808080}.tier-label.long{font-size:12px;line-height:1.3}.card-zone{display:flex;flex-wrap:wrap;align-items:center;align-content:center;min-width:0;gap:6px;padding:6px;min-height:84px}.row-empty{font-size:11px;color:#808080;padding-left:6px;pointer-events:none}.row-menu{border:0;border-left:1px solid #dfdfdf;background:#c0c0c0;align-self:stretch;position:relative;font-size:0;padding:0;box-shadow:inset 1px 0 #fff,inset -1px 0 #808080}.row-menu:after{content:"";position:absolute;width:2px;height:2px;left:9px;top:50%;background:#000;box-shadow:-4px 0 #000,4px 0 #000}.row-menu:hover{background:#d4d0c8}.row-menu:active{box-shadow:inset 1px 0 #808080}.card{position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 var(--card);width:var(--card);height:var(--card);padding:2px;border:0;border-radius:0;background:#c0c0c0;color:#000;box-shadow:inset -1px -1px #000,inset 1px 1px #fff,inset -2px -2px #808080,inset 2px 2px #dfdfdf;overflow:hidden;user-select:none}.card[draggable=true]{cursor:grab}.card[draggable=true]:active{cursor:grabbing}.card:hover,.card:focus-visible{outline:1px dotted #000;outline-offset:-4px}.card img{width:100%;height:100%;object-fit:cover;pointer-events:none}.card.text-card{background:#fff;text-align:center;font-size:12px;line-height:1.3;padding:8px;overflow-wrap:anywhere}.card-zone.drag-over{outline:1px dotted #000080;outline-offset:-3px;background:#e5e5f4}.bank-section{margin-top:8px;border:1px solid;border-color:#808080 #fff #fff #808080;padding:7px 7px 6px;position:relative}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:-15px 0 5px;min-height:18px}.section-heading h2{display:flex;align-items:center;gap:5px;font-size:11px;font-weight:normal;margin:0;background:#c0c0c0;padding:0 5px 0 3px}.count:before{content:"("}.count:after{content:")"}.section-heading>span{font-size:10px;color:#404040;background:#c0c0c0;padding:0 4px}.bank{background:#fff;min-height:94px;box-shadow:inset -1px -1px #fff,inset 1px 1px #808080,inset -2px -2px #dfdfdf,inset 2px 2px #000;padding:7px;align-content:center}.empty-bank{display:flex;align-items:center;justify-content:center;width:100%;gap:10px;min-height:76px;text-align:left;padding:8px 16px;color:#808080;font-size:11px;pointer-events:none}.empty-bank strong{font-weight:normal;color:#404040;display:block;margin-bottom:5px}.empty-bank span{display:block;line-height:16px;max-width:360px}.empty-bank .empty-icon{width:32px;height:32px;flex:0 0 32px;opacity:.75}.empty-bank .empty-icon svg{width:32px;height:32px}.status-bar{display:flex;align-items:stretch;gap:3px;min-height:23px;padding:1px 2px 2px;font-size:11px;line-height:16px}.status-field{border:1px solid;border-color:#808080 #fff #fff #808080;padding:2px 5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.status-field:first-child{flex:1}.status-hint{flex:2;color:#404040}.connection{display:flex;align-items:center;gap:5px;max-width:220px}.status-dot{display:inline-block;width:7px;height:7px;background:#008000;border:1px solid #004000;flex:none}.status-dot.warning{background:#ffff00;border-color:#808000}.resize-grip{width:11px;flex:0 0 11px;align-self:flex-end;height:11px;background:repeating-linear-gradient(135deg,transparent 0 2px,#808080 2px 3px,#fff 3px 4px);clip-path:polygon(100% 0,100% 100%,0 100%)}
.taskbar{position:fixed;bottom:0;left:0;right:0;height:32px;z-index:90;background:#c0c0c0;border-top:1px solid #fff;box-shadow:0 -1px #dfdfdf;padding:3px 3px 2px;display:flex;align-items:center;gap:3px}.start-button{height:25px!important;display:flex;align-items:center;gap:4px;padding:3px 6px!important;background:#c0c0c0!important;color:#000!important;box-shadow:inset -1px -1px #000,inset 1px 1px #fff,inset -2px -2px #808080,inset 2px 2px #dfdfdf!important;min-width:63px}.start-menu[open]>.start-button{box-shadow:inset 1px 1px #000,inset -1px -1px #fff,inset 2px 2px #808080!important}.start-panel{top:auto;bottom:28px;left:0;min-width:240px;display:flex;flex-direction:row;padding:3px}.start-rail{background:linear-gradient(0deg,#000080,#808080);writing-mode:vertical-rl;transform:rotate(180deg);padding:9px 4px;color:#c0c0c0;font-size:20px;white-space:nowrap;line-height:24px}.start-rail b{color:#fff}.start-items{flex:1;padding:3px}.start-items button{min-height:41px;width:100%}.taskbar-divider{width:3px;height:22px;border-left:1px solid #808080;border-right:1px solid #fff;margin:0 3px}.task-button{display:flex;align-items:center;gap:5px;height:25px;min-width:140px;width:210px;max-width:35vw;padding:3px 7px;background:#c0c0c0;border:0;box-shadow:inset -1px -1px #000,inset 1px 1px #fff,inset -2px -2px #808080;font-size:11px;text-align:left}.task-button span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.task-button.active{background:repeating-conic-gradient(#c0c0c0 0% 25%,#dfdfdf 0% 50%) 0 0/2px 2px;box-shadow:inset 1px 1px #000,inset -1px -1px #fff,inset 2px 2px #808080;font-weight:bold}.taskbar-spacer{flex:1}.system-tray{height:25px;border:1px solid;border-color:#808080 #fff #fff #808080;display:flex;align-items:center;gap:9px;padding:2px 8px;font-size:11px}.keyboard-language{font-size:10px}.system-tray time{min-width:30px;text-align:center}.window-minimized #app,.window-closed #app{display:none}.window-closed #taskButton{display:none}.window-maximized #app{width:100%;max-width:none;margin:0 0 34px;min-height:calc(100vh - 32px)}
.classic-dialog{color:#000;border:0;border-radius:0;width:min(420px,calc(100vw - 20px));padding:3px;margin:auto;box-shadow:inset -1px -1px #000,inset 1px 1px #dfdfdf,inset -2px -2px #808080,inset 2px 2px #fff,2px 2px #000}.classic-dialog::backdrop{background:transparent}.dialog-heading h2{margin:0;font-size:12px;font-weight:bold}.dialog-content{padding:14px 16px 15px}.field{display:flex;flex-direction:column;gap:5px;margin:0 0 14px;font-size:12px}.field input,.field textarea,.field select{width:100%;min-width:0;background:#fff;border:0;border-radius:0;box-shadow:inset -1px -1px #fff,inset 1px 1px #808080,inset -2px -2px #dfdfdf,inset 2px 2px #000;padding:5px 6px;min-height:26px;font-size:12px;color:#000}.field input:focus,.field textarea:focus,.field select:focus{outline:1px dotted #000;outline-offset:-4px}.field input[type=color]{height:32px;width:90px;padding:4px}.field textarea{min-height:72px;resize:vertical}.dialog-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:18px}.spacer{flex:1}.about-content{display:grid;grid-template-columns:40px 1fr;gap:0 10px;font-size:12px;line-height:1.5}.about-icon{width:32px;height:32px;margin-top:5px}.about-content h2{font-size:14px;margin:0 0 7px}.about-content p{margin:0 0 12px}.about-content>p,.about-content>hr,.about-content>.dialog-actions{grid-column:1/-1}.about-content hr{width:100%;border:0;border-top:1px solid #808080;border-bottom:1px solid #fff;margin:0 0 12px}.notice{padding:9px 10px;margin-bottom:7px;border:1px solid #808000;background:#ffffe1;font-size:12px;line-height:1.5}.notice button{background:none;border:0;text-decoration:underline;padding:0 5px;color:#000080}.loading{min-height:380px;display:grid;place-items:center;font-size:12px;color:#808080}.toast{position:fixed;bottom:39px;right:8px;max-width:min(400px,calc(100vw - 16px));padding:9px 12px;border:1px solid #000;background:#ffffe1;box-shadow:1px 1px #808080;z-index:150;font-size:12px;line-height:1.5}.exit-focus{position:fixed;bottom:10px;right:10px;z-index:100}.focus-mode .desktop-icons,.focus-mode .taskbar,.focus-mode .menu-bar,.focus-mode .toolbar,.focus-mode .status-bar,.focus-mode .address-bar,.focus-mode .title-bar{display:none}.focus-mode #app{margin:0;width:100%;max-width:none;padding:3px;min-height:100vh}.focus-mode .row-menu{display:none}.focus-mode .tier-row{grid-template-columns:70px minmax(0,1fr)}.focus-mode .window-body{padding:4px}.focus-mode .bank-section{margin-top:12px}.focus-mode .classic-dialog .title-bar{display:flex}
@media(min-width:1350px){:root{--card:80px}.tier-row{min-height:94px}.card-zone{min-height:92px}.window#app{margin-top:44px}}
@media(max-width:1050px){.status-hint{display:none}.window#app{width:calc(100% - 128px);margin-left:108px;margin-right:20px}.tool-button{min-width:53px;padding-left:4px;padding-right:4px;font-size:10px}.toolbar-separator{margin:0 3px}.section-heading>span{display:none}}
@media(max-width:680px){.desktop-icons{position:static;flex-direction:row;width:auto;margin:12px 14px 10px;gap:22px;align-items:center}.desktop-icon{flex-direction:row;min-height:34px;gap:6px;font-size:11px}.desktop-icon .desktop-pixel{width:24px;height:24px;flex-basis:24px}.window#app{width:calc(100% - 24px);margin:0 12px 52px}.window-maximized:not(.window-minimized):not(.window-closed) .desktop-icons{display:none}.window-maximized #app{width:100%;margin:0 0 34px}.section-heading>span{display:none}.tier-row{grid-template-columns:56px minmax(0,1fr) 20px}.tier-row.readonly,.focus-mode .tier-row{grid-template-columns:56px minmax(0,1fr)}.task-button{max-width:40vw}.tool-button{min-width:52px}.toolbar-grip{display:none}}
@media(max-width:500px){:root{--card:64px}.desktop-icons{margin:9px 8px 7px;gap:14px}.desktop-icon{font-size:10px;gap:4px}.desktop-icon .desktop-pixel{width:20px;height:20px;flex-basis:20px}.desktop-icon span{padding:0}.window#app{width:calc(100% - 10px);margin:0 5px 45px}.title-bar-text{font-size:11px}.title-bar{height:23px}.menu-bar{height:24px}.menu-bar .classic-menu summary,.menu-direct{font-size:11px;padding:3px 7px}.toolbar{flex-wrap:wrap;justify-content:flex-start;gap:0;padding:3px 1px;min-height:48px}.tool-button{font-size:10px;min-width:43px;padding:3px 4px;min-height:42px;gap:3px}.tool-icon{width:20px;height:20px;flex-basis:20px}.toolbar-separator{height:30px;margin:0 2px}.toolbar-group{gap:0}#redo{display:none}.address-bar{padding:4px 2px;gap:4px}.address-bar>span{display:none}.address-bar .button{font-size:10px;min-width:56px;padding:3px 6px}.window-body{padding:3px 3px 5px}.tier-row{grid-template-columns:44px minmax(0,1fr) 17px;min-height:76px}.tier-row.readonly,.focus-mode .tier-row{grid-template-columns:44px minmax(0,1fr)}.tier-label{font-size:21px;padding:5px 3px}.tier-label.long{font-size:10px}.card-zone{gap:5px;padding:5px;min-height:74px}.row-menu:after{left:7px}.row-empty{font-size:10px;padding-left:4px}.card.text-card{font-size:11px;padding:5px}.bank-section{padding:6px 5px 5px;margin-top:10px}.bank{min-height:93px}.empty-bank{padding:5px 7px;gap:8px;font-size:10px}.empty-bank span{line-height:14px}.empty-bank .empty-icon,.empty-bank .empty-icon svg{width:24px;height:24px;flex-basis:24px}.status-bar{font-size:10px;gap:2px}.status-field{padding:2px 3px}.connection{max-width:146px}.resize-grip{display:none}.taskbar{height:31px}.system-tray{gap:6px;padding:2px 5px}.keyboard-language{display:none}.task-button{min-width:90px;max-width:39vw;font-size:10px}.viewer-meta{font-size:10px;padding:0 5px;gap:4px}.viewer-meta span:last-child{padding-left:4px}.menu-panel{min-width:220px}.classic-dialog .button{min-width:65px}.window-minimized .desktop-icons,.window-closed .desktop-icons{flex-direction:column;align-items:flex-start;gap:14px;margin:20px}.window-minimized .desktop-icon,.window-closed .desktop-icon{font-size:12px}.window-minimized .desktop-icon .pixel-icon,.window-closed .desktop-icon .pixel-icon{width:32px;height:32px;flex-basis:32px}}

/* Window states override every responsive layout. */
#editorAccessDialog .dialog-actions{flex-wrap:wrap}
#editorAccessDialog .dialog-content>p{line-height:1.5}
body.window-maximized .window#app{width:100%;max-width:none;margin:0 0 34px;min-height:calc(100vh - 32px)}
body.window-maximized:not(.window-minimized):not(.window-closed) .desktop-icons{display:none}
body.focus-mode .window#app{width:100%;max-width:none;margin:0;min-height:100vh}
body:has(dialog[open]) #app>.title-bar{background:linear-gradient(90deg,#808080,#b5b5b5);color:#dfdfdf}
.confirm-message{display:flex;gap:15px;align-items:center;font-size:12px;line-height:1.5}.confirm-message p{margin:2px 0 8px}.warning-icon{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;background:#ffff00;border:2px solid black;font:bold 24px Georgia,serif;clip-path:polygon(50% 0,100% 100%,0 100%);padding-top:5px}
.color-palette{display:grid;grid-template-columns:repeat(8,22px);gap:3px;margin-top:2px}.field .color-value{width:100px;font-family:"Courier New",monospace}.color-swatch{width:22px;height:20px;border:1px solid #000;box-shadow:inset 1px 1px #808080,inset -1px -1px #fff}.color-swatch[aria-pressed=true]{outline:1px dotted #000;outline-offset:2px}
.field select{appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='22' viewBox='0 0 18 22'%3E%3Cpath fill='%23c0c0c0' d='M0 0h18v22H0z'/%3E%3Cpath fill='%23fff' d='M0 0h17v1H0zM0 0h1v21H0z'/%3E%3Cpath fill='%23808080' d='M16 1h1v20h-1zM1 20h16v1H1z'/%3E%3Cpath fill='%23000' d='M5 9h7v1h-1v1h-1v1H9v1H8v-1H7v-1H6v-1H5z'/%3E%3C/svg%3E") no-repeat right 2px center;padding-right:24px}
body:has(#confirmDialog[open]) #editDialog .title-bar{background:linear-gradient(90deg,#808080,#b5b5b5);color:#dfdfdf}

/* Keep the window frame on screen; long lists scroll inside the client area. */
html{height:100%;overflow:clip}
body{height:100vh;height:100dvh;min-height:0;overflow:clip;display:flex;flex-direction:column;padding-bottom:32px}
.desktop-icons{flex-shrink:0}
.window#app{display:flex;flex-direction:column;flex:0 1 auto;min-height:0;max-height:none;margin-bottom:24px}
#app>.title-bar,#app>.menu-bar,#app>.toolbar,#app>.address-bar,#app>.status-bar{flex-shrink:0}
#app>.window-body{min-height:0;overflow:auto;flex:1 1 auto;overscroll-behavior:contain}
body.window-maximized .window#app{flex:1;min-height:0;height:100%;max-height:100%;margin:0}
body.focus-mode{padding-bottom:0}
body.focus-mode .window#app{flex:1;min-height:0;height:100%;max-height:100%;margin:0}
body.focus-mode #app>.window-body{overflow:auto;padding-bottom:48px}
body.window-minimized .window#app,body.window-closed .window#app{display:none}
.window-body::-webkit-scrollbar{width:16px;height:16px;background:#c0c0c0}
.window-body::-webkit-scrollbar-track{background:repeating-conic-gradient(#c0c0c0 0% 25%,#dfdfdf 0% 50%) 0 0/2px 2px}
.window-body::-webkit-scrollbar-thumb{background:#c0c0c0;box-shadow:inset -1px -1px #000,inset 1px 1px #fff,inset -2px -2px #808080,inset 2px 2px #dfdfdf;min-height:24px}
.window-body::-webkit-scrollbar-corner{background:#c0c0c0}
@media(max-width:680px){.window#app{margin-bottom:14px}}
@media(max-height:500px){.window#app{margin-top:8px;margin-bottom:8px}}

/* Sortable preview occupies the exact slot that will be committed on drop. */
.card-zone{position:relative}
.card.drag-source{position:absolute!important;pointer-events:none!important;opacity:0!important}
.card.drag-placeholder{opacity:.46;pointer-events:none;outline:1px dashed #000080;outline-offset:-2px;box-shadow:inset -1px -1px #000080,inset 1px 1px #fff}
.card-zone.drag-over>.row-empty,.card-zone.drag-over>.empty-bank{display:none}
