:root {
  --teal: #008080;
  --gray: #c0c0c0;
  --gray-light: #dfdfdf;
  --gray-lighter: #ececec;
  --white: #ffffff;
  --shadow: #808080;
  --shadow-dark: #404040;
  --black: #000000;
  --navy: #000080;
  --navy-bright: #1084d0;
  --highlight: #ffff80;
  --link: #0000ee;
  --error: #aa0000;

  --font-chrome: "MS Sans Serif", Tahoma, Geneva, Verdana, sans-serif;
  --font-pixel: "VT323", "Courier New", monospace;
  --font-body: Tahoma, Geneva, Verdana, sans-serif;
}

* {
  box-sizing: border-box;
}

.screensaver {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: #000;
  cursor: none;
}
.screensaver canvas {
  display: block;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  font-family: var(--font-chrome);
  font-size: 11px;
  color: var(--black);
  user-select: none;
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}

/* DESKTOP CHROME */

#desktop {
  position: fixed;
  inset: 0;
  background: var(--teal);
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='4' height='4'><rect width='1' height='1' fill='%23006666' x='0' y='0'/><rect width='1' height='1' fill='%23006666' x='2' y='2'/></svg>");
  overflow: hidden;
}

/* BEVEL HELPERS */

.bevel-out {
  background: var(--gray);
  border: 2px solid;
  border-color: var(--white) var(--shadow-dark) var(--shadow-dark) var(--white);
  box-shadow: inset 1px 1px 0 0 var(--gray-light), inset -1px -1px 0 0 var(--shadow);
}
.bevel-in {
  background: var(--gray);
  border: 2px solid;
  border-color: var(--shadow-dark) var(--white) var(--white) var(--shadow-dark);
  box-shadow: inset 1px 1px 0 0 var(--shadow), inset -1px -1px 0 0 var(--gray-light);
}
.bevel-field {
  background: var(--white);
  border: 2px solid;
  border-color: var(--shadow) var(--white) var(--white) var(--shadow);
  box-shadow: inset 1px 1px 0 0 var(--shadow-dark), inset -1px -1px 0 0 var(--gray-light);
}

/* DESKTOP ICONS */

.desktop-grid {
  position: absolute;
  top: 12px;
  left: 12px;
  bottom: 44px;
  display: grid;
  grid-template-rows: repeat(6, 88px);
  grid-auto-flow: column;
  grid-auto-columns: 86px;
  gap: 4px 4px;
  z-index: 1;
  pointer-events: none;
}

.desktop-icon {
  pointer-events: auto;
  width: 86px;
  height: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 4px;
  background: transparent;
  border: 1px dotted transparent;
  cursor: pointer;
  color: var(--white);
  text-align: center;
  text-shadow: 1px 1px 0 var(--black);
  font-family: var(--font-chrome);
  font-size: 11px;
  line-height: 1.15;
}
.desktop-icon:focus { outline: none; }
.desktop-icon.selected {
  background: rgba(0,0,128,0.4);
  border: 1px dotted var(--white);
}
.desktop-icon .icon-img {
  width: 48px;
  height: 48px;
  margin-bottom: 4px;
  image-rendering: auto;
  filter: drop-shadow(1px 1px 0 rgba(0,0,0,0.5));
}
.desktop-icon .icon-label {
  max-width: 78px;
  word-wrap: break-word;
  padding: 1px 3px;
}
.desktop-icon.selected .icon-label {
  background: var(--navy);
  color: var(--white);
}

/* WINDOW */

.win {
  position: absolute;
  min-width: 200px;
  min-height: 120px;
  background: var(--gray);
  border: 2px solid;
  border-color: var(--white) var(--shadow-dark) var(--shadow-dark) var(--white);
  box-shadow:
    inset 1px 1px 0 0 var(--gray-light),
    inset -1px -1px 0 0 var(--shadow),
    2px 2px 0 0 var(--black);
  display: flex;
  flex-direction: column;
  font-family: var(--font-chrome);
  font-size: 11px;
}
.win.inactive .win-title { background: var(--shadow); }
.win.inactive .win-title-text { color: var(--gray-light); }

