:root {
  --bg: #f7f3ea;
  --surface: #fffdf8;
  --surface-2: #efe7d8;
  --ink: #1e2c27;
  --muted: #637069;
  --green: #194332;
  --green-2: #285e47;
  --burgundy: #7c2432;
  --gold: #c99235;
  --rust: #bd642c;
  --line: rgba(25, 67, 50, .16);
  --shadow: 0 16px 42px rgba(31, 45, 39, .12);
  --radius: 22px;
  --nav-h: 74px;
}

[data-theme="dark"] {
  --bg: #101713;
  --surface: #17211c;
  --surface-2: #202c25;
  --ink: #f4f0e7;
  --muted: #b7c1ba;
  --green: #8ec4a5;
  --green-2: #a9d6bc;
  --burgundy: #ec8f9b;
  --gold: #e6bd6c;
  --rust: #e28c58;
  --line: rgba(255, 255, 255, .12);
  --shadow: 0 16px 42px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom));
}
button, input, textarea { font: inherit; }
a { color: var(--green-2); }
img { max-width: 100%; display: block; }

.skip-link { position: absolute; left: -9999px; z-index: 999; background: white; color: black; padding: 12px; }
.skip-link:focus { left: 12px; top: 12px; }
.shell { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }

.hero { min-height: 620px; display: flex; align-items: flex-end; position: relative; overflow: hidden; color: white; }
.hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,26,18,.15), rgba(8,26,18,.78) 75%, rgba(8,26,18,.94)); }
.hero__content { position: relative; z-index: 2; padding: 92px 0 58px; }
.hero h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(44px, 9vw, 84px); line-height: .98; margin: 10px 0 20px; letter-spacing: -.035em; }
.hero__route { max-width: 800px; font-size: clamp(16px, 2.5vw, 21px); color: rgba(255,255,255,.9); }
.hero__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.eyebrow { font-weight: 800; letter-spacing: .13em; text-transform: uppercase; font-size: 12px; color: #f2ce88; }
.eyebrow--dark { color: var(--rust); }
.trip-status { margin-top: 24px; display: inline-flex; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.24); backdrop-filter: blur(9px); padding: 10px 14px; border-radius: 999px; font-weight: 700; }

.section { padding: 64px 0; }
.section--tight { padding-top: 38px; }
.section--tint { background: var(--surface-2); }
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(32px, 5vw, 50px); line-height: 1.05; margin: 4px 0 10px; }
h3 { margin: 0; }
.section-heading p { color: var(--muted); margin: 0; max-width: 760px; }
.subheading { font-family: Georgia, serif; font-size: 27px; margin: 40px 0 16px; }

.button, .icon-button {
  border: 0;
  cursor: pointer;
  font-weight: 800;
  border-radius: 999px;
  padding: 11px 17px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform .16s ease, opacity .16s ease, background .16s ease;
}
.button:active, .icon-button:active { transform: scale(.97); }
.button--primary { background: var(--gold); color: #18251f; }
.button--secondary { background: var(--surface); color: var(--green-2); border: 1px solid var(--line); }
.button--glass { background: rgba(255,255,255,.15); color: white; border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(8px); }
.button--danger { background: transparent; color: #a22631; border: 1px solid rgba(162,38,49,.35); }
.icon-button { width: 44px; height: 44px; padding: 0; background: var(--surface); color: var(--ink); border: 1px solid var(--line); }

.today-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: grid; gap: 18px; }
.today-card__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.today-card__date { font-weight: 900; color: var(--burgundy); }
.today-card__title { font-family: Georgia, serif; font-size: clamp(28px, 5vw, 42px); line-height: 1.1; }
.today-card__chips, .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; padding: 7px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink); font-weight: 750; font-size: 13px; }
.quick-links { display: flex; flex-wrap: wrap; gap: 10px; }

