@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap');
:root{--blue:#2762a9;--blue-dark:#194f91;--blue-soft:#edf4fd;--ink:#253241;--muted:#657283;--line:#e3e8ee;--surface:#f5f7fa;--orange:#a85c0a;--orange-soft:#fff4e5;--white:#fff;--radius:12px;--float:0 4px 20px #2335471a;font-family:"Noto Sans KR","Malgun Gothic",sans-serif;color:var(--ink);font-synthesis:none;font-size:14px}
*{box-sizing:border-box}body{margin:0;background:var(--surface)}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit}button:disabled{opacity:.55;cursor:wait}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{border:0;background:none}button:hover{color:var(--blue)}a{color:var(--blue);text-underline-offset:3px}a:hover{color:var(--blue-dark)}h1,h2,h3,p{margin:0}h1,h2,h3{letter-spacing:-.03em}h1{font-size:28px;line-height:1.45;font-weight:800}h2{font-size:16px}h3{font-size:15px}p{line-height:1.75}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #4485d2;outline-offset:3px}::selection{background:#cce1fb;color:#143864}input,textarea{caret-color:var(--blue)}input::placeholder,textarea::placeholder{color:#6d7785}*{scrollbar-width:thin;scrollbar-color:#bac6d2 transparent}button{transition:background .16s,color .16s,border-color .16s}svg.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:middle}i[data-icon]{display:inline-flex}[hidden]{display:none!important}.skip{position:fixed;top:-80px;left:12px;z-index:3000;padding:12px;background:#fff}.skip:focus{top:8px}
.header{height:76px;background:var(--white);display:flex;align-items:center;justify-content:space-between;padding:0 30px;border-bottom:1px solid var(--line);position:relative;z-index:1001}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink)}.brand strong{font-size:24px;letter-spacing:-.06em}.brand span{font-size:12px;color:var(--muted);padding-left:10px;margin-left:5px;border-left:1px solid var(--line)}.main-nav{align-self:stretch;display:flex;gap:28px}.main-nav button{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;position:relative;padding:0 6px}.main-nav button.active{color:var(--blue)}.main-nav button.active:after{content:"";height:3px;background:var(--blue);position:absolute;bottom:0;left:0;right:0;border-radius:4px 4px 0 0}.header-end{display:flex;align-items:center;gap:16px}.beta{font-size:11px;font-weight:600;color:var(--muted);background:var(--surface);border-radius:5px;padding:5px 9px}.icon-button{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;flex-shrink:0}.icon-button:hover{background:var(--surface)}.workspace{height:calc(100dvh - 76px);min-height:580px;display:grid;grid-template-columns:390px minmax(0,1fr)}.sidebar{background:#fff;display:flex;flex-direction:column;overflow-y:auto;position:relative;z-index:800;border-right:1px solid var(--line)}#journey{padding:28px 26px 0;outline:none}.welcome{margin-bottom:24px}.welcome p{font-size:12px;color:var(--muted);margin-top:8px}.mode-tabs{display:flex;border-bottom:1px solid var(--line);margin-bottom:18px;gap:24px}.mode-tabs button{display:flex;align-items:center;gap:8px;padding:8px 4px 13px;font-size:14px;font-weight:600;border-bottom:2px solid transparent;min-height:44px}.mode-tabs button.selected{border-bottom-color:var(--blue);color:var(--blue)}.location-inputs{position:relative;border:1px solid #d6dfe9;border-radius:var(--radius);background:#fff}.location-field{display:flex;align-items:center;width:100%;min-height:68px;gap:12px;text-align:left;padding:10px 14px}.location-field:hover{background:var(--surface)}.location-field:first-child{border-radius:var(--radius) var(--radius) 0 0;border-bottom:1px solid var(--line)}.location-field:nth-child(2){border-radius:0 0 var(--radius) var(--radius)}.location-field>span:nth-child(2){min-width:0;display:flex;flex:1;flex-direction:column;gap:3px}.location-field small{font-size:10px;color:var(--muted);font-weight:500}.location-field strong{font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.location-field svg{width:17px;color:#728195}.point-dot{width:10px;height:10px;border-radius:50%;border:3px solid #8190a4;flex-shrink:0}.point-dot.to{border-color:var(--blue)}.swap{position:absolute;right:10px;top:48px;border:1px solid var(--line);background:#fff;width:30px;height:30px;border-radius:50%;z-index:2}.swap svg{width:15px}.departure{display:flex;align-items:center;gap:7px;margin:14px 0;color:var(--muted);font-size:12px}.departure svg{width:15px}.departure select{margin-left:auto;border:0;background:#fff;color:var(--ink);font-weight:600;padding:10px 3px;min-height:40px}.primary{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;background:var(--blue);color:#fff;font-weight:700;min-height:50px;border-radius:10px;padding:12px 16px}.primary:hover{background:var(--blue-dark);color:#fff}.primary svg:last-child:not(:first-child){margin-left:auto;width:18px}.primary svg:first-child:not(:last-child){margin-right:auto}#find-route{font-size:15px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:28px 0 8px}.section-heading h2{font-size:14px}.section-heading>span{font-size:10px;color:var(--muted)}.place-row{display:flex;gap:12px;align-items:center;text-align:left;width:100%;min-height:66px;border-bottom:1px solid var(--line);padding:10px 0}.place-row>span:nth-child(2){flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}.place-row strong{font-size:13px;font-weight:600;overflow-wrap:anywhere}.place-row small{font-size:10px;color:var(--muted)}.place-row>svg{width:16px;color:var(--muted)}.place-icon{display:flex;align-items:center;justify-content:center;background:var(--surface);width:36px;height:36px;border-radius:50%;color:#75869a;flex-shrink:0}.place-icon svg{width:18px}.quiet-note{display:flex;align-items:flex-start;gap:9px;margin:21px 0 18px;color:#60738c}.quiet-note>svg{width:16px;margin-top:3px}.quiet-note p{font-size:11px;line-height:1.8}.quiet-note p span{font-size:10px;color:var(--muted)}.sidebar-footer{padding:18px 26px;margin-top:auto;font-size:9px;display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--muted);border-top:1px solid var(--line)}.sidebar-footer button{font-size:10px;white-space:nowrap;padding:8px 0;min-height:32px;display:flex;align-items:center;gap:5px}.sidebar-footer svg{width:12px;height:12px}
.map-section{position:relative;isolation:isolate;background:#e9edf0;min-width:0}#map{height:100%;width:100%;position:absolute;inset:0;z-index:1;background:#e9edf0}.leaflet-container{font:inherit}.leaflet-control-attribution{font-size:9px!important;max-width:100%;background:#ffffffde!important}.leaflet-popup-content{font-family:inherit;margin:14px 17px;line-height:1.75;min-width:160px}.leaflet-popup-content h3{font-size:14px;margin-bottom:4px}.leaflet-popup-content p{font-size:12px;color:var(--muted)}.leaflet-popup-content button{padding:8px 0;font-weight:700;color:var(--blue)}.leaflet-popup-content-wrapper{border-radius:12px}.map-top{position:absolute;top:24px;left:24px;right:24px;display:flex;align-items:flex-start;justify-content:space-between;gap:15px;z-index:500;pointer-events:none}.map-top>*{pointer-events:auto}.weather-widget{background:#fff;box-shadow:var(--float);border-radius:var(--radius);padding:13px 10px 13px 17px;display:flex;align-items:center;gap:12px;max-width:360px}.weather-widget>svg{width:30px;height:30px;color:var(--blue)}.weather-widget>div{display:flex;flex-direction:column;gap:4px}.weather-widget strong{font-size:13px;font-weight:700}.weather-widget span{font-size:10px;color:var(--muted)}.weather-widget button{width:28px;height:32px;margin-left:5px}.weather-widget button svg{width:15px}.source-toggle{display:flex;align-items:center;gap:8px;padding:11px 15px;min-height:44px;background:#fff;box-shadow:var(--float);border-radius:9px;font-size:12px;font-weight:600}.source-toggle svg{width:17px;color:var(--blue)}.source-toggle[aria-pressed=true]{background:var(--blue);color:#fff}.source-toggle[aria-pressed=true] svg{color:#fff}.pick-banner{z-index:501;position:absolute;top:110px;left:24px;right:24px;display:flex;align-items:center;gap:10px;background:#fff7e7;color:#765016;padding:10px 14px;border-radius:9px;font-size:11px;box-shadow:var(--float)}.pick-banner button{margin-left:auto;font-size:11px;font-weight:700;min-width:60px;min-height:32px}.pick-banner{background:var(--blue);color:#fff;top:auto;bottom:96px;font-size:13px}.pick-banner button{color:#fff}.map-controls{position:absolute;right:24px;top:42%;z-index:500;display:flex;flex-direction:column;border-radius:10px;padding:3px;background:#fff;box-shadow:var(--float)}.map-controls button{width:40px;height:42px}.map-controls svg{width:19px}.control-divider{height:1px;background:var(--line);margin:3px 6px}.map-bottom{position:absolute;bottom:36px;left:24px;right:24px;display:flex;align-items:end;justify-content:space-between;gap:12px;z-index:500;pointer-events:none}.map-bottom>*{pointer-events:auto}.map-legend{background:#fffffff0;border-radius:8px;padding:12px 14px;display:flex;gap:15px;font-size:10px;color:#52647a;box-shadow:var(--float)}.map-legend>span{display:flex;align-items:center;gap:7px}.legend-line{height:4px;width:20px;background:var(--blue);border-radius:2px}.legend-dot{width:8px;height:8px;border:2px solid #ba7a28;background:#fff4e5;border-radius:50%}.report-fab{display:flex;align-items:center;gap:8px;padding:12px 15px;background:#fff;min-height:44px;border-radius:9px;box-shadow:var(--float);font-size:12px;font-weight:600}.report-fab svg{width:17px}.map-status{position:absolute;bottom:100px;left:24px;right:80px;z-index:505;border-radius:8px;background:#fff;padding:12px;font-size:12px;box-shadow:var(--float)}.endpoint-marker{display:flex!important;align-items:center;justify-content:center;background:var(--blue);color:#fff;border:3px solid #fff;border-radius:50%;box-shadow:0 3px 10px #23354730;font-weight:700;font-size:11px}.endpoint-marker.start{background:#52647a}.weather-marker{background:#fff;border-radius:8px;box-shadow:0 3px 12px #23354724;color:var(--orange);border:1px solid #d8a35b;white-space:nowrap;font-size:11px;font-weight:700;display:flex!important;align-items:center;justify-content:center;gap:4px}.weather-marker svg{width:15px;height:15px}.report-marker{background:#52647a;border:2px solid #fff;border-radius:50%;color:#fff;display:flex!important;align-items:center;justify-content:center}.report-marker svg{width:16px;height:16px}.position-marker{background:var(--blue);border:3px solid #fff;border-radius:50%;box-shadow:0 2px 10px #2762a940}.route-label{font-size:11px;background:#fff;color:var(--blue);font-weight:700;border:0;box-shadow:0 3px 12px #23354720;border-radius:6px;padding:7px 10px}
.inline-error{font-size:12px;padding:12px;border-radius:8px;background:#fff0eb;color:#9b3c27;margin-top:12px}.results-head{display:flex;align-items:center;justify-content:space-between;margin-top:25px;margin-bottom:12px}.results-head h2{font-size:15px}.results-head button{font-size:11px;display:flex;align-items:center;gap:5px;min-height:36px}.results-head svg{width:15px}.route-policy{font-size:11px;color:var(--muted);line-height:1.7;margin-bottom:14px}.route-option{width:100%;padding:16px 14px;margin-bottom:8px;border:1px solid var(--line);border-radius:10px;text-align:left;background:#fff}.route-option.selected{border:2px solid var(--blue);padding:15px 13px;background:#f5f9ff}.route-option-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px;gap:7px}.route-option-top>strong{font-size:13px}.route-badge{font-size:10px;padding:3px 7px;border-radius:4px;background:var(--surface);color:var(--muted);font-weight:500}.selected .route-badge{color:var(--blue);background:#e6effc}.route-numbers{display:flex;align-items:baseline;gap:11px}.route-numbers strong{font-size:26px;letter-spacing:-.03em;font-weight:800;line-height:1.3}.route-numbers strong small{font-size:13px;font-weight:600;margin-left:2px}.route-numbers>span{font-size:12px;color:var(--muted)}.route-reason{display:flex;align-items:center;gap:6px;font-size:11px;color:#5c7090;margin-top:9px}.route-reason svg{width:15px;height:15px}.route-option.selected .route-numbers strong{color:var(--blue)}.evidence{margin-top:20px}.evidence h3{font-size:13px;margin-bottom:10px}.evidence-row{display:flex;gap:9px;padding:11px 0;border-bottom:1px solid var(--line);align-items:start}.evidence-row svg{width:17px;height:17px;color:var(--blue);margin-top:3px}.evidence-row>div{flex:1}.evidence-row strong{display:block;font-size:12px;font-weight:600}.evidence-row p{font-size:10px;color:var(--muted);margin-top:3px}.preview-button{margin:17px 0 9px}.small-note{font-size:11px;line-height:1.9;color:var(--muted);margin:14px 0}.secondary-view{padding:30px 26px;min-height:60%}.secondary-view h1{font-size:24px}.secondary-view>p{font-size:12px;color:var(--muted);margin:8px 0 24px}.empty{font-size:12px;line-height:1.85;text-align:center;color:var(--muted);padding:35px 10px}.saved-row{display:flex;align-items:center;border-bottom:1px solid var(--line)}.saved-row>.place-row{border-bottom:0}.saved-row>.icon-button{width:32px;height:44px;color:var(--muted)}.report-entry{padding:20px 0;border-bottom:1px solid var(--line)}.report-entry>div{display:flex;justify-content:space-between;align-items:center}.report-entry strong{font-size:13px}.report-entry span{font-size:10px;color:var(--muted)}.report-entry p{font-size:12px;overflow-wrap:anywhere;margin:8px 0}.report-entry button{font-size:11px;color:var(--blue);min-height:36px}.report-entry .delete-report{color:var(--muted);margin-left:10px}.preview-bar{position:absolute;bottom:28px;left:24px;right:24px;z-index:600;background:#fff;border-radius:12px;box-shadow:var(--float);padding:20px;display:flex;align-items:center;gap:18px}.preview-bar>div{flex:1;min-width:0}.preview-bar small{display:block;color:var(--muted);font-size:11px;margin-bottom:6px}.preview-bar strong{font-size:17px;display:block;overflow-wrap:anywhere}.preview-bar p{font-size:10px;color:var(--muted);margin-top:6px}.preview-bar .primary{width:auto;min-width:90px}.preview-bar>.icon-button{background:var(--surface)}
dialog{border:0;border-radius:18px;padding:24px;width:min(490px,calc(100vw - 28px));max-height:calc(100dvh - 40px);color:var(--ink);box-shadow:0 18px 60px #132e4c33;overflow-y:auto}dialog::backdrop{background:#1e314766}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:20px}.dialog-head h2{font-size:21px}.dialog-head .icon-button{margin:-8px -8px -8px 0}.search-input{display:flex;align-items:center;gap:8px;border:1px solid #c6d4e4;padding:5px 6px 5px 12px;border-radius:10px}.search-input>svg{color:var(--muted);width:18px}.search-input input{width:100%;min-width:0;border:0;min-height:40px;background:transparent;color:var(--ink);font-size:13px}.search-input input:focus{outline:0}.search-input:focus-within{outline:2px solid var(--blue);outline-offset:2px}.primary.compact{width:auto;min-width:60px;min-height:40px;padding:8px 12px;font-size:12px}.search-shortcuts{display:flex;gap:12px;margin-top:12px}.search-shortcuts button{display:flex;align-items:center;gap:6px;background:var(--surface);border-radius:7px;padding:10px;font-size:12px;min-height:42px}.search-shortcuts svg{width:16px}.search-result{display:block;text-align:left;width:100%;padding:16px 4px;border-bottom:1px solid var(--line);min-height:62px}.search-result strong{display:block;font-size:14px}.search-result small{display:block;font-size:11px;color:var(--muted);line-height:1.8;margin-top:4px}.dialog-intro{font-size:13px;margin-bottom:18px}.source-list{margin:0 0 22px}.source-list>div{display:grid;grid-template-columns:80px 1fr;gap:10px;padding:16px 0;border-top:1px solid var(--line);font-size:12px}.source-list dt{font-weight:700}.source-list dd{margin:0;line-height:1.8}.source-list small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.text-button{font-size:12px;text-decoration:underline;text-underline-offset:4px;padding:12px 0}.danger-text{color:#a54331}fieldset{margin:0 0 18px;border:0;padding:0;display:flex;gap:10px;flex-wrap:wrap}legend{font-size:13px;margin-bottom:12px}fieldset label{font-size:13px;display:flex;align-items:center;gap:5px;min-height:40px}input[type=radio]{accent-color:var(--blue)}.form-label{font-size:13px;display:block;margin-bottom:8px}.form-label span{font-size:11px;color:var(--muted);margin-left:8px}textarea{width:100%;min-height:90px;resize:vertical;padding:12px;border:1px solid #c6d4e4;border-radius:8px}.toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,10px);padding:13px 22px;background:#25364b;color:#fff;border-radius:9px;font-size:13px;max-width:calc(100vw - 30px);width:max-content;z-index:4000;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}.toast.show{opacity:1;transform:translate(-50%,0)}.loading-line{height:7px;border-radius:5px;background:#e4edf7;margin:12px 0;animation:loading 1.3s ease-in-out infinite alternate}.loading-line:nth-child(2){width:70%}.loading-line:nth-child(3){width:45%}@keyframes loading{to{opacity:.4}}
@media(min-width:1500px){.workspace{grid-template-columns:420px minmax(0,1fr)}#journey{padding:32px 32px 0}.sidebar-footer{padding:20px 32px}.welcome{margin-bottom:30px}.welcome h1{font-size:30px}.welcome p{font-size:13px}}
@media(max-width:1050px){.header{padding:0 20px}.brand span{display:none}.main-nav{gap:16px}.workspace{grid-template-columns:355px minmax(0,1fr)}#journey{padding:24px 22px 0}.map-top{left:16px;right:16px;top:16px;flex-wrap:wrap}.weather-widget{padding:10px 8px 10px 12px;gap:8px}.weather-widget>svg{width:24px}.weather-widget strong{font-size:12px}.source-toggle{padding:10px}.source-toggle span{display:none}.map-legend{gap:10px;padding:10px;font-size:9px}.map-bottom{left:16px;right:16px}.report-fab{font-size:11px;padding:10px}.preview-bar{left:16px;right:16px;flex-wrap:wrap;padding:16px}.preview-bar>div{flex-basis:65%}.preview-bar strong{font-size:15px}}
@media(max-width:700px){.header{height:62px;padding:0 16px}.brand{gap:8px}.brand img{width:30px;height:30px}.brand strong{font-size:22px}.header-end{gap:4px}.header-end>.icon-button{width:38px}.beta{font-size:10px}.main-nav{position:fixed;bottom:0;left:0;right:0;height:62px;padding-bottom:env(safe-area-inset-bottom,0px);background:#fff;border-top:1px solid var(--line);gap:0;z-index:1200;justify-content:space-around}.main-nav button{flex:1;flex-direction:column;justify-content:center;gap:3px;font-size:10px;padding:5px}.main-nav svg{width:20px;height:20px}.main-nav button.active:after{top:0;bottom:auto;height:2px;left:20%;right:20%}.workspace{height:auto;min-height:0;display:flex;flex-direction:column;padding-bottom:62px}.map-section{order:-1;height:42dvh;min-height:280px;max-height:440px}.sidebar{overflow:visible;border-right:0;border-top:1px solid var(--line);border-radius:20px 20px 0 0;margin-top:-16px;z-index:801;min-height:50dvh}.sidebar:before{content:"";width:32px;height:4px;border-radius:3px;background:#d3dae3;position:absolute;top:9px;left:calc(50% - 16px)}#journey{padding:24px 20px 0}.welcome{margin-bottom:16px}.welcome h1{font-size:21px;line-height:1.5}.welcome h1 br{display:none}.welcome p{font-size:11px;margin-top:5px}.mode-tabs{margin-bottom:14px}.location-field{min-height:59px;padding:8px 14px}.location-field small{font-size:10px}.location-field strong{font-size:14px}.swap{top:43px}.departure{margin:7px 0}.section-heading{margin-top:24px}.quiet-note{margin:18px 0}.sidebar-footer{padding:16px 20px}.map-top{top:12px;left:12px;right:12px;gap:8px;flex-wrap:nowrap}.weather-widget{border-radius:9px;padding:10px;max-width:calc(100% - 50px);gap:8px}.weather-widget>svg{width:22px;height:22px}.weather-widget strong{font-size:11px}.weather-widget span{font-size:9px}.weather-widget button{width:24px;margin-left:0}.source-toggle{width:40px;height:40px;min-height:40px;justify-content:center;padding:0}.map-controls{top:auto;bottom:65px;right:12px;padding:2px}.map-controls button{width:34px;height:34px}.map-controls button:first-child,.map-controls button:nth-child(2),.control-divider{display:none}.map-bottom{bottom:31px;left:12px;right:12px}.map-legend{font-size:9px;padding:8px;gap:10px}.report-fab{padding:8px 10px;min-height:36px;font-size:10px}.report-fab svg{width:14px;height:14px}.pick-banner{top:76px;bottom:auto;left:12px;right:12px;font-size:12px;padding:8px 10px}.map-status{bottom:75px;left:12px;font-size:11px}.secondary-view{padding:30px 20px;min-height:340px}.secondary-view h1{font-size:22px}.preview-bar{left:12px;right:12px;bottom:30px;gap:8px;padding:12px;flex-wrap:nowrap}.preview-bar>div{flex-basis:auto}.preview-bar strong{font-size:13px}.preview-bar small{font-size:9px}.preview-bar p{display:none}.preview-bar .primary{min-width:55px;padding:8px;min-height:40px;font-size:11px}.preview-bar>.icon-button{width:30px;height:40px}.toast{bottom:80px;font-size:12px}.leaflet-control-attribution{margin-bottom:17px!important;font-size:8px!important}dialog{padding:20px;max-height:calc(100dvh - 32px)}.dialog-head h2{font-size:19px}}
.has-routes .welcome{display:none}.has-routes .mode-tabs{margin-bottom:12px}.has-routes .location-field{min-height:58px}.has-routes .swap{top:43px}.has-routes .departure{margin:6px 0}.has-routes .results-head{margin-top:20px}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

.live-weather{margin-top:24px;padding:0 0 8px;border-top:1px solid var(--line)}.live-weather .section-heading{margin:16px 0 6px}.live-weather .icon-button{width:32px;height:32px}.live-weather .icon{width:16px;height:16px}.weather-location{font-size:11px;color:var(--muted);margin-bottom:14px}.live-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0}.live-metrics dt{font-size:10px;color:var(--muted);margin-bottom:6px}.live-metrics dd{margin:0;font-size:23px;font-weight:700;letter-spacing:-.03em}.live-metrics dd small{font-size:11px;font-weight:500;margin-left:3px}.weather-assessment{display:flex;align-items:center;gap:7px;margin-top:14px;color:var(--blue);font-size:12px}.live-weather .small-note{font-size:10px;margin:10px 0 0}
.winter-options{border-top:1px solid var(--line);padding:12px 0 16px;font-size:12px}.analysis-mode{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--muted)}.analysis-mode select{padding:10px 8px;border:1px solid var(--line);border-radius:7px;background:white;min-width:155px;color:var(--ink)}#history-options{margin:12px 0;padding:12px;background:#fff6ee;border-left:3px solid #ba7825;border-radius:4px}#case-time{width:100%;padding:9px 6px;border:1px solid #d4dbe5;border-radius:5px;font:inherit;background:#fff;color:var(--ink)}.check-line{display:flex;align-items:flex-start;gap:8px;margin-top:12px;font-size:12px;line-height:1.7}.check-line input{accent-color:var(--blue);margin-top:4px;flex-shrink:0}#history-options .small-note{margin:7px 0 0;font-size:10px}.via-field{display:flex;border:1px solid var(--line);border-radius:8px;margin-top:12px;align-items:center}.via-field>button:first-child{padding:10px;display:flex;align-items:center;gap:7px;flex:1;min-width:0;text-align:left}.via-field span{flex:1;overflow-wrap:anywhere;font-size:12px}.via-field svg{width:16px;flex-shrink:0}.via-field>button:last-child:not(:first-child){padding:10px;color:var(--muted);font-size:11px}.closure-notice{padding:13px;background:#fff1ec;border-left:3px solid #b24434;border-radius:4px;margin-bottom:16px;font-size:12px;color:#853827}.closure-notice p{font-size:11px;margin-top:7px;line-height:1.8}.slope-metrics{display:block;margin-top:7px;font-size:11px;color:var(--muted);line-height:1.8}.route-option.excluded{opacity:1;background:#f8f8f8;border-style:dashed;cursor:default}.excluded .route-reason{color:#9a4537}.excluded .route-numbers{color:#65748a}.elevation-chart{width:100%;height:auto;background:#f7faff;border-radius:8px}.elevation-chart text{font-size:10px;fill:#61738a}.legend-line.hill{background:#ba7825}.legend-line.closed{background:#b24434}.via-marker{display:flex!important;align-items:center;justify-content:center;background:#39776c;color:white;border:3px solid white;border-radius:50%;font-size:11px;font-weight:700}.map-legend{flex-wrap:wrap;gap:8px 12px;max-width:100%}

.mode-tabs{gap:16px}.vehicle-options{border:1px solid var(--line);border-radius:8px;margin-top:12px;padding:0 10px}.vehicle-options summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;cursor:pointer;font-size:12px;color:var(--muted)}.vehicle-options summary strong{color:var(--ink);font-weight:600;text-align:right}.vehicle-options .form-label{font-size:12px;margin:8px 0 6px}.vehicle-options .voice-select{margin-bottom:8px}.vehicle-options .small-note{margin:10px 0}
.advisory{padding:13px 14px;border-radius:8px;margin-bottom:14px;font-size:12px;line-height:1.7;background:var(--orange-soft);color:#7a4407}.advisory strong{display:block;font-size:13px;margin-bottom:3px}.advisory.high{background:#fff0eb;color:#8a3323}.advisory.clear{background:var(--blue-soft);color:#2d4f7c}
.risk-line{display:block;margin-top:8px;font-size:11px;line-height:1.8;color:var(--ink)}.risk-line b{font-weight:700}.route-option .risk-chip{display:inline-block;font-size:10px;font-weight:700;border-radius:4px;padding:2px 6px;margin-right:6px;background:var(--surface);color:var(--muted)}.risk-chip.best{background:#e7f3ee;color:#23684f}.risk-chip.high{background:#fff0eb;color:#8a3323}
.hazard-list{display:flex;flex-direction:column}.hazard-row{display:flex;gap:10px;align-items:flex-start;text-align:left;width:100%;padding:11px 0;border-bottom:1px solid var(--line);min-height:44px}.hazard-row:hover{background:var(--surface)}.hazard-row b{flex-shrink:0;width:6px;align-self:stretch;border-radius:3px;background:#ba7825}.hazard-row.severe b{background:#b24434}.hazard-row.bridge b,.hazard-row.portal b{background:#6d5aa8}.hazard-row.curve b{background:#c9961e}.hazard-row span{display:block;font-size:12px;font-weight:600}.hazard-row small{display:block;font-size:10px;color:var(--muted);margin-top:3px;font-weight:400;line-height:1.6}
.legend-line.severe{background:#b24434}.legend-line.bridge{background:#6d5aa8}.legend-line.curve{background:#c9961e}.legend-line.icy{background:#7fb2e6}
@media(max-width:700px){.mode-tabs{gap:10px}.mode-tabs button{font-size:13px}}
.sheet-handle{display:none}.map-top-actions{display:flex;gap:8px;pointer-events:auto}.star-toggle[aria-expanded=true]{background:var(--blue);color:#fff}.star-toggle[aria-expanded=true] svg{color:#fff}.place-shortcuts{display:none!important}.place-shortcuts.open{display:flex!important}
@media(max-width:700px){.map-top-actions{gap:6px}.weather-widget{max-width:calc(100% - 96px)}
.place-shortcuts.open{display:grid!important}.map-controls button:first-child,.map-controls button:nth-child(2){display:inline-flex}.map-controls .control-divider{display:block}
.sidebar:before{content:none}.sheet-handle{display:block;position:absolute;top:0;left:0;right:0;height:34px;z-index:3;touch-action:none;cursor:grab;border-radius:20px 20px 0 0}.sheet-handle:before{content:"";position:absolute;top:10px;left:calc(50% - 22px);width:44px;height:5px;border-radius:3px;background:#c3ccd8}.sheet-handle:active{cursor:grabbing}.sheet-handle:focus-visible{outline:2px solid var(--blue);outline-offset:-4px}
body:not(.driving) .map-section{height:var(--map-h,42dvh);max-height:var(--map-max,440px);min-height:min(280px,var(--map-h,280px))}body:not(.driving) .map-section.settling{transition:height .18s ease-out}#journey{padding-top:30px}}
@media(max-width:700px) and (prefers-reduced-motion:reduce){body:not(.driving) .map-section.settling{transition:none}}