.win-title {
  display: flex;
  align-items: center;
  height: 22px;
  padding: 2px 2px 2px 4px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy-bright) 100%);
  color: var(--white);
  font-weight: bold;
  cursor: move;
  user-select: none;
  flex-shrink: 0;
}
.win-title-icon {
  width: 16px;
  height: 16px;
  margin-right: 4px;
  image-rendering: pixelated;
  flex-shrink: 0;
}
.win-title-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11px;
}
.win-title-btns {
  display: flex;
  gap: 2px;
}
.win-title-btn {
  width: 18px;
  height: 16px;
  background: var(--gray);
  border: 1.5px solid;
  border-color: var(--white) var(--shadow-dark) var(--shadow-dark) var(--white);
  box-shadow: inset 1px 1px 0 var(--gray-light), inset -1px -1px 0 var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  padding: 0;
  font-family: var(--font-chrome);
  font-size: 10px;
  font-weight: bold;
  line-height: 1;
  cursor: pointer;
}
.win-title-btn:active {
  border-color: var(--shadow-dark) var(--white) var(--white) var(--shadow-dark);
  box-shadow: inset 1px 1px 0 var(--shadow), inset -1px -1px 0 var(--gray-light);
}
.win-title-btn svg { display: block; }

.win-menu {
  display: flex;
  gap: 0;
  padding: 1px 2px;
  background: var(--gray);
  border-bottom: 1px solid var(--shadow);
  font-size: 11px;
}
.win-menu .item {
  padding: 2px 8px;
  cursor: default;
}
.win-menu .item u { text-decoration: underline; }
.win-menu .item:hover {
  background: var(--navy);
  color: var(--white);
}

.win-body {
  flex: 1;
  overflow: auto;
  position: relative;
  display: flex;
  flex-direction: column;
}

.win-statusbar {
  display: flex;
  align-items: center;
  padding: 2px;
  gap: 2px;
  border-top: 1px solid var(--shadow);
  background: var(--gray);
  font-size: 11px;
  flex-shrink: 0;
}
.win-statusbar .seg {
  flex: 1;
  padding: 2px 6px;
  border: 1.5px solid;
  border-color: var(--shadow) var(--white) var(--white) var(--shadow);
  background: var(--gray);
}
.win-statusbar .seg.flex-2 { flex: 2; }

.win-content {
  padding: 12px;
  background: var(--gray);
  color: var(--black);
  line-height: 1.45;
}

/* scrollbar styling */
.win-body::-webkit-scrollbar { width: 16px; height: 16px; background: var(--gray-light); }
.win-body::-webkit-scrollbar-track {
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='2' height='2'><rect width='1' height='1' fill='%23c0c0c0'/><rect x='1' y='1' width='1' height='1' fill='%23c0c0c0'/><rect x='1' y='0' width='1' height='1' fill='%23ffffff'/><rect x='0' y='1' width='1' height='1' fill='%23ffffff'/></svg>");
}
.win-body::-webkit-scrollbar-thumb {
  background: var(--gray);
  border: 2px solid;
  border-color: var(--white) var(--shadow-dark) var(--shadow-dark) var(--white);
  box-shadow: inset 1px 1px 0 var(--gray-light), inset -1px -1px 0 var(--shadow);
}
.win-body::-webkit-scrollbar-corner { background: var(--gray); }

/* TASKBAR */

.taskbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: 32px;
  background: var(--gray);
  border-top: 2px solid var(--white);
  box-shadow: inset 0 1px 0 0 var(--gray-light);
  display: flex;
  align-items: center;
  padding: 2px 2px 2px 2px;
  gap: 4px;
  z-index: 8000;
  font-family: var(--font-chrome);
  font-size: 11px;
}

