/* Shambhala SO — clear charts, luminous teal identity, touch-first controls. */
:root{--so-ink:#123d45;--so-teal:#086c70;--so-gold:#b78025;--so-line:#d6e5e5;color:#183841;background:#f0f6f6;font-family:"Noto Sans Devanagari",system-ui,-apple-system,"Segoe UI",sans-serif}body{background:linear-gradient(135deg,#edf8f6 0,#f4f5fa 50%,#fff9ed 100%);min-height:100vh}body>header.shambhala-header{background:linear-gradient(112deg,#072f38,#07565d 70%,#106d69);border-top:0;border-bottom:1px solid #287573;padding:24px max(24px,calc((100vw - 1280px)/2));box-shadow:0 8px 30px #073f4610}.shambhala-mark{flex:none;width:64px;height:64px;border-radius:22px;box-shadow:0 0 0 1px #f3d49a44,0 6px 22px #001f2744}.brand{gap:16px}.brand .brand-eyebrow{font-size:12px;letter-spacing:.18em;color:#f3d49a;margin:0 0 2px;font-weight:650}.brand h1{font-size:32px;line-height:1.4;letter-spacing:0}.brand h1 span{font-size:.85em;color:#f3d49a;font-weight:600}.brand p{color:#d1eae7;margin-top:3px;font-size:14px}.shambhala-header .method{color:#f3d49a;line-height:1.8;font-weight:600}.shambhala-header .method span{color:#d1eae7;font-weight:400}.app-nav{background:#ffffffed;backdrop-filter:blur(14px);border-color:var(--so-line);box-shadow:0 4px 18px #123d4508}.app-nav a{color:#31565f;border-radius:12px}.app-nav a:hover,.app-nav a[aria-current]{background:#075b61;color:white}.app-nav a[hidden]{display:none!important}.section-picker{display:none}main{max-width:1280px;padding-top:24px}.input-panel,.gochar-section,.panchang-section,.prashna-section,.all-vargas-section{border:1px solid var(--so-line);border-radius:20px;box-shadow:0 8px 28px #103f4807;background:#fff;padding:26px;margin-bottom:26px}.gochar-section{border-top:4px solid #098279}.prashna-section{border-top:4px solid #8a67a9}.panchang-section{border-top:4px solid #dcae58}.all-vargas-section{border-top:4px solid #3c7aaa}.section-title h2{color:var(--so-ink);font-size:22px}.section-number{border-radius:8px;background:#e3f3ee;color:#086b61;padding:6px 10px}.section-aside{color:#526b74}.saved-charts{padding:0;border:1px solid #c9e3de;border-radius:14px;background:#f2faf7;margin-bottom:24px}.saved-charts>summary{padding:14px 18px;color:#14685e;min-height:52px}.saved-charts>summary>span:first-child{font-size:16px}.saved-hint{float:right;font-size:14px;font-weight:400;color:#456e67}.saved-inner{padding:0 18px 18px}.saved-inner>p:first-child{margin-top:0}.saved-charts[open]>summary{border-bottom:1px solid #d9eae5;margin-bottom:14px}input,select,textarea{border-radius:11px;border-color:#b9ced1;color:#163f47;background:#fcfefe;min-height:50px}input:focus,select:focus,textarea:focus{outline:3px solid #249eaa66;outline-offset:2px;border-color:#0b747b}button{border-radius:11px;background:#075d65;color:white;min-height:48px;transition:background .15s ease}button:hover{background:#08464e}.secondary{background:#e8f2f3;color:#22555d}.secondary:hover{background:#d4e9e8}#calculate{background:linear-gradient(110deg,#086d74,#07525f);color:white;border-radius:12px;box-shadow:0 5px 16px #08717922}#calculate:hover{background:#084c58}.small,.table-note{color:#526b74}details summary{color:#2c5761}.chart-card{border-color:#d3e2e5;border-radius:16px;box-shadow:0 3px 12px #153e4605}.chart-expand{background:#e4f3ee;color:#17695c;border-radius:10px}.personal-gochar{background:linear-gradient(110deg,#eef9f4,#edf5fa);border-color:#c6e1dc;border-radius:14px}.transit-tabs,.dasha-switch,.chart-switch{background:#e6eff2;border-radius:14px}.transit-tabs button,.dasha-switch button,.chart-switch button{border-radius:10px}.transit-tabs button[aria-pressed=true],.dasha-switch button[aria-pressed=true],.chart-switch button[aria-pressed=true]{background:#086e73;color:white}.gochar-overall{border-radius:14px}.gochar-planet-card{border-radius:16px}.gochar-badge{border-radius:8px}.bav-result{border-radius:12px}.gochar-period{border-radius:12px}.table-scroll{border-color:#d4e3e5;border-radius:12px}th{background:#e8f2f4;color:#244e5a}td{border-color:#e3edef}#av-table .total td,#av-table .total td:first-child{background:#085962}.lagna-card,.pan-fact,.sampat-card,.class-card,.karaka-audit-card{border-radius:14px}.method-notes,.planet-details{background:#f8fafb;border-radius:12px}.result-context{border-left:4px solid #c7a35b;padding:12px 18px;background:#fff;border-radius:0 12px 12px 0}.table-scroll:focus-visible,button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #238c9d;outline-offset:3px}footer{border-top:1px solid #d4e4e4;margin-top:36px;background:#e9f2f1;padding:28px 20px;text-align:center}.footer-brand{display:flex;justify-content:center;align-items:center;gap:10px;color:#124b52}.footer-brand img{border-radius:10px}.creator-credit{font-size:13px!important;color:#466369!important;letter-spacing:.02em;margin:10px 0 20px!important}.creator-credit strong{font-weight:600}footer>p{font-size:13px;line-height:1.8}.section-picker select{margin:0}
@media(max-width:800px){html{scroll-padding-top:144px}.shambhala-header .method{display:none}body>header.shambhala-header{padding:20px 16px}.shambhala-mark{width:56px;height:56px;border-radius:19px}.brand{gap:13px}.brand h1{font-size:28px}.brand .brand-eyebrow{font-size:11px}.brand p{font-size:14px}.app-nav{padding:8px 12px;gap:5px;box-shadow:none}.app-nav a{font-size:14px;min-height:44px;padding:8px 13px}.app-nav a:not([href="#birth-heading"]):not([href="#gochar-heading"]):not([href="#charts-heading"]):not([href="#prashna-heading"]){display:none}.section-picker{position:sticky;top:var(--mobile-nav-height,61px);z-index:19;display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:center;padding:8px 14px 10px;background:#fff;border-bottom:1px solid #d5e4e5}.section-picker label{font-size:14px;color:#47616b;white-space:nowrap}.section-picker select{min-height:44px;padding:8px 10px;font-size:16px;background:#f1f7f7;border-radius:10px}main{padding:18px 12px 26px}.input-panel,.gochar-section,.panchang-section,.prashna-section,.all-vargas-section{border-radius:17px;padding:18px 13px;margin-top:18px;margin-bottom:20px}.input-panel{margin-top:0}.section-title{margin-bottom:16px}.section-title h2{font-size:21px}.section-aside{font-size:14px;width:100%;margin-left:0}.fields{grid-template-columns:minmax(0,1fr);gap:16px}.fields label{font-size:16px}.saved-charts>summary{padding:12px}.saved-hint{display:block;float:none;margin-left:20px;margin-top:2px}.saved-inner{padding:0 12px 14px}.saved-inner .small{font-size:14px}.form-bottom{display:block}.form-bottom #calculate{width:100%;min-height:54px;font-size:17px}.form-bottom #engine-status{margin:12px 0 0}.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.settings-grid label{font-size:14px}.settings-grid input,.settings-grid select{padding:10px 7px}.gochar-controls{grid-template-columns:minmax(0,1fr);gap:14px}.gochar-controls label{font-size:16px}.gochar-controls button{width:100%}.gochar-planet-grid{grid-template-columns:minmax(0,1fr)}.gochar-card-heading h3{font-size:20px}.gochar-position{font-size:16px}.gochar-reason{font-size:15px}.gochar-period-top{gap:8px}.timeline-controls{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:10px}.timeline-controls label{min-width:0}.timeline-controls select{font-size:16px;width:100%}.charts-pair .chart-card{padding:12px 6px}.all-varga-layout .chart-title h3{font-size:18px}.all-varga-data td,.all-varga-data th{padding:12px 6px}.table-scroll{scrollbar-width:thin}.table-scroll table{line-height:1.7}.table-scroll td,.table-scroll th{padding-top:13px;padding-bottom:13px}.pr-outcome{border-radius:14px}#chart-dialog{padding:14px;border-radius:18px}footer{margin-top:20px;padding-bottom:calc(24px + env(safe-area-inset-bottom))}}
@media(max-width:360px){.app-nav a{padding:8px 10px;font-size:14px}.brand h1{font-size:25px}.section-picker{padding-left:10px;padding-right:10px;gap:6px}.section-picker label{font-size:13px}.settings-grid{grid-template-columns:1fr}.timeline-controls{grid-template-columns:1fr}}

/* Familiar app workspace: one feature at a time, without changing calculations. */
[hidden]{display:none!important}.workspace-nav{position:sticky;top:0;z-index:30;display:flex;gap:6px;overflow-x:auto;padding:9px max(14px,calc((100vw - 1280px)/2));background:#fffdf9f5;border-bottom:1px solid #d8e5e4;box-shadow:0 4px 16px #123d450d;scrollbar-width:thin;overscroll-behavior-x:contain}.workspace-nav button{flex:none;min-height:44px;padding:8px 15px;border:0;border-radius:22px;background:transparent;color:#385a62;font-size:14px;font-weight:700;white-space:nowrap;box-shadow:none}.workspace-nav button:hover{background:#e7f4f1;color:#075d65}.workspace-nav button.is-active,.workspace-nav button[aria-selected=true]{background:#087079;color:#fff}.workspace-nav button:disabled{color:#9babad;background:transparent;cursor:not-allowed}.workspace-nav button:focus-visible{outline:3px solid #dfb457;outline-offset:2px}#results{min-width:0}#results>.result-context{margin-top:0}.saved-charts{padding:16px 18px!important;background:linear-gradient(115deg,#f1faf7,#fffaf0)!important}.saved-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.saved-heading h3{margin:0!important;color:#0b5e60;font-size:19px}.saved-heading p{margin:2px 0 0;color:#60757a;font-size:14px}.saved-count{flex:none;padding:5px 9px;border-radius:20px;background:#fff;color:#78602e;border:1px solid #e9d9b8;font-size:12px;font-weight:700}.saved-open-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:end;gap:9px}.saved-open-row label{font-size:14px;font-weight:650}.saved-open-row select{margin-top:5px}.saved-open-row button{min-width:78px;padding:10px 14px}.save-before-action{margin-top:20px;padding:16px;border:1px solid #d6e5e5;border-radius:14px;background:#f8fbfb}.save-before-action>label{display:block;font-weight:650}.save-before-action>label span{margin-left:4px;color:#718288;font-size:13px;font-weight:400}.save-before-action input{display:block;width:100%;margin-top:6px}.save-before-action .saved-actions{margin-bottom:8px}.save-before-action #saved-new{background:#b67b22}.save-before-action #saved-new:hover{background:#966217}#saved-status:empty{display:none}#saved-status{margin:10px 0 0}.charts-pair .north-chart,.charts-pair svg{display:block;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important}.charts-comparison{max-width:100%}

@media(max-width:800px){html{scroll-padding-top:66px}body>header.shambhala-header{padding:12px 14px}.shambhala-mark{width:46px;height:46px;border-radius:15px}.brand{gap:10px}.brand h1{font-size:23px;line-height:1.2}.brand p{font-size:12px;margin-top:2px}.brand .brand-eyebrow{font-size:9px}.workspace-nav{padding:7px 10px;gap:4px}.workspace-nav button{min-height:42px;padding:7px 13px;font-size:13px}.input-panel,.gochar-section,.panchang-section,.prashna-section,.all-vargas-section{margin-top:0;padding:16px 12px}.saved-charts{padding:13px!important;margin-bottom:18px!important}.saved-heading h3{font-size:18px}.saved-open-row{grid-template-columns:minmax(0,1fr) auto}.saved-open-row #saved-delete{grid-column:2}.saved-open-row #saved-open{grid-column:2;grid-row:1}.saved-open-row label{grid-row:1 / span 2}.saved-open-row button{min-width:70px}.save-before-action{padding:13px;margin-top:18px}.save-before-action .saved-actions{display:grid;grid-template-columns:1fr 1fr}.save-before-action .saved-actions button{min-width:0;font-size:14px;padding:9px 7px}.charts-comparison{overflow:visible!important;padding:0!important}.charts-pair{display:block!important;width:100%!important;min-width:0!important}.charts-pair .chart-card{display:none!important;width:100%!important;max-width:100%!important;margin:0!important;padding:10px 4px!important}.charts-pair .chart-card.is-active{display:block!important}.charts-pair .chart-scroll{overflow:visible!important;width:100%!important}.charts-section{min-width:0;overflow:hidden}.charts-section .chart-title{padding:0 5px}.charts-section .table-note{font-size:13px;line-height:1.65}.chart-switch{position:sticky;top:57px;z-index:4}.chart-switch button{font-size:15px}.charts-section .planet-details table{min-width:620px}.result-context{font-size:14px;padding:10px 12px}.section-title .section-number{display:none}main{padding-top:14px}}

@media(max-width:390px){.saved-heading p{display:none}.saved-count{font-size:11px}.saved-open-row button{min-width:64px;padding:8px 9px}.save-before-action .saved-actions{grid-template-columns:1fr}.chart-title h3{font-size:14px!important}.chart-expand{font-size:12px!important;padding:7px 8px!important}}
@media(prefers-reduced-motion:reduce){button{transition:none}}
@media(min-width:801px){.charts-pair .chalit-card{grid-column:1/-1;width:100%;max-width:700px;justify-self:center}}
.chalit-card{min-width:0}.chalit-card .table-scroll{max-width:100%;overflow-x:auto}
@media(max-width:800px){.chart-switch button{flex:1;min-width:0;font-size:14px;min-height:46px}}
