/* 相約義大利 2026 v2 — 旅行雜誌風（Voyage）× 日期／地圖操作（Wanderlog）
   Tokens 取自 Voyage 範本的 paper / ink / pine / ochre，城市色沿用舊手冊。 */

:root {
  --paper: #f6f2e9;
  --paper-2: #fcfaf3;
  --card: #ffffff;
  --ink: #16302b;
  --ink-2: #24463f;
  --stone: #625b4e;
  --line: #e4ddcd;
  --pine: #35594f;
  --pine-soft: #e3ebe6;
  --teal: #2e7d74;
  --ochre: #d98a2b;
  --ochre-dk: #8f530a;
  --ochre-soft: #fbead3;
  --warn: #b7392c;
  --warn-soft: #fbe6e2;
  --opt: #5f52a8;
  --opt-soft: #eeeafb;
  --ok: #2e7d4f;
  --ok-soft: #e3f1e8;
  --shadow-sm: 0 1px 2px rgba(22,48,43,.06), 0 6px 18px rgba(22,48,43,.06);
  --shadow-md: 0 10px 34px rgba(22,48,43,.13);
  --r-sm: 6px; --r-md: 12px; --r-lg: 20px;
  --ff-display: "Fraunces", "Noto Serif TC", Georgia, "Songti TC", serif;
  --ff-body: "Archivo", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  --tab-h: 64px;
  --c: var(--pine);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #121a17; --paper-2: #182320; --card: #1c2824; --ink: #f1ece2; --ink-2: #d9d2c4; --stone: #a9a394; --line: #2f3d38;
    --pine: #8fb8a8; --pine-soft: #203630; --teal: #6fc1b5; --ochre: #e9a85a; --ochre-dk: #f0c27f; --ochre-soft: #3a2d17;
    --warn: #ff9a8c; --warn-soft: #3d2420; --opt: #b7abec; --opt-soft: #2a2547; --ok: #7fd3a1; --ok-soft: #173223;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.3); --shadow-md: 0 10px 30px rgba(0,0,0,.45);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #121a17; --paper-2: #182320; --card: #1c2824; --ink: #f1ece2; --ink-2: #d9d2c4; --stone: #a9a394; --line: #2f3d38;
  --pine: #8fb8a8; --pine-soft: #203630; --teal: #6fc1b5; --ochre: #e9a85a; --ochre-dk: #f0c27f; --ochre-soft: #3a2d17;
  --warn: #ff9a8c; --warn-soft: #3d2420; --opt: #b7abec; --opt-soft: #2a2547; --ok: #7fd3a1; --ok-soft: #173223;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.3); --shadow-md: 0 10px 30px rgba(0,0,0,.45);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--ff-body); padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom)); overflow-wrap: anywhere; }
a { color: var(--teal); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: -80px; left: 12px; z-index: 50; background: var(--card); color: var(--ink); padding: 10px 14px; border-radius: var(--r-md); box-shadow: var(--shadow-md); }
.skip:focus { top: 12px; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--stone); }
.wrap { max-width: 920px; margin: 0 auto; padding: 0 16px; }

/* 字體層級 */
h1, h2, h3, .display { font-family: var(--ff-display); font-weight: 600; letter-spacing: .005em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(30px, 8vw, 46px); line-height: 1.15; }
h2 { font-size: 24px; line-height: 1.25; }
h3 { font-size: 18px; line-height: 1.35; }
.eyebrow { font-family: var(--ff-body); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--ochre-dk); margin: 0 0 6px; }
.eyebrow.pine { color: var(--pine); }
.lede { font-size: 17px; color: var(--ink-2); margin: 8px 0 0; }

/* 頂欄 */
.topbar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; }
.brand { font-family: var(--ff-display); font-weight: 600; font-size: 17px; text-decoration: none; color: var(--ink); display: flex; align-items: baseline; gap: 8px; }
.brand small { font-family: var(--ff-body); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); font-weight: 700; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); cursor: pointer; font-size: 13px; font-weight: 600; }
.icon-btn svg { width: 18px; height: 18px; }

/* 底部分頁 */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; justify-content: center; background: color-mix(in srgb, var(--card) 94%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); }
.tab { flex: 1; max-width: 170px; min-height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-decoration: none; color: var(--ink-2); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; border-radius: var(--r-md); }
.tab svg { width: 22px; height: 22px; }
.tab[aria-current="page"] { color: var(--pine); background: var(--pine-soft); }

