/* inner.css (9 Nov 2026) · the homepage's system on every inner page.
   Worlds: kundli and matching live at night, as their chapters do on the homepage (navy, gold, a few stars, a cloud band);
   panchang, Vastu and the rest live on the day's parchment. Shared: no bordered boxes (text on calm ground, ruled rows),
   pickers as soft pills, one Ask (no floating bubble), Dhruva guides the astrology pages, the red pen marks the Vastu pages,
   the footer closes the day at night. */

/* ---------- shared ---------- */
.askwa { display: none !important; } /* one Ask: the header's, plus each page's own consultant action */
body[data-page] .phead { padding-block: clamp(28px, 4vw, 56px) var(--g4); }
body[data-page] .phead h1 { font: 500 var(--t-head)/1.08 var(--serif); letter-spacing: 0; }
body[data-page] .phead .lead { max-width: 34em; font: 400 var(--t-lead)/1.5 var(--font); }
/* no boxed panels: the page's content sits on its ground; only real objects (the patri, the plan) are paper */
body[data-page] .paper { background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; padding: 0 !important; }
/* pickers as soft pills, the homepage's chip */
body[data-page] .f select, body[data-page] .bfields select, body[data-page] input[type="time"] {
  min-height: 48px; padding: 0 2.2em 0 16px; border: 0 !important; border-radius: 999px !important; font: 500 var(--t-body) var(--font);
  background-color: rgba(164,85,59,.1) !important; box-shadow: inset 0 0 0 1px rgba(164,85,59,.26) !important; color: var(--terra-d) !important; }