.start-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px 2px 4px;
  height: 26px;
  background: var(--gray);
  border: 2px solid;
  border-color: var(--white) var(--shadow-dark) var(--shadow-dark) var(--white);
  box-shadow: inset 1px 1px 0 var(--gray-light), inset -1px -1px 0 var(--shadow);
  font-weight: bold;
  font-size: 12px;
  cursor: pointer;
}
.start-btn.active,
.start-btn:active {
  border-color: var(--shadow-dark) var(--white) var(--white) var(--shadow-dark);
  box-shadow: inset 1px 1px 0 var(--shadow), inset -1px -1px 0 var(--gray-light);
}
.start-btn-flag {
  display: inline-block;
  width: 18px;
  height: 18px;
  image-rendering: pixelated;
}

.taskbar-divider {
  width: 0;
  height: 24px;
  border-left: 1px solid var(--shadow);
  border-right: 1px solid var(--white);
  margin: 0 2px;
}

.task-buttons {
  flex: 1;
  display: flex;
  gap: 3px;
  overflow: hidden;
}
.task-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  height: 26px;
  min-width: 130px;
  max-width: 180px;
  background: var(--gray);
  border: 2px solid;
  border-color: var(--white) var(--shadow-dark) var(--shadow-dark) var(--white);
  box-shadow: inset 1px 1px 0 var(--gray-light), inset -1px -1px 0 var(--shadow);
  font-family: var(--font-chrome);
  font-size: 11px;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.task-btn .ico { width: 14px; height: 14px; image-rendering: pixelated; flex-shrink: 0;}
.task-btn .lbl { overflow: hidden; text-overflow: ellipsis; }
.task-btn.active {
  border-color: var(--shadow-dark) var(--white) var(--white) var(--shadow-dark);
  box-shadow: inset 1px 1px 0 var(--shadow), inset -1px -1px 0 var(--gray-light);
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='2' height='2'><rect width='1' height='1' fill='%23ffffff'/><rect x='1' y='1' width='1' height='1' fill='%23ffffff'/></svg>"),
    var(--gray);
  font-weight: bold;
}

.tray {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 26px;
  padding: 0 6px;
  border: 2px solid;
  border-color: var(--shadow) var(--white) var(--white) var(--shadow);
  font-family: var(--font-chrome);
  font-size: 11px;
}
.tray .icn {
  width: 16px; height: 16px;
  image-rendering: pixelated;
  cursor: pointer;
}

/* START MENU */

.start-menu {
  position: fixed;
  bottom: 32px;
  left: 2px;
  width: 220px;
  background: var(--gray);
  border: 2px solid;
  border-color: var(--white) var(--shadow-dark) var(--shadow-dark) var(--white);
  box-shadow: 2px 2px 0 0 var(--black);
  display: flex;
  z-index: 9500;
  font-family: var(--font-chrome);
  font-size: 12px;
}
.start-menu-rail {
  width: 26px;
  background: linear-gradient(0deg, var(--navy) 0%, var(--navy-bright) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 12px;
  color: var(--white);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-weight: bold;
  font-size: 18px;
  letter-spacing: 1px;
}
.start-menu-rail b { color: var(--white); }
.start-menu-list {
  flex: 1;
  padding: 2px 2px 22px 2px;
  display: flex;
  flex-direction: column;
}
.start-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 18px 5px 6px;
  font-size: 12px;
  cursor: pointer;
}
.start-menu-item img { width: 24px; height: 24px; image-rendering: pixelated;}
.start-menu-item:hover {
  background: var(--navy);
  color: var(--white);
}
.start-menu-sep {
  height: 1px;
  background: var(--shadow);
  border-bottom: 1px solid var(--white);
  margin: 2px 2px;
}

/* CASE STUDY WINDOW */

