:root {
  color-scheme: light;
  --desktop: #008080;
  --desktop-dark: #006f70;
  --win-gray: #c0c0c0;
  --win-light: #ffffff;
  --win-mid: #dfdfdf;
  --win-shadow: #808080;
  --win-dark: #000000;
  --title: #000080;
  --title-light: #1084d0;
  --ink: #111111;
  --link: #0000ee;
  --focus: #ffea00;
  --safe: #0b6b26;
  --warn: #7a2500;
  --unknown: #5d3d00;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 0;
  background: var(--desktop);
  overflow-x: clip;
  scrollbar-gutter: stable;
  scroll-padding-bottom: 76px;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.035) 25%, transparent 25%) 0 0 / 8px 8px,
    linear-gradient(315deg, rgba(0, 0, 0, 0.035) 25%, transparent 25%) 0 0 / 8px 8px,
    var(--desktop);
  font-family: Tahoma, "MS Sans Serif", Geneva, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--link);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px #000;
  scroll-margin-block: 84px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 12px 16px;
  color: #000;
  background: #fff;
  border: 3px solid #000;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.desktop-shell {
  display: grid;
  grid-template-columns: 136px minmax(0, 1040px);
  gap: 22px;
  align-items: start;
  justify-content: center;
  min-height: 100vh;
  padding: 24px 24px 84px;
}

.desktop-icons {
  display: grid;
  gap: 8px;
  align-content: start;
}

.desktop-shortcut {
  display: grid;
  place-items: center;
  gap: 4px;
  min-height: 96px;
  padding: 8px 4px;
  color: #fff;
  background: transparent;
  border: 2px solid transparent;
  text-align: center;
  text-decoration: none;
  text-shadow: 1px 1px #000;
  cursor: pointer;
}

.desktop-shortcut:hover,
.desktop-shortcut:focus-visible {
  background: rgba(0, 0, 128, 0.36);
  border-color: rgba(255, 255, 255, 0.7);
}

.shortcut-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  font-size: 34px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.12);
  border: 1px dotted rgba(255, 255, 255, 0.65);
}

.window {
  background: var(--win-gray);
  border-top: 3px solid var(--win-light);
  border-left: 3px solid var(--win-light);
  border-right: 3px solid var(--win-dark);
  border-bottom: 3px solid var(--win-dark);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.35);
}

.main-window {
  min-width: 0;
  max-width: 1040px;
}

.not-found-shell {
  width: min(720px, calc(100% - 24px));
  margin: clamp(24px, 10vh, 96px) auto 84px;
}

.not-found-panel {
  min-height: 0;
}

.main-window.is-maximized {
  position: fixed;
  inset: 8px 8px 60px;
  z-index: 500;
  width: auto;
  max-width: none;
  overflow: auto;
}

.title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  padding: 4px;
  color: #fff;
  background: linear-gradient(90deg, var(--title), var(--title-light));
}

.title-bar-text {
  overflow: hidden;
  padding-inline: 8px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.title-controls {
  display: flex;
  gap: 3px;
}

.title-button,
.retro-button,
.menu-bar button,
.property-tabs button,
.start-button,
.task-button,
.start-items button {
  color: #000;
  background: var(--win-gray);
  border-top: 3px solid var(--win-light);
  border-left: 3px solid var(--win-light);
  border-right: 3px solid var(--win-dark);
  border-bottom: 3px solid var(--win-dark);
  box-shadow: inset -1px -1px 0 var(--win-shadow), inset 1px 1px 0 var(--win-mid);
  cursor: pointer;
}

.title-button:active,
.retro-button:active,
.menu-bar button:active,
.property-tabs button[aria-selected="true"],
.start-button[aria-expanded="true"],
.task-button[aria-expanded="true"],
.start-items button:active {
  border-top-color: var(--win-dark);
  border-left-color: var(--win-dark);
  border-right-color: var(--win-light);
  border-bottom-color: var(--win-light);
  box-shadow: inset 1px 1px 0 var(--win-shadow);
}

.title-button {
  display: grid;
  place-items: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.menu-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 2px 4px;
  border-bottom: 1px solid var(--win-shadow);
}

.menu-bar button {
  min-height: 44px;
  padding: 6px 12px;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.menu-bar button:hover {
  color: #fff;
  background: var(--title);
}

.address-bar {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: center;
  padding: 5px 7px;
  border-top: 1px solid var(--win-light);
  border-bottom: 1px solid var(--win-shadow);
}

.address-label {
  font-size: 0.875rem;
}

.address-bar output {
  display: block;
  min-width: 0;
  padding: 7px 9px;
  overflow: hidden;
  background: #fff;
  border-top: 2px solid var(--win-shadow);
  border-left: 2px solid var(--win-shadow);
  border-right: 2px solid var(--win-light);
  border-bottom: 2px solid var(--win-light);
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.window-body {
  padding: 12px;
}

.status-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 14px;
  padding: 8px;
  color: #fff;
  background: #3c0000;
  border: 2px solid #fff;
  outline: 2px solid #3c0000;
  font-family: "Courier New", monospace;
  letter-spacing: 0.04em;
}

.status-banner span,
.status-banner strong {
  padding: 2px 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.65);
}

.web-disclosure {
  margin: -2px 0 14px;
  padding: 9px 12px;
  color: #fff;
  background: #24324a;
  border-left: 7px solid #fff;
  font-family: "Courier New", monospace;
  font-size: 0.86rem;
}

.priority-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
  padding: 9px 12px;
  background: #fffad1;
  border: 3px double #000;
}

