/* A quiet studio around the chart. The atlas keeps its own full-sky canvas. */
.observatory-brand small{font-family:var(--font);font-size:9px;letter-spacing:.35px;color:#b2b1a8;text-transform:none}
.observatory-brand .brand-logo{display:block;width:235px;height:auto;aspect-ratio:3/1;object-fit:contain;mix-blend-mode:lighten}
.marketing-line{max-width:430px;font:italic 25px/1.4 var(--serif);color:#d7c69f}
#workspace{background:radial-gradient(ellipse at 85% 0,#c9a2270b,transparent 45%),#06090d;--muted:#b0b1ad;--line:#d3c29526}
#workspace .sidebar{width:256px;padding:29px 20px 23px;background:linear-gradient(180deg,#070a0ef7,#070a0eeb);border-right:1px solid #c9a22745;z-index:50;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#ad945449 transparent}
.sidebar-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}
#workspace .brand{font-family:var(--serif);font-size:27px;font-weight:400;letter-spacing:0;gap:9px}
#workspace .brand .brand-logo{display:block;width:196px;max-width:100%;height:auto;aspect-ratio:3/1;object-fit:contain}
#workspace .brand small{font-family:var(--font);font-size:8px;line-height:1.4;letter-spacing:.3px;color:#9da092;margin-top:6px;display:block;font-weight:400}
#workspace .brand-mark{background:none;font-size:38px;color:#c9a227;line-height:1}
#workspace .sidebar-label{font:8px/1.8 var(--mono);letter-spacing:1.8px;margin:26px 10px 16px;padding-top:22px;border-top:1px solid #d3c29520;color:#a1a5ac;display:block}
#workspace-nav{display:flex;flex-direction:column;gap:5px;overflow:visible;padding:0}
#workspace-nav button{width:100%;border-radius:0;min-height:44px;color:#b8bcc5;padding:10px 12px;gap:12px;transition:background .18s,color .18s}
#workspace-nav button span{font-size:12px;line-height:1.5}
#workspace-nav button:hover{background:#e8e4d808;color:#e8e4d8}
#workspace-nav button.active{background:linear-gradient(90deg,#c9a22724,#c9a22708);color:#efd285;box-shadow:inset 3px 0 #dfba5f}
#workspace-nav button:focus-visible,.nav-group>summary:focus-visible{outline:2px solid #dfba5f;outline-offset:2px}
#workspace-nav b{color:#bbbba9;display:block;min-width:23px;background:#e8e4d80b}
.nav-group{border-top:1px solid #e8e4d811;margin-top:13px;padding-top:7px}
.nav-group>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:8px;min-height:45px;padding:10px 10px;color:#bfc2cb;font:9px/1.5 var(--mono);letter-spacing:1.3px;text-transform:uppercase}
.nav-group>summary::-webkit-details-marker{display:none}
.nav-group>summary>span{margin-left:auto;color:#777d73;font:9px var(--mono)}
.nav-group>summary:after{content:'+';font-size:17px;color:#b7a36a;font-weight:400}
.nav-group[open]>summary:after{content:'−'}
#workspace .sidebar-bottom{display:block;margin-top:auto;padding:28px 10px 0;color:#a2a598;font-size:10px}
#workspace .sidebar-bottom small{color:#858c7e;font-size:9px;margin-top:6px}
#workspace .sidebar-bottom #logout{display:block;padding:10px 0 0;margin-top:12px;min-height:44px;color:#bca974;font-size:11px}
#workspace .workspace-body{margin-left:256px;padding:38px clamp(24px,4.3vw,74px) 0;max-width:1740px;min-height:100vh}
#workspace .workspace-header{padding-bottom:25px;border-bottom:1px solid #d3c29533;margin-bottom:30px;gap:20px}
#workspace .workspace-header h1{font-family:var(--serif);font-size:clamp(35px,3.5vw,48px);font-weight:400;letter-spacing:-.3px;line-height:1.2;margin-top:12px;color:#f0e9db}
#workspace .workspace-header .section-kicker{font:8px var(--mono);letter-spacing:1.6px;color:#a1946e}
#workspace-title:focus{outline:none}
#new-chart{background:transparent;color:#d7c58f;border-color:#c9a22759;white-space:nowrap;box-shadow:none}
#new-chart:hover{background:#c9a22713}
#workspace .button{border-radius:3px;min-height:44px;font-weight:500}
#workspace .glass{background:#e8e4d805;border-color:#e8e4d826;color:#c6c8be}
#workspace .glass:hover{background:#e8e4d80e;border-color:#c9a22760}
#workspace .primary{background:#c9af65;border-color:#c9af65;color:#14120c}
#workspace .card{background:linear-gradient(135deg,#101318ed,#090d12e8);border-color:#d3c29530;border-radius:5px;box-shadow:0 12px 32px #00000018}
#workspace .card h3,#workspace .reading h3{color:#e0ddcf}
#workspace .card-value,#workspace .data-table td:first-child{color:#d8c79c}
#workspace .data-table th{color:#a2a797}
#workspace .section-kicker{color:#b7a273;font-family:var(--mono);font-weight:400;letter-spacing:1.5px}
#workspace .section-heading h2{font:400 32px/1.2 var(--serif);letter-spacing:-.3px;color:#eeeadc}
#workspace .section-heading{margin-top:0;margin-bottom:8px}
#workspace .chip{color:#c0c1b1;border-color:#d2c89b2b;background:#d2c89b08}
#workspace .chip.active,#workspace .analysis-tabs [aria-selected=true]{background:#c9a22716;color:#e2c677;border-color:#c9a22770}
#workspace .analysis-details>summary,#workspace .calculation-notes summary,#workspace .advanced-grid details>summary{color:#d3c291}
#workspace .analysis-matrix .data-table tbody th{background:#111419;color:#d8c79c}
#workspace .analysis-unavailable{padding:18px 20px;border-left:2px solid #c9a227;background:#c9a2270b;color:#d9c897;font-size:13px;line-height:1.8}
#workspace input,#workspace select,#workspace textarea{background:#090d12;border-color:#e8e4d82a;border-radius:3px;color:#dedfd2;min-height:44px}
#workspace input:focus,#workspace select:focus,#workspace textarea:focus{outline-color:#c9a227;border-color:#c9a227}
#workspace label{color:#bebfb3}
#workspace .text-button{color:#cfbc7b;min-height:44px}
#workspace .text-button.danger{color:#e4a3a1}
#workspace #notice{background:#c9a2270b;border-color:#c9a22744;color:#d9c897;border-radius:3px;font-size:12px}
#workspace .toolbar{gap:9px;margin:22px 0 30px}
#workspace .toolbar>button:first-child{border-color:#c9a22766;color:#e2c677;background:#c9a2270e}
#workspace .toolbar select{font-size:11px;min-width:140px;padding-right:22px}
.toolbar-more{position:relative;margin-left:auto}
.toolbar-more>summary{list-style:none;font-size:11px;cursor:pointer;padding:10px 12px;min-height:44px;display:flex;align-items:center;gap:15px;color:#c5c5b6}
.toolbar-more>summary:after{content:'+';color:#c9a227;font-size:18px}
.toolbar-more>summary::-webkit-details-marker{display:none}
.toolbar-more[open]>summary:after{content:'−'}
.toolbar-more-actions{position:absolute;right:0;top:100%;display:grid;gap:6px;padding:10px;background:#111419;border:1px solid #c9a22744;z-index:5;min-width:215px;box-shadow:0 18px 55px #0008}
.toolbar-more-actions .button{justify-content:flex-start;white-space:nowrap}
.chart-birth-line{font-size:12px;line-height:1.8;margin-top:0}
.kundli-overview{display:grid;grid-template-columns:minmax(320px,1.15fr) minmax(235px,.85fr);gap:clamp(24px,4vw,58px);align-items:center;margin:14px 0 48px}
#workspace .primary-kundli{background:radial-gradient(ellipse at 35% 25%,#fff9e9,#eee0bc);border:1px solid #bc9650;color:#382f26;padding:24px 24px 18px;border-radius:1px;box-shadow:inset 0 0 0 4px #f3e8ce,inset 0 0 0 5px #aa863f99,0 15px 55px #0005}
#workspace .primary-kundli h3{color:#665034;font:10px/1.5 var(--mono);letter-spacing:1.8px;text-transform:uppercase;margin:0 0 16px}
#workspace .primary-kundli img{mix-blend-mode:multiply;background:transparent;border-radius:0;display:block;max-width:560px;margin:auto}
#workspace .primary-kundli .chart-caption{color:#726651;font-size:10px;line-height:1.7;margin:15px auto 0;max-width:330px}
.chart-essentials{padding:24px;border:1px solid #d3c29530;border-radius:5px;background:linear-gradient(135deg,#101318eb,#090d12df)}
.chart-essentials>.section-kicker{font-size:8px}
.chart-essentials h2{font:400 33px/1.1 var(--serif);letter-spacing:-.25px;margin:12px 0 19px}
.birth-essentials{margin:0}
.birth-essentials>div{padding:16px 0;border-top:1px solid #e8e4d81a;position:relative}
.birth-essentials dt{font:9px/1.4 var(--mono);letter-spacing:.8px;color:#a6a998;text-transform:uppercase}
.birth-essentials dd{margin:5px 0 0;color:#dcc892;font:400 30px/1.1 var(--serif)}
.birth-essentials p{font-size:11px;color:#939b8d;margin:7px 0 0}
.chart-primer{font-size:11px;color:#a6aa9e;line-height:1.9;margin:13px 0 20px;max-width:370px}
.next-chapter{margin:44px 0 35px}
.next-chapter>.section-kicker{font-size:8px}
.next-chapter>h2{font:400 35px/1.2 var(--serif);margin:10px 0 27px;letter-spacing:-.4px}
.journey-link{display:flex;align-items:center;gap:28px;padding:20px 0;width:100%;text-align:left;border:0;border-top:1px solid #e8e4d824;background:none;color:#e8e4d8;border-radius:0;min-height:90px;transition:padding .2s,background .2s}
.journey-link:last-child{border-bottom:1px solid #e8e4d824}
.journey-link:hover{padding-left:12px;padding-right:12px;background:#c9a22706}
.step-number{font:10px var(--mono);color:#b19a5a;flex:0 0 24px}
.journey-link-copy{display:flex;flex-direction:column;gap:5px}
.journey-link strong{font-size:14px;font-weight:400;color:#dedfd1}
.journey-link small{font-size:11px;color:#919c8b;line-height:1.7}
.journey-arrow{margin-left:auto;font-size:21px;color:#bcaa73;flex-shrink:0}
#workspace details.birth-panchang,#workspace details.calculation-method,#workspace details.calculation-notes{background:transparent;padding:18px 0;border:0;border-bottom:1px solid #e8e4d81a;border-radius:0;margin:0 0 10px}
#workspace details.birth-panchang>summary,#workspace details.calculation-method>summary,#workspace details.calculation-notes>summary{cursor:pointer;font-size:12px;color:#c9c5ac;min-height:25px}
#workspace details.birth-panchang[open]>summary,#workspace details.calculation-method[open]>summary{margin-bottom:15px}
.keep-chart{display:flex;align-items:center;justify-content:space-between;gap:25px;margin:35px 0;padding:25px 0;border-bottom:1px solid #e8e4d81a}
.keep-chart h3{font:400 27px/1.3 var(--serif);margin:0}
.keep-chart p{font-size:11px;line-height:1.8;max-width:500px;margin:8px 0 0}
.keep-chart .button{flex-shrink:0}
#workspace .journey-welcome{grid-template-columns:1.2fr .8fr;border:0;border-bottom:1px solid #e8e4d820;border-radius:0;background:none;min-height:350px;overflow:hidden}
#workspace .welcome-copy{padding:20px 0 35px;max-width:none}
#workspace .welcome h2{white-space:pre-line;font:400 clamp(43px,4.7vw,65px)/1.06 var(--serif);letter-spacing:-.5px;margin:19px 0 20px}
#workspace .welcome p{font-size:13px;line-height:1.9;color:#abb09f;max-width:420px}
#workspace .welcome .field-help{font-size:10px;color:#969d8c;margin:14px 0 0}
#workspace .welcome .button{margin-top:12px}
.welcome-orbit{position:relative;align-self:center;justify-self:center;width:min(24vw,270px);height:min(24vw,270px);border:1px solid #c9a2273b;border-radius:50%;display:grid;place-items:center;box-shadow:0 0 100px #c9a22707,inset 0 0 100px #c9a22704}
.welcome-orbit:before,.welcome-orbit:after{content:'';position:absolute;inset:12%;border:1px solid #c9a22730;transform:rotate(45deg)}
.welcome-orbit:after{inset:29%;transform:rotate(0);border-color:#c9a22744}
.welcome-orbit span{color:#b9a46e;font:45px var(--serif)}
.journey-steps{padding:0;margin:22px 0 35px;list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:30px}
.journey-steps li{display:flex;gap:15px;align-items:flex-start;padding:20px 0}
.journey-steps .step-number{padding-top:6px}
.journey-steps h3{font-size:13px;font-weight:500;margin:0 0 8px;color:#d4d6c8}
.journey-steps p{font-size:11px;line-height:1.9;color:#959f8d;margin:0;max-width:250px}
.collection-note{display:flex;align-items:center;gap:17px;padding:22px 0;border-top:1px solid #e8e4d819;color:#939b8b}
.collection-note>span{font-size:25px;color:#aa9766}
.collection-note p{font-size:12px}
.first-chart-empty{padding:25px 0}
.first-chart-empty h2{font:400 48px/1.2 var(--serif);margin:15px 0;letter-spacing:-.5px}
.first-chart-empty>.muted{font-size:13px;max-width:560px;line-height:1.9;margin-bottom:25px}
.first-chart-empty .journey-steps{border-top:1px solid #e8e4d819;margin-top:40px}
#workspace .saved-card{background:none;border:0;border-bottom:1px solid #e8e4d821;border-radius:0;padding:22px 0;margin:0}
#workspace .saved-card h3{font-family:var(--serif);font-size:27px;font-weight:400}
.workspace-footer{display:flex;justify-content:space-between;gap:20px;padding:40px 0 25px;border:0;color:#858b7e;font:8px/1.8 var(--mono);letter-spacing:.4px}
.workspace-skip{position:fixed;z-index:100;top:-90px;left:280px;background:#e8e4d8;color:#05060a;padding:12px 18px}
.workspace-skip:focus{top:15px}
.workspace-menu,#workspace-menu-close{display:none}
.workspace-menu span{font-size:12px;line-height:1.4}
.workspace-scrim{position:fixed;inset:0;border:0;background:#020306a8;z-index:70;backdrop-filter:blur(5px)}
.birth-progress{list-style:none;margin:15px 0 24px;padding:0;display:flex;justify-content:space-between;gap:10px;border-top:1px solid #e8e4d81a;border-bottom:1px solid #e8e4d81a}
.birth-progress li{font:9px/1.5 var(--mono);padding:13px 0;color:#899184}
.birth-progress li[aria-current]{color:#d4bd7a}
#birth-dialog,#auth-dialog{background:#101318;border-radius:4px;border-color:#c9a22755}
#birth-dialog .dialog-heading h2,#auth-dialog .dialog-heading h2{font:400 36px/1.1 var(--serif);letter-spacing:-.5px}
#birth-dialog label,#auth-dialog label{font-size:12px}
#birth-dialog input,#auth-dialog input,#birth-dialog select{background:#080c11;border-radius:3px;border-color:#e8e4d82d;font-size:13px}
#birth-dialog #calculate,#auth-dialog #auth-submit{border-radius:3px}
#birth-dialog .birth-advanced{border-bottom:0;margin:18px 0}
#birth-dialog .muted,#auth-dialog .muted{font-size:12px;line-height:1.9}
@media(max-width:1150px){
 #workspace .sidebar{width:232px;padding-left:15px;padding-right:15px}
 #workspace .workspace-body{margin-left:232px;padding-left:28px;padding-right:28px}
 .kundli-overview{grid-template-columns:minmax(270px,1.1fr) minmax(210px,.9fr);gap:27px}
 .chart-essentials h2{font-size:29px}
 .birth-essentials>div{padding:12px 0}
 .birth-essentials dd{font-size:27px}
 #workspace .primary-kundli{padding:20px 17px 16px}
 .journey-steps{gap:19px}.journey-steps li{gap:10px}
}
@media(max-width:900px){
 #workspace .sidebar{position:fixed;inset:0 auto 0 0;width:min(330px,88vw);height:100dvh;padding:25px 22px;display:flex;flex-direction:column;z-index:80;visibility:hidden;transform:translateX(-100%);background:#05060a;transition:transform .22s,visibility .22s;border-right:1px solid #c9a2273a;border-bottom:0;overflow-y:auto;overscroll-behavior:contain}
 #workspace.navigation-open .sidebar{visibility:visible;transform:translateX(0)}
 #workspace-menu-close{display:block;min-width:44px;min-height:44px;background:none;color:#c9b979}
 #workspace .workspace-body{margin-left:0;padding:26px 25px 0;max-width:100%}
 #workspace .workspace-header{gap:13px;flex-wrap:wrap;align-items:center}
 #workspace .workspace-heading{order:3;flex-basis:100%;margin-top:7px}
 #workspace .workspace-header h1{font-size:32px}
 #workspace .workspace-menu{display:flex;gap:10px;padding:9px 13px}
 #new-chart{margin-left:auto}
 #workspace .sidebar .brand small{display:block}
 .workspace-menu-open{overflow:hidden}
 .workspace-skip{left:22px}
 .journey-steps{gap:25px}
 .welcome-orbit{width:250px;height:250px}
 .kundli-overview{grid-template-columns:minmax(300px,1.15fr) minmax(230px,.85fr)}
}
@media(max-width:650px){
 .observatory-brand .brand-logo{width:200px}
 .marketing-line{font-size:23px;max-width:325px}
 #workspace .workspace-body{padding:22px 20px 0}
 #workspace .workspace-header{margin-bottom:25px;padding-bottom:22px}
 #workspace .workspace-header h1{font-size:29px}
 #workspace .workspace-header .section-kicker{font-size:7px}
 #workspace .section-heading h2{font-size:30px}
 #workspace .toolbar{gap:8px;margin:17px 0 25px}
 #workspace .toolbar>.button{font-size:10px;padding:9px 12px}
 #workspace .toolbar select{min-width:134px;width:auto;font-size:10px;padding:10px}
 .toolbar-more{margin-left:0}
 .toolbar-more>summary{font-size:10px;padding:10px 12px}
 .toolbar-more-actions{left:0;right:auto}
 .chart-birth-line{font-size:11px}
 .kundli-overview{grid-template-columns:1fr;gap:22px;margin-bottom:30px}
 #workspace .primary-kundli{padding:21px 15px 17px;max-width:560px;width:100%;margin:auto}
 .chart-essentials{padding:5px 0}
 .chart-essentials h2{font-size:32px;margin-bottom:22px}
 .birth-essentials{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}
 .birth-essentials>div:first-child{grid-column:1/-1}
 .birth-essentials>div:first-child dd{font-size:35px}
 .birth-essentials dd{font-size:28px}
 .birth-essentials dt{font-size:8px}
 .birth-essentials p{font-size:10px;line-height:1.7}
 .chart-primer{max-width:none}
 .next-chapter{margin-top:25px}
 .next-chapter>h2{font-size:31px;margin-bottom:21px}
 .journey-link{gap:14px;min-height:98px}
 .journey-link strong{font-size:13px}
 .journey-link small{font-size:10px}
 .keep-chart{align-items:flex-start;flex-direction:column;gap:20px}
 .keep-chart h3{font-size:30px}
 #workspace .journey-welcome{grid-template-columns:1fr;min-height:0}
 #workspace .welcome-copy{padding:10px 0 30px}
 #workspace .welcome h2{font-size:49px;margin:20px 0}
 #workspace .welcome p{font-size:12px;max-width:100%}
 .welcome-orbit{position:absolute;right:-90px;top:-45px;width:220px;height:220px;opacity:.22;pointer-events:none}
 .journey-steps{display:block;margin:18px 0 25px}
 .journey-steps li{padding:16px 0;gap:17px}
 .journey-steps h3{font-size:13px}
 .journey-steps p{max-width:none}
 .first-chart-empty h2{font-size:39px}
 .collection-note p{font-size:11px}
 #workspace .saved-card{gap:13px}
 #workspace .saved-card h3{font-size:26px}
 #workspace .saved-actions{justify-content:flex-start;flex-wrap:wrap;gap:8px}
 #workspace .workspace-footer{align-items:flex-start;text-align:left;font-size:7px;gap:10px;flex-direction:column;padding-top:30px}
 #birth-dialog .dialog-heading h2,#auth-dialog .dialog-heading h2{font-size:30px}
 #birth-dialog input,#auth-dialog input,#birth-dialog select{font-size:16px}
 .birth-progress{gap:7px}.birth-progress li{font-size:7px}
}
@media(max-width:380px){#birth-dialog .form-grid,#birth-dialog .form-grid.three{grid-template-columns:1fr}#birth-dialog .form-grid.three label:last-child{grid-column:auto}}
@media(max-width:360px){.observatory-brand .brand-logo{width:176px}}

/* Reference finishes shared across calculation and reading screens. */
#workspace .card-label{color:#aeb1ba;letter-spacing:1.3px}
#workspace .card-value{font-family:var(--serif);font-weight:400}
#workspace .chart-card:not(.primary-kundli){padding:20px;background:#0b0f14d9}
#workspace .chart-card:not(.primary-kundli) img{border:1px solid #bd9851;border-radius:1px;box-shadow:0 6px 24px #0003}
#workspace .status-dot{background:#d9b95f;box-shadow:0 0 8px #d9b95f40}
#workspace .workspace-footer{border-top:1px solid #c9a22740;letter-spacing:1.6px;text-transform:uppercase}
@media(prefers-reduced-motion:reduce){#workspace .sidebar,#workspace-nav button,.journey-link{transition:none}}
