/* Mobile-first journal: one reading column, thumb-level navigation, no tiny text. */
:root{--paper:oklch(98% .008 85);--surface:oklch(99.5% .003 85);--ink:oklch(27% .025 160);--muted:oklch(48% .022 160);--line:oklch(88% .014 140);--blue:oklch(39% .065 160);--accent:oklch(43% .075 160);--soft:oklch(95% .02 150);--warn:oklch(95% .04 80)}
html{-webkit-text-size-adjust:100%;scroll-padding-top:75px}body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','PingFang SC','Microsoft YaHei',sans-serif;font-size:16px;line-height:1.65}button,select,input{font-size:16px;min-height:48px}button,a,summary{touch-action:manipulation}button:active{transform:translateY(1px)}[hidden]{display:none!important}main{max-width:1080px;margin:0 auto;padding:0 28px 100px}p{overflow-wrap:anywhere}button:disabled{transform:none}a,button{overflow-wrap:anywhere}.appbar{max-width:1080px;padding:20px 28px 16px}.brand{font-size:21px;font-weight:700;gap:10px}.brand small{font-size:12px;letter-spacing:.08em}.seal{transform:none;border:0;border-radius:50%;background:var(--soft);color:var(--accent);font:700 24px/1 serif;width:43px;height:43px}.header-end{gap:12px}.icon-button{display:flex;align-items:center;gap:7px;border-radius:24px;font-size:14px;background:var(--surface);padding:8px 14px}.ui-icon{width:21px;height:21px;display:inline-block;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.trip-cover{position:relative;isolation:isolate;border-radius:20px;overflow:hidden;height:270px;margin:0 0 20px;background:var(--blue);color:var(--surface)}.trip-cover>img{width:100%;height:100%;object-fit:cover;object-position:center 55%;position:absolute;inset:0;z-index:-2}.trip-cover:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,oklch(19% .03 160 / .9),oklch(25% .02 160 / .02) 95%);z-index:-1}.cover-copy{height:100%;display:flex;flex-direction:column;justify-content:flex-end;padding:26px 30px}.cover-copy .cover-kicker{font-size:12px;letter-spacing:.18em;color:oklch(94% .012 90)}.cover-copy h1{font-size:36px;letter-spacing:.08em;line-height:1.35;margin:5px 0 8px}.cover-copy p{font-size:14px;color:oklch(94% .008 90)}.cover-stamp{position:absolute;right:20px;top:18px;font-size:12px;border:1px solid oklch(97% .01 90 / .65);padding:4px 10px;border-radius:20px;background:oklch(22% .02 160 / .4)}
.now{background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:16px;padding:22px 24px;display:block;box-shadow:0 6px 22px oklch(28% .03 150 / .035)}.now .eyebrow{color:var(--accent);font-size:12px;letter-spacing:.03em;display:flex;align-items:center;gap:7px;margin-bottom:8px}.status-dot{width:7px;height:7px;border-radius:50%;background:var(--accent);display:inline-block}.now h2{font-size:22px;line-height:1.4;margin-bottom:9px}.now p{font-size:15px;color:var(--muted);line-height:1.7}.now .now-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.now .actions{display:flex;flex-direction:row;align-items:center;gap:10px;flex-wrap:wrap;margin-top:16px}.now .actions a,.now .actions button{border:1px solid var(--line);border-radius:10px;padding:10px 16px;min-height:46px;font-size:14px;background:var(--surface);color:var(--ink);font-weight:600;display:inline-flex;gap:7px;justify-content:center;align-items:center}.now .actions>:first-child{background:var(--accent);color:var(--surface);border-color:var(--accent)}.now .actions .ghost{color:var(--muted);border:0;background:none}.now .next{border-top:1px solid var(--line);font-size:13px;margin-top:14px;padding-top:12px;color:var(--muted)}.now.urgent{background:var(--warn);border-color:oklch(72% .06 70)}.location-help{font-size:14px;background:var(--soft);border-radius:12px;padding:14px 16px;margin:10px 0}.location-help p{margin:0}.location-help button{margin-top:8px;min-height:44px;font-size:14px}.utility{display:flex;flex-wrap:wrap;font-size:13px;gap:0 7px;padding:7px 2px 13px}.utility #location-status{flex:1;min-width:150px}.utility button{font-size:13px;min-height:44px}.utility #offline-status{width:auto;margin-left:0;font-size:12px;color:var(--muted)}
.dates{gap:8px;padding:4px 0 12px;border:0;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none}.dates::-webkit-scrollbar{display:none}.dates button{flex:1;min-width:69px;min-height:76px;padding:9px 5px;border:1px solid transparent;border-radius:13px;scroll-snap-align:center;background:var(--surface)}.dates button span{font-size:20px;font-weight:650;line-height:1.4}.dates button small{font-size:12px}.dates button.active{background:var(--accent);color:var(--surface)}.dates button.active small{color:oklch(95% .01 90)}.dates button.active:after{display:none}.toolbar{gap:10px;padding:0 0 20px;align-items:center}.toolbar .badge{background:none;padding:0;font-size:12px;color:var(--muted)}.toolbar label{font-size:13px}.toolbar select{font-size:14px;min-height:44px;border-radius:22px;padding:6px 12px;background:var(--surface);max-width:190px}.toolbar>div{display:flex;align-items:center}.tabs{gap:12px;margin:0 0 26px;border:0;display:flex}.tabs button{border:1px solid var(--line);border-radius:25px;font-size:14px;padding:10px 20px;min-height:48px;display:flex;align-items:center;gap:8px;color:var(--muted)}.tabs button[aria-current=page]{box-shadow:none;color:var(--accent);background:var(--soft);border-color:transparent}.tabs button span{font-size:14px}.day-heading{display:block;margin:0 0 20px}.day-heading .eyebrow{font-size:12px}.day-heading h1,.section-heading h1,.food-intro h1{font-size:25px;margin:5px 0 10px;line-height:1.35}.day-heading p{font-size:15px;max-width:65ch}.metadata{display:flex;flex-wrap:wrap;gap:8px;font-size:13px;margin:14px 0}.metadata span{padding:6px 10px;background:var(--soft);border-radius:7px}.day-context{margin:12px 0;border:0;font-size:14px;color:var(--muted)}.day-context summary{cursor:pointer;min-height:44px;padding:8px 0}.day-context p{font-size:14px}.two-column{grid-template-columns:minmax(0,1fr) 250px;gap:40px}.timeline{border:0}.event{border:0;position:relative;margin:0 0 4px}.event summary{grid-template-columns:68px minmax(0,1fr) 20px;gap:12px;padding:19px 2px;min-height:80px;border-bottom:1px solid var(--line)}.event summary:after{font-size:20px}.time{font-size:15px;font-weight:650;padding-top:1px;line-height:1.6}.time span{font-size:12px;font-weight:400}.event-title{font-size:16px;line-height:1.5;font-weight:600}.event .summary-meta{font-size:12px;line-height:1.5;margin-top:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.event.travel summary{min-height:68px;padding:16px 2px}.event.travel .event-title{font-size:14px;font-weight:500}.event.rest .event-title{color:var(--muted)}.event-body{padding:18px 0 20px 80px;font-size:16px}.event-body p{font-size:15px;line-height:1.8}.event[open]{margin-bottom:10px}.event[open] summary{border-bottom:0}.event[open] .event-body{border-bottom:1px solid var(--line)}.event.current{border-radius:14px;padding:0 12px;background:var(--soft)}.event.current summary{padding-left:0;padding-right:0}.event .actions{gap:8px}.event .actions>a,.event .actions>button{min-height:46px;font-size:14px;padding:10px 14px;display:inline-flex;align-items:center;justify-content:center}.event .actions>a:first-child{background:var(--accent);border-color:var(--accent);color:var(--surface)}.event .tag{font-size:11px;margin-left:5px}.inline-choice{margin-top:16px;font-size:14px}.inline-choice select{font-size:16px;width:100%}.fallback{font-size:14px;padding:14px;margin-top:16px}.sources-inline{gap:0 12px}.sources-inline a{font-size:12px;min-height:44px;display:inline-flex;align-items:center}.side-notes{top:20px}.note{border-top:1px solid var(--line)}.note p,.note li{font-size:14px}.notice{padding:16px;border-radius:12px}.notice h3{font-size:16px}.notice p{font-size:14px}.booking-note{background:var(--warn);margin-bottom:18px}.booking-note summary{min-height:48px;cursor:pointer;font-size:14px;font-weight:600}.booking-note p{font-size:14px}.section-heading p,.food-intro p{font-size:15px}.food-gallery{gap:12px;margin-bottom:20px}.food-gallery img{height:180px;border-radius:14px}.day-photo figcaption{font-size:11px;line-height:1.6;margin-top:6px}.food-gallery .day-photo{min-width:0}.food-option{grid-template-columns:48px minmax(0,1fr) auto;padding:20px 0;gap:12px}.food-select{width:44px;height:44px;min-height:44px}.food-option.selected{padding:20px 12px;border-radius:12px}.food-option h3{font-size:16px}.food-option p{font-size:14px}.food-option details{font-size:14px}.food-option summary{min-height:48px}.food-links a{min-height:44px;display:flex;align-items:center;font-size:14px}.food-option .price{font-size:16px}.budget-banner{font-size:14px;border:0;background:var(--soft)}.meal-group header h2{font-size:20px}.meal-group header small{font-size:13px}.map-canvas{height:500px;border-radius:16px}.map-layout{grid-template-columns:minmax(0,1fr) 250px}.map-controls button{font-size:14px;min-height:46px}.map-label{font-size:13px}.map-stop{min-height:70px}.map-stop b{font-size:14px}.map-stop small{font-size:12px}.map-number{background:var(--accent)}.gps-pulse{width:18px;height:18px;background:#2877c9;border:3px solid #f9fbfe;border-radius:50%;box-shadow:0 0 0 7px #2877c925}.map-empty{padding:20px;background:var(--soft);border-radius:12px;font-size:14px}.checklist li{padding:20px 0}.checklist strong{font-size:16px}.checklist small{font-size:14px}.checklist input{min-height:24px;width:24px;height:24px}.fact-table{font-size:14px}.prepare-section h2{font-size:21px}.prepare-section p,.prepare-section li{font-size:15px}.expanded-guides summary{font-size:16px;min-height:48px}.expanded-guides p{font-size:15px}.backup summary{min-height:48px;font-size:16px}.backup p{font-size:15px}.inline-panel input,.inline-panel select{font-size:16px}.inline-panel p{font-size:14px}footer{font-size:12px;margin-top:32px;padding:20px 0}footer button{min-height:44px;font-size:13px}#toast{font-size:14px;bottom:95px;max-width:calc(100vw - 32px)}
@media(max-width:767px){main{padding:0 18px 110px;margin:0;width:100%;max-width:none}.appbar{padding:14px 18px 12px}.brand{font-size:19px}.brand small{font-size:10px;letter-spacing:.06em}.seal{width:38px;height:38px;font-size:22px}.trip-dates{display:none}.icon-button{min-height:44px;padding:7px 11px;font-size:13px}.trip-cover{height:210px;border-radius:17px;margin-bottom:14px}.cover-copy{padding:20px}.cover-copy h1{font-size:30px}.cover-copy p{font-size:12px}.cover-copy .cover-kicker{font-size:10px}.cover-stamp{font-size:10px;right:14px;top:14px}.now{padding:17px 18px;border-radius:14px}.now h2{font-size:19px}.now p{font-size:14px}.now .eyebrow{font-size:11px}.now .actions{gap:8px;margin-top:13px}.now .actions a,.now .actions button{font-size:13px;padding:9px 12px;min-height:44px}.now .next{font-size:12px;padding-top:10px;margin-top:12px}.now .actions .ghost{padding-left:4px;padding-right:4px}.utility{font-size:12px;padding:4px 0 8px}.utility #offline-status{display:none}.utility button{font-size:12px}.dates{margin:0 -18px;padding:2px 18px 12px;gap:7px}.dates button{min-width:58px;min-height:68px;flex:0 0 58px;padding:7px 4px}.dates button span{font-size:17px}.dates button small{font-size:11px}.toolbar{padding:0 0 20px;display:flex;align-items:center}.toolbar>div{flex:initial}.toolbar .badge{font-size:11px}.toolbar label{display:none}.toolbar select{font-size:13px;max-width:175px;min-height:44px}.tabs{position:fixed;left:0;bottom:0;right:0;background:var(--surface);border-top:1px solid var(--line);display:flex;gap:0;margin:0;padding:6px 10px calc(7px + env(safe-area-inset-bottom));z-index:1200}.tabs button{flex:1;min-width:0;min-height:54px;display:flex;flex-direction:column;gap:3px;padding:5px 6px;border:0;border-radius:12px;font-size:13px;line-height:1.3}.tabs button span{font-size:11px;margin:0}.tabs .ui-icon{width:22px;height:22px}.day-heading{margin:0 0 14px}.day-heading h1,.section-heading h1,.food-intro h1{font-size:24px}.day-heading p{font-size:14px}.day-heading .eyebrow{font-size:11px}.metadata{font-size:12px;gap:6px}.metadata span{padding:5px 8px}.two-column,.map-layout{display:block}.side-notes{display:none}.event summary{grid-template-columns:59px minmax(0,1fr) 16px;gap:10px;padding:18px 0}.event-title{font-size:15px}.time{font-size:14px}.time span{font-size:11px}.event .summary-meta{font-size:11px}.event-body{padding:8px 0 20px 0}.event-body p{font-size:15px}.event-body .fallback,.event-body .inline-choice{margin-left:0}.event-body .address{font-size:13px}.event .actions{display:flex;flex-wrap:wrap}.event .actions a,.event .actions button{font-size:13px;flex:1 0 auto}.event.current{padding:0 10px}.food-gallery img{height:140px}.food-option{grid-template-columns:44px minmax(0,1fr);gap:10px}.food-option .price{grid-column:2;grid-row:2;font-size:14px}.food-option.selected{padding:18px 10px}.food-option p{font-size:14px}.food-select{width:44px;height:44px;min-height:44px}.meal-group header{display:block}.meal-group header small{display:block;margin-top:5px}.food-intro{display:block}.food-intro p{font-size:14px}.map-canvas{height:390px;height:52svh;min-height:300px;max-height:540px}.map-stops{margin-top:12px}.map-controls{gap:8px}.map-controls button{flex:1;font-size:13px;padding:9px}.map-label{font-size:12px}.map-stop{gap:10px}.fact-table{display:block;overflow-x:auto;font-size:13px}.fact-table td{min-width:90px}.fact-table td:nth-child(2){min-width:170px}.fact-table td:nth-child(3){min-width:150px}.inline-panel{padding:16px}.inline-panel select{width:100%}.checklist small{font-size:14px}.section-heading{margin-bottom:20px}.location-help{font-size:13px}.booking-note{padding:6px 14px}.booking-note p{padding-bottom:12px}.booking-note summary{font-size:13px}}
@media(max-width:359px){main{padding-left:14px;padding-right:14px}.appbar{padding-left:14px;padding-right:14px}.brand small{display:none}.dates{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.now .actions{gap:5px}.now .actions>*{flex:1}.toolbar .badge{max-width:100px}.event-title{font-size:14px}.cover-copy h1{font-size:27px}}
@media(min-width:768px){.trip-cover{height:300px}.cover-copy h1{font-size:40px}.now{display:grid;grid-template-columns:1fr auto;gap:24px}.now .actions{flex-direction:column;justify-content:center;margin:0;min-width:145px}.now .actions>*{width:100%}.utility #offline-status{margin-left:auto}.dates button{min-width:75px}.trip-cover .cover-copy{padding:30px}}
@media print{.trip-cover,.location-help,.booking-note,.tabs{display:none!important}.event-body{padding-left:0}.fact-table{display:table;overflow:visible}main{padding:0}.side-notes{display:none}}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.leaflet-control-zoom a{width:44px!important;height:44px!important;line-height:44px!important}.map-controls button{min-height:48px}.leaflet-popup-close-button{width:40px!important;height:40px!important;line-height:40px!important}

.manual-pin{width:24px;height:24px;border-radius:50%;background:#ab732e;color:#fffaf1;text-align:center;font:12px/24px sans-serif;border:1px solid #fffaf1}
