/* johnarndt.net /about: one readable Notepad-style window on the teal desktop. */
:root {
  --teal: #008080; --face: #c0c0c0; --shadow: #808080; --dark: #000; --light: #fff; --navy: #000080; --blue: #1084d0;
  --font: Tahoma, "MS Sans Serif", "Segoe UI", Verdana, Arial, sans-serif;
  --mono: "Courier New", Courier, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--teal); color: #000; font: 15px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--navy); }
::selection { background: var(--navy); color: #fff; }

.page { padding: 24px 16px 40px; }
.win { max-width: 820px; margin: 0 auto; background: var(--face); padding: 3px; box-shadow: inset -1px -1px var(--dark), inset 1px 1px #dfdfdf, inset -2px -2px var(--shadow), inset 2px 2px var(--light); }
.tbar { display: flex; align-items: center; gap: 6px; min-height: 22px; padding: 2px 3px 2px 4px; background: linear-gradient(90deg, var(--navy), var(--blue)); color: #fff; font: bold 13px/1.2 var(--font); }
.ti { width: 16px; height: 16px; image-rendering: pixelated; }
.ttl { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tbtn { width: 18px; height: 16px; display: grid; place-items: center; font: bold 11px/1 var(--font); color: #000; text-decoration: none; background: var(--face); box-shadow: inset -1px -1px var(--dark), inset 1px 1px var(--light), inset -2px -2px var(--shadow), inset 2px 2px #dfdfdf; }
.tbtn:active { box-shadow: inset 1px 1px var(--dark), inset -1px -1px var(--light), inset 2px 2px var(--shadow); }
.menubar { display: flex; flex-wrap: wrap; gap: 0 2px; padding: 2px 0; font-size: 13px; }
.menubar a { padding: 1px 7px; color: #000; text-decoration: none; }
.menubar a:hover, .menubar a:focus-visible { background: var(--navy); color: #fff; outline: none; }

.doc { background: #fff; padding: 20px 28px 28px; box-shadow: inset 1px 1px var(--shadow), inset -1px -1px var(--light), inset 2px 2px var(--dark), inset -2px -2px #dfdfdf; }
.doc h1 { margin: 0 0 10px; font: bold 30px/1.2 var(--font); }
.doc h2 { margin: 36px -8px 12px; padding: 3px 8px; font: bold 17px/1.3 var(--font); color: #fff; background: var(--navy); scroll-margin-top: 12px; }
.doc h3 { margin: 22px 0 4px; font: bold 15px/1.35 var(--font); }
.doc p, .doc li { max-width: 68ch; }
.doc p { margin: 0 0 12px; }
.doc .lede { font-size: 17px; line-height: 1.55; padding: 10px 12px; background: #ffffe1; border: 1px solid #000; }
.doc ul, .doc ol { margin: 0 0 12px; padding-left: 22px; }
.doc li { margin-bottom: 6px; }

.tablewrap { overflow-x: auto; }
.facts { width: 100%; border-collapse: collapse; font-size: 14px; }
.facts th, .facts td { text-align: left; vertical-align: top; padding: 6px 10px; border: 1px solid var(--shadow); }
.facts th { width: 11em; background: var(--face); font-weight: bold; white-space: nowrap; }
.facts tr:nth-child(even) td { background: #f4f4f4; }

.statusbar { display: flex; gap: 2px; padding-top: 3px; font-size: 12px; }
.statusbar span { flex: 1; padding: 2px 6px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; box-shadow: inset 1px 1px var(--shadow), inset -1px -1px var(--light); }

@media (max-width: 720px) {
  body { font-size: 15px; }
  .page { padding: 8px 0 24px; }
  .win { max-width: none; }
  .doc { padding: 14px 16px 20px; }
  .doc h1 { font-size: 25px; }
  .doc h2 { margin-left: -16px; margin-right: -16px; padding-left: 16px; }
  .facts th { width: auto; white-space: normal; }
  .facts th, .facts td { display: block; border-top: 0; }
  .facts tr:first-child th { border-top: 1px solid var(--shadow); }
  .facts td { background: #fff !important; }
  .statusbar span:nth-child(3) { display: none; }
}
