body{font-size:17px}
nav{font-size:14px}.eyebrow{font-size:12px;letter-spacing:2px}.hero-copy{font-size:17px}.chips span{font-size:12px}
.input-panel .section-head h2{font-size:24px}label,.age-heading label{font-size:14px}.optional{font-size:12px}input,select{font-size:16px;min-height:48px}.form-row>div{min-width:0}.input-panel summary,.verification summary{font-size:15px}
.calculate{font-size:16px}.text-button{font-size:14px}.status,.privacy{font-size:12px}.error{font-size:15px}.field-note,.chart-caption{font-size:14px;line-height:1.8}.outline{font-size:14px;padding:9px 14px}.theme-switch button{font-size:13px;padding:8px 12px}
.empty-state p:not(.eyebrow){font-size:16px}.result-heading p:not(.eyebrow){font-size:14px}.stat span{font-size:13px}.stat strong{font-size:21px}.tabs button{font-size:16px}
.reading p,.period-box p,.method p{font-size:16px}.reading .role-title{font-size:14px}.reading .practice,.reading .watch{font-size:15px}.reading .reading-foot,.method .method-note,.period-box .date-range{font-size:13px}.period-box .field-note{font-size:14px}.method h3{font-size:18px}
table{font-size:16px;line-height:1.7;font-variant-numeric:tabular-nums}th{font-size:15px;font-weight:600;padding:14px;line-height:1.6}td{padding:16px 14px;vertical-align:middle}table .optional{font-size:14px;line-height:1.6}.tag{font-size:13px;padding:3px 7px}
#life-degree-table td:nth-child(4),#karaka-table td:nth-child(6){white-space:normal;min-width:165px;max-width:240px}#life-degree-table td:nth-child(5),#karaka-table td:nth-child(7){text-align:center;font-weight:600}
.life-legend-button{font-size:14px;padding:8px 10px}.life-value>span{font-size:14px}.life-value strong{font-size:26px}.life-value small{font-size:13px}.life-value{padding:13px}.life-values{gap:10px}.planet-buttons button{font-size:13px}.planet-buttons small{font-size:12px}.planet-buttons .planet-symbol{font-size:24px}
.age-labels{font-size:13px}.timeline{height:65px}.timeline button{font-size:12px}.timeline button span{font-size:23px}.verification{font-size:15px}#verify-result,#calculation-meta{font-size:14px}.references{font-size:13px}footer,footer small{font-size:12px}
@media(max-width:780px){nav a{font-size:13px}.hero-copy{font-size:16px}.chips span{font-size:12px}.theme-switch button{font-size:12px;padding:8px 11px}.stat span{font-size:12px}.stat strong{font-size:19px}}
@media(max-width:480px){.stat span{font-size:11px}.stat strong{font-size:17px}.stat{padding:12px 9px}.tabs{gap:18px}.tabs button{font-size:15px}.life-values{grid-template-columns:repeat(2,minmax(0,1fr))}.life-value>span{font-size:14px}.life-value strong{font-size:25px}.life-value small{font-size:13px}.life-legend-button{font-size:13px}.planet-buttons button{font-size:11px}.planet-buttons small{font-size:11px}.chart-caption{font-size:14px}.timeline button{font-size:11px}.outline{font-size:13px;padding:8px 11px}}
@media print{body{font-size:13px}table{font-size:13px;white-space:normal}th{font-size:12px;padding:10px}td{padding:10px}table .optional{font-size:12px}.tag{font-size:11px}#life-degree-table td:nth-child(4),#karaka-table td:nth-child(6){min-width:120px}.field-note,.chart-caption{font-size:12px}.life-values{grid-template-columns:repeat(3,1fr)}.life-value{padding:8px}.life-value>span{font-size:12px}.life-value strong{font-size:20px}.life-value small{font-size:11px}.stat strong{font-size:18px}.stat span{font-size:11px}}

.birth-fields{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:start}
.birth-date-segments{display:flex;align-items:center;justify-content:center;gap:2px;height:48px;min-height:48px;padding:0 5px;border:1px solid var(--border);border-radius:7px;background:var(--surface);color:var(--navy)}.birth-date-segments input{width:1.7em;flex:0 0 1.7em;min-width:0;height:44px;min-height:44px;margin:0;padding:6px 1px;border:0;border-radius:4px;background:transparent;color:var(--navy);text-align:center;font-size:16px;font-weight:400;line-height:1.5;font-variant-numeric:tabular-nums}.birth-date-segments #birth-year{width:3em;flex-basis:3em}.birth-date-segments span{font-size:16px;font-weight:400}.birth-date-segments:focus-within{outline:2px solid var(--gold);outline-offset:2px}.birth-date-segments input:focus{outline:0;background:var(--surface-soft)}
.license-info{margin:0 0 28px;color:var(--muted);font-size:13px}.license-info summary{cursor:pointer}.license-info a{display:inline-block;margin-top:10px;color:var(--navy)}@media print{.license-info{display:none}}
.dasha-periods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}.dasha-period{border:1px solid var(--border);border-left:6px solid var(--dasha-color);border-radius:8px;padding:14px 16px;background:var(--surface)}.dasha-period p{margin:0 0 6px;font-size:14px}.dasha-period strong{display:block;font-size:23px;margin-bottom:10px}.dasha-strength{display:inline-flex;align-items:center;gap:7px;font-size:13px;line-height:1.6;white-space:normal;color:var(--navy)}.dasha-strength:before{content:'';width:10px;height:10px;border-radius:50%;background:var(--dasha-color);flex:none}.good{--dasha-color:#239951}.poor{--dasha-color:#dd4545}.neutral,.unavailable{--dasha-color:#89929c}.dasha-legend{display:flex;gap:10px 18px;flex-wrap:wrap;margin:8px 0 20px}.timeline button{position:relative;padding-bottom:6px}.timeline button .dasha-marker{position:absolute;bottom:0;left:0;right:0;height:6px;background:var(--dasha-color);font-size:0}.timeline button.active{box-shadow:inset 0 3px 0 var(--navy)}@media(max-width:480px){.dasha-periods{gap:8px}.dasha-period{padding:12px 10px}.dasha-period strong{font-size:20px}.dasha-period .dasha-strength{font-size:12px}}
.birth-fields label{min-height:25px;margin-top:16px}
.birth-fields #date,.birth-clock{height:48px;min-height:48px;border-radius:7px;font-size:16px}
.birth-fields #date{min-width:0;padding:9px 8px;font-variant-numeric:tabular-nums}
.birth-fields .field-note{margin:7px 0 0;font-size:12px;line-height:1.6}
.birth-clock{display:flex;align-items:center;justify-content:center;gap:3px;padding:0 6px;border:1px solid var(--border);background:var(--surface);color:var(--navy)}
.birth-clock input{width:2em;flex:0 0 2em;min-width:0;min-height:44px;height:44px;border:0;background:transparent;padding:6px 2px;text-align:center;font-size:16px;line-height:1.5;font-weight:400;font-variant-numeric:tabular-nums;margin:0;border-radius:4px}.birth-clock span{font-size:16px;font-weight:400}.birth-clock:focus-within{outline:2px solid var(--gold);outline-offset:2px}.birth-clock input:focus{outline:0;background:var(--surface-soft)}

.dasha-detail{padding:20px 0;border-top:1px solid var(--border)}.dasha-detail h4,.dasha-synthesis h4{font-size:21px;line-height:1.5;margin:0 0 12px;color:var(--navy)}.dasha-detail p,.dasha-synthesis p{font-size:17px;line-height:1.9;margin:12px 0}.dasha-detail .dasha-position{font-size:15px;color:var(--navy);padding:10px 12px;background:var(--surface-soft);border-radius:6px}.dasha-synthesis{background:var(--surface-soft);border-radius:8px;padding:20px;margin-top:8px}@media(max-width:480px){.dasha-detail p,.dasha-synthesis p{font-size:16px}.dasha-synthesis{padding:16px}.dasha-detail h4,.dasha-synthesis h4{font-size:19px}}

.metric-controls{display:flex;gap:16px;margin:18px 0;flex-wrap:wrap}.metric-controls>div{width:100%;max-width:420px}.metric-graph{overflow-x:auto}.metric-graph svg{min-width:640px}.metric-values{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:12px;margin-top:16px}.metric-values>div{padding:12px;background:var(--surface-soft);border-radius:7px}.metric-values span,.metric-values strong{display:block}.metric-values strong{font-size:20px;color:var(--navy);margin-top:5px;font-variant-numeric:tabular-nums}

.av-graph{overflow-x:auto;margin-top:24px}.av-graph svg{min-width:700px}.av-score{display:block;text-align:center;font-size:32px;line-height:1.3;color:var(--navy);margin:14px 0}.av-south .south-center strong{font-size:22px}.av-south .south-center span{font-size:20px}

#av-table .av-house{display:block;margin-top:4px;font-size:16px;color:var(--navy);font-weight:400}#av-table strong{font-size:22px}

.dasha-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:20px 0}.dasha-controls label{margin:0}.dasha-controls select{width:auto;min-width:85px}.dasha-comparison{margin:18px 0 12px}.dasha-track-row{margin:0 0 16px}.dasha-track-row h4{font-size:14px;font-weight:500;margin:0 0 7px}.dasha-track{height:58px;position:relative;background:var(--soft);border-radius:6px;overflow:hidden}.dasha-segment{position:absolute;top:0;height:100%;min-width:0;padding:4px 0 8px;border:0;border-right:1px solid var(--paper);color:white;font-size:12px;overflow:hidden;line-height:1.4}.dasha-segment>span:not(.dasha-marker){display:block;font:22px Georgia,serif}.dasha-segment.active{box-shadow:inset 0 0 0 2px var(--navy);filter:brightness(1.1)}.dasha-segment:focus-visible{outline:2px solid var(--navy);outline-offset:-3px;z-index:2}.dasha-segment .dasha-marker{position:absolute;bottom:0;left:0;right:0;height:6px;background:var(--dasha-color)}.dasha-cursor{position:absolute;top:0;bottom:0;border-left:2px solid var(--navy);pointer-events:none;z-index:3;transform:translateX(-1px)}.dasha-axis{display:flex;justify-content:space-between;font-size:12px}.dasha-periods{grid-template-columns:repeat(3,minmax(0,1fr))}.dasha-period strong{font-size:20px}@media(max-width:600px){.dasha-periods{grid-template-columns:1fr}.dasha-period{padding:12px 14px}.dasha-controls{gap:8px}.dasha-controls .outline{flex:1}.dasha-axis{font-size:11px}.dasha-segment{font-size:10px}.dasha-segment>span:not(.dasha-marker){font-size:20px}}

