:root{color-scheme:light;--paper:#f9f3e8;--ink:#28211b;--muted:#655446;--rust:#743021;--line:#ded0bc;--surface:#fffaf2;font-family:system-ui,sans-serif;background:var(--paper);color:var(--ink)}
*{box-sizing:border-box}body{margin:0;min-height:100vh}a{color:inherit}:focus-visible{outline:3px solid #8b370e;outline-offset:3px}
.skip{position:absolute;top:0;left:1rem;transform:translateY(-150%);padding:.75rem;background:white;z-index:2}.skip:focus{transform:none}
.top{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap;padding:.75rem max(1rem,calc((100% - 52rem)/2));border-bottom:1px solid var(--line)}
.brand{display:inline-flex;align-items:center;gap:.65rem;min-height:44px;text-decoration:none;font-weight:800;font-size:1.25rem}.brand img{border-radius:.75rem}
.language{display:flex;align-items:center;gap:.45rem;color:var(--muted);font-size:.875rem}select{min-height:44px;padding:.35rem;font:inherit;color:var(--ink);background:var(--surface);border:1px solid #9d8063;border-radius:.5rem}
main{max-width:54rem;margin:0 auto;padding:1rem 1rem calc(6rem + env(safe-area-inset-bottom))}.hero{background:var(--rust);color:#fff9ec;border-radius:1.5rem;padding:clamp(1.35rem,5vw,3rem)}
.eyebrow{font-weight:700;letter-spacing:.09em;font-size:.8rem;margin:0 0 .75rem}h1{font-size:clamp(2rem,7vw,3.5rem);margin:0;line-height:1.22}h2{margin:0;font-size:1.25rem;line-height:1.4}p{line-height:1.65;margin-bottom:0}
.panel{background:var(--surface);border:1px solid var(--line);border-radius:1rem;padding:1.15rem;margin-top:1rem}.panel p{color:var(--muted)}.status:empty{display:none}
.tabs{position:fixed;inset:auto 0 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.25rem;padding:.4rem max(.4rem,calc((100% - 36rem)/2)) calc(.4rem + env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--line)}
.tabs a{display:grid;place-items:center;min-height:48px;padding:.15rem;border-radius:.65rem;text-align:center;text-decoration:none;overflow-wrap:anywhere;font-size:.875rem;font-weight:650}.tabs a[aria-current]{background:var(--rust);color:white}
@media(max-height:30rem){.tabs{position:static}main{padding-bottom:1rem}}
[hidden]{display:none!important}button,input{font:inherit}button{min-height:44px;padding:.5rem .85rem;border:1px solid #9d8063;border-radius:.55rem;background:var(--surface);color:var(--rust);cursor:pointer;font-weight:650}button:hover{background:#f3e7d5}
input{min-height:44px;width:100%;padding:.5rem .6rem;border:1px solid #9d8063;border-radius:.55rem;background:white;color:var(--ink)}
.filters{display:grid;grid-template-columns:2fr 1.25fr auto;align-items:end;gap:.75rem}.filters label,.share-link{display:grid;gap:.35rem;font-weight:650;min-width:0}.filters select{width:100%}
.result-count,.location{color:var(--muted)}.temple-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));list-style:none;margin:.75rem 0 0;padding:0;gap:.75rem}
.temple-card{background:var(--surface);border:1px solid var(--line);border-radius:1rem;padding:1rem;overflow-wrap:anywhere}.temple-card h2 a,.back,article .panel a{display:inline-flex;align-items:center;min-height:44px;text-underline-offset:.2em;color:var(--rust)}
.temple-card p{margin:.15rem 0 .75rem}.temple-card .feedback{margin:.25rem 0 0}.notice{background:#fff1cb;border-radius:.65rem;padding:.6rem .8rem}.back{margin-top:.65rem}.toolbar{display:flex;flex-wrap:wrap;align-items:start;gap:.6rem}.share-control{min-width:0}.share-link{margin-top:.4rem}
.feedback:empty{display:none}.feedback{margin:.25rem 0 0;color:var(--muted)}.panel li{line-height:1.6;margin-top:.4rem;overflow-wrap:anywhere}.sources summary{cursor:pointer;font-weight:700;min-height:44px;padding:.55rem 0}.sources small{display:block;color:var(--muted)}
@media(max-width:38rem){.filters,.temple-list{grid-template-columns:minmax(0,1fr)}.filters button{justify-self:start}}.hero h1:focus-visible{outline-color:#fff3d8}
.circuit-stops li{padding-bottom:.25rem}.circuit-stops a{display:inline-flex;align-items:center;min-height:44px;margin-inline-end:.75rem;color:var(--rust);text-underline-offset:.2em}.circuit-stops a[data-nav]{font-weight:700}
.speech-controls{display:flex;flex-wrap:wrap;gap:.55rem;align-items:center;margin-top:.75rem}.speech-speed{display:inline-flex;align-items:center;gap:.4rem;flex-wrap:wrap}button:disabled{opacity:.6;cursor:default}
.pwa-tools{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:.75rem}.pwa-tools .notice{flex:1 1 18rem;min-width:0;margin:0;overflow-wrap:anywhere}
@media(max-width:26rem){.hero{border-radius:1rem}.filters,.temple-card{padding:.8rem}.tabs a{font-size:.8rem}}
.hero h1{overflow-wrap:anywhere}.passport h2,.yatra-card h2{margin-top:0}.passport-count{font-weight:700;color:var(--rust);margin-bottom:.4rem}.passport progress{width:100%;height:14px;accent-color:#b8862d}.passport-hint{color:var(--muted);margin-bottom:0}.yatra-card{border:2px solid #b8862d}.card-actions{display:grid;gap:.65rem;justify-items:start;margin-top:.75rem}.card-actions label{display:grid;gap:.3rem;width:100%;max-width:24rem}.card-actions label[hidden]{display:none}.card-actions input{min-height:44px;font:inherit;padding:.4rem .6rem}.yatra-card button[aria-pressed=true]{background:#fff1cb}.channel a{display:inline-flex;align-items:center;min-height:44px;color:var(--rust);font-weight:700}
