/* Hallmark: simulator workbench, authentic VGA display, compact controls */
:root {
  color-scheme: dark;
  --surface: #1d2327;
  --ink: #f1f0e8;
  --muted: #ced1c9;
  --edge: #68726f;
  --display: #050708;
  --accent: #f6d28d;
  --face: system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { overflow-x: clip; }
body { margin: 0; color: var(--ink); background: var(--surface); font: 1rem/1.45 var(--face); }
canvas { display: block; width: min(100%, 640px); height: auto; margin-inline: auto; background: var(--display); image-rendering: pixelated; touch-action: none; }
p, footer { color: var(--muted); margin-block: .8rem; }
#status:empty { display: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
fieldset { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; border: 0; }
legend { padding: 0; margin-bottom: .45rem; font-weight: 600; }
button { min-height: 44px; cursor: pointer; color: var(--ink); background: var(--surface); border: 1px solid var(--edge); border-radius: .2rem; font: inherit; padding: .4rem .65rem; touch-action: manipulation; user-select: none; }
button:hover, button:active { border-color: var(--accent); }
button:disabled { opacity: .6; }
footer { font-size: .875rem; }
main { max-width: none; padding: 0; }
details { padding: .6rem .8rem; color: var(--ink); }
summary { cursor: pointer; font-size: .9rem; }
canvas:focus-visible { outline-offset: -3px; }