.dasha-window-dates{font-size:13px;margin:8px 0 0}

.precise-age{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:10px 0 18px}.precise-age label{margin:0;flex:1;min-width:65px;max-width:100px}.precise-age input{width:100%}.precise-age button{min-height:44px}.dasha-date-range{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0 20px;padding:16px;border:1px solid var(--border);border-radius:10px}.dasha-date-range label{margin:0 0 6px}.dasha-date-range .error{grid-column:1/-1;margin:0}#dasha-age-labels span{text-align:center}#dasha-age-labels{gap:8px;flex-wrap:wrap}@media(max-width:480px){.precise-age{gap:7px}.precise-age .outline{padding:7px;font-size:12px}.precise-age label{min-width:45px}.dasha-date-range{padding:12px;gap:8px}.dasha-date-range button{padding:10px;font-size:13px}.age-heading output{font-size:20px}}

.birth-date-segments .date-year{width:3em;flex-basis:3em}

.planet-mark{display:inline-flex;align-items:center;gap:3px;white-space:nowrap}.shadbala-highlight{filter:drop-shadow(0 0 3px #d7b86955)}.shadbala-star{display:inline-block!important;color:var(--gold);font:14px Georgia,serif!important;line-height:1!important}.planet-symbol .shadbala-star,.reading-symbol .shadbala-star{font-size:16px!important}.shadbala-star-svg{fill:var(--gold)!important;font-size:17px!important}.dasha-segment .shadbala-star{color:#ffe6a0;font-size:12px!important}

:root{--chart-planet-name:#285d99;--chart-nakshatra-name:#806022}:root[data-theme="dark"]{--chart-planet-name:#98c6ff;--chart-nakshatra-name:#e6c681}.chart-planet-name{color:var(--chart-planet-name);font-weight:600}.chart-nakshatra-name{color:var(--chart-nakshatra-name);font-weight:600}@media print{.chart-planet-name{color:#285d99}.chart-nakshatra-name{color:#806022}}

#period-reading .chart-planet-name,#period-reading .chart-nakshatra-name{font-weight:750}#period-reading .dasha-position .chart-nakshatra-name{display:inline-block;padding:2px 7px;border:1px solid currentColor;border-radius:5px}
