:root{--bg:#fafaf7;--surface:#fff;--ink:#1b1b1f;--muted:#5f6368;--line:#e2e5e8;--chip-line:#d9dce0;--soft:#f1f3f4;--sel:#eef7f2;--accent:#0f7a4f;--accent-text:#0f7a4f;--accent-soft:#eef7f2;--route:#1a73e8;--star:#b06000;--open:#137333;--closed:#c5221f;--tab-h:calc(64px + env(safe-area-inset-bottom));--display:"Space Grotesk", Inter, system-ui, sans-serif;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;font-family:Inter,system-ui,-apple-system,sans-serif}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#121314;--surface:#1e1f21;--ink:#e8eaed;--muted:#a8adb3;--line:#303134;--chip-line:#44474b;--soft:#2a2b2e;--sel:#1d3329;--accent:#157f50;--accent-text:#6fd6a3;--accent-soft:#17291f;--star:#fdba4d;--open:#81c995;--closed:#f28b82}}*{box-sizing:border-box}html,body{background:var(--bg);height:100%;color:var(--ink);margin:0}h1,h2,h3{font-family:var(--display)}button,input,select{font:inherit;color:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--route);outline-offset:2px}input:not([type=range]):not([type=checkbox]){border:1px solid var(--chip-line);background:var(--surface);width:100%;height:44px;color:var(--ink);border-radius:12px;padding:0 12px;font-size:16px}.setup{padding:24px}.app{background:var(--bg);max-width:520px;margin:0 auto;position:fixed;inset:0;overflow:hidden}.map-layer{inset:0 0 var(--tab-h) 0;position:absolute}.screen{inset:0 0 var(--tab-h) 0;pointer-events:none;position:absolute}.screen>*{pointer-events:auto}.panel{background:var(--bg);flex-direction:column;gap:14px;padding:20px 16px 96px;display:flex;position:absolute;inset:0;overflow-y:auto}.panel>*,.bottom-sheet>*,.sheet>*{flex-shrink:0}.tabbar{height:var(--tab-h);padding-bottom:env(safe-area-inset-bottom);background:var(--surface);border-top:1px solid var(--line);z-index:5;grid-template-columns:repeat(3,minmax(0,1fr));display:grid;position:absolute;bottom:0;left:0;right:0}.tabbar button{color:var(--muted);background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:12px;display:flex}.tabbar button[aria-current=page]{color:var(--accent-text);font-weight:700}.primary{background:var(--accent);color:#fff;border:0;border-radius:24px;justify-content:center;align-items:center;gap:8px;min-height:48px;padding:0 18px;font-size:15px;font-weight:700;text-decoration:none;display:flex}.primary:disabled{opacity:.6;cursor:default}.primary[aria-pressed=true]{background:var(--ink);color:var(--bg)}.secondary{border:1px solid var(--chip-line);background:var(--surface);border-radius:24px;min-height:48px;padding:0 18px;font-weight:600}.icon-btn{border:1px solid var(--line);background:var(--surface);width:44px;height:44px;color:var(--ink);border-radius:22px;flex-shrink:0;place-items:center;display:grid}.icon-btn.big{border-radius:26px;width:52px;height:52px}.icon-btn.on-dark{color:#fff;background:#ffffff24;border:0}.icon-btn.fav-on{color:var(--closed)}.chip-row{scrollbar-width:none;gap:8px;margin:0 -16px;padding:2px 16px;display:flex;overflow-x:auto}.chip-row::-webkit-scrollbar{display:none}.chip-row.wrap{flex-wrap:wrap;margin:0;padding:0;overflow:visible}.chip{border:1px solid var(--chip-line);background:var(--surface);height:36px;color:var(--ink);white-space:nowrap;border-radius:18px;flex-shrink:0;align-items:center;gap:6px;padding:0 14px;font-size:13px;display:inline-flex}.chip[aria-pressed=true]{background:var(--ink);color:var(--bg);border-color:var(--ink);font-weight:600}.chip-count{background:var(--accent);color:#fff;border-radius:9px;place-items:center;min-width:18px;height:18px;padding:0 4px;font-size:11px;display:grid}.segmented{background:var(--soft);border-radius:12px;align-self:flex-start;padding:3px;display:inline-flex}.segmented button{height:38px;color:var(--muted);background:0 0;border:0;border-radius:10px;padding:0 14px;font-size:13px}.segmented button[aria-pressed=true]{background:var(--surface);color:var(--ink);font-weight:700;box-shadow:0 1px 3px #00000024}.segmented.wide{align-self:stretch;display:flex}.segmented.wide button{flex:1}.pill-btn{border:1px solid var(--chip-line);background:var(--surface);height:40px;color:var(--ink);white-space:nowrap;border-radius:20px;align-items:center;gap:6px;padding:0 14px;font-size:13px;font-weight:600;display:inline-flex}.pill-btn.raised{border:0;box-shadow:0 4px 14px #00000038}.fab{background:var(--ink);height:48px;color:var(--bg);border:0;border-radius:24px;align-items:center;gap:8px;padding:0 18px;font-weight:600;display:flex;position:absolute;bottom:16px;right:16px;box-shadow:0 6px 18px #00000040}.field{flex-direction:column;gap:6px;display:flex}.field-label{color:var(--muted);font-size:13px}.muted{color:var(--muted)}.accent-text{color:var(--accent-text)}.eyebrow{letter-spacing:.06em;text-transform:uppercase;font-size:12px;font-weight:700}.star{color:var(--star)}.open{color:var(--open);font-weight:600}.closed{color:var(--closed);font-weight:600}.detour{color:var(--accent-text);font-weight:700}.note,.hint{color:var(--muted);margin:0;font-size:13px}.hint{text-align:center}.error{color:var(--closed);margin:0;font-size:14px}.empty{text-align:center;color:var(--muted);margin:0;padding:24px 8px}.link-text{color:var(--accent-text);font-weight:700}.place-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.place-row{text-align:left;border:1px solid var(--line);background:var(--surface);width:100%;color:var(--ink);border-radius:16px;align-items:center;gap:12px;padding:12px 14px;display:flex}.place-main{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.place-name{flex-wrap:wrap;align-items:center;gap:6px;font-size:15px;font-weight:600;display:flex}.place-meta{color:var(--muted);font-size:13px}.place-meta b{color:var(--ink)}.place-meta b.detour{color:var(--accent-text)}.place-dist{white-space:nowrap;font-size:14px;font-weight:700}.near-head{justify-content:space-between;align-items:flex-end;gap:12px;display:flex}.wordmark{font-family:var(--display);color:var(--accent-text);align-items:center;gap:8px;font-size:15px;font-weight:700;display:inline-flex}.wordmark img{border-radius:6px}.near-head h1{margin:2px 0 0;font-size:28px}.radius-badge{background:var(--accent-soft);height:36px;color:var(--accent-text);white-space:nowrap;border-radius:18px;align-items:center;gap:6px;padding:0 12px;font-weight:700;display:inline-flex}.radius{flex-direction:column;gap:4px;display:flex}.radius input{width:100%;accent-color:var(--accent)}.list-title{align-items:center;gap:10px;min-height:24px;display:flex}.list-title h2{margin:0;font-size:17px}.spinner{border:2.5px solid var(--accent-soft);border-top-color:var(--accent-text);border-radius:50%;flex-shrink:0;width:18px;height:18px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.spinner{animation-duration:2s}}.map-topbar{pointer-events:none;align-items:center;gap:8px;display:flex;position:absolute;top:16px;left:16px;right:16px}.map-topbar>*{pointer-events:auto}.pill-note{background:var(--surface);border-radius:16px;padding:8px 12px;font-size:13px;box-shadow:0 2px 8px #00000029}.loc-card{background:var(--surface);border:1px solid var(--line);border-radius:20px;flex-direction:column;gap:10px;padding:20px;display:flex}.loc-card h2{margin:0;font-size:20px}.loc-card p{color:var(--muted);margin:0;font-size:14px;line-height:1.45}.loc-card .hint{text-align:left}.loc-icon{background:var(--accent-soft);width:48px;height:48px;color:var(--accent-text);border-radius:24px;place-items:center;display:grid}.loc-card.blocked .loc-icon{background:var(--soft);color:var(--closed)}.loc-steps{flex-direction:column;gap:8px;margin:0;padding-left:20px;font-size:14px;line-height:1.45;display:flex}.route-card{z-index:2;background:var(--surface);border-radius:18px;flex-direction:column;gap:10px;padding:12px;display:flex;position:absolute;top:12px;left:12px;right:12px;box-shadow:0 6px 24px #00000029}.route-card .chip-row{margin:0 -12px;padding:2px 12px}.route-card input:not([type=range]){background:var(--soft);border-color:#0000}.route-inputs{align-items:center;gap:10px;display:flex}.route-fields{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex}.route-dots{flex-direction:column;align-items:center;gap:4px;display:flex}.route-dots i{display:block}.route-dots .a{background:var(--route);border-radius:50%;width:10px;height:10px}.route-dots .line{background:var(--chip-line);width:2px;height:26px}.route-dots .b{background:var(--ink);border-radius:2px;width:10px;height:10px}.route-dots.small{gap:8px}.route-go{gap:8px;display:flex}.route-go .primary{flex:1}.route-summary{z-index:2;background:var(--surface);min-height:58px;color:var(--ink);text-align:left;border:0;border-radius:16px;align-items:center;gap:12px;padding:10px 16px;display:flex;position:absolute;top:12px;left:12px;right:12px;box-shadow:0 6px 24px #00000029}.route-summary-text{flex-direction:column;flex:1;gap:2px;min-width:0;font-size:13px;display:flex}.route-summary-text b{white-space:nowrap;text-overflow:ellipsis;font-size:15px;overflow:hidden}.bottom-sheet{background:var(--surface);border-radius:24px 24px 0 0;flex-direction:column;gap:10px;height:45%;padding:0 16px 16px;transition:height .25s;display:flex;position:absolute;bottom:0;left:0;right:0;overflow-y:auto;box-shadow:0 -6px 24px #00000024}.bottom-sheet.expanded{height:calc(100% - 84px)}.bottom-sheet .place-row{background:var(--bg)}.grabber{z-index:1;background:var(--surface);border:0;place-items:center;height:28px;margin:0 -16px;display:grid;position:sticky;top:0}.grabber span{background:var(--chip-line);border-radius:3px;width:40px;height:5px}.sheet-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.sheet-head h2{margin:0;font-size:20px}.sheet-head p{margin:2px 0 0;font-size:13px}.panel.timeline{gap:0;padding:0}.tl-head{color:#fff;background:#1b1b1f;flex-direction:column;gap:8px;padding:16px 16px 18px;display:flex}.tl-head h1{margin:4px 0 0;font-size:24px}.tl-head p{color:#c4c7c5;margin:0;font-size:14px}.coverage{border-radius:4px;gap:3px;height:8px;display:flex;overflow:hidden}.coverage span{background:#5f6368}.coverage span.has{background:#34a26e}.tl{--km-w:64px;--node-w:24px;--gap:8px;flex-direction:column;gap:12px;margin:0;padding:20px 16px;list-style:none;display:flex;position:relative}.tl:before{content:"";top:32px;bottom:32px;left:calc(16px + var(--km-w) + var(--gap) + var(--node-w) / 2 - 1.5px);background:var(--chip-line);width:3px;position:absolute}.tl-row{grid-template-columns:var(--km-w) var(--node-w) minmax(0, 1fr);column-gap:var(--gap);align-items:center;display:grid}.tl-km{color:var(--muted);text-align:right;font-size:12px;font-weight:600}.tl-km.start{color:var(--route);font-weight:700}.tl-km.end{color:var(--ink);font-weight:700}.tl-node{z-index:1;background:var(--bg);border:3px solid var(--chip-line);border-radius:50%;justify-self:center;width:12px;height:12px;position:relative}.tl-node.gap{border-style:dashed}.tl-node.a{background:var(--route);border-color:var(--bg);width:18px;height:18px}.tl-node.b{background:var(--ink);border-color:var(--bg);border-radius:4px;width:18px;height:18px}.tl-place-name{font-size:14px;font-weight:600}.tl-card{text-align:left;border:1px solid var(--line);background:var(--surface);width:100%;color:var(--ink);border-radius:16px;flex-direction:column;gap:4px;padding:12px 14px;display:flex}.tl-card .detour{font-size:13px}.tl-empty{border:1px dashed var(--chip-line);color:var(--muted);border-radius:14px;margin:0;padding:10px 14px;font-size:13px}.tl-actions{z-index:2;background:linear-gradient(transparent, var(--bg) 35%);gap:10px;margin-top:auto;padding:16px;display:flex;position:sticky;bottom:0}.tl-actions .primary{flex:1}.sheet-layer{z-index:20;flex-direction:column;justify-content:flex-end;display:flex;position:absolute;inset:0}.sheet-backdrop{cursor:default;background:#00000061;border:0;position:absolute;inset:0}.sheet{background:var(--surface);max-height:88%;padding:8px 20px calc(20px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0;outline:none;flex-direction:column;gap:14px;animation:.2s ease-out sheet-up;display:flex;position:relative;overflow-y:auto}@keyframes sheet-up{0%{opacity:0;transform:translateY(24px)}}@media (prefers-reduced-motion:reduce){.sheet{animation:none}.bottom-sheet{transition:none}}.grabber-bar{background:var(--chip-line);border-radius:3px;align-self:center;width:40px;height:5px}.details-title{flex-direction:column;align-items:flex-start;gap:4px;min-width:0;display:flex}.details-title h2{margin:0;font-size:24px}.details-title p{margin:0;font-size:14px}.stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.stat{background:var(--soft);border-radius:14px;flex-direction:column;gap:2px;padding:12px;display:flex}.stat strong{font-size:18px}.stat>span{color:var(--muted);font-size:12px}.stat.accent{background:var(--accent-soft)}.stat.accent strong{color:var(--accent-text)}.actions{gap:10px;display:flex}.actions .primary{flex:1}.reviews-head{justify-content:space-between;align-items:center;display:flex}.reviews-head h3{margin:0;font-size:16px}.reviews{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.review{border:1px solid var(--line);border-radius:14px;flex-direction:column;gap:4px;padding:12px 14px;font-size:13px;display:flex}.review p{margin:0;font-size:14px;line-height:1.45}.review-top{justify-content:space-between;gap:8px;display:flex}.address{position:relative}.address input{padding-right:36px!important}.address .clear{width:32px;height:32px;color:var(--muted);background:0 0;border:0;font-size:20px;position:absolute;top:50%;right:6px;transform:translateY(-50%)}.suggestions{z-index:10;background:var(--surface);border:1px solid var(--line);border-radius:12px;max-height:300px;margin:0;padding:4px 0;list-style:none;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow-y:auto;box-shadow:0 6px 18px #0000002e}.suggestions li{cursor:pointer;gap:2px;padding:10px 12px;display:grid}.suggestions li.active,.suggestions li:hover{background:var(--sel)}.suggestions small{color:var(--muted)}.suggestions .powered{color:var(--muted);text-align:right;cursor:default;font-size:11px}.suggestions .powered:hover{background:0 0}.me-dot{background:var(--route);border:3px solid #fff;border-radius:50%;width:18px;height:18px;display:block;box-shadow:0 0 0 6px #1a73e840}.pin{cursor:pointer;position:relative;transform:translateY(50%)}.pin .dot{background:#e8710a;border:3px solid #fff;border-radius:50%;width:18px;height:18px;display:block;box-shadow:0 1px 4px #00000059}.pin .label{color:#1b1b1f;white-space:nowrap;text-overflow:ellipsis;background:#fff;border-radius:6px;max-width:140px;padding:3px 6px;font-size:11px;font-weight:600;position:absolute;top:50%;left:22px;overflow:hidden;transform:translateY(-50%);box-shadow:0 1px 4px #00000038}.pin.selected .dot{background:#c5221f;transform:scale(1.25)}.pin.selected .label{color:#c5221f;max-width:220px;font-weight:700}
