:root{color-scheme:light;--paper:#f8f5ed;--ink:#182e28;--muted:#525e54;--line:#ddd8c9;--accent:#a34b30;--white:#fffdf7;--serif:"Instrument Serif",Georgia,serif;--sans:"DM Sans","Noto Sans Gujarati",sans-serif}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans)}
button,input{font:inherit;color:inherit}
button{cursor:pointer}
[hidden]{display:none!important}
:focus-visible{outline:3px solid #926528;outline-offset:3px}
.eyebrow{font-size:11px;letter-spacing:.16em;text-transform:uppercase;font-weight:700}
.eyebrow{margin:0 0 4px;color:var(--accent)}
.filters{display:flex;gap:12px;justify-content:space-between;align-items:center;padding:11px 14px}
.categories{display:flex;gap:6px;flex-wrap:wrap}
.chip{white-space:nowrap;border:1px solid var(--line);border-radius:22px;padding:8px 13px;background:transparent;font-size:13px;font-weight:600}
.chip:hover,.place:hover{background:#f2ede1}
.chip[aria-pressed=true]{background:#243e34;color:white;border-color:#243e34}
.dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:7px;background:var(--category)}
.search{display:flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:20px;padding:5px 12px;min-width:160px}
.search span{font-size:21px;line-height:1}
.search input{background:none;border:0;width:100%;font-size:13px;min-height:25px}
.reset,.map-error{position:absolute;z-index:500;background:var(--white);border:1px solid var(--line);border-radius:8px;padding:8px 11px;font-size:12px}
.reset{bottom:32px;right:12px;font-weight:700;box-shadow:0 1px 5px #192c2825}
.reset span{font-size:16px;vertical-align:middle}
.map-error{bottom:22px;left:12px;right:12px;margin:0;max-width:330px}
.list-head{position:sticky;top:0;background:var(--white);z-index:1;display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid var(--line)}
h2{font:400 28px/1 var(--serif);margin:0}
.list-head span{font-size:12px;color:var(--muted)}
.place{width:100%;padding:9px 14px;background:none;border:0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:63px 1fr auto;align-items:center;text-align:left;gap:11px}
.place img,.place .placeholder{width:63px;height:52px;object-fit:cover;border-radius:6px;background:#e7ddc9;display:block}
.place strong,.place small{display:block}
.place strong{font-size:14px;line-height:1.25}
.place small{font-size:11px;color:var(--muted);margin-top:4px}
.place small .dot{width:6px;height:6px;margin-right:5px}
.arrow{color:var(--accent)}
.pin-shape{display:grid;place-items:center;width:30px;height:30px;background:var(--category);color:white;border:2px solid white;border-radius:50% 50% 50% 3px;transform:rotate(-45deg);box-shadow:0 2px 5px #13202080}
.pin-shape span{transform:rotate(45deg);font:700 12px var(--sans)}
.atlas-pin.is-selected .pin-shape{outline:3px solid var(--ink)}
.back{margin:12px 14px;background:none;border:0;padding:4px;color:var(--accent);font-weight:700;font-size:13px}
.detail figure{margin:0;background:#e7ddc9}
.detail img{width:100%;height:180px;display:block;object-fit:cover}
.detail img.portrait{object-fit:contain}
.detail figcaption{font-size:10px;padding:5px 12px}
.detail-copy{padding:14px 16px}
.detail-copy h2{margin:6px 0;font-size:36px}
.detail-copy p{margin:8px 0;font-size:14px;line-height:1.55}
.detail-copy .eyebrow{font-size:10px;margin:0}
.detail-copy .gu{color:var(--muted)}
.detail-copy a,.detail figcaption a{color:#874027}
.detail-links{display:flex;flex-wrap:wrap;gap:6px 14px}
.empty{padding:0 16px;color:var(--muted)}
@media(max-width:760px){
  .filters{align-items:stretch;flex-direction:column}
  .chip{padding:6px 10px}
}
.placeholder{display:grid;place-items:center;min-height:52px;padding:4px;color:var(--muted);font-size:10px;text-align:center}
.detail .placeholder{min-height:180px;font-size:14px}

body{height:100vh;height:100dvh;display:flex;flex-direction:column}
.atlas{position:relative;flex:1;min-height:0;isolation:isolate}
.workspace,.map-shell,#map{height:100%;width:100%}
.map-shell{position:relative}
#map{background:#d9e8e0;isolation:isolate}
.map-toolbar{position:absolute;z-index:600;top:12px;right:12px;display:flex;gap:6px}
.panel-toggle{background:var(--white);border:1px solid var(--line);border-radius:8px;padding:8px 13px;font-size:13px;font-weight:700;box-shadow:0 1px 5px #192c2825}
.panel-toggle[aria-expanded=true]{background:#243e34;color:white;border-color:#243e34}
.sidebar,.filters{position:absolute;z-index:600;top:56px;right:12px;width:min(350px,calc(100% - 66px));background:var(--white);border:1px solid var(--line);border-radius:12px;box-shadow:0 3px 12px #192c2825}
.sidebar{max-height:calc(100% - 135px);overflow:auto}
.filters{align-items:stretch;flex-direction:column}

.atlas-pin{padding:0;border:0;background:none}
.atlas-pin.is-selected{z-index:1}