.cs-toolbar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: var(--gray);
  border-bottom: 1px solid var(--shadow);
}
.cs-toolbar button {
  padding: 3px 8px;
  background: var(--gray);
  border: 2px solid;
  border-color: var(--white) var(--shadow-dark) var(--shadow-dark) var(--white);
  box-shadow: inset 1px 1px 0 var(--gray-light), inset -1px -1px 0 var(--shadow);
  font-family: var(--font-chrome);
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.cs-toolbar button:active {
  border-color: var(--shadow-dark) var(--white) var(--white) var(--shadow-dark);
  box-shadow: inset 1px 1px 0 var(--shadow), inset -1px -1px 0 var(--gray-light);
}
.cs-toolbar button:disabled {
  color: var(--shadow);
  text-shadow: 1px 1px 0 var(--white);
  cursor: not-allowed;
}
.cs-addr {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 4px;
}
.cs-addr .lbl { font-size: 11px; }
.cs-addr .field {
  flex: 1;
  background: var(--white);
  border: 2px solid;
  border-color: var(--shadow) var(--white) var(--white) var(--shadow);
  padding: 3px 6px;
  font-family: var(--font-chrome);
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cs-addr .field img { width: 12px; height: 12px; image-rendering: pixelated;}

.cs-content {
  padding: 18px 22px;
  background: var(--white);
  min-height: 100%;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--black);
  line-height: 1.55;
}
.cs-content h1 {
  font-family: var(--font-pixel);
  font-size: 40px;
  margin: 0 0 4px 0;
  letter-spacing: 0.5px;
  color: var(--navy);
}
.cs-content .role {
  font-family: var(--font-chrome);
  font-size: 11px;
  color: var(--shadow-dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--shadow);
}
.cs-content h2 {
  font-family: var(--font-chrome);
  font-size: 13px;
  margin: 18px 0 6px 0;
  background: var(--navy);
  color: var(--white);
  padding: 3px 8px;
  display: inline-block;
}
.cs-content p { margin: 0 0 10px 0; }
.cs-content a { color: var(--link); }
.cs-content .open-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--gray);
  border: 2px solid;
  border-color: var(--white) var(--shadow-dark) var(--shadow-dark) var(--white);
  box-shadow: inset 1px 1px 0 var(--gray-light), inset -1px -1px 0 var(--shadow);
  color: var(--black);
  text-decoration: none;
  font-family: var(--font-chrome);
  font-weight: bold;
  font-size: 12px;
  margin-top: 8px;
}
.cs-content .open-cta:active {
  border-color: var(--shadow-dark) var(--white) var(--white) var(--shadow-dark);
  box-shadow: inset 1px 1px 0 var(--shadow), inset -1px -1px 0 var(--gray-light);
}
.cs-content .shot {
  width: 100%;
  aspect-ratio: 16 / 9;
  background:
    repeating-linear-gradient(45deg, #e8e8e8 0 8px, #d8d8d8 8px 16px);
  border: 2px solid;
  border-color: var(--shadow) var(--white) var(--white) var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-pixel);
  font-size: 24px;
  color: var(--shadow-dark);
  margin: 12px 0;
}

/* NOTEPAD */
.notepad-body {
  background: var(--white);
  height: 100%;
  padding: 8px 12px 12px;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  color: var(--black);
  white-space: pre-wrap;
  overflow: auto;
  -webkit-font-smoothing: auto;
  font-smooth: auto;
}
.notepad-body h3 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: bold;
  margin: 0 0 6px 0;
}
.notepad-body em { font-style: italic; color: var(--shadow-dark); }

/* TRASH */
.trash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 92px);
  gap: 6px;
  padding: 12px;
  background: var(--white);
  min-height: 100%;
  align-content: start;
}
.trash-item {
  width: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  padding: 4px;
  border: 1px dotted transparent;
}
.trash-item:hover { background: var(--gray-light); }
.trash-item .icn {
  width: 34px; height: 34px; image-rendering: pixelated;
  filter: grayscale(0.4) opacity(0.85);
}
.trash-item .lbl {
  font-family: var(--font-chrome);
  font-size: 11px;
  text-align: center;
  word-break: break-word;
  line-height: 1.1;
}

