:root{--ink:#17212f;--muted:#4b5563;--navy:#2257bc;--teal:#2563eb;--line:#e2e7ee;--bg:#fff;--soft:#f5f8fe;--focus:#2563eb;--max:1040px}
*{box-sizing:border-box}html{font-family:-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo','Noto Sans KR','Malgun Gothic',sans-serif;scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);padding-bottom:calc(83px + env(safe-area-inset-bottom));word-break:keep-all;overflow-wrap:break-word;-webkit-font-smoothing:antialiased;font-size:15px}button,input,textarea{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--focus);outline-offset:2px}a{color:inherit}.hidden{display:none!important}
.hero{background:var(--navy);color:#fff;padding:20px 18px 19px}.hero-inner{max-width:var(--max);margin:auto}.overline{font-size:12px;font-weight:750;letter-spacing:.05em;color:#d5e8ed;display:flex;align-items:center;gap:8px}.overline-date{margin-left:auto;font-weight:600;letter-spacing:0}.overline .dot{height:7px;width:7px;border-radius:50%;background:#dbeafe;flex:none}.hero h1{margin:11px 0 5px;line-height:1.2;letter-spacing:-.025em;font-size:clamp(27px,6.2vw,43px);font-weight:800}.hero h1 em{font-style:normal;color:#ffffff}.hero p{font-size:14px;color:#e0edf2;margin:0;font-weight:650}.hero p span{opacity:.6;padding:0 4px}.hero-pills{display:none}.container{max-width:var(--max);margin:auto;padding:18px 14px 34px}.tabbar{display:none}.section-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 13px;border-left:0;padding-left:0}.section-kicker,.booking-label,.place-kicker{display:block;font-size:12px;color:#355e6d;font-weight:800;letter-spacing:.05em;margin-bottom:4px}.section-top h2,.daycard h2,.event h3{letter-spacing:-.025em}.section-top h2{font-size:23px;line-height:1.25;margin:0}.section-top p{font-size:13px;margin:3px 0 0;color:var(--muted)}.small-btn,.secondary,.ghost,.file-button{min-height:44px;border:1px solid #b8c9d4;background:#fff;color:#234356;border-radius:11px;padding:9px 12px;font-size:13px;font-weight:750;white-space:nowrap}
.date-scroller{position:sticky;top:0;z-index:50;display:flex;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;background:#fff;margin:0 -14px;padding:10px 14px 12px;border-bottom:1px solid #ecf0f3}.date-scroller::-webkit-scrollbar{display:none}.date-pill{flex:0 0 79px;min-height:83px;padding:10px 9px;display:flex;flex-direction:column;align-items:flex-start;gap:3px;background:#f5f8fa;color:#364b5c;border:1px solid #e1e8ed;border-radius:12px;scroll-snap-align:center;text-align:left}.date-pill.active{background:var(--navy);border-color:var(--navy);color:#fff}.date-pill small{font-size:12px;line-height:1.15;font-weight:650}.date-pill b{font-size:22px;letter-spacing:-.025em;line-height:1.12}.date-pill b span{font-size:11px;letter-spacing:0}.date-pill-city{overflow:hidden;max-width:100%;text-overflow:ellipsis;white-space:nowrap}.daycard{background:#edf3ff;border:1px solid #cbdcfb;border-radius:14px;padding:15px 16px;margin:13px 0 11px}.daycard-meta{font-size:12px;color:#2857a8;font-weight:750;display:flex;justify-content:space-between;gap:8px}.daycard h2{font-size:20px;line-height:1.35;margin:6px 0}.day-summary{font-size:14px;line-height:1.65;margin:0;color:#34445f;font-weight:550}
.weather-switch{display:flex;gap:5px;background:#eef3f6;border-radius:12px;padding:4px;margin:10px 0}.weather-switch button{flex:1;border:0;border-radius:9px;min-height:42px;background:transparent;color:#455b6b;font-size:13px;font-weight:750}.weather-switch button.active{background:#fff;box-shadow:0 1px 5px #17253215;color:#173b50}.advice{display:flex;gap:10px;align-items:flex-start;font-size:13px;color:#3c5367;background:#f4f7fa;border:1px solid #e1e7ed;padding:10px 12px;border-radius:10px;line-height:1.6;margin:0 0 16px}.advice strong{white-space:nowrap;color:#234b63}.advice.rain{background:#f5f7fb}.timeline{display:grid;gap:10px;position:relative;padding-left:15px}.timeline:before{position:absolute;content:"";left:5px;top:17px;bottom:17px;width:2px;background:#e2e8f0}.event{position:relative;min-width:0}.timeline-dot{position:absolute;left:-14px;top:20px;width:10px;height:10px;border:2px solid #fff;border-radius:50%;background:#64748b;box-shadow:0 0 0 2px #cbd5e1;z-index:2}.event-main{background:#fff;border:1px solid #dce5eb;border-radius:13px;overflow:hidden;min-width:0}.event .line1{background:#f3f6fc;display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 13px;border-bottom:1px solid #e1e9ed}.event-food .line1{background:#fff7eb}.event-flight .line1,.event-move .line1{background:#f1f5ff}.event-stay .line1{background:#f7f4ff}.event time{font-variant-numeric:tabular-nums;color:#1b3f84;font-weight:800;font-size:14px}.kind{border-radius:6px;padding:3px 7px;font-size:12px;font-weight:800;color:#1d4ed8;background:#fff;border:1px solid #d9e5eb}.kind-food{color:#a4530a}.kind-move,.kind-flight{color:#1d4ed8}.kind-stay{color:#6d41b8}.event h3{font-size:18px;line-height:1.45;margin:11px 13px 7px}.event-body{padding:0 13px 13px}.detail{font-size:15px;line-height:1.75;color:#304252;white-space:pre-line;overflow-wrap:break-word}.extras{border-top:1px solid #e9edf1;margin-top:10px;padding-top:9px;display:flex;align-items:flex-start;gap:8px;font-size:13.5px;line-height:1.6;color:#405264}.extras b{flex:0 0 31px;color:#34576c;font-size:12px}.memo-details{margin-top:11px;background:#f7f9fb;border:1px solid #e7ecf1;border-radius:9px;font-size:13.5px;color:#425364}.memo-details summary{padding:10px 11px;cursor:pointer;font-weight:700}.memo-details p{margin:0;padding:0 11px 12px;line-height:1.7}.warning-note{margin-top:11px;padding:10px 12px;border-radius:9px;background:#fff4e9;border:1px solid #f2d8bb;display:grid;gap:3px;font-size:13.5px;color:#744519;line-height:1.5}.event-location{border-top:1px solid #e5ebee;margin-top:11px;padding-top:11px;display:grid;gap:9px}.event-place{display:flex;justify-content:space-between;align-items:center;gap:8px;font-weight:700;font-size:15px}.show-driver{border:1px solid #b9ccd7;color:#1a536b;background:#f2f8fa;border-radius:9px;padding:9px 11px;font-size:12px;font-weight:800;min-height:40px}.map-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.map-actions a{display:flex;gap:6px;align-items:center;justify-content:center;min-width:0;min-height:44px;text-decoration:none;border:1px solid #d9e1e8;border-radius:10px;font-size:13px;font-weight:750;background:#fff;padding:8px 4px}.map-service-icon{width:21px;height:21px;object-fit:contain;flex:none}.out-arrow{font-size:13px;color:#587087}.edit-event{margin-top:12px;border-radius:8px;background:#f2f6ff;border:1px solid #ccdaf8;padding:10px 12px;color:#1e4ca4;font-weight:750;font-size:13px}.add-btn{width:100%;border:1px dashed #90aebd;border-radius:12px;background:#f7fafc;color:#173b50;min-height:48px;font-weight:750}
/* Compact navigation cards retain accessible detail on demand. */
.compact-toggle>summary{cursor:pointer;list-style:none;padding:10px 13px;position:relative}.compact-toggle>summary::-webkit-details-marker{display:none}.compact-heading{display:flex;align-items:center;gap:8px;justify-content:space-between}.compact-toggle>summary strong{display:block;margin:4px 25px 0 0;font-size:15px;line-height:1.4;letter-spacing:-.015em}.expand-hint{position:absolute;bottom:10px;right:12px;color:#536779;font-size:12px;font-weight:700}.expand-hint:before{content:'⌄ ';font-size:15px}.compact-toggle[open] .expand-hint{position:static;display:block;margin:4px 0 0;font-size:12px}.compact-toggle[open] .expand-hint:before{content:'⌃ '}.compact-toggle>.event-body{border-top:1px solid #e5ebef;padding-top:12px}.compact-toggle .detail{font-size:14px}
.map{height:min(56vh,450px);min-height:320px;border-radius:14px;border:1px solid var(--line);overflow:hidden;background:#f2f6f8}.map-fallback{padding:14px;border-radius:9px;background:#fff4e9;color:#78491e;font-size:13px}.muted{color:var(--muted);font-size:13px;line-height:1.7}.tiny{font-size:12px}.place-list{display:grid;gap:12px;margin-top:14px}.place,.panel{border:1px solid var(--line);background:#fff;border-radius:14px;padding:16px;margin-bottom:12px}.place-top{display:flex;align-items:flex-start;justify-content:space-between}.place-top b{display:block;font-size:17px;line-height:1.4}.place-pin{font-size:19px;color:#386178}.langs{margin:10px 0}.lang-row{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:7px;padding:9px 0;border-top:1px solid #e9eef1;align-items:center}.lang-row span{font-size:12px;font-weight:800;color:#46596d}.lang-row strong{font-size:15px;line-height:1.5;overflow-wrap:anywhere}.lang-row button,.copy-actions button{border:1px solid #dce5eb;border-radius:8px;background:#f4f7fa;color:#254c65;font-size:12px;font-weight:750;padding:8px 10px}.pinyin-row{font-size:12.5px;color:#5b6772;line-height:1.7}.place>.show-driver{width:100%;margin-bottom:10px}.place>.map-actions{margin-top:5px}.place .map-service-icon{height:20px}.route-place-item{display:flex;align-items:flex-start;gap:8px;margin-bottom:11px}.route-place-item .place{flex:1;min-width:0;margin-bottom:0}.route-stop-number{flex:none;min-width:33px;margin-top:10px;text-align:center;background:#2257bc;color:#fff;padding:9px 5px;border-radius:9px;font-size:12px;font-weight:800}.route-marker{display:flex;align-items:center;justify-content:center;min-width:33px;height:33px;border-radius:18px;padding:2px 7px;background:#2257bc;color:#fff;font-size:12px;font-weight:800;border:2px solid white;box-shadow:0 2px 6px #0004}.route-marker-multi{min-width:52px}.popup-order{font-weight:800;color:#254357;font-size:12px;margin:4px 9px}.maplibregl-popup-content{border-radius:12px!important;padding:6px!important;max-width:280px}.maplibregl-popup-content .place{border:0;margin-bottom:0;padding:9px}.maplibregl-popup{max-width:300px!important}
.panel h3{background:#edf3ff;color:#1e40af;font-size:17px;padding:10px 12px;border-radius:9px;margin:0 0 12px}.panel p{margin:0 0 10px}.booking-row{display:flex;justify-content:space-between;gap:10px;margin-bottom:12px}.booking-row strong{font-size:17px;line-height:1.5}.badge{font-size:12px;color:#1b6449;background:#eaf5ec;padding:6px 8px;border-radius:7px;white-space:nowrap;font-weight:800}.badge.pending{background:#fff3e2;color:#82551b}.booking-address{border-top:1px solid var(--line);padding-top:10px}.cols{display:grid;grid-template-columns:1fr 1fr;gap:8px}.stat{background:#f4f7f9;padding:11px;border-radius:9px;min-width:0}.stat small{font-size:12px;display:block;color:#526171;line-height:1.5}.stat b{font-size:14px;line-height:1.6;overflow-wrap:anywhere}.booking-price{margin:12px 0!important}.booking-price b{font-size:19px}.copy-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.hotel-driver{width:100%;margin:2px 0 12px}.flight-card h3{font-size:20px}.btn-row{display:flex;flex-wrap:wrap;gap:8px}.checkrow{border:1px solid var(--line);border-radius:10px;padding:13px;display:flex;align-items:center;gap:11px;margin:8px 0;font-weight:700;font-size:15px}.checkrow input{width:22px;height:22px;accent-color:var(--teal);flex:none}.checkrow small{display:block;color:var(--muted);font-size:12px;font-weight:500;margin-top:4px}
.bottomnav{position:fixed;bottom:0;left:0;right:0;z-index:100;background:#ffffffed;backdrop-filter:blur(12px);border-top:1px solid #dbe4e9;display:grid;grid-template-columns:repeat(4,1fr);padding-bottom:env(safe-area-inset-bottom);box-shadow:0 -3px 15px #182c3e0a}.bottomnav button{border:0;background:none;color:#596875;padding:8px 0 9px;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:12.5px;font-weight:750;min-height:62px}.bottomnav button.active{color:#1d4ed8}.bottomnav svg{height:23px;width:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
dialog{border:0;border-radius:16px;max-width:min(95vw,560px);width:100%;max-height:90dvh;overflow:auto;box-shadow:0 15px 60px #17232f50;padding:18px;background:white;color:var(--ink)}dialog::backdrop{background:#0d1f2fc4}.dialog-head,.driver-bar{display:flex;align-items:center;justify-content:space-between;gap:8px}.dialog-head h2,.driver-bar h2{font-size:21px;margin:0}.close,.driver-bar button{border:0;background:#edf2f5;border-radius:9px;padding:10px;font-size:14px;color:#29445b}dialog label{display:block;font-size:13px;font-weight:700;color:#314e60;margin:13px 0}dialog input:not([type=checkbox]),dialog textarea{display:block;width:100%;font-size:16px;border-radius:9px;border:1px solid #b9cbd7;padding:11px;margin-top:6px}dialog textarea{resize:vertical}.warn-option{display:flex;align-items:center;gap:10px}.warn-option input{width:20px;height:20px;accent-color:#af631b}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:15px}.primary{background:var(--navy);color:#fff;border:1px solid var(--navy);border-radius:10px;padding:12px 17px;font-weight:800}.danger{background:#fff2f1;color:#ae3b3b;border:1px solid #f2d1cd;border-radius:10px;padding:11px}.driver-dialog{width:min(96vw,700px);max-width:700px;padding:0}.driver-content{padding:18px}.driver-korean{font-size:16px;color:var(--muted);margin:20px 0 8px}.driver-chinese{font-size:clamp(32px,9vw,52px);font-weight:800;line-height:1.42;letter-spacing:0;word-break:normal;overflow-wrap:anywhere}.driver-address{font-size:clamp(20px,5.5vw,30px);line-height:1.5;font-weight:700;margin-top:16px;color:#2e4759}.driver-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:25px 0 5px}.driver-buttons button{white-space:normal;min-height:49px}.notice{background:#fff3e7;color:#79481d;padding:13px;border-radius:9px;font-size:14px}.toast{position:fixed;z-index:900;bottom:calc(88px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);background:#183c52;color:#fff;border-radius:40px;padding:11px 17px;font-size:13px;font-weight:700;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .2s}.toast.show{opacity:1}
@media(max-width:370px){.container{padding-left:11px;padding-right:11px}.date-scroller{margin-left:-11px;margin-right:-11px;padding-left:11px}.map-actions a{font-size:12px}.event h3{font-size:17px}.date-pill{flex-basis:75px}.event-place{flex-wrap:wrap}}
@media(min-width:760px){body{padding-bottom:30px}.hero{padding:38px 28px 34px}.hero-pills{display:flex;gap:8px;margin-top:16px}.hero-pills span{padding:5px 11px;color:#e7f5f7;background:#ffffff1b;border:1px solid #ffffff3a;border-radius:30px;font-size:12px}.container{padding:26px 22px}.tabbar{display:flex;gap:8px;margin-bottom:24px}.tabbar button{border:1px solid var(--line);border-radius:10px;background:#fff;padding:12px 22px;font-size:14px;font-weight:750}.tabbar button.active{background:var(--navy);color:#fff}.date-scroller{top:0;margin:0;padding:8px 0 13px}.date-pill{flex-basis:100px}.timeline{max-width:820px}.daycard{padding:20px}.daycard h2{font-size:25px}.map{height:560px}.place-list{grid-template-columns:repeat(2,minmax(0,1fr))}.bottomnav{display:none}.section-top h2{font-size:28px}.hero h1{font-size:42px}}
