/*
 * theme.css — WRITTEN BY THE PLATFORM. Do not edit.
 *
 * Palette: Your colours (custom)
 * Source colours: #080203 #231c1a #f8f4ef #3a1116 #7a1f2b #ffffff
 *
 * Every value below is either one of those five or derived from them, and each
 * one is contrast-corrected against this palette's own background. Consume
 * them with var(--token); never write a colour value in app code.
 */

:root {
  --canvas: #f8f4ef;
  --surface: #fcfaf8;
  --surface-2: #ece8e3;
  --border: #d6d2ce;
  --border-strong: #b0aba8;
  --ink: #231c1a;
  --muted: #65615e;
  --accent: #3a1116;
  --accent-hover: #310e13;
  --accent-ink: #ffffff;
  --accent-text: #7a1f2b;
  --accent-strong: #3a1116;
  --accent-soft: #ddd4d1;
  --accent-border: #a38e8d;
  --success: #15803d;
  --success-ink: #ffffff;
  --success-soft: #dde6da;
  --success-strong: #116d34;
  --warning: #b45309;
  --warning-ink: #ffffff;
  --warning-soft: #f0e1d3;
  --warning-strong: #994607;
  --danger: #b91c1c;
  --danger-ink: #ffffff;
  --danger-soft: #f0dad6;
  --danger-strong: #b91c1c;
  --chart-1: #3a1116;
  --chart-2: #674505;
  --chart-3: #085b48;
  --chart-4: #004f8b;
  --chart-5: #633481;
  --chart-6: #84253d;
  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-body: "Inter Variable", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-sans: "Inter Variable", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display-weight: 400;
  --display-tracking: -0.01em;
  --eyebrow-tracking: 0.14em;

  --look: editorial;
  --radius-sm: 2px;
  --radius: 2px;
  --radius-lg: 2px;
  --radius-xl: 2px;
  --radius-btn: 2px;
  --radius-card: 2px;
  --radius-input: 2px;
  --border-w: 1px;
  --border-strong-w: 1px;
  --shadow-card: none;
  --shadow-raised: none;
  --shadow-btn: none;
  --section-y: 6rem;
  --card-pad: 1.75rem;
  --caps: none;
  --caps-tracking: 0.06em;
  --btn-weight: 500;
  --measure: 75ch;
}

/* The same palette on a dark page — written here, never by the app. It
   applies while <html> carries data-theme="dark", which the platform's own
   toggle sets and remembers; an app that never renders that toggle is exactly
   as it was. Do not repoint any of these from app code: a token that
   references another token here is a cycle, and CSS makes every property in
   a cycle invalid. */
html[data-theme="dark"] {
  --canvas: #080203;
  --surface: #211b1c;
  --surface-2: #140f10;
  --border: #2b2526;
  --border-strong: #524e4f;
  --ink: #f8f4ef;
  --muted: #989391;
  --accent: #58363a;
  --accent-hover: #715458;
  --accent-ink: #ffffff;
  --accent-text: #998686;
  --accent-strong: #907b7c;
  --accent-soft: #1a0d0f;
  --accent-border: #2c191c;
  --success: #15803d;
  --success-ink: #ffffff;
  --success-soft: #0b1e10;
  --success-strong: #39935b;
  --warning: #b45309;
  --warning-ink: #ffffff;
  --warning-soft: #2e1404;
  --warning-strong: #c06e2f;
  --danger: #b91c1c;
  --danger-ink: #ffffff;
  --danger-soft: #2f0809;
  --danger-strong: #cd5c5c;
  --chart-1: #876266;
  --chart-2: #b87911;
  --chart-3: #639036;
  --chart-4: #1392a3;
  --chart-5: #7d72c9;
  --chart-6: #d074a5;
}

/* ====================================================================
 * app.css — THIS APP'S OWN CSS. Yours to write. Ships empty.
 *
 * design.css is a FLOOR, not a ceiling.
 *
 * For a long time it was both, and the cost was measurable: an app could
 * not write a single CSS rule, so every app built here had the same 10px
 * radius, the same Public Sans at the same 15px, the same 1px borders and
 * the same soft shadow. Only fourteen COLOUR tokens ever differed. Three
 * apps in a row came out looking like the same product in three coats of
 * paint, which is what this file exists to end.
 *
 * It loads AFTER design.css and theme.css, so anything here wins.
 *
 * ---- THE FIRST LEVER: RETUNE THE SYSTEM ---------------------------
 *
 * A :root block here re-tunes every component at once — nothing is
 * restyled one class at a time. These are the tokens that decide an app's
 * CHARACTER, and they are the fastest way to make two apps look nothing
 * alike:
 *
 *   --radius-sm --radius --radius-lg   0 is brutal, 4 is crisp, 18 is soft
 *   --font-sans --font-mono            a display face changes more than colour
 *   --t-xs … --t-5xl                   the type scale, and how far it ramps
 *   --lh --lh-tight --track-tight      density and tone
 *   --s-1 … --s-12                     the spacing scale: tight or generous
 *   --shadow --shadow-raised           flat, or lifted
 *   --border --border-strong widths    hairline, or heavy and drawn
 *   --dur-1 --dur-2 --ease             brisk, or languid
 *   --content-max --measure            a wide dashboard or a narrow reading page
 *
 * COLOUR IS THE ONE EXCEPTION, and it is not a technicality: the owner
 * picked the palette on the approval card before you built anything, and
 * it is the only part of the look they chose themselves. theme.css holds
 * it. Write var(--accent), var(--ink), var(--canvas) — never a hex, an
 * rgb() or an hsl(), here or anywhere. The validator refuses those.
 *
 * ---- THE SECOND LEVER: WRITE WHAT IS NOT THERE ---------------------
 *
 * design.css covers the ordinary furniture. It does NOT cover the one
 * screen that makes this app itself — a timer's dial, a board's columns,
 * a chart, a seating plan, a game grid. Write those here, in full, and
 * name them for what they are (.dial, .board-col), never .card-2.
 *
 * Compose the primitives where they fit and write your own where they do
 * not. An app that used only the frozen classes and added nothing shipped
 * 160 component classes and zero rules of its own — and read as generated,
 * because the system's ceiling had become the app's ceiling.
 *
 * Keep using the tokens in what you write. A rule built on var(--s-4) and
 * var(--radius) stays consistent with everything around it and follows the
 * app when its character changes; one built on 16px and 10px does not.
 * ==================================================================== */