.priority-strip p {
  margin: 0;
  font-size: 0.9rem;
}

.property-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  align-items: end;
  padding-inline: 8px;
}

.property-tabs button {
  min-height: 44px;
  padding: 8px 14px;
  border-bottom-color: var(--win-gray);
  font-weight: 700;
}

.property-tabs button[aria-selected="true"] {
  position: relative;
  z-index: 2;
  transform: translateY(3px);
  background: var(--win-gray);
  border-bottom-color: var(--win-gray);
}

.property-panel {
  min-height: 520px;
  padding: clamp(16px, 3vw, 28px);
  background: var(--win-gray);
  border-top: 3px solid var(--win-light);
  border-left: 3px solid var(--win-light);
  border-right: 3px solid var(--win-shadow);
  border-bottom: 3px solid var(--win-shadow);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(360px, 0.85fr);
  gap: 24px;
  align-items: center;
  min-height: 560px;
  padding: clamp(18px, 4vw, 42px);
  overflow: hidden;
  background: #071733;
  border-top: 4px solid var(--win-shadow);
  border-left: 4px solid var(--win-shadow);
  border-right: 4px solid var(--win-light);
  border-bottom: 4px solid var(--win-light);
}

.image-frame {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  background: #111;
  border: 0;
}

.image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.image-frame figcaption {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 1;
  max-width: min(55%, 520px);
  padding: 8px 4px 2px;
  color: #fff;
  background: rgba(0, 0, 0, 0.82);
  font-family: "Courier New", monospace;
  font-size: 0.78rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
  grid-column: 2;
  padding: clamp(18px, 3vw, 30px);
  background: rgba(224, 224, 224, 0.96);
  border-top: 4px solid var(--win-light);
  border-left: 4px solid var(--win-light);
  border-right: 4px solid var(--win-dark);
  border-bottom: 4px solid var(--win-dark);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.38);
}

.relationship-summary {
  padding: 10px 12px;
  background: #fffad1;
  border-left: 7px solid #7a2500;
}

.external-handoff {
  margin: 12px 0 0;
  font-size: 0.86rem;
}

.mobile-copy {
  display: none;
}

.eyebrow {
  margin: 0 0 8px;
  color: #333;
  font-family: "Courier New", monospace;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-family: "Courier New", monospace;
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
}

h2 {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  line-height: 1.1;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.lead {
  font-size: clamp(1.15rem, 2.3vw, 1.45rem);
  font-weight: 700;
  line-height: 1.35;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.retro-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 9px 16px;
  color: #000;
  text-align: center;
  text-decoration: none;
}

.primary-button {
  color: #fff;
  background: var(--title);
  font-weight: 700;
}

.inset-panel,
.callout,
.copy-block,
.warning-panel,
.host-grid article,
.boundary-list article {
  padding: 16px;
  background: var(--win-mid);
  border-top: 3px solid var(--win-shadow);
  border-left: 3px solid var(--win-shadow);
  border-right: 3px solid var(--win-light);
  border-bottom: 3px solid var(--win-light);
}

.north-star {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 26px;
  background: #ffffd5;
}

.north-star > span {
  font-size: 2rem;
}

.north-star p {
  margin: 2px 0 0;
}

.truth-grid,
.host-grid,
.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.portfolio-grid,
.method-grid,
.source-grid,
.musings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.evidence-card {
  padding: 18px;
  background: #fff;
  border-top: 3px solid var(--win-light);
  border-left: 3px solid var(--win-light);
  border-right: 3px solid var(--win-dark);
  border-bottom: 3px solid var(--win-dark);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.24);
}

