:root{--g:#1f6f4a;--r:#d7263d;--s:#f2b134;--c:#fff8ec}*{box-sizing:border-box}body,html{margin:0;height:100%;overflow:hidden;font-family:Nunito,Segoe UI,system-ui,sans-serif;color:#1d2b24;-webkit-text-size-adjust:100%}.app{position:fixed;inset:0}#map{inset:0}#map,header{position:absolute}header{top:10px;left:10px;display:flex;align-items:center;gap:8px;background:#fff;border-radius:14px;padding:6px 12px 6px 6px;box-shadow:0 2px 10px #0002;z-index:3;color:var(--g);font-size:17px}header img{height:32px;border-radius:8px}.gear{position:absolute;top:10px;right:10px;z-index:3;width:44px;height:44px;border-radius:12px;border:0;background:#fff;box-shadow:0 2px 10px #0002;font-size:22px;cursor:pointer}.maplibregl-ctrl-top-right{top:58px}.hint{position:absolute;top:66px;left:50%;transform:translateX(-50%);background:var(--g);color:#fff;padding:10px 16px;border-radius:24px;font-weight:700;z-index:3;box-shadow:0 2px 10px #0003;white-space:nowrap;max-width:94vw;overflow:hidden;text-overflow:ellipsis}.hint button{background:none;border:0;color:#fff;font-size:16px;margin-left:6px}.pin{width:30px;height:30px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:var(--r);color:#fff;display:grid;place-items:center;font-weight:800;border:2px solid #fff;box-shadow:0 2px 6px #0004}.startpin{font-size:22px;filter:drop-shadow(0 1px 3px #0006)}.stn{width:12px;height:12px;border-radius:50%;border:3px solid var(--g)}.poi,.stn{background:#fff}.poi{width:30px;height:30px;border-radius:50%;border:2px solid var(--s);display:grid;place-items:center;font-size:16px;box-shadow:0 1px 5px #0003;cursor:pointer}.sheet{position:absolute;left:0;right:0;bottom:0;z-index:4;background:var(--c);border-radius:20px 20px 0 0;box-shadow:0 -4px 20px #0003;display:flex;flex-direction:column;max-height:64px;transition:max-height .25s;overflow:hidden}.sheet.open{max-height:66vh}.bar{display:flex;align-items:center;gap:8px;padding:8px 10px;min-height:52px}.bar .ttl{flex:1 1;font-size:17px;color:var(--g);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.icon{width:38px;height:38px;border-radius:10px;border:0;background:#efe6d6;font-size:18px;font-weight:800;cursor:pointer;flex:0 0 auto}.handle{width:38px;display:grid;place-items:center;cursor:pointer}.handle i{display:block;width:30px;height:5px;border-radius:3px;background:#c9bfae}.body{overflow:auto;padding:0 14px 8px;flex:1 1;min-height:0}.startchip{display:flex;align-items:center;gap:6px;width:100%;text-align:left;border:2px solid var(--g);background:#fff;border-radius:12px;padding:10px;font-size:15px;cursor:pointer;margin:2px 0 8px;font-family:inherit}.startchip b{flex:1 1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.startchip span{color:var(--g);font-size:13px;font-weight:700}.tabs{display:flex;gap:6px}.tabs button{flex:1 1;border:0;border-radius:12px;padding:10px;font-weight:800;background:#efe6d6;color:#555;font-size:15px}.tabs .on{background:var(--g);color:#fff}label{display:block;margin:10px 0 0;font-weight:700;font-size:14px}input,select{width:100%;padding:10px;border:1px solid #cfc6b4;border-radius:10px;font-size:16px;background:#fff;margin-top:4px;font-family:inherit}input[type=range]{padding:0;accent-color:var(--r);border:0;background:none}.row{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px}.row>*{min-width:0}.check{display:flex;align-items:center;gap:8px;font-weight:600}.check input{width:22px;height:22px;margin:0;accent-color:var(--g)}.points{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:16px;margin-top:10px}.link{background:none;border:0;color:var(--g);font-weight:700;padding:6px 0;cursor:pointer;font-size:15px;font-family:inherit}.ai{display:flex;gap:6px;margin-top:12px}.ai input{margin:0}.ai button{border:0;border-radius:10px;background:var(--s);font-size:20px;padding:0 14px}.cta{padding:10px 14px calc(10px + env(safe-area-inset-bottom));border-top:1px solid #eadfcc}.cta:empty{display:none}.two{display:grid;grid-template-columns:1.4fr 1fr;grid-gap:8px;gap:8px}.two .btn{margin:0}.btn{display:block;width:100%;text-align:center;background:var(--r);color:#fff;border:0;border-radius:14px;padding:14px;font-weight:800;font-size:16px;cursor:pointer;text-decoration:none;font-family:inherit}.btn:disabled{opacity:.6}.btn.ghost{color:var(--g);border:2px solid var(--g);font-size:15px;padding:10px}.btn.ghost,.tcard{background:#fff;margin:8px 0}.tcard{display:flex;gap:10px;border-radius:12px;padding:8px;box-shadow:0 1px 4px #0001;cursor:pointer;align-items:center}.tcard .ph,.tcard img{width:86px;height:68px;border-radius:8px;object-fit:cover;flex:0 0 auto;display:grid;place-items:center;background:#efe6d6;font-size:28px}.seg{border-left:6px solid var(--g);background:#fff;border-radius:10px;padding:8px 10px;margin:8px 0;cursor:pointer}.seg.walk{border-color:var(--r)}.seg.bus{border-color:#2563eb}.seg.subway{border-color:#0ea5e9}.xfer{color:#6b756f;font-size:13px;padding:2px 0 2px 14px}.plat{background:var(--s);border-radius:6px;padding:0 6px;font-weight:800;margin-left:6px}.muted{color:#6b756f;font-size:.9em}.sum{font-weight:700;margin:4px 0}.note{background:#fff3d6;border-radius:10px;padding:8px;font-size:14px}.err{color:var(--r);font-weight:700}.alert{display:block;background:#ffe4e1;border-left:5px solid var(--r);border-radius:8px;padding:8px;margin:6px 0;font-size:14px;color:#1d2b24;text-decoration:none}.delay{margin-left:8px;background:#d8f0e0;color:var(--g);border-radius:6px;padding:1px 6px;font-size:13px;font-weight:800}.delay.bad{background:var(--r);color:#fff}.prof{width:100%;height:auto;margin:4px 0}.prof text{fill:#6b756f}.pois{display:flex;gap:8px;overflow-x:auto;padding-bottom:6px}.poicard{flex:0 0 120px;background:#fff;border-radius:10px;overflow:hidden;text-decoration:none;color:#1d2b24;font-size:12px;box-shadow:0 1px 4px #0001}.poicard .ph,.poicard img{width:120px;height:80px;object-fit:cover;display:grid;place-items:center;background:#efe6d6;font-size:28px}.poicard span{display:block;padding:4px 6px}.poicard.big{flex-basis:200px}.poicard.big img{width:200px;height:140px}h4{margin:10px 0 4px;color:var(--g)}.modal{position:fixed;inset:0;background:#0006;z-index:10;display:grid;place-items:end center}.dlg{background:var(--c);width:100%;max-width:520px;max-height:90vh;overflow:auto;border-radius:20px 20px 0 0;padding:6px 16px calc(16px + env(safe-area-inset-bottom))}.dlg .bar{padding:6px 0}.found{display:flex;flex-direction:column;gap:4px;margin-top:6px}.found button{text-align:left;border:0;background:#fff;border-radius:10px;padding:10px;font-size:15px;font-family:inherit}.chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.chips button{border:1px solid #cfc6b4;background:#fff;border-radius:20px;padding:8px 12px;font-size:14px;font-family:inherit}.chips .on{background:var(--g);color:#fff;border-color:var(--g)}@media(min-width:800px){.sheet,.sheet.open{left:10px;top:64px;bottom:10px;right:auto;width:410px;max-height:none;border-radius:18px}.modal{place-items:center}.dlg{border-radius:20px}}.hero{display:block;width:100%;border:0;border-radius:16px;padding:14px;margin:2px 0 8px;background:linear-gradient(135deg,var(--g),#2e8b5e);color:#fff;text-align:left;cursor:pointer;font-family:inherit}.hero b{display:block;font-size:20px}.hero span{font-size:13px;opacity:.9}.chips.comp button{padding:6px 10px;font-size:13px}.sheet.full{max-height:calc(100vh - 70px)}.fin{display:block;background:#fff;border-radius:10px;padding:8px 10px;margin:6px 0;text-decoration:none;color:#1d2b24}.btn.waybtn{background:var(--g);margin-bottom:8px}.onway{position:fixed;inset:0;z-index:20;background:var(--c);padding:10px 18px calc(18px + env(safe-area-inset-bottom));overflow:auto;text-align:center}.onway .big{font-size:28px;font-weight:800;color:var(--g)}.onway .clock{font-size:clamp(30px,13vw,64px);font-weight:900;color:var(--r);margin:6px 0}.state{font-size:20px;font-weight:800;border-radius:12px;padding:10px}.state.ok{background:#d8f0e0;color:var(--g)}.state.hurry{background:#fff3d6;color:#9a6400}.state.miss{background:#ffe4e1;color:var(--r)}.badges{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:6px;gap:6px}.bdg{background:#fff;border-radius:10px;padding:6px;text-align:center;font-size:11px;opacity:.35;filter:grayscale(1)}.bdg.on{opacity:1;filter:none;border:2px solid var(--s)}.bdg span{display:block;font-size:26px}.sheet.peek{max-height:none}.sheet.peek .body{display:none}.peekbox{padding:0 14px 6px;cursor:pointer}.peekbox .sum{font-weight:700}.peekbox .more{margin-top:6px;text-align:center;font-weight:800;color:#fff;background:var(--g);border-radius:12px;padding:10px}.sheet.peek .cta{display:none}.amen{font-size:15px;width:24px;height:24px;border-radius:50%;background:#fff;display:grid;place-items:center;box-shadow:0 1px 4px #0004;cursor:pointer}.amen.fin{border:2px solid var(--s)}.me{width:18px;height:18px;border-radius:50%;background:#2563eb;border:3px solid #fff;box-shadow:0 0 0 6px #2563eb44}.hint.bad{background:var(--r)}.seg2{display:grid;grid-template-columns:1fr 1fr;grid-gap:6px;gap:6px;margin:0 0 8px}.seg2 button{border:2px solid var(--g);background:#fff;color:var(--g);border-radius:12px;padding:9px 6px;font-weight:800;font-size:13px;font-family:inherit}.seg2 .on{background:var(--g);color:#fff}button.fin{width:100%;font-size:14px}button.fin,button.poicard{text-align:left;border:0;font-family:inherit;cursor:pointer}button.poicard{padding:0}.seg3{display:grid;grid-template-columns:1fr 1fr 1fr;grid-gap:6px;gap:6px;margin:0 0 6px}.seg3 button{border:2px solid var(--g);background:#fff;color:var(--g);border-radius:12px;padding:8px 4px;font-weight:800;font-size:12px;font-family:inherit;line-height:1.2}.seg3 .on{background:var(--g);color:#fff}.surf{border-radius:16px;padding:5px 10px;font-size:13px;font-weight:700;background:#fff;border:2px solid #9ca3af}.surf.s2{border-color:#92400e}.surf.s3{border-color:#111827}.marks{padding-left:0;list-style:none;margin:4px 0}.marks li{display:flex;gap:8px;align-items:center;background:#fff;border-radius:10px;padding:8px;margin:5px 0;cursor:pointer;font-size:14px}.kct{flex:0 0 22px;height:16px;border:1px solid #bbb;border-radius:2px;display:inline-block}.kct.none{background:repeating-linear-gradient(45deg,#ddd 0 4px,#fff 4px 8px)}.amen.rep{border:2px solid var(--r)}.onway h2{margin:8px 0;color:var(--g)}