/*
 * theme.css — WRITTEN BY THE PLATFORM. Do not edit.
 *
 * Palette: Your colours (custom)
 * Source colours: #031a13 #e7f5ee #0a1410 #14b888 #22e3a4 #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.
 */

/* DARK BY DEFAULT — the owner chose it on the blueprint. The dark set is the
   page; the light set below applies while <html> carries data-theme="light",
   which the platform's own toggle sets and remembers. color-scheme rides each
   block so controls and scrollbars follow the ground. */
:root {
  color-scheme: dark;
  --canvas: #0a1410;
  --surface: #232c28;
  --surface-2: #16201c;
  --border: #2c3531;
  --border-strong: #545b58;
  --ink: #e7f5ee;
  --muted: #8f9b95;
  --accent: #14b888;
  --accent-hover: #37c39a;
  --accent-ink: #0a1410;
  --accent-text: #22e3a4;
  --accent-strong: #14b888;
  --accent-soft: #0c382a;
  --accent-border: #0f5e46;
  --success: #15803d;
  --success-ink: #ffffff;
  --success-soft: #0c2c1a;
  --success-strong: #58a474;
  --warning: #b45309;
  --warning-ink: #ffffff;
  --warning-soft: #2f220e;
  --warning-strong: #c57a40;
  --danger: #b91c1c;
  --danger-ink: #ffffff;
  --danger-soft: #311613;
  --danger-strong: #d16969;
  --chart-1: #14b888;
  --chart-2: #2bcbfe;
  --chart-3: #7e75d5;
  --chart-4: #f28cc6;
  --chart-5: #c5622e;
  --chart-6: #c3bb3f;
  --font-display: "Space Grotesk Variable", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Plus Jakarta Sans Variable", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-sans: "Plus Jakarta Sans Variable", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display-weight: 700;
  --display-tracking: -0.03em;
  --eyebrow-tracking: 0.12em;

  --look: neon-dark;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-btn: 12px;
  --radius-card: 16px;
  --radius-input: 10px;
  --border-w: 1px;
  --border-strong-w: 1px;
  --shadow-card: 0 0 0 1px color-mix(in srgb, var(--accent) 22%, transparent), 0 0 32px color-mix(in srgb, var(--accent) 16%, transparent);
  --shadow-raised: 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent), 0 0 48px color-mix(in srgb, var(--accent) 26%, transparent);
  --shadow-btn: 0 0 24px color-mix(in srgb, var(--accent) 45%, transparent);
  --section-y: 7rem;
  --card-pad: 2rem;
  --caps: uppercase;
  --caps-tracking: 0.12em;
  --btn-weight: 600;
  --measure: 65ch;
}

/* The same palette on a light page — written here, never by the app. 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="light"] {
  color-scheme: light;
  --canvas: #ffffff;
  --surface: #ffffff;
  --surface-2: #f3f3f3;
  --border: #dddede;
  --border-strong: #b6b9b7;
  --ink: #0a1410;
  --muted: #636967;
  --accent: #14b888;
  --accent-hover: #119c74;
  --accent-ink: #0a1410;
  --accent-text: #0e795a;
  --accent-strong: #0e795a;
  --accent-soft: #def5ee;
  --accent-border: #95dfc9;
  --success: #15803d;
  --success-ink: #ffffff;
  --success-soft: #e3f0e8;
  --success-strong: #137638;
  --warning: #b45309;
  --warning-ink: #ffffff;
  --warning-soft: #f6eae1;
  --warning-strong: #a64c08;
  --danger: #b91c1c;
  --danger-ink: #ffffff;
  --danger-soft: #f7e4e4;
  --danger-strong: #b91c1c;
  --chart-1: #0ca378;
  --chart-2: #1ea1c9;
  --chart-3: #6e65bb;
  --chart-4: #d175a9;
  --chart-5: #ac5324;
  --chart-6: #9d9722;
}

/* ====================================================================
 * 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.
 * ==================================================================== */