/* 頁面 */
.page { padding: 18px 0 32px; }
.page > * + * { margin-top: 18px; }
section.block > * + * { margin-top: 10px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; box-shadow: var(--shadow-sm); }
.card > * + * { margin-top: 10px; }
.card h2, .card h3 { margin-top: 0; }
.card-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.card-h a { font-size: 13.5px; font-weight: 700; text-decoration: none; }

/* Photo-led hero styles are in the editorial composition section below. */
/* 按鈕 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { border-color: var(--pine); }
.btn.primary { background: var(--ochre); border-color: var(--ochre); color: #1d1300; }
.btn.ghost { background: transparent; border-color: rgba(255,255,255,.4); color: #fff; }
.btn.small { min-height: 36px; padding: 4px 12px; font-size: 13px; }
.btn.copied { background: var(--ok); border-color: var(--ok); color: #fff; }

/* 填寫欄位 */
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (min-width: 560px) { .fields { grid-template-columns: repeat(4, 1fr); } .fields.two { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--stone); font-weight: 600; }
.field input, textarea.note { font: inherit; font-size: 16px; color: var(--ink); background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px 12px; min-height: 44px; width: 100%; }
.field input:focus, textarea.note:focus { outline: 3px solid var(--ochre); outline-offset: 0; border-color: transparent; }
textarea.note { min-height: 4.2em; resize: vertical; }
.save-status { font-size: 12.5px; color: var(--stone); min-height: 1.4em; margin: 6px 0 0; }

/* 提示框 */
.warn, .tip, .info { border-radius: var(--r-md); padding: 10px 14px; font-size: 14.5px; }
.warn { background: var(--warn-soft); border-left: 4px solid var(--warn); }
.warn b { color: var(--warn); }
.tip { background: var(--ochre-soft); border-left: 4px solid var(--ochre); }
.tip b { color: var(--ochre-dk); }
.info { background: var(--pine-soft); }

/* 日期列 */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: none; scroll-snap-type: x proximity; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; min-width: 64px; min-height: 58px; padding: 6px 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--ink); text-decoration: none; line-height: 1.2; }
.chip small { font-size: 11px; color: var(--stone); font-weight: 700; letter-spacing: .04em; }
.chip b { font-family: var(--ff-display); font-size: 19px; font-weight: 600; }
.chip span { font-size: 11.5px; color: var(--stone); }
.chip.is-current { background: var(--ink); border-color: var(--ink); color: var(--paper); box-shadow: inset 0 3px 0 var(--c); }
.chip.is-current small, .chip.is-current span { color: var(--paper); opacity: .9; }
.chip.is-today { box-shadow: 0 0 0 2px var(--ochre); }

