:root {
    color-scheme: light;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 13px;
    color: #263b37;
    background: #426964;
    --desktop: #426964;
    --paper: #f8f7ef;
    --chrome: #e9e7da;
    --ink: #263b37;
    --muted: #7b8379;
    --line: #d4d6c9;
    --title: #2c514b;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100svh; overflow: hidden; -webkit-user-select: none; user-select: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px dashed #bd713c; outline-offset: 4px; }
button:disabled { opacity: .42; cursor: default; }
button, input, textarea, select { border-radius: 0; }
button { touch-action: manipulation; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.system-bar {
    position: relative;
    z-index: 20;
    height: 42px;
    padding: 0 25px;
    display: flex;
    align-items: center;
    gap: 29px;
    background: var(--chrome);
    border-bottom: 1px solid #243e38;
    box-shadow: inset 0 1px #fffef8, 0 1px rgba(17, 41, 35, .15);
}
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 0; border: 0; background: transparent; font-size: 13px; font-weight: bold; letter-spacing: -.02em; }
.brand > span:first-child { display: grid; place-items: center; width: 22px; height: 23px; background: #36594d; color: #edeedc; font: italic 16px/1 Georgia, serif; }
.system-nav { display: flex; align-items: center; gap: 23px; height: 100%; }
.system-nav button { padding: 6px 0; border: 0; background: transparent; font-size: 12px; }
.system-nav button:hover { color: #9a572c; }
.system-date { display: flex; align-items: center; gap: 11px; margin-left: auto; font-size: 11px; color: #546259; white-space: nowrap; }
.system-date::before { content: ''; display: block; width: 5px; height: 5px; background: #5b7763; }
.desktop {
    position: relative;
    z-index: 21;
    height: calc(100svh - 86px);
    min-height: 480px;
    background-color: var(--desktop);
    background-image: radial-gradient(rgba(234, 240, 210, .065) .65px, transparent .65px), linear-gradient(118deg, rgba(20, 49, 43, .1), transparent 52%, rgba(27, 51, 45, .13));
    background-size: 3px 3px, 100% 100%;
    isolation: isolate;
}
.desktop-icons { position: absolute; top: 31px; left: 24px; display: grid; grid-auto-rows: 104px; gap: 22px; width: 106px; }
.desktop-icon { display: flex; min-height: 91px; flex-direction: column; align-items: center; justify-content: center; gap: 13px; padding: 9px 3px 6px; border: 1px solid transparent; background: transparent; color: #f7f6e9; }
.desktop-icon > span:last-child, .desktop-icon label { max-width: 100%; padding: 2px 4px; font-size: 12px; line-height: 1.4; text-shadow: 1px 1px #24473e; cursor: inherit; }
.desktop-icon:hover { background: rgba(255, 255, 241, .065); border-color: rgba(244, 247, 215, .18); }
.desktop-icon:focus-visible { outline-color: #efe8c7; outline-offset: 0; }
.desktop-icon[aria-current="true"] > span:last-child, .desktop-icon[aria-pressed="true"] > span:last-child { background: #294f48; outline: 1px dotted #e7ecd9; }
.desktop-stamp { position: absolute; right: 30px; bottom: 23px; color: rgba(241, 242, 219, .43); font: 10px/1.8 Tahoma, Arial, sans-serif; letter-spacing: .075em; text-align: right; pointer-events: none; }
.desktop-stamp span { display: block; }
.desktop-stamp span:first-child { color: rgba(243, 244, 221, .61); }

.window {
    border: 1px solid #203e37;
    padding: 4px;
    background: var(--chrome);
    box-shadow: inset 1px 1px #fffef5, inset -1px -1px #9caa99, 5px 6px 0 rgba(20, 41, 35, .23), 16px 22px 48px rgba(15, 39, 31, .12);
}
.window.custom-geometry { position: fixed; min-width: 0; min-height: 0; max-width: none; max-height: none; transform: none; }
.explorer { container-type: inline-size; }
.window-titlebar { cursor: move; touch-action: none; }
.window-titlebar:focus-visible { outline: 1px dashed #f6f5e9; outline-offset: -3px; }
.window.is-maximized .window-titlebar { cursor: default; }
.window-interaction iframe { pointer-events: none; }
.resize-handle { position: absolute; z-index: 5; padding: 0; border: 0; background: transparent; touch-action: none; }
.resize-n, .resize-s { left: 10px; right: 10px; height: 6px; cursor: ns-resize; }
.resize-n { top: -2px; }
.resize-s { bottom: -2px; }
.resize-e, .resize-w { top: 10px; bottom: 10px; width: 6px; cursor: ew-resize; }
.resize-e { right: -2px; }
.resize-w { left: -2px; }
.resize-ne, .resize-nw, .resize-se, .resize-sw { width: 12px; height: 12px; }
.resize-ne { top: -2px; right: -2px; cursor: nesw-resize; }
.resize-nw { top: -2px; left: -2px; cursor: nwse-resize; }
.resize-se { bottom: 0; right: 0; width: 16px; height: 16px; cursor: nwse-resize; background: url('../images/window-fold.svg') right bottom / 8px 8px no-repeat; image-rendering: pixelated; }
.resize-sw { bottom: -2px; left: -2px; cursor: nesw-resize; }
.is-maximized > .resize-handle { display: none; }
.file-item[aria-pressed="true"] { border-color: #a5b699; background: #dde5d4; }
.desktop-icon, .file-item { touch-action: none; }
.icon-drag-source { opacity: .45; }
.is-reordering, .is-reordering > button { cursor: grabbing; }
.icon-drop-target { outline: 2px dashed #d4a349; outline-offset: -2px; background: rgba(212, 163, 73, .15); }
.icon-drag-preview { position: fixed; z-index: 100; pointer-events: none; transform: translate(-50%, -50%); opacity: .9; }
.window > .window-status { padding-right: 24px; }
.explorer { position: absolute; top: clamp(40px, 9vh, 91px); left: calc(50% + 35px); display: flex; flex-direction: column; width: min(940px, calc(100% - 254px)); height: min(579px, calc(100% - 139px)); min-height: 405px; transform: translateX(-50%); }
.window-titlebar { display: flex; align-items: center; justify-content: space-between; flex: 0 0 33px; gap: 15px; padding: 4px 5px 4px 10px; background: var(--title); color: #f6f5e9; }
.window-title { display: flex; align-items: center; gap: 9px; min-width: 0; font-size: 12px; font-weight: bold; letter-spacing: .01em; }
.window-title > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.window-controls { display: flex; gap: 3px; }
.window-controls button { display: grid; place-items: center; width: 24px; height: 23px; padding: 0; border: 1px solid #1b3b33; background: #e4e5d6; color: #344b40; box-shadow: inset 1px 1px #fffff3, inset -1px -1px #a6ac9d; font: 16px/1 Arial, sans-serif; }
.window-controls button:hover { background: #f7f5e5; }
.window-controls button:active { box-shadow: inset 1px 1px #8b9686; padding: 1px 0 0 1px; }
.window-controls button:focus-visible { outline-color: #faf3b8; outline-offset: 1px; }
.window-toolbar { display: flex; align-items: center; flex: 0 0 45px; gap: 13px; padding: 7px 12px; border-bottom: 1px solid #bec6b8; box-shadow: 0 1px #fffef6; }
.toolbar-button { display: flex; align-items: center; justify-content: center; flex: 0 0 27px; width: 27px; height: 27px; padding: 0; border: 1px solid #bdc3b5; background: #eeeee3; box-shadow: inset 1px 1px #fffef6, inset -1px -1px #d0d3c5; font-size: 16px; }
.toolbar-button:hover:not(:disabled) { background: #fffdf1; }
#back-button { flex-basis: auto; width: auto; gap: 6px; padding: 0 8px; }
#back-button span { font-size: 10px; }
.breadcrumbs { display: flex; align-items: center; gap: 10px; min-width: 0; color: #81887c; font-size: 11px; }
.breadcrumbs button { padding: 3px 0; border: 0; background: transparent; color: #526358; font-size: inherit; }
.breadcrumbs button:hover { color: #9d5a2b; text-decoration: underline; }
.breadcrumbs > span:last-child { overflow: hidden; color: #344d40; text-overflow: ellipsis; white-space: nowrap; }
.window-body { display: flex; flex: 1; min-height: 0; background: var(--paper); border: 1px solid #c4cbbd; border-top: 0; }
.sidebar { display: flex; flex: 0 0 var(--sidebar-width, 164px); flex-direction: column; gap: 4px; padding: 29px 12px 20px; border-right: 1px solid #d6d9ca; background: #f0f0e6; }
.sidebar-resizer { position: relative; z-index: 1; flex: 0 0 6px; align-self: stretch; margin: 0 -3px; background: transparent; cursor: col-resize; touch-action: none; }
.sidebar-resizer::after { position: absolute; top: 0; bottom: 0; left: 2px; width: 1px; background: #d6d9ca; content: ''; }
.sidebar-resizer:hover::after, .sidebar-resizer.is-resizing::after, .sidebar-resizer:focus-visible::after { background: #8d9c84; }
.sidebar-resizer:focus-visible { outline: none; }
.sidebar-label { display: block; padding: 0 11px; margin: 0 0 14px; color: #8a9082; font-size: 9px; font-weight: bold; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; }
.sidebar-link { display: flex; align-items: center; gap: 10px; min-height: 35px; padding: 8px 11px; border: 1px solid transparent; background: transparent; color: #667467; font-size: 11px; text-align: left; }
.sidebar-link:hover { background: #e7eade; color: #354e40; }
.sidebar-link.active, .sidebar-link[aria-current="page"] { border-color: #c9d4c0; background: #dde5d4; color: #35523d; }
.sidebar-link > span:first-child:not(.icon) { display: inline-flex; justify-content: center; width: 15px; font-size: 14px; color: #778b6d; }
.sidebar .folder-note, .sidebar-footnote { margin-top: auto; padding: 18px 10px 0; border: 0; color: #78826d; font-size: 9px; line-height: 1.9; }
.sidebar-footnote > span { display: block; margin-bottom: 8px; color: #8e9b7c; font-size: 12px; }
.explorer-content { flex: 1; min-width: 0; overflow: auto; padding: 31px 33px 25px; scrollbar-color: #c4c9b8 #f1f1e7; scrollbar-width: thin; }
.window-status { display: flex; flex: 0 0 27px; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 10px 1px; color: #7c8577; font-size: 10px; }
.window-status > span:last-child { margin-left: auto; text-align: right; }
.window-status > span:last-child::before { content: ''; display: inline-block; width: 5px; height: 5px; margin-right: 6px; background: #879c73; vertical-align: 1px; }

.welcome-panel { position: relative; padding: 2px 0 20px; border-bottom: 1px solid var(--line); }
.welcome-eyebrow { margin: 0 0 9px; color: #78816c; font-size: 10px; line-height: 1.6; letter-spacing: .11em; text-transform: uppercase; }
.welcome-panel h1 { margin: 0 0 12px; color: #314e42; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(45px, 5.3vw, 64px); font-weight: normal; line-height: 1.05; letter-spacing: -.055em; }
.welcome-panel > p:not(.welcome-eyebrow) { max-width: 424px; margin: 0; color: #697562; font-size: 12px; line-height: 1.8; }
.welcome-index { display: flex; align-items: center; gap: 7px; margin-top: 12px; color: #78836b; font-size: 10px; line-height: 1.5; }
.welcome-index::before { content: ''; width: 5px; height: 5px; background: #9aa87e; }
.section-caption { display: flex; justify-content: space-between; gap: 12px; margin: 19px 0 9px; color: #758066; font-size: 9px; font-weight: normal; letter-spacing: .12em; line-height: 1.6; text-transform: uppercase; }
.section-caption > span:last-child { color: #a0a491; letter-spacing: .025em; text-transform: none; }
.file-grid { display: grid; grid-template-columns: repeat(auto-fill, 112px); align-items: start; justify-content: start; gap: 12px; }
.file-item { display: flex; align-items: center; flex-direction: column; gap: 0; min-width: 0; min-height: 126px; padding: 14px 4px 10px; border: 1px solid transparent; background: transparent; text-align: center; }
.file-item > .icon { margin-bottom: 16px; }
.file-item > .sandbox-icon { margin-top: -11px; margin-bottom: 8px; }
.file-item:hover { border-color: #d5dccb; background: #ecf0e2; }
.file-item:active { background: #e2e9d6; }
.file-item .file-name { display: block; max-width: 100%; color: #465b46; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.file-item .file-description { display: block; margin-top: 5px; color: #758266; font-size: 9px; line-height: 1.5; }
.folder-heading { margin: 0 0 25px; padding-bottom: 23px; border-bottom: 1px solid var(--line); }
.folder-kicker { margin: 0 0 11px; color: #929785; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.folder-heading h1 { margin: 0 0 10px; font-family: Georgia, 'Times New Roman', serif; font-size: 38px; font-weight: normal; letter-spacing: -.035em; }
.folder-heading p:last-child { max-width: 465px; margin: 0; color: #7f8775; font-size: 12px; line-height: 1.8; }
.folder-note { margin: 11px 0 0; padding-top: 10px; border-top: 1px solid var(--line); color: #7c866e; font-size: 10px; line-height: 1.7; }
.empty-folder { display: flex; min-height: 225px; flex-direction: column; align-items: center; justify-content: center; padding: 20px 12px; text-align: center; }
.empty-symbol { display: block; margin-bottom: 19px; color: #aeb798; font: 40px/1 Georgia, serif; }
.empty-kicker { margin: 0 0 10px; color: #99a18c; font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.empty-folder h2 { margin: 0 0 11px; color: #607057; font: normal 25px/1.25 Georgia, 'Times New Roman', serif; letter-spacing: -.025em; }
.empty-folder p:last-child { max-width: 330px; margin: 0; color: #959c88; font-size: 11px; line-height: 1.85; }

.icon { position: relative; display: inline-block; flex-shrink: 0; vertical-align: middle; }
.folder-icon { --folder-color: #d5ae52; --folder-front: #efd082; z-index: 0; width: 58px; height: 40px; margin-top: 6px; border: 2px solid #8e733b; background: var(--folder-color); box-shadow: inset 2px 2px #fff0b2, 2px 2px 0 rgba(51, 58, 37, .25); }
.folder-icon::before { position: absolute; z-index: -1; top: -8px; left: -2px; width: 28px; height: 8px; border: 2px solid #8e733b; border-bottom: 0; background: var(--folder-color); box-shadow: inset 2px 2px #fff0b2; content: ''; }
.folder-icon::after { position: absolute; inset: 6px -2px -2px; border: 2px solid #8e733b; background: var(--folder-front); box-shadow: inset 0 2px #fff1b8; content: ''; }
.folder-mark { position: absolute; z-index: 1; right: 8px; bottom: 6px; color: rgba(91, 79, 43, .5); font: bold 13px/1 Georgia, serif; }
.blue-folder { --folder-color: #92acb6; --folder-front: #b4c8cd; border-color: #778d91; }
.blue-folder::before { border-color: #778d91; }
.blue-folder::after { border-color: #8ba1a4; }
.blue-folder .folder-mark { color: #708a8b; }
.green-folder { --folder-color: #a5b28c; --folder-front: #c2cba5; border-color: #82916b; }
.green-folder::before { border-color: #82916b; }
.green-folder::after { border-color: #96a17c; }
.green-folder .folder-mark { color: #7f8b60; }
.orange-folder { --folder-color: #cda582; --folder-front: #e0bb98; border-color: #a88769; }
.orange-folder::before { border-color: #a88769; }
.orange-folder::after { border-color: #b89978; }
.orange-folder .folder-mark { color: #a57a56; }
.folder-icon.small { width: 18px; height: 13px; margin-top: 3px; border-width: 1px; box-shadow: inset 1px 1px rgba(255, 255, 236, .5); }
.folder-icon.small::before { top: -4px; left: -1px; width: 9px; height: 4px; border-width: 1px; box-shadow: inset 1px 1px #fff0b2; }
.folder-icon.small::after { inset: 2px -1px -1px; border-width: 1px; box-shadow: inset 0 1px #fff1b8; }
.folder-icon.small .folder-mark { display: none; }
.document-icon { width: 40px; height: 48px; margin-top: 0; background: url('../images/document-pixel.svg') center / 100% 100% no-repeat; image-rendering: pixelated; }
.document-icon::before { content: none; }
.document-icon::after { content: none; }
.file-extension { position: absolute; left: 5px; right: 5px; bottom: 5px; color: #89957d; font: 7px/1 Tahoma, Arial, sans-serif; letter-spacing: .04em; text-align: center; text-transform: uppercase; }
.document-icon.small { width: 15px; height: 18px; }
.document-icon.small::before { top: 7px; right: 3px; left: 3px; height: 6px; background-size: auto; }
.document-icon.small::after { width: 5px; height: 5px; }
.document-icon.small .file-extension { display: none; }
.sandbox-icon { width: 77px; height: 67px; }
.sandbox-icon img { display: block; width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; }
.sandbox-icon.small { width: 24px; height: 22px; }
.desktop-icon .sandbox-icon { width: 81px; height: 66px; margin: -7px 0 -6px; }
.computer-icon { width: 52px; height: 40px; margin: 0 0 8px; border: 2px solid #51614c; background: #d3d4bf; box-shadow: inset 2px 2px #f2f1dd, inset -2px -2px #abb69f, 2px 2px 0 rgba(27, 48, 34, .3); }
.computer-icon::before { position: absolute; inset: 5px 5px 8px; border: 2px solid #6c7f6a; background: #5a7b6b; box-shadow: inset 2px 2px #385a46; content: ''; }
.computer-icon::after { position: absolute; bottom: -9px; left: 10px; width: 29px; height: 8px; border: 1px solid #7d8f78; border-top: 4px solid #b1bda6; background: #d4d8c0; box-shadow: 1px 2px rgba(22, 42, 31, .14); content: ''; }
.computer-icon.small { width: 18px; height: 14px; margin-bottom: 3px; border-width: 1px; }
.computer-icon.small::before { inset: 2px 2px 3px; border-width: 1px; box-shadow: none; }
.computer-icon.small::after { bottom: -4px; left: 3px; width: 10px; height: 3px; border-top-width: 1px; }

.taskbar { position: relative; z-index: 30; display: flex; align-items: center; gap: 14px; height: 44px; padding: 5px 12px; border-top: 1px solid #fafcf0; background: var(--chrome); box-shadow: 0 -1px #9aa991; }
.start-button { display: flex; align-items: center; justify-content: center; gap: 9px; min-width: 91px; height: 31px; padding: 0 12px; border: 1px solid #97a28e; background: #eeeee0; box-shadow: inset 1px 1px #fffff2, inset -1px -1px #c4cbbb; font-size: 12px; font-weight: bold; }
.start-button:hover, .start-button[aria-expanded="true"] { background: #dce5d1; }
.start-button > span:first-child { font-size: 16px; color: #5c7551; }
.task-list { display: flex; align-items: center; flex: 1; gap: 6px; min-width: 0; height: 100%; padding-left: 13px; border-left: 1px solid #c7cdbb; box-shadow: -1px 0 #f9f9ed; }
.task-button { display: flex; align-items: center; gap: 9px; width: 183px; max-width: 220px; height: 30px; min-width: 0; padding: 0 10px; overflow: hidden; border: 1px solid #aab59f; background: #e8ecdd; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.task-button.active { background: #dce4d2; box-shadow: inset 1px 1px #b1bd9f, inset -1px -1px #f9fbed; }
.task-button:not(.active):hover { background: #f3f5e7; }
.taskbar-status { display: flex; align-items: center; gap: 13px; height: 30px; margin-left: auto; padding: 0 12px; border: 1px solid #c0c9b3; box-shadow: inset 1px 1px #d2d9c6, 1px 1px #fffff1; color: #5f7056; font-size: 10px; white-space: nowrap; }
.taskbar-status > span:first-child:not(:last-child) { padding-right: 12px; border-right: 1px solid #c4ccb9; color: #86907b; }
.start-menu { position: absolute; z-index: 40; left: 12px; bottom: 5px; width: 225px; padding: 4px; border: 1px solid #364c3c; background: var(--chrome); box-shadow: inset 1px 1px #fffff1, 4px 5px 0 rgba(20, 39, 27, .23); }
.start-menu-heading { padding: 17px 13px; margin: 0 0 4px; background: var(--title); color: #f3f3df; font: 23px/1.1 Georgia, 'Times New Roman', serif; letter-spacing: -.025em; }
.start-menu-heading small, .start-menu-heading > span { display: block; margin-top: 8px; color: #c0cdb9; font: 9px/1.4 Tahoma, Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.start-menu > button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 42px; padding: 11px 13px; border: 0; background: transparent; text-align: left; font-size: 11px; }
.start-menu > button:hover { background: #d7e0c9; }
.start-menu > button .icon { transform: scale(.7); transform-origin: center; }

.reader { position: fixed; z-index: 25; top: 50%; left: 50%; display: flex; flex-direction: column; width: min(710px, calc(100% - 52px)); height: min(590px, calc(100svh - 143px)); margin: 0; color: var(--ink); transform: translate(-44%, -49%); }
dialog.reader:not([open]), dialog.reader.is-minimized { display: none; }
.reader::backdrop { background: rgba(21, 43, 34, .22); }
.reader.program-reader:not(.custom-geometry) { top: 50%; left: 50%; width: min(1120px, calc(100% - 40px)); height: calc(100svh - 132px); transform: translate(-50%, -50%); }
.program-reader .reader-toolbar, .program-reader > .window-status { display: none; }
.program-reader .reader-content { padding: 0; overflow: hidden; }
.program-reader iframe.media-preview { min-height: 0; height: 100%; }
.reader-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; flex: 0 0 39px; padding: 9px 13px; border-bottom: 1px solid #bbc5b3; color: #7d8772; font-size: 10px; }
.reader-toolbar a { color: #586f4e; text-underline-offset: 3px; }
.reader-content { flex: 1; min-height: 0; overflow: auto; padding: 25px 29px; border: 1px solid #c5cdbc; border-top: 0; background: var(--paper); scrollbar-color: #c4c9b8 #f1f1e7; scrollbar-width: thin; }
.reader-content h1 { margin: 0 0 22px; color: #38533f; font: normal 36px/1.15 Georgia, 'Times New Roman', serif; letter-spacing: -.035em; }
.reader-content h2 { margin: 29px 0 13px; color: #4b6244; font-size: 13px; }
.reader-content p, .reader-content li { color: #718064; font-size: 12px; line-height: 1.9; }
.reader-content a { color: #527442; text-underline-offset: 3px; }
.file-text { margin: 0; color: #536647; font: 12px/1.85 'Courier New', monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.media-preview img, img.media-preview { display: block; max-width: 100%; max-height: 100%; margin: 0 auto; object-fit: contain; }
.media-preview iframe, iframe.media-preview { display: block; width: 100%; height: 100%; min-height: 350px; border: 0; background: #fff; }
.noscript-notice { position: absolute; z-index: 35; top: 25%; left: 50%; width: min(480px, calc(100% - 40px)); margin: 0; padding: 25px; border: 1px solid #37543e; background: var(--paper); box-shadow: 4px 5px #284d41; color: #52674b; font-size: 13px; line-height: 1.8; transform: translateX(-50%); }
.noscript-notice a { color: #46653e; }
.explorer.is-maximized { top: 10px; left: 10px; width: calc(100% - 20px); height: calc(100% - 20px); min-height: 0; transform: none; }
.reader.is-maximized { top: 52px; left: 10px; width: calc(100% - 20px); height: calc(100svh - 106px); transform: none; }

@media (min-width: 1600px) {
    .explorer { top: 12%; width: 1000px; height: 620px; }
    .explorer-content { padding: 39px 43px 30px; }
    .welcome-panel { padding-bottom: 30px; }
}

@media (max-width: 1100px) {
    .explorer { left: calc(50% + 52px); width: calc(100% - 187px); top: 48px; height: calc(100% - 112px); max-height: 590px; }
    .desktop-icons { left: 13px; width: 99px; gap: 19px; }
    .sidebar { flex-basis: var(--sidebar-width, 143px); padding-right: 8px; padding-left: 8px; }
    .explorer-content { padding: 28px 25px 20px; }
    .welcome-panel h1 { font-size: 58px; }
    .file-item { padding-right: 2px; padding-left: 2px; }
    .reader { transform: translate(-46%, -49%); }
}

@media (max-width: 760px) {
    .system-bar { height: 39px; padding: 0 16px; gap: 23px; }
    .system-nav { gap: 17px; }
    .system-nav button { font-size: 11px; }
    .system-date { font-size: 10px; }
    .desktop { height: calc(100svh - 83px); min-height: 0; }
    .desktop-icons { top: 19px; left: 17px; right: 17px; display: flex; gap: 15px; width: auto; }
    .desktop-icon { width: 80px; min-height: 87px; gap: 10px; padding: 6px 0; }
    .desktop-icon > .folder-icon { width: 50px; height: 34px; }
    .desktop-icon > .computer-icon { width: 48px; height: 36px; }
    .desktop-icon > span:last-child, .desktop-icon label { font-size: 10px; }
    .desktop-icon .sandbox-icon { width: 70px; height: 57px; margin: -5px 0 -5px; }
    .explorer { top: 130px; left: 17px; width: calc(100% - 34px); height: calc(100% - 165px); max-height: none; min-height: 0; transform: none; }
    .sidebar { flex-basis: var(--sidebar-width, 140px); }
    .desktop-stamp { right: 19px; bottom: 7px; font-size: 8px; }
    .desktop-stamp span { display: inline; }
    .desktop-stamp span:first-child { margin-right: 8px; }
    .explorer-content { padding: 25px 22px; }
    .welcome-panel h1 { font-size: 48px; }
    .file-item { min-height: 121px; }
    .taskbar { gap: 9px; padding-right: 9px; padding-left: 9px; }
    .task-list { padding-left: 9px; }
    .task-button { width: 153px; }
    .taskbar-status { gap: 0; padding: 0 9px; }
    .taskbar-status > span:first-child:not(:last-child) { display: none; }
    .reader { top: 71px; left: 25px; width: calc(100% - 50px); height: calc(100svh - 134px); transform: none; }
    .reader.is-maximized { top: 46px; height: calc(100svh - 99px); }
}

@media (max-width: 540px) {
    .system-bar { padding: 0 13px; gap: 19px; }
    .brand { gap: 7px; font-size: 12px; }
    .system-nav { gap: 15px; }
    .system-nav button { font-size: 10px; }
    .system-nav button:nth-child(n+3) { display: none; }
    .system-date { font-size: 9px; }
    .system-date::before { display: none; }
    .desktop-icons { left: 13px; gap: 7px; }
    .desktop-icon { width: 73px; }
    .explorer { top: 128px; left: 10px; width: calc(100% - 20px); height: calc(100% - 151px); }
    .window-titlebar { flex-basis: 32px; padding-left: 8px; }
    .window-title { gap: 7px; font-size: 11px; }
    .window-toolbar { flex-basis: 41px; gap: 10px; padding: 6px 9px; }
    .breadcrumbs { gap: 7px; font-size: 10px; }
    .window-body { flex-direction: column; }
    .sidebar { flex: 0 0 auto; flex-direction: row; gap: 2px; padding: 7px 6px; overflow-x: auto; border-right: 0; border-bottom: 1px solid #d3d9c6; scrollbar-width: none; }
    .sidebar-resizer { display: none; }
    .sidebar-label, .sidebar .folder-note, .sidebar-footnote { display: none; }
    .sidebar-link { flex-shrink: 0; justify-content: center; gap: 5px; min-height: 29px; padding: 6px 8px; font-size: 10px; }
    .sidebar-link > .icon, .sidebar-link > span:first-child:not(.icon) { display: none; }
    .explorer-content { padding: 23px 21px 22px; }
    .welcome-panel { padding-bottom: 21px; }
    .welcome-eyebrow { margin-bottom: 12px; font-size: 8px; letter-spacing: .1em; }
    .welcome-panel h1 { margin-bottom: 13px; font-size: 46px; }
    .welcome-panel > p:not(.welcome-eyebrow) { font-size: 11px; line-height: 1.85; }
    .welcome-index { margin-top: 15px; font-size: 9px; }
    .section-caption { margin: 20px 0 12px; font-size: 8px; }
    .file-item { min-height: 125px; padding-top: 15px; }
    .file-item > .folder-icon { width: 48px; height: 34px; margin-bottom: 15px; }
    .file-item > .sandbox-icon { width: 65px; height: 57px; margin-top: -11px; margin-bottom: 8px; }
    .file-item .file-name { font-size: 10px; }
    .file-item .file-description { font-size: 8px; }
    .folder-heading { padding-bottom: 19px; margin-bottom: 19px; }
    .folder-heading h1 { font-size: 33px; }
    .folder-heading p:last-child { font-size: 11px; }
    .empty-folder { min-height: 210px; }
    .empty-folder h2 { font-size: 24px; }
    .window-status { gap: 7px; padding-right: 6px; padding-left: 6px; font-size: 8px; }
    .window-status > span:last-child::before { width: 4px; height: 4px; margin-right: 4px; }
    .desktop-stamp { right: 11px; bottom: 4px; font-size: 7px; }
    .desktop-stamp span:first-child { display: none; }
    .start-button { gap: 6px; min-width: 77px; padding: 0 8px; font-size: 11px; }
    .task-list { gap: 4px; }
    .task-button { flex: 1; width: 124px; gap: 6px; padding: 0 7px; font-size: 9px; }
    .task-button .icon { transform: scale(.8); transform-origin: center; }
    .taskbar-status { font-size: 9px; padding: 0 7px; }
    .reader { top: 56px; left: 13px; width: calc(100% - 26px); height: calc(100svh - 113px); }
    .reader-content { padding: 23px 20px; }
    .reader-content h1 { font-size: 30px; }
    .reader-toolbar { padding-right: 10px; padding-left: 10px; font-size: 9px; }
    .file-text { font-size: 11px; }
    .media-preview iframe, iframe.media-preview { min-height: 270px; }
    .explorer.is-maximized { top: 8px; left: 8px; width: calc(100% - 16px); height: calc(100% - 16px); }
}

@media (max-width: 370px) {
    .system-nav { gap: 11px; }
    .system-date { display: none; }
    .explorer-content { padding-right: 16px; padding-left: 16px; }
    .welcome-panel h1 { font-size: 41px; }
    .sidebar-link { padding-right: 6px; padding-left: 6px; }
    .taskbar-status { padding-right: 5px; padding-left: 5px; }
}

@media (max-height: 800px) and (min-width: 761px) {
    .explorer { top: 35px; height: calc(100% - 78px); min-height: 0; }
    .explorer-content { padding-top: 23px; padding-bottom: 20px; }
    .welcome-panel { padding-bottom: 15px; }
    .welcome-panel h1 { font-size: 60px; }
    .welcome-index { margin-top: 10px; }
    .section-caption { margin-top: 16px; }
    .file-item { min-height: 120px; }
}

@media (max-height: 680px) and (min-width: 761px) {
    .desktop { min-height: 0; }
    .desktop-icons { top: 17px; gap: 8px; }
    .explorer { top: 23px; height: calc(100% - 54px); min-height: 0; }
    .explorer-content { padding-top: 23px; }
    .desktop-stamp { bottom: 7px; font-size: 8px; }
}

@media (prefers-reduced-motion: no-preference) {
    .file-item, .desktop-icon, .sidebar-link { transition: background-color 100ms ease, border-color 100ms ease; }
}

@container (max-width: 540px) {
    .window-body { flex-direction: column; }
    .sidebar { flex: 0 0 auto; flex-direction: row; gap: 2px; padding: 7px 6px; overflow-x: auto; border-right: 0; border-bottom: 1px solid #d3d9c6; }
    .sidebar-resizer { display: none; }
    .sidebar-label { display: none; }
    .sidebar-link { flex-shrink: 0; padding: 6px 8px; font-size: 10px; }
    .sidebar-link > span:first-child:not(.icon) { display: none; }
    .explorer-content { padding: 20px; }
    .welcome-panel h1 { font-size: 42px; }
    .folder-heading h1 { font-size: 30px; }
    .breadcrumbs { overflow-x: auto; white-space: nowrap; }
    .breadcrumbs button { flex-shrink: 0; }
}
