@font-face {
  font-family: "Noto Sans Sinhala";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/noto-sans-sinhala.ttf") format("truetype");
}
:root {
  color-scheme: light;
  --cream: #FFF1CF;
  --ink: #102A43;
  --border: #DDCDA8;
  --gold: #92713b;
  --paper: #fffcf5;
  --muted: #506071;
  --soft: #f6ead2;
  --danger: #8b3029;
  --font: "Noto Sans Sinhala", "Sinhala Sangam MN", "Iskoola Pota", system-ui, sans-serif;
  --display: "Noto Serif Sinhala", "Noto Sans Sinhala", "Sinhala Sangam MN", "Iskoola Pota", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.85; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: #75572a; }
button, input, select { font: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
::selection { background: #dfc58f; color: var(--ink); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.55; }
h1, h2 { font-family: var(--display); font-weight: 600; }
p { margin-bottom: 1rem; }
.shell { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 16px; z-index: 20; transform: translateY(-160%); padding: 10px 18px; background: var(--ink); color: white; }
.skip-link:focus { transform: translateY(0); color: white; }
.site-header { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-mark { width: 33px; height: 33px; border: 1px solid var(--gold); border-radius: 50%; position: relative; }
.brand-mark::before { content: ""; position: absolute; inset: 7px; border: 1px solid var(--gold); border-radius: 50%; }
.brand-mark::after { content: ""; position: absolute; width: 9px; height: 9px; right: -2px; top: 0; background: var(--cream); border: 1px solid var(--gold); transform: rotate(45deg); }
.brand-words { display: flex; flex-direction: column; line-height: 1.35; gap: 3px; }
.brand-words strong { font-family: var(--display); font-size: 28px; font-weight: 600; }
.brand-words > span { font-family: system-ui, sans-serif; font-size: 10px; letter-spacing: .13em; color: var(--muted); }
.site-header nav { display: flex; gap: 30px; font-size: 12px; }
.site-header nav a { text-decoration: none; padding: 10px 0; }
.hero { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 60px; padding: 85px 0 88px; }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .075em; color: #735729; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.eyebrow-line, .small-rule { width: 32px; height: 1px; display: inline-block; flex-shrink: 0; background: var(--gold); }
.hero h1 { font-size: clamp(36px, 4.4vw, 59px); line-height: 1.6; letter-spacing: -.035em; margin-bottom: 25px; }
.hero h1 span, .result-header h1 span { color: #856331; }
.hero-description { font-size: 16px; color: #3e5364; line-height: 2.1; max-width: 560px; }
.hero-note { display: flex; align-items: center; gap: 15px; margin-top: 30px; }
.hero-note p { margin: 0; font-size: 11px; color: var(--muted); line-height: 1.9; }
.celestial { width: 100%; max-width: 365px; aspect-ratio: 1; justify-self: center; position: relative; display: flex; align-items: center; justify-content: center; }
.celestial::before, .celestial::after { content: ""; position: absolute; background: var(--border); }
.celestial::before { width: 1px; height: 100%; }
.celestial::after { height: 1px; width: 100%; }
.celestial-orbit { width: 82%; aspect-ratio: 1; border: 1px solid #b49b68; border-radius: 50%; position: relative; display: grid; place-items: center; transform: rotate(-23deg); }
.celestial-orbit::before { content: ""; position: absolute; inset: 18px; border: 1px solid var(--border); border-radius: 50%; }
.celestial-orbit::after { content: ""; position: absolute; inset: 49px; border: 1px solid #c4ad7d; transform: rotate(45deg); }
.celestial-core { width: 82px; aspect-ratio: 1; border: 1px solid var(--gold); border-radius: 50%; background: radial-gradient(circle, #f2d99f 0, #fcebc6 65%, transparent 66%); z-index: 1; }
.orbit-point { position: absolute; border-radius: 50%; background: var(--gold); z-index: 2; }
.point-one { width: 11px; height: 11px; top: 15%; left: 11%; }
.point-two { width: 7px; height: 7px; bottom: 21%; right: 5%; background: var(--cream); border: 1px solid var(--gold); }
.celestial-caption { position: absolute; bottom: -26px; font-size: 10px; color: #735729; letter-spacing: .07em; background: var(--cream); padding-inline: 12px; z-index: 1; }
.entry-layout { display: grid; grid-template-columns: .85fr 1.35fr; gap: 85px; align-items: start; padding: 60px 0 78px; border-top: 1px solid var(--border); }
.entry-aside { padding-top: 24px; }
.entry-aside h2 { font-size: 29px; margin-bottom: 22px; }
.entry-aside > p:not(.eyebrow) { font-size: 13px; color: var(--muted); line-height: 2.1; }
.aside-note { border-left: 2px solid #b59962; padding-left: 20px; margin-top: 32px; }
.aside-note h3 { font-size: 13px; margin-bottom: 10px; }
.aside-note p, .privacy-note { font-size: 12px !important; color: var(--muted); }
.privacy-note { border-top: 1px solid var(--border); padding-top: 23px; margin-top: 32px; }
.form-card, .prose-card { background: var(--paper); padding: 36px; border: 1px solid var(--border); border-radius: 7px; box-shadow: 0 10px 35px #73572906; }
.card-heading { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; padding-bottom: 25px; border-bottom: 1px solid #e8dcc0; }
.step-number { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 50%; font-size: 13px; color: #735729; flex-shrink: 0; font-family: Georgia, serif; }
.card-heading h2 { font-size: 23px; margin: 0 0 3px; }
.card-heading p { color: var(--muted); font-size: 11px; margin: 0; }
.field { margin-bottom: 23px; min-width: 0; }
.field > label, .accuracy-field legend { display: block; font-size: 13px; font-weight: 600; margin-bottom: 9px; }
.optional { font-size: 11px; font-weight: 400; color: var(--muted); margin-left: 4px; }
input:not([type="radio"]), select { width: 100%; min-width: 0; min-height: 49px; border: 1px solid #c7bda5; border-radius: 4px; padding: 10px 12px; background: #fffefb; color: var(--ink); font-size: 14px; }
input::placeholder { color: #747775; opacity: 1; font-size: 12px; }
input[type="date"], input[type="time"] { font-family: var(--font); }
input:focus, select:focus { border-color: var(--gold); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-hint { font-size: 10px; color: var(--muted); margin: 7px 0 0; line-height: 1.9; }
.accuracy-field { border: 0; margin: 0 0 25px; padding: 0; min-width: 0; }
.accuracy-field legend { padding: 0; }
.radio-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.radio-option { display: flex; align-items: flex-start; gap: 9px; padding: 13px 10px; background: #fffefb; border: 1px solid var(--border); border-radius: 4px; cursor: pointer; }
.radio-option:has(input:checked) { border-color: var(--gold); background: #fbf2de; }
.radio-option input { accent-color: var(--gold); margin: 4px 0 0; width: 15px; height: 15px; flex-shrink: 0; }
.radio-option strong { font-size: 11px; font-weight: 600; display: block; }
.radio-option span span { display: block; font-size: 9px; color: var(--muted); margin-top: 2px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 24px; min-height: 50px; padding: 12px 23px; border: 1px solid transparent; border-radius: 4px; font-size: 13px; font-weight: 600; text-decoration: none; transition: background-color .15s ease; }
.button-primary { background: var(--ink); color: #fff8e6; }
.button-primary:hover { background: #21425c; color: white; }
.button-secondary { background: var(--paper); color: var(--ink); border-color: #b5a681; }
.button-secondary:hover { background: #f4e6c8; }
.button:disabled { opacity: .7; cursor: wait; }
.submit-button { width: 100%; justify-content: space-between; }
.button-arrow { font-size: 23px; font-weight: 400; line-height: 1; }
.submit-status:empty { display: none; }
.submit-status { font-size: 11px; color: var(--muted); margin: 12px 0 0; }
.form-footnote { font-size: 10px; color: var(--muted); text-align: center; margin: 17px 0 0; line-height: 1.95; }
.error-summary { background: #fff0e8; border: 1px solid #bb8a73; border-left: 3px solid var(--danger); color: #722c26; border-radius: 3px; padding: 16px 18px; margin-bottom: 25px; }
.error-summary h3 { font-size: 13px; margin-bottom: 9px; }
.error-summary ul { padding-left: 18px; margin: 0; font-size: 12px; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 45px; padding: 40px 0 62px; border-top: 1px solid var(--border); }
.principle-number { color: #735729; font-size: 11px; font-family: Georgia, serif; }
.principles h2 { font-size: 17px; margin: 12px 0; }
.principles p { font-size: 12px; color: var(--muted); max-width: 290px; }
.site-footer { display: flex; justify-content: space-between; gap: 30px; padding-top: 28px; padding-bottom: 30px; border-top: 1px solid var(--border); }
.footer-brand { font-family: Georgia, serif; font-size: 18px; text-decoration: none; }
.site-footer p { font-size: 10px; color: var(--muted); margin: 8px 0 0; }
.footer-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; font-size: 10px; color: var(--muted); }
.footer-meta a { text-decoration: none; }
.result-page { padding-bottom: 40px; }
.result-header { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 54px 0 35px; }
.result-header h1 { font-size: clamp(31px, 4vw, 47px); margin: 0 0 20px; overflow-wrap: anywhere; }
.result-header .eyebrow { margin-bottom: 15px; }
.result-birth { font-size: 14px; margin-bottom: 4px; }
.result-actions { display: flex; flex-direction: column; align-items: center; gap: 18px; flex-shrink: 0; }
.text-link { font-size: 12px; font-weight: 500; }
.notice { background: #f9e9c6; border: 1px solid #cfb984; border-left: 3px solid var(--gold); padding: 22px 26px; border-radius: 3px; }
.notice h2 { font-size: 16px; margin-bottom: 8px; }
.notice p, .notice li { font-size: 12px; line-height: 2; }
.notice p:last-child { margin-bottom: 0; }
.notice ul { padding-left: 20px; margin: 10px 0 0; }
.summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 30px 0 48px; }
.summary-card { background: var(--paper); padding: 26px; border: 1px solid var(--border); border-radius: 4px; }
.summary-card .eyebrow { margin-bottom: 10px; }
.summary-card h2 { font-size: 29px; margin: 0 0 8px; }
.summary-card > p:last-child { color: var(--muted); font-size: 11px; margin-bottom: 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 25px; }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading h2 { font-size: 27px; margin: 0; }
.section-heading > p { font-size: 10px; color: var(--muted); margin: 0 0 5px; max-width: 340px; }
.chart-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 45px; align-items: center; }
.zodiac-chart { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(4, minmax(115px, auto)); border-top: 1px solid #bba77d; border-left: 1px solid #bba77d; background: var(--paper); }
.chart-cell { min-width: 0; min-height: 115px; border-right: 1px solid #bba77d; border-bottom: 1px solid #bba77d; padding: 9px 10px; position: relative; }
.chart-cell h3 { font-size: 12px; font-weight: 600; color: #71562e; margin-bottom: 4px; }
.chart-cell ul { list-style: none; padding: 0; margin: 5px 0 0; font-size: 11px; line-height: 1.8; display: flex; flex-wrap: wrap; gap: 0 8px; }
.house-number { display: block; font-size: 8px; color: #5b675f; }
.is-ascendant { background: #f3e6c6; box-shadow: inset 0 0 0 1px #a78b53; }
.ascendant-marker { font-size: 8px; display: block; font-weight: 700; color: #62491f; }
.ascendant-marker abbr { text-decoration: none; }
.zodiac-pisces { grid-column: 1; grid-row: 1; }
.zodiac-aries { grid-column: 2; grid-row: 1; }
.zodiac-taurus { grid-column: 3; grid-row: 1; }
.zodiac-gemini { grid-column: 4; grid-row: 1; }
.zodiac-cancer { grid-column: 4; grid-row: 2; }
.zodiac-leo { grid-column: 4; grid-row: 3; }
.zodiac-virgo { grid-column: 4; grid-row: 4; }
.zodiac-libra { grid-column: 3; grid-row: 4; }
.zodiac-scorpio { grid-column: 2; grid-row: 4; }
.zodiac-sagittarius { grid-column: 1; grid-row: 4; }
.zodiac-capricorn { grid-column: 1; grid-row: 3; }
.zodiac-aquarius { grid-column: 1; grid-row: 2; }
.chart-center { grid-column: 2 / 4; grid-row: 2 / 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border-right: 1px solid #bba77d; border-bottom: 1px solid #bba77d; background: #fdf6e5; text-align: center; padding: 10px; }
.chart-center strong { font-family: var(--display); font-weight: 500; font-size: 18px; }
.chart-center > span:not(.chart-sun) { font-size: 11px; color: var(--muted); }
.chart-center small { color: #735729; font-size: 8px; margin-top: 7px; }
.chart-sun { border: 1px solid #a58a53; width: 40px; height: 40px; border-radius: 50%; position: relative; margin-bottom: 5px; }
.chart-sun::before { content: ""; position: absolute; inset: 7px; border: 1px solid #c2ab7b; transform: rotate(45deg); }
.chart-explainer h3 { font-size: 16px; margin-bottom: 18px; }
.chart-explainer p { font-size: 12px; color: var(--muted); line-height: 2.1; }
.small-note { font-size: 10px !important; border-top: 1px solid var(--border); padding-top: 18px; margin-top: 23px; }
.result-section { margin-top: 54px; padding-top: 36px; border-top: 1px solid var(--border); }
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: 4px; background: var(--paper); }
.planet-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; white-space: nowrap; }
.planet-table caption { text-align: left; }
.planet-table thead { background: #f4e8cf; font-size: 11px; }
.planet-table th, .planet-table td { padding: 13px 20px; border-bottom: 1px solid #e9dec7; }
.planet-table th { font-weight: 600; }
.planet-table tbody tr:last-child > * { border-bottom: 0; }
.planet-table tbody tr:nth-child(even) { background: #faf6eb; }
.numeric { font-variant-numeric: tabular-nums; }
.retrograde { color: #77552b; border-bottom: 1px dotted #a88c5a; }
.section-description { font-size: 12px; color: var(--muted); max-width: 820px; line-height: 2; }
.dasha-timeline { list-style: none; margin: 26px 0 0; padding: 0; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; background: var(--paper); }
.dasha-item { display: grid; grid-template-columns: 12px 1fr 1fr; align-items: center; gap: 20px; padding: 14px 24px; border-bottom: 1px solid #e9dec7; }
.dasha-item:last-child { border-bottom: 0; }
.timeline-dot { width: 7px; height: 7px; border: 1px solid var(--gold); border-radius: 50%; }
.dasha-lord { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.dasha-lord h3 { margin: 0; font-size: 13px; font-weight: 500; }
.dasha-item p { margin: 0; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; text-align: right; }
.dasha-item.is-current { background: #f3e8cd; }
.is-current .timeline-dot { background: var(--gold); box-shadow: 0 0 0 4px #92713b1a; }
.current-tag { font-size: 9px; font-weight: 600; color: #674e25; border: 1px solid #c8ae7c; border-radius: 20px; padding: 1px 9px; }
.interpretation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.interpretation-card { background: var(--paper); border: 1px solid var(--border); border-radius: 4px; padding: 26px; }
.interpretation-card h3 { font-size: 15px; margin-bottom: 12px; }
.interpretation-card p { font-size: 12px; color: var(--muted); line-height: 2; margin-bottom: 0; }
.technical-details { border: 1px solid var(--border); background: #fcf3df; border-radius: 4px; margin-top: 44px; }
.technical-details summary { cursor: pointer; padding: 19px 23px; font-size: 13px; font-weight: 600; }
.technical-content { padding: 0 24px 22px; }
.technical-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 30px; border-top: 1px solid var(--border); padding-top: 24px; }
.technical-grid div { min-width: 0; }
.technical-grid dt { color: var(--muted); font-size: 10px; margin-bottom: 4px; }
.technical-grid dd { margin: 0; font-size: 12px; overflow-wrap: anywhere; }
.technical-content > p { margin: 24px 0 0; font-size: 11px; }
.result-closing { text-align: center; margin: 45px 0 0; padding: 20px 0; }
.result-closing > p { font-family: var(--display); font-size: 20px; margin-bottom: 8px; }
.result-closing > span { display: block; color: var(--muted); font-size: 11px; margin-bottom: 18px; }
.message-page { max-width: 720px; padding: 90px 0 110px; min-height: 60vh; }
.message-page h1, .page-intro h1 { font-size: clamp(28px, 4vw, 43px); margin-bottom: 25px; }
.lead { color: var(--muted); line-height: 2; margin-bottom: 32px; }
.information-page { max-width: 820px; margin: 0 auto; padding: 60px 0 70px; }
.page-intro { margin-bottom: 32px; }
.prose-card { padding: 38px 42px; }
.prose-card section + section { border-top: 1px solid var(--border); padding-top: 25px; margin-top: 25px; }
.prose-card h2 { font-size: 19px; margin-bottom: 13px; }
.prose-card p { font-size: 13px; line-height: 2.1; color: var(--muted); white-space: pre-line; overflow-wrap: anywhere; }
.prose-card > .text-link { display: inline-block; margin-top: 20px; }
@media (min-width: 1450px) { .hero { padding-top: 100px; padding-bottom: 105px; } }
@media (max-width: 1000px) {
  .shell { width: calc(100% - 56px); }
  .hero { gap: 30px; padding-top: 65px; }
  .celestial { max-width: 290px; }
  .entry-layout { gap: 42px; grid-template-columns: .8fr 1.2fr; }
  .form-card { padding: 27px; }
  .chart-layout { gap: 30px; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
  .chart-cell { padding: 8px; }
  .chart-cell ul { font-size: 10px; gap: 0 5px; }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 40px); }
  .site-header { min-height: 92px; gap: 20px; }
  .site-header nav { font-size: 10px; gap: 17px; }
  .brand { gap: 10px; }
  .brand-words strong { font-size: 23px; }
  .brand-words > span { font-size: 8px; }
  .brand-mark { width: 27px; height: 27px; }
  .hero { grid-template-columns: 1fr; padding: 48px 0 52px; gap: 30px; position: relative; }
  .hero-copy { position: relative; z-index: 1; }
  .hero h1 { font-size: clamp(34px, 7vw, 48px); }
  .hero-description { max-width: 550px; font-size: 14px; }
  .celestial { display: none; }
  .hero-note { margin-top: 22px; }
  .entry-layout { grid-template-columns: 1fr; gap: 30px; padding: 36px 0 45px; }
  .entry-aside { padding-top: 0; }
  .entry-aside h2 { font-size: 26px; }
  .entry-aside h2 br { display: none; }
  .entry-aside > .eyebrow { margin-bottom: 12px; }
  .aside-note { margin-top: 20px; }
  .privacy-note { margin-top: 20px; padding-top: 18px; margin-bottom: 0; }
  .form-card { padding: 28px; }
  .principles { gap: 22px; padding: 30px 0 40px; }
  .principles h2 { font-size: 15px; }
  .principles p { font-size: 11px; }
  .site-footer { align-items: flex-start; }
  .footer-meta { justify-content: flex-end; gap: 9px 18px; max-width: 180px; }
  .result-header { padding-top: 35px; flex-direction: column; align-items: flex-start; }
  .result-actions { flex-direction: row; flex-wrap: wrap; gap: 15px 22px; }
  .summary-grid { gap: 12px; margin-bottom: 35px; }
  .summary-card { padding: 20px 16px; }
  .summary-card h2 { font-size: 24px; }
  .summary-card .eyebrow { font-size: 10px; }
  .summary-card > p:last-child { font-size: 10px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .section-heading h2 { font-size: 24px; }
  .chart-layout { grid-template-columns: 1fr; gap: 25px; }
  .zodiac-chart { max-width: 600px; width: 100%; margin-inline: auto; }
  .chart-explainer { max-width: 600px; }
  .chart-explainer h3 { margin-bottom: 10px; }
  .chart-cell { padding: 10px; }
  .chart-cell ul { font-size: 11px; }
  .chart-explainer .small-note { margin-top: 15px; }
  .result-section { margin-top: 32px; padding-top: 28px; }
  .planet-table th, .planet-table td { padding: 12px 16px; }
  .interpretation-card { padding: 21px; }
  .notice { padding: 20px; }
  .prose-card { padding: 28px; }
  .information-page { padding-top: 40px; }
}
@media (max-width: 480px) {
  .shell { width: calc(100% - 32px); }
  .site-header nav { gap: 12px; max-width: 170px; flex-wrap: wrap; justify-content: flex-end; line-height: 1.6; }
  .site-header nav a { padding: 5px 0; }
  .hero h1 { font-size: 35px; }
  .hero-description { font-size: 13px; }
  .hero .eyebrow { font-size: 10px; }
  .hero-note p { font-size: 10px; }
  .entry-aside h2 { font-size: 24px; }
  .form-card { padding: 22px 18px; }
  .card-heading { gap: 12px; }
  .card-heading h2 { font-size: 21px; }
  .card-heading p { font-size: 10px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .radio-options { grid-template-columns: 1fr; }
  .radio-option { padding: 12px; }
  .radio-option strong { font-size: 12px; }
  .radio-option span span { font-size: 10px; }
  .principles { grid-template-columns: 1fr; gap: 22px; }
  .principles h2 { margin: 8px 0; font-size: 16px; }
  .principles p { max-width: none; margin-bottom: 0; font-size: 12px; }
  .site-footer { flex-direction: column; gap: 22px; }
  .footer-meta { justify-content: flex-start; max-width: none; }
  .result-header h1 { font-size: 34px; }
  .result-birth { font-size: 12px; }
  .summary-grid { grid-template-columns: 1fr; gap: 10px; }
  .summary-card { padding: 17px 20px; }
  .summary-card h2 { font-size: 25px; margin-bottom: 4px; }
  .summary-card .eyebrow { margin-bottom: 5px; }
  .summary-card > p:last-child { font-size: 11px; }
  .zodiac-chart { grid-template-rows: repeat(4, minmax(100px, auto)); }
  .chart-cell { padding: 7px 5px; min-height: 100px; }
  .chart-cell h3 { font-size: 10px; }
  .chart-cell ul { font-size: 9px; display: block; }
  .chart-cell li { overflow-wrap: anywhere; }
  .chart-center { gap: 7px; padding: 7px; }
  .chart-center strong { font-size: 13px; }
  .chart-center > span:not(.chart-sun) { font-size: 9px; }
  .chart-center small { font-size: 7px; }
  .chart-sun { width: 30px; height: 30px; }
  .house-number, .ascendant-marker { font-size: 7px; }
  .notice p, .notice li { font-size: 11px; }
  .notice { padding: 17px; }
  .dasha-item { gap: 12px; grid-template-columns: 9px 1fr; padding: 14px 17px; }
  .dasha-item p { grid-column: 2; text-align: left; font-size: 11px; }
  .dasha-lord { gap: 9px; }
  .interpretation-grid, .technical-grid { grid-template-columns: 1fr; }
  .technical-content { padding: 0 18px 20px; }
  .technical-details summary { padding-inline: 18px; font-size: 12px; }
  .result-closing > p { font-size: 18px; }
  .prose-card { padding: 23px 20px; }
  .prose-card p { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
@media print {
  @page { margin: 16mm; }
  body { background: white; color: #102A43; font-size: 10pt; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .shell { width: 100%; }
  .site-header { min-height: 65px; }
  .site-header nav, .site-footer, .result-actions, .skip-link, .result-closing > a { display: none !important; }
  .brand-mark::after { background: white; }
  .result-page { padding: 0; }
  .result-header { padding: 22px 0; }
  .result-header h1 { font-size: 27px; }
  .result-header h1 br { display: none; }
  .summary-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0 25px; }
  .summary-card { padding: 15px; }
  .summary-card h2 { font-size: 23px; }
  .notice { padding: 14px 18px; }
  .chart-layout { grid-template-columns: 1.65fr 1fr; gap: 22px; }
  .zodiac-chart { grid-template-rows: repeat(4, minmax(88px, auto)); }
  .chart-cell { min-height: 88px; padding: 6px; }
  .chart-cell h3 { font-size: 10px; }
  .chart-cell ul { font-size: 9px; }
  .chart-center strong { font-size: 14px; }
  .chart-explainer p { font-size: 9px; }
  .chart-explainer h3 { font-size: 12px; }
  .section-heading { flex-direction: row; margin-bottom: 17px; }
  .section-heading h2 { font-size: 21px; }
  .section-heading > p { font-size: 9px; }
  .chart-section, .summary-card, .interpretation-card, .dasha-item, .notice { break-inside: avoid; }
  .result-section { margin-top: 26px; padding-top: 20px; }
  .table-scroll { overflow: visible; }
  .planet-table { font-size: 10px; }
  .planet-table th, .planet-table td { padding: 8px 12px; }
  .dasha-item { padding: 10px 18px; grid-template-columns: 10px 1fr 1fr; }
  .dasha-item p { grid-column: auto; text-align: right; font-size: 10px; }
  .dasha-lord h3 { font-size: 11px; }
  .interpretation-grid { grid-template-columns: 1fr 1fr; }
  .interpretation-card { padding: 17px; }
  .interpretation-card h3 { font-size: 12px; }
  .interpretation-card p, .section-description { font-size: 10px; }
  .technical-details { margin-top: 25px; }
  .technical-details[open] .technical-grid { grid-template-columns: 1fr 1fr; }
  .result-closing { margin-top: 22px; }
  a { text-decoration: none; }
}