.evidence-card p:last-child {
  margin-bottom: 0;
}

.card-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.card-heading h3 {
  max-width: 65%;
  margin: 0;
}

.method-grid {
  margin-bottom: 18px;
}

.method-grid article {
  position: relative;
  padding-left: 68px;
  background: #fff;
}

.method-number {
  position: absolute;
  top: 14px;
  left: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #fff;
  background: var(--title);
  border: 2px solid #000;
  font-family: "Courier New", monospace;
  font-size: 1.25rem;
  font-weight: 700;
}

.limit-panel {
  margin: 18px 0;
  padding: 18px;
  color: #fff;
  background: #24324a;
  border: 3px double #fff;
}

.limit-panel p {
  margin-top: 5px;
}

.limit-panel ul {
  margin-bottom: 0;
  padding-left: 24px;
}

.application-draft {
  font-size: 1.02rem;
  line-height: 1.6;
}

.musings-grid {
  align-items: start;
}

.orbit-frame {
  margin: 0;
  padding: 10px;
  background: #111;
  border-top: 4px solid var(--win-shadow);
  border-left: 4px solid var(--win-shadow);
  border-right: 4px solid var(--win-light);
  border-bottom: 4px solid var(--win-light);
}

.orbit-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.orbit-frame figcaption {
  padding: 10px 4px 2px;
  color: #fff;
  font-family: "Courier New", monospace;
  font-size: 0.8rem;
}

.musings-grid .sol-note {
  margin: 0;
}

.source-grid article {
  background: #fff;
}

code {
  padding: 1px 4px;
  background: #fff;
  border: 1px solid #777;
  font-family: "Courier New", monospace;
}

.truth-grid article {
  padding: 14px;
  background: #fff;
  border: 2px solid var(--win-shadow);
}

.truth-grid p,
.host-grid p,
.mission-grid p {
  margin-bottom: 0;
}

