/* MyHorseKeeper · Stall render series · Stall 1.19 — tokens (standalone; mirror tokens.json) */
@font-face { font-family: "Fraunces"; font-weight: 100 900; font-display: swap; src: url("fonts/Fraunces-Variable.ttf") format("truetype"); }
@font-face { font-family: "Manrope"; font-weight: 200 800; font-display: swap; src: url("fonts/Manrope-Variable.ttf") format("truetype"); }
:root {
  --color-sky-top: #474D6E;      /* sampled from the locked Twilight Stall render's top sky */
  --color-ground: #332E3B;       /* sampled from the render's ground */
  --color-night: #15141A;
  --color-text: #F4EFE8;
  --color-text-muted: rgba(244, 239, 232, 0.62);
  --color-text-faint: rgba(244, 239, 232, 0.50);
  --color-solar: #F4B65E;
  --font-display: "Fraunces", Georgia, serif;
  --font-ui: "Manrope", -apple-system, system-ui, sans-serif;
  --type-value: 28px;  --type-title: 26px;
  --type-status: 13px;
  --type-label: 11px;  --type-label-tracking: 0.16em;
  --type-micro: 9px;   --type-micro-tracking: 0.06em;   /* month initials */
  --type-chart: 9px;   --type-chart-tracking: 0.14em;   /* "Annual solar intensity" caption */
  --color-chart-name: rgba(244, 239, 232, 0.46);
  --spark-w: 168px; --spark-h: 32px;
  --spark-stroke: 1.15px;        /* hairline at 1x; 1–1.25 px range */
  --ease-calm: cubic-bezier(0.4, 0, 0.2, 1);
  --motion-pulse: 2400ms;   /* "now" marker ring: scale 1 -> 2.8, fade out, infinite */
  --motion-enter: 700ms;
  --flow-x: 195px;             /* callout horizontal center */
  --flow-y0: 286px;            /* ~8px below ANNUAL SOLAR INTENSITY */
  --flow-y1: 393px;            /* upper-edge center of the (larger) roof panel */
  --flow-appear: 12px;         /* pulse materializes this far below y0 */
  --flow-line-color: rgba(244, 239, 232, 0.16); /* sky value; roof is quieter via SVG gradient */

  /* Roof panel (Stall 1.7). Perspective quad on the front roof slope, CSS px.
     Long edges → VP1 (438, 477) with the ridge/eave; short edges follow the gable rake. */
  --panel-ul: 163.80px 382.24px;
  --panel-ur: 226.20px 403.76px;
  --panel-lr: 249.15px 419.14px;
  --panel-ll: 193.52px 402.15px;
  --motion-flow: 2800ms;       /* sky comet travel + short pause (unchanged from 1.16) */
  --motion-feed: 3600ms;       /* conduit packet, panel → box (Normal). Slower in other Power Guard states. */

  /* Stall 1.18 Power Guard — owner-facing colors (not firmware names).
     Normal is quiet and cool, never a loud green. */
  --color-guard-normal: #C5CED6;
  --color-guard-conserve: #D4A05C;
  --color-guard-survival: #C4843A;
  --color-guard-emergency: #C45C54;
  --guard-color: var(--color-guard-normal);
  --glow-spill: 0.42;          /* locked 1.14/1.17 spill fill-opacity */
  --glow-seam: 0.75;           /* locked 1.14/1.17 seam stroke-opacity */
  --glow-dim: 0;               /* dark lid wash; 0 in Normal so the glow matches 1.17 */
  --arrive-peak: 0.30;         /* lid arrival wash peak (1.17) */
  --motion-glow: 4800ms;       /* Emergency only: slow soft dim of the box glow */
}


  /* Stall 1.9 wall box + feed (do not alter locked 1.8 panel / top flow) */
  --box-x0: 191.00px;
  --box-x1: 221.00px;
  --box-y-tl: 470.00px;
  --box-y-tr: 473.42px;
  --box-y-bl: 513.69px;
  --box-y-br: 515.06px;
