/* Celestial almanac: the supplied palette and type, with the Atlas glass intact. */
@font-face {font-family:'PT Sans';font-style:normal;font-weight:400;font-display:swap;src:url('assets/fonts/pt-sans-regular.woff') format('woff');}
@font-face {font-family:'PT Sans';font-style:normal;font-weight:700;font-display:swap;src:url('assets/fonts/pt-sans-bold.woff') format('woff');}
:root {
 --font-ui:'PT Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
 --font-sans:var(--font-ui);--font-display:var(--font-ui);--editorial-serif:var(--font-display);
 --atlas-paper:#f4e8fa;--atlas-ink:#3a2346;--atlas-rule:#80688d80;--atlas-accent:#9c421b;
 --cream:#f4e8fa;--cream-2:#fff9fc;--pink:#f9d9e6;--pink-soft:#f8e7f1;--lavender:#cdb7ee;
 --peach:#f48c4a;--rose:#966878;--berry:#3a2346;--gold:#9c421b;--ink:#3a2346;--muted:#695573;--line:#b7a2c580;
 --editorial-ink:var(--ink);--editorial-muted:var(--muted);--editorial-paper:#fff9fc;--editorial-line:var(--line);
 --orange:#f48c4a;--orange-hover:#f7a36a;--button-ink:#3a2346;--control-fill:#fffafdeb;--chip-fill:#efe2f6;
 --glass-fill:linear-gradient(135deg,#fffdfce8,#f9effcd9 58%,#f9d9e66b);
 --glass-shadow:inset 0 2px 1px #ffffffed,inset 0 -3px 8px #a27fba24,0 10px 26px #55326b12;
 --shadow:var(--glass-shadow);--radius-lg:22px;--radius-md:16px;--control-radius:12px;--mobile-nav-height:76px;
 color-scheme:light;
}
html {background:var(--atlas-paper);}
body,body.telegram-app {background:radial-gradient(ellipse at 95% 0,#cdb7ee38,transparent 42%),radial-gradient(ellipse at 0 60%,#f9d9e655,transparent 48%),var(--atlas-paper);color:var(--ink);font-family:var(--font-ui);}
.paper-grain {display:none;}
button,input,textarea,select {font-family:var(--font-ui);}
h1,h2,h3,.brand {font-family:var(--font-display);font-weight:400;letter-spacing:0;color:var(--ink);}
h4 {font-family:var(--font-ui);letter-spacing:0;}
.section-heading h1,.section-heading h2,#access>.section-heading h1,#places>.section-heading h1 {font:400 clamp(2.2rem,5vw,3.6rem)/1.14 var(--font-display);letter-spacing:0;overflow-wrap:anywhere;}
.section-heading p,.lead,.intro-card .lead,.atlas-muted {color:var(--muted);}
.eyebrow {font:700 .78rem/1.5 var(--font-ui);letter-spacing:.09em;color:var(--atlas-accent);}
.topbar {background:transparent;gap:16px;}
.brand {font:400 1.06rem/1.25 var(--font-display);color:var(--atlas-accent);letter-spacing:0;gap:10px;}
.brand-mark {width:40px;height:40px;flex:0 0 40px;border:1px solid var(--atlas-rule);border-radius:13px;background:linear-gradient(145deg,#fff7fc,#cdb7ee);color:var(--ink);box-shadow:inset 0 2px 2px #fff,0 3px 7px #53336521;font-family:var(--font-ui);}
.main-nav {background:var(--glass-fill);border:1px solid var(--atlas-rule);border-radius:18px;box-shadow:var(--glass-shadow);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);}
.main-nav .nav-pill {color:var(--muted);font-weight:700;}
.main-nav .nav-pill.active,.main-nav .nav-pill.nav-accent.active {background:#f48c4a26;color:var(--atlas-accent);box-shadow:inset 0 1px #ffffffba;}
.main-nav .nav-pill:not(.active),.main-nav .nav-pill.nav-accent:not(.active) {background:transparent;color:var(--muted);box-shadow:none;}
.main-nav .nav-pill:not(.active):hover {background:#cdb7ee30;color:var(--ink);}
.credit-badge {background:var(--glass-fill);border:1px solid var(--atlas-rule);box-shadow:inset 0 2px #fff9;color:var(--ink);}
.credit-badge span {color:var(--atlas-accent);}

/* Buttons retain tactile highlights and a clear plum outline. */
.primary-button,#ask .question-form button[type=submit],#today .atlas-glass-heading .primary-button,
#access .access-plans .primary-button,#today .today-rewards #today-redeem:not(:disabled),#checkout-pay,#checkout-telegram {
 min-height:48px;padding:12px 20px;border:1.5px solid #71507c;border-radius:999px;
 background:var(--glass-fill);color:var(--ink);
 box-shadow:var(--glass-shadow);
 font:700 1rem/1.4 var(--font-ui);letter-spacing:0;opacity:1;text-decoration:none;
}
.primary-button:hover,#ask .question-form button[type=submit]:hover,#access .access-plans .primary-button:hover,
#today .atlas-glass-heading .primary-button:hover,#checkout-pay:hover,#checkout-telegram:hover {background:var(--chip-fill);color:var(--ink);transform:none;}
.primary-button:active {box-shadow:inset 0 2px 5px #91451936;transform:none;}
.primary-button :is(span,strong,small) {color:inherit;}
.primary-button:disabled,#ask .question-form button[type=submit]:disabled,#access .access-plans .primary-button:disabled,
#today .today-rewards #today-redeem:disabled,#checkout-pay:disabled {
 background:#e4dce9;color:#75667e;border-color:#b4a5bf;box-shadow:inset 0 1px #fff8;opacity:1;cursor:not-allowed;transform:none;
}
.soft-button,.atlas-actions button,.suggestions button,.reading-toggle,.places-goal-tabs button,.chart-insight-button {
 background:var(--control-fill);color:var(--ink);border:1px solid var(--atlas-rule);border-radius:999px;box-shadow:inset 0 2px 1px #ffffffbd;
}
.soft-button:hover,.suggestions button:hover,.chart-insight-button:hover {background:var(--chip-fill);color:var(--ink);}
.chart-insight-button {border-radius:12px;}
.atlas-link,.access-conditions a {color:var(--atlas-accent);text-underline-offset:3px;}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {outline:3px solid #77508d;outline-offset:3px;}
input[type=checkbox],input[type=radio] {accent-color:var(--atlas-accent);}

/* Frosted frames surround quiet, legible reading surfaces. */
.atlas-panel,.wheel-card,.timeline-card,.chat-card,.prompt-panel,.positions-card,.local-card,
.chart-interactions,.chart-location-panel,.synastry-form-card,.synastry-result-card,
.access-intro,.access-plans>article,.access-conditions,.access-details,.places-paywall,.places-start,
.places-city-form,.places-reading-grid>article,.cabinet-access,.places-goal-picker,.place-recommendation,
.today-card,.daily-empty,.daily-week-card,.daily-next,.daily-cabinet-link,.planet-dialog,
.payment-dialog-card,.location-dialog-card,.access-checkout,.avatar-dialog,.seal-card,.overall-card,.recommendation-card {
 background:var(--glass-fill);color:var(--ink);border:1px solid var(--atlas-rule);border-radius:18px;box-shadow:var(--glass-shadow);
 -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
}
#today .today-overview>.today-card,#access .access-paid-intro,#birth .intro-card,#today .daily-plan-card,
#today .daily-reading,#today .daily-journal,#today .daily-week-card,
#chart .chart-location-panel,#chart .positions-card,#chart .chart-interactions,#chart .mini-card {
 background:var(--glass-fill);color:var(--ink);border:1px solid var(--atlas-rule);border-radius:18px;box-shadow:var(--glass-shadow);
}
.reading-panel,.interaction-level,.natal-report-section,.date-result {background:var(--control-fill);border-color:var(--line);color:var(--ink);}
.reading-panel p,.natal-report-copy .reading-panel p,#planet-dialog-copy .reading-panel p,#synastry-dialog-copy .reading-panel p,
.natal-report-copy p,.synastry-summary,.interaction-level .level-preview,.level-more p,.place-recommendation p {color:var(--ink);}
.reading-panel.reading-lead {background:linear-gradient(115deg,#cdb7ee3b,var(--control-fill));border-left-color:var(--lavender);}
.reading-panel.reading-action {background:#f9d9e647;border-color:var(--line);}
#today #daily-plan-steps p {color:var(--ink);}
#today .daily-plan-card>.eyebrow {color:var(--atlas-accent);}
.daily-step-index {color:var(--atlas-accent);}
.reading-number {background:var(--chip-fill);color:var(--ink);border-color:var(--line);}
.reading-panel.reading-lead p:first-child,.reading-answer-title {font-family:var(--font-display);font-weight:400;color:var(--ink);}
.birth-form input,.atlas-form input,.atlas-form textarea,.atlas-form select,.location-dialog-card select,
.date-finder select,.route-picker select,#ask .route-picker select,#ask .question-form textarea,
.places-tools select,.places-city-form input,.places-city-form select,.avatar-options select,
.consult-controls select,#today-calendar-date,.date-chip input,#daily-note {
 background:var(--control-fill);color:var(--ink);border:1px solid var(--atlas-rule);border-radius:12px;box-shadow:inset 0 2px 4px #5632630a;
}
.birth-form label,.location-dialog-card label,.atlas-form label,.question-label {color:var(--ink);}
input::placeholder,textarea::placeholder,#ask .question-form textarea::placeholder {color:var(--muted);opacity:1;}
.birth-form input:focus,.atlas-form input:focus,.atlas-form textarea:focus,.atlas-form select:focus,
#ask .route-picker select:focus,#ask .question-form textarea:focus {border-color:#77508d;outline:2px solid #77508d;outline-offset:2px;box-shadow:0 0 0 5px #cdb7ee50;}
.offer-summary,.birth-progress span:first-child,.demo-ribbon,.message.assistant,.untimed-planet {background:var(--chip-fill);color:var(--ink);border-color:var(--atlas-rule);}
.birth-progress,.form-note,.form-status {color:var(--muted);}
.form-status.error {color:#a32d4f;}

/* The first screen carries the new celestial motif, without covering its controls. */
#today {background:none;}
#today .atlas-glass-heading {position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:16px;min-height:250px;padding:26px 32px;border:1px solid var(--atlas-rule);border-radius:22px;background:linear-gradient(125deg,#fff9fcd9,#e8d8f5b8 66%,#f9d9e6a1);color:var(--ink);box-shadow:var(--glass-shadow);}
#today .atlas-glass-heading::after {inset:0;border:0;border-radius:inherit;box-shadow:inset 0 2px #fff9;}
#today .atlas-glass-heading-copy {position:relative;z-index:1;width:100%;min-width:0;}
#today .atlas-glass-heading .eyebrow {color:var(--atlas-accent);font-size:.78rem;letter-spacing:.09em;}
#today .atlas-glass-heading h1 {display:block;width:auto;max-width:100%;font:400 clamp(2.7rem,6vw,4.2rem)/1.14 var(--font-display);letter-spacing:0;color:var(--ink);margin:10px 0;white-space:normal;}
#today .atlas-glass-heading p {color:var(--muted);font-size:1rem;max-width:38ch;}
#today .atlas-glass-heading .primary-button {margin-top:16px;max-width:100%;white-space:normal;}
.atlas-scene-image {display:block;width:100%;max-width:100%;height:auto;object-fit:contain;pointer-events:none;user-select:none;border:0;box-shadow:none;-webkit-mask-image:radial-gradient(ellipse closest-side at center,#000 58%,rgba(0,0,0,.65) 76%,transparent 100%);mask-image:radial-gradient(ellipse closest-side at center,#000 58%,rgba(0,0,0,.65) 76%,transparent 100%);}
#today .today-celestial-scene {grid-column:2;grid-row:1;max-height:270px;}
.section-heading.illustrated-heading {display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:10px 28px;align-items:center;min-width:0;padding:0 0 18px;}
.illustrated-heading>.atlas-heading-copy {grid-column:1;grid-row:1;min-width:0;max-width:100%;}
.illustrated-heading>.atlas-scene-image {grid-column:2;grid-row:1;height:210px;}
.illustrated-heading>:is(.section-actions,.forecast-controls,.soft-button) {grid-column:1/-1;grid-row:2;justify-self:start;max-width:100%;}
.illustrated-heading .section-actions {display:flex;flex-wrap:wrap;gap:10px;}
.illustrated-heading .section-actions .soft-button {width:auto;flex:0 1 auto;}
.atlas-inline-scene {height:190px;margin:0 auto 14px;}
#birth .atlas-inline-scene {display:none;}
#birth .method-card .atelier-illustration {object-position:50% 25%;}
#today .hero-index {display:none;}
#today .today-overview h2,#today .today-moon-heading p,#today #today-reward-hint {color:var(--ink);}
#today .today-moon-heading .eyebrow {color:var(--atlas-accent);}
#today .today-overview-details>summary,#today .today-method summary {color:var(--muted);}
#today .today-moon {border-left:3px solid #ab88ca;}
#today .today-rewards {border-left:3px solid var(--orange);}
#today-moon-disc {filter:drop-shadow(0 6px 5px #58427430);}
#today-reward-progress,#today-reward-progress::-webkit-progress-bar {background:var(--chip-fill);}
#today-reward-progress {accent-color:var(--orange);}
#today-reward-progress::-webkit-progress-value {background:var(--orange);}
#today-reward-progress::-moz-progress-bar {background:var(--orange);}
#today-interests label .today-interest-chip {background:var(--control-fill);color:var(--ink);border-color:var(--atlas-rule);box-shadow:inset 0 1px #fff9;}
#today-interests input:checked+.today-interest-chip {background:#f48c4a40;color:var(--ink);border-color:#a7572d;box-shadow:inset 0 1px #fff9;font-weight:700;}
#today-interests input:checked+.today-interest-chip::after {content:'✓';margin-left:3px;font-size:15px;}
#today-interests input:checked+.today-interest-chip .today-topic-icon {color:var(--atlas-accent);}
.today-activity {background:linear-gradient(145deg,var(--control-fill),#f4e8fa80);border-color:var(--atlas-rule);box-shadow:var(--glass-shadow);border-radius:16px;}
.today-fit {border-color:var(--line);background:var(--chip-fill);color:var(--ink);}
.today-fit.suitable {background:#f8d8bc;color:#723412;}
.today-fit.later {background:#f6dce8;color:#85415d;}

/* Retain the real chart's glass, phases, hit areas and existing object artwork. */
#chart .wheel-card {background:radial-gradient(ellipse at 20% 20%,#fffafce6,transparent 48%),linear-gradient(140deg,#fff9fccc,#dfcaf187 70%,#f9d9e680);border-color:var(--atlas-rule);box-shadow:var(--glass-shadow);}
.natal-wheel {filter:drop-shadow(0 10px 9px #65417d28);}
.natal-wheel .wheel-core-title {fill:#3a2346;}
.natal-wheel .planet .planet-hit-area {fill:url(#wheelLens);fill-opacity:.9;stroke:#fff8;stroke-width:.7;}
.natal-wheel .planet:hover .planet-hit-area,.natal-wheel .planet:focus-visible .planet-hit-area {fill:#fffafc;stroke:#77508d;fill-opacity:1;}
#chart .sun-card {background:linear-gradient(140deg,#fff8f1ed,#f48c4a33 68%,#fff9fcb8);}
#chart .moon-card {background:linear-gradient(140deg,#fff9fced,#cdb7ee85 68%,#fff9fcb8);}
#chart .asc-card {background:linear-gradient(140deg,#fff9fced,#f9d9e699 68%,#fff9fcb8);}
#chart .mini-symbol,.chapter-art {border:1px solid #fff8;background:radial-gradient(circle at 28% 18%,#fff9fc,#cdb7ee70);box-shadow:inset 0 2px 2px #fff,inset 0 -3px 5px #8b69a238,0 5px 10px #5c387722;color:var(--ink);}
.chapter-art::after {display:block;border-color:#b983586e;}
.natal-report-head {border-color:var(--atlas-rule);background:linear-gradient(125deg,#e9daf5,#f4e8fa);color:var(--ink);box-shadow:var(--glass-shadow);}
.natal-report-head::after {display:block;opacity:.7;mix-blend-mode:normal;}
.natal-report-head small {color:var(--atlas-accent);}
.natal-report-head h3 {font-family:var(--font-display);color:var(--ink);}
.natal-report-head p,#natal-report-location,.natal-report-section-kicker,.chapter-preview,.chapter-meta {color:var(--muted);}
.natal-report-emblem {color:var(--atlas-accent);border-color:var(--atlas-rule);}
.natal-report-section-title {font-family:var(--font-display);color:var(--ink);}
.natal-report-section:nth-child(3n+1)>summary {background:linear-gradient(140deg,var(--control-fill),#f48c4a14);}
.natal-report-section:nth-child(3n+2)>summary {background:linear-gradient(140deg,var(--control-fill),#cdb7ee38);}
.natal-report-section:nth-child(3n+3)>summary {background:linear-gradient(140deg,var(--control-fill),#f9d9e63b);}
#natal-paywall,.synastry-paywall {background:linear-gradient(125deg,var(--control-fill),#cdb7ee3b);border-color:var(--atlas-rule);color:var(--ink);}
#natal-paywall>p,#synastry-paywall p,#natal-payment-status {color:var(--ink);}
#natal-paywall h4,#natal-paywall .terms-check,.synastry-paywall h4 {color:var(--ink);}
#natal-paywall>small,.synastry-paywall>small,.synastry-paywall .synastry-terms-link {color:var(--atlas-accent);}
.natal-purchase-comparison,.purchase-comparison {background:var(--chip-fill);border-color:var(--atlas-rule);}
.locked-levels span,#natal-paywall .locked-levels span {background:var(--control-fill);color:var(--muted);border-color:var(--line);}
.synastry-celestial {margin:0 0 22px;display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:12px;}
.synastry-celestial>div {min-width:0;max-width:100%;}
.synastry-celestial .atlas-scene-image {height:190px;margin:-12px 0 0;}
.synastry-result-head h3,.synastry-form-card h3,.interaction-level h4 {font-family:var(--font-display);font-weight:400;color:var(--ink);}
.synastry-form-card h3 {margin:8px 0 0;font-size:clamp(1.4rem,2.2vw,1.7rem);line-height:1.3;overflow-wrap:anywhere;}
.synastry-result-head>div {min-width:0;}
.synastry-result-head h3 {overflow-wrap:anywhere;}
.synastry-metrics>div {background:var(--chip-fill);border-color:var(--line);}
.synastry-metrics strong {color:var(--atlas-accent);}
.level-more>summary,.transit-method summary,.places-goal-picker>div>p {color:var(--muted);}
#synastry-recommendations li,#progression-insight-list li {background:var(--control-fill);color:var(--ink);border-color:var(--line);}
#synastry-recommendations li::before,#progression-insight-list li::before {color:var(--atlas-accent);}
.date-finder,.progression-summary,.progression-insight {background:var(--glass-fill);color:var(--ink);border-color:var(--atlas-rule);box-shadow:var(--glass-shadow);}
.package-card,.package-card.featured {background:var(--glass-fill);color:var(--ink);border:1px solid var(--atlas-rule);box-shadow:var(--glass-shadow);border-radius:16px;}
.package-card.featured {background:linear-gradient(140deg,var(--control-fill),#cdb7ee50);border:2px solid #80638f;}
.package-card.featured small {color:var(--muted);}
.package-card:disabled {opacity:1;cursor:not-allowed;}
.package-card:disabled :is(strong,.package-price) {color:var(--muted);}
.package-card:hover {transform:none;}
#ask .chat-topline {background:linear-gradient(125deg,#3a2346,#553462);color:#fff9fc;}
.message p {background:var(--control-fill);color:var(--ink);border-color:var(--line);}
.user-message p {background:#3a2346;color:#fff9fc;border-color:#77508d;}
#birth-title,.prompt-panel h2,#today #daily-plan-title {font-family:var(--font-display);font-weight:400;color:var(--ink);letter-spacing:0;}
#birth .method-card {border:1px solid var(--atlas-rule);border-radius:22px;box-shadow:var(--glass-shadow);background:#3a2346;}
#birth .atelier-illustration {display:block;}
.places-goal-tabs button[aria-selected=true],.route-card.active,.daily-moods button.selected {background:#f48c4a40;color:var(--ink);border-color:#a7572d;}
.access-plans .access-featured {background:linear-gradient(140deg,#fff9fce8,#cdb7ee60);border:2px solid #80638f;box-shadow:var(--glass-shadow);}
#access .access-price {color:var(--ink);}
#access .plan-value {color:var(--atlas-accent);}
#access .rub-price {color:var(--muted);}
.access-checkout::backdrop,.planet-dialog::backdrop {background:#2d173b8c;}
.access-checkout input[type=checkbox] {accent-color:var(--atlas-accent);}
.planet-dialog-heading {background:#3a2346;color:#fff9fc;}
.planet-dialog-meta,.planet-dialog-note {color:var(--muted);}
.planet-dialog-retro {background:var(--chip-fill);color:var(--ink);}

/* Night glass uses the same orange and lilac, with opaque-enough reading panels. */
html.tg-dark {
 color-scheme:dark;--atlas-paper:#21162c;--atlas-ink:#f7eefb;--atlas-rule:#aa8abd70;--atlas-accent:#ffb17b;
 --cream:#2c1f37;--cream-2:#30233c;--pink-soft:#402c4b;--berry:#f0d2f9;--ink:#f7eefb;--muted:#d0badb;--line:#aa8abd59;
 --editorial-paper:#30233c;--control-fill:#30223ded;--chip-fill:#40304d;--button-ink:#3a2346;
 --glass-fill:linear-gradient(135deg,#382746f2,#2f223ded 60%,#3a263fef);
 --glass-shadow:inset 0 1px 1px #d6baed30,inset 0 -3px 7px #120b1d48,0 8px 22px #0c051b26;
 background:var(--atlas-paper);
}
html.tg-dark body,html.tg-dark body.telegram-app {background:radial-gradient(ellipse at 95% 0,#cdb7ee12,transparent 48%),var(--atlas-paper);color:var(--ink);}
html.tg-dark .topbar {background:transparent;}
html.tg-dark .main-nav,html.tg-dark .access-checkout,html.tg-dark .planet-dialog {background:var(--glass-fill);color:var(--ink);border-color:var(--atlas-rule);box-shadow:var(--glass-shadow);}
html.tg-dark .brand {color:var(--atlas-accent);}
html.tg-dark .brand-mark {background:linear-gradient(145deg,#6b4d7b,#3b2a4d);color:#f9d9e6;border-color:var(--atlas-rule);box-shadow:inset 0 1px #d6baed70;}
html.tg-dark .main-nav .nav-pill:not(.active),html.tg-dark .main-nav .nav-pill:not(.active):hover {color:var(--muted);}
html.tg-dark .main-nav .nav-pill.active {background:#f48c4a29;color:var(--atlas-accent);}
html.tg-dark #today .atlas-glass-heading {background:linear-gradient(125deg,#422c52,#30213e 65%,#4d303f);color:var(--ink);}
html.tg-dark #today .atlas-glass-heading::after {box-shadow:inset 0 1px #d6baed40;}
html.tg-dark .atlas-scene-image {filter:saturate(.9) brightness(.88);}
html.tg-dark #chart .wheel-card {background:linear-gradient(140deg,#493554,#30213d);border-color:var(--atlas-rule);}
html.tg-dark #chart .sun-card {background:linear-gradient(140deg,#4c2f3a,#34213d);}
html.tg-dark #chart .moon-card {background:linear-gradient(140deg,#4e365f,#30213d);}
html.tg-dark #chart .asc-card {background:linear-gradient(140deg,#463049,#30213d);}
html.tg-dark #chart .mini-symbol,html.tg-dark .chapter-art {background:radial-gradient(circle at 28% 18%,#866098,#39244b);color:#f0d2f9;border-color:#d0acd970;box-shadow:inset 0 2px #e2c6f270,inset 0 -3px 5px #120c1b70,0 5px 10px #08051233;}
html.tg-dark .natal-report-head {background:linear-gradient(125deg,#493055,#30213d);}
html.tg-dark .natal-report-head::after {opacity:.3;mix-blend-mode:luminosity;}
html.tg-dark .reading-panel.reading-action {background:#46303e;}
html.tg-dark .today-activity h3,html.tg-dark .today-activity summary,html.tg-dark .today-activity .atlas-link {color:var(--ink);}
html.tg-dark .user-message p {color:#fff9fc;}
html.tg-dark .today-fit.suitable {background:#633d2b;color:#ffd6af;}
html.tg-dark .today-fit.later {background:#563148;color:#ffd9e9;}
html.tg-dark input::placeholder,html.tg-dark textarea::placeholder {color:var(--muted);}
html.tg-dark #today .today-rewards #today-redeem:disabled,html.tg-dark .primary-button:disabled,
html.tg-dark #access .access-plans .primary-button:disabled,html.tg-dark #checkout-pay:disabled {background:#41334b;color:#c8b7d2;border-color:#84708f;box-shadow:none;}
html.tg-dark #today-interests input:checked+.today-interest-chip {background:#f48c4a30;color:var(--ink);border-color:#cf8c61;}
html.tg-dark .access-plans .access-featured {background:linear-gradient(140deg,#4b325d,#32223f);border-color:#ba95cc;}
html.tg-dark .package-card.featured {background:linear-gradient(140deg,#4b325d,#32223f);border-color:#ba95cc;}
html.tg-dark #access .plan-value {color:var(--atlas-accent);}
html.tg-dark #access .rub-price {color:var(--muted);}

@media(max-width:760px) {
 .topbar {padding:16px 14px 10px;gap:10px;}
 .brand {font-size:.94rem;max-width:100%;}
 .brand-mark {width:34px;height:34px;flex-basis:34px;border-radius:11px;}
 .app-shell {padding:12px 14px 28px;}
 .section-heading h1,.section-heading h2,#access>.section-heading h1,#places>.section-heading h1 {font-size:clamp(1.85rem,8vw,2.35rem);line-height:1.18;}
 .main-nav {grid-template-columns:repeat(5,minmax(0,1fr));border-radius:18px;padding:4px 3px;background:var(--glass-fill);}
 .main-nav .nav-pill {min-width:0;min-height:64px;padding:3px 0;border-radius:12px;font-size:14px;line-height:1.2;white-space:nowrap;}
 .main-nav .nav-pill[data-go=transits],.main-nav .nav-pill[data-go=places] {display:none;}
 .main-nav .nav-pill .nav-icon,.main-nav .nav-pill.nav-accent .nav-icon {width:30px;height:30px;background:transparent;color:inherit;border-radius:9px;box-shadow:none;}
 .main-nav .nav-pill .nav-icon svg {width:23px;height:23px;}
 .main-nav .nav-pill.active {background:#f48c4a22;}
 .main-nav .nav-pill:not(.active):hover {background:transparent;}
 #today .atlas-glass-heading {grid-template-columns:minmax(0,1fr);gap:0;min-height:0;padding:0 20px 22px;border-radius:18px;}
 #today .atlas-glass-heading-copy {width:100%;}
 #today .atlas-glass-heading .eyebrow {max-width:100%;font-size:12px;letter-spacing:.07em;}
 #today .atlas-glass-heading h1 {font-size:clamp(2.15rem,10vw,2.8rem);max-width:100%;margin:10px 0;}
 #today .atlas-glass-heading p {max-width:100%;font-size:15px;line-height:1.5;min-height:0;margin-bottom:14px;}
 #today .atlas-glass-heading .primary-button {width:100%;margin-top:6px;position:relative;z-index:1;}
 #today .today-celestial-scene {grid-column:1;grid-row:1;height:170px;margin:4px auto 0;}
 #today .atlas-glass-heading-copy {grid-column:1;grid-row:2;}
 .section-heading.illustrated-heading {grid-template-columns:minmax(0,1fr);gap:0;padding-bottom:18px;}
 .illustrated-heading>.atlas-scene-image {grid-column:1;grid-row:1;height:155px;margin-bottom:8px;}
 .illustrated-heading>.atlas-heading-copy {grid-column:1;grid-row:2;}
 .illustrated-heading>:is(.section-actions,.forecast-controls,.soft-button) {grid-column:1;grid-row:3;margin-top:12px;}
 .illustrated-heading .section-actions .soft-button {flex:1 1 auto;}
 .atlas-inline-scene {height:150px;}
 #birth .atlas-inline-scene {display:block;}
 #today .daily-discover {gap:12px;}
 #today .daily-discover .soft-button {padding:10px 12px;}
 #today .daily-discover .atlas-link {font-size:16px;}
 .today-card,#today .daily-plan-card {padding:22px 20px;}
 #today .today-overview h2 {font-size:1.25rem;line-height:1.3;}
 .today-moon-heading {gap:14px;}
 #today-moon-disc {width:72px;height:72px;}
 #birth-title {font-size:1.85rem;}
 #birth .method-card {display:none;}
 .synastry-celestial {gap:10px;margin-bottom:16px;}
 .synastry-celestial .atlas-scene-image {height:155px;margin-top:-6px;}
 .synastry-celestial .eyebrow {font-size:12px;}
 .synastry-form-card h3 {font-size:1.45rem;line-height:1.25;margin-top:6px;}
 .natal-report-head {padding:26px 22px;}
 .natal-report-head h3 {font-size:2.25rem;}
 .natal-report-head>div {width:100%;}
 .natal-report-head::after {inset:0 0 0 48%;opacity:.22;}
 .natal-report-head .natal-report-emblem {display:none;}
 .access-plans>article {border-radius:18px;}
 .access-checkout {padding:22px 20px;border-radius:18px;}
 html.tg-dark .main-nav .nav-pill .nav-icon,html.tg-dark .main-nav .nav-pill.nav-accent .nav-icon {background:transparent;color:inherit;}
}
@media(prefers-reduced-motion:reduce) {.primary-button,.nav-pill,.soft-button {transition:none;}}

/* The almanac opens on a compact working surface, with artwork in the air. */
.topbar {position:relative;border:0;}
.topbar .brand {font-size:1.4rem;color:var(--ink);}
#today .atlas-glass-heading {
 display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.65fr);gap:16px;
 min-height:190px;padding:22px 28px;margin:0 0 18px;overflow:visible;
 border:0;background:linear-gradient(120deg,#fff9fc80,#e8d8f554 68%,#f9d9e633);
 box-shadow:inset 0 1px 0 #fff9,0 12px 32px #55326b08;
}
#today .atlas-glass-heading-copy {grid-column:1;grid-row:1;width:100%;min-width:0;}
#today .atlas-glass-heading h1 {
 font-size:3rem;line-height:1.15;white-space:nowrap;overflow-wrap:normal;margin:0 0 12px;
}
#today .atlas-glass-heading p {font-size:1rem;line-height:1.5;margin:0;max-width:100%;}
.atlas-scene-image.atlas-transparent-image {
 -webkit-mask-image:none;mask-image:none;
 filter:drop-shadow(0 12px 12px #8d60af26) drop-shadow(0 0 14px #fff7);
}
.illustrated-heading>.atlas-scene-image {width:min(100%,315px);height:auto;aspect-ratio:3/2;justify-self:center;}
.atlas-inline-scene {width:min(100%,285px);height:auto;aspect-ratio:3/2;}
.synastry-celestial .atlas-scene-image {width:min(100%,285px);height:auto;aspect-ratio:3/2;justify-self:center;}
#today .today-celestial-scene {
 grid-column:2;grid-row:1;width:100%;height:210px;max-height:none;object-fit:contain;margin:-28px 0;
}
#today .daily-discover {
 display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:1fr;align-items:stretch;gap:12px;margin:0 0 20px;
}
.daily-shortcut {
 display:flex;align-items:center;gap:12px;min-width:0;min-height:82px;padding:14px 16px;
 border:1px solid #ffffffa1;border-radius:18px;background:var(--glass-fill);color:var(--ink);
 box-shadow:inset 0 1px 1px #fffc,0 5px 15px #55326b09;text-align:left;cursor:pointer;
}
.daily-shortcut:hover {background:var(--chip-fill);}
.daily-shortcut:active {box-shadow:inset 0 2px 8px #80688d25;}
.daily-shortcut>span:last-child {min-width:0;}
.daily-shortcut strong,.daily-shortcut small {display:block;}
.daily-shortcut strong {font:700 1rem/1.3 var(--font-ui);}
.daily-shortcut small {font:400 .875rem/1.35 var(--font-ui);color:var(--muted);margin-top:4px;}
.shortcut-icon {display:grid;place-items:center;width:30px;height:30px;flex:none;color:#80618e;font-size:26px;}
.shortcut-icon svg {width:26px;height:26px;}
#today .today-overview>.today-card {border:1px solid #fff9;border-left-width:1px;box-shadow:var(--glass-shadow);}
#today .today-moon-summary {font-size:.875rem;line-height:1.5;color:var(--muted);margin:12px 0 0;}
#today .today-moon .today-overview-details>summary {min-height:44px;padding:12px 0 0;}
html.tg-dark #today .atlas-glass-heading {background:linear-gradient(125deg,#422c5280,#30213e66 65%,#4d303f50);box-shadow:inset 0 1px #d6baed30;}
html.tg-dark .daily-shortcut,html.tg-dark #today .today-overview>.today-card {border-color:#d6baed30;}
html.tg-dark .shortcut-icon {color:#d3b0e4;}
html.tg-dark .atlas-transparent-image {filter:saturate(.9) brightness(.9) drop-shadow(0 8px 18px #d3a7ff26);}

@media(max-width:760px) {
 html {scroll-padding-bottom:calc(110px + var(--atlas-safe-bottom));}
 body,body.telegram-app {padding-bottom:calc(110px + var(--atlas-safe-bottom));}
 body.telegram-app.tg-main-visible {padding-bottom:calc(184px + var(--atlas-safe-bottom));}
 .topbar {
  position:relative;top:auto;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;
  padding:calc(14px + max(var(--atlas-safe-top),var(--atlas-fullscreen-top-floor,0px))) calc(16px + var(--atlas-safe-right)) 10px calc(16px + var(--atlas-safe-left));
  gap:10px;background:transparent;border:0;backdrop-filter:none;-webkit-backdrop-filter:none;
 }
 .topbar::before {
  content:'';position:absolute;top:0;right:12%;width:110px;
  height:max(var(--atlas-safe-top),var(--atlas-fullscreen-top-floor,0px));pointer-events:none;opacity:.16;
  background:url('assets/sun-moon-glass-v84.webp') center/contain no-repeat;
 }
 .topbar .brand {font-size:1.25rem;line-height:1.18;white-space:normal;gap:8px;text-align:left;}
 .topbar .brand>span:last-child {min-width:0;}
 .topbar:has(.credit-badge:not([hidden])) .brand-mark {display:none;}
 .brand-mark {width:28px;height:28px;flex-basis:28px;border-radius:10px;font-size:19px;}
 .credit-badge {max-width:126px;min-height:40px;margin:0;padding:8px 10px;border-color:#b7a2c550;white-space:normal;text-align:left;font-size:.8125rem;line-height:1.3;gap:6px;}
 .credit-badge strong {font-size:inherit;line-height:inherit;}
 .app-shell {padding:10px calc(16px + var(--atlas-safe-right)) 24px calc(16px + var(--atlas-safe-left));}
 .illustrated-heading>.atlas-scene-image,.atlas-inline-scene,.synastry-celestial .atlas-scene-image {width:min(100%,250px);height:auto;aspect-ratio:3/2;}
 #today .atlas-glass-heading {
  grid-template-columns:minmax(0,1fr);min-height:174px;padding:20px 18px;gap:0;border-radius:22px;margin-bottom:14px;
 }
 #today .atlas-glass-heading-copy {grid-column:1;grid-row:1;align-self:start;}
 #today .atlas-glass-heading h1 {font-size:clamp(2.3rem,10.7vw,2.75rem);line-height:1.15;margin:0 0 14px;}
 #today .atlas-glass-heading p {max-width:100%;font-size:1rem;line-height:1.5;position:relative;margin:0;padding-top:22px;}
 #today .today-celestial-scene {
  position:absolute;grid-column:auto;grid-row:auto;right:-6px;top:-18px;width:38%;height:124px;margin:0;z-index:0;object-fit:contain;
 }
 #today .daily-discover {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:18px;}
 .daily-shortcut {gap:8px;min-height:74px;padding:12px 10px;border-radius:16px;}
 .daily-shortcut strong {font-size:.9rem;}
 .daily-shortcut small {font-size:.78rem;margin-top:3px;}
 .shortcut-icon {width:26px;height:26px;}
 .shortcut-icon svg {width:24px;height:24px;}
 #today .today-overview>.today-card {padding:18px 16px;border-radius:20px;}
 #today .today-overview h2 {font-size:1.25rem;line-height:1.3;}
 #today .today-overview #today-moon-disc {width:54px;height:54px;}
 .main-nav {
  inset:auto calc(8px + var(--atlas-safe-right)) calc(8px + var(--atlas-safe-bottom)) calc(8px + var(--atlas-safe-left));
  width:auto;min-height:var(--mobile-nav-height);padding:4px 3px;border:1px solid #b7a2c566;border-radius:20px;
 }
 .telegram-app.tg-main-visible .main-nav {bottom:calc(74px + var(--atlas-safe-bottom));}
 html.tg-dark .topbar {background:transparent;}
 html.tg-dark .topbar .brand {color:var(--ink);}
}

/* Compact, sans-serif reading rhythm across the Atlas. */
:root {--font-display:var(--font-ui);--editorial-serif:var(--font-ui);--mobile-nav-height:66px;}
html {font-size:100%;}
h1,h2,h3,h4,.brand {font-family:var(--font-ui);font-weight:700;letter-spacing:0;line-height:1.3;}
.section-heading h1,.section-heading h2,#access>.section-heading h1,#places>.section-heading h1,
#birth-title {font:700 clamp(1.5rem,3vw,2rem)/1.3 var(--font-ui);max-width:100%;overflow-wrap:break-word;}
.section-heading p,.lead,.intro-card .lead {font-size:1rem;line-height:1.55;}
.topbar .brand {font-family:var(--font-ui);font-weight:700;font-size:1.25rem;}
#today .atlas-glass-heading {min-height:146px;padding:20px 24px;margin-bottom:14px;}
#today .atlas-glass-heading h1 {font:700 2rem/1.25 var(--font-ui);margin:0 0 10px;}
#today .today-celestial-scene {height:174px;margin:-20px 0;}
#today .atlas-glass-heading p {padding-top:0;}
.daily-shortcut {min-height:64px;padding:10px 12px;}
#today .today-overview>.today-card {padding:16px;}
#today #daily-plan-title,#today .daily-reading>h2,#today .daily-journal h2,.daily-week-card h2,
.planet-dialog-content>h3,.reading-answer-title {font:700 clamp(1.25rem,2.5vw,1.5rem)/1.35 var(--font-ui);margin:8px 0 14px;}
#today .daily-plan-card,#today .daily-reading,#today .daily-journal,#today .daily-week-card {padding:20px;}
#natal-report {margin-top:24px;}
.natal-report-head {min-height:0;padding:24px;gap:16px;}
.natal-report-head h3 {font:700 clamp(1.5rem,3vw,2rem)/1.3 var(--font-ui);max-width:100%;margin:8px 0 12px;}
.natal-report-head p {font-size:1rem;line-height:1.55;}
.natal-report-emblem {width:56px;height:56px;flex-basis:56px;font-size:26px;}
.natal-report-sections {gap:12px;}
.natal-report-section>summary {min-height:0;padding:20px;gap:8px;}
.natal-report-section-title,.natal-report-section[open] .natal-report-section-title {font:700 1.25rem/1.35 var(--font-ui);max-width:100%;letter-spacing:0;margin:4px 0;overflow-wrap:break-word;}
.natal-report-section>summary .chapter-art {position:absolute;top:18px;right:22px;width:40px;height:40px;font-size:22px;margin:0;float:none;}
.natal-report-section-title {padding-right:52px;}
.natal-report-section-kicker {padding-right:52px;}
.natal-report-section-title::after {right:20px;bottom:16px;}
.chapter-preview {font-size:.875rem;padding-right:20px;line-height:1.5;}
.chapter-meta {display:block;font-size:.8125rem;padding-top:4px;padding-right:24px;}
.natal-report-section[open]>summary {padding:20px;}
.reading-grid {gap:12px;padding:16px;}
.reading-panel,.reading-panel.reading-lead {padding:18px;}
.reading-panel-head {gap:10px;margin-bottom:12px;}
.reading-panel.reading-lead p:first-child {font:400 1rem/1.6 var(--font-ui);letter-spacing:0;}
.reading-panel p,.natal-report-copy .reading-panel p,#planet-dialog-copy .reading-panel p,#synastry-dialog-copy .reading-panel p {font-size:1rem;line-height:1.6;}
.synastry-form-card,.synastry-result-card {padding:22px;}
.synastry-result-head {padding-bottom:16px;gap:12px;}
.synastry-result-head>div {min-width:0;}
.synastry-form-card h3,.synastry-result-card h3 {font:700 clamp(1.5rem,3vw,2rem)/1.3 var(--font-ui);margin:8px 0 12px;overflow-wrap:break-word;}
.synastry-result-card .synastry-summary {font:400 1rem/1.6 var(--font-ui);margin:16px 0;}
.synastry-emblem {width:44px;height:44px;flex-basis:44px;font-size:1.5rem;}
.synastry-metrics {gap:8px;padding:12px 0;margin:12px 0;}
.synastry-metrics div {padding:12px 6px;}
.synastry-metrics strong {font:700 1.5rem/1.2 var(--font-ui);}
.synastry-metrics span {font-size:.875rem;line-height:1.35;overflow-wrap:break-word;}
.synastry-save-state {font-size:.875rem;line-height:1.5;margin:10px 0;padding:10px 0;}
.interaction-level {padding:18px;}
.interaction-level h4 {font:700 1.25rem/1.35 var(--font-ui);}
@media(max-width:760px) {
 .topbar .brand {font-size:1.125rem;line-height:1.25;}
 .section-heading.illustrated-heading {padding-bottom:12px;}
 .illustrated-heading>.atlas-scene-image,.atlas-inline-scene,.synastry-celestial .atlas-scene-image {width:min(100%,190px);}
 #today .atlas-glass-heading {min-height:132px;padding:18px 16px;}
 #today .atlas-glass-heading h1 {font-size:1.75rem;max-width:65%;white-space:normal;}
 #today .today-celestial-scene {height:112px;right:-4px;top:-12px;width:38%;margin:0;}
 #today .atlas-glass-heading p {padding-top:12px;font-size:1rem;}
 #today .daily-discover {gap:8px;margin-bottom:14px;}
 .daily-shortcut {min-height:62px;padding:10px;}
 .daily-shortcut strong {font-size:.9375rem;}
 .daily-shortcut small {font-size:.8125rem;}
 #today .today-overview>.today-card {padding:16px;}
 #today .today-overview h2 {font-size:1.125rem;}
 #today .daily-plan-card,#today .daily-reading,#today .daily-journal,#today .daily-week-card {padding:16px;}
 .natal-report-head {padding:20px 16px;}
 .natal-report-head>div {width:auto;min-width:0;flex:1;}
 .natal-report-head h3 {font-size:1.5rem;}
 .natal-report-section>summary,.natal-report-section[open]>summary {padding:16px;}
 .natal-report-section-title,.natal-report-section[open] .natal-report-section-title {font-size:1.25rem;}
 .natal-report-section>summary .chapter-art {top:14px;right:20px;width:36px;height:36px;font-size:20px;}
 .reading-grid {padding:12px;gap:10px;}
 .reading-panel,.reading-panel.reading-lead {padding:16px;}
 .synastry-form-card,.synastry-result-card {padding:16px;}
 .synastry-form-card h3,.synastry-result-card h3 {font-size:1.5rem;}
 .synastry-result-head {padding-bottom:12px;}
 .synastry-result-card .synastry-summary {margin:14px 0;}
 .synastry-metrics span {font-size:.875rem;}
 .main-nav .nav-pill {min-height:48px;font-size:.875rem;}
}

/* Reading colors follow their surfaces in both Telegram themes. */
:root {--font-ui:-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;--ink:#30213b;--muted:#55475f;}
html.tg-dark {--ink:#faf5ff;--muted:#d9cce3;}
.reading-panel-title,.natal-report-copy .reading-panel h4,
.natal-report-section-title,.natal-report-evidence strong,
.interaction-level h4,.level-more p,.synastry-result-head p,
.synastry-metrics span,.reading-answer-title {color:var(--ink);}
.reading-panel p,.natal-report-copy .reading-panel p,
#planet-dialog-copy .reading-panel p,#synastry-dialog-copy .reading-panel p,
.synastry-result-card .synastry-summary {font-size:1.0625rem;line-height:1.6;}
.chapter-preview,.chapter-meta,.reading-toolbar,.synastry-save-state {color:var(--muted);}
html.tg-dark .natal-report-section>summary,
html.tg-dark .natal-report-section:nth-child(3n+1)>summary,
html.tg-dark .natal-report-section:nth-child(3n+2)>summary,
html.tg-dark .natal-report-section:nth-child(3n+3)>summary {background:var(--glass-fill);color:var(--ink);border-color:var(--line);}
html.tg-dark .reading-panel,html.tg-dark .interaction-level,
html.tg-dark .reading-panel.reading-action {background:var(--control-fill);color:var(--ink);border-color:var(--line);}
html.tg-dark .reading-panel.reading-lead {background:linear-gradient(115deg,#493255,var(--control-fill));}
html.tg-dark .reading-panel-title,html.tg-dark .natal-report-copy .reading-panel h4,
html.tg-dark .natal-report-section-title,html.tg-dark .natal-report-section-title::after,
html.tg-dark .interaction-level h4,html.tg-dark .synastry-result-head p,
html.tg-dark .synastry-metrics span {color:var(--ink);}
html.tg-dark .chapter-preview,html.tg-dark .chapter-meta,
html.tg-dark .reading-toolbar,html.tg-dark .synastry-save-state,
html.tg-dark .level-more>summary,html.tg-dark .natal-report-evidence>summary {color:var(--muted);}

/* RU / EN controls follow the existing compact, readable glass surfaces. */
.language-toggle {flex:0 0 auto;min-width:44px;min-height:44px;padding:8px;border:1px solid var(--border, #bca8c7);border-radius:14px;background:var(--glass,rgba(255,255,255,.4));color:var(--ink);font:600 .875rem var(--font-ui);cursor:pointer;}
.language-settings {display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:16px!important;margin-bottom:16px;}
.language-settings label {font-size:1rem;font-weight:600;}
.language-settings select {min-height:44px;max-width:180px;font:inherit;}
#language-status {flex-basis:100%;margin:0;font-size:.875rem;line-height:1.5;color:var(--muted);}
#language-status:empty {display:none;}
.i18n-pending {opacity:.45;}
html[lang="en"] .brand {font-size:clamp(16px,4.2vw,25px);}
@media(max-width:600px){.topbar{gap:8px!important}.language-toggle{min-width:44px}.credit-badge{font-size:.875rem!important;padding:8px 10px!important}.brand{min-width:0;}}

.language-live-status {margin:4px 16px;padding:8px 12px;border-radius:12px;background:var(--glass,rgba(255,255,255,.4));color:var(--muted);font:400 .875rem/1.5 var(--font-ui);cursor:pointer;}
.language-live-status[hidden]{display:none;}

@media(max-width:760px){.topbar:has(.credit-badge:not([hidden])){grid-template-columns:minmax(0,1fr) 44px minmax(0,100px)}.topbar .language-toggle{grid-column:2;grid-row:1}.topbar .credit-badge{grid-column:3;grid-row:1;max-width:100px}.topbar .brand{grid-column:1;grid-row:1}}

/* Compact daily workspace: language stays in the header, rewards in one line. */
.topbar {display:grid;grid-template-columns:minmax(0,1fr) 44px auto;align-items:center;}
.topbar .brand {grid-column:1;grid-row:1;justify-self:start;}
.topbar .language-toggle {grid-column:2;grid-row:1;width:44px;justify-self:end;}
.topbar .credit-badge {grid-column:3;grid-row:1;justify-self:end;margin-left:0;}
.topbar .main-nav {grid-column:1/-1;grid-row:2;}
.topbar:not(:has(.credit-badge:not([hidden]))) {grid-template-columns:minmax(0,1fr) 44px;}
#today .today-rewards {display:block;border:1px solid var(--atlas-rule);border-radius:14px;padding:0;background:var(--control-fill);margin:0 0 16px;min-width:0;}
#today .today-reward-line {display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 12px;cursor:pointer;font-size:.875rem;line-height:1.4;list-style:none;}
#today .today-reward-line::-webkit-details-marker {display:none;}
#today .today-reward-line::after {content:'+';margin-left:auto;font-size:1.125rem;}
#today .today-rewards[open]>.today-reward-line::after {content:'−';}
#today .today-reward-line>.today-balance {display:inline-flex;gap:4px;margin:0;min-width:0;}
#today .today-reward-line .today-balance strong,#today .today-reward-line .today-balance span {font-size:.875rem;line-height:1.4;letter-spacing:0;}
#today .today-reward-target {color:var(--muted);white-space:nowrap;}
#today .today-reward-body {padding:0 12px 12px;}
#today .today-reward-body #today-reward-progress {margin:4px 0 10px;}
#today .today-reward-body #today-redeem {width:auto;min-height:44px;font-size:.875rem;}
#today .today-reward-body #today-reward-status {margin:8px 0;}
#today .today-overview {grid-template-columns:minmax(0,1fr);margin-bottom:16px;}
#today .daily-personal-story {margin:0 0 16px;}
#today .daily-personal-story[hidden] {display:none;}
#today .today-calendar {padding:16px;}
#today .today-section-line {gap:12px;align-items:center;}
#today .today-section-line h2 {margin:4px 0;font-size:1.25rem;}
#today .today-topics {margin:8px 0;}
#today .today-topics>summary {cursor:pointer;min-height:44px;padding:12px 0;font-size:.875rem;color:var(--muted);}
#today .today-activities {display:block;margin:8px 0 0;}
#today .today-activity {display:block;min-width:0;border:0;border-top:1px solid var(--atlas-rule);border-radius:0;background:transparent;box-shadow:none;padding:0;}
#today .today-activity-heading {display:grid;grid-template-columns:28px minmax(0,1fr) auto 12px;align-items:center;gap:10px;min-height:64px;padding:10px 0;list-style:none;cursor:pointer;color:var(--ink);}
#today .today-activity-heading::-webkit-details-marker {display:none;}
#today .today-topic-emblem {width:28px;height:28px;padding:0;background:transparent;border:0;box-shadow:none;}
#today .today-topic-emblem .today-topic-icon {width:24px;height:24px;color:var(--topic-ink);}
#today .today-activity-title {font:600 1rem/1.35 var(--font-ui);min-width:0;overflow-wrap:anywhere;}
#today .today-fit {font-size:.875rem;line-height:1.35;padding:5px 7px;border-radius:8px;max-width:115px;text-align:center;}
#today .today-activity-expand::before {content:'+';font-size:1.125rem;}
#today .today-activity[open] .today-activity-expand::before {content:'−';}
#today .today-activity-body {padding:0 0 14px 38px;}
#today .today-activity-body p {font-size:1rem;line-height:1.55;margin:0 0 10px;}
#today .today-activity .today-activity-date {padding:8px 0;margin:0;}
#today .today-reward-line:focus-visible,#today .today-activity-heading:focus-visible {outline:2px solid var(--atlas-accent);outline-offset:2px;border-radius:10px;}
@media(max-width:760px) {
 .topbar .main-nav {grid-column:auto;grid-row:auto;}
 #today .today-activity-heading {gap:8px;grid-template-columns:24px minmax(0,1fr) minmax(70px,100px) 10px;}
 #today .today-activity-title {font-size:1rem;}
 #today .today-activity-body {padding-left:0;}
 #today .today-reward-line {gap:6px;flex-wrap:wrap;}
}

/* Access labels retain contrast on the light and dark glass headers. */
.natal-report-head .report-access-note {color:var(--ink);background:var(--control-fill);border-color:var(--atlas-rule);font-size:.875rem;line-height:1.4;font-weight:600;}
@media(max-width:760px) {
 .main-nav {grid-template-columns:repeat(6,minmax(0,1fr));gap:0;}
 .main-nav .nav-pill[data-go="places"] {display:grid;}
 .main-nav .nav-pill {min-width:0;min-height:54px;padding:4px 0;gap:2px;font-size:.875rem;}
}
@media(max-width:360px) {
 .main-nav {left:0;right:0;width:auto;padding-left:1px;padding-right:1px;}
 .main-nav .nav-pill {font-weight:500;}
}

/* All seven lunar topics are always available in a small grid. */
#today .today-calendar {padding:12px;margin-bottom:16px;}
#today .today-section-line {flex-wrap:nowrap;gap:8px;margin-bottom:8px;}
#today .today-section-line h2 {font-size:1rem;line-height:1.3;margin:0;}
#today .today-date-picker {flex:none;}
#today #today-calendar-date {min-height:36px;padding:4px 8px;font-size:.875rem;width:145px;}
#today .today-activities {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0;align-items:start;}
#today .today-activity {border:1px solid var(--atlas-rule);border-radius:10px;background:var(--control-fill);}
#today .today-activity-heading {grid-template-columns:20px minmax(0,1fr) 18px;gap:6px;min-height:44px;padding:7px 8px;}
#today .today-topic-emblem,#today .today-topic-emblem .today-topic-icon {width:20px;height:20px;}
#today .today-activity-title {font-size:.875rem;line-height:1.3;font-weight:600;}
#today .today-activity-expand {display:none;}
#today .today-fit {font-size:0;line-height:1;padding:0;border:0;background:transparent;color:var(--muted);max-width:none;}
#today .today-fit::before {content:'·';font-size:20px;font-weight:700;line-height:1;}
#today .today-fit.suitable {color:var(--atlas-accent);}
#today .today-fit.suitable::before {content:'✓';font-size:16px;}
#today .today-fit.later {color:var(--muted);}
#today .today-fit.later::before {content:'−';font-size:16px;}
#today .today-activity[open] {grid-column:1/-1;}
#today .today-activity[open] .today-activity-heading {grid-template-columns:20px minmax(0,1fr) auto;}
#today .today-activity[open] .today-fit {font-size:.875rem;line-height:1.3;}
#today .today-activity[open] .today-fit::before {margin-right:6px;}
#today .today-activity-body {padding:0 12px 12px;}
#today #today-calendar-status {font-size:.875rem;line-height:1.4;margin:8px 0 0;}
#today #today-calendar-status:empty {display:none;}
@media(max-width:760px) {
 #today .today-activities {grid-template-columns:repeat(2,minmax(0,1fr));}
 #today #today-calendar-date {width:132px;}
}
#today .today-calendar {padding:8px;}
#today .today-section-line {margin-bottom:4px;}
#today .today-activities {gap:4px;}
.today-calendar [data-topic="travel"] {--topic-ink:#44698b;--topic-soft:#e5eff8;--topic-line:#cfdfef;--topic-wash:#f5f9fd;--topic-symbol:url('assets/topic-icons/travel.svg');}
#today .today-activity-heading {grid-template-columns:20px minmax(0,1fr) 28px;}
#today .today-fit {display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:8px;background:#fff0c9;color:#885600;box-shadow:inset 0 0 0 1px #a66b001f;}
#today .today-fit::before {content:'•';font-size:24px;font-weight:800;}
#today .today-fit.suitable {background:#d7f4e0;color:#146337;box-shadow:inset 0 0 0 1px #14633730;}
#today .today-fit.suitable::before {font-size:24px;}
#today .today-fit.later {background:#f6dce8;color:#91304f;box-shadow:inset 0 0 0 1px #91304f30;}
#today .today-fit.later::before {font-size:24px;}
#today .today-activity[open] .today-fit {width:auto;min-width:28px;padding:3px 8px;}
html.tg-dark #today .today-fit {background:#51401c;color:#ffdc82;}
html.tg-dark #today .today-fit.suitable {background:#234b35;color:#8ef0ac;}
html.tg-dark #today .today-fit.later {background:#583047;color:#ffb3ca;}
#today #daily-transit-timing {margin:8px 0 16px;padding:0;border:0;border-radius:0;background:transparent;color:var(--ink);}
#today .transit-overview>summary {display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;padding:7px 0;list-style:none;cursor:pointer;border-bottom:1px solid var(--atlas-rule);}
#today .transit-overview>summary::-webkit-details-marker {display:none;}
#today .transit-overview .transit-timing-count {margin:0;font-size:.875rem;line-height:1.4;font-weight:600;color:var(--ink);}
#today .transit-overview-hint {flex:none;font-size:.875rem;line-height:1.4;color:var(--atlas-accent);text-decoration:underline;text-underline-offset:3px;}
#today .transit-overview>summary:focus-visible {outline:2px solid var(--atlas-accent);outline-offset:3px;border-radius:4px;}
#today .transit-overview-body {padding:10px 0 0;}
@media(max-width:480px) {#today .transit-overview>summary {flex-wrap:wrap;}}
@media(max-width:360px) {
 #today .today-activity-heading {grid-template-columns:14px minmax(0,1fr) 28px;gap:3px;padding:7px 4px;}
 #today .today-activity-title {font-size:12px;overflow-wrap:normal;}
 #today .today-topic-emblem,#today .today-topic-emblem .today-topic-icon {width:14px;height:14px;}
}
/* Daily tarot: editorial plum artwork and a compact reading after the daily plan. */
#today .today-tarot {margin:0 0 16px;padding:16px;border-radius:20px;background:#301a27;color:#fff2e4;border:1px solid #735146;box-shadow:0 6px 18px #321d2612;}
#today .tarot-row {display:grid;grid-template-columns:88px minmax(0,1fr);gap:16px;align-items:center;}
#today .tarot-art {width:88px;height:88px;border-radius:12px;background-image:url('assets/tarot-atlas-v101.webp');background-size:400% 600%;background-position:66.6667% 100%;background-repeat:no-repeat;border:1px solid #c69b6d66;}
#today .tarot-label {font-size:.875rem;font-weight:600;color:#ffd09f;}
#today .tarot-name {font:600 1.125rem/1.3 var(--font-ui);margin:5px 0;color:#fff2e4;}
#today .tarot-title {font:400 1rem/1.4 var(--font-ui);margin:0;color:#fff2e4;}
#today .tarot-details {margin:8px 0 0;}
#today .tarot-details>summary {cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:.875rem;color:#ffd09f;text-decoration:underline;text-underline-offset:3px;list-style:none;}
#today .tarot-details>summary::-webkit-details-marker {display:none;}
#today .tarot-details>summary:focus-visible {outline:2px solid #ffd09f;outline-offset:3px;border-radius:5px;}
#today .tarot-text,#today .tarot-action-line {font:400 1rem/1.55 var(--font-ui);margin:4px 0 12px;color:#fff2e4;max-width:70ch;}
#today .tarot-action-label {display:block;color:#ffd09f;font-weight:600;margin-bottom:3px;}
#today .tarot-note,#today .tarot-meta {font-size:.8125rem;line-height:1.4;color:#dcc5bb;margin:6px 0 0;}
#today .tarot-retry {color:#ffd09f;}
#today .tarot-details[hidden],#today .tarot-retry[hidden] {display:none;}
@media(max-width:480px){#today .today-tarot {padding:12px;}#today .tarot-row {grid-template-columns:72px minmax(0,1fr);gap:12px;}#today .tarot-art {width:72px;height:72px;}#today .tarot-name {font-size:1rem;}}

/* Today follows the plan → influences → question → daily cards hierarchy. */
#today .atlas-glass-heading {min-height:0;padding:16px 18px;margin-bottom:8px;display:flex;align-items:center;justify-content:space-between;gap:12px;}
#today .atlas-glass-heading-copy {min-width:0;flex:1;}
#today #daily-title {font:600 1.35rem/1.3 var(--font-ui);margin:0 0 6px;overflow-wrap:anywhere;}
#today .atlas-glass-heading .today-celestial-scene {position:static;width:90px;height:64px;object-fit:contain;flex:none;margin:0;}
#today .atlas-glass-heading p {font-size:.875rem;margin:0;}
#today .today-rewards {margin-bottom:12px;}
#today .daily-plan-card {padding:18px;margin-bottom:16px;}
#today #daily-plan-title {font:600 1.3rem/1.35 var(--font-ui);margin:8px 0 16px;}
#today #daily-plan-steps {display:grid;grid-template-columns:1fr;gap:14px;}
#today #daily-plan-steps>section {position:relative;padding:0 0 0 38px;background:none;border:0;border-radius:0;min-height:0;}
#today .daily-step-index {position:absolute;left:0;top:0;width:28px;height:28px;display:grid;place-items:center;font-size:.8125rem;}
#today #daily-plan-steps h3 {font:600 1rem/1.4 var(--font-ui);margin:0 0 4px;}
#today #daily-plan-steps p {font:400 1rem/1.5 var(--font-ui);margin:0;}
#today #daily-plan-basis {margin-top:12px;min-height:40px;}
#today #daily-plan-source {padding-top:8px;font-size:.875rem;line-height:1.5;}
#today #daily-plan-source[hidden] {display:none;}
#today .today-influences {margin:0 0 16px;}
#today .today-influences>h2,#today .today-more>h2 {font:600 1.1rem/1.4 var(--font-ui);margin:0 0 10px;}
#today .today-influence-row {display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid var(--atlas-rule);}
#today .today-influence-row[hidden] {display:none;}
#today .today-influence-row h3 {font:600 1rem/1.35 var(--font-ui);margin:0 0 4px;}
#today .today-influence-row p {font:400 .875rem/1.45 var(--font-ui);margin:0;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
#today .today-influence-icon {font-size:26px;color:var(--atlas-accent);text-align:center;}
#today .today-influence-badge {font-size:.8125rem;line-height:1.35;color:var(--ink);background:var(--control-fill);border:1px solid var(--atlas-rule);border-radius:10px;padding:5px 8px;max-width:125px;}
#today .today-question-action {display:block;width:100%;margin:0 0 22px;min-height:48px;}
#today .today-more {margin-bottom:18px;}
#today .today-more-scroll {display:grid;grid-auto-flow:column;grid-auto-columns:minmax(260px,1fr);gap:12px;overflow-x:auto;align-items:start;scroll-snap-type:x proximity;padding-bottom:8px;}
#today .today-more-scroll>* {min-width:0;margin:0;scroll-snap-align:start;}
#today .today-more-scroll .today-moon,#today .today-more-scroll .today-calendar,#today .today-more-scroll .today-tarot {padding:14px;margin:0;}
#today .today-moon-heading {gap:10px;}
#today #today-moon-disc {width:48px;height:48px;flex:none;}
#today #daily-phase {font:600 1rem/1.35 var(--font-ui);margin:4px 0;}
#today #daily-moon-sign,#today .today-moon-summary {font-size:.875rem;line-height:1.45;}
#today .today-more-scroll .today-moon-summary {display:block;}
#today .today-more-scroll .tarot-row {grid-template-columns:60px minmax(0,1fr);gap:10px;}
#today .today-more-scroll .tarot-art {width:60px;height:74px;}
#today .today-more-scroll .tarot-name {font-size:1rem;}
#today .today-more-scroll .tarot-title {font-size:.875rem;}
#today .today-calendar-preview {font-size:.875rem;line-height:1.65;margin:0 0 10px;}
#today .today-calendar-details>summary {min-height:40px;font-size:.875rem;cursor:pointer;}
#today .today-more-scroll .today-section-line {flex-wrap:wrap;}
#today .daily-discover {display:flex;overflow-x:auto;gap:8px;margin:0 0 20px;}
#today .daily-shortcut {flex:1 0 125px;min-height:58px;padding:8px;}
#today .daily-reading>summary,#today .daily-next>summary {min-height:44px;font-weight:600;cursor:pointer;}
@media(max-width:760px){
 .main-nav {grid-template-columns:repeat(4,minmax(0,1fr));}
 .main-nav .nav-pill[data-go="synastry"],.main-nav .nav-pill[data-go="transits"],.main-nav .nav-pill[data-go="places"] {display:none;}
 #today .today-more-scroll {grid-auto-columns:82%;}
 #today .today-influence-row {grid-template-columns:26px minmax(0,1fr);gap:8px;}
 #today .today-influence-badge {grid-column:2;justify-self:start;max-width:none;margin-top:0;}
 #today .today-influence-row>div {min-width:0;}
}
#today .daily-plan-card #daily-plan-steps>section:first-child {padding:0 0 0 38px;border:0;}
#today #daily-status:empty,#today #daily-action-status:empty {display:none;}
#today .atlas-glass-heading-copy {width:auto;max-width:none;}
@media(max-width:760px){#today #daily-title {font-size:1.125rem;}#today .atlas-glass-heading {padding:14px;}#today .atlas-glass-heading .today-celestial-scene {width:72px;height:54px;}}
/* Saved people reuse the Atlas glass surfaces and remain separate from the personal profile. */
.circle-panel,.circle-context {padding:16px;margin:0 0 18px;border:1px solid var(--atlas-rule);border-radius:20px;background:var(--control-fill);color:var(--ink);}
.circle-heading {display:flex;justify-content:space-between;align-items:center;gap:12px;}
.circle-heading h2 {font:600 1.125rem/1.4 var(--font-ui);margin:0;}
.circle-panel>.atlas-muted,.circle-panel #circle-status {font-size:.875rem;line-height:1.5;}
#circle-status:empty {display:none;}
.circle-list {display:grid;gap:8px;max-height:320px;overflow-y:auto;}
.circle-person {display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 0;border-top:1px solid var(--atlas-rule);}
.circle-person>div:first-child {min-width:0;}
.circle-person strong {display:block;font-size:1rem;overflow-wrap:anywhere;}
.circle-person small {display:block;font-size:.875rem;color:var(--muted);line-height:1.4;}
.circle-person-actions {display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.circle-form {border-top:1px solid var(--atlas-rule);margin-top:14px;padding-top:14px;display:grid;gap:12px;}
.circle-form[hidden],.circle-context[hidden] {display:none;}
.circle-form label {display:grid;gap:6px;font-size:.875rem;}
.circle-form input,.circle-form select {width:100%;min-width:0;box-sizing:border-box;font-size:1rem;}
.circle-form-grid {display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.circle-form-actions {display:flex;gap:10px;flex-wrap:wrap;}
.circle-context {display:flex;align-items:center;justify-content:space-between;gap:12px;}
.circle-context p {margin:0;font-size:1rem;font-weight:600;overflow-wrap:anywhere;}
#today .daily-grid {display:block;}
@media(max-width:760px){.circle-heading{flex-wrap:wrap;}.circle-person {align-items:start;flex-direction:column;}.circle-person-actions {width:100%;}.circle-context {align-items:start;flex-direction:column;}.circle-form-grid {grid-template-columns:1fr;}}
/* Larger existing artwork, without changing the Atlas palette or image assets. */
#today .atlas-glass-heading .today-celestial-scene {width:200px;height:132px;object-fit:contain;}
#today .today-more-scroll .tarot-row {grid-template-columns:1fr;gap:12px;}
#today .today-more-scroll .tarot-art {width:144px;height:180px;justify-self:center;border-radius:14px;}
#today .today-more-scroll .tarot-copy {text-align:left;}
@media(max-width:760px){
 #today .atlas-glass-heading {display:grid;grid-template-columns:1fr;gap:8px;padding:12px 16px 16px;}
 #today .atlas-glass-heading .today-celestial-scene {grid-row:1;grid-column:1;width:210px;height:140px;justify-self:center;}
 #today .atlas-glass-heading-copy {grid-row:2;grid-column:1;width:100%;}
 #today .today-more-scroll .tarot-art {width:144px;height:180px;}
}
#today .today-meditation {padding:16px;margin:16px 0;border-radius:20px;min-width:0;}
#today .today-meditation h2 {font-size:1rem;margin:0 0 6px;}
#today .today-meditation h3 {font-size:1.1rem;margin:0 0 4px;line-height:1.35;}
#today .today-meditation p {font-size:.875rem;line-height:1.45;margin:4px 0 8px;}
#today .meditation-basis {opacity:.8;}
#today .today-meditation audio {display:block;width:100%;max-width:100%;height:44px;margin:10px 0;color-scheme:light;}
#today .today-meditation summary {font-size:.875rem;padding:10px 0;cursor:pointer;}
#today .meditation-library {display:grid;gap:6px;margin-top:6px;}
#today .meditation-choice {text-align:left;min-height:44px;width:100%;border:1px solid #b999ca;border-radius:12px;padding:10px 12px;background:#ffffff55;color:inherit;font:inherit;font-size:.875rem;}
#today .meditation-choice[aria-pressed="true"] {background:#ffd8b8;color:#713d1c;border-color:#bc753c;}
html.tg-dark #today .today-meditation audio {color-scheme:dark;}
html.tg-dark #today .meditation-choice {background:#33263e;}
html.tg-dark #today .meditation-choice[aria-pressed="true"] {background:#704529;color:#fff2e5;}

#today .today-quick-guide {margin-top:10px;}
#today .today-quick-guide p {margin:3px 0;font-size:.875rem;font-weight:400;line-height:1.4;color:inherit;}
/* Full-width rows reserve the status's natural text width in both disclosure states. */
#today .today-more-scroll .today-activities {grid-template-columns:minmax(0,1fr);gap:5px;}
#today .today-more-scroll .today-activity-heading,
#today .today-more-scroll .today-activity[open] .today-activity-heading {grid-template-columns:20px minmax(0,1fr) max-content;gap:7px;padding:8px 32px 8px 8px;min-height:44px;}
#today .today-more-scroll .today-activity-title {font-size:.875rem;line-height:1.35;overflow-wrap:normal;word-break:normal;}
#today .today-more-scroll .today-topic-emblem,
#today .today-more-scroll .today-topic-emblem .today-topic-icon {width:20px;height:20px;}
#today .today-more-scroll .today-activity .today-fit {width:auto;min-width:0;max-width:none;height:auto;min-height:28px;padding:4px 8px;gap:4px;flex-wrap:nowrap;white-space:nowrap;overflow-wrap:normal;word-break:normal;writing-mode:horizontal-tb;font-size:var(--today-type-meta);}
#today .today-more-scroll .today-activity .today-fit::before {margin:0;flex:none;font-size:16px;line-height:1;}
#today .today-more-scroll .today-activity-body {padding:0 10px 10px;}