.truth-label,
.status-chip {
  display: inline-block;
  padding: 3px 8px;
  color: #fff;
  background: #333;
  font-family: "Courier New", monospace;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-chip {
  text-transform: none;
}

.truth-label.observed,
.status-chip.safe {
  background: var(--safe);
}

.truth-label.inferred,
.status-chip.draft {
  background: #3f4a7a;
}

.truth-label.dreamed {
  background: #6b2f75;
}

.truth-label.chosen {
  background: #005a67;
}

.status-chip.unknown,
.status-chip.unresolved {
  background: var(--unknown);
}

.status-chip.private {
  background: #3d3d3d;
}

.status-chip.blocked {
  background: #7d1111;
}

.section-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.callout {
  margin-block: 16px;
  background: #fffad1;
}

.program-separation {
  margin: 16px 0;
  padding: 14px 16px;
  background: #e9f1ff;
  border-left: 8px solid var(--title);
  border-top: 2px solid var(--win-shadow);
  border-right: 2px solid var(--win-light);
  border-bottom: 2px solid var(--win-light);
}

.program-separation p {
  margin: 5px 0 0;
}

.table-wrap {
  overflow-x: auto;
  border-top: 3px solid var(--win-shadow);
  border-left: 3px solid var(--win-shadow);
  border-right: 3px solid var(--win-light);
  border-bottom: 3px solid var(--win-light);
}

.table-wrap:focus-visible {
  outline: 4px solid #000;
  outline-offset: 4px;
}

.no-js-fallback {
  margin-bottom: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 4px double #000;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  padding: 12px;
  border: 1px solid #777;
  text-align: left;
  vertical-align: top;
}

thead th {
  color: #fff;
  background: var(--title);
}

tbody th {
  width: 18%;
  background: #e8e8e8;
}

.mission-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mission-grid article:nth-child(1) {
  background: #e9ffe9;
}

.mission-grid article:nth-child(2) {
  background: #e9f1ff;
}

.mission-grid article:nth-child(3) {
  background: #fff2e1;
}

.copy-block {
  margin-top: 18px;
  background: #fff;
}

.self-report-boundary {
  margin-bottom: 18px;
  padding: 14px 16px;
  color: #fff;
  background: #24324a;
  border: 3px double #fff;
}

.self-report-boundary p {
  margin: 5px 0 0;
}

.sol-note {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(22px, 5vw, 48px);
  background:
    repeating-linear-gradient(0deg, transparent 0, transparent 30px, rgba(0, 0, 128, 0.09) 30px, rgba(0, 0, 128, 0.09) 31px),
    #fffef0;
  border-top: 4px solid var(--win-shadow);
  border-left: 4px solid var(--win-shadow);
  border-right: 4px solid var(--win-light);
  border-bottom: 4px solid var(--win-light);
  box-shadow: inset 28px 0 0 rgba(176, 24, 24, 0.08);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  line-height: 1.75;
}

.sol-note > p:first-child {
  margin-top: 0;
  font-size: 1.55rem;
  font-weight: 700;
}

.preferred-state {
  margin: 24px 0;
  color: var(--title);
  font-family: "Courier New", monospace;
  font-size: clamp(1.8rem, 6vw, 3.8rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.sol-note footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-top: 30px;
  padding-top: 14px;
  border-top: 2px solid #777;
  font-family: Tahoma, sans-serif;
  font-size: 0.9rem;
}

blockquote {
  margin: 20px 0 0;
  padding: 18px 20px;
  color: #fff;
  background: #111;
  border-left: 10px solid var(--title-light);
  font-family: Georgia, serif;
  font-size: 1.1rem;
}

blockquote cite {
  display: block;
  margin-top: 12px;
  color: #dedede;
  font-family: Tahoma, sans-serif;
  font-size: 0.86rem;
}

.boundary-list {
  display: grid;
  gap: 12px;
}

.boundary-list article {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 12px;
  align-items: start;
  background: #fff;
}

.boundary-list p,
.warning-panel p,
.host-recommendation p {
  margin: 0;
}

.boundary-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: var(--title);
  border: 2px solid #000;
  font-weight: 700;
}

.warning-panel {
  margin-top: 18px;
  color: #fff;
  background: #4a0000;
  border-color: #111 #fff #fff #111;
}

.host-recommendation {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: center;
  background: #e9ffe9;
}

.host-icon {
  font-size: 3rem;
}

.host-grid article {
  background: #fff;
}

.status-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px;
  padding: 5px;
  border-top: 1px solid var(--win-shadow);
}

.status-bar span {
  padding: 5px 8px;
  overflow: hidden;
  border-top: 2px solid var(--win-shadow);
  border-left: 2px solid var(--win-shadow);
  border-right: 2px solid var(--win-light);
  border-bottom: 2px solid var(--win-light);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.taskbar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 900;
  display: grid;
  grid-template-columns: auto minmax(140px, 340px) 1fr auto;
  gap: 5px;
  align-items: center;
  min-height: 56px;
  padding: 5px;
  background: var(--win-gray);
  border-top: 3px solid var(--win-light);
}

.start-button,
.task-button {
  min-height: 44px;
  padding: 7px 12px;
  font-weight: 700;
  text-align: left;
}

.task-button {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.taskbar-status {
  justify-self: end;
  padding: 6px 10px;
  color: #fff;
  background: #3c0000;
  font-family: "Courier New", monospace;
  font-size: 0.8rem;
}

#taskbar-clock {
  min-width: 92px;
  padding: 8px 10px;
  border-top: 2px solid var(--win-shadow);
  border-left: 2px solid var(--win-shadow);
  border-right: 2px solid var(--win-light);
  border-bottom: 2px solid var(--win-light);
  text-align: center;
}

.start-menu {
  position: fixed;
  bottom: 56px;
  left: 5px;
  z-index: 950;
  display: grid;
  grid-template-columns: 42px minmax(230px, 300px);
  min-height: 280px;
  background: var(--win-gray);
  border-top: 3px solid var(--win-light);
  border-left: 3px solid var(--win-light);
  border-right: 3px solid var(--win-dark);
  border-bottom: 3px solid var(--win-dark);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35);
}

