/* The only file allowed raw colours and sizes (tools/style_contract.py enforces it).
   The look is the old VGS's (Alex, 23 Nov: "I thought that looked nice"): dark green rail with a brass mark,
   warm grey-green page, white panels, deep green buttons, gold focus ring, earthy badges, Segoe UI.
   Light always, as the old one was; dark only when a person picks it (data-theme="dark"). */
:root {
  --font: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-mark: Georgia, serif;
  --t-tiny: 10px; --t-small: 12px; --t-body: 14px; --t-lead: 16px; --t-title: 20px; --t-page: 34px; --t-mark: 25px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px;
  --radius: 10px; --radius-small: 7px; --radius-tag: 4px; --tap: 44px; --tap-min: 24px; --line: 1px; --focus-width: 3px;
  --content: 980px; --rail: 244px; --narrow: 420px; --qr: 240px; --mark-w: 34px; --mark-h: 43px; --eyebrow-space: 1.8px; --page-space: -1px;
  --card-pic: 220px; --feed-pic: 150px; --pic-min: 90px; --select-w: 180px; --pin-stroke: 2px; --pin-dash: 4 3; --t-pin: 12px; --t-qmark: 48px; --view-h: 62vh; --team-card: 260px;

  --bg: #f3f4f0; --surface: #ffffff; --surface-2: #f8faf5; --ink: #233333; --ink-2: #657570; --ink-3: #74857b;
  --border: #dde4d8; --accent: #245d53; --accent-hover: #19473f; --accent-ink: #ffffff; --accent-soft: #edf2ed;
  --brass: #a7753d; --art-grey: #808080; --focus: #b38b3f; --shadow: none;
  --rail-bg: #142f2d; --rail-ink: #baccc4; --rail-ink-2: #79938a; --rail-hover: #274840; --rail-active-ink: #eff3e9;
  --mark-line: #a99765; --mark-ink: #d1ba83;
  --st-wip-bg: #edf1e8; --st-wip-ink: #5a6b50; --st-wip-line: #e0e7d8;
  --st-review-bg: #e5eef0; --st-review-ink: #3b5c64; --st-review-line: #cfdee2;
  --st-ok-bg: #e1eee3; --st-ok-ink: #386641; --st-ok-line: #c6ddc8;
  --st-no-bg: #f6e7e0; --st-no-ink: #8c4d39; --st-no-line: #e7cbbd;
  --st-wait-bg: #f7edd7; --st-wait-ink: #7d5922; --st-wait-line: #e9d9ad;
  /* Progress burn-up (step E): scope brass, credit earned dashed teal, accepted deep green. */
  --chart-scope: #a7753d; --chart-earned: #5b9483; --chart-accepted: #245d53; --chart-grid: #e6ebe2;
  --chart-line: 2.5px; --chart-dash: 6 4; --weight-field: 150px;
  /* Studio Office (step F): the old floor's stone and wood, a lamp per team state, the sprite frame (48 x 64 at 0.75). */
  --office-stone: #2b3337; --office-wood: #3a2a1f; --office-wood-ink: #f1e2c0; --office-wood-ink-2: #cfb98f;
  --office-board-ink: #ecd28c; --office-here: #f2d27a; --office-shade: #00000066; --office-bubble: #fff6dc; --office-bubble-ink: #3a2a1f;
  --lamp-working: #8fe3a3; --lamp-waiting: #f7c564; --lamp-paused: #6b7276; --lamp-stale: #d3826e; --lamp-glow: 7px; --lamp: 11px;
  --sprite-w: 36px; --sprite-h: 48px; --corridor: 14px; --easel: 30%; --easel-frame: 3px; --bob: -2px;
}
:root[data-theme="dark"] {
  --bg: #101c1b; --surface: #172726; --surface-2: #1d302e; --ink: #e8ece6; --ink-2: #aebcb4; --ink-3: #98aa9f;
  --border: #2c4340; --accent: #6fb59f; --accent-hover: #8cc7b3; --accent-ink: #0c1a17; --accent-soft: #1f3a35;
  --brass: #d1ba83; --focus: #d1ba83;
  --rail-bg: #0b1918; --rail-hover: #1d3a34;
  --st-wip-bg: #263330; --st-wip-ink: #d3dccb; --st-wip-line: #34443f;
  --st-review-bg: #1c3238; --st-review-ink: #bdd6dc; --st-review-line: #2b4950;
  --st-ok-bg: #1b3a24; --st-ok-ink: #bde0c4; --st-ok-line: #2a5234;
  --st-no-bg: #42261d; --st-no-ink: #f0c8b8; --st-no-line: #5c3528;
  --st-wait-bg: #3d321a; --st-wait-ink: #efd9a5; --st-wait-line: #574827;
  --chart-scope: #d1ba83; --chart-earned: #9fcbbd; --chart-accepted: #6fb59f; --chart-grid: #26403c;
}