.day-list { display: grid; gap: 16px; }
.day-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: clip; box-shadow: 0 8px 24px rgba(31,45,39,.06); }
.day-card[open] { box-shadow: var(--shadow); }
.day-card summary { list-style: none; cursor: pointer; padding: 20px; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; }
.day-card summary::-webkit-details-marker { display: none; }
.day-number { width: 52px; height: 52px; border-radius: 17px; background: var(--green); color: var(--bg); display: grid; place-items: center; font-weight: 900; }
.day-card__date { font-size: 13px; color: var(--burgundy); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.day-card__title { font-size: 20px; font-weight: 900; margin-top: 2px; }
.day-card__overnight { color: var(--muted); font-size: 13px; margin-top: 3px; }
.chevron { font-size: 22px; transition: transform .2s ease; }
.day-card[open] .chevron { transform: rotate(180deg); }
.day-card__body { padding: 0 20px 22px; border-top: 1px solid var(--line); }
.day-intro { color: var(--muted); margin: 18px 0; }
.timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 10px; top: 12px; bottom: 12px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 18px 34px; display: grid; grid-template-columns: minmax(85px, 110px) 1fr auto; gap: 10px; align-items: start; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--gold); }
.timeline__time { font-weight: 900; color: var(--green-2); }
.timeline__text { min-width: 0; }
.item-check { width: 24px; height: 24px; accent-color: var(--green-2); }
.day-note { width: 100%; min-height: 86px; resize: vertical; border: 1px solid var(--line); border-radius: 14px; padding: 12px; background: var(--bg); color: var(--ink); }
.day-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.walk-callout, .event-callout { border-left: 4px solid var(--gold); background: var(--surface-2); padding: 13px 15px; border-radius: 0 14px 14px 0; margin: 14px 0; }
.event-callout { border-color: var(--burgundy); }
.choice-block { margin: 16px 0; display: grid; gap: 10px; }
.choice-card { display: flex; gap: 11px; align-items: flex-start; background: var(--surface-2); padding: 13px; border-radius: 14px; border: 1px solid transparent; cursor: pointer; }
.choice-card:has(input:checked) { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(201,146,53,.15); }
.choice-card input { margin-top: 4px; accent-color: var(--green-2); }

.reservation-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 16px; }
.reservation-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: 0 8px 20px rgba(31,45,39,.06); }
.reservation-card--open { border-style: dashed; }
.reservation-card__date { font-weight: 900; color: var(--burgundy); font-size: 13px; text-transform: uppercase; letter-spacing: .07em; }
.reservation-card h3 { font-family: Georgia, serif; font-size: 24px; margin: 5px 0; }
.reservation-card p { margin: 0 0 12px; color: var(--muted); }
.form-row { display: grid; gap: 7px; margin-top: 12px; }
.form-row label { font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.form-row input, .form-row textarea { border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 12px; padding: 10px 11px; width: 100%; }
.form-row textarea { resize: vertical; min-height: 64px; }
.reservation-card__links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.task-list { display: grid; gap: 10px; }
.task-item { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; }
.task-item input { margin-top: 4px; width: 21px; height: 21px; accent-color: var(--green-2); }
.task-item small { display: block; color: var(--muted); }

.map-figure, .weather-figure { margin: 0 0 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-figure img, .weather-figure img { width: 100%; }
.map-figure figcaption { padding: 10px 14px; color: var(--muted); font-size: 13px; }
.map-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 13px; }
.map-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 15px; text-decoration: none; color: var(--ink); display: block; }
.map-card:hover { border-color: var(--gold); }
.map-card strong { display: block; }
.map-card small { color: var(--muted); }

