.prajna-intro{display:grid;grid-template-columns:180px 1fr;gap:2rem;align-items:center;padding:2rem 0}.prajna-intro img{width:180px;height:auto;border-radius:18px}.prajna-intro h1{font-size:clamp(1.8rem,4vw,3rem);line-height:1.4}.prajna-nav{display:flex;gap:.6rem;flex-wrap:wrap;margin:1.5rem 0}.prajna-nav a,.study-button{display:inline-block;padding:.65rem 1rem;background:white;color:#182337;border:1px solid #b9c2cf;border-radius:9px;font:inherit;cursor:pointer;text-decoration:none}.study-button:hover,.study-button[aria-pressed=true]{background:#132d49;color:white}.study-panel{background:#fff;border:1px solid #d9d5cd;border-radius:16px;padding:1.5rem;margin:1rem 0}.study-controls{display:flex;gap:1rem;flex-wrap:wrap;margin:1rem 0}.study-controls label{display:grid;gap:.4rem}.study-controls select,.study-controls input{padding:.7rem;border:1px solid #9caaba;border-radius:8px;font:inherit;max-width:100%}.table-scroll{overflow-x:auto}.study-table{width:100%;border-collapse:collapse;min-width:440px}.study-table th,.study-table td{text-align:left;padding:.75rem;border-bottom:1px solid #d9dfe6}.study-table thead{background:#edf2f7}.sa{font-size:1.2rem;line-height:1.8}.study-note{background:#f5eee0;border-left:4px solid #b18a34;padding:1rem;color:#273446}.sage-art{width:100%;height:auto;border-radius:14px}.study-panel summary{cursor:pointer;font-weight:bold;padding:.6rem 0}.quiz-options{display:flex;flex-wrap:wrap;gap:.6rem;margin:1rem 0}.feedback{font-weight:600;min-height:1.8rem}.prajna-heading{scroll-margin-top:100px}.hero-copy{color:#273446}.study-panel a{text-decoration:underline}.chapter-map{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.chapter-map details{border:1px solid #d9dfe6;border-radius:9px;padding:.8rem}.source-list{overflow-wrap:anywhere}.study-status{font-size:.95rem;color:#4a5869}@media(max-width:650px){.prajna-intro{grid-template-columns:1fr;text-align:center}.prajna-intro img{margin:auto;width:150px}.chapter-map{grid-template-columns:1fr}.study-panel{padding:1rem}}

[hidden]{display:none!important}.study-button:disabled{cursor:default;opacity:.7}.study-button:focus-visible,.prajna-nav a:focus-visible{outline:3px solid #ae8126;outline-offset:3px}

.ayur-compact{display:grid;grid-template-columns:1fr 360px;gap:1.5rem;align-items:center;padding:1.5rem 0}.ayur-compact h1{font-size:clamp(1.8rem,3.5vw,2.8rem);line-height:1.4}.ayur-compact img{width:100%;height:auto;border-radius:12px}.content-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.7rem;margin-bottom:1.4rem}.content-overview a{display:grid;gap:.4rem;border:1px solid #d4c8af;background:#fff;padding:1rem;border-radius:10px;text-decoration:none;color:#182337}.content-overview span{font-size:.9rem}.content-overview a:hover{background:#f5eee0}@media(max-width:700px){.ayur-compact{grid-template-columns:1fr;padding:1rem 0;gap:.5rem}.ayur-compact img{max-width:320px;margin:auto}.content-overview{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Sanskrit and Ayurveda titles retain a readable Devanagari line height. */
.prajna-intro h1,.ayur-compact h1{color:#092443;font-weight:700;font-size:clamp(2rem,4vw,3.2rem);line-height:1.55;border-left:5px solid #b98722;padding-left:16px}
.study-panel>h2{color:#092443;font-size:clamp(1.65rem,2.6vw,2.35rem);line-height:1.55}
.study-panel summary{color:#0d315b;line-height:1.6}
@media(max-width:650px){.prajna-intro h1{border-left:0;padding-left:0;border-bottom:3px solid #b98722;padding-bottom:.7rem}.ayur-compact h1{font-size:1.9rem}}

/* Medicine guidance follows every non-empty Ayurveda search response. */
.medical-caution{margin-top:1.25rem;padding:1rem 1.2rem;border:2px solid #9b522b;border-left-width:6px;border-radius:8px;background:#fff7e9;color:#352719;overflow-wrap:anywhere}
.medical-caution h3{margin:0 0 .65rem;color:#79351c;font-size:1.15rem;line-height:1.6}
.medical-caution p{margin:.55rem 0;line-height:1.8}
.medical-caution p[lang="en"]{font-size:.95rem}
