/* AstroChat v42 — viewport-fit consultation workspace
   Single presentation layer; mobile home is viewport-contained and the drawer uses collapsed sections. */
:root{
  --ac-bg:#050607;
  --ac-bg-2:#08090b;
  --ac-panel:#0b0d0f;
  --ac-panel-2:#101215;
  --ac-panel-3:#15181c;
  --ac-panel-4:#1a1d22;
  --ac-text:#f4f4f1;
  --ac-text-soft:#c5c7cb;
  --ac-muted:#858a92;
  --ac-faint:#5e636b;
  --ac-line:rgba(255,255,255,.075);
  --ac-line-strong:rgba(255,255,255,.13);
  --ac-red:#5D1D1E;
  --ac-red-deep:#461516;
  --ac-red-dark:#2F0E0F;
  --ac-red-soft:rgba(93,29,30,.095);
  --ac-red-line:rgba(93,29,30,.34);
  --ac-green:#68d391;
  --ac-shadow:0 24px 70px rgba(0,0,0,.46);
  --ac-shadow-hard:0 12px 34px rgba(0,0,0,.58);
  --ac-radius-xl:28px;
  --ac-radius-lg:20px;
  --ac-radius-md:14px;
  --ac-radius-sm:10px;
  --ac-font:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI Variable","Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}
*{box-sizing:border-box}
html{background:var(--ac-bg)!important;color-scheme:dark;scrollbar-color:#292d33 #08090b}
body{margin:0;background:var(--ac-bg)!important;color:var(--ac-text)!important;font-family:var(--ac-font)!important;font-size:0.9375rem;line-height:1.5;letter-spacing:-.012em;overflow-x:hidden}
body,button,input,textarea,select,a{font-family:var(--ac-font)!important}
button,input,textarea,select{font:inherit}
button{border:0}
a{text-decoration:none}
::selection{background:rgba(93,29,30,.34);color:#fff}
:focus-visible{outline:2px solid var(--ac-red);outline-offset:3px}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* Ambient field */
.ambient-canvas{position:fixed;inset:0;z-index:-2;pointer-events:none;overflow:hidden;background:
  radial-gradient(circle at 83% 4%,rgba(93,29,30,.08),transparent 25rem),
  radial-gradient(circle at 10% 88%,rgba(93,29,30,.035),transparent 28rem),
  linear-gradient(180deg,#050607 0%,#070809 44%,#050607 100%)}
.ambient-canvas::before{content:"";position:absolute;inset:0;opacity:.12;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);background-size:48px 48px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.45),transparent 72%)}
.ambient-canvas span{position:absolute;border-radius:50%;filter:blur(70px);opacity:.15;background:#5D1D1E}
.ambient-canvas span:nth-child(1){width:24rem;height:24rem;right:-12rem;top:14rem}
.ambient-canvas span:nth-child(2){width:18rem;height:18rem;left:-12rem;bottom:8rem;opacity:.08}
.ambient-canvas span:nth-child(3){display:none}

/* Launch */
.launch-splash{
  --launch-accent:#5D1D1E;
  position:fixed;z-index:9999;inset:0;overflow:hidden;
  background:#000;color:#fff;cursor:default;
  transition:opacity .45s ease,visibility .45s ease;
  isolation:isolate;
}
.launch-splash.is-done{opacity:0;visibility:hidden;pointer-events:none}
.launch-splash::after{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:-1;
  background:linear-gradient(180deg,rgba(255,255,255,.012),transparent 18%,transparent 82%,rgba(255,255,255,.008));
  opacity:.65;
}
.launch-tech-header{
  position:absolute;top:max(58px,calc(env(safe-area-inset-top) + 28px));left:clamp(22px,2.25vw,44px);right:clamp(22px,2.25vw,44px);
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  color:#c7c8cb;font-size:.54rem;font-weight:720;letter-spacing:.16em;line-height:1;
}
.launch-tech-header span:last-child{color:#85878c;font-size:.48rem;letter-spacing:.14em}

/* The traditional KP line-art remains the emotional anchor. Ultra-low-opacity
   celestial geometry gives it depth without turning the splash into a generic
   horoscope/constellation screen. */
.launch-artwork{
  position:absolute;z-index:0;left:50%;top:49%;transform:translate(-50%,-50%);
  width:min(26vw,42dvh,390px);max-width:calc(100vw - 48px);
  display:grid;place-items:center;pointer-events:none;opacity:1;
}
.launch-artwork::before{
  content:"";position:absolute;left:50%;top:48%;width:118%;aspect-ratio:1;
  transform:translate(-50%,-50%);border:1px solid rgba(255,255,255,.045);border-radius:50%;
  box-shadow:0 0 0 30px rgba(255,255,255,.009),0 0 0 61px rgba(93,29,30,.008);
  opacity:.88;animation:launchHaloBreathe 6.6s ease-in-out infinite;
}
.launch-artwork::after{
  content:"";position:absolute;left:50%;top:48%;width:142%;aspect-ratio:1;
  transform:translate(-50%,-50%) rotate(-14deg);border-radius:50%;
  border-top:1px solid rgba(93,29,30,.07);border-bottom:1px solid rgba(255,255,255,.025);
  opacity:.58;animation:launchHaloOrbit 28s linear infinite;
}
.launch-artwork img{
  position:relative;z-index:1;display:block;width:100%;height:auto;max-height:60dvh;object-fit:contain;
  opacity:1;filter:brightness(1.18) contrast(1.08) drop-shadow(0 18px 38px rgba(0,0,0,.40));
}
@keyframes launchHaloBreathe{0%,100%{opacity:.55;transform:translate(-50%,-50%) scale(.985)}50%{opacity:.9;transform:translate(-50%,-50%) scale(1.015)}}
@keyframes launchHaloOrbit{to{transform:translate(-50%,-50%) rotate(346deg)}}
.launch-tech-header,.launch-identity,.launch-engine{z-index:2}
.launch-identity{
  position:absolute;left:clamp(24px,5.2vw,104px);top:50%;transform:translateY(-50%);
  width:min(42vw,620px);display:grid;justify-items:start;text-align:left;
}
.launch-brand-row{
  display:grid;grid-template-columns:auto minmax(0,auto);align-items:center;
  gap:clamp(16px,1.55vw,27px);width:max-content;max-width:100%;
}
.launch-brand-copy{min-width:0;display:grid;align-content:center}

/* Navagraha launch mark: nine orbiting bodies, three on each orbital track. */
.launch-navagraha{
  width:92px;height:92px;margin:0;flex:0 0 auto;
  display:grid;place-items:center;filter:drop-shadow(0 0 15px rgba(255,255,255,.055));
}
.launch-navagraha svg{display:block;width:100%;height:100%;overflow:visible}
.launch-orbit{transform-box:view-box;transform-origin:50px 50px}
.launch-orbit-outer{animation:launchOrbitSpin 12s linear infinite}
.launch-orbit-mid{animation:launchOrbitSpinReverse 8.6s linear infinite}
.launch-orbit-inner{animation:launchOrbitSpin 6.4s linear infinite}
.launch-orbit-line{fill:none;stroke:rgba(255,255,255,.26);stroke-width:.78;vector-effect:non-scaling-stroke}
.launch-planet{fill:#fff;stroke:#000;stroke-width:.55;vector-effect:non-scaling-stroke}
.launch-planet-lg{filter:drop-shadow(0 0 2px rgba(255,255,255,.55))}
.launch-planet-sm{opacity:.88}
.launch-planet-red{fill:var(--launch-accent);stroke:#090909}
.launch-orbit-core-halo{fill:none;stroke:rgba(93,29,30,.34);stroke-width:.8}
.launch-orbit-core{fill:var(--launch-accent);filter:drop-shadow(0 0 4px rgba(93,29,30,.48))}
@keyframes launchOrbitSpin{to{transform:rotate(360deg)}}
@keyframes launchOrbitSpinReverse{to{transform:rotate(-360deg)}}

.launch-wordmark{display:block;line-height:.91;letter-spacing:-.052em}
.launch-wordmark>span{font-size:clamp(2.42rem,4.2vw,4.55rem);font-weight:780;white-space:nowrap}
.launch-promise{
  margin:12px 0 0;display:grid;gap:5px;line-height:1.18;
}
.launch-promise strong{
  color:var(--launch-accent);font-size:.58rem;font-weight:800;letter-spacing:.17em;
}
.launch-promise span{
  color:#b8b9bd;font-size:.5rem;font-weight:650;line-height:1.34;letter-spacing:.105em;
}
.launch-engine{
  position:absolute;left:clamp(22px,2.25vw,44px);right:clamp(22px,2.25vw,44px);bottom:max(66px,calc(env(safe-area-inset-bottom) + 42px));
}
.launch-engine-top{height:13px;display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:10px}
.launch-engine-stage{position:relative;flex:1;height:13px;overflow:hidden}
.launch-engine-stage span{
  position:absolute;left:0;top:0;opacity:1;color:#d9dade;
  font-size:.55rem;font-weight:760;letter-spacing:.145em;line-height:1;
  white-space:nowrap;
}
.launch-progress-percent{flex:0 0 auto;color:#74767c;font-size:.5rem;letter-spacing:.12em;line-height:1;font-variant-numeric:tabular-nums}
.launch-progress-track{
  position:relative;height:3px;overflow:hidden;border-radius:999px;background:#202226;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.018);
}
.launch-progress-track i{
  position:absolute;inset:0 auto 0 0;width:0;border-radius:inherit;background:var(--launch-accent);
  box-shadow:0 0 12px rgba(93,29,30,.16);transition:width .045s linear;
}
.launch-progress-track i::after{
  content:"";position:absolute;top:0;right:-18px;width:36px;height:100%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.55),transparent);opacity:.45;
}
/* Fallback support for an older cached HTML shell that still contains segmented progress. */
.launch-progress-segments{display:grid;grid-template-columns:repeat(18,minmax(0,1fr));gap:4px;height:4px}
.launch-progress-segments i{display:block;min-width:0;border-radius:1px;background:#24262a;transition:background .045s linear}
.launch-progress-segments i.is-active{background:var(--launch-accent)}
.launch-engine-meta{
  display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;
  color:#66686d;font-size:.425rem;font-weight:690;letter-spacing:.125em;line-height:1;
  white-space:nowrap;
}
.launch-engine-meta>span:first-child{overflow:hidden;text-overflow:clip}
.launch-ready-status{flex:0 0 auto;color:#a6a8ad;opacity:0;transform:translateY(2px);transition:opacity .22s ease,transform .22s ease}
.launch-ready-status::before{content:"READY"}
.launch-splash.is-visual-complete .launch-progress-percent{color:#9a9ca1}
.launch-splash.is-visual-complete .launch-progress-track i{width:100%!important;box-shadow:0 0 14px rgba(93,29,30,.18)}
.launch-splash.is-visual-complete .launch-progress-segments i{background:var(--launch-accent)}
.launch-splash.is-visual-complete .launch-engine-stage span{color:#f0f0f2}
.launch-splash.is-visual-complete .launch-ready-status{opacity:1;transform:translateY(0)}

.launch-proceed-wrap{
  position:absolute;
  left:50%;
  right:auto;
  top:calc(100% + 22px);
  bottom:auto;
  z-index:3;
  width:min(292px,calc(100vw - 96px));
  opacity:0;
  transform:translate(-50%,8px);
  pointer-events:none;
  transition:opacity .24s ease,transform .24s ease;
}
.launch-proceed-wrap:not([hidden]){display:block}
.launch-splash.is-visual-complete.is-ready .launch-proceed-wrap{
  opacity:1;
  transform:translate(-50%,0);
  pointer-events:auto;
}
.launch-proceed-button{
  position:relative;
  width:100%;
  min-height:54px;
  padding:0 13px 0 11px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:11px;
  border:1px solid rgba(93,29,30,.34);
  border-radius:999px;
  background:linear-gradient(135deg,rgba(93,29,30,.045),rgba(255,255,255,.024) 52%,rgba(93,29,30,.035));
  color:#f5f5f2;
  cursor:pointer;
  text-align:left;
  font-size:.74rem;
  font-weight:820;
  letter-spacing:.07em;
  text-transform:uppercase;
  white-space:nowrap;
  overflow:hidden;
  box-shadow:0 15px 38px rgba(0,0,0,.38),inset 0 1px 0 rgba(255,255,255,.055);
  backdrop-filter:blur(18px) saturate(118%);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.launch-proceed-button::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  background:radial-gradient(circle at 17% 50%,rgba(93,29,30,.13),transparent 31%),linear-gradient(90deg,transparent 0%,rgba(255,255,255,.035) 50%,transparent 100%);
  opacity:.54;
  transform:translateX(-44%);
  animation:launchProceedSheen 4.2s ease-in-out infinite;
}
.launch-proceed-button>*{position:relative;z-index:1}
.launch-proceed-orb{
  flex:0 0 auto;
  position:relative;
  width:34px;
  height:34px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(93,29,30,.055);
  border:1px solid rgba(93,29,30,.24);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.035),0 0 14px rgba(93,29,30,.065);
}
.launch-proceed-orb::before{
  content:"";
  position:absolute;
  inset:8px;
  border:1px solid rgba(255,255,255,.28);
  border-radius:50%;
}
.launch-proceed-orb i{
  width:7px;
  height:7px;
  border-radius:50%;
  display:block;
  background:var(--launch-accent);
  box-shadow:0 0 0 5px rgba(93,29,30,.09),0 0 14px rgba(93,29,30,.28);
  animation:launchProceedBindu 1.8s ease-in-out infinite;
}
.launch-proceed-label,
.launch-proceed-copy strong{
  flex:1 1 auto;
  min-width:0;
  color:#f5f5f2;
  font-size:.74rem;
  font-weight:830;
  letter-spacing:.075em;
  text-transform:uppercase;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.launch-proceed-copy{display:contents}
.launch-proceed-copy small{display:none!important}
.launch-proceed-arrow,
.launch-proceed-button b{
  flex:0 0 auto;
  width:25px;
  height:25px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(93,29,30,.10);
  color:#fff;
  font-size:.95rem;
  font-weight:760;
  line-height:1;
}
.launch-proceed-button:hover{
  transform:translateY(-1px);
  border-color:rgba(93,29,30,.58);
  box-shadow:0 18px 46px rgba(0,0,0,.42),0 0 18px rgba(93,29,30,.07),inset 0 1px 0 rgba(255,255,255,.075);
}
.launch-proceed-button:active{transform:translateY(1px) scale(.99)}
@keyframes launchProceedSheen{
  0%,38%{transform:translateX(-44%);opacity:.22}
  62%{opacity:.48}
  100%{transform:translateX(44%);opacity:.22}
}
@keyframes launchProceedBindu{0%,100%{transform:scale(1);opacity:.86}50%{transform:scale(1.16);opacity:1}}

@media (max-width:720px){
  /* Mobile splash is distributed as three deliberate zones instead of pinning
     the status rail to the bottom and leaving a dead centre. */
  .launch-tech-header{top:max(58px,calc(env(safe-area-inset-top) + 28px));left:32px;right:32px}
  .launch-artwork{
    top:33.5%;width:min(54vw,30dvh,230px);max-width:calc(100vw - 88px);
  }
  .launch-artwork img{max-height:31dvh;filter:brightness(1.22) contrast(1.1) drop-shadow(0 14px 30px rgba(0,0,0,.34))}
  .launch-identity{
    left:50%;top:56%;transform:translateX(-50%);width:calc(100vw - 64px);justify-items:center;
  }
  .launch-brand-row{gap:16px;justify-content:center}
  .launch-navagraha{width:82px;height:82px}
  .launch-wordmark>span{font-size:clamp(2.32rem,10.7vw,3.15rem)}
  .launch-identity p{margin-top:10px;font-size:.52rem;line-height:1.18;letter-spacing:.145em}
  .launch-engine{left:32px;right:32px;bottom:max(18dvh,calc(env(safe-area-inset-bottom) + 56px))}
  .launch-proceed-wrap{width:min(292px,calc(100vw - 72px));top:calc(100% + 20px)}
  .launch-proceed-button{min-height:54px;padding-right:12px}.launch-proceed-label,.launch-proceed-copy strong{font-size:.68rem}.launch-proceed-orb{width:34px;height:34px}
}

@media (max-width:420px){
  .launch-tech-header{left:24px;right:24px}
  .launch-artwork{top:33%;width:min(55vw,29dvh,218px);max-width:calc(100vw - 72px)}
  .launch-identity{left:50%;top:56%;width:calc(100vw - 48px)}
  .launch-brand-row{gap:13px}
  .launch-navagraha{width:72px;height:72px}
  .launch-wordmark>span{font-size:clamp(2.08rem,10.6vw,2.72rem)}
  .launch-identity p{margin-top:9px;font-size:.49rem;letter-spacing:.135em}
  .launch-engine{left:24px;right:24px;bottom:max(18dvh,calc(env(safe-area-inset-bottom) + 52px))}
  .launch-proceed-wrap{width:min(286px,calc(100vw - 56px))}
}

@media (max-height:700px){
  .launch-tech-header{top:max(34px,calc(env(safe-area-inset-top) + 18px))}
  .launch-artwork{top:31%;width:min(43vw,26dvh,176px)}
  .launch-identity{top:50.5%;}
  .launch-brand-row{gap:12px}
  .launch-navagraha{width:62px;height:62px}
  .launch-wordmark>span{font-size:clamp(1.92rem,8.6vw,2.55rem)}
  .launch-identity p{margin-top:8px;font-size:.46rem}
  .launch-engine{bottom:max(13dvh,calc(env(safe-area-inset-bottom) + 74px))}
}

@media (prefers-reduced-motion:reduce){
  .launch-orbit-outer,.launch-orbit-mid,.launch-orbit-inner,.launch-artwork::before,.launch-artwork::after,.launch-proceed-button::before,.launch-proceed-orb i{animation:none}
}

/* Authentication */
.auth-screen{position:fixed;z-index:8000;inset:0;display:grid;place-items:stretch;background:#050607}
.auth-orbix-page{position:relative;min-height:100%;display:grid;grid-template-rows:1fr auto;overflow:hidden}
.auth-color-wash{position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 72% 18%,rgba(93,29,30,.11),transparent 32rem)}
.auth-orbix-content{position:relative;width:min(92vw,620px);margin:auto;padding:70px 20px 56px}
.auth-app-icon{width:72px;height:72px;margin-bottom:34px;display:grid;place-items:center;border:1px solid var(--ac-line-strong);border-radius:22px;background:#0b0d0f;box-shadow:var(--ac-shadow-hard)}
.auth-product-label{margin-bottom:18px;color:var(--ac-red);font-size:0.6875rem;font-weight:750;letter-spacing:.12em;text-transform:uppercase}
.auth-orbix-content h1{margin:0;max-width:590px;font-size:clamp(3rem,7vw,5rem);line-height:.94;letter-spacing:-.068em;font-weight:760}
.auth-orbix-content>p{max-width:510px;margin:28px 0;color:#92979f;font-size:1rem;line-height:1.7;letter-spacing:-.015em}
.google-button-wrap{min-height:48px;width:min(100%,360px);margin-top:34px}
.google-signin-mode-hint,.google-ios-fallback,.auth-error{max-width:420px;margin-top:13px;color:#777c84;font-size:0.6875rem;line-height:1.55}
.google-ios-fallback{padding:10px 14px;border:1px solid var(--ac-line);border-radius:10px;background:#111316;color:#c8cacf}
.auth-error{display:none;color:#B77B7C}
.landing-auth-footer{position:relative;display:flex;justify-content:space-between;gap:28px;padding:18px 30px;border-top:1px solid var(--ac-line);color:#646970;font-size:0.6875rem}.landing-auth-footer nav{display:flex;gap:18px}.landing-auth-footer a:hover{color:#fff}

/* App frame */
.app-shell{display:none;position:fixed;inset:0 auto auto 0;width:100%;height:var(--ac-vv-height,100dvh);min-height:0;overflow:hidden;background:var(--ac-bg);overscroll-behavior:none}
.app-frame{height:100%;min-height:0;display:grid;grid-template-columns:264px minmax(0,1fr);overflow:hidden}
.command-rail{position:sticky;top:0;height:100svh;padding:22px 18px 18px;border-right:1px solid var(--ac-line);background:rgba(7,8,9,.94);backdrop-filter:blur(22px);display:flex;flex-direction:column;gap:16px;overflow:auto}
.rail-brand{display:flex;align-items:center;gap:12px;padding:5px 6px;background:none;text-align:left;color:#fff}.rail-brand>span:last-child{display:grid}.rail-brand strong{font-size:0.9375rem;letter-spacing:-.02em}.rail-brand small{margin-top:2px;color:#666b72;font-size:0.5625rem}
.kp-logo-mark,.drawer-brandmark{position:relative;display:grid;place-items:center;flex:0 0 auto;width:38px;height:38px;border:1px solid var(--ac-line-strong);border-radius:12px;background:#111316;overflow:hidden}
.kp-logo-mark::before,.drawer-brandmark::before{content:"";width:18px;height:18px;border-radius:50%;background:var(--ac-red);box-shadow:0 0 18px rgba(93,29,30,.30)}
.kp-logo-mark::after,.drawer-brandmark::after{content:"";position:absolute;width:15px;height:15px;border-radius:50%;background:#111316;transform:translate(5px,-3px)}
.kp-logo-mark i,.kp-logo-mark b,.kp-logo-mark em{display:none}
.new-reading-button{height:46px;display:flex;align-items:center;gap:10px;padding:0 12px;border-radius:12px;background:var(--ac-red);color:#fff;font-weight:720;box-shadow:0 10px 26px rgba(93,29,30,.16)}.new-reading-button .new-reading-icon{font-size:1.25rem}.new-reading-button kbd{margin-left:auto;font-size:0.625rem;font-family:inherit;background:rgba(0,0,0,.18);padding:3px 6px;border-radius:6px}
.rail-groups{display:grid;gap:4px}.rail-group{border-bottom:1px solid rgba(255,255,255,.055)}.rail-group summary{list-style:none;display:flex;align-items:center;justify-content:space-between;padding:13px 7px;color:#777c84;font-size:0.625rem;font-weight:760;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}.rail-group summary::-webkit-details-marker{display:none}.rail-group summary b{font-size:0.8125rem;color:#555a61}.rail-group[open] summary b{transform:rotate(45deg)}.rail-group-body{padding:0 0 8px;display:grid;gap:2px}.rail-item{height:39px;display:flex;align-items:center;gap:11px;padding:0 9px;border-radius:9px;background:transparent;color:#a8acb2;text-align:left}.rail-item:hover,.rail-item.active{background:#111316;color:#fff}.rail-item.active{box-shadow:inset 2px 0 0 var(--ac-red)}.rail-item.danger{color:#B77B7C}.rail-icon{width:22px;color:#6e737b;text-align:center}.rail-about-button{margin-top:auto;display:flex;align-items:center;gap:10px;padding:11px;border:1px solid var(--ac-line);border-radius:12px;background:#0c0e10;text-align:left}.rail-about-button>span:nth-child(2){display:grid;min-width:0}.rail-about-button strong{font-size:0.75rem}.rail-about-button small{color:#686d74;font-size:0.5625rem}.rail-about-button b{margin-left:auto;color:#555a60}.rail-about-icon{width:26px;height:26px;display:grid;place-items:center;border-radius:8px;background:var(--ac-red-soft);color:var(--ac-red);font-weight:800}.rail-social-links{display:flex;gap:8px}.rail-social-icon{width:34px;height:34px;border:1px solid var(--ac-line);border-radius:9px;display:grid;place-items:center;background:#0c0e10}.rail-social-icon svg{width:14px;fill:#8a8f96}.rail-insight{display:none}.rail-account{display:grid;grid-template-columns:34px 1fr 30px;align-items:center;gap:9px;padding-top:13px;border-top:1px solid var(--ac-line)}.rail-account img{width:34px;height:34px;border-radius:10px;object-fit:cover}.rail-account>div{display:grid;min-width:0}.rail-account strong,.rail-account small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rail-account strong{font-size:0.6875rem}.rail-account small{font-size:0.5625rem;color:#686d74}.rail-signout{width:30px;height:30px;background:none;color:#636870}

.workspace{min-width:0;height:100%;min-height:0;display:flex;flex-direction:column;position:relative;overflow:hidden;overscroll-behavior:none}
.home-appbar{position:sticky;z-index:200;top:0;flex:0 0 72px;height:72px;display:flex;align-items:center;justify-content:space-between;padding:10px clamp(18px,4vw,44px);border-bottom:1px solid var(--ac-line);background:rgba(5,6,7,.94);backdrop-filter:blur(20px) saturate(135%);isolation:isolate}
.home-round-button{width:42px;height:42px;border:0;border-radius:12px;background:transparent;color:#fff;display:grid;place-items:center}.home-menu-button{margin-right:auto;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;overflow:hidden}.home-menu-button span{display:block;height:1.5px;background:#fff;border-radius:999px;will-change:transform;animation:acMenuLineDrift 2.35s ease-in-out infinite}.home-menu-button span:nth-child(1){width:18px;animation-delay:0s}.home-menu-button span:nth-child(2){width:13px;animation-delay:-.7s}.home-menu-button span:nth-child(3){width:20px;animation-delay:-1.4s}.home-avatar-button{margin-left:auto;overflow:hidden;padding:3px;position:relative;border:1px solid var(--ac-line);background:#0b0d0f}.home-avatar-button img{width:100%;height:100%;border-radius:9px;object-fit:cover;display:none}.home-avatar-button.has-photo img{display:block}.home-avatar-fallback{color:#fff;font-size:1rem}.home-profile-picker{position:absolute;left:50%;transform:translateX(-50%);width:min(44vw,250px);height:42px;display:flex;align-items:center;justify-content:center;padding:0 22px;border:0;background:transparent;cursor:pointer}.home-profile-picker::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:var(--ac-line)}.home-profile-picker strong{width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;font-size:.875rem;font-weight:700}.home-profile-chevron{position:absolute;right:5px;top:50%;transform:translateY(-50%);color:#72777f;font-size:.75rem}.home-profile-picker select{position:absolute;opacity:0;pointer-events:none}.home-solar-logo{display:none}.home-solar-logo>span,.home-solar-logo i{display:none}
.profile-picker-popover{position:absolute;top:58px;left:0;right:0;z-index:120;padding:8px;border:1px solid var(--ac-line-strong);border-radius:15px;background:#0b0d0f;box-shadow:var(--ac-shadow);max-height:min(420px,70vh);overflow:auto}.profile-picker-popover-head{padding:9px 9px 12px;display:grid}.profile-picker-popover-head strong{font-size:0.75rem}.profile-picker-popover-head small{margin-top:2px;color:#6f747c;font-size:0.5625rem}.profile-picker-options{display:grid;gap:4px}.profile-option{width:100%;display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:10px;padding:9px;border-radius:10px;background:transparent;color:#bfc2c7;text-align:left}.profile-option:hover{background:#111316}.profile-option.active{background:transparent}.profile-option.active{box-shadow:none}.profile-option-avatar{width:34px;height:34px;display:grid;place-items:center;border:1px solid var(--ac-line);border-radius:10px;background:#0a0c0e;color:#858a91;font-size:0.6875rem;font-weight:760}.profile-option-copy{display:grid}.profile-option-copy strong{font-size:0.6875rem}.profile-option.active .profile-option-copy strong{text-decoration:underline;text-decoration-thickness:1px;text-decoration-color:#9da2a8;text-underline-offset:5px}.profile-option-copy small{color:#666b72;font-size:0.5rem}.profile-option-state{font-size:0.5rem;color:#686d74}.profile-option.active .profile-option-state{color:#8b9097}

.loader{display:none;width:min(90%,520px);margin:auto;padding:26px;border:1px solid var(--ac-line);border-radius:18px;background:#0b0d0f;text-align:center}.loader-orbit{display:block;width:38px;height:38px;margin:0 auto 16px;border:1px solid var(--ac-line-strong);border-radius:50%;position:relative}.loader-orbit i{position:absolute;width:9px;height:9px;border-radius:50%;background:var(--ac-red);top:-5px;left:14px;animation:acOrbit 1s linear infinite;transform-origin:5px 24px}.loader strong{display:block;font-size:0.875rem}.loader small{display:block;margin-top:5px;color:#72777f;font-size:0.625rem}
.home-results{display:none;flex:1;width:100%;min-height:0;overflow:hidden}
.conversation-stage{position:relative;height:100%;min-height:0;display:flex;flex-direction:column;width:100%;max-width:1100px;margin:0 auto;padding:0 clamp(18px,4vw,52px);overflow:hidden}

/* Home / empty state */
.home-guidance-hero{display:none}
body.chat-empty .home-guidance-hero{display:grid;justify-items:center;text-align:center;flex:0 0 auto;padding:clamp(22px,4.5vh,54px) 0 12px}
.guidance-orb-wrap{position:relative;width:58px;height:58px;margin-bottom:14px}.guidance-orb,.guidance-orb-shadow,.guidance-orb-halo{position:absolute;border-radius:50%}.guidance-orb{inset:5px;background:linear-gradient(145deg,#5D1D1E 0%,#5D1D1E 58%,#710c0c 100%);box-shadow:0 14px 44px rgba(93,29,30,.15)}.guidance-orb-shadow{width:43px;height:43px;right:0;top:1px;background:#050607;box-shadow:-5px 7px 16px rgba(0,0,0,.38)}.guidance-orb-halo{inset:0;border:1px solid rgba(93,29,30,.18)}.guidance-greeting{margin:0 0 6px;color:#90949b;font-size:.8125rem}.guidance-title{margin:0;max-width:650px;font-size:clamp(2rem,4.5vw,3.5rem);font-weight:735;line-height:1.01;letter-spacing:-.055em}
.chat-log-shell{position:relative;flex:1;min-height:0;width:100%}.astro-chat-log{height:100%;min-height:0;width:100%;padding:18px 10px 24px 0;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.astro-chat-log::-webkit-scrollbar{width:0;height:0}.chat-scroll-indicator{position:absolute;z-index:44;top:18px;right:1px;bottom:24px;width:2px;border-radius:999px;background:rgba(93,29,30,.10);opacity:0;pointer-events:none;transition:opacity .18s ease}.chat-scroll-indicator.visible{opacity:1}.chat-scroll-indicator span{display:block;width:2px;height:0;border-radius:999px;background:rgba(93,29,30,.82);box-shadow:0 0 7px rgba(93,29,30,.16);will-change:transform}
body.chat-empty .astro-chat-log{padding:0;overflow:hidden;display:flex;align-items:center;justify-content:center}body.chat-empty .chat-scroll-indicator{display:none}
.orbix-home-empty{width:100%;max-width:720px;margin:0 auto;padding:0}.orbix-home-intro{display:none}.orbix-home-planet-grid{position:relative;isolation:isolate;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:1px;width:min(100%,640px);margin:0 auto;background:rgba(255,255,255,.08);border-top:1px solid var(--ac-line);border-bottom:1px solid var(--ac-line);overflow:hidden}.orbix-home-planet-grid::after{content:"";position:absolute;z-index:3;inset:0;pointer-events:none;opacity:.52;background-image:radial-gradient(circle at 6% 14%,rgba(216,218,221,.54) 0 .7px,transparent .95px),radial-gradient(circle at 18% 73%,rgba(184,188,193,.38) 0 .65px,transparent .9px),radial-gradient(circle at 29% 9%,rgba(225,226,228,.42) 0 .55px,transparent .85px),radial-gradient(circle at 39% 61%,rgba(190,194,199,.34) 0 .65px,transparent .95px),radial-gradient(circle at 49% 26%,rgba(229,230,231,.46) 0 .65px,transparent .95px),radial-gradient(circle at 58% 88%,rgba(185,189,194,.34) 0 .55px,transparent .85px),radial-gradient(circle at 67% 11%,rgba(224,225,227,.44) 0 .7px,transparent 1px),radial-gradient(circle at 76% 52%,rgba(180,184,190,.34) 0 .65px,transparent .9px),radial-gradient(circle at 88% 18%,rgba(225,226,228,.48) 0 .65px,transparent .95px),radial-gradient(circle at 94% 79%,rgba(188,192,197,.38) 0 .6px,transparent .9px),radial-gradient(circle at 12% 43%,rgba(226,227,229,.34) 0 .5px,transparent .8px),radial-gradient(circle at 35% 91%,rgba(214,216,219,.34) 0 .55px,transparent .85px),radial-gradient(circle at 62% 43%,rgba(224,225,228,.32) 0 .5px,transparent .8px),radial-gradient(circle at 83% 94%,rgba(221,223,225,.33) 0 .55px,transparent .85px)}.orbix-home-planet{position:relative;z-index:1;min-width:0;display:grid;grid-template-columns:28px minmax(0,1fr);gap:8px;align-items:center;padding:10px 9px;background:rgba(5,6,7,.975)}.orbix-home-planet-glyph{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.035);color:#c8cacf;font-size:.9rem}.orbix-home-planet-copy{display:grid;min-width:0;line-height:1.2}.orbix-home-planet-copy strong{color:#d9dad7;font-size:.75rem;font-weight:700}.orbix-home-planet-copy small{margin-top:2px;color:#7a7f86;font-size:.625rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.orbix-home-planet-copy em{margin-top:2px;color:#585d64;font-size:.5625rem;font-style:normal;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.orbix-home-planet-empty{grid-column:1/-1;color:#70757c;font-size:.75rem;text-align:center;padding:20px;background:#050607}

/* Composer */
.composer-zone{position:relative;z-index:45;flex:0 0 auto;margin-top:auto;padding:10px 0 max(12px,env(safe-area-inset-bottom));background:linear-gradient(180deg,rgba(5,6,7,0),#050607 36%)}
.composer-shell{position:relative;width:min(100%,850px);min-height:72px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) 48px;grid-template-rows:minmax(34px,auto) 18px;align-items:center;column-gap:10px;row-gap:1px;padding:8px 8px 7px 17px;border:1px solid var(--ac-line-strong);border-radius:18px;background:rgba(14,16,18,.78);backdrop-filter:blur(22px) saturate(125%);box-shadow:0 16px 48px rgba(0,0,0,.34)}
.composer-shell:focus-within{border-color:rgba(93,29,30,.46);box-shadow:0 18px 60px rgba(0,0,0,.42),0 0 0 3px rgba(93,29,30,.055)}
.composer-label{display:none}.composer-shell textarea{grid-column:1;grid-row:1;width:100%;max-height:84px;min-height:32px;padding:5px 0;border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;resize:none;color:#eeeef0;font-size:.9375rem;line-height:1.4}.composer-shell textarea::placeholder{color:#686d74}.orbix-composer-actions{grid-column:1;grid-row:2;position:static;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#737880;font-size:.6875rem;line-height:1}.composer-question-balance b{color:#cfd1d4;font-weight:700}.composer-character-count.warning{color:#d8a0a0}.composer-character-count.limit{color:#B77B7C}.composer-send{grid-column:2;grid-row:1/3;justify-self:end;width:46px;height:46px;border-radius:50%;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.055);color:#fff;position:relative;display:grid;place-items:center;overflow:hidden;box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 10px 28px rgba(0,0,0,.28);backdrop-filter:blur(18px);transition:transform .18s ease,border-color .18s ease,background .18s ease}.composer-send:hover{background:rgba(255,255,255,.075);border-color:rgba(255,255,255,.17)}.composer-send:active{transform:scale(.96)}.composer-send:disabled{opacity:.6}.astro-send-moon{position:relative;width:22px;height:22px;border-radius:50%;background:#f5f5f2;display:block;filter:drop-shadow(0 0 8px rgba(255,255,255,.08))}.astro-send-moon::after{content:"";position:absolute;width:20px;height:20px;border-radius:50%;background:#151719;left:7px;top:-3px}.composer-send.processing .astro-send-system{position:relative;width:23px;height:23px;border:1px solid rgba(255,255,255,.32);border-radius:50%;animation:acSpin 1s linear infinite}.composer-send.processing .astro-send-system::before{content:"";position:absolute;width:5px;height:5px;border-radius:50%;background:var(--ac-red);left:8px;top:-3px}.composer-send.processing i,.composer-send.processing b,.composer-send.processing em{display:none}.composer-send.no-credits{background:rgba(255,255,255,.045);box-shadow:none}.astro-status{max-width:850px;margin:6px auto 0;color:#5c6168;font-size:.6875rem;text-align:center}

/* Consultation — editorial, not card-on-card */
.consultation-card{position:relative;width:min(100%,860px);margin:18px auto 42px;padding:0 0 10px;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important}
.consultation-card::before{content:"";position:absolute;left:0;top:0;bottom:0;width:1px;background:linear-gradient(180deg,var(--ac-red) 0%,rgba(93,29,30,.18) 46%,transparent 100%)}
.consultation-card-head{min-height:38px;display:flex;align-items:center;justify-content:flex-end;gap:14px;padding:0;border-bottom:0}
.consultation-sequence{display:flex;align-items:center;gap:9px;color:#7a7f87;font-size:0.59375rem;font-weight:730;letter-spacing:.12em;text-transform:uppercase}.consultation-sequence i{width:7px;height:7px;border-radius:50%;background:var(--ac-red);box-shadow:0 0 0 4px rgba(93,29,30,.08)}.consultation-sequence b{font-size:0.5rem;color:#555a61;font-weight:600;text-transform:none;letter-spacing:0}
.consultation-actions{display:flex;align-items:center;gap:8px}.consultation-action,.consultation-actions button{min-height:34px;padding:0 11px;border:1px solid var(--ac-line);border-radius:10px;background:#0b0d0f;color:#8d9299;font-size:0.5625rem}.consultation-action:disabled{opacity:.35}.consultation-action .share-glyph{font-size:0.875rem}.consultation-share-reading .label{display:none}
.consultation-question{display:grid;grid-template-columns:42px minmax(0,1fr);gap:14px;padding:22px 0 15px 20px;border-bottom:1px solid var(--ac-line)}
.consultation-avatar{width:38px;height:38px;border-radius:12px;overflow:hidden;border:1px solid var(--ac-line-strong);background:#121417;display:grid;place-items:center}.consultation-avatar img{width:100%;height:100%;object-fit:cover}.consultation-question-copy{min-width:0}.consultation-question-copy small{display:block;margin-bottom:8px;color:#656a71;font-size:0.5625rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.consultation-question-copy p{margin:0;color:#f4f4f1;font-size:clamp(1.375rem,3vw,1.875rem);font-weight:650;line-height:1.24;letter-spacing:-.035em}
.consultation-scroll-body{overflow:visible!important;max-height:none!important;min-height:0!important;padding:0!important}
.consultation-answer{display:grid;grid-template-columns:42px minmax(0,1fr);gap:14px;padding:16px 0 18px 20px}
.consultation-assistant-mark{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#0c0e10;border:1px solid var(--ac-line);position:relative;overflow:hidden}.assistant-eclipse{position:relative;width:22px;height:22px;border-radius:50%;background:var(--ac-red)}.assistant-eclipse::after{content:"";position:absolute;width:20px;height:20px;border-radius:50%;background:#0c0e10;left:7px;top:-3px}.assistant-eclipse i,.assistant-eclipse b{display:none}
.consultation-answer-body{min-width:0}.consultation-answer-label{height:38px;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px;border-bottom:1px solid rgba(255,255,255,.045)}.consultation-answer-label strong{color:var(--ac-red);font-size:0.6875rem;font-weight:760;letter-spacing:.02em}.consultation-answer-label span{color:#595e65;font-size:0.5625rem}
.consultation-answer-loading{padding:22px 0}.chat-processing-copy{display:grid;grid-template-columns:12px 1fr auto;gap:12px;align-items:center}.reading-pulse{width:9px;height:9px;border-radius:50%;background:var(--ac-red);box-shadow:0 0 0 7px rgba(93,29,30,.075);animation:acPulse 1.3s ease-in-out infinite}.chat-processing-copy>div{display:grid}.chat-processing-title{font-size:0.8125rem}.chat-processing-stage{margin-top:2px;color:#6c7178;font-size:0.59375rem}.chat-processing-percent{color:var(--ac-red);font-size:0.625rem;font-weight:760}.chat-processing-track{height:2px;margin-top:18px;background:#191c20;overflow:hidden}.chat-processing-fill{display:block;height:100%;width:0;background:var(--ac-red);transition:width .3s ease}
.consultation-answer-content{color:#d6d8dc;font-size:var(--chat-answer-size,1rem);line-height:1.78;letter-spacing:-.015em}.chat-answer-line{margin-bottom:12px}.chat-answer-line strong{color:#f4f4f1;font-weight:700}.chat-answer-gap{height:8px}.chat-answer-heading{margin:26px 0 9px;color:#f1f1ef;font-size:0.8125rem;font-weight:760;letter-spacing:-.015em}.chat-answer-bullet{display:grid;grid-template-columns:14px 1fr;gap:7px;margin:7px 0}.chat-answer-bullet>span:first-child{color:var(--ac-red)}
.chat-consultation-verdict{margin:28px 0 24px;padding:20px 22px;border:1px solid var(--ac-line-strong);border-left:3px solid var(--ac-red);border-radius:0 14px 14px 0;background:#0c0e10;color:#f1f1ef;font-size:clamp(1.0625rem,2.2vw,1.3125rem);line-height:1.5;font-weight:650;letter-spacing:-.03em}
.chat-technical{margin-top:22px;border-top:1px solid var(--ac-line);border-bottom:1px solid var(--ac-line)}.chat-technical summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 2px;color:#a8acb2;cursor:pointer}.chat-technical summary::-webkit-details-marker{display:none}.chat-technical summary span{font-size:0.6875rem;font-weight:680}.chat-technical summary small{color:#5d6269;font-size:0.5625rem}.chat-technical summary::after{content:"+";color:#6a6f76}.chat-technical[open] summary::after{content:"−"}.chat-technical-body{padding:2px 4px 20px;color:#8e939a;font-size:0.8125rem;line-height:1.68}
.chat-timing-section{margin:28px 0}.chat-timing-heading{margin-bottom:11px;color:#7d8289;font-size:0.625rem;font-weight:740;letter-spacing:.08em;text-transform:uppercase}.chat-timing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.chat-timing-card{padding:14px;border-top:2px solid #3d4248;background:#0c0e10}.chat-timing-card:first-child{border-color:var(--ac-red)}.chat-timing-rank{color:#686d74;font-size:0.5rem;text-transform:uppercase;letter-spacing:.08em}.chat-timing-date{margin:5px 0;color:#ececea;font-size:0.75rem;font-weight:720}.chat-timing-note{color:#777c83;font-size:0.5625rem;line-height:1.5}
.chat-route{display:flex;flex-wrap:wrap;gap:6px;margin-top:22px}.tag{display:inline-flex!important;padding:5px 8px!important;border:1px solid var(--ac-line)!important;border-radius:8px!important;background:#0b0d0f!important;color:#747981!important;font-size:0.5rem!important}
.consultation-complete-bar{margin:22px 0 0 76px;padding:14px 0;border-top:1px solid var(--ac-line);display:flex;align-items:center;justify-content:space-between;gap:16px}.consultation-complete-bar>span{color:#62676e;font-size:0.5625rem;line-height:1.5}.consultation-complete-bar .consultation-actions button{height:36px;background:#111316;color:#c7c9cd}.consultation-card.failed .consultation-answer-body{color:#B77B7C}.system-notice{padding:14px;border:1px solid rgba(93,29,30,.22);background:rgba(93,29,30,.06);color:#B77B7C;font-size:0.6875rem}

/* Drawer — control center, not stacked marketing cards */
.app-drawer-overlay{position:fixed;z-index:1000;inset:0;background:rgba(0,0,0,.68);backdrop-filter:blur(6px);opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s ease}.app-drawer-overlay.open{opacity:1;visibility:visible}.app-drawer{position:absolute;left:0;top:0;bottom:0;width:min(340px,80vw);padding:0;background:#08090b;border:0;box-shadow:30px 0 80px rgba(0,0,0,.46);overflow:auto;overscroll-behavior:contain;transform:translateX(-22px);transition:transform .22s ease}.app-drawer-overlay.open .app-drawer{transform:none}
.drawer-brandbar{height:72px;display:grid;grid-template-columns:34px 1fr 38px;gap:12px;align-items:center;padding:0 20px;border-bottom:1px solid rgba(255,255,255,.11)}.drawer-brandcopy{display:grid}.drawer-brandcopy strong{font-size:1.125rem;font-weight:720;letter-spacing:-.025em}.drawer-brandcopy small{margin-top:1px;color:#72777e;font-size:.6875rem;letter-spacing:.07em;text-transform:uppercase}.drawer-close{width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.035);color:#858a91;font-size:1.375rem}.drawer-brandmark{position:relative;display:grid;place-items:center;width:32px;height:32px;border:0!important;border-radius:0!important;background:transparent!important;overflow:visible!important}.drawer-brandmark::before{content:"";width:22px;height:22px;border-radius:50%;background:#f6f6f3!important;box-shadow:none!important}.drawer-brandmark::after{content:"";position:absolute;width:20px;height:20px;border-radius:50%;background:#08090b!important;transform:translate(7px,-4px)!important}.brand-crescent{display:none}
.drawer-context{margin:0 20px}.drawer-chart-card,.drawer-credit-card{margin:0;padding:16px 0;border:0;border-bottom:1px solid rgba(255,255,255,.10);background:transparent!important;border-radius:0!important;box-shadow:none!important}
.drawer-chart-card{display:grid;grid-template-columns:minmax(0,1fr) 36px;gap:12px;align-items:center}.drawer-chart-orb{width:26px;height:26px;border-radius:50%;background:#f3f3f0;position:relative;box-shadow:none}.drawer-chart-orb::after{content:"";position:absolute;width:24px;height:24px;border-radius:50%;background:#08090b;left:8px;top:-4px}.drawer-chart-copy{display:grid}.drawer-chart-copy small,.drawer-credit-copy small{color:#73787f;font-size:.6875rem;font-weight:720;letter-spacing:.08em;text-transform:uppercase}.drawer-chart-copy strong{margin-top:3px;font-size:1rem;font-weight:700}.drawer-chart-copy span{margin-top:2px;color:#858a91;font-size:.75rem}.drawer-chart-open{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.035);color:#8a8f96;font-size:1rem}
.drawer-credit-card{display:flex;align-items:center;justify-content:space-between;gap:14px}.drawer-credit-copy{display:grid}.drawer-balance{margin-top:3px;color:#b8bbc0;font-size:.8125rem}.drawer-credit-add{height:36px;padding:0 13px;border-radius:10px;background:var(--ac-red);color:#fff;font-size:.75rem;font-weight:720}
.drawer-primary-action{margin:18px 20px 8px;width:calc(100% - 40px);min-height:58px;display:grid;grid-template-columns:32px 1fr auto;align-items:center;gap:12px;padding:0 15px;border-radius:13px;background:var(--ac-red);color:#fff;text-align:left;box-shadow:0 14px 30px rgba(93,29,30,.11)}.drawer-primary-icon{font-size:1.45rem}.drawer-primary-copy{display:grid}.drawer-primary-copy strong{font-size:.9375rem}.drawer-primary-copy small{margin-top:2px;color:rgba(255,255,255,.72);font-size:.75rem}.drawer-primary-arrow{font-size:1rem}
.drawer-accordion-stack{margin:8px 20px 0;border-top:1px solid rgba(255,255,255,.10)}.drawer-accordion{border-bottom:1px solid rgba(255,255,255,.10)}.drawer-accordion summary{list-style:none;min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 2px;cursor:pointer;color:#d1d3d6}.drawer-accordion summary::-webkit-details-marker{display:none}.drawer-accordion summary>span{display:grid}.drawer-accordion summary strong{font-size:.875rem;font-weight:700}.drawer-accordion summary small{margin-top:2px;color:#747980;font-size:.75rem}.drawer-accordion summary b{color:#858a91;font-size:1.1rem;font-weight:400;transition:transform .18s ease}.drawer-accordion[open] summary b{transform:rotate(45deg)}.drawer-nav-list{border-top:1px solid rgba(255,255,255,.07);padding-bottom:4px}.drawer-nav-button,.drawer-toggle-row,.drawer-font-row{width:100%;min-height:58px;display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:12px;padding:8px 2px;border:0;border-bottom:1px solid rgba(255,255,255,.065);background:transparent;color:#c3c6ca;text-align:left}.drawer-nav-list>:last-child{border-bottom:0}.drawer-nav-button:hover,.drawer-toggle-row:hover{background:rgba(255,255,255,.018)}.drawer-nav-button.danger{color:#B77B7C}.drawer-nav-icon,.drawer-font-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.035);color:#8c9198;font-size:.875rem}.drawer-nav-copy{display:grid}.drawer-nav-copy strong,.drawer-font-row>div>strong{font-size:.875rem;font-weight:650}.drawer-nav-copy small,.drawer-font-row>div>small{margin-top:2px;color:#747980;font-size:.75rem}.drawer-nav-chevron{color:#565b62;font-size:1rem}.mini-switch{width:40px;height:23px;border-radius:999px;background:#171a1e;border:1px solid rgba(255,255,255,.12);padding:2px;display:flex;align-items:center}.mini-switch i{width:17px;height:17px;border-radius:50%;background:#72777e;transition:transform .2s ease,background .2s ease}.sound-on .sound-state i,.mini-switch.on i{transform:translateX(16px);background:var(--ac-red)}.drawer-font-row{grid-template-columns:34px 1fr auto}.font-size-selector{display:flex;align-items:end;gap:4px}.font-size-selector button{width:30px;height:30px;border-radius:50%;background:transparent;color:#858a91;border:1px solid rgba(255,255,255,.09)}.font-size-selector button:nth-child(1){font-size:.6875rem}.font-size-selector button:nth-child(2){font-size:.8125rem}.font-size-selector button:nth-child(3){font-size:.9375rem}.font-size-selector button.active{background:#f1f1ee;color:#090a0b;border-color:#f1f1ee}
.drawer-utility-row{display:grid;grid-template-columns:1fr 38px 38px;gap:8px;margin:18px 20px 0;padding:16px 0 max(22px,env(safe-area-inset-bottom));border-top:1px solid rgba(255,255,255,.10)}.drawer-about-compact{display:grid;grid-template-columns:28px 1fr auto;gap:9px;align-items:center;background:transparent;color:#bfc2c6;text-align:left}.drawer-about-compact>span:first-child{width:28px;height:28px;border-radius:50%;background:rgba(255,255,255,.04);color:#9ba0a7;display:grid;place-items:center}.drawer-about-compact>span:nth-child(2){display:grid}.drawer-about-compact strong{font-size:.8125rem}.drawer-about-compact small{color:#70757c;font-size:.6875rem}.drawer-utility-icon{width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.035);display:grid;place-items:center}.drawer-utility-icon svg{width:14px;fill:#8a8f96}

/* Modal foundation */
.modal-layer,.home-plans-layer,.home-info-layer{position:fixed;z-index:1400;inset:0;display:grid;place-items:center;padding:18px;background:rgba(0,0,0,.72);backdrop-filter:blur(8px);opacity:0;visibility:hidden;transition:.18s ease}.modal-layer.open,.home-plans-layer.open,.home-info-layer.open,.home-plans-layer[aria-hidden="false"],.home-info-layer[aria-hidden="false"]{opacity:1;visibility:visible}.decision-modal,.about-app-modal,.home-plans-card,.home-info-card{position:relative;width:min(92vw,560px);max-height:88svh;overflow:auto;padding:30px;border:1px solid var(--ac-line-strong);border-radius:20px;background:#0b0d0f;box-shadow:var(--ac-shadow)}.modal-close,.about-close,.home-plans-close,.home-info-close{position:absolute;right:16px;top:16px;width:36px;height:36px;border-radius:10px;background:#15181c;color:#777c83;font-size:1.25rem}.decision-modal>.modal-symbol{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:var(--ac-red-soft);color:var(--ac-red);font-size:1.125rem}.decision-modal>small,.plans-eyebrow,.about-brand-row small,.home-info-card>small{display:block;margin-top:20px;color:var(--ac-red);font-size:0.5625rem;font-weight:760;letter-spacing:.1em;text-transform:uppercase}.decision-modal h2,.home-plans-card h2,.about-app-modal h2,.home-info-card h2{margin:8px 0 10px;font-size:1.75rem;line-height:1.12;letter-spacing:-.04em}.decision-modal p,.home-plans-card p,.about-app-modal p,.home-info-card p{color:#858a92;font-size:0.75rem;line-height:1.65}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:22px}.modal-actions button{height:42px;padding:0 15px;border-radius:11px;background:#14171a;color:#a8acb2}.modal-actions .primary{background:var(--ac-red);color:#fff}.question-split-list{padding-left:20px}.question-split-edit{width:100%;min-height:54px;margin:5px 0;padding:10px;border:1px solid var(--ac-line);border-radius:10px;background:#101215;color:#e5e5e3}.question-split-cost,.follow-up-example{margin-top:14px;padding:13px;border-left:2px solid var(--ac-red);background:#101215;color:#888d94;font-size:0.625rem}.follow-up-example{display:grid;gap:4px}.follow-up-example strong{color:#e8e8e6}.follow-up-example s{color:#777c83}
.about-brand-row{display:flex;align-items:center;gap:12px}.about-brand-row>div{display:grid}.about-brand-row small{margin:0}.about-feature-grid{display:grid;gap:0;margin-top:18px;border-top:1px solid var(--ac-line)}.about-feature-grid article{display:grid;grid-template-columns:30px 1fr;gap:10px;padding:15px 0;border-bottom:1px solid var(--ac-line)}.about-feature-grid article>span{color:var(--ac-red);font-size:0.5625rem}.about-feature-grid strong{font-size:0.75rem}.about-feature-grid p{margin:4px 0 0}.about-note{display:flex;gap:10px;margin-top:16px;padding:13px;background:#101215}.about-note span{color:var(--ac-red)}.about-note p{margin:0}.about-links{display:flex;gap:14px;margin-top:18px;color:#aeb1b6;font-size:0.625rem}
.home-plans-balance,.home-plans-status,.home-plans-footnote{margin-top:14px;color:#777c83;font-size:0.625rem}.home-plans-grid{display:grid;gap:8px;margin-top:18px}.home-plans-loading{padding:16px;background:#111316;color:#777c83}.home-info-logo{width:48px;height:48px}.home-info-links,.home-info-card nav{display:flex;gap:14px;margin-top:16px;color:#9da1a7;font-size:0.625rem}

/* Profile editor */
.profile-editor-screen{position:fixed;z-index:1200;inset:0;display:grid;grid-template-columns:minmax(280px,.78fr) minmax(520px,1.22fr);background:#050607;opacity:0;visibility:hidden;transition:.18s ease}.profile-editor-screen.active{opacity:1;visibility:visible}.profile-editor-visual{position:relative;padding:clamp(50px,8vw,100px);display:flex;flex-direction:column;justify-content:flex-end;border-right:1px solid var(--ac-line);overflow:hidden;background:#08090b}.profile-editor-visual::before{content:"";position:absolute;width:34rem;height:34rem;border:1px solid rgba(93,29,30,.13);border-radius:50%;left:50%;top:15%;transform:translate(-50%,-50%)}.profile-editor-visual::after{content:"";position:absolute;width:19rem;height:19rem;border-radius:50%;background:radial-gradient(circle at 35% 35%,#5D1D1E,#461516 55%,#1a0303 100%);left:50%;top:15%;transform:translate(-50%,-50%);box-shadow:0 30px 100px rgba(93,29,30,.12)}.profile-editor-visual>*{position:relative;z-index:1}.profile-visual-orbits,.profile-visual-mark{display:none}.profile-editor-visual>small{color:var(--ac-red);font-size:0.5625rem;font-weight:760;letter-spacing:.12em;text-transform:uppercase}.profile-editor-visual h2{margin:10px 0 14px;font-size:clamp(2.375rem,4.5vw,3.75rem);line-height:1;letter-spacing:-.055em}.profile-editor-visual>p{max-width:450px;color:#81868e;font-size:0.8125rem;line-height:1.7}.profile-visual-proof{margin-top:20px;display:flex;gap:10px;align-items:flex-start}.profile-visual-proof>span{color:var(--ac-red)}.profile-visual-proof>div{display:grid}.profile-visual-proof strong{font-size:0.6875rem}.profile-visual-proof small{color:#6c7178;font-size:0.5625rem}
.profile-editor-card{height:100svh;overflow:auto;padding:clamp(34px,5vw,68px);background:#0a0c0e}.profile-editor-head{display:flex;justify-content:space-between;gap:20px;padding-bottom:22px;border-bottom:1px solid var(--ac-line)}.profile-editor-head small{color:var(--ac-red);font-size:0.5625rem;font-weight:760;letter-spacing:.12em;text-transform:uppercase}.profile-editor-head h2{margin:6px 0 4px;font-size:2rem;letter-spacing:-.04em}.profile-editor-head p{margin:0;color:#747981;font-size:0.6875rem}.profile-editor-head button{width:38px;height:38px;border-radius:11px;background:#14171a;color:#777c83;font-size:1.25rem}.premium-profile-form{display:grid;gap:0}.profile-form-block{padding:28px 0;border-bottom:1px solid var(--ac-line)}.profile-block-heading{display:grid;grid-template-columns:34px 1fr;gap:12px;margin-bottom:16px}.profile-step{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:var(--ac-red-soft);color:var(--ac-red);font-size:0.5rem;font-weight:760}.profile-block-heading>div{display:grid}.profile-block-heading strong{font-size:0.8125rem}.profile-block-heading small{margin-top:2px;color:#686d74;font-size:0.5625rem}.premium-input-shell{min-height:58px;display:grid;grid-template-columns:36px 1fr;align-items:center;gap:10px;padding:8px 12px;border:1px solid var(--ac-line);border-radius:13px;background:#0e1012}.premium-input-shell:focus-within,.premium-picker-card:focus-within{border-color:rgba(93,29,30,.42)}.premium-field-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:#15181b;color:#777c83}.premium-field-main{display:grid}.premium-field-main label,.premium-picker-card label,.mini-field label{color:#656a72;font-size:0.5rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.premium-field-main input,.premium-picker-card input,.mini-field input{height:30px;padding:0;border:0!important;background:transparent!important;box-shadow:none!important;color:#e6e6e3}.birth-moment-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.premium-picker-card{padding:12px;border:1px solid var(--ac-line);border-radius:13px;background:#0e1012}.picker-card-top{display:flex;gap:9px;align-items:center}.picker-card-top>div{display:grid}.picker-card-top small{color:#5f646b;font-size:0.5rem}.picker-control-row{display:grid;grid-template-columns:1fr 34px;align-items:center;margin-top:8px}.native-picker-trigger{width:32px;height:32px;border-radius:9px;background:#15181b;color:#777c83}.calendar-glyph::before{content:"□"}.clock-glyph::before{content:"◷"}.location-precision{margin-top:10px;border-top:1px solid var(--ac-line)}.location-precision summary{list-style:none;display:grid;grid-template-columns:28px 1fr auto;gap:9px;align-items:center;padding:13px 2px;cursor:pointer}.location-precision summary::-webkit-details-marker{display:none}.location-summary-icon{color:#6d7279}.location-precision summary>div{display:grid}.location-precision summary strong{font-size:0.625rem}.location-precision summary small{color:#5f646b;font-size:0.5rem}.location-summary-chevron{color:#5f646b}.location-detail-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;padding:4px 0 8px}.mini-field{padding:10px;border:1px solid var(--ac-line);border-radius:10px;background:#0e1012}.timezone-input-wrap{display:flex;gap:5px;align-items:center;color:#646970;font-size:0.5625rem}.profile-editor-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-top:28px}.profile-action-copy{display:flex;align-items:center;gap:10px}.action-status-dot{width:7px;height:7px;border-radius:50%;background:var(--ac-red)}.profile-action-copy>div{display:grid}.profile-action-copy strong{font-size:0.625rem}.profile-action-copy small{color:#60656c;font-size:0.5rem}.profile-save{min-height:46px;padding:0 18px;border-radius:12px;background:var(--ac-red);color:#fff;font-weight:700;display:flex;gap:12px;align-items:center}.err{margin-top:14px;color:#B77B7C;font-size:0.625rem}.profile-status-card{margin-top:12px;color:#5e636a;font-size:0.5625rem}

/* Chart evidence */
.chart-details-panel{position:fixed;z-index:1100;right:0;top:0;bottom:0;width:min(680px,94vw);padding:0;background:#090b0d;border-left:1px solid var(--ac-line-strong);box-shadow:-32px 0 80px rgba(0,0,0,.42);overflow:auto;transform:translateX(100%);transition:transform .24s ease}.chart-details-panel.open{transform:none}.chart-sheet-head{position:sticky;z-index:2;top:0;display:flex;justify-content:space-between;gap:20px;padding:26px 28px 22px;border-bottom:1px solid var(--ac-line);background:rgba(9,11,13,.94);backdrop-filter:blur(18px)}.chart-sheet-head small{color:var(--ac-red);font-size:0.5rem;font-weight:760;letter-spacing:.12em;text-transform:uppercase}.chart-sheet-head h2{margin:5px 0 5px;font-size:1.75rem;letter-spacing:-.04em}.chart-sheet-head p{margin:0;max-width:500px;color:#6d7279;font-size:0.625rem;line-height:1.55}.chart-sheet-head button{width:38px;height:38px;border-radius:11px;background:#14171a;color:#777c83;font-size:1.25rem}.chart-evidence-intro{display:flex;justify-content:space-between;gap:15px;padding:16px 28px;color:#858a91;font-size:0.625rem;border-bottom:1px solid var(--ac-line)}.chart-evidence-intro small{color:#5f646b}.chart-accordions{padding:0 28px 34px}.result-accordion{border-bottom:1px solid var(--ac-line)}.result-accordion summary{list-style:none;display:grid;grid-template-columns:30px 1fr auto;gap:11px;align-items:center;padding:18px 0;cursor:pointer}.result-accordion summary::-webkit-details-marker{display:none}.result-accordion summary>span{color:var(--ac-red);font-size:0.5rem}.result-accordion summary>div{display:grid}.result-accordion summary strong{font-size:0.75rem}.result-accordion summary small{color:#60656c;font-size:0.53125rem}.result-accordion summary b{color:#5c6168}.result-accordion[open] summary b{transform:rotate(45deg)}.accordion-body{padding:0 0 20px}.planet-evidence-grid,.cusp-evidence-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.planet-evidence-card,.cusp-evidence-card,.planet-card,.cusp-card{padding:12px;border:1px solid var(--ac-line);border-radius:11px;background:#0e1012}

/* Footer */
.home-footer{display:flex;justify-content:space-between;gap:18px;padding:18px clamp(18px,4vw,44px);border-top:1px solid var(--ac-line);color:#4f545b;font-size:0.5625rem}.home-footer nav{display:flex;gap:14px}.home-footer a:hover{color:#aeb1b6}

/* Share preview */
.consultation-share-modal{position:fixed;z-index:1800;inset:0}.consultation-share-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.75);backdrop-filter:blur(7px)}.consultation-share-panel{position:absolute;inset:5vh max(16px,calc((100vw - 680px)/2));display:grid;grid-template-rows:auto 1fr auto;border:1px solid var(--ac-line-strong);border-radius:18px;background:#0b0d0f;overflow:hidden}.consultation-share-header,.consultation-share-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid var(--ac-line)}.consultation-share-header>div{display:grid}.consultation-share-header small{color:var(--ac-red);font-size:0.5rem;text-transform:uppercase;letter-spacing:.1em}.consultation-share-header strong{font-size:0.75rem}.consultation-share-close{width:34px;height:34px;border-radius:10px;background:#15181c;color:#777c83}.consultation-share-preview{overflow:auto;padding:20px}.consultation-share-preview-card{padding:18px;background:#08090b}.consultation-share-footer{border-top:1px solid var(--ac-line);border-bottom:0;justify-content:flex-end}.consultation-share-secondary,.consultation-share-primary{height:40px;padding:0 14px;border-radius:10px;background:#15181c;color:#a8acb2}.consultation-share-primary{background:var(--ac-red);color:#fff}

/* Credits */
.credit-ambient{position:fixed;z-index:-1;inset:0;background:radial-gradient(circle at 78% 8%,rgba(93,29,30,.08),transparent 30rem),#050607}.credit-ambient span{display:none}.credit-page{max-width:1200px;margin:0 auto;padding:0 30px 36px}.credit-header{height:78px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;border-bottom:1px solid var(--ac-line)}.back-button{justify-self:start;display:flex;align-items:center;gap:8px;background:transparent;color:#868b92;font-size:0.625rem}.credit-brand{display:flex;align-items:center;gap:10px}.brand-orbit{width:30px;height:30px;border-radius:10px;background:var(--ac-red);position:relative}.brand-orbit::after{content:"";position:absolute;width:26px;height:26px;border-radius:50%;background:#050607;left:8px;top:-4px}.credit-brand>span:last-child{display:grid}.credit-brand strong{font-size:0.75rem}.credit-brand small{color:#61666d;font-size:0.5rem}.credit-header-actions{justify-self:end}.checkout-status{display:flex;align-items:center;gap:7px;color:#666b72;font-size:0.5625rem}.checkout-status i{width:6px;height:6px;border-radius:50%;background:var(--ac-green)}
.credit-hero{display:grid;grid-template-columns:1.2fr .8fr;gap:70px;align-items:center;padding:90px 0 70px}.hero-kicker,.section-heading small,.proof-heading small,.faq-intro small{color:var(--ac-red);font-size:0.5625rem;font-weight:760;letter-spacing:.11em;text-transform:uppercase}.hero-kicker span{display:none}.credit-hero h1{margin:13px 0 20px;font-size:clamp(3rem,6vw,4.75rem);line-height:.96;letter-spacing:-.065em}.credit-hero h1 em{font-style:normal;color:#7b8088}.credit-hero-copy>p{max-width:650px;color:#858a92;font-size:0.875rem;line-height:1.7}.hero-trust-row{display:flex;flex-wrap:wrap;gap:14px;margin-top:24px;color:#676c73;font-size:0.5625rem}.hero-trust-row i{color:var(--ac-red);font-style:normal}.balance-orb{padding:28px;border-top:2px solid var(--ac-red);background:#0b0d0f}.balance-orbit{display:none}.balance-orb small{color:#6f747c;font-size:0.5625rem;text-transform:uppercase;letter-spacing:.1em}.balance-orb strong{display:block;margin:7px 0;font-size:1.9375rem;letter-spacing:-.04em}.balance-orb p{margin:0;color:#6f747c;font-size:0.625rem;line-height:1.65}.message{margin-bottom:20px;color:#8a8f96;font-size:0.625rem}.packs-section{padding:42px 0;border-top:1px solid var(--ac-line)}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:18px}.section-heading h2,.proof-heading h2,.faq-intro h2{margin:5px 0 0;font-size:1.875rem;letter-spacing:-.04em}.section-heading>span{color:#656a71;font-size:0.5625rem}.pack-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:24px}.pack-card,.credit-pack{padding:20px;border:1px solid var(--ac-line);border-radius:14px;background:#0b0d0f}.pack-card:hover,.credit-pack:hover{border-color:rgba(93,29,30,.34)}.loading{grid-column:1/-1;padding:30px;background:#0b0d0f;color:#6d7279;font-size:0.625rem}.purchase-proof{padding:50px 0;border-top:1px solid var(--ac-line)}.proof-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin-top:24px;border-top:1px solid var(--ac-line)}.proof-grid article{display:grid;grid-template-columns:32px 1fr;gap:10px;padding:18px 18px 18px 0;border-bottom:1px solid var(--ac-line)}.proof-grid article>span{color:var(--ac-red);font-size:0.5625rem}.proof-grid strong{font-size:0.6875rem}.proof-grid p{margin:4px 0 0;color:#6f747c;font-size:0.5625rem;line-height:1.55}.faq-section{display:grid;grid-template-columns:.55fr 1fr;gap:70px;padding:50px 0;border-top:1px solid var(--ac-line)}.faq-intro p{color:#6f747c;font-size:0.625rem}.faq-list details{border-bottom:1px solid var(--ac-line)}.faq-list summary{list-style:none;display:flex;justify-content:space-between;align-items:center;padding:16px 0;cursor:pointer}.faq-list summary::-webkit-details-marker{display:none}.faq-list summary span{font-size:0.6875rem}.faq-list summary i{font-style:normal;color:#686d74}.faq-list p{margin:0 0 16px;color:#6f747c;font-size:0.625rem;line-height:1.65}.credit-footer{display:flex;justify-content:center;gap:13px;padding-top:24px;border-top:1px solid var(--ac-line);color:#545960;font-size:0.5rem}.credit-footer i{width:3px;height:3px;border-radius:50%;background:var(--ac-red);align-self:center}

/* Legal */
.legal-page{max-width:900px;margin:0 auto;padding:0 28px 48px}.legal-header{height:74px;display:flex;align-items:center;border-bottom:1px solid var(--ac-line)}.legal-header a{color:#7c8188;font-size:0.625rem}.legal-hero{padding:78px 0 48px;border-bottom:1px solid var(--ac-line)}.legal-hero small{color:var(--ac-red);font-size:0.5625rem;font-weight:760;letter-spacing:.11em;text-transform:uppercase}.legal-hero h1{margin:10px 0 12px;font-size:clamp(3rem,7vw,4.5rem);letter-spacing:-.06em}.legal-hero p{max-width:620px;margin:0;color:#7f848b;font-size:0.875rem;line-height:1.65}.legal-content section{display:grid;grid-template-columns:210px 1fr;gap:30px;padding:28px 0;border-bottom:1px solid var(--ac-line)}.legal-content h2{margin:0;font-size:0.8125rem}.legal-content p{margin:0;color:#81868d;font-size:0.6875rem;line-height:1.75}.legal-footer{display:flex;justify-content:space-between;gap:20px;padding-top:24px;color:#555a61;font-size:0.5rem}

@keyframes acSpin{to{transform:rotate(360deg)}}@keyframes acMenuLineDrift{0%,100%{transform:translateX(0)}50%{transform:translateX(6px)}}
@keyframes acOrbit{to{transform:rotate(360deg)}}
@keyframes acFloat{to{transform:translate3d(5rem,3rem,0) scale(1.12)}}
@keyframes acPulse{50%{box-shadow:0 0 0 11px rgba(93,29,30,0)}}

/* Responsive */
@media(max-width:980px){
  .app-frame{grid-template-columns:1fr}.command-rail{display:none}.conversation-stage{max-width:880px}.home-footer{display:flex;padding:6px 14px;min-height:30px;align-items:center;font-size:.5rem;flex:0 0 auto}.home-footer nav{gap:9px}
  .profile-editor-screen{grid-template-columns:1fr}.profile-editor-visual{display:none}.profile-editor-card{padding:32px clamp(20px,6vw,54px)}
  .credit-hero{grid-template-columns:1fr;gap:32px}.balance-orb{max-width:560px}.faq-section{grid-template-columns:1fr;gap:24px}
}
@media(max-width:720px){
  body{font-size:.9375rem}
  .auth-orbix-content{padding:52px 22px}.auth-app-icon{width:62px;height:62px;border-radius:18px}.auth-orbix-content h1{font-size:3.0625rem}.auth-orbix-content>p{font-size:0.875rem}.landing-auth-footer{display:grid;text-align:center;justify-items:center;padding:16px}.landing-auth-footer nav{gap:14px}
  .home-appbar{height:62px;padding:8px 14px}.home-profile-picker{width:min(56vw,220px);height:38px}.home-profile-picker strong{font-size:.8125rem}.home-round-button{width:38px;height:38px}.home-avatar-button{border-radius:11px}
  .conversation-stage{height:100%;min-height:0;padding:0 14px}
  body.chat-empty .home-guidance-hero{padding:clamp(16px,3.4vh,30px) 0 8px}.guidance-orb-wrap{width:48px;height:48px;margin-bottom:10px}.guidance-title{font-size:2rem;max-width:340px}.guidance-greeting{font-size:.75rem}
  .orbix-home-empty{padding:0;max-width:430px}.orbix-home-planet-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:1px;width:100%;max-height:284px}.orbix-home-planet{grid-template-columns:24px minmax(0,1fr);gap:7px;min-height:68px;padding:8px 6px}.orbix-home-planet-glyph{width:23px;height:23px;font-size:.8125rem}.orbix-home-planet-copy strong{font-size:.75rem}.orbix-home-planet-copy small{font-size:.625rem}.orbix-home-planet-copy em{font-size:.5625rem}
  .astro-chat-log{padding:12px 9px 18px 0;overflow:auto}.chat-empty .astro-chat-log{padding:0;overflow:hidden}.chat-scroll-indicator{top:12px;bottom:18px;right:0}.composer-zone{position:relative;left:auto;right:auto;bottom:auto;padding:8px 0 max(10px,env(safe-area-inset-bottom));background:linear-gradient(180deg,rgba(5,6,7,0),#050607 34%)}.composer-shell{min-height:70px;padding:7px 7px 6px 15px;border-radius:17px;grid-template-columns:minmax(0,1fr) 46px;grid-template-rows:minmax(32px,auto) 17px}.composer-send{width:44px;height:44px}.composer-shell textarea{font-size:.875rem}.orbix-composer-actions{font-size:.6875rem}.astro-status{display:none}
  .consultation-card{margin:8px auto 24px}.consultation-card::before{left:0}.consultation-card-head{min-height:36px;padding:0}.consultation-sequence{font-size:0.53125rem;letter-spacing:.08em}.consultation-sequence b{display:none}.consultation-question{grid-template-columns:36px 1fr;gap:11px;padding:17px 0 12px 14px}.consultation-avatar,.consultation-assistant-mark{width:34px;height:34px;border-radius:10px}.consultation-question-copy p{font-size:1.5rem}.consultation-answer{grid-template-columns:36px 1fr;gap:11px;padding:13px 0 14px 14px}.consultation-answer-label{height:34px}.consultation-answer-content{font-size:var(--chat-answer-size,0.96875rem);line-height:1.75}.chat-consultation-verdict{margin:23px 0 20px;padding:17px 17px;font-size:1.0625rem}.chat-timing-grid{grid-template-columns:1fr}.consultation-complete-bar{margin-left:61px;display:grid;gap:10px}.consultation-complete-bar .consultation-actions{width:100%}.consultation-complete-bar .consultation-actions button{width:100%}.consultation-share-reading{width:34px;padding:0}.consultation-action .share-glyph{margin:auto}.consultation-answer-loading{padding:20px 0 8px}
  .app-drawer{width:min(300px,78vw)}.drawer-brandbar{height:64px;padding:0 16px}.drawer-context{margin:0 16px}.drawer-primary-action{margin-left:16px;margin-right:16px;width:calc(100% - 32px)}.drawer-accordion-stack{margin-left:16px;margin-right:16px}.drawer-utility-row{margin-left:16px;margin-right:16px}
  .decision-modal,.about-app-modal,.home-plans-card,.home-info-card{padding:24px 20px}.decision-modal h2,.home-plans-card h2,.about-app-modal h2,.home-info-card h2{font-size:1.5625rem}
  .profile-editor-card{padding:20px 16px 34px}.profile-editor-head h2{font-size:1.6875rem}.birth-moment-grid,.location-detail-grid{grid-template-columns:1fr}.profile-editor-actions{display:grid}.profile-action-copy{display:none}.profile-save{width:100%;justify-content:center}
  .chart-details-panel{width:100vw}.chart-sheet-head{padding:20px 18px 16px}.chart-accordions{padding:0 18px 26px}.chart-evidence-intro{padding:13px 18px}.planet-evidence-grid,.cusp-evidence-grid{grid-template-columns:1fr}
  .consultation-share-panel{inset:14px}.consultation-share-preview{padding:12px}
  .credit-page{padding:0 18px 28px}.credit-header{grid-template-columns:1fr auto}.credit-header-actions{display:none}.credit-brand{justify-self:end}.back-button span{display:none}.credit-hero{padding:56px 0 42px}.credit-hero h1{font-size:3rem}.hero-trust-row{display:grid;gap:7px}.pack-grid,.proof-grid{grid-template-columns:1fr}.section-heading{display:grid}.faq-section{padding:38px 0}.credit-footer{display:none}
  .legal-page{padding:0 18px 34px}.legal-hero{padding:52px 0 34px}.legal-hero h1{font-size:3.125rem}.legal-content section{grid-template-columns:1fr;gap:9px;padding:22px 0}.legal-footer{display:grid}
}
@media(max-width:390px){
  .home-appbar{padding-left:10px;padding-right:10px}.conversation-stage{padding:0 10px}.guidance-title{font-size:1.85rem}.orbix-home-planet-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.composer-zone{padding-left:0;padding-right:0}.composer-shell{padding-left:13px}
}

/* Global interface text sizing: the three A controls now scale the complete v42 UI typography. */
html{font-size:16px}
html[data-chat-font="small"]{font-size:14.5px;--chat-answer-size:.91rem}
html[data-chat-font="medium"]{font-size:16px;--chat-answer-size:1rem}
html[data-chat-font="large"]{font-size:17.5px;--chat-answer-size:1.125rem}

/* Keep the empty/home workspace within the viewport. Long consultation answers still scroll inside the reading area. */
body.chat-empty .conversation-stage{overflow:hidden}
body.chat-empty .astro-chat-log{min-height:0}
@media(max-height:760px) and (max-width:720px){
  body.chat-empty .home-guidance-hero{padding:10px 0 5px}
  .guidance-orb-wrap{width:40px;height:40px;margin-bottom:6px}
  .guidance-title{font-size:1.72rem}.guidance-greeting{margin-bottom:3px}
  .orbix-home-planet-grid{max-height:238px}.orbix-home-planet{min-height:56px;padding:6px 5px}
  .orbix-home-planet-copy em{display:none}
  .composer-zone{padding-top:5px}.composer-shell{min-height:64px}
}


/* Mobile visual-viewport contract: the header remains visible, the composer stays above the keyboard, and the compact footer remains below it. */
body.app-authenticated{overflow:hidden;overscroll-behavior:none}
body.keyboard-open .home-appbar{position:sticky;top:0;z-index:300}
body.keyboard-open .home-guidance-hero,body.keyboard-open .orbix-home-intro{display:none!important}
body.keyboard-open .astro-chat-log{min-height:0;overflow:auto}
body.keyboard-open.chat-empty .astro-chat-log{display:flex;align-items:center;overflow:hidden}
body.keyboard-open.chat-empty .orbix-home-empty{width:100%;height:auto;min-height:0;padding:0}
body.keyboard-open.chat-empty .orbix-home-planet-grid{max-height:190px;min-height:0}
body.keyboard-open .composer-zone{padding-top:5px;padding-bottom:5px;background:#050607}
body.keyboard-open .home-footer{display:flex!important;padding-top:4px;padding-bottom:4px;min-height:26px}
@media(max-width:720px){
  .home-profile-picker{width:min(50vw,190px);padding-left:18px;padding-right:18px}
  .profile-picker-popover{left:50%;right:auto;transform:translateX(-50%);width:min(286px,78vw);max-width:82vw}
  .app-drawer{width:min(300px,78vw)}
  .drawer-context,.drawer-accordion-stack,.drawer-utility-row{margin-left:14px;margin-right:14px}
  .drawer-primary-action{margin-left:14px;margin-right:14px;width:calc(100% - 28px)}
  .home-footer{justify-content:center;flex-wrap:wrap;column-gap:10px;row-gap:1px}
}
@media(max-width:390px){
  .home-profile-picker{width:min(48vw,176px)}
  .app-drawer{width:min(286px,78vw)}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.001ms!important}}

/* Core-component neutralization: legacy utility components now inherit the signal-red system. */
:root{--bg:var(--ac-bg);--panel:var(--ac-panel);--panel-2:var(--ac-panel-2);--panel-3:var(--ac-panel-3);--text:var(--ac-text);--text-2:var(--ac-text-soft);--muted:var(--ac-muted);--faint:var(--ac-faint);--line:var(--ac-line);--line-strong:var(--ac-line-strong);--violet:var(--ac-red);--violet-2:#5D1D1E;--cyan:#a9adb4;--gold:#c9c6bd;--green:var(--ac-green);--red:#5D1D1E;--shadow:var(--ac-shadow);--font:var(--ac-font)}
input,textarea,select{border-color:var(--ac-line)!important;background:#0e1012!important;color:var(--ac-text)!important}
input:focus,textarea:focus,select:focus{border-color:rgba(93,29,30,.44)!important;background:#111316!important;box-shadow:0 0 0 3px rgba(93,29,30,.055)!important}
input::placeholder,textarea::placeholder{color:#636870!important}.place-spinner{border-top-color:var(--ac-red)!important}.autocomplete-list{background:#0b0d0f!important;border-color:var(--ac-line-strong)!important}.autocomplete-item:hover{background:var(--ac-red-soft)!important}.house-badge{background:#111316!important;border-color:var(--ac-line)!important;color:#c4c7cb!important}.engine-meta{background:#0e1012!important;color:#747981!important}.tbl-wrap,.all-sig-table-wrap{background:#0b0d0f!important;border-color:var(--ac-line)!important}th{background:#101215!important;color:#777c83!important}.csl-badge-good{color:#8ccda6!important}.csl-badge-danger{color:#B77B7C!important}.csl-badge-warn{color:#c8c2b4!important}

/* Chart cards */
.planet-evidence-card header,.cusp-evidence-card header{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center}.planet-evidence-card header>div,.cusp-evidence-card header>div{display:grid}.planet-evidence-card header strong,.cusp-evidence-card header strong{font-size:0.6875rem}.planet-evidence-card header small,.cusp-evidence-card header small{color:#666b72;font-size:0.5rem}.planet-glyph,.cusp-number{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:#15181b;color:var(--ac-red);font-size:0.8125rem}.planet-degree{color:#858a91;font-size:0.5rem}.planet-evidence-card .evidence-row,.cusp-evidence-card .evidence-row{display:flex;justify-content:space-between;gap:10px;padding-top:8px;margin-top:8px;border-top:1px solid var(--ac-line);color:#777c83;font-size:0.53125rem}.planet-token{display:inline-flex;align-items:center;gap:4px;color:#92969d;font-size:0.5rem}.planet-token i{font-style:normal;color:var(--ac-red)}.dasha-item,.dasha-row{background:#0e1012!important;border-color:var(--ac-line)!important;border-radius:10px!important}.dasha-progress{height:2px;background:#191c20}.dasha-progress i{display:block;height:100%;background:var(--ac-red)}

/* Credit-pack markup generated by credits.js */
.pack{position:relative;padding:22px;border:1px solid var(--ac-line);border-radius:14px;background:#0b0d0f;overflow:hidden}.pack::before{content:"";position:absolute;left:0;right:0;top:0;height:2px;background:#2b2f34}.pack.featured::before,.pack.selected-from-home::before{background:var(--ac-red)}.pack.featured{border-color:rgba(93,29,30,.28)}.pack .badge{display:inline-flex;margin-bottom:14px;padding:5px 8px;border-radius:7px;background:var(--ac-red-soft);color:var(--ac-red);font-size:0.46875rem;font-weight:780;letter-spacing:.09em;text-transform:uppercase}.pack-title{font-size:0.875rem;font-weight:720}.pack-sub{min-height:35px;margin-top:5px;color:#676c73;font-size:0.5625rem;line-height:1.5}.pack-main{margin-top:22px;padding-top:16px;border-top:1px solid var(--ac-line)}.credits{display:grid;color:#777c83;font-size:0.5625rem}.credits strong{color:#f0f0ed;font-size:2.125rem;line-height:1;letter-spacing:-.045em}.credits span{margin-top:4px;color:#676c73}.price-row{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-top:17px}.price{font-size:1.375rem;font-weight:720}.unit-price{color:#656a71;font-size:0.5rem;text-align:right}.pack-proof{display:grid;gap:5px;margin-top:17px;color:#61666d;font-size:0.5rem}.pack-proof span::before{content:"✓";margin-right:6px;color:var(--ac-red)}.buy{width:100%;height:42px;margin-top:20px;border-radius:11px;background:#171a1e;color:#d5d7da;font-size:0.5625rem;font-weight:720}.pack.featured .buy,.pack.selected-from-home .buy{background:var(--ac-red);color:#fff}.buy:hover{background:var(--ac-red);color:#fff}.message.show{padding:12px 14px;border-left:2px solid var(--ac-red);background:#0d0f11}.message.success{border-left-color:var(--ac-green);color:#9dcdb0}.message.error{color:#B77B7C}

/* Toast */
.ui-toast{position:fixed;z-index:2200;left:50%;bottom:88px;max-width:min(90vw,420px);transform:translate(-50%,18px);padding:10px 13px;border:1px solid var(--ac-line-strong);border-radius:10px;background:#111316;color:#c5c8cc;font-size:0.5625rem;opacity:0;pointer-events:none;box-shadow:var(--ac-shadow-hard);transition:.18s ease}.ui-toast.show{opacity:1;transform:translate(-50%,0)}

.home-avatar-button img{border-radius:8px!important}

/* Evidence and timing structures formerly supplied by legacy theme files. */
.evidence-fact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin-top:12px;background:var(--ac-line)}.evidence-fact-grid>div{min-width:0;padding:10px;background:#0e1012;display:grid;gap:3px}.evidence-fact-grid>div>span{color:#5f646b;font-size:0.46875rem;font-weight:720;letter-spacing:.07em;text-transform:uppercase}.evidence-fact-grid>div>b{color:#bfc2c6;font-size:0.5625rem;overflow:hidden;text-overflow:ellipsis}.evidence-fact-grid>div>small{color:#5f646b;font-size:0.46875rem}.evidence-fact-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.planet-evidence-card footer{display:flex;flex-wrap:wrap;gap:5px;margin-top:10px}.planet-evidence-card footer span{padding:4px 6px;border:1px solid var(--ac-line);border-radius:6px;color:#666b72;font-size:0.46875rem}.planet-evidence-card[data-planet="mars"] .planet-glyph,.planet-evidence-card[data-planet="ketu"] .planet-glyph{color:var(--ac-red)}
.dasha-timeline-head{display:flex;justify-content:space-between;gap:12px;margin:4px 0 12px;color:#777c83;font-size:0.5625rem}.dasha-timeline-head small{color:#595e65}.dasha-list{display:grid;gap:9px!important}.dasha-item{padding:0!important;overflow:hidden}.dasha-item.active{border-color:rgba(93,29,30,.22)!important}.dasha-head,.bhukti-head{width:100%;display:grid;grid-template-columns:34px 1fr auto auto;gap:10px;align-items:center;padding:12px;background:transparent;color:#b7babf;text-align:left}.dasha-lord-orb{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:#15181b;color:var(--ac-red);font-size:0.9375rem}.dasha-primary,.bhukti-copy{display:grid}.dasha-primary small,.bhukti-copy small,.antara-range small{color:#5b6067;font-size:0.4375rem;font-weight:730;letter-spacing:.08em;text-transform:uppercase}.dasha-primary>span,.bhukti-copy>span{color:#62676e;font-size:0.5rem}.now-badge{display:inline-flex;align-items:center;min-height:22px;padding:0 7px;border-radius:7px;background:var(--ac-red-soft);color:var(--ac-red);font-size:0.4375rem;font-weight:760}.arrow{color:#555a61;font-size:0.6875rem}.dasha-body{border-top:1px solid var(--ac-line);display:none}.dasha-item.open>.dasha-body,.dasha-item.active>.dasha-body{display:block}.bhukti-list{display:grid}.bhukti-item{border-bottom:1px solid var(--ac-line)}.bhukti-item:last-child{border-bottom:0}.bhukti-head{grid-template-columns:1fr 1.4fr auto auto;padding:10px 12px}.bhukti-lord{font-size:0.5625rem}.bhukti-body{display:none;padding:0 12px 10px}.bhukti-item.open .bhukti-body,.bhukti-item.bhukti-active .bhukti-body{display:block}.antara-list{display:grid}.antara-row{display:grid;grid-template-columns:8px 1fr 1.3fr auto;gap:8px;align-items:center;min-height:34px;border-top:1px solid rgba(255,255,255,.045);color:#888d94}.antara-node{width:5px;height:5px;border-radius:50%;background:#34383e}.antara-row.antara-active .antara-node{background:var(--ac-red);box-shadow:0 0 0 4px rgba(93,29,30,.07)}.antara-lord{font-size:0.53125rem}.antara-range{display:grid;color:#70757c;font-size:0.5rem}.dasha-empty{padding:14px;color:#666b72;font-size:0.5625rem;text-align:center}
.horary-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;background:var(--ac-line);margin-top:12px}.horary-cell{padding:10px;background:#0e1012}.horary-label{color:#5f646b;font-size:0.4375rem;font-weight:720;letter-spacing:.07em;text-transform:uppercase}.horary-value{margin-top:4px;color:#aeb1b6;font-size:0.53125rem;line-height:1.45}.mini{color:#656a71!important;font-size:0.53125rem!important}.tag.good{color:#8ccda6!important}.tag.warn{color:#c8c2b4!important}.chat-timing-current{display:inline-flex;margin-top:7px;padding:3px 6px;border-radius:6px;background:var(--ac-red-soft);color:var(--ac-red);font-size:0.4375rem}.chat-timing-footnote{margin-top:9px;color:#5d6269;font-size:0.5rem}.credits-glyph{font-size:1.125rem;color:#8b9097}.credit-gem{color:var(--ac-red)}
@media(max-width:720px){.evidence-fact-grid,.evidence-fact-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.horary-grid{grid-template-columns:1fr 1fr}.dasha-head{grid-template-columns:32px 1fr auto}.dasha-head>.arrow{display:none}.bhukti-head{grid-template-columns:1fr 1.3fr auto}.bhukti-head>.arrow{display:none}.antara-row{grid-template-columns:8px 1fr 1.2fr auto}}
:root{--flow-accent-strong:var(--ac-red);--flow-accent:var(--ac-red);--flow-accent-2:#5D1D1E}
.home-plans-balance{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;border:1px solid var(--ac-line);border-radius:11px;background:#0f1114}.home-plans-balance span{color:#62676e;font-size:0.5rem;text-transform:uppercase;letter-spacing:.08em}.home-plans-balance strong{font-size:0.625rem;color:#c7c9cd}.home-plans-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.home-plan{position:relative;padding:16px;border:1px solid var(--ac-line);border-radius:12px;background:#0f1114}.home-plan.featured{border-color:rgba(93,29,30,.30)}.home-plan.featured::before{content:"";position:absolute;left:0;right:0;top:0;height:2px;background:var(--ac-red)}.home-plan-top{display:grid;gap:5px}.home-plan-top span{color:var(--ac-red);font-size:0.4375rem;font-weight:760;letter-spacing:.08em;text-transform:uppercase}.home-plan-top strong{font-size:0.6875rem}.home-plan-price{margin-top:14px;font-size:1.5625rem;font-weight:730;letter-spacing:-.04em}.home-plan p{margin:5px 0 14px!important;color:#676c73!important;font-size:0.53125rem!important}.razorpay-buy-button{width:100%;height:38px;border-radius:9px;background:var(--ac-red);display:grid;place-items:center}.razorpay-wordmark{max-width:86px;max-height:18px;object-fit:contain}.home-plans-status.success{color:#8fc7a7}.home-plans-status.error,.home-plans-loading.error{color:#B77B7C}
@media(max-width:720px){.home-plans-grid{grid-template-columns:1fr}}

/* ==========================================================================\n   AstroChat v44 · Redline refinement\n   One coherent UI layer: white-crescent identity, sticky masthead, refined\n   drawer separation, branded Razorpay checkout and animated composer border.\n   ========================================================================== */

/* Shared white crescent identity */
.white-crescent-mark,
.kp-logo-mark::before,
.drawer-brandmark::before{
  width:22px;
  height:22px;
  border-radius:50%;
  background:#f7f7f4!important;
  box-shadow:none!important;
}
.white-crescent-mark{position:relative;display:inline-block;flex:0 0 auto}
.white-crescent-mark::after,
.kp-logo-mark::after,
.drawer-brandmark::after{
  content:"";
  position:absolute;
  width:20px;
  height:20px;
  border-radius:50%;
  background:#08090b!important;
  left:7px;
  top:-4px;
  transform:none!important;
}
.kp-logo-mark,.drawer-brandmark{background:transparent!important;border-color:transparent!important;overflow:visible!important}
.developer-link{color:inherit;text-decoration:none;font-weight:inherit}
.developer-link:hover{color:#f2f2ef;text-decoration:underline;text-decoration-color:var(--ac-red);text-underline-offset:3px}

/* Sticky masthead + visible product identity */
.home-appbar{
  position:sticky;
  top:0;
  z-index:400;
  overflow:visible;
  border-bottom:0;
  background:rgba(5,6,7,.965);
  box-shadow:0 10px 30px rgba(0,0,0,.22);
}
.home-appbar::after{
  content:"";
  position:absolute;
  z-index:5;
  left:0;
  right:0;
  bottom:-1px;
  height:1px;
  background:linear-gradient(90deg,transparent 0%,rgba(93,29,30,.2) 13%,rgba(93,29,30,.95) 50%,rgba(93,29,30,.2) 87%,transparent 100%);
  box-shadow:0 0 10px rgba(93,29,30,.34),0 0 22px rgba(93,29,30,.12);
  pointer-events:none;
}
.home-left-cluster{display:flex;align-items:center;gap:8px;min-width:0;z-index:7}
.home-menu-button{margin-right:0;flex:0 0 auto}
.home-brand-lockup{display:flex;align-items:center;gap:7px;white-space:nowrap;color:#f2f2ef;pointer-events:none}
.home-brand-lockup strong{font-size:.8125rem;font-weight:730;letter-spacing:-.025em}
.home-brand-moon{width:17px;height:17px}
.home-brand-moon::after{width:16px;height:16px;left:5px;top:-3px;background:#050607!important}

/* Selected chart is the visual anchor, precisely centred independently of left/right controls. */
.home-profile-picker{left:50%;right:auto;transform:translateX(-50%);z-index:8;width:min(35vw,270px);padding:0 20px}
.home-profile-picker::after{left:8px;right:8px;background:linear-gradient(90deg,transparent,rgba(93,29,30,.95) 20%,rgba(93,29,30,.95) 80%,transparent);box-shadow:0 0 8px rgba(93,29,30,.18)}
.home-profile-picker strong{
  display:block;
  color:#f4f4f1;
  font-size:1.0625rem;
  font-weight:760;
  letter-spacing:-.025em;
  text-decoration-line:underline;
  text-decoration-color:var(--ac-red);
  text-decoration-thickness:1.5px;
  text-underline-offset:7px;
}
.home-profile-picker strong::first-letter{color:var(--ac-red)}
.home-profile-chevron{right:2px;color:#757a82}
/* Expanded list stays neutral: active chart is shown by an underline, not a red fill. */
.profile-option.active{background:transparent!important;box-shadow:none!important}
.profile-option.active .profile-option-copy strong{color:#f0f0ed;text-decoration-color:#d4d6d9;text-decoration-thickness:1px;text-underline-offset:5px}
.profile-option.active .profile-option-state{color:#777c83}

/* Drawer needs a visible edge against the workspace without looking boxed-in. */
.app-drawer{
  border-right:1px solid rgba(220,224,230,.20)!important;
  box-shadow:1px 0 0 rgba(255,255,255,.025),20px 0 60px rgba(0,0,0,.42)!important;
}
.drawer-brandbar{border-bottom-color:rgba(220,224,230,.10)}

/* Assistant identity is a white crescent; red is reserved for status and evidence. */
.consultation-assistant-mark{background:#0c0e10}
.assistant-eclipse{background:#f7f7f4;filter:drop-shadow(0 0 7px rgba(255,255,255,.05))}
.assistant-eclipse::after{background:#0c0e10}

/* Composer: a low-key red signal continuously travels around the glass perimeter. */
@property --ac-composer-angle{
  syntax:'<angle>';
  inherits:false;
  initial-value:0deg;
}
.composer-shell{isolation:isolate;border-color:rgba(255,255,255,.09);box-shadow:0 16px 48px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.025)}
.composer-shell::before{
  content:"";
  position:absolute;
  z-index:0;
  inset:-1px;
  border-radius:inherit;
  padding:1px;
  background:conic-gradient(from var(--ac-composer-angle),transparent 0 68%,rgba(93,29,30,.08) 73%,rgba(93,29,30,.6) 78%,#5D1D1E 81%,rgba(93,29,30,.35) 85%,transparent 91%);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  animation:acComposerBorderRun 3.4s linear infinite;
  pointer-events:none;
}
.composer-shell > *{position:relative;z-index:1}
.composer-shell::after{
  content:"";
  position:absolute;
  z-index:-2;
  inset:-5px;
  border-radius:calc(18px + 5px);
  background:radial-gradient(ellipse at 50% 100%,rgba(93,29,30,.08),transparent 58%);
  opacity:.6;
  pointer-events:none;
}
.composer-shell:focus-within{border-color:rgba(93,29,30,.18);box-shadow:0 18px 60px rgba(0,0,0,.44),0 0 18px rgba(93,29,30,.06)}
.composer-shell:focus-within::before{filter:drop-shadow(0 0 4px rgba(93,29,30,.38))}
@keyframes acComposerBorderRun{to{--ac-composer-angle:360deg}}

/* Footer: desktop stays restrained; mobile deliberately becomes a two-line legal strip. */
.home-footer-credit{white-space:nowrap}
.home-footer nav a{white-space:nowrap}
.home-footer .developer-link{color:#737880}

/* Credit / payment surfaces: AstroChat stays monochrome-red; checkout stays recognisably Razorpay. */
.credit-brand-moon{width:24px;height:24px}
.credit-brand-moon::after{width:22px;height:22px;left:8px;top:-4px;background:#050607!important}
.credit-header{border-bottom-color:rgba(255,255,255,.085)}
.credit-brand strong{font-size:.8125rem}
.credit-brand small{font-size:.5625rem}
.balance-orb{border-top-color:rgba(93,29,30,.9);background:linear-gradient(180deg,#0c0e10,#090b0d)}
.pack{background:linear-gradient(180deg,#0b0d0f,#080a0c);border-color:rgba(255,255,255,.075)}
.buy.razorpay-buy{
  display:grid;
  grid-template-columns:auto minmax(80px,1fr) auto;
  align-items:center;
  gap:9px;
  height:48px;
  padding:0 14px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:11px;
  background:#2b45ed!important;
  color:#fff!important;
  box-shadow:0 9px 22px rgba(43,69,237,.20),inset 0 1px 0 rgba(255,255,255,.16);
  text-align:left;
}
.buy.razorpay-buy:hover{background:#3450ff!important;transform:translateY(-1px)}
.razorpay-buy-label{font-size:.5rem;font-weight:650;color:rgba(255,255,255,.82);white-space:nowrap}
.razorpay-buy img{display:block;width:92px;max-height:22px;object-fit:contain;object-position:left center}
.razorpay-buy-price{justify-self:end;font-size:.6875rem;font-weight:760;color:#fff}
.pack.featured .buy.razorpay-buy,.pack.selected-from-home .buy.razorpay-buy{background:#2b45ed!important}

/* Legal pages now carry the same white crescent identity. */
.legal-header{justify-content:space-between;gap:18px}
.legal-brand{display:flex;align-items:center;gap:10px;color:#f1f1ef!important}
.legal-brand>span:last-child{display:grid}
.legal-brand strong{font-size:.8125rem;font-weight:730;letter-spacing:-.02em}
.legal-brand small{margin-top:1px;color:#676c73;font-size:.5rem;text-transform:uppercase;letter-spacing:.09em}
.legal-brand-moon{width:22px;height:22px}
.legal-brand-moon::after{width:20px;height:20px;left:7px;top:-4px;background:#050607!important}
.legal-back{color:#767b82!important;font-size:.5625rem!important}
.legal-footer a{color:inherit}.legal-footer a:hover{color:#c7c9cd}
.auth-app-icon{display:grid!important;place-items:center!important}
.auth-brand-moon{width:36px;height:36px}
.auth-brand-moon::after{width:33px;height:33px;left:12px;top:-7px;background:#0c0e10!important}

@media(max-width:720px){
  .home-appbar{height:66px;flex-basis:66px;padding:8px 11px}
  .home-left-cluster{gap:5px}
  .home-round-button{width:32px;height:38px}
  .home-menu-button{gap:3.5px;padding-left:0;padding-right:0}
  .home-menu-button span:nth-child(1){width:17px}.home-menu-button span:nth-child(2){width:12px}.home-menu-button span:nth-child(3){width:19px}
  .home-brand-lockup{gap:5px}
  .home-brand-lockup strong{font-size:.6875rem;letter-spacing:-.02em}
  .home-brand-moon{width:14px;height:14px}
  .home-brand-moon::after{width:13px;height:13px;left:4px;top:-2px}
  .home-profile-picker{width:min(31vw,130px);height:40px;padding:0 13px}
  .home-profile-picker strong{font-size:.9375rem;text-underline-offset:6px}
  .home-profile-chevron{right:-1px;font-size:.625rem}
  .home-avatar-button{width:38px;height:38px}

  .home-footer{
    display:flex!important;
    flex:0 0 auto;
    min-height:58px;
    padding:8px 12px max(8px,env(safe-area-inset-bottom));
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:5px;
    border-top:1px solid rgba(255,255,255,.075);
    font-size:.5625rem;
    line-height:1.15;
    text-align:center;
  }
  .home-footer-credit{width:100%;white-space:nowrap}
  .home-footer nav{display:flex;justify-content:center;gap:18px;width:100%}
  .home-footer .developer-link{color:#a6a9ae;font-weight:720}
  body.keyboard-open .home-footer{min-height:58px!important;padding:7px 10px max(7px,env(safe-area-inset-bottom))!important;gap:4px}
  body.keyboard-open .home-appbar{height:66px;flex-basis:66px}

  .app-drawer{border-right-color:rgba(230,233,238,.24)!important}
  .composer-zone{padding-bottom:7px}
  .composer-shell::after{inset:-3px}
  .buy.razorpay-buy{grid-template-columns:auto 1fr auto;height:46px}
  .razorpay-buy img{width:84px}
  .legal-header{height:68px}
  .legal-back{font-size:.5rem!important}
}

@media(max-width:430px){
  .home-brand-lockup strong{font-size:.625rem}
  .home-profile-picker{width:116px}
  .home-profile-picker strong{font-size:.875rem}
  .profile-picker-popover{width:min(286px,82vw)}
  .home-footer{min-height:60px}
}

@media(max-width:360px){
  .home-brand-lockup strong{display:none}
  .home-profile-picker{width:112px}
}

@media(prefers-reduced-motion:reduce){.composer-shell::before{animation:none;background:rgba(93,29,30,.32)}}

/* AstroChat v45 — desktop navigation parity with mobile.
   Desktop no longer reserves a permanent left command rail; the workspace drawer
   opens only when the three-line header control (or avatar) is clicked.
   Scoped to desktop only so the approved mobile layout remains untouched. */
@media (min-width:981px){
  .app-frame{
    grid-template-columns:minmax(0,1fr);
  }
  .command-rail{
    display:none!important;
  }
  .app-drawer-overlay{
    z-index:1200;
  }
  .app-drawer{
    width:min(340px,28vw);
    max-width:340px;
  }
}


/* ==========================================================================\n   AstroChat v46 · Mobile masthead & account refinement\n   Focused interaction polish: stronger mobile brand, neutral selected-chart\n   underline, lowered drawer content and a dedicated account/sign-out popover.\n   ========================================================================== */

/* The selected chart remains the masthead anchor, but its underline is now
   neutral white. Red stays reserved for the initial character and status. */
.home-profile-picker::after{
  background:linear-gradient(90deg,transparent 0%,rgba(255,255,255,.16) 8%,rgba(245,246,247,.88) 26%,rgba(245,246,247,.88) 74%,rgba(255,255,255,.16) 92%,transparent 100%)!important;
  box-shadow:0 0 8px rgba(255,255,255,.08)!important;
}
.home-profile-picker strong{
  text-decoration-color:#f4f4f1!important;
}

/* Account avatar opens its own compact account surface rather than the
   workspace drawer. */
.home-account-popover{
  position:absolute;
  z-index:520;
  top:calc(100% + 10px);
  right:clamp(18px,4vw,44px);
  width:min(286px,calc(100vw - 28px));
  padding:8px;
  border:1px solid rgba(232,234,238,.13);
  border-radius:16px;
  background:rgba(8,9,11,.985);
  box-shadow:0 24px 70px rgba(0,0,0,.58),inset 0 1px 0 rgba(255,255,255,.035);
  backdrop-filter:blur(22px) saturate(135%);
  -webkit-backdrop-filter:blur(22px) saturate(135%);
  transform-origin:top right;
  animation:acAccountMenuIn .16s ease-out;
}
.home-account-popover[hidden]{display:none!important}
.home-account-popover::before{
  content:"";
  position:absolute;
  right:17px;
  top:-5px;
  width:9px;
  height:9px;
  border-left:1px solid rgba(232,234,238,.13);
  border-top:1px solid rgba(232,234,238,.13);
  background:#08090b;
  transform:rotate(45deg);
}
.home-account-identity{
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  gap:11px;
  align-items:center;
  padding:10px 10px 11px;
}
.home-account-avatar{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.11);
  border-radius:11px;
  background:#0e1013;
  color:#d7d9dc;
  font-size:.75rem;
  font-weight:780;
}
.home-account-avatar img{width:100%;height:100%;object-fit:cover;display:none}
.home-account-avatar.has-photo img{display:block}
.home-account-avatar.has-photo .home-account-avatar-fallback{display:none}
.home-account-copy{min-width:0;display:grid;gap:1px}
.home-account-copy small{
  color:#777c84;
  font-size:.5625rem;
  font-weight:720;
  letter-spacing:.095em;
  text-transform:uppercase;
}
.home-account-copy strong{
  margin-top:2px;
  overflow:hidden;
  color:#f0f1ef;
  font-size:.875rem;
  font-weight:760;
  letter-spacing:-.018em;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.home-account-copy em{
  overflow:hidden;
  color:#71767d;
  font-size:.6875rem;
  font-style:normal;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.home-account-signout{
  width:100%;
  min-height:48px;
  display:grid;
  grid-template-columns:32px minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  padding:8px 10px;
  border:0;
  border-top:1px solid rgba(255,255,255,.075);
  border-radius:0 0 10px 10px;
  background:transparent;
  color:#d5d7da;
  text-align:left;
}
.home-account-signout:hover,.home-account-signout:focus-visible{background:rgba(93,29,30,.055)}
.home-account-signout-icon{
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:rgba(93,29,30,.08);
  color:#5D1D1E;
  font-size:.875rem;
}
.home-account-signout-copy{display:grid;gap:1px}
.home-account-signout-copy strong{color:#ececea;font-size:.8125rem;font-weight:700}
.home-account-signout-copy small{color:#6f747b;font-size:.625rem}
.home-account-signout-arrow{color:#8a8f96;font-size:.875rem}
.home-avatar-button.account-open{border-color:rgba(255,255,255,.18);box-shadow:0 0 0 3px rgba(255,255,255,.025)}
@keyframes acAccountMenuIn{from{opacity:0;transform:translateY(-5px) scale(.985)}to{opacity:1;transform:none}}

@media(max-width:720px){
  /* Stronger product identity without disturbing the mathematically centred
     profile selector. */
  .home-left-cluster{gap:6px}
  .home-brand-lockup{gap:6px}
  .home-brand-lockup strong{
    display:block!important;
    color:#f5f5f2;
    font-size:.875rem!important;
    font-weight:800;
    letter-spacing:-.03em;
  }
  .home-brand-moon{width:18px;height:18px}
  .home-brand-moon::after{width:17px;height:17px;left:6px;top:-3px}

  /* Give the drawer hierarchy breathing room below its brand bar. */
  .drawer-brandbar{height:72px;padding:2px 16px 0}
  .drawer-context{padding-top:14px}

  .home-account-popover{
    top:calc(100% + 8px);
    right:10px;
    width:min(278px,calc(100vw - 20px));
    border-radius:15px;
  }
}

@media(max-width:430px){
  .home-brand-lockup strong{font-size:.8125rem!important}
  .home-brand-moon{width:17px;height:17px}
  .home-brand-moon::after{width:16px;height:16px;left:5px;top:-3px}
}

@media(max-width:360px){
  .home-brand-lockup strong{display:block!important;font-size:.75rem!important}
  .home-brand-moon{width:16px;height:16px}
  .home-brand-moon::after{width:15px;height:15px;left:5px;top:-2px}
  .home-profile-picker{width:104px}
}

@media(prefers-reduced-motion:reduce){.home-account-popover{animation:none}}

/* ==========================================================================\n   Astro Chat · Page 02 Authentication / Privacy Controls\n   Telemetry-black reskin only. No application, auth or calculation behaviour.\n   ========================================================================== */
.auth-screen{
  position:fixed;
  z-index:8000;
  inset:0;
  display:grid;
  place-items:stretch;
  background:#000;
  color:#f7f7f7;
}
.auth-terminal-page{
  width:min(100%,480px);
  min-height:100dvh;
  margin:0 auto;
  padding:max(24px,env(safe-area-inset-top)) 22px max(24px,env(safe-area-inset-bottom));
  display:grid;
  grid-template-rows:auto 1fr auto;
  background:#000;
}
.auth-terminal-header{
  height:28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.auth-terminal-brand{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#f7f7f7;
  font-size:.6875rem;
  line-height:1;
  font-weight:760;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.auth-terminal-brand strong{
  color:#5D1D1E;
  font:inherit;
}
.auth-secure-label{
  color:#777b82;
  font-size:.5rem;
  font-weight:650;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.auth-terminal-main{
  align-self:start;
  padding-top:78px;
}
.auth-terminal-copy{
  max-width:365px;
}
.auth-terminal-kicker{
  margin-bottom:12px;
  color:#5D1D1E;
  font-size:.59375rem;
  line-height:1.2;
  font-weight:820;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.auth-terminal-copy h1{
  margin:0;
  max-width:360px;
  color:#f7f7f7;
  font-size:clamp(2.75rem,12vw,3.5rem);
  line-height:.92;
  font-weight:740;
  letter-spacing:-.072em;
}
.auth-terminal-copy p{
  max-width:360px;
  margin:18px 0 0;
  color:#969aa0;
  font-size:.6875rem;
  line-height:1.55;
  letter-spacing:-.008em;
}
.auth-google-zone{
  width:min(100%,360px);
  margin-top:58px;
}
.auth-access-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:9px;
  color:#6f7379;
  font-size:.46875rem;
  line-height:1;
  font-weight:760;
  letter-spacing:.15em;
  text-transform:uppercase;
}
.auth-access-meta span:last-child{color:#8a8e94}
.auth-google-rail{
  position:relative;
  min-height:58px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:8px 0;
  border-top:1px solid #26292d;
  border-bottom:1px solid #26292d;
}
.auth-google-rail::before{
  content:"";
  position:absolute;
  left:0;
  top:-1px;
  width:42px;
  height:1px;
  background:#5D1D1E;
}
.google-button-wrap{
  width:100%;
  min-height:40px;
  margin:0;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:visible;
}
.google-signin-mode-hint{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}
.google-ios-fallback{
  width:100%;
  min-height:48px;
  margin-top:12px;
  padding:0 16px;
  border:1px solid #34383d;
  border-radius:3px;
  background:#0b0c0e;
  color:#f2f2f2;
  font-size:.625rem;
  font-weight:700;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.google-ios-fallback:hover{border-color:#5a5f66;background:#111316}
.auth-error{
  display:none;
  max-width:100%;
  margin-top:14px;
  padding-left:11px;
  border-left:2px solid #5D1D1E;
  color:#B77B7C;
  font-size:.625rem;
  line-height:1.55;
}
.auth-privacy-footer{
  align-self:end;
  padding-top:30px;
}
.auth-privacy-footer p{
  margin:0;
  max-width:390px;
  color:#777b82;
  font-size:.59375rem;
  line-height:1.6;
}
.auth-privacy-footer a{
  color:#eceeef;
  white-space:nowrap;
}
.auth-privacy-footer a:hover{color:#5D1D1E}

/* Privacy controls page */
.privacy-controls-page{
  width:min(100%,980px);
  margin:0 auto;
  padding:0 28px 52px;
  color:#f4f4f4;
}
.privacy-controls-header{
  min-height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  border-bottom:1px solid #22252a;
}
.privacy-controls-brand{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:#f5f5f5;
  font-size:.6875rem;
  font-weight:760;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.privacy-controls-brand strong{color:#5D1D1E;font:inherit}
.privacy-controls-back{
  color:#858990;
  font-size:.5625rem;
  font-weight:660;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.privacy-controls-back:hover{color:#fff}
.privacy-controls-hero{
  padding:76px 0 48px;
  border-bottom:1px solid #22252a;
}
.privacy-controls-kicker{
  color:#5D1D1E;
  font-size:.5625rem;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.privacy-controls-hero h1{
  max-width:690px;
  margin:12px 0 16px;
  font-size:clamp(3rem,8vw,5.75rem);
  line-height:.9;
  letter-spacing:-.07em;
}
.privacy-controls-hero p{
  max-width:620px;
  margin:0;
  color:#858a91;
  font-size:.8125rem;
  line-height:1.65;
}
.privacy-scope-strip{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  margin-top:32px;
  border-top:1px solid #22252a;
  border-bottom:1px solid #22252a;
}
.privacy-scope-strip span{
  min-width:0;
  padding:14px 12px 14px 0;
  color:#666b72;
  font-size:.5rem;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.privacy-scope-strip span+span{padding-left:14px;border-left:1px solid #22252a}
.privacy-scope-strip b{display:block;margin-top:4px;color:#f0f0f0;font-size:.625rem;letter-spacing:0}
.privacy-control-list{display:grid}
.privacy-control-row{
  display:grid;
  grid-template-columns:76px 210px 1fr;
  gap:24px;
  padding:28px 0;
  border-bottom:1px solid #22252a;
}
.privacy-control-index{
  color:#5D1D1E;
  font-size:.5625rem;
  font-weight:800;
  letter-spacing:.12em;
}
.privacy-control-row h2{
  margin:0;
  font-size:.8125rem;
  line-height:1.3;
}
.privacy-control-row p{
  margin:0;
  max-width:590px;
  color:#81868d;
  font-size:.6875rem;
  line-height:1.75;
}
.privacy-action-panel{
  display:grid;
  grid-template-columns:1fr auto;
  gap:30px;
  align-items:end;
  padding:34px 0;
  border-bottom:1px solid #22252a;
}
.privacy-action-panel small{
  display:block;
  margin-bottom:7px;
  color:#5D1D1E;
  font-size:.5rem;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.privacy-action-panel strong{display:block;font-size:1.125rem}
.privacy-action-panel p{max-width:620px;margin:8px 0 0;color:#777c83;font-size:.625rem;line-height:1.65}
.privacy-return-button{
  min-height:44px;
  padding:0 18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #3b3f45;
  border-radius:3px;
  color:#fff;
  font-size:.5625rem;
  font-weight:720;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.privacy-return-button:hover{border-color:#5D1D1E;color:#5D1D1E}
.privacy-controls-footer{
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding-top:22px;
  color:#555a61;
  font-size:.5rem;
}
.privacy-controls-footer nav{display:flex;gap:14px}.privacy-controls-footer a:hover{color:#fff}



/* Desktop authentication composition — preserve the mobile reference while
   scaling the same instrumentation language for wide browser viewports. */
@media(min-width:721px){
  .auth-terminal-page{
    width:100%;
    max-width:none;
    min-height:100dvh;
    margin:0;
    padding:34px clamp(42px,7.2vw,118px) 36px;
  }
  .auth-terminal-header{
    width:100%;
    height:32px;
  }
  .auth-terminal-brand{
    gap:8px;
    font-size:.75rem;
    letter-spacing:.15em;
  }
  .auth-secure-label{
    font-size:.5625rem;
    letter-spacing:.18em;
  }
  .auth-terminal-main{
    width:min(100%,560px);
    margin:0 auto;
    padding-top:clamp(82px,11.5vh,132px);
  }
  .auth-terminal-copy{
    max-width:520px;
  }
  .auth-terminal-kicker{
    margin-bottom:16px;
    font-size:.6875rem;
    letter-spacing:.145em;
  }
  .auth-terminal-copy h1{
    max-width:520px;
    font-size:4.15rem;
    line-height:.9;
    letter-spacing:-.074em;
  }
  .auth-terminal-copy p{
    max-width:500px;
    margin-top:22px;
    font-size:.8125rem;
    line-height:1.62;
  }
  .auth-google-zone{
    width:360px;
    max-width:100%;
    margin-top:58px;
  }
  .google-button-wrap{
    width:100%;
    max-width:100%;
    min-height:40px;
    justify-content:center;
  }
  .auth-privacy-footer{
    width:min(100%,560px);
    margin:0 auto;
    padding-top:30px;
  }
  .auth-privacy-footer p{
    max-width:520px;
    font-size:.6875rem;
    line-height:1.6;
  }
}

@media(max-width:720px){
  .auth-terminal-page{width:100%;padding:max(26px,env(safe-area-inset-top)) 22px max(24px,env(safe-area-inset-bottom))}
  .auth-terminal-main{padding-top:76px}
  .auth-terminal-copy h1{font-size:2.75rem}
  .auth-google-zone{width:100%;max-width:360px;margin-top:58px}
  .auth-access-meta{font-size:.4375rem;letter-spacing:.13em}
  .privacy-controls-page{padding:0 22px 36px}
  .privacy-controls-header{min-height:68px}
  .privacy-controls-hero{padding:58px 0 36px}
  .privacy-controls-hero h1{font-size:3.25rem}
  .privacy-scope-strip{grid-template-columns:1fr 1fr}
  .privacy-scope-strip span:nth-child(3){border-left:0;border-top:1px solid #22252a;padding-left:0}
  .privacy-scope-strip span:nth-child(4){border-top:1px solid #22252a}
  .privacy-control-row{grid-template-columns:46px 1fr;gap:12px 16px;padding:23px 0}
  .privacy-control-row p{grid-column:2}
  .privacy-action-panel{grid-template-columns:1fr;align-items:start}
  .privacy-return-button{width:100%}
  .privacy-controls-footer{display:grid}
}

@media(max-height:700px){
  .auth-terminal-main{padding-top:46px}
  .auth-google-zone{margin-top:38px}
  .auth-privacy-footer{padding-top:18px}
}

/* ──────────────────────────────────────────────────────────────
   Page 03 · Birth-time certainty gate + natal engine telemetry
   UI-only flow. Existing birth-profile fields are intentionally untouched.
   ────────────────────────────────────────────────────────────── */
body.birth-time-confirming,
body.birth-time-rectification,
body.natal-engine-active{overflow:hidden!important}

.birth-time-confirm-overlay{
  position:fixed;z-index:1550;inset:0;display:grid;place-items:center;
  padding:max(22px,env(safe-area-inset-top)) 22px max(22px,env(safe-area-inset-bottom));
  background:rgba(0,0,0,.92);backdrop-filter:blur(10px);
  opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s ease,visibility .18s ease;
}
.birth-time-confirm-overlay.active{opacity:1;visibility:visible;pointer-events:auto}
.birth-time-confirm-panel{
  width:min(100%,580px);background:#000;color:#fff;border:1px solid #23262b;
  padding:24px 24px 20px;box-shadow:0 28px 90px rgba(0,0,0,.72);
}
.birth-time-confirm-header{display:flex;align-items:center;justify-content:space-between;gap:18px;font-size:.625rem;font-weight:800;letter-spacing:.16em;line-height:1;text-transform:uppercase}
.birth-time-confirm-header span{color:#f7f7f7}.birth-time-confirm-header b{color:var(--ac-red);font-weight:850}.birth-time-confirm-header small{color:#7b7f86;font-size:.5rem;font-weight:750;letter-spacing:.18em}
.birth-time-confirm-rule{height:1px;background:#1c1f24;margin:24px 0 38px;position:relative}.birth-time-confirm-rule i{display:block;width:76px;height:2px;background:var(--ac-red);position:absolute;left:0;top:-1px}
.birth-time-confirm-copy>small{display:block;color:var(--ac-red);font-size:.625rem;font-weight:850;letter-spacing:.16em;text-transform:uppercase;margin-bottom:12px}
.birth-time-confirm-copy h2{margin:0;max-width:500px;font-size:clamp(2rem,7vw,3.25rem);line-height:.98;letter-spacing:-.055em;font-weight:760}
.birth-time-confirm-copy p{margin:18px 0 0;max-width:510px;color:#9a9da3;font-size:.8125rem;line-height:1.62}
.birth-time-confirm-readout{margin:34px 0 26px;border-top:1px solid #202328;border-bottom:1px solid #202328;display:grid;grid-template-columns:1fr 1fr}
.birth-time-confirm-readout>div{padding:18px 0}.birth-time-confirm-readout>div+div{border-left:1px solid #202328;padding-left:22px}
.birth-time-confirm-readout small{display:block;color:#686c73;font-size:.5rem;font-weight:760;letter-spacing:.15em;text-transform:uppercase;margin-bottom:7px}
.birth-time-confirm-readout strong{display:block;color:#fff;font-size:1rem;font-weight:760;letter-spacing:.035em}
.birth-time-confirm-actions{display:grid;gap:10px}
.birth-time-confirm-actions button{width:100%;min-height:58px;padding:0 17px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-radius:0;font-size:.6875rem;font-weight:820;letter-spacing:.1em;text-align:left;cursor:pointer;transition:background .14s ease,border-color .14s ease,color .14s ease,transform .14s ease}
.birth-time-confirm-actions button:active{transform:translateY(1px)}
.birth-time-confirm-primary{background:var(--ac-red);color:#fff;border:1px solid var(--ac-red)}
.birth-time-confirm-primary:hover{background:#5D1D1E;border-color:#5D1D1E}
.birth-time-confirm-primary b{font-size:1rem}
.birth-time-confirm-secondary{background:#000;color:#d0d2d6;border:1px solid #30343a}
.birth-time-confirm-secondary:hover{border-color:#666b73;color:#fff}.birth-time-confirm-secondary b{color:#777b82;font-size:.9rem}
.birth-time-confirm-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px;color:#62666d;font-size:.475rem;font-weight:750;letter-spacing:.13em;text-transform:uppercase}.birth-time-confirm-footer small{font:inherit;color:#45494f;text-align:right}


.birth-time-rectification-overlay{
  position:fixed;z-index:1580;inset:0;display:grid;place-items:center;
  padding:max(22px,env(safe-area-inset-top)) 22px max(22px,env(safe-area-inset-bottom));
  background:rgba(0,0,0,.94);backdrop-filter:blur(10px);
  opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s ease,visibility .18s ease;
}
.birth-time-rectification-overlay.active{opacity:1;visibility:visible;pointer-events:auto}
.birth-time-rectification-panel{width:min(100%,580px);background:#000;color:#fff;border:1px solid #23262b;padding:24px 24px 20px;box-shadow:0 28px 90px rgba(0,0,0,.72)}
.birth-time-rectification-header{display:flex;align-items:center;justify-content:space-between;gap:18px;font-size:.625rem;font-weight:800;letter-spacing:.16em;line-height:1;text-transform:uppercase}
.birth-time-rectification-header span{color:#f7f7f7}.birth-time-rectification-header b{color:var(--ac-red);font-weight:850}.birth-time-rectification-header small{color:#7b7f86;font-size:.5rem;font-weight:750;letter-spacing:.18em}
.birth-time-rectification-rule{height:1px;background:#1c1f24;margin:24px 0 38px;position:relative}.birth-time-rectification-rule i{display:block;width:76px;height:2px;background:var(--ac-red);position:absolute;left:0;top:-1px}
.birth-time-rectification-copy>small{display:block;color:var(--ac-red);font-size:.625rem;font-weight:850;letter-spacing:.16em;text-transform:uppercase;margin-bottom:12px}
.birth-time-rectification-copy h2{margin:0;max-width:510px;font-size:clamp(2rem,7vw,3rem);line-height:.99;letter-spacing:-.05em;font-weight:760}
.birth-time-rectification-copy p{margin:18px 0 0;max-width:515px;color:#9a9da3;font-size:.8125rem;line-height:1.62}
.birth-time-whatsapp-cta{margin-top:30px;min-height:76px;padding:0 18px;display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:14px;background:#25d366;color:#06150b;text-decoration:none;border:1px solid #25d366;transition:filter .14s ease,transform .14s ease}
.birth-time-whatsapp-cta:hover{filter:brightness(1.06)}.birth-time-whatsapp-cta:active{transform:translateY(1px)}
.birth-time-whatsapp-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:#fff;color:#25d366}.birth-time-whatsapp-icon svg{width:28px;height:28px;display:block}
.birth-time-whatsapp-copy{display:grid;gap:2px;min-width:0}.birth-time-whatsapp-copy small{font-size:.5rem;font-weight:900;letter-spacing:.15em;color:#0b3b1c}.birth-time-whatsapp-copy strong{font-size:.75rem;font-weight:900;letter-spacing:.08em;color:#041408}.birth-time-whatsapp-copy em{font-size:.625rem;font-style:normal;font-weight:700;letter-spacing:.04em;color:#0b3b1c}.birth-time-whatsapp-cta>b{font-size:1rem;color:#06150b}
.birth-time-rectification-back{width:100%;min-height:54px;margin-top:10px;padding:0 17px;display:flex;align-items:center;justify-content:space-between;gap:14px;background:#000;color:#d0d2d6;border:1px solid #30343a;border-radius:0;font-size:.625rem;font-weight:820;letter-spacing:.1em;cursor:pointer;text-align:left}.birth-time-rectification-back:hover{border-color:#666b73;color:#fff}.birth-time-rectification-back b{color:#777b82;font-size:.9rem}
.birth-time-rectification-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px;color:#62666d;font-size:.475rem;font-weight:750;letter-spacing:.13em;text-transform:uppercase}.birth-time-rectification-footer small{font:inherit;color:#45494f;text-align:right}

.natal-engine-screen{
  position:fixed;z-index:1600;inset:0;background:#000;color:#fff;
  opacity:0;visibility:hidden;pointer-events:none;transition:opacity .16s ease,visibility .16s ease;
}
.natal-engine-screen.active{opacity:1;visibility:visible;pointer-events:auto}
.natal-engine-shell{
  width:min(100%,760px);height:100%;min-height:100dvh;margin:0 auto;
  padding:max(28px,calc(env(safe-area-inset-top) + 16px)) 22px max(22px,calc(env(safe-area-inset-bottom) + 14px));
  display:grid;grid-template-rows:auto 1fr auto;background:#000;
}
.natal-engine-header{display:flex;align-items:center;justify-content:space-between;gap:18px;font-size:.625rem;font-weight:820;letter-spacing:.16em;line-height:1;text-transform:uppercase}
.natal-engine-header span{color:#f6f6f6}.natal-engine-header b{color:var(--ac-red);font-weight:850}.natal-engine-header small{color:#8a8d93;font-size:.5rem;font-weight:760;letter-spacing:.17em}
.natal-engine-header small::before{content:"";display:inline-block;width:5px;height:5px;margin-right:7px;border-radius:50%;background:var(--ac-red);vertical-align:1px;animation:natalPulse 1s ease-in-out infinite}
.natal-engine-screen:not(.active) .natal-engine-header small::before{animation:none}
.natal-engine-main{padding-top:64px;display:flex;flex-direction:column;min-height:0}
.natal-engine-progress>small{display:block;color:#a1a4aa;font-size:.625rem;font-weight:820;letter-spacing:.17em;text-transform:uppercase;margin-bottom:9px}
.natal-engine-percent{display:flex;align-items:baseline;gap:2px;line-height:1}.natal-engine-percent strong{font-size:clamp(4rem,14vw,6.25rem);font-weight:760;letter-spacing:-.07em}.natal-engine-percent span{font-size:clamp(1.5rem,5vw,2.25rem);font-weight:740;letter-spacing:-.05em}
.natal-engine-segments{display:grid;grid-template-columns:repeat(16,minmax(0,1fr));gap:4px;margin-top:16px}
.natal-engine-segments i{height:6px;background:#24272b;transition:background .08s linear,transform .08s linear}.natal-engine-segments i.active{background:var(--ac-red);transform:scaleY(1.08)}
.natal-engine-stages{margin-top:48px;border-top:1px solid #1e2126}
.natal-engine-stage{min-height:74px;padding:14px 0;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid #1e2126}
.natal-engine-stage>div{display:grid;gap:4px;min-width:0}.natal-engine-stage strong{font-size:.625rem;font-weight:760;letter-spacing:.13em;color:#888c93;transition:color .16s ease}.natal-engine-stage small{font-size:.625rem;color:#5f636a;line-height:1.25;transition:color .16s ease}.natal-engine-stage>span{flex:0 0 auto;font-size:.5rem;font-weight:850;letter-spacing:.15em;color:#666a71;transition:color .16s ease}
.natal-engine-stage.running strong{color:#fff}.natal-engine-stage.running small{color:#8c9097}.natal-engine-stage.running>span{color:var(--ac-red)}
.natal-engine-stage.ready strong{color:#9da0a6}.natal-engine-stage.ready small{color:#60646b}.natal-engine-stage.ready>span{color:#f3f3f3}
.natal-engine-complete{margin-top:24px;padding-top:18px;border-top:1px solid #292c31;display:grid;grid-template-columns:1fr auto;align-items:end;gap:22px}
.natal-engine-complete[hidden]{display:none!important}
.natal-engine-complete>div{display:grid;gap:4px}.natal-engine-complete>div>small{color:#70747b;font-size:.5rem;font-weight:780;letter-spacing:.16em}.natal-engine-complete>div>strong{font-size:.9375rem;font-weight:820;letter-spacing:.05em}.natal-engine-complete>div>span{color:#6f737a;font-size:.625rem}
.natal-engine-complete button{min-width:230px;height:54px;padding:0 18px;background:var(--ac-red);color:#fff;border:1px solid var(--ac-red);display:flex;align-items:center;justify-content:space-between;gap:18px;border-radius:0;cursor:pointer;font-size:.625rem;font-weight:850;letter-spacing:.12em;transition:background .14s ease,transform .14s ease}.natal-engine-complete button span{color:#fff!important;font:inherit;letter-spacing:inherit;line-height:1;text-transform:uppercase}.natal-engine-complete button b{color:#fff;font-size:1rem;line-height:1}.natal-engine-complete button:hover{background:#5D1D1E}.natal-engine-complete button:active{transform:translateY(1px)}
.natal-engine-footer{align-self:end;display:flex;align-items:center;justify-content:space-between;gap:18px;padding-top:24px;color:#777b82;font-size:.5rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.natal-engine-footer small{font:inherit;color:#50545a}

@keyframes natalPulse{0%,100%{opacity:.35}50%{opacity:1}}

@media (max-width:620px){
  .birth-time-confirm-overlay{padding:max(14px,env(safe-area-inset-top)) 14px max(14px,env(safe-area-inset-bottom))}
  .birth-time-confirm-panel{padding:20px 18px 18px;border-left:0;border-right:0}
  .birth-time-confirm-rule{margin:20px 0 32px}
  .birth-time-confirm-copy h2{font-size:2.35rem}
  .birth-time-confirm-copy p{font-size:.75rem}
  .birth-time-confirm-readout{margin:28px 0 22px}
  .birth-time-confirm-readout>div{padding:15px 0}.birth-time-confirm-readout>div+div{padding-left:16px}
  .birth-time-confirm-footer{align-items:flex-start}.birth-time-confirm-footer small{max-width:46%}
  .birth-time-rectification-overlay{padding:max(14px,env(safe-area-inset-top)) 14px max(14px,env(safe-area-inset-bottom))}
  .birth-time-rectification-panel{padding:20px 18px 18px;border-left:0;border-right:0}
  .birth-time-rectification-rule{margin:20px 0 32px}
  .birth-time-rectification-copy h2{font-size:2.25rem}.birth-time-rectification-copy p{font-size:.75rem}
  .birth-time-whatsapp-cta{margin-top:26px;min-height:72px;padding:0 15px;grid-template-columns:40px 1fr auto;gap:12px}
  .birth-time-whatsapp-icon{width:40px;height:40px}.birth-time-whatsapp-icon svg{width:27px;height:27px}
  .birth-time-rectification-footer{align-items:flex-start}.birth-time-rectification-footer small{max-width:46%}
  .natal-engine-shell{padding-left:22px;padding-right:22px}
  .natal-engine-main{padding-top:58px}
  .natal-engine-percent strong{font-size:4.75rem}.natal-engine-percent span{font-size:1.8rem}
  .natal-engine-stages{margin-top:42px}
  .natal-engine-stage{min-height:66px}
  .natal-engine-stage strong,.natal-engine-stage small{font-size:.5625rem}.natal-engine-stage>span{font-size:.475rem}
  .natal-engine-complete{grid-template-columns:1fr;align-items:stretch;gap:16px;margin-top:20px}
  .natal-engine-complete button{width:100%;min-width:0}
  .natal-engine-footer{padding-top:18px;font-size:.45rem}
}

@media (max-height:760px){
  .natal-engine-main{padding-top:36px}
  .natal-engine-percent strong{font-size:4rem}.natal-engine-percent span{font-size:1.5rem}
  .natal-engine-segments{margin-top:10px}
  .natal-engine-stages{margin-top:26px}
  .natal-engine-stage{min-height:54px;padding:10px 0}
  .natal-engine-complete{margin-top:14px;padding-top:12px}
  .natal-engine-complete button{height:48px}
  .natal-engine-footer{padding-top:12px}
}

/* ========================================================================== 
   Astro Chat shared Navagraha identity + authentication account-sheet UX
   ========================================================================== */
.astrochat-logo-lockup{display:inline-flex;align-items:center}
.astrochat-brand-mark{display:block;flex:0 0 auto;width:32px;height:32px;object-fit:contain}
.astrochat-brand-word{display:block;color:#f7f7f7}
.auth-terminal-brand.astrochat-logo-lockup{gap:9px;letter-spacing:.13em}
.auth-brand-orbit{width:28px;height:28px}
.rail-brand-orbit{width:38px;height:38px}
.home-brand-orbit{width:22px;height:22px}
.drawer-brand-orbit{width:32px;height:32px}
.about-brand-orbit{width:38px;height:38px}
.credit-brand-orbit{width:30px;height:30px}
.legal-brand-orbit{width:26px;height:26px}
.privacy-brand-orbit{width:28px;height:28px}
.astrochat-info-orbit{object-fit:contain}

.rail-brand{gap:11px}
.rail-brand>span:last-child{display:grid}
.rail-brand strong,.drawer-brandcopy strong,.credit-brand strong,.legal-brand strong{letter-spacing:-.02em}
.home-brand-lockup{gap:7px}
.drawer-brandbar{grid-template-columns:34px 1fr 38px}
.about-brand-row{gap:12px}
.credit-brand{gap:10px}
.legal-brand{gap:10px}
.privacy-controls-brand{gap:9px}
.privacy-controls-brand strong{display:none}

.telemetry-brand{display:inline-flex!important;align-items:center;gap:8px;color:#f7f7f7!important}
.telemetry-brand img{display:block;width:24px;height:24px;object-fit:contain}
.telemetry-brand b{color:#f7f7f7!important;font:inherit!important;font-weight:800!important}

/* The One Tap / FedCM account chooser is allowed to live inside the auth
   composition when the browser supports an in-page Google identity prompt. */
.google-onetap-shell{
  position:relative;
  z-index:4;
  width:100%;
  min-height:0;
  max-height:0;
  margin:0;
  overflow:visible;
  opacity:0;
  transform:translateY(-12px);
  transition:max-height .26s ease,opacity .22s ease,transform .26s ease,margin .26s ease;
}
.google-onetap-shell.is-active{
  max-height:110px;
  margin:0 0 14px;
  opacity:1;
  transform:translateY(0);
}
.google-button-wrap{position:relative;z-index:2}
.google-ios-fallback{position:relative;z-index:2}

@media(max-width:720px){
  .auth-brand-orbit{width:26px;height:26px}
  .home-brand-orbit{width:20px;height:20px}
  .drawer-brand-orbit{width:30px;height:30px}
  .legal-brand-orbit{width:24px;height:24px}
  .credit-brand-orbit{width:27px;height:27px}
  .privacy-brand-orbit{width:25px;height:25px}
  .telemetry-brand img{width:22px;height:22px}
}

/* Google sign-in is intentionally a single Google-owned control. FedCM-capable
   browsers open the native account chooser from this button; no duplicate
   custom/fallback button is rendered underneath it. */
.auth-google-zone .google-button-wrap{
  display:flex;
  width:100%;
  min-height:44px;
  align-items:center;
  justify-content:flex-start;
  margin:0;
  padding:0;
  border:0;
}
.auth-google-zone .google-button-wrap>div,
.auth-google-zone .google-button-wrap iframe{
  max-width:100%!important;
}
.auth-google-zone .google-signin-mode-hint{
  position:static!important;
  width:auto!important;
  height:auto!important;
  margin:11px 0 0!important;
  padding:0!important;
  overflow:visible!important;
  clip:auto!important;
  white-space:normal!important;
  border:0!important;
  color:#73777d;
  font-size:.5625rem;
  line-height:1.5;
  letter-spacing:.01em;
}

@media(max-width:420px){
  .auth-google-zone .google-signin-mode-hint{font-size:.53125rem}
}


/* ========================================================================== 
   Authentication UI refinement · 2026-08-20
   Presentation only: Google auth mechanics and application logic untouched.
   ========================================================================== */
.auth-screen{
  overflow-y:auto;
  overscroll-behavior:contain;
}
.auth-terminal-page{
  overflow:visible;
}
.auth-terminal-header{
  height:48px;
  position:relative;
  z-index:2;
}
.auth-terminal-brand.astrochat-logo-lockup{
  gap:12px;
  font-size:.8125rem;
  font-weight:820;
  letter-spacing:.145em;
}
.auth-brand-orbit{
  width:40px;
  height:40px;
}
.auth-secure-label{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#73777d;
  font-size:.5rem;
  font-weight:760;
  letter-spacing:.17em;
}
.auth-secure-label i{
  width:5px;
  height:5px;
  border-radius:50%;
  background:#5D1D1E;
  box-shadow:0 0 0 3px rgba(93,29,30,.08);
}
.auth-terminal-main{
  width:min(100%,420px);
  align-self:center;
  justify-self:center;
  padding:24px 0 32px;
}
.auth-terminal-copy{
  max-width:420px;
}
.auth-terminal-kicker{
  margin-bottom:15px;
  font-size:.625rem;
  letter-spacing:.17em;
}
.auth-terminal-copy h1{
  max-width:410px;
  font-size:clamp(3rem,12.7vw,3.7rem);
  line-height:.92;
  letter-spacing:-.068em;
}
.auth-terminal-copy p{
  max-width:405px;
  margin-top:20px;
  color:#8d9197;
  font-size:.75rem;
  line-height:1.62;
}
.auth-google-zone{
  width:100%;
  max-width:420px;
  margin-top:46px;
}
.auth-signin-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:10px;
  padding-bottom:9px;
  border-bottom:1px solid rgba(255,255,255,.10);
  color:#a3a6ab;
  font-size:.5rem;
  font-weight:780;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.auth-signin-meta small{
  color:#5f646b;
  font:inherit;
}
.auth-google-zone .google-button-wrap{
  min-height:44px;
  justify-content:center;
}
.auth-google-zone .google-signin-mode-hint{
  margin:10px 0 0!important;
  color:#696e75;
  font-size:.5625rem;
  line-height:1.45;
}
.auth-session-note{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
  margin-top:15px;
  color:#666b72;
  font-size:.5rem;
  line-height:1.3;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.auth-session-note>span:first-child{
  color:#5D1D1E;
  font-size:.4375rem;
}
.auth-session-note b{
  color:#999da3;
  font:inherit;
  font-weight:760;
}
.auth-session-note i{
  color:#3f4349;
  font-style:normal;
}
.auth-data-note{
  margin:17px 0 0;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.065);
  color:#5f646b;
  font-size:.5625rem;
  line-height:1.55;
}
.auth-data-note a{
  color:#b7babf;
  white-space:nowrap;
}
.auth-data-note a:hover{color:#5D1D1E}
.auth-chat-footer{
  position:relative;
  left:50%;
  width:100vw;
  margin-left:-50vw;
  margin-right:-50vw;
  margin-bottom:calc(-24px - env(safe-area-inset-bottom));
  padding-left:22px;
  padding-right:22px;
  background:#030405;
}

@media(min-width:721px){
  .auth-terminal-page{
    padding:32px clamp(42px,7.2vw,118px) 0;
  }
  .auth-terminal-header{
    height:54px;
  }
  .auth-terminal-brand.astrochat-logo-lockup{
    gap:13px;
    font-size:.875rem;
  }
  .auth-brand-orbit{
    width:44px;
    height:44px;
  }
  .auth-terminal-main{
    width:min(100%,520px);
    padding:34px 0 46px;
  }
  .auth-terminal-copy,
  .auth-google-zone{
    max-width:520px;
  }
  .auth-terminal-kicker{
    font-size:.6875rem;
  }
  .auth-terminal-copy h1{
    max-width:520px;
    font-size:4.45rem;
  }
  .auth-terminal-copy p{
    max-width:490px;
    font-size:.8125rem;
  }
  .auth-google-zone{
    width:400px;
    margin-top:48px;
  }
  .auth-chat-footer{
    left:50%;
    width:100vw;
    margin-left:-50vw;
    margin-right:-50vw;
    margin-bottom:0;
    padding-left:clamp(42px,7.2vw,118px);
    padding-right:clamp(42px,7.2vw,118px);
  }
}

@media(max-width:720px){
  .auth-terminal-page{
    padding:max(22px,env(safe-area-inset-top)) 22px max(24px,env(safe-area-inset-bottom));
  }
  .auth-terminal-header{height:44px}
  .auth-terminal-brand.astrochat-logo-lockup{gap:10px;font-size:.75rem}
  .auth-brand-orbit{width:36px;height:36px}
  .auth-secure-label{font-size:.4375rem;letter-spacing:.14em;gap:6px}
  .auth-terminal-main{
    align-self:center;
    padding:18px 0 26px;
  }
  .auth-terminal-copy h1{font-size:clamp(2.9rem,13.2vw,3.45rem)}
  .auth-terminal-copy p{font-size:.71875rem;line-height:1.58}
  .auth-google-zone{margin-top:40px}
  .auth-chat-footer{min-height:62px}
}

@media(max-width:380px){
  .auth-terminal-brand.astrochat-logo-lockup{font-size:.6875rem}
  .auth-brand-orbit{width:32px;height:32px}
  .auth-secure-label{font-size:.40625rem}
  .auth-terminal-copy h1{font-size:2.7rem}
  .auth-terminal-copy p{font-size:.6875rem}
  .auth-google-zone{margin-top:34px}
}

@media(max-height:720px) and (max-width:720px){
  .auth-terminal-main{align-self:start;padding-top:34px}
  .auth-terminal-copy h1{font-size:2.55rem}
  .auth-terminal-copy p{margin-top:14px}
  .auth-google-zone{margin-top:28px}
  .auth-data-note{margin-top:12px;padding-top:11px}
}

/* ========================================================================== 
   Authentication UI polish · 2026-08-20
   Visual/copy refinement only. Auth mechanics and application logic unchanged.
   ========================================================================== */
.auth-terminal-page{
  grid-template-rows:auto minmax(0,1fr) auto;
}
.auth-terminal-header{
  height:56px;
}
.auth-terminal-brand.astrochat-logo-lockup{
  gap:14px;
  font-size:.875rem;
  font-weight:790;
  letter-spacing:.155em;
}
.auth-brand-orbit{
  width:46px;
  height:46px;
}
.auth-secure-label{
  gap:9px;
  color:#676b71;
  font-size:.46875rem;
  font-weight:680;
  letter-spacing:.205em;
}
.auth-secure-label i{
  width:4px;
  height:4px;
  background:#5D1D1E;
  box-shadow:0 0 0 4px rgba(93,29,30,.055);
}
.auth-terminal-main{
  width:min(100%,450px);
  align-self:center;
  padding:34px 0 46px;
}
.auth-terminal-copy{
  max-width:450px;
}
.auth-terminal-kicker{
  margin-bottom:20px;
  color:#5D1D1E;
  font-size:.5625rem;
  font-weight:720;
  letter-spacing:.19em;
}
.auth-terminal-copy h1{
  max-width:445px;
  font-size:clamp(3.25rem,13vw,4rem);
  line-height:.9;
  font-weight:790;
  letter-spacing:-.072em;
}
.auth-terminal-copy p{
  max-width:420px;
  margin-top:26px;
  color:#9a9da2;
  font-size:.8125rem;
  line-height:1.72;
  letter-spacing:-.006em;
}
.auth-google-zone{
  width:100%;
  max-width:420px;
  margin-top:56px;
}
.auth-signin-meta{
  margin-bottom:14px;
  padding-bottom:0;
  border-bottom:0;
  color:#6c7076;
  font-size:.4375rem;
  font-weight:650;
  letter-spacing:.205em;
}
.auth-signin-meta small{
  color:#51555a;
  font-weight:620;
  letter-spacing:.18em;
}
.auth-google-zone .google-button-wrap{
  width:100%;
  min-width:0;
  min-height:56px;
  box-sizing:border-box;
  padding:7px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  border-radius:10px;
  background:#08090a;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}
.auth-google-zone .google-button-wrap>div{
  width:100%!important;
  min-width:0!important;
  max-width:400px!important;
  display:flex!important;
  justify-content:center!important;
}
.auth-google-zone .google-button-wrap iframe{
  max-width:100%!important;
  min-width:0!important;
  display:block!important;
}
.auth-google-zone .google-signin-mode-hint{
  margin:13px 0 0!important;
  color:#7b7f85;
  font-size:.59375rem;
  line-height:1.55;
  letter-spacing:.005em;
}
.auth-session-note{
  gap:8px;
  margin-top:21px;
  color:#5e6268;
  font-size:.4375rem;
  line-height:1.3;
  letter-spacing:.145em;
  text-transform:none;
}
.auth-session-note>span:first-child{
  color:#5D1D1E;
  font-size:.375rem;
  filter:saturate(.9);
}
.auth-session-note b{
  color:#85898f;
  font:inherit;
  font-weight:650;
}
.auth-session-note i{
  color:#393d42;
}
.auth-data-note{
  max-width:410px;
  margin:24px 0 0;
  padding-top:19px;
  border-top:1px solid rgba(255,255,255,.055);
  color:#62666c;
  font-size:.59375rem;
  line-height:1.65;
}
.auth-data-note a{
  color:#a4a8ad;
}
.auth-chat-footer{
  min-height:52px;
  color:#43474c;
  font-size:.5rem;
}
.auth-chat-footer .auth-footer-signature{
  color:#3e4247;
  font-weight:450;
  letter-spacing:.01em;
}
.auth-chat-footer .auth-footer-signature .developer-link{
  color:#61656a;
  font-weight:520;
}
.auth-chat-footer nav a{
  color:#55595e;
}

@media(min-width:721px){
  .auth-terminal-page{
    padding:38px clamp(48px,7.5vw,124px) 0;
  }
  .auth-terminal-header{
    height:62px;
  }
  .auth-terminal-brand.astrochat-logo-lockup{
    gap:15px;
    font-size:.9375rem;
  }
  .auth-brand-orbit{
    width:52px;
    height:52px;
  }
  .auth-secure-label{
    font-size:.5rem;
  }
  .auth-terminal-main{
    width:min(100%,580px);
    padding:44px 0 58px;
  }
  .auth-terminal-copy{
    max-width:580px;
  }
  .auth-terminal-kicker{
    margin-bottom:22px;
    font-size:.625rem;
  }
  .auth-terminal-copy h1{
    max-width:570px;
    font-size:4.85rem;
  }
  .auth-terminal-copy p{
    max-width:515px;
    margin-top:30px;
    font-size:.875rem;
    line-height:1.75;
  }
  .auth-google-zone{
    width:420px;
    max-width:100%;
    margin-top:62px;
  }
  .auth-chat-footer{
    min-height:50px;
  }
}

@media(max-width:720px){
  .auth-terminal-page{
    padding:max(24px,env(safe-area-inset-top)) 24px max(20px,env(safe-area-inset-bottom));
  }
  .auth-terminal-header{
    height:52px;
  }
  .auth-terminal-brand.astrochat-logo-lockup{
    gap:12px;
    font-size:.8125rem;
  }
  .auth-brand-orbit{
    width:42px;
    height:42px;
  }
  .auth-secure-label{
    gap:7px;
    font-size:.40625rem;
    letter-spacing:.18em;
  }
  .auth-terminal-main{
    align-self:center;
    padding:30px 0 38px;
  }
  .auth-terminal-kicker{
    margin-bottom:18px;
    font-size:.53125rem;
  }
  .auth-terminal-copy h1{
    font-size:clamp(3.1rem,14vw,3.75rem);
  }
  .auth-terminal-copy p{
    margin-top:24px;
    font-size:.78125rem;
    line-height:1.68;
  }
  .auth-google-zone{
    margin-top:50px;
  }
  .auth-chat-footer{
    min-height:56px;
    gap:4px;
    font-size:.46875rem;
  }
  .auth-chat-footer nav{
    gap:16px;
  }
}

@media(max-width:390px){
  .auth-terminal-brand.astrochat-logo-lockup{
    gap:10px;
    font-size:.75rem;
  }
  .auth-brand-orbit{
    width:38px;
    height:38px;
  }
  .auth-secure-label{
    font-size:.375rem;
  }
  .auth-terminal-copy h1{
    font-size:2.95rem;
  }
  .auth-terminal-copy p{
    font-size:.75rem;
  }
  .auth-google-zone{
    margin-top:44px;
  }
}

@media(max-height:760px) and (max-width:720px){
  .auth-terminal-main{
    align-self:start;
    padding-top:32px;
  }
  .auth-terminal-kicker{
    margin-bottom:14px;
  }
  .auth-terminal-copy h1{
    font-size:2.85rem;
  }
  .auth-terminal-copy p{
    margin-top:18px;
    line-height:1.58;
  }
  .auth-google-zone{
    margin-top:34px;
  }
  .auth-session-note{
    margin-top:15px;
  }
  .auth-data-note{
    margin-top:16px;
    padding-top:14px;
  }
}

/* Keep the two-line auth headline composed cleanly on phone widths. */
@media(max-width:720px){
  .auth-terminal-copy h1{font-size:clamp(3rem,12.5vw,3.45rem)}
}
@media(max-width:360px){
  .auth-terminal-copy h1{font-size:2.9rem}
}


/* Auth custom Google CTA — Astro Chat owns the responsive button surface;
   Google owns the account chooser that opens after activation. */
.auth-google-zone .astro-google-button{
  appearance:none;
  -webkit-appearance:none;
  width:100%;
  min-width:0;
  height:58px;
  margin:0;
  padding:0 20px;
  box-sizing:border-box;
  display:grid;
  grid-template-columns:34px 1fr 34px;
  align-items:center;
  border:1px solid rgba(255,255,255,.18);
  border-radius:12px;
  background:#121315;
  color:#f7f7f7;
  font:inherit;
  cursor:pointer;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 10px 24px rgba(0,0,0,.18);
  transition:border-color .18s ease,background-color .18s ease,transform .12s ease,opacity .18s ease;
}
.auth-google-zone .astro-google-button:hover{
  background:#17181b;
  border-color:rgba(255,255,255,.28);
}
.auth-google-zone .astro-google-button:active{transform:translateY(1px)}
.auth-google-zone .astro-google-button:focus-visible{
  outline:2px solid rgba(255,255,255,.72);
  outline-offset:3px;
}
.auth-google-zone .astro-google-button:disabled{cursor:wait;opacity:.72;transform:none}
.auth-google-zone .astro-google-button-icon{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:8px;
  background:#fff;
}
.auth-google-zone .astro-google-button-icon svg{width:18px;height:18px;display:block}
.auth-google-zone .astro-google-button-label{
  grid-column:2;
  justify-self:center;
  min-width:0;
  color:#f5f5f5;
  font-size:.8125rem;
  font-weight:650;
  line-height:1;
  letter-spacing:-.01em;
  white-space:nowrap;
}
.auth-google-zone .astro-google-button.is-loading .astro-google-button-label{color:#d3d5d8}
.auth-google-zone .astro-google-button.is-loading::after{
  content:'';
  grid-column:3;
  justify-self:end;
  width:14px;
  height:14px;
  border:1.5px solid rgba(255,255,255,.22);
  border-top-color:#fff;
  border-radius:50%;
  animation:astroGoogleSpin .7s linear infinite;
}
@keyframes astroGoogleSpin{to{transform:rotate(360deg)}}
@media(max-width:720px){
  .auth-google-zone .astro-google-button{height:56px;padding:0 14px;grid-template-columns:32px 1fr 32px;border-radius:10px}
  .auth-google-zone .astro-google-button-icon{width:32px;height:32px;border-radius:7px}
  .auth-google-zone .astro-google-button-label{font-size:.78rem}
}
@media(max-width:360px){
  .auth-google-zone .astro-google-button{padding:0 12px;grid-template-columns:30px 1fr 30px}
  .auth-google-zone .astro-google-button-icon{width:30px;height:30px}
  .auth-google-zone .astro-google-button-label{font-size:.735rem}
}
@media(prefers-reduced-motion:reduce){
  .auth-google-zone .astro-google-button{transition:none}
  .auth-google-zone .astro-google-button.is-loading::after{animation:none}
}

/* ==========================================================================\n   Astro Chat · Chat masthead hierarchy\n   Presentation-only: centered product identity + dedicated active-chart row.\n   ========================================================================== */
.home-appbar{
  flex:0 0 104px!important;
  height:104px!important;
  display:block!important;
  padding:0 clamp(18px,4vw,44px)!important;
}
.home-appbar-main{
  position:relative;
  z-index:10;
  height:60px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr) 42px;
  align-items:center;
}
.home-appbar-main .home-menu-button{
  grid-column:1;
  justify-self:start;
  margin:0;
}
.home-appbar-main .home-avatar-button{
  grid-column:3;
  justify-self:end;
  margin:0;
}
.home-appbar-main .home-brand-lockup{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  z-index:2;
  gap:9px;
  color:#f7f7f4;
}
.home-appbar-main .home-brand-orbit{
  width:30px;
  height:30px;
}
.home-appbar-main .home-brand-lockup strong{
  display:block!important;
  font-size:1rem!important;
  font-weight:820;
  letter-spacing:-.03em;
  line-height:1;
}
.home-profile-row{
  position:relative;
  z-index:9;
  height:43px;
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
  border-top:1px solid rgba(255,255,255,.055);
  padding-top:5px;
}
.home-profile-row .home-profile-picker{
  position:relative!important;
  inset:auto!important;
  left:auto!important;
  right:auto!important;
  top:auto!important;
  bottom:auto!important;
  transform:none!important;
  width:min(280px,72vw)!important;
  height:36px!important;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) 18px;
  align-items:center;
  justify-content:initial;
  gap:9px;
  padding:0 10px 0 13px!important;
  border:1px solid rgba(255,255,255,.10)!important;
  border-radius:11px;
  background:rgba(255,255,255,.025)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}
.home-profile-row .home-profile-picker::after{
  content:"";
  position:absolute;
  left:-1px!important;
  right:auto!important;
  top:9px!important;
  bottom:auto!important;
  width:2px!important;
  height:18px!important;
  transform:none!important;
  border-radius:999px;
  background:var(--ac-red)!important;
  box-shadow:0 0 9px rgba(93,29,30,.28)!important;
}
.home-profile-kicker{
  color:#686d74;
  font-size:.48rem;
  font-weight:760;
  line-height:1;
  letter-spacing:.12em;
  text-transform:uppercase;
  white-space:nowrap;
}
.home-profile-row .home-profile-picker strong{
  min-width:0;
  width:auto;
  color:#f3f3f0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  text-align:left!important;
  font-size:.875rem!important;
  font-weight:760;
  line-height:1;
  letter-spacing:-.02em;
  text-decoration:none!important;
}
.home-profile-row .home-profile-picker strong::first-letter{color:inherit!important}
.home-profile-row .home-profile-chevron{
  position:static!important;
  transform:none!important;
  justify-self:end;
  color:#8b9097;
  font-size:.6875rem;
  line-height:1;
}
.home-profile-row .profile-picker-popover{
  top:calc(100% + 8px)!important;
  left:0!important;
  right:auto!important;
  transform:none!important;
  width:min(300px,calc(100vw - 32px))!important;
  max-width:calc(100vw - 32px)!important;
}
.home-account-popover{
  top:calc(100% + 8px)!important;
}

@media(max-width:720px){
  .home-appbar{
    flex-basis:100px!important;
    height:100px!important;
    padding:0 12px!important;
  }
  .home-appbar-main{
    height:57px;
    grid-template-columns:38px minmax(0,1fr) 38px;
  }
  .home-appbar-main .home-brand-lockup{gap:8px}
  .home-appbar-main .home-brand-orbit{width:28px;height:28px}
  .home-appbar-main .home-brand-lockup strong{font-size:.9375rem!important}
  .home-profile-row{
    height:42px;
    padding-top:4px;
  }
  .home-profile-row .home-profile-picker{
    width:min(236px,74vw)!important;
    height:35px!important;
    grid-template-columns:auto minmax(0,1fr) 16px;
    gap:8px;
    padding-left:12px!important;
    padding-right:9px!important;
  }
  .home-profile-kicker{font-size:.445rem;letter-spacing:.115em}
  .home-profile-row .home-profile-picker strong{font-size:.8125rem!important}
  .home-profile-row .profile-picker-popover{
    width:min(286px,calc(100vw - 24px))!important;
    max-width:calc(100vw - 24px)!important;
  }
  body.chat-empty .home-guidance-hero{padding-top:clamp(10px,2.4vh,20px)}
}

@media(max-width:390px){
  .home-appbar{padding-left:10px!important;padding-right:10px!important}
  .home-appbar-main .home-brand-orbit{width:27px;height:27px}
  .home-appbar-main .home-brand-lockup strong{font-size:.9rem!important}
  .home-profile-row .home-profile-picker{width:min(226px,76vw)!important}
}

@media(max-width:350px){
  .home-appbar-main .home-brand-lockup{gap:6px}
  .home-appbar-main .home-brand-orbit{width:25px;height:25px}
  .home-appbar-main .home-brand-lockup strong{font-size:.84rem!important}
  .home-profile-row .home-profile-picker{width:min(214px,78vw)!important}
  .home-profile-kicker{display:none}
}

/* When the software keyboard is open, keep the brand masthead compact and
   reclaim the chart row for the conversation/composer. */
@media(max-width:720px){
  body.keyboard-open .home-appbar{
    height:57px!important;
    flex-basis:57px!important;
  }
  body.keyboard-open .home-profile-row{display:none!important}
}

/* ==========================================================================\n   Astro Chat · Compact chart selector refinement\n   Presentation-only: selector below masthead rule, borderless compact menu.\n   ========================================================================== */
.home-appbar::after{
  top:60px!important;
  bottom:auto!important;
}
.home-profile-row{
  height:44px!important;
  align-items:center!important;
  padding-top:0!important;
  border-top:0!important;
}
.home-profile-row .home-profile-picker{
  width:auto!important;
  max-width:min(270px,72vw)!important;
  height:38px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:6px!important;
  padding:0 4px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.home-profile-row .home-profile-picker::after{
  display:none!important;
  content:none!important;
}
.home-profile-row .home-profile-picker strong{
  flex:0 1 auto;
  width:auto!important;
  max-width:min(235px,62vw);
  color:#f4f4f1;
  font-size:.875rem!important;
  font-weight:760;
  letter-spacing:-.018em;
  text-align:left!important;
  text-decoration:none!important;
}
.home-profile-row .home-profile-chevron{
  position:static!important;
  flex:0 0 auto;
  transform:none!important;
  margin:1px 0 0 1px;
  color:#858a91;
  font-size:.72rem;
  line-height:1;
  transition:transform .16s ease,color .16s ease;
}
.home-profile-row .home-profile-picker:hover .home-profile-chevron,
.home-profile-row .home-profile-picker:focus-visible .home-profile-chevron{
  color:#d7d9dc;
}
.home-profile-row .home-profile-picker.picker-open .home-profile-chevron{
  transform:rotate(180deg)!important;
  color:var(--ac-red);
}
.home-profile-row .profile-picker-popover{
  top:calc(100% + 2px)!important;
  left:0!important;
  right:auto!important;
  transform:none!important;
  width:min(272px,calc(100vw - 28px))!important;
  max-width:calc(100vw - 28px)!important;
  max-height:none!important;
  padding:5px!important;
  border:0!important;
  border-radius:12px!important;
  background:#0b0d0f!important;
  box-shadow:0 18px 42px rgba(0,0,0,.48)!important;
  overflow:hidden!important;
}
.home-profile-row .profile-picker-popover-head{display:none!important}
.home-profile-row .profile-picker-options{
  display:block!important;
  max-height:156px!important; /* exactly three compact rows */
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-color:#555a61 transparent;
}
.home-profile-row .profile-picker-options::-webkit-scrollbar{width:5px}
.home-profile-row .profile-picker-options::-webkit-scrollbar-track{background:transparent}
.home-profile-row .profile-picker-options::-webkit-scrollbar-thumb{
  background:#4c5158;
  border-radius:999px;
}
.home-profile-row .profile-option{
  min-height:52px!important;
  height:52px!important;
  grid-template-columns:34px minmax(0,1fr) 18px!important;
  gap:10px!important;
  padding:7px 8px!important;
  border:0!important;
  border-radius:9px!important;
  background:transparent!important;
}
.home-profile-row .profile-option + .profile-option{
  border-top:1px solid rgba(255,255,255,.045)!important;
}
.home-profile-row .profile-option:hover,
.home-profile-row .profile-option:focus-visible{
  background:rgba(255,255,255,.035)!important;
}
.home-profile-row .profile-option.active{
  background:rgba(255,255,255,.025)!important;
  box-shadow:none!important;
}
.home-profile-row .profile-option-avatar{
  width:32px!important;
  height:32px!important;
  border-color:rgba(255,255,255,.075)!important;
  background:#0d0f11!important;
}
.home-profile-row .profile-option-copy{
  min-width:0;
  display:block!important;
}
.home-profile-row .profile-option-copy strong{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#d9dbde;
  font-size:.72rem!important;
  font-weight:680;
  text-decoration:none!important;
}
.home-profile-row .profile-option.active .profile-option-copy strong{
  color:#f5f5f2!important;
  text-decoration:none!important;
}
.home-profile-row .profile-option-copy small{display:none!important}
.home-profile-row .profile-option-state{
  color:var(--ac-red)!important;
  font-size:.68rem!important;
  text-align:center;
}
.home-profile-row .profile-option.add-profile .profile-option-copy strong{
  color:#bfc2c6;
}

@media(max-width:720px){
  .home-appbar::after{top:57px!important}
  .home-profile-row{
    height:43px!important;
    padding-left:2px;
  }
  .home-profile-row .home-profile-picker{
    max-width:min(248px,76vw)!important;
    height:37px!important;
  }
  .home-profile-row .home-profile-picker strong{
    max-width:min(215px,65vw);
    font-size:.8125rem!important;
  }
  .home-profile-row .profile-picker-popover{
    width:min(266px,calc(100vw - 24px))!important;
    max-width:calc(100vw - 24px)!important;
  }
}
@media(max-width:350px){
  .home-profile-row .home-profile-picker{max-width:76vw!important}
  .home-profile-row .home-profile-picker strong{max-width:64vw}
}


/* ==========================================================================
   Astro Chat · Reading flow & masthead polish
   Presentation-only refinements: lighter conclusion, tighter completion rhythm,
   stronger centered brand and a premium active-chart selector.
   ========================================================================== */

/* Integrate the closing verdict into the reading instead of presenting it as a
   floating summary card. Keep only a hairline brand cue. */
.chat-consultation-verdict{
  margin:16px 0 12px!important;
  padding:2px 0 2px 15px!important;
  border:0!important;
  border-left:1px solid rgba(93,29,30,.68)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#eceeeb!important;
  font-size:clamp(.96875rem,1.8vw,1.075rem)!important;
  line-height:1.62!important;
  font-weight:610!important;
  letter-spacing:-.018em!important;
}

/* Pull the completion note closer to the answer and keep it as a quiet reading
   state rather than a CTA block. */
.consultation-complete-bar{
  margin:10px 0 2px 76px!important;
  padding:10px 0 4px!important;
  border-top:1px solid rgba(255,255,255,.055)!important;
  display:block!important;
}
.consultation-complete-bar>span{
  display:block;
  color:#5f646b!important;
  font-size:.55rem!important;
  line-height:1.45!important;
}

/* Stronger centered product identity without changing the masthead structure. */
.home-appbar-main .home-brand-lockup{
  gap:11px!important;
}
.home-appbar-main .home-brand-orbit{
  width:38px!important;
  height:38px!important;
}
.home-appbar-main .home-brand-lockup strong{
  font-size:1.15rem!important;
  font-weight:830!important;
  letter-spacing:-.035em!important;
}

/* Premium, borderless active-chart control. The monogram gives the selector a
   visual anchor while keeping the control quiet and compact. */
.home-profile-row .home-profile-picker{
  max-width:min(290px,78vw)!important;
  height:40px!important;
  gap:9px!important;
  padding:0 9px 0 4px!important;
  border:0!important;
  border-radius:999px!important;
  background:linear-gradient(90deg,rgba(255,255,255,.026),rgba(255,255,255,.010) 72%,transparent)!important;
  box-shadow:none!important;
}
.home-profile-monogram{
  flex:0 0 auto;
  width:26px;
  height:26px;
  display:grid;
  place-items:center;
  border:1px solid rgba(93,29,30,.30);
  border-radius:50%;
  background:#0b0d0f;
  color:#d9dbde;
  font-size:.54rem;
  font-weight:760;
  letter-spacing:.02em;
  line-height:1;
  box-shadow:inset 0 0 0 3px rgba(93,29,30,.025);
}
.home-profile-row .home-profile-picker strong{
  max-width:min(220px,58vw)!important;
  color:#f1f2ef!important;
  font-size:.9rem!important;
  font-weight:720!important;
  letter-spacing:-.015em!important;
}
.home-profile-row .home-profile-chevron{
  position:relative!important;
  width:13px!important;
  height:13px!important;
  margin-left:1px!important;
  color:transparent!important;
  font-size:0!important;
  transition:transform .18s ease,opacity .18s ease!important;
  opacity:.68;
}
.home-profile-row .home-profile-chevron::before{
  content:"";
  position:absolute;
  left:3px;
  top:3px;
  width:5px;
  height:5px;
  border-right:1px solid #9a9ea4;
  border-bottom:1px solid #9a9ea4;
  transform:rotate(45deg);
}
.home-profile-row .home-profile-picker:hover .home-profile-chevron,
.home-profile-row .home-profile-picker:focus-visible .home-profile-chevron{
  opacity:1;
}
.home-profile-row .home-profile-picker.picker-open .home-profile-chevron{
  transform:rotate(180deg)!important;
  opacity:1;
}
.home-profile-row .home-profile-picker.picker-open .home-profile-chevron::before{
  border-color:var(--ac-red);
}

@media(max-width:720px){
  .home-appbar-main .home-brand-lockup{gap:9px!important}
  .home-appbar-main .home-brand-orbit{width:34px!important;height:34px!important}
  .home-appbar-main .home-brand-lockup strong{font-size:1.04rem!important}
  .home-profile-row .home-profile-picker{
    max-width:min(265px,80vw)!important;
    height:39px!important;
  }
  .home-profile-monogram{width:25px;height:25px;font-size:.52rem}
  .home-profile-row .home-profile-picker strong{
    max-width:min(205px,60vw)!important;
    font-size:.86rem!important;
  }
  .chat-consultation-verdict{
    margin:14px 0 10px!important;
    padding-left:12px!important;
    font-size:.96875rem!important;
    line-height:1.58!important;
  }
  .consultation-complete-bar{
    margin:8px 0 0 61px!important;
    padding:9px 0 2px!important;
  }
}

@media(max-width:360px){
  .home-appbar-main .home-brand-orbit{width:32px!important;height:32px!important}
  .home-appbar-main .home-brand-lockup strong{font-size:.98rem!important}
  .home-profile-row .home-profile-picker{max-width:82vw!important}
  .home-profile-row .home-profile-picker strong{max-width:58vw!important}
}

/* ========================================================================== 
   Active-profile alignment + private natal-position scan
   Presentation only. The scan cycles raw positions from the already loaded chart;
   it does not expose consultation routing, house tests or judgement rules.
   ========================================================================== */
.home-profile-row .home-profile-picker{
  flex-wrap:nowrap!important;
  white-space:nowrap!important;
  gap:8px!important;
  overflow:visible!important;
}
.home-profile-trigger-main{
  min-width:0;
  height:32px;
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  gap:8px;
  flex:0 1 auto;
  white-space:nowrap;
}
.home-profile-row .home-profile-trigger-main strong{
  min-width:0!important;
  flex:0 1 auto!important;
  display:block!important;
  max-width:min(220px,58vw)!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  line-height:1.08!important;
  align-self:center!important;
}
.home-profile-row .home-profile-chevron{
  position:relative!important;
  inset:auto!important;
  flex:0 0 30px!important;
  width:30px!important;
  height:30px!important;
  margin:0!important;
  align-self:center!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid rgba(255,255,255,.11)!important;
  border-radius:50%!important;
  background:#101214!important;
  box-shadow:0 6px 17px rgba(0,0,0,.46),inset 0 1px 0 rgba(255,255,255,.025)!important;
  opacity:1!important;
  transform:none!important;
  color:transparent!important;
  font-size:0!important;
  transition:border-color .18s ease,background .18s ease,box-shadow .18s ease!important;
}
.home-profile-row .home-profile-chevron::before{
  content:"";
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  width:6px!important;
  height:6px!important;
  border-right:1.5px solid #d2d4d7!important;
  border-bottom:1.5px solid #d2d4d7!important;
  transform:translate(-50%,-67%) rotate(45deg)!important;
  transform-origin:center!important;
  transition:transform .18s ease,border-color .18s ease!important;
}
.home-profile-row .home-profile-picker:hover .home-profile-chevron,
.home-profile-row .home-profile-picker:focus-visible .home-profile-chevron{
  border-color:rgba(93,29,30,.40)!important;
  background:#121416!important;
  box-shadow:0 8px 20px rgba(0,0,0,.50),0 0 0 1px rgba(93,29,30,.045)!important;
}
.home-profile-row .home-profile-picker.picker-open .home-profile-chevron{
  border-color:rgba(93,29,30,.55)!important;
  background:#141214!important;
}
.home-profile-row .home-profile-picker.picker-open .home-profile-chevron::before{
  transform:translate(-50%,-32%) rotate(225deg)!important;
  border-color:var(--ac-red)!important;
}

.chat-analysis-scan{
  position:relative;
  min-width:0;
  margin-top:17px;
  padding-top:12px;
  border-top:1px solid rgba(255,255,255,.065);
  overflow:hidden;
}
.chat-analysis-scan-head{
  min-height:18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  color:#7c8188;
  font-size:.46rem;
  font-weight:780;
  letter-spacing:.145em;
  text-transform:uppercase;
}
.chat-analysis-scan-head>span{color:#8b9096}
.chat-analysis-scan-head em{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#646970;
  font:inherit;
  font-style:normal;
}
.chat-analysis-scan-head em i{
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--ac-red);
  box-shadow:0 0 0 4px rgba(93,29,30,.055);
  animation:acPulse 1.15s ease-in-out infinite;
}
.chat-analysis-reels{
  margin-top:9px;
  border-top:1px solid rgba(255,255,255,.05);
  border-bottom:1px solid rgba(255,255,255,.05);
}
.chat-analysis-reel{
  position:relative;
  min-height:42px;
  display:grid;
  grid-template-columns:112px minmax(82px,.55fr) minmax(0,1fr);
  align-items:center;
  gap:10px;
  padding:6px 14px 6px 0;
  overflow:hidden;
}
.chat-analysis-reel + .chat-analysis-reel{
  border-top:1px solid rgba(255,255,255,.045);
}
.chat-analysis-reel::after{
  content:"";
  position:absolute;
  right:2px;
  top:50%;
  width:3px;
  height:3px;
  border-radius:50%;
  background:rgba(93,29,30,.72);
  transform:translateY(-50%);
  box-shadow:0 0 7px rgba(93,29,30,.22);
}
.chat-analysis-reel small{
  color:#5f646b;
  font-size:.435rem;
  font-weight:770;
  letter-spacing:.12em;
  line-height:1.2;
  white-space:nowrap;
}
.chat-analysis-reel strong{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#f1f2ef;
  font-size:.675rem;
  font-weight:720;
  letter-spacing:-.01em;
  line-height:1.2;
}
.chat-analysis-reel>span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#8b9097;
  font-size:.535rem;
  font-weight:560;
  letter-spacing:.01em;
  line-height:1.25;
}
.chat-analysis-reel.is-ticking strong,
.chat-analysis-reel.is-ticking>span{
  animation:acScanTick .115s ease-out;
}
.chat-analysis-scan-sweep{
  position:relative;
  height:2px;
  margin-top:9px;
  overflow:hidden;
  background:#15181b;
}
.chat-analysis-scan-sweep i{
  position:absolute;
  inset:0 auto 0 0;
  width:26%;
  background:linear-gradient(90deg,transparent,rgba(93,29,30,.98),transparent);
  animation:acNatalSweep 1.05s linear infinite;
}

@keyframes acScanTick{
  0%{opacity:.22;transform:translateY(4px);filter:blur(1.5px)}
  100%{opacity:1;transform:translateY(0);filter:blur(0)}
}
@keyframes acNatalSweep{
  0%{transform:translateX(-110%)}
  100%{transform:translateX(390%)}
}

@media(max-width:720px){
  .home-profile-trigger-main{height:30px;gap:7px}
  .home-profile-row .home-profile-trigger-main strong{
    max-width:min(190px,54vw)!important;
  }
  .home-profile-row .home-profile-chevron{
    flex-basis:29px!important;
    width:29px!important;
    height:29px!important;
  }
  .consultation-answer-loading{padding-top:16px!important}
  .chat-analysis-scan{margin-top:14px;padding-top:10px}
  .chat-analysis-reel{
    min-height:39px;
    grid-template-columns:94px minmax(70px,.5fr) minmax(0,1fr);
    gap:8px;
    padding-right:12px;
  }
  .chat-analysis-reel small{font-size:.405rem}
  .chat-analysis-reel strong{font-size:.63rem}
  .chat-analysis-reel>span{font-size:.505rem}
}

@media(max-width:390px){
  .home-profile-row .home-profile-trigger-main strong{
    max-width:min(165px,48vw)!important;
  }
  .chat-analysis-reel{
    grid-template-columns:88px minmax(66px,.48fr) minmax(0,1fr);
    gap:7px;
  }
}

@media(prefers-reduced-motion:reduce){
  .chat-analysis-reel.is-ticking strong,
  .chat-analysis-reel.is-ticking>span,
  .chat-analysis-scan-sweep i,
  .chat-analysis-scan-head em i{
    animation:none!important;
  }
}

/* ========================================================================== 
   Astro Chat · Premium navigation + private reading archive
   UI/UX only: refined masthead spacing, compact reading rhythm, premium drawer,
   and profile-scoped chat history. Existing black / white / red language retained.
   ========================================================================== */

/* Give the active chart control a deliberate gap beneath the masthead red rule,
   while reclaiming the same space from the reading below. */
.home-profile-row{
  height:44px!important;
  padding-top:6px!important;
  align-items:flex-start!important;
}
.home-profile-row .home-profile-picker{
  height:36px!important;
}
body:not(.chat-empty) .astro-chat-log{
  padding-top:4px!important;
}
body:not(.chat-empty) .consultation-card{
  margin-top:0!important;
}
body:not(.chat-empty) .consultation-card-head{
  min-height:27px!important;
}
body:not(.chat-empty) .consultation-question{
  padding-top:9px!important;
}

/* Drawer hierarchy: quieter copy, tighter rhythm, circular directional markers. */
.drawer-brandbar{
  height:68px!important;
  grid-template-columns:36px 1fr 38px!important;
  gap:11px!important;
}
.drawer-brand-orbit{width:34px!important;height:34px!important}
.drawer-brandcopy{display:flex!important;align-items:center!important}
.drawer-brandcopy strong{
  font-size:1.08rem!important;
  font-weight:780!important;
  letter-spacing:-.03em!important;
}
.drawer-brandcopy small{display:none!important}
.drawer-context{padding-top:8px!important}
.drawer-chart-card{
  min-height:66px;
  padding:12px 0!important;
  grid-template-columns:minmax(0,1fr) 32px!important;
}
.drawer-chart-copy small,
.drawer-credit-copy small{
  color:#666b72!important;
  font-size:.49rem!important;
  font-weight:780!important;
  letter-spacing:.13em!important;
}
.drawer-chart-copy strong{
  margin-top:5px!important;
  color:#f2f2ef!important;
  font-size:.94rem!important;
  font-weight:730!important;
  letter-spacing:-.02em!important;
}

.drawer-circle-arrow,
.drawer-section-arrow{
  position:relative;
  flex:0 0 auto;
  width:30px!important;
  height:30px!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid rgba(255,255,255,.10)!important;
  border-radius:50%!important;
  background:#101214!important;
  color:transparent!important;
  box-shadow:0 6px 16px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.025)!important;
}
.drawer-circle-arrow>i,
.drawer-circle-arrow>span,
.drawer-section-arrow>i{
  position:absolute;
  left:50%;
  top:50%;
  width:6px;
  height:6px;
  border-right:1.4px solid #aeb2b7;
  border-bottom:1.4px solid #aeb2b7;
  transform:translate(-62%,-50%) rotate(-45deg);
  transition:transform .18s ease,border-color .18s ease;
}
.drawer-chart-open.drawer-circle-arrow{
  padding:0!important;
  font-size:0!important;
}
.drawer-chart-open.drawer-circle-arrow>span{
  transform:translate(-62%,-50%) rotate(-45deg)!important;
}
.drawer-circle-arrow:hover,
.drawer-nav-button:hover .drawer-circle-arrow,
.drawer-feature-row:hover .drawer-circle-arrow,
.drawer-about-compact:hover .drawer-circle-arrow{
  border-color:rgba(93,29,30,.38)!important;
  background:#121416!important;
}
.drawer-circle-arrow:hover>i,
.drawer-circle-arrow:hover>span,
.drawer-nav-button:hover .drawer-circle-arrow>i,
.drawer-feature-row:hover .drawer-circle-arrow>i,
.drawer-about-compact:hover .drawer-circle-arrow>i{
  border-color:#e0e1df!important;
}

/* Premium credit balance: quiet red seal, strong numerical hierarchy, restrained CTA. */
.drawer-credit-card{
  position:relative;
  margin:12px 0 14px!important;
  padding:15px 14px 14px!important;
  border:1px solid rgba(93,29,30,.18)!important;
  border-radius:15px!important;
  background:linear-gradient(135deg,rgba(93,29,30,.052),rgba(255,255,255,.018) 58%,rgba(255,255,255,.006))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 13px 28px rgba(0,0,0,.20)!important;
  overflow:hidden;
}
.drawer-credit-card::before{
  content:"";
  position:absolute;
  left:0;
  top:17px;
  width:2px;
  height:29px;
  border-radius:999px;
  background:var(--ac-red);
  box-shadow:0 0 10px rgba(93,29,30,.22);
}
.drawer-credit-copy{min-width:0!important;padding-left:4px}
.drawer-credit-copy small{display:flex!important;align-items:center!important;gap:6px!important}
.drawer-credit-copy small i{
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--ac-red);
  box-shadow:0 0 0 4px rgba(93,29,30,.055);
}
.drawer-credit-copy strong{
  margin-top:7px;
  color:#f6f6f3;
  font-size:1.05rem;
  font-weight:780;
  letter-spacing:-.025em;
  line-height:1;
}
.drawer-balance{
  margin-top:5px!important;
  color:#71767d!important;
  font-size:.64rem!important;
  font-weight:560!important;
}
.drawer-credit-add{
  min-width:98px!important;
  height:38px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#e7e8e5!important;
  font-size:.69rem!important;
  font-weight:690!important;
  box-shadow:none!important;
}
.drawer-credit-add .drawer-circle-arrow{
  width:28px!important;
  height:28px!important;
}

/* Standalone premium drawer destinations. */
.drawer-feature-row{
  margin:0 20px;
  width:calc(100% - 40px);
  min-height:58px;
  display:grid;
  grid-template-columns:34px minmax(0,1fr) 30px;
  align-items:center;
  gap:12px;
  padding:8px 2px;
  border:0;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:transparent;
  color:#d1d3d6;
  text-align:left;
}
.drawer-feature-row .drawer-nav-copy strong{font-size:.875rem!important;font-weight:690!important}
.drawer-history-icon{
  color:#d1d3d6!important;
  background:rgba(93,29,30,.055)!important;
  border:1px solid rgba(93,29,30,.12);
}

.drawer-accordion-stack{
  margin-top:0!important;
  border-top:0!important;
}
.drawer-accordion summary{
  min-height:56px!important;
  padding:8px 2px!important;
}
.drawer-accordion summary>span{display:flex!important;align-items:center!important}
.drawer-accordion summary strong{
  font-size:.875rem!important;
  font-weight:690!important;
  letter-spacing:-.012em;
}
.drawer-accordion summary small{display:none!important}
.drawer-section-arrow{
  width:30px!important;
  height:30px!important;
  font-size:0!important;
  transition:border-color .18s ease,background .18s ease!important;
}
.drawer-section-arrow>i{
  transform:translate(-50%,-65%) rotate(45deg)!important;
}
.drawer-accordion[open] .drawer-section-arrow{
  transform:none!important;
  border-color:rgba(93,29,30,.34)!important;
  background:#131214!important;
}
.drawer-accordion[open] .drawer-section-arrow>i{
  transform:translate(-50%,-35%) rotate(225deg)!important;
  border-color:var(--ac-red)!important;
}
.drawer-nav-list{padding:1px 0 4px!important}
.drawer-nav-button,
.drawer-toggle-row,
.drawer-font-row{
  min-height:52px!important;
  grid-template-columns:32px minmax(0,1fr) auto!important;
  gap:11px!important;
  padding:7px 2px!important;
}
.drawer-nav-icon,.drawer-font-icon{
  width:30px!important;
  height:30px!important;
  font-size:.78rem!important;
  background:rgba(255,255,255,.028)!important;
  color:#858a91!important;
}
.drawer-nav-copy{display:flex!important;align-items:center!important;min-width:0}
.drawer-nav-copy strong,.drawer-font-row>div>strong{
  color:#c9ccd0;
  font-size:.8125rem!important;
  font-weight:640!important;
  line-height:1.2;
}
.drawer-nav-copy small,.drawer-font-row>div>small{display:none!important}
.drawer-nav-button .drawer-circle-arrow{width:27px!important;height:27px!important}
.drawer-nav-button.danger .drawer-nav-copy strong{color:#B77B7C!important}

.drawer-utility-row{
  margin-top:12px!important;
  padding-top:14px!important;
  grid-template-columns:minmax(0,1fr) 38px 38px!important;
}
.drawer-about-compact{
  grid-template-columns:28px minmax(0,1fr) 28px!important;
}
.drawer-about-compact>span:nth-child(2){display:flex!important;align-items:center!important}
.drawer-about-compact strong{font-size:.8rem!important;font-weight:640!important}
.drawer-about-compact small{display:none!important}
.drawer-about-compact .drawer-circle-arrow{width:27px!important;height:27px!important}

/* --------------------------------------------------------------------------
   Chat history — a private, profile-scoped reading archive.
   -------------------------------------------------------------------------- */
.chat-history-overlay{
  position:fixed;
  z-index:1250;
  inset:0;
  background:rgba(0,0,0,.72);
  backdrop-filter:blur(8px);
  opacity:0;
  visibility:hidden;
  transition:opacity .22s ease,visibility .22s ease;
}
.chat-history-overlay.open{opacity:1;visibility:visible}
.chat-history-panel{
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  width:min(520px,92vw);
  display:flex;
  flex-direction:column;
  min-height:0;
  background:#070809;
  border-left:1px solid rgba(255,255,255,.085);
  box-shadow:-32px 0 90px rgba(0,0,0,.52);
  transform:translateX(26px);
  transition:transform .24s cubic-bezier(.22,.8,.24,1);
  overflow:hidden;
}
.chat-history-overlay.open .chat-history-panel{transform:none}
.chat-history-header{
  flex:0 0 76px;
  height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:0 22px;
  border-bottom:1px solid rgba(255,255,255,.075);
}
.chat-history-brand{display:flex;align-items:center;gap:12px;min-width:0}
.chat-history-brand>img{width:36px;height:36px;flex:0 0 auto}
.chat-history-brand>div{display:grid;gap:3px}
.chat-history-brand small{
  color:#70757c;
  font-size:.45rem;
  font-weight:780;
  letter-spacing:.14em;
}
.chat-history-brand h2{
  margin:0;
  color:#f5f5f2;
  font-size:1.08rem;
  font-weight:780;
  line-height:1;
  letter-spacing:-.03em;
}
.chat-history-close{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.075);
  border-radius:50%;
  background:#101214;
  color:#858a91;
  font-size:1.3rem;
  font-weight:300;
}
.chat-history-profile-wrap{
  flex:0 0 auto;
  padding:18px 22px 0;
}
.chat-history-profile-wrap>label{
  display:block;
  margin:0 0 8px 2px;
  color:#646970;
  font-size:.46rem;
  font-weight:780;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.chat-history-profile-control{
  position:relative;
  min-height:62px;
  display:grid;
  grid-template-columns:36px minmax(0,1fr) 30px;
  align-items:center;
  gap:12px;
  padding:9px 10px 9px 12px;
  border:1px solid rgba(255,255,255,.085);
  border-radius:14px;
  background:linear-gradient(90deg,rgba(255,255,255,.025),rgba(255,255,255,.009));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.022);
}
.chat-history-profile-control::before{
  content:"";
  position:absolute;
  left:-1px;
  top:17px;
  width:2px;
  height:28px;
  border-radius:999px;
  background:var(--ac-red);
}
.chat-history-profile-monogram{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border:1px solid rgba(93,29,30,.24);
  border-radius:50%;
  background:#0d0f11;
  color:#e4e5e2;
  font-size:.58rem;
  font-weight:760;
}
.chat-history-profile-copy{display:grid;min-width:0;gap:4px}
.chat-history-profile-copy small{
  color:#666b72;
  font-size:.44rem;
  font-weight:720;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.chat-history-profile-copy strong{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#f1f2ef;
  font-size:.9rem;
  font-weight:720;
  letter-spacing:-.015em;
}
.chat-history-profile-arrow{
  position:relative;
  width:30px;
  height:30px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:50%;
  background:#101214;
}
.chat-history-profile-arrow i{
  position:absolute;
  left:50%;
  top:50%;
  width:6px;
  height:6px;
  border-right:1.4px solid #b7bbc0;
  border-bottom:1.4px solid #b7bbc0;
  transform:translate(-50%,-67%) rotate(45deg);
}
.chat-history-profile-control select{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  opacity:0;
  cursor:pointer;
  appearance:none;
  border:0;
}
.chat-history-summary{
  flex:0 0 48px;
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 22px;
  border-bottom:1px solid rgba(255,255,255,.065);
  color:#646970;
  font-size:.49rem;
  font-weight:690;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.chat-history-summary>span:last-child{display:inline-flex;align-items:center;gap:7px;text-align:right}
.chat-history-summary i{
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--ac-red);
  box-shadow:0 0 0 4px rgba(93,29,30,.045);
}
.chat-history-list{
  flex:1;
  min-height:0;
  overflow-y:auto;
  overscroll-behavior:contain;
  padding:0 22px max(24px,env(safe-area-inset-bottom));
  scrollbar-width:thin;
  scrollbar-color:rgba(93,29,30,.58) transparent;
}
.chat-history-list::-webkit-scrollbar{width:3px}
.chat-history-list::-webkit-scrollbar-track{background:transparent}
.chat-history-list::-webkit-scrollbar-thumb{background:rgba(93,29,30,.62);border-radius:999px}
.chat-history-entry-card{
  border-bottom:1px solid rgba(255,255,255,.065);
}
.chat-history-question{
  width:100%;
  min-height:94px;
  display:grid;
  grid-template-columns:32px minmax(0,1fr) 30px;
  align-items:center;
  gap:12px;
  padding:14px 0;
  border:0;
  background:transparent;
  color:#fff;
  text-align:left;
}
.chat-history-index{
  align-self:start;
  margin-top:6px;
  color:#555a61;
  font-size:.48rem;
  font-weight:740;
  letter-spacing:.08em;
}
.chat-history-question-copy{display:grid;min-width:0;gap:7px}
.chat-history-question-copy small{
  color:#5f646b;
  font-size:.49rem;
  font-weight:650;
  letter-spacing:.055em;
  text-transform:uppercase;
}
.chat-history-question-copy strong{
  color:#e7e8e5;
  font-size:.9rem;
  font-weight:650;
  line-height:1.38;
  letter-spacing:-.018em;
}
.chat-history-entry-arrow{
  position:relative;
  width:29px;
  height:29px;
  border:1px solid rgba(255,255,255,.085);
  border-radius:50%;
  background:#0e1012;
  transition:border-color .18s ease,background .18s ease;
}
.chat-history-entry-arrow i{
  position:absolute;
  left:50%;
  top:50%;
  width:6px;
  height:6px;
  border-right:1.4px solid #8f949a;
  border-bottom:1.4px solid #8f949a;
  transform:translate(-62%,-50%) rotate(-45deg);
  transition:transform .18s ease,border-color .18s ease;
}
.chat-history-entry-card.is-open .chat-history-entry-arrow{
  border-color:rgba(93,29,30,.32);
  background:#131214;
}
.chat-history-entry-card.is-open .chat-history-entry-arrow i{
  transform:translate(-50%,-65%) rotate(45deg);
  border-color:var(--ac-red);
}
.chat-history-answer{
  position:relative;
  margin:0 0 15px 44px;
  padding:2px 0 5px 15px;
  border-left:1px solid rgba(93,29,30,.58);
}
.chat-history-answer-head{
  min-height:24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:9px;
}
.chat-history-answer-head>span{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:var(--ac-red);
  font-size:.56rem;
  font-weight:720;
}
.chat-history-answer-head>span i{width:5px;height:5px;border-radius:50%;background:var(--ac-red)}
.chat-history-answer-head small{color:#555a61;font-size:.47rem}
.chat-history-answer-copy{
  color:#cfd1d5;
  font-size:.82rem;
  line-height:1.65;
  letter-spacing:-.012em;
}
.chat-history-answer-copy .chat-answer-line{margin-bottom:10px}
.chat-history-answer-copy .chat-answer-heading{margin:18px 0 8px;font-size:.72rem}
.chat-history-answer-copy .chat-answer-bullet{margin:6px 0}
.chat-history-answer-loading,
.chat-history-answer-error{color:#656a71;font-size:.67rem}
.chat-history-empty{
  min-height:220px;
  display:grid;
  place-content:center;
  gap:8px;
  padding:24px;
  text-align:center;
}
.chat-history-empty strong{color:#c8cace;font-size:.8rem;font-weight:650}
.chat-history-empty span{max-width:280px;color:#5f646b;font-size:.65rem;line-height:1.55}
.chat-history-loading{
  min-height:180px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
}
.chat-history-loading span{
  width:5px;
  height:5px;
  border-radius:50%;
  background:#6b7077;
  animation:historyPulse .9s ease-in-out infinite;
}
.chat-history-loading span:nth-child(2){animation-delay:.12s;background:var(--ac-red)}
.chat-history-loading span:nth-child(3){animation-delay:.24s}
@keyframes historyPulse{0%,100%{opacity:.28;transform:translateY(0)}50%{opacity:1;transform:translateY(-3px)}}

@media(max-width:720px){
  .home-appbar{height:101px!important;flex-basis:101px!important}
  .home-profile-row{height:44px!important;padding-top:6px!important;padding-left:2px!important}
  .home-profile-row .home-profile-picker{height:36px!important}
  body:not(.chat-empty) .astro-chat-log{padding-top:2px!important}
  body:not(.chat-empty) .consultation-card-head{min-height:24px!important}
  body:not(.chat-empty) .consultation-question{padding-top:7px!important}

  .drawer-context{padding-top:6px!important}
  .drawer-feature-row{margin-left:16px;margin-right:16px;width:calc(100% - 32px)}
  .drawer-credit-card{padding:14px 12px 13px!important}
  .drawer-credit-copy strong{font-size:.98rem}
  .drawer-credit-add{min-width:88px!important;font-size:.65rem!important}

  .chat-history-panel{width:100%;border-left:0}
  .chat-history-header{height:68px;flex-basis:68px;padding:0 16px}
  .chat-history-brand>img{width:33px;height:33px}
  .chat-history-brand h2{font-size:1rem}
  .chat-history-profile-wrap{padding:15px 16px 0}
  .chat-history-profile-control{min-height:58px;border-radius:13px}
  .chat-history-summary{margin:0 16px;min-height:45px;flex-basis:45px}
  .chat-history-list{padding:0 16px max(22px,env(safe-area-inset-bottom))}
  .chat-history-question{min-height:88px;grid-template-columns:28px minmax(0,1fr) 29px;gap:10px;padding:12px 0}
  .chat-history-question-copy strong{font-size:.86rem}
  .chat-history-answer{margin-left:38px;padding-left:12px}
}

@media(max-width:360px){
  .chat-history-summary>span:last-child{font-size:.43rem;letter-spacing:.055em}
  .chat-history-question{grid-template-columns:24px minmax(0,1fr) 28px;gap:9px}
  .chat-history-answer{margin-left:33px}
}

@media(prefers-reduced-motion:reduce){
  .chat-history-overlay,.chat-history-panel,.chat-history-entry-arrow i,.drawer-section-arrow>i{transition:none!important}
  .chat-history-loading span{animation:none!important}
}

/* Drawer footer refinement — bottom anchored, deliberately stacked */
.app-drawer.ultra-drawer{
  display:flex;
  flex-direction:column;
}
.drawer-brandbar,
.drawer-context,
.drawer-feature-row,
.drawer-accordion-stack{
  flex:0 0 auto;
}
.drawer-utility-row{
  display:block!important;
  flex:0 0 auto;
  margin:auto 20px 0!important;
  padding:20px 0 max(34px,calc(env(safe-area-inset-bottom) + 24px))!important;
  border-top:1px solid rgba(255,255,255,.10)!important;
}
.drawer-about-compact{
  width:100%;
  min-height:54px;
  display:grid!important;
  grid-template-columns:34px minmax(0,1fr) 30px!important;
  align-items:center!important;
  gap:11px!important;
  padding:0 2px!important;
  background:transparent!important;
  color:#d5d7da!important;
  text-align:left!important;
}
.drawer-about-compact .drawer-about-icon{
  width:32px!important;
  height:32px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.045)!important;
  color:#9da2a9!important;
  font-size:.8125rem!important;
  font-weight:680!important;
}
.drawer-about-compact .drawer-about-copy{
  min-width:0;
  display:flex!important;
  align-items:center!important;
}
.drawer-about-compact .drawer-about-copy strong{
  color:#d8dade!important;
  font-size:.875rem!important;
  font-weight:680!important;
  letter-spacing:-.015em!important;
}
.drawer-about-compact .drawer-circle-arrow{
  width:30px!important;
  height:30px!important;
  justify-self:end;
}
.drawer-utility-links{
  display:grid;
  grid-template-columns:72px minmax(0,1fr);
  gap:9px;
  margin-top:10px;
  padding-left:45px;
}
.drawer-utility-icon{
  width:auto!important;
  min-width:0;
  height:42px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px;
  padding:0 12px;
  border:1px solid rgba(255,255,255,.075);
  border-radius:999px!important;
  background:rgba(255,255,255,.025)!important;
  color:#858b92;
  text-decoration:none;
  transition:background .18s ease,border-color .18s ease,color .18s ease;
}
.drawer-utility-icon svg{
  flex:0 0 auto;
  width:13px!important;
  height:13px;
  fill:currentColor!important;
}
.drawer-utility-icon span{
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  font-size:.6875rem;
  font-weight:620;
  letter-spacing:-.01em;
}
.drawer-utility-icon:hover,
.drawer-utility-icon:focus-visible{
  background:rgba(255,255,255,.05)!important;
  border-color:rgba(255,255,255,.13);
  color:#d5d7da;
}
@media (max-height:700px){
  .drawer-utility-row{
    padding-top:16px!important;
    padding-bottom:max(24px,calc(env(safe-area-inset-bottom) + 16px))!important;
  }
  .drawer-about-compact{min-height:48px}
  .drawer-utility-icon{height:38px!important}
}

/* --------------------------------------------------------------------------
   Sidebar + history polish — welcome identity, cleaner credits, reliable sound
   state, and a branded sticky history footer.
   -------------------------------------------------------------------------- */
.drawer-welcome{
  flex:0 0 auto;
  min-height:38px;
  display:flex;
  align-items:center;
  padding:0 20px;
  border-bottom:1px solid rgba(255,255,255,.055);
  color:#777c83;
}
.drawer-welcome .drawer-user-name{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#8f949b;
  font-size:.625rem;
  font-weight:620;
  letter-spacing:.015em;
}
.drawer-brand-orbit{
  width:38px!important;
  height:38px!important;
}
.drawer-credit-card::before{display:none!important}
.drawer-credit-copy{padding-left:0!important}

/* Keep the interface-sounds switch visibly in sync with its stored state. */
.drawer-toggle-row{cursor:pointer}
.drawer-toggle-row .mini-switch.sound-state{
  transition:background .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.drawer-toggle-row .mini-switch.sound-state.on{
  background:#171214;
  border-color:rgba(93,29,30,.30);
  box-shadow:inset 0 0 0 1px rgba(93,29,30,.025);
}
.drawer-toggle-row .mini-switch.sound-state.on i{
  transform:translateX(16px);
  background:var(--ac-red);
  box-shadow:0 0 10px rgba(93,29,30,.20);
}

/* History header carries the complete Astro Chat identity. */
.chat-history-brand>img{
  width:40px;
  height:40px;
}
.chat-history-brand>div{
  display:grid;
  grid-template-columns:auto auto;
  align-items:end;
  column-gap:8px;
  row-gap:3px;
  min-width:0;
}
.chat-history-wordmark{
  grid-column:1 / -1;
  color:#f4f4f1;
  font-size:.84rem;
  font-weight:780;
  line-height:1;
  letter-spacing:-.025em;
}
.chat-history-kicker{
  color:#6e737a;
  font-size:.42rem;
  font-weight:760;
  line-height:1;
  letter-spacing:.13em;
  white-space:nowrap;
}
.chat-history-brand h2{
  color:#cfd1d4;
  font-size:.78rem;
  font-weight:690;
  line-height:1;
  letter-spacing:-.015em;
}
.chat-history-brand small{display:none!important}

.chat-history-footer{
  flex:0 0 auto;
  min-height:58px;
  display:grid;
  place-items:center;
  align-content:center;
  gap:5px;
  padding:8px 18px max(9px,env(safe-area-inset-bottom));
  border-top:1px solid rgba(255,255,255,.065);
  background:rgba(7,8,9,.985);
  color:#4f545b;
  font-size:.5rem;
  line-height:1.2;
}
.chat-history-footer-credit{
  color:#51565d;
  white-space:nowrap;
}
.chat-history-footer-credit a{
  color:#777c83;
  font-weight:650;
  text-decoration:none;
}
.chat-history-footer nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
}
.chat-history-footer nav a{
  color:#565b62;
  text-decoration:none;
  white-space:nowrap;
}
.chat-history-footer a:hover,
.chat-history-footer a:focus-visible{color:#a8acb1}

@media(max-width:720px){
  .drawer-welcome{min-height:36px;padding:0 16px}
  .drawer-brand-orbit{width:36px!important;height:36px!important}
  .chat-history-header{height:76px!important;flex-basis:76px!important}
  .chat-history-brand>img{width:38px;height:38px}
  .chat-history-wordmark{font-size:.82rem}
  .chat-history-list{padding-bottom:10px!important}
  .chat-history-footer{min-height:58px;padding-bottom:max(9px,env(safe-area-inset-bottom))}
}

/* Sidebar support pills — preserve full labels on compact drawers */
.drawer-utility-links{
  grid-template-columns:minmax(108px,.72fr) minmax(0,1fr)!important;
  padding-left:45px;
}
.drawer-utility-links .drawer-utility-icon:first-child{
  padding-inline:14px!important;
  gap:7px!important;
}
.drawer-utility-links .drawer-utility-icon:first-child span{
  overflow:visible!important;
  text-overflow:clip!important;
}
@media(max-width:390px){
  .drawer-utility-links{
    grid-template-columns:minmax(100px,.72fr) minmax(0,1fr)!important;
    padding-left:40px;
    gap:8px;
  }
  .drawer-utility-icon{
    padding-inline:10px!important;
  }
}

/* Sidebar support actions — keep both labels fully visible on mobile */
.drawer-utility-links{
  grid-template-columns:minmax(96px,.8fr) minmax(132px,1.2fr)!important;
  gap:9px!important;
  padding-left:0!important;
}
.drawer-utility-links .drawer-utility-icon{
  min-width:0!important;
  padding-inline:10px!important;
}
.drawer-utility-links .drawer-utility-icon span{
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:nowrap!important;
}
.drawer-utility-links .drawer-utility-icon:last-child{
  padding-inline:12px!important;
}
@media(max-width:360px){
  .drawer-utility-links{
    grid-template-columns:minmax(88px,.76fr) minmax(126px,1.24fr)!important;
    gap:7px!important;
  }
  .drawer-utility-links .drawer-utility-icon{
    gap:6px!important;
    padding-inline:8px!important;
  }
  .drawer-utility-links .drawer-utility-icon span{
    font-size:.65625rem!important;
  }
}

/* ========================================================================== 
   Astro Chat · Fresh consultation suggestions
   Generated only after a completed reading. These remain standalone questions
   and intentionally use the existing black / white / signal-red visual system.
   ========================================================================== */
.chat-next-questions{
  margin:20px 0 8px;
  padding:18px 0 2px;
  border-top:1px solid rgba(255,255,255,.07);
}
.chat-next-questions-head{
  display:grid;
  gap:6px;
  margin-bottom:12px;
}
.chat-next-questions-head>span{
  display:flex;
  align-items:center;
  gap:8px;
  color:#737880;
  font-size:.55rem;
  font-weight:760;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.chat-next-questions-head>span i{
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--ac-red);
  box-shadow:0 0 0 5px rgba(93,29,30,.07);
}
.chat-next-questions-head>strong{
  color:#f1f2f0;
  font-size:.9rem;
  font-weight:720;
  letter-spacing:-.02em;
}
.chat-next-questions-list{
  display:grid;
  gap:8px;
}
.chat-next-question{
  width:100%;
  min-height:52px;
  padding:11px 10px 11px 14px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:13px;
  background:#090a0b;
  color:#dfe1e3;
  display:grid;
  grid-template-columns:minmax(0,1fr) 34px;
  align-items:center;
  gap:11px;
  text-align:left;
  cursor:pointer;
  transition:border-color .18s ease,background .18s ease,transform .18s ease;
  -webkit-tap-highlight-color:transparent;
}
.chat-next-question:hover,
.chat-next-question:focus-visible{
  border-color:rgba(93,29,30,.38);
  background:#0c0d0f;
  outline:none;
}
.chat-next-question:active{transform:translateY(1px)}
.chat-next-question-copy{
  min-width:0;
  font-size:.76rem;
  line-height:1.48;
  font-weight:590;
  letter-spacing:-.012em;
}
.chat-next-question-action{
  width:32px;
  height:32px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.10);
  background:#111316;
  display:grid;
  place-items:center;
  color:#aeb2b7;
  font-size:.76rem;
  transition:border-color .18s ease,color .18s ease,background .18s ease;
}
.chat-next-question:hover .chat-next-question-action,
.chat-next-question:focus-visible .chat-next-question-action{
  border-color:rgba(93,29,30,.42);
  background:rgba(93,29,30,.06);
  color:#fff;
}
.chat-next-questions-note{
  display:block;
  margin-top:10px;
  color:#555a61;
  font-size:.52rem;
  line-height:1.5;
}

@media (max-width:640px){
  .chat-next-questions{margin-top:17px;padding-top:15px}
  .chat-next-question{min-height:50px;border-radius:12px;padding-left:13px}
  .chat-next-question-copy{font-size:.73rem}
  .chat-next-questions-note{font-size:.5rem}
}

/* ========================================================================== 
   Astro Chat · Compact credit checkout
   Presentation-only checkout reskin. Payment contracts and credit logic stay intact.
   ========================================================================== */
.credit-checkout-page{min-height:100dvh;background:#050607;overflow-x:hidden}
.credit-checkout-page .credit-page{
  width:min(100%,1120px);
  min-height:100dvh;
  margin:0 auto;
  padding:0 clamp(14px,3vw,30px);
  display:flex;
  flex-direction:column;
}
.credit-checkout-page .credit-appbar{
  flex:0 0 66px;
  height:66px;
  grid-template-columns:1fr auto 1fr;
  border-bottom:1px solid rgba(255,255,255,.075);
}
.credit-checkout-page .back-button{
  min-height:38px;
  padding:0 4px;
  border-radius:9px;
  color:#8c9198;
  font-size:.625rem;
  font-weight:680;
}
.credit-checkout-page .back-button i{font-size:1rem;font-style:normal;line-height:1}
.credit-checkout-page .back-button:hover{color:#f2f2ef}
.credit-checkout-page .credit-brand{justify-self:center;color:#f3f3f0}
.credit-checkout-page .credit-brand strong{font-size:.875rem;font-weight:800;letter-spacing:-.025em}
.credit-checkout-page .credit-brand small{margin-top:1px;font-size:.46875rem;letter-spacing:.08em;text-transform:uppercase}
.credit-checkout-page .credit-header-actions{justify-self:end}
.credit-checkout-page .checkout-status{font-size:.53125rem;text-transform:uppercase;letter-spacing:.065em}

.credit-summary{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px;
  align-items:center;
  padding:28px 0 22px;
}
.credit-summary-copy .hero-kicker{font-size:.5rem}
.credit-summary h1{
  margin:5px 0 4px;
  color:#f2f2ef;
  font-size:clamp(1.9rem,4.2vw,2.7rem);
  line-height:1;
  letter-spacing:-.052em;
}
.credit-summary p{margin:0;color:#73787f;font-size:.625rem}
.credit-balance{
  min-width:230px;
  padding:13px 16px;
  border:1px solid rgba(255,255,255,.08);
  border-left:2px solid var(--ac-red);
  border-radius:11px;
  background:linear-gradient(180deg,#0c0e10,#090b0d);
}
.credit-balance small{display:block;color:#656a71;font-size:.46875rem;font-weight:730;letter-spacing:.09em;text-transform:uppercase}
.credit-balance strong{display:block;margin-top:4px;color:#f0f0ed;font-size:.875rem;letter-spacing:-.02em}
.credit-checkout-page .message{margin:0 0 10px}
.credit-checkout-page .message.show{padding:9px 11px;border-radius:8px;font-size:.5625rem}

.credit-checkout-page .packs-section{
  padding:0 0 18px;
  border:0;
}
.credit-checkout-page .pack-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin:0;
}
.credit-checkout-page .pack{
  min-width:0;
  padding:16px;
  display:grid;
  grid-template-rows:auto 1fr auto auto;
  gap:12px;
  border-radius:12px;
  overflow:hidden;
}
.credit-checkout-page .pack-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;min-width:0}
.credit-checkout-page .pack-heading>div{display:grid;gap:2px;min-width:0}
.credit-checkout-page .pack-title{font-size:.75rem;font-weight:760;line-height:1.15}
.credit-checkout-page .pack-heading small{color:#63686f;font-size:.46875rem}
.credit-checkout-page .pack .badge{
  flex:0 0 auto;
  margin:0;
  padding:4px 6px;
  border-radius:999px;
  font-size:.40625rem;
  line-height:1;
  white-space:nowrap;
}
.credit-checkout-page .pack-question-count{display:flex;align-items:baseline;gap:6px;margin-top:2px}
.credit-checkout-page .pack-question-count strong{color:#f4f4f1;font-size:2rem;line-height:.9;letter-spacing:-.055em}
.credit-checkout-page .pack-question-count span{color:#73787f;font-size:.5625rem}
.credit-checkout-page .pack-price{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding-top:11px;border-top:1px solid rgba(255,255,255,.065)}
.credit-checkout-page .pack-price strong{font-size:1.125rem;letter-spacing:-.035em}
.credit-checkout-page .pack-price span{color:#62676e;font-size:.46875rem;text-align:right;white-space:nowrap}
.credit-checkout-page .buy.razorpay-buy{
  height:40px;
  margin:0;
  padding:0 11px;
  grid-template-columns:auto minmax(60px,1fr) auto;
  gap:7px;
  border-radius:9px;
  box-shadow:0 7px 18px rgba(43,69,237,.15),inset 0 1px 0 rgba(255,255,255,.14);
}
.credit-checkout-page .razorpay-buy-label{font-size:.5rem}
.credit-checkout-page .razorpay-buy img{width:78px;max-height:18px}
.credit-checkout-page .razorpay-buy-price{font-size:.625rem}
.credit-checkout-page .loading{padding:22px;border-radius:12px;text-align:center}

.credit-checkout-note{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  padding:12px 0 16px;
  border-top:1px solid rgba(255,255,255,.06);
  color:#656a71;
  font-size:.5rem;
}
.credit-checkout-note i{margin-right:5px;color:var(--ac-red);font-style:normal}
.credit-checkout-page .credit-page-footer{
  margin-top:auto;
  min-height:48px;
  padding:12px 0 max(12px,env(safe-area-inset-bottom));
  align-items:center;
  flex:0 0 auto;
}
.credit-checkout-page .credit-page-footer .developer-link{color:#81868c}

@media(max-width:720px){
  .credit-checkout-page .credit-page{padding:0 12px}
  .credit-checkout-page .credit-appbar{height:60px;flex-basis:60px}
  .credit-checkout-page .credit-header-actions{display:none}
  .credit-checkout-page .credit-appbar{grid-template-columns:44px 1fr 44px}
  .credit-checkout-page .credit-brand{grid-column:2}
  .credit-checkout-page .back-button{grid-column:1;justify-self:start;width:38px;padding:0}
  .credit-checkout-page .back-button span{display:none}
  .credit-checkout-page .credit-brand-orbit{width:27px;height:27px}
  .credit-checkout-page .credit-brand strong{font-size:.8125rem}
  .credit-checkout-page .credit-brand small{display:none}
  .credit-summary{grid-template-columns:1fr auto;gap:10px;padding:17px 2px 14px}
  .credit-summary h1{font-size:1.7rem;margin-top:4px}
  .credit-summary p{font-size:.53125rem}
  .credit-balance{min-width:0;padding:9px 10px;border-radius:9px}
  .credit-balance small{font-size:.40625rem}
  .credit-balance strong{max-width:142px;font-size:.6875rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .credit-checkout-page .packs-section{padding-bottom:12px}
  .credit-checkout-page .pack-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  .credit-checkout-page .pack{padding:10px 8px;gap:9px;border-radius:10px}
  .credit-checkout-page .pack-heading{display:grid;gap:5px}
  .credit-checkout-page .pack-title{font-size:.6875rem}
  .credit-checkout-page .pack-heading small{font-size:.40625rem}
  .credit-checkout-page .pack .badge{justify-self:start;padding:3px 5px;font-size:.34375rem;max-width:100%;overflow:hidden;text-overflow:ellipsis}
  .credit-checkout-page .pack-question-count{display:grid;gap:1px}
  .credit-checkout-page .pack-question-count strong{font-size:1.65rem}
  .credit-checkout-page .pack-question-count span{font-size:.46875rem}
  .credit-checkout-page .pack-price{display:grid;gap:2px;padding-top:8px}
  .credit-checkout-page .pack-price strong{font-size:.9375rem}
  .credit-checkout-page .pack-price span{font-size:.375rem;text-align:left;white-space:normal;line-height:1.3}
  .credit-checkout-page .buy.razorpay-buy{height:34px;padding:0 6px;display:flex;align-items:center;justify-content:center;gap:4px;border-radius:8px}
  .credit-checkout-page .razorpay-buy img{display:none}
  .credit-checkout-page .razorpay-buy-label,.credit-checkout-page .razorpay-buy-price{font-size:.46875rem}
  .credit-checkout-note{display:grid;gap:4px;padding:9px 2px 11px;font-size:.4375rem}
  .credit-checkout-page .credit-page-footer{display:flex!important;min-height:58px;padding:8px 2px max(8px,env(safe-area-inset-bottom))!important;gap:5px;font-size:.46875rem;text-align:center;justify-content:center;flex-wrap:wrap}
  .credit-checkout-page .credit-page-footer .home-footer-credit{width:100%}
  .credit-checkout-page .credit-page-footer nav{display:flex;justify-content:center;gap:16px;width:100%}
}

@media(max-width:350px){
  .credit-summary{grid-template-columns:1fr}
  .credit-balance{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 9px}
  .credit-balance strong{margin:0;font-size:.625rem}
  .credit-checkout-page .pack-grid{gap:4px}
  .credit-checkout-page .pack{padding:9px 6px}
  .credit-checkout-page .pack-title{font-size:.625rem}
  .credit-checkout-page .pack-question-count strong{font-size:1.45rem}
  .credit-checkout-page .pack-price strong{font-size:.84rem}
  .credit-checkout-page .razorpay-buy-label{display:none}
}
html.returning-from-subpage .launch-splash{display:none!important}

/* ========================================================================== 
   Astro Chat · Credits checkout refinement 2026-08-20
   UI-only: chat-masthead parity, theme checkout CTA, compact visible footer.
   ========================================================================== */
.credit-checkout-page .credit-chat-appbar{
  position:sticky!important;
  top:0!important;
  z-index:700!important;
  width:100%;
  height:60px!important;
  min-height:60px!important;
  flex:0 0 60px!important;
  padding:0!important;
  display:block!important;
  border-bottom:0!important;
  background:rgba(5,6,7,.965)!important;
  box-shadow:0 10px 30px rgba(0,0,0,.22)!important;
  backdrop-filter:blur(20px) saturate(135%);
}
.credit-checkout-page .credit-chat-appbar::after{
  top:auto!important;
  bottom:0!important;
  height:1px!important;
}
.credit-checkout-page .credit-appbar-main{
  width:min(100%,1120px);
  height:60px;
  margin:0 auto;
  padding:0 clamp(14px,3vw,30px);
  grid-template-columns:42px minmax(0,1fr) 42px;
}
.credit-checkout-page .credit-header-back{
  grid-column:1;
  justify-self:start;
  display:grid;
  place-items:center;
  margin:0;
  color:#c4c7cb;
}
.credit-checkout-page .credit-back-arrow{
  display:block;
  font-size:1.08rem;
  font-weight:500;
  line-height:1;
  transform:translateY(-1px);
}
.credit-checkout-page .credit-chat-brand{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  z-index:2;
  gap:9px;
  color:#f7f7f4;
  text-decoration:none;
}
.credit-checkout-page .credit-chat-brand .home-brand-orbit{width:30px;height:30px}
.credit-checkout-page .credit-chat-brand strong{
  display:block!important;
  color:#f7f7f4;
  font-size:1rem!important;
  font-weight:820;
  letter-spacing:-.03em;
  line-height:1;
}
.credit-checkout-page .credit-header-avatar{
  grid-column:3;
  justify-self:end;
  margin:0;
  pointer-events:none;
}
.credit-checkout-page .credit-header-avatar img{display:none}
.credit-checkout-page .credit-header-avatar .home-avatar-fallback{display:grid}

.credit-checkout-page .credit-page{
  min-height:calc(100dvh - 60px);
  padding-top:0;
}
.credit-checkout-page .credit-summary{
  padding-top:20px;
  padding-bottom:16px;
}
.credit-checkout-page .credit-summary h1{margin-bottom:0}
.credit-checkout-page .packs-section{padding-bottom:12px}
.credit-checkout-page .pack{
  grid-template-rows:auto 1fr auto;
  gap:11px;
}
.credit-checkout-page .pack-question-count{align-self:center}
.credit-checkout-page .buy.razorpay-buy,
.credit-checkout-page .pack.featured .buy.razorpay-buy,
.credit-checkout-page .pack.selected-from-home .buy.razorpay-buy{
  height:46px;
  margin:0;
  padding:0 13px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:8px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:10px;
  background:var(--ac-red)!important;
  color:#fff!important;
  box-shadow:0 8px 22px rgba(93,29,30,.16),inset 0 1px 0 rgba(255,255,255,.14);
}
.credit-checkout-page .buy.razorpay-buy:hover{
  background:#5D1D1E!important;
  transform:translateY(-1px);
}
.credit-checkout-page .razorpay-buy-label{
  font-size:.625rem;
  font-weight:740;
  color:rgba(255,255,255,.86);
}
.credit-checkout-page .razorpay-buy-price{
  justify-self:start;
  color:#fff;
  font-size:1.08rem;
  font-weight:850;
  line-height:1;
  letter-spacing:-.035em;
}
.credit-checkout-page .razorpay-buy img{
  justify-self:end;
  width:68px;
  max-height:16px;
  opacity:.84;
}
.credit-checkout-page .credit-checkout-note{
  padding:9px 0 11px;
}
.credit-checkout-page .credit-page-footer{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  width:100%;
  min-height:54px;
  margin-top:auto;
  padding:9px 0 max(9px,env(safe-area-inset-bottom))!important;
  flex:0 0 auto;
  border-top:1px solid rgba(255,255,255,.075);
  color:#646970;
}
.credit-checkout-page .credit-page-footer nav{display:flex}

@media(max-width:720px){
  .credit-checkout-page .credit-chat-appbar,
  .credit-checkout-page .credit-appbar-main{height:57px!important;min-height:57px!important}
  .credit-checkout-page .credit-chat-appbar{flex-basis:57px!important}
  .credit-checkout-page .credit-appbar-main{padding:0 12px;grid-template-columns:38px minmax(0,1fr) 38px}
  .credit-checkout-page .credit-chat-brand{gap:8px}
  .credit-checkout-page .credit-chat-brand .home-brand-orbit{width:28px;height:28px}
  .credit-checkout-page .credit-chat-brand strong{font-size:.9375rem!important}
  .credit-checkout-page .credit-page{min-height:calc(100dvh - 57px);padding:0 12px}
  .credit-checkout-page .credit-summary{padding:14px 2px 11px}
  .credit-checkout-page .credit-summary h1{font-size:1.6rem}
  .credit-checkout-page .packs-section{padding-bottom:9px}
  .credit-checkout-page .pack{padding:10px 8px;gap:8px}
  .credit-checkout-page .pack-question-count strong{font-size:1.55rem}
  .credit-checkout-page .buy.razorpay-buy,
  .credit-checkout-page .pack.featured .buy.razorpay-buy,
  .credit-checkout-page .pack.selected-from-home .buy.razorpay-buy{
    height:40px;
    padding:0 7px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:5px;
  }
  .credit-checkout-page .razorpay-buy-label{font-size:.52rem}
  .credit-checkout-page .razorpay-buy-price{font-size:.95rem}
  .credit-checkout-page .razorpay-buy img{display:none}
  .credit-checkout-page .credit-checkout-note{display:flex;flex-wrap:wrap;gap:5px 14px;padding:7px 2px 9px;font-size:.4375rem}
  .credit-checkout-page .credit-page-footer{
    min-height:54px!important;
    padding:7px 2px max(7px,env(safe-area-inset-bottom))!important;
    gap:4px;
    font-size:.46875rem;
  }
}

@media(max-width:390px){
  .credit-checkout-page .credit-chat-brand .home-brand-orbit{width:27px;height:27px}
  .credit-checkout-page .credit-chat-brand strong{font-size:.9rem!important}
  .credit-checkout-page .credit-summary{padding-top:12px}
  .credit-checkout-page .credit-balance{padding:7px 8px}
  .credit-checkout-page .pack{padding:9px 6px;gap:7px}
  .credit-checkout-page .pack-question-count strong{font-size:1.42rem}
  .credit-checkout-page .buy.razorpay-buy,
  .credit-checkout-page .pack.featured .buy.razorpay-buy,
  .credit-checkout-page .pack.selected-from-home .buy.razorpay-buy{height:38px;padding:0 5px;gap:4px}
  .credit-checkout-page .razorpay-buy-label{font-size:.48rem}
  .credit-checkout-page .razorpay-buy-price{font-size:.9rem}
}

/* ========================================================================== 
   Astro Chat · Credit copy restoration 2026-08-20
   Restores the richer checkout narrative while keeping the compact themed CTA,
   sticky app header and visible application footer.
   ========================================================================== */
.credit-copy-restored .credit-page{
  width:min(100%,1120px);
  padding-inline:clamp(14px,3vw,30px);
}
.credit-copy-restored .credit-hero-restored{
  grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);
  gap:clamp(22px,4vw,48px);
  padding:34px 0 28px;
}
.credit-copy-restored .credit-hero-restored h1{
  margin:10px 0 14px;
  font-size:clamp(2.45rem,5vw,4.2rem);
  line-height:.98;
}
.credit-copy-restored .credit-hero-restored .credit-hero-copy>p{
  max-width:690px;
  font-size:.78rem;
  line-height:1.68;
}
.credit-copy-restored .credit-hero-restored .hero-trust-row{
  margin-top:17px;
  gap:9px 16px;
}
.credit-copy-restored .credit-balance-restored{
  align-self:center;
  padding:22px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.075);
  border-top:2px solid var(--ac-red);
  background:linear-gradient(180deg,#0b0d0f,#080a0c);
}
.credit-copy-restored .credit-balance-restored strong{
  margin:8px 0 8px;
  font-size:1.55rem;
}
.credit-copy-restored .credit-balance-restored p{max-width:340px}
.credit-copy-restored .restored-packs{
  padding:27px 0 30px;
}
.credit-copy-restored .restored-packs .section-heading h2{
  font-size:clamp(1.35rem,2.5vw,1.8rem);
}
.credit-copy-restored .restored-packs .pack-grid{
  margin-top:18px;
}
.credit-copy-restored .restored-proof{
  padding:30px 0;
}
.credit-copy-restored .restored-proof .proof-heading h2,
.credit-copy-restored .restored-faq .faq-intro h2{
  font-size:clamp(1.35rem,2.5vw,1.8rem);
}
.credit-copy-restored .restored-proof .proof-grid{
  margin-top:18px;
}
.credit-copy-restored .restored-proof .proof-grid article{
  padding-top:15px;
  padding-bottom:15px;
}
.credit-copy-restored .restored-faq{
  grid-template-columns:minmax(220px,.48fr) minmax(0,1fr);
  gap:clamp(28px,5vw,62px);
  padding:30px 0 34px;
}
.credit-copy-restored .restored-faq .faq-list summary{
  padding:14px 0;
}
.credit-copy-restored .credit-page-footer{
  margin-top:0;
}

@media(max-width:720px){
  .credit-copy-restored .credit-page{padding-inline:12px}
  .credit-copy-restored .credit-hero-restored{
    grid-template-columns:1fr;
    gap:16px;
    padding:22px 2px 20px;
  }
  .credit-copy-restored .credit-hero-restored h1{
    margin:7px 0 11px;
    font-size:2.35rem;
  }
  .credit-copy-restored .credit-hero-restored .credit-hero-copy>p{
    font-size:.6875rem;
    line-height:1.62;
  }
  .credit-copy-restored .credit-hero-restored .hero-trust-row{
    margin-top:13px;
    gap:7px 12px;
    font-size:.5rem;
  }
  .credit-copy-restored .credit-balance-restored{
    width:100%;
    padding:14px 15px;
  }
  .credit-copy-restored .credit-balance-restored strong{
    font-size:1.1rem;
  }
  .credit-copy-restored .credit-balance-restored p{
    font-size:.54rem;
  }
  .credit-copy-restored .restored-packs{
    padding:21px 2px 23px;
  }
  .credit-copy-restored .restored-packs .section-heading{
    align-items:start;
  }
  .credit-copy-restored .restored-packs .section-heading h2{
    font-size:1.35rem;
  }
  .credit-copy-restored .restored-packs .section-heading>span{
    max-width:118px;
    text-align:right;
    line-height:1.4;
  }
  .credit-copy-restored .restored-packs .pack-grid{
    margin-top:14px;
  }
  .credit-copy-restored .restored-proof{
    padding:24px 2px;
  }
  .credit-copy-restored .restored-proof .proof-grid{
    grid-template-columns:1fr;
    margin-top:13px;
  }
  .credit-copy-restored .restored-proof .proof-grid article{
    padding:12px 0;
  }
  .credit-copy-restored .restored-faq{
    grid-template-columns:1fr;
    gap:8px;
    padding:24px 2px 28px;
  }
  .credit-copy-restored .restored-faq .faq-intro p{
    margin-bottom:2px;
  }
  .credit-copy-restored .restored-faq .faq-list summary{
    padding:13px 0;
  }
}

/* Owner admin entry is revealed only after the authenticated email is checked in app.js. */
.drawer-admin-entry[hidden]{display:none!important}
.drawer-admin-entry .drawer-nav-icon{color:var(--ac-red)!important}

/* ========================================================================== 
   Astro Chat · Mobile viewport + readability stabilization · 2026-08-22
   UI only. No astrology, consultation, timing, credits or payment logic changes.
   ========================================================================== */
html{
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}
img,svg,video,canvas{max-width:100%}
button,input,textarea,select{max-width:100%}

/* Full-screen telemetry and modal surfaces follow the real visual viewport.
   The visual-viewport custom property is maintained by ui-runtime-v46.js and
   falls back to dynamic viewport units in browsers where it is unavailable. */
.natal-engine-screen{
  width:100%;
  height:var(--ac-vv-height,100dvh);
  min-height:0;
  overflow:hidden;
}
.natal-engine-shell{
  height:100%;
  min-height:0;
  grid-template-rows:auto minmax(0,1fr) auto;
  overflow:hidden;
}
.natal-engine-main{
  min-height:0;
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.natal-engine-main::-webkit-scrollbar{display:none}
.natal-engine-footer{
  position:relative;
  z-index:2;
  background:#000;
}
.birth-time-confirm-overlay,
.birth-time-rectification-overlay{
  overflow-y:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
}

@media(max-width:720px){
  /* The previous mobile scale inherited many 7–10px labels. Keep the user's
     three text-size choices, but move all three to a readable phone baseline. */
  html:not([data-chat-font]),
  html[data-chat-font="medium"]{font-size:17.5px;--chat-answer-size:1rem}
  html[data-chat-font="small"]{font-size:16px;--chat-answer-size:.94rem}
  html[data-chat-font="large"]{font-size:19.5px;--chat-answer-size:1.06rem}
  body{font-size:1rem;line-height:1.55}

  /* Keep horizontal padding proportional without letting narrow phones lose
     too much content width. */
  .conversation-stage{padding-inline:clamp(12px,4vw,18px)}
  .chart-sheet-head,.chart-evidence-intro,.chart-accordions{padding-left:clamp(14px,4.5vw,20px);padding-right:clamp(14px,4.5vw,20px)}
  .legal-page{padding-left:clamp(16px,5vw,22px);padding-right:clamp(16px,5vw,22px)}

  /* Core mobile reading surfaces. */
  .home-brand-lockup strong{font-size:.875rem!important}
  .profile-option-copy strong{font-size:.75rem}
  .profile-option-copy small,.profile-option-state{font-size:.625rem}
  .drawer-nav-copy strong,.drawer-font-row>div>strong{font-size:.875rem}
  .drawer-nav-copy small,.drawer-font-row>div>small{font-size:.6875rem}
  .home-footer{font-size:.5625rem}
  .orbix-home-planet-copy strong{font-size:.8125rem}
  .orbix-home-planet-copy small{font-size:.6875rem}
  .orbix-home-planet-copy em{font-size:.625rem}
  .composer-shell textarea{font-size:1rem}
  .orbix-composer-actions{font-size:.75rem}
  .consultation-sequence{font-size:.625rem}
  .consultation-answer-content{font-size:var(--chat-answer-size,1rem)}

  /* Authentication labels were among the smallest text in the application. */
  .auth-terminal-brand.astrochat-logo-lockup{font-size:.8125rem}
  .auth-secure-label{font-size:.53125rem}
  .auth-terminal-kicker{font-size:.625rem}
  .auth-terminal-copy p{font-size:.8125rem}
  .auth-signin-meta,.auth-session-note{font-size:.5625rem}
  .auth-google-zone .google-signin-mode-hint,.auth-data-note{font-size:.625rem!important}
  .auth-chat-footer{font-size:.5625rem}

  /* Natal calculation telemetry: do not squeeze the entire composition to the
     height of the browser chrome. The centre track scrolls when a phone is
     short, while header/footer remain stable and never overlap the CTA. */
  .natal-engine-shell{
    width:100%;
    padding:
      max(20px,calc(env(safe-area-inset-top) + 12px))
      clamp(18px,5.5vw,24px)
      max(16px,calc(env(safe-area-inset-bottom) + 10px));
  }
  .natal-engine-header{gap:12px;font-size:.75rem;letter-spacing:.13em}
  .natal-engine-header small{font-size:.625rem;letter-spacing:.12em;white-space:nowrap}
  .telemetry-brand{gap:9px}
  .telemetry-brand img{width:27px;height:27px}
  .natal-engine-main{padding-top:clamp(28px,5vh,40px);padding-bottom:12px}
  .natal-engine-progress>small{font-size:.6875rem;letter-spacing:.14em;margin-bottom:10px}
  .natal-engine-percent strong{font-size:clamp(4.5rem,22vw,5.5rem)}
  .natal-engine-percent span{font-size:clamp(1.65rem,7vw,2rem)}
  .natal-engine-segments{gap:4px;margin-top:15px}
  .natal-engine-segments i{height:7px}
  .natal-engine-stages{margin-top:clamp(24px,3.5vh,30px)}
  .natal-engine-stage{min-height:66px;padding:10px 0;gap:12px}
  .natal-engine-stage>div{gap:5px}
  .natal-engine-stage strong{font-size:.6875rem;line-height:1.3;letter-spacing:.095em}
  .natal-engine-stage small{font-size:.65625rem;line-height:1.35}
  .natal-engine-stage>span{font-size:.59375rem;letter-spacing:.11em;white-space:nowrap}
  .natal-engine-complete{grid-template-columns:1fr;align-items:stretch;gap:14px;margin-top:16px;padding-top:14px}
  .natal-engine-complete>div{gap:5px}
  .natal-engine-complete>div>small{font-size:.59375rem;letter-spacing:.13em}
  .natal-engine-complete>div>strong{font-size:1.0625rem;line-height:1.25}
  .natal-engine-complete>div>span{font-size:.6875rem;line-height:1.45}
  .natal-engine-complete button{width:100%;min-width:0;min-height:56px;height:auto;padding:15px 18px;font-size:.6875rem;letter-spacing:.1em}
  .natal-engine-footer{
    min-height:34px;
    gap:10px;
    padding-top:12px;
    border-top:1px solid #1e2126;
    font-size:.53125rem;
    line-height:1.35;
    letter-spacing:.095em;
  }
  .natal-engine-footer>span{min-width:0;overflow-wrap:anywhere}
  .natal-engine-footer small{flex:0 0 auto;white-space:nowrap}

  /* Birth-time confirmation can be taller than compact browser viewports. */
  .birth-time-confirm-overlay,
  .birth-time-rectification-overlay{place-items:start center}
  .birth-time-confirm-panel,
  .birth-time-rectification-panel{width:100%;max-width:580px;margin:auto 0}

  /* Credits page: remove the 6–8px mobile labels created by the compact
     three-card checkout layout without changing pricing or checkout logic. */
  .credit-checkout-page .credit-summary p{font-size:.625rem}
  .credit-checkout-page .credit-balance small{font-size:.5625rem}
  .credit-checkout-page .credit-balance strong{font-size:.8125rem}
  .credit-checkout-page .pack-title{font-size:.75rem}
  .credit-checkout-page .pack-heading small{font-size:.5625rem}
  .credit-checkout-page .pack .badge{font-size:.5rem}
  .credit-checkout-page .pack-question-count span{font-size:.5625rem}
  .credit-checkout-page .pack-price span{font-size:.5rem;line-height:1.35}
  .credit-checkout-page .razorpay-buy-label{font-size:.5625rem}
  .credit-checkout-page .credit-checkout-note{font-size:.5625rem;line-height:1.45}
  .credit-checkout-page .credit-page-footer{font-size:.5625rem}
  .credit-copy-restored .credit-hero-restored .credit-hero-copy>p{font-size:.75rem}
  .credit-copy-restored .credit-hero-restored .hero-trust-row{font-size:.59375rem}
  .credit-copy-restored .credit-balance-restored p{font-size:.625rem}
}

/* Short phones and in-browser PWAs get scrolling instead of a smaller type
   scale. This specifically prevents the completed natal CTA from colliding
   with the telemetry footer on 568–760px-tall visual viewports. */
@media(max-height:760px) and (max-width:720px){
  .natal-engine-main{padding-top:20px;padding-bottom:10px}
  .natal-engine-percent strong{font-size:4.5rem}
  .natal-engine-percent span{font-size:1.65rem}
  .natal-engine-segments{margin-top:12px}
  .natal-engine-stages{margin-top:20px}
  .natal-engine-stage{min-height:64px;padding:9px 0}
  .natal-engine-complete{margin-top:14px;padding-top:12px}
  .natal-engine-complete button{min-height:54px}
  .natal-engine-footer{padding-top:10px;font-size:.53125rem}

  .auth-terminal-main{align-self:start;padding-top:28px}
  .auth-terminal-copy h1{font-size:clamp(2.7rem,13vw,3.25rem)}
  .auth-terminal-copy p{font-size:.78125rem}
}

@media(max-width:360px){
  .natal-engine-shell{padding-left:16px;padding-right:16px}
  .natal-engine-header{font-size:.6875rem}
  .natal-engine-header small{font-size:.5625rem}
  .natal-engine-stage{gap:9px}
  .natal-engine-stage strong{font-size:.65625rem;letter-spacing:.075em}
  .natal-engine-stage small{font-size:.625rem}
  .natal-engine-stage>span{font-size:.5625rem}
  .natal-engine-complete button{padding-left:15px;padding-right:15px}
}

@media(max-height:500px) and (orientation:landscape){
  .natal-engine-shell{
    width:100%;max-width:none;
    padding:max(12px,env(safe-area-inset-top)) 18px max(10px,env(safe-area-inset-bottom));
  }
  .natal-engine-header{font-size:.6875rem}
  .natal-engine-header small{font-size:.5625rem}
  .natal-engine-main{padding-top:18px;padding-bottom:12px}
  .natal-engine-stages{margin-top:20px}
  .natal-engine-stage strong{font-size:.6875rem}
  .natal-engine-stage small{font-size:.65625rem}
  .natal-engine-stage>span{font-size:.59375rem}
  .natal-engine-complete>div>small{font-size:.59375rem}
  .natal-engine-complete>div>span{font-size:.6875rem}
  .natal-engine-complete button{font-size:.6875rem}
  .natal-engine-footer{min-height:28px;padding-top:8px;font-size:.53125rem}
}

/* ═══════════════════════════════════════════════════════════════
   Daily Horoscope · full workspace screen (v58)
   Shared app header/footer remain visible; only the workspace main swaps.
   ═══════════════════════════════════════════════════════════════ */
.drawer-daily-icon{
  color:#d7d9dc!important;background:rgba(93,29,30,.045)!important;border:1px solid rgba(93,29,30,.105)
}
.drawer-daily-icon svg{width:17px;height:17px;display:block;fill:none;stroke:currentColor;stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round}
.drawer-daily-entry:hover .drawer-daily-icon{color:#f0f0ed!important;border-color:rgba(93,29,30,.24);background:rgba(93,29,30,.075)!important}

body.daily-horoscope-open .workspace{background:#050607}
.daily-horoscope-screen{flex:1;min-height:0;width:100%;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;background:
  radial-gradient(circle at 82% 0%,rgba(93,29,30,.075),transparent 34%),
  linear-gradient(180deg,#070809 0%,#050607 100%)}
.daily-horoscope-screen[hidden]{display:none!important}
.daily-horoscope-page{position:relative;width:min(100%,920px);min-height:100%;margin:0 auto;padding:clamp(22px,4vw,42px) clamp(18px,5vw,52px) clamp(40px,7vw,76px)}
.daily-horoscope-page::before{content:"";position:absolute;inset:0;pointer-events:none;background-image:radial-gradient(circle,rgba(215,218,223,.35) .55px,transparent .75px);background-size:56px 56px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.55),transparent 55%);opacity:.22}
.daily-page-toolbar{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:clamp(28px,5vw,48px)}
.daily-page-back{display:inline-flex;align-items:center;gap:9px;min-height:40px;padding:0 13px;border:1px solid rgba(255,255,255,.075);border-radius:12px;background:rgba(255,255,255,.025);color:#8b9097;font-size:.69rem;letter-spacing:.01em}
.daily-page-back:hover{color:#e7e8e6;border-color:rgba(93,29,30,.24);background:rgba(93,29,30,.045)}
.daily-page-back span{font-size:1rem;line-height:1}.daily-page-back strong{font-weight:680}
.daily-page-share{width:auto!important;min-width:92px;padding:0 13px;display:flex!important;gap:8px}.daily-page-share span{font-size:.68rem;font-weight:700}.daily-page-share[hidden]{display:none!important}

.daily-horoscope-head{position:relative;z-index:1}
.daily-horoscope-brandline{display:flex;align-items:center;gap:10px;color:#727780;font-size:.575rem;font-weight:760;letter-spacing:.145em;text-transform:uppercase}
.daily-horoscope-brandline img{width:25px;height:25px;opacity:.84}
.daily-page-title-row{display:flex;justify-content:space-between;gap:18px}
.daily-horoscope-head h2{margin:21px 0 8px;color:#f2f2ef;font-size:clamp(2.45rem,7vw,4.6rem);font-weight:800;line-height:.96;letter-spacing:-.055em}
.daily-horoscope-date{margin:0;color:#c4c6c9;font-size:.9rem;font-weight:620;line-height:1.4}
.daily-horoscope-profile{margin:5px 0 0;color:#747981;font-size:.75rem;line-height:1.45}.daily-horoscope-profile::before{content:"For ";color:#50555c}

.daily-moon-card{position:relative;z-index:1;margin-top:clamp(24px,4vw,34px);display:grid;grid-template-columns:54px minmax(0,1fr);align-items:center;gap:16px;min-height:88px;padding:15px 18px;border:1px solid rgba(255,255,255,.075);border-radius:18px;background:linear-gradient(120deg,rgba(255,255,255,.032),rgba(93,29,30,.026));box-shadow:inset 0 1px 0 rgba(255,255,255,.015)}
.daily-moon-crescent{position:relative;width:48px;height:48px;border-radius:50%;background:#dadcdf;box-shadow:0 0 0 1px rgba(255,255,255,.08),0 0 28px rgba(255,255,255,.05)}
.daily-moon-crescent::after{content:"";position:absolute;width:42px;height:42px;left:15px;top:-4px;border-radius:50%;background:#0b0d0f;box-shadow:-1px 1px 0 rgba(93,29,30,.10)}
.daily-moon-card>div{min-width:0;display:grid;gap:4px}.daily-moon-card small{color:#686d74;font-size:.55rem;font-weight:760;letter-spacing:.145em;text-transform:uppercase}.daily-moon-card strong{color:#dcdddf;font-size:1.03rem;font-weight:720}.daily-moon-card span:not(.daily-moon-crescent){color:#747981;font-size:.7rem}

.daily-horoscope-body{position:relative;z-index:1;margin-top:clamp(25px,4vw,38px)}
.daily-horoscope-state,.daily-horoscope-result{animation:dailyStateIn .24s ease both}@keyframes dailyStateIn{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
.daily-state-loading{min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:28px 12px}
.daily-state-loading strong,.daily-state-insufficient strong,.daily-state-error strong{color:#e6e7e5;font-size:1rem;font-weight:710;line-height:1.35}.daily-state-loading p,.daily-state-insufficient p,.daily-state-error p{max-width:500px;margin:8px auto 0;color:#737880;font-size:.73rem;line-height:1.65}
.daily-reading-orbit{position:relative;width:56px;height:56px;margin-bottom:18px;border:1px solid rgba(255,255,255,.10);border-radius:50%}.daily-reading-orbit i{position:absolute;inset:8px;border:1px solid rgba(93,29,30,.20);border-radius:50%}.daily-reading-orbit i:nth-child(2){inset:16px;border-color:rgba(255,255,255,.15)}.daily-reading-orbit span{position:absolute;width:7px;height:7px;left:50%;top:50%;border-radius:50%;background:#5D1D1E;transform:translate(-50%,-50%);box-shadow:0 0 14px rgba(93,29,30,.45)}

.daily-credit-disclosure{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:start;gap:12px;padding:17px 18px;border:1px solid rgba(255,255,255,.075);border-radius:16px;background:rgba(255,255,255,.023)}.daily-credit-disclosure>span{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:rgba(93,29,30,.075);color:#5D1D1E;font-size:1rem}.daily-credit-disclosure p{margin:0;color:#a5a9ae;font-size:.77rem;line-height:1.6}
.daily-generate-button,.daily-secondary-button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px;padding:0 19px;border-radius:14px;font-weight:730;letter-spacing:-.01em;transition:transform .16s ease,filter .16s ease,border-color .16s ease}.daily-generate-button{min-height:58px;background:#5D1D1E;color:#fff;box-shadow:0 16px 38px rgba(93,29,30,.17)}.daily-generate-button:hover{filter:brightness(1.04)}.daily-generate-button:active,.daily-secondary-button:active{transform:translateY(1px)}.daily-generate-button:disabled{opacity:.62;cursor:wait}.daily-credit-balance{margin:10px 2px 0;color:#60656c;font-size:.64rem;line-height:1.5;text-align:center}

.daily-state-processing{min-height:320px;display:flex;flex-direction:column;justify-content:center;padding:clamp(18px,4vw,32px) 0}
.daily-progress-console{width:100%;padding:22px 22px 18px;border:1px solid rgba(255,255,255,.075);border-radius:18px;background:linear-gradient(180deg,rgba(18,20,23,.88),rgba(10,11,13,.92));box-shadow:0 18px 50px rgba(0,0,0,.18)}
.daily-progress-top{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;color:#dadcde;font-size:.72rem;font-weight:720;letter-spacing:.045em;text-transform:uppercase}.daily-progress-top span{max-width:75%;line-height:1.45}.daily-progress-top b{color:#5D1D1E;font-size:.7rem;font-variant-numeric:tabular-nums}
.daily-progress-segments{display:grid;grid-template-columns:repeat(18,minmax(0,1fr));gap:4px;margin-top:20px}.daily-progress-segments i{height:4px;border-radius:999px;background:#24272b;transition:background .24s ease,box-shadow .24s ease}.daily-progress-segments i.is-active{background:#5D1D1E;box-shadow:0 0 12px rgba(93,29,30,.22)}
.daily-progress-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px;color:#555a61;font-size:.52rem;font-weight:690;letter-spacing:.095em}.daily-progress-live{display:inline-flex;align-items:center;gap:6px}.daily-progress-live i{width:5px;height:5px;border-radius:50%;background:#5D1D1E;box-shadow:0 0 8px rgba(93,29,30,.45);animation:dailyLivePulse 1.25s ease-in-out infinite}@keyframes dailyLivePulse{50%{opacity:.35}}
.daily-processing-note{max-width:620px;margin:14px 4px 0;color:#686d75;font-size:.67rem;line-height:1.6}

.daily-state-insufficient,.daily-state-error{padding:16px 0 6px;text-align:left}.daily-state-symbol{width:44px;height:44px;display:grid;place-items:center;margin-bottom:14px;border:1px solid rgba(93,29,30,.20);border-radius:13px;background:rgba(93,29,30,.055);color:#5D1D1E;font-weight:760}.daily-state-insufficient p,.daily-state-error p{margin-left:0}.daily-secondary-button{min-height:52px;border:1px solid rgba(255,255,255,.10);background:#15171a;color:#d9dad8}.daily-secondary-button:hover{border-color:rgba(93,29,30,.27)}

.daily-focus-section{margin-bottom:28px;padding:18px 0 23px;border-bottom:1px solid rgba(255,255,255,.075)}.daily-focus-section>small{display:block;margin-bottom:12px;color:#71767d;font-size:.54rem;font-weight:780;letter-spacing:.15em}.daily-focus-pills{display:flex;flex-wrap:wrap;gap:9px}.daily-focus-pill{display:inline-flex;align-items:center;min-height:34px;padding:0 13px;border:1px solid rgba(255,255,255,.085);border-radius:999px;background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.018));color:#c8cace;font-size:.68rem;font-weight:680;letter-spacing:-.005em}.daily-focus-pill::before{content:"";width:5px;height:5px;margin-right:8px;border-radius:50%;background:#5D1D1E;box-shadow:0 0 9px rgba(93,29,30,.25)}
.daily-result-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:15px;border-bottom:1px solid rgba(255,255,255,.085)}.daily-result-heading small{display:block;margin-bottom:6px;color:#5D1D1E;font-size:.535rem;font-weight:780;letter-spacing:.145em}.daily-result-heading h3{margin:0;color:#ececea;font-size:clamp(1.55rem,4vw,2rem);font-weight:780;letter-spacing:-.04em}.daily-share-button{flex:0 0 auto;width:44px;height:44px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.09);border-radius:13px;background:rgba(255,255,255,.035);color:#b8bbc0;transition:border-color .18s ease,color .18s ease,background .18s ease}.daily-share-button:hover{color:#f0f0ed;border-color:rgba(93,29,30,.30);background:rgba(93,29,30,.055)}.daily-share-button svg{width:18px;height:18px;fill:currentColor}.daily-guidance-copy{padding:21px 0 8px;color:#c7c9cc;font-size:clamp(.91rem,1.7vw,1rem);line-height:1.82;letter-spacing:-.006em}.daily-guidance-copy p{margin:0 0 15px;color:inherit;font:inherit}.daily-guidance-copy p:last-child{margin-bottom:0}.daily-result-foot{display:flex;flex-wrap:wrap;align-items:center;gap:7px 9px;margin-top:20px;padding-top:14px;border-top:1px solid rgba(255,255,255,.065);color:#5f646b;font-size:.56rem;line-height:1.5}.daily-result-foot i{width:3px;height:3px;border-radius:50%;background:#5D1D1E;opacity:.75}

@media(max-width:640px){
  .daily-horoscope-page{padding:18px 16px 40px}.daily-page-toolbar{margin-bottom:25px}.daily-page-back{padding:0 11px}.daily-horoscope-brandline{font-size:.52rem;letter-spacing:.12em}.daily-horoscope-head h2{margin-top:18px;font-size:2.55rem}.daily-moon-card{margin-top:22px;grid-template-columns:46px minmax(0,1fr);min-height:78px;padding:13px 14px}.daily-moon-crescent{width:42px;height:42px}.daily-moon-crescent::after{width:37px;height:37px;left:13px}.daily-state-processing{min-height:285px}.daily-progress-console{padding:19px 16px 16px}.daily-progress-top{font-size:.63rem}.daily-progress-segments{gap:3px}.daily-progress-meta{font-size:.46rem;letter-spacing:.065em}.daily-focus-pills{gap:7px}.daily-focus-pill{min-height:32px;padding:0 11px;font-size:.64rem}.daily-guidance-copy{font-size:.92rem;line-height:1.78}.daily-page-share{min-width:44px!important;padding:0!important}.daily-page-share span{display:none}
}
@media(max-width:360px){.daily-horoscope-page{padding-left:13px;padding-right:13px}.daily-horoscope-head h2{font-size:2.25rem}.daily-progress-console{padding-left:13px;padding-right:13px}.daily-progress-meta>span:first-child{max-width:65%}}
@media(prefers-reduced-motion:reduce){.daily-horoscope-state,.daily-horoscope-result,.daily-progress-live i{transition:none!important;animation:none!important}}

/* ========================================================================== 
   Astro Chat · Add Credits premium checkout · 2026-08-23
   Scoped to .credit-premium so no other AstroChat surface inherits it.
   ========================================================================== */
.credit-premium{
  --credit-ink:#f4f5f2;
  --credit-muted:#8b9098;
  --credit-dim:#60656d;
  --credit-panel:#0a0c0f;
  --credit-panel-2:#0d1014;
  --credit-line:rgba(255,255,255,.075);
  --credit-line-strong:rgba(255,255,255,.13);
  --credit-razorpay:#2b45ed;
  min-height:100dvh;
  background:#040506;
  color:var(--credit-ink);
  overflow-x:hidden;
}
.credit-premium .credit-premium-ambient{
  position:fixed;
  z-index:-1;
  inset:0;
  overflow:hidden;
  pointer-events:none;
  background:
    radial-gradient(circle at 78% 8%,rgba(93,29,30,.055),transparent 28rem),
    radial-gradient(circle at 20% 70%,rgba(72,86,255,.025),transparent 30rem),
    #040506;
}
.credit-premium .credit-glow{
  position:absolute;
  display:block;
  border-radius:50%;
  filter:blur(1px);
  opacity:.65;
}
.credit-premium .credit-glow-one{
  width:340px;
  height:340px;
  top:-190px;
  right:4vw;
  border:1px solid rgba(93,29,30,.12);
  box-shadow:0 0 90px rgba(93,29,30,.035),inset 0 0 70px rgba(93,29,30,.02);
}
.credit-premium .credit-glow-two{
  width:140px;
  height:140px;
  top:110px;
  right:14vw;
  border:1px solid rgba(255,255,255,.035);
}
.credit-premium .credit-grid-glow{
  position:absolute;
  inset:0;
  opacity:.025;
  background-image:linear-gradient(rgba(255,255,255,.18) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.18) 1px,transparent 1px);
  background-size:52px 52px;
  mask-image:linear-gradient(to bottom,black,transparent 54%);
}
.credit-premium .credit-chat-appbar{
  background:rgba(4,5,6,.86)!important;
  border-bottom:1px solid rgba(255,255,255,.055)!important;
  box-shadow:none!important;
  backdrop-filter:blur(24px) saturate(140%);
}
.credit-premium .premium-credit-page{
  width:min(100%,1160px);
  max-width:1160px;
  margin:0 auto;
  padding:0 clamp(18px,3.5vw,40px) 0;
}
.credit-premium .premium-credit-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(300px,355px);
  align-items:center;
  gap:clamp(36px,7vw,92px);
  padding:clamp(50px,7vw,82px) 0 45px;
}
.credit-premium .premium-credit-copy{min-width:0}
.credit-premium .premium-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#a8adb4;
  font-size:.625rem;
  font-weight:760;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.credit-premium .premium-eyebrow-dot{
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--ac-red);
  box-shadow:0 0 0 4px rgba(93,29,30,.09);
}
.credit-premium .premium-credit-copy h1{
  max-width:720px;
  margin:16px 0 18px;
  color:#f7f7f4;
  font-size:clamp(3rem,6vw,5rem);
  font-weight:850;
  line-height:.94;
  letter-spacing:-.066em;
}
.credit-premium .premium-credit-copy h1 em{
  color:#747a83;
  font-style:normal;
  font-weight:780;
}
.credit-premium .premium-credit-copy>p{
  max-width:660px;
  margin:0;
  color:#858b93;
  font-size:.8125rem;
  line-height:1.72;
}
.credit-premium .premium-trust-line{
  display:flex;
  flex-wrap:wrap;
  gap:9px 18px;
  margin-top:23px;
}
.credit-premium .premium-trust-line span{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#737981;
  font-size:.5625rem;
  font-weight:620;
  white-space:nowrap;
}
.credit-premium .premium-trust-line svg{
  width:13px;
  height:13px;
  fill:#a7acb3;
  opacity:.86;
}
.credit-premium .premium-balance-card{
  position:relative;
  min-height:192px;
  padding:24px 25px;
  border:1px solid var(--credit-line);
  border-radius:20px;
  background:linear-gradient(145deg,rgba(16,19,23,.97),rgba(8,10,13,.98));
  box-shadow:0 22px 70px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.025);
  overflow:hidden;
}
.credit-premium .premium-balance-card::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:84px;
  height:2px;
  background:linear-gradient(90deg,var(--ac-red),transparent);
}
.credit-premium .premium-balance-card::after{
  content:"";
  position:absolute;
  width:160px;
  height:160px;
  right:-88px;
  top:-92px;
  border:1px solid rgba(93,29,30,.08);
  border-radius:50%;
}
.credit-premium .premium-balance-topline{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  color:#747a82;
  font-size:.53125rem;
  font-weight:700;
  letter-spacing:.085em;
  text-transform:uppercase;
}
.credit-premium .premium-live-pill{
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:5px 7px;
  border:1px solid rgba(102,202,139,.14);
  border-radius:999px;
  background:rgba(70,164,107,.055);
  color:#8bbf9e;
  font-size:.4375rem;
  letter-spacing:.07em;
}
.credit-premium .premium-live-pill i{
  width:5px;
  height:5px;
  border-radius:50%;
  background:#61b981;
  box-shadow:0 0 0 3px rgba(97,185,129,.08);
}
.credit-premium .premium-balance-card>strong{
  position:relative;
  z-index:1;
  display:block;
  margin:18px 0 15px;
  color:#f6f6f3;
  font-size:clamp(1.42rem,2.2vw,1.9rem);
  font-weight:830;
  line-height:1.05;
  letter-spacing:-.045em;
}
.credit-premium .premium-balance-rule{
  width:100%;
  height:1px;
  background:linear-gradient(90deg,rgba(255,255,255,.09),rgba(255,255,255,.02));
}
.credit-premium .premium-balance-card>p{
  position:relative;
  z-index:1;
  max-width:290px;
  margin:14px 0 0;
  color:#666c74;
  font-size:.5625rem;
  line-height:1.62;
}
.credit-premium .premium-credit-message{
  margin:0 0 18px!important;
}
.credit-premium .premium-credit-message.show{
  padding:11px 13px!important;
  border:1px solid rgba(255,255,255,.075)!important;
  border-left:2px solid var(--ac-red)!important;
  border-radius:10px!important;
  background:rgba(12,14,17,.88)!important;
}
.credit-premium .premium-credit-message.success{border-left-color:#61b981!important}
.credit-premium .premium-packs-section{
  padding:38px 0 42px;
  border-top:1px solid rgba(255,255,255,.07);
}
.credit-premium .premium-section-heading{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:24px;
}
.credit-premium .premium-section-heading small,
.credit-premium .premium-proof-heading small,
.credit-premium .premium-faq-intro small{
  display:block;
  color:var(--ac-red);
  font-size:.53125rem;
  font-weight:780;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.credit-premium .premium-section-heading h2,
.credit-premium .premium-proof-heading h2,
.credit-premium .premium-faq-intro h2{
  margin:7px 0 0;
  color:#efefec;
  font-size:clamp(1.45rem,2.6vw,2rem);
  font-weight:790;
  letter-spacing:-.045em;
}
.credit-premium .premium-section-heading>p{
  margin:0 0 4px;
  color:#666c74;
  font-size:.5625rem;
}
.credit-premium .premium-pack-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
  margin-top:22px!important;
}
.credit-premium .premium-credit-pack{
  position:relative;
  display:flex!important;
  flex-direction:column;
  min-height:345px;
  padding:21px!important;
  border:1px solid var(--credit-line)!important;
  border-radius:18px!important;
  background:linear-gradient(155deg,#0d1013,#080a0d 72%)!important;
  box-shadow:0 12px 40px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.02);
  overflow:hidden;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.credit-premium .premium-credit-pack:hover{
  transform:translateY(-3px);
  border-color:rgba(255,255,255,.14)!important;
  box-shadow:0 20px 54px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.035);
}
.credit-premium .premium-credit-pack::before{display:none!important}
.credit-premium .premium-credit-pack.featured,
.credit-premium .premium-credit-pack.selected-from-home{
  border-color:rgba(93,29,30,.28)!important;
  background:linear-gradient(155deg,rgba(19,16,18,.99),#090a0d 72%)!important;
}
.credit-premium .premium-credit-pack.featured::after,
.credit-premium .premium-credit-pack.selected-from-home::after{
  content:"";
  position:absolute;
  width:165px;
  height:165px;
  top:-118px;
  right:-70px;
  border-radius:50%;
  box-shadow:0 0 80px rgba(93,29,30,.11);
  background:rgba(93,29,30,.035);
}
.credit-premium .premium-pack-accent{
  position:absolute;
  top:0;
  left:20px;
  width:42px;
  height:2px;
  background:#393e45;
}
.credit-premium .featured .premium-pack-accent,
.credit-premium .selected-from-home .premium-pack-accent{
  width:68px;
  background:linear-gradient(90deg,var(--ac-red),rgba(93,29,30,.1));
}
.credit-premium .premium-pack-heading{
  position:relative;
  z-index:1;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:12px!important;
}
.credit-premium .premium-pack-heading>div{
  display:grid!important;
  gap:3px!important;
  min-width:0;
}
.credit-premium .premium-pack-label{
  color:#666c74;
  font-size:.4375rem;
  font-weight:740;
  letter-spacing:.105em;
  text-transform:uppercase;
}
.credit-premium .premium-pack-heading .pack-title{
  margin-top:2px;
  color:#f0f1ee;
  font-size:.875rem!important;
  font-weight:780!important;
  line-height:1.2;
}
.credit-premium .premium-pack-subtitle{
  max-width:210px;
  margin-top:2px;
  color:#666c74!important;
  font-size:.5rem!important;
  line-height:1.45;
}
.credit-premium .premium-credit-pack .badge{
  position:relative;
  z-index:2;
  flex:0 0 auto;
  margin:0!important;
  padding:5px 7px!important;
  border:1px solid rgba(93,29,30,.16);
  border-radius:999px!important;
  background:rgba(93,29,30,.075)!important;
  color:#B77B7C!important;
  font-size:.40625rem!important;
  font-weight:800!important;
  letter-spacing:.085em!important;
}
.credit-premium .premium-pack-value{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:18px;
  margin:27px 0 23px;
}
.credit-premium .premium-pack-questions,
.credit-premium .premium-pack-credits{display:grid;gap:4px}
.credit-premium .premium-pack-questions strong{
  color:#f7f7f4;
  font-size:2.75rem;
  font-weight:820;
  line-height:.82;
  letter-spacing:-.065em;
}
.credit-premium .premium-pack-questions span,
.credit-premium .premium-pack-credits span{
  color:#6f757d;
  font-size:.5rem;
}
.credit-premium .premium-pack-credits{
  justify-items:end;
  padding-bottom:1px;
}
.credit-premium .premium-pack-credits strong{
  color:#a6abb2;
  font-size:.875rem;
  font-weight:740;
}
.credit-premium .premium-pack-price-row{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:12px;
  padding-top:15px;
  border-top:1px solid rgba(255,255,255,.065);
}
.credit-premium .premium-pack-price{display:grid;gap:3px}
.credit-premium .premium-pack-price small{
  color:#5f656d;
  font-size:.4375rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.credit-premium .premium-pack-price strong{
  color:#f3f3f0;
  font-size:1.42rem;
  font-weight:800;
  line-height:1;
  letter-spacing:-.045em;
}
.credit-premium .premium-pack-price-row>span{
  color:#5f656d;
  font-size:.46875rem;
  white-space:nowrap;
}
.credit-premium .premium-razorpay-button,
.credit-premium .premium-credit-pack.featured .premium-razorpay-button,
.credit-premium .premium-credit-pack.selected-from-home .premium-razorpay-button{
  position:relative;
  z-index:2;
  width:100%;
  height:54px!important;
  margin:20px 0 0!important;
  padding:0 14px!important;
  display:grid!important;
  grid-template-columns:30px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:10px!important;
  border:1px solid rgba(255,255,255,.13)!important;
  border-radius:12px!important;
  background:linear-gradient(180deg,#3550f1,#2942e4)!important;
  color:#fff!important;
  box-shadow:0 12px 28px rgba(43,69,237,.2),inset 0 1px 0 rgba(255,255,255,.18)!important;
  transition:transform .18s ease,filter .18s ease,box-shadow .18s ease!important;
}
.credit-premium .premium-razorpay-button:hover{
  transform:translateY(-1px)!important;
  filter:brightness(1.055);
  box-shadow:0 16px 34px rgba(43,69,237,.27),inset 0 1px 0 rgba(255,255,255,.2)!important;
}
.credit-premium .premium-razorpay-button:focus-visible{
  outline:2px solid rgba(123,141,255,.85);
  outline-offset:3px;
}
.credit-premium .premium-razorpay-button:disabled{
  cursor:wait;
  opacity:.68;
  transform:none!important;
  filter:saturate(.75);
}
.credit-premium .premium-pay-lock{
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.15);
  border-radius:8px;
  background:rgba(255,255,255,.08);
}
.credit-premium .premium-pay-lock svg{
  width:15px;
  height:15px;
  fill:#fff;
}
.credit-premium .premium-pay-copy{
  display:grid;
  justify-items:start;
  gap:1px;
  min-width:0;
  text-align:left;
}
.credit-premium .premium-pay-copy small,
.credit-premium .premium-pay-provider small{
  color:rgba(255,255,255,.69);
  font-size:.40625rem;
  font-weight:650;
  letter-spacing:.055em;
  text-transform:uppercase;
}
.credit-premium .premium-pay-copy strong{
  color:#fff;
  font-size:.9375rem;
  font-weight:800;
  line-height:1;
  letter-spacing:-.02em;
}
.credit-premium .premium-pay-provider{
  display:flex;
  align-items:center;
  gap:6px;
  padding-left:10px;
  border-left:1px solid rgba(255,255,255,.15);
}
.credit-premium .premium-pay-provider img{
  display:block!important;
  width:78px!important;
  max-width:78px;
  max-height:18px!important;
  object-fit:contain;
  opacity:1!important;
}
.credit-premium .premium-pack-footnote{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  margin-top:9px;
  color:#565c64;
  font-size:.40625rem;
  line-height:1.3;
}
.credit-premium .premium-pack-footnote i{
  width:3px;
  height:3px;
  border-radius:50%;
  background:#4b5057;
}
.credit-premium .premium-pack-loading{
  min-height:260px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  border:1px solid var(--credit-line);
  border-radius:18px!important;
  background:linear-gradient(155deg,#0d1013,#080a0d)!important;
}
.credit-premium .premium-pack-loading span{
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--ac-red);
  box-shadow:0 0 0 5px rgba(93,29,30,.08);
  animation:creditPremiumPulse 1.4s ease-in-out infinite;
}
@keyframes creditPremiumPulse{50%{opacity:.35;transform:scale(.72)}}
.credit-premium .premium-payment-assurance{
  display:grid;
  grid-template-columns:42px minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  margin-top:14px;
  padding:15px 17px;
  border:1px solid rgba(255,255,255,.065);
  border-radius:14px;
  background:rgba(9,11,14,.72);
}
.credit-premium .premium-assurance-lock{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.075);
  border-radius:11px;
  background:#0e1115;
}
.credit-premium .premium-assurance-lock svg{
  width:17px;
  height:17px;
  fill:#8e949c;
}
.credit-premium .premium-assurance-copy{display:grid;gap:3px;min-width:0}
.credit-premium .premium-assurance-copy strong{
  color:#b8bcc2;
  font-size:.625rem;
  font-weight:720;
}
.credit-premium .premium-assurance-copy span{
  color:#60666e;
  font-size:.5rem;
  line-height:1.48;
}
.credit-premium .premium-assurance-provider{
  display:grid;
  justify-items:end;
  gap:5px;
  padding-left:18px;
  border-left:1px solid rgba(255,255,255,.065);
}
.credit-premium .premium-assurance-provider>small{
  color:#525860;
  font-size:.375rem;
  font-weight:750;
  letter-spacing:.11em;
}
.credit-premium .premium-assurance-provider>span{
  min-width:112px;
  height:34px;
  display:grid;
  place-items:center;
  padding:0 12px;
  border-radius:8px;
  background:#2b45ed;
  box-shadow:0 8px 20px rgba(43,69,237,.13);
}
.credit-premium .premium-assurance-provider img{
  width:82px;
  max-height:18px;
  object-fit:contain;
}
.credit-premium .premium-proof-section{
  display:grid;
  grid-template-columns:minmax(240px,.44fr) minmax(0,1fr);
  gap:clamp(34px,6vw,74px);
  padding:45px 0;
  border-top:1px solid rgba(255,255,255,.07);
}
.credit-premium .premium-proof-heading h2{max-width:330px}
.credit-premium .premium-proof-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:0;
  border:1px solid rgba(255,255,255,.065);
  border-radius:16px;
  overflow:hidden;
  background:rgba(9,11,14,.52);
}
.credit-premium .premium-proof-grid article{
  min-width:0;
  padding:20px 17px;
  border-right:1px solid rgba(255,255,255,.065);
}
.credit-premium .premium-proof-grid article:last-child{border-right:0}
.credit-premium .premium-proof-icon{
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  margin-bottom:14px;
  border:1px solid rgba(255,255,255,.075);
  border-radius:9px;
  background:#0d1013;
}
.credit-premium .premium-proof-icon svg{width:15px;height:15px;fill:#8f959c}
.credit-premium .premium-proof-grid strong{
  color:#c6c9cd;
  font-size:.625rem;
  font-weight:720;
}
.credit-premium .premium-proof-grid p{
  margin:7px 0 0;
  color:#60666e;
  font-size:.5rem;
  line-height:1.55;
}
.credit-premium .premium-faq-section{
  display:grid;
  grid-template-columns:minmax(190px,.34fr) minmax(0,1fr);
  gap:clamp(34px,7vw,90px);
  padding:42px 0 48px;
  border-top:1px solid rgba(255,255,255,.07);
}
.credit-premium .premium-faq-intro h2{font-size:1.55rem}
.credit-premium .premium-faq-list details{
  border-bottom:1px solid rgba(255,255,255,.065);
}
.credit-premium .premium-faq-list summary{
  padding:15px 0!important;
  color:#acb0b6;
}
.credit-premium .premium-faq-list summary span{
  font-size:.625rem!important;
  font-weight:650;
}
.credit-premium .premium-faq-list summary i{
  color:#686e75;
  font-size:.75rem;
}
.credit-premium .premium-faq-list p{
  max-width:700px;
  margin:0 0 15px;
  color:#656b73;
  font-size:.53125rem;
  line-height:1.65;
}
.credit-premium .premium-credit-footer{
  margin-top:0!important;
  border-top:1px solid rgba(255,255,255,.065)!important;
}

@media(max-width:900px){
  .credit-premium .premium-credit-hero{
    grid-template-columns:minmax(0,1fr) minmax(260px,310px);
    gap:34px;
  }
  .credit-premium .premium-credit-copy h1{font-size:clamp(2.7rem,6.8vw,4rem)}
  .credit-premium .premium-pack-grid{gap:9px!important}
  .credit-premium .premium-credit-pack{padding:17px!important}
  .credit-premium .premium-pay-provider img{width:66px!important;max-width:66px}
  .credit-premium .premium-proof-section{grid-template-columns:1fr;gap:20px}
  .credit-premium .premium-proof-heading h2{max-width:520px}
}

@media(max-width:720px){
  .credit-premium .premium-credit-page{padding-inline:13px!important}
  .credit-premium .premium-credit-hero{
    grid-template-columns:1fr;
    gap:17px;
    padding:30px 1px 28px;
  }
  .credit-premium .premium-credit-copy h1{
    margin:11px 0 13px;
    font-size:2.55rem;
    line-height:.96;
  }
  .credit-premium .premium-credit-copy>p{
    font-size:.6875rem;
    line-height:1.62;
  }
  .credit-premium .premium-trust-line{
    gap:7px 13px;
    margin-top:16px;
  }
  .credit-premium .premium-trust-line span{font-size:.5rem}
  .credit-premium .premium-balance-card{
    min-height:0;
    padding:16px 17px;
    border-radius:15px;
  }
  .credit-premium .premium-balance-card>strong{
    margin:12px 0 11px;
    font-size:1.3rem;
  }
  .credit-premium .premium-balance-card>p{
    max-width:none;
    margin-top:10px;
    font-size:.5rem;
  }
  .credit-premium .premium-packs-section{padding:27px 1px 30px}
  .credit-premium .premium-section-heading{align-items:start}
  .credit-premium .premium-section-heading h2{font-size:1.4rem}
  .credit-premium .premium-section-heading>p{font-size:.46875rem;text-align:right}
  .credit-premium .premium-pack-grid{
    grid-template-columns:1fr!important;
    gap:10px!important;
    margin-top:17px!important;
  }
  .credit-premium .premium-credit-pack{
    min-height:0;
    padding:17px!important;
    border-radius:15px!important;
  }
  .credit-premium .premium-pack-heading .pack-title{font-size:.8125rem!important}
  .credit-premium .premium-pack-value{
    margin:22px 0 18px;
  }
  .credit-premium .premium-pack-questions strong{font-size:2.35rem}
  .credit-premium .premium-pack-price strong{font-size:1.25rem}
  .credit-premium .premium-razorpay-button,
  .credit-premium .premium-credit-pack.featured .premium-razorpay-button,
  .credit-premium .premium-credit-pack.selected-from-home .premium-razorpay-button{
    height:52px!important;
    padding:0 12px!important;
    grid-template-columns:28px minmax(0,1fr) auto!important;
  }
  .credit-premium .premium-pay-lock{width:28px;height:28px}
  .credit-premium .premium-pay-provider img{display:block!important;width:76px!important;max-width:76px}
  .credit-premium .premium-payment-assurance{
    grid-template-columns:38px minmax(0,1fr);
    gap:11px;
    padding:13px;
  }
  .credit-premium .premium-assurance-provider{
    grid-column:1/-1;
    grid-template-columns:auto auto;
    align-items:center;
    justify-content:end;
    gap:8px;
    padding:10px 0 0;
    border-left:0;
    border-top:1px solid rgba(255,255,255,.055);
  }
  .credit-premium .premium-assurance-provider>span{min-width:103px;height:31px}
  .credit-premium .premium-assurance-provider img{width:75px}
  .credit-premium .premium-proof-section{padding:31px 1px;gap:17px}
  .credit-premium .premium-proof-heading h2{font-size:1.35rem}
  .credit-premium .premium-proof-grid{grid-template-columns:1fr;border-radius:14px}
  .credit-premium .premium-proof-grid article{
    display:grid;
    grid-template-columns:31px 1fr;
    gap:12px;
    padding:15px;
    border-right:0;
    border-bottom:1px solid rgba(255,255,255,.06);
  }
  .credit-premium .premium-proof-grid article:last-child{border-bottom:0}
  .credit-premium .premium-proof-icon{margin:0}
  .credit-premium .premium-proof-grid p{margin-top:4px}
  .credit-premium .premium-faq-section{
    grid-template-columns:1fr;
    gap:12px;
    padding:30px 1px 34px;
  }
  .credit-premium .premium-faq-intro h2{font-size:1.35rem}
  .credit-premium .premium-faq-list summary{padding:13px 0!important}
}

@media(max-width:390px){
  .credit-premium .premium-credit-copy h1{font-size:2.25rem}
  .credit-premium .premium-trust-line{display:grid;grid-template-columns:1fr 1fr}
  .credit-premium .premium-trust-line span:last-child{grid-column:1/-1}
  .credit-premium .premium-section-heading{display:grid;gap:7px}
  .credit-premium .premium-section-heading>p{text-align:left}
  .credit-premium .premium-credit-pack{padding:15px!important}
  .credit-premium .premium-pack-questions strong{font-size:2.15rem}
  .credit-premium .premium-pack-footnote{gap:5px;font-size:.375rem}
  .credit-premium .premium-pay-provider img{width:68px!important;max-width:68px}
}

/* ========================================================================== 
   Astro Chat · Consultation feedback + drawer appearance control 2026-08-23
   UI/storage controls only; no consultation calculation or Gemini logic.
   ========================================================================== */
.consultation-feedback{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-top:22px;
  padding-top:14px;
  border-top:1px solid var(--ac-line);
}
.consultation-feedback-prompt{
  color:#666b72;
  font-size:.5625rem;
  font-weight:690;
  letter-spacing:.025em;
}
.consultation-feedback-controls{display:flex;align-items:center;gap:8px}
.consultation-feedback-button{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.10);
  border-radius:10px;
  background:#101215;
  color:#8d9299;
  cursor:pointer;
  transition:transform .16s ease,border-color .16s ease,background .16s ease,color .16s ease,opacity .16s ease;
}
.consultation-feedback-button svg{width:17px;height:17px;fill:currentColor}
.consultation-feedback-button:hover:not(:disabled){transform:translateY(-1px);border-color:rgba(93,29,30,.34);color:#f0f1f2}
.consultation-feedback-button.active{border-color:rgba(93,29,30,.55);background:rgba(93,29,30,.12);color:var(--ac-red)}
.consultation-feedback-button:disabled{cursor:default;opacity:.42}

.drawer-theme-footer{
  width:44px;
  height:44px;
  min-height:44px;
  margin:14px 20px max(16px,env(safe-area-inset-bottom));
  padding:0;
  display:grid;
  place-items:center;
  border:0;
  border-radius:0;
  background:transparent;
  color:#fff;
  text-align:center;
  cursor:pointer;
  box-shadow:none;
  -webkit-tap-highlight-color:transparent;
}
.drawer-theme-footer:hover,
.drawer-theme-footer:focus-visible{border:0;background:transparent;box-shadow:none}
.drawer-theme-bulb{
  width:26px;
  height:26px;
  display:grid;
  place-items:center;
  border:0;
  border-radius:0;
  background:transparent;
  color:inherit;
}
.drawer-theme-bulb svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.drawer-theme-footer[aria-pressed="true"] .drawer-theme-bulb{color:inherit;background:transparent}

/* Keep the progress rail visibly alive while the request is in flight. */
.consultation-card.pending .chat-processing-fill{position:relative;overflow:visible}
.consultation-card.pending .chat-processing-fill::after{
  content:"";
  position:absolute;
  top:-1px;
  right:-10px;
  width:18px;
  height:4px;
  border-radius:999px;
  background:rgba(93,29,30,.78);
  filter:blur(1px);
  animation:consultationProgressGlow 1.05s ease-in-out infinite;
}
@keyframes consultationProgressGlow{50%{opacity:.28;transform:scaleX(.55)}}

@media(max-width:720px){
  .consultation-feedback{margin-top:18px;padding-top:12px}
  .consultation-feedback-button{width:38px;height:38px}
  .drawer-theme-footer{margin-top:10px;margin-bottom:max(12px,env(safe-area-inset-bottom))}
}


/* ==========================================================================\n   Astro Chat · iPhone safe-area hardening\n   UI-only: keeps the authenticated masthead and drawer controls below the\n   iOS status/notch area while preserving the existing edge-to-edge viewport.\n   ========================================================================== */
@supports (padding-top: env(safe-area-inset-top)){
  @media(max-width:720px){
    .home-appbar{
      height:calc(101px + env(safe-area-inset-top))!important;
      flex-basis:calc(101px + env(safe-area-inset-top))!important;
      padding-top:env(safe-area-inset-top)!important;
    }
    .home-appbar::after{
      top:calc(57px + env(safe-area-inset-top))!important;
    }
    body.keyboard-open .home-appbar{
      height:calc(57px + env(safe-area-inset-top))!important;
      flex-basis:calc(57px + env(safe-area-inset-top))!important;
      padding-top:env(safe-area-inset-top)!important;
    }
    .drawer-brandbar{
      height:calc(68px + env(safe-area-inset-top))!important;
      padding-top:env(safe-area-inset-top)!important;
    }
    .chat-history-header{
      height:calc(68px + env(safe-area-inset-top))!important;
      flex-basis:calc(68px + env(safe-area-inset-top))!important;
      padding-top:env(safe-area-inset-top)!important;
    }
  }
}


/* Consultation processing meter: percentage only. Elapsed time lives in the bottom scan pill. */
.chat-processing-meter{display:flex;align-items:center;justify-content:flex-end;min-width:42px;line-height:1}
.chat-processing-meter .chat-processing-percent{display:block;color:var(--ac-red);font-size:.625rem;font-weight:790;font-variant-numeric:tabular-nums}
.chat-processing-timer{display:none!important}

/* KP single-line planetary marquee: consultation loading natal matrix only */
.chat-planet-marquee-scan{
  padding-bottom:0;
}
.chat-planet-marquee-scan .chat-analysis-scan-head em{
  white-space:nowrap;
}
.planet-marquee-viewport{
  position:relative;
  margin-top:10px;
  min-height:42px;
  display:flex;
  align-items:center;
  overflow:hidden;
  border-top:1px solid rgba(93,29,30,.13);
  border-bottom:1px solid rgba(93,29,30,.10);
  background:
    radial-gradient(circle at 18% 50%,rgba(93,29,30,.13),transparent 30%),
    linear-gradient(90deg,rgba(93,29,30,.055),rgba(255,255,255,.018),rgba(93,29,30,.045));
  background-size:180% 100%,100% 100%;
  box-shadow:inset 0 0 18px rgba(93,29,30,.045),0 0 22px rgba(93,29,30,.045);
  animation:planetMarqueeGlow 1.55s ease-in-out infinite;
}
.planet-marquee-viewport::before,
.planet-marquee-viewport::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  width:42px;
  z-index:2;
  pointer-events:none;
}
.planet-marquee-viewport::before{
  left:0;
  background:linear-gradient(90deg,#080a0c,rgba(8,10,12,0));
}
.planet-marquee-viewport::after{
  right:0;
  background:linear-gradient(270deg,#080a0c,rgba(8,10,12,0));
}
.planet-marquee-track{
  display:flex;
  align-items:center;
  gap:24px;
  width:max-content;
  padding:0 18px;
  will-change:transform;
  animation:planetMarquee var(--planet-marquee-duration,19s) linear infinite;
}
.planet-marquee-item{
  position:relative;
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  gap:7px;
  max-width:none;
  white-space:nowrap;
  color:#8d949d;
  font-size:.56rem;
  font-weight:640;
  line-height:1;
  opacity:.80;
  transition:opacity .18s ease,color .18s ease,filter .18s ease,transform .18s ease;
}
.planet-marquee-item::after{
  content:"";
  width:5px;
  height:5px;
  margin-left:15px;
  border-radius:50%;
  background:rgba(93,29,30,.88);
  box-shadow:0 0 10px rgba(93,29,30,.38),0 0 18px rgba(93,29,30,.12);
}
.planet-marquee-item i{
  width:24px;
  height:24px;
  display:grid;
  place-items:center;
  border-radius:10px;
  color:#f2f3ef;
  background:#111418;
  border:1px solid rgba(255,255,255,.07);
  font-style:normal;
  font-size:.94rem;
  line-height:1;
}
.planet-marquee-item strong{
  color:#f1f2ef;
  font-size:.61rem;
  font-weight:820;
  letter-spacing:-.01em;
}
.planet-marquee-item b{
  color:#a5abb2;
  font-size:.54rem;
  font-weight:700;
}
.planet-marquee-item em{
  color:#707781;
  font-size:.51rem;
  font-style:normal;
  font-weight:620;
}
.planet-marquee-item.is-studying{
  color:#f2f3ef;
  opacity:1;
  transform:translateY(-1px);
  filter:drop-shadow(0 0 10px rgba(93,29,30,.14));
}
.planet-marquee-item.is-studying i{
  color:#fff;
  background:rgba(93,29,30,.16);
  border-color:rgba(93,29,30,.55);
  box-shadow:0 0 0 3px rgba(93,29,30,.055),0 0 16px rgba(93,29,30,.16);
  animation:planetStudyGlyphPulse .72s ease-in-out infinite;
}
.planet-marquee-item.is-studying strong{
  color:#fff;
}

.planet-marquee-note{
  display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px;
  color:#656c75;font-size:.50rem;font-weight:680;letter-spacing:.055em;line-height:1.35;
}
.planet-marquee-note strong{
  flex:0 0 auto;
  min-width:58px;
  height:22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 10px;
  border-radius:999px;
  background:linear-gradient(135deg,rgba(93,29,30,.98),rgba(93,29,30,.92));
  border:1px solid rgba(255,255,255,.10);
  color:#fff;
  font-size:.52rem;
  font-weight:850;
  letter-spacing:.055em;
  font-variant-numeric:tabular-nums;
  box-shadow:0 0 0 1px rgba(93,29,30,.16),0 8px 18px rgba(93,29,30,.12);
}
@keyframes planetMarqueeGlow{
  0%,100%{background-position:0 0,0 0;box-shadow:inset 0 0 18px rgba(93,29,30,.04),0 0 18px rgba(93,29,30,.035)}
  50%{background-position:100% 0,0 0;box-shadow:inset 0 0 26px rgba(93,29,30,.08),0 0 28px rgba(93,29,30,.075)}
}
@keyframes planetStudyGlyphPulse{
  0%,100%{transform:scale(1);filter:none}
  50%{transform:scale(1.08);filter:brightness(1.12)}
}
@keyframes planetMarquee{
  0%{transform:translate3d(0,0,0)}
  100%{transform:translate3d(-50%,0,0)}
}
@media(max-width:640px){
  .planet-marquee-viewport{min-height:38px;margin-top:9px}
  .planet-marquee-track{gap:20px;padding:0 14px}
  .planet-marquee-item{gap:6px;font-size:.50rem}
  .planet-marquee-item i{width:22px;height:22px;border-radius:9px;font-size:.86rem}
  .planet-marquee-item strong{font-size:.56rem}
  .planet-marquee-item b{font-size:.49rem}
  .planet-marquee-item em{font-size:.47rem}
  .planet-marquee-item::after{margin-left:10px}
}
@media(prefers-reduced-motion:reduce){
  .planet-marquee-viewport,
  .planet-marquee-item.is-studying i{animation:none!important}
  .planet-marquee-track{animation:none!important;transform:none!important}
}

/* ========================================================================== 
   AstroChat · Sign-in premium alignment · v72 · 2026-09-05
   Presentation/copy only. Google OAuth mechanics and account persistence stay
   unchanged. The page now leads with the launch promise and removes internal
   session/console terminology from the customer-facing sign-in experience.
   ========================================================================== */
.auth-terminal-page{
  position:relative;
  isolation:isolate;
  overflow:hidden;
}
.auth-terminal-page::before{
  content:'';
  position:absolute;
  z-index:0;
  width:300px;
  height:300px;
  top:150px;
  right:-238px;
  border:1px solid rgba(255,255,255,.038);
  border-radius:50%;
  pointer-events:none;
}
.auth-terminal-header,
.auth-terminal-main,
.auth-chat-footer{position:relative;z-index:1}
.auth-terminal-brand.astrochat-logo-lockup{
  letter-spacing:.16em;
}
.auth-secure-label{
  color:#70747a;
  letter-spacing:.18em;
}
.auth-secure-label i{
  background:#5D1D1E;
  box-shadow:0 0 0 4px rgba(93,29,30,.05);
}
.auth-terminal-main{
  width:min(100%,450px);
  padding:30px 0 42px;
}
.auth-terminal-copy{
  max-width:450px;
}
.auth-terminal-copy h1{
  max-width:none;
  margin:0;
  font-size:clamp(3rem,12vw,3.55rem);
  line-height:.94;
  letter-spacing:-.064em;
  white-space:nowrap;
}
.auth-terminal-copy .auth-brand-promise{
  max-width:430px;
  margin:22px 0 0;
  color:#d2d4d7;
  font-size:.875rem;
  font-weight:560;
  line-height:1.5;
  letter-spacing:-.012em;
}
.auth-terminal-copy .auth-signin-description{
  max-width:420px;
  margin:14px 0 0;
  color:#858a91;
  font-size:.75rem;
  line-height:1.65;
  letter-spacing:-.004em;
}
.auth-google-zone{
  width:100%;
  max-width:420px;
  margin-top:38px;
}
.auth-google-zone .astro-google-button{
  height:58px;
  border-color:rgba(255,255,255,.14);
  background:#101113;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 8px 22px rgba(0,0,0,.15);
}
.auth-google-zone .astro-google-button:hover{
  background:#141517;
  border-color:rgba(255,255,255,.23);
}
.auth-google-zone .google-signin-mode-hint:empty{
  display:none;
}
.auth-google-zone .google-signin-mode-hint:not(:empty){
  margin:12px 0 0!important;
}
.auth-account-trust{
  margin:15px 0 0;
  color:#73787f;
  font-size:.59375rem;
  line-height:1.55;
  letter-spacing:.002em;
}
.auth-data-note{
  max-width:410px;
  margin:24px 0 0;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.055);
  color:#60656c;
  font-size:.59375rem;
  line-height:1.65;
}
.auth-data-note a{
  color:#a9adb2;
  font-weight:540;
  white-space:nowrap;
}
.auth-data-note a:hover{color:#5D1D1E}

@media(min-width:721px){
  .auth-terminal-page::before{
    width:390px;
    height:390px;
    top:170px;
    right:-300px;
  }
  .auth-terminal-main{
    width:min(100%,580px);
    padding:42px 0 54px;
  }
  .auth-terminal-copy{max-width:580px}
  .auth-terminal-copy h1{
    font-size:4.4rem;
  }
  .auth-terminal-copy .auth-brand-promise{
    max-width:520px;
    margin-top:25px;
    font-size:.9375rem;
  }
  .auth-terminal-copy .auth-signin-description{
    max-width:500px;
    margin-top:15px;
    font-size:.8125rem;
  }
  .auth-google-zone{
    width:420px;
    margin-top:44px;
  }
}

@media(max-width:720px){
  .auth-terminal-page::before{
    width:260px;
    height:260px;
    top:148px;
    right:-214px;
  }
  .auth-terminal-main{
    align-self:center;
    padding:26px 0 34px;
  }
  .auth-terminal-copy h1{
    font-size:clamp(2.82rem,11.9vw,3.3rem);
  }
  .auth-terminal-copy .auth-brand-promise{
    margin-top:20px;
    font-size:.8125rem;
    line-height:1.5;
  }
  .auth-terminal-copy .auth-signin-description{
    margin-top:12px;
    font-size:.71875rem;
    line-height:1.62;
  }
  .auth-google-zone{margin-top:34px}
}

@media(max-width:380px){
  .auth-terminal-copy h1{font-size:2.66rem}
  .auth-terminal-copy .auth-brand-promise{font-size:.78125rem}
  .auth-terminal-copy .auth-signin-description{font-size:.6875rem}
  .auth-google-zone{margin-top:30px}
}

@media(max-width:340px){
  .auth-terminal-copy h1{
    font-size:2.48rem;
    white-space:normal;
  }
}

@media(max-height:720px) and (max-width:720px){
  .auth-terminal-main{align-self:start;padding-top:28px}
  .auth-terminal-copy h1{font-size:2.5rem}
  .auth-terminal-copy .auth-brand-promise{margin-top:16px}
  .auth-terminal-copy .auth-signin-description{margin-top:9px}
  .auth-google-zone{margin-top:24px}
  .auth-account-trust{margin-top:11px}
  .auth-data-note{margin-top:15px;padding-top:13px}
}

/* --------------------------------------------------------------------------
   v73 · Birth chart setup refinement
   Keeps the workflow intact while aligning the editor with AstroChat's
   restrained celestial guidance language.
   -------------------------------------------------------------------------- */
.premium-profile-editor{
  --profile-accent:#5D1D1E;
  --profile-accent-strong:#5D1D1E;
  --profile-accent-soft:rgba(93,29,30,.08);
}
.premium-profile-editor .premium-profile-head>div>small{color:var(--profile-accent)}
.premium-profile-editor .profile-step{
  width:28px;height:28px;border-radius:8px;
  background:var(--profile-accent-soft);color:var(--profile-accent);
  border:1px solid rgba(93,29,30,.08);
}
.premium-profile-editor .profile-block-heading{grid-template-columns:32px 1fr;gap:12px;margin-bottom:17px}
.premium-profile-editor .profile-form-block{padding:27px 0}
.premium-profile-editor .profile-block-heading strong{font-size:.84rem;letter-spacing:-.018em}
.premium-profile-editor .profile-block-heading small{margin-top:3px;line-height:1.5}

/* Identity and location stay as clear entry surfaces; moment fields become
   flatter, more editorial rows rather than nested cards. */
.premium-profile-editor .premium-input-shell{
  min-height:64px;border-radius:14px;
}
.premium-profile-editor .premium-field-icon{
  background:transparent;border:1px solid var(--ac-line-strong);
}
.premium-profile-editor .no-leading-icon{grid-template-columns:1fr;padding-left:16px;padding-right:16px}
.premium-profile-editor .birth-moment-grid{gap:18px}
.premium-profile-editor .premium-picker-card{
  padding:10px 0 12px;border:0;border-bottom:1px solid var(--ac-line-strong);
  border-radius:0;background:transparent;box-shadow:none;
  transition:border-color .18s ease;
}
.premium-profile-editor .premium-picker-card:focus-within{border-color:rgba(93,29,30,.55)}
.premium-profile-editor .picker-card-top{display:block}
.premium-profile-editor .picker-card-top>div{gap:2px}
.premium-profile-editor .picker-card-top small{line-height:1.4}
.premium-profile-editor .picker-control-row{
  grid-template-columns:minmax(0,1fr) 38px;gap:8px;margin-top:9px;
}
.premium-profile-editor .premium-picker-card input{
  height:38px!important;min-width:0;font-size:1.28rem!important;
  font-variant-numeric:tabular-nums;letter-spacing:-.025em;
}
.premium-profile-editor .premium-picker-card input::-webkit-calendar-picker-indicator{
  opacity:0!important;width:0!important;height:0!important;margin:0!important;padding:0!important;
}
.premium-profile-editor .native-picker-trigger{
  width:36px;height:36px;border-radius:10px;background:transparent;
  color:#a2a6ab;border:1px solid var(--ac-line-strong);
  display:grid;place-items:center;transition:border-color .18s ease,color .18s ease,background .18s ease;
}
.premium-profile-editor .native-picker-trigger:hover,
.premium-profile-editor .native-picker-trigger:focus-visible{
  color:var(--profile-accent);border-color:rgba(93,29,30,.42);background:rgba(93,29,30,.035);
}
.premium-profile-editor .calendar-glyph,
.premium-profile-editor .clock-glyph{display:block;position:relative;width:17px;height:17px;color:currentColor}
.premium-profile-editor .calendar-glyph::before{
  content:"";position:absolute;left:1px;right:1px;top:3px;bottom:1px;
  border:1.5px solid currentColor;border-radius:3px;
}
.premium-profile-editor .calendar-glyph::after{
  content:"";position:absolute;left:3px;right:3px;top:6px;height:1.5px;
  background:currentColor;box-shadow:3px -5px 0 -0.25px currentColor,9px -5px 0 -0.25px currentColor;
}
.premium-profile-editor .clock-glyph{border:1.5px solid currentColor;border-radius:50%}
.premium-profile-editor .clock-glyph::before{
  content:"";position:absolute;width:1.5px;height:5px;left:7px;top:3px;background:currentColor;border-radius:2px;
  transform-origin:50% 100%;
}
.premium-profile-editor .clock-glyph::after{
  content:"";position:absolute;width:4px;height:1.5px;left:7px;top:7px;background:currentColor;border-radius:2px;
  transform:rotate(24deg);transform-origin:0 50%;
}

.premium-profile-editor .location-precision{margin-top:12px}
.premium-profile-editor .location-precision summary{padding:15px 2px}
.premium-profile-editor .location-summary-icon{color:var(--profile-accent);font-size:.76rem}
.premium-profile-editor .location-summary-chevron{transition:transform .18s ease}
.premium-profile-editor .location-precision[open] .location-summary-chevron{transform:rotate(180deg)}

.premium-profile-editor .profile-editor-actions{padding-top:30px}
.premium-profile-editor .action-status-dot{background:var(--profile-accent)}
.premium-profile-editor .profile-save{
  min-height:50px;padding:0 21px;border-radius:13px;
  background:var(--profile-accent-strong);color:#fff;
  box-shadow:none;border:1px solid rgba(94,15,8,.14);
  transition:transform .16s ease,background .16s ease,border-color .16s ease;
}
.premium-profile-editor .profile-save:hover{background:#5D1D1E}
.premium-profile-editor .profile-save:active{transform:translateY(1px)}
.premium-profile-editor .profile-save:disabled{opacity:.65;transform:none}
.premium-profile-editor .profile-save b{font-size:1rem;font-weight:500}

@media(max-width:720px){
  .premium-profile-editor .profile-editor-card{padding:24px 24px max(36px,env(safe-area-inset-bottom))}
  .premium-profile-editor .profile-editor-head{padding-bottom:24px}
  .premium-profile-editor .profile-editor-head h2{font-size:1.9rem;line-height:1.08;margin-top:8px}
  .premium-profile-editor .profile-editor-head p{margin-top:8px;max-width:32rem;font-size:.72rem;line-height:1.55}
  .premium-profile-editor .profile-form-block{padding:30px 0}
  .premium-profile-editor .birth-moment-grid{gap:8px}
  .premium-profile-editor .premium-picker-card{padding:12px 0 14px}
  .premium-profile-editor .premium-input-shell{min-height:68px}
  .premium-profile-editor .premium-field-main input{font-size:1.13rem}
  .premium-profile-editor .profile-save{min-height:54px;font-size:1rem;letter-spacing:-.01em}
  .premium-profile-editor .profile-status-card{margin-top:14px;min-height:0;line-height:1.45}
}

/* --------------------------------------------------------------------------
   v74 · Compact birth chart setup
   Mobile-first density pass: who / when / where stays visible as one guided
   action, with the primary CTA using the celestial pill language from splash.
   -------------------------------------------------------------------------- */
.premium-profile-editor{
  --profile-v74-edge:rgba(93,29,30,.28);
}
.premium-profile-editor .profile-editor-head{padding-bottom:18px}
.premium-profile-editor .profile-editor-head h2{margin-top:6px}
.premium-profile-editor .profile-form-block{padding:18px 0}
.premium-profile-editor .profile-block-heading{
  grid-template-columns:26px 1fr;gap:10px;margin-bottom:11px;align-items:start;
}
.premium-profile-editor .profile-step{
  width:24px;height:24px;border-radius:7px;font-size:.46rem;
}
.premium-profile-editor .profile-block-heading strong{font-size:.78rem;line-height:1.22}
.premium-profile-editor .profile-block-heading small{font-size:.52rem;line-height:1.35;margin-top:2px}
.premium-profile-editor .premium-input-shell{
  min-height:56px;border-radius:13px;padding-top:6px;padding-bottom:6px;
}
.premium-profile-editor .premium-field-icon{width:30px;height:30px;border-radius:9px}
.premium-profile-editor .premium-field-main label,
.premium-profile-editor .premium-picker-card label{font-size:.47rem}
.premium-profile-editor .premium-field-main input{height:28px;font-size:1rem!important}
.premium-profile-editor .birth-moment-grid{
  grid-template-columns:minmax(0,1.16fr) minmax(0,.84fr);gap:10px;
}
.premium-profile-editor .premium-picker-card{
  min-width:0;padding:8px 10px 9px;border:1px solid var(--ac-line-strong);border-radius:12px;background:rgba(255,255,255,.012);
}
.premium-profile-editor .picker-control-row{
  grid-template-columns:minmax(0,1fr) 30px;gap:5px;margin-top:5px;
}
.premium-profile-editor .premium-picker-card input{
  height:30px!important;font-size:1.05rem!important;letter-spacing:-.035em;
}
.premium-profile-editor .native-picker-trigger{
  width:30px;height:30px;border-radius:9px;
}
.premium-profile-editor .calendar-glyph,
.premium-profile-editor .clock-glyph{width:15px;height:15px}
.premium-profile-editor .location-precision{margin-top:7px}
.premium-profile-editor .location-precision summary{
  min-height:42px;padding:8px 2px;grid-template-columns:22px 1fr auto;gap:8px;
}
.premium-profile-editor .location-precision summary strong{font-size:.58rem}
.premium-profile-editor .location-precision summary small{font-size:.46rem}
.premium-profile-editor .profile-editor-actions{
  padding-top:18px;
}
.premium-profile-editor .profile-save{
  position:relative;width:min(100%,430px);min-height:54px;padding:0 12px 0 10px;
  display:flex;align-items:center;justify-content:space-between;gap:11px;
  border:1px solid rgba(93,29,30,.38);border-radius:999px;
  background:linear-gradient(135deg,rgba(93,29,30,.06),rgba(255,255,255,.025) 52%,rgba(93,29,30,.045));
  color:#f5f5f2;box-shadow:0 14px 32px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.055);
  overflow:hidden;backdrop-filter:blur(16px) saturate(115%);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.premium-profile-editor .profile-save::before{
  content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:radial-gradient(circle at 16% 50%,rgba(93,29,30,.14),transparent 31%),linear-gradient(90deg,transparent 0%,rgba(255,255,255,.035) 50%,transparent 100%);
  opacity:.48;transform:translateX(-44%);animation:profileSaveSheen 4.2s ease-in-out infinite;
}
.premium-profile-editor .profile-save>*{position:relative;z-index:1}
.premium-profile-editor .profile-save:hover{
  background:linear-gradient(135deg,rgba(93,29,30,.075),rgba(255,255,255,.03) 52%,rgba(93,29,30,.055));
  border-color:rgba(93,29,30,.58);transform:translateY(-1px);
  box-shadow:0 17px 38px rgba(0,0,0,.28),0 0 18px rgba(93,29,30,.06),inset 0 1px 0 rgba(255,255,255,.07);
}
.premium-profile-editor .profile-save:active{transform:translateY(1px) scale(.992)}
.premium-profile-editor .profile-save:disabled{opacity:.58;transform:none}
.premium-profile-editor .profile-save-orb{
  flex:0 0 auto;position:relative;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;
  background:rgba(93,29,30,.06);border:1px solid rgba(93,29,30,.25);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.03),0 0 13px rgba(93,29,30,.055);
}
.premium-profile-editor .profile-save-orb::before{
  content:"";position:absolute;inset:8px;border:1px solid rgba(255,255,255,.29);border-radius:50%;
}
.premium-profile-editor .profile-save-orb i{
  width:7px;height:7px;border-radius:50%;display:block;background:var(--profile-accent);
  box-shadow:0 0 0 5px rgba(93,29,30,.09),0 0 14px rgba(93,29,30,.27);
  animation:profileSaveBindu 1.8s ease-in-out infinite;
}
.premium-profile-editor .profile-save-label{
  flex:1 1 auto;min-width:0;text-align:left;color:#f5f5f2;font-size:.72rem;font-weight:830;
  letter-spacing:.07em;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.premium-profile-editor .profile-save-arrow{
  flex:0 0 auto;width:25px;height:25px;border-radius:50%;display:grid;place-items:center;
  background:rgba(93,29,30,.11);color:#fff;font-size:.94rem;font-weight:760;line-height:1;
}
.premium-profile-editor .profile-status-card:empty{display:none}
@keyframes profileSaveSheen{
  0%,38%{transform:translateX(-44%);opacity:.20}62%{opacity:.46}100%{transform:translateX(44%);opacity:.20}
}
@keyframes profileSaveBindu{0%,100%{transform:scale(1);opacity:.86}50%{transform:scale(1.16);opacity:1}}

@media(max-width:720px){
  .premium-profile-editor .profile-editor-card{
    padding:16px 18px 104px;height:100dvh;overflow:auto;overscroll-behavior:contain;
  }
  .premium-profile-editor .profile-editor-head{padding-bottom:15px}
  .premium-profile-editor .profile-editor-head h2{font-size:1.72rem;line-height:1.02;margin-top:5px}
  .premium-profile-editor .profile-editor-head p{margin-top:7px;font-size:.65rem;line-height:1.42;max-width:29rem}
  .premium-profile-editor .profile-form-block{padding:15px 0}
  .premium-profile-editor .profile-block-heading{margin-bottom:9px}
  .premium-profile-editor .premium-input-shell{min-height:54px}
  .premium-profile-editor .premium-field-main input{font-size:1.03rem!important}
  .premium-profile-editor .birth-moment-grid{grid-template-columns:minmax(0,1.16fr) minmax(0,.84fr);gap:8px}
  .premium-profile-editor .premium-picker-card{padding:8px 8px 9px}
  .premium-profile-editor .premium-picker-card input{font-size:.98rem!important}
  .premium-profile-editor .picker-control-row{grid-template-columns:minmax(0,1fr) 28px;gap:3px}
  .premium-profile-editor .native-picker-trigger{width:28px;height:28px}
  .premium-profile-editor .location-precision summary{min-height:38px;padding:6px 2px}
  .premium-profile-editor .profile-editor-actions{
    position:fixed;z-index:1215;left:18px;right:18px;bottom:max(10px,env(safe-area-inset-bottom));
    padding:0;display:flex;justify-content:center;pointer-events:none;
  }
  .premium-profile-editor .profile-save{
    width:100%;max-width:520px;min-height:54px;pointer-events:auto;
    box-shadow:0 14px 36px rgba(0,0,0,.32),inset 0 1px 0 rgba(255,255,255,.055);
  }
  .premium-profile-editor .err{margin-bottom:8px}
  body.keyboard-open .premium-profile-editor .profile-editor-actions{display:none}
}

@media(max-width:380px){
  .premium-profile-editor .profile-editor-card{padding-left:15px;padding-right:15px}
  .premium-profile-editor .profile-editor-head h2{font-size:1.58rem}
  .premium-profile-editor .birth-moment-grid{grid-template-columns:1fr 0.78fr;gap:7px}
  .premium-profile-editor .premium-picker-card input{font-size:.9rem!important}
  .premium-profile-editor .profile-editor-actions{left:15px;right:15px}
}

/* ═══════════════════════════════════════════════════════════════
   v75 · Premium chart preparation
   Keep the calculation visible, but present it as guidance rather
   than developer telemetry. Reuses AstroChat's celestial CTA language.
   ═══════════════════════════════════════════════════════════════ */
.natal-engine-shell{
  grid-template-rows:auto minmax(0,1fr);
  padding:max(30px,calc(env(safe-area-inset-top) + 18px)) clamp(22px,5vw,34px) max(24px,calc(env(safe-area-inset-bottom) + 16px));
}
.natal-engine-header{
  justify-content:flex-start;
  min-height:34px;
  font-size:.69rem;
  letter-spacing:.145em;
}
.natal-engine-header .telemetry-brand{gap:10px}
.natal-engine-header .telemetry-brand img{width:29px;height:29px}
.natal-engine-header .telemetry-brand b{color:#f3f3f1;font-weight:820;letter-spacing:.16em}
.natal-engine-main{
  padding-top:clamp(44px,7vh,68px);
  padding-bottom:18px;
  overflow-y:auto;
}
.natal-engine-progress>small{
  margin-bottom:10px;
  color:#8d9096;
  font-size:.61rem;
  font-weight:790;
  letter-spacing:.16em;
}
.natal-engine-percent{gap:3px}
.natal-engine-percent strong{
  font-size:clamp(3.7rem,12.5vw,5.35rem);
  font-weight:735;
  letter-spacing:-.065em;
  font-variant-numeric:tabular-nums;
}
.natal-engine-percent span{
  font-size:clamp(1.35rem,4.3vw,1.9rem);
  font-weight:710;
  color:#e5e5e2;
}
.natal-engine-track{
  position:relative;
  height:3px;
  margin-top:18px;
  overflow:hidden;
  border-radius:999px;
  background:#202226;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.018);
}
.natal-engine-track>i{
  position:absolute;
  inset:0 auto 0 0;
  width:0;
  border-radius:inherit;
  background:var(--ac-red);
  box-shadow:0 0 13px rgba(93,29,30,.18);
  transition:width .045s linear;
}
.natal-engine-track>i::after{
  content:"";
  position:absolute;
  top:0;right:-18px;
  width:36px;height:100%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.56),transparent);
  opacity:.45;
}
.natal-engine-stages{
  margin-top:clamp(34px,5vh,46px);
  border-top:1px solid #202226;
}
.natal-engine-stage{
  min-height:70px;
  padding:13px 0;
  gap:18px;
  border-bottom:1px solid #202226;
}
.natal-engine-stage>div{gap:5px}
.natal-engine-stage strong{
  color:#8d9096;
  font-size:.65rem;
  font-weight:780;
  letter-spacing:.115em;
  line-height:1.25;
}
.natal-engine-stage small{
  color:#62666d;
  font-size:.62rem;
  line-height:1.38;
}
.natal-engine-stage>span{
  width:24px;
  text-align:center;
  color:#555960;
  font-size:.78rem;
  font-weight:800;
  letter-spacing:0;
}
.natal-engine-stage.running strong{color:#f4f4f2}
.natal-engine-stage.running small{color:#8d9096}
.natal-engine-stage.running>span{color:var(--ac-red);animation:natalStageBreathe 1s ease-in-out infinite}
.natal-engine-stage.ready strong{color:#b7b9be}
.natal-engine-stage.ready small{color:#777b82}
.natal-engine-stage.ready>span{color:#f0f0ed;animation:none}
.natal-engine-complete{
  margin-top:clamp(30px,4.5vh,42px);
  padding-top:0;
  border-top:0;
  grid-template-columns:1fr;
  align-items:stretch;
  gap:22px;
}
.natal-engine-complete>div{gap:7px}
.natal-engine-complete>div>small{
  color:#777b82;
  font-size:.52rem;
  font-weight:790;
  letter-spacing:.15em;
  text-transform:uppercase;
}
.natal-engine-complete>div>strong{
  color:#f7f7f4;
  font-size:clamp(1.42rem,4.7vw,1.8rem);
  font-weight:760;
  line-height:1.05;
  letter-spacing:-.035em;
}
.natal-engine-complete>div>span{
  max-width:520px;
  color:#8b8e94;
  font-size:.69rem;
  line-height:1.55;
}
.natal-engine-complete .natal-engine-cta{
  position:relative;
  width:min(100%,480px);
  min-width:0;
  min-height:56px;
  height:auto;
  padding:0 12px 0 10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border:1px solid rgba(93,29,30,.42);
  border-radius:999px;
  background:linear-gradient(135deg,rgba(93,29,30,.065),rgba(255,255,255,.024) 54%,rgba(93,29,30,.045));
  color:#f5f5f2;
  box-shadow:0 15px 34px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.055);
  overflow:hidden;
  cursor:pointer;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.natal-engine-complete .natal-engine-cta::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  background:radial-gradient(circle at 15% 50%,rgba(93,29,30,.15),transparent 30%),linear-gradient(90deg,transparent 0%,rgba(255,255,255,.035) 50%,transparent 100%);
  opacity:.48;
  transform:translateX(-44%);
  animation:natalCtaSheen 4.2s ease-in-out infinite;
}
.natal-engine-complete .natal-engine-cta>*{position:relative;z-index:1}
.natal-engine-complete .natal-engine-cta:hover{
  background:linear-gradient(135deg,rgba(93,29,30,.08),rgba(255,255,255,.03) 54%,rgba(93,29,30,.06));
  border-color:rgba(93,29,30,.62);
  transform:translateY(-1px);
  box-shadow:0 18px 38px rgba(0,0,0,.30),0 0 18px rgba(93,29,30,.06),inset 0 1px 0 rgba(255,255,255,.07);
}
.natal-engine-complete .natal-engine-cta:active{transform:translateY(1px) scale(.992)}
.natal-engine-cta-orb{
  flex:0 0 auto;
  position:relative;
  width:35px;height:35px;
  border-radius:50%;
  display:grid;place-items:center;
  background:rgba(93,29,30,.065);
  border:1px solid rgba(93,29,30,.26);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.03),0 0 14px rgba(93,29,30,.06);
}
.natal-engine-cta-orb::before{
  content:"";
  position:absolute;
  inset:8px;
  border:1px solid rgba(255,255,255,.30);
  border-radius:50%;
}
.natal-engine-cta-orb i{
  width:7px;height:7px;
  border-radius:50%;
  background:var(--ac-red);
  box-shadow:0 0 0 5px rgba(93,29,30,.09),0 0 14px rgba(93,29,30,.28);
  animation:natalCtaBindu 1.8s ease-in-out infinite;
}
.natal-engine-cta-label{
  flex:1 1 auto;
  min-width:0;
  text-align:left;
  color:#f5f5f2!important;
  font-size:.69rem!important;
  font-weight:830!important;
  letter-spacing:.09em!important;
  line-height:1!important;
  text-transform:uppercase;
  white-space:nowrap;
}
.natal-engine-cta-arrow{
  flex:0 0 auto;
  width:27px;height:27px;
  border-radius:50%;
  display:grid;place-items:center;
  background:rgba(93,29,30,.12);
  color:#fff!important;
  font-size:.96rem!important;
  font-weight:760!important;
  line-height:1!important;
}
@keyframes natalStageBreathe{0%,100%{opacity:.45}50%{opacity:1}}
@keyframes natalCtaSheen{0%,38%{transform:translateX(-44%);opacity:.20}62%{opacity:.46}100%{transform:translateX(44%);opacity:.20}}
@keyframes natalCtaBindu{0%,100%{transform:scale(1);opacity:.86}50%{transform:scale(1.16);opacity:1}}

@media(max-width:720px){
  .natal-engine-shell{
    padding:max(22px,calc(env(safe-area-inset-top) + 13px)) 20px max(18px,calc(env(safe-area-inset-bottom) + 11px));
  }
  .natal-engine-header{font-size:.67rem}
  .natal-engine-header .telemetry-brand img{width:27px;height:27px}
  .natal-engine-main{padding-top:clamp(36px,5.5vh,48px);padding-bottom:10px}
  .natal-engine-progress>small{font-size:.61rem;margin-bottom:8px}
  .natal-engine-percent strong{font-size:clamp(3.75rem,18vw,4.65rem)}
  .natal-engine-percent span{font-size:1.5rem}
  .natal-engine-track{margin-top:14px}
  .natal-engine-stages{margin-top:28px}
  .natal-engine-stage{min-height:62px;padding:10px 0}
  .natal-engine-stage strong{font-size:.64rem}
  .natal-engine-stage small{font-size:.60rem}
  .natal-engine-complete{margin-top:26px;gap:18px}
  .natal-engine-complete>div>strong{font-size:1.45rem}
  .natal-engine-complete>div>span{font-size:.66rem}
  .natal-engine-complete .natal-engine-cta{width:100%;min-height:54px}
}

@media(max-height:700px) and (max-width:720px){
  .natal-engine-main{padding-top:24px}
  .natal-engine-percent strong{font-size:3.8rem}
  .natal-engine-track{margin-top:11px}
  .natal-engine-stages{margin-top:20px}
  .natal-engine-stage{min-height:56px;padding:8px 0}
  .natal-engine-complete{margin-top:20px;gap:14px}
  .natal-engine-complete>div>span{line-height:1.42}
}

/* ========================================================================== 
   AstroChat v76 · Premium home workspace + navigation hierarchy
   UI-only. The planetary grid and all chart/consultation calculations are untouched.
   ========================================================================== */

/* Home: one product promise, one quiet celestial focal point. */
.home-brand-lockup strong{
  letter-spacing:.045em!important;
  font-weight:790!important;
}
body.chat-empty .home-guidance-hero{
  padding-top:clamp(14px,2.8vh,26px)!important;
  padding-bottom:10px!important;
}
.guidance-orb-wrap{
  width:46px!important;
  height:46px!important;
  margin-bottom:11px!important;
}
.guidance-orb-wrap::before{
  content:"";
  position:absolute;
  inset:7px;
  border:1px solid rgba(93,29,30,.14);
  border-radius:50%;
}
.guidance-orb-halo{
  inset:0!important;
  border:1px solid rgba(93,29,30,.24)!important;
  background:transparent!important;
  box-shadow:none!important;
}
.guidance-orb-halo::before{
  content:"";
  position:absolute;
  left:50%;
  top:-3px;
  width:5px;
  height:5px;
  margin-left:-2.5px;
  border-radius:50%;
  background:var(--ac-red);
  box-shadow:0 0 9px rgba(93,29,30,.28);
  transform-origin:2.5px 26px;
  animation:homeGuidanceOrbit 9s linear infinite;
}
.guidance-orb-shadow{
  inset:13px!important;
  width:auto!important;
  height:auto!important;
  right:13px!important;
  top:13px!important;
  border:1px solid rgba(255,255,255,.13)!important;
  background:transparent!important;
  box-shadow:none!important;
}
.guidance-orb{
  inset:18px!important;
  background:var(--ac-red)!important;
  box-shadow:0 0 0 5px rgba(93,29,30,.075),0 0 16px rgba(93,29,30,.18)!important;
}
.guidance-greeting{
  margin:0 0 7px!important;
  color:#8c9096!important;
  font-size:.72rem!important;
  line-height:1.2!important;
}
.guidance-title{
  max-width:520px!important;
  font-size:clamp(2.15rem,5vw,3.3rem)!important;
  line-height:.98!important;
  letter-spacing:-.055em!important;
}
.guidance-subtitle{
  max-width:480px;
  margin:10px 0 0;
  color:#777c83;
  font-size:.75rem;
  line-height:1.48;
  letter-spacing:-.012em;
}
.composer-question-balance{
  color:#737880!important;
  font-size:.665rem!important;
}
.composer-question-balance b{
  color:#cfd1d4!important;
  font-weight:720!important;
}
.composer-character-count{
  color:#666b72!important;
}
@keyframes homeGuidanceOrbit{to{transform:rotate(360deg)}}

/* Drawer: explicit hierarchy around the three things that matter: chart, questions, actions. */
.drawer-section-label{
  margin:9px 20px 2px;
  color:#5f646b;
  font-size:.46rem;
  font-weight:800;
  line-height:1;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.drawer-section-label-stack{
  margin:12px 0 3px!important;
}
.drawer-section-label-about{
  margin:0 0 7px!important;
}
.drawer-chart-copy{
  min-width:0;
  display:grid;
}
.drawer-active-meta{
  display:block;
  min-width:0;
  margin-top:5px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#696e75;
  font-size:.57rem;
  font-weight:520;
  line-height:1.25;
}
.drawer-credit-card{
  min-height:82px!important;
  align-items:center!important;
}
.drawer-credit-copy strong{
  margin-top:7px!important;
  font-size:1.12rem!important;
}
.drawer-credit-add{
  min-width:108px!important;
  color:#dfe1e4!important;
}
.drawer-accordion-stack{
  padding-bottom:0!important;
}
.drawer-accordion summary{
  min-height:52px!important;
}
.drawer-utility-row{
  padding-top:14px!important;
}
.drawer-utility-links{
  display:flex!important;
  align-items:center;
  gap:20px!important;
  margin-top:3px!important;
  padding-left:45px!important;
}
.drawer-utility-links .drawer-utility-icon{
  width:auto!important;
  height:30px!important;
  min-width:0!important;
  justify-content:flex-start!important;
  gap:7px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#6d7279!important;
}
.drawer-utility-links .drawer-utility-icon:hover,
.drawer-utility-links .drawer-utility-icon:focus-visible{
  border:0!important;
  background:transparent!important;
  color:#cfd1d4!important;
}
.drawer-utility-links .drawer-utility-icon span{
  font-size:.625rem!important;
  font-weight:620!important;
}
.drawer-utility-links .drawer-utility-icon svg{
  width:12px!important;
  height:12px!important;
}

/* Keep the existing bulb exactly as the appearance switcher, just align its spacing. */
.drawer-theme-footer{
  flex:0 0 auto;
  margin-top:2px!important;
}

/* Legal links live in About instead of consuming the primary consultation viewport. */
.about-legal-links{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  margin-top:14px;
  padding-top:13px;
  border-top:1px solid var(--ac-line);
}
.about-legal-links a{
  color:#666b72;
  font-size:.58rem;
  font-weight:600;
  text-decoration:none;
}
.about-legal-links a:hover,
.about-legal-links a:focus-visible{color:#bfc2c6}

@media(max-width:720px){
  body.chat-empty .home-guidance-hero{
    padding-top:12px!important;
    padding-bottom:7px!important;
  }
  .guidance-orb-wrap{
    width:42px!important;
    height:42px!important;
    margin-bottom:8px!important;
  }
  .guidance-orb-wrap::before{inset:7px}
  .guidance-orb-halo::before{transform-origin:2.5px 24px}
  .guidance-orb-shadow{inset:12px!important;right:12px!important;top:12px!important}
  .guidance-orb{inset:17px!important}
  .guidance-greeting{margin-bottom:5px!important;font-size:.69rem!important}
  .guidance-title{font-size:2.05rem!important;max-width:330px!important}
  .guidance-subtitle{max-width:330px;margin-top:7px;font-size:.68rem;line-height:1.4}
  .drawer-section-label{margin-left:16px;margin-right:16px}
  .drawer-section-label-stack{margin-left:0!important;margin-right:0!important}
  .drawer-utility-links{padding-left:42px!important;gap:18px!important}
}

@media(max-height:700px) and (max-width:720px){
  body.chat-empty .home-guidance-hero{padding-top:7px!important;padding-bottom:4px!important}
  .guidance-orb-wrap{width:36px!important;height:36px!important;margin-bottom:5px!important}
  .guidance-orb-halo::before{transform-origin:2.5px 21px}
  .guidance-orb-shadow{inset:10px!important;right:10px!important;top:10px!important}
  .guidance-orb{inset:15px!important}
  .guidance-title{font-size:1.86rem!important}
  .guidance-subtitle{margin-top:5px;font-size:.64rem}
}

@media(prefers-reduced-motion:reduce){
  .guidance-orb-halo::before{animation:none!important}
}

/* ========================================================================== 
   AstroChat v77 · Home bindu + compact workspace footer
   UI-only correction. Planetary-grid markup/runtime/styles remain untouched.
   ========================================================================== */

/* The header already owns the orbital brand mark. The hero uses a single bindu
   so the focal symbol reads as guidance, not as a duplicated logo. */
.guidance-bindu-wrap{
  position:relative;
  width:42px;
  height:42px;
  margin-bottom:11px;
  display:grid;
  place-items:center;
}
.guidance-bindu-wrap::before{
  content:"";
  position:absolute;
  width:34px;
  height:34px;
  border-radius:50%;
  background:#070809;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 9px 24px rgba(0,0,0,.34),0 0 0 1px rgba(93,29,30,.035);
}
.guidance-bindu{
  position:relative;
  z-index:1;
  width:22px;
  height:22px;
  border-radius:50%;
  background:radial-gradient(circle at 38% 32%,#5D1D1E 0 12%,#5D1D1E 34%,#5D1D1E 72%,#461516 100%);
  box-shadow:0 0 0 4px rgba(93,29,30,.075),0 0 16px rgba(93,29,30,.14);
  animation:guidanceBinduBreath 3.4s ease-in-out infinite;
}
@keyframes guidanceBinduBreath{
  0%,100%{transform:scale(1);box-shadow:0 0 0 4px rgba(93,29,30,.07),0 0 14px rgba(93,29,30,.12)}
  50%{transform:scale(1.045);box-shadow:0 0 0 5px rgba(93,29,30,.085),0 0 18px rgba(93,29,30,.17)}
}

/* Restore ownership/legal context without turning the workspace into a project footer. */
.workspace-home-footer{
  flex:0 0 auto;
  min-height:36px;
  padding:7px clamp(14px,3vw,28px) max(7px,env(safe-area-inset-bottom));
  border-top:1px solid var(--ac-line);
  background:rgba(5,6,7,.96);
  color:#5f646b;
  font-size:.54rem;
  line-height:1.2;
  backdrop-filter:blur(16px) saturate(120%);
}
.workspace-home-footer-inner{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  white-space:nowrap;
}
.workspace-home-footer a{
  color:#6f747b;
  text-decoration:none;
  transition:color .16s ease;
}
.workspace-home-footer a:hover,
.workspace-home-footer a:focus-visible{color:#c8cacf}
.workspace-home-footer nav{display:flex;align-items:center;gap:11px}
.workspace-footer-credit>a{font-weight:680}
body.daily-horoscope-open .workspace-home-footer,
body.profile-editing .workspace-home-footer,
body.keyboard-open .workspace-home-footer{display:none}

@media(max-width:720px){
  .guidance-bindu-wrap{width:38px;height:38px;margin-bottom:8px}
  .guidance-bindu-wrap::before{width:31px;height:31px}
  .guidance-bindu{width:20px;height:20px}
  .workspace-home-footer{min-height:34px;padding:6px 10px max(6px,env(safe-area-inset-bottom));font-size:.51rem}
  .workspace-home-footer-inner{gap:11px}
  .workspace-home-footer nav{gap:9px}
}
@media(max-width:390px){
  .workspace-home-footer{font-size:.485rem}
  .workspace-home-footer-inner{gap:8px}
  .workspace-home-footer nav{gap:7px}
}
@media(prefers-reduced-motion:reduce){
  .guidance-bindu{animation:none!important}
}

/* v80 · Gemini-only question gate: multiple intents require one explicit choice. */
.question-split-list{display:grid;gap:8px;padding-left:0;list-style:none}
.question-split-list li{margin:0}
.question-split-choice{display:flex;align-items:flex-start;gap:11px;width:100%;padding:12px 13px;border:1px solid var(--ac-line);border-radius:12px;background:#101215;cursor:pointer;transition:border-color .16s ease,background .16s ease,transform .16s ease}
.question-split-choice:has(input:checked){border-color:var(--ac-red);background:var(--ac-red-soft);transform:translateY(-1px)}
.question-split-choice input{margin:3px 0 0;accent-color:var(--ac-red);flex:0 0 auto}
.question-split-choice-copy{color:#e8e8e6;font-size:.75rem;line-height:1.5}
html[data-theme="light"] .question-split-choice{background:#fff;color:#111}
html[data-theme="light"] .question-split-choice-copy{color:#111}

/* ========================================================================== 
   v81 · Question-first checkout
   One-screen purchase decision: balance → pack → secure checkout.
   Customer-facing commerce speaks in questions; credits stay internal.
   ========================================================================== */
.credit-v81{
  --credit-v81-accent:#5D1D1E;
  --credit-v81-panel:rgba(11,13,16,.88);
  --credit-v81-panel-strong:#0b0d10;
  --credit-v81-line:rgba(255,255,255,.095);
  --credit-v81-muted:#777d85;
  padding-bottom:118px;
}
.credit-v81 .credit-grid-glow{display:none}
.credit-v81 .credit-v81-page{width:min(100%,920px);max-width:920px;padding:0 clamp(18px,4vw,34px)}
.credit-v81 .credit-chat-appbar{position:sticky;top:0;z-index:1200}
.credit-v81 .credit-chat-brand strong{letter-spacing:-.035em}
.credit-v81-hero{padding:34px 0 22px}
.credit-v81-eyebrow{display:flex;align-items:center;gap:8px;color:#8a9097;font-size:.55rem;font-weight:790;letter-spacing:.14em;text-transform:uppercase}
.credit-v81-eyebrow>span{width:6px;height:6px;border-radius:50%;background:var(--credit-v81-accent);box-shadow:0 0 0 5px rgba(93,29,30,.08)}
.credit-v81-hero h1{margin:11px 0 7px;color:#f5f5f2;font-size:clamp(2.25rem,5.5vw,3.9rem);font-weight:850;line-height:.98;letter-spacing:-.06em}
.credit-v81-hero>p{margin:0;color:#8c9198;font-size:.77rem;line-height:1.55}
.credit-v81-balance{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:22px;padding:14px 16px;border:1px solid var(--credit-v81-line);border-radius:15px;background:linear-gradient(140deg,rgba(15,17,21,.92),rgba(8,10,13,.92));box-shadow:inset 0 1px 0 rgba(255,255,255,.025)}
.credit-v81-balance>div{display:grid;gap:4px}
.credit-v81-balance small{color:#727881;font-size:.46rem;font-weight:760;letter-spacing:.12em;text-transform:uppercase}
.credit-v81-balance strong{color:#f4f5f2;font-size:1.08rem;font-weight:820;letter-spacing:-.025em}
.credit-v81-balance>span{color:#676d75;font-size:.52rem;line-height:1.35;text-align:right}
.credit-v81 .credit-v81-message{position:fixed;z-index:2500;left:50%;top:max(76px,calc(env(safe-area-inset-top) + 64px));width:min(560px,calc(100vw - 32px));margin:0!important;transform:translate(-50%,-8px);opacity:0;pointer-events:none;transition:opacity .18s ease,transform .18s ease}
.credit-v81 .credit-v81-message.show{padding:11px 14px!important;border:1px solid rgba(255,255,255,.11)!important;border-left:2px solid var(--credit-v81-accent)!important;border-radius:12px!important;background:rgba(9,11,14,.96)!important;color:#dfe1e4!important;box-shadow:0 16px 44px rgba(0,0,0,.34);backdrop-filter:blur(18px);transform:translate(-50%,0);opacity:1}
.credit-v81 .credit-v81-message.success{border-left-color:#61b981!important}
.credit-v81-packs{padding:20px 0 26px;border-top:1px solid rgba(255,255,255,.075)}
.credit-v81-section-head small,.credit-v81-faq-heading small{display:block;color:var(--credit-v81-accent);font-size:.5rem;font-weight:790;letter-spacing:.13em;text-transform:uppercase}
.credit-v81-section-head h2,.credit-v81-faq-heading h2{margin:6px 0 0;color:#eff0ed;font-size:1.35rem;font-weight:800;letter-spacing:-.04em}
.credit-v81 .credit-v81-pack-list{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important;margin:15px 0 0!important}
.credit-v81-pack-option{position:relative;width:100%;min-width:0;min-height:116px;padding:14px;display:grid;grid-template-columns:26px minmax(0,1fr);grid-template-rows:auto auto;column-gap:10px;row-gap:6px;align-items:center;border:1px solid var(--credit-v81-line);border-radius:15px;background:linear-gradient(145deg,rgba(14,16,20,.91),rgba(8,10,13,.94));color:#f2f3f0;text-align:left;cursor:pointer;box-shadow:inset 0 1px 0 rgba(255,255,255,.02);transition:border-color .16s ease,background .16s ease,transform .16s ease,box-shadow .16s ease}
.credit-v81-pack-option:hover{border-color:rgba(255,255,255,.17);transform:translateY(-1px)}
.credit-v81-pack-option:focus-visible{outline:2px solid rgba(93,29,30,.32);outline-offset:2px}
.credit-v81-pack-option.is-selected{border-color:rgba(93,29,30,.48);background:linear-gradient(145deg,rgba(93,29,30,.07),rgba(11,12,15,.96) 54%);box-shadow:0 12px 34px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.035)}
.credit-v81-pack-option.is-selected::before{content:"";position:absolute;left:14px;right:14px;top:0;height:2px;background:linear-gradient(90deg,var(--credit-v81-accent),transparent 70%)}
.credit-v81-radio{grid-row:1/3;width:24px;height:24px;border:1px solid rgba(255,255,255,.15);border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.02)}
.credit-v81-radio i{width:8px;height:8px;border-radius:50%;background:transparent;box-shadow:none;transition:background .16s ease,box-shadow .16s ease}
.credit-v81-pack-option.is-selected .credit-v81-radio{border-color:rgba(93,29,30,.38)}
.credit-v81-pack-option.is-selected .credit-v81-radio i{background:var(--credit-v81-accent);box-shadow:0 0 0 4px rgba(93,29,30,.09),0 0 13px rgba(93,29,30,.18)}
.credit-v81-pack-main{grid-column:2;grid-row:1;display:grid;gap:6px;min-width:0}
.credit-v81-pack-title-line{display:flex;align-items:center;justify-content:space-between;gap:7px;min-width:0}
.credit-v81-pack-title-line strong{font-size:.88rem;font-weight:820;line-height:1.1;letter-spacing:-.025em;white-space:nowrap}
.credit-v81-pack-title-line em{flex:0 0 auto;padding:4px 6px;border:1px solid rgba(93,29,30,.25);border-radius:999px;background:rgba(93,29,30,.055);color:#5D1D1E;font-size:.38rem;font-style:normal;font-weight:820;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
.credit-v81-pack-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#737981;font-size:.47rem}
.credit-v81-pack-meta b{color:#a4a9af;font-size:.49rem;font-weight:680}
.credit-v81-pack-meta small{font-size:.45rem;white-space:nowrap}
.credit-v81-pack-price{grid-column:2;grid-row:2;color:#f5f5f2;font-size:1.25rem;font-weight:850;line-height:1;letter-spacing:-.045em}
.credit-v81-loading{grid-column:1/-1;min-height:94px;display:flex;align-items:center;justify-content:center;gap:9px;color:#737981;font-size:.62rem}
.credit-v81-trust{display:flex;align-items:center;justify-content:center;gap:8px;margin:14px auto 0;color:#737981;font-size:.52rem;line-height:1.45;text-align:center}
.credit-v81-trust svg{flex:0 0 auto;width:13px;height:13px;fill:#8c9298}
.credit-v81-faq{padding:26px 0 18px;border-top:1px solid rgba(255,255,255,.075)}
.credit-v81-faq-heading h2{font-size:1.2rem}
.credit-v81-faq-list{margin-top:12px}
.credit-v81-faq-list details{border-bottom:1px solid rgba(255,255,255,.075)}
.credit-v81-faq-list summary{min-height:48px;padding:0 2px;display:flex;align-items:center;justify-content:space-between;gap:14px;cursor:pointer;color:#e0e1de}
.credit-v81-faq-list summary span{font-size:.64rem;font-weight:720}
.credit-v81-faq-list summary i{color:#7d838b;font-size:.72rem;font-style:normal}
.credit-v81-faq-list p{margin:0;padding:0 24px 13px 2px;color:#777d84;font-size:.56rem;line-height:1.58}
.credit-v81-footer{margin-top:12px;padding-bottom:18px!important;border-top:1px solid rgba(255,255,255,.075)!important}
.credit-v81-checkout-shell{position:fixed;z-index:2200;left:0;right:0;bottom:0;padding:9px 14px max(10px,env(safe-area-inset-bottom));background:linear-gradient(to top,rgba(4,5,6,.98) 58%,rgba(4,5,6,.88) 82%,transparent);pointer-events:none}
.credit-v81-checkout-shell[hidden]{display:none!important}
.credit-v81-checkout-inner{width:min(620px,100%);margin:0 auto;pointer-events:auto}
.credit-v81-checkout-button{position:relative;width:100%;min-height:56px;padding:0 12px 0 10px;display:grid;grid-template-columns:36px minmax(0,1fr) 27px;align-items:center;gap:10px;border:1px solid rgba(93,29,30,.42);border-radius:999px;background:linear-gradient(135deg,rgba(93,29,30,.075),rgba(14,16,19,.98) 44%,rgba(8,10,12,.99));color:#f5f5f2;cursor:pointer;overflow:hidden;box-shadow:0 14px 34px rgba(0,0,0,.38),inset 0 1px 0 rgba(255,255,255,.055);backdrop-filter:blur(20px);transition:transform .16s ease,border-color .16s ease,opacity .16s ease}
.credit-v81-checkout-button::before{content:"";position:absolute;inset:0;border-radius:inherit;background:radial-gradient(circle at 13% 50%,rgba(93,29,30,.15),transparent 27%),linear-gradient(90deg,transparent 0%,rgba(255,255,255,.035) 50%,transparent 100%);opacity:.44;transform:translateX(-42%);animation:creditV81Sheen 4.2s ease-in-out infinite;pointer-events:none}
.credit-v81-checkout-button>*{position:relative;z-index:1}
.credit-v81-checkout-button:hover{border-color:rgba(93,29,30,.62);transform:translateY(-1px)}
.credit-v81-checkout-button:active{transform:translateY(1px) scale(.995)}
.credit-v81-checkout-button:disabled{opacity:.58;cursor:default;transform:none}
.credit-v81-checkout-orb{width:34px;height:34px;border:1px solid rgba(93,29,30,.27);border-radius:50%;display:grid;place-items:center;background:rgba(93,29,30,.055);box-shadow:inset 0 0 0 1px rgba(255,255,255,.025)}
.credit-v81-checkout-orb::before{content:"";position:absolute;width:16px;height:16px;border:1px solid rgba(255,255,255,.28);border-radius:50%}
.credit-v81-checkout-orb i{width:7px;height:7px;border-radius:50%;background:var(--credit-v81-accent);box-shadow:0 0 0 5px rgba(93,29,30,.09),0 0 13px rgba(93,29,30,.24);animation:creditV81Bindu 1.8s ease-in-out infinite}
.credit-v81-checkout-copy{display:grid;gap:2px;min-width:0;text-align:left}
.credit-v81-checkout-copy small{color:#8c9198;font-size:.41rem;font-weight:760;letter-spacing:.10em;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.credit-v81-checkout-copy strong{color:#f5f5f2;font-size:.70rem;font-weight:830;letter-spacing:.055em;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.credit-v81-checkout-arrow{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:rgba(93,29,30,.12);color:#fff;font-size:.88rem}
.credit-v81-provider{height:18px;margin-top:4px;display:flex;align-items:center;justify-content:center;gap:6px;color:#7c8289;font-size:.42rem;letter-spacing:.02em}
.credit-v81-provider img{width:58px;height:auto;object-fit:contain}
.credit-checkout-busy .credit-v81-pack-option{pointer-events:none}
@keyframes creditV81Sheen{0%,38%{transform:translateX(-42%);opacity:.18}62%{opacity:.45}100%{transform:translateX(42%);opacity:.18}}
@keyframes creditV81Bindu{0%,100%{transform:scale(1);opacity:.86}50%{transform:scale(1.17);opacity:1}}

@media(max-width:720px){
  .credit-v81{padding-bottom:108px}
  .credit-v81 .credit-v81-page{padding-left:18px;padding-right:18px}
  .credit-v81-hero{padding:24px 0 18px}
  .credit-v81-hero h1{margin-top:9px;font-size:2rem;line-height:1}
  .credit-v81-hero>p{font-size:.68rem}
  .credit-v81-balance{margin-top:17px;padding:11px 13px;border-radius:13px}
  .credit-v81-balance strong{font-size:.92rem}
  .credit-v81-balance>span{max-width:135px;font-size:.47rem}
  .credit-v81-packs{padding:16px 0 20px}
  .credit-v81-section-head h2{font-size:1.13rem}
  .credit-v81 .credit-v81-pack-list{grid-template-columns:1fr!important;gap:7px!important;margin-top:12px!important}
  .credit-v81-pack-option{min-height:66px;padding:10px 11px;grid-template-columns:25px minmax(0,1fr) auto;grid-template-rows:1fr;column-gap:10px;border-radius:13px}
  .credit-v81-radio{grid-column:1;grid-row:1;width:23px;height:23px}
  .credit-v81-pack-main{grid-column:2;grid-row:1;gap:5px}
  .credit-v81-pack-title-line{justify-content:flex-start}
  .credit-v81-pack-title-line strong{font-size:.76rem}
  .credit-v81-pack-title-line em{padding:3px 5px;font-size:.34rem}
  .credit-v81-pack-meta{justify-content:flex-start;gap:9px;font-size:.43rem}
  .credit-v81-pack-meta b{font-size:.45rem}
  .credit-v81-pack-meta small{font-size:.42rem}
  .credit-v81-pack-price{grid-column:3;grid-row:1;align-self:center;font-size:1rem;text-align:right;white-space:nowrap}
  .credit-v81-pack-option.is-selected::before{left:10px;right:10px}
  .credit-v81-trust{margin-top:11px;padding:0 6px;font-size:.47rem}
  .credit-v81-faq{padding-top:20px}
  .credit-v81-faq-heading h2{font-size:1.05rem}
  .credit-v81-faq-list summary{min-height:45px}
  .credit-v81-footer{margin-bottom:2px}
  .credit-v81-checkout-shell{padding-left:12px;padding-right:12px}
  .credit-v81-checkout-button{min-height:54px}
}
@media(max-width:380px){
  .credit-v81 .credit-v81-page{padding-left:15px;padding-right:15px}
  .credit-v81-hero h1{font-size:1.82rem}
  .credit-v81-pack-title-line em{display:none}
  .credit-v81-balance>span{display:none}
  .credit-v81-checkout-shell{padding-left:10px;padding-right:10px}
}
@media(prefers-reduced-motion:reduce){.credit-v81-checkout-button::before,.credit-v81-checkout-orb i{animation:none!important}.credit-v81-pack-option,.credit-v81-checkout-button,.credit-v81-message{transition:none!important}}
.credit-v81-provider img{padding:3px 7px;border-radius:6px;background:#2b45ed}

/* =========================================================
   v82 · Inline Razorpay checkout action
   ========================================================= */
.credit-v81 .credit-v81-checkout-shell{
  position:static;
  z-index:auto;
  left:auto;
  right:auto;
  bottom:auto;
  width:100%;
  margin:14px 0 0;
  padding:0;
  background:none;
  pointer-events:auto;
}
.credit-v81 .credit-v81-checkout-button{
  width:100%;
  min-height:64px;
  padding:0 16px;
  display:grid;
  grid-template-columns:38px minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  border:1px solid rgba(255,255,255,.15);
  border-radius:14px;
  background:linear-gradient(135deg,#3156f5,#243fda);
  color:#fff;
  box-shadow:0 14px 32px rgba(26,55,186,.22),inset 0 1px 0 rgba(255,255,255,.18);
  overflow:hidden;
  cursor:pointer;
  transition:transform .16s ease,box-shadow .16s ease,opacity .16s ease;
}
.credit-v81 .credit-v81-checkout-button::before{display:none}
.credit-v81 .credit-v81-checkout-button:hover{border-color:rgba(255,255,255,.22);transform:translateY(-1px);box-shadow:0 17px 38px rgba(26,55,186,.28),inset 0 1px 0 rgba(255,255,255,.2)}
.credit-v81 .credit-v81-checkout-button:active{transform:translateY(1px) scale(.996)}
.credit-v81 .credit-v81-checkout-button:disabled{opacity:.55;cursor:default;transform:none}
.credit-v81-payment-lock{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.24);
  border-radius:11px;
  background:rgba(255,255,255,.08);
}
.credit-v81-payment-lock svg{width:18px;height:18px;fill:#fff}
.credit-v81 .credit-v81-checkout-copy{display:grid;gap:3px;text-align:left;min-width:0}
.credit-v81 .credit-v81-checkout-copy small{color:rgba(255,255,255,.74);font-size:.43rem;font-weight:760;letter-spacing:.10em;text-transform:uppercase}
.credit-v81 .credit-v81-checkout-copy strong{color:#fff;font-size:.78rem;font-weight:840;letter-spacing:-.012em;text-transform:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.credit-v81-razorpay-brand{
  min-width:118px;
  padding-left:13px;
  border-left:1px solid rgba(255,255,255,.22);
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
}
.credit-v81-razorpay-brand>span{color:rgba(255,255,255,.72);font-size:.39rem;font-weight:800;letter-spacing:.10em}
.credit-v81-razorpay-brand img{width:82px;height:auto;display:block;object-fit:contain}
.credit-v81 .credit-v81-trust{margin-top:9px}
.credit-v81 .credit-v81-provider,.credit-v81 .credit-v81-checkout-orb,.credit-v81 .credit-v81-checkout-arrow{display:none!important}
@media(max-width:680px){
  .credit-v81{padding-bottom:0}
  .credit-v81 .credit-v81-checkout-shell{margin-top:12px}
  .credit-v81 .credit-v81-checkout-button{min-height:60px;padding:0 12px;grid-template-columns:35px minmax(0,1fr) auto;gap:9px;border-radius:13px}
  .credit-v81-payment-lock{width:35px;height:35px;border-radius:10px}
  .credit-v81 .credit-v81-checkout-copy strong{font-size:.70rem}
  .credit-v81-razorpay-brand{min-width:101px;padding-left:9px;gap:6px}
  .credit-v81-razorpay-brand img{width:70px}
  .credit-v81-razorpay-brand>span{font-size:.34rem}
}
@media(max-width:390px){
  .credit-v81 .credit-v81-checkout-button{grid-template-columns:34px minmax(0,1fr) 88px}
  .credit-v81-razorpay-brand{min-width:88px}
  .credit-v81-razorpay-brand img{width:63px}
  .credit-v81-razorpay-brand>span{display:none}
  .credit-v81 .credit-v81-checkout-copy strong{font-size:.66rem}
}


/* =========================================================
   v83 · India / International pricing region
   ========================================================= */
.credit-v83-region{
  align-self:end;
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:0 9px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:999px;
  color:#949aa2;
  background:rgba(255,255,255,.025);
  font-size:.46rem;
  font-weight:760;
  letter-spacing:.06em;
  white-space:nowrap;
}
html[data-theme="light"] .credit-v83-region{border-color:rgba(12,18,28,.10);background:rgba(12,18,28,.025);color:#707780}
@media(max-width:680px){
  .credit-v81-section-head{align-items:end}
  .credit-v83-region{min-height:22px;padding:0 8px;font-size:.41rem}
}
@media(max-width:390px){.credit-v83-region{display:none}}

/* v84 · Unified two-line ownership/legal footer + full active-chart metadata */
.ac-unified-footer{
  display:grid!important;
  place-items:center;
  align-content:center;
  gap:4px!important;
  min-height:58px;
  padding:9px 14px max(9px,env(safe-area-inset-bottom))!important;
  text-align:center;
  line-height:1.25;
}
.ac-unified-footer .ac-footer-line{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:0;
}
.ac-unified-footer .ac-footer-copyright{
  gap:5px;
  color:#777c83;
  font-size:.59rem;
  font-weight:520;
  letter-spacing:.005em;
}
.ac-unified-footer .ac-footer-copy-symbol{
  color:#92979d;
  font-size:.68rem;
  line-height:1;
}
.ac-unified-footer .ac-footer-copyright strong{
  color:#b9bcc1;
  font-size:.58rem;
  font-weight:800;
  letter-spacing:.09em;
}
.ac-unified-footer .ac-footer-dot{color:#484d53}
.ac-unified-footer .developer-link{
  color:#94999f!important;
  font-weight:700!important;
  text-decoration:none;
}
.ac-unified-footer .ac-footer-links{
  gap:18px!important;
  font-size:.55rem;
}
.ac-unified-footer .ac-footer-links a{
  color:#696e75;
  text-decoration:none;
  white-space:nowrap;
}
.ac-unified-footer a:hover,
.ac-unified-footer a:focus-visible{color:#cfd1d4!important}

/* Workspace footer keeps its quiet anchored surface while using the shared two-line treatment. */
.workspace-home-footer.ac-unified-footer{
  min-height:56px;
  background:rgba(5,6,7,.965);
}
.credit-checkout-page .credit-page-footer.ac-unified-footer,
.chat-history-footer.ac-unified-footer{
  min-height:62px;
}
.legal-footer.ac-unified-footer,
.privacy-controls-footer.ac-unified-footer{
  width:100%;
  border-top:1px solid var(--ac-line);
  margin-top:24px;
  padding-top:16px!important;
}
.legal-updated{
  margin-top:14px!important;
  color:#5f646b!important;
  font-size:.56rem!important;
  font-weight:650;
  letter-spacing:.05em;
  text-transform:uppercase;
}

/* Active chart: birth date and place are intentionally separate lines. */
.drawer-active-meta{
  display:grid!important;
  gap:2px;
  min-width:0;
  margin-top:6px;
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:normal!important;
  color:#696e75;
  font-size:.57rem;
  font-weight:520;
  line-height:1.28;
}
.drawer-active-meta>span{display:block;min-width:0}
.drawer-active-meta-date{
  color:#858a90;
  font-weight:620;
}
.drawer-active-meta-place{
  max-width:100%;
  overflow-wrap:anywhere;
  word-break:normal;
}

@media(max-width:720px){
  .ac-unified-footer{min-height:58px;padding:8px 10px max(8px,env(safe-area-inset-bottom))!important;gap:4px!important}
  .ac-unified-footer .ac-footer-copyright{font-size:.57rem}
  .ac-unified-footer .ac-footer-copyright strong{font-size:.56rem}
  .ac-unified-footer .ac-footer-links{gap:17px!important;font-size:.54rem}
  .workspace-home-footer.ac-unified-footer{min-height:56px!important}
  .drawer-active-meta{font-size:.55rem}
}
/* Ensure legacy higher-specificity footer display rules cannot collapse v84 back to one row. */
.credit-checkout-page .credit-page-footer.ac-unified-footer,
.auth-chat-footer.ac-unified-footer,
.chat-history-footer.ac-unified-footer,
.workspace-home-footer.ac-unified-footer,
.legal-footer.ac-unified-footer,
.privacy-controls-footer.ac-unified-footer{display:grid!important}
body.keyboard-open .auth-chat-footer.ac-unified-footer{display:grid!important}

/* ========================================================================== 
   ASTROCHAT v85 · Unified landing canvas + refined empty-state composition
   Visual polish only. Planetary values/order/runtime are unchanged.
   ========================================================================== */

/* One continuous application canvas instead of visually stacked bands. */
.app-shell,
.home-results,
.conversation-stage,
.chat-log-shell,
.astro-chat-log,
.composer-zone,
.workspace-home-footer.ac-unified-footer{
  background:#050607;
}
.home-appbar{
  box-shadow:none;
}
.workspace-home-footer.ac-unified-footer{
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}

/* The empty state should read as one composed landing view rather than three
   vertically isolated islands. Keep the grid close to the guidance hero and
   let the remaining breathing room sit naturally above the composer. */
body.chat-empty .home-guidance-hero{
  position:relative;
  isolation:isolate;
  padding-top:clamp(18px,3vh,30px)!important;
  padding-bottom:0!important;
}
body.chat-empty .home-guidance-hero::before{
  content:"";
  position:absolute;
  z-index:-1;
  left:50%;
  top:-18px;
  width:min(78vw,520px);
  height:190px;
  transform:translateX(-50%);
  pointer-events:none;
  background:radial-gradient(ellipse at center,rgba(93,29,30,.055) 0%,rgba(93,29,30,.024) 36%,transparent 72%);
}
body.chat-empty .chat-log-shell{
  flex:0 0 auto;
  margin-top:clamp(28px,4.4vh,52px);
}
body.chat-empty .astro-chat-log{
  height:auto;
  min-height:0;
  display:block;
  overflow:visible;
}
body.chat-empty .orbix-home-empty{
  width:100%;
  max-width:720px;
}

/* Refine the bindu without introducing another logo/orbit. */
body.chat-empty .guidance-bindu-wrap{
  width:38px;
  height:38px;
  margin-bottom:10px;
}
body.chat-empty .guidance-bindu-wrap::before{
  width:30px;
  height:30px;
  border-color:rgba(255,255,255,.09);
  box-shadow:0 8px 20px rgba(0,0,0,.26),0 0 0 1px rgba(93,29,30,.025);
}
body.chat-empty .guidance-bindu{
  width:19px;
  height:19px;
}

/* Editorial 3×3 matrix: internal rules only, deliberately no outer border. */
.orbix-home-planet-grid{
  gap:0!important;
  background:transparent!important;
  border:0!important;
}
.orbix-home-planet{
  border-right:1px solid rgba(255,255,255,.075);
  border-bottom:1px solid rgba(255,255,255,.075);
}
.orbix-home-planet:nth-child(3n){border-right:0}
.orbix-home-planet:nth-last-child(-n+3){border-bottom:0}

/* The drawer is an identifier, not an address card: one date line + locality. */
.drawer-active-meta-place{
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  overflow-wrap:normal!important;
}

@media(max-width:720px){
  body.chat-empty .chat-log-shell{margin-top:clamp(24px,4vh,42px)}
  body.chat-empty .home-guidance-hero::before{width:min(92vw,430px);height:164px;top:-12px}
  body.chat-empty .guidance-bindu-wrap{width:36px;height:36px;margin-bottom:9px}
  body.chat-empty .guidance-bindu-wrap::before{width:29px;height:29px}
  body.chat-empty .guidance-bindu{width:18px;height:18px}
}


/* ========================================================================== 
   ASTROCHAT v91 · Consultation progress + reading presentation
   Presentation only. Consultation/Gemini/KP/timing payloads are untouched.
   ========================================================================== */
.consultation-answer-loading{padding:8px 0 14px}
.reading-progress-card{
  margin:2px 0 18px;
  padding:18px 18px 15px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:16px;
  background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.016));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}
.reading-progress-title{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:12px;align-items:start}
.reading-progress-title>div{display:grid;gap:3px;min-width:0}
.reading-progress-title>div>strong{color:#f2f2ef;font-size:.84rem;font-weight:760;line-height:1.2}
.reading-progress-title .chat-processing-stage{margin:0;color:#737981;font-size:.57rem;line-height:1.45}
.reading-progress-title>.chat-processing-percent{padding-top:1px;color:#7c8289;font-size:.56rem;font-weight:760;font-variant-numeric:tabular-nums}
.reading-progress-steps{display:grid;gap:12px;margin:18px 0 17px;padding:0;list-style:none}
.reading-progress-step{display:grid;grid-template-columns:26px minmax(0,1fr);gap:10px;align-items:center;color:#666c74;font-size:.72rem;font-weight:620;line-height:1.25;transition:color .2s ease,opacity .2s ease}
.reading-step-state{width:24px;height:24px;display:grid;place-items:center;border:1.5px solid #3a4047;border-radius:50%;color:#fff;font-size:.62rem;font-weight:860;transition:border-color .2s ease,background .2s ease,box-shadow .2s ease}
.reading-progress-step.is-current{color:#e7e8e5}
.reading-progress-step.is-current .reading-step-state{border-color:var(--ac-red);box-shadow:0 0 0 3px rgba(93,29,30,.055)}
.reading-progress-step.is-current .reading-step-state::after{content:"";width:7px;height:7px;border-radius:50%;background:var(--ac-red);animation:acPulse 1.2s ease-in-out infinite}
.reading-progress-step.is-complete{color:#a8adb3}
.reading-progress-step.is-complete .reading-step-state{border-color:rgba(93,29,30,.72);background:rgba(93,29,30,.15);color:#5D1D1E;box-shadow:none}
.reading-progress-footer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center}
.reading-progress-footer .chat-processing-track{height:5px;margin:0;border-radius:999px;background:#22262b}
.reading-progress-footer .chat-processing-fill{border-radius:inherit;background:linear-gradient(90deg,#5D1D1E,var(--ac-red))}
.reading-progress-footer>span{color:#6f757d;font-size:.55rem;white-space:nowrap}
.reading-progress-footer>span strong{margin-left:4px;color:#9da2a8;font-weight:760;font-variant-numeric:tabular-nums}
/* The existing planet marquee remains in place; its timer is represented by the progress card above. */
.reading-progress-card + .chat-planet-marquee-scan .planet-marquee-note strong{display:none}
.reading-progress-card + .chat-planet-marquee-scan .planet-marquee-note{justify-content:flex-start}

/* Completed reading: calm content first, then an optional timing insight card. */
.reading-result-content{padding-top:2px}
.reading-result-content>.chat-answer-line:first-child,
.reading-result-content>.chat-answer-heading:first-child{color:#f0f1ee}
.reading-insight-card{
  overflow:hidden;
  margin:24px 0 0!important;
  border:1px solid rgba(213,166,73,.32);
  border-radius:16px;
  background:linear-gradient(145deg,rgba(213,166,73,.055),rgba(255,255,255,.018) 54%,rgba(213,166,73,.025));
}
.reading-insight-head{display:grid;grid-template-columns:34px minmax(0,1fr);gap:12px;align-items:center;padding:16px 17px 13px}
.reading-insight-icon{width:32px;height:32px;display:grid;place-items:center;border:1px solid rgba(213,166,73,.24);border-radius:10px;background:rgba(213,166,73,.06);color:#d8b367}
.reading-insight-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.reading-insight-head>div{display:grid;gap:3px}
.reading-insight-head strong{color:#d9bd7a;font-size:.78rem;font-weight:760}
.reading-insight-head small{color:#737981;font-size:.55rem;line-height:1.45}
.reading-insight-card .chat-timing-grid{display:grid;grid-template-columns:1fr;gap:0;padding:0 17px}
.reading-insight-card .chat-timing-card{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:12px 0;border:0;border-top:1px solid rgba(255,255,255,.065);background:transparent}
.reading-insight-card .chat-timing-card:first-child{border-top:1px solid rgba(255,255,255,.065)}
.reading-insight-card .chat-timing-copy{min-width:0}
.reading-insight-card .chat-timing-rank{color:#777d84;font-size:.49rem;font-weight:720;letter-spacing:.075em}
.reading-insight-card .chat-timing-date{margin:5px 0 4px;color:#efefec;font-size:.78rem;font-weight:780}
.reading-insight-card .chat-timing-note{max-width:620px;color:#888e95;font-size:.57rem;line-height:1.55}
.reading-insight-card .chat-timing-current{flex:0 0 auto;margin-top:3px;padding:4px 7px;border:1px solid rgba(213,166,73,.24);border-radius:999px;color:#d7b46c;font-size:.45rem;font-weight:760;text-transform:uppercase;letter-spacing:.06em}
.reading-insight-card .chat-timing-footnote{margin:0;padding:12px 17px 14px;border-top:1px solid rgba(255,255,255,.065);color:#6f757c;font-size:.5rem;line-height:1.5}
.chat-technical{margin-top:20px;border:1px solid rgba(255,255,255,.09);border-radius:14px;overflow:hidden;background:rgba(255,255,255,.012)}
.chat-technical.attached-to-timing{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0;border-color:rgba(213,166,73,.24);background:rgba(213,166,73,.018)}
.chat-technical summary{min-height:48px;padding:0 16px;color:#c2c5c8}
.chat-technical summary span{font-size:.66rem;font-weight:650}
.chat-technical summary small{margin-left:auto;margin-right:8px;color:#666c73;font-size:.5rem}
.chat-technical summary::after{content:"⌄";font-size:.82rem;color:#8a9096;transform:translateY(-1px);transition:transform .18s ease}
.chat-technical[open] summary::after{content:"⌄";transform:rotate(180deg) translateY(1px)}
.chat-technical-body{padding:2px 16px 17px;color:#969ba1}
.consultation-feedback{margin-top:18px}

@media(max-width:720px){
  .reading-progress-card{padding:16px 15px 14px;border-radius:15px}
  .reading-progress-steps{gap:11px;margin:16px 0 15px}
  .reading-progress-step{grid-template-columns:25px minmax(0,1fr);gap:9px;font-size:.69rem}
  .reading-step-state{width:23px;height:23px}
  .reading-progress-title>div>strong{font-size:.8rem}
  .reading-progress-footer{gap:12px}
  .reading-insight-card{border-radius:15px}
  .reading-insight-head{padding:15px 14px 12px}
  .reading-insight-card .chat-timing-grid{padding:0 14px}
  .reading-insight-card .chat-timing-footnote{padding:11px 14px 13px}
}


/* ========================================================================== 
   ASTROCHAT v92 · Chart evidence tabs + ascendant entry card
   Presentation/navigation only; chart evidence content and calculations are unchanged.
   ========================================================================== */
.chart-evidence-tabs{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0;
  margin:0 28px;
  border-bottom:1px solid var(--ac-line);
}
.chart-evidence-tab{
  position:relative;
  min-width:0;
  min-height:60px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:12px 9px;
  border:0;
  border-bottom:2px solid transparent;
  background:transparent;
  color:#666c73;
  font:inherit;
  font-size:.61rem;
  font-weight:700;
  line-height:1.25;
  text-align:center;
  cursor:pointer;
  transition:color .18s ease,border-color .18s ease,background .18s ease;
}
.chart-evidence-tab:hover{color:#b8bcc1}
.chart-evidence-tab.is-active{color:#eceeeb;border-bottom-color:rgba(93,29,30,.62);background:linear-gradient(180deg,transparent,rgba(93,29,30,.025))}
.chart-evidence-tab-dot{width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:transparent;box-shadow:0 0 0 1px #3e4349}
.chart-evidence-tab.is-active .chart-evidence-tab-dot{background:var(--ac-red);box-shadow:0 0 0 4px rgba(93,29,30,.07)}
.chart-tab-panels{padding:20px 28px 34px}
.chart-tab-panel{animation:chartEvidencePanelIn .18s ease}
.chart-tab-panel[hidden]{display:none!important}
@keyframes chartEvidencePanelIn{from{opacity:.35;transform:translateY(3px)}to{opacity:1;transform:none}}

.home-chart-evidence-card{
  width:min(100%,640px);
  min-height:78px;
  margin:14px auto 0;
  padding:12px 14px;
  display:grid;
  grid-template-columns:48px minmax(0,1fr);
  gap:13px;
  align-items:center;
  border:1px solid rgba(255,255,255,.085);
  border-radius:14px;
  background:linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.015));
  color:inherit;
  text-align:left;
  cursor:pointer;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.02);
  transition:transform .16s ease,border-color .16s ease,background .16s ease;
}
.home-chart-evidence-card:active{transform:scale(.992)}
.home-chart-evidence-card:hover{border-color:rgba(93,29,30,.20);background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(93,29,30,.018))}
.home-ascendant-glyph{
  width:46px;height:46px;display:grid;place-items:center;border-radius:12px;
  background:#151719;color:#e9e5db;font-family:"Times New Roman","Noto Sans Symbols 2",serif;font-size:1.55rem;line-height:1;
}
.home-chart-evidence-copy{display:grid;gap:3px;min-width:0}
.home-chart-evidence-copy>small{color:#626870;font-size:.48rem;font-weight:780;letter-spacing:.12em}
.home-chart-evidence-copy>strong{color:#e6e7e4;font-size:.75rem;font-weight:760;line-height:1.25}
.home-chart-evidence-copy>span{color:#5D1D1E;font-size:.56rem;font-weight:680;line-height:1.3}
.home-chart-evidence-copy>span b{margin-left:4px;font-size:.68rem}

@media(max-width:720px){
  .chart-evidence-tabs{margin:0 18px}
  .chart-evidence-tab{min-height:58px;padding:10px 5px;font-size:.57rem;gap:5px}
  .chart-evidence-tab-dot{width:5px;height:5px;flex-basis:5px}
  .chart-tab-panels{padding:17px 18px 26px}
  .home-chart-evidence-card{min-height:72px;margin-top:11px;padding:10px 11px;grid-template-columns:44px minmax(0,1fr);gap:11px;border-radius:13px}
  .home-ascendant-glyph{width:42px;height:42px;border-radius:11px;font-size:1.42rem}
}
@media(max-width:390px){
  .chart-evidence-tab{font-size:.535rem;line-height:1.2}
}


/* ========================================================================== 
   ASTROCHAT v93 · Chart evidence shell + sticky tabs + simplified drawer
   Presentation/navigation only.
   ========================================================================== */
.chart-details-panel{
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  padding:0!important;
}
.chart-evidence-appbar{
  flex:0 0 auto;
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:0 28px;
  border-bottom:1px solid var(--ac-line);
  background:rgba(9,11,13,.97);
  backdrop-filter:blur(18px);
  z-index:8;
}
.chart-evidence-brand{display:flex;align-items:center;gap:12px;min-width:0}
.chart-evidence-brand img{width:36px;height:36px;object-fit:contain}
.chart-evidence-brand strong{color:#ededeb;font-size:1.02rem;font-weight:800;letter-spacing:-.03em}
.chart-evidence-close{width:38px;height:38px;flex:0 0 38px;border:1px solid var(--ac-line);border-radius:50%;background:#111315;color:#d5d7d9;font-size:1.25rem;line-height:1;display:grid;place-items:center}
.chart-evidence-scroll{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.chart-details-panel .chart-sheet-head{position:relative!important;top:auto!important;z-index:1!important;padding:24px 28px 20px!important;background:transparent!important;backdrop-filter:none!important}
.chart-details-panel .chart-sheet-head button{display:none!important}
.chart-evidence-tabs{
  position:sticky!important;
  top:0!important;
  z-index:7!important;
  margin:0!important;
  padding:0 28px!important;
  background:rgba(9,11,13,.97)!important;
  backdrop-filter:blur(16px);
  box-shadow:0 8px 18px rgba(0,0,0,.12);
}
.chart-evidence-footer{margin-top:12px!important;border-top:1px solid var(--ac-line)!important;background:transparent!important}

/* Drawer: keep masthead/footer fixed and let only expanded controls scroll. */
.app-drawer.ultra-drawer{overflow:hidden!important}
.drawer-scroll-body{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding-bottom:12px}
.drawer-section-label-context{margin-top:14px!important;margin-bottom:7px!important}
.drawer-context{padding-top:0!important}
.drawer-chart-card{
  min-height:74px!important;
  display:grid!important;
  grid-template-columns:44px minmax(0,1fr) 32px!important;
  gap:12px!important;
  align-items:center!important;
  padding:11px 12px!important;
  border:1px solid rgba(255,255,255,.09)!important;
  border-radius:13px!important;
  background:rgba(255,255,255,.018)!important;
}
.drawer-profile-monogram{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:rgba(93,29,30,.09);border:1px solid rgba(93,29,30,.14);color:#e8e8e5;font-size:.92rem;font-weight:720}
.drawer-chart-copy strong{margin-top:0!important;font-size:.93rem!important}
.drawer-active-meta{margin-top:4px!important;display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:.59rem!important;color:#777c83!important}
.drawer-credit-card{
  min-height:88px!important;
  margin:12px 0 16px!important;
  padding:15px 14px!important;
  border:1px solid rgba(93,29,30,.38)!important;
  border-radius:13px!important;
  background:linear-gradient(135deg,rgba(93,29,30,.075),rgba(93,29,30,.025))!important;
}
.drawer-credit-copy small{font-size:.5rem!important;letter-spacing:.10em!important}
.drawer-credit-copy strong{font-size:1.6rem!important;line-height:.95!important;color:#f1f1ee!important}
.drawer-credit-add{min-width:128px!important;height:42px!important;padding:0 13px!important;justify-content:center!important;gap:7px!important;border-radius:10px!important;background:linear-gradient(180deg,#5D1D1E,#5D1D1E)!important;color:#fff!important;box-shadow:0 8px 18px rgba(93,29,30,.24)!important;font-size:.72rem!important}
.drawer-add-plus{font-size:1.05rem;line-height:1}
.drawer-section-label{margin-top:15px!important}
.drawer-feature-row{min-height:54px!important}
.drawer-accordion-stack{margin-left:20px!important;margin-right:20px!important}
.drawer-simple-accordion summary{grid-template-columns:minmax(0,1fr) 30px!important}
.drawer-summary-main{display:flex!important;align-items:center!important;gap:12px!important}
.drawer-summary-icon{width:34px;height:34px;display:grid;place-items:center;color:#bbbfc4}
.drawer-summary-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.drawer-summary-icon svg path[fill]{fill:currentColor;stroke:none}
.drawer-simple-accordion summary strong{font-size:.88rem!important}
.drawer-mini-footer{flex:0 0 auto;padding:13px 20px max(16px,env(safe-area-inset-bottom));border-top:1px solid rgba(255,255,255,.08);background:#08090b;color:#686e75;font-size:.56rem;line-height:1.4}
.drawer-mini-footer>div,.drawer-mini-footer nav{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.drawer-mini-footer nav{margin-top:4px;gap:15px}
.drawer-mini-footer a{color:#72787f;text-decoration:none}.drawer-mini-footer a:hover{color:#d5d7da}
.drawer-mini-footer strong{color:#aeb2b7}

@media(max-width:720px){
  .chart-evidence-appbar{min-height:66px;padding:0 18px}
  .chart-evidence-brand img{width:34px;height:34px}
  .chart-evidence-brand strong{font-size:.96rem}
  .chart-details-panel .chart-sheet-head{padding:20px 18px 16px!important}
  .chart-evidence-tabs{padding:0 18px!important}
  .drawer-accordion-stack{margin-left:16px!important;margin-right:16px!important}
  .drawer-mini-footer{padding-left:16px;padding-right:16px}
}


/* ========================================================================== 
   ASTROCHAT v95 · Compact drawer refinement
   Presentation only: tighter density, brand-red add button, cleaner profile icon.
   ========================================================================== */
.app-drawer.ultra-drawer{width:min(320px,82vw)!important}
.drawer-brandbar{min-height:64px!important;height:64px!important;padding-left:18px!important;padding-right:16px!important}
.drawer-brand-orbit{width:32px!important;height:32px!important}
.drawer-brandcopy strong{font-size:1rem!important}
.drawer-close{width:34px!important;height:34px!important;font-size:1.15rem!important}
.drawer-scroll-body{padding-bottom:6px!important}
.drawer-section-label{margin-top:11px!important;margin-bottom:5px!important;font-size:.48rem!important;letter-spacing:.12em!important}
.drawer-section-label-context{margin-top:10px!important;margin-bottom:5px!important}
.drawer-context{margin-left:16px!important;margin-right:16px!important}
.drawer-chart-card{
  min-height:62px!important;
  grid-template-columns:36px minmax(0,1fr) 28px!important;
  gap:10px!important;
  padding:9px 10px!important;
  border-radius:11px!important;
}
.drawer-profile-monogram{width:34px!important;height:34px!important;font-size:.78rem!important}
.drawer-chart-copy strong{font-size:.84rem!important;line-height:1.15!important}
.drawer-active-meta{margin-top:3px!important;font-size:.54rem!important;line-height:1.2!important}
.drawer-chart-open{width:28px!important;height:28px!important}
.drawer-credit-card{
  min-height:70px!important;
  margin:9px 0 12px!important;
  padding:11px 12px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:10px!important;
  border-radius:11px!important;
  background:rgba(93,29,30,.025)!important;
  border-color:rgba(93,29,30,.28)!important;
}
.drawer-credit-copy{min-width:0!important;display:grid!important;gap:3px!important}
.drawer-credit-copy small{font-size:.46rem!important;line-height:1!important;letter-spacing:.1em!important}
.drawer-credit-copy strong{
  margin:0!important;
  font-size:1.18rem!important;
  line-height:1!important;
  white-space:nowrap!important;
  color:var(--ac-text)!important;
  letter-spacing:-.035em!important;
}
.drawer-credit-add{
  min-width:112px!important;
  width:auto!important;
  height:38px!important;
  padding:0 12px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  border:1px solid var(--ac-red)!important;
  border-radius:10px!important;
  background:var(--ac-red)!important;
  color:#fff!important;
  box-shadow:0 8px 18px rgba(93,29,30,.14)!important;
  font-size:.64rem!important;
  font-weight:760!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.drawer-credit-add:hover,.drawer-credit-add:focus-visible{background:var(--ac-red-deep)!important;border-color:var(--ac-red-deep)!important}
.drawer-credit-add>span{color:#fff!important;white-space:nowrap!important;display:inline!important}
.drawer-add-plus{font-size:.95rem!important;font-weight:500!important;line-height:1!important}
.drawer-feature-row{min-height:46px!important;margin-left:16px!important;margin-right:16px!important;width:calc(100% - 32px)!important}
.drawer-feature-row .drawer-nav-icon{width:30px!important;height:30px!important}
.drawer-feature-row .drawer-nav-copy strong{font-size:.82rem!important}
.drawer-feature-row .drawer-circle-arrow{width:28px!important;height:28px!important}
.drawer-accordion-stack{margin-left:16px!important;margin-right:16px!important}
.drawer-simple-accordion summary{min-height:47px!important;padding:5px 0!important;grid-template-columns:minmax(0,1fr) 28px!important}
.drawer-summary-main{gap:10px!important}
.drawer-summary-icon{width:30px!important;height:30px!important}
.drawer-summary-icon svg{width:19px!important;height:19px!important}
.drawer-profile-records-icon svg{fill:none!important;stroke:currentColor!important;stroke-width:1.55!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.drawer-simple-accordion summary strong{font-size:.82rem!important}
.drawer-section-arrow{width:28px!important;height:28px!important}
.drawer-nav-button,.drawer-toggle-row,.drawer-font-row{min-height:42px!important}
.drawer-nav-icon,.drawer-font-icon{width:28px!important;height:28px!important}
.drawer-mini-footer{padding:10px 16px max(12px,env(safe-area-inset-bottom))!important;font-size:.52rem!important}
.drawer-mini-footer nav{margin-top:3px!important}

@media(max-width:390px){
  .app-drawer.ultra-drawer{width:min(306px,84vw)!important}
  .drawer-credit-add{min-width:104px!important;padding:0 10px!important;font-size:.61rem!important}
  .drawer-credit-copy strong{font-size:1.08rem!important}
}

/* ========================================================================== 
   ASTROCHAT v95 · Lean drawer pass
   Presentation only: slimmer drawer, flatter cards, stable question balance,
   theme-red CTA and stacked profile-card icon.
   ========================================================================== */
.app-drawer.ultra-drawer{width:min(296px,80vw)!important}
.drawer-brandbar{min-height:58px!important;height:58px!important;padding:0 14px!important}
.drawer-brand-orbit{width:29px!important;height:29px!important}
.drawer-brandcopy strong{font-size:.94rem!important}
.drawer-close{width:31px!important;height:31px!important;font-size:1.02rem!important}
.drawer-scroll-body{padding-bottom:4px!important}
.drawer-context{margin-left:14px!important;margin-right:14px!important}
.drawer-section-label{margin-top:9px!important;margin-bottom:4px!important;font-size:.45rem!important;letter-spacing:.11em!important}
.drawer-section-label-context{margin-top:8px!important}
.drawer-chart-card{
  min-height:54px!important;
  grid-template-columns:32px minmax(0,1fr) 26px!important;
  gap:9px!important;
  padding:7px 8px!important;
  border-radius:10px!important;
  background:transparent!important;
  border:1px solid var(--ac-line)!important;
  box-shadow:none!important;
}
.drawer-profile-monogram{width:30px!important;height:30px!important;font-size:.72rem!important;background:rgba(93,29,30,.055)!important;border-color:rgba(93,29,30,.15)!important}
.drawer-chart-copy strong{font-size:.79rem!important}
.drawer-active-meta{margin-top:2px!important;font-size:.51rem!important}
.drawer-chart-open{width:26px!important;height:26px!important}
.drawer-credit-card{
  min-height:58px!important;
  margin:7px 0 9px!important;
  padding:8px 9px!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:8px!important;
  border-radius:10px!important;
  border:1px solid rgba(93,29,30,.24)!important;
  background:rgba(93,29,30,.018)!important;
  box-shadow:none!important;
}
.drawer-credit-copy{display:grid!important;grid-template-columns:auto auto!important;grid-template-rows:auto auto!important;column-gap:5px!important;row-gap:2px!important;align-items:end!important;min-width:0!important}
.drawer-credit-copy small{grid-column:1/-1!important;font-size:.43rem!important;line-height:1!important;letter-spacing:.095em!important;color:var(--ac-muted)!important}
.drawer-credit-copy strong{
  grid-column:1/-1!important;
  display:block!important;
  max-width:100%!important;
  font-size:1.03rem!important;
  line-height:1.05!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  letter-spacing:-.025em!important;
  color:var(--ac-text)!important;
}
.drawer-credit-add{
  min-width:100px!important;
  height:34px!important;
  padding:0 10px!important;
  border:1px solid var(--ac-red)!important;
  border-radius:9px!important;
  background:var(--ac-red)!important;
  color:#fff!important;
  box-shadow:none!important;
  font-size:.59rem!important;
  font-weight:760!important;
  line-height:1!important;
  white-space:nowrap!important;
  overflow:hidden!important;
}
.drawer-credit-add:hover,.drawer-credit-add:focus-visible{background:var(--ac-red-deep)!important;border-color:var(--ac-red-deep)!important}
.drawer-credit-add>span{display:inline-flex!important;align-items:center!important;color:#fff!important;white-space:nowrap!important;line-height:1!important}
.drawer-add-plus{font-size:.82rem!important;margin-right:1px!important}
.drawer-feature-row{min-height:41px!important;margin-left:14px!important;margin-right:14px!important;width:calc(100% - 28px)!important;padding-top:4px!important;padding-bottom:4px!important}
.drawer-feature-row .drawer-nav-icon{width:27px!important;height:27px!important;font-size:.76rem!important}
.drawer-feature-row .drawer-nav-copy strong{font-size:.76rem!important}
.drawer-feature-row .drawer-circle-arrow{width:25px!important;height:25px!important}
.drawer-accordion-stack{margin-left:14px!important;margin-right:14px!important}
.drawer-simple-accordion summary{min-height:42px!important;padding:3px 0!important;grid-template-columns:minmax(0,1fr) 26px!important}
.drawer-summary-main{gap:8px!important}
.drawer-summary-icon{width:27px!important;height:27px!important}
.drawer-summary-icon svg{width:18px!important;height:18px!important}
.drawer-profile-records-icon{color:var(--ac-muted)!important}
.drawer-profile-records-icon svg{fill:none!important;stroke:currentColor!important;stroke-width:1.55!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.drawer-simple-accordion summary strong{font-size:.76rem!important}
.drawer-section-arrow{width:25px!important;height:25px!important}
.drawer-nav-button,.drawer-toggle-row,.drawer-font-row{min-height:38px!important;padding-top:4px!important;padding-bottom:4px!important}
.drawer-nav-icon,.drawer-font-icon{width:26px!important;height:26px!important}
.drawer-mini-footer{padding:8px 14px max(10px,env(safe-area-inset-bottom))!important;font-size:.49rem!important;line-height:1.32!important}
.drawer-mini-footer nav{margin-top:2px!important;gap:12px!important}
@media(max-width:390px){
  .app-drawer.ultra-drawer{width:min(286px,82vw)!important}
  .drawer-credit-add{min-width:94px!important;padding:0 8px!important;font-size:.56rem!important}
  .drawer-credit-copy strong{font-size:.97rem!important}
}

/* ========================================================================== 
   ASTROCHAT v96 · Native-style consultation processing skin
   Presentation only. Existing logo, planet marquee, consultation pipeline,
   Gemini/KP logic and business logic remain unchanged.
   ========================================================================== */
.consultation-card.pending .consultation-answer-loading{
  padding:6px 0 14px;
}
.consultation-card.pending .reading-progress-card{
  --processing-progress:0%;
  overflow:hidden;
  margin:2px 0 17px;
  padding:18px 17px 0;
  border:1px solid rgba(255,255,255,.13);
  border-radius:18px;
  background:linear-gradient(180deg,rgba(255,255,255,.038),rgba(255,255,255,.018));
  box-shadow:0 14px 34px rgba(0,0,0,.17),inset 0 1px 0 rgba(255,255,255,.035);
  -webkit-tap-highlight-color:transparent;
}
.reading-progress-hero{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) 48px;
  gap:15px;
  align-items:center;
}
.reading-progress-copy{display:grid;gap:4px;min-width:0}
.reading-progress-copy>strong{
  color:#f3f3f1;
  font-size:.96rem;
  font-weight:760;
  line-height:1.18;
  letter-spacing:-.018em;
}
.reading-progress-copy>span{
  max-width:440px;
  color:#7b8188;
  font-size:.64rem;
  line-height:1.45;
}
.reading-progress-ring{
  position:relative;
  width:46px;
  height:46px;
  justify-self:end;
  border-radius:50%;
  background:conic-gradient(var(--ac-red) var(--processing-progress),#34383e 0);
  box-shadow:0 0 0 1px rgba(255,255,255,.025),0 7px 20px rgba(0,0,0,.16);
  transition:background .28s linear;
}
.reading-progress-ring::before{
  content:"";
  position:absolute;
  inset:7px;
  border-radius:50%;
  background:#0d0f11;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.045);
}
.reading-progress-ring i{
  position:absolute;
  z-index:1;
  width:6px;
  height:6px;
  left:50%;
  top:50%;
  margin:-3px 0 0 -3px;
  border-radius:50%;
  background:var(--ac-red);
  opacity:.8;
  animation:acPulse 1.35s ease-in-out infinite;
}
.reading-progress-steps{
  position:relative;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin:18px 0 16px;
  padding:0;
  list-style:none;
}
.reading-progress-steps::before{
  content:"";
  position:absolute;
  z-index:0;
  top:12px;
  left:13px;
  right:13px;
  height:1px;
  background:linear-gradient(90deg,rgba(93,29,30,.88) 0 var(--processing-progress),rgba(255,255,255,.18) var(--processing-progress) 100%);
}
.reading-progress-step{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  gap:7px;
  min-width:0;
  color:#747a82;
  font-size:.57rem;
  font-weight:620;
  line-height:1.2;
  white-space:nowrap;
}
.reading-progress-step:nth-child(2){justify-content:center}
.reading-progress-step:nth-child(3){justify-content:flex-end}
.reading-step-state{
  position:relative;
  flex:0 0 auto;
  width:25px;
  height:25px;
  display:grid;
  place-items:center;
  border:1.5px solid #4a4f56;
  border-radius:50%;
  background:#111316;
  color:#fff;
  font-size:.62rem;
  font-weight:850;
  box-shadow:0 0 0 4px #0a0c0e;
}
.reading-progress-step.is-complete{color:#d0d3d6}
.reading-progress-step.is-complete .reading-step-state{
  border-color:var(--ac-red);
  background:var(--ac-red);
  color:#fff;
  box-shadow:0 0 0 4px #0a0c0e;
}
.reading-progress-step.is-current{color:#f1f1ef}
.reading-progress-step.is-current .reading-step-state{
  border-color:var(--ac-red);
  background:#111316;
  box-shadow:0 0 0 4px #0a0c0e,0 0 0 5px rgba(93,29,30,.08);
}
.reading-progress-step.is-current .reading-step-state::after{
  content:"";
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--ac-red);
  animation:acPulse 1.15s ease-in-out infinite;
}
.reading-progress-footer{display:block;margin:0}
.reading-progress-footer .chat-processing-track{
  height:6px;
  margin:0;
  overflow:hidden;
  border-radius:999px;
  background:#2a2e33;
}
.reading-progress-footer .chat-processing-fill{
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#461516,var(--ac-red));
}
.reading-progress-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-top:8px;
  color:#727880;
  font-size:.54rem;
  line-height:1.2;
}
.reading-progress-meta span{white-space:nowrap}
.reading-progress-meta strong{
  color:#a1a6ac;
  font-weight:700;
  font-variant-numeric:tabular-nums;
}
.reading-analysis-disclosure{
  margin:16px -17px 0;
  border-top:1px solid rgba(255,255,255,.09);
}
.reading-analysis-disclosure>summary{
  min-height:51px;
  padding:0 17px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  color:#d6d8da;
  font-size:.64rem;
  font-weight:620;
  cursor:pointer;
  list-style:none;
  user-select:none;
  -webkit-user-select:none;
  touch-action:manipulation;
}
.reading-analysis-disclosure>summary::-webkit-details-marker{display:none}
.reading-analysis-disclosure>summary i{
  width:8px;
  height:8px;
  border-right:1.5px solid #a6abb0;
  border-bottom:1.5px solid #a6abb0;
  transform:rotate(45deg) translateY(-2px);
  transition:transform .2s ease;
}
.reading-analysis-disclosure[open]>summary i{transform:rotate(225deg) translate(-2px,-2px)}
.reading-analysis-detail{
  display:flex;
  align-items:flex-start;
  gap:9px;
  padding:0 17px 14px;
  color:#777d84;
  font-size:.56rem;
  line-height:1.5;
}
.reading-analysis-live{
  flex:0 0 auto;
  width:6px;
  height:6px;
  margin-top:4px;
  border-radius:50%;
  background:var(--ac-red);
  box-shadow:0 0 0 5px rgba(93,29,30,.06);
  animation:acPulse 1.3s ease-in-out infinite;
}
.reading-analysis-detail .chat-processing-stage{margin:0;color:inherit;font-size:inherit;line-height:inherit}

/* Keep the established planet marquee intact, but present it as the native
   supporting layer beneath the progress card. */
.consultation-card.pending .chat-planet-marquee-scan{
  margin-top:0;
  padding-top:2px;
}
.consultation-card.pending .chat-planet-marquee-scan .chat-analysis-scan-head{
  min-height:28px;
  padding:0 2px;
}
.consultation-card.pending .chat-planet-marquee-scan .chat-analysis-scan-head>span{display:none}
.consultation-card.pending .chat-planet-marquee-scan .chat-analysis-scan-head>em{
  color:#71777f;
  font-size:.52rem;
  font-weight:650;
  letter-spacing:.02em;
}
.consultation-card.pending .chat-planet-marquee-scan .chat-analysis-scan-head>em i{
  background:var(--ac-red);
}
.consultation-card.pending .planet-marquee-note{
  padding:8px 2px 0;
  color:#60666d;
  font-size:.49rem;
}

@media(max-width:720px){
  .consultation-card.pending .reading-progress-card{padding:16px 14px 0;border-radius:17px}
  .reading-progress-hero{grid-template-columns:minmax(0,1fr) 44px;gap:12px}
  .reading-progress-copy>strong{font-size:.91rem}
  .reading-progress-copy>span{font-size:.61rem}
  .reading-progress-ring{width:43px;height:43px}
  .reading-progress-ring::before{inset:7px}
  .reading-progress-steps{gap:4px;margin:16px 0 15px}
  .reading-progress-step{gap:5px;font-size:.53rem}
  .reading-step-state{width:23px;height:23px;box-shadow:0 0 0 3px #0a0c0e}
  .reading-progress-step.is-complete .reading-step-state{box-shadow:0 0 0 3px #0a0c0e}
  .reading-progress-step.is-current .reading-step-state{box-shadow:0 0 0 3px #0a0c0e,0 0 0 4px rgba(93,29,30,.08)}
  .reading-progress-steps::before{top:11px;left:12px;right:12px}
  .reading-analysis-disclosure{margin-left:-14px;margin-right:-14px}
  .reading-analysis-disclosure>summary{min-height:50px;padding:0 14px}
  .reading-analysis-detail{padding:0 14px 13px}
}

@media(max-width:390px){
  .reading-progress-step{font-size:.49rem}
  .reading-progress-step span:last-child{letter-spacing:-.01em}
  .reading-progress-meta{font-size:.5rem}
}

@media(prefers-reduced-motion:reduce){
  .reading-progress-ring i,
  .reading-analysis-live,
  .reading-progress-step.is-current .reading-step-state::after{animation:none!important}
}

/* ========================================================================== 
   ASTROCHAT v98 · Mobile-native processing alignment + three-reel planet scan
   Presentation only: no consultation, KP, timing, billing or payment logic.
   ========================================================================== */

/* User question: compact native chat bubble instead of the large editorial title. */
.consultation-card::before{display:none}
.consultation-question{
  display:flex;
  justify-content:flex-end;
  align-items:flex-start;
  padding:12px 2px 14px;
  border-bottom:0;
}
.consultation-question>.consultation-avatar{display:none}
.consultation-question-copy{
  width:100%;
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
}
.consultation-question-copy p{
  order:1;
  width:auto;
  max-width:min(78%,520px);
  margin:0;
  padding:11px 14px;
  border:1px solid rgba(255,255,255,.045);
  border-radius:17px 17px 6px 17px;
  background:#202327;
  color:#f0f1ef;
  box-shadow:0 4px 16px rgba(0,0,0,.12);
  font-size:.91rem;
  font-weight:500;
  line-height:1.38;
  letter-spacing:-.012em;
  text-align:left;
  overflow-wrap:anywhere;
}
.consultation-question-copy small{
  order:2;
  display:block;
  margin:5px 5px 0 0;
  color:#777d84;
  font-size:.52rem;
  font-weight:520;
  letter-spacing:0;
  line-height:1.2;
  text-transform:none;
}

/* While processing, let the progress experience own the full content width. */
.consultation-card.pending .consultation-answer{
  display:block;
  padding:10px 14px 18px;
}
.consultation-card.pending .consultation-answer>.consultation-assistant-mark{display:none}
.consultation-card.pending .consultation-answer-body{
  width:min(100%,590px);
  margin:0 auto;
}
.consultation-card.pending .consultation-answer-label{
  width:100%;
  margin:0 0 11px;
}
.consultation-card.pending .reading-progress-card{
  width:100%;
  box-sizing:border-box;
  margin:0 auto 16px;
}

/* Three stage labels stay legible on narrow PWA/mobile widths. */
.reading-progress-steps{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0;
  align-items:start;
}
.reading-progress-step,
.reading-progress-step:nth-child(2),
.reading-progress-step:nth-child(3){
  display:grid;
  grid-template-columns:1fr;
  grid-template-rows:25px auto;
  justify-items:center;
  justify-content:stretch;
  align-items:start;
  gap:6px;
  min-width:0;
  padding:0 3px;
  color:#747a82;
  font-size:.56rem;
  line-height:1.14;
  white-space:normal;
  text-align:center;
}
.reading-progress-step>span:last-child{
  display:block;
  width:100%;
  min-width:0;
  overflow-wrap:normal;
  word-break:normal;
}
.reading-progress-steps::before{top:12px;left:16.5%;right:16.5%}
.reading-step-state{grid-row:1;width:24px;height:24px}

/* Replace the old long marquee with three independent vertical odometer reels. */
.chat-planet-odometer-scan{
  width:min(100%,590px);
  margin:2px auto 0;
  padding:0 0 4px;
  border:0;
  background:transparent;
}
.planet-odometer-head{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:24px;
  color:#777d84;
  font-size:.52rem;
  font-weight:680;
  letter-spacing:.055em;
}
.planet-odometer-head i{
  width:6px;
  height:6px;
  flex:0 0 auto;
  border-radius:50%;
  background:var(--ac-red);
  box-shadow:0 0 0 4px rgba(93,29,30,.055);
}
.planet-odometer{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin-top:7px;
  padding:0;
}
.planet-odometer-slot{
  position:relative;
  min-width:0;
  height:46px;
  overflow:hidden;
  border-top:1px solid rgba(255,255,255,.055);
  border-bottom:1px solid rgba(255,255,255,.055);
  background:linear-gradient(180deg,rgba(255,255,255,.012),rgba(255,255,255,.026),rgba(255,255,255,.012));
  -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 22%,#000 78%,transparent 100%);
  mask-image:linear-gradient(180deg,transparent 0,#000 22%,#000 78%,transparent 100%);
}
.planet-odometer-window{position:relative;width:100%;height:46px;overflow:hidden}
.planet-odometer-value{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-width:0;
  padding:0 5px;
  opacity:1;
  transform:translate3d(0,0,0);
  transition:transform .4s cubic-bezier(.2,.72,.25,1),opacity .32s ease;
  will-change:transform,opacity;
}
.planet-odometer-value i{
  flex:0 0 auto;
  color:var(--ac-red);
  font-size:1.18rem;
  font-style:normal;
  line-height:1;
}
.planet-odometer-value strong{
  min-width:0;
  overflow:hidden;
  color:#d7d9dc;
  font-size:.66rem;
  font-weight:620;
  line-height:1;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.planet-odometer-value.is-next{opacity:.12;transform:translate3d(0,92%,0)}
.planet-odometer-value.is-next.is-arriving{opacity:1;transform:translate3d(0,0,0)}
.planet-odometer-value.is-current.is-leaving{opacity:.08;transform:translate3d(0,-92%,0)}
.planet-odometer-note{
  padding:8px 1px 0;
  color:#626870;
  font-size:.49rem;
  line-height:1.3;
}

@media(max-width:720px){
  .consultation-question{padding:9px 1px 12px}
  .consultation-question-copy p{max-width:82%;padding:10px 13px;font-size:.88rem}
  .consultation-card.pending .consultation-answer{padding:9px 8px 15px}
  .consultation-card.pending .consultation-answer-body{width:min(100%,560px)}
  .consultation-card.pending .reading-progress-card{padding:15px 13px 0}
  .reading-progress-step,.reading-progress-step:nth-child(2),.reading-progress-step:nth-child(3){gap:5px;padding:0 2px;font-size:.52rem}
  .reading-progress-steps::before{left:16.2%;right:16.2%}
  .planet-odometer{gap:5px}
  .planet-odometer-slot,.planet-odometer-window{height:43px}
  .planet-odometer-value{gap:5px;padding:0 3px}
  .planet-odometer-value i{font-size:1.05rem}
  .planet-odometer-value strong{font-size:.61rem}
}

@media(max-width:390px){
  .consultation-question-copy p{max-width:87%;font-size:.84rem}
  .reading-progress-step,.reading-progress-step:nth-child(2),.reading-progress-step:nth-child(3){font-size:.48rem}
  .reading-step-state{width:22px;height:22px}
  .reading-progress-steps::before{top:11px}
  .planet-odometer-value strong{font-size:.57rem}
  .planet-odometer-value i{font-size:1rem}
}

@media(prefers-reduced-motion:reduce){
  .planet-odometer-value{transition:none!important}
}

/* ========================================================================== 
   ASTROCHAT v99 · Header theme control + balanced navigation drawer
   Presentation only. No consultation, payment or calculation behavior changes.
   ========================================================================== */
.home-appbar-main .home-theme-button{
  grid-column:3;
  justify-self:end;
  margin:0;
  width:40px;
  height:40px;
  border:0;
  border-radius:50%;
  background:transparent;
  color:var(--ac-red);
  display:grid;
  place-items:center;
  padding:0;
  transition:background .18s ease,transform .18s ease,color .18s ease;
}
.home-appbar-main .home-theme-button:hover{background:var(--ac-red-soft)}
.home-appbar-main .home-theme-button:active{transform:scale(.96)}
.home-theme-icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.home-theme-icon-sun{display:none}
.home-theme-icon-moon{display:block}

.app-drawer.ultra-drawer{
  width:min(330px,88vw)!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
}
.drawer-brandbar{
  flex:0 0 auto;
  min-height:66px!important;
  height:66px!important;
  padding:0 17px!important;
}
.drawer-scroll-body{
  flex:1 1 auto;
  min-height:0;
  overflow:auto;
  display:flex!important;
  flex-direction:column!important;
  padding:0 0 10px!important;
  scrollbar-width:none;
}
.drawer-scroll-body::-webkit-scrollbar{display:none}
.drawer-context{margin:0 16px!important;padding-top:0!important}
.drawer-section-label{
  margin:14px 18px 7px!important;
  color:#6f747b!important;
  font-size:.48rem!important;
  font-weight:780!important;
  letter-spacing:.14em!important;
}
.drawer-section-label-context{margin:14px 0 7px!important}
.drawer-chart-card.drawer-active-chart{
  min-height:70px!important;
  padding:11px 12px!important;
  grid-template-columns:38px minmax(0,1fr) 30px!important;
  gap:10px!important;
  border:1px solid var(--ac-line)!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.018)!important;
}
.drawer-profile-monogram{
  width:38px!important;
  height:38px!important;
  background:var(--ac-red-soft)!important;
  border-color:var(--ac-red-line)!important;
}
.drawer-chart-copy strong{font-size:.88rem!important}
.drawer-active-meta{font-size:.57rem!important;color:#7d8289!important}
.drawer-credit-card{
  min-height:66px!important;
  margin:10px 0 0!important;
  padding:10px 11px!important;
  border:1px solid var(--ac-red-line)!important;
  border-radius:14px!important;
  background:linear-gradient(135deg,var(--ac-red-soft),rgba(255,255,255,.012))!important;
}
.drawer-credit-copy small{font-size:.46rem!important}
.drawer-credit-copy strong{font-size:1.25rem!important;line-height:1!important;white-space:nowrap!important}
.drawer-credit-add{
  min-width:118px!important;
  height:38px!important;
  padding:0 12px!important;
  border-radius:10px!important;
  background:var(--ac-red)!important;
  border:1px solid var(--ac-red)!important;
  box-shadow:none!important;
  font-size:.7rem!important;
  white-space:nowrap!important;
}
.drawer-credit-add:hover,.drawer-credit-add:focus-visible{background:var(--ac-red-deep)!important;border-color:var(--ac-red-deep)!important}
.drawer-feature-group{
  margin:0 16px!important;
  border:1px solid var(--ac-line)!important;
  border-radius:14px!important;
  overflow:hidden;
  background:rgba(255,255,255,.012);
}
.drawer-feature-group .drawer-feature-row{
  width:100%!important;
  min-height:50px!important;
  margin:0!important;
  padding:7px 10px!important;
  border-bottom:1px solid var(--ac-line)!important;
}
.drawer-feature-group .drawer-feature-row:last-child{border-bottom:0!important}
.drawer-feature-row .drawer-nav-icon{width:31px!important;height:31px!important;background:rgba(255,255,255,.03)!important}
.drawer-feature-row .drawer-nav-copy strong{font-size:.82rem!important}
.drawer-accordion-stack{
  margin:0 16px!important;
  border:0!important;
}
.drawer-accordion-stack>.drawer-section-label{margin-left:2px!important;margin-right:2px!important}
.drawer-simple-accordion{
  margin-bottom:9px!important;
  border:1px solid var(--ac-line)!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.012)!important;
  overflow:hidden;
}
.drawer-simple-accordion summary{
  min-height:52px!important;
  padding:7px 10px!important;
}
.drawer-summary-main{gap:10px!important}
.drawer-summary-icon{width:31px!important;height:31px!important}
.drawer-simple-accordion summary strong{font-size:.82rem!important}
.drawer-nav-list{border-top:1px solid var(--ac-line)!important;padding:0 9px 5px!important}
.drawer-nav-button,.drawer-toggle-row,.drawer-font-row{min-height:42px!important}
.drawer-account-row{
  margin:auto 16px 4px!important;
  padding:10px!important;
  min-height:62px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  border:1px solid var(--ac-line)!important;
  border-radius:14px;
  background:rgba(255,255,255,.016);
}
.drawer-account-identity{display:flex;align-items:center;gap:9px;min-width:0;flex:1 1 auto}
.drawer-account-avatar{
  width:38px;height:38px;flex:0 0 38px;border-radius:50%;overflow:hidden;display:grid;place-items:center;
  background:var(--ac-red-soft);border:1px solid var(--ac-red-line);color:#e8e8e5;font-size:.75rem;font-weight:760;
}
.drawer-account-avatar img{width:100%;height:100%;object-fit:cover;display:none}
.drawer-account-avatar.has-photo img{display:block!important}
.drawer-account-avatar.has-photo span{display:none}
.drawer-account-copy{display:grid;min-width:0;line-height:1.15}
.drawer-account-copy strong{font-size:.75rem;font-weight:720;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.drawer-account-copy small{margin-top:4px;color:#6f747b;font-size:.5rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.drawer-inline-signout{
  flex:0 0 auto;height:34px;padding:0 9px;display:flex;align-items:center;gap:6px;border:1px solid var(--ac-line);
  border-radius:10px;background:transparent;color:#9b9fa5;font-size:.6rem;font-weight:700;white-space:nowrap;
}
.drawer-inline-signout svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.drawer-inline-signout:hover,.drawer-inline-signout:focus-visible{color:#fff;border-color:var(--ac-red-line);background:var(--ac-red-soft)}
.drawer-mini-footer{padding:9px 16px max(11px,env(safe-area-inset-bottom))!important;font-size:.5rem!important}
.drawer-mini-footer nav{margin-top:2px!important}

@media(max-width:420px){
  .app-drawer.ultra-drawer{width:min(324px,90vw)!important}
  .drawer-brandbar{min-height:62px!important;height:62px!important}
  .drawer-section-label{margin-top:12px!important}
  .drawer-credit-add{min-width:110px!important}
  .drawer-account-copy small{max-width:105px}
}

/* ========================================================================== 
   ASTROCHAT v100 · mobile balance + independent planet reels
   Presentation only. No consultation, astrology, payment or credit logic.
   ========================================================================== */

/* Keep the selected profile visually centred like a native app control. */
.home-profile-row{
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  padding-left:16px!important;
  padding-right:16px!important;
}
.home-profile-row .home-profile-picker{
  position:relative!important;
  left:auto!important;
  transform:none!important;
  width:auto!important;
  min-width:0!important;
  max-width:min(90vw,360px)!important;
  margin:0 auto!important;
  padding:2px 7px 2px 4px!important;
  border:1px solid rgba(93,29,30,.26)!important;
  border-radius:999px!important;
  background:rgba(93,29,30,.085)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 7px 22px rgba(0,0,0,.14)!important;
}
.home-profile-row .home-profile-picker::after{display:none!important}
.home-profile-row .home-profile-trigger-main{justify-content:center!important}

/* Pull the account row away from the footer instead of pinning both together. */
.drawer-account-row{margin:auto 16px 18px!important}

/* Drawer legal footer reads as one centred closing block. */
.drawer-mini-footer{text-align:center!important}
.drawer-mini-footer>div,
.drawer-mini-footer nav{justify-content:center!important;width:100%!important}

/* Theme-red buttons must retain accessible white labels in every mode. */
.drawer-credit-add,
.drawer-credit-add>span,
.drawer-credit-add .drawer-add-plus{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

/* Completed consultation copy uses the mobile width rather than inheriting a
   permanent assistant-avatar gutter all the way down the answer. */
@media(max-width:720px){
  .consultation-card.complete .consultation-answer{
    grid-template-columns:34px minmax(0,1fr)!important;
    column-gap:10px!important;
    row-gap:8px!important;
    padding:13px 18px 16px!important;
  }
  .consultation-card.complete .consultation-answer-body{display:contents!important}
  .consultation-card.complete .consultation-assistant-mark{
    grid-column:1!important;
    grid-row:1!important;
    align-self:center!important;
  }
  .consultation-card.complete .consultation-answer-label{
    grid-column:2!important;
    grid-row:1!important;
    margin:0!important;
  }
  .consultation-card.complete .consultation-answer-content{
    grid-column:1/-1!important;
    grid-row:2!important;
    width:100%!important;
    min-width:0!important;
    padding:5px 2px 0!important;
    box-sizing:border-box!important;
  }
  .consultation-card.complete .consultation-feedback{
    grid-column:1/-1!important;
    grid-row:3!important;
    width:100%!important;
    margin-left:0!important;
  }
  .consultation-card.complete .consultation-complete-bar{
    margin-left:18px!important;
    margin-right:18px!important;
  }
}


/* ========================================================================== 
   ASTROCHAT v101 · PWA system chrome + odometer clipping hardening
   UI shell only. iOS standalone keeps black-translucent for reliable iOS 26
   viewport geometry; the safe-area underlay guarantees white status icons
   remain legible in light mode. Android/Chromium follows theme-color.
   ========================================================================== */
html.ios-standalone::before{
  content:"";
  position:fixed;
  z-index:20000;
  top:0;left:0;right:0;
  height:env(safe-area-inset-top);
  pointer-events:none;
  background:#000;
}
html.ios-standalone[data-theme="light"]::before{background:#5D1D1E}

/* A reel viewport must never expose stale values from a previous transition. */
.planet-odometer-window{
  overflow:hidden!important;
  contain:layout paint!important;
  isolation:isolate;
}
.planet-odometer-window>.planet-odometer-value{
  position:absolute!important;
  inset:0!important;
  max-width:100%!important;
  overflow:hidden!important;
}
.planet-odometer-value strong{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

/* ========================================================================== 
   ASTROCHAT v102 · reference-style Gemini response card
   UI-only: completed assistant response presentation. No consultation, Gemini,
   payment, credit, or question-suggestion behaviour changes.
   ========================================================================== */
.consultation-card.complete{
  margin-top:12px!important;
  margin-bottom:30px!important;
  padding-bottom:0!important;
}
.consultation-card.complete::before{display:none!important}
.consultation-card.complete .consultation-card-head{
  min-height:0!important;
  height:0!important;
  padding:0!important;
  margin:0!important;
  overflow:hidden!important;
}
.consultation-card.complete .consultation-question{
  width:min(78%,620px)!important;
  margin:6px 0 18px auto!important;
  padding:0!important;
  display:block!important;
  border:0!important;
}
.consultation-card.complete .consultation-question .consultation-avatar{display:none!important}
.consultation-card.complete .consultation-question-copy{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-end!important;
}
.consultation-card.complete .consultation-question-copy p{
  max-width:100%!important;
  margin:0!important;
  padding:18px 22px 12px!important;
  border:1px solid rgba(255,255,255,.075)!important;
  border-radius:22px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.105),rgba(255,255,255,.045))!important;
  color:#f4f4f3!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 16px 38px rgba(0,0,0,.18)!important;
  font-size:clamp(1rem,2.5vw,1.22rem)!important;
  font-weight:560!important;
  line-height:1.38!important;
  letter-spacing:-.018em!important;
}
.consultation-card.complete .consultation-question-copy small{
  order:2!important;
  margin:-28px 16px 0 0!important;
  padding-bottom:10px!important;
  color:#a2a5ab!important;
  font-size:.72rem!important;
  font-weight:520!important;
  letter-spacing:0!important;
  text-transform:none!important;
}
.consultation-card.complete .consultation-answer{
  display:grid!important;
  grid-template-columns:46px minmax(0,1fr)!important;
  grid-template-rows:auto auto auto!important;
  column-gap:12px!important;
  row-gap:12px!important;
  padding:0 18px 0 4px!important;
}
.consultation-card.complete .consultation-assistant-mark{
  grid-column:1!important;
  grid-row:1!important;
  width:36px!important;
  height:36px!important;
  align-self:center!important;
  justify-self:center!important;
  border-radius:50%!important;
  border:1px solid rgba(255,255,255,.055)!important;
  background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.015))!important;
  box-shadow:0 10px 28px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.045)!important;
}
.consultation-card.complete .consultation-assistant-mark .assistant-eclipse{
  width:21px!important;
  height:21px!important;
  background:#f05258!important;
}
.consultation-card.complete .consultation-assistant-mark .assistant-eclipse::after{
  width:19px!important;
  height:19px!important;
  left:7px!important;
  top:-4px!important;
  background:#111317!important;
}
.consultation-card.complete .consultation-answer-body{display:contents!important}
.consultation-card.complete .consultation-answer-label{
  grid-column:2!important;
  grid-row:1!important;
  height:auto!important;
  min-height:36px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  display:flex!important;
  justify-content:flex-start!important;
  align-items:center!important;
  gap:14px!important;
}
.consultation-card.complete .consultation-answer-label strong{
  color:#f05258!important;
  font-size:.9rem!important;
  font-weight:780!important;
  letter-spacing:.018em!important;
}
.consultation-card.complete .consultation-answer-label span{
  color:#a5a7ad!important;
  font-size:.76rem!important;
  font-weight:520!important;
  letter-spacing:0!important;
}
.consultation-card.complete .consultation-answer-content{
  grid-column:2!important;
  grid-row:2!important;
  width:min(100%,650px)!important;
  min-width:0!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:22px 26px 24px!important;
  border:1px solid rgba(255,255,255,.125)!important;
  border-radius:20px!important;
  background:linear-gradient(180deg,rgba(20,22,26,.94),rgba(10,12,15,.94))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 18px 46px rgba(0,0,0,.22)!important;
  color:#d6d8dc!important;
  font-size:var(--chat-answer-size,.98rem)!important;
  line-height:1.58!important;
  letter-spacing:-.012em!important;
}
.consultation-card.complete .consultation-answer-content .chat-answer-line{
  margin:0 0 15px!important;
  color:#d2d4d8!important;
  line-height:1.58!important;
}
.consultation-card.complete .consultation-answer-content .chat-answer-line:first-child,
.consultation-card.complete .consultation-answer-content .chat-answer-heading:first-child{
  margin-top:0!important;
}
.consultation-card.complete .consultation-answer-content .chat-answer-line:first-child{
  color:#f4f4f3!important;
  font-size:clamp(1.16rem,3vw,1.48rem)!important;
  line-height:1.35!important;
  font-weight:760!important;
  letter-spacing:-.028em!important;
}
.consultation-card.complete .consultation-answer-content .chat-answer-line:first-child strong{
  color:#fff!important;
  font-weight:780!important;
}
.consultation-card.complete .consultation-answer-content .chat-answer-heading{
  margin:22px 0 10px!important;
  color:#f4f4f3!important;
  font-size:1rem!important;
  line-height:1.38!important;
  font-weight:760!important;
}
.consultation-card.complete .consultation-answer-content .chat-answer-bullet{
  margin:9px 0!important;
  grid-template-columns:14px 1fr!important;
  color:#d2d4d8!important;
}
.consultation-card.complete .consultation-answer-content .chat-answer-gap{height:7px!important}
.consultation-card.complete .chat-timing-section,
.consultation-card.complete .chat-technical,
.consultation-card.complete .chat-consultation-verdict{
  margin-top:20px!important;
}
.consultation-card.complete .chat-technical{
  border-top-color:rgba(255,255,255,.09)!important;
  border-bottom-color:rgba(255,255,255,.09)!important;
}
.consultation-card.complete .chat-next-questions{
  margin-top:20px!important;
}
.consultation-card.complete .consultation-feedback{
  grid-column:2!important;
  grid-row:3!important;
  width:min(100%,650px)!important;
  margin:0!important;
}
.consultation-card.complete .consultation-complete-bar{display:none!important}

@media(max-width:720px){
  .consultation-card.complete{
    width:100%!important;
    margin:10px auto 28px!important;
  }
  .consultation-card.complete .consultation-question{
    width:min(82%,430px)!important;
    margin:4px 0 16px auto!important;
  }
  .consultation-card.complete .consultation-question-copy p{
    padding:16px 18px 34px!important;
    border-radius:20px!important;
    font-size:1.02rem!important;
  }
  .consultation-card.complete .consultation-question-copy small{
    margin:-29px 15px 0 0!important;
    padding-bottom:9px!important;
    font-size:.7rem!important;
  }
  .consultation-card.complete .consultation-answer{
    grid-template-columns:42px minmax(0,1fr)!important;
    column-gap:10px!important;
    row-gap:10px!important;
    padding:0 4px!important;
  }
  .consultation-card.complete .consultation-assistant-mark{
    width:34px!important;
    height:34px!important;
  }
  .consultation-card.complete .consultation-answer-label{
    min-height:34px!important;
    gap:12px!important;
  }
  .consultation-card.complete .consultation-answer-label strong{font-size:.82rem!important}
  .consultation-card.complete .consultation-answer-label span{font-size:.72rem!important}
  .consultation-card.complete .consultation-answer-content{
    width:100%!important;
    padding:21px 19px 22px!important;
    border-radius:18px!important;
    font-size:.94rem!important;
    line-height:1.56!important;
  }
  .consultation-card.complete .consultation-answer-content .chat-answer-line:first-child{
    font-size:1.18rem!important;
    line-height:1.38!important;
  }
  .consultation-card.complete .consultation-feedback{width:100%!important}
}

@media(max-width:380px){
  .consultation-card.complete .consultation-question{width:min(86%,360px)!important}
  .consultation-card.complete .consultation-question-copy p{font-size:.98rem!important;padding-inline:16px!important}
  .consultation-card.complete .consultation-answer{grid-template-columns:38px minmax(0,1fr)!important}
  .consultation-card.complete .consultation-answer-content{padding:19px 16px 20px!important}
  .consultation-card.complete .consultation-answer-label{gap:10px!important}
  .consultation-card.complete .consultation-answer-label strong{font-size:.78rem!important}
  .consultation-card.complete .consultation-answer-label span{font-size:.68rem!important}
}

/* ========================================================================== 
   ASTROCHAT v103 · composer suggestion pills
   UI-only: fresh questions now live above the input as horizontal pills.
   ========================================================================== */
.composer-suggestion-pills[hidden]{display:none!important}
.composer-suggestion-pills{
  width:min(100%,850px);
  margin:0 auto 8px;
  padding:0 1px 2px;
  display:flex;
  align-items:center;
  gap:9px;
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  scroll-snap-type:x proximity;
  touch-action:pan-x;
}
.composer-suggestion-pills::-webkit-scrollbar{display:none}
.composer-suggestion-pills-label{
  flex:0 0 auto;
  color:#777c83;
  font-size:.61rem;
  font-weight:760;
  letter-spacing:.12em;
  text-transform:uppercase;
  white-space:nowrap;
  padding-left:2px;
}
.composer-suggestion-pill{
  flex:0 0 auto;
  max-width:min(68vw,310px);
  min-height:38px;
  padding:0 16px;
  border:1px solid rgba(255,255,255,.11);
  border-radius:999px;
  background:linear-gradient(145deg,rgba(255,255,255,.06),rgba(255,255,255,.025));
  color:#e9eaec;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 10px 24px rgba(0,0,0,.16);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:.78rem;
  font-weight:560;
  line-height:1;
  letter-spacing:-.012em;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  scroll-snap-align:start;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  transition:border-color .18s ease,background .18s ease,transform .18s ease,color .18s ease;
}
.composer-suggestion-pill:hover,
.composer-suggestion-pill:focus-visible{
  outline:none;
  color:#fff;
  border-color:rgba(240,82,88,.42);
  background:linear-gradient(145deg,rgba(93,29,30,.20),rgba(255,255,255,.035));
}
.composer-suggestion-pill:active{transform:translateY(1px)}
body.question-processing .composer-suggestion-pills{display:none!important}
@media(max-width:720px){
  .composer-suggestion-pills{
    width:100%;
    margin-bottom:7px;
    padding-left:1px;
    padding-right:1px;
    gap:8px;
  }
  .composer-suggestion-pills-label{font-size:.56rem}
  .composer-suggestion-pill{
    min-height:36px;
    max-width:72vw;
    padding-inline:14px;
    font-size:.74rem;
  }
}
@media(max-width:380px){
  .composer-suggestion-pills{gap:7px}
  .composer-suggestion-pill{max-width:75vw;font-size:.71rem;padding-inline:13px}
}

/* ========================================================================== 
   ASTROCHAT v104 · completed response alignment and suggestion rail polish
   UI-only: no chart, Gemini, credit, payment or Razorpay logic changes.
   ========================================================================== */
.consultation-card.complete{
  width:min(100%,860px)!important;
  margin-left:0!important;
  margin-right:auto!important;
}
.consultation-card.complete .consultation-answer{
  width:min(100%,720px)!important;
  margin:0 auto 0 0!important;
  justify-content:start!important;
  justify-items:stretch!important;
  align-items:start!important;
}
.consultation-card.complete .consultation-answer-content{
  margin:0 auto 0 0!important;
  text-align:left!important;
  font-weight:400!important;
  border-bottom-left-radius:0!important;
  border-bottom-right-radius:0!important;
}
.consultation-card.complete .consultation-answer-content .chat-answer-line,
.consultation-card.complete .consultation-answer-content .chat-answer-heading,
.consultation-card.complete .consultation-answer-content .chat-answer-bullet,
.consultation-card.complete .consultation-answer-content .chat-answer-bullet>span:last-child{
  font-weight:400!important;
}
.consultation-card.complete .consultation-answer-content .chat-answer-line strong,
.consultation-card.complete .consultation-answer-content .chat-answer-heading strong,
.consultation-card.complete .consultation-answer-content .chat-answer-bullet strong{
  font-weight:400!important;
}
.consultation-card.complete .consultation-answer-content .is-summary{
  font-weight:720!important;
  color:#f4f4f3!important;
}
.consultation-card.complete .consultation-answer-content .is-summary strong{
  font-weight:760!important;
  color:#fff!important;
}
.consultation-card.complete .chat-consultation-verdict{
  font-weight:680!important;
}
.consultation-card.complete .chat-technical summary span,
.consultation-card.complete .chat-technical summary small{
  font-weight:520!important;
}
.consultation-card.complete .chat-technical-body,
.consultation-card.complete .chat-technical-body *{
  font-weight:400!important;
}
.consultation-card.complete .consultation-feedback{
  grid-column:2!important;
  grid-row:3!important;
  width:min(100%,650px)!important;
  margin:-1px auto 0 0!important;
  padding:13px 20px!important;
  border:1px solid rgba(255,255,255,.125)!important;
  border-top-color:rgba(255,255,255,.07)!important;
  border-radius:0 0 20px 20px!important;
  background:linear-gradient(180deg,rgba(10,12,15,.94),rgba(8,10,13,.94))!important;
  box-shadow:0 16px 34px rgba(0,0,0,.16)!important;
}
.consultation-card.complete .consultation-feedback-prompt{
  color:#a6a9af!important;
  font-weight:560!important;
  font-size:.66rem!important;
  letter-spacing:-.006em!important;
}
.composer-suggestion-pills{
  width:min(100%,850px)!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  margin:0 auto 8px!important;
  padding:0 2px 5px!important;
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  white-space:nowrap!important;
  scroll-padding-left:2px!important;
  background:transparent!important;
  box-shadow:none!important;
}
.composer-suggestion-pills-label{display:none!important}
.composer-suggestion-pill{
  flex:0 0 auto!important;
  max-width:min(74vw,285px)!important;
  min-width:0!important;
  min-height:34px!important;
  padding:0 14px!important;
  font-size:.74rem!important;
  font-weight:520!important;
  line-height:1!important;
  text-align:center!important;
  background:rgba(16,18,21,.86)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 8px 18px rgba(0,0,0,.12)!important;
}
.composer-suggestion-pill:first-of-type{margin-left:0!important}
@media(max-width:720px){
  .consultation-card.complete{
    width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  .consultation-card.complete .consultation-answer{
    width:100%!important;
    margin-left:0!important;
    padding-left:0!important;
    padding-right:2px!important;
    grid-template-columns:36px minmax(0,1fr)!important;
    column-gap:9px!important;
  }
  .consultation-card.complete .consultation-answer-content{
    padding:18px 16px 18px!important;
  }
  .consultation-card.complete .consultation-feedback{
    width:100%!important;
    margin-left:0!important;
    padding:12px 16px!important;
  }
  .composer-suggestion-pills{
    width:100%!important;
    margin:0 0 7px!important;
    padding:0 0 5px!important;
    gap:7px!important;
  }
  .composer-suggestion-pill{
    max-width:78vw!important;
    min-height:34px!important;
    padding-inline:13px!important;
    font-size:.72rem!important;
  }
}
@media(max-width:380px){
  .consultation-card.complete .consultation-answer{grid-template-columns:34px minmax(0,1fr)!important;column-gap:8px!important}
  .consultation-card.complete .consultation-feedback{padding:12px 14px!important}
  .composer-suggestion-pill{max-width:80vw!important;font-size:.7rem!important;padding-inline:12px!important}
}


/* ========================================================================== 
   ASTROCHAT v105 · response weight, brand color and suggestion-card rollback
   UI-only: the Gemini, KP, credit, Razorpay and payment contracts are untouched.
   ========================================================================== */
.consultation-card.complete .consultation-answer-label strong{
  color:#5D1D1E!important;
}
.consultation-card.complete .consultation-answer-content,
.consultation-card.complete .consultation-answer-content .chat-answer-line,
.consultation-card.complete .consultation-answer-content .chat-answer-line:first-child,
.consultation-card.complete .consultation-answer-content .chat-answer-heading,
.consultation-card.complete .consultation-answer-content .chat-answer-bullet,
.consultation-card.complete .consultation-answer-content .chat-answer-bullet>span:last-child,
.consultation-card.complete .consultation-answer-content strong,
.consultation-card.complete .consultation-answer-content .chat-answer-line:first-child strong,
.consultation-card.complete .consultation-answer-content .chat-answer-heading strong,
.consultation-card.complete .consultation-answer-content .chat-answer-bullet strong,
.consultation-card.complete .consultation-answer-content .is-summary,
.consultation-card.complete .consultation-answer-content .is-summary strong{
  font-weight:400!important;
  letter-spacing:-.012em!important;
}
.consultation-card.complete .consultation-answer-content .chat-answer-line:first-child{
  font-size:var(--chat-answer-size,.98rem)!important;
  line-height:1.58!important;
  color:#d6d8dc!important;
}
.consultation-card.complete .consultation-answer-content .chat-answer-heading{
  font-size:var(--chat-answer-size,.98rem)!important;
  line-height:1.58!important;
  color:#d6d8dc!important;
}
.consultation-card.complete .chat-consultation-verdict{
  font-weight:720!important;
}
.consultation-card.complete .chat-technical-body,
.consultation-card.complete .chat-technical-body *,
.consultation-card.complete .chat-technical-body .chat-answer-line:first-child,
.consultation-card.complete .chat-technical-body .chat-answer-line:first-child strong,
.consultation-card.complete .chat-technical-body .is-summary,
.consultation-card.complete .chat-technical-body .is-summary strong{
  font-weight:400!important;
  font-size:.88rem!important;
  line-height:1.62!important;
  color:#c3c7cd!important;
}
.consultation-card.complete .chat-technical-body .chat-answer-heading{
  font-weight:520!important;
  font-size:.88rem!important;
  color:#e2e4e6!important;
}
.composer-suggestion-pills{
  display:none!important;
}
.consultation-card.complete .chat-next-questions{
  margin:22px 0 4px!important;
  padding:16px!important;
  border:1px solid rgba(255,255,255,.09)!important;
  border-radius:16px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.014))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important;
}
.consultation-card.complete .chat-next-questions-head{
  grid-template-columns:1fr!important;
  margin-bottom:12px!important;
}
.consultation-card.complete .chat-next-questions-head>span{
  color:#8d9298!important;
  font-size:.55rem!important;
  font-weight:650!important;
  letter-spacing:.13em!important;
}
.consultation-card.complete .chat-next-questions-head>span i{
  background:#5D1D1E!important;
  box-shadow:0 0 0 5px rgba(93,29,30,.12)!important;
}
.consultation-card.complete .chat-next-questions-head>strong{
  color:#f1f2f0!important;
  font-size:.86rem!important;
  font-weight:560!important;
}
.consultation-card.complete .chat-next-questions-list{
  gap:8px!important;
}
.consultation-card.complete .chat-next-question{
  min-height:48px!important;
  padding:10px 10px 10px 13px!important;
  border-color:rgba(255,255,255,.10)!important;
  background:rgba(7,8,10,.62)!important;
  border-radius:14px!important;
}
.consultation-card.complete .chat-next-question:hover,
.consultation-card.complete .chat-next-question:focus-visible{
  border-color:rgba(93,29,30,.44)!important;
  background:rgba(93,29,30,.09)!important;
}
.consultation-card.complete .chat-next-question-copy{
  color:#e6e8eb!important;
  font-size:.75rem!important;
  font-weight:430!important;
  line-height:1.38!important;
}
.consultation-card.complete .chat-next-question-action{
  color:#c6c9ce!important;
  background:rgba(255,255,255,.035)!important;
}
.consultation-card.complete .chat-next-questions-note{
  color:#7a7f86!important;
  font-size:.52rem!important;
}
@media(max-width:720px){
  .consultation-card.complete .chat-next-questions{
    padding:14px!important;
    border-radius:15px!important;
  }
  .consultation-card.complete .chat-next-question-copy{
    font-size:.72rem!important;
  }
}

/* ========================================================================== 
   ASTROCHAT v107 · response spacing, flat card shadow, summary highlighter
   UI-only: no Gemini, KP, credit, Razorpay, payment or prompt logic changes.
   ========================================================================== */
.consultation-card.complete .consultation-answer{
  grid-template-columns:42px minmax(0,1fr)!important;
  column-gap:10px!important;
}
.consultation-card.complete .consultation-answer-label{
  grid-column:2!important;
  color:#5D1D1E!important;
}
.consultation-card.complete .consultation-answer-label strong{
  color:#5D1D1E!important;
}
.consultation-card.complete .consultation-answer-content{
  grid-column:1 / -1!important;
  grid-row:2!important;
  width:100%!important;
  max-width:690px!important;
  margin:0!important;
  box-shadow:none!important;
  background:#101215!important;
  border-color:rgba(255,255,255,.105)!important;
}
.consultation-card.complete .consultation-answer-content,
.consultation-card.complete .consultation-answer-content .chat-answer-line,
.consultation-card.complete .consultation-answer-content .chat-answer-line:first-child,
.consultation-card.complete .consultation-answer-content .chat-answer-heading,
.consultation-card.complete .consultation-answer-content .chat-answer-bullet,
.consultation-card.complete .consultation-answer-content .chat-answer-bullet>span:last-child,
.consultation-card.complete .consultation-answer-content strong,
.consultation-card.complete .consultation-answer-content .chat-answer-line:first-child strong,
.consultation-card.complete .consultation-answer-content .chat-answer-heading strong,
.consultation-card.complete .consultation-answer-content .chat-answer-bullet strong{
  font-weight:400!important;
}
.consultation-card.complete .chat-consultation-verdict{
  position:relative!important;
  margin:24px 0 22px!important;
  padding:19px 20px 19px 30px!important;
  border:1px solid rgba(255,255,255,.105)!important;
  border-left:0!important;
  border-radius:18px!important;
  background:#0d1012!important;
  box-shadow:none!important;
  color:#f1f2f0!important;
  font-weight:720!important;
  line-height:1.52!important;
}
.consultation-card.complete .chat-consultation-verdict::before{
  content:""!important;
  position:absolute!important;
  left:0!important;
  top:0!important;
  bottom:0!important;
  width:4px!important;
  border-radius:18px 0 0 18px!important;
  background:#5D1D1E!important;
}
.consultation-card.complete .chat-technical-body,
.consultation-card.complete .chat-technical-body *,
.consultation-card.complete .chat-technical-body strong{
  font-weight:400!important;
}
.consultation-card.complete .consultation-feedback{
  grid-column:1 / -1!important;
  grid-row:3!important;
  width:100%!important;
  max-width:690px!important;
  margin:-1px 0 0!important;
  box-shadow:none!important;
  background:#0b0d0f!important;
}
.consultation-card.complete .chat-next-questions{
  box-shadow:none!important;
}
.composer-shell{
  box-shadow:none!important;
}
.composer-shell:focus-within{
  box-shadow:0 0 0 2px rgba(93,29,30,.10)!important;
}
@media(max-width:720px){
  .consultation-card.complete .consultation-answer{
    grid-template-columns:36px minmax(0,1fr)!important;
    column-gap:8px!important;
    padding-left:0!important;
    padding-right:0!important;
  }
  .consultation-card.complete .consultation-answer-content,
  .consultation-card.complete .consultation-feedback{
    max-width:none!important;
    width:100%!important;
  }
  .consultation-card.complete .consultation-answer-content{
    padding:20px 17px 20px!important;
  }
  .consultation-card.complete .chat-consultation-verdict{
    padding:18px 18px 18px 27px!important;
    border-radius:16px!important;
  }
  .consultation-card.complete .chat-consultation-verdict::before{
    border-radius:16px 0 0 16px!important;
  }
}

/* ========================================================================== 
   ASTROCHAT v110 · Daily Horoscope v2 readability + anchored footer
   Daily Horoscope presentation and footer placement only.
   ========================================================================== */
body.daily-horoscope-open .workspace-home-footer.ac-unified-footer{display:none!important}
.daily-horoscope-screen{
  display:flex;
  flex-direction:column;
  overflow:hidden!important;
  background:
    radial-gradient(circle at 82% 8%,rgba(93,29,30,.085),transparent 26rem),
    linear-gradient(180deg,#050607 0%,#07080a 58%,#050607 100%)!important;
}
.daily-horoscope-screen[hidden]{display:none!important}
.daily-horoscope-page{
  flex:1 1 auto;
  min-height:0!important;
  overflow:auto;
  padding-bottom:clamp(22px,4vw,38px)!important;
}
.daily-horoscope-footer.ac-unified-footer{
  flex:0 0 auto;
  position:relative;
  z-index:18;
  min-height:56px;
  border-top:1px solid rgba(255,255,255,.07);
  background:rgba(5,6,7,.985);
  box-shadow:0 -18px 42px rgba(0,0,0,.22);
}
.daily-horoscope-result{
  border:1px solid rgba(255,255,255,.075);
  border-radius:22px;
  padding:18px 18px 16px;
  background:linear-gradient(160deg,rgba(255,255,255,.038),rgba(255,255,255,.014));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 20px 58px rgba(0,0,0,.15);
}
.daily-focus-section{
  margin-bottom:18px!important;
  padding:0 0 16px!important;
}
.daily-focus-pills{gap:8px!important}
.daily-focus-pill{
  min-height:31px!important;
  padding:0 12px!important;
  font-size:.64rem!important;
  font-weight:660!important;
}
.daily-result-heading{
  padding-bottom:13px!important;
  align-items:center!important;
}
.daily-result-heading small{letter-spacing:.16em!important}
.daily-result-heading h3{font-size:clamp(1.38rem,3.7vw,1.82rem)!important}
.daily-guidance-copy{
  margin-top:16px;
  padding:0!important;
  color:#d6d8da!important;
  font-size:clamp(.88rem,1.62vw,.98rem)!important;
  line-height:1.72!important;
}
.daily-guidance-copy p{
  margin:0 0 12px!important;
  color:inherit!important;
}
.daily-guidance-copy .daily-best-use{
  position:relative;
  margin-top:14px!important;
  padding:13px 14px 13px 18px!important;
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  background:rgba(255,255,255,.026);
  color:#f0f1ef!important;
  font-weight:720!important;
  line-height:1.55!important;
}
.daily-guidance-copy .daily-best-use::before{
  content:"";
  position:absolute;
  left:0;
  top:12px;
  bottom:12px;
  width:3px;
  border-radius:0 4px 4px 0;
  background:#5D1D1E;
  box-shadow:0 0 16px rgba(93,29,30,.28);
}
.daily-result-foot{
  margin-top:16px!important;
  padding-top:12px!important;
  font-size:.53rem!important;
}
@media(max-width:720px){
  .daily-horoscope-page{padding-left:14px!important;padding-right:14px!important}
  .daily-horoscope-result{border-radius:20px;padding:16px 14px 14px}
  .daily-horoscope-footer.ac-unified-footer{min-height:56px!important}
  .daily-guidance-copy{font-size:.9rem!important;line-height:1.68!important}
}

/* ========================================================================== 
   ASTROCHAT v111 · Targeted UI polish
   Navigation/state, composer, chart evidence and first-launch tour presentation only.
   ========================================================================== */
.home-appbar::after{
  background:linear-gradient(90deg,transparent,rgba(93,29,30,.38),transparent)!important;
  opacity:1!important;
}
.composer-shell{
  grid-template-rows:minmax(34px,auto) 18px!important;
}
.orbix-composer-actions{
  justify-content:flex-end!important;
}
.composer-balance-row{
  width:min(100%,850px);
  margin:5px auto 0;
  padding:0 18px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  color:#737880;
  font-size:.68rem;
  line-height:1.2;
}
.composer-balance-row .composer-question-balance{
  display:inline-flex;
  align-items:center;
  gap:4px;
}
.composer-balance-row .composer-question-balance b{
  color:#d5d7da;
  font-weight:740;
}
.chart-evidence-scroll{
  display:flex!important;
  flex-direction:column!important;
}
.chart-tab-panels{
  flex:1 0 auto!important;
}
.chart-evidence-footer.ac-unified-footer{
  position:sticky!important;
  bottom:0!important;
  z-index:9!important;
  margin-top:auto!important;
  background:rgba(9,11,13,.98)!important;
  border-top:1px solid rgba(255,255,255,.075)!important;
  box-shadow:0 -18px 38px rgba(0,0,0,.20)!important;
  backdrop-filter:blur(14px)!important;
  -webkit-backdrop-filter:blur(14px)!important;
}
.chart-evidence-tabs{
  gap:7px!important;
  border-bottom:0!important;
  padding-top:7px!important;
  padding-bottom:7px!important;
}
.chart-evidence-tab{
  min-height:48px!important;
  border:1px solid transparent!important;
  border-radius:14px!important;
  transition:color .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease,transform .18s ease!important;
}
.chart-evidence-tab.is-active{
  color:#f3f3f0!important;
  border-color:rgba(93,29,30,.38)!important;
  background:linear-gradient(135deg,rgba(93,29,30,.18),rgba(93,29,30,.055) 58%,rgba(255,255,255,.035))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 9px 24px rgba(93,29,30,.08)!important;
}
.chart-evidence-tab.is-active span:not(.chart-evidence-tab-dot){
  font-size:.68rem!important;
  font-weight:820!important;
  letter-spacing:-.01em!important;
}
@media(max-width:720px){
  .composer-balance-row{padding:0 16px;font-size:.67rem}
  .chart-evidence-tabs{gap:5px!important;padding-left:14px!important;padding-right:14px!important}
  .chart-evidence-tab{min-height:45px!important;padding:9px 6px!important}
  .chart-evidence-tab.is-active span:not(.chart-evidence-tab-dot){font-size:.61rem!important}
}

/* ========================================================================== 
   ASTROCHAT v112 · Consistent secondary headers + readable Dasha badges
   Presentation-only: chart evidence/chat history appbars and period labels.
   ========================================================================== */
.ac-consistent-appbar{
  position:relative!important;
  min-height:72px!important;
  height:72px!important;
  flex:0 0 72px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0 clamp(16px,4vw,28px)!important;
  border-bottom:1px solid var(--ac-line)!important;
  background:rgba(5,6,7,.96)!important;
  backdrop-filter:blur(20px) saturate(135%)!important;
  -webkit-backdrop-filter:blur(20px) saturate(135%)!important;
  box-shadow:none!important;
}
.ac-consistent-appbar::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-1px;
  height:1px;
  pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(93,29,30,.38),transparent)!important;
  opacity:1!important;
}
.ac-consistent-appbar-main{
  width:100%!important;
  height:60px!important;
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr) auto!important;
  align-items:center!important;
  position:relative!important;
  z-index:2!important;
}
.ac-consistent-appbar .ac-overlay-menu-button{
  grid-column:1!important;
  justify-self:start!important;
  margin:0!important;
}
.ac-consistent-appbar .ac-consistent-brand{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  transform:translate(-50%,-50%)!important;
  z-index:1!important;
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  min-width:0!important;
  color:#f7f7f4!important;
  pointer-events:none!important;
}
.ac-consistent-appbar .ac-consistent-brand img{
  width:30px!important;
  height:30px!important;
  object-fit:contain!important;
}
.ac-consistent-appbar .ac-consistent-brand strong{
  display:block!important;
  color:#f7f7f4!important;
  font-size:1rem!important;
  font-weight:820!important;
  letter-spacing:-.03em!important;
  line-height:1!important;
}
.ac-appbar-actions{
  grid-column:3!important;
  justify-self:end!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  position:relative!important;
  z-index:3!important;
}
.ac-consistent-appbar .ac-overlay-theme-button{
  flex:0 0 38px!important;
  width:38px!important;
  height:38px!important;
  border-radius:50%!important;
  background:transparent!important;
  color:var(--ac-red)!important;
  margin:0!important;
}
.ac-consistent-appbar .ac-overlay-close{
  flex:0 0 38px!important;
  width:38px!important;
  height:38px!important;
  border-radius:50%!important;
  display:grid!important;
  place-items:center!important;
  margin:0!important;
  font-size:1.25rem!important;
  line-height:1!important;
  border:1px solid var(--ac-line)!important;
  background:#111315!important;
  color:#d5d7d9!important;
  box-shadow:none!important;
}
.ac-consistent-appbar .ac-overlay-close:hover,
.ac-consistent-appbar .ac-overlay-theme-button:hover{
  background:rgba(93,29,30,.09)!important;
}
.chat-history-header.ac-consistent-appbar{
  padding-left:clamp(16px,4vw,22px)!important;
  padding-right:clamp(16px,4vw,22px)!important;
}
.chat-history-panel .chat-history-profile-wrap{
  border-top:0!important;
}
.now-badge{
  background:#5D1D1E!important;
  color:#fff!important;
  border:1px solid rgba(93,29,30,.34)!important;
  box-shadow:0 8px 18px rgba(93,29,30,.16)!important;
  text-shadow:none!important;
  letter-spacing:.01em!important;
}
@media(max-width:720px){
  .ac-consistent-appbar{
    min-height:66px!important;
    height:66px!important;
    flex-basis:66px!important;
    padding-left:14px!important;
    padding-right:14px!important;
  }
  .ac-consistent-appbar-main{height:58px!important;grid-template-columns:38px minmax(0,1fr) auto!important}
  .ac-consistent-appbar .ac-consistent-brand{gap:8px!important}
  .ac-consistent-appbar .ac-consistent-brand img{width:28px!important;height:28px!important}
  .ac-consistent-appbar .ac-consistent-brand strong{font-size:.95rem!important}
  .ac-appbar-actions{gap:5px!important}
  .ac-consistent-appbar .ac-overlay-theme-button,
  .ac-consistent-appbar .ac-overlay-close{width:34px!important;height:34px!important;flex-basis:34px!important}
}

/* v112 compatibility: chart evidence keeps original class contract while using the consistent appbar styling. */
[data-consistent-appbar]{
  position:relative!important;
  min-height:72px!important;
  height:72px!important;
  flex:0 0 72px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0 clamp(16px,4vw,28px)!important;
  border-bottom:1px solid var(--ac-line)!important;
  background:rgba(5,6,7,.96)!important;
  backdrop-filter:blur(20px) saturate(135%)!important;
  -webkit-backdrop-filter:blur(20px) saturate(135%)!important;
  box-shadow:none!important;
}
[data-consistent-appbar]::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-1px;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(93,29,30,.38),transparent)!important;
  opacity:1!important;
}
[data-consistent-appbar] .ac-overlay-menu-button{grid-column:1!important;justify-self:start!important;margin:0!important}
[data-consistent-appbar] [data-consistent-brand]{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  transform:translate(-50%,-50%)!important;
  z-index:1!important;
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  min-width:0!important;
  color:#f7f7f4!important;
  pointer-events:none!important;
}
[data-consistent-appbar] [data-consistent-brand] img{width:30px!important;height:30px!important;object-fit:contain!important}
[data-consistent-appbar] [data-consistent-brand] strong{display:block!important;color:#f7f7f4!important;font-size:1rem!important;font-weight:820!important;letter-spacing:-.03em!important;line-height:1!important}
[data-consistent-appbar] .ac-overlay-theme-button{flex:0 0 38px!important;width:38px!important;height:38px!important;border-radius:50%!important;background:transparent!important;color:var(--ac-red)!important;margin:0!important}
[data-consistent-appbar] .ac-overlay-close{flex:0 0 38px!important;width:38px!important;height:38px!important;border-radius:50%!important;display:grid!important;place-items:center!important;margin:0!important;font-size:1.25rem!important;line-height:1!important;border:1px solid var(--ac-line)!important;background:#111315!important;color:#d5d7d9!important;box-shadow:none!important}
@media(max-width:720px){
  [data-consistent-appbar]{min-height:66px!important;height:66px!important;flex-basis:66px!important;padding-left:14px!important;padding-right:14px!important}
  [data-consistent-appbar] [data-consistent-brand]{gap:8px!important}
  [data-consistent-appbar] [data-consistent-brand] img{width:28px!important;height:28px!important}
  [data-consistent-appbar] [data-consistent-brand] strong{font-size:.95rem!important}
  [data-consistent-appbar] .ac-overlay-theme-button,[data-consistent-appbar] .ac-overlay-close{width:34px!important;height:34px!important;flex-basis:34px!important}
}


/* ==========================================================================
   ASTROCHAT v114 · Drawer app share action
   App-level share icon inside the sidebar header.
   ========================================================================== */
.drawer-brandbar{grid-template-columns:34px minmax(0,1fr) auto!important}
.drawer-brand-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;min-width:0!important}
.drawer-share-app{
  width:38px!important;
  height:38px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:50%!important;
  border:1px solid rgba(255,255,255,.095)!important;
  background:rgba(255,255,255,.035)!important;
  color:#9aa0a7!important;
  box-shadow:none!important;
  transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease!important;
}
.drawer-share-app svg{width:18px!important;height:18px!important;display:block!important;fill:currentColor!important}
.drawer-support-app{
  text-decoration:none!important;
  flex:0 0 auto!important;
}
.drawer-share-app:hover,.drawer-share-app:focus-visible{
  color:#f2f3f5!important;
  border-color:rgba(93,29,30,.44)!important;
  background:rgba(93,29,30,.18)!important;
  transform:translateY(-1px)!important;
}
.drawer-share-app:disabled{opacity:.55!important;pointer-events:none!important}
@media(max-width:720px){
  .drawer-brand-actions{gap:7px!important}
  .drawer-share-app{width:34px!important;height:34px!important}
  .drawer-share-app svg{width:16px!important;height:16px!important}
}


/* v114 · Profile setup CTA readability. */
.premium-profile-editor .profile-save .profile-save-label,
.premium-profile-editor .profile-save .profile-save-arrow{
  color:#fff!important;text-shadow:0 1px 1px rgba(0,0,0,.35);opacity:1!important;
}
.premium-profile-editor .profile-save:disabled .profile-save-label,
.premium-profile-editor .profile-save:disabled .profile-save-arrow{
  color:#fff!important;opacity:1!important;
}

/* ========================================================================== 
   ASTROCHAT v115 · compact timing response display
   UI-only: timing calculation/result selection remains unchanged.
   ========================================================================== */
.consultation-card.complete.timing-response-card .consultation-answer{
  grid-template-columns:1fr!important;
  padding-left:0!important;
  padding-right:0!important;
  max-width:690px!important;
}
.consultation-card.complete.timing-response-card .consultation-assistant-mark,
.consultation-card.complete.timing-response-card .consultation-answer-label{
  display:none!important;
}
.consultation-card.complete.timing-response-card .consultation-answer-content{
  grid-column:1 / -1!important;
  grid-row:1!important;
  max-width:690px!important;
  padding:24px 26px 22px!important;
  border-radius:18px!important;
}
.timing-response-brand{
  display:flex;
  align-items:center;
  gap:12px;
  margin:0 0 20px;
  color:#e8e9ea;
  font-size:.64rem;
  font-weight:760;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.timing-response-brand i{
  width:10px;
  height:10px;
  border-radius:50%;
  background:#5D1D1E;
  box-shadow:0 0 0 9px rgba(93,29,30,.08);
}
.timing-response-kicker{
  margin:0 0 12px;
  color:#B94C50;
  font-size:.72rem;
  font-weight:760;
  letter-spacing:-.01em;
}
.timing-response-copy{
  margin:0;
  color:#d7d9dd;
  font-size:var(--chat-answer-size,.98rem);
  line-height:1.5;
  letter-spacing:-.018em;
}
.timing-response-copy p{
  margin:0 0 16px;
  color:inherit;
}
.timing-response-copy p:last-child{margin-bottom:0}
.timing-response-copy strong{
  color:#f4f5f2!important;
  font-weight:780!important;
}
.consultation-card.complete .timing-response-content .chat-timing-section{
  margin:22px 0 0!important;
}
.timing-window-feature{
  overflow:hidden!important;
  padding:0!important;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:14px!important;
  background:linear-gradient(150deg,rgba(255,255,255,.035),rgba(255,255,255,.014))!important;
  box-shadow:none!important;
}
.timing-window-primary{
  display:grid;
  grid-template-columns:44px minmax(130px,.42fr) minmax(0,1fr);
  gap:16px;
  align-items:center;
  padding:18px 20px 18px;
}
.timing-window-icon{
  width:34px;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#8A2428;
}
.timing-window-icon svg{
  width:30px;
  height:30px;
  stroke:currentColor;
  stroke-width:1.8;
  fill:none;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.timing-window-date-block{
  min-width:0;
  display:grid;
  gap:7px;
}
.timing-window-rank{
  color:#a5a8ae;
  font-size:.7rem;
  font-weight:540;
  line-height:1.2;
  letter-spacing:-.01em;
  text-transform:none;
}
.timing-window-date{
  color:#8A2428!important;
  font-size:1.18rem;
  font-weight:820!important;
  letter-spacing:.025em;
  line-height:1.18;
}
.timing-window-reason{
  margin:0;
  padding-left:20px;
  border-left:1px solid rgba(255,255,255,.12);
  color:#c6c9cf;
  font-size:.78rem;
  line-height:1.45;
}
.timing-window-additional{
  display:grid;
  grid-template-columns:minmax(120px,.32fr) minmax(0,1fr);
  gap:18px;
  padding:14px 20px;
  border-top:1px solid rgba(255,255,255,.09);
  color:#9ba0a7;
  font-size:.72rem;
}
.timing-window-additional strong{
  color:#f0f1ef!important;
  font-size:.78rem;
  font-weight:720!important;
}
.timing-window-footnote{
  margin:0!important;
  padding:11px 20px 14px!important;
  border-top:1px solid rgba(255,255,255,.075)!important;
  color:#777d84!important;
  font-size:.58rem!important;
  line-height:1.4!important;
}
@media(max-width:720px){
  .consultation-card.complete.timing-response-card .consultation-answer{max-width:none!important;width:100%!important}
  .consultation-card.complete.timing-response-card .consultation-answer-content{max-width:none!important;padding:21px 18px 20px!important;border-radius:17px!important}
  .timing-response-brand{margin-bottom:18px;font-size:.61rem;gap:11px}
  .timing-response-kicker{font-size:.7rem;margin-bottom:11px}
  .timing-response-copy{font-size:.95rem;line-height:1.5}
  .timing-response-copy p{margin-bottom:14px}
  .timing-window-primary{grid-template-columns:36px minmax(90px,.38fr) minmax(0,1fr);gap:12px;padding:16px 14px}
  .timing-window-icon{width:30px;height:30px}.timing-window-icon svg{width:27px;height:27px}
  .timing-window-rank{font-size:.64rem}.timing-window-date{font-size:1rem}
  .timing-window-reason{padding-left:13px;font-size:.7rem;line-height:1.43}
  .timing-window-additional{grid-template-columns:1fr;gap:7px;padding:13px 14px;font-size:.68rem}
  .timing-window-additional strong{font-size:.73rem!important}
  .timing-window-footnote{padding:10px 14px 12px!important;font-size:.53rem!important}
}
@media(max-width:380px){
  .timing-window-primary{grid-template-columns:32px 1fr;align-items:start}
  .timing-window-reason{grid-column:1 / -1;border-left:0;border-top:1px solid rgba(255,255,255,.08);padding:12px 0 0;font-size:.69rem}
}

/* ========================================================================== 
   ASTROCHAT v116 · concise non-timing response presentation
   UI-only: calculation, routing, KP evaluation and timing logic remain unchanged.
   ========================================================================== */
.consultation-card.complete:not(.timing-response-card) .consultation-answer-content.non-timing-response-content{
  padding:22px 23px 21px!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,rgba(18,20,23,.98),rgba(11,13,16,.98))!important;
  border-color:rgba(255,255,255,.11)!important;
  box-shadow:none!important;
  font-size:.96rem!important;
  line-height:1.52!important;
  letter-spacing:-.012em!important;
}
.consultation-card.complete:not(.timing-response-card) .non-timing-response-content>.chat-answer-line,
.consultation-card.complete:not(.timing-response-card) .non-timing-response-content>.chat-answer-bullet,
.consultation-card.complete:not(.timing-response-card) .non-timing-response-content>.chat-answer-bullet>span:last-child{
  margin-bottom:11px!important;
  color:#d8dadd!important;
  font-weight:400!important;
  line-height:1.52!important;
}
.consultation-card.complete:not(.timing-response-card) .non-timing-response-content>.chat-answer-line:first-child{
  margin-bottom:13px!important;
  color:#f1f2ef!important;
  font-size:1.02rem!important;
  font-weight:520!important;
  line-height:1.44!important;
  letter-spacing:-.018em!important;
}
.consultation-card.complete:not(.timing-response-card) .non-timing-response-content>.chat-answer-heading{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  margin:16px 0 8px!important;
  color:#f2f2ef!important;
  font-size:.72rem!important;
  font-weight:720!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
}
.consultation-card.complete:not(.timing-response-card) .non-timing-response-content>.chat-answer-heading::before{
  content:""!important;
  width:7px!important;
  height:7px!important;
  border-radius:50%!important;
  background:#5D1D1E!important;
  box-shadow:0 0 0 5px rgba(93,29,30,.10)!important;
}
.consultation-card.complete:not(.timing-response-card) .non-timing-response-content>.chat-answer-bullet{
  grid-template-columns:16px 1fr!important;
  gap:8px!important;
  margin:8px 0!important;
}
.consultation-card.complete:not(.timing-response-card) .non-timing-response-content>.chat-answer-bullet>span:first-child{
  color:#5D1D1E!important;
  font-weight:800!important;
}
.consultation-card.complete:not(.timing-response-card) .non-timing-response-content>.chat-answer-gap{
  height:5px!important;
}
@media(max-width:720px){
  .consultation-card.complete:not(.timing-response-card) .consultation-answer-content.non-timing-response-content{
    padding:20px 17px 19px!important;
    font-size:.94rem!important;
    line-height:1.5!important;
  }
  .consultation-card.complete:not(.timing-response-card) .non-timing-response-content>.chat-answer-line:first-child{
    font-size:.99rem!important;
    line-height:1.42!important;
  }
}

/* ========================================================================== 
   ASTROCHAT v117 · timing card polish + subtle orbital accents
   UI-only: no KP, timing calculation, payment or credit logic changed.
   ========================================================================== */
.timing-window-footnote{
  display:none!important;
}
.timing-window-date,
.timing-window-additional strong,
.timing-inline-window{
  font-weight:900!important;
  letter-spacing:.01em!important;
}
.timing-window-date{
  display:block!important;
  color:#5D1D1E!important;
  -webkit-text-fill-color:#5D1D1E!important;
  text-shadow:0 0 0 currentColor;
}
.timing-window-additional strong{
  color:#f4f5f2!important;
  -webkit-text-fill-color:#f4f5f2!important;
}
.timing-inline-window{
  color:#f4f5f2!important;
  -webkit-text-fill-color:#f4f5f2!important;
}
.home-appbar,
.ac-consistent-appbar,
[data-consistent-appbar],
.chat-log-shell{
  isolation:isolate;
}
.home-appbar::before,
.ac-consistent-appbar::before,
[data-consistent-appbar]::before,
.chat-log-shell::before{
  content:"";
  position:absolute;
  pointer-events:none;
  z-index:0;
  width:164px;
  height:108px;
  border-radius:50%;
  opacity:.46;
  background:
    radial-gradient(circle at 79% 42%,rgba(93,29,30,.95) 0 4px,transparent 4.7px),
    radial-gradient(circle at 54% 73%,rgba(238,241,245,.92) 0 2.7px,transparent 3.4px),
    radial-gradient(circle at 30% 48%,rgba(93,29,30,.68) 0 2px,transparent 2.7px),
    radial-gradient(ellipse at 50% 50%,transparent 0 40%,rgba(93,29,30,.20) 40.6%,rgba(93,29,30,.20) 41.4%,transparent 42%),
    radial-gradient(ellipse at 50% 50%,transparent 0 61%,rgba(93,29,30,.13) 61.7%,rgba(93,29,30,.13) 62.5%,transparent 63%);
  transform:rotate(-12deg);
  animation:ac-orbit-drift 12s ease-in-out infinite alternate;
}
.home-appbar::before{
  left:clamp(52px,11vw,148px);
  top:9px;
}
.ac-consistent-appbar::before,
[data-consistent-appbar]::before{
  left:clamp(46px,10vw,132px);
  top:7px;
  width:142px;
  height:88px;
  opacity:.35;
}
.chat-log-shell::before{
  left:-46px;
  top:18px;
  width:190px;
  height:138px;
  opacity:.42;
  animation-duration:14s;
}
.home-appbar-main,
.ac-consistent-appbar-main,
.astro-chat-log,
.composer-zone{
  position:relative;
  z-index:2;
}
.home-appbar::after,
.ac-consistent-appbar::after,
[data-consistent-appbar]::after{
  height:1.5px!important;
  background:linear-gradient(90deg,transparent 0%,rgba(93,29,30,.12) 8%,rgba(93,29,30,.74) 50%,rgba(93,29,30,.12) 92%,transparent 100%)!important;
  opacity:1!important;
}
@keyframes ac-orbit-drift{
  0%{transform:translate3d(0,0,0) rotate(-12deg)}
  50%{transform:translate3d(6px,2px,0) rotate(-9deg)}
  100%{transform:translate3d(10px,-2px,0) rotate(-14deg)}
}
@media(max-width:720px){
  .home-appbar::before{left:42px;top:10px;width:132px;height:82px;opacity:.34}
  .chat-log-shell::before{left:-54px;top:12px;width:168px;height:118px;opacity:.34}
  .timing-window-date{font-size:1.08rem!important;line-height:1.14!important}
  .timing-window-additional strong{font-size:.81rem!important}
}
@media(prefers-reduced-motion:reduce){
  .home-appbar::before,
  .ac-consistent-appbar::before,
  [data-consistent-appbar]::before,
  .chat-log-shell::before{animation:none!important}
}


/* ========================================================================== 
   ASTROCHAT v118 · visible orbit accents, header divider and share icon restore
   UI-only polish. No KP, timing calculation, Daily Horoscope, credit or payment logic changed.
   ========================================================================== */
:root{
  --ac-orbit-ink:#5D1D1E;
  --ac-orbit-ink-soft:rgba(93,29,30,.32);
  --ac-orbit-ink-faint:rgba(93,29,30,.14);
}
.home-appbar,
.ac-consistent-appbar,
[data-consistent-appbar]{
  position:sticky!important;
  isolation:isolate!important;
  overflow:visible!important;
}
.home-appbar::after,
.ac-consistent-appbar::after,
[data-consistent-appbar]::after{
  content:""!important;
  position:absolute!important;
  z-index:1!important;
  left:0!important;
  right:0!important;
  top:57px!important;
  bottom:auto!important;
  height:2px!important;
  pointer-events:none!important;
  background:linear-gradient(90deg,transparent 0%,rgba(93,29,30,.18) 12%,rgba(93,29,30,.88) 50%,rgba(93,29,30,.18) 88%,transparent 100%)!important;
  box-shadow:0 1px 10px rgba(93,29,30,.16)!important;
  opacity:1!important;
}
.home-appbar::before,
.ac-consistent-appbar::before,
[data-consistent-appbar]::before{
  content:""!important;
  position:absolute!important;
  z-index:0!important;
  pointer-events:none!important;
  width:170px!important;
  height:108px!important;
  left:18px!important;
  top:20px!important;
  border-radius:50%!important;
  opacity:.50!important;
  background:
    radial-gradient(circle at 74% 34%,rgba(93,29,30,.95) 0 4px,transparent 4.8px),
    radial-gradient(circle at 38% 60%,rgba(93,29,30,.75) 0 2.5px,transparent 3.2px),
    radial-gradient(circle at 86% 70%,rgba(142,45,48,.55) 0 2.1px,transparent 2.8px),
    radial-gradient(ellipse at 50% 50%,transparent 0 47%,rgba(93,29,30,.28) 47.8%,rgba(93,29,30,.28) 49%,transparent 49.8%),
    radial-gradient(ellipse at 50% 50%,transparent 0 64%,rgba(93,29,30,.16) 64.8%,rgba(93,29,30,.16) 66%,transparent 66.8%)!important;
  transform:rotate(-13deg)!important;
  animation:ac-orbit-drift-v118 10s ease-in-out infinite alternate!important;
}
.home-appbar-main,
.ac-consistent-appbar-main,
.home-profile-row{position:relative!important;z-index:3!important}
.chat-log-shell{
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
}
.chat-log-shell::before{
  content:""!important;
  position:absolute!important;
  z-index:0!important;
  pointer-events:none!important;
  width:210px!important;
  height:150px!important;
  left:-30px!important;
  top:22px!important;
  border-radius:50%!important;
  opacity:.46!important;
  background:
    radial-gradient(circle at 83% 36%,rgba(93,29,30,.96) 0 4px,transparent 4.9px),
    radial-gradient(circle at 48% 70%,rgba(235,236,232,.50) 0 2.6px,transparent 3.2px),
    radial-gradient(circle at 30% 38%,rgba(93,29,30,.62) 0 2px,transparent 2.8px),
    radial-gradient(ellipse at 50% 50%,transparent 0 42%,rgba(93,29,30,.24) 42.7%,rgba(93,29,30,.24) 43.8%,transparent 44.6%),
    radial-gradient(ellipse at 50% 50%,transparent 0 62%,rgba(93,29,30,.13) 62.8%,rgba(93,29,30,.13) 64%,transparent 64.8%)!important;
  transform:rotate(-18deg)!important;
  animation:ac-orbit-drift-v118 12s ease-in-out infinite alternate!important;
}
.chat-log-shell::after{
  content:"✦"!important;
  position:absolute!important;
  z-index:0!important;
  pointer-events:none!important;
  left:9px!important;
  top:118px!important;
  color:rgba(93,29,30,.72)!important;
  font-size:17px!important;
  line-height:1!important;
  opacity:.75!important;
  animation:ac-star-pulse-v118 3.6s ease-in-out infinite!important;
}
.astro-chat-log{position:relative!important;z-index:2!important}
.consultation-card.complete .consultation-answer-label{
  min-width:0!important;
  width:100%!important;
  padding-right:2px!important;
}
.consultation-card.complete .consultation-inline-share-reading{
  margin-left:auto!important;
  width:34px!important;
  height:34px!important;
  min-height:34px!important;
  padding:0!important;
  display:inline-grid!important;
  place-items:center!important;
  border:1px solid rgba(255,255,255,.10)!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.035)!important;
  color:#c8cbd0!important;
  box-shadow:none!important;
  flex:0 0 auto!important;
}
.consultation-card.complete .consultation-inline-share-reading .share-glyph{
  margin:0!important;
  font-size:.95rem!important;
  line-height:1!important;
}
.consultation-card.complete .consultation-inline-share-reading:hover,
.consultation-card.complete .consultation-inline-share-reading:focus-visible{
  border-color:rgba(93,29,30,.38)!important;
  color:#fff!important;
  background:rgba(93,29,30,.10)!important;
}
.consultation-card.complete .consultation-assistant-mark .assistant-eclipse{
  background:#5D1D1E!important;
  box-shadow:0 0 0 5px rgba(93,29,30,.10)!important;
}
.consultation-card.complete .consultation-assistant-mark .assistant-eclipse::after{
  background:#111317!important;
}
.timing-window-date,
.timing-window-additional strong,
.timing-inline-window{
  font-weight:900!important;
}
@keyframes ac-orbit-drift-v118{
  0%{transform:translate3d(0,0,0) rotate(-18deg)}
  55%{transform:translate3d(7px,2px,0) rotate(-13deg)}
  100%{transform:translate3d(12px,-3px,0) rotate(-20deg)}
}
@keyframes ac-star-pulse-v118{
  0%,100%{opacity:.35;transform:scale(.82) rotate(0deg)}
  50%{opacity:.85;transform:scale(1) rotate(12deg)}
}
@media(max-width:720px){
  .home-appbar::before{left:12px!important;top:18px!important;width:148px!important;height:94px!important;opacity:.48!important}
  .ac-consistent-appbar::before,
  [data-consistent-appbar]::before{left:12px!important;top:14px!important;width:136px!important;height:86px!important;opacity:.38!important}
  .chat-log-shell::before{left:-46px!important;top:18px!important;width:198px!important;height:142px!important;opacity:.50!important}
  .chat-log-shell::after{left:17px!important;top:118px!important;font-size:16px!important}
  body.keyboard-open .home-appbar::after{top:56px!important}
  body.keyboard-open .home-appbar::before{opacity:.30!important}
  .consultation-card.complete .consultation-inline-share-reading{width:32px!important;height:32px!important;min-height:32px!important}
}
@media(prefers-reduced-motion:reduce){
  .home-appbar::before,
  .ac-consistent-appbar::before,
  [data-consistent-appbar]::before,
  .chat-log-shell::before,
  .chat-log-shell::after{animation:none!important}
}

/* ========================================================================== 
   ASTROCHAT v119 · foreground orbit accents visibility polish
   UI-only. No KP logic, calculation, timing, daily horoscope, payment or credit logic changed.
   ========================================================================== */
.home-appbar::before,
.ac-consistent-appbar::before,
[data-consistent-appbar]::before{
  z-index:2!important;
  opacity:.72!important;
  filter:drop-shadow(0 0 10px rgba(93,29,30,.12));
}
.home-appbar-main,
.ac-consistent-appbar-main,
.home-profile-row{z-index:3!important}

/* Make the response-area orbital accent visible in front, but keep it parked
   in the empty leading margin so it does not cover card copy. */
.chat-log-shell{
  overflow:visible!important;
  padding-top:4px!important;
}
.chat-log-shell::before{
  z-index:4!important;
  left:-64px!important;
  top:34px!important;
  width:224px!important;
  height:168px!important;
  opacity:.92!important;
  filter:drop-shadow(0 0 10px rgba(93,29,30,.10));
}
.chat-log-shell::after{
  z-index:4!important;
  left:24px!important;
  top:124px!important;
  opacity:.92!important;
}
.astro-chat-log{z-index:2!important}
.astro-chat-log > *{position:relative;z-index:2}

/* keep message cards clean while the accent remains visible around them */
.consultation-card,
.chat-message,
.reading-progress-card,
.consultation-bubble,
.consultation-card.pending,
.consultation-card.complete{
  position:relative;
  z-index:2;
}

@media(max-width:720px){
  .home-appbar::before{opacity:.68!important}
  .ac-consistent-appbar::before,
  [data-consistent-appbar]::before{opacity:.58!important}
  .chat-log-shell::before{
    left:-78px!important;
    top:38px!important;
    width:236px!important;
    height:176px!important;
    opacity:.96!important;
  }
  .chat-log-shell::after{
    left:28px!important;
    top:126px!important;
    opacity:.94!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .home-appbar::before,
  .ac-consistent-appbar::before,
  [data-consistent-appbar]::before,
  .chat-log-shell::before,
  .chat-log-shell::after{filter:none!important}
}

/* ========================================================================== 
   ASTROCHAT v120 · orbit accent redesign to match premium reference direction
   UI-only. No KP logic, evaluation, timing, daily, payment or credit logic changed.
   ========================================================================== */

/* Create one composed left-side orbital accent that sits in the foreground,
   starting near the profile/header region and flowing into the response area. */
.conversation-stage{
  isolation:isolate!important;
  overflow:visible!important;
}
.conversation-stage::before{
  content:""!important;
  position:absolute!important;
  z-index:1!important;
  pointer-events:none!important;
  left:-132px!important;
  top:18px!important;
  width:360px!important;
  height:420px!important;
  opacity:.98!important;
  background:
    radial-gradient(circle at 178px 96px, rgba(93,29,30,.95) 0 5px, transparent 5.7px),
    radial-gradient(circle at 136px 170px, rgba(20,22,27,.88) 0 4.3px, transparent 5px),
    radial-gradient(circle at 62px 144px, rgba(93,29,30,.92) 0 9px, transparent 9.7px),
    radial-gradient(circle at 74px 218px, rgba(255,255,255,.92) 0 1.3px, transparent 1.8px),
    radial-gradient(circle at 196px 216px, rgba(93,29,30,.48) 0 2.2px, transparent 2.9px),
    radial-gradient(circle at 92px 140px, transparent 0 86px, rgba(93,29,30,.22) 86.5px 88px, transparent 89.5px),
    radial-gradient(circle at 92px 140px, transparent 0 123px, rgba(93,29,30,.15) 123.5px 125px, transparent 126.5px),
    radial-gradient(circle at 92px 140px, transparent 0 159px, rgba(93,29,30,.10) 159.5px 161px, transparent 162.5px);
  transform:rotate(-8deg)!important;
  animation:ac-orbit-hero-float 11s ease-in-out infinite alternate!important;
}
.conversation-stage::after{
  content:"✦"!important;
  position:absolute!important;
  z-index:1!important;
  pointer-events:none!important;
  left:24px!important;
  top:145px!important;
  font-size:24px!important;
  line-height:1!important;
  color:rgba(93,29,30,.94)!important;
  text-shadow:0 0 12px rgba(93,29,30,.10)!important;
  animation:ac-orbit-star-float 4s ease-in-out infinite!important;
}

/* Suppress the previous misplaced shell-specific accent so the composition stays clean. */
.chat-log-shell::before,
.chat-log-shell::after{
  content:none!important;
  display:none!important;
}

/* Keep content above the decorative accent while leaving the accent visibly in the margin. */
.home-guidance-hero,
.chat-log-shell,
.composer-zone,
.astro-chat-log,
.astro-chat-log > *,
.consultation-card,
.chat-message,
.reading-progress-card,
.consultation-bubble,
.consultation-card.pending,
.consultation-card.complete{
  position:relative!important;
  z-index:2!important;
}

/* Give the header accent a little more presence but keep it refined. */
.home-appbar::before{
  left:6px!important;
  top:14px!important;
  width:176px!important;
  height:96px!important;
  opacity:.56!important;
}

@keyframes ac-orbit-hero-float{
  0%{transform:translate3d(0,0,0) rotate(-8deg)}
  50%{transform:translate3d(6px,3px,0) rotate(-5deg)}
  100%{transform:translate3d(12px,-4px,0) rotate(-10deg)}
}
@keyframes ac-orbit-star-float{
  0%,100%{transform:translate3d(0,0,0) scale(.94) rotate(0deg);opacity:.76}
  50%{transform:translate3d(2px,-2px,0) scale(1) rotate(8deg);opacity:1}
}

@media(max-width:720px){
  .conversation-stage::before{
    left:-126px!important;
    top:24px!important;
    width:330px!important;
    height:400px!important;
    opacity:.96!important;
  }
  .conversation-stage::after{
    left:34px!important;
    top:154px!important;
    font-size:22px!important;
  }
  .home-appbar::before{
    left:8px!important;
    top:16px!important;
    width:164px!important;
    height:92px!important;
    opacity:.52!important;
  }
}

html[data-theme="dark"] .conversation-stage::before{
  background:
    radial-gradient(circle at 178px 96px, rgba(127,25,28,.95) 0 5px, transparent 5.7px),
    radial-gradient(circle at 136px 170px, rgba(223,226,231,.82) 0 4px, transparent 4.8px),
    radial-gradient(circle at 62px 144px, rgba(127,25,28,.94) 0 8.6px, transparent 9.4px),
    radial-gradient(circle at 74px 218px, rgba(255,255,255,.88) 0 1.25px, transparent 1.8px),
    radial-gradient(circle at 196px 216px, rgba(127,25,28,.42) 0 2.1px, transparent 2.8px),
    radial-gradient(circle at 92px 140px, transparent 0 86px, rgba(127,25,28,.26) 86.5px 88px, transparent 89.5px),
    radial-gradient(circle at 92px 140px, transparent 0 123px, rgba(127,25,28,.18) 123.5px 125px, transparent 126.5px),
    radial-gradient(circle at 92px 140px, transparent 0 159px, rgba(127,25,28,.12) 159.5px 161px, transparent 162.5px)!important;
}
html[data-theme="dark"] .conversation-stage::after{
  color:rgba(127,25,28,.96)!important;
  text-shadow:0 0 14px rgba(127,25,28,.16)!important;
}

@media(prefers-reduced-motion:reduce){
  .conversation-stage::before,
  .conversation-stage::after{animation:none!important}
}


/* ========================================================================== 
   ASTROCHAT v121 · refined orbit accent, no patch effect
   UI-only. No KP logic, timing, daily horoscope, payments, credits or prompts changed.
   ========================================================================== */

/* The large reference-style orbital accent should appear only once a consultation
   is active. On the empty landing/home grid it looked like a pasted patch, so the
   landing state keeps only the normal brand/header polish. */
body.chat-empty .conversation-stage::before,
body.chat-empty .conversation-stage::after{
  content:none!important;
  display:none!important;
}

/* Replace the previous dense radial-gradient patch with light transparent stroke
   accents. This creates the same premium left-side orbit feel without a blocky
   overlay on the chart grid or cards. */
body:not(.chat-empty) .conversation-stage{
  isolation:isolate!important;
  overflow:visible!important;
}
body:not(.chat-empty) .conversation-stage::before{
  content:""!important;
  position:absolute!important;
  pointer-events:none!important;
  z-index:2!important;
  left:-94px!important;
  top:44px!important;
  width:258px!important;
  height:258px!important;
  opacity:.82!important;
  border-radius:50%!important;
  background:
    radial-gradient(circle at 71% 24%, #5D1D1E 0 4.3px, transparent 5px),
    radial-gradient(circle at 54% 58%, #151820 0 3.5px, transparent 4.3px),
    radial-gradient(circle at 25% 45%, #5D1D1E 0 6.5px, transparent 7.3px),
    radial-gradient(circle at 50% 50%, transparent 0 62px, rgba(93,29,30,.20) 63px 64px, transparent 65px),
    radial-gradient(circle at 50% 50%, transparent 0 96px, rgba(93,29,30,.14) 97px 98px, transparent 99px),
    radial-gradient(circle at 50% 50%, transparent 0 130px, rgba(93,29,30,.09) 131px 132px, transparent 133px)!important;
  -webkit-mask-image:linear-gradient(90deg,#000 0 62%,transparent 83%);
  mask-image:linear-gradient(90deg,#000 0 62%,transparent 83%);
  transform:rotate(-12deg)!important;
  animation:ac-orbit-hero-float-v121 12s ease-in-out infinite alternate!important;
  filter:none!important;
}
body:not(.chat-empty) .conversation-stage::after{
  content:"✦"!important;
  position:absolute!important;
  pointer-events:none!important;
  z-index:2!important;
  left:22px!important;
  top:155px!important;
  color:#5D1D1E!important;
  font-size:24px!important;
  line-height:1!important;
  opacity:.88!important;
  text-shadow:none!important;
  animation:ac-orbit-star-float-v121 4.2s ease-in-out infinite!important;
}

/* Keep actual UI content crisp and above the decorative stroke accents. */
.home-guidance-hero,
.chat-log-shell,
.composer-zone,
.astro-chat-log,
.astro-chat-log > *,
.consultation-card,
.chat-message,
.reading-progress-card,
.consultation-bubble,
.consultation-card.pending,
.consultation-card.complete{
  position:relative!important;
  z-index:4!important;
}

/* Header accent should be a fine atmospheric detail, not a pasted panel. */
.home-appbar::before{
  opacity:.22!important;
  width:132px!important;
  height:76px!important;
  left:18px!important;
  top:18px!important;
  background:
    radial-gradient(circle at 77% 32%, rgba(93,29,30,.78) 0 3px, transparent 3.8px),
    radial-gradient(circle at 35% 62%, rgba(93,29,30,.50) 0 1.9px, transparent 2.6px),
    radial-gradient(ellipse at 50% 50%, transparent 0 46%, rgba(93,29,30,.18) 47% 48.2%, transparent 49%),
    radial-gradient(ellipse at 50% 50%, transparent 0 64%, rgba(93,29,30,.10) 65% 66%, transparent 67%)!important;
  filter:none!important;
}

/* In dark mode, use the theme dark-red tones and lower glow so it blends into
   the black canvas rather than appearing as a coloured patch. */
html[data-theme="dark"] body:not(.chat-empty) .conversation-stage::before{
  opacity:.70!important;
  background:
    radial-gradient(circle at 71% 24%, #5D1D1E 0 4.3px, transparent 5px),
    radial-gradient(circle at 54% 58%, rgba(238,241,245,.76) 0 3.2px, transparent 4px),
    radial-gradient(circle at 25% 45%, #5D1D1E 0 6.2px, transparent 7px),
    radial-gradient(circle at 50% 50%, transparent 0 62px, rgba(93,29,30,.24) 63px 64px, transparent 65px),
    radial-gradient(circle at 50% 50%, transparent 0 96px, rgba(93,29,30,.17) 97px 98px, transparent 99px),
    radial-gradient(circle at 50% 50%, transparent 0 130px, rgba(93,29,30,.11) 131px 132px, transparent 133px)!important;
}
html[data-theme="dark"] body:not(.chat-empty) .conversation-stage::after{
  color:#5D1D1E!important;
  opacity:.86!important;
}

@keyframes ac-orbit-hero-float-v121{
  0%{transform:translate3d(0,0,0) rotate(-12deg)}
  50%{transform:translate3d(5px,2px,0) rotate(-9deg)}
  100%{transform:translate3d(10px,-3px,0) rotate(-14deg)}
}
@keyframes ac-orbit-star-float-v121{
  0%,100%{transform:translate3d(0,0,0) scale(.94) rotate(0deg);opacity:.70}
  50%{transform:translate3d(2px,-2px,0) scale(1.02) rotate(8deg);opacity:.94}
}

@media(max-width:720px){
  body:not(.chat-empty) .conversation-stage::before{
    left:-104px!important;
    top:52px!important;
    width:238px!important;
    height:238px!important;
    opacity:.78!important;
  }
  body:not(.chat-empty) .conversation-stage::after{
    left:24px!important;
    top:154px!important;
    font-size:22px!important;
  }
  .home-appbar::before{
    opacity:.18!important;
    width:126px!important;
    height:72px!important;
    left:16px!important;
    top:18px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  body:not(.chat-empty) .conversation-stage::before,
  body:not(.chat-empty) .conversation-stage::after{animation:none!important}
}


/* ========================================================================== 
   ASTROCHAT v122 · remove experimental orbit/planet animation accents
   UI-only rollback. No KP logic, timing, daily horoscope, credits, payments or prompts changed.
   ========================================================================== */

/* Remove the experimental decorative orbital animation layer from header,
   home/chat canvas and response area. Keep normal logo, layout and divider. */
.home-appbar::before,
.ac-consistent-appbar::before,
[data-consistent-appbar]::before,
.conversation-stage::before,
.conversation-stage::after,
.chat-log-shell::before,
.chat-log-shell::after{
  content:none!important;
  display:none!important;
  animation:none!important;
  background:none!important;
  filter:none!important;
  opacity:0!important;
}

/* Keep the actual app content clean and normally stacked after removing accents. */
.conversation-stage,
.chat-log-shell{
  isolation:auto!important;
}
.home-guidance-hero,
.chat-log-shell,
.composer-zone,
.astro-chat-log,
.astro-chat-log > *,
.consultation-card,
.chat-message,
.reading-progress-card,
.consultation-bubble,
.consultation-card.pending,
.consultation-card.complete{
  position:relative!important;
}

/* Preserve the dark-red divider below the ASTROCHAT header. */
.home-appbar::after,
.ac-consistent-appbar::after,
[data-consistent-appbar]::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:0!important;
  right:0!important;
  top:57px!important;
  height:1.5px!important;
  pointer-events:none!important;
  background:linear-gradient(90deg,transparent 0%,rgba(93,29,30,.14) 12%,rgba(93,29,30,.72) 50%,rgba(93,29,30,.14) 88%,transparent 100%)!important;
  opacity:1!important;
}


/* ========================================================================== 
   ASTROCHAT v126 · Footer brand link + new-chat composer utility
   UI-only. No astrology, timing, consultation, credit, payment or auth logic changed.
   ========================================================================== */
.footer-brand-link{
  color:inherit!important;
  text-decoration:none!important;
}
.footer-brand-link:hover,
.footer-brand-link:focus-visible{
  color:inherit!important;
  text-decoration:underline!important;
  text-decoration-color:var(--ac-red)!important;
  text-underline-offset:3px!important;
}

/* Keep the send control on the first row and place the character counter
   immediately below it, inside the composer. */
.composer-shell{
  grid-template-columns:minmax(0,1fr) 48px!important;
  grid-template-rows:minmax(46px,auto) 17px!important;
}
.composer-send{
  grid-column:2!important;
  grid-row:1!important;
  align-self:center!important;
  justify-self:center!important;
}
.orbix-composer-actions{
  grid-column:2!important;
  grid-row:2!important;
  align-self:start!important;
  justify-content:center!important;
  width:100%!important;
  gap:0!important;
  line-height:1!important;
}
.composer-character-count{
  display:block!important;
  width:100%!important;
  text-align:center!important;
  white-space:nowrap!important;
  font-size:.61rem!important;
  letter-spacing:-.015em!important;
}

.composer-balance-row{
  justify-content:space-between!important;
  gap:14px!important;
}
.composer-new-chat{
  margin-left:auto!important;
  padding:7px 12px!important;
  border:1px solid var(--ac-red)!important;
  border-radius:999px!important;
  background:var(--ac-red)!important;
  color:#fff!important;
  font:inherit!important;
  font-size:.68rem!important;
  font-weight:760!important;
  line-height:1.15!important;
  letter-spacing:-.01em!important;
  cursor:pointer!important;
  white-space:nowrap!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  box-shadow:0 6px 18px rgba(93,29,30,.14)!important;
  transition:transform .16s ease,box-shadow .16s ease,background-color .16s ease,border-color .16s ease!important;
}
.composer-new-chat span{
  display:inline-block!important;
  margin-right:4px!important;
  font-size:.82rem!important;
  font-weight:800!important;
  line-height:1!important;
  color:#fff!important;
  transform:translateY(.15px)!important;
}
.composer-new-chat:hover,
.composer-new-chat:focus-visible{
  background:#6f2224!important;
  border-color:#6f2224!important;
  color:#fff!important;
  text-decoration:none!important;
  box-shadow:0 10px 22px rgba(93,29,30,.2)!important;
  transform:translateY(-1px)!important;
}
.composer-new-chat:focus-visible{
  outline:2px solid rgba(93,29,30,.28)!important;
  outline-offset:3px!important;
}
@media(max-width:720px){
  .composer-shell{
    grid-template-columns:minmax(0,1fr) 46px!important;
    grid-template-rows:minmax(44px,auto) 17px!important;
  }
  .composer-character-count{font-size:.6rem!important}
  .composer-balance-row{padding-left:16px!important;padding-right:16px!important}
  .composer-new-chat{font-size:.67rem!important}
}

/* ========================================================================== 
   ASTROCHAT v127 · Dasha progress + empty-state vertical alignment polish
   Presentation-only. No astrology, timing, consultation, credit, payment or auth logic changed.
   ========================================================================== */

/* Current-period pills: stronger contrast and slightly larger label text. */
.now-badge{
  min-height:26px!important;
  padding:0 9px!important;
  border-radius:8px!important;
  background:#5D1D1E!important;
  border:1px solid #5D1D1E!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-size:.54rem!important;
  font-weight:780!important;
  line-height:1!important;
  letter-spacing:0!important;
  text-shadow:none!important;
}

/* Completion bars for the currently-running Bhukti and Antara. */
.bhukti-progress{
  position:relative;
  height:2px;
  margin:0 12px;
  overflow:hidden;
  border-radius:999px;
  background:rgba(255,255,255,.07);
}
.bhukti-progress i,
.antara-progress i{
  display:block;
  height:100%;
  border-radius:inherit;
  background:#5D1D1E;
}
.antara-row{
  position:relative;
  padding-bottom:2px;
}
.antara-progress{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:2px;
  overflow:hidden;
  border-radius:999px;
  background:rgba(255,255,255,.06);
}

/* On the empty consultation screen, centre the Your Chart card in the free
   vertical space between the planetary grid and the composer. */
body.chat-empty .orbix-home-empty{
  height:100%;
  min-height:0;
  display:flex;
  flex-direction:column;
}
body.chat-empty .orbix-home-planet-grid{
  flex:0 0 auto;
}
body.chat-empty .home-chart-evidence-card{
  flex:0 0 auto;
  margin-top:auto!important;
  margin-bottom:auto!important;
}

@media(max-width:720px){
  .now-badge{
    min-height:25px!important;
    padding:0 8px!important;
    font-size:.53rem!important;
  }
  .bhukti-progress{margin-left:10px;margin-right:10px}
}


/* ==========================================================================
   ASTROCHAT v129 · composer alignment + empty-state balance + iPhone viewport safety
   Presentation / viewport geometry only. No chart, KP, timing, Gemini, credit,
   payment, authentication or consultation calculation logic is changed.
   ========================================================================== */

/* Align the New chat pill with the right edge of the composer itself. */
@media(max-width:720px){
  .composer-balance-row{
    padding-left:16px!important;
    padding-right:0!important;
  }
}

/* Give the empty-state chart area the remaining vertical space so the
   "Your chart" card can truly sit halfway between the planetary grid and
   the composer instead of hugging the grid. */
body.chat-empty .chat-log-shell{
  flex:1 1 auto!important;
  min-height:0!important;
}
body.chat-empty .astro-chat-log{
  height:100%!important;
  min-height:0!important;
  display:flex!important;
  align-items:stretch!important;
  overflow:hidden!important;
}
body.chat-empty .orbix-home-empty{
  width:100%!important;
  max-width:720px!important;
  height:100%!important;
  min-height:0!important;
  display:grid!important;
  grid-template-rows:auto minmax(108px,1fr)!important;
  align-content:start!important;
}
body.chat-empty .orbix-home-planet-grid{
  grid-row:1!important;
}
body.chat-empty .home-chart-evidence-card{
  grid-row:2!important;
  align-self:center!important;
  margin:0 auto!important;
}
@media(max-width:720px){
  body.chat-empty .orbix-home-empty{
    grid-template-rows:auto minmax(96px,1fr)!important;
  }
  body.chat-empty .home-chart-evidence-card{
    width:calc(100% - 12px)!important;
    max-width:640px!important;
  }
}

/* The runtime writes the live iOS visual-viewport offset into this variable.
   Normal browsers remain at 0px. This prevents fixed app surfaces from sitting
   underneath Safari's top chrome while keeping standalone/PWA safe-area rules. */
:root{
  --ac-vv-offset-top:0px;
}
.app-shell{
  top:var(--ac-vv-offset-top,0px)!important;
}

/* Panels with their own fixed viewport positioning need the same correction. */
.chart-details-panel{
  top:var(--ac-vv-offset-top,0px)!important;
  bottom:auto!important;
  height:var(--ac-vv-height,100dvh)!important;
  max-height:var(--ac-vv-height,100dvh)!important;
}
.profile-editor-screen{
  top:var(--ac-vv-offset-top,0px)!important;
  bottom:auto!important;
  height:var(--ac-vv-height,100dvh)!important;
  max-height:var(--ac-vv-height,100dvh)!important;
}

/* Secondary appbars also honour the physical notch/status safe area. */
@supports (padding-top: env(safe-area-inset-top)){
  @media(max-width:720px){
    .ac-consistent-appbar,
    [data-consistent-appbar]{
      min-height:calc(66px + env(safe-area-inset-top))!important;
      height:calc(66px + env(safe-area-inset-top))!important;
      flex-basis:calc(66px + env(safe-area-inset-top))!important;
      padding-top:env(safe-area-inset-top)!important;
    }
    .ac-consistent-appbar::after,
    [data-consistent-appbar]::after{
      bottom:-1px!important;
    }
    .chat-history-header.ac-consistent-appbar{
      min-height:calc(66px + env(safe-area-inset-top))!important;
      height:calc(66px + env(safe-area-inset-top))!important;
      flex-basis:calc(66px + env(safe-area-inset-top))!important;
      padding-top:env(safe-area-inset-top)!important;
    }
  }
}

/* ========================================================================== 
   ASTROCHAT v130 · universal iPhone / Safari header safety
   Layout-only. No astrology, consultation, payment, credit or auth logic changed.
   ========================================================================== */
:root{
  --ac-vv-offset-top:0px;
  --ac-vv-height:100dvh;
}

/* Standalone checkout: keep Back / brand / account below the physical notch and
   below any dynamic Safari visual-viewport offset. */
.credit-checkout-page .credit-chat-appbar{
  top:var(--ac-vv-offset-top,0px)!important;
}

@supports (padding-top: env(safe-area-inset-top)){
  @media(max-width:720px){
    /* Main authenticated masthead. The fixed shell already follows visualViewport;
       this adds the physical iPhone safe area used by standalone/PWA mode. */
    body:not(.credit-checkout-page) .home-appbar{
      height:calc(101px + env(safe-area-inset-top))!important;
      min-height:calc(101px + env(safe-area-inset-top))!important;
      flex-basis:calc(101px + env(safe-area-inset-top))!important;
      padding-top:env(safe-area-inset-top)!important;
    }

    /* Purchase page has a different 60px compact masthead. */
    .credit-checkout-page .credit-chat-appbar{
      height:calc(60px + env(safe-area-inset-top))!important;
      min-height:calc(60px + env(safe-area-inset-top))!important;
      flex-basis:calc(60px + env(safe-area-inset-top))!important;
      padding-top:env(safe-area-inset-top)!important;
    }
    .credit-checkout-page .credit-appbar-main{
      height:60px!important;
    }

    /* Sign-in page. */
    .auth-terminal-header{
      height:calc(56px + env(safe-area-inset-top))!important;
      min-height:calc(56px + env(safe-area-inset-top))!important;
      padding-top:env(safe-area-inset-top)!important;
    }

    /* Legal / privacy standalone pages. */
    .legal-header{
      height:auto!important;
      min-height:calc(68px + env(safe-area-inset-top))!important;
      padding-top:env(safe-area-inset-top)!important;
    }
    .privacy-controls-header{
      min-height:calc(68px + env(safe-area-inset-top))!important;
      padding-top:env(safe-area-inset-top)!important;
    }

    /* Birth-profile editor is a separate fixed fullscreen surface. */
    .premium-profile-editor .profile-editor-card,
    .profile-editor-screen .profile-editor-card{
      padding-top:max(20px,calc(env(safe-area-inset-top) + 12px))!important;
    }
  }
}

/* Standalone headers also follow Safari's dynamic visual viewport when its top
   browser chrome changes during scroll. */
.credit-checkout-page .credit-chat-appbar,
.privacy-controls-header,
.legal-header{
  scroll-margin-top:var(--ac-vv-offset-top,0px);
}

/* ========================================================================== 
   ASTROCHAT v146 · Natal chart completion CTA contrast hardening
   Fixes WebKit/iOS cases where the CTA label could inherit a dark text fill
   on the dark completion button after a newly created chart finishes loading.
   ========================================================================== */
.natal-engine-complete .natal-engine-cta{
  -webkit-appearance:none!important;
  appearance:none!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
.natal-engine-complete .natal-engine-cta .natal-engine-cta-label,
.natal-engine-complete .natal-engine-cta .natal-engine-cta-arrow{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  text-shadow:0 1px 1px rgba(0,0,0,.38)!important;
}
.natal-engine-complete .natal-engine-cta .natal-engine-cta-arrow{
  display:grid!important;
}

/* ========================================================================== 
   ASTROCHAT v160 · browser/PWA empty-state alignment safety
   Responsive presentation only. Keeps the 3×3 planetary matrix readable in
   both standalone PWA and normal mobile-browser viewports without clipping.
   ========================================================================== */
@media(max-width:720px){
  /* Use the visible viewport efficiently; browser chrome can make the usable
     height notably shorter than standalone PWA mode. */
  body.chat-empty .home-guidance-hero{
    padding-top:clamp(7px,1.4dvh,12px)!important;
    padding-bottom:clamp(4px,.8dvh,7px)!important;
  }
  body.chat-empty .guidance-bindu-wrap{
    width:34px!important;
    height:34px!important;
    margin-bottom:5px!important;
  }
  body.chat-empty .guidance-bindu-wrap::before{width:27px!important;height:27px!important}
  body.chat-empty .guidance-bindu{width:17px!important;height:17px!important}
  body.chat-empty .guidance-greeting{margin-bottom:3px!important;font-size:.66rem!important}
  body.chat-empty .guidance-title{font-size:clamp(1.72rem,7.6vw,2rem)!important;line-height:1!important}
  body.chat-empty .guidance-subtitle{margin-top:4px!important;font-size:.64rem!important;line-height:1.32!important}

  body.chat-empty .chat-log-shell{
    margin-top:clamp(8px,1.7dvh,16px)!important;
    min-height:0!important;
  }
  body.chat-empty .astro-chat-log{
    min-height:0!important;
    overflow:hidden!important;
  }
  body.chat-empty .orbix-home-empty{
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    display:grid!important;
    grid-template-rows:auto minmax(72px,1fr)!important;
    gap:clamp(7px,1.2dvh,12px)!important;
    align-content:stretch!important;
  }

  /* Keep every matrix row large enough for name + sign/house, but never let
     the chart consume so much height that the evidence card/composer collide. */
  body.chat-empty .orbix-home-planet-grid{
    width:100%!important;
    min-height:150px!important;
    max-height:min(25dvh,198px)!important;
    grid-template-rows:repeat(3,minmax(0,1fr))!important;
    overflow:hidden!important;
  }
  body.chat-empty .orbix-home-planet{
    min-height:0!important;
    overflow:hidden!important;
    grid-template-columns:24px minmax(0,1fr)!important;
    gap:6px!important;
    padding:5px 6px!important;
    align-content:center!important;
  }
  body.chat-empty .orbix-home-planet-glyph{
    width:23px!important;
    height:23px!important;
    font-size:.82rem!important;
  }
  body.chat-empty .orbix-home-planet-copy{
    min-width:0!important;
    gap:0!important;
    line-height:1.12!important;
  }
  body.chat-empty .orbix-home-planet-copy strong{
    font-size:.74rem!important;
    line-height:1.12!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  body.chat-empty .orbix-home-planet-copy small{
    margin-top:2px!important;
    font-size:.61rem!important;
    line-height:1.15!important;
  }
  body.chat-empty .orbix-home-planet-copy em{
    margin-top:1px!important;
    font-size:.54rem!important;
    line-height:1.1!important;
  }

  body.chat-empty .home-chart-evidence-card{
    align-self:center!important;
    width:calc(100% - 10px)!important;
    min-height:66px!important;
    padding:9px 10px!important;
    grid-template-columns:42px minmax(0,1fr)!important;
    gap:10px!important;
  }
  body.chat-empty .home-ascendant-glyph{width:42px!important;height:42px!important;font-size:1.35rem!important}
  body.chat-empty .home-chart-evidence-copy small{font-size:.51rem!important}
  body.chat-empty .home-chart-evidence-copy strong{font-size:.76rem!important}
  body.chat-empty .home-chart-evidence-copy span{font-size:.56rem!important}

  body.chat-empty .composer-zone{padding-top:6px!important}
}

/* Short browser/PWA viewports: preserve alignment by dropping only the least
   essential third line (nakshatra) from the matrix. The full chart evidence
   remains available from the card below. */
@media(max-width:720px) and (max-height:850px){
  body.chat-empty .chat-log-shell{margin-top:7px!important}
  body.chat-empty .orbix-home-planet-grid{
    min-height:144px!important;
    max-height:174px!important;
  }
  body.chat-empty .orbix-home-planet{padding:4px 5px!important}
  body.chat-empty .orbix-home-planet-copy em{display:none!important}
  body.chat-empty .orbix-home-empty{grid-template-rows:auto minmax(66px,1fr)!important;gap:6px!important}
  body.chat-empty .home-chart-evidence-card{min-height:62px!important;padding-top:7px!important;padding-bottom:7px!important}
  body.chat-empty .composer-shell{min-height:66px!important}
}

/* Normal browser mode loses vertical room to browser chrome. Compact only the
   empty consultation screen; standalone/PWA and all reading screens keep their
   existing geometry. */
@media(display-mode:browser) and (max-width:720px){
  body.chat-empty .home-guidance-hero{padding-top:6px!important;padding-bottom:3px!important}
  body.chat-empty .chat-log-shell{margin-top:6px!important}
  body.chat-empty .orbix-home-planet-grid{max-height:min(23dvh,174px)!important}
  body.chat-empty .orbix-home-planet-copy em{display:none!important}
  body.chat-empty .home-chart-evidence-card{min-height:62px!important}
}


/* v161 — interaction performance: isolate sliding UI surfaces from the main
   document so opening the drawer/history does not trigger unnecessary layout
   and paint work across the full application. Visual styling is unchanged. */
.app-drawer-overlay,
.chat-history-overlay{
  will-change:opacity;
}
.app-drawer,
.chat-history-panel{
  contain:layout paint style;
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
  will-change:transform;
}

/* v162 — question semantic preflight toast. Indeterminate because Gemini validation has no honest percentage. */
.ui-toast.question-validation{
  width:min(86vw,330px);
  max-width:330px;
  padding:11px 13px 10px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:13px;
  background:#5D1D1E;
  color:#fff;
  box-shadow:0 14px 34px rgba(0,0,0,.22);
  text-align:left;
}
.ui-toast.question-validation .question-validation-copy{display:grid;gap:2px}
.ui-toast.question-validation .question-validation-copy strong{color:#fff;font-size:.6875rem;font-weight:760;letter-spacing:.01em;line-height:1.25}
.ui-toast.question-validation .question-validation-copy small{color:rgba(255,255,255,.76);font-size:.5rem;line-height:1.35}
.ui-toast.question-validation .question-validation-progress{position:relative;display:block;height:2px;margin-top:8px;overflow:hidden;border-radius:999px;background:rgba(255,255,255,.2)}
.ui-toast.question-validation .question-validation-progress i{position:absolute;inset:0 auto 0 -34%;width:34%;border-radius:999px;background:#fff;animation:questionValidationSweep 1.05s cubic-bezier(.4,0,.2,1) infinite}
@keyframes questionValidationSweep{0%{left:-34%}55%{left:48%}100%{left:100%}}
@media(prefers-reduced-motion:reduce){.ui-toast.question-validation .question-validation-progress i{animation:none;left:0;width:58%;opacity:.9}}

/* v164 — deliberately understated app/version metadata below account.
   Inline sizing on the element is authoritative so this remains correct even
   while an older stylesheet is being refreshed by the PWA cache. */
.drawer-account-row{margin:auto 16px 0!important}
.drawer-app-version{
  display:block!important;
  margin:7px 16px 12px!important;
  text-align:center!important;
  color:#9da1a7!important;
  font-size:10px!important;
  font-style:italic!important;
  font-weight:400!important;
  letter-spacing:.02em!important;
  line-height:1.25!important;
  opacity:.68!important;
  text-transform:none!important;
  user-select:none;
}
html[data-theme="dark"] .drawer-app-version{color:#8b9097!important;opacity:.62!important}


/* v165 — support/share actions moved below signed-in account. */
.drawer-bottom-actions{
  margin:10px 16px 0!important;
  padding:11px 0 2px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  border-top:1px solid rgba(127,127,127,.16)!important;
}
.drawer-bottom-actions .drawer-share-app{width:32px!important;height:32px!important}
.drawer-bottom-actions .drawer-share-app svg{width:15px!important;height:15px!important}
html[data-theme="light"] .drawer-bottom-actions{border-top-color:rgba(20,20,20,.09)!important}
html[data-theme="dark"] .drawer-bottom-actions{border-top-color:rgba(255,255,255,.08)!important}
