*{box-sizing:border-box}html{color-scheme:dark;--bg:#101827;--surface:#192438;--raised:#1e2b41;--text:#f1eee7;--muted:#a7b3c7;--accent:#dfc58a;--line:#c7b17f30;--tint:#dfc58a0d;--natal:#b7c5f0;--shadow:#02081533;--danger:#ffa6a3;--serif:Georgia,'Times New Roman',serif;--radius:19px;scroll-padding-top:96px}html[data-theme=heritage]{color-scheme:light;--bg:#faf9f5;--surface:#fffefa;--raised:#f1ebe0;--text:#342b25;--muted:#786b60;--accent:#983f2c;--line:#a68e6944;--tint:#983f2c09;--natal:#536a9c;--shadow:#5c453012;--danger:#a62c29;--radius:5px}html[data-theme=observatory]{--bg:#0d1315;--surface:#151f22;--raised:#1b292d;--text:#edf7f4;--muted:#9db8b4;--accent:#91ddc7;--line:#91ddc72b;--tint:#91ddc709;--natal:#adc1ed;--serif:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;--radius:12px}html[data-theme=lotus]{color-scheme:light;--bg:#faf5fa;--surface:#fffaff;--raised:#f0e4ef;--text:#3d293e;--muted:#7c657d;--accent:#8a497e;--line:#8a497e33;--tint:#8a497e08;--natal:#496c97;--shadow:#5027490d;--danger:#a62c29;--radius:22px}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI','Noto Sans Tamil',sans-serif;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button svg{pointer-events:none}a{color:var(--accent);text-underline-offset:4px}h1,h2,h3,p,dl,dd{margin:0}h1,h2{font-family:var(--serif);font-weight:400;letter-spacing:-.5px}h1{font-size:32px;line-height:1.25}h2{font-size:24px}h3{font-size:17px;font-weight:500}svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex:none}small,.muted{color:var(--muted)}small{font-size:12px}button{border:0;color:inherit;background:transparent}.shell{max-width:1080px;margin:auto}.header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:28px 28px 23px;border-bottom:1px solid var(--line)}.wordmark{font-family:var(--serif);font-size:24px;letter-spacing:-.6px}.wordmark small{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;display:block;font-size:12px;text-transform:uppercase;letter-spacing:.18em;margin-top:4px}.header-right{display:flex;gap:10px;align-items:center}.date-top{font-size:13px;color:var(--muted);text-align:right}.icon-button{border:1px solid var(--line);background:var(--surface);color:var(--accent);border-radius:50%;width:44px;height:44px;display:grid;place-items:center}.icon-button.active{box-shadow:inset 0 0 0 1px var(--accent)}#main{padding:28px 28px 130px;min-height:75vh}.page-head{display:flex;justify-content:space-between;align-items:start;gap:16px;margin-bottom:25px}.page-head p{font-size:14px;color:var(--muted);margin-top:9px}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.14em;color:var(--accent);font-weight:550;margin-bottom:8px}.live-badge{display:flex;align-items:center;gap:7px;color:var(--accent);font-size:12px;border:1px solid var(--line);border-radius:30px;padding:6px 11px;white-space:nowrap}.live-badge:before{content:'';width:5px;height:5px;background:var(--accent);border-radius:50%}.page-head .dual small{font-family:inherit;font-size:17px;margin-top:6px}.dual{display:inline-flex;flex-direction:column;line-height:1.4}.dual small{font-size:12px;line-height:1.5}.name-en{font-size:inherit}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.section-heading .text-button{font-size:13px}.workspace{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,1fr);gap:25px;align-items:start}.panel{padding:22px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 10px 35px var(--shadow)}.chart-panel{padding:20px}.chart-panel h2{font-size:21px}.panel+.panel{margin-top:18px}.meta{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:var(--muted)}.meta svg{width:16px;height:16px}.meta>span{display:flex;align-items:center;gap:6px}.chart{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(4,minmax(108px,auto));border:1px solid var(--line);border-radius:11px;overflow:hidden;background:var(--bg)}.cell{border-right:1px solid var(--line);border-bottom:1px solid var(--line);min-width:0;min-height:108px;padding:9px 4px;display:flex;flex-direction:column;gap:7px;align-items:center;justify-content:flex-start;text-align:center}.cell.edge-r{border-right:0}.cell.edge-b{border-bottom:0}.cell:hover{background:var(--tint)}.cell.rising{background:var(--tint);box-shadow:inset 0 0 0 1px var(--accent)}.cell .sign-label{font-size:12px;color:var(--muted);line-height:1.4;overflow-wrap:anywhere;max-width:100%}.cell .sign-label small{font-size:12px}.cell.rising .sign-label{color:var(--accent)}.placement{font-size:14px;line-height:1.4;color:var(--text);width:100%;overflow-wrap:anywhere}.placement small{display:block;font-size:12px;color:var(--accent);font-variant-numeric:tabular-nums;margin-top:1px}.placement .dual small{color:var(--muted)}.placement .retro{font-size:12px;color:var(--accent);font-style:normal;margin-left:3px}.placement.natal{color:var(--natal);border-top:1px dashed var(--line);padding-top:4px}.placement.natal small,.placement.natal .dual small{color:var(--natal)}.natal-prefix{font-size:12px;letter-spacing:.06em}.la{font-size:12px;color:var(--accent);font-weight:600}.chart-center{grid-area:2 / 2 / 4 / 4;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:12px;background:var(--bg);border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.chart-center .center-name{font:26px/1.5 var(--serif);color:var(--accent)}.chart-center .center-name small{display:block;font:14px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--muted);margin-top:6px}.center-time{font-variant-numeric:tabular-nums;font-size:14px;margin-top:18px;color:var(--muted)}.center-date{font-size:12px;color:var(--muted);margin-top:4px}.legend{display:flex;flex-wrap:wrap;gap:9px 15px;font-size:12px;color:var(--muted);padding:14px 1px 0}.legend .natal-key{color:var(--natal)}.legend .current-key{color:var(--accent)}.caption{font-size:12px;color:var(--muted);margin-top:15px;line-height:1.6}.lagnam-card{background:linear-gradient(130deg,var(--raised),var(--surface))}.lagnam-card .value{font-family:var(--serif);font-size:37px;line-height:1.3;margin:14px 0 5px;color:var(--accent);letter-spacing:-.8px}.lagnam-card .value .dual small{font-size:21px;color:var(--text)}.large-degree{font-size:21px;color:var(--text);font-variant-numeric:tabular-nums}.keyline{display:flex;justify-content:space-between;gap:12px;font-size:14px;border-top:1px solid var(--line);padding-top:14px;margin-top:17px;color:var(--muted)}.keyline strong{font-weight:500;color:var(--text);text-align:right}.keyline strong .dual{text-align:right}.mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:15px}.mini-grid dt{font-size:12px;color:var(--muted);margin-bottom:5px}.mini-grid dd{font-size:15px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:11px 18px;border-radius:10px;background:var(--accent);color:var(--bg);font-size:14px;font-weight:550;text-decoration:none}.button.secondary{background:var(--raised);color:var(--text);border:1px solid var(--line)}.button.danger{background:transparent;border:1px solid var(--danger);color:var(--danger)}.button.wide{width:100%;margin-top:16px}.text-button{color:var(--accent);text-decoration:none;font-size:14px;padding:6px 0;min-height:36px}.text-button:hover{text-decoration:underline}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}.notice{background:var(--tint);border-left:2px solid var(--accent);padding:13px 15px;font-size:13px;color:var(--muted);margin:18px 0;line-height:1.6}.notice.error{border-color:var(--danger);color:var(--danger)}.notice a{color:inherit}.empty{padding:35px 25px;text-align:center;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}.empty>svg{width:36px;height:36px;color:var(--accent);margin-bottom:18px}.empty p{max-width:460px;margin:12px auto 0;color:var(--muted);font-size:14px;line-height:1.7}.empty .button{margin-top:20px}.narrow{max-width:730px;margin:auto}.nav{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);width:min(630px,calc(100% - 40px));display:grid;grid-template-columns:repeat(5,minmax(0,1fr));background:var(--surface);border:1px solid var(--line);border-radius:19px;padding:9px 8px;box-shadow:0 8px 40px #0004;z-index:20}.nav button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;padding:8px 2px;color:var(--muted);font-size:12px;min-width:0;min-height:58px;border-radius:10px}.nav button.active{background:var(--tint);color:var(--accent)}.nav button span{max-width:100%;overflow-wrap:anywhere}.nav button .dual{align-items:center}.nav .dual small{font-size:12px;color:inherit}.segmented{display:flex;background:var(--bg);border:1px solid var(--line);border-radius:11px;padding:4px;gap:4px;margin-bottom:20px}.segmented button{flex:1;font-size:14px;min-height:45px;border-radius:7px;padding:8px}.segmented button.active{background:var(--raised);color:var(--accent)}.lord-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);padding:18px;margin-bottom:12px}.lord-card summary{list-style:none;display:flex;justify-content:space-between;gap:14px;cursor:pointer;align-items:center;min-height:42px}.lord-card summary::-webkit-details-marker{display:none}.lord-card summary .heading{display:flex;align-items:center;gap:12px}.planet-disc{border:1px solid var(--line);border-radius:50%;width:36px;height:36px;display:grid;place-items:center;color:var(--accent);flex:none;font-size:17px}.lord-card .position{text-align:right;font-size:14px}.lord-card .position small{display:block;color:var(--accent)}.lord-card .mini-grid{border-top:1px solid var(--line);padding-top:17px;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.lord-card .mini-grid dd{font-size:14px}.sign-cards{display:grid;grid-template-columns:1fr 1fr;gap:14px}.sign-cards .lord-card{margin:0}.sign-cards .mini-grid{grid-template-columns:1fr 1fr}.probe{display:flex;align-items:end;gap:14px;margin-bottom:20px;flex-wrap:wrap}.probe .field{max-width:180px;margin:0}.probe p{flex:1;font-size:13px;color:var(--muted);min-width:200px;padding-bottom:10px}.settings-section{padding:23px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);margin-bottom:20px}.settings-section h2{font-size:23px;margin-bottom:18px}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 0;border-bottom:1px solid var(--line)}.setting-row:last-child{border-bottom:0;padding-bottom:0}.setting-row:first-of-type{padding-top:0}.setting-row label,.setting-row .setting-label{font-size:15px;display:block}.setting-row p{font-size:12px;color:var(--muted);margin-top:5px;max-width:430px}.toggle{appearance:none;-webkit-appearance:none;width:46px;height:27px;border-radius:20px;flex:none;background:var(--bg);border:1px solid var(--line);position:relative;cursor:pointer;margin:0}.toggle:after{content:'';position:absolute;left:4px;top:4px;width:17px;height:17px;border-radius:50%;background:var(--muted)}.toggle:checked{background:var(--accent);border-color:var(--accent)}.toggle:checked:after{left:23px;background:var(--bg)}.field{display:flex;flex-direction:column;gap:8px;margin:15px 0}.field label{font-size:14px;color:var(--muted)}input:not(.toggle),select{border:1px solid var(--line);color:var(--text);background:var(--bg);border-radius:9px;padding:12px;min-height:46px;min-width:0;width:100%;font-size:16px}select{padding-right:25px}input::placeholder{color:var(--muted);opacity:.7}input:invalid:not(:placeholder-shown){border-color:var(--danger)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.theme-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.theme-option{padding:9px 6px;border:1px solid var(--line);border-radius:12px;text-align:center;font-size:12px}.theme-option.active{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.swatch{height:51px;margin-bottom:8px;border-radius:7px;background:var(--swatch-bg);border:1px solid var(--swatch-line);display:grid;place-items:center}.swatch svg{color:var(--swatch-accent);width:31px;height:31px}.theme-option .dual small{font-size:12px}.transit-filters{display:flex;gap:12px;align-items:center;margin-bottom:16px;flex-wrap:wrap}.transit-filters .field{flex:1;min-width:150px;margin:0}.transit-source{padding:14px 0;color:var(--muted);font-size:12px;border-bottom:1px solid var(--line);margin-bottom:18px}.transit-list{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);overflow:hidden}.transit-item{display:grid;grid-template-columns:70px 1fr;gap:15px;padding:18px 20px;border-bottom:1px solid var(--line)}.transit-item:last-child{border-bottom:0}.transit-date{text-align:center;font-size:12px;color:var(--muted);border-right:1px solid var(--line);padding-right:15px}.transit-date b{display:block;color:var(--accent);font-size:25px;font-weight:400;line-height:1.3}.transit-info h3{font-size:16px}.transit-info p{color:var(--muted);font-size:14px;margin-top:4px}.transit-info .time{font-size:12px;margin-top:7px;color:var(--muted)}.event-tag{font-size:12px;color:var(--accent);border:1px solid var(--line);border-radius:4px;padding:2px 5px;margin-left:6px;display:inline-block}.next-card{margin-bottom:22px;background:linear-gradient(130deg,var(--raised),var(--surface))}.next-card h2{font-size:25px;color:var(--accent);margin:8px 0}.next-card p{font-size:14px;color:var(--muted)}.natal-editor-row{display:grid;grid-template-columns:110px 1fr 100px;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}.natal-editor-row label{font-size:14px}.natal-editor-row input,.natal-editor-row select{font-size:14px;padding:10px}.editor-columns{display:grid;grid-template-columns:110px 1fr 100px;gap:10px;font-size:12px;color:var(--muted);margin-top:23px}.comparison-item{padding:11px 0;border-bottom:1px solid var(--line);font-size:14px}.comparison-item small{display:block;margin-top:4px}.source-links{font-size:13px;line-height:1.8;color:var(--muted)}.source-links summary{cursor:pointer;font-size:14px}.source-links>div{padding:12px 0}.source-links a{display:inline-block;margin:5px 15px 5px 0}.toast{position:fixed;left:50%;transform:translateX(-50%);bottom:120px;max-width:min(480px,90vw);width:max-content;background:var(--raised);border:1px solid var(--accent);color:var(--text);padding:13px 18px;border-radius:12px;box-shadow:0 5px 30px #0005;z-index:50;font-size:14px}.skip{position:absolute;left:8px;top:-80px;background:var(--accent);color:var(--bg);z-index:100;padding:10px}.skip:focus{top:8px}.loading{padding:65px 20px;text-align:center;color:var(--muted)}.loading:before{content:'';display:block;width:25px;height:25px;border:2px solid var(--line);border-top-color:var(--accent);border-radius:50%;margin:0 auto 20px;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}dialog{max-width:min(450px,calc(100% - 40px));border:1px solid var(--line);border-radius:18px;padding:25px;color:var(--text);background:var(--surface)}dialog::backdrop{background:#0009}dialog p{color:var(--muted);margin-top:13px;font-size:14px}html[data-theme=heritage] .header{border-bottom:3px double var(--line)}html[data-theme=heritage] .chart{border-radius:0;border-color:var(--accent)}html[data-theme=heritage] .nav{border-radius:8px}html[data-theme=observatory] h1{font-weight:450;letter-spacing:-1px}html[data-theme=observatory] .chart-center .center-name{font-size:23px}.filter-summary{display:flex;justify-content:space-between;gap:15px;align-items:center;color:var(--muted);font-size:13px;margin:15px 0}.pill{padding:5px 9px;border-radius:7px;background:var(--raised);font-size:12px;color:var(--accent)}.polar-note{font-size:13px;color:var(--muted);margin:12px 0}.mobile-only{display:none}
@media(max-width:760px){.header{padding:20px 20px 18px}.wordmark{font-size:23px}.date-top{display:none}#main{padding:23px 18px 130px}.page-head{margin-bottom:22px}h1{font-size:29px}.page-head p{font-size:13px}.workspace{display:flex;flex-direction:column;gap:18px}.workspace>section,.workspace>aside{width:100%}.panel,.chart-panel{padding:17px}.chart-panel .section-heading{margin-bottom:14px}.chart{grid-template-rows:repeat(4,minmax(95px,auto))}.cell{min-height:95px;padding:9px 3px;gap:6px}.chart-center{padding:8px}.chart-center .center-name{font-size:23px}.center-time{font-size:13px;margin-top:13px}.placement{font-size:13px}.placement .dual small{font-size:12px}.chart .sign-label{font-size:12px}.nav{bottom:0;left:0;transform:none;width:100%;border-radius:0;border-left:0;border-right:0;border-bottom:0;padding:8px 5px max(12px,env(safe-area-inset-bottom));background:var(--bg)}.nav button{font-size:12px;padding:6px 1px;gap:4px;min-height:54px}.nav .dual small{font-size:12px}.nav button svg{width:21px;height:21px}.lord-card{padding:15px}.lord-card .mini-grid{grid-template-columns:1fr 1fr}.sign-cards{grid-template-columns:1fr}.settings-section{padding:19px 17px}.theme-grid{gap:6px}.theme-option{padding:7px 3px;font-size:12px}.theme-option .dual small{font-size:12px;overflow-wrap:anywhere}.theme-option.active{box-shadow:none}.setting-row{gap:15px}.form-grid{gap:0 10px}.lagnam-card .value{font-size:31px}.natal-editor-row,.editor-columns{grid-template-columns:85px minmax(0,1fr) 76px;gap:7px}.natal-editor-row select,.natal-editor-row input{font-size:14px;padding:9px 6px}.natal-editor-row label{font-size:13px}.transit-item{padding:16px 14px;grid-template-columns:61px 1fr;gap:12px}.transit-date{padding-right:11px}.theme-option .dual{display:block}.theme-option .dual small{display:block}.header-right{gap:8px}.mobile-only{display:block}.desktop-only{display:none}.live-badge{padding:5px 8px;font-size:12px}.live-badge .dual small{display:none}html[data-theme=heritage] .nav{border-radius:0}.toast{bottom:110px}}
@media(max-width:370px){#main{padding-left:10px;padding-right:10px}.chart-panel{padding:12px}.header{padding-left:16px;padding-right:16px}.nav .dual small{display:none}.page-head{gap:6px}.cell{padding-left:2px;padding-right:2px}.placement{font-size:12px}.chart-center .center-name{font-size:21px}.center-time{font-size:12px}}
@media(prefers-reduced-motion:reduce){.loading:before{animation:none}}@media(min-width:761px){.settings-section .setting-row select{max-width:220px}.chart-panel{position:sticky;top:20px}}@media print{.nav,.header-right,.actions,.toast{display:none}#main{padding-bottom:0}.chart-panel{position:static}}
/* Aligned planetary columns and the explicit settings save action. */
.planet-table-wrap{border:1px solid var(--line);border-radius:var(--radius);overflow-x:auto;background:var(--surface)}.planet-table{width:100%;table-layout:fixed;border-collapse:collapse;text-align:left;font-size:15px}.planet-table col:nth-child(1){width:23%}.planet-table col:nth-child(2){width:23%}.planet-table col:nth-child(3){width:21%}.planet-table col:nth-child(4){width:33%}.planet-table th,.planet-table td{padding:17px 14px;border-bottom:1px solid var(--line);vertical-align:middle;overflow-wrap:anywhere}.planet-table thead{background:var(--raised);color:var(--muted)}.planet-table thead th{font-size:12px;font-weight:550;letter-spacing:.025em}.planet-table tbody th{font-weight:550}.planet-table tbody tr:last-child>*{border-bottom:0}.planet-table tbody tr:nth-child(even){background:var(--tint)}.planet-table tbody tr:hover{background:var(--raised)}.planet-table .degree{font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--accent)}.planet-table .dual{gap:3px}.planet-table .dual small{font-size:12px}.planet-table abbr{text-decoration:none;cursor:help}.table-planet{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.retro-mark{font-size:10px;font-weight:600;color:var(--accent);line-height:1.4;border:1px solid var(--line);border-radius:3px;padding:0 3px}.sub-table col:nth-child(1){width:28%}.sub-table col:nth-child(2){width:26%}.sub-table col:nth-child(3),.sub-table col:nth-child(4){width:23%}.table-key{display:flex;flex-wrap:wrap;gap:7px 18px;font-size:12px;color:var(--muted);padding:15px 2px 0}.table-key b{color:var(--accent);font-weight:550}.settings-save{position:sticky;bottom:125px;z-index:15;padding:18px 20px;border:1px solid var(--accent);border-radius:var(--radius);background:var(--surface);box-shadow:0 8px 30px var(--shadow);display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:24px}.settings-save[hidden]{display:none}.settings-save strong{font-size:14px;font-weight:550}.settings-save p{font-size:12px;color:var(--muted);margin-top:4px}.save-actions{display:flex;gap:9px}.save-actions .button{white-space:normal;min-width:0}.save-actions .dual{overflow-wrap:anywhere}.button[hidden]{display:none}.settings-save .button .dual{align-items:center}
@media(max-width:760px){.planet-table{font-size:13px}.planet-table th,.planet-table td{padding:15px 7px}.planet-table thead th{font-size:11px;letter-spacing:0}.planet-table .degree{font-size:12px}.planet-table .dual small{font-size:12px}.settings-save{bottom:calc(105px + env(safe-area-inset-bottom));padding:15px;flex-direction:column;align-items:stretch;gap:12px}.save-actions .button{flex:1;padding:11px 12px}.table-planet{gap:4px}.settings-save p{margin-top:2px}}
@media print{.settings-save{display:none}}
/* Keep the remaining lord columns legible and all seven transit years within reach on a phone. */
.sub-table{min-width:430px}.sub-table col:nth-child(1){width:20%}.sub-table col:nth-child(2){width:32%}.sub-table col:nth-child(3),.sub-table col:nth-child(4){width:24%}.planet-table .column-description{display:block;font-size:12px;line-height:1.45;letter-spacing:0;font-weight:400;margin-top:4px}.planet-table .degree-sign{display:block;white-space:normal;margin-top:5px;font-size:13px;color:var(--muted)}.sub-table th,.sub-table td{font-size:14px}.sub-table .degree{font-size:14px}.planet-table-wrap:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.transit-years{display:grid;grid-template-columns:3fr 1.25fr 3fr;gap:8px;margin-bottom:24px}.year-group{display:flex;flex-direction:column;gap:8px;min-width:0}.year-group>span{font-size:12px;color:var(--muted);text-align:center;flex:1;display:flex;justify-content:center;align-items:end}.year-group>div{display:flex;gap:3px;border:1px solid var(--line);background:var(--surface);border-radius:var(--radius);padding:3px}.year-group button{flex:1;min-width:0;min-height:46px;padding:9px 1px;font-size:14px;font-variant-numeric:tabular-nums;border-radius:3px}.year-group button.active{background:var(--accent);color:var(--bg);font-weight:600}.year-group button:disabled{cursor:default}.year-group .dual{align-items:center;text-align:center}
@media(max-width:400px){.transit-years{gap:5px;grid-template-columns:3fr 1.15fr 3fr}.year-group>div{gap:1px;padding:2px}.year-group button{font-size:14px}.sub-table th,.sub-table td{padding-left:10px;padding-right:10px}}

.table-scroll-hint{margin:0 0 10px}.sub-table tbody th,.sub-table thead th:first-child{position:sticky;left:0;background:var(--surface);z-index:1;box-shadow:1px 0 0 var(--line)}.sub-table thead th:first-child{background:var(--raised)}

.copy-reference{margin-left:10px;min-height:44px;font-size:13px;text-decoration:underline;text-underline-offset:3px}
.birth-area fieldset{border:0;margin:0;padding:0;min-width:0}.birth-area .field input,.birth-area .field select{width:100%;min-width:0;font-size:16px}.birth-area .field small{display:block;margin-top:6px;font-size:13px}.birth-heading{gap:10px;align-items:center;margin-bottom:24px}.birth-heading h1{font-size:29px}.birth-heading .button{flex:none}.birth-area .birth-chart{position:static}.birth-area .section-heading .pill{display:inline-block;margin-top:7px}.birth-area .section-heading h2{overflow-wrap:anywhere}.birth-options{margin-top:24px}.birth-save-options{display:grid;gap:14px;margin-top:14px}.birth-save-options label{display:flex;gap:12px;align-items:center;font-size:15px}.birth-save-options input{width:21px;height:21px;accent-color:var(--accent);flex:none}.birth-help{font-size:14px;color:var(--muted);line-height:1.65;margin:18px 0}.birth-submit{margin-top:18px;font-size:16px;min-height:52px}.birth-place-meta{font-size:13px;line-height:1.6;color:var(--muted);margin-top:8px;overflow-wrap:anywhere}.city-picker{position:relative}.city-results{position:absolute;left:0;right:0;top:81px;z-index:25;max-height:290px;overflow:auto;border:1px solid var(--accent);background:var(--surface);border-radius:var(--radius);box-shadow:0 12px 35px var(--shadow)}.city-results[hidden]{display:none}.city-results [role=option]{border-bottom:1px solid var(--line)}.city-results [role=option]:last-child{border-bottom:0}.city-results button{display:block;text-align:left;width:100%;padding:13px 15px;min-height:58px}.city-results strong{display:block;font-size:16px;font-weight:550}.city-results span{display:block;font-size:14px;color:var(--muted);margin-top:3px}.city-results [aria-selected=true],.city-results button:hover{background:var(--raised)}.city-no-results{padding:16px;font-size:14px;color:var(--muted)}.birth-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding-top:20px;margin-top:5px;border-top:1px solid var(--line)}.birth-summary dt{font-size:13px;color:var(--muted);margin-bottom:6px}.birth-summary dd{font-size:15px;overflow-wrap:anywhere}.birth-record{font-size:14px;color:var(--muted);line-height:1.8;margin-top:20px;overflow-wrap:anywhere}.birth-positions{margin-top:23px}.birth-positions summary{cursor:pointer;font-size:17px;color:var(--accent);padding:10px 0}.birth-table{min-width:860px;table-layout:auto}.birth-table th,.birth-table td{font-size:14px;padding:15px 12px}.birth-table .degree{font-size:14px}.birth-table tbody th,.birth-table thead th:first-child{position:sticky;left:0;background:var(--surface)}.birth-table thead th:first-child{background:var(--raised)}.birth-empty p{color:var(--muted);margin:12px 0 24px}.birth-empty .text-button{display:block;margin-top:18px}.saved-chart-picker{margin-bottom:20px}.birth-area .chart-center .center-time{overflow-wrap:anywhere;max-width:100%}
@media(max-width:420px){.birth-heading h1{font-size:26px}.birth-heading .button{padding:10px 12px}.birth-summary{grid-template-columns:1fr 1fr}.birth-summary>div:last-child{grid-column:1/-1}.birth-area .form-grid{grid-template-columns:minmax(0,1fr);gap:0}.birth-area .birth-options{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}}
.retro-now{margin-bottom:22px;border-color:var(--accent)}.retro-status{padding:12px 0 16px;border-bottom:1px solid var(--line)}.retro-status:last-child{padding-bottom:0;border-bottom:0}.retro-status h2{font-size:25px;color:var(--accent);display:flex;align-items:center;flex-wrap:wrap;gap:8px}.retro-status>p{font-size:14px;color:var(--muted);margin:6px 0 14px}.retro-dates{display:grid;grid-template-columns:1fr 1fr;gap:16px}.retro-dates dt{font-size:12px;color:var(--muted);margin-bottom:5px}.retro-dates dd{font-size:14px;line-height:1.6}.retro-status>a{display:inline-block;font-size:13px;margin-top:10px}.transit-info h3{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.transit-info .event-tag{margin-left:0}

.planet-short{text-decoration:none;font-weight:600;white-space:nowrap;cursor:help}.planet-key{font-size:13px;color:var(--muted);margin-top:12px}.planet-key summary{cursor:pointer;color:var(--accent);padding:5px 0;min-height:32px}.planet-key>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 15px;padding:12px 0 3px}.planet-key>div>span{display:flex;gap:10px;align-items:baseline;overflow-wrap:anywhere}.planet-key b{min-width:28px;color:var(--accent);font-weight:600}.planet-key .dual{vertical-align:top}

/* Birth workspace: one saved natal record, five focused sections. */
.birth-tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin:22px 0}.birth-tabs button{grid-column:auto;min-height:46px;font-size:14px;padding:9px 5px;background:var(--bg);border:1px solid var(--line);border-radius:7px;overflow-wrap:anywhere}.birth-tabs button[aria-selected=true]{background:var(--accent);border-color:var(--accent);color:var(--bg)}.birth-tabs button[aria-selected=true] small{color:inherit}.birth-tab-panel[hidden]{display:none}.birth-tab-panel{min-width:0}.birth-chart-switch{display:flex;gap:4px;background:var(--raised);border-radius:9px;padding:4px;margin-bottom:15px}.birth-chart-switch button{flex:1;min-width:0;min-height:44px;border-radius:6px;font-size:14px;padding:7px}.birth-chart-switch button[aria-pressed=true]{background:var(--surface);color:var(--accent);box-shadow:0 1px 5px var(--shadow)}.birth-area .natal-grid{border-radius:3px;grid-template-rows:repeat(4,minmax(100px,auto))}.birth-area .natal-grid .cell{min-height:100px;gap:8px;cursor:default}.birth-cell-planets{display:flex;flex-direction:column;justify-content:center;gap:8px;width:100%;flex:1}.birth-area .birth-placement{font-size:15px;line-height:1.4}.birth-planet-line{display:flex;align-items:center;justify-content:center;gap:5px}.birth-degree{white-space:nowrap;font-variant-numeric:tabular-nums;letter-spacing:-.4px}.birth-flags{display:block;color:var(--accent);font-size:12px;line-height:1.4;min-height:0}.birth-flags:empty{display:none}.birth-flags abbr{text-decoration:none;cursor:help}.birth-chart-caption{text-align:center;margin:12px 0 15px}.birth-condition-key{border-top:1px solid var(--line);padding-top:10px;margin-top:17px}.birth-condition-key summary{font-size:14px;color:var(--accent);min-height:40px;padding:7px 0;cursor:pointer}.birth-condition-legend{display:grid;grid-template-columns:1fr 1fr;gap:10px;font-size:14px}.birth-condition-legend b{color:var(--accent);display:inline-block;min-width:18px}.birth-intro{margin:7px 0 18px}.natal-table{font-size:14px;min-width:0;table-layout:fixed}.natal-table th,.natal-table td{padding:14px 7px;font-size:14px}.natal-table th:nth-child(1){width:21%}.natal-table th:nth-child(2){width:24%}.natal-table th:nth-child(3){width:21%}.natal-table th:nth-child(4){width:34%}.natal-table .degree{font-size:13px;letter-spacing:-.3px}.birth-pada{display:block;margin-top:5px;font-size:12px}.natal-sub-table th:nth-child(1){width:25%}.natal-sub-table th:nth-child(2){width:24%}.natal-sub-table th:nth-child(n+3){width:17%}.natal-table .birth-flags{margin-top:4px}.birth-current-dasha{padding:20px;background:var(--raised);border-radius:var(--radius);margin:16px 0}.dasha-current-line{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:10px 0;font-size:14px}.dasha-current-line>span{color:var(--muted)}.dasha-current-line strong{font-weight:550;font-size:19px;text-align:right}.dasha-current-line:nth-child(2) strong{font-family:var(--serif);font-size:29px;color:var(--accent)}.dasha-dates{display:flex;flex-wrap:wrap;align-items:center;gap:4px 7px;font-size:12px;font-variant-numeric:tabular-nums;font-weight:400;color:var(--muted);margin-top:5px}.birth-current-dasha>.caption{border-top:1px solid var(--line);padding-top:12px}.dasha-period{border-bottom:1px solid var(--line)}.dasha-period summary{display:flex;align-items:center;justify-content:space-between;gap:8px;list-style:none;padding:15px 0;cursor:pointer;font-size:16px}.dasha-period summary::-webkit-details-marker{display:none}.dasha-arrow{font-size:23px;color:var(--muted)}.dasha-period[open]>summary .dasha-arrow{transform:rotate(90deg)}.dasha-children{border-left:2px solid var(--line);margin:0 0 16px 3px;padding-left:14px}.dasha-bhukti summary{font-size:14px;padding:12px 0}.dasha-now{font-size:12px;color:var(--accent);margin-left:5px;padding:1px 6px;display:inline-block!important;vertical-align:middle}.dasha-antaram-row{display:grid;grid-template-columns:minmax(65px,1fr) minmax(0,2fr);gap:10px;padding:10px;font-size:14px;border-top:1px solid var(--line)}.dasha-antaram-row.is-current{background:var(--tint);color:var(--accent)}.dasha-antaram-row .dasha-dates{margin:0}.dasha-all{margin-top:20px}.birth-detail-group+.birth-detail-group{margin-top:27px}.birth-detail-group h3{font-family:var(--serif);font-size:21px;margin-bottom:12px;color:var(--accent)}.birth-detail-group dl>div,.birth-calculation-details>div{display:grid;grid-template-columns:minmax(0,40%) minmax(0,60%);border-bottom:1px solid var(--line);padding:12px 0;gap:0;font-size:14px}.birth-detail-group dt,.birth-calculation-details dt{color:var(--muted);padding-right:12px}.birth-detail-group dd,.birth-calculation-details dd{text-align:right;overflow-wrap:anywhere}.birth-detail-group dd small{display:block;margin-top:5px}.birth-record-actions{border-top:1px solid var(--line);padding-top:20px;margin-top:20px}.birth-area .source-links a{display:block;margin-top:12px}.birth-area .source-links p{margin-top:12px}.birth-area .birth-chart{position:static}
@media(max-width:480px){.birth-area .birth-chart{padding:12px}.birth-area .natal-grid{grid-template-rows:repeat(4,minmax(91px,auto))}.birth-area .natal-grid .cell{min-height:91px;padding:7px 2px}.birth-area .birth-placement{font-size:13px}.birth-planet-line{gap:3px}.birth-degree{font-size:12px}.birth-area .natal-grid .sign-label{font-size:12px}.natal-table th,.natal-table td{padding:13px 4px;font-size:13px}.natal-table thead th{font-size:12px}.natal-table .degree{font-size:12px}.birth-tabs{gap:5px}.birth-tabs button{padding:8px 3px;font-size:13px}.birth-current-dasha{padding:16px}.birth-condition-legend{font-size:13px}.birth-area .natal-grid .chart-center .center-name{font-size:22px}.birth-area .natal-grid .chart-center{padding:5px}.birth-tabs .dual small{font-size:12px}.natal-sub-table .dual small{font-size:12px}.birth-detail-group dl>div{grid-template-columns:minmax(0,42%) minmax(0,58%)}.dasha-antaram-row{padding:10px 3px;gap:7px}.birth-chart-switch button{font-size:13px}}
/* Astriva chart layouts and birth numerology. */
.gocharam-workspace{max-width:730px;margin:auto}.wordmark{min-width:0}.wordmark small{letter-spacing:.07em;max-width:260px;line-height:1.6;text-wrap:balance}.north-chart{min-width:0}.north-reference{font-size:14px;color:var(--accent);margin:4px 0 18px}.north-reference>span{display:block;color:var(--muted);font-size:12px;margin-top:5px}.north-diagram{display:block;width:100%;height:auto;aspect-ratio:1;max-width:600px;margin:auto;stroke:none;overflow:visible}.north-house{cursor:pointer;outline:none}.north-house polygon{fill:var(--bg);stroke:var(--accent);stroke-width:1;stroke-opacity:.6}.north-house.is-selected polygon{fill:var(--raised);stroke-opacity:1;stroke-width:2}.north-house:focus-visible polygon{stroke-width:3;stroke-opacity:1;fill:var(--raised)}.north-house text{fill:var(--text);stroke:none;text-anchor:middle;pointer-events:none;font-family:inherit;font-size:13px;font-variant-numeric:tabular-nums}.north-house .north-sign-number{fill:var(--accent);font-size:13px}.north-house .north-count{font-size:13px}.north-house .north-empty{fill:var(--muted)}.north-natal,.north-house .north-natal{color:var(--natal);fill:var(--natal)}.north-house-detail{border:1px solid var(--line);border-radius:var(--radius);padding:16px;margin-top:15px;background:var(--bg)}.north-house-detail h3{font-size:16px;color:var(--accent)}.north-detail-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:14px}.north-detail-row:last-child{padding-bottom:0;border:0}.north-detail-row>span:last-child{text-align:right;font-variant-numeric:tabular-nums}.north-detail-row small{display:block;line-height:1.6;margin-top:3px;color:inherit}.north-detail-row .dual small{margin:0}.birth-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.birth-name-options{border-bottom:1px solid var(--line);padding:4px 0 12px}.birth-name-options summary{min-height:40px;padding:8px 0;font-size:14px;color:var(--accent);cursor:pointer}.numerology{overflow-wrap:anywhere}.numerology-heading{text-align:center;padding:10px 0 20px}.numerology-heading h3{font:30px/1.3 var(--serif);color:var(--accent);margin:8px 0 12px}.numerology-heading>p:not(.eyebrow){font-size:13px;color:var(--muted);line-height:1.8}.numerology-heading .text-button{font-size:13px;min-height:44px}.number-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:25px}.number-card{text-align:center;border:1px solid var(--line);border-radius:var(--radius);padding:18px 7px 15px;background:var(--bg);display:flex;align-items:center;flex-direction:column}.number-card>span:first-child{font-size:12px;color:var(--muted);min-height:20px}.number-card>strong{display:block;font:clamp(44px,10vw,64px)/1.2 var(--serif);font-weight:400;color:var(--accent);margin:9px 0}.number-card .number-planet{font-size:14px}.number-card>small{margin-top:8px;font-size:12px;font-variant-numeric:tabular-nums}.number-summary{padding:24px;background:var(--raised);border-radius:var(--radius);border-top:2px solid var(--accent);margin-bottom:12px}.number-summary h3{font:26px var(--serif);color:var(--accent);letter-spacing:.1em;margin:8px 0 15px}.number-summary>p:not(.eyebrow){font-size:15px;line-height:1.85}.number-summary .number-reflection{border-top:1px solid var(--line);margin-top:17px;padding-top:17px;color:var(--accent)}.number-meanings article{display:flex;gap:15px;padding:24px 0;border-bottom:1px solid var(--line)}.number-small{display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--line);border-radius:50%;flex:none;color:var(--accent);font:24px var(--serif);margin-top:3px}.number-meanings article>div{min-width:0}.number-meanings .eyebrow{font-size:11px;letter-spacing:.05em;line-height:1.7}.number-meanings h3{font:23px var(--serif);margin-bottom:10px}.number-meanings article p:last-child{font-size:14px;color:var(--muted);line-height:1.85}.number-method{border-bottom:1px solid var(--line)}.number-method summary{min-height:48px;padding:17px 0;font-size:14px;color:var(--accent);cursor:pointer}.number-method>div{padding-bottom:20px}.number-method h4{font-size:14px;font-weight:500;margin:20px 0 10px}.number-method p{font-size:13px;line-height:1.8;color:var(--muted);margin:12px 0}.number-letters{display:flex;flex-wrap:wrap;gap:6px}.number-letters>span{min-width:32px;border:1px solid var(--line);border-radius:5px;text-align:center;padding:7px}.number-letters b{display:block;font-size:14px;color:var(--accent);font-weight:500}.number-letters small{display:block;font-size:12px}.number-alphabet{width:100%;border-collapse:collapse;font-size:13px;margin-top:22px}.number-alphabet caption{text-align:left;color:var(--accent);padding-bottom:12px}.number-alphabet th,.number-alphabet td{padding:11px 5px;text-align:left;border-bottom:1px solid var(--line)}.number-alphabet thead th{font-size:12px;font-weight:500;color:var(--muted)}.number-alphabet tbody th{font-weight:500;color:var(--accent)}@media(max-width:480px){.number-cards{gap:6px}.number-card{padding:15px 4px 12px}.number-card .number-planet{font-size:12px}.number-summary{padding:20px 16px}.number-meanings article{gap:11px}.wordmark small{font-size:10px;max-width:210px;letter-spacing:.03em}.north-house-detail{padding:12px}.number-card>span:first-child{min-height:36px}}
/* Daily opening screen and the grouped Gocharam workspace. */
.nav{grid-template-columns:repeat(4,minmax(0,1fr))}.gocharam-tabs{display:flex;gap:6px;padding:5px;background:var(--raised);border-radius:12px;max-width:620px;margin:0 auto 25px}.gocharam-tabs button{flex:1;min-height:44px;padding:9px 12px;border-radius:8px;font-size:14px;color:var(--muted)}.gocharam-tabs button.active{background:var(--surface);color:var(--accent);box-shadow:0 2px 8px var(--shadow)}.daily-page{max-width:580px;margin:0 auto;overflow-wrap:anywhere}.daily-date{font-size:12px;letter-spacing:.06em;color:var(--muted);margin-bottom:10px}.daily-page>h1{font-size:clamp(1.8rem,6vw,2.3rem);color:var(--accent);margin-bottom:22px}.daily-profile{display:flex;align-items:center;gap:12px;padding:13px 15px;background:var(--surface);border:1px solid var(--line);border-radius:12px;margin-bottom:22px}.daily-avatar{width:40px;height:40px;display:grid;place-items:center;flex:none;background:var(--raised);border-radius:50%;color:var(--accent);font:24px var(--serif)}.daily-profile .field{flex:1;min-width:0;margin:0}.daily-profile label{font-size:12px;color:var(--muted);margin-bottom:3px}.daily-profile select{padding:5px 24px 5px 0;border:0;background:transparent;min-height:36px;font-size:16px;width:100%;color:var(--text)}.daily-hero{--daily-bg:var(--accent);--daily-text:var(--bg);background:var(--daily-bg);color:var(--daily-text);padding:28px;border-radius:16px}.daily-hero .eyebrow{color:inherit;opacity:.9;font-size:12px;margin-bottom:12px}.daily-hero h2{font-size:clamp(1.7rem,5vw,2.05rem);line-height:1.22;margin-bottom:17px;color:inherit}.daily-hero p{font-size:16px;line-height:1.75}.daily-hero .daily-basis{font-size:14px;line-height:1.6;margin-bottom:15px;padding-bottom:15px;border-bottom:1px solid color-mix(in srgb,currentColor 25%,transparent)}html[data-theme=heritage] .daily-hero{--daily-bg:#632d3c;--daily-text:#fff3e0}html[data-theme=lotus] .daily-hero{--daily-text:#fffaff}.daily-period{padding:25px 0;border-bottom:1px solid var(--line)}.daily-period h2{font-size:26px}.daily-period h2>span{color:var(--muted)}.daily-period .daily-period-label{font-size:13px;color:var(--muted);margin:6px 0 14px}.daily-period p{line-height:1.75;font-size:16px}.daily-period .text-button{margin-top:12px}.daily-evidence,.daily-background{border-bottom:1px solid var(--line);padding:5px 0}.daily-evidence summary,.daily-background summary{padding:17px 0;font-size:14px;color:var(--accent);cursor:pointer;min-height:48px}.daily-background article{padding:0 0 20px}.daily-background article p{font-size:16px;margin:8px 0}.daily-background article small{font-size:13px}.daily-evidence-body{padding:0 0 20px}.daily-evidence-body h3{margin-bottom:10px}.daily-evidence-body dl>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.7fr);gap:14px;padding:14px 0;border-bottom:1px solid var(--line);font-size:14px}.daily-evidence-body dt{color:var(--muted)}.daily-evidence-body dd span{display:block;margin-top:5px;font-size:13px}.daily-evidence-body dd .dual{display:inline-flex}.daily-evidence-body dd .dual span{font-size:inherit;margin:0}.daily-evidence-body p{font-size:14px;line-height:1.7;margin-top:16px}.daily-updated{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:12px;padding-top:13px}.daily-note{font-size:12px;line-height:1.7;color:var(--muted);margin-top:14px}.daily-welcome .button{background:var(--daily-text);color:var(--daily-bg);margin-top:23px;border:0;min-height:48px;font-size:16px}.daily-explore{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:5px;width:100%;padding:22px 0;border-bottom:1px solid var(--line)}.daily-explore>span{font:23px var(--serif);color:var(--accent)}.daily-explore small{font-size:14px}.daily-page .text-button{min-height:44px;font-size:14px}.daily-page .loading{min-height:180px}.daily-page .notice{margin:20px 0}@media(max-width:760px){.nav{grid-template-columns:repeat(4,minmax(0,1fr))}.nav button{font-size:12px}.daily-hero{padding:23px 20px}.daily-page{max-width:520px}.gocharam-tabs{margin-bottom:22px}.daily-evidence-body dl>div{grid-template-columns:minmax(0,1fr) minmax(0,1.6fr)}}

/* Approved Celestial A identity, shared by all display themes. */
.wordmark{display:flex;align-items:center;gap:12px}.brand-mark{display:block;width:48px;height:48px;flex:none;object-fit:contain;border-radius:12px;background:#101827}.brand-copy{min-width:0}.brand-name{display:block;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:25px;font-weight:550;line-height:1.15;letter-spacing:.16em;color:var(--text)}.wordmark .brand-copy small{font-size:12px;letter-spacing:.025em;line-height:1.45;text-transform:none;max-width:245px;margin-top:5px;text-wrap:balance}@media(max-width:480px){.header{gap:10px}.wordmark{gap:9px}.brand-mark{width:38px;height:38px;border-radius:9px}.brand-name{font-size:21px;letter-spacing:.11em}.wordmark .brand-copy small{font-size:12px;max-width:170px}.header-right{gap:6px;flex:none}}@media(max-width:360px){.brand-mark{width:34px;height:34px}.wordmark{gap:7px}.brand-name{font-size:19px;letter-spacing:.08em}.header-right{gap:4px}.wordmark .brand-copy small{max-width:135px}}

/* Sharing and account contact preferences */
.email-consent{display:flex;align-items:flex-start;gap:12px;margin:15px 0 20px;font-size:14px;cursor:pointer}.email-consent input{width:20px;height:20px;flex:none;margin-top:2px;accent-color:var(--accent)}.email-consent small{display:block;margin-top:5px}.birth-contact{padding-bottom:8px;margin-bottom:24px;border-bottom:1px solid var(--line)}.account-area{margin-top:30px}.account-area fieldset{border:0;padding:0;margin:16px 0 0;min-width:0}.contacts-table-wrap{overflow:auto;margin:15px 0}.contacts-table{width:100%;border-collapse:collapse;font-size:13px}.contacts-table th,.contacts-table td{text-align:left;padding:12px 8px;border-bottom:1px solid var(--line)}.contacts-table td:first-child{overflow-wrap:anywhere;min-width:170px}.contacts-table th{font-weight:500;color:var(--muted)}.contacts-table .pill{white-space:nowrap}#share-site{width:min(480px,calc(100vw - 32px))}#share-site .caption{margin:12px 0}#share-site-url{width:100%;font-size:14px}.header .wordmark{min-width:0}.header .icon-button{flex:none}@media(max-width:480px){.header-location{display:none}.account-area .actions{flex-wrap:wrap}}

/* Tamil Panchangam: an uncluttered calendar with a daily almanac. */
.header-settings{align-self:center}.header>.wordmark{flex:1}.panch-page{max-width:100%}.panch-location{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.panch-location label{font-size:14px;color:var(--muted)}.panch-location select{width:auto;min-width:190px;max-width:100%;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:var(--radius);padding:10px 14px;min-height:44px}.panch-zone{margin:10px 0 22px}.panch-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:26px;align-items:start}.panch-layout>div{min-width:0}.panch-calendar{padding:18px}.panch-month-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:17px}.panch-month-bar h2{font-size:24px;text-align:center}.panch-month-bar .icon-button{font-size:25px}.panch-jump{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:18px}.panch-jump label{font-size:14px;color:var(--muted)}.panch-jump input{width:auto;min-width:0;max-width:175px;font-size:14px;padding:6px 9px;min-height:40px;background:var(--bg);color:var(--text);border:1px solid var(--line);border-radius:6px}.panch-jump .text-button{margin-left:auto}.panch-week,.panch-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.panch-week span{font-size:12px;text-align:center;color:var(--muted);padding:8px 0}.panch-grid{border-top:1px solid var(--line);border-left:1px solid var(--line)}.panch-date,.panch-blank{min-height:76px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.panch-date{position:relative;display:flex;align-items:center;flex-direction:column;justify-content:center;padding:6px 1px;gap:1px;background:var(--surface);border-radius:0}.panch-date strong{font-size:21px;line-height:1.3;font-weight:450}.panch-date small{font-size:12px;line-height:1.3}.panch-date.is-today strong{color:var(--accent);font-weight:750;text-decoration:underline;text-underline-offset:5px}.panch-date.selected{background:var(--accent);color:var(--bg)}.panch-date.selected small,.panch-date.selected strong{color:inherit}.panch-date:focus-visible{z-index:1;outline-offset:-3px}.panch-markers{display:flex;height:14px;align-items:center;justify-content:center;gap:4px}.moon-new,.moon-full{display:inline-block;width:9px;height:9px;border-radius:50%;border:1.5px solid currentColor;flex:none;color:var(--accent)}.moon-new{background:currentColor}.moon-full{background:transparent}.panch-date.selected .moon-full,.panch-date.selected .moon-new,.panch-date.selected .festival-mark{color:inherit}.festival-mark{color:var(--accent);font-style:normal;font-size:10px;line-height:1}.panch-legend{display:flex;gap:14px;flex-wrap:wrap;margin:15px 0 9px}.panch-legend>span{display:flex;align-items:center;gap:6px;font-size:12px}.panch-calendar .caption{font-size:12px}.panch-festivals{margin:25px 0}.panch-festivals h2{font-size:23px;margin-bottom:14px}.panch-festival{display:flex;align-items:center;gap:15px;border-bottom:1px solid var(--line);width:100%;text-align:left;padding:14px 0;font-size:15px}.panch-festival>span:last-child{margin-left:auto;color:var(--accent)}.panch-festival-date{display:flex;flex-direction:column;min-width:44px;align-items:center;border:1px solid var(--line);padding:4px 8px;border-radius:7px;background:var(--surface)}.panch-festival-date strong{font-size:21px;font-weight:500;color:var(--accent)}.panch-prompt p{margin:14px 0 20px;color:var(--muted)}.panch-day{scroll-margin-top:20px}.panch-day-head{display:flex;justify-content:space-between;align-items:start;gap:12px;padding-bottom:17px;border-bottom:1px solid var(--line)}.panch-day-head .icon-button{flex:none;font-size:24px}.panch-day-head h2{font-size:28px}.panch-day-head p:not(.eyebrow){margin-top:9px;font-size:14px;color:var(--muted)}.panch-day-festival{border-left:3px solid var(--accent);background:var(--tint);padding:12px 15px;margin-top:17px;color:var(--accent);font-size:16px}.panch-location-note{margin:14px 0}.panch-sun-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;margin-bottom:20px}.panch-sun-grid>div{background:var(--surface);padding:16px 12px;display:flex;flex-direction:column;gap:6px}.panch-sun-grid span{font-size:14px;color:var(--muted)}.panch-sun-grid strong{font-size:19px;font-weight:500}.panch-section{margin-bottom:12px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);padding:0 18px 16px}.panch-section:not([open]){padding-bottom:0}.panch-section summary{cursor:pointer;padding:16px 0;font-size:16px;font-weight:500;color:var(--text)}.panch-section summary::marker{color:var(--accent)}.panch-section h3{margin:20px 0 10px;font-size:15px;color:var(--accent)}.panch-section>p{margin:12px 0;font-size:14px}.panch-facts>div{display:grid;grid-template-columns:minmax(95px,1fr) minmax(0,1.6fr);gap:12px;border-top:1px solid var(--line);padding:12px 0}.panch-facts dt{font-size:14px;color:var(--muted)}.panch-facts dd{font-size:15px;overflow-wrap:anywhere}.panch-anga{display:block;margin-bottom:9px}.panch-anga:last-child{margin-bottom:0}.panch-anga strong{font-weight:500}.panch-anga small{display:block;font-size:12px;margin-top:4px}.panch-time-row{display:grid;grid-template-columns:minmax(90px,1fr) minmax(0,1.8fr);gap:12px;padding:12px 0;border-bottom:1px solid var(--line);align-items:start;font-size:14px}.panch-time-row strong{font-weight:500;text-align:right;line-height:1.6;font-variant-numeric:tabular-nums}.panch-time-row small{display:block;font-size:12px;margin-top:4px}.panch-time-list.good .panch-time-row>span,.panch-time-row.good>span{color:var(--accent)}.panch-time-list.avoid .panch-time-row>span,.panch-time-row.avoid>span{color:var(--danger)}.panch-moon-window{padding:12px;background:var(--raised);border-radius:var(--radius)}.panch-source-links{display:flex;align-items:center;flex-wrap:wrap;gap:18px;margin:22px 0;font-size:14px}.panch-footer{margin-top:20px;line-height:1.8}.panch-day .loading{min-height:140px}.panch-day .notice{margin-bottom:20px}
@media(max-width:760px){.panch-layout{grid-template-columns:minmax(0,1fr);gap:15px}.panch-page{max-width:520px;margin:auto}.panch-prompt{display:none}.panch-calendar{padding:12px}.panch-festivals{margin-bottom:18px}.panch-date,.panch-blank{min-height:70px}.panch-day{margin-top:10px}.panch-location{gap:8px}.panch-location label{width:100%}.panch-location select{flex:1}.panch-month-bar h2{font-size:23px}.panch-time-row{grid-template-columns:minmax(80px,1fr) minmax(0,1.8fr)}.nav button{min-width:0;overflow-wrap:anywhere}.nav .dual{max-width:100%}.header>.wordmark{justify-content:center}.header-settings{width:40px;height:40px}.header-right .icon-button{width:40px;height:40px}.header{padding-left:18px;padding-right:18px}}
@media(max-width:360px){.panch-calendar{padding:9px}.panch-date strong{font-size:20px}.panch-date,.panch-blank{min-height:66px}.panch-legend{gap:10px}.panch-day-head h2{font-size:25px}.panch-sun-grid strong{font-size:17px}.panch-section{padding-left:12px;padding-right:12px}.header{gap:8px}}

