#sankalpa { scroll-margin-top: 5rem; }
#sankalpa h3 { font-size: 1rem; margin: 1.1rem 0 .45rem; }
.sankalpa-place { min-width: 0; padding: .7rem .9rem .9rem; border: 1px solid var(--border); border-radius: 10px; margin: 1rem 0; }
.sankalpa-place legend { color: var(--gold); padding: 0 .35rem; }
.sankalpa-place .control-row { gap: .6rem 1rem; }
.sankalpa-place label { flex-wrap: wrap; }
.sankalpa-place select { max-width: 100%; }
.sankalpa-years, .sankalpa-scripts { display: grid; gap: .65rem; margin: .7rem 0 1rem; }
.sankalpa-years { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr)); }
.sankalpa-scripts { grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); }
.sankalpa-years > div, .sankalpa-scripts > div { background: #111722; border: 1px solid var(--border); border-radius: 10px; padding: .85rem; }
.sankalpa-years dt { color: var(--gold); font-weight: 600; }
.sankalpa-years dd { margin: .35rem 0 0; overflow-wrap: anywhere; }
.sankalpa-reading { color: var(--muted); font-size: .9rem; }
#sankalpa .sankalpa-scripts h3 { margin-top: 0; }
.sankalpa-scripts p { white-space: pre-line; line-height: 1.9; overflow-wrap: anywhere; }
#sankalpa [lang="sa"] { font-family: "Nirmala UI", "Noto Sans Devanagari", sans-serif; font-size: 1.13rem; }
@media print {
  .sankalpa-place { display: none; }
  .sankalpa-years > div, .sankalpa-scripts > div { background: #fff; }
}
