:root{--ink:#12352f;--dark:#0f2c27;--green:#15644d;--bright:#dcf4cd;--cream:#f7f8f2;--muted:#74817d;--hair:#e3e9e1;--white:#fff;--orange:#c86b38;--blue:#396cae}
[hidden]{display:none!important}
.route-values,.route-foot{display:block}
.comparison-actions{display:flex;gap:7px;margin-bottom:10px}.comparison-table-wrap{width:100%;overflow-x:auto}.comparison-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:10.5px}.comparison-table th,.comparison-table td{padding:9px 5px;border-bottom:1px solid var(--hair);text-align:right;vertical-align:top;overflow-wrap:anywhere}.comparison-table th:first-child{width:43%;text-align:left;font-weight:600}.comparison-table thead th{font-size:11px}.comparison-panel>.outline-button{width:100%;font-size:11px;margin-top:8px}.reference-key{color:#8250b5}.planned-key{color:#1f8260}.compare-legend{position:absolute;z-index:400;pointer-events:none;bottom:100px;left:25px;display:flex;gap:14px;flex-wrap:wrap;max-width:calc(100% - 50px);padding:10px 13px;background:#fffffff0;border-radius:10px;box-shadow:0 3px 17px #28402a18;font-size:11px}.compare-legend span{display:flex;align-items:center;gap:7px}.compare-legend i{display:inline-block;width:24px;border-top:4px solid #1f8260}.compare-legend .reference-line{border-top:4px dashed #8250b5}@media(max-width:800px){.compare-legend{top:78px;bottom:auto;left:13px;max-width:calc(100% - 26px);padding:8px 10px;font-size:10px}}
*{box-sizing:border-box}body{margin:0;font:14px/1.45 'DM Sans',system-ui,Arial,sans-serif;color:var(--ink);background:#eaf1e8}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #98d9ad;outline-offset:2px}.app-shell{height:100dvh;min-height:510px;display:flex;overflow:hidden}.sidebar{position:relative;z-index:500;width:418px;min-width:360px;background:#fff;box-shadow:6px 0 26px #173a2415;display:flex;flex-direction:column}.brand-row{display:flex;align-items:center;justify-content:space-between;min-height:86px;border-bottom:1px solid var(--hair);padding:15px 25px 15px 26px}.brand-lockup{display:flex;align-items:center;gap:12px}.brand-symbol{background:#dff2cd;width:43px;height:43px;border-radius:13px;display:grid;place-items:center}.brand-symbol svg{width:30px;fill:none;stroke:var(--green);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.brand-name{font:800 27px/.95 Manrope,sans-serif;letter-spacing:-1.7px}.brand-period{color:#7dad55}.brand-caption{margin-top:6px;font:700 8px/1.1 Manrope,sans-serif;color:#81918a;letter-spacing:1.6px}.prototype-label{font:800 9px/1 Manrope;padding:6px 9px;color:#2f6a52;background:#e8f4e8;border-radius:99px;letter-spacing:1px}.sidebar-scroll{overflow:auto;overscroll-behavior:contain;flex:1;padding:0 25px 30px}.hero{padding:29px 1px 21px}.eyebrow{font:800 9px Manrope,sans-serif;color:#568774;letter-spacing:1.55px;display:flex;align-items:center;gap:7px}.dot,.live-dot{display:inline-block;width:6px;height:6px;background:#68a46a;border-radius:50%}.hero h1{font:800 29px/1.23 Manrope,sans-serif;letter-spacing:-1.5px;margin:13px 0 10px}.hero h1 em{font-style:normal;color:#458969}.hero p{font-size:12.5px;color:#76847d;max-width:300px;margin:0;line-height:1.7}.panel{background:#fff;border:1px solid var(--hair);border-radius:17px;padding:18px 18px 17px;margin:0 0 15px;box-shadow:0 6px 24px #182c1e07}.section-head{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:16px}.section-head h2{font:800 15px/1.1 Manrope,sans-serif;letter-spacing:-.4px;margin:0}.text-button{border:0;background:none;padding:3px;color:#608678;font-size:11px;font-weight:700}.text-button:hover{text-decoration:underline}.waypoint-list{position:relative;display:flex;flex-direction:column;gap:8px;margin:1px 0 12px}.waypoint-row{display:flex;align-items:center;gap:10px;border:1px solid #e8ede6;border-radius:10px;padding:9px 10px;min-width:0;background:#fff}.waypoint-symbol{width:20px;height:20px;border-radius:50%;color:#fff;font-weight:800;font-size:10px;display:grid;place-items:center;flex-shrink:0;background:var(--green)}.waypoint-symbol.end{background:#ed8b50}.waypoint-symbol.via{background:#a6b6a6}.waypoint-content{min-width:0;flex:1}.waypoint-name{font-size:12px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.waypoint-coord{font-size:10px;color:#87948e;font-variant-numeric:tabular-nums}.wp-remove{border:0;background:none;color:#a1aba3;font-size:20px;padding:0 4px;line-height:1}.wp-remove:hover{color:#b14f3a}.empty-waypoints{padding:15px;background:#f7faf4;border:1px dashed #d7e3d6;color:#75867b;border-radius:12px;font-size:12px;text-align:center}.row-actions{display:flex;gap:7px}.soft-button{flex:1;border:1px solid #e3eee3;color:#29634e;font-size:11px;font-weight:800;border-radius:9px;background:#f3f8ef;padding:11px 6px;white-space:nowrap}.soft-button.active{border-color:#7daf79;background:#e2f1db}.soft-button.avoid-btn{color:#8d6148;background:#fff8f4;border-color:#efe6de}.avoid-list{font-size:11px;margin-top:8px;color:#af6a43}.avoid-chip{display:flex;justify-content:space-between;padding:6px 10px;border-radius:7px;background:#fff5ed;margin-top:5px}.avoid-chip button{border:0;background:none;color:inherit}.place-search{margin-top:12px}.search-bar{display:flex;border:1px solid var(--hair);border-radius:10px;align-items:center;padding-left:11px;gap:6px}.search-bar>span{font-size:23px;color:#8a968e}.search-bar input{border:0;outline:0;min-width:0;flex:1;font-size:11.5px;padding:10px 0;background:transparent}.search-bar button{border:0;border-left:1px solid var(--hair);background:#f3f6f1;border-radius:0 9px 9px 0;padding:10px 9px;color:var(--green);font-size:11px;font-weight:800}.search-results{margin-top:8px;border:1px solid var(--hair);border-radius:10px;background:white;max-height:230px;overflow-y:auto}.search-results button{display:block;width:100%;border:0;border-bottom:1px solid #edf0ec;text-align:left;background:white;padding:10px;color:var(--ink);font-size:11px}.search-results button:hover{background:#f0f7ed}.hint-line{font-size:10.5px;color:#8b968d;margin:11px 0 0}.field-label{display:block;font-size:11px;font-weight:800;margin:11px 0 7px}.subtle{font:800 9px Manrope,sans-serif;letter-spacing:.6px;color:#a0aaa4}.select-wrap{position:relative}.select-wrap:after{position:absolute;pointer-events:none;right:13px;top:9px;content:'⌄';font-size:20px;color:#678979}.select-wrap select{width:100%;border:1px solid var(--hair);background:#f9fbf7;border-radius:10px;padding:12px 30px 12px 12px;appearance:none;font-size:12px;font-weight:700;color:var(--ink)}.segmented{display:flex;gap:4px;background:#f4f7f2;border-radius:10px;padding:4px}.segmented button{border:0;border-radius:8px;background:transparent;padding:10px 5px;color:#7b8b81;font-size:11.5px;font-weight:700;flex:1}.segmented button.active{color:#245843;background:white;box-shadow:0 1px 6px #00000013}.slider-block{margin-top:17px}.slider-title{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:11.5px;font-weight:700}.slider-title output{font-weight:800;color:var(--green);white-space:nowrap}input[type=range]{width:100%;accent-color:#398668;margin:13px 0 1px}.range-ends{display:flex;justify-content:space-between;color:#99a49c;font-size:10px}.primary-button{margin-top:19px;width:100%;padding:14px 15px;display:flex;justify-content:space-between;align-items:center;background:#165c47;color:white;border:0;border-radius:11px;font-size:13px;font-weight:800;box-shadow:0 7px 17px #12564224;transition:background .15s}.primary-button:not(:disabled):hover{background:#0c4234}.primary-button>span:last-child{font-size:21px;line-height:0}.tiny-note{font-size:10px;text-align:center;color:#98a29c;margin:11px 0 0}.small-muted{margin:-3px 0 14px;font-size:11px;color:#849087;line-height:1.55}.route-cards{display:flex;flex-direction:column;gap:8px}.route-card{border:1px solid #e1e8df;padding:12px 12px;background:#fff;border-radius:11px;display:flex;gap:10px;align-items:flex-start;cursor:pointer;text-align:left;width:100%}.route-card:hover{border-color:#a4cbb5}.route-card.active{border:1.5px solid #347961;background:#f4faf2}.color-bar{margin-top:4px;height:30px;width:4px;border-radius:2px;background:#207956;flex-shrink:0}.route-data{flex:1;min-width:0}.route-name{display:flex;justify-content:space-between;gap:5px;align-items:center;font-weight:800;font-size:12px}.route-values{font-size:11px;color:#6e8075;margin-top:3px}.route-badge{font-size:9px;background:#dbefdb;color:#256043;border-radius:9px;padding:3px 7px;font-weight:800;white-space:nowrap}.route-foot{font-size:10px;color:#8c9890;margin-top:5px}.route-radio{height:17px;width:17px;border-radius:50%;border:1.5px solid #bed2bf;display:grid;place-items:center;margin-top:5px}.route-card.active .route-radio{border-color:#31785e}.route-card.active .route-radio:after{content:'';height:9px;width:9px;background:#31785e;border-radius:50%}.selected-details{margin-top:17px;background:#f7faf5;border-radius:13px;padding:13px}.selected-details>h3{font:800 12px Manrope,sans-serif;margin:0 0 10px}.metric-row{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;margin:7px 0;color:#587064}.metric-row strong{color:#274a3c}.bar-track{height:7px;background:#e5eee5;border-radius:9px;display:flex;overflow:hidden;margin:9px 0 10px}.bar-track>span{height:100%}.details-note{font-size:10px;color:#96a39b;line-height:1.5;margin:9px 0 0}.export-grid{display:grid;grid-template-columns:1fr 86px;gap:8px;align-items:end}.export-button{justify-content:center;margin-top:12px;font-size:12px;padding:14px 8px}.outline-button{border:1px solid #b8d3c2;color:#2c6f53;background:#fff;border-radius:10px;font-size:12px;font-weight:800;padding:13px 7px}.info-footer{font-size:10px;line-height:1.6;color:#94a199;padding:4px 5px 20px}.info-footer strong{color:#637d70}.info-footer a{color:#4b8771}.info-footer div{margin-top:10px}.map-wrap{flex:1;min-width:0;position:relative;background:#e3eee0;overflow:hidden}#map{height:100%;width:100%;z-index:1}.map-fallback{position:absolute;inset:0;display:grid;place-items:center;background:#edf2ea;text-align:center;padding:20px;z-index:3}.map-fallback[hidden]{display:none}.leaflet-container{font-family:'DM Sans',sans-serif;background:#e4eee0}.leaflet-control-zoom{border:0!important;box-shadow:0 6px 20px #1a392322!important}.leaflet-control-zoom a{color:#285b48!important}.leaflet-bottom.leaflet-right{margin-bottom:16px}.map-topbar{position:absolute;z-index:400;top:24px;left:25px;right:25px;display:flex;align-items:center;justify-content:space-between;pointer-events:none;gap:10px}.map-pill{box-shadow:0 3px 17px #28402a18;background:white;padding:12px 14px;border-radius:99px;display:flex;align-items:center;gap:9px;font-size:11px;font-weight:800;color:#254d3d;pointer-events:auto}.pill-separator{height:13px;border-left:1px solid #dfe7de;margin:0 2px}.map-tools{display:flex;gap:8px;pointer-events:auto}.map-tool{width:43px;height:43px;background:#fff;border:0;border-radius:13px;box-shadow:0 4px 17px #213e2723;color:#26664e;font-size:25px;display:grid;place-items:center;cursor:pointer}.map-tool:hover{background:#eef6e9}.upload-tool{font-size:26px}.map-hint{position:absolute;z-index:400;top:86px;left:25px;background:#143e32;color:white;box-shadow:0 7px 17px #0a2b2240;padding:13px 15px;border-radius:10px;display:flex;align-items:center;gap:10px;font-size:12px}.hint-icon{font-size:17px;color:#b6dc92}.map-hint button,.mode-badge button,.import-badge button{background:none;border:0;color:inherit;font-size:20px;padding:0 2px;line-height:1}.mode-badge{position:absolute;z-index:400;top:86px;left:25px;padding:12px 13px;background:#fbefd4;color:#74511a;font-size:12px;font-weight:800;border-radius:10px;box-shadow:0 4px 16px #253a2030;display:flex;align-items:center;gap:12px}.mode-badge[hidden],.import-badge[hidden]{display:none}.import-badge{position:absolute;z-index:400;bottom:45px;left:25px;background:#fff;box-shadow:0 5px 19px #152c2430;border:1px dashed #8b98a3;padding:10px 12px;border-radius:10px;display:flex;align-items:center;gap:9px;font-size:11px;color:#39596b}.map-bottom-tag{position:absolute;z-index:400;left:25px;bottom:18px;background:#ffffffdb;backdrop-filter:blur(7px);color:#447c61;border-radius:10px;font-size:10px;font-weight:800;letter-spacing:.1px;padding:8px 11px;box-shadow:0 2px 12px #1d442411}.pin{height:26px;min-width:26px;padding:0 5px;background:#185f48;color:white;border:3px solid white;display:grid;place-items:center;font-weight:800;font-size:11px;box-shadow:0 3px 10px #16472d68;border-radius:50%;}.pin.end{background:#df7b43}.pin.via{background:#789b80}.pin.avoid{background:#bf634e}.leaflet-div-icon{border:0;background:transparent}.toast{position:fixed;z-index:1500;bottom:24px;left:50%;transform:translateX(-50%) translateY(100px);padding:13px 17px;background:#17372e;color:white;box-shadow:0 10px 28px #1d332a40;border-radius:12px;max-width:min(400px,calc(100% - 28px));opacity:0;transition:transform .23s,opacity .23s;text-align:center;font-size:12px;pointer-events:none}.toast.show{transform:translateX(-50%) translateY(0);opacity:1}.mobile-panel-toggle{display:none}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(min-width:1400px){.sidebar{width:450px}.sidebar-scroll{padding-left:30px;padding-right:30px}.hero{padding-top:37px}.hero h1{font-size:33px}}
@media(max-width:800px){.app-shell{display:block}.sidebar{width:100%;min-width:0;height:auto;position:absolute;z-index:600;top:auto;bottom:0;left:0;max-height:min(67dvh,640px);background:white;border-radius:20px 20px 0 0;box-shadow:0 -7px 35px #1b322a22;transition:transform .22s;overflow:hidden}.sidebar.collapsed{transform:translateY(calc(100% - 1px))}.brand-row{display:none}.sidebar-scroll{height:100%;max-height:min(67dvh,640px);padding:0 17px 24px}.hero{padding:18px 2px 16px}.hero h1{font-size:23px;margin:7px 0}.hero p{display:none}.eyebrow{font-size:8px}.map-wrap{width:100%;height:100dvh}.mobile-panel-toggle{display:flex;position:absolute;z-index:700;bottom:min(67dvh,640px);left:50%;transform:translate(-50%,50%);background:#194d3b;color:white;box-shadow:0 3px 11px #133a292b;border:0;border-radius:99px;padding:10px 20px;align-items:center;gap:11px;font-size:12px;font-weight:800}.sidebar.collapsed~.map-wrap .mobile-panel-toggle{bottom:30px}.sidebar.collapsed~.map-wrap .mobile-panel-toggle span{transform:rotate(180deg)}.map-topbar{top:17px;left:13px;right:13px}.map-pill{font-size:9px;padding:10px}.map-tool{width:38px;height:38px;font-size:22px}.map-tools{gap:5px}.map-hint,.mode-badge{top:71px;left:13px;max-width:calc(100% - 26px);font-size:11px}.import-badge{left:13px;top:125px;bottom:auto;max-width:calc(100% - 26px)}.map-bottom-tag{display:none}.leaflet-bottom.leaflet-right{margin-bottom:80px}.sidebar.collapsed~.map-wrap .leaflet-bottom.leaflet-right{margin-bottom:55px}}
@media(min-width:801px){.sidebar.collapsed{transform:none!important}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}

/* Keep required OSM attribution above the mobile planning sheet. */
@media(max-width:800px){.leaflet-control-attribution{position:fixed;top:0;right:0;bottom:auto;max-width:100vw;font-size:9px}}
