:root {
  --forest: #153f35;
  --forest-2: #245b49;
  --moss: #6f8c6a;
  --sage: #dce8dc;
  --mint: #eef5ed;
  --cream: #f8f6ef;
  --paper: #fffdf8;
  --ink: #24332e;
  --muted: #687871;
  --line: #d8e1d9;
  --amber: #d8a24a;
  --shadow: 0 18px 50px rgba(20, 58, 47, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Noto Sans TC", system-ui, sans-serif;
  line-height: 1.65;
}
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  color: white;
  background: var(--forest);
}
.skip-link:focus { transform: none; }

.hero {
  position: relative;
  min-height: 42vh;
  overflow: hidden;
  display: grid;
  place-items: end start;
  color: white;
}
.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 43%;
  filter: saturate(.88) contrast(1.02);
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 44, 34, .88) 0%, rgba(15, 58, 43, .56) 42%, rgba(10, 32, 27, .08) 76%),
    linear-gradient(0deg, rgba(8, 31, 25, .55), transparent 52%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 12vh 0 7vh;
}
.eyebrow, .section-kicker {
  margin: 0 0 12px;
  letter-spacing: .19em;
  font-size: .76rem;
  font-weight: 700;
}
.hero h1 {
  max-width: 700px;
  margin: 0;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(2.8rem, 7vw, 6.6rem);
  line-height: 1.05;
  letter-spacing: .04em;
  text-shadow: 0 3px 25px rgba(0,0,0,.2);
}
.hero-date {
  margin: 20px 0 28px;
  font-size: 1.05rem;
  letter-spacing: .2em;
}
.hero-route {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  max-width: 900px;
  font-size: .84rem;
}
.hero-route i { width: 24px; height: 1px; background: rgba(255,255,255,.55); }