/* Compact, aligned brand lockup and chart-grounded daily guidance. */
.brand-copy{display:flex;flex-direction:column;align-items:flex-start}.wordmark .brand-copy small{display:block;white-space:nowrap;max-width:none;margin-top:4px;text-wrap:nowrap;line-height:1.3}.daily-guidance{padding:26px 0 0}.daily-guidance>h2{font-size:26px;margin-bottom:8px}.daily-guidance-intro{color:var(--muted);font-size:14px;line-height:1.7;margin-bottom:18px}.daily-action{padding:20px 0;border-bottom:1px solid var(--line)}.daily-action h3{font-family:var(--serif);font-size:22px;color:var(--accent);margin-bottom:8px}.daily-action .action-basis{font-size:14px;line-height:1.6;color:var(--muted);margin-bottom:14px}.action-pair{display:grid;grid-template-columns:1fr 1fr;gap:18px}.action-pair h4{font-size:14px;margin-bottom:7px;color:var(--accent)}.action-pair p{font-size:16px;line-height:1.7}.moon-condition{margin-top:14px;font-size:14px!important}.default-chart-settings .caption{margin-bottom:16px}.default-chart-settings select{width:100%}@media(max-width:480px){.action-pair{grid-template-columns:1fr;gap:14px}}

/* Logo introduction: native accessible dialog, matching all four themes. */
button.wordmark{padding:0;text-align:left;border-radius:8px;min-height:44px}
.about-dialog{width:620px;max-width:calc(100% - 28px);max-height:85vh;max-height:85dvh;padding:0;overflow:auto;overscroll-behavior:contain;border-radius:20px;box-shadow:0 24px 90px #0004}
.about-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:24px;position:sticky;top:0;background:var(--surface);border-bottom:1px solid var(--line);z-index:1}.about-heading h2{font-size:27px;line-height:1.25;outline-offset:4px}.about-heading .eyebrow{font-size:12px}.about-close{font-size:28px;line-height:1;flex:none}.about-body{padding:0 24px 24px}.about-body section{padding:22px 0;border-bottom:1px solid var(--line)}.about-body h3{font-family:var(--serif);font-size:21px;color:var(--accent)}.about-body p{font-size:16px;line-height:1.75;color:var(--text);margin-top:12px}.about-body .dual{display:flex}.about-body .dual small{font-size:16px;line-height:1.75;margin-top:7px}.about-body .about-reference{font-size:13px}.about-facts{margin-top:14px}.about-facts>div{display:grid;grid-template-columns:minmax(100px,1fr) minmax(0,2fr);gap:14px;padding:10px 0}.about-facts dt{font-size:15px;color:var(--accent);font-weight:500}.about-facts dd{font-size:15px;line-height:1.65}.about-body .about-note{font-size:13px;color:var(--muted)}@media(max-width:480px){.about-heading{padding:20px 18px;gap:10px}.about-heading h2{font-size:24px}.about-body{padding:0 18px 22px}.about-facts>div{grid-template-columns:1fr;gap:4px}.about-dialog{max-height:88dvh}}

