:root {
  font-family: var(--font-body);
  color: var(--brand-text);
  background: var(--brand-background);
  font-size: 14px;
  --silver: var(--brand-surface);
  --navy: var(--brand-primary);
  --teal: var(--brand-background);
  --shadow: var(--brand-border);
  --bevel:inset -1px -1px var(--brand-ink),inset 1px 1px var(--brand-paper),inset -2px -2px var(--brand-graphite),inset 2px 2px var(--brand-paper);
  --inset:inset -1px -1px var(--brand-paper),inset 1px 1px var(--brand-graphite),inset -2px -2px var(--brand-surface),inset 2px 2px var(--brand-ink);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  overflow: hidden;
}
button,
input,
a {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  color: inherit;
  cursor: pointer;
  border: 0;
}
a {
  color: var(--brand-primary);
}
button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible {
  outline: 1px dotted currentColor;
  outline-offset: -5px;
}
button:disabled {
  cursor: default;
  color: var(--brand-muted);
}
button:disabled img {
  opacity: 0.5;
}
button:active:not(:disabled).classic-button {
  box-shadow: var(--inset);
  padding-top: 7px;
  padding-left: 13px;
}
.classic-button {
  background: var(--silver);
  box-shadow: var(--bevel);
  min-height: 30px;
  padding: 6px 12px;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: var(--brand-text);
  line-height: 1.2;
}
.inset {
  box-shadow: var(--inset);
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: 8px;
  top: -80px;
  background: var(--brand-paper);
  padding: 15px;
  z-index: 100001;
}
.skip-link:focus {
  top: 8px;
}
.desktop {
  height: calc(100dvh - 46px);
  min-height: 420px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 45% 70%, #168e8c 0, transparent 70%), var(--brand-background);
  isolation: isolate;
}
.desktop-caption {
  position: absolute;
  left: 35px;
  top: 22px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: #b8d5d1;
  user-select: none;
}
.wallpaper {
  position: absolute;
  right: 55px;
  top: 55px;
  width: 300px;
  user-select: none;
  pointer-events: none;
  transform: perspective(800px) rotateY(-10deg) rotateX(3deg);
  transform-origin: 100% 50%;
  color: #64b1a9;
}
.wordmark {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 5.2rem;
  font-weight: 900;
  letter-spacing: -0.09em;
  line-height: 0.82;
  text-shadow:
    1px 1px #005d61,
    2px 2px #005d61,
    3px 3px #005d61,
    4px 4px #005d61,
    5px 5px #005d61,
    6px 6px #005d61,
    7px 7px #004c54,
    12px 16px 0 #006b6d;
}
.wordmark span {
  display: block;
  font-size: 4.45rem;
  letter-spacing: -0.07em;
  margin-top: 8px;
}
.wallpaper p {
  font-family: var(--font-mono);
  margin: 32px 0 16px;
  font-size: 0.8rem;
  font-weight: bold;
  letter-spacing: 0.03em;
  color: #b0d4ce;
}
.wallpaper-rule {
  height: 1px;
  background: #62a9a2;
  width: 80px;
  margin: 0 0 16px;
}
.wallpaper > span {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #abd0ca;
}
.desktop-icons {
  position: absolute;
  left: 16px;
  top: 68px;
  bottom: 38px;
  width: 92px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  z-index: 2;
}
.desktop-icon {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  width: 92px;
  min-height: 68px;
  padding: 4px 2px;
  background: transparent;
  color: white;
  text-decoration: none;
  font-size: 0.94rem;
  text-align: center;
  line-height: 1.35;
}
.desktop-icon img {
  width: 36px;
  height: 36px;
  image-rendering: pixelated;
  filter: drop-shadow(2px 3px 0 #006969);
}
.desktop-icon > span:not(.shortcut-arrow) {
  padding: 2px 4px;
  text-shadow: 1px 1px #003c3c;
}
.desktop-icon:hover > span:not(.shortcut-arrow),
.desktop-icon:focus-visible > span:not(.shortcut-arrow) {
  background: var(--brand-primary);
}
.shortcut-arrow {
  position: absolute;
  left: 25px;
  top: 30px;
  background: white;
  color: var(--brand-text);
  line-height: 1;
  width: 13px;
  height: 13px;
  font-size: 12px;
}
.recycle-icon {
  margin-top: auto;
}
.desktop-hint {
  position: absolute;
  left: 137px;
  bottom: 12px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  color: #d0e4df;
  font-size: 0.85rem;
  z-index: 0;
  margin: 0;
  font-family: var(--font-mono);
}
.window {
  background: var(--silver);
  box-shadow:
    var(--bevel),
    8px 9px 0 #003d3d45;
  padding: 3px;
  position: absolute;
  display: flex;
  flex-direction: column;
  z-index: 10;
  min-width: 260px;
  max-width: 100%;
  max-height: 100%;
  outline: none;
}
.window.active {
  box-shadow:
    var(--bevel),
    12px 13px 0 #003d3d50;
}
.titlebar {
  height: 30px;
  min-height: 30px;
  background: linear-gradient(90deg, var(--brand-primary), #1084ce);
  color: var(--brand-paper);
  padding: 3px 3px 3px 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: grab;
  touch-action: none;
  user-select: none;
}
.titlebar:active {
  cursor: grabbing;
}
.window:not(.active) > .titlebar {
  background: linear-gradient(90deg, #727b79, #a1acac);
}
.titlebar > div:first-child {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.titlebar img {
  width: 18px;
  height: 18px;
  image-rendering: pixelated;
}
.titlebar h1,
.titlebar h2 {
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  line-height: 1.3;
  font-weight: bold;
}
.window-controls {
  display: flex;
  gap: 3px;
  flex-shrink: 0;
}
.window-controls button {
  width: 24px;
  height: 23px;
  box-shadow: var(--bevel);
  background: var(--silver);
  color: var(--brand-text);
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 19px;
  line-height: 18px;
  padding: 0;
  cursor: pointer;
}
.window-controls button:first-child:not(:last-child) {
  font-size: 18px;
  padding-bottom: 8px;
}
.window-controls button:active {
  box-shadow: var(--inset);
}
.work-window {
  left: 137px;
  top: 70px;
  width: min(850px, calc(100vw - 470px));
  height: min(640px, calc(100dvh - 175px));
  min-width: 540px;
}
.menubar {
  display: flex;
  padding: 2px 3px;
  gap: 3px;
  border-bottom: 1px solid #929292;
  box-shadow: 0 1px white;
  min-height: 29px;
}
.menubar button {
  background: transparent;
  padding: 3px 8px;
  font-size: 1rem;
}
.menubar button:hover,
.menubar button[aria-expanded="true"] {
  background: var(--brand-primary);
  color: var(--brand-paper);
}
.toolbar {
  padding: 6px 5px;
  min-height: 65px;
  display: flex;
  gap: 4px;
  align-items: center;
  border-bottom: 1px solid #8a8a8a;
  box-shadow: 0 1px var(--brand-paper);
}
.toolbar-button {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 3px;
  background: transparent;
  min-width: 70px;
  padding: 3px 7px;
  font-size: 0.86rem;
  height: 51px;
}
.toolbar-button:hover {
  box-shadow: var(--bevel);
}
.toolbar-button[aria-pressed="true"] {
  box-shadow: var(--inset);
  background: #d3d3d3;
}
.toolbar-button img {
  width: 25px;
  height: 25px;
  image-rendering: pixelated;
}
.grid-symbol,
.list-symbol {
  font-size: 27px;
  height: 25px;
  line-height: 24px;
  color: #333;
}
.toolbar-divider,
.taskbar-divider {
  height: 38px;
  width: 2px;
  background: var(--brand-border);
  border-right: 1px solid white;
  margin: 0 5px;
  flex-shrink: 0;
}
.toolbar-end {
  margin-left: auto;
  padding-right: 7px;
}
.toolbar-end img {
  width: 35px;
  height: 35px;
  image-rendering: pixelated;
}
.address-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 5px;
  font-size: 0.94rem;
}
.address-field {
  display: flex;
  gap: 7px;
  align-items: center;
  box-shadow: var(--inset);
  background: white;
  min-width: 0;
  flex: 1;
  padding: 5px 8px;
  white-space: nowrap;
  overflow: hidden;
  height: 29px;
}
.address-field img {
  width: 18px;
  height: 18px;
  image-rendering: pixelated;
}
.address-field span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.explorer-body {
  flex: 1;
  min-height: 0;
  background: var(--brand-paper);
  display: flex;
  padding: 2px;
}
.explorer-sidebar {
  width: 158px;
  flex-shrink: 0;
  background: linear-gradient(115deg, var(--brand-paper), #eee);
  padding: 21px 16px 14px;
  display: flex;
  flex-direction: column;
}
.sidebar-icon {
  width: 40px;
  height: 40px;
  image-rendering: pixelated;
}
.explorer-sidebar h2 {
  font-family: Arial, sans-serif;
  font-size: 1.7rem;
  margin: 9px 0 12px;
  letter-spacing: -0.055em;
}
.sidebar-rule {
  height: 2px;
  background: linear-gradient(90deg, #eaa321, #dedede);
  margin-bottom: 0;
}
.explorer-sidebar p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 14px 0 22px;
  color: #505050;
}
.folders {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 3px;
}
.folders button {
  background: transparent;
  text-align: left;
  font-size: 0.9rem;
  padding: 7px 6px;
  color: var(--brand-primary);
}
.folders button:hover {
  text-decoration: underline;
}
.folders button.selected {
  background: var(--brand-primary);
  color: white;
}
.sidebar-foot {
  font-size: 0.8rem;
  color: var(--brand-muted);
  line-height: 1.6;
  margin-top: auto;
  padding-top: 20px;
}
.files-area {
  flex: 1;
  padding: 16px 17px;
  overflow: auto;
  min-width: 0;
}
.files-heading {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #e1e1e1;
  padding-bottom: 9px;
  margin-bottom: 15px;
  font-size: 0.8rem;
  color: var(--brand-muted);
}
.files-heading > span:first-child {
  font-weight: bold;
  color: #444;
}
.file-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 14px;
  row-gap: 23px;
  align-content: start;
}
.project-file {
  padding: 0;
  background: white;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  color: var(--brand-text);
}
.file-preview {
  width: 100%;
  aspect-ratio: 1.3;
  background: #e5e5e5;
  border: 1px solid #aaa;
  padding: 3px;
  box-shadow: 2px 2px 0 #d2d2d2;
  transition: transform 0.13s;
  position: relative;
  display: block;
}
.file-preview > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.project-file:hover .file-preview {
  transform: translate(-2px, -3px);
  box-shadow: 4px 5px 0 #b6b6b6;
}
.project-file:focus-visible .file-name,
.project-file:hover .file-name {
  color: white;
  background: var(--brand-primary);
}
.file-name {
  display: block;
  margin-top: 9px;
  font-size: 0.91rem;
  line-height: 1.45;
  max-width: 100%;
  padding: 2px 3px;
  overflow-wrap: anywhere;
}
.file-category {
  display: block;
  color: var(--brand-muted);
  font-size: 0.78rem;
  padding: 1px 3px;
  line-height: 1.5;
}
.file-grid.list-view {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.list-view .project-file {
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr) 105px;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid #ddd;
  padding: 9px 0;
}
.list-view .file-preview {
  height: 35px;
  aspect-ratio: auto;
  box-shadow: none;
  padding: 1px;
}
.list-view .file-name {
  margin: 0;
}
.statusbar {
  display: flex;
  gap: 3px;
  min-height: 26px;
  padding: 4px 0 0;
  font-size: 0.8rem;
  color: #3d3d3d;
}
.statusbar > span {
  box-shadow:
    inset 1px 1px var(--brand-border),
    inset -1px -1px #eee;
  padding: 4px 7px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.statusbar > span:first-child {
  flex: 1;
}
.statusbar > span:nth-child(2) {
  flex: 1.7;
}
.statusbar .resize-grip {
  flex: 0 0 20px !important;
  padding: 0 2px;
  box-shadow: none;
  align-self: end;
  color: var(--brand-muted);
}
.about-window {
  right: 36px;
  top: 333px;
  width: 306px;
  min-width: 270px;
  z-index: 11;
}
.notepad-body {
  background: var(--brand-paper);
  min-height: 0;
  overflow: auto;
  padding: 25px 22px 18px;
  font-family: var(--font-mono);
  line-height: 1.6;
}
.note-meta {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: #64645a;
}
.notepad-body h2 {
  font-family: Arial, sans-serif;
  font-size: 2.6rem;
  letter-spacing: -0.06em;
  margin: 10px 0 17px;
  line-height: 1;
}
.notepad-body p {
  font-size: 1rem;
  line-height: 1.55;
  margin: 0 0 18px;
}
.note-signature {
  border-top: 1px dashed #bdbcb2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 13px;
  font-size: 0.9rem;
  font-weight: bold;
}
.note-signature span {
  font-size: 1.8rem;
  line-height: 1;
}
.viewer-window {
  left: 190px;
  top: 45px;
  width: min(870px, calc(100vw - 240px));
  height: min(760px, calc(100dvh - 117px));
}
.viewer-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 5px;
  flex-wrap: wrap;
}
.viewer-toolbar #project-source {
  margin-left: auto;
  font-size: 0.88rem;
}
.viewer-toolbar #image-counter {
  min-width: 55px;
  text-align: center;
  font-size: 0.88rem;
}
.viewer-toolbar .toolbar-divider {
  height: 24px;
}
.viewer-canvas {
  background: #7a7a7a;
  min-height: 0;
  flex: 1;
  overflow: auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}
.viewer-canvas > img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  box-shadow: 2px 2px 5px #333;
  min-height: 0;
}
.viewer-canvas.actual-size {
  display: block;
}
.viewer-canvas.actual-size > img {
  max-width: none;
  max-height: none;
}
.project-description {
  background: var(--brand-paper);
  padding: 10px 14px;
  margin-top: 4px;
  max-height: 135px;
  overflow: auto;
  flex-shrink: 0;
}
.project-description p {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0 0 6px;
}
.project-description > span {
  font-size: 0.82rem;
  color: var(--brand-muted);
}
.small-window {
  left: 50%;
  top: 25%;
  width: 440px;
  transform: translateX(-50%);
  z-index: 20;
}
.dialog-content {
  padding: 25px 24px;
  text-align: center;
  overflow: auto;
}
.dialog-icon {
  width: 42px;
  height: 42px;
  image-rendering: pixelated;
  margin-bottom: 12px;
}
.dialog-content h2 {
  font-size: 1.3rem;
  margin: 0 0 15px;
}
.dialog-content p {
  font-size: 1.07rem;
  line-height: 1.6;
  margin: 0 0 20px;
}
.dialog-content .classic-button {
  min-width: 90px;
}
.help-content {
  text-align: left;
}
.help-content ul {
  padding-left: 20px;
  line-height: 1.6;
  font-size: 1rem;
}
.help-content li {
  margin: 10px 0;
}
.help-content .credits {
  border-top: 1px solid var(--brand-border);
  padding-top: 15px;
  margin: 20px 0 0;
  font-size: 0.85rem;
}
.maximized {
  left: 0 !important;
  top: 0 !important;
  right: auto !important;
  transform: none !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  min-width: 0 !important;
}
.window.dragging {
  user-select: none;
  box-shadow:
    var(--bevel),
    18px 20px 0 #003d3d60;
}
.window.dragging iframe {
  pointer-events: none;
}
.taskbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 46px;
  background: var(--silver);
  box-shadow:
    inset 0 2px white,
    inset 0 3px #dfdfdf;
  display: flex;
  align-items: center;
  padding: 5px 6px;
  gap: 5px;
  z-index: 100000;
}
.start-button {
  font-size: 1.1rem;
  font-weight: bold;
  gap: 6px;
  height: 35px;
  padding: 4px 10px;
  min-width: 88px;
}
.start-logo {
  background: var(--brand-background);
  color: #c7f5de;
  font-family: Arial, sans-serif;
  font-style: italic;
  font-size: 21px;
  text-shadow: 2px 2px #004040;
  padding: 0 3px;
  font-weight: 900;
  transform: skewY(-8deg);
  line-height: 23px;
}
.start-button[aria-expanded="true"] {
  box-shadow: var(--inset);
  background: #ddd;
}
.taskbar-divider {
  height: 31px;
  margin: 0 2px;
}
.quick-desktop {
  height: 31px;
  width: 31px;
  background: transparent;
  padding: 4px;
}
.quick-desktop:hover {
  box-shadow: var(--bevel);
}
.quick-desktop img {
  width: 23px;
  height: 23px;
  image-rendering: pixelated;
}
.task-buttons {
  display: flex;
  flex: 1;
  min-width: 0;
  gap: 5px;
  overflow-x: auto;
}
.task-button {
  background: var(--silver);
  box-shadow: var(--bevel);
  height: 33px;
  min-width: 100px;
  width: 185px;
  max-width: 220px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 8px;
  text-align: left;
  flex-shrink: 1;
  font-size: 0.94rem;
}
.task-button img {
  width: 19px;
  height: 19px;
  image-rendering: pixelated;
  flex-shrink: 0;
}
.task-button span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.task-button.active {
  box-shadow: var(--inset);
  font-weight: bold;
  background: repeating-conic-gradient(#d9d9d9 0% 25%, #eee 0% 50%) 50%/2px 2px;
}
.tray {
  height: 33px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 13px;
  margin-left: auto;
  flex-shrink: 0;
  font-size: 0.91rem;
}
.tray-icon {
  font-size: 19px;
  color: #444;
}
.start-menu {
  bottom: 0;
  left: 3px;
  top: auto;
  width: 264px;
  flex-direction: row;
  z-index: 99999;
  box-shadow:
    var(--bevel),
    3px -3px 0 #003d3d60;
}
.start-banner {
  background: linear-gradient(0deg, var(--brand-primary), #1084ce);
  width: 37px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: #d6e8ff;
  padding: 12px 5px;
  font-size: 1.65rem;
  font-weight: bold;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.start-banner span {
  font-weight: normal;
  margin-top: 7px;
}
.start-options {
  flex: 1;
  padding: 3px;
}
.start-options > button {
  display: flex;
  gap: 13px;
  align-items: center;
  background: transparent;
  width: 100%;
  padding: 12px 10px;
  text-align: left;
  font-size: 1rem;
}
.start-options > button img {
  width: 30px;
  height: 30px;
  image-rendering: pixelated;
}
.start-options > button:hover,
.popup-menu > *:hover {
  background: var(--brand-primary);
  color: var(--brand-paper);
}
.start-options hr,
.popup-menu hr {
  border: 0;
  border-top: 1px solid var(--brand-border);
  border-bottom: 1px solid var(--brand-paper);
  margin: 4px;
}
.popup-menu {
  z-index: 99998;
  min-width: 185px;
  padding: 4px;
}
.popup-menu > button,
.popup-menu > a {
  display: block;
  padding: 9px 16px;
  background: transparent;
  color: var(--brand-text);
  text-align: left;
  text-decoration: none;
}
.window {
  animation: appear 0.12s ease-out;
}
@keyframes appear {
  from {
    opacity: 0.3;
    scale: 0.98;
  }
  to {
    opacity: 1;
    scale: 1;
  }
}
@media (min-width: 1500px) {
  .work-window {
    width: min(1000px, calc(100vw - 530px));
    left: 155px;
    top: 92px;
    height: min(710px, calc(100dvh - 205px));
  }
  .file-grid {
    gap: 28px 20px;
  }
  .files-area {
    padding: 22px;
  }
  .explorer-sidebar {
    width: 182px;
    padding: 24px 20px;
  }
  .about-window {
    right: 60px;
    top: 355px;
    width: 330px;
  }
  .wallpaper {
    right: 65px;
    width: 320px;
  }
}
@media (max-width: 1199px) {
  .work-window {
    width: calc(100vw - 177px);
    left: 133px;
    min-width: 0;
    top: 67px;
    height: calc(100dvh - 150px);
  }
  .about-window {
    right: 30px;
    top: 140px;
  }
  .wallpaper {
    top: 110px;
    right: 50px;
    width: 360px;
  }
  .wordmark {
    font-size: 6rem;
  }
  .wordmark span {
    font-size: 5rem;
  }
  .viewer-window {
    width: calc(100vw - 155px);
    left: 123px;
  }
  .desktop-caption {
    font-size: 0.73rem;
  }
  .explorer-sidebar {
    width: 152px;
  }
}
@media (max-width: 760px) {
  :root {
    font-size: 14px;
  }
  .desktop {
    min-height: 0;
  }
  .desktop-caption {
    left: 16px;
    top: 14px;
    font-size: 0.65rem;
  }
  .desktop-icons {
    left: 10px;
    top: 42px;
    right: 10px;
    bottom: auto;
    width: auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    align-items: start;
  }
  .desktop-icon {
    width: auto;
    font-size: 0.77rem;
    min-height: 62px;
    gap: 4px;
    padding: 2px;
  }
  .desktop-icon img {
    width: 29px;
    height: 29px;
  }
  .desktop-icon .shortcut-arrow {
    left: calc(50% - 15px);
    top: 21px;
  }
  .recycle-icon {
    display: none;
  }
  .desktop-hint {
    left: 18px;
    bottom: 13px;
    font-size: 0.75rem;
  }
  .desktop-hint > span {
    display: none;
  }
  .wallpaper {
    right: 30px;
    top: 155px;
    width: 285px;
  }
  .wordmark {
    font-size: 5.5rem;
  }
  .wordmark span {
    font-size: 4.4rem;
  }
  .work-window {
    left: 8px;
    top: 123px;
    width: calc(100vw - 16px);
    height: calc(100dvh - 212px);
    min-width: 0;
  }
  .window {
    min-width: 0;
    max-width: calc(100vw - 8px);
  }
  .explorer-sidebar {
    width: 115px;
    padding: 15px 8px;
  }
  .sidebar-icon {
    width: 30px;
    height: 30px;
  }
  .explorer-sidebar h2 {
    font-size: 1.4rem;
  }
  .explorer-sidebar p {
    font-size: 0.84rem;
    margin-bottom: 13px;
  }
  .folders button {
    font-size: 0.84rem;
    padding: 7px 4px;
  }
  .sidebar-foot {
    display: none;
  }
  .files-area {
    padding: 12px;
  }
  .file-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px 10px;
  }
  .file-name {
    font-size: 0.85rem;
  }
  .file-category {
    font-size: 0.75rem;
  }
  .files-heading {
    display: none;
  }
  .toolbar {
    min-height: 48px;
    padding: 3px;
  }
  .toolbar-button {
    height: 43px;
    min-width: 61px;
    font-size: 0.78rem;
    padding: 2px 5px;
  }
  .toolbar-button img {
    height: 21px;
    width: 21px;
  }
  .grid-symbol,
  .list-symbol {
    font-size: 23px;
    height: 21px;
  }
  .toolbar-end img {
    width: 26px;
    height: 26px;
  }
  .address-bar {
    font-size: 0.82rem;
    padding: 6px 4px;
    gap: 6px;
  }
  .address-field {
    padding: 4px 6px;
  }
  .statusbar {
    font-size: 0.75rem;
  }
  .statusbar > span:nth-child(2) {
    display: none;
  }
  .titlebar h1,
  .titlebar h2 {
    font-size: 0.92rem;
  }
  .about-window {
    top: 128px;
    right: 12px;
    width: calc(100vw - 35px);
    max-height: calc(100dvh - 210px);
  }
  .viewer-window {
    top: 113px;
    left: 7px;
    width: calc(100vw - 14px);
    height: calc(100dvh - 178px);
  }
  .viewer-toolbar {
    gap: 5px;
    padding: 6px 4px;
  }
  .viewer-toolbar .classic-button {
    font-size: 0.84rem;
    padding: 6px 9px;
  }
  .viewer-toolbar .toolbar-divider {
    display: none;
  }
  .viewer-toolbar #project-source {
    font-size: 0.8rem;
  }
  .viewer-toolbar #image-counter {
    min-width: 40px;
  }
  .project-description {
    padding: 9px 11px;
    max-height: 125px;
  }
  .project-description p {
    font-size: 0.95rem;
  }
  .small-window {
    left: 8px;
    top: 130px;
    transform: none;
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 198px);
  }
  .dialog-content {
    padding: 20px;
  }
  .taskbar {
    gap: 3px;
  }
  .start-button {
    min-width: 73px;
    font-size: 1rem;
    padding: 4px 8px;
  }
  .quick-desktop,
  .taskbar-divider {
    display: none;
  }
  .task-button {
    min-width: 65px;
    padding: 5px 7px;
    font-size: 0.8rem;
    width: 125px;
  }
  .task-button img {
    width: 17px;
    height: 17px;
  }
  .tray {
    padding: 0 9px;
    font-size: 0.79rem;
  }
  .tray-icon {
    display: none;
  }
  .task-buttons {
    gap: 3px;
  }
  .list-view .project-file {
    grid-template-columns: 35px minmax(0, 1fr);
    gap: 8px;
  }
  .list-view .file-category {
    display: none;
  }
  .desktop-caption {
    letter-spacing: 0.04em;
  }
  .maximized {
    max-width: 100% !important;
  }
}
@media (max-width: 400px) {
  .explorer-sidebar {
    width: 96px;
  }
  .explorer-sidebar p {
    font-size: 0.8rem;
  }
  .folders button {
    font-size: 0.78rem;
  }
  .files-area {
    padding: 10px 8px;
  }
  .file-grid {
    gap: 15px 8px;
  }
  .file-name {
    font-size: 0.8rem;
  }
  .file-category {
    font-size: 0.75rem;
  }
  .viewer-toolbar #project-source {
    width: 100%;
    margin: 0;
  }
  .task-button {
    min-width: 54px;
  }
  .task-button img {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .wallpaper {
    transform: none !important;
  }
}
.depth-button {
  height: 33px;
  font-size: 0.85rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.depth-button[aria-pressed="true"] {
  box-shadow: var(--inset);
}
.depth-view > .window[data-window] {
  transform: perspective(1500px) rotateY(-12deg) rotateX(6deg) scale(0.94) !important;
  transform-origin: 35% 50%;
  box-shadow:
    var(--bevel),
    7px 4px 0 var(--brand-border),
    13px 8px 0 #565656,
    26px 30px 0 #003d3d70;
}
.depth-view > .about-window {
  transform: perspective(1100px) rotateY(-20deg) rotateX(9deg) translateY(-18px) !important;
}
.depth-view > .small-window {
  transform: translateX(-50%) perspective(1100px) rotateY(-10deg) rotateX(5deg) !important;
}
.depth-view > .maximized {
  transform: perspective(1600px) rotateY(-8deg) rotateX(4deg) scale(0.89) !important;
}
.depth-view .wallpaper {
  transform: perspective(600px) rotateY(-22deg) rotateX(6deg) translateY(-5px) !important;
}
.depth-view > .window[data-window].dragging {
  transform: none !important;
}
@media (max-width: 760px) {
  .depth-button {
    font-size: 0.75rem;
    padding: 5px 7px;
  }
  .depth-view > .small-window {
    transform: perspective(1100px) rotateY(-10deg) rotateX(5deg) !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .depth-view > .window[data-window] {
    transform: none !important;
    box-shadow:
      var(--bevel),
      10px 10px 0 #003d3d70;
  }
  .depth-view > .small-window {
    transform: translateX(-50%) !important;
  }
  .depth-view .wallpaper {
    transform: none !important;
  }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .depth-view > .small-window {
    transform: none !important;
  }
}
/* Keep the classic desktop readable at small sizes. */
.desktop-icon,
.file-name,
.menubar button,
.titlebar h1,
.titlebar h2,
.folders button,
.task-button {
  font-size: 14px;
}
.file-category,
.files-heading,
.statusbar,
.sidebar-foot,
.toolbar-button,
.desktop-caption,
.desktop-hint,
.note-meta,
.credits,
.tray,
.depth-button {
  font-size: 12px;
}
.notepad-body p,
.dialog-content p,
.help-content ul,
.project-description p {
  font-size: 16px;
}
.explorer-sidebar {
  overflow-y: auto;
}
.desktop-icon {
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  .desktop-icon {
    font-size: 12px;
  }
  .work-window {
    top: 128px;
    height: calc(100dvh - 217px);
  }
  .file-name {
    font-size: 13px;
  }
  .folders button {
    font-size: 12px;
  }
  .titlebar h1,
  .titlebar h2 {
    font-size: 13px;
  }
  .task-button {
    font-size: 12px;
  }
  .desktop-caption {
    font-size: 10px;
  }
  .statusbar,
  .file-category {
    font-size: 12px;
  }
}
.desktop {
  min-height: 0;
}
.start-options {
  overflow-y: auto;
  min-height: 0;
}
.desktop-caption {
  font-size: 12px;
}
@media (max-height: 560px) and (min-width: 761px) {
  .desktop-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-content: start;
    width: 118px;
    left: 5px;
    top: 48px;
    gap: 16px 3px;
    bottom: 8px;
  }
  .desktop-icon {
    width: auto;
    font-size: 12px;
    min-height: 65px;
  }
  .desktop-icon img {
    width: 29px;
    height: 29px;
  }
  .recycle-icon {
    margin-top: 0;
  }
  .work-window {
    top: 47px;
    height: calc(100dvh - 112px);
  }
  .viewer-window {
    top: 15px;
    height: calc(100dvh - 75px);
  }
  .explorer-sidebar .sidebar-icon,
  .explorer-sidebar > p {
    display: none;
  }
  .explorer-sidebar h2 {
    margin: 0 0 10px;
  }
  .explorer-sidebar {
    padding: 12px;
  }
  .toolbar {
    min-height: 38px;
    padding: 3px;
  }
  .toolbar-button {
    height: 30px;
    flex-direction: row;
    gap: 6px;
  }
  .toolbar-button img {
    width: 22px;
    height: 22px;
  }
  .toolbar-divider {
    height: 25px;
  }
  .toolbar-end img {
    width: 25px;
    height: 25px;
  }
  .desktop-caption {
    font-size: 12px;
  }
  .small-window {
    top: 25px;
    max-height: calc(100dvh - 85px);
  }
}
