/* V1 visual language. Functional visibility, map and state rules stay in styles.css. */
:root{--sky:#0985bc;--sky-dark:#09638f;--navy:#0b2841;--ink:#203b48;--muted:#657d88;--line:#d5e5ef;--radius:22px;font-family:'Pretendard','Noto Sans KR','Malgun Gothic',system-ui,sans-serif;color:var(--ink);background:#f7fafb}
body[data-step="1"]{background:linear-gradient(150deg,#f6fbfe 0%,#eff9fe 65%,#f8fcfd 100%)}
.icon-library{position:absolute;width:0;height:0;overflow:hidden}.icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:middle}
.header{max-width:none;margin:0;padding:0;display:block;background:#ffffffdf;border-bottom:1px solid var(--line)}
.header-inner{max-width:1500px;margin:auto;padding:20px 36px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.brand{gap:16px;font-size:27px;font-weight:800;color:#0b2841;letter-spacing:-.9px;text-decoration:none}
.brand-symbol{display:grid;place-items:center;width:46px;height:46px;flex-shrink:0;border-radius:14px;background:#0988bf;color:white}.brand-symbol .icon{width:27px;height:27px}
body[data-step="1"] .preview-badge{display:none}.preview-badge{background:#e9f6fc;color:var(--sky-dark);font-weight:500;border-radius:6px}
.step-nav{margin:12px auto 0;padding:0 22px;max-width:600px;gap:12px}.step-nav button{font-size:12px;min-height:44px}.step-nav b{background:#e6f1f7}.step-connector{background:#d2e3ed}
main{max-width:1500px;padding:0 36px 36px}.start-layout{max-width:none;margin:0;grid-template-columns:minmax(0,1.18fr) minmax(0,1fr);gap:44px;padding:24px 0 38px;align-items:start}
.start-layout .intro{min-width:0;min-height:0;text-align:left;padding:26px 0 0;overflow:visible}
.start-layout .intro h1{font-size:clamp(30px,3.55vw,54px);line-height:1.38;letter-spacing:-2.2px;margin:0 0 22px;font-weight:850;max-width:none;color:#0b2841}
.intro h1 .intro-line{display:block;white-space:nowrap}.intro h1 .intro-accent{color:#0985bc}
.start-layout .intro-description{display:block;font-size:clamp(18px,2.03vw,30px);line-height:1.6;font-weight:700;color:#456176;letter-spacing:-.8px;margin:0}
.intro-description>span,.intro-description>strong{display:block}.intro-description>strong{color:#0985bc;font-weight:800}
.hero-art{margin:26px 0 0}.hero-art img{display:block;width:100%;max-width:100%;height:auto;object-fit:contain;border-radius:18px}
.intro-note{display:flex;align-items:center;gap:10px;margin-top:18px;padding-top:20px;border-top:1px solid #d2e3ed;font-size:14px;line-height:1.7;color:#658298}.intro-note .icon{color:var(--sky)}
.start-layout .search-panel{min-width:0;margin:0;padding:32px;border-radius:26px;border-color:#d5e5ef;box-shadow:0 12px 45px #528aa509}
.section-head{margin:0}.search-panel h2{font-size:28px;line-height:1.4;color:#0b2841;letter-spacing:-1px;margin:0}
.search-panel .field-block{margin:28px 0 0;padding:0;border:0;min-width:0}
.search-panel legend,.search-panel .field-label{font-size:16px;font-weight:700;color:#0b2841;margin:0 0 12px;line-height:1.6;display:block;width:100%}
.search-panel legend .count{font-size:12px;font-weight:400;color:var(--muted);margin-left:6px;padding:0;background:none;white-space:nowrap}
.location-box{display:flex;align-items:center;gap:14px;padding:17px;background:#f6fbff;border:1px solid #d4e4ef;border-radius:11px}.location-box>.icon{color:var(--sky);width:26px;height:26px}
.location-box strong{display:block;font-size:15px;line-height:1.5;overflow-wrap:anywhere}.location-box small{display:block;font-size:12px;color:var(--muted);line-height:1.65;margin-top:5px}
.search-panel .location-actions{display:flex;flex-direction:column;align-items:stretch;gap:0;margin-top:10px}.search-panel .location-actions .secondary{width:100%;display:flex;gap:8px;font-size:15px;min-height:50px}.search-panel #gps{align-self:flex-end;padding:6px 0;min-height:36px;color:var(--muted);font-size:12px}
.time-field{display:flex;align-items:center;border:1px solid #d4e4ef;border-radius:11px;padding:12px 17px;min-height:58px;gap:10px}.time-field>.icon{color:var(--sky)}
.time-field #departure{border:0;background:transparent;min-width:0;min-height:32px;font-size:21px;font-weight:650;color:var(--ink);flex:1;width:100%;margin:0;padding:0}
.themes{display:flex;flex-wrap:wrap;gap:10px}.theme{background:white;border:1px solid var(--line);border-radius:11px;display:flex;align-items:center;gap:8px;font-size:14px;padding:12px 14px;min-height:50px;color:var(--ink);font-weight:500}
.theme .icon{width:21px;height:21px}.theme[aria-pressed=true]{border-color:#8ac7e3;background:#edf8fd;box-shadow:0 0 0 1px #8ac7e3;color:var(--sky-dark)}
.theme[aria-pressed=true]::after{content:'✓';font-size:10px}
.theme[data-theme="자연"] .icon{color:#59856a}.theme[data-theme="바다"] .icon{color:#238ca2}.theme[data-theme="역사문화"] .icon{color:#b27e54}.theme[data-theme="실내관광"] .icon{color:#8c73b6}.theme[data-theme="액티비티"] .icon{color:#cf8545}
.search-panel .hint{font-size:12px;line-height:1.8;color:var(--muted);margin:8px 0 0}
button.primary{background:var(--sky);border-radius:12px;box-shadow:0 5px 12px #1684bb18;font-weight:700;font-size:15px;gap:10px}button.primary:hover:not(:disabled){background:var(--sky-dark)}
.search-panel #search{width:100%;margin-top:26px;min-height:64px;font-size:20px;padding:17px 22px;justify-content:flex-start}.search-panel #search .icon:last-child{margin-left:auto}
#form-status{font-size:13px;line-height:1.8}#form-status:empty{display:none}.demo-caption{font-size:11px;color:var(--muted);text-align:center;line-height:1.8;margin:12px 0 0;word-break:keep-all}
.secondary{border-color:#c9e4ef;color:var(--sky-dark);border-radius:10px;font-weight:600}.text-button{color:#526b7d}.text-button:hover{color:var(--sky-dark)}
.results{max-width:1220px;margin:auto;padding-top:26px}.page-heading h2{font-size:30px;line-height:1.5;color:#0b2841;letter-spacing:-1px}.page-heading>.text-button{flex-shrink:0;white-space:nowrap}.page-heading .hint{font-size:13px;line-height:1.8;color:#4b6375}
.bus-button{background:white;border-color:#ccdeeb;border-radius:18px;padding:21px}.bus-button[aria-pressed=true]{background:#edf8ff;border-color:#0985bc}.bus-button strong{font-size:32px;color:#087caf;font-weight:800}.bus-button span{font-size:12px;line-height:1.8}.bus-button span:last-child{color:#146e9c}
#route-summary{background:#edf7fb;border:1px solid #d8ebf3;border-radius:12px;padding:18px 20px;margin:20px 0}.route-summary h3{font-size:17px}.route-summary p{font-size:12px}
.catalog,.selection-panel,.journey-summary{border-color:#ccdeeb;border-radius:22px;background:white;box-shadow:0 8px 30px #193b4c04}
.catalog{padding:24px}.catalog h3,.selection-panel h3{font-size:21px;color:#0b2841}.catalog .eyebrow,.selection-panel .eyebrow,.page-heading .eyebrow{color:var(--sky-dark)}
.tourist-item strong{font-size:15px;color:#14384f}.tourist-item small{font-size:12px}.tourist-row{border-color:#d7e5ef}.visit-toggle{border-color:#c9e4ef;color:var(--sky-dark);font-size:12px;border-radius:10px;min-height:46px}.tourist-row.visit-selected{background:#f7fcff}
.selection-action{font-size:12px;min-height:44px;border-color:#d0e0eb;color:#37738f}.selection-dock{border-color:#ccdeeb;background:#fffffff5;box-shadow:0 -4px 24px #203b480b}.selection-dock strong{color:#0b2841}
.outcome.success{background:#edf8f6;border-color:#d0e5df}.outcome h3{color:#0b2841}.journey-summary h3{color:#0b2841;font-size:22px}.summary-top strong{color:#087caf;font-size:33px}.metric strong{color:#204d69}.metric small{color:#526b7d}
.timeline-content strong{color:#14384f;line-height:1.65}.timeline-content .leg-type{font-size:12px;color:#526b7d}.timeline-item.visit .timeline-content{background:#edf8f6;border-radius:15px}.timeline-clock{color:#526b7d}.timeline-location{color:#146e9c}.group-summary{font-size:14px;color:#405e73}
.wait-options{background:#edf7fb;border:1px solid #d8ebf3;border-radius:14px}.wait-option button{color:var(--sky-dark);border-color:#c9e4ef;min-height:46px;font-size:13px}.wait-option>strong{color:#14384f}.notice{border-color:#d2e2ed}.map-shell{border-radius:18px;border-color:#ccdeeb}.map-status{font-size:11px;color:#476479;background:#f2f8fc}.map-note{font-size:11px;line-height:1.8}
footer.site-footer{max-width:1428px;margin:0 auto;padding:25px 0 30px;border-top:1px solid var(--line);display:block;color:var(--muted)}.site-footer strong{font-size:12px;font-weight:500}.site-footer p{font-size:11px;line-height:1.9;margin:12px 0}
@media(min-width:821px) and (max-width:1100px){.start-layout{gap:28px;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}.start-layout .intro h1{font-size:3.35vw;letter-spacing:-1.5px}.start-layout .search-panel{padding:24px}.search-panel h2{font-size:23px}}
@media(max-width:820px){
  .header-inner{padding:17px 22px}.brand{gap:10px;font-size:21px;letter-spacing:-.8px}.brand-symbol{width:38px;height:38px;border-radius:12px}.brand-symbol .icon{width:23px;height:23px}.preview-badge{display:none}
  .step-nav{margin:5px auto 0;gap:8px}.step-nav button{font-size:11px;gap:6px}.step-nav b{width:24px;height:24px}.step-connector{max-width:28px}
  main{padding:0 22px 32px}.start-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;padding:22px 0 4px;max-width:606px;margin:auto}
  .start-layout .intro{padding:0;text-align:left}.start-layout .intro h1{font-size:clamp(23px,5.7vw,36px);letter-spacing:-1.1px;margin:0 0 14px;line-height:1.5}.start-layout .intro-description{display:block;font-size:clamp(15px,3.5vw,21px);letter-spacing:-.45px;margin:0;line-height:1.6}
  .hero-art{margin-top:20px}.hero-art img{border-radius:14px}.intro-note{font-size:12px;margin-top:15px;padding-top:15px}
  .start-layout .search-panel{margin:0;padding:26px 22px;border-radius:22px}.search-panel h2{font-size:23px}.search-panel .field-block{margin-top:24px}.search-panel .field-label,.search-panel legend{font-size:15px}
  .location-box{padding:14px;gap:10px}.location-box strong{font-size:14px}.location-box small{font-size:11px}.search-panel .location-actions .secondary{font-size:13px}.search-panel #gps{min-height:44px}
  .theme{font-size:13px;padding:11px 12px;min-height:48px}.search-panel .hint{font-size:11px}.search-panel #search{font-size:17px;min-height:58px;padding:15px 18px}.demo-caption{font-size:10px}
  .results{padding-top:18px}.page-heading h2{font-size:26px}.page-heading .hint{font-size:12px}.bus-button{padding:15px 10px}.bus-button strong{font-size:22px}.bus-button span{font-size:11px}.bus-button span:last-child{font-size:10px}
  #route-summary{padding:16px;margin:16px 0}.route-summary h3{font-size:15px}.route-summary p{font-size:11px}.catalog{padding:20px 16px;border-radius:18px}.catalog h3,.selection-panel h3{font-size:19px}
  .tourist-item strong{font-size:14px}.tourist-item small{font-size:11px}.visit-toggle{font-size:11px}.selection-panel{border-radius:18px}.journey-summary{padding:21px;border-radius:18px}.journey-summary h3{font-size:20px}.summary-top strong{font-size:30px}.group-summary{font-size:12px}.map-status{font-size:10px}.map-note{font-size:10px}
  .selection-dock .primary{font-size:12px}.selection-dock .secondary{font-size:11px}.selection-dock strong{font-size:12px}.selection-dock span{font-size:10px}.timeline-content strong{font-size:15px}.timeline-content .leg-type{font-size:11px}
  footer.site-footer{margin:0 22px;padding:25px 0 30px}.site-footer p{font-size:10px}
}
@media(max-width:370px){.header-inner{padding:16px 14px}.brand{font-size:18px;gap:8px}main{padding-left:14px;padding-right:14px}.start-layout .search-panel{padding:22px 16px}.start-layout .intro h1{font-size:21px}.search-panel h2{font-size:21px}footer.site-footer{margin:0 14px}}

/* The whole origin card opens the shared Kakao map directly. */
button.location-box{width:100%;text-align:left;color:var(--ink);font-weight:400;transition:border-color .15s,background .15s}
button.location-box:hover:not(:disabled){border-color:var(--sky);background:#edf8fd}
button.location-box>span{min-width:0}

.common-boarding{font-size:22px;font-weight:800;color:var(--navy);background:#eaf6fd;border:1px solid #c7e2f1;border-radius:14px;padding:18px 22px;margin:0 0 18px}
.results[data-mode=picking] #common-boarding{display:none}
.stop-marker{width:9px;height:9px;min-height:0;padding:0;border:1px solid white;border-radius:50%;background:#173552;color:#173552;box-shadow:0 1px 3px #17355240}
.poi-marker,.poi-marker.interested,.poi-marker.cluster,.poi-marker.visit-selected{position:relative;display:block;width:28px;height:37px;min-height:0;padding:0;border:0;border-radius:0;background:transparent!important;color:#d74646;outline:0;box-shadow:none}
.poi-marker.interested{color:#167cc9}.poi-marker svg{display:block;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 2px 2px #12334b40)}
.poi-marker svg path{fill:currentColor;stroke:white;stroke-width:2}.poi-marker svg circle{fill:white}.poi-marker span{position:absolute;left:0;right:0;top:5px;text-align:center;color:white;font-size:11px;font-weight:800;line-height:16px}
.poi-marker.cluster svg circle{fill:currentColor}.poi-marker.visit-selected svg{filter:drop-shadow(0 0 3px #e7ad35)}.poi-marker.visit-selected svg circle{fill:#f1c85a}.poi-marker.visit-selected span{color:#173552}
.poi-marker.selection-muted{opacity:.28}
.journey-summary .summary-top strong{font-size:clamp(20px,2.5vw,30px);line-height:1.4;word-break:keep-all}
.outcome.success{display:grid;grid-template-columns:26px minmax(0,1fr);align-items:center;column-gap:10px;row-gap:5px}
.outcome.success .state-icon{grid-column:1;grid-row:1;margin:0;line-height:1;font-size:24px}
.outcome.success h3{grid-column:2;grid-row:1;margin:0;line-height:1.4}
.outcome.success p{grid-column:2;grid-row:2}
.timeline{--timeline-axis:61px;position:relative;padding:14px 0 0}
.timeline:before{content:"";position:absolute;left:var(--timeline-axis);transform:translateX(-50%);top:26px;bottom:28px;width:2px;background:#d0e2eb;border:0}
.timeline .timeline-item{padding-bottom:16px;gap:20px}
.timeline .timeline-item:before{display:none}
.timeline .timeline-item:after{content:"";position:absolute;left:var(--timeline-axis);transform:translateX(-50%);top:14px;width:14px;height:14px;box-sizing:border-box;border:3px solid #a9c8dc;border-radius:50%;background:#fff;z-index:1}
.timeline .timeline-item.bus:after{border-color:var(--sky)}
.timeline .timeline-item.visit:after{border-color:#28856b;top:19px}
.timeline .timeline-item.walk:after{top:8px}
.timeline .timeline-content{padding:10px 12px;min-width:0}
.timeline .timeline-content:before{display:none}
.timeline .timeline-content strong{font-size:14px;overflow-wrap:anywhere}
.timeline .timeline-content p{font-size:12px;line-height:1.65;margin:5px 0}
.timeline .timeline-content .leg-type{font-size:11px;margin-bottom:4px}
.timeline .timeline-item.walk .timeline-content{padding-top:4px;padding-bottom:4px;color:#617786}
.timeline .timeline-item.walk .timeline-content:before{top:8px}
.timeline .timeline-item.walk strong{font-size:12px;font-weight:500}
.timeline .timeline-item.walk .leg-type{font-size:10px}
.timeline .timeline-item.bus .timeline-content{background-color:#E3F0FF;border:1px solid #c3d9ed;border-radius:12px}
.timeline .reboard-wait-note{font-size:11px;color:#526b7d;margin:7px 0 0;background:none;border:0;padding:0}
.timeline .timeline-item.visit .timeline-content{background-color:#E4F0D5;border:1px solid #A5DCC0;padding:15px;border-radius:14px}
.timeline .timeline-item.visit .timeline-content:before{top:19px}
.timeline .timeline-item.visit strong{font-size:17px;color:#176E4B}
.timeline .visit-stay{display:block;color:#276852;font-size:12px;font-weight:700;margin:7px 0 2px}
.timeline .timeline-location{display:block;min-height:32px;font-size:11px;margin-top:2px}
.timeline .timeline-course{position:relative;list-style:none;margin:2px 0 10px;padding:6px 0 6px 84px}
.timeline-course h3{margin:0;font-size:15px;color:#1b6453}
.timeline-course p{margin:5px 0 0;font-size:11px;line-height:1.7;color:#617786}
.timeline .leg-exact{margin:4px 0 0;font-size:10px}
.timeline .leg-exact p{white-space:pre-line;overflow-wrap:anywhere;font-size:10px}
.timeline .wait-options{margin:10px 0 0;padding:12px}
.timeline .wait-options>strong{font-size:13px}
.timeline .timeline-clock{font-size:11px;padding-top:12px}
@media(max-width:820px){
  .timeline .timeline-item{grid-template-columns:40px minmax(0,1fr);gap:16px}
  .timeline{--timeline-axis:45px}
  .timeline .timeline-course{padding-left:68px}
  .timeline .timeline-item.visit strong{font-size:16px}
}
#selected-places{display:flex;flex-direction:column;gap:0;margin:8px 0 16px}
#selected-places li{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:14px 0;border:0;border-bottom:1px solid #dce9f0;border-radius:0;background:transparent}
#selected-places .selected-place-copy{min-width:0;display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px}
#selected-places strong{font-size:15px;color:var(--navy);overflow-wrap:anywhere}
#selected-places .category{font-size:11px;margin:0}
#selected-places .stay-display{flex-basis:100%;font-size:12px;color:#526b7d;margin:0}
#selected-places .stay-controls{margin:0;gap:5px;flex-wrap:nowrap}
#selected-places .selection-action{padding:7px 9px;min-height:40px;font-size:12px;white-space:nowrap}
#selected-places .stay-input-label{display:flex;align-items:center;gap:3px;font-size:12px;color:#526b7d}
#selected-places .stay-controls input{width:66px;min-height:40px;padding:7px;font-size:14px}
#selected-places .fixed-stay-label{font-size:11px;color:#526b7d}
#selected-places li:has(.fixed-stay-label){grid-template-columns:minmax(0,1fr) auto}
#selection-route-note:empty,#selection-summary:empty,#selection-status:empty{display:none}
#selection-summary{font-size:12px;color:#aa623b}
@media(max-width:820px){
  #selected-places li{grid-template-columns:minmax(0,1fr) auto;gap:9px 6px;padding:12px 0}
  #selected-places .selected-place-copy{grid-column:1/-1}
  #selected-places .stay-controls{justify-self:start}
  #selected-places .remove-place{justify-self:end}
  #selected-places li:has(.fixed-stay-label) .selected-place-copy{grid-column:1}
}
.route-arrow{position:relative;display:block;width:14px;height:14px;line-height:0;color:#f8bf5c;pointer-events:none;text-shadow:none;background:none}
.itinerary-pass-stop{display:block;width:6px;height:6px;border:1px solid #fff;border-radius:50%;background:#19364F;box-sizing:content-box;pointer-events:none}
.route-arrow svg{position:absolute;left:1px;top:2px;display:block;transform-origin:50% 50%}
.walk-route-arrow{position:relative;display:block;width:14px;height:14px;line-height:0;color:#fff;pointer-events:none;text-shadow:none;background:none}
.walk-route-arrow svg{position:absolute;left:1.8px;top:3.75px;display:block;transform-origin:50% 50%}
.itinerary-anchor{position:relative;width:0;height:0}
.itinerary-anchor-dot{position:absolute;left:0;top:0;width:8px;height:8px;border-radius:50%;background:#111;border:1px solid white;box-shadow:0 0 0 1px #111;transform:translate(-50%,-50%)}
.itinerary-anchor-name{position:absolute;bottom:12px;left:0;transform:translateX(-50%);width:max-content;max-width:210px;padding:5px 8px;border-radius:5px;background:#111;color:#fff;font-size:11px;line-height:1.4;white-space:normal;overflow-wrap:anywhere;text-align:center}
.itinerary-anchor-name:after{content:"";position:absolute;left:50%;bottom:calc(0px - var(--anchor-stem,8px));width:1px;height:var(--anchor-stem,8px);background:#111}
.origin-anchor .itinerary-anchor-dot,.origin-anchor .itinerary-anchor-name,.origin-anchor .itinerary-anchor-name:after,.endpoint-anchor .itinerary-anchor-dot,.endpoint-anchor .itinerary-anchor-name,.endpoint-anchor .itinerary-anchor-name:after{background:#167cc9}
.origin-anchor .itinerary-anchor-dot{width:16px;height:16px;background:transparent;border:2px solid #167cc9;box-shadow:none}
.origin-anchor .itinerary-anchor-name{bottom:18px;top:auto}
.origin-anchor .itinerary-anchor-name:after{bottom:-10px;top:auto;height:10px}
.legend .dot.stop{background:#173552;border-radius:50%;width:8px;height:8px}.legend .dot.match,.legend .dot.other{background:#167cc9;border-radius:50% 50% 50% 0;transform:rotate(-45deg);width:11px;height:11px}.legend .dot.other{background:#d74646}.legend .dot.chosen{background:#f1c85a;border:2px solid #167cc9}
@media(max-width:800px){.common-boarding{font-size:18px;padding:15px 17px}}

/* Stop-based exploration shares the original map instance. */
.explore-workspace>.catalog{grid-column:1;grid-row:1;margin:0;min-width:0}.explore-workspace>.map-column{grid-column:2;grid-row:1;min-width:0;position:sticky;top:16px;align-self:start}
.station-group{border-top:1px solid #dce8f0}.station-group>summary{list-style:none;display:flex;align-items:center;gap:10px;padding:14px 0;cursor:pointer;min-height:56px}.station-group>summary::-webkit-details-marker{display:none}.station-group>summary:after{content:'＋';color:#087caf}.station-group[open]>summary:after{content:'−'}.station-group>summary strong{flex:1;font-size:14px;line-height:1.6}.station-sequence{color:#678498;font-size:10px;white-space:nowrap}.station-group .count{white-space:nowrap;font-size:11px}.station-group[open]{background:#f3faff;border-radius:10px;padding:0 10px}.station-tourists{padding:0 3px 12px}.station-tourists .tourist-item{padding-left:0}.station-locate{font-size:12px;min-height:36px}.catalog .tourist-list{max-height:65vh;overflow:auto;scrollbar-gutter:stable}.station-group .tourist-row.selected-list-item{outline:2px solid #9fcce7;outline-offset:-2px}.stop-marker.active-stop{width:15px;height:15px;border:3px solid white;box-shadow:0 0 0 3px #17355245}
@media(max-width:800px){.explore-workspace{display:flex;flex-direction:column;gap:16px}.explore-workspace>.catalog{order:1;width:100%}.explore-workspace>.map-column{order:2;position:static;width:100%}.catalog .tourist-list{max-height:55vh}.station-group>summary strong{font-size:13px}.station-group>summary{gap:7px}.station-sequence{font-size:9px}}

.station-group .station-sequence{font-size:13px;font-weight:750;color:#173552;min-width:20px}.station-ride-time{font-size:11px;font-weight:400;color:#678498;white-space:nowrap}.station-group>summary strong{overflow-wrap:anywhere}
@media(max-width:800px){.station-ride-time{display:block;font-size:10px;line-height:1.8}.station-group .station-sequence{font-size:12px;min-width:16px}}

.optimization-summary .group-summary:first-child{border-top:0;padding-top:0;margin-top:0}.optimization-summary .group-summary:last-child{margin-bottom:0}
.pin-label.visit-label{background:#146b73;color:white;width:max-content;min-width:64px;max-width:180px;white-space:normal;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;line-height:1.5;text-align:center;overflow-wrap:anywhere;font-size:12px;padding:6px 10px}

/* Page-local scale; does not change the browser's zoom preference. */
html{zoom:1.1}
body,main,.start-layout,.search-panel,.explore-workspace,.schedule-workspace,.schedule-side{min-width:0}
img{max-width:100%}
.location-box strong{word-break:keep-all;text-wrap:balance}
#location-dialog{width:min(800px,calc(100vw / 1.1 - 24px));max-width:calc(100vw / 1.1 - 24px);max-height:calc(100dvh / 1.1 - 24px);padding:22px;border:1px solid #d5e5ef;border-radius:20px;overflow:auto;color:#203b48}
#location-dialog::backdrop{background:#0b284180}
.location-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px}
.location-dialog-head h2{font-size:23px;margin:0}
#location-dialog .dialog-close{position:static;flex-shrink:0;font-size:28px;min-width:44px}
#location-dialog #close-location{display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;line-height:0;border-radius:50%}
#close-location svg{display:block;width:20px;height:20px;fill:none;stroke:#657d88;stroke-width:1.8;stroke-linecap:round}
#location-dialog #trip-map{height:min(55dvh,480px);min-height:240px}
#location-dialog .legend,#location-dialog .map-toolbar{display:none}
#location-dialog .hint{margin:10px 0 16px}
.origin-pick-pin{width:32px;height:42px;pointer-events:none;filter:drop-shadow(0 2px 3px #16364b55)}
.origin-pick-pin svg{display:block;width:100%;height:100%;fill:#167cc9;stroke:#fff;stroke-width:1.5}
.origin-pick-pin circle{fill:#fff;stroke:none}
#map-status{position:static;inset:auto;width:auto;margin:0 0 10px;padding:10px 12px;border:1px solid #e6b7a7;border-radius:10px;background:#fff4ef;color:#92402b}
#map-status[hidden]{display:none}
@media(max-width:880px){.start-layout,.schedule-workspace{display:block}.explore-workspace{grid-template-columns:minmax(0,1fr)}.schedule-side{position:static}.brand{max-width:100%;overflow-wrap:anywhere}}
@media(max-width:440px){#location-dialog{padding:16px}.location-dialog-head h2{font-size:20px}.start-layout .intro h1{font-size:23px}.brand{font-size:20px}.theme{padding:10px}.selection-dock{max-width:100%}.catalog-tools>*{min-width:0}.location-box strong{overflow-wrap:anywhere}}
/* Kakao SDK expects unscaled pointer/projection pixels. Keep its viewport at
   native scale while sizing the map area to the same 110% visual dimensions. */
#trip-map{zoom:calc(1 / 1.1);width:100%;height:495px}
.schedule-side #trip-map{height:462px}
#location-dialog #trip-map{height:min(60.5dvh,528px);min-height:264px}
@media(max-width:800px){#trip-map{height:374px}.schedule-side #trip-map{height:352px}}
