.tf-map-shell{width:min(1460px,calc(100% - 32px));margin:auto;padding:30px 0 62px;color:#1f3027}
.tf-map-shell h1{font-size:clamp(28px,4vw,44px);line-height:1.15;margin:10px 0}.tf-map-intro{max-width:850px;color:#59675f;line-height:1.55}
.tf-map-controls{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:12px 0 18px}
.tf-map-check{display:inline-flex;align-items:center;gap:8px;padding:10px 13px;border:1px solid #dae5d8;border-radius:13px;background:white;font-weight:750;font-size:14px}
.tf-map-check input{width:18px;height:18px;accent-color:#dc7a25}.tf-map-check input[value="trip"]{accent-color:#272a30}.tf-map-check input[value="stay"]{accent-color:#8251a5}.tf-map-check input[value="point"]{accent-color:#dc7a25}.tf-map-dot{width:14px;height:14px;border-radius:50%;flex:none;display:inline-block}
.tf-map-finder{padding:12px 16px;border:1px solid #cbded2;border-radius:12px;background:white;min-height:45px;flex:1 1 230px}
.tf-map-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:15px}
#tf-map-canvas{height:min(75vh,680px);min-height:500px;overflow:hidden;border-radius:20px;background:#e5eee7;border:1px solid #d0dfd3}
.tf-map-panel{max-height:680px;padding:18px;min-height:400px;overflow:hidden;display:flex;flex-direction:column;background:#fff;border:1px solid #e2eae3;border-radius:19px}
.tf-map-panel h2{font-size:19px;margin:0 0 5px}.tf-map-stats{color:#64746a;font-size:13px;margin-bottom:10px}
#tf-map-results{overflow-y:auto;flex:1}.tf-map-item{display:flex;gap:12px;padding:10px 4px;border-bottom:1px solid #e9efe9;align-items:center}
.tf-map-item:hover{background:#f7faf7}.tf-map-item-photo{width:74px;height:62px;object-fit:cover;border-radius:10px}
.tf-map-item b{display:block;font-size:14px;line-height:1.35}.tf-map-item small{display:block;color:#68746f;font-size:12px}
.tf-map-pin{position:relative;width:24px;height:29px;filter:drop-shadow(0 1px 1px #162e2840)}
.tf-map-pin:before{content:'';position:absolute;top:1px;left:1px;width:22px;height:22px;box-sizing:border-box;border:2px solid white;border-radius:54% 54% 54% 7%;transform:rotate(-45deg);background:var(--pin)}
.tf-map-pin>span{position:relative;display:grid;place-items:center;width:23px;height:22px;font-size:13px;color:#fff;font-weight:900}
.tf-map-popup{font:14px/1.5 system-ui;min-width:160px}.tf-map-popup b{display:block}.tf-map-popup a{color:#336d19;text-decoration:underline}
.tf-nearby-section{background:#fff;border:1px solid #e1e9e3;border-radius:19px;padding:24px;margin:34px auto;max-width:1240px;color:#253228}
.tf-nearby-section h2{margin:0 0 9px;font-size:26px}.tf-nearby-section h3{margin:18px 0 10px;font-size:19px}.tf-nearby-section p{color:#5d6b61}
.tf-nearby-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.tf-nearby-link{display:flex;align-items:center;gap:10px;padding:10px;background:#f8faf8;border:1px solid #e5ece5;border-radius:12px;text-decoration:none;color:#283a2b}
.tf-nearby-link img{width:66px;height:62px;object-fit:cover;border-radius:10px}.tf-nearby-link span:last-child{min-width:0}
.tf-nearby-link b{font-size:14px;display:block;line-height:1.3}.tf-nearby-link small{color:#607067;display:block;font-size:12px}
@media(max-width:930px){.tf-map-layout{grid-template-columns:1fr}.tf-map-panel{max-height:320px;min-height:180px}#tf-map-canvas{height:54vh;min-height:380px}.tf-nearby-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.tf-nearby-grid{grid-template-columns:1fr}.tf-map-shell{width:calc(100% - 22px)}}

.tf-map-cluster{box-sizing:border-box;display:grid;place-items:center;border:2px solid white;border-radius:50%;background:var(--pin);color:white;font:bold 13px/1 system-ui;box-shadow:0 1px 4px #182a3355}.tf-map-cluster-list{max-height:230px;overflow:auto;display:grid;gap:7px;min-width:160px}.tf-map-cluster-list a{display:block}

/* Compact category picker: no extra request or map-tile refresh. */
.tf-map-point-control{display:inline-flex;align-items:stretch;border:1px solid #dae5d8;border-radius:13px;background:#fff;overflow:hidden}
.tf-map-point-control .tf-map-check{border:0;border-radius:0;cursor:pointer}
.tf-map-type-toggle{border:0;border-left:1px solid #e6ede3;background:#fff;color:#a34e0e;padding:0 12px;min-width:42px;font-size:20px;cursor:pointer}
.tf-map-type-toggle:hover,.tf-map-type-action:hover{background:#f2f6ef}
.tf-map-type-panel{background:#fff;border:1px solid #dae5d8;border-radius:16px;padding:14px 16px;margin:0 0 16px;box-shadow:0 5px 16px #1d38200a}
.tf-map-type-panel[hidden],.tf-map-type-option[hidden],.tf-map-type-empty[hidden]{display:none!important}
.tf-map-type-head,.tf-map-type-tools{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:12px}
.tf-map-type-head strong{font-size:16px}.tf-map-type-summary{margin-left:auto;color:#617466;font-size:13px;font-variant-numeric:tabular-nums}
.tf-map-type-action{background:#fff;border:1px solid #d8e4d6;border-radius:9px;padding:8px 12px;color:#24472b;font:inherit;font-size:13px;font-weight:650;cursor:pointer}
.tf-map-type-search{flex:1 1 180px;min-width:0;padding:8px 10px;border:1px solid #cbded2;border-radius:9px;font:inherit;font-size:14px}
.tf-map-type-grid{display:flex;flex-wrap:wrap;align-content:flex-start;align-items:flex-start;gap:6px;max-height:290px;overflow:auto;padding:2px}
.tf-map-type-option{display:inline-flex;flex:0 0 auto;max-width:100%;box-sizing:border-box;gap:6px;align-items:center;padding:6px 9px;border:1px solid #e3e9e0;border-radius:8px;background:#fafbf9;cursor:pointer;font-size:13px;line-height:1.35;min-height:34px}
.tf-map-type-option:hover{background:#f5f8f3}.tf-map-type-option input{accent-color:var(--type-color,#b65c12);width:17px;height:17px;flex:none;margin:0}
.tf-map-type-name{min-width:0;overflow-wrap:anywhere}.tf-map-type-count{color:#68766a;font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}
.tf-map-type-toggle:focus-visible,.tf-map-type-action:focus-visible,.tf-map-type-search:focus-visible{outline:2px solid #34761a;outline-offset:-2px}
.tf-map-type-empty{color:#64746a;font-size:14px;margin:4px 0}
@media(max-width:520px){.tf-map-type-panel{padding:12px}.tf-map-type-grid{max-height:240px}.tf-map-type-tools{gap:6px}.tf-map-type-action{padding:8px}.tf-map-type-search{flex-basis:100%}}
