/* Canonical prototype foundations. Components consume these tokens; do not
   redeclare them in page styles. The preserved v1 study has its own theme. */
:root {
 color-scheme:light;
 --platform-paper:#fffcf8; --platform-surface:#fff; --platform-ink:#2a211c;
 --platform-muted:#625750; --platform-action:#b8431c; --platform-action-hover:#963514;
 --platform-soft:#faf1e9; --platform-rule:#e6dcd0; --platform-memory:#fce6da;
 --platform-voice:#33261f; --platform-milestone:#f6c95a; --platform-input:#918274;
 --platform-positive:#325e45; --platform-positive-soft:#edf4ed; --platform-error:#a22c32;
 --tenant-accent:#945138; --font-body:'Schibsted Grotesk',system-ui,sans-serif;
 --font-display:var(--font-body); --font-story:'Newsreader',Georgia,serif;
 --radius-card:8px; --radius-control:6px; --page-width:1200px;
 --page-gutter:28px; --page-title:34px; --layout-gap:24px;
 --layout-columns:minmax(0,2fr) minmax(300px,1fr);
 --shadow-card:none; --color-highlight:#d9a83b;

 --space-1:4px; --space-2:8px; --space-3:12px; --space-4:16px;
 --space-5:20px; --space-6:24px; --space-8:32px; --space-12:48px;
 --radius-print:2px; --control-height:44px; --filter-height:40px;
 --type-label:12px; --type-body:14px; --type-section:23px;
 --type-dialog:26px;
 --type-content:16px; --type-control:15px;
 --type-reader-prose:21px; --type-reader-quote:28px;
 /* Compatibility names consumed by structural CSS; never independent colors. */
  --color-primary: var(--platform-action);
  --color-primary-text: var(--platform-action);
  --color-primary-hover: var(--platform-action-hover);
  --color-primary-soft: var(--platform-soft);
  --color-ink: var(--platform-ink);
  --color-ink-muted: var(--platform-muted);
  --color-canvas: var(--platform-paper);
  --color-card: var(--platform-surface);
  --color-rule: var(--platform-rule);
}
@media(min-width:761px) and (max-width:1000px) {
 :root {--layout-columns:minmax(0,1.8fr) minmax(280px,1fr);--layout-gap:20px}
}
@media(max-width:760px) {
 :root {--page-gutter:18px;--page-title:28px;--layout-columns:minmax(0,1fr);--layout-gap:24px;--type-dialog:24px;--type-reader-prose:20px;--type-reader-quote:25px}
}
