:root{--ink:#203d39;--paper:#fffef9;--bg:#f4f3eb;--line:#cfdbd4;--green:#245b4b;--blue:#366f9e;--orange:#ad602e;font-family:system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--bg);font-size:16px}*{box-sizing:border-box}body{margin:0}a{color:var(--green);text-underline-offset:4px}button,input{font:inherit}button,a,input{touch-action:manipulation}button{cursor:pointer;padding:.65rem .85rem;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:8px;min-height:44px}button:hover{border-color:var(--green)}button[aria-pressed=true],button[aria-selected=true]{background:var(--green);color:white;border-color:var(--green)}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #cf852f;outline-offset:3px}header{padding:1rem 1.5rem;display:flex;align-items:center;gap:1.2rem;flex-wrap:wrap;border-bottom:1px solid var(--line)}header h1{font-size:1.3rem;margin:0}header span{margin-left:auto;font-size:.875rem}main{padding:1rem 1.5rem;max-width:1700px;margin:auto}.controls{display:flex;justify-content:space-between;gap:.8rem;flex-wrap:wrap;margin-bottom:1rem}.view-switch,.dates{display:flex;gap:.45rem;flex-wrap:wrap}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 350px;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--paper)}.map-pane{min-width:0}#map{height:590px;background:#e7eae3}.map-caption,.legend{display:flex;gap:1rem;flex-wrap:wrap;font-size:.875rem;padding:.7rem 1rem}.map-caption{border-bottom:1px solid var(--line)}.line{display:inline-block;width:25px;border-top:3px solid #326b95;vertical-align:middle;margin-right:.35rem}.line.dashed{border-top-style:dashed;border-color:#72665b}.line.dotted{border-top-style:dotted;border-color:#6a8b7b}.planned{color:var(--green)}.optional{color:var(--orange)}.extra{color:var(--blue)}.gateway{color:#665c50}.totals{padding:0 1rem;font-weight:650}.help{font-size:.875rem;line-height:1.6;margin:.6rem 1rem 1rem}#tile-status{font-size:.875rem;padding:0 1rem;margin:0;color:#974727}aside{border-left:1px solid var(--line);max-height:790px;overflow:auto;scrollbar-gutter:stable}.side-head{position:sticky;top:0;background:var(--paper);z-index:2;padding:1rem .8rem .6rem;border-bottom:1px solid var(--line)}.tabs{display:flex;gap:.35rem}.tabs button{flex:1;font-size:.9375rem;padding:.6rem .4rem}#legs,.search,.filter-row,#spots,#result-count{padding:0 1rem}.day-head{margin:1rem 0 .5rem;padding:.6rem 0;border-top:3px solid var(--day);font-size:1.05rem}.day-head small{display:block;font-size:.875rem;font-weight:400;margin-top:.3rem}.leg{padding:.8rem 0;border-bottom:1px solid var(--line)}.leg>button{border:0;background:transparent;padding:0;text-align:left;font-weight:650;min-height:0;line-height:1.5}.leg p{margin:.4rem 0;font-size:.9375rem}.leg small{font-size:.875rem;line-height:1.6}.leg a{font-size:.875rem}.small-note{font-size:.875rem;line-height:1.65;color:#566b61}.search{display:block;margin-top:1rem}.search input{display:block;width:100%;margin:.4rem 0 .8rem;padding:.7rem;border:1px solid var(--line);border-radius:8px;background:white}.filter-row{display:flex;flex-wrap:wrap;gap:.6rem;font-size:.875rem}.filter-row input{width:18px;height:18px;vertical-align:middle}#result-count{font-size:.875rem;color:#566b61}.spot-card{padding:.85rem 0;border-top:1px solid var(--line)}.spot-card button{padding:0;border:0;background:none;display:block;text-align:left;font-weight:650;min-height:0}.spot-card p{font-size:.875rem;line-height:1.55;margin:.4rem 0}.badge{font-size:.8125rem;display:inline-block;padding:.12rem .35rem;border:1px solid currentColor;border-radius:4px;margin-bottom:.45rem}.selected{margin-top:1rem;padding:1.2rem;border:1px solid var(--line);border-radius:10px;background:var(--paper);line-height:1.7}.selected h2{font-size:1.25rem;margin:0 0 .5rem}.selected p{margin:.5rem 0}.detail-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:1.5rem}.selected .actions{display:flex;gap:.7rem;flex-wrap:wrap;margin-top:.8rem}.actions a{display:inline-block;border:1px solid var(--line);border-radius:6px;padding:.4rem .7rem}.sources{line-height:1.7;margin:1rem 0}.sources summary{cursor:pointer}.sources a{display:inline-block;margin:.2rem 1rem .2rem 0}.leaflet-container{font:inherit}.leaflet-popup-content{font-size:.9375rem;line-height:1.65;max-height:320px;overflow:auto;margin:14px 18px}.leaflet-tooltip.poi-label{background:rgba(255,254,249,.95);border:1px solid #bed0c4;box-shadow:none;color:var(--ink);font-size:.8125rem;font-weight:600;padding:3px 5px;white-space:normal;min-width:65px;max-width:160px}.leaflet-tooltip.road-label{font-size:.8125rem;color:white;border:0;background:#315f7e;padding:2px 5px;box-shadow:none}.leaflet-tooltip.road-label::before{display:none}.poi-icon{background:transparent;border:0}.poi-dot{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;border:2px solid white;box-shadow:0 1px 5px #0005;font-size:12px;color:white;background:var(--marker)}.poi-dot.optional{border-radius:4px;transform:rotate(45deg)}.poi-dot.optional b{transform:rotate(-45deg)}.poi-dot.gateway{border-radius:5px}.leaflet-control-attribution{font-size:12px!important}body.labels-off .poi-label{display:none!important}[hidden]{display:none!important}@media(min-width:1600px){#map{height:640px}}@media(max-width:980px){main{padding:.8rem}.workspace{grid-template-columns:minmax(0,1fr) 300px}#map{height:530px}header{padding:1rem}.detail-grid{grid-template-columns:1fr}}@media(max-width:720px){header{gap:.6rem}header h1{font-size:1.1rem;order:2;width:100%}header span{font-size:.8125rem}.workspace{grid-template-columns:1fr}#map{height:440px;height:58svh;min-height:330px;max-height:510px}aside{border-left:0;border-top:1px solid var(--line);max-height:390px}.controls{gap:.6rem}button{padding:.55rem .7rem;font-size:.9375rem}.map-caption,.legend{gap:.6rem;font-size:.8125rem}.selected{padding:1rem}.detail-grid{gap:.5rem}.leaflet-tooltip.poi-label{font-size:12px;max-width:125px}.leaflet-control-zoom a{width:38px!important;height:38px!important;line-height:38px!important}}@media print{header a,.controls,.tabs,.search,.filter-row{display:none}.workspace{display:block}aside{max-height:none;overflow:visible}.selected{break-inside:avoid}}