.progress-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin-bottom: 18px; }
.progress-card__row { display: flex; justify-content: space-between; margin-bottom: 9px; }
.progress { height: 10px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.progress__bar { height: 100%; width: 0; background: linear-gradient(90deg,var(--green-2),var(--gold)); transition: width .25s ease; }
.packing-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 16px; }
.packing-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 17px; }
.packing-card h3 { font-family: Georgia, serif; font-size: 24px; margin-bottom: 10px; }
.pack-item { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.pack-item:last-child { border-bottom: 0; }
.pack-item input { margin-top: 3px; width: 20px; height: 20px; accent-color: var(--green-2); }
.pack-item label { flex: 1; }
.pack-item input:checked + label { color: var(--muted); text-decoration: line-through; }

.resource-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 12px; margin-top: 20px; }
.resource-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 15px; text-decoration: none; color: var(--ink); display: grid; grid-template-columns: 34px 1fr; column-gap: 9px; }
.resource-card span { font-size: 25px; grid-row: 1 / 3; }
.resource-card small { color: var(--muted); }
.tool-row { display: flex; flex-wrap: wrap; gap: 10px; }
.privacy-note { color: var(--muted); font-size: 13px; margin-top: 16px; }

.footer { background: #0f271d; color: rgba(255,255,255,.9); padding: 34px 0 calc(34px + env(safe-area-inset-bottom)); }
.footer__inner { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.footer a { color: #f2ce88; }
.bottom-nav { position: fixed; z-index: 50; bottom: 0; left: 0; right: 0; height: calc(var(--nav-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: color-mix(in srgb, var(--surface) 91%, transparent); backdrop-filter: blur(18px); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(6,1fr); }
.bottom-nav button { border: 0; background: transparent; color: var(--muted); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; font-weight: 800; cursor: pointer; }
.bottom-nav button span { font-size: 21px; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: calc(var(--nav-h) + 18px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); background: #0f271d; color: white; padding: 11px 16px; border-radius: 999px; opacity: 0; pointer-events: none; transition: .22s ease; box-shadow: var(--shadow); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%,0); }

@media (max-width: 680px) {
  .shell { width: min(100% - 22px, 1120px); }
  .hero { min-height: 680px; }
  .hero__content { padding-bottom: 40px; }
  .hero__actions .button { flex: 1; min-width: 110px; }
  .section { padding: 44px 0; }
  .section-heading { align-items: flex-start; }
  .section-heading .button { font-size: 13px; padding: 9px 12px; }
  .day-card summary { grid-template-columns: auto 1fr auto; padding: 15px; gap: 11px; }
  .day-number { width: 44px; height: 44px; border-radius: 14px; }
  .day-card__body { padding-inline: 15px; }
  .timeline li { grid-template-columns: 1fr auto; padding-left: 31px; }
  .timeline__time { grid-column: 1 / 2; font-size: 13px; }
  .timeline__text { grid-column: 1 / 2; }
  .timeline .item-check { grid-column: 2; grid-row: 1 / 3; }
  .footer__inner { display: grid; }
}

@media print {
  body { padding: 0; background: white; color: black; }
  .bottom-nav, .hero__actions, .icon-button, .button, #tools, .toast { display: none !important; }
  .hero { min-height: 330px; break-after: page; }
  .section { padding: 24px 0; }
  .day-card { break-inside: avoid; }
  .day-card > .day-card__body { display: block !important; }
  details:not([open]) > *:not(summary) { display: block; }
  .reservation-card, .packing-card, .map-card { break-inside: avoid; }
}


.subsection-heading { margin: 34px 0 16px; display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.subsection-heading h3 { font-family: Georgia, serif; font-size: clamp(28px,4vw,40px); margin: 3px 0 6px; }
.subsection-heading p { color: var(--muted); max-width: 760px; margin: 0; }
.walk-map-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 14px; }
.walk-map-card { background: var(--surface); border: 1px solid var(--line); border-radius: 17px; overflow: hidden; box-shadow: 0 8px 22px rgba(31,45,39,.06); }
.walk-map-card[open] { grid-column: 1 / -1; box-shadow: var(--shadow); }
.walk-map-card summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 15px; }
.walk-map-card summary::-webkit-details-marker { display: none; }
.walk-map-card summary small { display: block; color: var(--muted); margin-top: 3px; line-height: 1.35; }
.walk-map-number { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--green); color: white; font-weight: 900; }
.walk-map-card__body { border-top: 1px solid var(--line); padding: 15px; }
.walk-map-card__body img { width: 100%; border-radius: 12px; border: 1px solid var(--line); background: white; }
.walk-map-card[open] .chevron { transform: rotate(180deg); }
.map-disclaimer { color: var(--muted); font-size: 13px; margin: 10px 0 13px; }
.weather-gallery { display: grid; grid-template-columns: repeat(auto-fit,minmax(320px,1fr)); gap: 16px; }
.weather-figure { margin: 0; }
.weather-figure figcaption { padding: 10px 14px; color: var(--muted); font-size: 13px; }

@media (max-width: 680px) {
  .subsection-heading { align-items: flex-start; display: grid; }
  .walk-map-grid { grid-template-columns: 1fr; }
  .walk-map-card[open] { grid-column: auto; }
  .weather-gallery { grid-template-columns: 1fr; }
}

/* Photo journal */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.button--small { padding: 7px 11px; font-size: 12px; }
.photo-server-status { margin: 0 0 16px; padding: 12px 15px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.photo-server-status[data-type="ready"] { border-color: rgba(25,112,79,.35); color: var(--green-2); }
.photo-server-status[data-type="locked"] { border-color: rgba(201,146,53,.45); }
.photo-server-status[data-type="error"] { border-color: rgba(162,38,49,.45); color: #a22631; }
.photo-auth-card, .photo-upload-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; margin-bottom: 22px; }
.photo-auth-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.photo-auth-card[hidden], .photo-upload-card[hidden] { display: none !important; }
.photo-auth-card p { margin: 4px 0 0; color: var(--muted); }
.photo-auth-form { display: flex; gap: 9px; min-width: min(100%,430px); }
.photo-auth-form input { flex: 1; min-width: 150px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 999px; padding: 11px 14px; }
.photo-picker { display: grid; grid-template-columns: 170px 1fr; gap: 20px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.photo-picker[hidden] { display: none !important; }
.photo-preview { width: 170px; aspect-ratio: 4 / 3; border-radius: 16px; background: var(--surface-2); border: 1px dashed var(--line); display: grid; place-items: center; overflow: hidden; }
.photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.photo-preview__placeholder { font-size: 46px; opacity: .6; }
.photo-picker__actions h3 { font-family: Georgia, serif; font-size: 28px; margin-bottom: 6px; }
.photo-picker__actions p { color: var(--muted); margin: 0 0 14px; }
.photo-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 16px; margin-top: 18px; }
.photo-form-grid__wide { grid-column: 1 / -1; }
.form-row select { border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 12px; padding: 10px 11px; width: 100%; min-height: 44px; }
.photo-location-row { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 16px 0; padding: 13px; border-radius: 14px; background: var(--surface-2); }
.photo-location-row span { color: var(--muted); font-size: 13px; flex: 1 1 280px; }
.photo-upload-progress { margin: 16px 0; padding: 14px; border-radius: 14px; background: var(--surface-2); }
.photo-upload-progress[hidden] { display: none !important; }
.photo-upload-progress__row { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.photo-form-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.photo-gallery-toolbar { display: grid; grid-template-columns: minmax(220px,1fr) minmax(240px,1.4fr) auto; gap: 14px; align-items: end; margin: 26px 0 20px; }
.photo-gallery-count { font-weight: 900; color: var(--burgundy); padding-bottom: 11px; white-space: nowrap; }
.photo-gallery { display: grid; gap: 28px; }
.photo-group { display: grid; gap: 13px; }
.photo-group__heading { display: flex; justify-content: space-between; gap: 16px; align-items: end; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.photo-group__heading h3 { font-family: Georgia, serif; font-size: clamp(22px,3.5vw,32px); margin-top: 3px; }
.photo-group__heading > span { color: var(--muted); font-weight: 800; white-space: nowrap; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 15px; }
.photo-card { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 8px 22px rgba(31,45,39,.07); }
.photo-card__image { display: block; width: 100%; border: 0; padding: 0; background: var(--surface-2); cursor: zoom-in; aspect-ratio: 4/3; overflow: hidden; }
.photo-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.photo-card__image:hover img { transform: scale(1.02); }
.photo-card__body { padding: 15px; }
.photo-card__assignment { color: var(--green-2); font-size: 13px; font-weight: 900; line-height: 1.4; }
.photo-card__caption { font-family: Georgia, serif; font-size: 20px; line-height: 1.35; margin: 8px 0 11px; }
.photo-card__meta { display: flex; flex-wrap: wrap; gap: 6px 12px; color: var(--muted); font-size: 12px; }
.photo-card__actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.photo-empty { text-align: center; padding: 42px 18px; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--surface); }
.photo-empty[hidden] { display: none !important; }
.photo-empty > span { font-size: 50px; }
.photo-empty h3 { font-family: Georgia, serif; font-size: 28px; margin: 8px 0; }
.photo-empty p { color: var(--muted); margin: 0; }
.timeline__tools { display: flex; align-items: center; gap: 7px; }
.timeline-photo-button { min-width: 42px; height: 30px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); color: var(--green-2); font-size: 12px; font-weight: 900; cursor: pointer; padding: 0 8px; }
.timeline-photo-button--has { background: rgba(201,146,53,.16); border-color: var(--gold); }
.photo-lightbox { position: fixed; z-index: 120; inset: 0; background: rgba(5,13,10,.93); padding: max(16px,env(safe-area-inset-top)) 16px max(16px,env(safe-area-inset-bottom)); display: grid; place-items: center; }
.photo-lightbox[hidden] { display: none !important; }
.photo-lightbox__content { max-width: min(1100px,96vw); max-height: 92vh; display: grid; gap: 12px; justify-items: center; }
.photo-lightbox__content img { max-width: 100%; max-height: 78vh; border-radius: 12px; object-fit: contain; background: #111; }
.photo-lightbox__caption { color: white; text-align: center; max-width: 850px; line-height: 1.5; }
.photo-lightbox__caption span { color: rgba(255,255,255,.78); }
.photo-lightbox__close { position: fixed; right: max(18px,env(safe-area-inset-right)); top: max(14px,env(safe-area-inset-top)); width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.35); color: white; font-size: 30px; cursor: pointer; }
body.modal-open { overflow: hidden; }

@media (max-width: 680px) {
  .photo-auth-card { display: grid; }
  .photo-auth-form { min-width: 0; width: 100%; display: grid; grid-template-columns: 1fr auto; }
  .photo-picker { grid-template-columns: 105px 1fr; gap: 14px; }
  .photo-preview { width: 105px; border-radius: 13px; }
  .photo-picker__actions h3 { font-size: 23px; }
  .photo-form-grid { grid-template-columns: 1fr; }
  .photo-form-grid__wide { grid-column: auto; }
  .photo-gallery-toolbar { grid-template-columns: 1fr; align-items: stretch; }
  .photo-gallery-count { padding: 0; }
  .photo-grid { grid-template-columns: 1fr; }
  .photo-group__heading { align-items: flex-start; }
  .timeline__tools { flex-direction: column-reverse; gap: 5px; grid-column: 2; grid-row: 1 / 3; }
  .timeline-photo-button { height: 28px; min-width: 38px; padding: 0 6px; }
  .bottom-nav button { font-size: 9.5px; }
}

@media print {
  #photos .photo-auth-card, #photos .photo-upload-card, #photos .photo-gallery-toolbar, .photo-card__actions, .timeline-photo-button, .photo-lightbox { display: none !important; }
  .photo-card { break-inside: avoid; }
}
