/* TaraLumi web. Tokens from docs/HANDOFF.md §6, with the changes in docs/research/astrology-sites-2026-11.md:
   gold is for rules and markers only (too faint for text), buttons are indigo, sage and clay have darker text shades.
   Fonts: Source Serif 4 and Inter, with Noto Serif and Noto Sans Devanagari for Hindi, all self-hosted. */
/* Self-hosted fonts, SIL Open Font License 1.1 (licences in assets/fonts/OFL-*.txt). Variable-weight woff2 from the
   Fontsource packages @fontsource-variable/inter 5.3.0, source-serif-4 5.3.1, noto-serif-devanagari 5.3.0 and
   noto-sans-devanagari 5.3.0. Split by script, so a browser downloads only the parts a page uses. */
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations"), url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-display: swap; font-weight: 200 900; src: url("../fonts/source-serif-4-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/source-serif-4-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-display: swap; font-weight: 200 900; src: url("../fonts/source-serif-4-latin-ext-wght-normal.woff2") format("woff2-variations"), url("../fonts/source-serif-4-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-display: swap; font-weight: 200 900; src: url("../fonts/source-serif-4-latin-wght-italic.woff2") format("woff2-variations"), url("../fonts/source-serif-4-latin-wght-italic.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-display: swap; font-weight: 200 900; src: url("../fonts/source-serif-4-latin-ext-wght-italic.woff2") format("woff2-variations"), url("../fonts/source-serif-4-latin-ext-wght-italic.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Noto Serif Devanagari"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("../fonts/noto-serif-devanagari-devanagari-wght-normal.woff2") format("woff2-variations"), url("../fonts/noto-serif-devanagari-devanagari-wght-normal.woff2") format("woff2"); unicode-range: U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09; }
@font-face { font-family: "Noto Sans Devanagari"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("../fonts/noto-sans-devanagari-devanagari-wght-normal.woff2") format("woff2-variations"), url("../fonts/noto-sans-devanagari-devanagari-wght-normal.woff2") format("woff2"); unicode-range: U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09; }
:root {
  --bg: #FAF7F2;
  --surface: #FFFFFF;
  --ink: #1E2140;
  --sub: #5B5F7A;
  --line: #E4DFD6;
  --control: #8E877C; /* borders of things you can click or type in: 3.3:1 on paper (WCAG 1.4.11) */
  --gold: #B8924A;
  --sage-bg: #DCE7DF;
  --sage-ink: #2F5140;
  --clay-bg: #F1E1DA;
  --clay-ink: #74402F;
  --focus: #3B4FB8;
  --serif: "Source Serif 4", "Noto Serif Devanagari", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: Inter, "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 12px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F1020;
    --surface: #1A1C30;
    --ink: #ECE8E1;
    --sub: #A9ABBE;
    --line: #2C2F48;
    --control: #7C809E;
    --gold: #D4B26E;
    --sage-bg: #22372D;
    --sage-ink: #B4D6C1;
    --clay-bg: #3D2A25;
    --clay-ink: #E6BCAE;
    --focus: #9DAAF2;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--sans); }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--sub); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.stack { display: flex; flex-direction: column; gap: var(--gap, 16px); }
.muted { color: var(--sub); }
.small { font-size: 14px; }
.num { font-variant-numeric: tabular-nums; }
.serif { font-family: var(--serif); }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -48px; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { top: 12px; }
main { display: flex; flex-direction: column; gap: 48px; padding: 32px 0 64px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding-top: 14px; padding-bottom: 14px; }
.brand { font: 400 26px/1 var(--serif); text-decoration: none; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 15px; }
.site-nav a { text-decoration: none; padding: 10px 0; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.switch { display: inline-flex; border: 1px solid var(--control); border-radius: 10px; padding: 3px; background: var(--surface); }
.switch button { min-height: 40px; min-width: 88px; padding: 0 16px; border: 0; border-radius: 7px; background: transparent; font-weight: 500; font-size: 14px; cursor: pointer; }
.switch button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.ghost { min-height: 44px; padding: 0 14px; border: 1px solid var(--control); border-radius: 10px; background: transparent; font-size: 14px; font-weight: 500; cursor: pointer; }
.readout { font-size: 13px; color: var(--sub); }

/* Dated strip (from the Almanac) */
.dateline { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sub); }
.strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 3px double var(--gold); border-bottom: 1px solid var(--gold); }
.strip > div { padding: 20px 20px 20px 0; display: flex; flex-direction: column; gap: 4px; }
.strip > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.strip .big { font: 400 28px/1.2 var(--serif); }
@media (max-width: 520px) { .strip > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* Labels that separate Calculated from Interpretation (HANDOFF §1, non-negotiable 5) */
.label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sub); }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sub); }
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.tag.interp::before { background: transparent; border: 1.5px solid var(--sub); }

