:root { font-family: Inter, "Hiragino Sans", "Yu Gothic UI", sans-serif; color: #153f59; background: #f4f1ea; }
* { box-sizing: border-box; } body { margin: 0; min-width: 320px; } button { font: inherit; } [hidden] { display: none !important; }
.leaflet-container { position: relative; overflow: hidden; outline: 0; }.leaflet-pane, .leaflet-tile, .leaflet-marker-icon, .leaflet-marker-shadow, .leaflet-tile-container, .leaflet-pane > svg, .leaflet-pane > canvas { position: absolute; top: 0; left: 0; }.leaflet-pane { z-index: 400; }.leaflet-tile-pane { z-index: 200; }.leaflet-overlay-pane { z-index: 400; }.leaflet-shadow-pane { z-index: 500; }.leaflet-marker-pane { z-index: 600; }.leaflet-tooltip-pane { z-index: 650; }.leaflet-popup-pane { z-index: 700; }.leaflet-tile { visibility: hidden; }.leaflet-tile-loaded { visibility: inherit; }.leaflet-zoom-animated { transform-origin: 0 0; }.leaflet-top, .leaflet-bottom { position: absolute; z-index: 1000; pointer-events: none; }.leaflet-top { top: 0; }.leaflet-bottom { bottom: 0; }.leaflet-left { left: 0; }.leaflet-right { right: 0; }.leaflet-control { position: relative; z-index: 800; pointer-events: visiblePainted; }.leaflet-bottom .leaflet-control { margin-bottom: 10px; }.leaflet-right .leaflet-control { margin-right: 10px; }
.app-shell { width: min(100%, 560px); min-height: 100dvh; margin: auto; padding: 24px 16px 40px; }.screen { animation: appear .18s ease-out; } @keyframes appear { from { opacity: .2; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.app-header { padding: 10px 4px 22px; }.eyebrow { margin: 0; color: #f06c45; font-size: .72rem; font-weight: 800; letter-spacing: .14em; }h1 { margin: 7px 0 0; font-size: clamp(1.65rem, 7vw, 2.15rem); letter-spacing: -.04em; line-height: 1.15; }.distance-card { display: grid; grid-template-columns: 1fr auto; gap: 6px; padding: 22px; border-radius: 20px; background: #153f59; color: #fff; box-shadow: 0 10px 24px #153f5920; }.distance-card p, .current-distance p { margin: 0; color: #f7b96a; font-size: .75rem; font-weight: 800; letter-spacing: .06em; }.distance-card output { grid-row: 2; font-size: clamp(2.35rem, 11vw, 3.1rem); font-weight: 800; letter-spacing: -.07em; }.distance-card span { align-self: end; padding-bottom: 6px; color: #d5e1e5; font-size: .78rem; }.start-button { width: 100%; min-height: 62px; margin: 18px 0 34px; font-size: 1rem; }
.button { min-height: 52px; padding: 10px 14px; border: 0; border-radius: 14px; font-weight: 700; cursor: pointer; }.button:disabled { opacity: .65; cursor: wait; }.button-primary { background: #f06c45; color: #fff; box-shadow: 0 7px 16px #f06c4538; }.button-secondary { border: 1px solid #cbd5d2; background: #fff; color: #153f59; }.section-heading { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }.section-heading h2 { margin: 0; font-size: 1rem; }.section-heading span { color: #758691; font-size: .8rem; }.saved-trips-list { display: grid; gap: 8px; }.saved-trip-item { display: grid; grid-template-columns: 1fr auto; align-items: center; width: 100%; min-height: 58px; padding: 13px 15px; border: 1px solid #d6ddd9; border-radius: 14px; background: #fff; color: #153f59; text-align: left; cursor: pointer; }.saved-trip-item span { font-size: .9rem; }.saved-trip-item strong { font-size: 1rem; }.empty-state { margin: 0; padding: 19px; border: 1px dashed #b8c5bf; border-radius: 14px; color: #71818a; font-size: .87rem; text-align: center; }
.home-status:empty { display: none; }.home-status { margin: -24px 4px 28px; }
.screen-header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 45px; margin-bottom: 14px; }.screen-header h1 { margin: 0; font-size: 1.1rem; }.text-button { padding: 7px 0; border: 0; background: none; color: #385466; font-weight: 700; text-align: left; cursor: pointer; }.map-section { position: relative; overflow: hidden; border: 1px solid #d7ded8; border-radius: 20px; background: #dce5df; }.map-section #map { height: min(54vh, 420px); min-height: 310px; }.map-message { position: absolute; bottom: 10px; left: 50%; z-index: 500; max-width: calc(100% - 28px); margin: 0; padding: 7px 11px; transform: translateX(-50%); border-radius: 999px; background: #ffffffed; color: #385466; font-size: .78rem; text-align: center; box-shadow: 0 2px 10px #153f2a22; }.current-distance { display: grid; grid-template-columns: 1fr auto; gap: 4px; margin-top: 15px; padding: 16px 4px 4px; }.current-distance output { grid-row: 2; font-size: 2rem; font-weight: 800; letter-spacing: -.06em; }.current-distance span { align-self: end; padding-bottom: 5px; color: #758691; font-size: .8rem; }.status-message { min-height: 1.4em; margin: 8px 4px; color: #526a78; font-size: .84rem; }.status-message.error { color: #b2392b; }.status-message.success { color: #267550; }.record-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 9px; }.record-actions #complete-trip-button { grid-column: 1 / -1; }.place-picker { margin-top: 12px; padding: 15px; border: 1px solid #d6ddd9; border-radius: 16px; background: #fff; }.place-picker .section-heading { margin-bottom: 9px; }.place-picker .section-heading h2, .place-names h2 { margin: 0; font-size: .94rem; }.place-picker .section-heading span { color: #758691; font-size: .74rem; }.place-candidates { display: grid; gap: 7px; max-height: 250px; overflow-y: auto; }.place-candidate { display: grid; gap: 2px; width: 100%; padding: 11px 10px; border: 0; border-radius: 10px; background: #f4f6f3; color: #153f59; text-align: left; cursor: pointer; }.place-candidate strong { font-size: .88rem; }.place-candidate span { color: #6c7d86; font-size: .75rem; }.detail-date { margin: -5px 4px 13px; color: #71818a; font-size: .85rem; }.detail-distance { margin-top: 10px; }.place-names { margin-top: 18px; padding: 15px; border: 1px solid #d6ddd9; border-radius: 15px; background: #fff; }.place-names ul { display: grid; gap: 7px; margin: 11px 0 0; padding-left: 20px; color: #415b6a; font-size: .87rem; }.leaflet-control-attribution { font-size: 9px; }
.place-search-message { margin: 5px 0; color: #60737e; font-size: .84rem; }.place-search-message.error { color: #b2392b; }.retry-button { width: 100%; min-height: 44px; margin-top: 10px; }
.discard-button { width: 100%; min-height: 46px; margin-top: 12px; color: #526a78; font-size: .9rem; }
