/* Web Studio page tokens — track monouma's static 5500K Lightbox / Warm Charcoal Darkroom tokens.
   Not the source of the exported SVG/PNG film base, which stays #10100e (ADR-0006). */

:root {
  /* Light = Calibrated 5500K D55 Light Table */
  --lt-bg: #f8f7f3;
  --lt-glow: radial-gradient(ellipse at 50% 8%, #fcfbf8 0%, #f7f6f2 66%, #f1f0eb 100%);
  --lt-ink: #161614;
  --lt-muted: #666560;
  --lt-line: rgba(22, 22, 20, 0.12);
  --lt-surface: #f2f1ed;
  --film-base: #101316;
  --film-base-glow: #171b1f;
  --film-edge: #cfa968;
  --film-edge-dim: rgba(214, 178, 116, 0.86);
  /* P2 Provia twin optical pinstripe — shell accent only, never injected into exported film SVGs. */
  --koma-green: #008f4c;
  --koma-cyan: #40b4d8;
  --hole-bg: #f0eee8;
  --stage-light-glow: radial-gradient(ellipse at 50% 8%, #fcfbf8 0%, #f7f6f2 66%, #f1f0eb 100%);
  --stage-dark-glow: radial-gradient(ellipse at 50% 8%, #151412 0%, #0c0c0b 66%, #070706 100%);
  --stage-github-light: #ffffff;
  --stage-github-dark: #0d1117;
  --radius: 2px;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Helvetica Neue", sans-serif;
  --font-mono: "SF Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --text-heading: clamp(22px, 3vw, 28px);
  --text-body: 16px;
  --text-ui: 13px;
  --text-rebate: 11px;

  /* Exact KS-1870 perforation mask (4.75mm x 2.80mm cell, 1.98mm x 2.80mm hole, 0.50mm corner radius) */
  --sprocket-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 475 280' preserveAspectRatio='none'%3E%3Crect x='138.5' y='0' width='198' height='280' rx='50' ry='50' fill='%23fff'/%3E%3C/svg%3E");

  color-scheme: light;
}

html[data-table="dark"] {
  /* Dark = Warm Charcoal Darkroom */
  --lt-bg: #0a0a09;
  --lt-glow: radial-gradient(ellipse at 50% 8%, #151412 0%, #0c0c0b 66%, #070706 100%);
  --lt-ink: #e6e2d8;
  --lt-muted: #989389;
  --lt-line: rgba(230, 226, 216, 0.14);
  --lt-surface: #151513;
  --film-base: #080a0c;
  --film-base-glow: #0d1013;
  --film-edge: #c4a064;
  --film-edge-dim: rgba(204, 170, 112, 0.88);
  --hole-bg: #241f1d;

  color-scheme: dark;
}
