/* Eat & Drink map (preview). Uses ../style.css tokens. */
.ed-body{background:var(--cream)}
.ed-app{padding-top:calc(var(--banner-h) + 112px);background:var(--cream)}
.ed-shell{display:grid;grid-template-columns:minmax(340px,410px) 1fr;gap:12px;padding:0 12px 12px;height:calc(100vh - var(--banner-h) - 112px);height:calc(100svh - var(--banner-h) - 112px);min-height:640px}
.ed-panel{background:#fff;border-radius:1.25rem;box-shadow:0 2px 14px rgba(0,0,0,.1);display:flex;flex-direction:column;min-height:0;overflow:hidden}
.ed-head{display:flex;justify-content:space-between;align-items:center;gap:.5rem;padding:.8rem 1rem .4rem}
.ed-head h1{font-size:2.1rem;color:var(--blue);line-height:1}
.ed-head p{margin:.1rem 0 0;font-size:.9rem;color:#555}
.ed-toggle{display:none;font:600 .9rem var(--body);background:var(--blue);color:#fff;border:0;border-radius:2rem;padding:.45rem 1rem;cursor:pointer}
.ed-toggle[aria-expanded=true]::after{content:" ▴"}.ed-toggle[aria-expanded=false]::after{content:" ▾"}
.ed-filters{padding:0 1rem .4rem;display:grid;gap:.45rem}
.ed-filters.is-collapsed{display:none}
.ed-search input,.ed-select{width:100%;font:inherit;font-size:.98rem;padding:.45rem .9rem;border:2px solid var(--blue);border-radius:2rem;background:#fff;color:var(--dark)}
.ed-field label,.ed-label{display:block;font:600 .75rem var(--body);text-transform:uppercase;letter-spacing:.06em;color:var(--blue);margin-bottom:.2rem}
.ed-field--row{display:flex;justify-content:space-between;align-items:center}
.ed-check{display:inline-flex!important;align-items:center;gap:.4rem;margin:0!important;text-transform:none!important;font-size:.95rem!important;letter-spacing:0!important;cursor:pointer}
.ed-segs{display:flex;flex-wrap:wrap;gap:.3rem}
.ed-seg{font:600 .88rem var(--body);padding:.28rem .7rem;border:1.5px solid var(--blue);background:#fff;color:var(--blue);border-radius:2rem;cursor:pointer;line-height:1.3}
.ed-seg[aria-pressed=true]{background:var(--blue);color:#fff}
.ed-seg--today{border-color:var(--green);background:#f3fadf;color:#3d5a00}
.ed-seg--today[aria-pressed=true]{background:var(--green);color:var(--dark);border-color:var(--green)}
.ed-reset{font:600 .9rem var(--body);background:none;border:0;color:var(--sky);text-decoration:underline;cursor:pointer;padding:.2rem}
.ed-count{padding:.35rem 1rem;font:400 1.25rem var(--head);letter-spacing:.05em;color:var(--blue);text-transform:uppercase;border-top:1px solid #e4dfd5}
.ed-hint,.ed-empty{margin:0;padding:.2rem 1rem .5rem;font-size:.85rem;color:#555}
.ed-list{list-style:none;margin:0;padding:0 .5rem .5rem;overflow:auto;flex:1;min-height:90px}
.ed-card{width:100%;display:flex;gap:.65rem;align-items:flex-start;text-align:left;background:none;border:0;border-radius:.8rem;padding:.5rem;cursor:pointer;font:inherit;color:var(--dark)}
.ed-card:hover,.ed-card.is-sel{background:#eef6fc}
.ed-card.is-sel{box-shadow:inset 0 0 0 2px var(--sky)}
.ed-card__t{display:flex;flex-direction:column;min-width:0}
.ed-card b{font-size:1.02rem;line-height:1.25}.ed-card small{font-size:.82rem;color:#555;line-height:1.35}.ed-card__h{color:var(--blue)!important}
.ed-dot{flex:none;width:14px;height:14px;border-radius:50%;margin-top:.3rem}
.ed-sw--food{background:#d64b1f}.ed-sw--craft{background:#5b3a8c}.ed-sw--coffee{background:#00897b}
.ed-mapcol{position:relative;border-radius:1.25rem;overflow:hidden;box-shadow:0 2px 14px rgba(0,0,0,.1);min-height:0;isolation:isolate}
#edMap{position:absolute;inset:0;background:#dfe8ee;z-index:0}
.ed-overlay{position:absolute;left:12px;right:12px;top:12px;bottom:12px;justify-content:flex-end;z-index:800;display:flex;flex-direction:column;gap:8px;align-items:flex-start;pointer-events:none}
.ed-overlay>*{pointer-events:auto}
.ed-legend{background:rgba(255,255,255,.96);border-radius:.9rem;box-shadow:0 2px 10px rgba(0,0,0,.25);padding:.5rem .75rem;display:flex;flex-wrap:wrap;gap:.25rem .8rem;max-width:min(100%,560px);flex:none}
.ed-key{display:inline-flex;align-items:center;gap:.4rem;font:600 .85rem var(--body);color:var(--dark);background:none;border:0;padding:.1rem .25rem;border-radius:1rem}
.ed-key--btn{cursor:pointer}.ed-key--btn[aria-pressed=true]{background:#e3effa;box-shadow:inset 0 0 0 2px var(--blue)}
.ed-sw{display:inline-block;width:14px;height:14px;border-radius:50%;flex:none}
.ed-sw--water{background:#fff;border:3px solid var(--sky)}
.ed-sw--season{background:#fff;border:2px dashed var(--dark)}
.ed-pill{font:600 .78rem var(--body);padding:.15rem .6rem;border-radius:2rem;border:1.5px solid var(--green);background:#f3fadf;color:#2f4a00}
.ed-pill.is-on{background:var(--green);color:var(--dark)}
.ed-note{font-size:.85rem;color:#555;padding:.3rem 0 .6rem}
.ed-listtoggle{display:none;font:600 .8rem var(--body);background:none;border:1.5px solid var(--blue);color:var(--blue);border-radius:2rem;padding:.15rem .7rem;cursor:pointer;text-transform:none;letter-spacing:0}
/* pins */
.ed-pinwrap{background:none;border:0}
.ed-pin{position:relative;display:block;width:30px;height:38px;filter:drop-shadow(0 2px 2px rgba(0,0,0,.4))}
.ed-pin.is-sel{transform:scale(1.25);transform-origin:50% 100%}
.ed-pin.is-seasonal::before{content:"";position:absolute;left:-4px;top:-4px;width:38px;height:38px;border:2.5px dashed #202529;border-radius:50%}
.ed-pin.is-water::after{content:"";position:absolute;right:-5px;top:-5px;width:13px;height:13px;border-radius:50%;background:#fff;border:3.5px solid #0088d8}
.ed-cluster{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:var(--blue);color:#fff;font:700 1rem var(--body);border:3px solid #fff;box-shadow:0 2px 6px rgba(0,0,0,.4)}
.leaflet-control-attribution{font-size:10px!important}
.leaflet-control-zoom{margin-top:12px!important;margin-left:12px!important}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ed-mobsel{display:none}
/* Loop-style pin-anchored popup */
.ed-popup .leaflet-popup-content-wrapper{border-radius:14px;box-shadow:0 8px 24px rgba(0,59,113,.25);background:#fff}
.ed-popup .leaflet-popup-content{margin:12px 14px 14px 14px;font:400 .88rem/1.4 var(--body);width:var(--pop-w,280px)!important;max-width:var(--pop-w,280px)}
.ed-popup .leaflet-popup-tip{box-shadow:0 8px 24px rgba(0,59,113,.25)}
.leaflet-container .ed-popup a.leaflet-popup-close-button{width:44px;height:44px;padding:0;font:700 28px/44px system-ui,sans-serif;color:var(--blue);text-align:center;z-index:3}
.pop-card{display:flex;flex-direction:column;max-height:var(--pop-h,420px)}
.pop-head{flex:none;padding-right:32px}
.pop-body{overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;min-height:0;padding-top:4px}
.pop-card h3{font:400 1.45rem/1.05 var(--head);color:var(--blue);letter-spacing:.01em;margin:0 0 3px}
.pop-card .type{margin:0 0 6px;font-size:.78rem;font-weight:700;color:#00675c}
.ed-chip{display:inline-block;font:700 .68rem var(--body);padding:.05rem .5rem;border-radius:2rem;margin-left:.15rem;vertical-align:1px}
.ed-chip--water{background:#dff1fc;color:#00558a;box-shadow:inset 0 0 0 1.5px var(--sky)}
.ed-chip--season{background:#fff;color:var(--dark);border:1.5px dashed var(--dark)}
.pop-card .addr,.pop-card .hours-note,.pop-card .hours-cap{margin:0 0 6px;font-size:.8rem;color:#4a6070}
.pop-card .hours-cap{font-weight:700;margin-bottom:2px}
.pop-card .meals{margin:0 0 6px;display:flex;flex-wrap:wrap;gap:.25rem}
.ed-pill{font:600 .72rem var(--body);padding:.08rem .5rem;border-radius:2rem;border:1.5px solid var(--green);background:#f3fadf;color:#2f4a00}
.ed-pill.is-on{background:var(--green);color:var(--dark)}
.pop-card .blurb{margin:0 0 6px;font-size:.82rem}
.pop-card .note{margin:0 0 6px;padding:.3rem .5rem;background:#fff6dd;border-radius:.5rem;font-size:.8rem}
.pop-card .hours{list-style:none;margin:0 0 6px;padding:0;font-size:.8rem}
.pop-card .hours li{display:grid;grid-template-columns:5.2em 1fr;gap:6px;padding:2px 0}
.pop-card .hours li.is-today{font-weight:700;background:#e9f6cf;margin:0 -6px;padding:3px 6px;border-radius:6px}
.pop-card .hours .day{color:#4a6070;font-weight:650}
.pop-card .links{flex:none;display:flex;flex-wrap:wrap;gap:4px 14px;margin-top:6px;padding-top:6px;border-top:1px solid #e4dfd5}
.pop-card .links a,.pop-card .links button{font:700 .84rem var(--body);color:var(--sky);background:none;border:0;padding:0;text-decoration:underline;cursor:pointer}
.ed-listtoggle{display:none;font:600 .8rem var(--body);background:none;border:1.5px solid var(--blue);color:var(--blue);border-radius:2rem;padding:.15rem .7rem;cursor:pointer;text-transform:none;letter-spacing:0}
.leaflet-control-attribution{font-size:10px!important}
.leaflet-control-zoom{margin-top:12px!important;margin-left:12px!important}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (max-width:899px){
 .ed-app{padding-top:calc(var(--banner-h) + 104px)}
 .ed-shell{display:flex;flex-direction:column;height:auto;min-height:0;gap:8px;padding:0 8px 8px}
 .ed-panel{order:1;overflow:visible;border-radius:1rem}
 .ed-head{padding:.4rem .8rem .1rem}.ed-head h1{font-size:1.5rem}.ed-head p{font-size:.78rem;margin:0}
 .ed-toggle{display:inline-block}
 .ed-filters{padding:0 .8rem .3rem;gap:.3rem;grid-template-columns:1fr 1fr}
 .ed-search{grid-column:1}.ed-field:nth-of-type(2){grid-column:2}
 .ed-field:nth-of-type(n+3),.ed-field--row{display:none}
 .ed-mobsel{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr 1fr;gap:.3rem;align-items:center}
 .ed-mobsel .ed-check{grid-column:1/3;font-size:.85rem!important}
 .ed-mobsel .ed-reset{justify-self:end;font-size:.85rem}
 .ed-select,.ed-search input{padding:.25rem .6rem;font-size:.86rem;min-width:0}
 .ed-field label,.ed-label{display:none}
 .ed-count{padding:.2rem .8rem;font-size:1.05rem;display:flex;justify-content:space-between;align-items:center}
 .ed-listtoggle{display:inline-block!important}
 .ed-list{display:none;max-height:45svh;overflow:auto;flex:none}
 .ed-panel.show-list .ed-list{display:block}
 .ed-mapcol{order:2;height:68dvh;min-height:470px}
 .ed-legend{padding:.3rem .5rem;gap:.05rem .4rem}.ed-key{font-size:.7rem;gap:.25rem}
 .ed-note{width:calc(100% - 1.5rem)}
 .pop-card h3{font-size:1.3rem}
 .pop-card .hours{font-size:.76rem}.pop-card .hours li{padding:1px 0}.pop-card .blurb,.pop-card .note{font-size:.78rem;margin-bottom:4px}
}