/* GUESTBOOK / EMAIL */
.mail-window .win-body { background: var(--gray); padding: 8px; }
.mail-toolbar {
  display: flex;
  gap: 2px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--shadow);
  margin-bottom: 8px;
}
.mail-toolbar button {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 48px;
  padding: 3px 2px;
  background: var(--gray);
  border: 2px solid;
  border-color: var(--white) var(--shadow-dark) var(--shadow-dark) var(--white);
  box-shadow: inset 1px 1px 0 var(--gray-light), inset -1px -1px 0 var(--shadow);
  font-family: var(--font-chrome);
  font-size: 10px;
  gap: 2px;
}
.mail-toolbar button:active {
  border-color: var(--shadow-dark) var(--white) var(--white) var(--shadow-dark);
  box-shadow: inset 1px 1px 0 var(--shadow), inset -1px -1px 0 var(--gray-light);
}
.mail-toolbar .micon { width: 20px; height: 20px; image-rendering: pixelated;}
.mail-fields { display: grid; grid-template-columns: 60px 1fr; gap: 4px 8px; align-items: center; }
.mail-fields label { font-size: 11px; }
.mail-fields input, .mail-fields textarea {
  background: var(--white);
  border: 2px solid;
  border-color: var(--shadow) var(--white) var(--white) var(--shadow);
  padding: 4px 6px;
  font-family: var(--font-chrome);
  font-size: 12px;
  width: 100%;
}
.mail-fields textarea {
  resize: vertical;
  min-height: 110px;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.4;
}
.mail-send {
  margin-top: 10px;
  align-self: flex-start;
  padding: 5px 18px;
  background: var(--gray);
  border: 2px solid;
  border-color: var(--white) var(--shadow-dark) var(--shadow-dark) var(--white);
  box-shadow: inset 1px 1px 0 var(--gray-light), inset -1px -1px 0 var(--shadow);
  font-family: var(--font-chrome);
  font-size: 12px;
  font-weight: bold;
}
.mail-send:active {
  border-color: var(--shadow-dark) var(--white) var(--white) var(--shadow-dark);
  box-shadow: inset 1px 1px 0 var(--shadow), inset -1px -1px 0 var(--gray-light);
}

/* DIALOG (modal) */
.dlg-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dlg {
  min-width: 320px;
  max-width: 420px;
  background: var(--gray);
  border: 2px solid;
  border-color: var(--white) var(--shadow-dark) var(--shadow-dark) var(--white);
  box-shadow: 2px 2px 0 0 var(--black);
  font-family: var(--font-chrome);
  font-size: 11px;
}
.dlg .dlg-title {
  display: flex; align-items: center; justify-content: space-between;
  height: 22px; padding: 2px 2px 2px 4px;
  background: linear-gradient(90deg, var(--navy), var(--navy-bright));
  color: var(--white); font-weight: bold; font-size: 11px;
}
.dlg .dlg-body { padding: 18px 18px 8px 18px; display: flex; gap: 16px; align-items: flex-start; }
.dlg .dlg-body p { margin: 0; font-size: 12px; line-height: 1.4; white-space: pre-line; }
.dlg .dlg-icon { width: 32px; height: 32px; image-rendering: pixelated; flex-shrink: 0;}
.dlg .dlg-btns { display: flex; gap: 6px; justify-content: center; padding: 8px 12px 16px 12px; }
.dlg .dlg-btns button {
  min-width: 76px; padding: 4px 12px;
  background: var(--gray);
  border: 2px solid;
  border-color: var(--white) var(--shadow-dark) var(--shadow-dark) var(--white);
  box-shadow: inset 1px 1px 0 var(--gray-light), inset -1px -1px 0 var(--shadow);
  font-family: var(--font-chrome); font-size: 11px;
}
.dlg .dlg-btns button:active {
  border-color: var(--shadow-dark) var(--white) var(--white) var(--shadow-dark);
  box-shadow: inset 1px 1px 0 var(--shadow), inset -1px -1px 0 var(--gray-light);
}
.dlg .dlg-btns .primary {
  outline: 1px dotted var(--black); outline-offset: -4px;
  font-weight: bold;
}

