/* Travel interface: compact navigation, clear hierarchy, one accent. */
:root {
 --ink:#172d38; --ink-soft:#536773; --ink-mute:#5d6f7c;
 --jungle-900:#103e3c; --jungle-800:#12564f; --jungle-700:#126b61;
 --jungle-600:#287b70; --jungle-500:#72a69b;
 --sand-50:#f4f6f8; --sand-100:#edf2f3; --sand-200:#e2eaec;
 --card:#fff; --line:#dce5e9; --coral:#ac522a; --coral-soft:#fff2e9;
 --radius:16px; --shadow:0 3px 14px #163a4510; --topbar-h:64px;
}
html { scroll-padding-top:125px; }
body { background:var(--sand-50); font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; color:var(--ink); font-size:15px; line-height:1.55; }
button,input,select,textarea { font:inherit; }
a { text-underline-offset:3px; }
:focus-visible { outline:3px solid #248dce; outline-offset:3px; }
[hidden] { display:none !important; }
.prose h1 { font-size:clamp(26px,3.6vw,38px); font-weight:750; line-height:1.15; letter-spacing:-1.2px; color:var(--ink); }
.prose h2 { font-size:21px; letter-spacing:-.5px; border-color:var(--line); }
.prose h3 { font-size:17px; }
.prose h4 { font-size:16px; }
.prose p,.prose li { overflow-wrap:break-word; }
.prose { min-width:0; }
.page { max-width:1180px; padding-top:28px; }
.topbar { background:var(--card); border-bottom:1px solid var(--line); box-shadow:none; }
.topbar-inner { min-height:64px; gap:12px; }
.brand { gap:9px; }
.brand-flag { width:34px; height:34px; border:0; border-radius:10px; background:#126b61; color:white; font:700 13px/34px inherit; display:grid; place-items:center; }
.brand-flag>span { display:none; }
.brand-text { color:var(--ink); font-size:15px; line-height:1.2; font-weight:700; }
.brand-text small { font-size:10px; letter-spacing:.3px; color:var(--ink-mute); margin-top:3px; }
.header-note { display:none; }
.site-search-trigger,.theme-toggle,.burger { border:1px solid var(--line); background:var(--card); border-radius:11px; min-height:42px; box-shadow:none; color:var(--ink-soft); }
.site-search-trigger { display:flex; gap:10px; align-items:center; padding:9px 13px; margin-left:auto; cursor:pointer; }
.site-search-trigger span { font-size:13px; }
.theme-toggle { margin-left:0; padding:9px 11px; }
.theme-toggle span { display:none; }
.burger { width:42px; }
.nav a { border-radius:10px; padding:11px 14px; }
.nav a.active { background:#e6f3ef; color:#12564f; border-color:transparent; font-weight:700; }
.nav-bottom { display:none; }
.footer { margin-top:36px; background:transparent; border-top:1px solid var(--line); }
.footer-inner { font-size:11px; color:var(--ink-mute); }
.hero:not(:has(img)),.step-block,.lock-screen { background:var(--card); border:1px solid var(--line); border-radius:16px; box-shadow:none; }
.hero:not(:has(img)) { margin:0 0 20px; }
.hero:not(:has(img)) .hero-body { padding:22px 24px; background:none; }
.hero h1 { margin:0 0 9px; }
.hero-body>p { font-size:14px; color:var(--ink-soft); margin:8px 0 0; max-width:70ch; }
.hero-tags { margin-top:14px; gap:7px; }
.hero-tags>span,.trip-date { border:0; background:var(--sand-100); color:var(--ink-soft); font-size:11px; padding:5px 9px; border-radius:7px; }
.step-kicker,.eyebrow { color:var(--ink-mute); font-size:10px; font-weight:700; letter-spacing:1.3px; }
.step-block { padding:20px; margin:0 0 16px; }
.step-now { font-size:12px; padding:10px 13px; border:0; border-radius:10px; background:var(--sand-100); margin:0 0 12px; }
.step-now.elsewhere { border:0; background:var(--sand-100); }
.step-now.here { background:#e6f3ef; color:#12564f; border:0; }
.step-jumps { top:var(--route-header-height,64px); padding:8px 0; gap:4px; background:var(--sand-50); margin:0 0 14px; }
.step-jumps a { background:var(--card); border:1px solid var(--line); border-radius:9px; font-size:13px; min-height:40px; text-decoration:none; }
.det { border:1px solid var(--line); border-radius:13px; background:var(--card); margin:10px 0; box-shadow:none; }
.det>summary { padding:15px 16px; min-height:52px; font-size:15px; font-weight:650; background:none; color:var(--ink); }
.det>summary::after { content:'+'; font-size:20px; font-weight:400; color:var(--ink-mute); transform:none; }
.det[open]>summary::after { content:'−'; transform:none; }
.det[open]>summary { background:none; border-bottom:1px solid var(--line); }
.stage-disclosure { border:0; border-radius:16px; }
.stage-disclosure>.det-body { padding:6px 18px 18px; }
.stage-disclosure>summary { font-size:16px; }
.check-progress { background:var(--sand-100); border:0; border-radius:9px; padding:9px 11px; font-size:11px; margin:10px 0 12px; }
.check-progress button { font-size:11px; }
.list-toolbar { gap:6px; margin:8px 0; }
.list-toolbar button { border-radius:8px; font-size:11px; padding:7px 10px; min-height:36px; }
.act { border-color:var(--line); padding:14px 0; background:none; font-size:14px; }
.act input[type=checkbox],.task input[type=checkbox] { accent-color:#126b61; width:22px; height:22px; margin-top:3px; }
.act.critical { border-left:3px solid #cf7948; padding-left:12px; background:var(--coral-soft); border-radius:0 8px 8px 0; }
.need-list { border-radius:10px; }
.need-row { padding:12px; }
.need-row:nth-child(odd) { background:var(--sand-50); }
.need-row dt { font-size:12px; color:var(--ink-soft); }
.need-row dd { font-size:14px; }
.alert { border-radius:10px; font-size:13px; padding:13px 15px; box-shadow:none; }
.reference-link { margin:0 !important; }
.reference-link>a { color:var(--ink); font-size:14px; text-decoration:none; padding:15px 0; }
.reference-link>a:hover { color:var(--jungle-700); }
.camp-days a { border-radius:9px; font-size:12px; background:var(--sand-50); }
.camp-event { grid-template-columns:100px minmax(0,1fr); padding:14px 0; gap:12px; }
.camp-event h3 { font-size:14px; }
.camp-event p { font-size:12px; }
.camp-time { font-size:13px; font-variant-numeric:tabular-nums; }
.camp-personal { background:#f1f8f5; border-left-color:#126b61; padding:14px 12px; border-radius:0 9px 9px 0; }
.step-card { box-shadow:none; border:1px solid var(--line); border-radius:13px; padding:18px; }
.step-card.current { border-color:#71ab9c; background:#eef8f4; }
.step-summary { font-size:12px; color:var(--ink-soft); line-height:1.45; }
.step-title { font-size:16px; line-height:1.3; }
.step-num { background:var(--sand-100); color:var(--ink-soft); border-radius:9px; }
.step-count,.step-transports,.step-when { font-size:11px; }
.route-tools { display:flex; flex-wrap:wrap; gap:8px; border:0; background:none; padding:0; margin:18px 0; }
.route-tools label { font-size:12px; font-weight:650; }
.route-tools input { border:1px solid var(--line); background:var(--card); border-radius:11px; padding:12px; font-size:16px; flex:1; min-width:160px; }
.route-poster-disclosure { margin-top:24px; }
.route-poster { margin:0; border:0; box-shadow:none; }
.trip-calendar { padding:16px; margin-bottom:12px; }
.calendar-hint { font-size:12px; color:var(--ink-soft); margin:0 0 12px !important; }
.calendar-weekdays { margin:6px 0; font-size:10px; }
.calendar-date { min-height:51px; border-radius:9px; border-color:transparent; background:var(--sand-50); gap:1px; }
.calendar-date strong { font-size:17px; font-weight:700; }
.calendar-date span { font-size:9px; color:var(--ink-mute); }
.calendar-date[aria-current=date] { background:#126b61; color:#fff; box-shadow:0 3px 8px #126b6125; }
.calendar-controls { display:grid; grid-template-columns:40px minmax(0,1fr) 40px 50px; align-items:center; padding:8px 0; gap:6px; top:var(--route-header-height,64px); margin:0 0 12px; background:var(--sand-50); }
.calendar-controls button { border-radius:9px; min-height:40px; padding:6px; font-size:18px; }
.calendar-controls span { font-size:12px; font-weight:650; color:var(--ink); min-width:0; }
.calendar-controls>a { padding:10px 2px; font-size:11px; text-align:center; }
.calendar-day { scroll-margin-top:calc(var(--route-header-height,64px) + 68px); padding:20px; }
.calendar-day>h2 { font-size:20px; margin-bottom:8px; }
.calendar-day>h3 { font-size:11px; letter-spacing:1px; text-transform:uppercase; color:var(--ink-mute); margin:18px 0 4px; border:0; }
.calendar-stages { margin:8px 0 16px; }
.calendar-stages a { background:var(--sand-100); border:0; border-radius:7px; font-size:11px; padding:6px 9px; text-decoration:none; }
.calendar-event { grid-template-columns:130px minmax(0,1fr); padding:20px 0; gap:20px; }
.calendar-clock strong { color:var(--ink); font-weight:750; font-variant-numeric:tabular-nums; }
.calendar-clock>span { font-size:10px; color:var(--ink-mute); }
.calendar-event .calendar-event-body h4 { font-size:16px; line-height:1.4; font-weight:700; }
.calendar-event-body p { color:var(--ink-soft); line-height:1.55; font-size:13px; margin:8px 0; }
.calendar-event-body>a { display:inline-block; font-size:11px; text-decoration:none; padding:5px 0; }
.calendar-event-body ul { font-size:12px; padding-left:17px; }
.camp-kind { font-size:10px; font-weight:600; margin:5px 0; }
.calendar-personal { background:#eef8f4; border:1px solid #c5dfd4; border-left:3px solid #126b61; padding:16px 12px; margin:10px 0; border-radius:10px; }
.calendar-personal .camp-kind { color:#126b61; }
.calendar-timezone { font-size:10px; color:var(--ink-mute); margin-top:4px; }
.calendar-timezone summary { font-size:10px; cursor:pointer; line-height:1.5; min-height:28px; padding:4px 0; }
.calendar-timezone small { font-size:10px; display:block; line-height:1.5; }
.tasks-summary { box-shadow:none; background:var(--card); border:1px solid var(--line); border-radius:13px; }
.tasks-summary strong { font-size:24px; }
.tasks-summary span { font-size:10px; }
.tasks-filters { position:static; box-shadow:none; border:1px solid var(--line); border-radius:13px; background:var(--card); padding:14px; gap:10px; }
.tasks-filters label { font-size:11px; }
.tasks-filters input,.tasks-filters select { font-size:14px; border-radius:8px; min-height:42px; }
.tasks-intro { font-size:13px; color:var(--ink-soft); }
.task-group { background:var(--card); border:1px solid var(--line); border-radius:12px; box-shadow:none; }
.lock-screen,.doc-row { border-radius:13px; box-shadow:none; }
.prose table { font-size:13px; }
.prose thead th { background:var(--sand-100); color:var(--ink-soft); font-size:11px; }
.prose table td { padding:12px; }
.totop { width:38px; height:38px; background:#172d38; box-shadow:0 3px 12px #172d3820; font-size:18px; }
.page-heading { margin-bottom:20px; }
.dashboard-subtitle { font-size:13px; color:var(--ink-soft); margin:8px 0 0 !important; }
.dashboard-search { width:100%; display:flex; align-items:center; gap:10px; min-height:54px; border:1px solid var(--line); border-radius:12px; background:var(--card); color:var(--ink-soft); padding:12px 15px; text-align:left; margin:0 0 18px; cursor:pointer; }
.dashboard-search small { margin-left:auto; font-size:11px; color:var(--ink-mute); }
.dashboard-current .now-card { display:grid; grid-template-columns:1fr auto; gap:5px 14px; background:#126b61; color:#fff; padding:23px; border:0; border-radius:17px; margin:0; box-shadow:0 8px 24px #126b6120; }
.dashboard-current .now-kicker { grid-column:1/-1; color:#d1ece3; font-size:10px; letter-spacing:.6px; }
.dashboard-current .now-title { grid-column:1/-1; color:#fff; font-size:24px; font-weight:700; }
.dashboard-current .now-summary { display:none; }
.dashboard-current .now-when { color:#d1ece3; font-size:12px; }
.dashboard-current .now-cta { color:#fff; font-size:12px; align-self:end; }
.dashboard-actions { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:16px 0 24px; }
.dashboard-actions a { display:flex; flex-direction:column; align-items:flex-start; gap:8px; background:var(--card); border:1px solid var(--line); border-radius:13px; padding:17px; text-decoration:none; color:var(--ink); }
.dashboard-actions .ui-icon { width:23px; height:23px; color:var(--jungle-700); }
.dashboard-actions strong { font-size:14px; }
.dashboard-actions span { font-size:11px; color:var(--ink-soft); }
.dashboard-destination { display:grid; grid-template-columns:40% 1fr; min-height:180px; border:1px solid var(--line); border-radius:16px; overflow:hidden; background:var(--card); margin:20px 0 26px; }
.dashboard-destination img { width:100%; height:100%; object-fit:cover; }
.dashboard-destination>div { padding:24px; }
.dashboard-destination h2 { border:0; padding:0; margin:7px 0; font-size:27px; }
.dashboard-destination p { margin:0 0 12px; font-size:12px; color:var(--ink-soft); }
.dashboard-destination a { font-size:12px; }
.section-heading { margin:22px 0 14px; }
.section-heading h2 { font-size:20px; padding:0; margin:0; border:0; }
.travel-shortcuts { gap:10px; }
.shortcut { background:var(--card); border:1px solid var(--line); box-shadow:none; padding:16px; border-radius:12px; }
.shortcut strong { font-size:14px; }
.shortcut small { font-size:11px; line-height:1.45; }
.shortcut-icon,.shortcut:nth-child(n) .shortcut-icon { width:37px; height:37px; background:var(--sand-100); color:var(--jungle-700); border-radius:10px; }
.home-countdown { margin:26px 0; padding:18px; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; border-top:1px solid var(--line); }
.home-countdown>span { color:var(--ink-mute); font-size:12px; }
.home-countdown .countdown { margin:0; gap:18px; }
.home-countdown .countdown .num { font-size:22px; color:var(--ink); }
.home-countdown .countdown .cell { background:none; border:0; min-width:0; padding:0; }
.home-countdown .countdown .lbl { font-size:9px; }
.trip-search { width:min(620px,calc(100vw - 32px)); max-height:calc(90dvh - 50px); box-sizing:border-box; border:1px solid var(--line); border-radius:20px; padding:24px; background:var(--card); color:var(--ink); box-shadow:0 30px 100px #102d3850; }
.trip-search::backdrop { background:#102b3a66; backdrop-filter:blur(5px); }
.search-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; margin:0 0 18px; }
.search-heading h2 { font-size:21px; margin:0; }
.search-heading button { border:1px solid var(--line); border-radius:9px; width:40px; height:40px; background:var(--sand-50); color:var(--ink); cursor:pointer; }
.global-search-field { display:flex; align-items:center; gap:10px; padding:0 12px; background:var(--sand-50); border:1px solid var(--line); border-radius:11px; }
.global-search-field input { width:100%; min-width:0; min-height:50px; border:0; background:none; outline:none; font-size:16px; color:var(--ink); }
.search-suggestions { display:flex; flex-wrap:wrap; gap:7px; margin:13px 0; }
.search-suggestions button { padding:8px 11px; border:1px solid var(--line); border-radius:8px; background:var(--card); color:var(--ink-soft); font-size:12px; min-height:36px; cursor:pointer; }
.search-status { font-size:12px; color:var(--ink-mute); }
.search-results { list-style:none; padding:0; margin:0; }
.search-results a { display:flex; flex-direction:column; gap:5px; color:var(--ink); text-decoration:none; padding:15px 2px; border-top:1px solid var(--line); }
.search-results strong { font-size:14px; font-weight:650; }
.search-results span { font-size:11px; color:var(--ink-mute); }
.search-fallback { display:flex; flex-wrap:wrap; gap:12px; border-top:1px solid var(--line); padding-top:15px; margin-top:16px; font-size:12px; }
:root[data-theme=dark] { --ink:#e3edf3; --ink-soft:#b1c1cb; --ink-mute:#96aab7; --sand-50:#101c24; --sand-100:#1c2e39; --sand-200:#2b414f; --card:#172731; --line:#31444e; --jungle-700:#88d0bc; --jungle-800:#a6dfcf; --coral-soft:#392b24; color-scheme:dark; }
:root[data-theme=dark] body,:root[data-theme=dark] .topbar { background:var(--sand-50); }
:root[data-theme=dark] .calendar-personal,:root[data-theme=dark] .camp-personal,:root[data-theme=dark] .step-card.current { background:#193a33; border-color:#356553; }
:root[data-theme=dark] .nav a.active,:root[data-theme=dark] .bottom-nav a.active { background:#25463e; color:#b2e2d2; }
@media(min-width:1051px) {
 .topbar .nav { top:88px; width:202px; }
 .page { margin-left:max(230px,calc((100vw - 1440px)/2 + 230px)); }
 .site-search-trigger { margin-right:6px; }
 .dashboard { max-width:980px; }
 .page:has(.calendar-day) { max-width:1060px; }
}
@media(max-width:1050px) {
 .page { margin:0 auto; padding:20px 20px 100px; max-width:880px; }
 .topbar-inner { min-height:58px; padding:8px 18px; }
 .site-search-trigger { width:40px; padding:9px; justify-content:center; }
 .site-search-trigger>span { display:none; }
 .theme-toggle,.burger { width:40px; min-height:40px; }
 .topbar .nav { display:none; }
 .topbar .nav.open { display:flex; position:fixed; inset:66px 14px auto; max-height:calc(100dvh - 150px); padding:16px; background:var(--card); border:1px solid var(--line); border-radius:15px; box-shadow:0 16px 60px #102b3a33; width:auto; }
 .bottom-nav { display:block; height:calc(68px + var(--app-safe-bottom,0px)); background:var(--card); border-top:1px solid var(--line); box-shadow:0 -4px 18px #163a4508; padding-bottom:var(--app-safe-bottom,0px); }
 .bottom-nav-inner { height:68px; display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); max-width:600px; margin:auto; }
 .bottom-nav a { min-width:0; min-height:60px; margin:4px 1px; padding:6px 1px; border-radius:10px; gap:4px; color:var(--ink-mute); background:none; }
 .bottom-nav a>span { font-size:clamp(8px,2.3vw,10px); font-weight:600; white-space:nowrap; overflow-wrap:normal; }
 .bottom-nav a.active { background:#e6f3ef; color:#12564f; }
 .bottom-nav .ui-icon { width:21px; height:21px; }
 .toc { display:none; }
 .footer { margin-bottom:68px; }
 .totop { bottom:calc(82px + var(--app-safe-bottom,0px)); right:14px; }
}
@media(max-width:600px) {
 .page { padding:18px max(14px,var(--app-safe-right,0px)) calc(88px + var(--app-safe-bottom,0px)) max(14px,var(--app-safe-left,0px)); }
 .topbar-inner { min-height:56px; padding:7px 14px; gap:6px; }
 .brand { gap:8px; }
 .brand-flag { width:30px; height:30px; font-size:11px; }
 .brand-text { font-size:13px; }
 .brand-text small { font-size:9px; }
 .site-search-trigger,.theme-toggle,.burger { width:36px; min-height:38px; height:38px; padding:8px; border-color:transparent; background:none; }
 .brand { flex:1; }
 .site-search-trigger { margin-left:0; }
 .prose h1 { font-size:28px; letter-spacing:-1px; }
 .hero:not(:has(img)) { border:0; background:none; border-radius:0; margin:0 0 18px; }
 .hero:not(:has(img)) .hero-body { padding:0; }
 .hero-body>p { font-size:12px; line-height:1.5; }
 .step-hero .hero-body>p { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
 .hero-tags { margin-top:10px; }
 .hero-tags>span { font-size:10px; padding:5px 7px; }
 .step-block { padding:16px 14px; margin-bottom:12px; border-radius:13px; }
 .stage-collapsible { padding:0; }
 .stage-disclosure>summary { padding:15px 14px; font-size:15px; }
 .stage-disclosure>.det-body { padding:4px 14px 14px; }
 .step-jumps a { min-height:38px; font-size:12px; }
 .step-now { font-size:11px; line-height:1.5; }
 .det>summary { padding:13px; font-size:14px; }
 .check-progress { gap:7px; font-size:10px; }
 .act { font-size:13px; }
 .need-row { display:block; }
 .need-row dt { margin:0 0 4px; font-size:11px; }
 .need-row dd { margin:0; font-size:13px; }
 .camp-event { grid-template-columns:80px minmax(0,1fr); gap:10px; }
 .camp-time { font-size:12px; }
 .camp-event h3 { font-size:13px; }
 .camp-event p { font-size:12px; }
 .steps-index { display:flex; flex-direction:column; gap:10px; }
 .step-card { display:grid; grid-template-columns:32px minmax(0,1fr); gap:8px 12px; align-items:start; padding:15px; }
 .step-card .step-num { grid-column:1; grid-row:1/3; width:30px; height:30px; font-size:12px; }
 .step-card .step-ic { display:none; }
 .step-card .step-main { grid-column:2; }
 .step-card .step-when { grid-column:2; text-align:left; padding:0; }
 .step-card .step-summary { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; font-size:11px; margin-top:5px; }
 .step-card .step-title { font-size:15px; }
 .step-badge { position:static; grid-column:2; font-size:9px; width:fit-content; border-radius:5px; padding:3px 6px; }
 .route-tools label { flex-basis:100%; }
 .route-tools input { width:100%; }
 .trip-calendar { padding:12px; }
 .calendar-weekdays,.calendar-grid { gap:4px; }
 .calendar-date { min-height:48px; }
 .calendar-controls { gap:5px; grid-template-columns:36px minmax(0,1fr) 36px 44px; }
 .calendar-controls button { min-height:38px; }
 .calendar-controls span { font-size:11px; }
 .calendar-day { padding:15px 12px; }
 .calendar-day>h2 { font-size:18px; }
 .calendar-event { grid-template-columns:82px minmax(0,1fr); gap:12px; padding:16px 0; }
 .calendar-clock strong { font-size:12px; white-space:nowrap; letter-spacing:-.25px; }
 .calendar-clock>span { font-size:9px; line-height:1.5; }
 .calendar-clock { gap:5px; }
 .calendar-timezone summary,.calendar-timezone small { font-size:9px; }
 .calendar-event .calendar-event-body h4 { font-size:14px; }
 .calendar-event-body p { font-size:12px; }
 .calendar-event-body>a { font-size:10px; }
 .calendar-personal { padding:14px 9px; gap:10px; }
 .camp-kind { font-size:9px; }
 .page-heading { display:block; margin:0 0 17px; }
 .page-heading .trip-date { display:inline-block; margin-top:10px; }
 .tasks-summary { grid-template-columns:repeat(4,minmax(0,1fr)); gap:4px; padding:12px 8px; }
 .tasks-summary strong { font-size:23px; }
 .tasks-summary span { font-size:9px; }
 .tasks-filters { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
 .tasks-filters label { min-width:0; }
 .tasks-filters .tasks-query { grid-column:1/-1; }
 .tasks-filters select { width:100%; }
 .dashboard-search { min-height:49px; margin-bottom:14px; }
 .dashboard-search>span { font-size:13px; }
 .dashboard-search small { display:none; }
 .dashboard-current .now-card { padding:19px; gap:6px; grid-template-columns:1fr; }
 .dashboard-current .now-title { font-size:22px; }
 .dashboard-current .now-when { font-size:11px; }
 .dashboard-current .now-cta { margin-top:8px; font-size:12px; }
 .dashboard-actions { gap:7px; margin:12px 0 18px; }
 .dashboard-actions a { padding:13px 10px; gap:9px; border-radius:11px; }
 .dashboard-actions strong { font-size:12px; }
 .dashboard-actions span { font-size:9px; }
 .dashboard-destination { grid-template-columns:34% 1fr; min-height:145px; margin:16px 0 22px; }
 .dashboard-destination>div { padding:17px 15px; }
 .dashboard-destination h2 { font-size:24px; }
 .dashboard-destination p { font-size:10px; margin-bottom:8px; }
 .dashboard-destination .eyebrow { font-size:8px; letter-spacing:.7px; }
 .dashboard-destination a { font-size:11px; }
 .travel-shortcuts { display:flex; flex-direction:column; gap:8px; }
 .shortcut { padding:13px; }
 .trip-search { margin:12px auto; max-height:calc(100dvh - 24px); width:calc(100vw - 24px); padding:18px; border-radius:15px; }
 .search-heading h2 { font-size:19px; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto !important; transition:none !important; animation:none !important; } }
@media print { .site-search-trigger,.dashboard-search,.trip-search { display:none; } .calendar-timezone:not([open]) small { display:block; } .page { margin:0; } }
/* Keep headings consistent with the interface instead of legacy editorial type. */
.prose h1,.prose h2,.prose h3,.prose h4,.page-heading h1,.brand-flag { font-family:inherit; }
.brand-flag { font-weight:750; }
.step-jumps a[aria-current=location] { border-color:#126b61; color:#12564f; background:#e6f3ef; font-weight:700; }
:root[data-theme=dark] .step-jumps a[aria-current=location] { color:#b2e2d2; background:#25463e; border-color:#548d7b; }
.search-heading { position:sticky; top:-24px; z-index:3; background:var(--card); padding-top:8px; padding-bottom:8px; }
.calendar-timezone summary { min-height:34px; }
@media(max-width:600px) { .search-heading { top:-18px; } }
html { scroll-padding-top:0; }
.prose h1,.prose .hero h1,.prose .page-heading h1,.prose h2,.prose h3,.prose h4,.brand-flag { font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.prose h2[id],.prose h3[id] { scroll-margin-top:calc(var(--route-header-height,64px) + 20px); }
.task-title { font-size:14px; line-height:1.5; }
@media(max-width:600px) { .prose h1 { font-size:28px; } }
.dashboard-destination { height:210px; }
/* A persistent date rail keeps every day one gesture away during the agenda. */
.trip-calendar { position:sticky; top:var(--route-header-height,64px); z-index:85; padding:10px; background:var(--card); box-shadow:0 3px 12px #163a4508; }
.trip-calendar .calendar-hint,.calendar-weekdays,.calendar-blank { display:none; }
.calendar-grid { display:flex; gap:6px; overflow-x:auto; overscroll-behavior-x:contain; scrollbar-width:none; padding:2px; }
.calendar-grid::-webkit-scrollbar { display:none; }
.calendar-date { flex:0 0 48px; min-height:53px; }
.calendar-controls { position:static; grid-template-columns:38px minmax(0,1fr) 38px; padding:0; margin:8px 0 14px; }
.calendar-controls>a { display:none; }
.calendar-day { scroll-margin-top:calc(var(--route-header-height,64px) + 91px); }
@media(min-width:700px) { .calendar-date { flex:1 0 45px; } }
@media(max-width:600px) { .dashboard-destination { height:155px; } .calendar-date { flex-basis:44px; min-height:50px; } }
/* Override legacy serif headings and nested hero padding consistently. */
.prose h1,.prose h2,.prose h3,.prose h4 { font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif !important; }
.prose .hero:not(:has(img)) { padding:0; }
.tasks-summary { margin:12px 0; padding:0; gap:0; overflow:hidden; }
.tasks-summary>div { border:0; border-right:1px solid var(--line); border-radius:0; padding:12px 10px; }
.tasks-summary>div:last-child { border-right:0; }
.tasks-summary strong { font-size:23px; font-weight:650; }
.tasks-filters { margin:0 0 12px; }
.task-add-panel { padding:8px 13px; margin:10px 0; border:1px solid var(--line); border-radius:10px; }
.task-add-panel>summary { font-size:12px; display:flex; align-items:center; }
.task-feedback:empty { display:none; }
.task-stage-header { padding:13px 0 10px; margin:0; }
.task-stage-section .task-stage-title { font-size:20px; font-weight:700; }
@media(max-width:600px) { .prose .hero:not(:has(img)) .hero-body { padding:0; } .tasks-summary>div { padding:10px 8px; } .tasks-summary strong { font-size:22px; } }
.trip-calendar { padding-left:40px; padding-right:40px; }
.calendar-controls { display:contents; }
.calendar-controls button { position:absolute; top:14px; width:28px; min-height:44px; padding:0; border:0; background:transparent; font-size:18px; }
.calendar-controls button[data-calendar-prev] { left:6px; }
.calendar-controls button[data-calendar-next] { right:6px; }
.calendar-controls>span { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }

.stage-useful-links { display:flex; flex-wrap:wrap; gap:8px; margin:16px 0 0; }
.stage-useful-links a { display:flex; align-items:center; min-height:44px; padding:9px 12px; border:1px solid var(--line); border-radius:9px; color:var(--jungle-700); background:var(--sand-50); font-size:12px; text-decoration:none; overflow-wrap:anywhere; }
.stage-useful-links a:hover { border-color:var(--jungle-700); }

.plan-backup-actions { display:flex; flex-wrap:wrap; gap:10px; }
.plan-backup-actions button,.plan-import-label { min-height:44px; max-width:100%; white-space:normal; }
.plan-import-label { display:grid; gap:8px; }
.plan-import-label input { width:100%; max-width:260px; }
.plan-backup-actions [hidden] { display:none; }

.plan-backup-actions button,.plan-import-label input::file-selector-button { border:1px solid var(--line); border-radius:9px; padding:10px 12px; background:var(--sand-50); color:var(--jungle-700); font:inherit; font-size:13px; cursor:pointer; }
.plan-import-label input::file-selector-button { min-height:44px; margin-right:8px; }

/* Page stickies cannot escape above the header, menu or modal search. */
.page { isolation:isolate; }
.topbar { z-index:120; }
.trip-search { position:fixed; z-index:200; overflow:auto; overscroll-behavior:contain; }
body.search-open,body.menu-open { overflow:hidden; }
.global-search-form { display:flex; align-items:stretch; gap:8px; margin:0; }
.global-search-form .global-search-field { flex:1; min-width:0; margin:0; }
.global-search-submit { flex:none; min-height:50px; padding:10px 14px; border:0; border-radius:11px; background:var(--jungle-800); color:#fff; font-size:14px; font-weight:600; cursor:pointer; }
.nav-backdrop { position:fixed; inset:0; z-index:110; margin:0; padding:0; border:0; border-radius:0; background:#102b3a66; cursor:pointer; }
@media(max-width:1050px) { .topbar .nav.open { top:calc(var(--route-header-height,64px) + 8px); flex-direction:column; flex-wrap:nowrap; align-items:stretch; overflow-y:auto; overscroll-behavior:contain; } }
:root[data-theme=dark] .global-search-submit { background:#b0cda6; color:#253a2a; }
@media print { .nav-backdrop { display:none; } }
