/* OfficialAstrology design tokens: ONE set for every page (owner, 22 Oct 2026, MASTER-TODO §P: "home page v2 ka
   color combination and presence excellent h, usi ke hisab se sare pages bane"). Loaded first by base.html.
   One family, different rooms: the stylesheets' own names (site.css :root, page.css .ed, home-v2.css .v2) point here,
   so a colour changes in one place. A page's restyle swaps its own literal colours for these and adds ONE soft
   accent tint from its subject (--oa-accent), never a palette of its own and never all one colour. Reading surfaces
   (tables, kundli, forms, PDF previews) stay on cream, white or paper. Step 1 (23 Oct 2026) changed no colour. */
:root {
  /* brand */
  --oa-ink: #1F2A5A;              /* indigo: headings, links, home v2's ink */
  --oa-kumkum: #8C2F39;
  --oa-saffron: #E39B2C;
  --oa-gold: #C9A45C;
  --oa-rust: #9A4426;
  /* text */
  --oa-text: #1C1C1C;             /* body text on cream (site.css) */
  --oa-text-ed: #1E1E24;          /* body text on the editorial pages (page.css); one with --oa-text after the restyles */
  --oa-text-soft: #3D3B47;        /* home v2's body text */
  --oa-stone: #6B6B6B;
  /* surfaces */
  --oa-cream: #FFFAF0;
  --oa-paper: #F2ECE0;
  --oa-paper-2: #EAE2D3;
  --oa-sand: #E6DCCB;
  --oa-sand-2: #E4DCCB;           /* page.css's sand; one with --oa-sand after the restyles */
  --oa-zebra: #F6EEDF;
  --oa-night: #151A2C;
  --oa-night-2: #1B2138;
  /* states */
  --oa-ok: #2E7D32;
  --oa-warn: #A15C00;
  --oa-err: #B0361E;
  /* lines, shadows, shapes (home v2's cards) */
  --oa-line: rgba(30, 30, 36, .12);
  --oa-card-line: rgba(255, 255, 255, .85);
  --oa-shadow: 0 12px 30px rgba(70, 45, 100, .09);
  --oa-radius: 10px;
  /* type */
  --oa-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Devanagari", sans-serif;
  --oa-serif: "Cormorant", "Noto Serif Deva", Georgia, serif;
  --oa-serif-hi: "Noto Serif Deva", "Cormorant", Georgia, serif;
  --oa-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* The one primary button (owner rule §V, 23 Oct 2026): a solid fill, never a chip, link or tag; WCAG AA, text
     4.5:1 or more and the edge 3:1 or more against its background (oa/tests_contrast.py checks every pair) */
  --oa-primary: var(--oa-kumkum);           /* on cream and paper: white text 8.1:1 */
  --oa-primary-text: #FFFFFF;
  --oa-primary-night: var(--oa-saffron);    /* on the night heroes: night text 7.4:1, edge 6.8:1 */
  --oa-primary-night-text: var(--oa-night);
}

/* Design sheet 17 Nov 2026, §§1–12, owner approved: additive, unused defaults.
   T1–T7 have explicit EN/HI variants; select the language in a consuming page.
   Desktop roles, line heights and 68ch reading measure: S1.
   Space steps / gutters / sections, buttons, tags, icons and radii: S2 / §5.
   pol-good: good times; pol-care: textually marked (!) care times, never a CTA.
   fact-* are neutral facts; graha-* identify planets only, never polarity.
   focus-light/night: one ring specification; input-* follow §11.
   No selector or existing declaration changes; pages opt in in later jobs. */
:root {
  --oa-t1-en: 14px;
  --oa-t1-hi: 14px;
  --oa-t2-en: 15px;
  --oa-t2-hi: 16px;
  --oa-t3-en: 17px;
  --oa-t3-hi: 18px;
  --oa-t4-en: 19px;
  --oa-t4-hi: 20px;
  --oa-t5-en: 22px;
  --oa-t5-hi: 24px;
  --oa-t6-en: 26px;
  --oa-t6-hi: 28px;
  --oa-t7-en: 32px;
  --oa-t7-hi: 34px;
  --oa-h1-desktop: 34px;
  --oa-h2-desktop: 26px;
  --oa-body-desktop: 18px;
  --oa-answer-desktop: 40px;
  --oa-line-height-en: 1.55;
  --oa-line-height-hi: 1.75;
  --oa-reading-measure: 68ch;
  --oa-space-4: 4px;
  --oa-space-8: 8px;
  --oa-space-12: 12px;
  --oa-space-16: 16px;
  --oa-space-24: 24px;
  --oa-space-32: 32px;
  --oa-space-48: 48px;
  --oa-side-margin-phone: 16px;
  --oa-section-gap: 32px;
  --oa-section-gap-desktop: 48px;
  --oa-button-small: 44px;
  --oa-button-normal: 48px;
  --oa-button-main: 56px;
  --oa-button-gap: 8px;
  --oa-tag-padding-block: 6px;
  --oa-tag-padding-inline: 14px;
  --oa-tag-line-height: 1.5;
  --oa-icon-inline: 20px;
  --oa-icon-tile-glyph: 24px;
  --oa-icon-feature: 32px;
  --oa-icon-tile: 40px;
  --oa-radius-small: 10px;
  --oa-radius-large: 16px;
  --oa-radius-round: 999px;
  --oa-pol-good: #2F6B4F;
  --oa-pol-good-bg: #E7F3EA;
  --oa-pol-good-border: #8FBFA2;
  --oa-pol-care: #9A4426;
  --oa-pol-care-bg: #FBEAE6;
  --oa-pol-care-border: #D9A08F;
  --oa-pol-mix: #8A6D2B;
  --oa-pol-fact: #696358;
  --oa-fact-bg: #F7F2E8;
  --oa-fact-border: #E4DCCB;
  --oa-fact-clock: #173A22;
  --oa-graha-sun: #FFC45C;
  --oa-graha-moon: #E9E6DD;
  --oa-graha-mars: #E0603F;
  --oa-graha-mercury: #9FB5A4;
  --oa-graha-jupiter: #F0C25E;
  --oa-graha-venus: #F6EFE2;
  --oa-graha-saturn: #E3CB8F;
  --oa-graha-rahu: #B3ADD6;
  --oa-graha-ketu: #D2AE98;
  --oa-focus-width: 3px;
  --oa-focus-light: #1F2A5A;
  --oa-focus-night: #C9A45C;
  --oa-focus-offset: 2px;
  --oa-input-height: 48px;
  --oa-input-text: 16px;
  --oa-input-radius: 8px;
}