/* MASCOT — BLIP the floppy */
.mascot {
  position: fixed;
  z-index: 9600;
  width: 200px;
  pointer-events: none;
}
.mascot-bubble {
  position: relative;
  background: #FFFFCC;
  border: 1px solid var(--black);
  padding: 12px 14px 10px;
  font-family: var(--font-chrome);
  font-size: 11px;
  color: var(--black);
  line-height: 1.35;
  pointer-events: auto;
  margin-bottom: 6px;
  box-shadow: 2px 2px 0 0 var(--black);
}
.mascot-bubble::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 60%;
  width: 0; height: 0;
  border: 8px solid transparent;
  border-top-color: #FFFFCC;
  border-bottom: 0;
}
.mascot-bubble::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 60%;
  width: 0; height: 0;
  border: 9px solid transparent;
  border-top-color: var(--black);
  border-bottom: 0;
}
.mascot-bubble button {
  display: block;
  background: var(--gray);
  border: 2px solid;
  border-color: var(--white) var(--shadow-dark) var(--shadow-dark) var(--white);
  box-shadow: inset 1px 1px 0 var(--gray-light), inset -1px -1px 0 var(--shadow);
  padding: 2px 8px;
  margin-top: 6px;
  font-size: 11px;
  font-family: var(--font-chrome);
}
.mascot-bubble button + button { margin-left: 0; }
.mascot-bubble .x {
  position: absolute; top: 4px; right: 6px;
  background: none; border: 0; box-shadow: none;
  padding: 0; margin: 0; font-weight: bold; cursor: pointer;
  font-family: var(--font-chrome); font-size: 12px;
}
.mascot-char {
  pointer-events: auto;
  cursor: pointer;
  display: block;
  margin-left: auto;
  width: 96px;
  height: 110px;
  image-rendering: pixelated;
}

/* ABOUT / WELCOME content */
.about-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
  padding: 18px;
  background: var(--gray);
}
.about-avatar {
  width: 200px; height: 200px;
  border: 2px solid;
  border-color: var(--shadow) var(--white) var(--white) var(--shadow);
}
.about-text h2 {
  font-family: var(--font-pixel);
  font-size: 28px;
  margin: 0 0 4px 0;
  color: var(--black);
}
.about-text .sub { font-size: 11px; color: var(--shadow-dark); margin-bottom: 8px; }
.about-text p { font-size: 12px; line-height: 1.5; margin: 0 0 8px 0; }
.about-links {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px;
}
.about-links a {
  padding: 3px 10px;
  background: var(--gray);
  border: 2px solid;
  border-color: var(--white) var(--shadow-dark) var(--shadow-dark) var(--white);
  box-shadow: inset 1px 1px 0 var(--gray-light), inset -1px -1px 0 var(--shadow);
  font-family: var(--font-chrome);
  font-size: 11px;
  color: var(--black);
  text-decoration: none;
}
.about-links a:active {
  border-color: var(--shadow-dark) var(--white) var(--white) var(--shadow-dark);
  box-shadow: inset 1px 1px 0 var(--shadow), inset -1px -1px 0 var(--gray-light);
}

/* PROJECTS FOLDER */
.folder-body {
  background: var(--white);
  min-height: 100%;
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fill, 92px);
  gap: 6px;
  align-content: start;
}
.folder-icon {
  width: 92px;
  display: flex; flex-direction: column; align-items: center;
  padding: 6px 4px;
  cursor: pointer;
  text-align: center;
  border: 1px dotted transparent;
}
.folder-icon:hover { background: var(--gray-light); }
.folder-icon img { width: 32px; height: 32px; image-rendering: auto; margin-bottom: 4px; }
.folder-icon .lbl { font-size: 11px; line-height: 1.15; word-break: break-word; }

/* No-text-select for chrome; allow it for content */
.cs-content, .notepad-body, .mail-fields input, .mail-fields textarea {
  user-select: text;
  -webkit-font-smoothing: auto !important;
  font-smooth: auto !important;
}

/* loading-bar (welcome dialog) */
.loadbar {
  height: 16px;
  background: var(--white);
  border: 2px solid;
  border-color: var(--shadow) var(--white) var(--white) var(--shadow);
  padding: 1px;
  display: flex;
  gap: 2px;
}
.loadbar .seg {
  flex: 1;
  background: var(--navy);
}
.loadbar .seg.off { background: transparent; }
