.panchanga-section{--pc-line:#526258;--pc-muted:#c0c9bf;--pc-accent:#efb477;color:#f4f1e8;scroll-margin-top:6rem}
.panchanga-section .panchanga-heading{display:flex;justify-content:space-between;align-items:end;gap:1rem;flex-wrap:wrap;margin-bottom:1.5rem}
.panchanga-section .panchanga-heading h2{margin-bottom:0}
.panchanga-section .pc-beginner{max-width:76ch;margin:0 0 1.5rem;line-height:1.8;color:#dce6de}
.panchanga-section .pc-intro{font-size:1.05rem;margin:0 0 1rem}
.panchanga-section .pc-beginner h3{font-size:1rem;color:#edce9c;margin:.6rem 0}
.panchanga-section .pc-beginner ol{margin:.4rem 0;padding-left:1.5rem;font-size:.94rem}
.panchanga-section .pc-beginner li{padding-left:.25rem;margin:.25rem 0}
.panchanga-section .pc-beginner li::marker{color:#d8b777;font-weight:650}
.panchanga-section .pc-element-details{border:1px solid var(--pc-line);border-radius:1rem;padding:1rem 1.2rem;margin-top:1.5rem;background:#14261e}
.panchanga-section .pc-element-details>summary{min-height:44px;cursor:pointer;align-content:center;font-weight:600;color:#f0cea0;line-height:1.6;padding:.5rem 0}
.panchanga-section .pc-element-details[open]>summary{margin-bottom:.8rem}
.panchanga-section .pc-term-help{color:#d4ded4;font-size:.9rem;line-height:1.7;margin:0 0 .8rem}
.panchanga-section .pc-controls{display:flex;flex-wrap:wrap;gap:1rem;align-items:end;padding:1.2rem;border:1px solid var(--pc-line);border-radius:1rem;background:#202e26}
.panchanga-section .pc-control{display:flex;flex-direction:column;gap:.45rem;min-width:0;flex:1;font-size:.86rem;color:#e1e5dc}
.panchanga-section .pc-date-control{display:flex;gap:.6rem;align-items:end;flex:1 1 19rem}
.panchanga-section input,.panchanga-section select{min-height:2.8rem;width:100%;min-width:0;background:#15231c;border:1px solid #78877b;border-radius:.5rem;padding:.65rem .7rem;color:#fff;font:inherit;color-scheme:dark}
.panchanga-section select{min-width:10rem}
.panchanga-section button{min-height:2.8rem;border:1px solid var(--pc-accent);border-radius:.5rem;padding:.65rem 1rem;font:inherit;cursor:pointer;white-space:nowrap;background:transparent;color:#f5ca9f}
.panchanga-section .pc-submit{background:var(--pc-accent);color:#19241d;font-weight:650}
.panchanga-section .pc-today[aria-pressed=true]{background:#394b3a}
.panchanga-section :is(input,select,button,summary,a):focus-visible{outline:3px solid #ffd39b;outline-offset:4px}
.panchanga-section .pc-custom{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;flex:1 1 100%}
.panchanga-section [hidden]{display:none!important}
.panchanga-section .pc-status{color:#f5c59a;min-height:1.4em;margin:1rem 0}
.panchanga-section .pc-status:empty{display:none}
.panchanga-section .pc-period{font-size:.9rem;line-height:1.6;color:var(--pc-muted);margin:1rem 0}
.panchanga-section :is(.pc-sun,.pc-windows,.pc-lunar-grid){display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
.panchanga-section .pc-metric{display:flex;flex-direction:column;gap:.5rem;padding:1.15rem;border:1px solid var(--pc-line);border-radius:.8rem;min-width:0;background:#202e26}
.panchanga-section .pc-metric strong{font-size:1.15rem;line-height:1.5;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.panchanga-section .pc-sun .pc-metric strong{color:#f4c18e;font-size:1.35rem}
.panchanga-section .pc-caption,.panchanga-section .pc-metric small{font-size:.82rem;line-height:1.6;color:var(--pc-muted)}
.panchanga-section .pc-subheading{margin:2rem 0 1rem;font-size:1.25rem}
.panchanga-section .pc-angas{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.panchanga-section .pc-card{background:#1c2a22;border:1px solid var(--pc-line);border-radius:1rem;padding:1.2rem;min-width:0}
.panchanga-section .pc-card h4{font-size:1.1rem;margin:0 0 .85rem;color:#f5c390}
.panchanga-section .pc-transitions{list-style:none;padding:0;margin:0}
.panchanga-section .pc-transitions li{display:flex;flex-direction:column;gap:.35rem;line-height:1.5;padding:.9rem 0}
.panchanga-section .pc-transitions li+li{border-top:1px solid var(--pc-line)}
.panchanga-section .pc-transitions strong{font-size:1.05rem}
.panchanga-section .pc-time{font-size:.9rem;font-variant-numeric:tabular-nums}
.panchanga-section .pc-continuation{color:#b9c9b9;font-size:.78rem}
.panchanga-section .pc-note{color:var(--pc-muted);line-height:1.75;font-size:.88rem;max-width:80ch}
.panchanga-section .pc-moon{margin-top:2rem;padding:1.3rem;border-radius:1rem;background:#26362b;border:1px solid var(--pc-line)}
.panchanga-section .pc-moon h3{margin:0 0 .7rem;font-size:1.3rem}
.panchanga-section .pc-moon-phase{font-size:1.1rem;margin:.5rem 0;color:#f5ca9f}
.panchanga-section .pc-method{margin-top:1.5rem;border-top:1px solid var(--pc-line);padding-top:1rem;color:var(--pc-muted);font-size:.87rem;line-height:1.8}
.panchanga-section .pc-method summary{cursor:pointer;color:#f3c18c;padding:.5rem 0}
.panchanga-section .pc-method a{display:inline-block;color:#f3c18c;margin:0 1.4rem .5rem 0;text-underline-offset:3px}
@media(max-width:900px){.panchanga-section :is(.pc-sun,.pc-windows,.pc-lunar-grid){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.panchanga-section .pc-controls{padding:1rem}.panchanga-section .pc-custom,.panchanga-section .pc-angas{grid-template-columns:1fr}.panchanga-section .pc-controls>.pc-control{flex-basis:100%}.panchanga-section .pc-submit{width:100%}.panchanga-section .pc-metric{padding:.8rem}.panchanga-section .pc-metric strong{font-size:1rem}.panchanga-section .pc-sun .pc-metric strong{font-size:1.15rem}.panchanga-section .pc-moon{padding:1rem}}