body[data-page] .f select:focus-visible, body[data-page] input[type="time"]:focus-visible { outline: 2px solid var(--terra-d); outline-offset: 2px; }
body[data-page] .f label, body[data-page] .f .lab { font: 500 var(--t-small)/1.4 var(--font); color: var(--ink2); }
/* ruled rows instead of a boxed table */
body[data-page] .parts th { font: 500 var(--t-small)/1.3 var(--font); color: var(--ink2); }
body[data-page] .parts td { padding: 14px 8px; }
/* Dhruva's line, as on the homepage */
body[data-page] .dhruva { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px; margin: var(--g3) 0 0; max-width: 34em; font: 400 var(--t-body)/1.55 var(--font); }
body[data-page] .dhruva .dh { display: block; width: 56px; height: 56px; } body[data-page] .dhruva .dh svg { width: 56px; height: 56px; }
/* the day closes at night: the footer as on the homepage */
body[data-page] > footer { background: #111940 !important; color: rgba(243,241,234,.84); border-top: 0 !important; }
body[data-page] > footer .wrap { background: none !important; border: 0 !important; box-shadow: none !important; }
body[data-page] > footer a, body[data-page] > footer li a { color: rgba(243,241,234,.92) !important; } body[data-page] > footer a:hover { color: #f1d897 !important; }
body[data-page] > footer h3, body[data-page] > footer .wm { color: #f1d897 !important; } body[data-page] > footer p, body[data-page] > footer .small, body[data-page] > footer .base { color: rgba(243,241,234,.84) !important; }

/* ---------- night: kundli ---------- */
body[data-page="kundli"] { background: #0c1434 linear-gradient(180deg, #111940 0%, #0a1029 22%, #080e26 55%, #0c1434 85%, #111940 100%) no-repeat !important; background-size: 100% 100% !important; color: #eef2ec; }
body[data-page="kundli"] main { position: relative; isolation: isolate; padding-bottom: clamp(110px, 12vw, 180px); }
/* three or four placed stars, never a field */
body[data-page="kundli"] main::before { content: ""; position: absolute; z-index: -1; left: 6%; top: 140px; width: 2.6px; height: 2.6px; border-radius: 50%; background: #f6ead0; opacity: .8;
  box-shadow: 86vw -60px 0 0 rgba(246,234,208,.7), 78vw 260px 0 -.4px rgba(246,234,208,.6), 40vw -90px 0 -.4px rgba(246,234,208,.55), 92vw 520px 0 0 rgba(246,234,208,.6); pointer-events: none; }
/* a moonlit cloud band at the foot of the night, where the page hands over to the footer */
body[data-page="kundli"] main::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: clamp(110px, 12vw, 170px); pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 180' preserveAspectRatio='xMidYMid slice'%3E%3Cdefs%3E%3ClinearGradient id='l' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23d4d6f2' stop-opacity='.7'/%3E%3Cstop offset='.45' stop-color='%238a8cc2' stop-opacity='.3'/%3E%3Cstop offset='1' stop-color='%232c2f6a' stop-opacity='0'/%3E%3C/linearGradient%3E%3Cfilter id='c' x='-10%25' y='-60%25' width='120%25' height='220%25'%3E%3CfeGaussianBlur stdDeviation='10'/%3E%3C/filter%3E%3C/defs%3E%3Cg fill='url(%23l)' filter='url(%23c)' opacity='.75'%3E%3Cellipse cx='60' cy='104' rx='230' ry='50'/%3E%3Cellipse cx='330' cy='96' rx='190' ry='42'/%3E%3Cellipse cx='600' cy='110' rx='250' ry='54'/%3E%3Cellipse cx='880' cy='98' rx='210' ry='44'/%3E%3Cellipse cx='1150' cy='108' rx='240' ry='52'/%3E%3Cellipse cx='1420' cy='100' rx='200' ry='44'/%3E%3C/g%3E%3Cg fill='url(%23l)' filter='url(%23c)' opacity='.5'%3E%3Cellipse cx='200' cy='78' rx='160' ry='34'/%3E%3Cellipse cx='760' cy='74' rx='180' ry='36'/%3E%3Cellipse cx='1260' cy='80' rx='170' ry='34'/%3E%3C/g%3E%3C/svg%3E") center bottom / 100% 100% no-repeat; }
body[data-page="kundli"] .phead h1 { color: #f7efe0; }
body[data-page="kundli"] .phead .lead, body[data-page="kundli"] p { color: rgba(238,242,236,.9); }
body[data-page="kundli"] .who { color: #f1d897; }
body[data-page="kundli"] .f label, body[data-page="kundli"] .f .lab,
body[data-page="kundli"] .hint, body[data-page="kundli"] .small, body[data-page="kundli"] label { color: rgba(238,242,236,.88) !important; }
body[data-page="kundli"] .f select, body[data-page="kundli"] input[type="time"] {
  background-color: rgba(231,203,143,.12) !important; box-shadow: inset 0 0 0 1px rgba(231,203,143,.34) !important; color: #e7cb8f !important; color-scheme: dark; }
body[data-page="kundli"] .f select option { color: #1d1d1d; background: #fff; }
body[data-page="kundli"] input[type="checkbox"] { accent-color: #d4ae62; }
/* facts and rows ruled in gold */
body[data-page="kundli"] .facts > div, body[data-page="kundli"] .parts th,
body[data-page="kundli"] .parts td { border-top-color: rgba(212,174,98,.32) !important; }
body[data-page="kundli"] .facts dt, body[data-page="kundli"] .parts th { color: #e7cb8f !important; }
body[data-page="kundli"] .facts dd, body[data-page="kundli"] .parts td { color: rgba(238,242,236,.92) !important; }
body[data-page="kundli"] .facts dd b, body[data-page="kundli"] .parts td b { color: #f7efe0 !important; }
body[data-page="kundli"] .parts tfoot td { color: #f1d897 !important; font-weight: 600; }
body[data-page="kundli"] .parts tr.zero td:nth-child(2) b { color: #f3a48a !important; }
/* the score as the homepage's gold seal */
/* the patri sits on the night like the homepage's, softly lit */
body[data-page="kundli"] .patri { box-shadow: 0 0 60px rgba(240,200,120,.18), 0 40px 70px -40px rgba(0,0,0,.6) !important; }
/* Dhruva on the night */
body[data-page="kundli"] .dhruva, body[data-page="kundli"] .dhruva span { color: #f3f1ea; }
body[data-page="kundli"] .dhruva b { color: #f1d897; font-weight: 600; }
body[data-page="kundli"] .link { color: #f1d897 !important; text-decoration-color: rgba(241,216,151,.5) !important; }

/* ---------- day: panchang's hours as the homepage's coloured rectangles ---------- */

/* ---------- day: the Vastu pages keep the red pen; the report sits on the parchment, ruled ---------- */
body[data-page^="vastu"] .rlist li, body[data-page^="vastu"] .facts > div { border-top-color: var(--line2) !important; }
body[data-page^="vastu"] .rooms .chip, body[data-page^="vastu"] .rooms button { border-radius: 999px; }

/* v39 fixes: the header keeps its ink on the night pages; arrows hidden as on the homepage; the team in one row */
body[data-page] header { color: var(--ink); } body[data-page] header .wm { color: var(--ink) !important; }
body[data-page] .ar { display: none !important; }
@media (min-width: 900px) { body[data-page="consultants"] .team2 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }

/* ---------- matching, rebuilt in the tool-page pattern: one result first, details on demand, one question at a time ---------- */
/* the ring */
/* the eight parts as one bar */
/* check yours, one step at a time */
@media (max-width: 760px) {
}
body[data-page="kundli"] :is(.f select, input[type="time"]):focus-visible { outline: 2px solid #f1d897 !important; outline-offset: 2px; }

/* ---------- the tool-page pattern, shared by kundli (night) and panchang (day) ---------- */
:is(.kx-top, .px-top) { display: grid; gap: var(--g4) clamp(32px, 6vw, 96px); align-items: center; padding-block: clamp(28px, 4vw, 56px) var(--g4); }
.kx-top { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } .px-top { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
:is(.kx-words, .px-words) h1 { margin: 0; font: 500 var(--t-head)/1.08 var(--serif); }
:is(.kx-words, .px-words) .lead { margin: 12px 0 0; max-width: 30em; }
:is(.kx-pair, .px-pair) { margin: 22px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font: 400 var(--t-body)/1.4 var(--font); }
:is(.kx-res, .px-res) { margin-top: 26px; display: grid; gap: 10px; justify-items: start; }
:is(.kx-res, .kx-pair, .kx-steps)[hidden] { display: none; }
.kx-big, .px-big { margin: 0; font: 600 clamp(32px, 3vw, 46px)/1.1 var(--serif); }
.kx-big .sg { font-family: "Noto Sans Symbols", "Segoe UI Symbol", serif; font-weight: 400; margin-right: .1em; } .kx-big .kx-en { font: 400 .55em var(--font); opacity: .85; }
:is(.kx-line, .px-line) { margin: 0; font-size: var(--t-body); }
:is(.kx-chips, .px-qs) { display: flex; flex-wrap: wrap; gap: 10px; }
:is(.kx-edit, .kx-alt, .kx-chip, .px-q, .px-nav button) { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; font: 500 16px var(--font); cursor: pointer; transition: background .2s, color .2s; }
:is(.kx-list, .px-list) { list-style: none; margin: 0; padding: 0; display: grid; }
:is(.kx-list, .px-list) li { display: grid; grid-template-columns: minmax(8em, 14em) minmax(0, 1fr); gap: 4px 18px; padding: 10px 0; border-top: 1px solid var(--rule, rgba(212,174,98,.3)); }
:is(.kx-list, .px-list) li b { font-weight: 500; }
@media (max-width: 760px) {
  :is(.kx-top, .px-top) { grid-template-columns: minmax(0, 1fr); gap: 0; }
  :is(.kx-words, .px-words) { display: contents; }
  :is(.kx-words, .px-words) h1 { order: 1; } :is(.kx-words, .px-words) .lead { order: 2; } :is(.kx-pair, .px-pair) { order: 3; }
  .kx-chart, .px-day { order: 4; margin-top: 22px; } :is(.kx-res, .kx-steps, .px-res) { order: 5; }
  :is(.kx-list, .px-list) li { grid-template-columns: minmax(0, 1fr); }
  :is(.kx-res, .px-res, .kx-acts) .btn { width: 100%; justify-content: center; }
}

/* kundli, at night */
body[data-page="kundli"] .kx-words h1, body[data-page="kundli"] .kx-q { color: #f7efe0; }
body[data-page="kundli"] .kx-pair b { color: #e7cb8f; font-weight: 500; }
body[data-page="kundli"] .kx-big { color: #f1d897; } body[data-page="kundli"] .kx-dim { color: rgba(238,242,236,.85) !important; } body[data-page="kundli"] .kx-dim b { color: #f7efe0; }
body[data-page="kundli"] :is(.kx-edit, .kx-alt, .kx-chip) { background: rgba(231,203,143,.12); box-shadow: inset 0 0 0 1px rgba(231,203,143,.4); color: #f1d897; }
body[data-page="kundli"] :is(.kx-edit, .kx-alt, .kx-chip):hover { background: rgba(231,203,143,.22); }
body[data-page="kundli"] .kx-chip[aria-pressed="true"] { background: #e7cb8f; color: #111940; box-shadow: none; }
body[data-page="kundli"] :is(.kx-edit, .kx-alt, .kx-chip, .kx-back):focus-visible { outline: 2px solid #f1d897; outline-offset: 3px; }
body[data-page="kundli"] .kx-chart #chart { max-width: 560px; margin-inline: auto; }
body[data-page="kundli"] .kx-more { padding-bottom: var(--g4); }
body[data-page="kundli"] .kx-ans { margin-top: var(--g3); align-items: start; max-width: 46em; } body[data-page="kundli"] .kx-ans p { margin: 0 0 10px; } body[data-page="kundli"] .kx-ans b { color: #f1d897; }
body[data-page="kundli"] .kx-list li b { color: #f7efe0 !important; }
body[data-page="kundli"] .kx-steps { margin-top: 26px; display: grid; gap: 12px; justify-items: start; max-width: 32em; }
body[data-page="kundli"] .kx-step { margin: 0; font: 500 16px var(--font); color: #e7cb8f !important; }
body[data-page="kundli"] .kx-q { margin: 0; font: 600 clamp(28px, 2.4vw, 34px)/1.15 var(--serif); }
body[data-page="kundli"] :is(.kx-why, .kx-confirm, .kx-alt, .kx-back)[hidden] { display: none; }
body[data-page="kundli"] .kx-why { margin: 0; }
body[data-page="kundli"] .kx-fields[data-show=""] { display: none; }
body[data-page="kundli"] .kx-fields[data-show="date"] .bfields .f:not(:first-child), body[data-page="kundli"] .kx-fields[data-show="date"] .bfields .f:first-child > label, body[data-page="kundli"] .kx-fields[data-show="time"] .bfields .f:first-child { display: none; }
body[data-page="kundli"] .kx-fields .dmy { display: flex; flex-wrap: nowrap; gap: 10px; } body[data-page="kundli"] .kx-fields .dmy select { width: auto; min-height: 58px; font-size: 20px; }
body[data-page="kundli"] .kx-confirm { margin: 0; font: 400 var(--t-lead)/1.6 var(--font); color: #f7efe0 !important; } body[data-page="kundli"] .kx-confirm b { color: #e7cb8f; font-weight: 600; }
body[data-page="kundli"] .kx-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 8px; }
body[data-page="kundli"] .kx-back { border: 0; background: none; padding: 8px 4px; color: rgba(238,242,236,.85); font: 500 16px var(--font); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

/* panchang, by day: one verdict for now, and the day as a strip from sunrise to sunset */
@media (min-width: 761px) { .kx-top { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); } } body[data-page="kundli"] .kx-chart #chart { max-width: 600px; }

/* ---------- Vastu check and the room pages, by day: one score or verdict first, the compass beside it, detail on demand ---------- */
:is(.vx-top, .rx-top) { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--g4) clamp(32px, 6vw, 96px); align-items: center; padding-block: clamp(28px, 4vw, 56px) var(--g4); }
:is(.vx-words, .rx-words) h1 { margin: 0; font: 500 var(--t-head)/1.08 var(--serif); }
:is(.vx-words, .rx-words) .lead { margin: 12px 0 0; max-width: 30em; }
.vx-pair { margin: 22px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font: 400 var(--t-body)/1.4 var(--font); color: var(--ink2); }
:is(.vx-res, .rx-res) { margin-top: 24px; display: grid; gap: 14px; justify-items: start; }
:is(.vx-res, .vx-mark)[hidden] { display: none; }
.vx-score { display: flex; align-items: center; gap: 20px; }
.vx-score .stamp { flex: none; width: 118px; height: 118px; rotate: -8deg; } .vx-score .stamp[hidden] { display: none; }
:is(.vx-big, .rx-big) { margin: 0; font: 600 clamp(26px, 2.3vw, 34px)/1.15 var(--serif); color: var(--ink); }
:is(.vx-line, .rx-line) { margin: 4px 0 0; font-size: var(--t-body); color: var(--ink2); max-width: 30em; }
.rx-big { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; } .rx-big .verdict { font: 600 16px var(--font); }
:is(.vx-edit, .vx-alt, .vx-qb, .rx-qb) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: rgba(164,85,59,.1); box-shadow: inset 0 0 0 1px rgba(164,85,59,.26); color: var(--terra-d); font: 500 16px var(--font); cursor: pointer; }
:is(.vx-qb, .rx-qb)[aria-pressed="true"] { background: var(--terra-d); color: #fffaf3; box-shadow: none; }
:is(.vx-edit, .vx-alt, .vx-qb, .rx-qb, .vx-back):focus-visible { outline: 2px solid var(--terra-d); outline-offset: 3px; }
.vx-mark { margin-top: 22px; display: grid; gap: 14px; justify-items: start; }
.vx-q { margin: 0; font: 600 clamp(24px, 2vw, 30px)/1.15 var(--serif); color: var(--ink); }
.vx-tip { margin: 0; font-size: var(--t-body); color: var(--ink2); }
:is(.vx-acts, .rx-acts) { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.vx-back, .rx-link { border: 0; background: none; padding: 8px 2px; color: var(--ink2); font: 500 16px var(--font); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:is(.vx-obj, .rx-obj) .compass { max-width: 520px; margin-inline: auto; }
:is(.vx-more, .rx-more) { padding-bottom: var(--sec); }
:is(.vx-qs, .rx-qs) { display: flex; flex-wrap: wrap; gap: 10px; } .rx-qs [hidden] { display: none; }
:is(.vx-ans, .rx-ans) { margin-top: var(--g3); max-width: 46em; }
:is(.vx-ans, .rx-ans) .vx-a, :is(.vx-ans, .rx-ans) .rx-a { display: none; }
.vx-ans[data-show="fix"] .vx-a-fix, .vx-ans[data-show="rooms"] .vx-a-rooms, .vx-ans[data-show="north"] .vx-a-north, .rx-ans[data-show="schools"] .rx-a-schools, .rx-ans[data-show="steps"] .rx-a-steps { display: block; }
@media (max-width: 760px) {
  :is(.vx-top, .rx-top) { grid-template-columns: minmax(0, 1fr); gap: 0; }
  :is(.vx-words, .rx-words) { display: contents; }
  :is(.vx-words, .rx-words) h1 { order: 1; } :is(.vx-words, .rx-words) .lead { order: 2; } .vx-pair { order: 3; }
  :is(.vx-obj, .rx-obj) { order: 4; margin-top: 22px; } :is(.vx-res, .vx-mark, .rx-res) { order: 5; }
  :is(.vx-res, .rx-acts) .btn { width: 100%; justify-content: center; }
}

/* ---------- consultants: one row of people, each with one way to reach them ---------- */
body[data-page="consultants"] .team2 { gap: var(--g4) var(--g3); padding-bottom: var(--sec); }
body[data-page="consultants"] .person { display: grid; gap: 6px; justify-items: start; align-content: start; }
body[data-page="consultants"] .person b { font: 500 clamp(22px, 1.8vw, 26px)/1.15 var(--serif); color: var(--ink); }
body[data-page="consultants"] .person p { margin: 0; color: var(--ink2); }
body[data-page="consultants"] .person .btn { margin-top: 10px; min-height: 46px; padding: 0 22px; }
/* ---------- pricing: the price is the biggest thing on each card ---------- */
body[data-page="pricing"] .pr2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: var(--g3); }
body[data-page="pricing"] .pr2-card { display: grid; gap: 8px; align-content: start; justify-items: start; padding: 24px 22px 26px; border-radius: 14px; background: var(--panel); border: 1px solid var(--frame); }
body[data-page="pricing"] .pr2-card.free { background: #2f6b45; border-color: #2f6b45; } body[data-page="pricing"] .pr2-card.free * { color: #fffaf3 !important; }
body[data-page="pricing"] .pr2-price { margin: 0; font: 600 clamp(30px, 2.6vw, 40px)/1.05 var(--serif); color: var(--ink); } body[data-page="pricing"] .pr2-price.todo { color: var(--terra-d); }
body[data-page="pricing"] .pr2-name { margin: 0; font: 600 var(--t-body)/1.3 var(--font); color: var(--ink); }
body[data-page="pricing"] .pr2-what { margin: 0; color: var(--ink2); }
body[data-page="pricing"] .pr2-card .btn { margin-top: 10px; }
body[data-page="pricing"] .pr2-card.soon { background: none; border-style: dashed; }
body[data-page="pricing"] .pr2-foot { padding-block: var(--g3) var(--sec); color: var(--ink2); }
/* ---------- how we check: four short blocks ---------- */
body[data-page="how-we-check"] .hw { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--g4) clamp(32px, 5vw, 80px); padding-bottom: var(--sec); }
body[data-page="how-we-check"] .hw section { padding-top: 18px; border-top: 1px solid var(--line2); }
body[data-page="how-we-check"] .hw h2 { margin: 0 0 10px; font: 600 clamp(22px, 1.8vw, 26px)/1.2 var(--serif); color: var(--ink); }
body[data-page="how-we-check"] .hw p { margin: 0 0 10px; max-width: 34em; color: var(--ink2); }
@media (max-width: 760px) { body[data-page="how-we-check"] .hw { grid-template-columns: minmax(0, 1fr); } }
/* ---------- legal: one calm reading column ---------- */
body[data-page="legal"] .prose { max-width: 42em; padding-bottom: var(--sec); }
body[data-page="legal"] .prose h2 { font: 600 clamp(22px, 1.8vw, 26px)/1.2 var(--serif); margin: var(--g4) 0 10px; }
body[data-page="legal"] .prose .draft { color: #8f2f1c; }
body[data-page="how-we-check"] .hw h2, body[data-page="legal"] .prose h2 { font: 600 clamp(22px, 1.8vw, 26px)/1.2 var(--serif) !important; color: var(--ink) !important; letter-spacing: 0 !important; text-transform: none !important; }

/* ---------- panchang as a wall clock (9 Nov): the day's careful hours painted on its face, its hands at now or at the hour you tap ---------- */
@media (max-width: 760px) {
}

/* ---------- matching as 36 diyas (9 Nov): eight rows, row n holds the n points of that part; lamps light one by one up to the score ---------- */
@media (prefers-reduced-motion: no-preference) {
}
@keyframes mx-flick { 0%, 100% { scale: 1; rotate: 0deg; } 30% { scale: .93 1.06; rotate: -3deg; } 65% { scale: 1.04 .96; rotate: 2deg; } }
@media (max-width: 760px) {
}

/* ---------- Vastu as your home on a compass (9 Nov): a brass dial behind a drawn floor plan; rooms are furniture icons that drop into place ---------- */
:is(.vx-obj, .rx-obj) .compass { position: relative; isolation: isolate; max-width: 560px; padding: clamp(30px, 3.4vw, 40px); }
:is(.vx-obj, .rx-obj) .compass::before { content: ""; position: absolute; z-index: -2; inset: 0; border-radius: 50%; background: #f1dfbd; box-shadow: inset 0 0 0 2px #b8862f, inset 0 0 0 14px #f1dfbd, inset 0 0 0 15.5px rgba(184,134,47,.55), 0 30px 50px -30px rgba(90,50,10,.45); }
:is(.vx-obj, .rx-obj) .compass::after { content: ""; position: absolute; z-index: -1; inset: 2px; border-radius: 50%; background: repeating-conic-gradient(from -.6deg, rgba(140,98,30,.75) 0 1.2deg, transparent 1.2deg 11.25deg); -webkit-mask: radial-gradient(circle, transparent calc(50% - 13px), #000 calc(50% - 12px)); mask: radial-gradient(circle, transparent calc(50% - 13px), #000 calc(50% - 12px)); }
:is(.vx-obj, .rx-obj) .compass .lbl { z-index: 2; font: 600 20px/1 var(--serif); color: #6b4a1c; }
:is(.vx-obj, .rx-obj) .compass .ln { top: 4px; color: #a33b27; } :is(.vx-obj, .rx-obj) .compass .ls { bottom: 4px; } :is(.vx-obj, .rx-obj) .compass .lw { left: 4px; } :is(.vx-obj, .rx-obj) .compass .le { right: 4px; }
:is(.vx-obj, .rx-obj) .g3 { max-width: none; background: #fffaf2; box-shadow: 0 0 0 5px #2a160b, 0 0 0 8px #fffaf2, 0 0 0 9.5px #2a160b, 0 26px 40px -22px rgba(70,35,10,.5); }
:is(.vx-obj, .rx-obj) .g3 button { flex-direction: column; flex-wrap: nowrap; align-items: center; justify-content: center; gap: 6px; padding: 8px 6px 22px; border-right: 1.5px dashed #cdbba4; border-bottom: 1.5px dashed #cdbba4; transition: background .3s; }
:is(.vx-obj, .rx-obj) .g3 button:nth-child(3n) { border-right: 0; } :is(.vx-obj, .rx-obj) .g3 button:nth-child(n+7) { border-bottom: 0; }
:is(.vx-obj, .rx-obj) .g3 button .dn { right: 8px; bottom: 6px; font-size: 15px; }
:is(.vx-obj, .rx-obj) .g3.picking button.ok { background: rgba(47,125,79,.16); } :is(.vx-obj, .rx-obj) .g3.picking button.no { background: rgba(184,64,42,.13); }
:is(.vx-obj, .rx-obj) .g3 .rose { width: 46%; max-width: 64px; opacity: .55; } :is(.vx-obj, .rx-obj) .g3 button:has(.chip) .rose { display: none; }
:is(.vx-obj, .rx-obj) .g3 .rose circle { fill: none; stroke: #b8862f; stroke-width: 1.5; } :is(.vx-obj, .rx-obj) .g3 .rose path { fill: #b8862f; } :is(.vx-obj, .rx-obj) .g3 .rose .n { fill: #a33b27; } :is(.vx-obj, .rx-obj) .g3 .rose .t { fill: rgba(184,134,47,.55); }
:is(.vx-obj, .rx-obj) .chip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; margin: 0; padding: 4px 12px 4px 6px; border-radius: 999px; font: 500 16px/1.15 var(--font); color: var(--ink); background: rgba(42,22,11,.06); }
:is(.vx-obj, .rx-obj) .chip .ri { width: 30px; height: 30px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; } :is(.vx-obj, .rx-obj) .chip .ri .dot { fill: currentColor; stroke: none; }
:is(.vx-obj, .rx-obj) .chip.first { background: #a33b27; color: #fffaf3; } :is(.vx-obj, .rx-obj) .chip.care { background: rgba(200,100,47,.2); color: #6e2d14; } :is(.vx-obj, .rx-obj) .chip.good { background: rgba(47,125,79,.16); color: #1f5034; }
@media (prefers-reduced-motion: no-preference) { :is(.vx-obj, .rx-obj) .chip.new { animation: vx-drop .6s cubic-bezier(.3,1.5,.5,1) both; } }
@keyframes vx-drop { from { opacity: 0; transform: translateY(-28px) scale(1.3); } }
.vx-mark .rooms button { display: inline-flex; align-items: center; gap: 6px; padding-left: 8px; }
.vx-mark .rooms .ri { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; } .vx-mark .rooms .ri .dot { fill: currentColor; stroke: none; }
@media (max-width: 760px) {
  :is(.vx-obj, .rx-obj) .compass { padding: 28px; }
  :is(.vx-obj, .rx-obj) .g3 button { gap: 3px; padding: 4px 3px 18px; }
  :is(.vx-obj, .rx-obj) .chip { flex-direction: column; gap: 0; padding: 4px 6px; border-radius: 12px; font-size: 14px; text-align: center; }
  :is(.vx-obj, .rx-obj) .chip .ri { width: 24px; height: 24px; } :is(.vx-obj, .rx-obj) .g3 button .dn { font-size: 13px; right: 5px; bottom: 3px; }
}

/* panchang list: the status people know from Drik Panchang (Over, On now, In 40 min) */
@media (max-width: 760px) {
}
/* compass letters sit on their own parchment so the dial's ticks never cut them */
:is(.vx-obj, .rx-obj) .compass .lbl { padding: 1px 7px; border-radius: 999px; background: #f1dfbd; font-size: 22px; }
/* 35+ floor: nothing under 16px on the tools */
@media (max-width: 760px) { :is(.vx-obj, .rx-obj) .chip { font-size: 16px; line-height: 1.1; } :is(.vx-obj, .rx-obj) .g3 button .dn { font-size: 15px; } }
/* lamps shrink to fit any row; the clock page gives the list more room */

/* ---------- matching, light (10 Nov): her Moon and his Moon meet; the overlap holds the score; below, her side and his side of each check ---------- */
body[data-page="matching"] { --her: #a8455a; --her-bg: rgba(168,69,90,.13); --him: #3b5592; --him-bg: rgba(59,85,146,.15); --lens: #ecc879; }
body[data-page="matching"] .mx-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--g4) clamp(32px, 6vw, 96px); align-items: center; padding-block: clamp(28px, 4vw, 56px) var(--g4); }
body[data-page="matching"] .mx-words h1 { margin: 0; font: 500 var(--t-head)/1.08 var(--serif); }
body[data-page="matching"] .mx-words .lead { margin: 12px 0 0; max-width: 30em; }
body[data-page="matching"] .mx-pair { margin: 22px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font: 400 var(--t-body)/1.4 var(--font); color: var(--ink2); }
body[data-page="matching"] .mx-pair b { color: var(--ink); font-weight: 600; }
body[data-page="matching"] :is(.mx-edit, .mx-alt, .mx-chip) { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: rgba(164,85,59,.1); box-shadow: inset 0 0 0 1px rgba(164,85,59,.26); color: var(--terra-d); font: 500 16px var(--font); cursor: pointer; transition: background .2s, color .2s; }
body[data-page="matching"] :is(.mx-edit, .mx-alt, .mx-chip):hover { background: rgba(164,85,59,.16); }
body[data-page="matching"] .mx-chip[aria-pressed="true"] { background: var(--terra-d); color: #fffaf3; box-shadow: none; }
body[data-page="matching"] :is(.mx-edit, .mx-alt, .mx-chip, .mx-back, .f select, input[type="time"]):focus-visible { outline: 2px solid var(--terra-d); outline-offset: 3px; }
body[data-page="matching"] .mx-res { margin-top: 26px; display: grid; gap: 10px; justify-items: start; }
body[data-page="matching"] :is(.mx-res, .mx-pair, .mx-steps, .mx-why, .mx-confirm, .mx-alt, .mx-back, .mx-ans)[hidden] { display: none; }
body[data-page="matching"] .mx-verdict { margin: 0; font: 600 clamp(28px, 2.4vw, 36px)/1.1 var(--serif); color: var(--ink); }
body[data-page="matching"] .mx-norm { margin: 0; font-size: var(--t-body); color: var(--ink2); }
body[data-page="matching"] .mx-mang { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 10px; }
body[data-page="matching"] .mx-mg { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; background: rgba(47,107,69,.1); color: #24573a; font: 500 16px var(--font); }
body[data-page="matching"] .mx-mg.yes { background: rgba(163,59,39,.1); color: #8f2f1c; }
/* the two Moons */
body[data-page="matching"] .mx-moons { display: grid; gap: 10px; }
body[data-page="matching"] .mx-who2 { margin: 0; display: flex; justify-content: space-between; gap: 12px; font: 400 var(--t-body)/1.3 var(--font); color: var(--ink2); }
body[data-page="matching"] .mx-who2 span { display: inline-flex; align-items: center; gap: 8px; } body[data-page="matching"] .mx-who2 b { font-weight: 600; }
body[data-page="matching"] .mx-who2 .h b { color: var(--her); } body[data-page="matching"] .mx-who2 .m b { color: var(--him); }
body[data-page="matching"] .mx-who2 i { width: 12px; height: 12px; border-radius: 50%; } body[data-page="matching"] .mx-who2 .h i { background: var(--her); } body[data-page="matching"] .mx-who2 .m i { background: var(--him); }
body[data-page="matching"] .mx-moons svg { width: 100%; height: auto; display: block; overflow: visible; }
body[data-page="matching"] .mx-moons .h { fill: var(--her-bg); stroke: var(--her); stroke-width: 1.6; } body[data-page="matching"] .mx-moons .m { fill: var(--him-bg); stroke: var(--him); stroke-width: 1.6; }
body[data-page="matching"] .mx-moons .lens { fill: var(--lens); }
body[data-page="matching"] .mx-moons text { text-anchor: middle; fill: #2a160b; paint-order: stroke; stroke: var(--lens); stroke-width: 5px; stroke-linejoin: round; }
body[data-page="matching"] .mx-moons .n { font: 500 62px/1 var(--serif); font-variant-numeric: lining-nums tabular-nums; font-feature-settings: "lnum" 1; }
body[data-page="matching"] .mx-moons .of { font: 500 21px var(--serif); }
/* what each of you brings: her side, a thread, his side */
body[data-page="matching"] .mx-more { padding-bottom: var(--sec); }
body[data-page="matching"] .mx-h2 { margin: 0 0 14px; font: 500 var(--t-sub, 30px)/1.15 var(--serif); }
body[data-page="matching"] .mx-pairs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 56px); }
body[data-page="matching"] .mx-pairs li { padding: 14px 0; border-top: 1px solid var(--line2); }
body[data-page="matching"] .mx-pairs .l { margin: 0 0 10px; display: flex; justify-content: space-between; gap: 12px; font: 500 var(--t-body)/1.3 var(--font); color: var(--ink); }
body[data-page="matching"] .mx-pairs .l small { margin-left: 4px; font: 400 16px var(--font); color: var(--mute); }
body[data-page="matching"] .mx-pairs .l b { font-weight: 600; white-space: nowrap; } body[data-page="matching"] .mx-pairs .zero .l b { color: #8f2f1c; }
body[data-page="matching"] .mx-pairs .pr { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr); align-items: center; }
body[data-page="matching"] .mx-pairs .pr span { padding: 6px 12px; border-radius: 999px; font: 500 16px/1.2 var(--font); text-align: center; }
body[data-page="matching"] .mx-pairs .pr small { font: 400 16px var(--font); opacity: .8; }
body[data-page="matching"] .mx-pairs .pr .h { background: var(--her-bg); color: #7d2c3d; } body[data-page="matching"] .mx-pairs .pr .m { background: var(--him-bg); color: #283d70; }
body[data-page="matching"] .mx-pairs .pr i { height: 3px; background: #c99a3b; } body[data-page="matching"] .mx-pairs .weak .pr i { background: repeating-linear-gradient(90deg, #c99a3b 0 5px, transparent 5px 9px); height: 2px; }
body[data-page="matching"] .mx-pairs .zero .pr i { background: repeating-linear-gradient(90deg, #a33b27 0 5px, transparent 5px 9px); height: 2px; }
body[data-page="matching"] .mx-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--g3); }
body[data-page="matching"] .mx-ans { margin-top: var(--g3); align-items: start; max-width: 46em; }
body[data-page="matching"] .mx-ans p { margin: 0 0 10px; }
body[data-page="matching"] .mx-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; }
body[data-page="matching"] .mx-list li { display: grid; grid-template-columns: 3.2em minmax(0, 1fr); gap: 16px; padding: 10px 0; border-top: 1px solid var(--line2); } body[data-page="matching"] .mx-list li b { font-weight: 500; }
/* check yours: one question at a time */
body[data-page="matching"] .mx-steps { margin-top: 26px; display: grid; gap: 12px; justify-items: start; max-width: 32em; }
body[data-page="matching"] .mx-step { margin: 0; font: 500 16px var(--font); color: var(--terra-d); }
body[data-page="matching"] .mx-q { margin: 0; font: 600 clamp(28px, 2.4vw, 34px)/1.15 var(--serif); color: var(--ink); }
body[data-page="matching"] .mx-why { margin: 0; color: var(--ink2); }
body[data-page="matching"] .mx-fields > div { display: none; }
body[data-page="matching"] .mx-fields[data-show="g-date"] .mx-who-g, body[data-page="matching"] .mx-fields[data-show="b-date"] .mx-who-b, body[data-page="matching"] .mx-fields[data-show="times"] > div { display: block; }
body[data-page="matching"] .mx-fields[data-show$="date"] .mx-sub, body[data-page="matching"] .mx-fields[data-show$="date"] .bfields .f:not(:first-child), body[data-page="matching"] .mx-fields[data-show$="date"] .bfields .f:first-child > label, body[data-page="matching"] .mx-fields[data-show="times"] .bfields .f:first-child { display: none; }
body[data-page="matching"] .mx-fields .dmy { display: flex; flex-wrap: nowrap; gap: 10px; } body[data-page="matching"] .mx-fields .dmy select { width: auto; flex: 0 1 auto; min-width: 0; }
body[data-page="matching"] .mx-fields[data-show$="date"] .dmy select { min-height: 58px; font-size: 20px; }
body[data-page="matching"] .mx-sub { margin: 14px 0 6px; font: 600 var(--t-body) var(--font); color: var(--ink); }
body[data-page="matching"] .mx-confirm { margin: 0; font: 400 var(--t-lead)/1.6 var(--font); color: var(--ink); } body[data-page="matching"] .mx-confirm b { font-weight: 600; margin-right: 8px; }
body[data-page="matching"] .mx-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 8px; }
body[data-page="matching"] .mx-back { border: 0; background: none; padding: 8px 4px; color: var(--ink2); font: 500 16px var(--font); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
@media (max-width: 760px) {
  body[data-page="matching"] .mx-top { grid-template-columns: minmax(0, 1fr); gap: 0; }
  body[data-page="matching"] .mx-words { display: contents; }
  body[data-page="matching"] .mx-words h1 { order: 1; } body[data-page="matching"] .mx-words .lead { order: 2; } body[data-page="matching"] .mx-pair { order: 3; }
  body[data-page="matching"] .mx-moons { order: 4; margin-top: 22px; } body[data-page="matching"] :is(.mx-res, .mx-steps) { order: 5; }
  body[data-page="matching"] :is(.mx-acts, .mx-res) .btn { width: 100%; justify-content: center; }
  body[data-page="matching"] .mx-pairs { grid-template-columns: minmax(0, 1fr); }
  body[data-page="matching"] .mx-pairs .pr { grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr); } body[data-page="matching"] .mx-pairs .pr span { padding: 6px 8px; }
}
/* rows separated by space, not rules; answers kept to a readable measure */
body[data-page="matching"] .mx-pairs { row-gap: 26px; } body[data-page="matching"] .mx-pairs li { padding: 0; border-top: 0; }
body[data-page="matching"] .mx-ans p, body[data-page="matching"] .mx-ans li { max-width: 60ch; } body[data-page="matching"] .mx-list li { border-top: 0; padding: 6px 0; }

/* ---------- Rahu Kaal as one answer card (10 Nov): what right now is, coloured by it, counting down to the next change; the day's times below ---------- */
body[data-page="panchang"] .ck-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--g4) clamp(32px, 6vw, 96px); align-items: start; padding-block: clamp(28px, 4vw, 56px) var(--sec); }
body[data-page="panchang"] .ck-words h1 { margin: 0; font: 500 var(--t-head)/1.08 var(--serif); }
body[data-page="panchang"] .ck-words .lead { margin: 12px 0 0; max-width: 30em; }
body[data-page="panchang"] .ck-where { margin: 20px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
body[data-page="panchang"] .ck-where select { min-height: 44px; padding: 0 2.2em 0 16px; border: 0; border-radius: 999px; font: 500 var(--t-body) var(--font); background-color: rgba(164,85,59,.1); box-shadow: inset 0 0 0 1px rgba(164,85,59,.26); color: var(--terra-d); }
body[data-page="panchang"] .ck-day { display: inline-flex; align-items: center; gap: 8px; font: 500 var(--t-body) var(--font); color: var(--ink); }
body[data-page="panchang"] :is(.ck-day button, .ck-pill) { min-width: 44px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(164,85,59,.1); box-shadow: inset 0 0 0 1px rgba(164,85,59,.26); color: var(--terra-d); font: 500 18px var(--font); cursor: pointer; }
body[data-page="panchang"] :is(.ck-day button, .ck-pill, .ck-list button, select):focus-visible { outline: 2px solid var(--terra-d); outline-offset: 3px; }
/* the day's times: no rules between rows, the live one tinted, the past ones faded */
body[data-page="panchang"] .ck-h2 { margin: 34px 0 8px; font: 500 26px/1.2 var(--serif); }
body[data-page="panchang"] .ck-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 4px; }
body[data-page="panchang"] .ck-list i { width: 12px; height: 12px; border-radius: 50%; }
body[data-page="panchang"] .ck-list .rk i { background: #a33b27; } body[data-page="panchang"] .ck-list .ym i { background: #774a6d; } body[data-page="panchang"] .ck-list .gk i { background: #8d4b2a; } body[data-page="panchang"] .ck-list .ab i { background: #2f6b45; }
body[data-page="panchang"] .ck-list .t { font-weight: 500; white-space: nowrap; } body[data-page="panchang"] .ck-list .v { color: var(--ink2); } body[data-page="panchang"] .ck-list .v small { margin-left: 6px; font-size: 16px; color: var(--mute); }
body[data-page="panchang"] .ck-list .ab .v { color: #24573a; font-weight: 500; }
body[data-page="panchang"] .ck-list .s { font: 500 16px var(--font); color: var(--mute); white-space: nowrap; text-align: right; } body[data-page="panchang"] .ck-list .live .s { color: #8f2f1c; font-weight: 600; } body[data-page="panchang"] .ck-list .live.ab .s { color: #24573a; }
/* the card */
body[data-page="panchang"] .ck-card { --c: var(--ink); --bg: #efe3cf; --tr: rgba(42,22,11,.12); position: relative; padding: clamp(28px, 3.4vw, 46px); border-radius: 30px; background: var(--bg); color: var(--c); transition: background .6s, color .6s; }
body[data-page="panchang"] .ck-card[data-state="ok"] { --c: #1f4d31; --bg: #e2eedc; --tr: rgba(31,77,49,.16); }
body[data-page="panchang"] .ck-card[data-state="best"] { --c: #173d26; --bg: #cfe5cc; --tr: rgba(23,61,38,.18); }
body[data-page="panchang"] .ck-card[data-state="no"] { --c: #7a2716; --bg: #f5ddd3; --tr: rgba(122,39,22,.16); }
body[data-page="panchang"] .ck-card p { margin: 0; color: var(--c); }
body[data-page="panchang"] .ck-at { font: 500 var(--t-body) var(--font); opacity: .85; }
body[data-page="panchang"] .ck-big { margin-top: 8px !important; font: 600 clamp(44px, 4.6vw, 66px)/1.04 var(--serif); }
body[data-page="panchang"] .ck-line { margin-top: 12px !important; font: 400 var(--t-lead)/1.4 var(--font); }
body[data-page="panchang"] .ck-count { margin-top: 30px !important; font: 500 var(--t-lead) var(--font); }
body[data-page="panchang"] .ck-count b { font: 600 clamp(40px, 4vw, 56px)/1 var(--font); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }

@media (max-width: 760px) {
  body[data-page="panchang"] .ck-top { grid-template-columns: minmax(0, 1fr); gap: 0; }
  body[data-page="panchang"] .ck-words { display: contents; }
  body[data-page="panchang"] .ck-words h1 { order: 1; } body[data-page="panchang"] .ck-words .lead { order: 2; } body[data-page="panchang"] .ck-where { order: 3; }
  body[data-page="panchang"] .ck-obj { order: 4; margin-top: 20px; } body[data-page="panchang"] .ck-h2 { order: 5; } body[data-page="panchang"] .ck-list { order: 6; }
  body[data-page="panchang"] .ck-words .btn { order: 7; width: 100%; justify-content: center; }
  body[data-page="panchang"] .ck-card { border-radius: 24px; padding: 24px 22px; }
  body[data-page="panchang"] .ck-list i { grid-row: 1 / 3; } body[data-page="panchang"] .ck-list .t { grid-column: 2; } body[data-page="panchang"] .ck-list .v { grid-column: 2; grid-row: 2; } body[data-page="panchang"] .ck-list .s { grid-column: 3; grid-row: 1 / 3; }
}

/* ---------- the day's sun path on top of the answer card (10 Nov): the homepage's sky, the sun at now; drag it, tap a stretch or a row ---------- */
body[data-page="panchang"] .ck-sky { display: block; width: 100%; height: auto; margin: -6px 0 18px; overflow: visible; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
body[data-page="panchang"] .ck-sky .hz { stroke: var(--c); stroke-opacity: .25; stroke-width: 1.2; }
body[data-page="panchang"] .ck-sky .track { fill: none; stroke: var(--c); stroke-opacity: .4; stroke-width: 1.6; stroke-dasharray: 2 7; stroke-linecap: round; }
body[data-page="panchang"] .ck-sky .trail { fill: none; stroke: #c79840; stroke-width: 2.4; stroke-linecap: round; }
body[data-page="panchang"] .ck-sky .hr { font: 400 16px/1 var(--font); fill: var(--c); fill-opacity: .7; text-anchor: middle; dominant-baseline: middle; transition: opacity .25s; } body[data-page="panchang"] .ck-sky .hr.under { opacity: 0; }
body[data-page="panchang"] .ck-sky .end { font: 500 16px/1 var(--font); fill: var(--c); fill-opacity: .8; }
body[data-page="panchang"] .ck-sky .seg { fill: none; stroke-width: 12; cursor: pointer; pointer-events: stroke; transition: stroke-width .2s, opacity .4s; }
body[data-page="panchang"] .ck-sky .seg.rk { stroke: #a33b27; } body[data-page="panchang"] .ck-sky .seg.ym { stroke: #774a6d; } body[data-page="panchang"] .ck-sky .seg.gk { stroke: #8d4b2a; } body[data-page="panchang"] .ck-sky .seg.ab { stroke: #2f6b45; }
body[data-page="panchang"] .ck-sky .seg.over { opacity: .4; } body[data-page="panchang"] .ck-sky .seg.hl { stroke-width: 15; }
body[data-page="panchang"] .ck-sky .hit { fill: none; stroke: transparent; stroke-width: 44; cursor: pointer; pointer-events: stroke; }
body[data-page="panchang"] .ck-sky .sun { cursor: grab; touch-action: none; outline: none; } body[data-page="panchang"] .ck-sky.dragging .sun { cursor: grabbing; }
body[data-page="panchang"] .ck-sky .sun .disc { fill: #e39b2d; } body[data-page="panchang"] .ck-sky .sun path { stroke: #e39b2d; stroke-width: 2.4; stroke-linecap: round; }
body[data-page="panchang"] .ck-sky .sun .ring { fill: var(--bg); fill-opacity: .55; stroke: #c79840; stroke-width: 1.4; stroke-dasharray: 3 4; }
body[data-page="panchang"] .ck-sky .sun:focus-visible .ring { stroke: var(--terra-d); stroke-width: 2.4; stroke-dasharray: none; }
@media (prefers-reduced-motion: no-preference) { body[data-page="panchang"] .ck-sky .sun .ring { animation: ck-spin 14s linear infinite; transform-box: fill-box; transform-origin: center; } }
@keyframes ck-spin { to { rotate: 360deg; } }
body[data-page="panchang"] .ck-btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0 !important; } body[data-page="panchang"] .ck-btns:not(:has(button:not([hidden]))) { display: none; }
body[data-page="panchang"] .ck-pill[hidden] { display: none; }
/* the day's times are buttons now: tap one and the sun goes there */
body[data-page="panchang"] .ck-list button { width: 100%; display: grid; grid-template-columns: 12px auto minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 52px; padding: 6px 12px; border: 0; border-radius: 14px; background: none; text-align: left; cursor: pointer; font: 400 var(--t-body) var(--font); color: var(--ink); transition: background .3s, opacity .3s; }
body[data-page="panchang"] .ck-list button:hover, body[data-page="panchang"] .ck-list button.hl { background: rgba(164,85,59,.07); }
body[data-page="panchang"] .ck-list button.live, body[data-page="panchang"] .ck-list button.pick { background: rgba(164,85,59,.11); }
body[data-page="panchang"] .ck-list button.over { opacity: .5; }
@media (max-width: 760px) {
  body[data-page="panchang"] .ck-list button { grid-template-columns: 12px minmax(0, 1fr) auto; row-gap: 2px; padding: 8px 10px; }
}

/* ---------- 404 ---------- */
body[data-page="404"] .nf-top { padding-block: clamp(48px, 8vw, 120px) var(--sec); max-width: 760px; }
body[data-page="404"] .nf-top h1 { margin: 0; font: 500 var(--t-head)/1.08 var(--serif); }
body[data-page="404"] .nf-top .lead { margin: 14px 0 0; }
body[data-page="404"] .nf-links { margin: 26px 0 0; }
body[data-page="404"] .nf-tools { margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
body[data-page="404"] .nf-tools a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: rgba(164,85,59,.1); box-shadow: inset 0 0 0 1px rgba(164,85,59,.26); color: var(--terra-d); font: 500 16px var(--font); text-decoration: none; }
body[data-page="404"] .nf-tools a:hover { background: rgba(164,85,59,.16); }

/* ---------- pre-deploy sweep fixes (11 Nov) ---------- */
.noscript { margin: 0; padding: 12px 20px; background: #f5ddd3; color: #7a2716; font: 500 16px var(--font); text-align: center; }
/* the day's times stack their parts whenever the column is narrow (tablet widths too) */
@media (max-width: 1100px) {
  body[data-page="panchang"] .ck-list button { grid-template-columns: 12px minmax(0, 1fr) auto; row-gap: 2px; padding: 8px 10px; }
  body[data-page="panchang"] .ck-list i { grid-row: 1 / 3; } body[data-page="panchang"] .ck-list .t { grid-column: 2; } body[data-page="panchang"] .ck-list .v { grid-column: 2; grid-row: 2; } body[data-page="panchang"] .ck-list .s { grid-column: 3; grid-row: 1 / 3; }
}
/* the plan's rooms: direction letters at 16px; on phones each row grows to hold two rooms instead of spilling */
:is(.vx-obj, .rx-obj) .g3 button .dn { font-size: 16px; }
@media (max-width: 760px) { :is(.vx-obj, .rx-obj) .g3 { aspect-ratio: auto; grid-auto-rows: minmax(92px, auto); } :is(.vx-obj, .rx-obj) .g3 button { padding-bottom: 24px; justify-content: flex-start; } :is(.vx-obj, .rx-obj) .g3 button .dn { font-size: 16px; } }
/* thumb-sized taps: the logo link and the kundli planet buttons */
header .wm { min-height: 44px; display: inline-flex; align-items: center; }
body[data-page="kundli"] #chart .pl, body[data-page="kundli"] button.pl { min-height: 44px; }
header .wm { min-height: 44px !important; } .rx-link { min-height: 44px; display: inline-flex; align-items: center; }

/* consultants: a real picture of the work above the four names (11 Nov) */
body[data-page="consultants"] .cx-photo { margin: 0 0 var(--g3); }
body[data-page="consultants"] .cx-photo img { display: block; width: 100%; height: clamp(220px, 34vw, 440px); object-fit: cover; object-position: 50% 45%; border-radius: 24px; }
body[data-page="consultants"] .cx-photo figcaption { margin-top: 10px; font: 400 var(--t-body)/1.4 var(--font); color: var(--ink2); }

/* ---------- contrast for a 35+ audience (11 Nov): text under 24px at 7:1 or better, large text at 4.5:1 ---------- */
:root { --terra-d: #8a3d24; }
.btn:hover { background: #73311d !important; }
:is(.vx-edit, .vx-alt, .vx-qb, .rx-qb, .mx-edit, .mx-alt, .mx-chip, .ck-day button, .ck-pill, .nf-tools a, .vx-mark .rooms button, .rx-link, .vx-back):not([aria-pressed="true"]) { color: #6e2e1b !important; }
body[data-page="panchang"] .ck-where select { color: #6e2e1b; }
/* past times stay readable: no fading, a quieter colour instead, and a paler dot */
body[data-page="panchang"] .ck-list button.over { opacity: 1; } body[data-page="panchang"] .ck-list button.over :is(.t, .v, .v small, .s) { color: #5c4a3b; font-weight: 400; } body[data-page="panchang"] .ck-list button.over i { opacity: .4; }
body[data-page="panchang"] .ck-at { opacity: 1; }
body[data-page="matching"] { --her: #8e3346; --him: #2f4a85; }
body[data-page="matching"] .mx-pairs .pr .h { color: #66202f; } body[data-page="matching"] .mx-pairs .pr .m { color: #1f3466; } body[data-page="matching"] .mx-pairs .pr small { opacity: 1; }
.verdict.v-first, .v-first { background: #8f2f1c !important; color: #fffaf3 !important; }
.stamp b { color: #8f2f1c; }
:is(.vx-obj, .rx-obj) .chip.first { background: #8f2f1c; } :is(.vx-obj, .rx-obj) .chip.care { color: #5a2410; } :is(.vx-obj, .rx-obj) .chip.good { color: #173f28; }

/* stamp lines apart, 11 Nov: the tilted number and its label never touch */
.vx-score .stamp { gap: 22px; }

/* ---------- fresh-eyes review fixes (11 Nov) ---------- */
.nw { white-space: nowrap; }
#send[hidden] { display: none !important; }
body[data-page="panchang"] .ck-list .v em { font-style: normal; } body[data-page="panchang"] .ck-list .over .v em { display: none; }
/* the date row in "Check yours" fits a phone: day, month and year share the width */
@media (max-width: 600px) {
  :is(.kx-fields, .mx-fields) .dmy { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1.5fr); gap: 8px; width: 100%; }
  :is(.kx-fields, .mx-fields) .dmy select { width: 100% !important; min-width: 0 !important; padding-left: 10px !important; padding-right: 26px !important; }
  :is(.kx-steps, .mx-steps) { max-width: 100%; } :is(.kx-why, .mx-why) { overflow-wrap: anywhere; }
}
/* kundli on phones: the planets as a labelled list under the chart, each one taps its planet */
body[data-page="kundli"] .kx-legend { display: none; }
@media (max-width: 600px) {
  body[data-page="kundli"] .kx-legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; list-style: none; margin: 14px 0 0; padding: 0; }
  body[data-page="kundli"] .kx-legend button { width: 100%; display: grid; justify-items: center; gap: 2px; padding: 8px 4px; border: 1px solid rgba(231,203,143,.35); border-radius: 14px; background: rgba(231,203,143,.06); color: #f7efe0; font: 400 16px/1.2 var(--font); cursor: pointer; }
  body[data-page="kundli"] .kx-legend svg, body[data-page="kundli"] .kx-legend .art { width: 26px; height: 26px; } body[data-page="kundli"] .kx-legend b { font-weight: 500; color: #f1d897; } body[data-page="kundli"] .kx-legend span { color: rgba(238,242,236,.9); }
}
/* 404: the text lines up with the header, the measure is kept on the words */
body[data-page="404"] .nf-top { max-width: none !important; } body[data-page="404"] .nf-top > * { max-width: 760px; }
/* panchang, 12 Nov: the countdown number and its words never collide when they wrap; the time wraps before it hits the status */
body[data-page="panchang"] .ck-count { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
@media (max-width: 1000px) { body[data-page="panchang"] .ck-list .t { white-space: normal; } }
/* type revamp, 12 Nov: Mukta and Tiro sit taller and wider than Jost and Cormorant; give compact parts room */
body[data-page="kundli"] .kx-legend button { line-height: 1.35; gap: 4px; }
:is(.vx-obj, .rx-obj) .chip { line-height: 1.3; }
:is(.vx-obj, .rx-obj) .g3 button { padding-bottom: 28px; }
body[data-page="panchang"] .ck-count { gap: 12px 10px; } body[data-page="panchang"] .ck-count b { line-height: 1.15; }
.nw { display: inline-block; }
:is(.vx-words, .rx-words) h1 { font-size: clamp(34px, 1.6vw + 20px, 48px); }
:is(.vx-obj, .rx-obj) .g3 button > * { flex-shrink: 0; }
:is(.vx-obj, .rx-obj) .g3 button:has(.chip + .chip) .chip .ri { display: none; }
body[data-page="matching"] #mx-pair { line-height: 2; }

/* UI sweep, 12 Nov */
body[data-page="consultants"] .person { display: flex; flex-direction: column; }
body[data-page="consultants"] .person .btn { margin-top: auto; align-self: flex-start; }
body[data-page="consultants"] .person > :nth-last-child(2) { margin-bottom: 12px; }
:is(.vx-res, .rx-res, .vx-words, .rx-words) :is(h1, h2, p) { text-wrap: balance; }
body[data-page] > footer .wrap { padding-left: 0 !important; padding-right: 0 !important; }
:is(.vx-obj, .rx-obj) .compass .g3 { position: relative; z-index: 1; } :is(.vx-obj, .rx-obj) .compass .lbl { z-index: 5; }
body[data-page="panchang"] .ck-list .v em, body[data-page="panchang"] .ck-list .v small { display: block; margin-left: 0; }

/* UI sweep 2, 12 Nov */
body[data-page="legal"] .wrap.prose { width: 88%; max-width: 1248px; margin-inline: auto; } body[data-page="legal"] .wrap.prose > * { max-width: 46em; }
body[data-page="how-we-check"] .hw section { padding-block: 10px 22px; } body[data-page="how-we-check"] .wrap.hw { padding-bottom: 32px; }
body[data-page="404"] .nf-top { max-width: none; } body[data-page="404"] .nf-top > :not(.nf-links) { max-width: 760px; }
body[data-page="panchang"] .ck-where select { -webkit-appearance: none; appearance: none; box-shadow: none; color: #5a2a14; padding: 0 40px 0 16px;
  background: #fbf3df url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235a2a14' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center / 12px; }
body[data-page="kundli"] main::before { left: 58%; }
@media (max-width: 860px) { body[data-page="kundli"] main::before { display: none; } }
:is(.rx-words, .vx-words) > :is(.rx-more, .vx-more) { margin-top: 22px; padding: 0; width: auto; max-width: none; }
:is(.rx-words, .vx-words) > :is(.rx-more, .vx-more) { order: 90; }
body[data-page="404"] .nf-top > .nf-links { max-width: none; }
body[data-page="404"] .nf-top > .nf-tools { max-width: none; }

/* second review, 12 Nov */
.pl.tight span { display: none; } .pl.tight .art { width: 28px; height: 28px; } .pl.tight { min-width: 40px; }
@media (min-width: 761px) { :is(.vx-obj, .rx-obj) .g3 { grid-template-rows: repeat(3, 1fr); } }
:is(.vx-obj, .rx-obj) .chip.first { background: #b3261e; color: #fff; }
body[data-page="panchang"] .ck-list .t { display: inline-block; min-width: 10.8em; }
:is(.vx-res, .rx-res) .rx-big, :is(.vx-res, .rx-res) .vx-big { line-height: 1.2; }
body[data-page] > footer .base { max-width: none; }
/* 12 Nov: phone, the city, the date and the answer box share one centre line */
@media (max-width: 860px) {
  body[data-page="panchang"] .ck-where { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
  body[data-page="panchang"] .ck-where label, body[data-page="panchang"] .ck-day { display: flex; justify-content: center; }
  body[data-page="panchang"] .ck-card { margin-inline: auto; }
}
/* matching: the score sits clean in the gold lens, no halo stroke */
body[data-page="matching"] .mx-moons text { stroke: none; paint-order: normal; }
/* compass letters sit on the ring, clear of the room labels */
:is(.vx-obj, .rx-obj) .compass .lw { left: -6px; } :is(.vx-obj, .rx-obj) .compass .le { right: -6px; }
:is(.vx-obj, .rx-obj) .compass .ln { top: -4px; } :is(.vx-obj, .rx-obj) .compass .ls { bottom: -4px; }
@media (max-width: 760px) { :is(.vx-obj, .rx-obj) .compass { padding: 30px 26px; } :is(.vx-obj, .rx-obj) .g3 button { padding-left: 6px; padding-right: 6px; } }
/* one type scale for every page, 12 Nov: small, body, lead, heading, display. Logo and glyph icons sit outside it. */
:root { --fs-s: 16px; --fs-b: 19px; --fs-n: 22px; --fs-h: clamp(32px, 3.4vw, 46px); --fs-d: clamp(40px, 4.2vw, 60px); }
@media (min-width: 861px) { :root { --fs-n: 26px; } }
body:not([data-page="index"]) { --t-small: var(--fs-s); --t-body: var(--fs-b); --t-lead: var(--fs-n); --t-head: var(--fs-h); --t-sub: var(--fs-n); }
body[data-page] header .menu, body[data-page="panchang"] main button { font-size: var(--fs-s); }
body[data-page] .kx-big, body[data-page] .px-big, body[data-page="matching"] .mx-verdict, body[data-page="consultants"] .coin { font-size: var(--fs-h); }
body[data-page] .kx-big .kx-en, body[data-page] :is(.vx-big, .rx-big), body[data-page="pricing"] .pr2-price, body[data-page="matching"] .mx-h2, body[data-page="panchang"] .ck-h2 { font-size: var(--fs-n); }
body[data-page="panchang"] .ck-big, body[data-page="panchang"] .ck-count b { font-size: var(--fs-d); }
body[data-page] footer .base, body[data-page] .hx-note { max-width: 46em; }
footer h3.f2 { margin-top: 22px; }
body[data-page="consultants"] .cx-ask { margin-top: 28px; }
/* four footer columns (the vastu16.com footer): brand, then three link groups in one row; two by two on phones */
footer .cols:has(> div:nth-child(4)) { display: grid !important; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 32px 40px; }
footer .cols:has(> div:nth-child(4)) > div { grid-column: auto !important; max-width: none; }
@media (max-width: 860px) { footer .cols:has(> div:nth-child(4)) { grid-template-columns: 1fr 1fr; } footer .cols:has(> div:nth-child(4)) > div:first-child { grid-column: 1 / -1 !important; } }
/* wide screens: the kundli chart ends on the page's right margin, like the header and footer above and below it */
@media (min-width: 861px) { body[data-page="kundli"] .kx-chart #chart { margin-right: 0; } }
/* matching key: each "Her Moon in Tula" stays whole; on a narrow phone the second one moves under the first */
body[data-page="matching"] .mx-who2 { flex-wrap: wrap; row-gap: 6px; } body[data-page="matching"] .mx-who2 span { white-space: nowrap; } body[data-page="matching"] .mx-who2 i { flex: none; }
/* the smallest phones (320 to 350px): the header's Ask keeps its mic and drops its word, and the sign picker gets its
   room back, so nothing runs past the screen edge */
@media (max-width: 372px) { header .hask span { display: none; } header .hask { padding: 0 12px; } header .btn.menu { padding-inline: 14px; } } /* to 372: Menu ran past the bar from 352 to 368px */
@media (max-width: 350px) {
  body[data-page="index"] .td-horo { padding: 16px 10px; } body[data-page="index"] .td-signs { gap: 6px; } body[data-page="index"] .td-signs button { min-width: 0; padding-inline: 2px; }
}
/* skip link: hidden until a keyboard user tabs to it */
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--terra-d, #8a3d24); color: #fff; font: 600 16px/1.2 var(--font); text-decoration: none; }
.skip:focus { top: 12px; outline: 3px solid #f1d897; outline-offset: 2px; }
.oops { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; margin: 0 auto; max-width: 560px; padding: 14px 18px; border-radius: 14px; background: #2a2017; color: #fffbf3; font: 500 16px/1.4 var(--font); }

/* Pills never wrap (12 Nov). A pill holds a short label on one line; where a label can be long, the layout changes shape
   instead of breaking the pill. */
:is(.btn, .kx-chip, .kx-edit, .kx-alt, .mx-chip, .mx-edit, .mx-alt, .mx-mg, .px-q, .hx-pill) { white-space: nowrap; }
/* rooms on the plan: a pill with the icon beside the name while the zone box is wide enough, else a tile (icon above
   the name, which may take two lines in the tile) */
:is(.vx-obj, .rx-obj) .g3 button { container-type: inline-size; }
:is(.vx-obj, .rx-obj) .chip > span { white-space: nowrap; }
@container (max-width: 172px) {
  :is(.vx-obj, .rx-obj) .chip { flex-direction: column; gap: 0; padding: 4px 6px; border-radius: 12px; font-size: 14px; text-align: center; }
  :is(.vx-obj, .rx-obj) .chip > span { white-space: normal; }
  :is(.vx-obj, .rx-obj) .chip .ri { width: 24px; height: 24px; }
}
/* matching: her side and his side sit in a row when both fit on one line, and stack (joined by a short upright thread)
   when the column is narrow */
body[data-page="matching"] .mx-pairs li { container-type: inline-size; }
body[data-page="matching"] .mx-pairs .pr span { white-space: nowrap; }
@container (max-width: 460px) {
  body[data-page="matching"] .mx-pairs .pr { grid-template-columns: minmax(0, 1fr); }
  body[data-page="matching"] .mx-pairs .pr span { justify-self: start; }
  body[data-page="matching"] .mx-pairs .pr i { width: 3px; height: 10px; margin-left: 22px; }
  body[data-page="matching"] .mx-pairs .weak .pr i { width: 2px; height: 10px; background: repeating-linear-gradient(180deg, #c99a3b 0 4px, transparent 4px 7px); }
}

/* Pickers (13 Nov): our own arrow, set in from the right edge exactly as far as the text is from the left, so a round
   pill never has its arrow riding the curve; focus is one 2px ring in place of the thin border (no second ring floating
   outside). The browser's own arrow ignores padding and sat ~10px from the edge. */
body[data-page] :is(.f select, .bfields select) {
  -webkit-appearance: none !important; appearance: none !important;
  padding: 0 46px 0 20px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%238a3d24' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important; background-position: right 20px center !important; background-size: 12px 8px !important;
}
body[data-page="kundli"] :is(.f select, .bfields select) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23f1d897' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}
body[data-page] :is(.f select, .bfields select, input[type="time"]):focus-visible {
  outline: 2px solid transparent !important; outline-offset: 0 !important;
  box-shadow: inset 0 0 0 2px var(--terra-d) !important;
}
body[data-page="kundli"] :is(.f select, .bfields select, input[type="time"]):focus-visible { box-shadow: inset 0 0 0 2px #f1d897 !important; }
@media (max-width: 600px) {
  body[data-page] :is(.f select, .bfields select) { padding: 0 34px 0 14px !important; background-position: right 14px center !important; }
}
/* Focus on outlined pills (13 Nov): the pill's own thin border thickens to a 2px ring (no second ring floating outside it);
   a filled pill (a chosen chip, a solid button) gets one ring just outside, since it has no border of its own. */
body[data-page] :where(.kx-edit, .kx-alt, .kx-chip, .vx-edit, .vx-alt, .vx-qb, .rx-qb, .mx-edit, .mx-alt, .mx-chip, .ck-day button, .ck-pill, .nf-tools a, .rooms button, .btn.line.menu):focus-visible {
  outline: 2px solid transparent !important; outline-offset: 0 !important; box-shadow: inset 0 0 0 2px var(--terra-d) !important;
}
body[data-page="kundli"] :is(.kx-edit, .kx-alt, .kx-chip):focus-visible { box-shadow: inset 0 0 0 2px #f1d897 !important; }
body[data-page] :is(.kx-chip, .vx-qb, .rx-qb, .mx-chip, .ck-day button, .ck-pill, .rooms button)[aria-pressed="true"]:focus-visible {
  box-shadow: 0 0 0 2px var(--paper, #fffbf3), 0 0 0 4px var(--terra-d) !important;
}
body[data-page="kundli"] .kx-chip[aria-pressed="true"]:focus-visible { box-shadow: 0 0 0 2px #111940, 0 0 0 4px #f1d897 !important; }

@media (max-width: 600px) { /* after (and above in specificity) the picker rule, which would squeeze "27" out of the day box */
  body[data-page] :is(.kx-fields, .mx-fields) .dmy select { padding: 0 24px 0 10px !important; background-position: right 9px center !important; }
}
@media (max-width: 380px) { /* the smallest phones: "September" must fit the month box, so the date row's type steps down
   to 18px and the month gets the room the day and year can spare */
  body[data-page] :is(.kx-fields, .mx-fields) .dmy { grid-template-columns: minmax(0, .9fr) minmax(0, 2.1fr) minmax(0, 1.25fr) !important; gap: 6px !important; }
  body[data-page] :is(.kx-fields, .mx-fields)[data-show$="date"] .dmy select, body[data-page] :is(.kx-fields, .mx-fields) .dmy select { font-size: 18px !important; }
}
html { scroll-padding-top: 84px; } /* keyboard focus and jump links land below the sticky header (13 Nov) */
body[data-page] .btn { max-width: 100%; }
.v-good { color: #1f5034 !important; } /* the green verdict on its pale green chip: 4.18:1 before, about 7:1 now */
/* Tablets (761 to 1023px): the kundli, Vastu check and room tools stay in one column, as on phones. Two columns from
   761px left each column too narrow: the date form slid under the chart, the schools' answer ran three words a line,
   the score block was squeezed and two rooms crowded one zone square (visual review, 13 Nov). */
@media (max-width: 1023px) {
  :is(.kx-top, .px-top, .vx-top, .rx-top) { grid-template-columns: minmax(0, 1fr) !important; }
}
/* Visual review fixes (13 Nov) */
header { background: linear-gradient(var(--hdr-gap, #fffbf3) 0 10px, transparent 10px) !important; pointer-events: none; } /* no half-letters in the gap above the bar */
header .wrap { background: #fbf6ee !important; backdrop-filter: none !important; pointer-events: auto; } /* the bar is solid: nothing shows through */
body[data-page="kundli"] { --hdr-gap: #0c1434; }
:is(p, li, dd, figcaption) { text-wrap: pretty; }                       /* no single word alone on a last line */
body[data-page="panchang"] .ck-where label { display: inline-flex; justify-content: flex-start !important; } /* city and day start on the page's left edge */
body[data-page="pricing"] .pr2 { grid-template-columns: minmax(0, 1fr); } @media (min-width: 900px) { body[data-page="pricing"] .pr2 { grid-template-columns: repeat(3, minmax(0, 1fr)); } } /* one card a row until three fit with their buttons (no 2 + 1 gap, no button past its card) */
body[data-page="kundli"] input[type="checkbox"] { accent-color: #e7cb8f; width: 20px; height: 20px; } /* the night page's own gold, not a white browser box */
body[data-page="kundli"] input[type="time"] { color-scheme: dark; }
header :is(.nav a, .wm):focus-visible { outline-offset: -4px !important; border-radius: 10px; } /* the ring sits inside the bar, rounded like it */
header { background: var(--hdr-gap, #fffbf3) !important; }   /* the whole band is solid: no letters at the bar's rounded corners */
header.open::after { content: ""; position: fixed; inset: 0; z-index: -1; background: rgba(42, 32, 23, .28); } /* an open menu dims the page behind it */
body[data-page="panchang"] .ck-where { align-items: flex-start !important; justify-content: flex-start !important; } /* city and day start on the page's left edge (they sat centred in the column) */
