@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700&family=Noto+Serif+SC:wght@600;700&display=swap');
:root{--ink:#203832;--muted:#71807a;--green:#09695b;--deep:#084f46;--line:#e4e9e5;--paper:#fff;--soft:#f3f6f3;--blue:#396ab8;--orange:#b27127}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--soft);font-family:'Noto Sans SC',system-ui,sans-serif;font-size:14px}button,input,select,a{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--line);background:white;color:var(--ink);border-radius:8px;padding:9px 13px}button:hover{background:#eaf2ed}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #dea94b;outline-offset:2px}button:disabled{opacity:.5;cursor:wait}a{color:var(--green)}header{height:80px;display:flex;align-items:center;justify-content:space-between;padding:0 27px;background:white;border-bottom:1px solid var(--line);gap:14px}.brand{display:flex;align-items:center;gap:12px}.brand-icon{display:grid;place-items:center;background:var(--deep);color:white;width:43px;height:43px;border-radius:12px;font:26px 'Noto Serif SC',serif}.brand strong{display:block;font:700 22px 'Noto Serif SC',serif;letter-spacing:3px}.brand div>span{display:block;font-size:10px;letter-spacing:2px;margin-top:4px;color:var(--muted)}.head-center{color:#65716b;letter-spacing:2px;font-size:14px}.head-actions{display:flex;align-items:center;gap:12px}.head-actions button{font-weight:500}.head-actions button span{margin-left:14px}.local-tag{font-size:12px;color:var(--muted);margin-right:6px}.icon-button{border:0;font-size:20px}main{height:calc(100vh - 80px);min-height:640px;display:grid;grid-template-columns:276px minmax(300px,1fr) 340px}.places-panel{background:white;overflow:auto;border-right:1px solid var(--line)}.city-photo{height:157px;position:relative;overflow:hidden;background:#263f41}.city-photo>img{width:100%;height:100%;object-fit:cover;object-position:center 48%;opacity:.72}.city-photo>div{position:absolute;inset:30px 20px auto;color:white;text-shadow:0 1px 6px #0005}.city-photo div span{display:block;font-size:12px;letter-spacing:2px}.city-photo strong{display:block;font:700 29px 'Noto Serif SC',serif;letter-spacing:3px;margin-top:8px}.credit{position:absolute;bottom:6px;right:8px;color:#fff;font-size:10px;text-decoration:none}.places-body{padding:22px 18px}.section-label{font-weight:600;display:flex;align-items:center;justify-content:space-between;gap:7px;font-size:15px}.section-label>span{font-size:11px;font-weight:400;color:var(--muted)}.hubs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.hub-card{text-align:left;padding:11px 10px;background:#f0f4fb;border-color:#e1e8f3}.hub-card strong{display:block;color:#315a95;font-size:14px}.hub-card span{font-size:11px;color:#7487a2;display:block;margin-top:5px}.sights-label{margin-top:25px}.search-box{display:flex;align-items:center;gap:8px;background:#f5f7f5;border:1px solid var(--line);border-radius:8px;margin-top:15px;padding:7px 10px}.search-box>span{font-size:24px;line-height:1;color:#77877c}.search-box input{width:100%;border:0;background:none;outline:0;font-size:13px;min-width:0}.filters{display:flex;gap:7px;margin:13px 0}.filters button{font-size:12px;padding:7px 8px;border:0;background:#f3f5f3;color:#68746c}.filters button.active{background:#e3efe9;color:var(--green);font-weight:600}.place-item{display:flex;align-items:center;gap:11px;width:100%;padding:13px 5px;border:0;border-bottom:1px solid #eff1ee;border-radius:0;text-align:left}.place-item.selected{background:#f0f7f2;border-radius:7px}.place-num{background:#edf2eb;color:var(--green);border-radius:50%;width:28px;height:28px;flex:0 0 28px;display:grid;place-items:center;font-size:11px;font-weight:600}.place-num.nature{background:#f5efdf;color:#96723a}.place-content{flex:1;min-width:0}.place-content strong{display:block;font-size:13px;font-weight:500;line-height:1.6}.place-content small{font-size:11px;color:var(--muted);display:block;margin-top:3px}.place-item>span:last-child{color:#aab4ac}.list-foot{font-size:11px;line-height:1.8;color:var(--muted)}.map-panel{position:relative;min-width:0;isolation:isolate;background:#e9eee7}#map{width:100%;height:100%;z-index:0}.map-toolbar{position:absolute;top:20px;left:20px;display:flex;padding:4px;background:white;border-radius:9px;box-shadow:0 3px 16px #263d3612;gap:3px;z-index:500}.map-toolbar button{border:0;font-size:12px;padding:8px 10px}.map-toolbar button.active{background:var(--green);color:white}.map-legend{position:absolute;top:77px;left:20px;display:flex;gap:13px;background:#fffffff0;padding:8px 10px;border-radius:6px;font-size:11px;z-index:500}.legend-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--green);margin-right:5px}.legend-dot.nature{background:var(--orange)}.legend-dot.hub{background:var(--blue)}.airport-inset{position:absolute;left:20px;bottom:44px;display:flex;align-items:center;gap:12px;box-shadow:0 4px 18px #1b3b301a;padding:14px 16px;z-index:500;border:1px solid #dfe5ec;text-align:left}.airport-symbol{font-size:27px;color:var(--blue);background:#edf2fa;padding:5px 11px;border-radius:8px}.airport-inset strong{display:block;font-size:13px}.airport-inset div>span{display:block;font-size:11px;margin-top:5px;color:var(--muted)}.airport-inset b{margin-left:10px}.map-footer{position:absolute;bottom:0;left:0;width:100%;padding:7px 13px;background:#ffffffd9;font-size:10px;color:#67756d;z-index:500}.map-footer span{margin:0 5px}.map-message{position:absolute;top:123px;left:20px;right:20px;background:#fff6df;border:1px solid #e9d8a6;border-radius:8px;padding:12px;color:#73592d;z-index:500;font-size:12px}.route-panel{background:white;padding:27px 23px 18px;border-left:1px solid var(--line);overflow:auto}.route-heading{display:flex;align-items:center;justify-content:space-between}.eyebrow{font-size:10px;letter-spacing:2.3px;color:var(--muted);font-weight:500}h1{font-family:'Noto Serif SC',serif;font-size:25px;margin:8px 0 23px;letter-spacing:1px}.route-icon{font-size:40px;color:#a1b8a7}.route-inputs{border:1px solid #dbe5dd;border-radius:10px;position:relative;padding:0 12px;background:#fbfcfa}.select-row{display:flex;align-items:center;gap:8px;min-height:54px}.select-row:first-child{border-bottom:1px solid var(--line)}.select-row label{font-size:11px;color:var(--muted)}.select-row select{max-width:195px;width:calc(100% - 51px);border:0;background:transparent;color:var(--ink);font-size:13px;padding:10px 16px 10px 0;cursor:pointer}.start-dot,.end-dot{height:7px;width:7px;display:inline-block;border-radius:50%;background:var(--green)}.end-dot{background:var(--orange)}#swap{position:absolute;right:10px;top:40px;height:28px;width:28px;z-index:1;border-radius:50%;padding:0;color:var(--green);box-shadow:0 0 0 4px #fbfcfa}.mode-tabs{display:flex;gap:0;border-bottom:1px solid var(--line);margin-top:23px}.mode-tabs button{flex:1;font-size:12px;white-space:nowrap;border:0;border-radius:0;background:transparent;padding:13px 0;color:var(--muted)}.mode-tabs button.active{color:var(--green);border-bottom:2px solid var(--green);font-weight:600}.result-label{font-size:11px;color:var(--muted);margin:21px 0 10px}.metrics{display:flex;gap:23px;align-items:baseline;margin:8px 0 14px}.metric strong{font-family:Georgia,serif;font-weight:400;font-size:42px;letter-spacing:-1px;color:var(--deep)}.metric span{font-size:12px;margin-left:5px;color:#66796d}.metric small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.route-note{background:#f5f7f2;border:1px solid #e9eee3;padding:11px 12px;font-size:12px;line-height:1.85;color:#647160;border-radius:7px}.route-steps{margin:18px 0 0;padding-left:16px;border-left:2px solid #d9e4db}.step{position:relative;padding:0 0 13px 4px;font-size:12px;line-height:1.8}.step:last-child{padding-bottom:0}.step:before{content:'';position:absolute;left:-21px;top:7px;width:7px;height:7px;border:2px solid white;box-shadow:0 0 0 1px #becfc1;border-radius:50%;background:var(--green)}.step small{display:block;font-size:11px;color:var(--muted)}.line-pill{display:inline-block;padding:1px 6px;border-radius:4px;background:#e8f0ed;color:var(--green);margin-right:6px;font-size:11px}.live-actions{margin-top:20px}.primary-link{display:flex;align-items:center;justify-content:space-between;text-decoration:none;background:var(--green);color:white;padding:13px 16px;border-radius:8px;font-size:13px;font-weight:500}.primary-link:hover{background:var(--deep)}.live-actions p{font-size:11px;line-height:1.8;color:var(--muted);margin:9px 1px}.refresh{padding:7px 0;border:0;color:var(--green);font-size:11px}.destination{border-top:1px solid var(--line);margin-top:23px;padding-top:18px}.destination .dest-top{display:flex;justify-content:space-between;color:var(--muted);font-size:11px}.destination h2{font:600 19px 'Noto Serif SC',serif;margin:10px 0}.destination p{font-size:12px;line-height:1.9;color:#68756e;margin:7px 0}.destination .access{background:#f4f6f3;border-radius:6px;padding:10px;font-size:11px}.data-foot{display:flex;justify-content:space-between;align-items:center;gap:8px;border-top:1px solid var(--line);margin-top:20px;padding-top:14px;font-size:10px;color:var(--muted)}.data-foot button{border:0;padding:0;font-size:10px;color:var(--muted)}.pin{display:flex;align-items:center;justify-content:center;width:29px;height:29px;background:var(--green);border:2px solid white;border-radius:50%;box-shadow:0 2px 6px #1a3d3440;color:#fff;font-size:11px;font-weight:600}.pin.nature{background:var(--orange)}.pin.hub{background:var(--blue);width:33px;height:33px;font-size:16px}.pin.selected{box-shadow:0 0 0 5px #09695b28,0 2px 8px #0003}.place-tooltip{background:#fffffff2;border:1px solid #e1e6de;box-shadow:0 2px 7px #173b2410;color:#30493d;font-family:inherit;font-size:11px;padding:3px 7px;border-radius:4px}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before{display:none}.leaflet-control-attribution{display:none}.leaflet-control-zoom{margin-bottom:45px!important;border:1px solid #dce3da!important;box-shadow:0 3px 12px #163e3214!important}.popup-title{font-size:16px;font-weight:600;margin-bottom:7px}.popup-buttons{display:flex;gap:8px}.popup-buttons button{font-size:12px;padding:6px 9px}.popup-note{font-size:11px;line-height:1.7;color:var(--muted);max-width:210px}.empty{padding:30px 4px;font-size:13px;line-height:1.9;color:var(--muted)}dialog{border:1px solid var(--line);border-radius:15px;padding:25px;max-width:calc(100vw - 36px);max-height:85vh;width:1130px;color:var(--ink);box-shadow:0 20px 90px #102b3740}dialog::backdrop{background:#132d3655;backdrop-filter:blur(3px)}#sourceDialog{width:660px}.dialog-heading{display:flex;justify-content:space-between;align-items:center}.dialog-heading h2{font:600 25px 'Noto Serif SC',serif;margin:8px 0}.dialog-heading button{font-size:24px;padding:1px 10px;border:0}.dialog-note{font-size:13px;line-height:1.9;color:var(--muted)}.matrix-controls{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--muted);margin:12px 0}.matrix-controls button{font-size:12px}#matrixContent{overflow:auto;max-height:55vh}table{border-collapse:separate;border-spacing:0;font-size:12px;white-space:nowrap}th,td{border-bottom:1px solid #e8ede8;border-right:1px solid #edf0eb;text-align:center;padding:10px;min-width:69px}th{background:#eff4ee;font-weight:500;position:sticky;top:0;z-index:1}th:first-child{left:0;z-index:2;text-align:left;min-width:130px}td button{border:0;background:transparent;padding:2px;color:var(--green);width:100%;font-size:12px}.source-copy{font-size:14px;line-height:1.85;overflow:auto}.source-copy p{margin:20px 0;color:#66746c}.source-copy b{color:var(--ink)}.source-links{display:grid;gap:9px}.source-links a{text-decoration:none}.loading{height:130px;display:grid;place-content:center;color:var(--muted);font-size:13px}.error{color:#956326}
@media(min-width:1600px){main{grid-template-columns:306px 1fr 370px}.places-body{padding:25px}.route-panel{padding:30px}.city-photo{height:175px}}
@media(max-width:1150px){main{grid-template-columns:230px minmax(230px,1fr) 306px}.places-body{padding:17px 12px}.route-panel{padding:24px 17px}.head-center{display:none}.map-toolbar{left:12px;top:12px}.map-toolbar button{font-size:11px;padding:8px}.map-legend{left:12px;top:66px;gap:7px;font-size:10px}.airport-inset{left:12px;bottom:44px;padding:10px;gap:8px}.airport-inset div>span{font-size:10px}.airport-inset b{margin-left:0}.select-row select{max-width:180px}}
@media(max-width:850px){header{height:72px;padding:0 16px}.brand strong{font-size:20px}.brand-icon{width:37px;height:37px;font-size:22px}.brand div>span{font-size:9px}.local-tag{display:none}.head-actions{gap:5px}.head-actions button{padding:8px;font-size:12px}.head-actions button span{margin-left:4px}main{height:auto;min-height:0;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.map-panel{grid-row:1;grid-column:1/-1;height:57vh;min-height:360px}.places-panel{grid-row:2;grid-column:1;border-top:1px solid var(--line);overflow:visible}.route-panel{grid-row:2;grid-column:2;overflow:visible;padding:24px 16px}.city-photo{height:135px}.map-toolbar{top:15px;left:15px}.map-legend{top:68px;left:15px}.airport-inset{left:15px}.select-row select{max-width:calc(100% - 41px)}.city-photo strong{font-size:24px}.city-photo>div{left:13px}.hub-card{padding:10px 7px}.hub-card strong{font-size:12px}}
@media(max-width:520px){main{display:flex;flex-direction:column}.map-panel{height:50vh;min-height:360px;order:0}.route-panel{order:1}.places-panel{order:2}.route-heading h1{margin-bottom:16px}.route-inputs{max-width:none}.select-row select{max-width:none;width:calc(100% - 52px)}.mode-tabs{margin-top:14px}.metrics{gap:35px}.destination{margin-top:16px}.places-body{padding:20px}.city-photo{height:150px}.city-photo>div{inset:28px 20px auto}.city-photo strong{font-size:30px}.hub-card{padding:13px}.hub-card strong{font-size:14px}#placeList{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.place-item{gap:8px}.place-content strong{font-size:12px}.place-content small{font-size:10px}.place-num{width:24px;height:24px;flex-basis:24px}dialog{padding:18px}.dialog-heading h2{font-size:21px}.dialog-note{font-size:12px}}

.route-details{margin-top:15px}.route-details summary{font-size:12px;color:var(--green);cursor:pointer;padding:4px 0}.route-details .route-steps{margin-top:12px}.map-footer a{color:inherit}

/* Clean geographic view: only the chosen route and curated destinations. */
.map-panel{container-type:inline-size;background:#f5f7f8}
#map{background:#f5f7f8}
.quiet-basemap{filter:grayscale(1) saturate(0) contrast(.64) brightness(1.23);opacity:.36}
.basemap-toggle{position:absolute;top:20px;right:20px;z-index:500;background:#fff;border:1px solid #dce4e2;padding:12px 14px;font-size:12px;box-shadow:0 3px 16px #263d360a}
.basemap-toggle[aria-pressed="true"]{background:#edf4f0;color:var(--green)}
.map-route-caption{position:absolute;top:116px;left:22px;z-index:450;max-width:calc(100% - 44px);font-size:12px;line-height:1.7;font-weight:500;color:#5d7069;background:#f5f7f8e8;border-radius:5px;padding:4px 7px;pointer-events:none}
.place-tooltip{font-size:13px;line-height:1.6;font-weight:500;padding:3px 8px;border-color:#e0e7e4;box-shadow:0 2px 8px #173b2409;color:#263e34;background:#fff}
.pin{box-shadow:0 2px 7px #213e3422}
.pin.selected{box-shadow:0 0 0 6px #09695b14,0 2px 8px #213e3430}
.map-legend{border:1px solid #e5ebe8;background:#fffffff5}
.leaflet-control-scale{margin-bottom:32px!important;margin-right:13px!important}
.leaflet-control-scale-line{border-color:#9daea7;color:#61756b;background:#f5f7f8e8;font-size:10px}
.leaflet-control-zoom{margin-bottom:10px!important}
@container(max-width:450px){.basemap-toggle{top:auto;bottom:153px;right:12px;padding:9px 10px}.map-route-caption{top:104px;left:15px;font-size:11px}}
@media(max-width:850px){.map-route-caption{top:105px;left:15px}.basemap-toggle{top:auto;bottom:153px;right:12px}}

/* Preserve real roads and water geography; suppress distracting labels and colors. */
.quiet-basemap{filter:grayscale(.92) saturate(.12) contrast(.8) brightness(1.12);opacity:.76}
.map-panel,#map{background:#f4f5f3}
.map-route-caption{background:#f4f5f3e8}

/* Restore neighborhood context while gently reducing the original map colors. */
.quiet-basemap{filter:saturate(.68) contrast(.94) brightness(1.025);opacity:1}
#citySelect{display:block;width:100%;border:1px solid #d9e3dd;background:#f5f8f5;color:var(--ink);border-radius:7px;padding:10px;margin:6px 0 21px;font-size:13px}
.city-select-label{font-size:12px;color:var(--muted)}
.pin.nearby{width:21px;height:21px;margin:4px;background:#fff;color:#507368;border:1.5px solid #789c90;font-size:10px}
.context-tooltip{display:none!important}
.nearby-labels .context-tooltip,.context-tooltip.selected-place-tooltip{display:block!important}
.nearby-heading{font-size:14px;font-weight:600;margin:22px 0 6px}
.nearby-subtitle{font-size:11px;color:var(--muted);line-height:1.7;margin-bottom:8px}
.nearby-card{display:flex;justify-content:space-between;align-items:center;gap:10px;text-align:left;width:100%;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:11px 0;font-size:11px}
.nearby-card strong{font-size:13px;font-weight:500;display:block}.nearby-card small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.nearby-card>span:last-child{white-space:nowrap;color:var(--green)}
.precision-note{background:#fff4dc;padding:10px;border-radius:6px;color:#866421!important}

.airport-inset[hidden]{display:none}.nearby-jump{font-size:12px;color:var(--green);padding:7px 9px;background:#f0f6f2;border-color:#dce8df;white-space:nowrap}.nearby-heading{scroll-margin-top:18px}