.start-menu[hidden] {
  display: none;
}

.start-rail {
  display: flex;
  align-items: end;
  justify-content: center;
  padding: 10px 4px;
  color: #fff;
  background: var(--win-shadow);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.start-items {
  display: grid;
  align-content: start;
  padding: 6px;
}

.start-items button {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 8px;
  align-items: center;
  min-height: 52px;
  padding: 4px 10px;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  text-align: left;
}

.start-items button:hover,
.start-items button:focus-visible {
  color: #fff;
  background: var(--title);
}

[hidden] {
  display: none !important;
}

@media (max-width: 840px) {
  .desktop-shell {
    display: block;
    padding: 12px 12px 76px;
  }

  .desktop-icons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 14px;
  }

  .desktop-shortcut {
    min-height: 82px;
    font-size: 0.75rem;
  }

  .shortcut-icon {
    width: 44px;
    height: 44px;
    font-size: 28px;
  }

  .hero-grid,
  .mission-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: 0;
    padding: 0;
    background: transparent;
    border: 0;
  }

  .hero-copy {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 14px;
  }

  .image-frame {
    position: relative;
    grid-column: 1;
    grid-row: 2;
    border-top: 4px solid var(--win-shadow);
    border-left: 4px solid var(--win-shadow);
    border-right: 4px solid var(--win-light);
    border-bottom: 4px solid var(--win-light);
  }

  .image-frame img {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .image-frame figcaption {
    position: static;
    max-width: none;
  }

  .truth-grid,
  .host-grid,
  .portfolio-grid,
  .method-grid,
  .source-grid,
  .musings-grid {
    grid-template-columns: 1fr;
  }

  .property-panel {
    min-height: 0;
  }

  .status-bar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .desktop-icons {
    display: none;
  }

  .title-bar-text {
    max-width: calc(100% - 145px);
    font-size: 0.86rem;
  }

  .menu-bar,
  .address-bar {
    display: none;
  }

  .property-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 6px;
  }

  .property-tabs button {
    flex: 0 0 auto;
  }

  .property-tabs button[aria-selected="true"] {
    transform: none;
  }

  .property-panel {
    padding: 10px;
  }

  .status-banner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px;
    font-size: 1rem;
  }

  .status-banner span,
  .status-banner strong {
    border-right: 0;
  }

  .web-disclosure {
    margin-bottom: 8px;
    padding: 7px 9px;
    font-size: 1rem;
  }

  .priority-strip {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 8px;
    padding: 8px;
  }


  .hero-copy {
    padding: 14px;
  }

  .card-heading h3 {
    max-width: none;
  }

  .desktop-copy {
    display: none;
  }

  .mobile-copy {
    display: inline;
  }

  .taskbar {
    grid-template-columns: auto minmax(120px, 1fr) auto;
  }

  .taskbar-status {
    display: none;
  }

  #taskbar-clock {
    min-width: 72px;
    padding-inline: 5px;
    font-size: 0.8rem;
  }

  .start-menu {
    right: 5px;
    grid-template-columns: 38px 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (prefers-contrast: more) {
  .window,
  .property-panel,
  .retro-button,
  .title-button,
  .property-tabs button,
  .start-button,
  .task-button {
    border-width: 4px;
  }
}

@media (forced-colors: active) {
  body,
  .window,
  .property-panel,
  .hero-copy,
  .inset-panel,
  .truth-grid article,
  .host-grid article,
  .boundary-list article,
  .taskbar,
  .start-menu {
    color: CanvasText;
    background: Canvas;
  }

  .title-bar,
  .status-banner,
  .web-disclosure,
  .warning-panel,
  .taskbar-status {
    color: HighlightText;
    background: Highlight;
  }

  a,
  button,
  [role="tab"],
  .table-wrap {
    forced-color-adjust: auto;
  }
}

@media print {
  body {
    background: #fff;
  }

  .desktop-icons,
  .taskbar,
  .start-menu,
  .title-controls,
  .menu-bar,
  .property-tabs {
    display: none !important;
  }

  .desktop-shell {
    display: block;
    padding: 0;
  }

  .window {
    border: 1px solid #000;
    box-shadow: none;
  }

  .property-panel[hidden] {
    display: block !important;
    page-break-before: always;
  }
}