.app-shell {
  width: min(1240px, calc(100% - 40px));
  margin: -34px auto 80px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  background: var(--paper);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.sidebar {
  background: var(--forest);
  color: white;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  min-height: 840px;
}
.side-head { display: flex; gap: 12px; align-items: center; margin-bottom: 28px; padding: 0 8px; }
.side-head strong, .side-head small { display: block; }
.side-head strong { font-family: "Noto Serif TC", serif; }
.side-head small { color: #bcd0c5; font-size: .72rem; letter-spacing: .08em; }
.mini-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
  font-family: serif;
  font-size: 1.1rem;
}
.primary-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 20px; }
.primary-tab {
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  background: transparent;
  color: #dbe8e1;
  padding: 10px 8px;
  cursor: pointer;
}
.primary-tab.active { background: #f3f5e9; color: var(--forest); border-color: #f3f5e9; font-weight: 700; }
.primary-tab span { margin-right: 5px; }
.day-list { display: grid; gap: 3px; }
.day-button {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 10px;
  text-align: left;
  background: transparent;
  color: #c7d8cf;
  cursor: pointer;
  transition: .18s ease;
}
.day-button:hover { background: rgba(255,255,255,.07); color: white; }
.day-button.active { background: #2b6652; color: white; box-shadow: inset 3px 0 var(--amber); }
.day-button .date { font-weight: 700; font-size: .83rem; }
.day-button .label { font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-foot {
  margin-top: auto;
  padding: 22px 8px 0;
  display: flex;
  justify-content: space-between;
  color: #9fb9ad;
  font-size: .68rem;
  letter-spacing: .13em;
}

.content { min-width: 0; padding: 48px clamp(24px, 5vw, 64px) 42px; background: linear-gradient(135deg, #fffdf8, #f7faf4); }
.view { display: none; animation: rise .28s ease; }
.view.active { display: block; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.bottom-nav { display: none; }

.day-topline { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.day-index { margin: 0 0 10px; color: var(--forest-2); font-size: .74rem; letter-spacing: .17em; font-weight: 700; }
.day-title {
  margin: 0;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.25;
  color: var(--forest);
}
.country-badge {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--sage);
  color: var(--forest);
  font-size: .8rem;
  font-weight: 700;
}
.day-summary { max-width: 720px; color: var(--muted); font-size: 1rem; margin: 14px 0 28px; }
.day-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.meta-chip {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  font-size: .78rem;
  color: #4d6158;
}
.timeline { position: relative; display: grid; gap: 2px; margin: 30px 0 30px 6px; }
.timeline::before { content: ""; position: absolute; left: 68px; top: 19px; bottom: 19px; width: 1px; background: #c8d8ce; }
.timeline-item { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 30px; padding: 14px 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: 63px;
  top: 24px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--forest-2);
}
.timeline-time { padding-top: 1px; color: var(--forest-2); font-weight: 700; font-size: .82rem; text-align: right; }
.timeline-card { padding: 0 0 10px; }
.timeline-card h3 { margin: 0 0 4px; font-size: 1rem; }
.timeline-card p { margin: 0; color: var(--muted); font-size: .87rem; }
.route-link, .notion-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: var(--forest-2);
  font-weight: 700;
  font-size: .78rem;
  text-decoration: none;
}
.route-link:hover, .notion-link:hover { text-decoration: underline; }
.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 30px; }
.info-card { border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: rgba(255,255,255,.78); }
.info-card .icon { font-size: 1.25rem; }
.info-card h3 { margin: 7px 0 5px; font-size: .9rem; }
.info-card p { margin: 0; color: var(--muted); font-size: .83rem; }
.source-row { display: flex; justify-content: flex-end; margin-top: 24px; }
.notion-link { padding: 9px 13px; border: 1px solid var(--line); border-radius: 9px; }

.day-pager { display: flex; justify-content: space-between; align-items: center; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.pager-btn { border: 0; background: transparent; color: var(--forest-2); font-weight: 700; cursor: pointer; }
.pager-btn:disabled { color: #aeb9b2; cursor: default; }
#page-count { color: var(--muted); font-size: .8rem; }

.section-heading { border-bottom: 1px solid var(--line); padding-bottom: 26px; margin-bottom: 28px; }
.section-kicker { color: var(--forest-2); }
.section-heading h2 { margin: 0; font-family: "Noto Serif TC", serif; color: var(--forest); font-size: clamp(2rem, 4vw, 3.25rem); }
.section-heading h2 span { margin-left: 8px; font-family: "Noto Sans TC", sans-serif; font-size: .72rem; letter-spacing: .16em; color: var(--forest-2); }
.section-heading > p:last-child { color: var(--muted); max-width: 650px; }
.compact-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.credential-filters { display: flex; align-items: flex-end; gap: 8px; }
.date-filter { display: grid; gap: 4px; color: var(--muted); font-size: .7rem; font-weight: 700; }
.date-filter select { min-width: 128px; padding: 8px 30px 8px 10px; border: 1px solid var(--line); border-radius: 9px; color: var(--forest); background: white; font-weight: 700; }
.ticket-section { margin: 30px 0 42px; }
.ticket-section-title { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.ticket-section-title h3 { margin: 0; font-family: "Noto Serif TC", serif; color: var(--forest); font-size: 1.35rem; }
.ticket-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.ticket-overview-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.ticket-card { position: relative; display: block; border: 1px solid var(--line); background: white; border-radius: 14px; padding: 18px 18px 17px; overflow: hidden; text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.ticket-card:hover { transform: translateY(-2px); border-color: #9db6a7; box-shadow: 0 10px 24px rgba(20,58,47,.08); }
.ticket-date { color: var(--forest-2); font-size: .75rem; font-weight: 700; letter-spacing: .08em; }
.ticket-card h4 { margin: 7px 0 6px; font-size: .98rem; }
.ticket-card p { margin: 3px 0; color: var(--muted); font-size: .82rem; }
.ticket-note { display: inline-block; margin-top: 10px; padding: 4px 8px; border-radius: 6px; background: var(--mint); color: var(--forest-2); font-size: .72rem; font-weight: 700; }
.ticket-open { display: block; margin-top: 14px; color: var(--forest-2); font-size: .75rem; font-weight: 700; }
.map-link, .credential-link { display: inline-flex; align-items: center; margin-top: 10px; color: var(--forest-2); font-size: .74rem; font-weight: 700; text-decoration: none; }
.credential-links { display: flex; flex-wrap: wrap; gap: 7px; }
.credential-link { padding: 5px 9px; border-radius: 8px; background: var(--mint); }
.map-link { margin-right: 10px; }
.map-link:hover, .credential-link:hover { text-decoration: underline; }

.overview-heading { margin-bottom: 24px; }
.overview-heading h2 { margin: 0; color: var(--forest); font-family: "Noto Serif TC", serif; font-size: clamp(2rem, 4vw, 3.25rem); }
.overview-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.overview-cell {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.82);
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.overview-cell:hover, .overview-cell:focus-visible { border-color: #86a696; background: white; transform: translateY(-2px); outline: none; }
.overview-date { color: var(--forest-2); font-weight: 800; }
.overview-country { color: var(--forest); font-weight: 700; font-size: .82rem; }
.overview-cell strong { font-size: .9rem; line-height: 1.35; }

.day-dialog { width: min(560px, calc(100% - 24px)); max-height: min(720px, calc(100dvh - 28px)); padding: 0; border: 0; border-radius: 20px; color: var(--ink); background: #fffdf8; box-shadow: 0 24px 80px rgba(9,42,32,.28); }
.day-dialog::backdrop { background: rgba(8,35,28,.58); backdrop-filter: blur(3px); }
#day-dialog-content { padding: 22px; }
.day-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.day-dialog-copy { flex: 1 1 auto; min-width: 0; }
.day-dialog-topline { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.day-dialog-head span { color: var(--forest-2); font-size: .78rem; font-weight: 800; }
.day-dialog-head h3 { margin: 5px 0 0; color: var(--forest); font-family: "Noto Serif TC", serif; font-size: 1.25rem; }
.dialog-close { flex: 0 0 36px; width: 36px; height: 36px; border: 0; border-radius: 50%; outline: 0; appearance: none; -webkit-tap-highlight-color: transparent; background: var(--mint); color: var(--forest); font-size: 1.5rem; cursor: pointer; }
.dialog-close:focus-visible { outline: 2px solid var(--forest-2); outline-offset: 2px; }
.day-stay { display: flex; margin: 14px 0 0; }
.day-stay span { padding: 6px 9px; border-radius: 9px; background: var(--mint); color: var(--forest-2); font-size: .73rem; font-weight: 700; }
.dialog-timeline { display: grid; gap: 8px; overflow: auto; }
.day-map-actions { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0 12px; }
.day-map-actions:empty { display: none; }
.day-map-link { display: inline-flex; align-items: center; border: 0; padding: 8px 11px; border-radius: 9px; color: white; background: var(--forest-2); font-family: inherit; font-size: .76rem; font-weight: 800; text-decoration: none; cursor: pointer; }
.day-map-link.compact { flex: 0 1 auto; padding: 5px 8px; font-size: .64rem; line-height: 1.25; text-align: center; }
.day-map-link.secondary { color: var(--forest-2); background: var(--mint); }
.day-map-link:hover { background: var(--forest); }
.day-map-link.secondary:hover, .day-map-link.secondary:focus-visible { color: var(--forest); background: #d2e1d5; }
.hallstatt-map-preview { margin: 0 0 12px; padding: 7px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.hallstatt-map-preview[hidden] { display: none; }
.hallstatt-map-preview img { display: block; width: 100%; height: auto; border-radius: 8px; }
.hallstatt-map-preview figcaption { padding: 6px 3px 1px; color: var(--muted); font-size: .7rem; text-align: center; }
.dialog-timeline article { display: grid; grid-template-columns: 58px 1fr; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.dialog-timeline time { color: var(--forest-2); font-size: .75rem; font-weight: 800; }
.dialog-timeline strong { font-size: .84rem; }
.dialog-timeline p { margin: 4px 0 0; color: var(--muted); font-size: .76rem; line-height: 1.45; }
.event-map-link { display: inline-block; margin-top: 6px; color: var(--forest-2); font-size: .72rem; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.event-detail-toggle { display: inline-block; margin: 6px 0 0 8px; border: 0; padding: 0; color: var(--forest-2); background: transparent; font: inherit; font-size: .72rem; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.event-detail { margin-top: 8px; padding: 9px 10px; border-radius: 9px; color: var(--ink); background: var(--mint); font-size: .74rem; line-height: 1.55; }
.event-detail[hidden] { display: none; }
.event-detail > p { margin: 0; color: var(--ink); }
.event-photo-grid { display: grid; gap: 8px; margin-top: 9px; }
.event-photo { margin: 0; overflow: hidden; border-radius: 9px; background: white; }
.event-photo img { display: block; width: 100%; max-height: 240px; object-fit: cover; }
.event-photo figcaption { padding: 5px 8px 7px; color: var(--muted); font-size: .64rem; }
.event-photo figcaption a { color: var(--forest-2); font-weight: 700; }
.dialog-day-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.dialog-day-nav button { border: 0; padding: 8px 3px; color: var(--forest-2); background: transparent; font: inherit; font-size: .78rem; font-weight: 800; cursor: pointer; }
.dialog-day-nav button:last-child { text-align: right; }
.dialog-day-nav button:first-child { text-align: left; }
.dialog-day-nav button:disabled { color: #aeb9b3; cursor: default; }
.dialog-day-nav span { color: var(--muted); font-size: .72rem; }

.currency-card { max-width: 620px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.88); }
.currency-card label { display: grid; gap: 7px; color: var(--forest-2); font-size: .78rem; font-weight: 800; }
.currency-card input, .currency-card select { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: white; font: inherit; }
.currency-row { display: grid; grid-template-columns: 1fr 42px 1fr; align-items: end; gap: 10px; margin-top: 14px; }
.currency-swap { width: 42px; height: 42px; border: 0; border-radius: 50%; color: var(--forest); background: var(--mint); font-size: 1.3rem; cursor: pointer; }
.currency-result { display: block; margin-top: 20px; color: var(--forest); font-family: "Noto Serif TC", serif; font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 700; }
.currency-status { margin: 6px 0 0; color: var(--muted); font-size: .72rem; }

footer { width: min(1240px, calc(100% - 40px)); margin: -42px auto 36px; display: flex; justify-content: space-between; color: #718079; font-size: .74rem; letter-spacing: .08em; }
footer a { text-decoration: none; color: var(--forest-2); font-weight: 700; }

@media (max-width: 860px) {
  body { padding-bottom: 76px; }
  .hero { min-height: 220px; }
  .hero-copy { width: calc(100% - 36px); }
  .hero-route { display: none; }
  .app-shell { width: 100%; margin: 0; border-radius: 0; grid-template-columns: 1fr; box-shadow: none; border: 0; }
  .sidebar { display: none; }
  .content { padding: 26px 18px 42px; }
  .bottom-nav { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; height: 76px; display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px max(10px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left)); border-top: 1px solid var(--line); background: rgba(255,253,248,.96); box-shadow: 0 -10px 30px rgba(20,58,47,.09); backdrop-filter: blur(16px); }
  .bottom-tab { display: grid; justify-items: center; align-content: center; gap: 2px; border: 0; border-radius: 12px; background: transparent; color: #809087; cursor: pointer; }
  .nav-icon { width: 27px; height: 27px; overflow: visible; fill: var(--sage); stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
  .bottom-tab strong { font-size: .76rem; }
  .bottom-tab.active { color: var(--forest); background: var(--mint); }
  .bottom-tab.active .nav-icon { fill: #cfe4d2; transform: translateY(-1px) rotate(-2deg); }
  .ticket-grid { grid-template-columns: 1fr; }
  .ticket-overview-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  footer { width: calc(100% - 36px); margin: 25px auto; gap: 15px; flex-direction: column; }
}

@media (max-width: 560px) {
  .hero { height: 140px; min-height: 140px; }
  .hero-shade { background: linear-gradient(0deg, rgba(8,44,34,.9), rgba(8,44,34,.18) 75%); }
  .hero-copy { padding: 18px 0 14px; }
  .hero h1 { font-size: 1.75rem; }
  .hero-date { margin: 7px 0 0; font-size: .67rem; }
  .eyebrow { margin-bottom: 5px; font-size: .52rem; }
  .hero-route { display: flex; flex-wrap: nowrap; gap: 3px; margin-top: 7px; max-width: 100%; font-size: .47rem; white-space: nowrap; }
  .hero-route i { flex: 1 1 8px; min-width: 5px; max-width: 10px; }
  .content { padding: 10px 10px 12px; }
  .compact-heading { gap: 8px; padding-bottom: 8px; margin-bottom: 8px; }
  .section-heading h2 { font-size: 1.2rem; white-space: nowrap; }
  .section-heading h2 span { margin-left: 3px; font-size: .52rem; }
  .date-filter { font-size: 0; }
  .date-filter select { min-width: 108px; max-width: 126px; padding: 6px 24px 6px 8px; font-size: .72rem; }
  .credential-filters { gap: 5px; }
  .credential-filters .date-filter select { min-width: 96px; max-width: 112px; }
  .overview-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  .overview-list.filtered { grid-template-columns: minmax(0, 1fr); }
  .overview-cell { min-height: 68px; gap: 2px; padding: 7px 6px; border-radius: 9px; }
  .overview-date { font-size: .66rem; white-space: nowrap; }
  .overview-country { font-size: .66rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .overview-cell strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: .67rem; line-height: 1.25; }
  .day-dialog { border-radius: 18px; }
  #day-dialog-content { padding: 16px; }
  .day-dialog-head h3 { font-size: 1.05rem; }
  .day-dialog-topline { align-items: flex-start; }
  .day-map-link.compact { max-width: 172px; }
  .currency-card { padding: 16px; }
  .currency-row { grid-template-columns: 1fr 38px 1fr; gap: 7px; }
  .currency-swap { width: 38px; height: 38px; }
  .ticket-section { margin: 10px 0 16px; }
  .ticket-section-title { display: none; }
  .ticket-grid { gap: 7px; }
  .ticket-overview-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 5px; }
  .ticket-overview-grid.filtered { grid-template-columns: minmax(0,1fr); }
  .ticket-overview-grid .ticket-card { min-height: 104px; padding: 7px 6px; border-radius: 9px; }
  .ticket-overview-grid .ticket-date { font-size: .61rem; letter-spacing: 0; white-space: nowrap; }
  .ticket-overview-grid .ticket-card h4 { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: .68rem; line-height: 1.3; }
  .ticket-overview-grid .ticket-card p { font-size: .62rem; }
  .ticket-overview-grid .ticket-note { padding: 3px 5px; font-size: .58rem; }
  .ticket-overview-grid .credential-links { gap: 3px; }
  .ticket-overview-grid .credential-link { margin-top: 4px; padding: 3px 5px; font-size: .58rem; }
  .ticket-card { padding: 10px 11px; border-radius: 10px; }
  .ticket-card h4 { margin: 3px 0; font-size: .86rem; }
  .ticket-card p { margin: 0; font-size: .74rem; }
  .ticket-note { margin-top: 5px; }
  footer { display: none; }
  .day-topline { display: block; }
  .country-badge { display: inline-block; margin-top: 14px; }
  .info-grid { grid-template-columns: 1fr; }
  .timeline::before { left: 55px; }
  .timeline-item { grid-template-columns: 39px 1fr; gap: 30px; }
  .timeline-item::before { left: 50px; }
}

@media print {
  .hero { min-height: 260px; }
  .app-shell { display: block; width: 100%; margin: 0; box-shadow: none; }
  .sidebar, .bottom-nav, .day-pager, footer { display: none !important; }
  .content { padding: 20px; }
}
