:root{color-scheme:dark;--bg:#090e1a;--panel:#111a2a;--line:#27354b;--muted:#a2b1c6;--ink:#edf3fc;--accent:#bba4ff;--cyan:#80d9e2;--green:#7ad9af;--amber:#f3c47c;--pink:#f5a1b7;font-family:'Plus Jakarta Sans',system-ui,sans-serif;font-size:15px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);height:100dvh;overflow:hidden}button,input{font:inherit}button{cursor:pointer;border:1px solid var(--line);background:#182236;color:var(--ink);border-radius:10px;padding:9px 13px;transition:background .15s,border-color .15s}button:hover{background:#25334d;border-color:#697c9f}button:focus-visible,input:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}button[aria-pressed=true],button.selected{background:#342e50;border-color:#9b84d3;color:#e3d6ff}button:disabled{opacity:.5;cursor:wait}input{background:#0c1423;border:1px solid #34425b;border-radius:9px;padding:10px 11px;color:var(--ink);min-width:0;width:100%}input[type=checkbox]{width:auto;accent-color:var(--accent)}[hidden]{display:none!important}a{color:var(--cyan)}.topbar{height:82px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 25px;gap:20px;background:#0d1421}.brand{display:flex;align-items:center;gap:14px}.brand strong{font-size:19px;letter-spacing:3px}.brand small{display:block;color:var(--muted);font-size:11px;letter-spacing:1.2px;margin-top:3px}.brand-dot{color:var(--accent);font-size:9px;margin-left:8px}.icon{min-width:36px;width:36px;height:36px;padding:0;display:inline-grid;place-items:center;font-size:20px;flex-shrink:0}.eyebrow{font-size:10px;font-weight:800;letter-spacing:1.7px;color:var(--muted);display:block;line-height:1.6}.cyan{color:var(--cyan)}.purple{color:var(--accent)}.period-control{display:flex;align-items:center;gap:15px}.period-control>button{display:flex;align-items:center;gap:14px;min-width:205px;justify-content:space-between}.clock-icon{font-size:23px;color:var(--accent)}.header-actions{display:flex;gap:8px}.header-actions button{background:transparent}.workspace-heading{position:absolute;top:19px;left:26px;right:440px;display:flex;justify-content:space-between;gap:15px;align-items:center}.workspace-heading h1{font-size:22px;font-weight:600;margin:4px 0}#status{font-size:11px;color:var(--muted);max-width:230px;text-align:right}#workspace{position:relative;height:calc(100dvh - 82px);background:radial-gradient(ellipse at 35% 43%,#18233b 0%,#0b1220 52%,#090e1a 80%)}.chart-stage{position:absolute;inset:118px 423px 115px 18px;display:flex;align-items:center;justify-content:center;min-width:0;transition:opacity .18s ease,inset .2s ease}#chart{height:100%;width:100%;overflow:visible;max-height:850px}.chart-tools{position:absolute;left:25px;right:435px;top:78px;display:flex;align-items:center;justify-content:center;gap:8px}.segments{display:flex;gap:3px;border:1px solid var(--line);padding:4px;border-radius:12px;background:#0d1625}.segments button{font-size:12px;padding:7px 10px;border-color:transparent;white-space:nowrap;background:transparent}.segments button[aria-pressed=true]{background:#302b48;border-color:#746091}.house-number-label{font-size:30px;fill:#b9c7db;opacity:.67;font-weight:500}.house-lord-label{font-size:10px;fill:#9fadc3;letter-spacing:.1px}.planet-node:focus,.house-group:focus{outline:none}.chart-caption{position:absolute;bottom:78px;left:35px;right:440px;text-align:center;font-size:12px;line-height:1.5;pointer-events:none;color:var(--muted)}.chart-caption strong{display:block;font-size:13px;font-weight:500;color:#cad6e7;margin-bottom:2px}.floating-card,.popover{background:linear-gradient(145deg,#152033fa,#101828fc);border:1px solid #34405a;border-radius:18px;box-shadow:0 22px 60px #0005;overflow:hidden;z-index:20;display:flex;flex-direction:column;min-height:0}.panel-head{flex:none;padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #2a354b;background:#142034}.panel-head h2{font-size:18px;letter-spacing:-.5px;margin:3px 0 0;font-weight:600}.panel-head .icon{background:transparent;border-color:transparent;color:var(--muted)}.panel-body{padding:18px 20px;overflow:auto;min-height:0;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#475674 transparent}.panel-body>p:first-child{margin-top:0}.reading-panel{position:absolute;right:20px;top:20px;bottom:80px;width:390px;z-index:10}.reading-controls{padding:14px 20px 11px;flex:none;border-bottom:1px solid var(--line)}#areaToggle{width:100%;display:flex;justify-content:space-between;font-size:14px;font-weight:600;background:#241f39;border-color:#50436f}.scope-note{font-size:12px;color:var(--muted);line-height:1.6;margin-top:9px}.reading-count{font-size:10px;color:#8fb2bf;margin-top:6px;letter-spacing:.2px}.reading-scroll{padding:0 17px 20px;flex:1;transition:opacity .18s ease}.reading-footer{font-size:10px;color:var(--muted);border-top:1px solid var(--line);padding:12px 18px;flex:none}.status-dot{display:inline-block;background:var(--amber);height:6px;width:6px;border-radius:50%;margin-right:6px}.reading-item{padding:21px 3px;border-bottom:1px solid #2b374a}.reading-item:last-child{border:0}.reading-item h3{margin:9px 0;font-size:17px;font-weight:600;line-height:1.4}.reading-item p{font-size:14px;line-height:1.8;margin:9px 0;color:#d2dded}.reading-meta{font-size:11px;color:var(--muted);display:flex;gap:8px;flex-wrap:wrap}.tag{display:inline-block;padding:4px 7px;border-radius:6px;font-size:10px;font-weight:700;letter-spacing:.15px}.tag.support{color:var(--green);background:#153b30}.tag.pressure{color:var(--pink);background:#3b2335}.tag.mixed{color:var(--amber);background:#3d3323}.tag.context{color:#adc6e4;background:#20324b}.details-link{border:0;background:transparent;color:var(--cyan);padding:0;font-size:11px}.reading-item details{margin-top:14px}.reading-item summary{font-size:12px;color:#b5a7df;cursor:pointer;line-height:1.6}.technical{background:#0c1423;border-radius:10px;padding:12px;margin-top:10px;font-size:12px;line-height:1.6}.technical p,.technical li{font-size:12px}.technical ul{padding-left:17px}.technical button{font-size:11px;padding:5px 8px;margin:3px 0;text-align:left}.channel{display:flex;justify-content:space-between;gap:12px;padding:5px 0;border-bottom:1px solid #263047}.evidence-row{margin:10px 0;border-top:1px solid #253047;padding-top:10px}.evidence-row p{margin:5px 0}.division-note{font-size:12px!important;color:#b8afd8!important;border-left:2px solid #8976b4;padding-left:11px}.empty{padding:25px 5px;font-size:14px;color:var(--muted);line-height:1.8}.bottom-dock{position:absolute;bottom:18px;left:26px;right:20px;display:flex;align-items:center;gap:8px;z-index:12}.bottom-dock button{font-size:12px;padding:10px 14px;background:#142034}.bottom-dock label{margin-left:auto;display:flex;gap:10px;align-items:center;font-size:11px;color:var(--muted)}.bottom-dock input{width:150px;font-size:12px}.birth-panel{position:fixed;top:96px;left:20px;bottom:20px;width:310px;z-index:50}.birth-panel label{display:block;font-size:12px;color:#bdcbe0;margin-bottom:15px}.birth-panel label input{margin-top:7px;font-size:14px}.form-row{display:flex;gap:10px}.form-row label{width:50%}.primary{background:#c1afea;color:#151022;border-color:transparent;font-weight:700;width:100%;padding:12px}.primary:hover{background:#d5c7f5}.muted{font-size:12px;line-height:1.8;color:var(--muted)}.notice{font-size:12px;color:var(--amber);line-height:1.6}.city-results{max-height:180px;overflow:auto;margin-bottom:15px}.city-results button{display:block;width:100%;text-align:left;font-size:12px;margin-bottom:5px}.period-popover{position:fixed;top:95px;left:50%;transform:translateX(-50%);width:360px;z-index:60}.year-stepper{display:flex;gap:15px;align-items:center;margin-bottom:14px}.year-stepper input{text-align:center;font-size:22px;background:none;border:0}.month-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:16px 0}.month-grid button{padding:12px 5px;font-size:12px}.month-grid button.quarter-highlight{border-color:#a38bd9;background:#302a46}.period-popover .primary{margin-top:13px}.period-popover label{font-size:12px}.area-popover{position:fixed;top:190px;right:34px;width:350px;z-index:45}.area-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.area-grid button{text-align:left;font-size:12px;line-height:1.6}.layer-popover{position:absolute;top:121px;right:434px;width:290px;z-index:40}.switch{display:flex;align-items:center;gap:10px;font-size:12px;margin:10px 0 19px}.switch small{margin-left:auto;font-size:9px;color:var(--muted)}.fact-card{position:absolute;bottom:80px;left:25px;width:320px;max-height:48%;z-index:25}.fact-card .panel-body p{font-size:13px;line-height:1.7}.fact-card h3{font-size:14px}.fact-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:13px}.fact-grid>div{background:#0e1727;border-radius:8px;padding:10px}.fact-grid small{color:var(--muted);font-size:10px;display:block}.fact-grid strong{font-size:13px;display:block;margin-top:4px;font-weight:500}.lens-panel{position:absolute;left:25px;bottom:78px;width:365px;max-height:60%;z-index:35}.planet-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:15px}.planet-grid button{font-size:12px;display:flex;gap:7px;align-items:center;padding:10px 8px}.planet-dot{height:7px;width:7px;border-radius:50%;flex:none}.timeline-panel{position:absolute;bottom:78px;left:25px;right:20px;max-height:55%;z-index:40}.timeline-strip{display:flex;gap:8px;overflow:auto;padding:6px 0 12px;scrollbar-width:thin}.timeline-strip button{flex:0 0 auto;min-width:123px;text-align:left;border-top:2px solid var(--period-color,var(--accent));font-size:12px}.timeline-strip small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.timeline-actions{display:flex;gap:15px;align-items:center}.timeline-actions .primary{width:auto}.timeline-actions span{font-size:12px;color:var(--muted)}dialog{background:#111b2d;color:var(--ink);padding:0;border:1px solid #44506c;border-radius:20px;max-width:740px;width:calc(100vw - 32px);max-height:85dvh;overflow:hidden}dialog[open]{display:flex;flex-direction:column}dialog::backdrop{background:#030813b8;backdrop-filter:blur(5px)}.guide-body{font-size:14px;line-height:1.9}.guide-body h3{font-size:18px;font-weight:500;color:#d6c6fa;margin:22px 0 8px}.guide-body h3:first-child{margin-top:0}.guide-body li{margin:9px 0}.busy .chart-stage,.chart-busy .chart-stage{opacity:.65}.busy .reading-scroll,.reading-busy .reading-scroll{opacity:.72;pointer-events:none}.error{color:var(--pink)!important}@media(min-width:1700px){.reading-panel{width:440px}.chart-stage{right:475px}.chart-tools,.workspace-heading,.chart-caption{right:485px}.layer-popover{right:485px}.reading-item p{font-size:15px}}@media(max-width:1100px){.reading-panel{width:350px;right:14px}.chart-stage{right:375px;left:5px}.chart-tools,.workspace-heading,.chart-caption{right:380px;left:15px}.segments button{font-size:10px;padding:7px}.layer-popover{right:380px}.workspace-heading h1{font-size:19px}.workspace-heading #status{max-width:140px;font-size:10px}.period-control .eyebrow{display:none}}@media(max-width:850px){.topbar{padding:0 14px;height:74px;gap:8px}.brand small{display:none}.brand strong{font-size:14px}.brand{gap:7px}.header-actions #guideToggle{display:none}.period-control>button{min-width:155px;font-size:12px;padding:8px}.period-control>button .clock-icon{font-size:17px}#workspace{height:calc(100dvh - 74px)}.chart-stage{inset:123px 10px 135px}.chart-tools,.workspace-heading,.chart-caption{right:15px;left:15px}.chart-tools{justify-content:center}.chart-caption{bottom:115px}.reading-panel{right:12px;left:auto;width:min(390px,calc(100vw - 24px));top:125px;bottom:112px}.bottom-dock{flex-wrap:wrap;left:12px;right:12px;bottom:12px;gap:6px}.bottom-dock button{font-size:11px;padding:9px}.bottom-dock label{width:100%;justify-content:flex-end;margin-top:3px}.area-popover{right:20px;top:235px;width:min(350px,calc(100vw - 40px))}.layer-popover{right:20px}.fact-card{bottom:112px;left:12px;width:min(320px,calc(100vw - 24px))}.timeline-panel{left:12px;right:12px;bottom:112px;max-height:65%}.lens-panel{left:12px;bottom:112px;width:min(365px,calc(100vw - 24px))}.birth-panel{top:86px}.brand-dot{display:none}.period-popover{top:85px;width:min(360px,calc(100vw - 24px))}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.house-rashi-label{font-size:12px}.house-domain-label{font-size:11px;letter-spacing:.4px}.planet-node text{font-size:12px}.transit-node text{font-size:10px}.house-group:focus-visible .wedge-bg,.planet-node:focus-visible .planet-core{stroke:#d9f5ff;stroke-width:3px}

.reference-result{margin-top:18px}.reference-result summary{color:var(--accent);cursor:pointer}.reference-text{white-space:pre-wrap;font-size:13px;line-height:1.85;margin-top:12px}.window-scrubber{position:absolute;left:28px;right:434px;bottom:79px;z-index:8;background:#0d1624e8;border:1px solid #2c3b51;border-radius:14px;padding:10px 15px 8px}.scrubber-head,.scrubber-scale,.scrubber-caption{display:flex;align-items:center;justify-content:space-between;gap:8px}.scrubber-head .segments{padding:2px}.scrubber-head .segments button{font-size:10px;padding:5px 7px}.scrubber-head .eyebrow{font-size:9px;letter-spacing:1px}.scrubber-scale{font-size:9px;color:var(--muted);margin:6px 0}.scrubber-scale button{padding:0;width:20px;height:20px;border:0;background:transparent}.scrubber-track{height:25px;position:relative;background:linear-gradient(transparent 10px,#35435a 10px,#35435a 14px,transparent 14px)}.scrub-selection{position:absolute;height:18px;top:3px;border:1px solid #b9a0ef;background:#a58cdd38;border-radius:7px;pointer-events:none}.scrubber-track input{position:absolute;appearance:none;-webkit-appearance:none;padding:0;border:0;background:transparent;height:25px;margin:0;cursor:ew-resize}.scrubber-track input::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:22px;height:22px;background:#d0b9ff;border:4px solid #46385f;border-radius:50%;box-shadow:0 0 0 1px #c1a7f2}.scrubber-track input::-moz-range-thumb{width:16px;height:16px;background:#d0b9ff;border:3px solid #46385f;border-radius:50%}.scrubber-caption{font-size:9px;color:var(--muted);margin-top:4px}.chart-stage{bottom:235px}.chart-caption{bottom:205px}.previewing .reading-scroll{opacity:.35;pointer-events:none}.previewing .reading-count::after{content:' · previewing another window';color:var(--amber)}@media(min-width:1700px){.window-scrubber{right:484px}}@media(max-width:1100px){.window-scrubber{left:16px;right:378px}.scrubber-head .eyebrow{display:none}}@media(max-width:850px){.window-scrubber{left:13px;right:13px;bottom:110px}.chart-stage{bottom:267px}.chart-caption{bottom:235px}.scrubber-head .eyebrow{display:block}.reading-panel{bottom:245px}.fact-card,.lens-panel{bottom:245px}.timeline-panel{bottom:245px}}

/* Time scrubbing is an overlay: opening it never changes wheel geometry. */
.chart-stage{bottom:115px}.chart-caption{bottom:78px}.scrubber-close{position:absolute;top:-13px;right:-10px;border-radius:50%;width:25px;height:25px;font-size:16px;padding:0;background:#29334a}.window-scrubber{z-index:30}@media(max-width:850px){.chart-stage{bottom:135px}.chart-caption{bottom:115px}.reading-panel{bottom:112px}.fact-card,.lens-panel,.timeline-panel{bottom:112px}}

/* Compact mission control: time lives in the header; chart tools float. */
:root{--bar-height:58px}
.sr-only{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}
.topbar{height:calc(var(--bar-height) + env(safe-area-inset-top));padding:calc(5px + env(safe-area-inset-top)) 16px 5px;gap:20px;position:relative;z-index:45}
.brand{gap:10px;flex:none}.brand strong{font-size:15px;letter-spacing:2px}.brand .icon{width:30px;min-width:30px;height:30px;font-size:17px}.brand-dot{margin-left:5px;font-size:7px}
.header-actions{gap:5px;flex:none}.header-actions button{padding:7px 10px;font-size:11px}
.topbar .window-scrubber{position:relative;inset:auto;flex:1;min-width:160px;max-width:1050px;margin:0;padding:0;background:transparent;border:0;border-radius:0;z-index:auto}
.scrubber-head{height:24px;gap:12px}.scrubber-head #periodLabel{font-size:11px;font-weight:600;color:#dce7f9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.scrubber-head .segments{padding:1px;border-radius:7px;border-color:#29364a;flex-shrink:0}.scrubber-head .segments button{font-size:10px;padding:3px 8px;border-radius:5px}
.scrubber-row{display:flex;align-items:center;gap:5px;height:21px}.scrubber-row>button{height:20px;width:24px;padding:0;line-height:18px;border-color:transparent;background:transparent;color:#aebcda}
.scrubber-track{flex:1;min-width:0;height:22px;touch-action:none}.scrubber-track input{height:22px;touch-action:none}.scrub-selection{top:3px;height:17px;border-radius:5px;min-width:2px}.scrubber-track input::-webkit-slider-thumb{height:20px;width:20px;border-width:3px}
#workspace{height:calc(100dvh - var(--bar-height) - env(safe-area-inset-top))}
.chart-stage{inset:8px 417px 66px 8px}#chart{max-height:none}.chart-caption{bottom:47px;left:20px;right:425px;font-size:10px;line-height:1.35}.chart-caption strong{font-size:11px;margin-bottom:0}.chart-caption span{font-size:10px}
.birth-panel{position:absolute;top:12px;left:14px;bottom:auto;width:286px;max-height:calc(100% - 85px);border-radius:13px;z-index:22;background:#111b2aef;backdrop-filter:blur(12px);overflow:auto;scrollbar-width:thin}
.context-heading{display:flex;align-items:center;gap:5px;padding:8px 10px 4px}.context-heading .eyebrow{flex:1;font-size:9px;letter-spacing:1.4px}.context-heading .icon{width:25px;min-width:25px;height:25px;font-size:16px;border-color:transparent;background:transparent}
.birth-editor{margin:0 12px}.birth-editor>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;font-size:12px;line-height:1.6;list-style:none;padding:2px 0 7px}.birth-editor>summary::-webkit-details-marker{display:none}.edit-label{font-size:10px;color:var(--cyan)}.birth-editor[open] .edit-label{color:var(--accent)}
.birth-editor-body{padding:6px 0 8px;border-top:1px solid var(--line);max-height:45dvh;overflow:auto;scrollbar-width:thin}.birth-editor-body>label:nth-child(1),.birth-editor-body>label:nth-child(2){display:inline-block;width:calc(50% - 6px);vertical-align:top}.birth-editor-body>label:first-child{margin-right:8px}.birth-panel .birth-editor-body label{font-size:10px;margin-bottom:8px}.birth-panel .birth-editor-body input{font-size:12px;padding:6px 8px;margin-top:4px}.birth-editor-body .primary{font-size:11px;padding:8px}.location-advanced{margin-bottom:10px}.location-advanced summary{font-size:10px;color:var(--muted);cursor:pointer;margin-bottom:8px}.birth-editor-body .notice{font-size:10px;margin-bottom:0}.city-results button{font-size:11px;padding:8px}.city-results{max-height:140px}
.chart-tools{position:static;inset:auto;display:block;padding:0 10px;width:auto}.chart-tools .segments{width:100%;padding:3px;gap:2px}.chart-tools .segments button{flex:1;font-size:10px;padding:6px 5px}
.context-date{display:flex;align-items:center;gap:10px;margin:9px 12px 0}.birth-panel .context-date label{font-size:10px;color:var(--muted);margin:0;flex:none}.context-date input{font-size:11px;width:auto;flex:1;padding:5px 7px;margin:0}.context-window{font-size:9px;color:var(--muted);margin:6px 12px 10px;line-height:1.5}
.layer-popover{top:47px;left:305px;right:auto;width:280px}.reading-panel{top:12px;right:12px;bottom:12px;width:390px}.reading-panel .panel-head{padding:12px 16px}.reading-panel .panel-head h2{font-size:16px}.reading-controls{padding:10px 16px}.reading-controls .scope-note{margin-top:7px}.reading-footer{padding:9px 16px}
.bottom-dock{bottom:max(10px,env(safe-area-inset-bottom));left:18px;right:425px;gap:6px}.bottom-dock button{font-size:11px;padding:7px 10px;white-space:nowrap}.live-status{margin-left:auto;max-width:210px;font-size:10px!important;line-height:1.5;color:var(--muted);text-align:right}.fact-card{left:14px;bottom:56px;max-height:48%;width:300px}.lens-panel{left:14px;bottom:56px}.timeline-panel{left:14px;right:14px;bottom:56px;max-height:50%;border-radius:14px}.timeline-panel .panel-head{padding:10px 16px}.timeline-panel .panel-head h2{font-size:16px}.timeline-panel .panel-body{padding:10px 15px 0}.timeline-tools{display:flex;align-items:center;justify-content:space-between;gap:16px}.timeline-tools>span{color:var(--muted);font-size:11px}.timeline-tools>div{display:flex;gap:5px;flex-shrink:0}.timeline-tools button{padding:5px 9px;font-size:11px}#dashaTimeline{width:100%;height:144px;display:block;touch-action:none;overflow:hidden}.timeline-row-label{fill:#b2c1d8;font-size:10px}#dashaTimeline .domain,#dashaTimeline .tick line{stroke:#45516a}#dashaTimeline .tick text{fill:#a9b8ce;font-size:10px}#dashaTimeline rect[role=button]{cursor:pointer}#dashaTimeline rect[role=button]:focus{outline:none;stroke:#fff;stroke-width:2px}
.area-popover{top:150px;right:26px}.previewing .reading-count::after{content:' · previewing; release to read'}
@media(min-width:1700px){.reading-panel{width:420px}.chart-stage{right:446px}.chart-caption,.bottom-dock{right:454px}}
@media(max-width:1100px){.topbar{gap:12px;padding-inline:12px}.brand strong{font-size:13px}.brand-dot{display:none}.header-actions button{padding:6px 8px}.chart-stage{right:365px;left:4px;top:8px;bottom:66px}.reading-panel{width:340px;right:10px}.chart-caption,.bottom-dock{right:375px;left:14px}.live-status{max-width:140px}.birth-panel{width:260px}.layer-popover{left:279px}.scrubber-head .segments button{padding-inline:5px}.scrubber-head #periodLabel{font-size:10px}}
@media(max-width:850px){:root{--bar-height:106px}.topbar{display:grid;grid-template-columns:1fr auto;grid-template-rows:36px 50px;gap:6px 10px;height:calc(var(--bar-height) + env(safe-area-inset-top));padding:calc(6px + env(safe-area-inset-top)) 12px 8px}.topbar .window-scrubber{grid-column:1/-1;grid-row:2;width:100%;max-width:none}.header-actions{grid-column:2;grid-row:1}.header-actions #guideToggle{display:inline-block}.header-actions button{font-size:12px;padding:6px 10px}.brand{grid-column:1;grid-row:1}.brand strong{font-size:15px}.scrubber-head #periodLabel{font-size:12px}.scrubber-head .segments button{font-size:11.5px;padding:5px 7px}.chart-stage{inset:86px 2px calc(54px + env(safe-area-inset-bottom)) 2px}.chart-caption{left:12px;right:12px;bottom:calc(52px + env(safe-area-inset-bottom));font-size:13px}.chart-caption strong{font-size:13.5px}.chart-caption span{display:none}.reading-panel{top:10px;bottom:calc(54px + env(safe-area-inset-bottom));right:10px;left:10px;width:auto;z-index:24}.reading-item h3,.outcome-title h3{font-size:18px}.card-narrative,.reading-item p{font-size:15.5px;line-height:1.65}.card-basis{font-size:13.5px}.scope-note{font-size:13px}.reading-count{font-size:12px}.tag{font-size:11.5px;padding:5px 8px}.eyebrow{font-size:11px}.period-coverage-badge strong{font-size:16px}.period-coverage-badge small{font-size:11px}.birth-panel{top:10px;left:10px;width:min(340px,calc(100% - 20px));z-index:23}.birth-panel .birth-editor>summary{font-size:14px}.birth-panel .edit-label{font-size:12px}.birth-panel .birth-editor-body label{font-size:12px}.birth-panel .birth-editor-body input{font-size:15px;padding:8px 10px}.birth-panel .context-date label{font-size:12px}.context-date input{font-size:14px;padding:6px 8px}.rectify-label,.rectify-delta,.rectify-controls button{font-size:12px}.birth-situation #situationToggle{font-size:13px;padding:9px 12px}.context-window,.birth-situation .situation-scope-note{font-size:11.5px}.layer-popover{left:12px;right:auto;top:190px;width:min(320px,calc(100% - 24px))}.bottom-dock{left:10px;right:10px;bottom:max(8px,env(safe-area-inset-bottom));flex-wrap:nowrap;gap:5px}.bottom-dock button{padding:8px 6px;font-size:11.5px;flex:1 1 auto;text-align:center}.live-status{font-size:11px!important;max-width:150px}.fact-card,.lens-panel{bottom:calc(54px + env(safe-area-inset-bottom));left:10px}.fact-card .panel-body p,.fact-grid strong{font-size:14.5px}.fact-grid small{font-size:11.5px}.technical p,.technical li{font-size:13.5px}.timeline-panel{bottom:calc(54px + env(safe-area-inset-bottom));left:10px;right:10px;max-height:65%}.timeline-tools{align-items:flex-start;gap:8px;flex-direction:column}.timeline-tools>span{font-size:12px}.area-popover{top:180px;right:16px;left:16px;width:auto}.area-grid button{font-size:13px;padding:10px}.birth-editor-body{max-height:38dvh}.guide-body{font-size:15.5px;line-height:1.75}.glossary-list dt{font-size:15.5px}.glossary-list dd{font-size:14.5px}.past-form label{font-size:13px}.past-form select,.past-form input{font-size:15px}.past-clocks{font-size:14.5px}.past-transits{font-size:13.5px}.house-rashi-label{font-size:15px}.house-lord-label{font-size:12.5px}.house-domain-label{font-size:13px;letter-spacing:.5px}.sav-score-label{font-size:14.5px}.planet-node text{font-size:13px}.transit-node text{font-size:11px}.hub-title{font-size:12.5px}.hub-sub{font-size:10.5px}.sav-legend{font-size:10px}}
@media(max-width:450px){.scrubber-head #periodLabel{font-size:11.5px}.scrubber-head .segments button{font-size:11px;padding:4px 5px}.header-actions button{padding:5px 8px;font-size:11.5px}.bottom-dock button{font-size:11px;padding:8px 4px}.bottom-dock .live-status{display:none}}

#todayBtn{color:var(--cyan);border-left:1px solid var(--line);border-radius:0 5px 5px 0;margin-left:3px}

/* Independent overlays: division controls stay visible when birth details close. */
.chart-switcher{position:absolute;top:12px;left:14px;width:286px;z-index:25;padding:5px;background:#101a2bed;border:1px solid #34405a;border-radius:12px;backdrop-filter:blur(12px)}
.chart-switcher .chart-tools{padding:0}.chart-switcher .segments button{font-size:12px;padding:7px 5px}
.chart-key{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:5px 4px 0;font-size:10px;color:var(--muted)}.chart-key span{white-space:nowrap}.chart-key-actions{display:flex;align-items:center;gap:4px;flex-shrink:0}
.chart-key button{font-size:10px;padding:4px 7px;border-radius:6px;color:var(--cyan)}.chart-key button:disabled{cursor:default}
.birth-panel{top:99px;max-height:calc(100% - 170px)}.layer-popover{top:103px}
.house-rashi-label{font-size:12px;fill:#c6e8f3;letter-spacing:.15px}.sav-score-label{font-size:12px;fill:#edf8ff;paint-order:stroke;stroke:#10243a;stroke-width:3px;stroke-linejoin:round}
.bav-breakdown{width:100%;border-collapse:collapse;font-size:12px;margin-top:10px}.bav-breakdown th,.bav-breakdown td{padding:5px 0;text-align:left;border-bottom:1px solid var(--line)}.bav-breakdown td:last-child,.bav-breakdown th:last-child{text-align:right}
@media(max-width:1100px){.chart-switcher{width:260px}.chart-switcher .segments button{font-size:11px}}
@media(max-width:850px){.chart-switcher{left:10px;top:10px;width:calc(100% - 20px);max-width:none}.chart-switcher .segments button{font-size:13px;padding:8px 5px}.chart-key{font-size:12px}.chart-key button{font-size:12px;padding:5px 9px}.birth-panel{top:102px}.layer-popover{top:274px}.fact-card,.lens-panel{left:10px;right:10px;width:auto;top:auto;bottom:calc(54px + env(safe-area-inset-bottom));height:33dvh;max-height:35dvh;border-radius:16px}.fact-card .panel-head,.lens-panel .panel-head{padding:10px 14px}.fact-card .panel-body,.lens-panel .panel-body{padding:12px 14px}.lens-panel .planet-grid{gap:6px;margin-top:10px}.lens-panel .planet-grid button{padding:9px 8px;font-size:13px}#workspace:has(#factPanel:not([hidden])) .chart-stage,#workspace:has(#lensPanel:not([hidden])) .chart-stage{inset:94px 6px calc(33dvh + 60px + env(safe-area-inset-bottom)) 6px}#workspace:has(#factPanel:not([hidden])) .chart-caption,#workspace:has(#lensPanel:not([hidden])) .chart-caption{display:none}}

.prediction-heading{margin:20px 0 6px;font-size:19px}.prediction-item{border-left:2px solid #80d9e2;padding-left:12px}.prediction-coverage{border:1px solid #64563c;background:#2a241a77;color:#e8d6b1;border-radius:10px;padding:12px;margin:16px 0;font-size:12px;line-height:1.7}.prediction-coverage summary,.technical-evidence>summary{cursor:pointer}.prediction-coverage ul{padding-left:18px}.technical-evidence{margin:18px 0}.technical-evidence>summary{font-size:13px;color:var(--muted)}

.circumstance-controls{margin:12px 0;padding:10px;border:1px solid var(--line,#34414c);border-radius:10px}.circumstance-controls label{display:flex;align-items:flex-start;gap:8px;margin:10px 0;font-size:13px;line-height:1.5}.circumstance-controls input{width:auto;margin-top:4px;flex:none}.circumstance-controls button{margin-top:8px}.circumstance-controls p{font-size:13px;line-height:1.5}

/* A single outcome heading with an honest time-coverage measure. */
.outcome-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:9px 0}.outcome-title h3{margin:0;font-size:17px;line-height:1.45;min-width:0}.period-coverage-badge{flex:0 0 auto;max-width:112px;border:1px solid #496372;background:#17313b77;border-radius:9px;padding:6px 8px;text-align:center;color:#b9e8ec;line-height:1.3}.period-coverage-badge strong{display:block;font-size:15px;font-weight:600}.period-coverage-badge small{display:block;font-size:10px;margin-top:3px;letter-spacing:.02em}.reading-metric-help{margin:10px 0 18px;color:var(--muted);font-size:12px;line-height:1.7}.reading-metric-help summary{cursor:pointer}.reading-metric-help p{font-size:12px}.outcome-windows{padding-left:17px}.outcome-windows>li{margin:14px 0}.outcome-windows details{margin-top:5px}.outcome-windows summary{font-size:12px}

/* Personal context is an overlay; chart geometry remains unchanged. */
.reading-view-controls{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px;align-items:center}.reading-view-controls .segments{flex:1;min-width:210px}.reading-view-controls .segments button{flex:1;padding:7px 8px;font-size:11px}.reading-view-controls>button{font-size:11px;padding:8px}.birth-situation{border-top:1px solid var(--line);margin:0 12px 10px;padding-top:9px}.birth-situation #situationToggle{width:100%;font-size:11px;padding:7px 10px;text-align:left;background:#182338;border-color:#3a4b68;color:var(--cyan)}.birth-situation .situation-scope-note{font-size:10px;line-height:1.45;color:var(--muted);margin:6px 0 0}.card-narrative{font-size:13.5px!important;line-height:1.65!important;color:#eef4ff!important;margin:8px 0!important}.card-basis{font-size:11.5px;color:#9eb3ce;line-height:1.5;margin:6px 0}.situation-scope-note{font-size:11px;line-height:1.5;color:var(--muted);margin:8px 0}.situation-body{overflow:auto;font-size:14px;line-height:1.65}.situation-body>p{margin-top:0}.situation-body label{font-size:12px}.situation-body section>h3{margin:24px 0 12px;color:#d6c6fa;font-size:16px}.situation-question{border:1px solid #34445b;border-radius:12px;padding:12px;margin:14px 0}.situation-question legend{font-size:14px;line-height:1.5;padding:0 5px;max-width:100%;font-weight:500}.situation-choices{display:flex;flex-wrap:wrap;gap:6px}.situation-choices button{font-size:12px;padding:8px 11px}.situation-choices button[aria-pressed="true"]{background:#3d315c;border-color:#b3a0d8;color:#fff}.situation-answer{display:inline-block;margin-top:9px;color:var(--muted);font-size:11px}.situation-reset{font-size:11px;margin-left:10px;padding:3px 7px;background:transparent;border-color:transparent}.situation-footer{flex:none;border-top:1px solid #34445b;padding:12px 20px;background:#111b2d}.situation-footer p{font-size:11px;color:var(--muted);line-height:1.5;margin:0 0 8px}.situation-footer div{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:7px}.situation-footer button{font-size:12px}.situation-footer .primary{width:auto;margin:0}.situation-footer #situationError{color:#f1a6b9}.outcome-assumptions{font-size:12px!important;line-height:1.65!important;color:#cfbfeb}.edit-situation-link{font-size:11px;padding:5px 8px;margin-top:10px;background:transparent;color:#c9b9ea;border-color:#544867}.other-possibilities{margin:18px 0;border:1px solid #544867;border-radius:11px;padding:12px}.other-possibilities>summary{cursor:pointer;font-size:14px;color:#d6c6fa}.other-possibilities>p{font-size:12px;line-height:1.6;color:var(--muted)}.division-focus-note{font-size:12px;color:#b9e8ec;background:#142834;border:1px solid #355466;border-radius:9px;padding:8px 11px;margin:8px 0 12px;line-height:1.5}.reading-loading-note{font-size:12.5px;color:#b9e8ec;padding:10px 12px;border:1px dashed #3d5669;border-radius:9px;margin:10px 0}.glossary-list{margin:12px 0}.glossary-list dt{font-weight:600;color:var(--cyan);margin-top:14px;font-size:14px}.glossary-list dd{margin:4px 0 0;color:#d2dded;font-size:13.5px;line-height:1.65;padding-left:12px;border-left:2px solid #2b3b55}.rectify-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:2px 12px 0;padding-top:6px;border-top:1px solid #233046}.rectify-label{font-size:10px;color:var(--muted)}.rectify-controls{display:flex;align-items:center;gap:4px}.rectify-controls button{font-size:10px;padding:3px 7px;border-radius:6px;background:#182338;border-color:#33425c}.rectify-delta{font-size:10px;min-width:30px;text-align:center;color:var(--muted);font-variant-numeric:tabular-nums}.rectify-delta.active{color:var(--cyan);font-weight:600}.rectify-reset{color:var(--amber)!important}.reading-filter-banner{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 0 6px;padding:8px 11px;border-radius:10px;background:#18273c;border:1px solid #496786;font-size:12px;color:#dceafa;line-height:1.45}.reading-filter-banner button{flex:none;font-size:11px;padding:4px 9px;border-radius:7px;background:#22344f;border-color:#567698;color:var(--cyan)}.login-screen{position:fixed;inset:0;z-index:120;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 50% 35%,#1a2642f2 0%,#090e1af7 65%,#050912fc 100%);backdrop-filter:blur(10px)}.login-card{width:min(420px,100%);background:linear-gradient(155deg,#152033,#0e1626);border:1px solid #354563;border-radius:20px;padding:28px 26px;box-shadow:0 28px 80px #0009;text-align:center}.login-brand strong{font-size:18px;letter-spacing:3px}.login-brand .eyebrow{margin-top:6px}.login-card h2{margin:16px 0 8px;font-size:22px;font-weight:600}.login-sub{font-size:13.5px;color:var(--muted);line-height:1.65;margin:0 0 22px}.oauth-actions{display:flex;flex-direction:column;gap:11px}.oauth-btn{display:flex;align-items:center;justify-content:center;gap:11px;padding:12px 16px;border-radius:12px;font-weight:600;font-size:14px;text-decoration:none;border:1px solid transparent;transition:transform .12s,background .15s,border-color .15s}.oauth-btn:hover{transform:translateY(-1px)}.oauth-btn[aria-disabled="true"]{opacity:.45;pointer-events:none}.google-btn{background:#f8fafc;color:#111827;border-color:#d1d5db}.google-btn:hover{background:#ffffff}.apple-btn{background:#0b0f17;color:#f8fafc;border-color:#44526b}.apple-btn:hover{background:#161e2e;border-color:#7486a6}.microsoft-btn{background:#1d283d;color:#f8fafc;border-color:#4b5f82}.microsoft-btn:hover{background:#273652;border-color:#7b93bd}.stripe-btn{background:#635bff;color:#ffffff;border-color:#7a73ff}.stripe-btn:hover{background:#5249f5}.razorpay-btn{background:#0f2647;color:#9ed7ff;border-color:#2c66b0}.razorpay-btn:hover{background:#173664}.billing-body{overflow:auto}.billing-plans-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:10px;margin:14px 0}.billing-plan-card{text-align:left;background:#0d1626;border:1px solid #32435f;border-radius:12px;padding:13px;display:flex;flex-direction:column;gap:6px}.billing-plan-card[aria-pressed="true"]{background:#292246;border-color:#bba4ff}.billing-plan-card strong{font-size:14.5px;color:var(--ink)}.billing-plan-price{font-size:13px;font-weight:700;color:var(--cyan)}.billing-plan-card small{font-size:11.5px;line-height:1.45;color:var(--muted)}.billing-providers{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}@media(max-width:600px){.billing-providers{grid-template-columns:1fr}}.billing-status-banner{background:#122e2b;border:1px solid #2b6f63;color:#9decd8;border-radius:10px;padding:10px 12px;font-size:12.5px;line-height:1.5;margin-bottom:10px}.paywall-card{background:linear-gradient(155deg,#19223a,#11192c);border:1px solid #534678;border-radius:14px;padding:16px;margin:12px 0}.paywall-card h3{margin:4px 0 8px;font-size:17px}.paywall-card p{font-size:13px;line-height:1.6;color:#d2dded;margin:6px 0 12px}.admin-billing-panel{margin-top:20px;padding-top:14px;border-top:1px solid #2c3b55}.admin-billing-panel h3{margin:0 0 6px;font-size:15px;color:var(--cyan)}.admin-billing-summary{font-size:12px;color:#d2dded;max-height:200px;overflow:auto;background:#0b1320;border:1px solid #2b3b55;border-radius:10px;padding:10px}.login-notice{margin:14px 0 0;font-size:11.5px;color:var(--amber);line-height:1.5}.dev-bypass-btn{margin-top:16px;width:100%;background:transparent;border-color:#3a4a66;color:var(--cyan);font-size:12.5px;padding:10px 14px}#authBtn{color:var(--cyan)}.past-body{overflow:auto}.past-form{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:10px;align-items:end;margin:12px 0 16px}.past-form label{font-size:11px;color:#bdcbe0;display:flex;flex-direction:column;gap:5px}.past-form select{background:#0c1423;border:1px solid #34425b;border-radius:9px;padding:9px 10px;color:var(--ink);font:inherit;font-size:13px}.past-form .primary{width:auto;padding:10px 16px;white-space:nowrap}.past-summary-card{background:#0d1626;border:1px solid #32435f;border-radius:12px;padding:14px 16px;margin-bottom:14px}.past-summary-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:8px}.past-summary-head strong{font-size:15px}.past-summary-head button{font-size:12px;padding:7px 12px;color:var(--cyan);border-color:#44617f}.past-clocks{font-size:13px;color:#e3ecfa;margin:4px 0}.past-transits{font-size:12px;color:var(--muted);line-height:1.55;margin:6px 0 0}.past-history{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px}.past-history button{font-size:11px;padding:5px 10px;border-radius:999px;background:#162236;border-color:#354764;color:#cde0f5}.past-results .reading-item{padding:14px 4px}.past-section-label{font-size:13px;font-weight:600;color:var(--cyan);margin:14px 0 6px}.reset-demo-btn{margin-top:6px;width:100%;font-size:10.5px;padding:6px;background:transparent;border-color:#2c3b55;color:var(--muted)}@media(max-width:680px){.past-form{grid-template-columns:1fr}.past-form .primary{width:100%}}
@media(max-width:850px){
 .reading-panel .panel-head h2,.past-body h2{font-size:19px}
 #areaToggle{font-size:15.5px;padding:10px 12px}
 .scope-note{font-size:13.5px;line-height:1.55}
 .reading-count{font-size:12.5px}
 .prediction-heading{font-size:20px}
 .reading-item h3,.outcome-title h3{font-size:19px;line-height:1.4}
 .card-narrative{font-size:16px!important;line-height:1.65!important}
 .reading-item p{font-size:16px;line-height:1.65}
 .card-basis{font-size:14px;line-height:1.55}
 .outcome-assumptions{font-size:13.5px!important;line-height:1.6!important}
 .reading-item summary,.technical,.technical p,.technical li,.outcome-windows summary,.reading-metric-help,.reading-metric-help p,.prediction-coverage,.technical-evidence>summary,.other-possibilities>p,.division-focus-note,.situation-scope-note,.past-transits{font-size:13.5px;line-height:1.6}
 .technical button,.edit-situation-link,.details-link{font-size:13px}
 .tag{font-size:12px;padding:5px 8px}
 .period-coverage-badge{max-width:126px;padding:7px 9px}
 .period-coverage-badge strong{font-size:17px}
 .period-coverage-badge small{font-size:11.5px}
 .other-possibilities>summary,.past-section-label,.past-clocks{font-size:15px}
 .reading-footer{font-size:12px}
}