/* Panels and cards */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.card .value { font-size: 24px; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; }
.section-head h2 { font-size: 22px; }

/* Rows of calculated values */
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.rows li:last-child { border-bottom: 0; }
.rows .v { font-variant-numeric: tabular-nums; text-align: right; }

/* Forms */
form .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; position: relative; }
.field input[type="date"], .field input[type="time"], .field input[type="text"], .field input[type="search"] {
  min-height: 48px; padding: 0 12px; border: 1px solid var(--control); border-radius: 10px; background: var(--bg); font-size: 16px; font-weight: 400; width: 100%;
}
.field input:disabled { opacity: 0.5; }
.hint { font-size: 13px; font-weight: 400; color: var(--sub); }
.check { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; font-size: 15px; color: var(--sub); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.primary { min-height: 50px; padding: 0 28px; border: 0; border-radius: 10px; background: var(--ink); color: var(--bg); font-weight: 600; font-size: 16px; cursor: pointer; }
.primary:disabled { opacity: 0.5; cursor: default; }
.error { color: var(--clay-ink); background: var(--clay-bg); border-radius: 10px; padding: 12px 14px; font-size: 15px; }
.note { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 14px; color: var(--sub); }

/* City search: an ARIA combobox */
.suggest { position: absolute; top: 100%; left: 0; right: 0; z-index: 5; margin: 4px 0 0; padding: 4px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 24px rgb(0 0 0 / 0.12); max-height: 320px; overflow-y: auto; }
.suggest li { padding: 10px 12px; border-radius: 7px; cursor: pointer; font-weight: 400; }
.suggest li[aria-selected="true"], .suggest li:hover { background: var(--bg); }
.suggest .where { display: block; font-size: 13px; color: var(--sub); }
.place-facts { font-size: 13px; font-weight: 400; color: var(--sub); font-variant-numeric: tabular-nums; }

/* Week strip */
.week { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); }
.week > div { padding: 14px 12px 14px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.week > div.today { border-top: 3px solid var(--ink); }
.week .d { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.week .w { font: 400 19px/1.3 var(--serif); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sub); }
tr:last-child td { border-bottom: 0; }
td.num { font-variant-numeric: tabular-nums; }
tr.current td { background: var(--bg); font-weight: 600; }

/* Chart drawings */
.chart-box { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.chart-box svg { width: 100%; max-width: 440px; height: auto; }
.chart-box .lines { fill: none; stroke: var(--sub); stroke-width: 1; }
.chart-box .gold { fill: none; stroke: var(--gold); stroke-width: 1.5; }
.chart-box text { fill: var(--ink); font-family: var(--sans); }
.chart-box .signno { fill: var(--sub); font-size: 12px; }
.chart-box .planet { font-size: 14px; font-weight: 600; }
.chart-box .asc { fill: var(--sub); font-size: 12px; font-weight: 600; }
.seg { display: inline-flex; border: 1px solid var(--control); border-radius: 10px; padding: 3px; }
.seg button { min-height: 38px; min-width: 64px; border: 0; border-radius: 7px; background: transparent; cursor: pointer; font-size: 14px; font-weight: 500; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

/* Interpretation */
.reading { font: 18px/1.6 var(--serif); }
.method { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px 40px; font-size: 14px; color: var(--sub); }

/* Lists of tools */
.tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; }
.tools a, .tools div { display: flex; flex-direction: column; gap: 4px; min-height: 76px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; }
.tools a strong { font-size: 16px; }
.tools div { background: transparent; border-style: dashed; color: var(--sub); }

footer.site-footer { border-top: 3px double var(--gold); padding: 24px 0 48px; }

@media (prefers-reduced-motion: no-preference) {
  .fade { animation: fade 300ms ease-out; }
  @keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
}

/* Small layout helpers (no inline styles, so the content security policy can forbid them) */
[data-gap="6"] { --gap: 6px; }
[data-gap="12"] { --gap: 12px; }
.city-field { max-width: 420px; padding-bottom: 16px; }
.panel.tight { padding: 4px 20px; }
html[data-mode="vedic"] [data-show="western"], html[data-mode="western"] [data-show="vedic"] { display: none !important; }

/* Night-sky panels (docs/decisions.md, 1 Dec 2026): the top of Today and of outlooks. Reading stays on paper. */
.night { background: linear-gradient(170deg, #0F1020 0%, #161A38 60%, #1E2246 100%); color: #ECE8E1; }
.night a { color: #F6F1E7; }
.night .site-header { border-bottom-color: rgba(236, 232, 225, 0.12); }
.night .brand, .night .site-nav a { color: #F6F1E7; }
.night .site-nav a[aria-current="page"] { text-decoration-color: #D4B26E; }
.night .switch { background: transparent; border-color: rgba(236, 232, 225, 0.42); }
.night .switch button { color: #ECE8E1; }
.night .switch button[aria-pressed="true"] { background: #F6F1E7; color: #1E2140; }
.night .ghost { color: #ECE8E1; border-color: rgba(236, 232, 225, 0.42); }
.night .muted, .night .dateline { color: #A9ABBE; }
.night .dateline time { color: #D4B26E; }
.hero { display: flex; flex-direction: column; gap: 24px; padding-top: 32px; padding-bottom: 44px; }
.hero h1 { font: 400 clamp(28px, 4vw, 44px)/1.2 var(--serif); letter-spacing: -0.01em; color: #F6F1E7; max-width: 920px; }
.hero-visuals { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: center; }
@media (max-width: 860px) { .hero-visuals { grid-template-columns: minmax(0, 1fr); } }
.day-arc, .sky-wheel { width: 100%; height: auto; display: block; }
.sky-wheel { max-width: 500px; margin: 0 auto; }
.day-arc text { font-family: var(--sans); }
.arc-now { font-size: 15px; font-weight: 600; fill: #F6F1E7; }
.arc-label { font-size: 14px; fill: #A9ABBE; }
.wheel-sign text { font: 600 11px var(--sans); letter-spacing: 1.2px; fill: #A9ABBE; text-anchor: middle; dominant-baseline: middle; }
.wheel-sign text.on { fill: #D4B26E; }
.wheel-body { font: 500 12px var(--sans); fill: #ECE8E1; }
.wheel-centre { font: italic 15px var(--serif); fill: #A9ABBE; }
.wheel-caption { font: 11px var(--sans); letter-spacing: 1px; fill: #6E7190; }
.legend { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: #A9ABBE; list-style: none; margin: 0; padding: 0; }
.legend .key { display: inline-block; width: 14px; height: 8px; border-radius: 2px; margin-right: 8px; vertical-align: middle; }
.key.rahu { background: #C99383; } .key.other { background: rgba(169, 171, 190, 0.45); }
.night-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 1px solid rgba(212, 178, 110, 0.5); border-bottom: 1px solid rgba(212, 178, 110, 0.5); }
.night-strip > div { padding: 16px 16px 16px 0; display: flex; flex-direction: column; gap: 2px; }
.night-strip > div + div { padding-left: 16px; border-left: 1px solid rgba(236, 232, 225, 0.12); }
.night-strip .label { color: #A9ABBE; }
.night-strip .big { font-size: 22px; font-weight: 500; color: #F6F1E7; }
@media (max-width: 520px) { .night-strip > div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(236, 232, 225, 0.12); } }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 7px; border-radius: 999px; background: rgba(246, 241, 231, 0.06); border: 1px solid rgba(246, 241, 231, 0.14); font-size: 14px; }
.chip svg { flex: none; }
.chip-r { font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 999px; border: 1px solid #D4B26E; color: #D4B26E; }
.sky-defs { position: absolute; width: 0; height: 0; }

/* Typed date and time boxes (GOV.UK date input pattern): never a calendar picker for a birth date. */
.boxes { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; border: 0; margin: 0; padding: 0; }
.boxes legend { font-size: 15px; font-weight: 600; padding: 0; margin-bottom: 4px; }
.boxes .field { font-size: 14px; font-weight: 400; }
.field input.w2 { width: 4.2em; } .field input.w4 { width: 6em; }
.ampm { display: inline-flex; border: 1px solid var(--control); border-radius: 10px; padding: 3px; min-height: 48px; }
.ampm button { min-width: 52px; border: 0; border-radius: 7px; background: transparent; font-weight: 500; cursor: pointer; }
.ampm button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand svg { width: 46px; height: 29px; }
.week-col { grid-template-columns: minmax(0, 1fr); }
.week-col > div { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; padding: 12px 0; }
.datebox { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.datebox legend { font-size: 15px; font-weight: 600; padding: 0; }
.datebox:disabled { opacity: 0.5; }
.wheel-house text { font: 600 12px var(--sans); fill: #6E7190; text-anchor: middle; dominant-baseline: middle; }
.wheel-asc { font: 700 11px var(--sans); letter-spacing: 1px; fill: #D4B26E; text-anchor: middle; dominant-baseline: middle; }
.ni-night { width: 100%; max-width: 460px; height: auto; display: block; margin: 0 auto; }
.ni-sign { font: 500 12px var(--sans); fill: #8E91AE; text-anchor: middle; dominant-baseline: middle; }
.ni-asc { font: 700 11px var(--sans); letter-spacing: 1px; fill: #D4B26E; text-anchor: middle; dominant-baseline: middle; }
.ni-body { font: 600 14px var(--sans); fill: #ECE8E1; dominant-baseline: middle; }

/* Birth chart result in the night-sky panel */
.chart-hero { border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.chart-summary { font: 400 clamp(24px, 3.2vw, 36px)/1.25 var(--serif); color: #F6F1E7; max-width: 900px; }
.chart-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 860px) { .chart-grid { grid-template-columns: minmax(0, 1fr); } .chart-hero { padding: 20px; } }
.chart-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 520px) { .chart-cards { grid-template-columns: minmax(0, 1fr); } }
.night .card { background: rgba(246, 241, 231, 0.06); border-color: rgba(246, 241, 231, 0.14); color: #ECE8E1; }
.night .card .value { color: #F6F1E7; }
.night .label { color: #A9ABBE; }
.seg-night { border-color: rgba(236, 232, 225, 0.42); align-self: center; }
.seg-night button { color: #ECE8E1; }
.seg-night button[aria-pressed="true"] { background: #F6F1E7; color: #1E2140; }
.planet-cell { display: inline-flex; align-items: center; gap: 8px; }
.dasha-bar { position: relative; display: flex; height: 56px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.dasha-seg { flex: 0 0 var(--w); min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 6px; border-right: 1px solid var(--line); font-size: 13px; font-weight: 600; overflow: hidden; white-space: nowrap; }
.dasha-seg .yrs { font-size: 11px; font-weight: 400; color: var(--sub); }
.dasha-seg.now { background: rgba(184, 146, 74, 0.18); box-shadow: inset 0 -3px 0 var(--gold); }
.dasha-now { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; background: var(--ink); }
.house-ring { width: 100%; max-width: 400px; height: auto; display: block; margin: 0 auto; }

/* Sign outlook pages (generated by tools/outlooks/build.ts) */
.switch a { display: inline-flex; align-items: center; min-height: 40px; min-width: 88px; justify-content: center; padding: 0 16px; border-radius: 7px; font-weight: 500; font-size: 14px; text-decoration: none; }
.night .switch a { color: #ECE8E1; }
.night .switch a[aria-current="page"] { background: #F6F1E7; color: #1E2140; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #D4B26E; }
.outlook-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center; }
@media (max-width: 860px) { .outlook-grid { grid-template-columns: minmax(0, 1fr); } }
.outlook-facts { font-size: 18px; line-height: 1.55; color: #E7E2D8; max-width: 640px; }
.outlook-ask { font: italic 24px/1.45 var(--serif); color: #F6F1E7; max-width: 640px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid rgba(236, 232, 225, 0.42); border-radius: 999px; text-decoration: none; font-size: 14px; }
.pills a[aria-current="page"] { background: #F6F1E7; color: #1E2140; border-color: #F6F1E7; }
.center { text-align: center; }
.serif-h { font: 400 30px/1.2 var(--serif); }
.tl-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; }
.tl { width: 100%; height: auto; display: block; }
.tl text { font-family: var(--sans); }
.tl-tick { font-size: 12px; fill: var(--sub); }
.tl-grid { stroke: var(--line); }
.tl-name { font-size: 15px; font-weight: 500; fill: var(--ink); }
.tl-bar { stroke-width: 1; }
.tl-bar.neutral { fill: #E7E7EF; stroke: #8E91AE; } .tl-label.neutral { fill: #3E4160; }
.tl-bar.supportive { fill: #CFE0D4; stroke: #2F5140; } .tl-label.supportive { fill: #2F5140; }
.tl-bar.demanding { fill: #F1DCD2; stroke: #74402F; } .tl-label.demanding { fill: #74402F; }
.tl-label { font-size: 12px; font-weight: 600; }
.tl-retro { stroke: #B8924A; stroke-width: 2.5; stroke-dasharray: 5 4; }
.tl-until { font-size: 12px; fill: var(--sub); }
.tl-today { stroke: var(--ink); stroke-width: 1.5; } .tl-today-label { font-size: 11px; font-weight: 600; fill: var(--ink); }
.tl-list { display: none; list-style: none; margin: 0; padding: 0; }
.tl-list li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
@media (max-width: 700px) { .tl-wrap { display: none; } .tl-list { display: block; } }
.legend-paper { color: var(--sub); }
.key.sup { background: #CFE0D4; border: 1px solid #2F5140; } .key.dem { background: #F1DCD2; border: 1px solid #74402F; } .key.neu { background: #E7E7EF; border: 1px solid #8E91AE; } .key.retro { height: 0; border-top: 2.5px dashed #B8924A; }
.dates { list-style: none; margin: 0; padding: 0; }
.dates li { display: grid; grid-template-columns: 24px 120px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.dates time { font-weight: 600; }
.cta-card { border-radius: 18px; padding: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.cta-title { font: 400 26px/1.25 var(--serif); color: #F6F1E7; }
.primary-light { background: #F6F1E7; color: #1E2140; display: inline-flex; align-items: center; text-decoration: none; }
.pager { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 15px; }
.passage { border-radius: 14px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.passage.supportive { background: var(--sage-bg); color: var(--sage-ink); border-color: transparent; }
.passage.demanding { background: var(--clay-bg); color: var(--clay-ink); border-color: transparent; }
.passage .tone { font-size: 13px; font-weight: 600; }
.sign-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.sign-tile { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(246, 241, 231, 0.06); border: 1px solid rgba(246, 241, 231, 0.14); text-decoration: none; }
.sign-tile span { display: flex; flex-direction: column; line-height: 1.25; }
.sign-tile em { font: italic 14px var(--serif); color: #D4B26E; }
.night a.primary-light, .night a.primary-light:hover { color: #1E2140; }
.sign-tile.paper { background: var(--surface); border-color: var(--line); }
.sign-tile.paper em { color: var(--sub); }