/* Compact division switch; Match sits beneath the existing Birth sections. */
.birth-chart-switch{flex-wrap:wrap;width:fit-content;max-width:100%;padding:2px;gap:2px;background:transparent;border-bottom:1px solid var(--line);border-radius:0}.birth-chart-switch button{flex:none;min-height:44px;padding:6px 13px;font-size:13px;border-radius:5px}
.match-intro{margin:0 0 20px}.match-intro h3{font:27px var(--serif);color:var(--accent)}.match-intro p{font-size:14px;color:var(--muted);line-height:1.75;margin-top:8px}.match-selectors{display:grid;grid-template-columns:1fr 1fr;gap:12px}.match-selectors .field{min-width:0}.match-selectors select{width:100%;min-width:0}.match-mode{max-width:300px}.match-actions{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin:8px 0 20px}.match-score{border-radius:var(--radius);padding:26px 20px;background:var(--raised);text-align:center;margin:24px 0 20px;border-top:3px solid var(--accent)}.match-score h3{font:24px var(--serif);overflow-wrap:anywhere}.match-score-number{font:64px/1.2 var(--serif);color:var(--accent);margin:10px 0}.match-score-number span{font-size:24px;color:var(--muted)}.match-score p{font-size:14px;line-height:1.7}.match-moons{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.match-moons article{padding:13px;background:var(--bg);border:1px solid var(--line);border-radius:var(--radius);overflow-wrap:anywhere}.match-moons h4{font-size:15px;margin:0 0 7px;color:var(--accent)}.match-moons p{font-size:14px;line-height:1.7}.match-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:14px}.match-table th,.match-table td{padding:13px 6px;text-align:left;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.match-table thead th{color:var(--muted);font-size:13px;font-weight:500}.match-table thead th:first-child{width:30%}.match-table thead th:nth-child(2),.match-table thead th:nth-child(3){width:15%}.match-table thead th:last-child{width:40%}.match-table .guna-button{min-height:44px;text-align:left;padding:0;width:100%;color:var(--accent);font-size:14px;display:flex;align-items:center;gap:6px}.guna-button>span:last-child{font-size:20px;flex:none}.match-table .guna-score{font-size:17px;font-weight:600;color:var(--accent);font-variant-numeric:tabular-nums}.match-table .guna-expanded td{padding:0 0 16px}.guna-detail{background:var(--raised);padding:20px;border-radius:var(--radius)}.guna-detail h4{font:23px var(--serif);margin:0 0 12px;color:var(--accent)}.guna-detail p{font-size:15px;line-height:1.8;margin:14px 0 0}.guna-detail dl>div{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:9px 0;border-bottom:1px solid var(--line)}.guna-detail dt{color:var(--muted);font-weight:400}.guna-detail dd{text-align:right}.guna-rule{font-variant-numeric:tabular-nums}.guna-source{font-size:13px!important}.match-method{margin-top:20px;padding:14px 0;border-top:1px solid var(--line)}.match-method summary{min-height:44px;padding:10px 0;color:var(--accent);font-size:14px;cursor:pointer}.match-method p{font-size:14px;line-height:1.8;margin:10px 0}.match-table .dual small{font-size:12px}.match-note{font-size:13px;color:var(--muted);line-height:1.8;margin-top:18px}@media(max-width:480px){.match-selectors{grid-template-columns:1fr;gap:0}.match-moons{gap:7px}.match-moons article{padding:10px}.guna-detail{padding:15px}.match-table th,.match-table td{padding-left:4px;padding-right:4px}.match-score{padding:22px 14px}.match-score-number{font-size:56px}}

/* Equal Birth tabs and resilient native date/time fields on mobile Safari. */
.birth-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}
#birth-details-form fieldset{min-inline-size:0;width:100%}
#birth-details-form .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
#birth-details-form .field{min-width:0;min-inline-size:0}
#birth-details-form input:not([type=checkbox]),#birth-details-form select{box-sizing:border-box;min-width:0;min-inline-size:0;width:100%;max-width:100%;font-size:16px}
.birth-date-time input{display:block;height:50px;min-height:50px;line-height:normal;-webkit-appearance:none;appearance:none}
.birth-date-time input::-webkit-date-and-time-value{text-align:left;min-height:1.3em}
.birth-date-time input::-webkit-datetime-edit{padding:0;min-width:0}
.birth-time-hint{margin:-7px 0 22px;line-height:1.7}
#birth-name-hint{display:block;margin-top:8px;font-size:13px;line-height:1.65}
.birth-time-notice{margin:20px 0;font-size:14px;line-height:1.7}.birth-time-notice strong{display:block;margin-bottom:6px}.birth-time-notice p{margin:0}
.prediction-intro{margin:4px 0 24px}.prediction-intro h3{font:30px var(--serif);color:var(--accent);margin:8px 0}.prediction-intro>p:last-child{font-size:15px;color:var(--muted);line-height:1.75}
.prediction-character{background:var(--raised);border-left:3px solid var(--accent);border-radius:var(--radius);padding:22px;margin-bottom:6px}
.prediction-character h3,.prediction-section h3,.prediction-report h3{font:25px/1.3 var(--serif);margin-bottom:15px;color:var(--accent)}
.prediction-character p,.prediction-section p,.prediction-report p{font-size:16px;line-height:1.85;margin:12px 0}
.prediction-section{padding:28px 0;border-bottom:1px solid var(--line)}.prediction-section .eyebrow{font-size:12px;margin-top:0}.prediction-section .action-pair{margin-top:20px}.prediction-section .action-pair h4{color:var(--accent);font-size:14px}.prediction-section .action-pair p{margin:7px 0 0}
.prediction-character .prediction-basis,.prediction-section .prediction-basis{font-size:13px;color:var(--muted);line-height:1.7}.prediction-transit{margin-top:20px}.prediction-transit h4{font-size:16px;font-weight:500}
.prediction-report{border:1px solid var(--line);padding:24px;border-radius:var(--radius);margin-top:28px;background:var(--surface)}.prediction-report>.pill{margin:4px 0 18px;white-space:normal}.prediction-report>.button{display:block;max-width:100%;white-space:normal}
.report-brand{display:flex;align-items:center;gap:10px;margin-bottom:22px}.report-brand img{border-radius:10px;flex:none}.report-brand strong{letter-spacing:.17em;font-size:16px;display:block}.report-brand small{display:block;color:var(--muted);font-size:12px;margin-top:4px}.report-preview{border-top:1px solid var(--line);padding-top:24px;margin-top:24px}.report-preview h4{font:27px var(--serif);overflow-wrap:anywhere}.report-preview ol{margin:18px 0;padding-left:22px}.report-preview li{font-size:15px;line-height:1.8;margin:8px 0}.report-preview .caption{font-size:13px;color:var(--muted)}.prediction-method{margin-top:22px}.prediction-method summary{font-size:14px;color:var(--accent);cursor:pointer;padding:12px 0}.prediction-method p{font-size:14px;line-height:1.8;margin:12px 0}
@media(max-width:600px){.birth-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:480px){#birth-details-form .birth-date-time{grid-template-columns:minmax(0,1fr);gap:0}.prediction-character{padding:18px}.prediction-report{padding:18px}}
/* Prediction only: preserve every existing theme and navigation surface. */
.prediction-intro h3{font-size:34px}.period-name{font:25px var(--serif);margin:12px 0}.prediction-domain-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.prediction-domain .action-pair{display:block}.prediction-domain .action-pair>div+div{margin-top:16px}.prediction-checkpoint{border-left:2px solid var(--line);padding:8px 0 8px 18px;margin:20px 0}.prediction-checkpoint strong{font-size:13px;color:var(--accent)}
.report-premium{background:#0b1d3c;color:#f5f0e5;border:1px solid #b49154;padding:30px;box-shadow:0 18px 40px #07142b12;overflow:hidden}.report-premium h3{color:#e8c981;font-size:30px}.report-premium .eyebrow,.report-premium .report-brand small{color:#c9b98f}.report-premium .report-brand strong{color:#e8c981}.report-premium>p{color:#ece8dd}.report-categories{list-style:none;padding:20px 0;margin:20px 0;display:grid;grid-template-columns:1fr 1fr;gap:15px 20px;border-block:1px solid #c6a76238}.report-categories li{display:flex;align-items:flex-start;gap:9px;font:13px/1.6 var(--sans);min-width:0}.report-categories svg{color:#d9b675;flex:none;margin-top:2px}.report-price{font:28px var(--serif);color:#f3d59a;margin:23px 0 20px}.report-price span{font:12px var(--sans);display:block;color:#c9c1b0;margin-top:8px}.report-premium .report-cta{background:#e2c286;color:#101e38;border:1px solid #e2c286;min-height:48px;font-weight:600;justify-content:center;text-align:center;margin:12px 0;text-decoration:none;max-width:100%;display:flex;white-space:normal}.report-premium .report-cta:disabled{background:#b8a482;opacity:.72;cursor:not-allowed}.report-premium .report-caption{font:12px/1.7 var(--sans);color:#c9c2b4;margin:12px 0}.report-download{color:#ead198;font:14px var(--sans);padding:12px 0;display:block}.report-links{display:flex;flex-direction:column}.report-progress{list-style:none;padding:0;margin:24px 0}.report-progress li{font:13px/1.6 var(--sans);padding:10px 0 10px 24px;position:relative;color:#b4b9c4}.report-progress li:before{content:'';position:absolute;left:0;top:16px;width:7px;height:7px;border-radius:100%;border:1px solid #b4b9c4}.report-progress .done{color:#f1e5cb}.report-progress .done:before{background:#d4b779;border-color:#d4b779}.report-progress .current{color:#ecd09b}.report-progress .current:before{background:#ecd09b;box-shadow:0 0 0 4px #d4b77922}.report-error{border:1px solid #dcb295;padding:12px;border-radius:8px}.report-admin{margin-top:40px}.report-admin fieldset{border:0;padding:0;margin:22px 0}.report-admin details{margin:24px 0}.report-admin summary{cursor:pointer;font-size:14px}.report-enable{display:flex;align-items:center;gap:10px;margin:20px 0}.report-enable input{width:18px;height:18px}.report-purchase{padding:22px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.report-purchase p{font-size:13px;line-height:1.65;margin:10px 0}.report-admin-actions{display:flex;flex-wrap:wrap;gap:16px}.report-admin .report-library input{max-width:100%;margin:14px 0}.report-admin .form-grid>*{min-width:0}.report-admin input{min-width:0;max-width:100%}
@media(max-width:640px){.prediction-domain-grid{grid-template-columns:1fr;gap:0}.report-premium{padding:22px 18px}.report-premium h3{font-size:27px}.report-categories{gap:15px 12px}.report-categories li{font-size:12px}.prediction-intro h3{font-size:30px}.report-admin .form-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.report-premium *{animation:none!important}}
.daily-edition{font-size:12px;line-height:1.7;color:var(--muted);margin:-10px 0 19px}.daily-edition>span{display:block}.daily-story+.daily-story{margin-top:16px}.daily-action .daily-interpretation{font-size:16px;line-height:1.75;margin:0 0 18px}.daily-slow{padding:26px 0 8px;border-bottom:1px solid var(--line)}.daily-slow>h2,.daily-next>h2{font-size:26px;line-height:1.25;margin:8px 0 20px}.daily-slow article{padding:0 0 23px}.daily-slow article+article{border-top:1px solid var(--line);padding-top:23px}.daily-slow h3{font-family:var(--serif);color:var(--accent);font-size:22px;margin-bottom:10px}.daily-slow p,.daily-next p{font-size:16px;line-height:1.75}.daily-next{padding:22px;margin-top:24px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}.daily-next p+p{margin-top:12px}.daily-updated>span{min-width:0}.daily-updated small{display:block;line-height:1.6;margin-top:6px;max-width:360px}.daily-updated>.text-button{flex-shrink:0}
.settings-page>.settings-section{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:22px;margin:0 0 18px}.settings-page>.settings-section>h2{font-size:23px;margin-bottom:18px}.settings-card-heading{display:flex;align-items:flex-start;gap:12px;margin-bottom:12px}.settings-card-heading>svg{width:24px;height:24px;flex-shrink:0;color:var(--accent);margin-top:4px}.settings-card-heading h2{font-size:23px;line-height:1.3;margin:0}.settings-card-heading .caption{margin:5px 0 0}.settings-page .setting-row{gap:18px;padding:16px 0;border-bottom:1px solid var(--line)}.settings-page .setting-row:last-child{border-bottom:0;padding-bottom:2px}.settings-page .setting-row>div{min-width:0}.settings-page .setting-row label{font-size:15px;line-height:1.5}.settings-page .setting-row p{font-size:13px;line-height:1.6;margin-top:4px}.settings-page .toggle{flex-shrink:0}.settings-page .theme-grid{margin-bottom:22px}.settings-page .field:last-child{margin-bottom:0}.settings-page .settings-save{border-radius:14px}.settings-page .form-grid>*{min-width:0}@media(max-width:480px){.settings-page>.settings-section{padding:20px 17px}.settings-page .theme-option{font-size:13px}.settings-page .settings-save{flex-wrap:wrap}.settings-page .save-actions{width:100%;display:flex}.settings-page .save-actions .button{flex:1;justify-content:center}}

/* Chart structure remains visible under the site's strict CSP. */
:root{--chart-line:#74634e}[data-theme="royal"]{--chart-line:#b5a482}[data-theme="observatory"]{--chart-line:#8faaa7}[data-theme="lotus"]{--chart-line:#78617d}
.chart{border-color:var(--chart-line);border-width:1.5px}.chart .cell{border-color:var(--chart-line);border-width:1.5px}.north-house polygon{stroke:var(--chart-line);stroke-width:1.6}
.chart-row-1{grid-row:1}.chart-row-2{grid-row:2}.chart-row-3{grid-row:3}.chart-row-4{grid-row:4}.chart-col-1{grid-column:1}.chart-col-2{grid-column:2}.chart-col-3{grid-column:3}.chart-col-4{grid-column:4}
.gocharam-explanation{max-width:760px;color:var(--muted);line-height:1.7;margin:-10px 0 26px}.daily-hero .moon-condition{margin:10px 0 22px;line-height:1.7}.account-onboarding h1{margin-bottom:16px}.account-onboarding form{margin-top:24px}.chart-export-actions{margin:16px 0 24px}.chart-export-actions .button{max-width:100%;white-space:normal}

html[data-theme] .chart{border-color:var(--chart-line)}

.chart .chart-center{border-color:var(--chart-line);border-width:1.5px}.north-house polygon{stroke-opacity:1}.chart .cell.edge-r{border-right-width:0}.chart .cell.edge-b{border-bottom-width:0}

/* Ask interface; inherits all four existing themes. */
.nav{grid-template-columns:repeat(6,minmax(0,1fr))}
.ask-page{max-width:640px;overflow-wrap:anywhere}.ask-page .panel{margin:22px 0}.ask-status strong{display:block;font-weight:600}.ask-status p{margin:8px 0 0}.ask-profile{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:0 18px}.ask-profile .caption{grid-column:1/-1}.ask-profile .field{min-width:0}.ask-profile select{width:100%;min-width:0}.ask-compose h2{font-size:24px;margin-bottom:18px}.ask-starters{display:grid;gap:10px;margin-bottom:24px}.ask-starter{display:flex;justify-content:space-between;align-items:center;gap:18px;text-align:left;width:100%;min-height:48px;border:1px solid var(--line);border-radius:12px;background:var(--tint);padding:13px 15px;color:var(--accent);font:inherit;font-size:14px;line-height:1.6}.ask-starter:not(:disabled):hover{background:var(--raised)}.ask-starter span{flex:none}.ask-starter:disabled{opacity:.65;cursor:default}.ask-compose label{display:block;font-size:14px;margin-bottom:10px}.ask-compose textarea{display:block;width:100%;resize:vertical;min-height:128px;background:var(--bg);color:var(--text);border:1px solid var(--line);border-radius:12px;padding:14px;font:inherit;font-size:16px;line-height:1.6}.ask-compose-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0}.ask-compose .button:disabled{opacity:.6;cursor:not-allowed}.ask-intro p{margin:14px 0 20px}.ask-free{text-align:center;padding:4px 0 24px;color:var(--muted);font-size:14px}.ask-free .text-button{min-height:44px}.ask-page .caption{line-height:1.7}
@media(max-width:760px){.nav{grid-template-columns:repeat(6,minmax(0,1fr))}.nav button{font-size:11px}.nav .dual small{font-size:10px}.ask-profile{grid-template-columns:minmax(0,1fr)}.ask-compose-footer .button{font-size:13px}.ask-page .page-head{margin-bottom:20px}}
