@charset "UTF-8";

:root {
  --paper: #f6f4ee;
  --white: #fffefa;
  --ink: #173f3d;
  --muted: #6b7770;
  --line: #dcded3;
  --line-soft: #e8e9df;
  --rust: #b85a37;
  --rust-dark: #934529;
  --sage: #e7ecdf;
  --sand: #f0e7d6;
  --serif: "Songti SC", "STSong", "Noto Serif SC", "SimSun", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button { touch-action: manipulation; }
button:disabled { opacity: .5; cursor: not-allowed; }
img { display: block; max-width: 100%; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.35; font-weight: 600; }
small { font-size: 12px; }
em { font-style: normal; }
strong, b { font-weight: 600; }
::selection { background: #decba9; color: var(--ink); }
:focus-visible { outline: 3px solid #c98a46; outline-offset: 4px; }
[hidden] { display: none !important; }
.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: fixed; left: 15px; top: -80px; z-index: 3000; background: var(--ink); color: white; padding: 12px 20px; }
.skip:focus { top: 15px; }

.topbar { position: sticky; top: 0; z-index: 1100; display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 92px; padding: 17px max(32px, calc((100vw - 1320px) / 2)); border-bottom: 1px solid var(--line); background: rgba(246, 244, 238, .96); backdrop-filter: blur(14px); }
.brand { display: inline-flex; flex-shrink: 0; align-items: center; gap: 11px; font-size: 20px; line-height: 1.3; letter-spacing: .08em; font-weight: 650; }
.brand-sun { display: inline-block; font-family: Georgia, serif; color: var(--rust); font-size: 45px; line-height: 1; transform: rotate(-34deg); }
.brand small { display: block; font-size: 8px; letter-spacing: .22em; font-weight: 500; margin-top: 7px; }
.topbar nav { display: flex; align-items: center; gap: 29px; margin-left: auto; white-space: nowrap; }
.topbar nav a { position: relative; color: #56665d; font-size: 13px; padding: 12px 0; transition: color .2s; }
.topbar nav a:hover, .topbar nav a.active { color: var(--ink); }
.topbar nav a.active:after { position: absolute; content: ""; width: 18px; height: 2px; bottom: 4px; left: calc(50% - 9px); background: var(--rust); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 18px; border: 1px solid transparent; border-radius: 4px; padding: 13px 22px; font-size: 14px; font-weight: 550; line-height: 1.5; transition: background .18s, border-color .18s, transform .18s; }
.button:hover { transform: translateY(-1px); }
.button.primary, .button:not(.secondary):not(.compact).primary { background: var(--ink); color: white; }
.button.primary:hover { background: #225854; }
.button.secondary { background: transparent; border-color: #b5bfb2; color: var(--ink); }
.button.secondary:hover { background: var(--sage); border-color: #8b9d90; }
.button.compact { padding: 9px 15px; font-size: 12px; gap: 9px; }
.button.danger { border-color: #d4ad9d; background: #fbf0e9; color: #9c482e; }
.text-button { padding: 9px 0; border: 0; background: none; font-size: 13px; }
.text-button:hover { color: var(--rust); }
.inline-link { border: 0; padding: 0; background: none; color: var(--rust); font-size: 12px; font-weight: 550; text-decoration: underline; text-underline-offset: 4px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 32px; height: 32px; border: 1px solid var(--line); background: transparent; border-radius: 50%; font-size: 20px; line-height: 1; }
.icon-button:hover { background: var(--sage); }

.hero { display: grid; grid-template-columns: 46% 54%; max-width: 1320px; margin: 36px auto 0; min-height: 572px; }
.hero-copy { padding: 42px 32px 38px 4px; display: flex; flex-direction: column; align-items: flex-start; }
.eyebrow { color: #718075; font-size: 10px; font-weight: 600; line-height: 1.5; letter-spacing: .18em; margin-bottom: 12px; }
.hero-copy > .eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 34px; font-size: 9px; letter-spacing: .17em; }
.tiny-orbit { display: inline-block; width: 11px; height: 11px; border: 1px solid #8e9b89; border-radius: 50%; box-shadow: inset -3px 0 0 #8e9b89; }
.hero-kicker { font-size: 13px; letter-spacing: .2em; margin-bottom: 12px; }
.hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(48px, 4.6vw, 68px); letter-spacing: .025em; line-height: 1.28; }
.hero h1 span { color: var(--rust); }
.hero-description { color: var(--muted); font-size: 15px; line-height: 1.9; margin: 22px 0 19px; }
.hero-dates { font-family: Georgia, serif; font-size: 19px; letter-spacing: .055em; }
.hero-dates span { font-family: var(--sans); color: #829084; font-size: 12px; padding-left: 12px; }
.family { display: flex; gap: 9px; margin-top: 14px; }
.family span { border: 1px solid var(--line); border-radius: 20px; padding: 3px 11px; color: #67766c; font-size: 10px; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 28px; }
.hero-actions .text-button span { margin-left: 8px; }
.hero-photo { position: relative; min-height: 572px; overflow: hidden; border-radius: 100px 5px 5px 5px; isolation: isolate; background: #b4b9a8; }
.hero-photo > img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 50% center; }
.photo-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.02) 40%, rgba(10,37,32,.58) 100%); }
.photo-caption { position: absolute; left: 34px; right: 34px; bottom: 31px; color: white; display: flex; flex-direction: column; gap: 7px; }
.photo-caption > span { font-size: 9px; letter-spacing: .16em; opacity: .8; }
.photo-caption strong { font-family: var(--serif); font-size: 22px; letter-spacing: .06em; }
.photo-caption small { font-size: 9px; opacity: .74; letter-spacing: .09em; }
.eclipse-stamp { position: absolute; top: 27px; right: 25px; width: 120px; padding: 17px 12px 14px; border: 1px solid rgba(255,255,255,.65); background: rgba(249,247,236,.91); text-align: center; border-radius: 65px 65px 4px 4px; box-shadow: 0 8px 28px rgba(22,40,29,.09); }
.eclipse-stamp > span { display: block; font-size: 10px; letter-spacing: .17em; }
.eclipse-stamp strong { display: block; font-family: Georgia,serif; font-weight: normal; font-size: 29px; margin-top: 8px; line-height: 1.1; }
.eclipse-stamp small { display: block; font-size: 8px; margin-top: 5px; }
.eclipse-ring { width: 38px; height: 38px; margin: 12px auto 0; border-radius: 50%; background: #1f3f3a; border: 1.5px solid #c29253; box-shadow: 0 0 0 4px #e9dfc8; }
.trip-strip { max-width: 1320px; display: grid; grid-template-columns: 1fr 1.25fr 1.2fr 1fr; margin: 28px auto 0; padding: 23px 0 24px; border-block: 1px solid var(--line); }
.trip-strip > div { padding: 0 28px; border-left: 1px solid var(--line); }
.trip-strip > div:first-child { padding-left: 3px; border: 0; }
.trip-strip > div:last-child { padding-right: 0; }
.trip-strip span, .trip-strip small { display: block; color: var(--muted); font-size: 10px; }
.trip-strip strong { display: block; font-size: 21px; line-height: 1.5; margin: 5px 0 3px; font-weight: 550; }
.trip-strip strong em { font-size: 12px; font-weight: normal; color: #728173; }
.trip-strip small { font-size: 10px; }
.trip-strip .saved-status { color: #788973; }

.content-wrap { max-width: 1320px; margin: auto; }
.section, .intro-section { padding-top: 84px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 22px; margin-bottom: 20px; }
.section-heading .eyebrow { margin-bottom: 8px; }
.section-heading h2 { font-family: var(--serif); font-size: 33px; font-weight: 600; line-height: 1.4; letter-spacing: .035em; }
.section-lead { max-width: 900px; font-size: 13px; color: var(--muted); line-height: 1.85; margin: -3px 0 23px; }
.pill { display: inline-block; flex-shrink: 0; padding: 6px 13px; border-radius: 20px; background: #e9ede3; color: #5c7463; font-size: 10px; white-space: nowrap; }
.route-overview { background: #edf0e6; padding: 28px 34px 21px; border-radius: 5px; }
.route-stops { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.route-stops > div { min-width: 90px; display: grid; grid-template-columns: 29px 1fr; gap: 0 9px; align-items: center; }
.route-stops i { grid-row: 1/3; font-size: 10px; font-style: normal; width: 28px; height: 28px; border: 1px solid #b6c3ae; border-radius: 50%; display: grid; place-items: center; }
.route-stops b { font-size: 14px; letter-spacing: .03em; }
.route-stops small { color: #748071; font-size: 10px; margin-top: 4px; }
.route-stops > span { color: #a2b095; }
.route-stops .highlight i { color: white; background: var(--rust); border-color: var(--rust); }
.route-stops .highlight b { color: var(--rust); }
.route-overview > p { margin: 23px 0 0; padding-top: 17px; border-top: 1px solid #d9dfcf; font-size: 11px; color: #75806f; line-height: 1.8; }
.editorial-notes { display: grid; grid-template-columns: repeat(3,1fr); gap: 35px; padding: 31px 0 0; }
.editorial-notes article + article { border-left: 1px solid var(--line); padding-left: 35px; }
.editorial-notes article > span { color: #9b8166; font-size: 9px; letter-spacing: .06em; }
.editorial-notes h3 { font-size: 17px; margin: 7px 0 11px; }
.editorial-notes p { color: var(--muted); font-size: 12px; line-height: 1.9; }

.date-tabs { display: flex; gap: 7px; padding: 0 0 16px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #bfc9b8 transparent; }
.date-tabs button { min-width: 0; flex: 1 0 103px; text-align: left; padding: 12px 12px 11px; border: 1px solid var(--line); border-radius: 4px; background: transparent; transition: .18s; }
.date-tabs button:hover { border-color: #9daa97; background: #eceee3; }
.date-tabs button.active, .date-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.date-tabs button > * { display: block; }
.date-tabs button span, .date-tabs button small { font-size: 9px; color: #7c887d; line-height: 1.65; }
.date-tabs button strong, .date-tabs button b { font-size: 17px; line-height: 1.55; margin: 2px 0; }
.date-tabs button.active span, .date-tabs button.active small, .date-tabs button[aria-selected="true"] small, .date-tabs button[aria-selected="true"] span { color: #b9cec3; }
.day-card { border: 1px solid var(--line); border-radius: 5px; background: var(--white); overflow: hidden; }
.day-main { padding: 29px 32px; min-width: 0; }
.day-card:has(> .day-sidebar) { display: grid; grid-template-columns: minmax(0,1fr) 300px; }
.day-head, .day-title-row { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; margin-bottom: 16px; }
.day-head h3, .day-title-row h3, .day-main > h3 { font-family: var(--serif); font-size: 27px; line-height: 1.5; }
.day-head p, .day-subtitle, .day-date { font-size: 11px; color: var(--muted); }
.day-heading-actions, .day-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.day-intro, .day-summary { color: var(--muted); font-size: 13px; margin: 12px 0 16px; }
.day-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 10px 0 20px; }
.day-tags > span, .tag { display: inline-block; padding: 3px 9px; border: 1px solid #dce2d3; border-radius: 3px; color: #70816b; background: #f5f7ef; font-size: 10px; }
.schedule-item { position: relative; display: grid; grid-template-columns: 91px minmax(0,1fr); gap: 18px; padding: 19px 0; border-top: 1px solid #ebede3; }
.time-label { color: var(--rust); font-family: var(--sans); font-size: 11px; font-weight: 600; padding-top: 2px; }
.schedule-item h4, .schedule-item strong { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.schedule-item p { font-size: 12px; color: var(--muted); line-height: 1.85; }
.day-sidebar { padding: 29px 25px; background: #f1f3e9; border-left: 1px solid var(--line); font-size: 12px; }
.day-sidebar h4 { font-size: 12px; margin: 0 0 10px; letter-spacing: .02em; }
.day-sidebar p { color: #697864; font-size: 12px; line-height: 1.9; }
.day-sidebar > div + div, .day-sidebar > section + section { padding-top: 21px; margin-top: 21px; border-top: 1px solid #dbe0cf; }
.stay-card { padding: 16px 18px; background: rgba(255,255,250,.7); border: 1px solid #dde2d3; border-radius: 4px; }
.stay-card > small, .stay-card > span { display: block; font-size: 10px; color: var(--muted); margin-bottom: 7px; }
.stay-card > strong { display: block; font-size: 15px; margin-bottom: 7px; }
.day-bottom { grid-column: 1/-1; border-top: 1px solid var(--line-soft); padding: 17px 30px; background: #faf9f3; font-size: 12px; color: var(--muted); }
.day-bottom b { color: var(--ink); }
.soft-notice { padding: 17px 21px; margin-top: 16px; background: #eee9dd; border-left: 2px solid #bea680; border-radius: 0 4px 4px 0; color: #777664; font-size: 12px; line-height: 1.9; }
.soft-notice b { color: #5b6756; }
.soft-notice .inline-link { display: inline; margin-left: 14px; }

.eclipse-section { margin-top: 84px; padding: 38px; border-radius: 6px; background: #163d3a; color: #eff2e6; }
.eclipse-section .eyebrow { color: #93ad9b; }
.eclipse-section .section-heading { margin-bottom: 27px; }
.dark-pill { background: #294e45; color: #bacbb7; }
.eclipse-layout { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); gap: 39px; }
.eclipse-visual { position: relative; display: flex; flex-direction: column; align-items: center; min-height: 330px; padding: 174px 20px 20px; text-align: center; overflow: hidden; border: 1px solid #466156; border-radius: 4px; background: radial-gradient(ellipse at 50% 32%, #6d6a48 0%, #2b4b40 20%, #123430 58%); }
.corona { position: absolute; left: calc(50% - 49px); top: 41px; width: 98px; height: 98px; border-radius: 50%; background: #092824; border: 1px solid #e4d9ae; box-shadow: 0 0 7px 3px #dfc49388, 0 0 30px 5px #e8cd9344, 0 0 80px 20px #e8cd9322; }
.corona:after { content: ""; position: absolute; top: 66px; right: 3px; width: 6px; height: 6px; background: #fff8d5; border-radius: 50%; box-shadow: 0 0 7px 3px #fff6c4, 0 0 17px 6px #f8d99477; }
.eclipse-visual-label { font-size: 8px; letter-spacing: .25em; color: #b5bca3; margin-bottom: 10px; }
.eclipse-visual h3 { font-family: var(--serif); font-size: 25px; line-height: 1.55; font-weight: 500; }
.eclipse-visual p { font-size: 10px; color: #a7bdab; line-height: 1.9; margin-top: 14px; }
.segmented { display: inline-flex; max-width: 100%; border: 1px solid #bdc9b7; border-radius: 4px; padding: 3px; background: rgba(255,255,255,.25); gap: 3px; }
.segmented button { flex: 1; white-space: nowrap; padding: 9px 15px; border: 0; border-radius: 2px; background: transparent; font-size: 12px; transition: .18s; }
.segmented button.active, .segmented button[aria-pressed="true"] { color: white; background: var(--ink); }
.eclipse-info .segmented { display: flex; border-color: #526c5d; background: transparent; margin-bottom: 22px; }
.eclipse-info .segmented button { color: #aac1ae; }
.eclipse-info .segmented button.active { color: #153b33; background: #dce4ce; }
.eclipse-info h3 { font-family: var(--serif); font-size: 23px; margin: 0 0 12px; }
.eclipse-info p, .eclipse-info li { color: #b9cbbc; font-size: 12px; line-height: 1.95; }
.eclipse-info ul { padding-left: 18px; margin-bottom: 0; }
.eclipse-info a { color: #dec49c; text-decoration: underline; text-underline-offset: 3px; }
.eclipse-info strong { color: #e9eddf; }
.eclipse-times { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin: 17px 0; }
.eclipse-times > div { padding: 10px; background: #21463e; border: 1px solid #3d5d4c; border-radius: 3px; }
.eclipse-times small { display: block; color: #93af9a; font-size: 9px; }
.eclipse-times strong { font-size: 16px; display: block; margin-top: 5px; }
.eclipse-timeline { display: grid; grid-template-columns: repeat(5,1fr); gap: 0; margin-top: 33px; border-top: 1px solid #4b6657; }
.eclipse-timeline > div { position: relative; padding: 20px 8px 0 0; }
.eclipse-timeline > div:before { content: ""; position: absolute; width: 5px; height: 5px; left: 0; top: -3px; background: #92ad8c; border-radius: 50%; }
.eclipse-timeline > .special:before { background: #e0b779; width: 7px; height: 7px; top: -4px; }
.eclipse-timeline strong, .eclipse-timeline span, .eclipse-timeline small { display: block; }
.eclipse-timeline strong { font-family: Georgia,serif; font-size: 16px; letter-spacing: .02em; font-weight: normal; }
.eclipse-timeline span { font-size: 11px; margin-top: 8px; }
.eclipse-timeline small { font-size: 9px; color: #8fa894; margin-top: 4px; }
.eclipse-timeline .special strong { color: #e7be82; }
.eclipse-footnotes { margin-top: 27px; border-top: 1px solid #3e5d50; padding-top: 20px; }
.eclipse-footnotes p { color: #9fb9a5; font-size: 10px; line-height: 1.9; }
.eclipse-footnotes b { color: #d0dec9; }
.eclipse-footnotes a { color: #d7bd96; text-decoration: underline; }

.transport-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 22px; }
.transport-card { position: relative; padding: 27px 29px; border: 1px solid var(--line); border-radius: 5px; background: var(--white); }
.transport-card.active, .transport-card.selected { border-color: #7e9780; box-shadow: inset 0 3px #768f75; }
.transport-card h3 { font-size: 20px; margin: 8px 0 15px; }
.transport-card p, .transport-card li { font-size: 12px; line-height: 1.9; color: var(--muted); }
.transport-card ul { padding-left: 18px; margin: 12px 0; }
.transport-card .price, .transport-price { color: var(--rust); font-size: 23px; line-height: 1.5; margin: 14px 0 10px; }
.transport-card .button { margin-top: 12px; }
#transport-table { overflow-x: auto; margin-bottom: 19px; }
#transport-table table { width: 100%; min-width: 720px; border-collapse: collapse; background: #fafbf5; border: 1px solid var(--line); font-size: 12px; }
#transport-table th, #transport-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
#transport-table th { color: #6d7c6c; font-weight: 550; font-size: 11px; background: #e9eee1; }
#transport-table td { color: #63715f; }
.detail-box { margin-top: 16px; border: 1px solid var(--line); border-radius: 4px; background: #fafbf4; }
.detail-box summary { cursor: pointer; font-size: 12px; padding: 16px 20px; font-weight: 550; }
.detail-box summary::marker { color: #82927a; }
.detail-box[open] summary { border-bottom: 1px solid var(--line); }
.detail-body { padding: 20px 23px; font-size: 12px; color: var(--muted); line-height: 1.9; }
.detail-body b { color: var(--ink); }
.detail-body a { color: var(--rust); text-decoration: underline; text-underline-offset: 3px; }

.map-tabs { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 19px; }
.map-tabs button { background: transparent; border: 1px solid #c9d0c0; border-radius: 30px; padding: 8px 20px; font-size: 12px; }
.map-tabs button.active { background: var(--ink); border-color: var(--ink); color: white; }
.map-tabs button:hover:not(.active) { background: var(--sage); }
.map-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 22px; align-items: start; }
.map-panel { min-width: 0; border: 1px solid #ced7c2; border-radius: 5px; overflow: hidden; background: #e7ebdb; }
#city-map { height: 470px; width: 100%; background: #e1e5d6; z-index: 1; }
.map-caption { padding: 16px 19px; background: #eef1e6; font-size: 11px; color: #6c7e65; line-height: 1.8; }
.map-caption strong, .map-caption b { color: #39543a; }
.map-caption h3 { font-family: var(--serif); font-size: 18px; color: var(--ink); margin-bottom: 7px; }
.map-caption p { margin-top: 7px; }
.map-status { padding: 0 19px; font-size: 11px; color: #86694d; background: #f5e9d2; }
.map-status:not(:empty) { padding-block: 10px; }
.map-points { display: grid; gap: 9px; max-height: 640px; overflow-y: auto; padding-right: 4px; scrollbar-width: thin; }
.map-point, .place-card { display: block; width: 100%; text-align: left; border: 1px solid var(--line); background: var(--white); border-radius: 4px; padding: 14px 16px; }
.map-point:hover, .place-card:hover { background: #f0f4e7; border-color: #aebda2; }
.map-point.active, .place-card.active { border-color: #718e6c; box-shadow: inset 3px 0 #799870; }
.map-point h4, .place-card h4 { font-size: 12px; line-height: 1.6; margin-bottom: 5px; }
.map-point p, .place-card p { font-size: 11px; color: var(--muted); line-height: 1.7; }
.map-point .point-number, .place-card .point-number { display: inline-grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; background: var(--ink); color: white; font-size: 10px; margin-right: 8px; }
.map-point a, .place-card a { display: inline-block; color: var(--rust); font-size: 10px; margin-top: 7px; text-decoration: underline; text-underline-offset: 3px; }
.map-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 14px; font-size: 10px; color: #84907e; }
.leaflet-container { font-family: var(--sans); }
.leaflet-control-attribution { font-size: 9px !important; }
.leaflet-popup-content-wrapper { border-radius: 5px; }
.leaflet-popup-content { color: var(--ink); font-size: 12px; line-height: 1.8; max-width: 240px; }
.leaflet-popup-content a { color: var(--rust); }
.number-marker, .custom-marker, .map-marker { display: grid; place-items: center; border: 2px solid #fff9e8; border-radius: 50%; background: var(--ink); color: white; font: 600 11px var(--sans); box-shadow: 0 2px 7px #233d4433; }

.budget-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 23px; margin-bottom: 23px; }
.budget-controls > label { display: flex; align-items: center; gap: 7px; font-size: 11px; color: #72816d; }
.budget-controls input { width: 62px; padding: 6px 7px; border: 1px solid #c9d1be; border-radius: 3px; background: var(--white); color: var(--ink); }
.budget-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 20px; }
.budget-summary > div, .budget-summary > article, .budget-summary .summary-card { padding: 23px 25px; border: 1px solid #d8decf; border-radius: 4px; background: #e9eee1; }
.budget-summary > :nth-child(2) { background: #234b40; color: #f5f5e7; border-color: #234b40; }
.budget-summary small, .budget-summary span, .budget-summary p { display: block; color: #7c8873; font-size: 10px; }
.budget-summary strong { display: block; font-family: Georgia, var(--sans); font-weight: normal; font-size: 32px; line-height: 1.5; margin: 7px 0 5px; letter-spacing: -.02em; }
.budget-summary > :nth-child(2) small, .budget-summary > :nth-child(2) span, .budget-summary > :nth-child(2) p { color: #afc2ac; }
.budget-table-wrap { position: relative; width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 5px; background: var(--white); scrollbar-width: thin; }
.budget-table { border-collapse: collapse; width: 100%; min-width: 910px; font-size: 12px; }
.budget-table th { padding: 16px 14px; text-align: right; background: #e8ecdf; color: #687a62; font-size: 10px; font-weight: 550; white-space: nowrap; }
.budget-table th:first-child { text-align: left; padding-left: 23px; }
.budget-table td { padding: 15px 14px; border-top: 1px solid #e5e9dc; vertical-align: middle; text-align: right; }
.budget-table td:first-child { text-align: left; padding-left: 23px; width: 36%; }
.budget-table td strong { display: block; font-size: 12px; font-weight: 550; }
.budget-table td small { display: block; font-size: 10px; color: #8a957f; margin-top: 5px; line-height: 1.7; }
.budget-table td input { width: 79px; border: 1px solid #d4dccb; background: #f9faf4; border-radius: 3px; padding: 5px 7px; text-align: right; color: var(--ink); font-size: 12px; }
.budget-table td:nth-child(2) input { width: 55px; }
.budget-table td:last-child { width: 85px; white-space: nowrap; }
.budget-table .text-button, .budget-table .inline-link { font-size: 10px; }
.budget-table tbody tr:hover { background: #f7f9f0; }
.budget-table .category-row td, .budget-table .group-row td { padding-block: 9px; font-size: 10px; font-weight: 600; letter-spacing: .06em; background: #f1f3e8; color: #79876f; text-align: left; }
.budget-breakdown { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; margin-top: 22px; }
.budget-breakdown > div { font-size: 11px; }
.budget-breakdown strong { display: block; font-size: 15px; margin-bottom: 3px; }
.budget-breakdown p, .budget-breakdown span { color: #7a8971; font-size: 10px; }
.budget-bar { height: 5px; background: #e4e9d9; border-radius: 3px; margin-top: 8px; overflow: hidden; }
.budget-bar i { display: block; height: 100%; background: #819875; border-radius: inherit; }
.budget-notes { margin-top: 22px; padding: 21px 24px; border: 1px dashed #c9d3bb; background: #f1f4e8; border-radius: 4px; }
.budget-notes p { font-size: 11px; color: #7b866e; line-height: 1.9; }
.budget-notes b { color: #596b50; }
.budget-notes a { color: var(--rust); text-decoration: underline; }

.checklist-top { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; }
#checklist-progress { white-space: nowrap; font-size: 12px; color: #6b7c60; }
.progress-track { height: 5px; border-radius: 4px; background: #dfe7d3; width: 180px; overflow: hidden; }
.progress-track i { display: block; height: 100%; background: #7c9870; border-radius: inherit; transition: width .25s; }
.chips { display: flex; gap: 7px; margin-left: auto; }
.chips button { background: transparent; border: 1px solid #d4dcc7; border-radius: 20px; padding: 5px 14px; color: #6f8065; font-size: 10px; }
.chips button.active { background: #e1ead5; border-color: #aebfa1; color: #3e6037; }
.checklists { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 19px; align-items: start; }
.checklist-card { border: 1px solid var(--line); border-radius: 5px; background: var(--white); padding: 20px 22px 11px; }
.checklist-card h3, .task-group h3 { font-size: 14px; font-weight: 600; padding-bottom: 14px; border-bottom: 1px solid #e4e8db; }
.checklist-card h3 small, .task-group h3 small { float: right; font-weight: normal; color: #94a088; font-size: 10px; margin-top: 3px; }
.task-group + .task-group { margin-top: 26px; }
.task-row { display: flex; align-items: flex-start; gap: 11px; border-bottom: 1px solid #eff1e8; padding: 14px 0; }
.task-row:last-child { border: 0; }
.task-row input[type="checkbox"] { flex-shrink: 0; width: 15px; height: 15px; margin: 4px 0 0; accent-color: #52724a; cursor: pointer; }
.task-text { flex: 1; min-width: 0; font-size: 12px; line-height: 1.75; cursor: pointer; }
.task-text strong { display: block; font-weight: 550; margin-bottom: 4px; }
.task-text small { display: block; font-size: 10px; color: #8b9680; line-height: 1.8; }
.task-row.done .task-text, .task-row:has(input:checked) .task-text > strong { color: #9da791; text-decoration: line-through; }
.task-row .icon-button { width: 23px; height: 23px; border-color: transparent; font-size: 14px; opacity: .55; }
.task-row .icon-button:hover { opacity: 1; }
.task-row .text-button { font-size: 10px; padding: 0; color: #91a081; }
.task-actions { display: flex; gap: 4px; }
.empty-state { padding: 45px 20px; border: 1px dashed #c7d1ba; color: #8a987b; text-align: center; font-size: 13px; grid-column: 1/-1; border-radius: 4px; }
.notes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.paper-card { background: #eeeee2; border: 1px solid #dedfce; border-radius: 4px; padding: 28px; }
.paper-card h3 { font-family: var(--serif); font-size: 22px; margin-bottom: 19px; }
.paper-card p { color: #7a806b; font-size: 11px; line-height: 1.95; }
.paper-card b { color: #56684c; }
.personal-note { margin-top: 25px; }
.personal-note > label { display: block; font-size: 14px; margin-bottom: 12px; font-weight: 550; }
.personal-note label span { font-size: 10px; font-weight: normal; color: #8a947d; margin-left: 12px; }
.personal-note textarea { width: 100%; resize: vertical; min-height: 130px; border: 1px solid #ccd4be; border-radius: 4px; background: #fcfcf6; padding: 16px 18px; font-size: 13px; color: var(--ink); line-height: 1.9; }
.personal-note textarea::placeholder { color: #a5ad98; }
.personal-note > small { display: block; color: #96a086; font-size: 10px; margin-top: 7px; }

.source-section { padding-bottom: 69px; }
.source-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.source-card { min-width: 0; border-top: 1px solid #cfd8c0; padding: 16px 0 12px; }
.source-card h3, .source-card h4, .source-card strong { display: block; font-size: 12px; line-height: 1.7; margin-bottom: 7px; }
.source-card p { color: #7e8a70; font-size: 10px; line-height: 1.9; }
.source-card a { color: #6e835e; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.source-card small { display: block; color: #97a088; font-size: 9px; margin-top: 6px; }
footer { display: grid; grid-template-columns: 1fr auto; gap: 23px 40px; padding: 38px max(32px, calc((100vw - 1320px) / 2)) 35px; background: #e8ecdf; border-top: 1px solid #d2dbc6; }
footer > div:first-child { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
footer .brand-sun { font-size: 32px; }
footer strong { font-family: var(--serif); font-size: 20px; }
footer > div > p { width: 100%; font-size: 11px; color: #8a977b; margin: 0 0 0 43px; }
.footer-actions { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.footer-actions .text-button { color: #6f8061; font-size: 11px; }
.storage-note { grid-column: 1/-1; padding-top: 20px; border-top: 1px solid #d8dfcd; font-size: 10px; color: #8d9980; line-height: 1.8; }

dialog { position: fixed; width: min(680px,calc(100vw - 32px)); max-height: calc(100dvh - 52px); border: 1px solid #c2ccb7; border-radius: 8px; padding: 0; background: #fafbf4; color: var(--ink); box-shadow: 0 30px 100px #0e34244d; overflow: auto; }
dialog::backdrop { background: #0c302c80; backdrop-filter: blur(4px); }
.dialog-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 27px; border-bottom: 1px solid #dce3cf; background: #fafbf4; }
.dialog-head h2 { font-family: var(--serif); font-size: 24px; }
#editor-form { padding: 24px 27px 27px; }
#editor-form > p, .form-help, .form-note { font-size: 11px; color: #849176; line-height: 1.9; }
#editor-form label, .form-field { display: block; margin-bottom: 16px; font-size: 12px; color: #5e7453; }
#editor-form label > span { display: block; margin-bottom: 7px; }
#editor-form input:not([type="checkbox"]), #editor-form textarea, #editor-form select { width: 100%; min-width: 0; margin-top: 7px; padding: 10px 12px; border: 1px solid #c8d2ba; border-radius: 4px; background: #fffefa; color: var(--ink); font-size: 13px; line-height: 1.7; }
#editor-form textarea { resize: vertical; min-height: 85px; }
#editor-form input[type="checkbox"] { accent-color: #52764b; }
.form-grid, .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid .full, .form-grid .wide, .form-row .full { grid-column: 1/-1; }
.form-grid.three { grid-template-columns: repeat(3,1fr); }
.form-actions, .dialog-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; border-top: 1px solid #dde5cf; padding-top: 20px; margin-top: 10px; }
.form-actions .danger, .dialog-actions .danger { margin-right: auto; }
.form-section-title { font-size: 13px; margin: 24px 0 14px; padding-bottom: 10px; border-bottom: 1px solid #dbe2ce; }
.field-note { display: block; font-size: 10px; color: #87977b; margin-top: 6px; }
.toast { position: fixed; left: 50%; bottom: 27px; z-index: 2100; max-width: calc(100vw - 32px); padding: 11px 22px; border-radius: 5px; background: #204b3f; color: #f5f6e9; box-shadow: 0 8px 24px #123d3426; font-size: 12px; text-align: center; transform: translate(-50%,20px); opacity: 0; pointer-events: none; transition: .22s; }
.toast.show, .toast.visible { transform: translate(-50%,0); opacity: 1; }

/* Dynamic itinerary, map, and editable planner components. */
.date-tab > strong { display: flex !important; align-items: baseline; justify-content: space-between; gap: 7px; }
.date-tab > strong small { display: inline; font-family: var(--sans); font-size: 9px; font-weight: normal; }
.date-tab > em { font-size: 10px; color: #73836c; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.date-tab.active > em { color: #b9cec3; }
.date-tab.eclipse-day:not(.active) { border-color: #c7a382; background: #f3ebdc; }
.date-tab.eclipse-day:not(.active) > span { color: var(--rust); }
.day-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 15px; }
.day-top .eyebrow { margin: 0; font-size: 9px; letter-spacing: .1em; }
.day-top .pill { font-size: 9px; }
.day-main > h3 { margin-bottom: 22px; }
.day-main .day-bottom { padding: 15px 18px; margin-top: 7px; border: 0; border-radius: 3px; background: #eff3e7; }
.day-main .day-bottom > span { display: block; color: #607952; font-size: 10px; font-weight: 550; margin-bottom: 7px; }
.day-main .day-bottom > p { font-size: 11px; line-height: 1.85; color: #7d8a6e; }
.day-sidebar .mini-label { display: block; color: #8b967c; font-size: 9px; letter-spacing: .06em; margin: 0 0 7px; }
.day-sidebar .mini-label:not(:first-child) { margin-top: 20px; }
.day-sidebar .stay-card > h4 { font-family: var(--serif); font-size: 19px; line-height: 1.6; margin-bottom: 15px; }
.distance-tag { display: inline-block !important; padding: 4px 8px; background: #e8ecdd; color: #768269 !important; border-radius: 3px; font-size: 9px !important; margin: 13px 0 0 !important; }
.booking-note { padding-top: 21px; margin-top: 21px; border-top: 1px solid #dbe0cf; }
.booking-note > b { display: block; font-size: 11px; margin-bottom: 7px; }
.booking-note > p { font-size: 11px; }
.day-note { margin-top: 17px; font-size: 10px !important; color: #8a967b !important; }
.day-sidebar > .button { width: 100%; padding: 10px 15px; margin-top: 18px; font-size: 11px; }
.eclipse-intro { font-size: 13px !important; line-height: 1.9 !important; }
.eclipse-facts { margin: 17px 0 20px; border-block: 1px solid #426353; }
.eclipse-facts > div { display: grid; grid-template-columns: 80px minmax(0,1fr); gap: 16px; padding: 11px 0; border-bottom: 1px solid #315344; }
.eclipse-facts > div:last-child { border: 0; }
.eclipse-facts dt { color: #89a78c; font-size: 10px; padding-top: 1px; }
.eclipse-facts dd { margin: 0; color: #dce6cf; font-size: 12px; line-height: 1.85; }
.eclipse-facts small { color: #8fad91; font-size: 9px; }
.transport-label { display: flex; justify-content: space-between; gap: 15px; color: #849377; font-size: 9px; letter-spacing: .08em; }
.transport-label > span:last-child { color: var(--rust); letter-spacing: 0; }
.transport-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; border-top: 1px solid #dfe5d3; padding-top: 18px; margin-top: 20px; }
.transport-bottom small { display: block; font-size: 9px; color: #95a084; }
.transport-bottom strong { display: block; font-family: Georgia,var(--sans); font-size: 26px; font-weight: normal; margin-top: 4px; line-height: 1.3; }
.transport-bottom .button { margin: 0; white-space: nowrap; }
.transport-caption { display: block; font-size: 10px; line-height: 1.8; color: #8b987c; margin-top: 15px; }
.driving-note { padding: 19px 23px; border: 1px solid #d7d4bb; border-left: 3px solid #ba9d6c; background: #f0eddf; border-radius: 3px; }
.driving-note > b { display: block; margin-bottom: 7px; font-size: 12px; }
.driving-note > p { color: #8a826a; font-size: 11px; line-height: 1.9; }
.driving-note a { color: var(--rust); text-decoration: underline; text-underline-offset: 3px; }
.map-tab > small { display: inline; margin-left: 5px; font-size: 9px; opacity: .65; }
.map-list-heading { padding: 0 4px 12px; }
.map-list-heading .eyebrow { display: block; font-size: 8px; letter-spacing: .1em; margin-bottom: 7px; }
.map-list-heading h3 { font-family: var(--serif); font-size: 22px; margin-bottom: 6px; }
.map-list-heading p { font-size: 10px; color: #8a987b; }
.point-row { border: 1px solid #dce3cf; border-radius: 4px; background: var(--white); overflow: hidden; }
.point-row:has(.active) { border-color: #819878; box-shadow: inset 3px 0 #819878; }
.point-button { display: flex; align-items: flex-start; gap: 11px; width: 100%; text-align: left; padding: 15px 16px 0; border: 0; background: transparent; }
.point-button > span { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: #e9eedf; color: #56764a; flex-shrink: 0; font-size: 10px; margin-top: 1px; }
.point-button.active > span { background: var(--ink); color: white; }
.point-button > div { min-width: 0; }
.point-button b { display: block; font-size: 12px; line-height: 1.8; }
.point-button p { color: #89967b; font-size: 10px; line-height: 1.9; margin: 5px 0 0; }
.point-button:hover b { color: var(--rust); }
.point-actions { display: flex; gap: 16px; padding: 6px 16px 13px 50px; }
.point-actions a, .point-actions button { font-size: 9px; color: #b4744e; text-decoration: underline; text-underline-offset: 3px; }
.map-caption > a { display: inline-block; color: #738d5e; font-size: 10px; margin-top: 5px; text-decoration: underline; text-underline-offset: 3px; }
.custom-marker { display: block; border: 0; border-radius: 0; background: none; box-shadow: none; }
.custom-marker > span { position: relative; display: grid; place-items: center; height: 30px; width: 30px; color: white; background: var(--ink); border: 2px solid #fffaf0; border-radius: 50%; font-size: 11px; box-shadow: 0 2px 5px #2646323b; }
.custom-marker > span:after { content: ""; position: absolute; left: 8px; bottom: -6px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid var(--ink); }
.custom-marker > .user-marker { background: var(--rust); }
.custom-marker > .user-marker:after { border-top-color: var(--rust); }
.budget-category { display: block; color: #9c986e; font-size: 9px; letter-spacing: .06em; margin-bottom: 4px; }
.budget-table td:first-child > b { display: block; font-size: 12px; line-height: 1.7; }
.budget-table td .currency { display: inline-block; font-size: 10px; color: #94a180; margin-right: 4px; }
.row-total { white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums; }
.budget-breakdown { display: block; }
.cost-bar { height: 10px; display: flex; gap: 3px; border-radius: 5px; overflow: hidden; }
.cost-bar > span { display: block; min-width: 1px; height: 100%; background: var(--bar); }
.cost-legend { display: flex; flex-wrap: wrap; gap: 9px 22px; padding-top: 14px; }
.cost-legend > span { color: #879377; font-size: 10px; }
.cost-legend b { margin-left: 5px; color: #5c7450; font-size: 11px; font-weight: 550; }
.table-scroll { overflow-x: auto; width: 100%; margin-bottom: 16px; }
.simple-table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 11px; }
.simple-table th, .simple-table td { padding: 11px 12px; text-align: left; border: 1px solid #dfe4d4; }
.simple-table th { background: #e9eee1; color: #6e835e; font-weight: 550; }
.simple-table td { color: #7e8b70; }
.task-text > span { display: block; font-weight: 550; margin-bottom: 4px; }
.task-text > em { display: inline-block; margin-top: 7px; font-size: 9px; color: #a48a62; background: #f4eddf; padding: 2px 6px; border-radius: 2px; }
.task-row.completed .task-text > span { color: #9ca98d; text-decoration: line-through; }
.task-row.completed .task-text > em { background: #edf1e6; color: #99a58c; }
.checklist-card > h3 > span { float: right; font-family: Georgia,serif; font-size: 13px; color: #98a78b; font-weight: normal; }
a.source-card { display: flex; gap: 15px; }
a.source-card > span { flex-shrink: 0; color: #9aa78a; font-family: Georgia,serif; font-size: 13px; margin-top: 1px; }
a.source-card > div { min-width: 0; }
a.source-card b { display: block; font-size: 12px; line-height: 1.7; margin-bottom: 6px; }
a.source-card:hover b { color: var(--rust); }
.form-error:not(:empty) { padding: 11px 14px; color: #a3432b; background: #f8e8dd; border: 1px solid #e2bfaa; border-radius: 3px; font-size: 12px; margin: 0 0 15px; }
.extension-copy { color: #7d8c6e; font-size: 12px; line-height: 1.9; }
.extension-copy b { color: var(--ink); }
.dialog-actions .text-button.danger { color: #ad5d3e; }
#print-itinerary { display: none; }

@media (min-width: 1600px) {
  .hero { margin-top: 46px; }
}

@media (max-width: 1410px) {
  .hero, .trip-strip, .content-wrap { margin-left: 40px; margin-right: 40px; }
  .hero { grid-template-columns: 46% 54%; }
  .topbar { padding-inline: 40px; gap: 24px; }
  .topbar nav { gap: 22px; }
  .hero-copy { padding-left: 0; }
}

@media (max-width: 1120px) {
  .topbar { padding-inline: 28px; gap: 20px; }
  .topbar nav { gap: 17px; }
  .topbar nav a { font-size: 11px; }
  .topbar > .button { display: none; }
  .hero, .trip-strip, .content-wrap { margin-left: 28px; margin-right: 28px; }
  .hero { min-height: 530px; }
  .hero-copy { padding-top: 30px; }
  .hero-photo { min-height: 530px; border-top-left-radius: 76px; }
  .hero-copy > .eyebrow { font-size: 8px; margin-bottom: 29px; }
  .hero h1 { font-size: 53px; }
  .hero-description { font-size: 13px; }
  .hero-actions { gap: 17px; }
  .hero-actions .button { padding: 12px 17px; font-size: 12px; }
  .hero-actions .text-button { font-size: 12px; }
  .photo-caption { left: 25px; right: 25px; }
  .photo-caption strong { font-size: 18px; }
  .trip-strip > div { padding-inline: 18px; }
  .trip-strip strong { font-size: 18px; }
  .trip-strip strong em { font-size: 10px; }
  .section-heading h2 { font-size: 29px; }
  .route-overview { padding: 24px 24px 20px; }
  .route-stops { gap: 8px; }
  .route-stops > div { grid-template-columns: 24px 1fr; gap: 0 7px; min-width: 82px; }
  .route-stops i { height: 23px; width: 23px; font-size: 8px; }
  .route-stops b { font-size: 12px; }
  .route-stops small { font-size: 9px; }
  .editorial-notes { gap: 25px; }
  .editorial-notes article + article { padding-left: 25px; }
  .day-card:has(> .day-sidebar) { grid-template-columns: minmax(0,1fr) 260px; }
  .day-main { padding: 25px; }
  .day-sidebar { padding: 25px 20px; }
  .eclipse-section { padding: 30px; }
  .eclipse-layout { gap: 25px; }
  .map-layout { grid-template-columns: minmax(0,1fr) 300px; gap: 18px; }
  .checklists { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .budget-summary strong { font-size: 28px; }
  .source-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  footer { padding-inline: 28px; }
}

@media (max-width: 800px) {
  html { scroll-padding-top: 122px; }
  .topbar { min-height: auto; display: grid; grid-template-columns: 1fr auto; gap: 11px; padding: 13px 22px 0; }
  .brand { font-size: 17px; gap: 9px; }
  .brand-sun { font-size: 36px; }
  .brand small { font-size: 7px; margin-top: 4px; }
  .topbar > .button { display: inline-flex; grid-column: 2; grid-row: 1; padding: 7px 11px; font-size: 10px; }
  .topbar nav { grid-column: 1/-1; grid-row: 2; margin: 0 -22px; padding: 0 22px; overflow-x: auto; gap: 24px; scrollbar-width: none; }
  .topbar nav::-webkit-scrollbar { display: none; }
  .topbar nav a { font-size: 11px; padding: 10px 0 14px; }
  .topbar nav a.active:after { bottom: 6px; }
  .hero, .trip-strip, .content-wrap { margin-inline: 22px; }
  .hero { margin-top: 25px; grid-template-columns: 1fr 1fr; min-height: 480px; }
  .hero-copy { padding: 23px 20px 20px 0; }
  .hero-copy > .eyebrow { letter-spacing: .09em; font-size: 7px; margin-bottom: 24px; }
  .tiny-orbit { width: 8px; height: 8px; }
  .hero-kicker { font-size: 10px; margin-bottom: 12px; }
  .hero h1 { font-size: 43px; }
  .hero-description { font-size: 12px; margin-block: 19px 16px; }
  .hero-dates { font-size: 15px; }
  .hero-dates span { font-size: 10px; padding-left: 6px; }
  .family { flex-wrap: wrap; gap: 5px; margin-top: 12px; }
  .family span { padding: 2px 7px; font-size: 8px; }
  .hero-actions { margin-top: 24px; flex-wrap: wrap; gap: 10px 18px; }
  .hero-actions .button { font-size: 11px; gap: 10px; padding: 10px 13px; }
  .hero-photo { min-height: 480px; border-top-left-radius: 64px; }
  .eclipse-stamp { width: 91px; right: 17px; top: 20px; padding: 13px 8px 12px; }
  .eclipse-stamp > span { font-size: 8px; }
  .eclipse-stamp strong { font-size: 23px; }
  .eclipse-stamp small { font-size: 7px; }
  .eclipse-ring { height: 28px; width: 28px; margin-top: 10px; }
  .photo-caption { left: 19px; right: 19px; bottom: 24px; }
  .photo-caption strong { font-size: 15px; line-height: 1.7; }
  .photo-caption > span, .photo-caption small { font-size: 7px; }
  .trip-strip { grid-template-columns: 1fr 1fr; gap: 20px 0; padding-block: 22px; }
  .trip-strip > div { padding: 0 20px; }
  .trip-strip > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .trip-strip strong { font-size: 19px; }
  .section, .intro-section { padding-top: 62px; }
  .section-heading { align-items: flex-start; }
  .section-heading h2 { font-size: 26px; }
  .section-heading .pill { font-size: 9px; padding: 5px 10px; }
  .section-heading > .button { font-size: 10px; white-space: nowrap; }
  .section-lead { font-size: 12px; }
  .route-stops { overflow-x: auto; padding-bottom: 5px; gap: 16px; }
  .route-stops > div { flex-shrink: 0; min-width: 110px; }
  .route-overview { padding: 22px; }
  .editorial-notes { gap: 19px; }
  .editorial-notes article + article { padding-left: 19px; }
  .editorial-notes h3 { font-size: 15px; }
  .editorial-notes p { font-size: 11px; }
  .day-card:has(> .day-sidebar) { grid-template-columns: 1fr; }
  .day-sidebar { border-left: 0; border-top: 1px solid var(--line); }
  .day-head h3, .day-title-row h3, .day-main > h3 { font-size: 24px; }
  .day-bottom { padding-inline: 25px; }
  .eclipse-section { padding: 26px; margin-top: 62px; }
  .eclipse-layout { grid-template-columns: 1fr; }
  .eclipse-visual { min-height: 305px; padding-top: 161px; }
  .corona { top: 32px; }
  .eclipse-timeline { grid-template-columns: repeat(3,1fr); gap: 21px 10px; }
  .eclipse-timeline > div:nth-child(n+4) { border-top: 1px solid #4b6657; }
  .eclipse-timeline small { max-width: 125px; }
  .transport-cards { gap: 16px; }
  .transport-card { padding: 22px; }
  .transport-card h3 { font-size: 18px; }
  .map-layout { grid-template-columns: 1fr; gap: 17px; }
  #city-map { height: 360px; }
  .map-points { grid-template-columns: 1fr 1fr; max-height: none; padding-right: 0; }
  .map-list-heading { grid-column: 1/-1; padding: 2px 0 6px; }
  .map-bottom { font-size: 9px; }
  .budget-summary { gap: 11px; }
  .budget-summary > div, .budget-summary > article { padding: 19px 18px; }
  .budget-summary strong { font-size: 25px; }
  .budget-breakdown { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .checklist-top { gap: 15px; }
  .progress-track { width: 100px; }
  .paper-card { padding: 23px; }
  .paper-card h3 { font-size: 20px; }
  .personal-note label span { display: block; margin: 5px 0 0; }
  footer { grid-template-columns: 1fr; padding-inline: 22px; }
  .footer-actions { gap: 22px; }
}

@media (max-width: 560px) {
  html { scroll-padding-top: 119px; }
  body { font-size: 14px; }
  .topbar { padding-inline: 19px; }
  .topbar nav { margin-inline: -19px; padding-inline: 19px; gap: 23px; }
  .hero, .trip-strip, .content-wrap { margin-inline: 19px; }
  .hero { display: flex; flex-direction: column; margin-top: 7px; }
  .hero-copy { padding: 28px 0 29px; }
  .hero-copy > .eyebrow { font-size: 8px; letter-spacing: .15em; margin-bottom: 23px; }
  .hero-kicker { font-size: 11px; }
  .hero h1 { font-size: clamp(44px,11.7vw,64px); line-height: 1.25; letter-spacing: .04em; }
  .hero-description { font-size: 13px; margin: 19px 0 16px; }
  .hero-description br { display: none; }
  .hero-dates { font-size: 19px; }
  .hero-dates span { font-size: 11px; padding-left: 9px; }
  .family span { padding: 3px 9px; font-size: 9px; }
  .hero-actions { gap: 24px; margin-top: 22px; }
  .hero-actions .button { font-size: 12px; padding: 12px 17px; }
  .hero-photo { min-height: 375px; border-radius: 65px 4px 4px 4px; }
  .eclipse-stamp { width: 105px; top: 20px; right: 20px; padding: 15px 8px 14px; }
  .eclipse-stamp strong { font-size: 25px; }
  .eclipse-stamp small { font-size: 8px; }
  .eclipse-ring { width: 32px; height: 32px; }
  .photo-caption { left: 24px; right: 24px; bottom: 25px; }
  .photo-caption strong { font-size: 18px; }
  .photo-caption > span, .photo-caption small { font-size: 8px; }
  .trip-strip { margin-top: 22px; gap: 22px 0; padding: 23px 0; }
  .trip-strip > div { padding-inline: 13px; }
  .trip-strip strong { font-size: 17px; margin-top: 5px; }
  .trip-strip strong em { font-size: 9px; }
  .trip-strip span, .trip-strip small { font-size: 9px; line-height: 1.8; }
  .section, .intro-section { padding-top: 51px; }
  .section-heading { margin-bottom: 17px; gap: 12px; flex-wrap: wrap; }
  .section-heading h2 { font-size: 25px; letter-spacing: .015em; }
  .section-heading .eyebrow { font-size: 9px; letter-spacing: .14em; }
  .section-heading > .pill { font-size: 9px; }
  .section-heading > .button { font-size: 10px; padding: 7px 10px; margin-top: 4px; }
  .section-lead { font-size: 11px; line-height: 1.95; margin-bottom: 19px; }
  .route-overview { padding: 22px 20px 19px; }
  .route-stops { flex-direction: column; align-items: stretch; overflow: visible; gap: 11px; padding: 0; }
  .route-stops > div { grid-template-columns: 28px 1fr auto; gap: 0 10px; }
  .route-stops i { grid-row: 1; width: 27px; height: 27px; font-size: 9px; }
  .route-stops b { font-size: 13px; }
  .route-stops small { margin: 0; font-size: 10px; text-align: right; }
  .route-stops > span { display: none; }
  .route-overview > p { margin-top: 20px; padding-top: 15px; font-size: 10px; }
  .editorial-notes { display: block; padding-top: 5px; }
  .editorial-notes article { padding-top: 22px; }
  .editorial-notes article + article { padding: 22px 0 0; margin-top: 20px; border-left: 0; border-top: 1px solid var(--line); }
  .editorial-notes h3 { font-size: 17px; margin: 5px 0 8px; }
  .editorial-notes p { font-size: 12px; line-height: 1.85; }
  .date-tabs { gap: 7px; padding-bottom: 13px; }
  .date-tabs button { flex-basis: 89px; padding: 10px; }
  .date-tabs button strong { font-size: 16px; }
  .day-main { padding: 22px 19px; }
  .day-top { flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
  .day-top .eyebrow { font-size: 8px; }
  .day-head, .day-title-row { flex-wrap: wrap; gap: 12px; }
  .day-head h3, .day-title-row h3, .day-main > h3 { font-size: 23px; }
  .day-heading-actions .button, .day-actions .button { padding: 6px 10px; font-size: 10px; }
  .day-tags { margin-bottom: 15px; }
  .day-tags > span, .tag { font-size: 9px; padding: 3px 7px; }
  .schedule-item { grid-template-columns: 66px minmax(0,1fr); gap: 11px; padding: 16px 0; }
  .time-label { font-size: 10px; }
  .schedule-item h4, .schedule-item strong { font-size: 13px; line-height: 1.65; }
  .schedule-item p { font-size: 11px; line-height: 1.9; }
  .day-sidebar { padding: 22px 19px; }
  .day-bottom { padding: 15px 19px; font-size: 11px; }
  .soft-notice { padding: 15px 17px; font-size: 11px; }
  .soft-notice .inline-link { display: block; margin: 8px 0 0; font-size: 11px; }
  .eclipse-section { margin-top: 51px; padding: 24px 19px; }
  .eclipse-section .section-heading { gap: 12px; }
  .eclipse-section .section-heading h2 { font-size: 25px; }
  .eclipse-visual { min-height: 304px; }
  .eclipse-visual h3 { font-size: 24px; }
  .eclipse-info .segmented button { padding: 10px 7px; font-size: 11px; }
  .eclipse-info h3 { font-size: 21px; }
  .eclipse-info p, .eclipse-info li { font-size: 11px; }
  .eclipse-intro { font-size: 12px !important; }
  .eclipse-facts > div { grid-template-columns: 65px minmax(0,1fr); gap: 12px; }
  .eclipse-facts dd { font-size: 11px; }
  .eclipse-times { gap: 5px; }
  .eclipse-times > div { padding: 10px 7px; }
  .eclipse-times strong { font-size: 14px; }
  .eclipse-times small { font-size: 8px; }
  .eclipse-timeline { grid-template-columns: 1fr; gap: 0; margin-top: 25px; border-top: 0; }
  .eclipse-timeline > div { padding: 0 0 21px 20px; margin-left: 3px; border-left: 1px solid #4b6657; display: grid; grid-template-columns: 110px 1fr; gap: 1px 7px; }
  .eclipse-timeline > div:nth-child(n+4) { border-top: 0; }
  .eclipse-timeline > div:last-child { padding-bottom: 0; }
  .eclipse-timeline > div:before { top: 7px; left: -3px; }
  .eclipse-timeline > .special:before { top: 6px; left: -4px; }
  .eclipse-timeline strong { font-size: 15px; grid-row: 1/3; }
  .eclipse-timeline span { font-size: 10px; margin: 0; }
  .eclipse-timeline small { font-size: 9px; margin: 3px 0 0; max-width: none; line-height: 1.65; }
  .eclipse-footnotes { margin-top: 23px; padding-top: 18px; }
  .eclipse-footnotes p { font-size: 10px; }
  .transport-cards { grid-template-columns: 1fr; gap: 14px; }
  .transport-card { padding: 23px; }
  .transport-card h3 { font-size: 19px; }
  .transport-card p { font-size: 11px; }
  .transport-bottom { gap: 12px; }
  .transport-bottom strong { font-size: 25px; }
  .driving-note { padding: 17px 18px; }
  .detail-box summary { padding: 14px 16px; font-size: 11px; }
  .detail-body { padding: 17px; font-size: 11px; }
  .map-tabs { gap: 7px; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .map-tabs button { white-space: nowrap; padding: 7px 14px; font-size: 11px; }
  #city-map { height: 360px; }
  .map-caption { padding: 15px 16px; font-size: 10px; }
  .map-points { grid-template-columns: 1fr; gap: 8px; }
  .map-point, .place-card { padding: 14px 16px; }
  .map-bottom { flex-direction: column; gap: 10px; }
  .map-bottom .inline-link { align-self: flex-start; font-size: 11px; }
  .budget-controls { gap: 14px 20px; }
  .budget-controls .segmented { width: 100%; }
  .budget-controls label { font-size: 10px; gap: 5px; }
  .budget-controls input { width: 53px; padding: 5px; font-size: 12px; }
  .budget-summary { grid-template-columns: 1fr; gap: 9px; }
  .budget-summary > div, .budget-summary > article, .budget-summary .summary-card { padding: 17px 20px; }
  .budget-summary strong { font-size: 29px; margin: 3px 0; }
  .budget-summary small, .budget-summary span, .budget-summary p { font-size: 10px; }
  .budget-breakdown { gap: 18px 14px; }
  .cost-legend { gap: 8px 16px; }
  .cost-legend > span { font-size: 9px; }
  .cost-legend b { font-size: 10px; }
  .budget-notes { padding: 18px; }
  .budget-notes p { font-size: 10px; }
  .checklist-top { flex-wrap: wrap; gap: 13px; margin-bottom: 20px; }
  #checklist-progress { font-size: 11px; }
  .progress-track { flex: 1; width: auto; }
  .chips { width: 100%; margin-left: 0; }
  .chips button { padding: 5px 15px; }
  .checklists { grid-template-columns: 1fr; gap: 15px; }
  .checklist-card { padding: 20px 20px 9px; }
  .task-row { padding-block: 15px; }
  .task-text { font-size: 12px; }
  .notes-grid { grid-template-columns: 1fr; gap: 14px; }
  .paper-card { padding: 24px 21px; }
  .paper-card h3 { font-size: 22px; }
  .paper-card p { font-size: 11px; }
  .source-list { grid-template-columns: 1fr; gap: 6px; }
  .source-card { padding: 16px 0; }
  .source-card p { font-size: 11px; }
  .source-section { padding-bottom: 45px; }
  footer { padding: 30px 19px; gap: 20px; }
  .footer-actions { gap: 11px 20px; }
  .footer-actions .text-button { font-size: 10px; }
  .storage-note { font-size: 9px; }
  dialog { width: calc(100vw - 24px); max-height: calc(100dvh - 30px); }
  .dialog-head { padding: 18px 20px; }
  .dialog-head h2 { font-size: 22px; }
  #editor-form { padding: 20px; }
  .form-grid, .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-grid.three { grid-template-columns: 1fr 1fr; gap: 0 12px; }
  .form-actions, .dialog-actions { flex-wrap: wrap; }
  .form-actions .button, .dialog-actions .button { padding: 10px 15px; font-size: 12px; }
  .toast { font-size: 11px; padding: 10px 17px; bottom: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  @page { margin: 15mm; }
  html { scroll-padding-top: 0; }
  body { font-size: 10pt; background: white; color: #183c31; }
  .topbar, .hero-actions, .date-tabs, .map-tabs, .budget-controls, .checklist-filters, .chips, .footer-actions, dialog, .toast, .section-heading > button, .inline-link[data-action], .text-button, .icon-button, .skip, .leaflet-control-zoom { display: none !important; }
  .hero, .trip-strip, .content-wrap { margin: 0; max-width: none; }
  .hero { display: block; min-height: auto; }
  .hero-copy { padding: 0 0 15px; }
  .hero h1 { font-size: 34pt; }
  .hero-photo { display: none; }
  .hero-copy > .eyebrow { margin-bottom: 12px; }
  .hero-description br { display: none; }
  .hero-description { margin: 12px 0; }
  .trip-strip { grid-template-columns: 1fr 1fr; margin-top: 12px; }
  .section, .intro-section { padding-top: 25px; }
  #itinerary { display: none !important; }
  #print-itinerary { display: block !important; margin-top: 24px; }
  #print-itinerary h2 { font-family: var(--serif); font-size: 20pt; margin-bottom: 16px; }
  #print-itinerary article { break-inside: avoid; padding: 15px 0; border-top: 1px solid #cbd6bd; }
  #print-itinerary article h3 { font-size: 12pt; line-height: 1.6; margin-bottom: 10px; }
  #print-itinerary article p { font-size: 9pt; line-height: 1.8; margin-bottom: 6px; }
  .section-heading { break-after: avoid; }
  .section-heading h2 { font-size: 20pt; }
  .section-lead { font-size: 9pt; }
  .day-card, .transport-card, .paper-card, .checklist-card, .source-card { break-inside: avoid; }
  .day-card:has(> .day-sidebar), .eclipse-layout, .map-layout, .notes-grid, .transport-cards, .checklists, .source-list { grid-template-columns: 1fr; }
  .eclipse-section { margin-top: 25px; padding: 20px; background: #e8eee2; color: #193d32; }
  .eclipse-visual { display: none; }
  .eclipse-info p, .eclipse-info li, .eclipse-info strong, .eclipse-footnotes p, .eclipse-footnotes b { color: #304c39; }
  .eclipse-facts dd { color: #304c39; }
  .eclipse-facts dt, .eclipse-facts small { color: #66805b; }
  .eclipse-timeline { grid-template-columns: repeat(5,1fr); }
  .eclipse-timeline small { color: #66805b; }
  .eclipse-info .segmented { display: none; }
  #city-map { height: 300px; }
  .map-points { max-height: none; grid-template-columns: 1fr 1fr; overflow: visible; }
  .map-list-heading { grid-column: 1/-1; }
  .point-row { break-inside: avoid; }
  .cost-bar, .cost-bar > span, .custom-marker > span { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .budget-table-wrap, #transport-table { overflow: visible; border: 0; }
  .budget-table { min-width: 0; font-size: 7pt; }
  .budget-table td, .budget-table th { padding: 7px 5px; }
  .budget-table td:first-child, .budget-table th:first-child { padding-left: 5px; width: 34%; }
  .budget-table td input { border: 0; background: none; padding: 0; width: 45px; font-size: 7pt; }
  .budget-table td:nth-child(2) input { width: 25px; }
  .budget-table td:last-child, .budget-table th:last-child { display: none; }
  .budget-table td strong { font-size: 8pt; }
  .budget-table td small { font-size: 7pt; }
  .budget-summary { grid-template-columns: repeat(3,1fr); }
  .budget-summary strong { font-size: 20pt; }
  .table-scroll { overflow: visible; }
  .simple-table { min-width: 0; font-size: 7pt; }
  .simple-table th, .simple-table td { padding: 7px; }
  .personal-note textarea { border: 1px solid #ccc; height: auto; min-height: 100px; }
  .source-section { padding-bottom: 20px; }
  footer { display: block; padding: 20px 0; background: none; }
  .storage-note { margin-top: 15px; }
  a { overflow-wrap: anywhere; }
}
