:root{--ink:#183c40;--muted:#607475;--paper:#f7f8f5;--line:#dce3de;--accent:#cd633d;--sea:#23766e;--serif:Georgia,'Noto Serif TC','Songti TC',serif;color-scheme:light;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);background:var(--paper);font-size:16px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:95px}body{margin:0;line-height:1.7}button,input,select,textarea{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button,select{cursor:pointer}a{color:inherit}button{color:var(--ink)}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid #d56b41;outline-offset:4px}[hidden]{display:none!important}.wrap{max-width:1280px;margin:auto;padding-inline:48px}.header{min-height:112px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-weight:700;font-size:23px;letter-spacing:.04em;white-space:nowrap}.brand-mark{width:43px;height:43px;display:grid;place-items:center;background:var(--ink);color:white;font-family:var(--serif);border-radius:50%;font-size:22px;font-weight:400}.brand small{display:block;font-size:10px;letter-spacing:.15em;font-weight:500;color:var(--muted);line-height:1.4}.header-actions{display:flex;align-items:center;gap:10px}.button,select{border:1px solid #b8c9c1;border-radius:6px;background:white;padding:10px 17px;min-height:44px;text-decoration:none;font-size:14px;font-weight:600;transition:background .18s,transform .18s}.button:hover{background:#e8eee9}.button:active{transform:translateY(1px)}.button.dark{background:var(--ink);color:white;border-color:var(--ink)}.button.dark:hover{background:#28565a}.button.subtle{background:transparent}.header select{background-color:transparent;max-width:260px}select{appearance:none;padding-right:35px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23183c40' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center}.hero{position:relative;height:500px;display:flex;align-items:center}.hero-photo{position:absolute;inset:0 48px;overflow:hidden;border-radius:10px;background:var(--ink)}.hero-photo img{width:100%;height:100%;object-fit:cover;object-position:center 53%}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,37,43,.86),rgba(8,37,43,.55) 45%,rgba(8,37,43,.06) 85%)}.hero-copy{position:relative;color:white;padding:52px 56px;width:65%;z-index:1}.eyebrow{font-size:11px;font-weight:700;letter-spacing:.18em;color:var(--accent);margin:0 0 10px}.hero .eyebrow{color:#e1e9d8;letter-spacing:.24em;font-size:12px}.hero h1{font-family:var(--serif);font-size:clamp(48px,5.7vw,76px);font-weight:500;line-height:1.2;margin:20px 0 24px;letter-spacing:.06em}.hero-description{font-size:17px;max-width:390px;line-height:1.9;color:#edf2ed}.hero-bottom{margin-top:28px;display:flex;align-items:center;flex-wrap:wrap;gap:20px;font-size:14px}.hero-stamp{border:1px solid #ffffff60;padding:3px 11px;border-radius:3px}.photo-label{position:absolute;right:26px;bottom:22px;color:white;font-size:10px;letter-spacing:.14em;text-shadow:0 1px 4px #16333e}.trip-summary{display:grid;grid-template-columns:repeat(4,1fr);padding:30px 0 34px;gap:15px}.summary-item{padding:0 22px;border-left:1px solid var(--line)}.summary-item:first-child{padding-left:0;border:0}.summary-item small{display:block;font-size:11px;color:var(--muted);letter-spacing:.08em;margin-bottom:5px}.summary-item strong{font-size:18px;font-weight:600}.summary-item span{font-size:12px;color:var(--muted);display:block;margin-top:3px}.nav-container{border-block:1px solid var(--line);background:rgba(247,248,245,.97);position:sticky;top:0;z-index:10}.section-nav{display:flex;gap:32px;align-items:center;min-height:67px;overflow:auto}.section-nav a{white-space:nowrap;text-decoration:none;font-size:14px;padding:21px 0 17px;border-bottom:3px solid transparent}.section-nav a.active{border-color:var(--accent);color:var(--accent);font-weight:700}.nav-note{font-family:var(--serif);margin-left:auto;font-size:13px;color:var(--muted);white-space:nowrap}.schedule-section{padding-top:64px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:28px}h2{font-family:var(--serif);font-size:32px;font-weight:500;letter-spacing:.035em;line-height:1.5;margin:0}h3{font-size:21px;line-height:1.5;margin:0 0 10px}.section-note,.muted{color:var(--muted)}.section-note{font-size:13px;margin:0 0 5px}.day-tabs{display:grid;grid-template-columns:repeat(6,1fr);gap:9px;margin-bottom:24px}.day-tab{background:transparent;border:1px solid var(--line);border-radius:7px;text-align:left;padding:13px 16px;min-width:0;min-height:94px;transition:background .2s}.day-tab .tab-top{white-space:nowrap;display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:10px;letter-spacing:.1em;color:var(--muted)}.day-tab .tab-date{font-family:var(--serif);font-size:23px;letter-spacing:0}.day-tab .tab-name{display:block;font-size:12px;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.day-tab[aria-selected=true]{background:var(--ink);border-color:var(--ink);color:white}.day-tab[aria-selected=true] .tab-top{color:#c5d7cf}.day-tab:hover:not([aria-selected=true]){background:#eaf0ea}.schedule-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:28px;align-items:start}.day-panel{padding:32px;background:white;border:1px solid var(--line);border-radius:9px;min-width:0}.day-header{display:flex;justify-content:space-between;align-items:start;gap:15px}.day-header h3{font-size:25px;font-family:var(--serif);font-weight:500;margin-bottom:4px}.day-header .muted{font-size:12px;margin:0}.day-header .button{font-size:12px;min-height:38px;padding:7px 11px;white-space:nowrap}.day-stats{display:flex;flex-wrap:wrap;gap:7px;margin:24px 0}.stat{border-radius:4px;font-size:12px;padding:4px 9px;background:#f0f4f2}.stat.work,.category.work{color:#227168;background:#e6f1ec}.stat.transport,.category.transport{color:#4c6794;background:#ecf0f8}.stat.sight,.category.sight{color:#677b3e;background:#eef2e5}.stat.food,.category.food{color:#a56335;background:#fcf1e5}.alert{padding:13px 16px;background:#fff7e9;border-left:3px solid #d39b4e;font-size:13px;line-height:1.8;margin-bottom:20px;border-radius:3px}.alert strong{display:block;margin-bottom:2px;color:#855726}.timeline-row{display:grid;grid-template-columns:122px 18px minmax(0,1fr);gap:10px;min-height:106px;position:relative}.time{font-size:13px;font-weight:600;padding-top:5px;white-space:pre-line;font-variant-numeric:tabular-nums}.timeline-track{position:relative}.timeline-track:before{content:'';position:absolute;top:14px;bottom:-14px;left:7px;width:1px;background:#dce5df}.timeline-row:last-child .timeline-track:before{display:none}.timeline-dot{display:block;width:9px;height:9px;margin-top:12px;margin-left:3px;border-radius:50%;background:#8c9e98;position:relative;box-shadow:0 0 0 4px white}.timeline-row.work .timeline-dot{background:#438b7f}.timeline-row.transport .timeline-dot{background:#7b93b5}.timeline-row.sight .timeline-dot{background:#8a9d5d}.timeline-row.food .timeline-dot{background:#d19761}.event{padding:0 0 24px 8px}.category{display:inline-block;font-size:10px;font-weight:600;padding:1px 8px;border-radius:4px;margin-bottom:7px;letter-spacing:.05em}.event p{font-size:14px;line-height:1.85;margin:0}.schedule-footnote{border-top:1px solid var(--line);padding-top:18px;font-size:11px;color:var(--muted);margin:8px 0 0}.spotlight{background:white;border:1px solid var(--line);border-radius:9px;overflow:hidden}.spotlight img{width:100%;height:208px;object-fit:cover;display:block}.spotlight-body{padding:24px}.spotlight h3{font-family:var(--serif);font-size:23px;font-weight:500}.spotlight p{font-size:14px;margin:12px 0;line-height:1.9}.text-link{font-size:13px;font-weight:600;text-underline-offset:4px;color:var(--sea)}.credit{font-size:10px!important;color:var(--muted);line-height:1.8!important;overflow-wrap:anywhere}.margin-note{padding:24px 8px}.margin-note .eyebrow{font-size:10px}.margin-note p{font-size:13px;line-height:1.9;margin:8px 0;color:var(--muted)}.guide-section{margin-top:76px}.spot-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.spot-card{background:white;border:1px solid var(--line);border-radius:8px;overflow:hidden}.spot-card img{display:block;width:100%;aspect-ratio:1.55;object-fit:cover;transition:transform .4s}.spot-image{overflow:hidden}.spot-card:hover img{transform:scale(1.025)}.spot-body{padding:23px}.spot-body h3{font-family:var(--serif);font-weight:500;font-size:24px}.spot-body>p{font-size:14px;line-height:1.9;margin:12px 0}.spot-body .eyebrow{font-size:10px;margin-bottom:8px}.spot-body details{border-top:1px solid var(--line);padding-top:14px;margin-top:18px}.spot-body summary{font-size:13px;font-weight:600}.facts{font-size:13px;line-height:1.9;margin:12px 0;padding-left:19px}.facts li{margin:7px 0}summary{cursor:pointer}summary::marker{color:var(--accent)}.stay-heading{font-family:var(--serif);font-weight:500;font-size:25px;margin:40px 0 20px}.stay-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.stay-grid .spot-card{display:grid;grid-template-columns:40% 60%}.stay-grid .spot-image img{height:100%;min-height:270px;aspect-ratio:auto}.stay-grid .spot-body{padding:24px}.budget-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:24px}.budget-card{padding:30px;background:white;border:1px solid var(--line);border-radius:8px;overflow:auto}.budget-card h3{font-family:var(--serif);font-weight:500;font-size:24px}.budget-table{border-collapse:collapse;width:100%;font-size:14px;white-space:nowrap}.budget-table th{text-align:left;font-size:11px;font-weight:500;color:var(--muted);padding:13px 14px;border-bottom:1px solid var(--line)}.budget-table td{padding:15px 14px;border-bottom:1px solid var(--line);font-variant-numeric:tabular-nums}.budget-table th:first-child,.budget-table td:first-child{padding-left:0}.budget-table tr.featured{color:var(--sea);font-weight:700;background:#edf5ef}.budget-table tr.featured td:first-child{padding-left:10px}.budget-table tr.featured td:first-child small{display:block;font-weight:400;font-size:10px}.budget-card .small{font-size:12px;line-height:1.8}.budget-note{background:#e8eeea;padding:30px;border-radius:8px}.budget-note .big-price{font-family:var(--serif);font-size:48px;line-height:1.3;margin:12px 0}.budget-note p{font-size:14px;line-height:1.9}.budget-note .currency{font-family:inherit;font-size:14px}.accordion-list{margin-top:24px}.note-detail{border-bottom:1px solid var(--line);padding:22px 0}.note-detail summary{font-size:17px;font-weight:500}.note-content{padding:10px 20px 0;font-size:14px;line-height:1.9}.source-paragraph{white-space:pre-line;margin:12px 0;overflow-wrap:anywhere}.link-list{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.link-list .button{font-size:12px}.photo-attribution{margin-top:28px;padding:16px 0;border-bottom:1px solid var(--line)}.photo-attribution summary{font-size:12px;color:var(--muted)}.notebook-tools{display:flex;align-items:center;justify-content:space-between;gap:40px;padding-block:40px;border-block:1px solid var(--line);margin-top:76px}.notebook-tools h2{font-size:26px}.notebook-tools p{font-size:14px;margin:8px 0}.notebook-tools .small{max-width:630px;font-size:12px}.tool-actions{display:flex;flex-direction:column;gap:9px;flex-shrink:0}.footer{display:flex;align-items:center;justify-content:space-between;gap:25px;min-height:160px}.footer .brand{font-size:20px}.footer .brand small{font-size:11px;letter-spacing:.05em;line-height:2}.footer p{font-size:11px;color:var(--muted);text-align:right}.small{font-size:13px}dialog{border:1px solid var(--line);border-radius:12px;width:min(800px,94vw);max-height:90svh;padding:30px;color:var(--ink);background:var(--paper)}dialog::backdrop{background:#0e2c36a6;backdrop-filter:blur(3px)}.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.modal-heading h2{font-size:26px}.icon-button{border:0;background:transparent;font-size:27px;min-width:44px;min-height:44px}.modal-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:25px}label{display:block;font-size:13px;font-weight:600}input,textarea{width:100%;border:1px solid #b7c6bf;background:white;border-radius:5px;padding:10px;color:var(--ink);font-size:16px}textarea{resize:vertical;min-height:75px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:18px}.field-full{grid-column:1/-1}.edit-row{display:grid;grid-template-columns:140px 105px minmax(0,1fr) 38px;gap:8px;margin:12px 0;align-items:start}.edit-row input,.edit-row select,.edit-row textarea{font-size:14px;padding:8px;min-height:42px}.edit-row textarea{min-height:70px}.edit-row .icon-button{min-width:38px;min-height:42px;font-size:20px}.edit-help{font-size:12px;color:var(--muted)}#error{display:block;color:#a73a2b;font-size:14px;margin-top:14px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;box-shadow:0 8px 40px #183c4033;padding:13px 22px;border-radius:7px;z-index:30;width:max-content;max-width:90vw;font-size:14px}.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}.skip{position:absolute;left:20px;top:-100px;z-index:50;background:white;padding:10px}.skip:focus{top:10px}.empty-state{padding:35px 0;color:var(--muted);font-size:14px}
@media(min-width:1000px){.day-aside{position:sticky;top:95px}}@media(max-width:1100px){.wrap{padding-inline:30px}.hero-photo{inset-inline:30px}.hero-copy{padding-inline:38px;width:70%}.schedule-layout{grid-template-columns:minmax(0,1fr) 280px;gap:20px}.day-panel{padding:25px}.day-tab{padding:12px}.nav-note{display:none}.stay-grid .spot-card{display:block}.stay-grid .spot-image img{height:230px;min-height:0}.timeline-row{grid-template-columns:112px 16px minmax(0,1fr);gap:7px}}@media(max-width:800px){.wrap{padding-inline:22px}.header{min-height:96px;gap:15px;flex-wrap:wrap;padding-block:18px}.brand{font-size:21px}.header-actions{gap:8px}.header select{max-width:190px}.hero{height:440px}.hero-photo{inset-inline:22px}.hero-copy{width:85%;padding:34px}.hero h1{font-size:60px}.hero-description{font-size:16px}.hero-shade{background:linear-gradient(90deg,#092d35db,#092d3566)}.trip-summary{grid-template-columns:repeat(2,1fr);gap:24px 12px;padding:28px 0}.summary-item:nth-child(3){border:0;padding-left:0}.summary-item strong{font-size:16px}.section-nav{gap:27px;min-height:61px}.section-nav a{font-size:13px;padding-top:18px}.section-heading{align-items:start}.section-note{font-size:12px}.day-tabs{display:flex;overflow-x:auto;padding-bottom:5px;gap:8px}.day-tab{flex:0 0 125px}.schedule-layout{grid-template-columns:minmax(0,1fr)}.day-aside{display:grid;grid-template-columns:1fr 1fr;gap:20px}.spotlight img{height:190px}.margin-note{padding:18px 8px}.spot-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.spot-grid .spot-card:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}.spot-grid .spot-card:last-child img{height:100%;aspect-ratio:auto}.budget-layout{grid-template-columns:1fr 1fr}.budget-card,.budget-note{padding:22px}.budget-note .big-price{font-size:38px}.budget-table td,.budget-table th{padding:12px 8px}.notebook-tools{gap:20px}.footer{padding-block:30px}}@media(max-width:540px){.wrap{padding-inline:18px}.header{gap:16px;min-height:auto;padding-block:20px}.header-actions{width:100%;justify-content:space-between}.header-actions .button{font-size:12px;padding:8px 11px}.header select{font-size:12px;max-width:170px;flex:1;padding-left:10px}.hero{height:410px}.hero-photo{inset-inline:18px}.hero-copy{width:100%;padding:28px 25px}.hero h1{font-size:53px;margin:15px 0 18px}.hero-description{font-size:14px;max-width:270px}.hero .eyebrow{font-size:10px}.hero-bottom{margin-top:24px;font-size:12px;gap:12px}.photo-label{right:16px;bottom:15px;font-size:9px}.summary-item{padding-left:16px}.summary-item strong{font-size:15px}.summary-item small{font-size:10px}.summary-item span{font-size:11px}.section-nav{gap:24px}.section-heading{display:block;margin-bottom:24px}.section-note{margin-top:12px}.schedule-section{padding-top:38px}h2{font-size:27px}.day-tab{flex-basis:116px;min-height:90px}.day-tab .tab-name{font-size:11px}.day-panel{padding:22px 17px}.day-header h3{font-size:22px}.day-header .button{font-size:11px;padding-inline:8px}.timeline-row{grid-template-columns:91px 12px minmax(0,1fr);gap:5px;min-height:110px}.time{font-size:11px}.timeline-track:before{left:5px}.timeline-dot{margin-left:1px}.event{padding-left:6px}.event p{font-size:13px}.category{font-size:10px}.day-stats{margin-block:20px;gap:5px}.stat{font-size:11px;padding:3px 7px}.day-aside{display:block}.spotlight{display:grid;grid-template-columns:37% 63%}.spotlight img{height:100%;min-height:220px}.spotlight-body{padding:18px}.spotlight h3{font-size:21px}.spotlight p{font-size:12px}.spotlight .credit{font-size:9px!important}.margin-note{padding:22px 6px 0}.margin-note p{font-size:12px}.guide-section{margin-top:46px}.spot-grid{grid-template-columns:1fr;gap:20px}.spot-grid .spot-card:last-child{display:block}.spot-grid .spot-card:last-child img{height:auto;aspect-ratio:1.55}.spot-body{padding:23px}.spot-body h3{font-size:25px}.stay-grid{grid-template-columns:1fr}.stay-grid .spot-image img{height:auto;aspect-ratio:1.55}.budget-layout{grid-template-columns:1fr}.budget-card,.budget-note{padding:23px}.budget-note .big-price{font-size:44px}.notebook-tools{display:block;margin-top:46px;padding-block:30px}.tool-actions{flex-direction:row;margin-top:22px}.tool-actions .button{font-size:12px;padding:9px 12px}.footer{display:block;min-height:190px}.footer p{text-align:left;margin-top:24px}.field-grid{grid-template-columns:1fr}.edit-row{grid-template-columns:1fr 1fr 35px;padding-block:12px;border-bottom:1px solid var(--line)}.edit-row label:nth-child(3){grid-column:1/3;grid-row:2}.edit-row .icon-button{grid-column:3;grid-row:1/3;align-self:center}.edit-row label:first-child{grid-column:1}.edit-row label:nth-child(2){grid-column:2}dialog{padding:20px}.modal-heading h2{font-size:23px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

@media(max-width:540px){.day-tab .tab-top{font-size:9px}.day-tab .tab-date{font-size:21px}}

/* Continuous itinerary and map */
.route-overview { margin-top: 48px; }
.map-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 24px; }
.route-figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: white; }
.route-figure svg { display: block; width: 100%; height: auto; }
.route-figure figcaption { padding: 10px 16px; font-size: 13px; color: var(--muted); }
.route-figure figcaption a { margin-inline-start: .5em; text-underline-offset: 3px; }
.map-label { font-size: 19px; font-weight: 700; fill: #346165; }
.map-points { font-size: 19px; font-weight: 700; fill: #183c40; }
.map-points circle { fill: #22635a; stroke: white; stroke-width: 3px; }
.map-context { background: #e8eeea; border-radius: 9px; padding: 10px 24px; }
.map-context p { margin-block: 16px; }
.map-context strong { display: block; }
.day-index { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.day-index a { display: grid; place-items: center; min-width: 54px; min-height: 44px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; font-variant-numeric: tabular-nums; }
.day-index a:hover, .day-index a[aria-current] { background: var(--ink); color: white; }
.day-entry { max-width: 940px; margin-bottom: 26px; }
.day-entry .day-header { margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.day-entry .day-header h3 { font-size: clamp(24px, 3vw, 34px); }
.day-entry .day-header .eyebrow { font-size: 13px; }
.day-entry .timeline { list-style: none; padding: 0; margin: 0; }
.day-entry .timeline-row { min-height: 72px; }
.day-entry .event p { font-size: 16px; overflow-wrap: anywhere; }
.day-entry .time { font-size: 14px; overflow-wrap: anywhere; }
.day-entry .category { font-size: 12px; }
.activity-gallery { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.activity-photo { flex: 1 1 210px; min-width: 0; max-width: 330px; margin: 0; border-radius: 7px; overflow: hidden; background: #f0f4f0; }
.activity-photo img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.activity-photo figcaption { font-size: 14px; padding: 7px 10px; }
@media (max-width: 700px) {
  .map-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .map-context { padding: 5px 16px; }
  .day-entry .timeline-row { grid-template-columns: 72px 12px minmax(0, 1fr); }
  .day-entry .time { font-size: 12px; }
  .day-entry .event p { font-size: 15px; }
  .day-index a { min-width: 42px; padding-inline: 5px; font-size: 13px; }
  .section-nav { gap: 18px; }
}
.day-entry .time small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 400; }
.day-route { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px; margin: -6px 0 22px; padding: 11px 14px; border-radius: 6px; background: #edf4ef; font-size: 14px; }
.day-route small { display: block; color: var(--muted); font-size: 12px; }
@media (max-width: 540px) {
  .tool-actions { flex-wrap: wrap; }
  .header-actions .button { white-space: nowrap; padding-inline: 8px; }
  .header select { min-width: 0; }
}
@media print {
  @page { margin: 14mm; }
  body { color: #152528; background: white; font-size: 10pt; }
  .wrap { max-width: none; padding-inline: 0; }
  .header-actions, .nav-container, .day-index, [data-edit-day],
  .notebook-tools, .toast, .hero-photo, .trip-summary, .activity-gallery,
  #details, .day-route a, .skip { display: none !important; }
  .header, .footer { min-height: auto; padding-block: 0; }
  .hero { display: block; height: auto; }
  .hero-copy { width: 100%; padding: 6mm 0 3mm; }
  .hero-copy, .hero .eyebrow, .hero-description { color: inherit; }
  .hero h1 { font-size: 30pt; margin: 2mm 0; }
  .hero-description { margin: 2mm 0; font-size: 10pt; }
  .hero-bottom { margin-top: 0; }
  .route-overview { margin-top: 4mm; break-inside: avoid; }
  .map-layout { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 4mm; }
  .route-figure svg { max-height: 55mm; }
  .map-context { padding: 0 3mm; font-size: 8.5pt; }
  .map-context p { margin: 2mm 0; }
  .schedule-section { padding-top: 5mm; }
  .section-heading { margin-bottom: 3mm; }
  .day-entry { padding: 3mm 0; margin: 0; border: 0; }
  .day-entry .day-header { margin-bottom: 3mm; padding-bottom: 2mm; break-after: avoid; }
  .day-entry .day-header h3, h2 { font-size: 17pt; }
  .day-entry .timeline-row { grid-template-columns: 32mm 4mm minmax(0,1fr); min-height: 0; break-inside: avoid; }
  .day-entry .event { padding-bottom: 3mm; }
  .day-entry .event p, .day-entry .time, .day-route, .alert { font-size: 10pt; }
  .day-route, .alert { margin: 0 0 3mm; padding: 1.5mm 2mm; break-inside: avoid; }
}

/* Route legend shares the map's colors. */
.route-airport { --route-color: #496374; }
.route-market { --route-color: #12644e; }
.route-museum { --route-color: #884167; }
.route-beach { --route-color: #a45122; }
.map-routes path { stroke: var(--route-color); }
.map-legend { list-style: none; margin: 0; padding: 0; }
.map-legend li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; padding: 10px 0; }
.map-legend li + li { border-top: 1px solid #cddbd2; }
.map-legend strong { font-size: 15px; }
.map-legend small { display: block; font-size: 13px; color: var(--muted); }
.route-swatch { border-top: 3px solid var(--route-color); margin-top: 12px; }
.route-airport .route-swatch { border-top-style: dashed; }
.map-legend a { display: inline-flex; min-height: 32px; align-items: center; margin-right: 14px; font-size: 13px; color: var(--route-color); text-underline-offset: 3px; }
@media print {
  .map-legend li { padding: 1mm 0; }
  .map-legend strong, .map-legend small { font-size: 8.5pt; }
  .map-legend a { display: none; }
}
.day-entry .event .schedule-gap { width: fit-content; margin: 0 0 8px; padding: 2px 7px; border-left: 2px solid #8ba9a0; background: #eef4f0; color: #285448; font-size: 12px; }
.day-entry .event .schedule-gap.tight { border-left-color: #ae7541; color: #744724; background: #faf1e6; }
.schedule-gap span { font-weight: 400; }
.spot-body > .spot-quick-fact { border-radius: 5px; background: #edf4ef; padding: 7px 10px; color: #264e44; font-weight: 600; }
.stay-compare { margin: 0 0 12px; font-size: 14px; }
.stay-compare > div { padding: 8px 0; border-bottom: 1px solid var(--line); }
.stay-compare dt { font-weight: 600; }
.stay-compare dd { margin: 2px 0 0; }
.stay-link { display: inline-block; padding-block: 5px; }
