/* A daily companion: quiet signals first, depth available on demand. */
.life-today { position: relative; isolation: isolate; padding: clamp(22px, 4vw, 50px) 0 14px; }
.life-today::before { content: ''; position: absolute; z-index: -1; inset: 0 -4% auto; height: 590px; background: radial-gradient(circle at 75% 15%, rgba(227,176,102,.19), transparent 28%), linear-gradient(180deg, rgba(3,9,23,.39), #050d1e 91%), url('assets/rishivan-astrolabe-command-bg.png') center 37% / cover; opacity: .84; pointer-events: none; }
.today-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 235px; }
.today-heading h1 { margin: 7px 0 11px; color: #f7e6c9; font: 400 clamp(43px, 5vw, 73px)/1.05 'Playfair Display', Georgia, serif; letter-spacing: -.04em; }
.today-heading h1 em { color: #d6b3dc; font-weight: 400; }
.today-heading > div > p:last-child { color: #d2d4df; font-size: 13px; letter-spacing: .01em; }
.today-orbit { position: relative; display: grid; place-items: center; width: clamp(130px, 19vw, 230px); aspect-ratio: 1; margin-right: 7%; border: 1px solid rgba(235,198,134,.39); border-radius: 50%; background: radial-gradient(circle, rgba(234,197,126,.17), transparent 58%); box-shadow: 0 0 0 18px rgba(229,180,103,.035), 0 0 70px rgba(185,138,90,.12), inset 0 0 36px rgba(219,185,124,.1); animation: today-breathe 7s ease-in-out infinite; }
.today-orbit::before, .today-orbit::after { content: ''; position: absolute; inset: 17%; border: 1px solid rgba(218,195,148,.3); border-radius: 50%; }
.today-orbit::after { inset: -8%; border-style: dotted; opacity: .48; animation: today-turn 90s linear infinite; }
.today-orbit span { color: #f3d796; font-size: 62px; text-shadow: 0 0 35px rgba(246,197,105,.7); }
@keyframes today-breathe { 50% { box-shadow: 0 0 0 23px rgba(229,180,103,.025), 0 0 90px rgba(185,138,90,.2), inset 0 0 40px rgba(219,185,124,.15); } }
@keyframes today-turn { to { transform: rotate(360deg); } }
.today-cards { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 12px; }
.today-card { position: relative; display: flex; flex-direction: column; min-height: 225px; padding: clamp(18px, 2vw, 28px); overflow: hidden; border: 1px solid rgba(232,198,140,.26); border-radius: 19px; background: linear-gradient(143deg, rgba(26,33,61,.95), rgba(6,17,35,.96)); box-shadow: 0 16px 38px rgba(0,0,0,.16); }
.today-card::before { content: ''; position: absolute; width: 230px; height: 230px; border-radius: 50%; right: -100px; top: -120px; border: 1px solid rgba(235,197,136,.25); box-shadow: 0 0 0 22px rgba(228,182,111,.035), 0 0 0 57px rgba(228,182,111,.022); }
.today-outlook { background: radial-gradient(circle at 100% 0%, rgba(152,103,185,.18), transparent 45%), linear-gradient(143deg, rgba(32,32,65,.96), rgba(8,18,39,.96)); }
.today-practice { background: radial-gradient(circle at 100% 0%, rgba(222,172,111,.13), transparent 45%), linear-gradient(143deg, rgba(24,29,48,.96), rgba(9,17,32,.96)); }
.today-card h2 { position: relative; margin: 7px 0 10px; max-width: 340px; color: #f5e2c2; font: 400 clamp(23px, 2.6vw, 34px)/1.13 'Playfair Display', Georgia, serif; }
.today-card p { position: relative; margin: 0; max-width: 370px; color: #cbd1dc; font-size: 12px; line-height: 1.55; }
.today-card button { position: relative; align-self: flex-start; margin-top: auto; padding: 18px 0 0; border: 0; background: none; color: #f0d39f; font-size: 12px; }
.today-card button span { padding-left: 8px; }
.today-wisdom { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; margin-top: 11px; padding: 13px 19px; border: 1px solid rgba(226,191,135,.2); border-radius: 12px; background: rgba(7,18,35,.78); }
.today-wisdom span { color: #dcbf8b; font: 9px 'DM Mono',monospace; letter-spacing: .1em; }
.today-wisdom p { margin: 0; color: #e5d7c7; font: 16px 'Playfair Display',Georgia,serif; }
.today-wisdom button { margin-left: auto; padding: 4px 0; border: 0; color: #edcd95; background: none; font-size: 11px; }
.today-ask { display: flex; align-items: center; gap: 16px; margin: 12px 0 34px; padding: 15px 20px; border: 1px solid rgba(237,205,146,.34); border-radius: 14px; background: linear-gradient(90deg, rgba(14,28,47,.98), rgba(24,28,53,.89)); }
.today-ask-sigil { display: grid; place-items: center; flex: 0 0 38px; height: 38px; border: 1px solid rgba(231,198,139,.48); border-radius: 50%; color: #efd19c; font-size: 23px; }
.today-ask div { display: grid; gap: 3px; }
.today-ask b { color: #f4e4c9; font: 400 19px 'Playfair Display', Georgia, serif; }
.today-ask small { color: #b9c2d1; font-size: 11px; }
.today-ask button { margin-left: auto; white-space: nowrap; padding: 10px 17px; border: 1px solid rgba(236,199,137,.5); border-radius: 100px; color: #f4d39c; background: rgba(226,177,107,.08); font-size: 11px; }
.life-paths { padding: 7px 0 38px; }
.life-paths-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 13px; }
.life-paths-heading h2 { margin: 0; color: #f5e2c3; font: 400 clamp(27px, 3vw, 40px) 'Playfair Display', Georgia, serif; }
.life-path-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; }
.life-path-grid button { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-height: 125px; padding: 15px; text-align: left; border: 1px solid rgba(232,199,142,.19); border-radius: 13px; color: #f3e4ca; background: rgba(7,19,38,.76); transition: transform .2s, border-color .2s, background .2s; }
.life-path-grid button:hover, .life-path-grid button:focus-visible { transform: translateY(-3px); border-color: rgba(241,207,147,.7); background: rgba(25,36,61,.88); outline: none; }
.life-path-grid button i { color: #d6b57f; font: 10px 'DM Mono', monospace; }
.life-path-grid button b { margin: 13px 0 5px; font: 400 18px 'Playfair Display', Georgia, serif; }
.life-path-grid button small { color: #afb9c9; font-size: 10px; line-height: 1.4; }
.signal-deck[data-view="home"] { display: none !important; }
.hero[data-view="home"] { display: block; min-height: 0; padding: 14px 0 55px; }
.hero[data-view="home"] > .eyebrow, .hero[data-view="home"] .compass-card { display: none; }
.hero[data-view="home"] .hero-copy { max-width: 850px; margin: 0 auto; }
.hero[data-view="home"] .hero-copy h1 { font-size: clamp(38px,4vw,55px); }
.hero[data-view="home"] .hero-copy .hero-text { max-width: 700px; }
.home-status #memory-status { display: none; }
.life-panel { position: fixed; z-index: 31; top: 50%; left: 50%; transform: translate(-50%,-50%); width: min(570px,calc(100vw - 28px)); max-height: min(760px,calc(100svh - 28px)); overflow-y: auto; padding: 27px; border: 1px solid rgba(239,205,150,.52); border-radius: 22px; background: radial-gradient(circle at 90% 0%, rgba(158,104,180,.2), transparent 37%), linear-gradient(145deg, #13213a, #071124 74%); box-shadow: 0 45px 140px rgba(0,0,0,.8); }
.life-panel[hidden] { display: none; }
body:has(.life-panel:not([hidden])) { overflow: hidden; }
.life-panel-head { display: flex; justify-content: space-between; align-items: center; }
.life-panel-head button { width: 34px; height: 34px; border: 1px solid rgba(237,201,140,.3); border-radius: 50%; background: rgba(255,255,255,.03); color: #f0d29c; font-size: 22px; }
.life-panel h2 { margin: 9px 0 9px; color: #f9e4c2; font: 400 clamp(31px,4vw,46px)/1.12 'Playfair Display',Georgia,serif; }
.life-panel p { color: #cbd3df; font-size: 13px; line-height: 1.6; }
.life-panel label { margin-top: 13px; color: #e8d2aa; font-size: 11px; }
.life-panel input, .life-panel select, .life-panel textarea { width: 100%; min-height: 42px; margin-top: 6px; padding: 10px 12px; border: 1px solid rgba(226,195,138,.35); border-radius: 9px; outline: none; color: #f8eedc; background: #0a172c; font: 13px 'DM Sans',sans-serif; }
.life-panel textarea { min-height: 75px; }
.life-panel form { display: grid; gap: 5px; margin-top: 14px; }
.life-panel .primary, .life-panel .outline { min-height: 42px; }
.life-panel .mini-list { display: grid; gap: 8px; margin: 15px 0; }
.life-panel .mini-list > div { display: flex; gap: 9px; align-items: center; padding: 11px; border: 1px solid rgba(225,192,136,.2); border-radius: 9px; color: #e6dccd; background: rgba(255,255,255,.03); font-size: 12px; }
.life-panel .mini-list button { margin-left: auto; border: 0; color: #edcd91; background: none; font-size: 11px; }
.life-panel .life-note { padding: 12px; border-left: 2px solid #e8c48c; background: rgba(229,182,109,.07); }
@media(max-width:1000px) { .today-cards { grid-template-columns: 1fr 1fr; }.today-outlook { grid-column: 1/-1; min-height: 180px; }.life-path-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media(max-width:700px) { .life-today { padding-top: 18px; }.today-heading { min-height: 155px; }.today-heading h1 { font-size: 44px; }.today-orbit { width: 95px; margin-right: 2%; }.today-orbit span { font-size: 34px; }.today-cards { grid-template-columns: 1fr 1fr; gap: 8px; }.today-card { min-height: 188px; padding: 15px; }.today-outlook { grid-column: 1/-1; min-height: 160px; }.today-card h2 { font-size: 24px; }.today-ask { margin-bottom: 26px; }.life-path-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:480px) { .today-heading { min-height: 130px; }.today-heading h1 { font-size: 37px; }.today-heading > div > p:last-child { font-size: 11px; }.today-orbit { width: 70px; flex: 0 0 70px; }.today-card { min-height: 177px; padding: 12px; }.today-card h2 { font-size: 20px; }.today-card p { font-size: 10px; }.today-card button { font-size: 10px; }.today-wisdom p { font-size: 14px; }.today-wisdom button { margin-left: 0; }.today-ask { gap: 9px; padding: 11px; }.today-ask-sigil { flex-basis: 28px; height: 28px; font-size: 18px; }.today-ask b { font-size: 15px; }.today-ask small { font-size: 9px; }.today-ask button { padding: 8px; font-size: 9px; }.life-path-grid button { min-height: 112px; padding: 12px; }.life-path-grid button b { font-size: 16px; }.life-panel { top: env(safe-area-inset-top); right: 0; bottom: calc(67px + env(safe-area-inset-bottom)); left: 0; transform: none; width: 100%; max-height: none; border-radius: 0; padding: 20px; } }
@media(prefers-reduced-motion:reduce) { .today-orbit, .today-orbit::after { animation: none; }.life-path-grid button { transition: none; } }

/* Named Council identity without pretending an unused lens participated. */
#council .rishi-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
#council .rishi-grid > span { display: grid; grid-template-columns: 29px 1fr; align-content: center; column-gap: 8px; min-height: 55px; padding: 8px; }
#council .rishi-grid > span i { grid-row: 1 / 3; align-self: center; }
#council .rishi-grid > span small { display: block; color: #adb9c8; font-size: 9px; line-height: 1.2; }
#council .rishi-grid > span.considered { border-color: rgba(241,207,146,.65); background: rgba(218,174,102,.12); box-shadow: inset 0 0 20px rgba(216,174,102,.07); }
#explore #refresh-chart { display: none; }
#correct-birth-time input[type="time"] { width: 100%; min-height: 44px; margin-top: 8px; padding: 9px 12px; border: 1px solid rgba(226,193,137,.5); border-radius: 9px; color: #f5e2c4; background: #0a162b; font: 15px 'DM Sans',sans-serif; }
@media(max-width:750px) { #council .rishi-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }

/* The personal conversation is the door; the dashboard follows it. */
#home.hero[data-view="home"] { min-height: 0; padding: clamp(25px,4vw,44px) 0 34px; border-bottom: 0; }
#home .hero-copy { max-width: 890px; margin: 0 auto; }
#home .hero-copy .greeting { margin: 0 0 7px; color: #ebd09f; font-size: 12px; letter-spacing: .08em; }
#home .hero-copy h1 { max-width: 880px; margin: 0; color: #f7e6cc; font-size: clamp(39px,5.2vw,69px); line-height: 1.05; }
#home .hero-copy h1 em { color: #d8b9e6; }
#home .hero-copy .hero-text { display: block !important; max-width: 730px; margin: 12px 0 4px; color: #c7cbd6; font-size: 13px; line-height: 1.5; }
#home .dashboard-jump { display: inline-flex; margin: 4px 0 16px; padding: 4px 0; border: 0; color: #ead09f; background: none; font-size: 11px; letter-spacing: .04em; }
#home .dashboard-jump:hover, #home .dashboard-jump:focus-visible { color: #fff0d0; text-decoration: underline; }
#home .conversation-frame { border-radius: 18px; background: linear-gradient(160deg,rgba(14,24,44,.96),rgba(5,12,26,.98)); }
#home .conversation-feed { min-height: 78px; height: 78px; padding-top: 14px; padding-bottom: 12px; }
#home .conversation-welcome p { font-size: clamp(16px,2vw,21px); }
#home .home-chatbox { position: relative; bottom: auto; }
#life-today { scroll-margin-top: 82px; }
#life-today .today-heading { min-height: 185px; }
#life-today .today-ask { display: none; }

/* The eight voices, the reading, and the question share one Council stage. */
#council .council-layout { grid-template-columns: minmax(185px,.72fr) minmax(0,1.65fr) minmax(265px,.95fr); gap: 11px; align-items: stretch; }
#council .council-layout > .rishi-presence { grid-column: 1; grid-row: 1; padding: 17px 13px; }
#council .answer-card { grid-column: 2; grid-row: 1; min-height: 458px; }
#council .council-panel { grid-column: 3; grid-row: 1; padding: 19px; }
#council .rishi-presence-head { margin-bottom: 14px; }
#council .rishi-presence-head small { line-height: 1.35; }
#council .rishi-grid { display: grid; grid-template-columns: 1fr; gap: 5px; }
#council .rishi-grid > span { display: grid; grid-template-columns: 26px 1fr; min-height: 46px; padding: 5px 7px; font-size: 12px; }
#council .rishi-grid > span small { display: block; font-size: 8px; }
#council .rishi-grid > span i { width: 25px; height: 25px; }
#council .answer-card #answer-placeholder { max-width: 490px; }
#app-shell[data-active-view="kundli"] #rishivan-orb { display: flex; }
#app-shell[data-active-view="council"] #rishivan-orb { display: none !important; }

@media (max-width: 1000px) {
  #council .council-layout { grid-template-columns: minmax(0,1fr) minmax(260px,.7fr); }
  #council .council-layout > .rishi-presence { grid-column: 1 / -1; grid-row: 1; padding: 12px; }
  #council .rishi-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  #council .answer-card { grid-column: 1; grid-row: 2; min-height: 350px; }
  #council .council-panel { grid-column: 2; grid-row: 2; }
}
@media (max-width: 700px) {
  #home.hero[data-view="home"] { padding: 18px 0 24px; }
  #home .hero-copy h1 { font-size: clamp(34px,8.5vw,47px); }
  #home .hero-copy .hero-text { font-size: 11px; }
  #home .conversation-feed { height: 70px; min-height: 70px; }
  #life-today .today-heading { min-height: 145px; }
  #council .council-layout { grid-template-columns: minmax(0,1fr); }
  #council .council-layout > .rishi-presence { grid-column: 1; grid-row: 1; }
  #council .rishi-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 4px; }
  #council .rishi-grid > span { display: flex; flex-direction: column; align-items: center; text-align: center; min-height: 51px; padding: 4px; font-size: 10px; }
  #council .rishi-grid > span i { display: none; }
  #council .rishi-grid > span small { font-size: 7px; line-height: 1.1; }
  #council .council-panel { grid-column: 1; grid-row: 2; }
  #council .answer-card { grid-column: 1; grid-row: 3; min-height: 240px; }
  #council .council-layout.has-reading .answer-card { grid-row: 2; }
  #council .council-layout.has-reading .council-panel { grid-row: 3; }
  #rishivan-orb { display: flex !important; position: fixed; z-index: 19; right: 13px; bottom: calc(82px + env(safe-area-inset-bottom)); width: 54px; height: 54px; border-radius: 50%; box-shadow: 0 6px 34px rgba(228,177,109,.28); }
  #rishivan-orb small { display: none; }
}
@media(max-width:420px) {
  #home .conversation-head { padding: 8px 12px; }
  #council .council-session-head { margin-bottom: 6px; }
  #council .rishi-presence-head { margin-bottom: 7px; }
  #council .rishi-grid > span { min-height: 46px; }
}
@media(max-width:700px) {
  #home .hero-copy h1 { font-size: clamp(33px,8vw,44px); }
  #home .hero-copy .hero-text { margin: 7px 0 10px; line-height: 1.3; }
  #home .conversation-feed { height: 51px; min-height: 51px; padding: 8px 12px; }
  #home .conversation-welcome p { font-size: 15px; }
  #home .dashboard-jump { margin: 8px 0 0; }
  #council .council-layout > .rishi-presence { padding: 8px; }
  #council .rishi-presence-head { margin-bottom: 5px; }
  #council .rishi-grid > span { min-height: 37px; padding: 3px; }
  #council .rishi-grid > span small { font-size: 7px; }
  #council .council-panel { padding: 11px; }
  #council .council-panel textarea { min-height: 50px; height: 50px; }
  #council .council-panel .chips { display: none; }
  #council .council-panel .ask-button { margin-top: 6px; }
}