/* 分段控制 */
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--pine-soft); border: 1px solid var(--line); }
.seg button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; font-weight: 700; font-size: 14px; cursor: pointer; color: var(--ink-2); }
.seg button[aria-pressed="true"] { background: var(--card); color: var(--pine); box-shadow: var(--shadow-sm); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* 時間軸 */
.tl { list-style: none; margin: 0; padding: 0; position: relative; }
.tl::before { content: ""; position: absolute; left: 15px; top: 18px; bottom: 18px; border-left: 2px dashed var(--line); }
.tl-item { position: relative; display: grid; grid-template-columns: 32px 1fr; gap: 12px; padding: 8px 0; align-items: start; border-radius: var(--r-md); }
.tl-item.is-active { background: var(--pine-soft); margin: 0 -8px; padding-left: 8px; padding-right: 8px; }
.tl-item.is-active .tl-pin { outline: 3px solid var(--ochre); }
.tl-pin { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; font-weight: 800; background: var(--c); color: #fff; box-shadow: 0 0 0 3px var(--card); border: 0; padding: 0; cursor: default; }
button.tl-pin { cursor: pointer; }
.tl-pin.meal { background: var(--ochre); color: #1d1300; }
.tl-pin.move { background: var(--card); color: var(--stone); box-shadow: 0 0 0 2px var(--line) inset, 0 0 0 3px var(--card); }
.tl-pin.opt { background: var(--opt-soft); color: var(--opt); box-shadow: 0 0 0 2px var(--opt) inset, 0 0 0 3px var(--card); }
.tl-pin.night { background: #30407a; }
.tl-pin.meet { background: var(--pine); }
.tl-body { min-width: 0; }
.tl-title { font-weight: 700; line-height: 1.45; }
.tl-time { font-variant-numeric: tabular-nums; color: var(--stone); margin-right: 6px; }
.tl-text { font-size: 14.5px; color: var(--ink-2); margin: 2px 0 0; }
.tl-item.meal .tl-title { color: var(--ochre-dk); display: inline; }
.tl-item.meal .tl-text { display: inline; margin: 0; }
.tl-item.meal .tl-text::before { content: "・"; color: var(--stone); }
.tl-item.move .tl-title { color: var(--stone); font-weight: 600; font-size: 14.5px; display: inline; }
.tl-item.move .tl-text { display: inline; margin: 0; font-size: 13.5px; color: var(--stone); }
.tl-item.move .tl-text::before { content: "・"; }
.tl-item.opt .tl-title { color: var(--opt); }
.lab { display: inline-block; font-size: 11px; font-weight: 700; padding: 0 8px; border-radius: 999px; background: var(--opt-soft); color: var(--opt); margin-left: 6px; vertical-align: 2px; line-height: 1.8; white-space: nowrap; }
.lab.fee { background: var(--warn-soft); color: var(--warn); }
.lab.gift { background: var(--ok-soft); color: var(--ok); }
.more { margin-top: 6px; font-size: 14px; }
.more summary { cursor: pointer; color: var(--teal); font-weight: 700; list-style: none; min-height: 32px; display: inline-flex; align-items: center; }
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: "＋ "; }
.more[open] summary::before { content: "－ "; }
.more .src { display: block; font-size: 12px; color: var(--stone); margin-top: 4px; }
.tl.compact .tl-item { padding: 5px 0; }
.tl.compact .tl-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tl-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--stone); }
.tl-legend i { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-style: normal; font-size: 9px; font-weight: 800; margin-right: 4px; vertical-align: -4px; background: var(--c); color: #fff; }
.tl-legend i.m { background: var(--ochre); color: #1d1300; }
.tl-legend i.d { background: var(--card); color: var(--stone); box-shadow: 0 0 0 2px var(--line) inset; }
.tl-legend i.o { background: var(--opt-soft); color: var(--opt); box-shadow: 0 0 0 2px var(--opt) inset; }

/* 地圖 */
.map-wrap { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--pine-soft); }
.map { height: 52vh; min-height: 300px; width: 100%; }
.map-fallback { padding: 14px 16px; font-size: 14.5px; }
.map-fallback ol { margin: 6px 0 0; padding-left: 1.3em; }
.map-note { font-size: 12px; color: var(--stone); padding: 6px 12px; }
.pin { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--pin, #35594f); color: #fff; font: 800 12px/1 var(--ff-body); box-shadow: 0 0 0 3px #fff, 0 2px 6px rgba(0,0,0,.35); }
.pin-hotel { border-radius: 8px; background: #16302b; }
.pin-opt { background: #fff; color: var(--pin, #5f52a8); box-shadow: 0 0 0 2px var(--pin, #5f52a8) inset, 0 0 0 3px #fff; }
.pin-via { background: #fff; color: var(--pin); box-shadow: 0 0 0 3px var(--pin) inset, 0 0 0 4px #fff; }
.leaflet-container { font: 13px var(--ff-body); background: var(--pine-soft); }
.leaflet-popup-content { margin: 10px 14px; line-height: 1.45; }
.pop-sub { color: #555; font-size: 12px; }
:root[data-theme="dark"] .leaflet-layer, :root[data-theme="dark"] .leaflet-control-zoom, :root[data-theme="dark"] .leaflet-control-attribution { filter: brightness(.82) contrast(1.05); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .leaflet-layer, :root:not([data-theme="light"]) .leaflet-control-zoom, :root:not([data-theme="light"]) .leaflet-control-attribution { filter: brightness(.82) contrast(1.05); } }

/* 單日：手機切換、桌面並排 */
.day-grid > * + * { margin-top: 14px; }
.day-grid[data-view="list"] .pane-map { display: none; }
.day-grid[data-view="map"] .pane-list { display: none; }
@media (min-width: 900px) {
  .day-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
  .day-grid > * + * { margin-top: 0; }
  .day-grid .pane-map { position: sticky; top: 64px; }
  .day-grid[data-view="list"] .pane-map, .day-grid[data-view="map"] .pane-list { display: block; }
  .seg.only-mobile { display: none; }
  .map { height: calc(100vh - 160px); }
}

/* 住宿卡 */
.stay { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.stay .stay-name { font-family: var(--ff-display); font-size: 20px; font-weight: 600; }
.stay .stay-meta { font-size: 13.5px; color: var(--stone); display: flex; flex-wrap: wrap; gap: 4px 12px; }
.stay .stay-addr { font-size: 14.5px; color: var(--ink-2); }
.stay-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.stay-nearby { font-size: 13.5px; color: var(--stone); }
.stay .fields.two { grid-template-columns: 1fr 1fr; }

/* 日期卡（全程） */
.daycard { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: start; padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; color: var(--ink); }
.daycard .dn { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--c); color: #fff; font-family: var(--ff-display); font-weight: 600; font-size: 20px; line-height: 1; }
.daycard .dn small { font-family: var(--ff-body); font-size: 10px; letter-spacing: .06em; opacity: .9; }
.daycard .dt { font-weight: 700; line-height: 1.4; }
.daycard .ds { font-size: 13px; color: var(--stone); margin-top: 2px; }
.daycard.is-today { box-shadow: 0 0 0 2px var(--ochre); }
.daynav { display: flex; justify-content: space-between; gap: 10px; }
.daynav .btn { flex: 1; }

/* 探索／搜尋 */
.search { position: relative; }
.search input { width: 100%; font: inherit; font-size: 16px; min-height: 48px; padding: 10px 14px 10px 42px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--stone); }
.results { list-style: none; margin: 0; padding: 0; }
.results li a { display: block; padding: 10px 12px; border-radius: var(--r-md); text-decoration: none; color: var(--ink); }
.results li a:hover { background: var(--pine-soft); }
.results .rk { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ochre-dk); font-weight: 700; }
.results .rt { font-weight: 700; }
.results .rs { font-size: 13.5px; color: var(--stone); }
.results mark { background: var(--ochre-soft); color: inherit; padding: 0 2px; border-radius: 3px; }
details.ref { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); }
details.ref summary { cursor: pointer; padding: 14px 16px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 48px; }
details.ref summary::-webkit-details-marker { display: none; }
details.ref summary::after { content: "+"; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--pine-soft); color: var(--pine); font-weight: 700; }
details.ref[open] summary::after { content: "−"; }
details.ref .in { padding: 0 16px 16px; font-size: 15px; }
details.ref .in ul, details.ref .in ol { margin: 0; padding-left: 1.3em; }
details.ref .in li { margin: 4px 0; }
.tablewrap { overflow-x: auto; border-radius: var(--r-md); }
table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
th, td { padding: 8px 10px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12.5px; color: var(--pine); background: var(--pine-soft); }
.phr { display: grid; gap: 0; }
.phr div { display: grid; grid-template-columns: 7.5em 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.phr div:last-child { border-bottom: 0; }
.phr .zh { color: var(--stone); font-size: 14px; }
.phr .it b { display: block; font-family: var(--ff-display); font-size: 18px; color: var(--pine); font-weight: 600; }
.phr .it small { color: var(--stone); }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.contact:last-child { border-bottom: 0; }
.contact .who { font-weight: 700; font-size: 15px; }
.contact .who span { display: block; font-weight: 400; color: var(--stone); font-size: 13px; }
.contact .tel { font-variant-numeric: tabular-nums; font-size: 15px; }
.contact .tel a { color: var(--ink); text-decoration: none; border-bottom: 1px dotted var(--stone); }
.contact .btn { grid-row: 1 / span 2; grid-column: 2; }
.contact.hot .who { color: var(--warn); }

/* 清單 */
.check { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 560px) { .check { grid-template-columns: 1fr 1fr; } }
.check label { display: flex; gap: 10px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px 14px; min-height: 48px; cursor: pointer; font-size: 15px; }
.check input { width: 22px; height: 22px; accent-color: var(--pine); flex: none; }
.check label:has(input:checked) { background: var(--ok-soft); }
.check label:has(input:checked) span { text-decoration: line-through; color: var(--stone); }
.progress { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--pine); width: 0; transition: width .25s; }
.kv { display: grid; grid-template-columns: 6.5em 1fr; gap: 6px 12px; font-size: 15px; margin: 0; }
.kv dt { color: var(--stone); }
.kv dd { margin: 0; }
.radios { display: flex; gap: 8px; flex-wrap: wrap; }
.radios label { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); cursor: pointer; }
.radios input { accent-color: var(--pine); }
textarea.raw { width: 100%; min-height: 7em; font: 13px/1.5 ui-monospace, Menlo, Consolas, monospace; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper-2); color: var(--ink); padding: 10px; }
.flight { border-radius: var(--r-md); padding: 12px 14px; background: var(--pine-soft); }
.flight .fn { font-weight: 700; color: var(--pine); font-size: 13.5px; }
.flight .route { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: 2px; }
.flight .route b { font-family: var(--ff-display); font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
.flight .route span { font-size: 13px; color: var(--stone); }
.flight .dur { font-size: 13px; color: var(--stone); }
.flights { display: grid; gap: 10px; }
@media (min-width: 560px) { .flights { grid-template-columns: 1fr 1fr; } }
footer.site { padding: 28px 0 20px; font-size: 13px; color: var(--stone); text-align: center; }

.flagrow { display: flex; flex-wrap: wrap; gap: 6px; }
.flag { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--pine-soft); color: var(--pine); }
.flag.warn { background: var(--warn-soft); color: var(--warn); }
.flag.today { background: var(--ochre); color: #1d1300; }
.empty { text-align: center; color: var(--stone); padding: 24px 0; }
@media (max-width: 420px) { .wrap { padding: 0 14px; } .card { padding: 14px; } .hero { padding: 20px 16px 18px; } }
/* Editorial composition: photo-led covers, paper sections, numbered stories. */
:root{--cover-ink:#fffaf0;--cover-accent:#f3bd6b;--cover-shade:#0e241fe6}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]){--cover-ink:#fffaf0;--cover-accent:#f3bd6b;--cover-shade:#0e241fe6}}
:root[data-theme="dark"]{--cover-ink:#fffaf0;--cover-accent:#f3bd6b;--cover-shade:#0e241fe6}
.wrap{max-width:1200px;padding:0 24px}.topbar .wrap{min-height:76px}.brand{font-size:30px;gap:0}.brand-dot{color:var(--ochre-dk)}.brand small{margin-left:16px;font-size:10px;letter-spacing:.12em}
.page{padding:36px 0 48px}.page>*+*{margin-top:28px}.card{border-radius:6px;padding:24px;box-shadow:none;background:var(--paper-2)}
h1{font-size:clamp(36px,6vw,64px);line-height:1.25}h2{font-size:clamp(25px,3.3vw,38px);line-height:1.4}.eyebrow{font-size:11px;letter-spacing:.16em;margin-bottom:12px}
.btn{border-radius:5px;white-space:normal;min-height:48px}.btn.small{min-height:44px}.btn.primary{background:var(--pine);color:var(--paper-2);border-color:var(--pine)}
.home-page{padding-top:0}.magazine-cover{margin-left:calc(-1 * max(24px,(100vw - 1152px)/2));margin-right:calc(-1 * max(24px,(100vw - 1152px)/2));border-radius:0;box-shadow:none;min-height:640px;padding:110px max(24px,calc((100vw - 1152px)/2)) 70px;background:var(--ink);isolation:isolate;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.cover-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.magazine-cover::after,.day-cover::after{content:"";position:absolute;inset:0;z-index:-1;border-radius:0;width:auto;height:auto;background:linear-gradient(90deg,var(--cover-shade),#0e241f20),linear-gradient(0deg,#0e241fa8,transparent 65%)}
.magazine-cover .eyebrow{color:var(--cover-accent);border:1px solid #ffffff50;padding:8px 14px;border-radius:99px;font-size:10px}.magazine-cover h1{font-size:clamp(44px,6.5vw,82px);max-width:900px;line-height:1.25;color:var(--cover-ink);margin:14px 0 22px}.magazine-cover h1 em{font-weight:400;color:var(--cover-accent);font-size:1.08em}.magazine-cover .lede{color:var(--cover-ink);max-width:560px;font-size:16px;line-height:1.9}.magazine-cover .actions{margin-top:28px;gap:12px}.magazine-cover .btn.primary{background:var(--cover-accent);color:#24382d;border-color:var(--cover-accent)}
.dispatch-strip{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:22px 0;border-bottom:1px solid var(--line);margin-top:0!important;font-size:13px}.dispatch-strip .eyebrow{margin:0}.dispatch-strip a{padding:10px 0;color:var(--pine);font-weight:700}
.travel-clocks{display:flex;gap:32px;margin:24px 0}.travel-clocks .clock{border:0;border-radius:0;background:none;padding:0;display:flex;gap:10px;align-items:baseline;color:var(--stone)}.travel-clocks .clock b{font-size:22px;color:var(--ink)}.travel-clocks .clock small{font-size:12px}.section-heading{margin-top:48px!important;margin-bottom:24px}
.editorial-section{padding:64px 0 24px;margin-top:48px!important;border-top:1px solid var(--line)}.editorial-section>h2{margin-bottom:28px!important}.feature-story{display:grid;grid-template-columns:1.15fr 1fr;text-decoration:none;color:var(--ink);background:var(--paper-2)}.feature-story img{width:100%;height:100%;min-height:380px;object-fit:cover}.story-copy{padding:40px;align-self:center}.story-copy h3{font-size:32px;line-height:1.5}.story-copy h3 em{font-weight:400;color:var(--ochre-dk);font-size:25px}.story-copy p:not(.eyebrow){font-size:15px;line-height:1.9;color:var(--stone)}.story-link{display:inline-block;margin-top:16px;padding-bottom:8px;border-bottom:1px solid var(--pine);font-weight:700;color:var(--pine);font-size:14px}
.journey-index{display:grid;grid-template-columns:1fr 1fr;gap:0 36px}.journey-index a{display:grid;grid-template-columns:40px 1fr auto 18px;align-items:center;gap:10px;padding:22px 0;border-bottom:1px solid var(--line);text-decoration:none;color:var(--ink)}.index-no{font-family:var(--ff-display);font-size:26px;color:var(--ochre-dk)}.journey-index small{color:var(--stone)}
.site{margin-top:64px!important;padding:32px 0;border-top:1px solid var(--line);color:var(--stone);font-size:12px}.footer-wordmark{font-family:var(--ff-display);font-style:italic;font-size:36px;color:var(--pine);margin-bottom:14px}.photo-credits summary{min-height:44px;cursor:pointer;align-content:center}.photo-credits li{margin-bottom:12px}
.back-link{display:inline-flex;min-height:44px;align-items:center;text-decoration:none;color:var(--stone);font-size:13px}.day-cover{position:relative;isolation:isolate;min-height:400px;display:flex;align-items:flex-end;padding:44px;overflow:hidden;color:var(--cover-ink);background:var(--ink)}.day-cover .cover-photo{object-position:center 55%}.day-cover-copy{max-width:800px}.day-cover h1{font-size:clamp(38px,5.5vw,66px);line-height:1.2;color:var(--cover-ink)}.day-cover h1 em{font-size:.85em;font-weight:400;color:var(--cover-accent)}.day-cover .eyebrow{color:var(--cover-accent)}.day-cover p:last-child{font-size:14px;max-width:640px;margin-bottom:0}.chips{padding:10px 0 14px;gap:0;border-bottom:1px solid var(--line)}.chip{min-width:98px;gap:7px;background:none;border:0;border-radius:0;padding:14px 12px}.chip.is-current{background:var(--pine);color:var(--paper);box-shadow:none}.chip b{font-size:23px}.chip span{font-size:12px}.chip.is-current span,.chip.is-current small{color:var(--paper)}
.meeting-card{border-left:3px solid var(--ochre);padding:22px}.meeting-card .fields{grid-template-columns:repeat(4,minmax(0,1fr))}.field{font-size:13px}.field input{border-radius:4px;background:var(--card)}.toolbar{position:sticky;top:76px;z-index:5;background:var(--paper);padding:10px 0;border-bottom:1px solid var(--line)}.seg,.seg button{border-radius:5px}.day-grid{margin-top:24px!important}.pane-list>*+*{margin-top:24px}.itinerary-paper{background:none;border:0;padding:0}.tl{margin-top:24px}.tl-item{grid-template-columns:44px minmax(0,1fr);gap:16px;padding:18px 0;border-bottom:1px solid var(--line);border-radius:0}.tl::before{left:21px;border-left:1px solid var(--line)}.tl-pin{width:44px;height:44px;font-size:16px;background:var(--pine);color:var(--paper-2);box-shadow:0 0 0 5px var(--paper)}.tl-title{font-family:var(--ff-display);font-size:21px;font-weight:600;line-height:1.6}.tl-text{font-size:15px;line-height:1.85;margin-top:7px}.more summary{min-height:44px}.tl-item.is-active{margin:0;padding:18px 8px;background:var(--pine-soft)}.tl-legend{line-height:2}.map-wrap{border-radius:6px}.pane-map{scroll-margin-top:155px}.stay{border-top:3px solid var(--pine);scroll-margin-top:155px}.stay .stay-name{font-size:26px}.map-note{background:var(--paper-2);margin:0;padding:12px}.tl.compact .tl-text{display:block;overflow:visible;-webkit-line-clamp:unset}.tl.compact .tl-item{padding:14px 0}.tl.compact .tl-title{font-size:18px}.photo-credits a{overflow-wrap:anywhere}
@media(min-width:900px){.day-grid{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:40px}.day-grid .pane-map{top:145px}.map{height:65vh}.home-page>.card{max-width:900px}.topbar .wrap{padding-top:8px;padding-bottom:8px}}
@media(max-width:600px){.wrap{padding:0 20px}.topbar .wrap{min-height:68px}.brand{font-size:25px}.brand small{font-size:9px;max-width:72px;margin-left:10px}.icon-btn{padding:0 10px}.page{padding-top:20px}.home-page{padding-top:0}.magazine-cover{margin-left:-20px;margin-right:-20px;padding:64px 24px 48px;min-height:570px}.magazine-cover h1{font-size:43px}.magazine-cover .eyebrow{font-size:9px;letter-spacing:.1em}.magazine-cover .lede{font-size:14px;max-width:32ch}.magazine-cover .cover-photo{object-position:60% center}.magazine-cover::after{background:linear-gradient(90deg,#0e241fcf,#0e241f45),linear-gradient(0deg,#0e241fce,transparent)}.dispatch-strip{font-size:12px;padding:18px 0;gap:8px}.dispatch-strip .eyebrow{width:100%}.travel-clocks{gap:20px}.travel-clocks .clock{flex-wrap:wrap;gap:4px 10px}.travel-clocks .clock small{width:100%}.card{padding:20px}.editorial-section{padding:44px 0 16px;margin-top:40px!important}.feature-story{grid-template-columns:1fr}.feature-story img{min-height:0;height:260px}.story-copy{padding:24px}.story-copy h3{font-size:27px}.story-copy h3 em{font-size:23px}.journey-index{grid-template-columns:1fr}.journey-index a{padding:18px 0}.day-cover{margin-left:-20px;margin-right:-20px;min-height:390px;padding:30px 24px}.day-cover h1{font-size:40px}.day-cover p:last-child{line-height:1.8}.day-cover::after{background:linear-gradient(0deg,#0e241ff0,#0e241f12)}.meeting-card .fields{grid-template-columns:1fr 1fr}.toolbar{top:68px;gap:8px}.toolbar>.muted{display:none}.toolbar>.btn{font-size:13px;padding:8px 12px}.seg button{padding:0 20px}.tl-item{gap:12px}.tl-title{font-size:19px}.tl-text{font-size:14px}.stay .stay-name{font-size:23px}.back-link{margin-top:0}.page>*+*{margin-top:24px}.chips{margin-top:12px!important}.btn{font-size:13px}.feature-story,.day-grid,.pane-list,.pane-map{min-width:0}}

.magazine-cover{position:relative;overflow:hidden}.magazine-cover .actions{display:flex;flex-wrap:wrap}.travel-clocks .clock b{font-family:var(--ff-display);font-variant-numeric:tabular-nums}

.map-addresses{padding:12px;background:var(--paper-2);font-size:13px}.map-addresses summary{min-height:44px;align-content:center;cursor:pointer}.map-addresses li{margin:12px 0}.map-addresses p{margin:2px 0}.site::before{content:none!important}
