/* The entrance is a live, accessible interface layered over original Rishivan art. */
.entry-gate .entry-rail { display: none; }
.entry-gate:not(:has(.entry-intro:not([hidden]))) { display: flex; align-items: center; justify-content: center; min-height: 100svh; padding: clamp(24px, 5vw, 70px); background: linear-gradient(90deg, rgba(3, 8, 20, .86), rgba(3, 8, 20, .54)), url('assets/rishivan-entry-2050-v2.png') center / cover no-repeat; }
.entry-gate:not(:has(.entry-intro:not([hidden]))) .entry-cosmos { display: none; }
.entry-gate:not(:has(.entry-intro:not([hidden]))) .entry-copy { grid-column: auto; grid-row: auto; width: min(100%, 690px); max-width: none; }
.entry-gate:not(:has(.entry-intro:not([hidden]))) .phone-form,
.entry-gate:not(:has(.entry-intro:not([hidden]))) .chart-creating,
.entry-gate:not(:has(.entry-intro:not([hidden]))) .first-welcome { width: 100%; margin: 0; padding: clamp(24px, 4vw, 45px); border: 1px solid rgba(236, 201, 140, .4); border-radius: 23px; background: linear-gradient(145deg, rgba(4, 12, 26, .93), rgba(9, 15, 29, .87)); box-shadow: 0 25px 90px rgba(0, 0, 0, .5); backdrop-filter: blur(20px); }
.entry-gate .phone-form h2 { max-width: 560px; font-size: clamp(35px, 5vw, 60px); }
.entry-gate .phone-form .entry-subcopy { color: #d9c8ac; }
.entry-gate .phone-form .identity-row,
.entry-gate .phone-form .birth-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.entry-gate .phone-form input,
.entry-gate .phone-form select { min-width: 0; min-height: 52px; }
.entry-gate .phone-form input[type=date],
.entry-gate .phone-form input[type=time] { color-scheme: dark; }
.entry-gate .phone-form #birth-place-onboarding { width: 100%; }
.entry-gate .phone-form .onboarding-actions { display: flex; justify-content: flex-end; margin-top: 12px; }
.entry-gate .phone-form .onboarding-actions .entry-submit { width: min(100%, 300px); }
.first-welcome h2 { margin: 8px 0 9px; color: #fae8c6; font: 400 clamp(36px, 5vw, 62px)/1.05 'Playfair Display', Georgia, serif; }
.first-welcome .welcome-intro { max-width: 570px; margin: 0 0 26px; color: #d8d4da; font-size: 14px; line-height: 1.6; }
.welcome-events { min-height: 200px; color: #e7d8bd; }
.welcome-loading-label { color: #dbcba9; font: 13px/1.5 'DM Sans', sans-serif; }
.welcome-skeleton { display: grid; gap: 9px; margin-top: 15px; }
.welcome-skeleton span { height: 66px; border: 1px solid rgba(237, 199, 128, .18); border-radius: 12px; background: linear-gradient(100deg, rgba(25, 41, 64, .5), rgba(71, 67, 75, .45), rgba(25, 41, 64, .5)); background-size: 220% 100%; animation: welcome-glow 2.1s ease-in-out infinite; }
.welcome-skeleton span:nth-child(2) { animation-delay: .2s; }.welcome-skeleton span:nth-child(3) { animation-delay: .4s; }
@keyframes welcome-glow { 50% { background-position: 100% 0; } }
.welcome-event-list { display: grid; gap: 12px; padding: 0; list-style: none; counter-reset: chapter; }
.welcome-event-list li { position: relative; padding: 16px 17px 16px 55px; border: 1px solid rgba(237, 199, 128, .25); border-radius: 14px; background: rgba(17, 30, 51, .68); counter-increment: chapter; }
.welcome-event-list li:before { content: counter(chapter, decimal-leading-zero); position: absolute; left: 16px; top: 18px; color: #e7c98e; font: 12px 'DM Mono', monospace; }
.welcome-event-date { display: block; margin-bottom: 5px; color: #dfc38b; font: 10px 'DM Mono', monospace; letter-spacing: .08em; }
.welcome-event-list strong { display: block; color: #f4e9d7; font: 400 18px/1.4 'Playfair Display', Georgia, serif; }
.welcome-event-list details { margin-top: 9px; color: #bfc5d1; font-size: 12px; }
.welcome-event-list summary { color: #dcbf89; cursor: pointer; }
.welcome-event-list details p { margin: 7px 0 0; line-height: 1.5; }
.welcome-enter { width: 100%; display: flex; align-items: center; justify-content: space-between; margin-top: 24px; }
.entry-gate:has(.entry-intro:not([hidden])) {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: max(64px, env(safe-area-inset-top)) 24px max(38px, env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(3, 8, 20, .30) 0%, rgba(3, 8, 20, .12) 42%, rgba(3, 8, 20, .22) 72%, rgba(3, 8, 20, .74) 100%), url('assets/rishivan-entry-2050-v2.png') center 54% / cover no-repeat;
}
.entry-gate:has(.entry-intro:not([hidden])):before { inset: 16px; border-color: rgba(238, 198, 128, .35); box-shadow: inset 0 0 75px rgba(5, 7, 20, .28); }
.entry-gate:has(.entry-intro:not([hidden])):after { display: none; }
.entry-gate:has(.entry-intro:not([hidden])) .entry-rail { top: 34px; left: 44px; right: 44px; color: #f4d8a3; }
.entry-gate:has(.entry-intro:not([hidden])) .entry-rail span:not(:first-child) { display: none; }
.entry-gate:has(.entry-intro:not([hidden])) .entry-rail-brand { font: 500 12px 'Playfair Display', Georgia, serif; letter-spacing: .28em; }
.entry-gate:has(.entry-intro:not([hidden])) .entry-cosmos { display: none; }
.entry-gate:has(.entry-intro:not([hidden])) .entry-copy { width: min(100%, 650px); max-width: none; min-height: calc(100svh - 102px); display: flex; align-items: stretch; justify-content: center; }
.entry-gate:has(.entry-intro:not([hidden])) .entry-intro { position: relative; width: 100%; max-width: none; min-height: inherit; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 9vh 8px 18vh; }
.entry-gate:has(.entry-intro:not([hidden])) .entry-intro h1 { margin: 0; color: #fff0cc; font: 400 clamp(56px, 8vw, 112px)/1.02 'Playfair Display', Georgia, serif; letter-spacing: .15em; text-indent: .15em; text-shadow: 0 2px 26px #030816, 0 0 50px rgba(231, 186, 105, .44); }
.entry-gate:has(.entry-intro:not([hidden])) .entry-intro > p:not(.eyebrow) { margin: 16px 0 0; color: #f8e5c1; font: 400 clamp(15px, 1.4vw, 20px)/1.5 'Playfair Display', Georgia, serif; letter-spacing: .05em; text-shadow: 0 2px 15px #030816; }
.entry-gate:has(.entry-intro:not([hidden])) .entry-intro .eyebrow { order: 3; margin: 24px 0 0; color: #f3d9a6; font: 500 9px/1.7 'DM Mono', monospace; letter-spacing: .17em; text-shadow: 0 2px 12px #020713; }
.entry-gate:has(.entry-intro:not([hidden])) .entry-intro .eyebrow span { padding: 0 .3em; color: #edbd77; }
.entry-gate:has(.entry-intro:not([hidden])) .entry-submit { position: absolute; bottom: max(12px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: min(280px, 85vw); min-height: 53px; display: flex; justify-content: space-between; align-items: center; padding: 11px 17px 11px 28px; border: 1px solid #f9deb1; border-radius: 100px; background: linear-gradient(110deg, #6d4728, #e5bb76 55%, #6b4526); color: #1b1520; box-shadow: 0 0 0 5px rgba(247, 201, 126, .10), 0 0 35px rgba(241, 181, 95, .4), inset 0 1px rgba(255,255,255,.55); font: 600 11px 'DM Mono', monospace; letter-spacing: .11em; text-transform: uppercase; }
.entry-gate:has(.entry-intro:not([hidden])) .entry-submit span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #f6d5a3; font-size: 17px; }
@media (max-width: 700px) {
  .entry-gate:not(:has(.entry-intro:not([hidden]))) { padding: 20px 14px; align-items: flex-start; }
  .entry-gate:not(:has(.entry-intro:not([hidden]))) .entry-copy { width: 100%; }
  .entry-gate:not(:has(.entry-intro:not([hidden]))) .phone-form,
  .entry-gate:not(:has(.entry-intro:not([hidden]))) .chart-creating,
  .entry-gate:not(:has(.entry-intro:not([hidden]))) .first-welcome { padding: 26px 20px; margin: 26px 0; }
  .entry-gate .phone-form .identity-row,
  .entry-gate .phone-form .birth-row { grid-template-columns: 1fr; }
  .entry-gate .phone-form .onboarding-actions .entry-submit { width: 100%; }
  .first-welcome .welcome-intro { font-size: 13px; }
  .welcome-event-list strong { font-size: 16px; }
  .entry-gate:has(.entry-intro:not([hidden])) { padding: max(48px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom)); background-position: center center; }
  .entry-gate:has(.entry-intro:not([hidden])):before { inset: 10px; }
  .entry-gate:has(.entry-intro:not([hidden])) .entry-rail { top: 25px; left: 29px; }
  .entry-gate:has(.entry-intro:not([hidden])) .entry-copy { min-height: calc(100svh - 72px); }
  .entry-gate:has(.entry-intro:not([hidden])) .entry-intro { padding: 0 3px 28vh; }
  .entry-gate:has(.entry-intro:not([hidden])) .entry-intro h1 { font-size: clamp(42px, 12vw, 72px); letter-spacing: .11em; text-indent: .11em; }
  .entry-gate:has(.entry-intro:not([hidden])) .entry-intro > p:not(.eyebrow) { margin-top: 11px; font-size: 15px; }
  .entry-gate:has(.entry-intro:not([hidden])) .entry-intro .eyebrow { margin-top: 17px; font-size: 7px; letter-spacing: .1em; }
  .entry-gate:has(.entry-intro:not([hidden])) .entry-submit { bottom: max(5px, env(safe-area-inset-bottom)); }
}

/* One visual world across Guide, Council, Kundli, Journey and Discover. */
:root { --vision-gold: #e9c78d; --vision-ivory: #f7ebd6; --vision-edge: rgba(233, 199, 141, .27); }
/* The birth moment is a ceremony, with truthful previews before calculation. */
.birth-date-step { text-align: left; }
.birth-date-step h2 em, .entry-gate .phone-form [data-onboarding-step="birth"] h2 em { color: #e9c78d; font-weight: 400; }
.birth-date-orbit { position: relative; width: 118px; height: 118px; display: grid; place-items: center; margin: 13px auto 20px; border: 1px solid rgba(239, 198, 124, .6); border-radius: 50%; box-shadow: 0 0 0 12px rgba(215, 172, 104, .06), 0 0 40px rgba(213, 176, 114, .18); animation: orbit-breathe 4s ease-in-out infinite; }
.birth-date-orbit::before, .birth-date-orbit::after { content: ''; position: absolute; inset: -12px; border: 1px solid rgba(222, 188, 135, .29); border-radius: 50%; transform: rotateX(57deg) rotate(-20deg); }
.birth-date-orbit::after { transform: rotateY(64deg) rotate(28deg); }
.birth-date-orbit-core { color: #ffe5ad; font-size: 37px; text-shadow: 0 0 20px #f1ba6c; }
.birth-date-orbit i { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #f6d699; box-shadow: 0 0 9px #ffe4aa; }
.birth-date-orbit i:nth-child(2) { top: 12px; left: 13px; }.birth-date-orbit i:nth-child(3) { right: 4px; top: 63px; }.birth-date-orbit i:nth-child(4) { bottom: 11px; left: 28px; }
@keyframes orbit-breathe { 50% { box-shadow: 0 0 0 16px rgba(215, 172, 104, .08), 0 0 55px rgba(213, 176, 114, .3); } }
.birth-date-step #birth-date-onboarding { display: block; width: 100%; margin: 8px 0 17px; font: 18px 'DM Sans', sans-serif; }
.date-discovery { display: flex; gap: 17px; align-items: center; padding: 17px; margin-bottom: 21px; border: 1px solid rgba(228, 194, 133, .22); border-radius: 15px; background: linear-gradient(110deg, rgba(21, 36, 62, .82), rgba(29, 27, 48, .65)); }
.date-discovery.revealed { border-color: rgba(239, 204, 142, .59); animation: vision-arrive .45s ease both; }
.date-discovery-icon { color: #f4d299; font-size: 29px; }
.date-discovery small { display: block; margin-bottom: 4px; color: #d2b37d; font: 10px 'DM Mono', monospace; letter-spacing: .12em; }
.date-discovery b { display: block; color: #fff0cd; font: 21px 'Playfair Display', Georgia, serif; font-weight: 400; }
.date-discovery p { margin: 6px 0 0; color: #bdc7d5; font-size: 12px; line-height: 1.5; }
.birth-date-step .entry-submit { width: 100%; }
.entry-gate .phone-form [data-onboarding-step="birth"] #birth-place-onboarding { margin-top: 7px; }
.entry-gate .phone-form [data-onboarding-step="birth"] label { display: block; margin-top: 16px; }
.season-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-top: 18px; }
.season-actions > div { min-width: 0; padding: 14px; border: 1px solid rgba(239, 207, 147, .23); border-radius: 13px; background: rgba(13, 25, 44, .58); }
.season-actions small { color: #f0cd8f; font: 9px 'DM Mono', monospace; letter-spacing: .13em; }
.season-actions p { margin: 8px 0 0; color: #e6e8ed; font-size: 12px; line-height: 1.5; }
@media (max-width: 560px) { .birth-date-orbit { width: 92px; height: 92px; margin: 7px auto 15px; }.season-actions { grid-template-columns: 1fr 1fr; }.season-actions > div { padding: 11px; }.season-actions p { font-size: 11px; } }
@media (prefers-reduced-motion: reduce) { .birth-date-orbit, .date-discovery.revealed { animation: none; } }
html { background: #050b16; }
body { background: radial-gradient(circle at 75% 12%, rgba(42, 48, 97, .25), transparent 37%), #050b16; }
body:has(.presence-panel:not([hidden])), body:has(.profile-sheet:not([hidden])), body:has(.daily-pause:not([hidden])) { overflow: hidden; }
body::after { content: ''; position: fixed; inset: 0; z-index: -3; pointer-events: none; background: url('assets/rishivan-cosmos-hero.png') center top / cover no-repeat; opacity: .12; }
.shell { max-width: 1560px; }
.topbar { border-bottom: 1px solid var(--vision-edge); background: rgba(5, 11, 24, .91); box-shadow: 0 10px 42px rgba(2, 5, 15, .28); }
.topbar .brand { font-family: 'Playfair Display', Georgia, serif; letter-spacing: .16em; text-transform: uppercase; }
.topbar .brand-mark { border: 1px solid rgba(246, 209, 146, .38); box-shadow: 0 0 23px rgba(235, 185, 111, .16); }
.nav-links a.active { color: #f9e0ab; }
.primary { background: linear-gradient(105deg, #b88b51, #f4d6a0 52%, #ae7b47); color: #171421; border: 1px solid #f5d7a2; box-shadow: 0 8px 28px rgba(226, 169, 93, .18), inset 0 1px rgba(255,255,255,.5); }
.primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.outline { border-color: var(--vision-edge); color: #f2d5a1; background: rgba(13, 26, 47, .6); }
.outline:hover { border-color: #e7c286; background: rgba(46, 41, 69, .65); }
.app-view:not([hidden]) { animation: vision-arrive .48s ease both; }
@keyframes vision-arrive { from { opacity: .3; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* The personal Guide is a conversation, not a dashboard widget. */
.hero { isolation: isolate; border-bottom: 1px solid rgba(226, 192, 129, .16); }
.hero:before { background: linear-gradient(90deg, rgba(4, 10, 22, .98), rgba(4, 10, 22, .82) 55%, rgba(4, 10, 22, .37)), url('assets/rishivan-cosmos-hero.png') center 48% / cover; opacity: 1; }
.home-conversation h1 { color: var(--vision-ivory); font-weight: 400; letter-spacing: -.055em; }
.home-conversation h1 em { color: #f1cc8b; font-weight: 400; }
.home-conversation .greeting { color: #e8c78f; letter-spacing: .16em; text-transform: uppercase; }
.home-conversation .hero-text { max-width: 580px; color: #d6d0da; }
.conversation-frame { border-color: rgba(240, 204, 143, .4); border-radius: 22px; background: linear-gradient(150deg, rgba(10, 22, 43, .97), rgba(5, 11, 25, .96)); box-shadow: 0 30px 95px rgba(1, 3, 11, .46), inset 0 1px rgba(255,255,255,.08); }
.conversation-head { border-bottom-color: rgba(229, 193, 133, .22); }
.conversation-welcome p { max-width: 460px; font-size: clamp(19px, 2vw, 25px); line-height: 1.35; color: #f1e5d3; }
.conversation-welcome span { font-size: 34px; }
.home-chatbox { border: 1px solid rgba(230, 192, 130, .27); }
.compass-card { position: relative; isolation: isolate; overflow: hidden; border-color: rgba(235, 194, 127, .38); background: linear-gradient(145deg, rgba(11, 25, 47, .86), rgba(7, 13, 29, .94)), url('assets/rishivan-astrolabe-command-bg.png') 70% center / cover !important; box-shadow: 0 25px 70px rgba(1, 3, 12, .35); }
.compass-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 50% 38%, rgba(244, 197, 119, .13), transparent 35%); }
.compass-title { color: #f9e9c9; font-family: 'Playfair Display', Georgia, serif; }
.signal-deck .deck-heading h2 { color: #f4e3c4; }
.signal-grid { gap: 14px; }
.signal-card { position: relative; isolation: isolate; overflow: hidden; border-color: rgba(237, 202, 144, .26); border-radius: 17px; box-shadow: inset 0 1px rgba(255,255,255,.06), 0 16px 34px rgba(0,0,0,.18); }
.signal-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 100% 0, rgba(204, 158, 91, .13), transparent 57%); }
.signal-card:nth-child(2)::before { background: linear-gradient(90deg, rgba(7, 18, 35, .9), rgba(7, 18, 35, .64)), url('assets/rishivan-astrolabe-command-bg.png') 70% center / cover; }
.signal-card:nth-child(3)::before { background: linear-gradient(90deg, rgba(9, 14, 32, .92), rgba(9, 14, 32, .54)), url('assets/rishivan-cosmos-hero.png') 75% center / cover; }
.signal-card:nth-child(7)::before { background: linear-gradient(90deg, rgba(9, 15, 30, .89), rgba(9, 15, 30, .55)), url('assets/rishivan-council-brand.png') 80% center / cover; }
.signal-card:hover, .pathway:hover, .workspace-card:hover, .discover-tile:hover { transform: translateY(-3px); border-color: rgba(247, 213, 151, .69); box-shadow: 0 18px 50px rgba(2, 5, 16, .43); }
.signal-card, .pathway, .workspace-card, .discover-tile { transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }

/* The Council reads as a place: gathering, question, then illuminated folio. */
.council-section { isolation: isolate; }
.council-section:before { opacity: .75; background: linear-gradient(180deg, rgba(5, 11, 22, .43), rgba(5, 11, 22, .96)), url('assets/rishivan-council-brand.png') center 18% / cover; }
.council-intro { min-height: 176px; align-items: center; padding: 24px clamp(20px, 3vw, 42px); margin: 15px 0 18px; border: 1px solid rgba(239, 203, 140, .29); border-radius: 20px; background: linear-gradient(90deg, rgba(4, 11, 22, .93), rgba(4, 11, 22, .6)), url('assets/rishivan-council-brand.png') 75% center / cover; }
.council-intro h1 { font-size: clamp(42px, 5vw, 72px); }
.council-intro p:last-child { max-width: 530px; color: #ded4ca; }
.council-section .council-layout { grid-template-columns: minmax(180px, .45fr) minmax(280px, .8fr) minmax(0, 1.1fr); gap: 16px; align-items: stretch; }
.council-section .council-layout > .rishi-presence { grid-column: 1; grid-row: 1; position: relative; top: auto; margin: 0; padding: 20px; border: 1px solid rgba(235, 196, 132, .33); border-radius: 20px; background: linear-gradient(160deg, rgba(11, 28, 50, .96), rgba(8, 13, 28, .96)); }
.council-section .council-panel { grid-column: 2; grid-row: 1; min-height: 520px; border-color: rgba(239, 199, 135, .4); background: linear-gradient(160deg, rgba(12, 24, 43, .97), rgba(5, 11, 24, .95)) !important; }
.council-section .answer-card { grid-column: 3; grid-row: 1; min-height: 520px; position: relative; top: auto; border-color: rgba(238, 201, 141, .43); box-shadow: 0 28px 85px rgba(0,0,0,.35); }
.council-section .rishi-grid { grid-template-columns: 1fr; gap: 8px; }
.council-section .rishi-grid > span { min-height: 52px; border: 1px solid rgba(223, 188, 132, .13); border-radius: 11px; }
.council-panel textarea { border-color: rgba(231, 195, 133, .24); background: rgba(3, 8, 20, .66); }
.council-banner { margin-top: 25px !important; border: 1px solid rgba(233, 198, 139, .3); border-radius: 20px; }

/* The Kundli is an atlas: chart first, then clear pathways. */
.explore-section { isolation: isolate; }
.explore-section:before { height: 560px; opacity: .8; background: linear-gradient(180deg, rgba(4, 11, 23, .65), rgba(4, 11, 23, .99)), url('assets/rishivan-astrolabe-command-bg.png') center 45% / cover; }
.explore-section .section-heading { padding: 20px 0 24px; }
.explore-section .section-heading h2 { color: #f6e6c9; font: 400 clamp(42px, 5vw, 68px)/1.05 'Playfair Display', Georgia, serif; }
.explore-section .section-heading p:last-child { max-width: 590px; color: #d2c7cf; }
.kundli-profile-strip { border-color: rgba(236, 201, 141, .37); box-shadow: inset 0 1px rgba(255,255,255,.06); }
.d1-card { border-color: rgba(240, 204, 142, .42) !important; box-shadow: 0 22px 65px rgba(0,0,0,.26); }
.pathway, .workspace-card { border-color: rgba(231, 196, 133, .26); }
.workspace-heading h3 { color: #f4e2c0; }
.chart-atlas { border-color: rgba(236, 202, 147, .3); }
.chart-tabs button { min-height: 42px; }
.chart-detail-heading, .chart-positions { overflow-wrap: anywhere; }

/* Timing is calm and legible, even with dense Dasha data. */
.timeline-section { isolation: isolate; min-height: calc(100svh - 96px); }
.timeline-section:before { height: 480px; background: linear-gradient(180deg, rgba(4, 10, 22, .35), rgba(4, 10, 22, .98)), url('assets/rishivan-cosmos-hero.png') center 34% / cover; opacity: .8; }
.timeline-section > .eyebrow { margin-top: 14px; }
.timeline-section h2 { max-width: 700px; color: #f6e5c3; font: 400 clamp(43px, 5vw, 68px)/1.05 'Playfair Display', Georgia, serif; }
.journey-lede { max-width: 575px; color: #d3cbd3; font-size: 14px; line-height: 1.6; }
.journey-tabs { margin-top: 28px; padding: 5px; border: 1px solid rgba(239, 205, 146, .25); border-radius: 16px; background: rgba(4, 13, 27, .8); }
.journey-tabs button.active { color: #fce7b9; border-color: rgba(242, 204, 141, .43); background: linear-gradient(135deg, rgba(124, 87, 43, .55), rgba(44, 51, 77, .5)); }
.timeline > div { border-color: rgba(236, 199, 139, .27) !important; box-shadow: 0 15px 38px rgba(0,0,0,.2); }

/* Discover feels like entering different rooms, not another settings grid. */
.discover-section { position: relative; isolation: isolate; }
.discover-section::before { content: ''; position: absolute; inset: 0 -4% auto; height: 500px; z-index: -1; background: linear-gradient(180deg, rgba(5, 11, 24, .4), #050b16), url('assets/rishivan-council-brand.png') center 38% / cover; opacity: .73; }
.discover-heading { padding: 25px 0 15px; }
.discover-heading h2 { font-size: clamp(45px, 5vw, 70px); font-weight: 400; }
.discover-heading > p:last-child { max-width: 590px; }
.discover-grid { gap: 13px; }
.discover-tile { position: relative; isolation: isolate; overflow: hidden; min-height: 210px; border-color: rgba(238, 201, 138, .34); box-shadow: 0 17px 42px rgba(0,0,0,.25); }
.discover-tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 15, 30, .34), rgba(6, 13, 26, .95)), url('assets/rishivan-cosmos-hero.png') center / cover; opacity: .85; }
.discover-tile:nth-child(2n)::before { background-image: linear-gradient(180deg, rgba(6, 15, 30, .4), rgba(6, 13, 26, .95)), url('assets/rishivan-astrolabe-command-bg.png'); }
.discover-tile:nth-child(3n)::before { background-image: linear-gradient(180deg, rgba(6, 15, 30, .4), rgba(6, 13, 26, .95)), url('assets/rishivan-council-brand.png'); }
.discover-tile b { color: #ffedcd; }
.discover-tile small { color: #ded7df; }
.discover-tile.upcoming { opacity: .58; }
.profile-sheet, .guide-panel, .presence-panel { border-color: rgba(235, 197, 139, .42); box-shadow: 0 30px 90px rgba(0,0,0,.53); }
.profile-sheet { width: min(410px, calc(100vw - 30px)); background: linear-gradient(180deg, rgba(6, 15, 30, .91), rgba(6, 15, 30, .98) 48%), url('assets/rishivan-council-brand.png') center top / cover; }
.profile-portrait { width: 76px; height: 76px; display: grid; place-items: center; margin: 22px auto 9px; border: 1px solid rgba(241, 204, 143, .55); border-radius: 50%; background: radial-gradient(circle, rgba(222, 169, 91, .27), rgba(21, 25, 55, .74)); box-shadow: 0 0 0 10px rgba(239, 197, 128, .05), 0 0 46px rgba(222, 163, 90, .2); }
.profile-portrait img { width: 57px; height: 57px; border-radius: 50%; }
.profile-sheet h2, .profile-sheet > p { text-align: center; }
.profile-facts { display: grid; gap: 8px; margin-top: 23px; }
.profile-facts > div { display: grid; gap: 5px; padding: 12px 14px; border: 1px solid rgba(232, 195, 136, .24); border-radius: 11px; background: rgba(5, 14, 29, .72); }
.profile-facts span { color: #cba86e; font: 9px 'DM Mono', monospace; letter-spacing: .13em; }
.profile-facts b { color: #f2e3c8; font-size: 12px; font-weight: 500; line-height: 1.45; }
.profile-sheet-actions { margin-top: 18px; }
.profile-sheet-actions .outline { min-height: 42px; }
.mobile-nav button.active { color: #f8db9f; text-shadow: 0 0 20px rgba(242, 190, 99, .47); }
@media (max-width: 1180px) {
  .council-section .council-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); }
  .council-section .council-panel { grid-column: 1; grid-row: 1; }
  .council-section .answer-card { grid-column: 2; grid-row: 1; }
  .council-section .council-layout > .rishi-presence { grid-column: 1 / -1; grid-row: 2; }
  .council-section .rishi-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .topbar .privacy-settings { display: none; }
  .rishivan-orb { display: none; }
  .home-chatbox { position: relative; bottom: auto; }
  .conversation-feed { height: clamp(130px, 20svh, 230px); }
  .presence-panel { top: env(safe-area-inset-top); right: 0; bottom: calc(67px + env(safe-area-inset-bottom)); left: 0; width: 100%; max-height: none; border-radius: 0; padding: 25px clamp(18px, 5vw, 42px); background: linear-gradient(180deg, rgba(6, 16, 32, .9), rgba(6, 13, 27, .98) 42%), url('assets/rishivan-council-brand.png') center top / cover; }
  .presence-head h3 { color: #f7e5c3; }
  .companion-panel .companion-form { border: 1px solid rgba(232, 196, 136, .28); border-radius: 15px; padding: 16px; background: rgba(8, 19, 36, .68); }
  .hero:before { background-position: 72% center; }
  .council-section .council-layout { grid-template-columns: minmax(0, 1fr); }
  .council-section .council-panel { grid-column: 1; grid-row: 1; min-height: 0; }
  .council-section .answer-card { grid-column: 1; grid-row: 2; min-height: 370px; }
  .council-section .council-layout > .rishi-presence { grid-column: 1; grid-row: 3; }
  .council-section .rishi-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .council-intro { min-height: 150px; }
}
@media (max-width: 560px) {
  .hero { padding-top: 8px; }
  .hero > .eyebrow { margin-bottom: -2px; }
  .home-conversation .greeting { margin-bottom: 4px; }
  .topbar .brand { letter-spacing: .09em; }
  .home-conversation h1 { font-size: clamp(38px, 10vw, 52px); }
  .home-conversation .hero-text { margin: 6px 0 10px; font-size: 12px; }
  .conversation-feed { height: clamp(88px, 16svh, 155px); }
  .home-chatbox { position: relative; bottom: auto; }
  .conversation-welcome p { font-size: 18px; }
  .compass-card { background-position: 65% center !important; }
  .signal-grid { gap: 9px; }
  .signal-card { min-height: 137px; }
  .council-intro { margin-top: 7px; min-height: 125px; padding: 17px; background-position: 63% center; }
  .council-intro h1 { font-size: 42px; }
  .council-intro p:last-child { font-size: 11px; }
  .council-section .council-panel { padding: 17px; }
  .council-section .council-layout > .rishi-presence { padding: 15px; }
  .council-section .rishi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .explore-section .section-heading { padding: 8px 0 12px; }
  .explore-section .section-heading h2 { margin: 6px 0; font-size: 34px; }
  .explore-section .section-heading p:last-child { margin: 5px 0 10px; font-size: 11px; line-height: 1.35; }
  .explore-section .section-heading .outline { min-height: 35px; padding: 7px 11px; font-size: 10px; }
  .kundli-profile-strip { padding: 12px; gap: 8px; }
  .kundli-profile-strip #refresh-chart { font-size: 10px; padding: 7px 9px; }
  .kundli-profile-strip #kundli-owner { font-size: 19px; }
  .timeline-section h2 { font-size: 44px; }
  .journey-lede { font-size: 12px; }
  .journey-tabs { margin-top: 18px; }
  .discover-heading h2 { font-size: 44px; }
  .discover-tile { min-height: 168px; }
  .rishivan-orb { display: none; }
  .profile-sheet { inset: env(safe-area-inset-top) 0 calc(67px + env(safe-area-inset-bottom)); width: 100%; max-width: none; max-height: none; border-radius: 0; overflow-y: auto; padding: 22px 25px 35px; }
}
@media (max-width: 800px) and (max-height: 620px) {
  .hero { padding-top: 4px; }
  .hero > .eyebrow, .home-conversation .hero-text { display: none; }
  .home-conversation h1 { margin: 3px 0 10px; font-size: clamp(34px, 6vw, 43px); }
  .conversation-feed { height: 82px; min-height: 82px; padding: 10px 15px; }
  .conversation-welcome p { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .app-view:not([hidden]), .welcome-skeleton span { animation: none; } .signal-card, .pathway, .workspace-card, .discover-tile { transition: none; } }

/* Sanctuary: a human-first dashboard, with astrology as the quiet intelligence beneath it. */
.hero { grid-template-columns: minmax(0, 1.55fr) minmax(300px, .45fr); }
.home-conversation h1 { max-width: 850px; line-height: 1.08; }
.home-conversation .hero-text { max-width: 640px; }
.compass-card { justify-content: flex-start; gap: 11px; padding: 24px; }
.compass-card .orbit { position: absolute; right: -30px; top: 34px; width: 190px; height: 190px; opacity: .35; pointer-events: none; }
.compass-card .compass-title { position: relative; margin-top: 33px; font: 400 clamp(27px, 2.5vw, 39px)/1.17 'Playfair Display', Georgia, serif; max-width: 280px; color: #fceac9; }
.compass-card .muted { position: relative; font-size: 13px; line-height: 1.57; color: #d7d8e1; }
.compass-card .season-actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 8px; }
.compass-card .season-actions > div { padding: 12px 13px; background: rgba(5, 13, 28, .68); }
.compass-card .season-actions p { margin-top: 6px; }
.compass-card .jarvis-readouts { margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(237, 199, 127, .16); }
.signal-deck { padding: 30px 0 45px; }
.signal-deck .deck-heading h2 { font-size: clamp(32px, 3vw, 44px); }
.signal-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.signal-card { min-height: 178px; border-radius: 18px; overflow: hidden; background: linear-gradient(145deg, rgba(17, 31, 52, .95), rgba(8, 16, 34, .97)); transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease; }
.signal-card:hover, .signal-card:focus-visible { transform: translateY(-4px); border-color: rgba(242, 203, 138, .65); box-shadow: 0 12px 35px rgba(0,0,0,.26), 0 0 30px rgba(225,184,113,.10); }
.signal-card .signal-label { color: #d4b78a; }
.signal-card b { color: #fff0d2; }
.signal-card small { color: #c3cbd8; }
.signal-card:nth-child(2)::before, .signal-card:nth-child(4)::before, .signal-card:nth-child(6)::before { opacity: .36; }
.signal-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; padding: 17px 18px; border: 1px solid rgba(232, 197, 137, .2); border-radius: 15px; background: rgba(6, 16, 32, .78); }
.signal-strip .strip-title { margin-right: auto; }
.signal-strip button { min-height: 34px; padding: 7px 12px; border: 1px solid rgba(230, 195, 136, .28); border-radius: 100px; color: #e8d4ac; background: rgba(14, 28, 50, .75); font-size: 11px; cursor: pointer; }
.signal-strip button:hover, .signal-strip button:focus-visible { border-color: #efc989; color: #fff0cd; }
.quick-grid[data-view="home"] { display: none; }
.daily-pause { position: fixed; z-index: 34; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: min(480px, calc(100vw - 30px)); display: flex; flex-direction: column; align-items: center; padding: 25px clamp(23px, 4vw, 40px) 35px; border: 1px solid rgba(239, 203, 139, .49); border-radius: 22px; text-align: center; color: #f9e9cc; background: linear-gradient(160deg, rgba(10, 22, 42, .98), rgba(15, 18, 39, .99)), url('assets/rishivan-cosmos-hero.png') center / cover; box-shadow: 0 0 0 100vmax rgba(2, 6, 16, .76), 0 30px 80px rgba(0,0,0,.65); }
.daily-pause[hidden] { display: none; }
.daily-pause-head { align-self: stretch; display: flex; justify-content: space-between; align-items: center; }.daily-pause-head button { border: 0; color: #f0d19c; background: transparent; font-size: 25px; cursor: pointer; }
.daily-pause-orbit { width: 150px; height: 150px; display: grid; place-items: center; margin: 28px 0 15px; border: 1px solid rgba(241, 203, 136, .65); border-radius: 50%; box-shadow: 0 0 0 12px rgba(232,187,116,.06), 0 0 65px rgba(230,166,91,.15); }
.daily-pause-orbit span { color: #fbe5b0; font-size: 46px; text-shadow: 0 0 24px #e4b068; }
.daily-pause.breathing .daily-pause-orbit { animation: pause-breathe 8s ease-in-out infinite; }
@keyframes pause-breathe { 50% { transform: scale(1.18); box-shadow: 0 0 0 24px rgba(232,187,116,.07), 0 0 70px rgba(230,166,91,.29); } }
.daily-pause h3 { margin: 12px 0 7px; font: 400 clamp(29px,4vw,41px)/1.14 'Playfair Display', Georgia, serif; }.daily-pause h3 em { color: #e8c58a; font-weight: 400; }
.daily-pause p { max-width: 340px; color: #d6d9e1; font-size: 13px; line-height: 1.6; }.daily-pause strong { display: block; margin: 16px 0; color: #f0d29b; font: 16px 'DM Mono', monospace; letter-spacing: .16em; }
.daily-pause .primary { min-height: 45px; width: 100%; }.daily-pause .text-button { margin-top: 12px; }
@media (max-width: 800px) { .daily-pause { inset: env(safe-area-inset-top) 0 calc(67px + env(safe-area-inset-bottom)); transform: none; width: 100%; max-height: none; border-radius: 0; overflow-y: auto; padding: 23px 24px 34px; }.daily-pause-orbit { width: 120px; height: 120px; margin: 20px 0 9px; }.daily-pause h3 { font-size: 33px; } }

/* The chart atlas responds to touch, then reveals one meaningful layer at a time. */
.chart-doorway { position: relative; margin: 25px 0 30px; padding: clamp(18px, 3vw, 35px); overflow: hidden; border: 1px solid rgba(234, 197, 132, .31); border-radius: 24px; background: linear-gradient(145deg, rgba(11, 25, 46, .97), rgba(8, 15, 32, .96)); box-shadow: 0 22px 50px rgba(0,0,0,.24); }
.chart-doorway::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .3; background: radial-gradient(circle at 90% 0%, rgba(132, 87, 171, .34), transparent 35%), url('assets/rishivan-astrolabe-command-bg.png') right top / 700px auto no-repeat; }
.chart-doorway > * { position: relative; }
.chart-doorway-head { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.chart-doorway-head h3 { margin: 4px 0 8px; color: #f8e4bf; font: 400 clamp(30px, 3vw, 43px) 'Playfair Display', Georgia, serif; }
.chart-doorway-head p:last-child { max-width: 650px; color: #cdd2de; font-size: 13px; line-height: 1.55; }
.chart-doorway-seal { display: grid; place-items: center; flex: 0 0 72px; height: 72px; border: 1px solid rgba(231, 194, 125, .53); border-radius: 50%; color: #f9d698; font-size: 31px; box-shadow: 0 0 0 9px rgba(231,194,125,.06), 0 0 35px rgba(232,174,90,.17); }
.chart-doorway-tabs { display: flex; gap: 8px; margin: 21px 0 17px; }
.chart-doorway-tabs button { padding: 9px 15px; border: 1px solid rgba(231,194,125,.29); border-radius: 100px; color: #d7c7a9; background: rgba(3, 10, 25, .7); font-size: 11px; cursor: pointer; }
.chart-doorway-tabs button.active { color: #1b1722; background: #eecb91; }
.chart-doorway-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.door-house { min-height: 99px; display: flex; flex-direction: column; gap: 8px; text-align: left; padding: 13px; border: 1px solid rgba(226,194,138,.23); border-radius: 13px; color: #f1e7d5; background: rgba(4, 14, 31, .78); cursor: pointer; transition: transform .25s, border-color .25s, background .25s; }
.door-house:hover, .door-house:focus-visible, .door-house.active { transform: translateY(-2px); border-color: rgba(240,206,145,.72); background: rgba(33, 41, 64, .85); }
.calculated-kundli .kundli-house-card { width: 100%; text-align: left; font: inherit; cursor: pointer; transition: border-color .25s, background .25s, transform .25s; }
.calculated-kundli .kundli-house-card:hover, .calculated-kundli .kundli-house-card:focus-visible { transform: translateY(-2px); border-color: #e9c78d; background: rgba(37, 47, 75, .84); outline: none; }
.door-house span { color: #d3ac71; font: 10px 'DM Mono', monospace; }
.door-house b { font: 400 16px 'Playfair Display', Georgia, serif; }
.door-house small { color: #aeb8c8; font-size: 10px; line-height: 1.3; }
.chart-doorway-detail { min-height: 175px; margin-top: 14px; padding: 22px; border: 1px solid rgba(236,200,142,.3); border-radius: 16px; background: linear-gradient(120deg, rgba(22, 33, 57, .95), rgba(9, 19, 38, .95)); }
.chart-doorway-detail h4, .chart-experience-heading h4 { margin: 7px 0; color: #f7e3bf; font: 400 clamp(24px, 2.5vw, 34px) 'Playfair Display', Georgia, serif; }
.chart-doorway-detail h4 em { color: #e4bd81; font-weight: 400; }
.chart-doorway-detail p { max-width: 850px; color: #cdd4df; font-size: 13px; line-height: 1.65; }
.door-planets { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.door-planets button { display: grid; gap: 5px; padding: 11px 13px; text-align: left; border: 1px solid rgba(224,190,132,.35); border-radius: 11px; color: #f7e5c3; background: rgba(10,22,42,.9); cursor: pointer; }
.door-planets small { color: #b7c4d3; font-size: 10px; }
.door-planet-explainer:empty { display: none; }
.door-axis { display: grid; gap: 6px; margin: 12px 0; padding: 13px 14px; border: 1px solid rgba(174, 153, 206, .3); border-radius: 11px; color: #d4d8e3; background: rgba(27, 30, 57, .6); font-size: 12px; line-height: 1.5; }
.door-axis b { color: #e5c893; }.door-axis button { justify-self: start; padding: 0; border: 0; color: #e5c893; background: transparent; font-size: 11px; cursor: pointer; }
.door-compare { display: grid; gap: 5px; margin: 12px 0 17px; padding: 12px 14px; border-left: 2px solid #dcb579; background: rgba(5,14,29,.7); color: #cfd4df; font-size: 12px; }
.door-compare b { color: #ebca90; }
.door-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.door-actions button { min-height: 39px; font-size: 11px; }
.chart-experience-heading { margin: 29px 0 13px; }
.chart-experience-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 8px; }
.chart-experience-grid button { position: relative; min-height: 94px; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 13px; text-align: left; border: 1px solid rgba(230,197,138,.22); border-radius: 13px; color: #f0e1c6; background: rgba(5,15,33,.78); cursor: pointer; transition: border-color .25s, transform .25s; }
.chart-experience-grid button:hover, .chart-experience-grid button:focus-visible { border-color: #eac48a; transform: translateY(-2px); }
.chart-experience-grid span { color: #cfa96e; font: 10px 'DM Mono', monospace; }.chart-experience-grid b { font: 400 15px 'Playfair Display', Georgia, serif; }.chart-experience-grid small { color: #aebbc9; font-size: 10px; }.chart-experience-grid i { position: absolute; right: 12px; top: 12px; color: #d4b078; }
@media (max-width: 1100px) { .hero { grid-template-columns: minmax(0,1fr) minmax(280px,.55fr); }.signal-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.chart-doorway-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }.chart-experience-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 800px) { .hero { grid-template-columns: 1fr; }.compass-card { min-height: 0; display: block; }.compass-card .compass-title { margin-top: 16px; max-width: 100%; }.compass-card .orbit { right: -30px; top: 0; }.compass-card .season-actions { grid-template-columns: repeat(2,minmax(0,1fr)); }.signal-strip .strip-title { width: 100%; }.chart-doorway-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 560px) { .home-conversation h1 { font-size: clamp(32px, 8.5vw, 42px); }.home-conversation .hero-text { line-height: 1.45; }.compass-card .compass-title { font-size: 27px; }.compass-card .season-actions { grid-template-columns: 1fr; }.signal-deck { padding-top: 20px; }.signal-deck .deck-heading h2 { font-size: 31px; }.signal-grid { gap: 9px; }.signal-card { min-height: 143px; padding: 13px; }.signal-card b { font-size: 18px; }.signal-card small { font-size: 10px; }.signal-strip { display: flex; }.signal-strip button { font-size: 10px; }.chart-doorway { padding: 17px; }.chart-doorway-seal { flex-basis: 48px; height: 48px; font-size: 22px; }.chart-doorway-head h3 { font-size: 29px; }.chart-doorway-head p:last-child { font-size: 11px; }.chart-doorway-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.door-house { min-height: 87px; padding: 10px; }.chart-doorway-detail { padding: 16px; }.chart-experience-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (prefers-reduced-motion: reduce) { .door-house, .chart-experience-grid button, .signal-card { transition: none; }.daily-pause.breathing .daily-pause-orbit { animation: none; } }

/* Conversation first: a brief threshold, then one question and one reading. */
.council-threshold { display: none; min-height: min(720px, calc(100svh - 140px)); flex-direction: column; align-items: center; justify-content: center; padding: 54px 24px 80px; text-align: center; border-radius: 26px; background: radial-gradient(circle at 50% 37%, rgba(184,135,75,.18), transparent 31%), radial-gradient(circle at 50% 48%, rgba(71,75,149,.25), transparent 52%), linear-gradient(rgba(4,10,23,.72), rgba(4,10,23,.97)), url('assets/rishivan-council-brand.png') center / cover; }
.council-threshold h1 { margin: 16px 0; color: #f7e4c2; font: 400 clamp(46px, 6vw, 78px)/1.08 'Playfair Display', Georgia, serif; }
.council-threshold h1 em { color: #d4afe9; font-weight: 400; }
.council-threshold > p:not(.eyebrow) { max-width: 510px; color: #d4d4df; font-size: 14px; line-height: 1.7; }
.council-threshold .primary { min-width: 220px; margin-top: 26px; }
.council-threshold-orbit { position: relative; display: grid; place-items: center; width: 145px; height: 145px; margin-bottom: 20px; border: 1px solid rgba(241,205,143,.64); border-radius: 50%; box-shadow: 0 0 0 18px rgba(225,183,120,.025), 0 0 75px rgba(228,178,98,.18), inset 0 0 32px rgba(229,181,105,.15); }
.council-threshold-orbit span { color: #f5d798; font-size: 53px; text-shadow: 0 0 33px rgba(249,210,129,.8); }
.council-threshold-orbit i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #e8c88e; box-shadow: 0 0 12px #e2ba78; }
.council-threshold-orbit i:nth-of-type(1) { top: 0; left: 50%; }.council-threshold-orbit i:nth-of-type(2) { top: 15%; right: 14%; }.council-threshold-orbit i:nth-of-type(3) { top: 50%; right: 0; }.council-threshold-orbit i:nth-of-type(4) { bottom: 14%; right: 14%; }.council-threshold-orbit i:nth-of-type(5) { bottom: 0; left: 50%; }.council-threshold-orbit i:nth-of-type(6) { bottom: 14%; left: 14%; }.council-threshold-orbit i:nth-of-type(7) { top: 50%; left: 0; }.council-threshold-orbit i:nth-of-type(8) { top: 14%; left: 14%; }
#council.at-threshold .council-threshold { display: flex; }
#council.at-threshold .council-session-head, #council.at-threshold .council-layout, #council.at-threshold .council-hand-panel { display: none; }
.council-session-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 2px 0 16px; color: #efd4a2; font: 11px 'DM Mono', monospace; letter-spacing: .15em; }
.council-session-head button { border: 0; padding: 8px; background: none; color: #bdc2d0; font: 11px 'DM Sans', sans-serif; }
#council .council-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(275px, 340px); gap: 16px; align-items: start; }
#council .answer-card { grid-column: 1; grid-row: 1; min-height: 420px; scroll-margin-top: 82px; }
#council .council-panel { grid-column: 2; grid-row: 1; min-height: 0; padding: 20px; }
#council .council-panel textarea { min-height: 74px; height: 74px; resize: vertical; }
#council .council-panel .chips { gap: 5px; }
#council .council-panel .chips button { font-size: 10px; }
#council .council-panel .ask-button { margin-top: 7px; }
#council .council-layout > .rishi-presence { grid-column: 1 / -1; grid-row: 2; padding: 14px 18px; }
#council .rishi-grid { display: flex; flex-wrap: wrap; gap: 6px; }
#council .rishi-grid > span { min-height: 0; padding: 7px 9px; flex: 1 1 105px; font-size: 10px; }
#council .rishi-grid > span small { display: none; }
.council-asked-question { margin-bottom: 20px; padding: 13px 17px; border-left: 2px solid #eac58c; border-radius: 5px 12px 12px 5px; background: rgba(225,183,120,.08); }
.council-asked-question span { color: #dbbd86; font: 9px 'DM Mono', monospace; letter-spacing: .15em; }
.council-asked-question p { max-width: none; margin: 6px 0 0; color: #f3e5cf; font: 18px 'Playfair Display', Georgia, serif; }

/* One chart, one selector, one connected detail. */
#explore .chart-layout, #explore .kundli-workspace, #explore .chart-atlas { display: none !important; }
#explore .chart-doorway { margin-top: 14px; border-radius: 18px; padding: 18px; background: linear-gradient(155deg, rgba(10,23,42,.98), rgba(5,11,25,.98)); }
#explore .chart-doorway::before { opacity: .17; }
#explore .chart-doorway-head h3 { margin: 2px 0 4px; font-size: clamp(25px, 3vw, 34px); }
#explore .chart-doorway-head p:last-child { margin: 0; }
#explore .chart-doorway-seal { flex-basis: 48px; height: 48px; font-size: 22px; }
#explore .chart-doorway-tabs { flex-wrap: wrap; margin: 15px 0 10px; }
#explore .chart-doorway-tabs button { min-height: 38px; }
.more-chart-picker { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 0 15px; }
.more-chart-picker[hidden] { display: none; }
.more-chart-picker button { display: grid; gap: 2px; min-width: 76px; padding: 8px 10px; border: 1px solid rgba(224,193,141,.3); border-radius: 8px; background: rgba(12,27,47,.84); color: #f3dab0; font-size: 11px; text-align: left; }
.more-chart-picker button.active { border-color: #e7c58c; background: rgba(204,164,98,.18); }
.more-chart-picker small { color: #b2baca; font-size: 9px; }
.active-chart-map { padding: 10px; border: 1px solid rgba(227,191,127,.25); border-radius: 15px; background: radial-gradient(circle at 50% 46%, rgba(72,83,143,.24), transparent 53%), rgba(2,9,22,.66); }
.active-chart-map .calculated-kundli { display: block; margin: 0; }
.active-chart-map .kundli-house-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 4px; }
.active-chart-map .kundli-house-card { min-height: 105px; padding: 11px; border-radius: 7px; border-color: rgba(220,189,132,.24); background: rgba(10,22,40,.76); }
.active-chart-map .kundli-house-card:hover, .active-chart-map .kundli-house-card:focus-visible { transform: none; border-color: #ebca8d; box-shadow: inset 0 0 0 1px rgba(235,202,141,.3), 0 0 19px rgba(216,174,104,.15); }
.chart-map-empty { padding: 40px 14px; text-align: center; color: #c9d1df; }
#explore .chart-doorway-detail { min-height: 0; margin-top: 8px; padding: 18px; border-radius: 13px; scroll-margin-top: 80px; }
.inline-planet-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.inline-planet-list button { display: grid; gap: 4px; min-height: 65px; padding: 11px; text-align: left; color: #f5dfbd; border: 1px solid rgba(230,195,133,.29); border-radius: 10px; background: rgba(6,15,30,.74); }
.inline-planet-list small { color: #aebed0; font-size: 10px; }
#explore .chart-experience-heading { margin: 26px 0 10px; }
#explore .chart-experience-grid { grid-template-columns: repeat(5,minmax(0,1fr)); }
@media (max-width: 800px) { #council .council-layout { grid-template-columns: minmax(0,1fr); } #council .council-panel { grid-column: 1; grid-row: 1; } #council .answer-card { grid-column: 1; grid-row: 2; min-height: 250px; } #council .answer-card[data-has-reading="true"] { grid-row: 1; } #council .answer-card[data-has-reading="true"] + .rishi-presence { grid-row: 3; } #council .answer-card[data-has-reading="true"] ~ .council-panel { grid-row: 2; } #council .council-layout > .rishi-presence { grid-column: 1; grid-row: 3; } .active-chart-map .kundli-house-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } #explore .chart-experience-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 560px) { .council-threshold { min-height: calc(100svh - 110px); padding: 28px 18px 94px; } .council-threshold-orbit { width: 110px; height: 110px; } .council-threshold h1 { font-size: 43px; } .council-threshold > p:not(.eyebrow) { font-size: 12px; } #council .answer-card { padding: 17px; } #council .council-panel { padding: 13px; } #council .council-panel textarea { min-height: 55px; height: 55px; padding: 9px 11px; } #council .rishi-grid > span { flex-basis: 72px; } #explore .section-heading { margin-bottom: 8px; } #explore .chart-doorway { padding: 12px; } #explore .chart-doorway-head h3 { font-size: 25px; } #explore .chart-doorway-head p:last-child { font-size: 11px; } .active-chart-map { padding: 5px; } .active-chart-map .kundli-house-grid { gap: 3px; } .active-chart-map .kundli-house-card { min-height: 85px; padding: 7px; } .active-chart-map .kundli-house-head span { font-size: 8px; } .active-chart-map .kundli-body b { font-size: 10px; } .active-chart-map .kundli-body span { font-size: 9px; } .inline-planet-list { grid-template-columns: repeat(2,minmax(0,1fr)); } #explore .chart-experience-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 800px) { #council .council-layout.has-reading .answer-card { grid-row: 1; } #council .council-layout.has-reading .council-panel { grid-row: 2; } }
.active-chart-map .kundli-house-name { display: block; margin: 5px 0; color: #e7c68d; font: 400 14px 'Playfair Display', Georgia, serif; }
.active-chart-map .kundli-house-card.selected { border-color: #efcd95; background: linear-gradient(140deg, rgba(59,53,84,.8), rgba(14,32,53,.9)); box-shadow: inset 0 0 0 1px rgba(239,205,149,.35), 0 0 22px rgba(223,175,106,.16); }
@media (max-width: 800px) { .council-threshold { min-height: calc(100svh - 130px); padding: 12px 16px 22px; } .council-threshold-orbit { width: 82px; height: 82px; margin: 0 0 8px; } .council-threshold-orbit span { font-size: 35px; } .council-threshold h1 { margin: 8px 0; font-size: 38px; } .council-threshold > p:not(.eyebrow) { max-width: 420px; margin: 5px 0; font-size: 12px; line-height: 1.4; } .council-threshold .primary { margin-top: 10px; } }
@media (max-width: 560px) { .council-threshold { min-height: calc(100svh - 130px); padding: 10px 15px 17px; } .council-threshold-orbit { width: 72px; height: 72px; } .council-threshold h1 { font-size: 32px; } .council-threshold .primary { min-height: 40px; } .active-chart-map .kundli-house-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .active-chart-map .kundli-house-name { font-size: 13px; } }
