:root {
  --paper: #f4edd3;
  --surface: #fffaf0;
  --ink: #13262f;
  --muted: #66757a;
  --line: #ddd2aa;
  --lake: #456b59;
  --lake-soft: #e6ead5;
  --forest: #516b55;
  --terracotta: #b65c3a;
  --warning: #b84635;
  --poster-green: #0f4335;
  --poster-orange: #df6f31;
  --poster-cream: #f1e6c7;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow: 0 16px 48px rgba(25, 47, 55, 0.08);
  --content: 720px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
[data-module][hidden] { display: none !important; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  padding-bottom: calc(104px + var(--safe-bottom));
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

html.is-locked, html.is-locked body { overflow: hidden; }
.site-lock { position: fixed; inset: 0; z-index: 1000; padding: 24px; display: grid; place-items: center; background: radial-gradient(circle at 50% 18%, rgba(255,253,243,.95), rgba(244,237,211,.98) 52%, #e7dcae); }
.site-lock[hidden] { display: none; }
.site-lock__card { width: min(100%, 420px); padding: 28px; border: 1px solid rgba(74,89,58,.18); border-radius: 24px; background: rgba(255,250,240,.95); box-shadow: 0 24px 80px rgba(19,38,47,.18); }
.site-lock__card > p { margin: 0 0 14px; color: var(--lake); font-size: 10px; font-weight: 820; letter-spacing: .18em; }
.site-lock__card h1 { margin: 0; font-size: 30px; letter-spacing: -.04em; }
.site-lock__card > span { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; }
.site-lock__card label { display: block; margin-top: 24px; color: var(--muted); font-size: 11px; font-weight: 760; }
.site-lock__card input { width: 100%; min-height: 50px; margin-top: 7px; padding: 0 14px; border: 1px solid var(--line); border-radius: 13px; background: white; font: 700 18px/1 ui-monospace, SFMono-Regular, Menlo, monospace; outline: none; }
.site-lock__card input:focus { border-color: var(--lake); box-shadow: 0 0 0 4px rgba(33,107,151,.12); }
.site-lock__card button { width: 100%; min-height: 48px; margin-top: 12px; border: 0; border-radius: 13px; color: white; background: var(--ink); cursor: pointer; font-size: 13px; font-weight: 780; }
.site-lock__card.is-checking button { opacity: .58; pointer-events: none; }
.site-lock__card small { display: block; min-height: 18px; margin-top: 10px; color: var(--warning); font-size: 11px; }

button, a { touch-action: manipulation; }
button { font: inherit; color: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--ink);
  color: white;
  border-radius: 10px;
}
.skip-link:focus { top: calc(12px + var(--safe-top)); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: calc(48px + var(--safe-top));
  padding: var(--safe-top) 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(19, 38, 47, 0.08);
  background: rgba(244, 237, 211, 0.93);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.wordmark { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; font-weight: 800; letter-spacing: 0.06em; font-size: 12px; }
.wordmark span { color: var(--muted); font-weight: 600; }
.topbar__edition { color: var(--muted); font: 760 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }

main { overflow: hidden; }
.hero, .section, .footer { width: min(100%, var(--content)); margin-inline: auto; }
.hero {
  position: relative;
  width: min(calc(100% - 24px), var(--content));
  min-height: clamp(570px, 79svh, 720px);
  margin-top: 12px;
  padding: clamp(24px, 5vw, 42px);
  display: flex;
  overflow: hidden;
  border: 1px solid rgba(15,67,53,.18);
  border-radius: 30px;
  background: var(--poster-cream);
  box-shadow: 0 22px 60px rgba(31,58,57,.16);
  scroll-margin-top: calc(48px + var(--safe-top));
}
.hero__art { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, rgba(242,230,197,.96) 0%, rgba(242,230,197,.74) 25%, rgba(242,230,197,.06) 48%, rgba(8,39,31,.22) 78%, rgba(8,39,31,.52) 100%); pointer-events: none; }
.hero__content { position: relative; z-index: 2; width: 100%; display: flex; flex-direction: column; }
.hero__eyebrow, .section-kicker {
  margin: 0 0 10px;
  color: var(--lake);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.hero .hero__eyebrow { margin-bottom: 12px; color: var(--poster-orange); font: 850 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .18em; }
.hero h1 { margin: 0; max-width: 650px; color: var(--poster-green); font-family: Georgia, "Times New Roman", "Songti SC", serif; font-size: clamp(45px, 12vw, 86px); line-height: 1; letter-spacing: -.065em; font-weight: 760; text-wrap: balance; }
.hero__route { margin: 18px 0 0; color: var(--poster-green); font: 820 clamp(13px,3vw,18px)/1.25 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.hero__date { margin: 9px 0 0; color: #24483d; font: 720 13px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.05em; }
.hero-countdown { margin-top: auto; padding: 17px 18px; display: grid; grid-template-columns: 1fr auto; gap: 5px 14px; align-items: end; border: 1px solid rgba(245,226,178,.28); border-radius: 16px; color: #f7edcf; background: rgba(9,56,43,.94); box-shadow: 7px 8px 0 rgba(223,111,49,.78); backdrop-filter: blur(8px); }
.hero-countdown span { color: #f1bd58; font-size: 10px; font-weight: 820; letter-spacing: .1em; }
.hero-countdown strong { grid-column: 1 / -1; color: #fff6df; font: 820 clamp(25px,7vw,40px)/1.05 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.hero-countdown small { grid-column: 1 / -1; color: rgba(255,246,223,.68); font-size: 10px; }

.section { padding: 44px 18px; scroll-margin-top: 48px; }
.flights-section { padding-top: 24px; padding-bottom: 34px; }
.section-heading { margin-bottom: 16px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.section-heading h2 { margin: 0; font-size: 30px; line-height: 1; letter-spacing: -0.04em; }
.section-index, .soft-label { margin: 0; color: var(--muted); font: 700 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.08em; }

.flight-carousel {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  padding: 2px 0 14px;
}
.flight-carousel::-webkit-scrollbar { display: none; }
.flight-card {
  flex: 0 0 calc(100% - 20px);
  scroll-snap-align: center;
  min-height: 330px;
  padding: 20px;
  border-radius: var(--radius-lg);
  color: #eff8f8;
  background: var(--ink);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.flight-card__top { color: #a9c3c8; font: 700 11px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.08em; }
.flight-card__airlines { margin-top: 7px; color: #7599a0; font-size: 10px; }
.flight-flow { margin-top: 17px; display: grid; grid-template-columns: var(--route-columns); align-items: start; }
.flight-stop { min-width: 0; text-align: center; }
.flight-stop:first-child { text-align: left; }
.flight-stop:last-child { text-align: right; }
.flight-stop__code { display: block; color: #fff; font: 760 clamp(25px, 8vw, 36px)/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -.05em; }
.flight-stop__city { display: block; min-height: 30px; margin-top: 5px; color: #b8cccf; font-size: 11px; line-height: 1.25; }
.flight-stop__dot { position: relative; z-index: 1; display: inline-block; width: 9px; height: 9px; margin: 8px 0 10px; border: 2px solid #8fc6d0; border-radius: 50%; background: var(--ink); }
.flight-stop__timing { display: flex; flex-direction: column; gap: 3px; color: #9db7bc; font-size: 9px; line-height: 1.3; }
.flight-stop__timing b { color: #eff8f8; font-size: 10px; font-weight: 720; }
.flight-stop__timing em { color: #e0a983; font-style: normal; font-size: 9px; }
.flight-segment { min-width: 0; padding-top: 53px; color: #91b9c0; text-align: center; }
.flight-segment span { display: block; overflow: hidden; font: 700 9px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; text-overflow: ellipsis; white-space: nowrap; }
.flight-segment i { display: block; height: 1px; margin-top: 9px; background: rgba(143,198,208,.5); color: #8fc6d0; font-style: normal; font-size: 13px; line-height: 1px; text-align: right; }
.flight-card__countdown-row { margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); }
.flight-countdown { text-align: left; }
.flight-countdown span { display: block; color: #a9c3c8; font-size: 11px; }
.flight-countdown strong { display: block; margin-top: 5px; color: #fff; font: 760 clamp(22px, 7vw, 30px)/1.1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.flight-placeholder { margin: 34px 0 22px; }
.flight-placeholder__eyebrow { color: #e0a983; font: 760 10px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.flight-placeholder h3 { margin: 9px 0 0; color: #fff; font-size: clamp(24px, 7vw, 34px); line-height: 1.08; letter-spacing: -.035em; }
.flight-placeholder p { max-width: 520px; margin: 12px 0 0; color: #b8cccf; font-size: 12px; line-height: 1.7; }
.flight-placeholder ul { margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; list-style: none; }
.flight-placeholder li { padding: 6px 9px; border: 1px solid rgba(143,198,208,.3); border-radius: 999px; color: #d7e7e8; background: rgba(255,255,255,.04); font-size: 10px; }
.carousel-dots { display: flex; justify-content: center; gap: 7px; }
.carousel-dot { width: 6px; height: 6px; border: 0; padding: 0; border-radius: 50%; background: #aebbb8; transition: width .2s ease; }
.carousel-dot.is-active { width: 22px; border-radius: 99px; background: var(--lake); }
.flight-create-panel { margin-top: 14px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,250,240,.82); }
.flight-create-panel > summary,.flight-card__manage > summary { min-height: 44px; padding: 0 14px; display: flex; align-items: center; cursor: pointer; font-size: 11px; font-weight: 780; }
.flight-editor { padding: 12px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.flight-editor label { min-width: 0; display: grid; gap: 4px; font-size: 9px; font-weight: 760; }
.flight-editor input,.flight-editor select,.flight-editor textarea { width: 100%; min-width: 0; min-height: 42px; padding: 8px 9px; border: 1px solid #c7d1ca; border-radius: 9px; color: var(--ink); background: #fffdf8; font: inherit; font-size: 11px; }
.flight-editor fieldset { grid-column: 1 / -1; padding: 9px; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 7px; border: 1px solid #d8ddd6; border-radius: 11px; }
.flight-editor legend { padding: 0 5px; font-size: 9px; font-weight: 780; }
.flight-editor__wide,.flight-editor__status { grid-column: 1 / -1; }
.flight-editor > button,.flight-editor__actions button { min-height: 42px; padding: 0 13px; border: 0; border-radius: 999px; color: white; background: var(--ink); cursor: pointer; font: inherit; font-size: 10px; font-weight: 780; }
.flight-card__manage { margin-top: 13px; border-top: 1px solid rgba(255,255,255,.16); }
.flight-card__manage > summary { padding-inline: 0; color: #b8cccf; }
.flight-editor--card { margin-top: 8px; padding: 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: rgba(255,255,255,.05); }
.flight-editor--card input,.flight-editor--card textarea { color: #eff8f8; border-color: rgba(255,255,255,.2); background: rgba(0,0,0,.12); }
.flight-editor__actions { grid-column: 1 / -1; display: flex; gap: 8px; }
.flight-editor__actions .is-danger { color: #ffe8de; background: #8a412b; }

.route-map-button { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); cursor: zoom-in; }
.route-map-button img { width: 100%; height: auto; }
.route-map-button span { position: absolute; right: 12px; bottom: 12px; padding: 9px 12px; border-radius: 999px; color: white; background: rgba(19,38,47,.86); font-size: 11px; font-weight: 700; backdrop-filter: blur(8px); }
.route-caption { margin: 12px 4px 0; color: var(--muted); font-size: 12px; line-height: 1.6; }

.timeline { display: grid; gap: 12px; }
.timeline::before { display: none; }
.itinerary-date-navigation { width: 100%; max-width: 100%; margin: 0 0 14px; padding: 3px 1px 8px; display: flex; gap: 8px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-inline: contain; scrollbar-width: thin; scroll-snap-type: inline proximity; -webkit-overflow-scrolling: touch; }
.itinerary-date-navigation button { flex: 0 0 auto; min-width: 58px; min-height: 44px; padding: 0 11px; scroll-snap-align: start; border: 1px solid rgba(19,38,47,.14); border-radius: 999px; color: var(--lake); background: rgba(255,250,240,.88); font: 780 11px/1 ui-monospace,monospace; letter-spacing: .02em; cursor: pointer; }
.itinerary-date-navigation button.is-active { color: var(--poster-cream); border-color: var(--poster-green); background: var(--poster-green); box-shadow: 0 7px 18px rgba(15,67,53,.2); }
.day-card { position: relative; min-width: 0; overflow: hidden; scroll-margin-top: 76px; border: 1px solid rgba(19,38,47,.1); border-radius: 18px; background: #fff; box-shadow: 0 10px 28px rgba(46,57,48,.055); }
.day-card + .day-card { margin-top: 0; }
.day-card.is-today { border-color: rgba(182,92,58,.42); box-shadow: 0 0 0 3px rgba(182,92,58,.08), 0 12px 30px rgba(46,57,48,.07); }
.day-toggle { width: 100%; min-height: 112px; padding: 16px 15px 15px; border: 0; background: #fff; text-align: left; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 12px; cursor: pointer; }
.day-toggle:hover { background: #fffdf7; }
.day-summary { min-width: 0; display: block; }
.day-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--lake); font: 750 10px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; }
.day-meta b { padding: 5px 8px; border-radius: 999px; color: #fffaf0; background: var(--poster-green); font: inherit; }
.day-meta i { color: var(--muted); font-style: normal; letter-spacing: .02em; }
.day-title { margin-top: 10px; display: -webkit-box; overflow: hidden; color: var(--ink); font-size: 16px; font-weight: 780; line-height: 1.35; letter-spacing: -.02em; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.day-locations { margin-top: 6px; display: block; overflow: hidden; color: var(--muted); font-size: 11px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.day-card-footer { min-height: 24px; margin-top: 10px; display: flex; align-items: center; gap: 7px; }
.day-route-count { color: #71807d; font-size: 10px; font-weight: 720; }
.day-ticket-summary { display: inline-flex; min-height: 23px; padding: 4px 8px; align-items: center; border-radius: 999px; font-size: 9px; font-weight: 760; }
.day-ticket-summary.has-pending { color: #8f492e; background: #f6e2d8; }
.day-ticket-summary.is-complete { color: #43654a; background: #dfeade; }
.day-chevron { width: 30px; height: 30px; align-self: center; display: grid; place-items: center; color: var(--lake); font-size: 22px; line-height: 1; transition: transform .2s ease; }
.day-toggle[aria-expanded="true"] .day-chevron { transform: rotate(180deg); }
.day-detail { padding: 17px 15px 21px; border-top: 1px solid var(--line); background: #fffdf8; }
.day-detail[hidden] { display: none; }
.schedule { margin: 0; padding: 0; list-style: none; }
.schedule-item { position: relative; padding: 0 0 21px 124px; min-height: 50px; }
.schedule-item::before { content: ""; position: absolute; left: 112px; top: 6px; bottom: 0; width: 1px; background: #dce4e2; }
.schedule-item:last-child::before { display: none; }
.schedule-time { position: absolute; left: 0; top: 0; width: 104px; color: var(--muted); font: 700 11px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; font-variant-numeric: tabular-nums; }
.schedule-item::after { content: ""; position: absolute; left: 108px; top: 5px; width: 9px; height: 9px; border: 2px solid var(--lake); border-radius: 50%; background: var(--paper); }
.schedule-text { font-size: 13px; line-height: 1.65; }
.day-text-editor { margin-bottom: 14px; padding: 12px; display: grid; gap: 7px; border: 1px solid #ded8bf; border-radius: 12px; background: #fffaf0; }
.day-text-editor label { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 10px; color: var(--muted); font-size: 10px; font-weight: 720; }
.day-text-editor input { width: 100%; min-height: 38px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; outline: 0; color: var(--ink); background: #fff; font: inherit; font-size: 13px; font-weight: 700; }
.day-text-editor input:focus, .schedule-time-input:focus, .schedule-text-input:focus, .schedule-add-form input:focus { border-color: var(--lake); box-shadow: 0 0 0 3px rgba(45,107,116,.1); }
.day-text-editor small { color: #77817c; font-size: 9px; line-height: 1.55; }
.schedule-item--editable { padding-right: 50px; }
.schedule-time-input { height: 32px; padding: 5px 6px; border: 1px solid transparent; border-radius: 7px; outline: 0; background: transparent; }
.schedule-time-input:hover, .schedule-text-input:hover { border-color: #d8d8ca; background: #fff; }
.schedule-text-input { display: block; width: 100%; min-height: 42px; padding: 7px 8px; overflow: hidden; resize: vertical; border: 1px solid transparent; border-radius: 8px; outline: 0; color: var(--ink); background: transparent; font: inherit; font-size: 13px; line-height: 1.65; field-sizing: content; }
.schedule-delete { position: absolute; top: 0; right: 0; min-height: 32px; padding: 0 5px; border: 0; color: #aa6653; background: transparent; cursor: pointer; font-size: 9px; }
.schedule-drag-handle { position: absolute; top: 34px; right: -4px; width: 44px; height: 44px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 12px; color: #668079; background: transparent; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.schedule-drag-handle span { display: block; transform: rotate(90deg); font-size: 20px; line-height: 1; letter-spacing: -3px; }
.schedule-drag-handle:hover, .schedule-drag-handle:focus-visible { color: var(--poster-green); background: #eaf0e8; outline: 2px solid transparent; }
.schedule-drag-handle[aria-pressed="true"] { color: var(--orange); background: #fff0e5; cursor: grabbing; }
.schedule-drop-placeholder { min-height: 54px; margin: 0 0 13px 122px; border: 2px dashed rgba(203, 101, 55, .65); border-radius: 13px; background: linear-gradient(135deg, rgba(255, 244, 230, .9), rgba(239, 244, 235, .9)); list-style: none; }
.schedule-item.is-dragging { z-index: 1200; padding-top: 10px; padding-bottom: 10px; border: 1px solid rgba(32, 76, 64, .18); border-radius: 14px; background: #fffdf8; box-shadow: 0 18px 44px rgba(31, 52, 44, .24); pointer-events: none; }
.schedule-item.is-dragging::before, .schedule-item.is-dragging::after { display: none; }
.schedule-item.is-dragging .schedule-drag-handle { pointer-events: auto; }
body.itinerary-is-dragging { cursor: grabbing; user-select: none; -webkit-user-select: none; }
.itinerary-sync-status { margin: 0 0 12px; padding: 10px 12px; border: 1px solid #b8c8c1; border-radius: 11px; color: #315e58; background: #f2f8f4; font-size: 11px; line-height: 1.5; }
.schedule-move { width: max-content; max-width: 100%; margin-top: 8px; display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 9px; }
.schedule-move select { min-height: 30px; max-width: 110px; padding: 4px 24px 4px 7px; border: 1px solid #c8d5cf; border-radius: 8px; color: var(--ink); background: #fff; font: inherit; }
.schedule-location-status { margin: 5px 8px 0; color: var(--muted); font-size: 9px; }
.schedule-location-status.is-error { color: #a24d3a; }
.schedule-location-status button { margin-left: 5px; padding: 3px 7px; border: 1px solid #e0b7a9; border-radius: 999px; color: inherit; background: #fff6f1; cursor: pointer; font-size: 9px; }
.schedule-add-panel { margin-top: 4px; overflow: hidden; border: 1px solid #b8c8c1; border-radius: 13px; background: #f7fbf8; }
.schedule-add-panel > summary { min-height: 44px; padding: 0 13px; display: flex; align-items: center; justify-content: space-between; list-style: none; color: #315e58; cursor: pointer; font-size: 11px; font-weight: 780; }
.schedule-add-panel > summary::-webkit-details-marker { display: none; }
.schedule-add-panel > summary::after { content: "⌄"; font-size: 18px; line-height: 1; transition: transform .2s ease; }
.schedule-add-panel[open] > summary::after { transform: rotate(180deg); }
.schedule-add-form { margin: 0; padding: 13px; border-top: 1px solid #d5e0da; background: white; }
.schedule-add-form__fields { display: grid; grid-template-columns: minmax(110px,.34fr) minmax(0,1fr); gap: 8px; }
.schedule-add-form label { display: grid; gap: 5px; color: var(--muted); font-size: 9px; }
.schedule-add-form input[type="text"], .schedule-add-form input:not([type]) { width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; outline: 0; color: var(--ink); background: #fff; font: inherit; font-size: 11px; }
.schedule-add-map { margin-top: 10px; display: flex !important; grid-template-columns: none; flex-direction: row; align-items: center; gap: 7px !important; color: #315e58 !important; }
.schedule-add-map input { width: 17px; height: 17px; accent-color: var(--poster-green); }
.schedule-add-form__actions { margin-top: 10px; display: flex; align-items: center; gap: 9px; }
.schedule-add-form__actions button { min-height: 38px; padding: 0 13px; border: 0; border-radius: 999px; color: #fff; background: var(--ink); cursor: pointer; font: inherit; font-size: 10px; font-weight: 740; }
.schedule-add-form__actions button:disabled { opacity: .55; cursor: wait; }
.schedule-add-status { color: var(--muted); font-size: 9px; }
.schedule-map-links { margin-top: 7px; display: flex; flex-wrap: wrap; gap: 6px; }
.schedule-map-link { min-height: 32px; padding: 6px 9px; display: inline-flex; align-items: center; border: 1px solid #c8dadc; border-radius: 999px; color: #205e6b; background: #edf6f5; text-decoration: none; font-size: 11px; font-weight: 700; }
.schedule-ticket { margin-top: 9px; border: 1px solid #e8c8b8; border-radius: 12px; background: #fff8f4; overflow: hidden; }
.schedule-ticket summary { min-height: 38px; padding: 8px 10px; display: flex; align-items: center; gap: 6px; list-style: none; color: #8f492e; cursor: pointer; font-size: 10px; font-weight: 750; }
.schedule-ticket summary::-webkit-details-marker { display: none; }
.schedule-ticket summary b { margin-left: auto; color: var(--ink); font-size: 11px; }
.schedule-ticket.is-purchased { border-color: #cbdcca; background: #f1f7f0; }
.schedule-ticket.is-purchased summary { color: #43654a; }
.ticket-status-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: currentColor; }
.schedule-ticket__body { padding: 0 10px 11px 23px; }
.schedule-ticket__body p { margin: 0; color: #614b42; font-size: 11px; line-height: 1.5; }
.schedule-ticket__body span { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.schedule-ticket__body a { min-height: 34px; margin-top: 5px; display: inline-flex; align-items: center; color: var(--lake); font-size: 10px; font-weight: 750; }
.detail-note { margin: 8px 0 0; padding: 12px 14px; border-left: 2px solid var(--terracotta); background: rgba(182,92,58,.06); color: #6d4c3e; font-size: 12px; line-height: 1.6; }
.costs { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.cost-tag { padding: 7px 9px; border-radius: 8px; background: #e8eeeb; color: #53615e; font-size: 11px; }

.tickets-section { padding-top: 40px; }
.tickets-summary { margin: -5px 0 15px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.ticket-filters { display: flex; gap: 7px; margin-bottom: 14px; overflow-x: auto; }
.ticket-filters button { min-height: 38px; padding: 0 14px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.7); color: var(--muted); cursor: pointer; font-size: 11px; font-weight: 720; }
.ticket-filters button.is-active { border-color: var(--ink); color: white; background: var(--ink); }
.ticket-list { display: grid; gap: 11px; }
.ticket-card { padding: 17px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,255,255,.78); }
.ticket-card.is-purchased { background: rgba(241,247,240,.82); }
.ticket-card__date { color: var(--lake); font: 740 10px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; }
.ticket-card__head { margin-top: 9px; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.ticket-card__head h3 { margin: 0; font-size: 16px; line-height: 1.25; }
.ticket-card__head p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.ticket-badge { min-height: 25px; padding: 5px 8px; flex: 0 0 auto; border-radius: 999px; color: #8f492e; background: #f6e2d8; font-size: 9px; font-weight: 760; }
.ticket-badge.is-advance-recommended { color: #205e6b; background: #ddecf0; }
.ticket-badge.is-purchased { color: #43654a; background: #dfeade; }
.ticket-card__guidance { margin-top: 15px; padding-top: 13px; border-top: 1px solid var(--line); }
.ticket-card__guidance span { display: block; color: var(--muted); font-size: 9px; letter-spacing: .08em; }
.ticket-card__guidance strong { display: block; margin-top: 4px; font-size: 12px; line-height: 1.5; }
.ticket-details { margin-top: 7px; }
.ticket-details > summary { min-height: 38px; display: inline-flex; align-items: center; color: var(--lake); cursor: pointer; font-size: 11px; font-weight: 750; }
.ticket-details dl { margin: 4px 0 0; }
.ticket-details dl div { padding: 8px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 70px 1fr; gap: 8px; font-size: 11px; line-height: 1.5; }
.ticket-details dt { color: var(--muted); }
.ticket-details dd { margin: 0; }
.ticket-uncertainties { margin-top: 8px; padding: 11px; border-radius: 10px; background: #f2f3ef; color: #52605d; font-size: 10px; }
.ticket-uncertainties ul { margin: 5px 0 0; padding-left: 16px; }
.ticket-actions { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ticket-actions a, .ticket-actions button { min-height: 40px; display: inline-flex; align-items: center; font-size: 10px; font-weight: 740; }
.ticket-actions a { color: var(--lake); }
.ticket-actions span { color: var(--muted); font-size: 10px; }
.ticket-actions button { padding: 0 12px; border: 0; border-radius: 10px; color: white; background: var(--lake); cursor: pointer; }
.tickets-empty { padding: 28px 0; color: var(--muted); text-align: center; font-size: 12px; }

.rental-panel { overflow: hidden; border-radius: var(--radius-lg); background: var(--ink); color: white; box-shadow: var(--shadow); }
.return-deadline { padding: 22px; background: #fff0e5; color: #713d27; border-bottom: 3px solid #bd6941; }
.return-deadline__label { display: block; font-size: 12px; font-weight: 800; }
.return-deadline > strong { display: block; margin: 12px 0 6px; font-size: clamp(23px,7vw,34px); line-height: 1.3; }
.return-deadline time { font-variant-numeric: tabular-nums; }
.return-deadline > span:not(:first-child), .return-deadline small { font-size: 11px; line-height: 1.6; }
.return-deadline p { margin: 10px 0; font-size: 12px; overflow-wrap: anywhere; }
.return-deadline__timer { padding: 12px 0; border-block: 1px solid #e7c6ad; font-size: 16px; font-weight: 750; font-variant-numeric: tabular-nums; }
.return-deadline__warning { font-weight: 750; }
.return-deadline.is-urgent { background: #ffe1da; color: #8c291f; border-color: #b84635; }
.rental-countdown { padding: 24px; background: var(--lake); }
.rental-countdown span { display: block; color: #d6ebee; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.rental-countdown strong { display: block; margin-top: 8px; font: 760 clamp(28px, 9vw, 44px)/1.05 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -.05em; }
.rental-countdown small { display: block; margin-top: 10px; color: #d6ebee; line-height: 1.5; }
.rental-details { padding: 22px; }
.rental-car { font-size: 19px; font-weight: 750; }
.rental-sub { margin-top: 5px; color: #abc0c4; font-size: 12px; }
.rental-stops { margin-top: 24px; display: grid; gap: 16px; }
.rental-stop { display: grid; grid-template-columns: 58px 1fr; gap: 12px; }
.rental-stop__label { color: #7fa8b0; font: 700 10px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
.rental-stop b { display: block; font-size: 14px; }
.rental-stop span { display: block; margin-top: 4px; color: #abc0c4; font-size: 12px; line-height: 1.5; }
.rental-price { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); display: flex; justify-content: space-between; color: #abc0c4; font-size: 12px; }
.rental-price strong { color: white; font: 720 15px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }

.accordion-stack { margin-top: 14px; display: grid; gap: 10px; }
.accordion { border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,255,255,.72); overflow: hidden; }
.accordion summary { min-height: 54px; padding: 16px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 740; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--lake); }
.accordion[open] summary::after { content: "−"; }
.accordion ul { margin: 0; padding: 0 18px 18px 38px; color: #47575b; }
.accordion li { margin: 9px 0; font-size: 12px; line-height: 1.65; }

.packing-progress { height: 4px; margin: -8px 0 24px; border-radius: 99px; background: #dbe3e0; overflow: hidden; }
.packing-progress span { display: block; width: 0; height: 100%; background: var(--lake); transition: width .2s ease; }
.packing-group + .packing-group { margin-top: 25px; }
.packing-group h3 { margin: 0 0 8px; color: var(--muted); font-size: 11px; letter-spacing: .1em; }
.packing-item { min-height: 52px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 14px; }
.packing-group .packing-item input { appearance: none; width: 22px; height: 22px; margin: 0; flex: 0 0 22px; border: 1.5px solid #93a5a2; border-radius: 7px; background: transparent; display: grid; place-items: center; }
.packing-group .packing-item input::after { content: "✓"; color: white; font-size: 14px; opacity: 0; transform: scale(.6); transition: .15s ease; }
.packing-group .packing-item input:checked { border-color: var(--lake); background: var(--lake); }
.packing-group .packing-item input:checked::after { opacity: 1; transform: scale(1); }
.packing-group .packing-item:has(input:checked) span { color: #87928f; text-decoration: line-through; }
.text-button { min-height: 44px; margin-top: 18px; padding: 0; border: 0; background: transparent; color: var(--muted); font-size: 12px; text-decoration: underline; cursor: pointer; }

.footer { padding: 46px 20px calc(50px + var(--safe-bottom)); border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; }
.footer p { margin: 0; font-weight: 750; letter-spacing: .08em; }
.footer a { min-height: 44px; margin-top: -15px; display: flex; align-items: center; text-decoration: none; }

.map-dialog { width: 100%; max-width: 760px; height: 100%; max-height: none; margin: 0; padding: calc(56px + var(--safe-top)) 0 var(--safe-bottom); border: 0; background: #0e1b21; overflow: auto; }
.map-dialog::backdrop { background: rgba(7,18,22,.88); }
.map-dialog.is-fallback-open { position: fixed; inset: 0; z-index: 50; display: block; }
.map-dialog img { width: 100%; height: auto; }
.dialog-close { position: fixed; z-index: 2; top: calc(10px + var(--safe-top)); right: 12px; min-width: 54px; min-height: 40px; border: 0; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink); font-size: 12px; font-weight: 700; }
.loading-error { position: fixed; left: 16px; right: 16px; bottom: calc(16px + var(--safe-bottom)); z-index: 30; padding: 16px; border-radius: 14px; color: white; background: var(--warning); box-shadow: var(--shadow); }
.loading-error strong, .loading-error span { display: block; }
.loading-error span { margin-top: 5px; font-size: 12px; line-height: 1.5; }

:focus-visible { outline: 3px solid rgba(40,123,144,.45); outline-offset: 3px; }

.place-map-overlay { position: fixed; inset: 0; z-index: 60; background: rgba(7,18,22,.6); display: flex; align-items: flex-end; justify-content: center; }
.place-map-overlay[hidden] { display: none; }
.place-map-sheet { width: min(100%,720px); height: 85vh; height: 85dvh; display: flex; flex-direction: column; background: var(--paper); border-radius: 20px 20px 0 0; overflow: hidden; padding-bottom: var(--safe-bottom); }
.place-map-sheet header { padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.place-map-sheet h2 { margin: 0; font-size: 17px; overflow-wrap: anywhere; }
.place-map-sheet button { flex-shrink: 0; min-height: 44px; min-width: 48px; border: 0; background: transparent; color: var(--lake); }
.place-map-sheet iframe { width: 100%; flex: 1; min-height: 0; border: 0; background: #e8eeeb; }
.place-map-sheet footer { padding: 10px 16px; }
.place-map-sheet footer p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.place-map-sheet footer a { display: flex; min-height: 44px; align-items: center; color: var(--lake); font-size: 13px; font-weight: 700; }

/* Compact ticket completion, driving notes and user-managed trip preparation */
.schedule-ticket { min-height: 58px; padding: 9px 10px; background: #fff2ed; display: grid; grid-template-columns: 21px minmax(0,1fr) auto; align-items: flex-start; gap: 9px; }
.schedule-ticket__toggle { display: contents; cursor: pointer; }
.schedule-ticket input { position: absolute; opacity: 0; pointer-events: none; }
.schedule-ticket__check { width: 21px; height: 21px; margin-top: 1px; flex: 0 0 21px; border: 1.5px solid #ba765d; border-radius: 7px; color: transparent; display: grid; place-items: center; font-size: 12px; }
.schedule-ticket__content { min-width: 0; display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 2px 7px; }
.schedule-ticket__status { color: #995137; font-size: 9px; font-weight: 780; }
.schedule-ticket__content strong { overflow: hidden; color: var(--ink); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.schedule-ticket__content small { grid-column: 1 / -1; color: #795c50; font-size: 9px; line-height: 1.45; }
.schedule-ticket__actions { align-self: center; display: grid; gap: 2px; border-left: 1px solid rgba(153,81,55,.18); }
.schedule-ticket__actions button { min-width: 54px; min-height: 28px; padding: 0 7px; border: 0; background: transparent; color: #8f492e; cursor: pointer; font-size: 9px; font-weight: 760; }
.schedule-ticket.is-purchased { border-color: #cbdcca; background: #eaf3e9; }
.schedule-ticket.is-purchased .schedule-ticket__check { border-color: var(--forest); color: white; background: var(--forest); }
.schedule-ticket.is-purchased .schedule-ticket__status { color: var(--forest); }
.schedule-ticket.is-purchased .schedule-ticket__content strong { color: #708072; text-decoration: line-through; }
.schedule-ticket.is-purchased .schedule-ticket__content small { display: none; }
.schedule-ticket.is-purchased .schedule-ticket__actions { border-left-color: rgba(81,107,85,.2); }
.schedule-ticket.is-purchased .schedule-ticket__actions button { color: var(--forest); }

.ticket-dialog { width: min(100% - 28px,720px); max-height: min(88dvh,820px); padding: 0; border: 1px solid rgba(19,38,47,.12); border-radius: 20px; background: var(--paper); box-shadow: 0 22px 70px rgba(19,38,47,.2); overflow: hidden; }
.ticket-dialog[open] { display: flex; flex-direction: column; }
.ticket-dialog::backdrop { background: rgba(7,18,22,.58); backdrop-filter: blur(3px); }
.ticket-dialog > header { min-height: 76px; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.ticket-dialog > header span { display: block; color: var(--lake); font-size: 10px; font-weight: 780; letter-spacing: .12em; }
.ticket-dialog > header h2 { margin: 5px 0 0; font-size: 21px; letter-spacing: -.035em; }
.ticket-dialog > header button { min-width: 52px; min-height: 40px; border: 0; border-radius: 999px; background: white; color: var(--lake); cursor: pointer; font-size: 12px; font-weight: 720; }
.ticket-dialog__body { min-height: 0; padding: 18px; overflow: auto; flex: 1 1 auto; }
.ticket-dialog__status { margin: 0; color: var(--terracotta); font-size: 11px; font-weight: 780; }
.ticket-dialog__guidance { margin: 8px 0 16px; color: #47575b; font-size: 13px; line-height: 1.65; }
.ticket-dialog__preview { width: 100%; min-height: min(58dvh,520px); max-height: 62dvh; border: 1px solid var(--line); border-radius: 12px; background: white; object-fit: contain; }
.ticket-dialog__preview--pdf { display: block; height: min(68dvh,680px); max-height: none; object-fit: initial; }
.ticket-dialog__empty { margin: 18px 0; padding: 24px 16px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); text-align: center; font-size: 12px; line-height: 1.6; }
.ticket-dialog__links { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.ticket-dialog__links a { min-height: 42px; padding: 0 13px; display: inline-flex; align-items: center; border: 1px solid #c8dadc; border-radius: 999px; color: #205e6b; background: #edf6f5; text-decoration: none; font-size: 12px; font-weight: 720; }
.ticket-upload { margin-top: 16px; padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.76); }
.ticket-upload strong { display: block; font-size: 12px; overflow-wrap: anywhere; }
.ticket-upload small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.ticket-upload__actions { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.ticket-upload__button, .ticket-upload__actions button { min-height: 40px; padding: 0 13px; display: inline-flex; align-items: center; border: 1px solid var(--lake); border-radius: 999px; color: white; background: var(--lake); cursor: pointer; font-size: 11px; font-weight: 760; }
.ticket-upload__button input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ticket-upload__actions button { color: #9b4437; border-color: #e4b9af; background: #fff4f1; }
.ticket-upload__message { min-height: 16px; margin: 9px 0 0; color: var(--warning); font-size: 10px; }

.accordion-stack { margin-top: 14px; display: block; }
.drive-note-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.drive-note-tabs button { position: relative; min-width: 0; min-height: 48px; padding: 12px 4px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 12px; font-weight: 650; }
.drive-note-tabs button::after { content: ""; position: absolute; bottom: -1px; left: 20%; right: 20%; height: 2px; border-radius: 2px; background: transparent; }
.drive-note-tabs button[aria-expanded="true"] { color: var(--ink); font-weight: 780; }
.drive-note-tabs button[aria-expanded="true"]::after { background: var(--lake); }
.drive-note-panel { padding: 8px 4px 4px; }
.drive-note-panel[hidden] { display: none; }
.drive-note-panel ul { margin: 0; padding: 0; list-style: none; color: #47575b; }
.drive-note-panel li { position: relative; margin: 0; padding: 12px 0 12px 14px; font-size: 12px; line-height: 1.7; }
.drive-note-panel li + li { border-top: 1px solid var(--line); }
.drive-note-panel li::before { content: ""; position: absolute; left: 0; top: 20px; width: 4px; height: 4px; border-radius: 50%; background: #8ca5a7; }

.todo-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.todo-form input { min-width: 0; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.8); font: inherit; font-size: 13px; outline: none; }
.todo-form input:focus { border-color: var(--lake); box-shadow: 0 0 0 3px rgba(40,123,144,.1); }
.todo-form button { min-width: 64px; min-height: 48px; border: 0; border-radius: 13px; color: white; background: var(--ink); cursor: pointer; font-size: 12px; font-weight: 750; }
.todo-list { margin-top: 13px; }
.todo-item { min-height: 54px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; }
.todo-item label { min-width: 0; min-height: 54px; display: flex; align-items: center; gap: 10px; cursor: pointer; }
.todo-item input { position: absolute; opacity: 0; pointer-events: none; }
.todo-check { width: 22px; height: 22px; flex: 0 0 22px; border: 1.5px solid #93a5a2; border-radius: 7px; color: transparent; display: grid; place-items: center; font-size: 12px; }
.todo-text { min-width: 0; font-size: 13px; overflow-wrap: anywhere; }
.todo-item.is-complete .todo-check { border-color: var(--forest); color: white; background: var(--forest); }
.todo-item.is-complete .todo-text { color: #87928f; text-decoration: line-through; }
.todo-delete { min-width: 44px; min-height: 44px; padding: 0; border: 0; color: #9a7062; background: transparent; cursor: pointer; font-size: 10px; }
.todo-empty { margin: 0; padding: 22px 0 8px; color: var(--muted); text-align: center; font-size: 11px; }

.section-intro { max-width: 620px; margin: -3px 0 18px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.packing-add-form { display: grid; grid-template-columns: minmax(105px, .7fr) minmax(0, 1.5fr) auto; gap: 7px; }
.packing-add-form select, .packing-add-form input { min-width: 0; min-height: 44px; padding: 0 11px; border: 1px solid var(--line); border-radius: 11px; outline: 0; background: #fff; font-size: 11px; }
.packing-add-form button, .outfit-toolbar button { min-height: 44px; padding: 0 15px; border: 0; border-radius: 11px; color: #fff; background: var(--ink); cursor: pointer; font-size: 11px; font-weight: 760; }
.packing-grid { margin-top: 16px; display: grid; gap: 12px; }
.packing-card { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(25,47,55,.045); }
.packing-card > header { min-height: 48px; padding: 0 13px; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #fff9e7; background: var(--poster-green); }
.packing-card:nth-child(4n + 2) > header { background: #c66d43; }
.packing-card:nth-child(4n + 3) > header { background: #557492; }
.packing-card:nth-child(4n + 4) > header { background: #8b6f9c; }
.packing-card h3 { margin: 0; font-size: 14px; letter-spacing: .03em; }
.packing-card header span { color: rgba(255,255,255,.72); font: 700 10px/1 ui-monospace, monospace; }
.packing-card__items { padding: 3px 12px 8px; }
.packing-item { min-height: 45px; display: grid; grid-template-columns: 30px minmax(0,1fr) 42px; align-items: center; gap: 5px; border-bottom: 1px solid rgba(19,38,47,.08); }
.packing-item:last-child { border-bottom: 0; }
.packing-item label { width: 30px; min-height: 44px; display: grid; place-items: center; cursor: pointer; }
.packing-item label input { position: absolute; opacity: 0; pointer-events: none; }
.packing-check { width: 21px; height: 21px; display: grid; place-items: center; border: 1.5px solid #9eadab; border-radius: 7px; color: transparent; font-size: 11px; }
.packing-item.is-packed .packing-check { border-color: var(--lake); color: #fff; background: var(--lake); }
.packing-item__text { min-width: 0; width: 100%; min-height: 36px; padding: 9px 5px; border: 1px solid transparent; border-radius: 7px; outline: 0; color: var(--ink); background: transparent; font-size: 11px; line-height: 1.5; white-space: normal; overflow-wrap: anywhere; word-break: break-word; }
.packing-item__text:focus { border-color: var(--line); background: #fffaf0; }
.packing-item__text:empty::before { content: attr(data-placeholder); color: #9aa6a4; }
.packing-item.is-packed .packing-item__text { color: #7c8986; text-decoration: line-through; }
.packing-delete { min-height: 40px; border: 0; color: #aa6653; background: transparent; cursor: pointer; font-size: 9px; }
.packing-empty, .outfit-empty { margin: 0; padding: 18px; color: var(--muted); text-align: center; font-size: 11px; }

.city-weather-grid { display: flex; gap: 10px; overflow-x: auto; padding: 2px 0 10px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.city-weather-grid::-webkit-scrollbar { display: none; }
.city-weather-card { flex: 0 0 min(76vw, 220px); min-height: 170px; padding: 15px; scroll-snap-align: start; display: flex; flex-direction: column; border-radius: 22px; color: #fff8e7; background: linear-gradient(150deg,#173b37,#10262e 70%); box-shadow: 0 12px 30px rgba(19,38,47,.16); }
.city-weather-card:nth-child(2) { background: linear-gradient(150deg,#29415f,#20253f 70%); }
.city-weather-card:nth-child(3) { background: linear-gradient(150deg,#704b35,#3f2f32 70%); }
.city-weather-card header { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.city-weather-card header span { font-size: 16px; font-weight: 780; }
.city-weather-card header strong { font: 740 17px/1 ui-monospace, monospace; }
.city-weather-card__body { margin-top: 22px; display: flex; align-items: center; gap: 10px; }
.city-weather-card__body strong { font: 780 29px/1 ui-monospace, monospace; }
.city-weather__icon { font-size: 30px; }
.city-weather-card footer { margin-top: auto; padding-top: 15px; display: flex; justify-content: space-between; gap: 8px; border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.68); font-size: 9px; }
.city-weather__pending { color: #f0c88b; }
.outfit-toolbar { margin: 10px 0 14px; display: flex; justify-content: flex-end; }
.outfit-grid { display: grid; gap: 14px; }
.outfit-card { overflow: hidden; border: 1px solid var(--line); border-radius: 19px; background: #fff; box-shadow: var(--shadow); }
.outfit-image { min-height: 180px; display: grid; place-items: center; align-content: center; gap: 6px; color: var(--poster-green); background: radial-gradient(circle at 73% 30%,#df6f31 0 8%,transparent 8.5%), linear-gradient(145deg,#f4e9c9,#e7dab7); }
.outfit-image span { font: 820 48px/1 Georgia, serif; }
.outfit-image small { color: #67766b; font-size: 10px; }
.outfit-image img { width: 100%; height: 100%; max-height: 430px; object-fit: cover; }
.outfit-card__body { padding: 16px; }
.outfit-card__body > p:first-child { margin: 0; display: flex; gap: 7px; }
.outfit-card__body > p:first-child span { padding: 5px 8px; border-radius: 999px; color: var(--poster-green); background: #efe7ca; font: 760 9px/1 ui-monospace, monospace; }
.outfit-card h3 { margin: 11px 0 0; font-size: 19px; line-height: 1.25; letter-spacing: -.025em; }
.outfit-description { margin: 8px 0 0; color: #536166; font-size: 12px; line-height: 1.75; }
.outfit-actions { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.outfit-actions label, .outfit-actions button { min-height: 38px; padding: 0 10px; display: inline-flex; align-items: center; border: 1px solid #d7d0b6; border-radius: 999px; color: var(--lake); background: #fffaf0; cursor: pointer; font-size: 9px; font-weight: 720; }
.outfit-actions label input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.outfit-actions .is-danger { color: #a94d39; }
.outfit-edit-form { margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.outfit-edit-form[hidden] { display: none; }
.outfit-edit-form label { display: grid; gap: 5px; color: var(--muted); font-size: 9px; }
.outfit-edit-form label:nth-child(n+3) { grid-column: 1 / -1; }
.outfit-edit-form input, .outfit-edit-form textarea { width: 100%; min-height: 40px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 9px; outline: 0; background: #fffaf0; font: inherit; font-size: 11px; }
.outfit-edit-form textarea { min-height: 85px; resize: vertical; line-height: 1.55; }
.outfit-edit-form button { grid-column: 1 / -1; min-height: 42px; border: 0; border-radius: 10px; color: #fff; background: var(--ink); cursor: pointer; font-size: 11px; font-weight: 750; }

@media (min-width: 700px) {
  .topbar { padding-inline: max(24px, calc((100vw - var(--content)) / 2)); }
  .hero { min-height: 660px; }
  .section { padding-inline: 0; }
  .flight-card { flex-basis: 86%; min-height: 350px; }
  .rental-stops { grid-template-columns: 1fr 1fr; }
  .packing-grid, .outfit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .city-weather-card { flex-basis: calc((100% - 20px) / 3); }
}

/* Pocket-style fixed category navigation. */
.bottom-navigation {
  position: fixed;
  z-index: 900;
  left: 50%;
  bottom: max(12px, var(--safe-bottom));
  transform: translateX(-50%);
  width: min(calc(100% - 12px), 720px);
  min-height: 70px;
  padding: 6px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 28px;
  color: #82938f;
  background: rgba(11,31,37,.96);
  box-shadow: 0 18px 50px rgba(10,30,36,.32);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.bottom-navigation a { min-width: 0; min-height: 58px; padding: 6px 0 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border-radius: 15px; color: inherit; text-decoration: none; font-size: 8px; font-weight: 720; white-space: nowrap; transition: color .16s ease, background .16s ease, transform .16s ease; }
.bottom-navigation a:active { transform: scale(.96); }
.bottom-navigation a[aria-current="page"] { color: #fff3da; background: #223b43; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04), 0 7px 18px rgba(0,0,0,.2); }
.bottom-navigation__icon { width: 20px; height: 20px; display: grid; place-items: center; color: currentColor; font-size: 21px; line-height: 1; }
.bottom-navigation__icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bottom-navigation__money { font-family: Georgia, serif; font-size: 21px; font-weight: 500; }
body[data-active-view="ledger"] .bottom-navigation { color: #778987; }

@media (max-width: 380px) {
  .bottom-navigation { width: calc(100% - 8px); padding-inline: 4px; border-radius: 22px; }
  .bottom-navigation a { min-height: 56px; border-radius: 13px; font-size: 7px; }
  .bottom-navigation__icon { width: 18px; height: 18px; }
  .bottom-navigation__icon svg { width: 17px; height: 17px; }
  .bottom-navigation__money { font-size: 18px; }
}

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

/* Map is the main surface; date controls remain compact. */
.route-region-tabs,.route-day-tabs { display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-bottom:10px; }
.route-region-tabs button,.route-day-tabs button { border:0;background:transparent;padding:7px 10px;font-size:13px;border-radius:6px;cursor:pointer; }
.route-region-tabs button[aria-pressed="true"] {background:var(--ink);color:white;}
.route-day-tabs button {font-size:12px;padding:7px 8px;}
.route-day-tabs button[aria-pressed="true"] {background:white;box-shadow:inset 0 0 0 1px var(--line);}
.route-day-tabs i {display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--route-color);margin-right:5px;}
.travel-map-scroll {overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;border-radius:12px;border:1px solid var(--line);background:#f6f6f1;}
.travel-map-canvas {position:relative;min-width:700px;}
.travel-map-canvas svg {display:block;width:100%;height:auto;}
.map-utility {display:flex;justify-content:space-between;align-items:center;margin:5px 0 12px;font-size:12px;color:var(--muted);}
.map-utility button {border:0;background:transparent;font-size:12px;padding:8px;cursor:pointer;}
.transport-pin {position:absolute;transform:translate(-50%,-50%);font-size:11px;line-height:1.2;border:1px solid var(--route-color);background:white;color:var(--ink);padding:5px 7px;border-radius:20px;cursor:pointer;box-shadow:0 2px 6px #13262f22;white-space:nowrap;}
.transport-pin::before {content:"";position:absolute;inset:-6px;}
.transport-pin[aria-expanded="true"] {background:var(--route-color);color:white;}
.transport-popover {position:fixed;z-index:100;width:min(300px,calc(100vw - 16px));padding:16px 30px 14px 16px;border:1px solid var(--line);border-radius:12px;background:white;box-shadow:0 8px 32px #13262f30;font-size:14px;line-height:1.6;}
.transport-popover strong {font-size:13px;}
.transport-popover p {margin:7px 0 0;}
.transport-popover button {position:absolute;right:4px;top:4px;background:transparent;border:0;width:28px;height:28px;cursor:pointer;}
.route-list-overview {border-top:1px solid var(--line);}
.route-list-overview a {display:flex;gap:16px;padding:14px 0;border-bottom:1px solid var(--line);text-decoration:none;font-size:14px;}
.route-list-overview span {white-space:nowrap;color:var(--muted);font-size:12px;}
.day-detail .travel-map-block {margin:0 0 22px;}
#map-dialog {width:96vw;max-width:1448px;overflow:auto;padding:48px 12px 12px;background:#f6f6f1;}
#map-dialog-content {overflow:auto;}
#map-dialog-content .travel-map-canvas {min-width:1100px;}
button:focus-visible,a:focus-visible {outline:2px solid var(--lake);outline-offset:3px;}
@media(min-width:1000px) {.route-section {width:min(1100px,calc(100vw - 64px));max-width:none;margin-left:50%;transform:translateX(-50%);} .travel-map-canvas {min-width:0;}}
.is-overview .travel-map-canvas {min-width:0;}

/* Daily and Overview deliberately share one full-map canvas and viewport. */
.is-daily .travel-map-scroll {overflow:hidden;}
.is-daily .travel-map-canvas {width:100%;min-width:0;}
.map-place-dot {position:absolute;transform:translate(-50%,-50%);width:24px;height:24px;padding:0;border:0;border-radius:50%;background:transparent;display:grid;place-items:center;cursor:pointer;}
.map-place-dot span {display:block;width:11px;height:11px;border:1.5px solid #fffdf6;background:var(--route-color);border-radius:50%;box-shadow:0 0 0 1px var(--route-color);}
.map-place-dot:hover span,.map-place-dot[aria-expanded="true"] span {box-shadow:0 0 0 4px #ffffffa8,0 0 0 5px var(--route-color);}
.transport-pin {transform:translate(-50%,-50%);width:28px;height:28px;display:grid;place-items:center;padding:6px;border-radius:8px;border:1px solid var(--route-color);color:var(--route-color);box-shadow:0 2px 5px #13262f18;}
.transport-pin::before {inset:-3px;}
.transport-pin svg {width:15px;height:15px;}
.transport-pin[aria-expanded="true"] {background:var(--route-color);color:white;}
.route-popover {position:fixed;z-index:100;width:min(360px,calc(100vw - 16px));max-height:calc(100dvh - 16px);overflow:auto;padding:16px;border:1px solid var(--line);border-radius:13px;background:#fff;box-shadow:0 10px 36px #13262f33;color:var(--ink);}
.route-popover .route-popover-close {position:absolute;right:5px;top:5px;display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:50%;background:transparent;font-size:20px;cursor:pointer;}
.route-place-popover header {padding-right:22px;margin-bottom:10px;}
.route-place-popover header small {display:block;color:var(--muted);font-size:12px;margin-bottom:4px;}
.route-place-popover header strong {font-size:15px;}
.route-place-popover iframe {display:block;width:100%;height:min(240px,35dvh);border:1px solid var(--line);border-radius:8px;background:#edf1ea;}
.route-place-popover footer {display:flex;flex-direction:column;gap:7px;margin-top:10px;font-size:13px;}
.route-place-popover footer small {font-size:12px;color:var(--muted);}
.popup-place-options {display:flex;gap:5px;flex-wrap:wrap;margin-bottom:10px;}
.popup-place-options button {padding:6px 9px;border:1px solid var(--line);border-radius:6px;background:white;font-size:12px;cursor:pointer;}

.ledger-confirm-dialog { width: min(100% - 40px, 380px); padding: 0; border: 1px solid rgba(19,38,47,.14); border-radius: 18px; background: var(--paper); color: var(--ink); box-shadow: 0 22px 70px rgba(19,38,47,.28); }
.ledger-confirm-dialog::backdrop { background: rgba(7,18,22,.55); backdrop-filter: blur(3px); }
.ledger-confirm-card { padding: 24px 22px 18px; }
.ledger-confirm-card p { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.55; text-align: center; }
.ledger-confirm-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.ledger-confirm-actions button { min-height: 46px; border: 1px solid var(--line); border-radius: 12px; background: white; color: var(--ink); font: inherit; font-size: 14px; font-weight: 720; cursor: pointer; }
.ledger-confirm-actions .ledger-confirm-danger { border-color: rgba(171,67,55,.28); background: #fff1ee; color: #a13f34; }
.popup-place-options button[aria-pressed="true"] {background:var(--ink);color:white;}
.transport-popover {width:min(320px,calc(100vw - 16px));padding-right:32px;font-size:14px;line-height:1.65;}
.transport-leg + .transport-leg {margin-top:10px;padding-top:10px;border-top:1px solid var(--line);}
.transport-leg strong {font-size:13px;}
.transport-leg p {margin:5px 0 0;}
#map-dialog-content .daily-fullscreen {min-width:850px;}

@media (max-width:699px) {
  .is-daily .map-place-dot {width:14px;height:14px;}
  .is-daily .map-place-dot span {width:8px;height:8px;border-width:1px;}
  .is-daily .transport-pin {width:24px;height:24px;padding:5px;border-radius:7px;}
  .is-daily .transport-pin svg {width:13px;height:13px;}
  #map-dialog-content .daily-fullscreen {width:100%;min-width:0;}
}

/* Real-coordinate satellite maps. */
.satellite-map-block { margin-top: 12px; }
.satellite-map { width: 100%; height: clamp(330px, 52vw, 520px); overflow: hidden; border: 1px solid rgba(19,38,47,.12); border-radius: 18px; background: #bfd7e8; box-shadow: var(--shadow); }
.satellite-map-block.is-daily { margin: 0 0 22px; }
.satellite-map-block.is-daily .satellite-map { height: 300px; border-radius: 14px; }
.satellite-map--error { display: grid; place-items: center; padding: 24px; color: #31586f; text-align: center; font-size: 12px; }
.satellite-marker-shell { border: 0 !important; background: transparent !important; }
.satellite-marker { width: 30px; height: 30px; display: grid; place-items: center; border: 2px solid white; border-radius: 50%; color: white; background: #1678a8; box-shadow: 0 4px 14px rgba(0,0,0,.35); font: 800 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.satellite-marker-label { position: absolute; left: 35px; top: 4px; width: max-content; max-width: 140px; padding: 4px 7px; border-radius: 7px; color: #102631; background: rgba(255,255,255,.92); box-shadow: 0 2px 9px rgba(0,0,0,.20); font-size: 10px; font-weight: 760; line-height: 1.25; }
.satellite-map .leaflet-control-attribution { max-width: 80%; font-size: 8px; }
.satellite-map .leaflet-popup-content { margin: 12px 14px; font-size: 12px; line-height: 1.6; }
.satellite-map .leaflet-popup-content a { color: var(--lake); font-weight: 700; }
#map-dialog { background: #d9eaf6; }
#map-dialog-content .satellite-map { height: calc(100dvh - 110px); min-height: 480px; border-radius: 14px; }
#map-dialog-content .map-utility { color: #2b4c5f; }

@media (max-width: 699px) {
  .flight-editor { grid-template-columns: 1fr; }
  .flight-editor fieldset { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero { min-height: 570px; }
  .hero-countdown { margin-bottom: 18px; }
  .schedule-add-form__fields { grid-template-columns: 1fr; }
  .satellite-map { height: 360px; }
  .satellite-map-block.is-daily .satellite-map { height: 280px; }
  .satellite-marker-label { max-width: 112px; font-size: 9px; }
  #map-dialog-content .satellite-map { height: calc(100dvh - 120px); min-height: 420px; }
}

/* Segment distance and estimated transfer-time labels. */
.segment-label-shell { border: 0 !important; background: transparent !important; pointer-events: none !important; }
.segment-label { position: absolute; inset: 0; display: grid; place-items: center; padding: 5px 9px; border: 1px solid rgba(22,120,168,.24); border-radius: 999px; color: #103444; background: rgba(255,255,255,.94); box-shadow: 0 3px 12px rgba(0,0,0,.22); font: 760 10px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; text-align: center; white-space: nowrap; }

/* Reservation checklist. */
.booking-carousel-hint { margin: -3px 0 8px; display: flex; align-items: center; justify-content: flex-end; gap: 7px; color: #6f5a36; font-size: 10px; font-weight: 760; letter-spacing: .03em; }
.booking-carousel-hint[hidden] { display: none !important; }
.booking-carousel-hint span { width: 28px; height: 22px; display: grid; place-items: center; border-radius: 999px; color: var(--poster-cream); background: var(--poster-orange); font-size: 15px; }
.booking-create-form { margin: 0 0 10px; display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr) auto; gap: 8px; }
.booking-create-form input { min-width: 0; min-height: 42px; padding: 0 11px; border: 1px solid var(--line); border-radius: 11px; background: #fffdf8; font: inherit; font-size: 12px; }
.booking-create-form button,.booking-plan-button { min-height: 38px; padding: 0 11px; border: 1px solid #c9d7cd; border-radius: 999px; color: #345b49; background: #f4f7ee; cursor: pointer; font: inherit; font-size: 10px; font-weight: 760; }
.booking-plan-button--danger { border-color: #e3c5b6; color: #8a412b; background: #fff2ea; }
.booking-list { display: flex; gap: 12px; padding: 12px 12px 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 12px; overscroll-behavior-inline: contain; border: 1px solid rgba(15,67,53,.16); border-radius: 19px; background: linear-gradient(90deg,rgba(15,67,53,.075),rgba(223,111,49,.12)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.42); scrollbar-width: none; }
.booking-list::-webkit-scrollbar { display: none; }
.booking-carousel-dots { margin-top: 10px; }
.booking-card { position: relative; flex: 0 0 min(390px,calc(100vw - 54px)); min-width: 0; padding: 17px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 9px 24px rgba(33,107,151,.07); scroll-snap-align: start; }
.booking-card.needs-attention { border-color: #dc8b62; box-shadow: 0 0 0 2px rgba(220,139,98,.12); }
.booking-card.is-linked { border-color: var(--poster-orange); box-shadow: 0 0 0 4px rgba(223,111,49,.18), 0 14px 34px rgba(46,57,48,.13); }
.booking-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.booking-type,.booking-status { padding: 5px 8px; border-radius: 999px; font-size: 10px; font-weight: 780; }
.booking-type { color: #1d617f; background: #e3f2fb; }
.booking-card.is-booked .booking-status { color: #35613e; background: #e3f0e3; }
.booking-card.is-pending .booking-status,.booking-card.needs-attention .booking-status { color: #91452d; background: #fae7dc; }
.booking-date { margin: 13px 0 0; color: var(--lake); font: 740 11px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
.booking-card h3 { margin: 5px 0 0; font-size: 16px; line-height: 1.35; letter-spacing: -.02em; overflow-wrap: anywhere; }
.booking-details-field { margin-top: 10px; display: grid; gap: 5px; color: var(--muted); font-size: 9px; font-weight: 720; }
.booking-details-input { width: 100%; min-height: 76px; padding: 9px 10px; resize: vertical; overflow: hidden; border: 1px solid #d9ddd3; border-radius: 10px; outline: 0; color: var(--ink); background: #fffdf8; font: inherit; font-size: 12px; font-weight: 500; line-height: 1.65; field-sizing: content; }
.booking-details-input:hover { border-color: #b9c7bf; background: #fff; }
.booking-details-input:focus { border-color: var(--lake); background: #fff; box-shadow: 0 0 0 3px rgba(45,107,116,.1); }
.booking-meta { margin-top: 14px; padding-top: 12px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; border-top: 1px solid var(--line); }
.booking-meta span { min-width: 0; }
.booking-meta small,.booking-meta strong { display: block; }
.booking-meta small { color: var(--muted); font-size: 9px; }
.booking-meta strong { margin-top: 3px; font-size: 12px; overflow-wrap: anywhere; }
.booking-actions { margin-top: 13px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.booking-link,.booking-upload-button { min-height: 38px; padding: 0 12px; display: inline-flex; align-items: center; border: 1px solid #c9d7cd; border-radius: 999px; color: #345b49; background: #f4f7ee; cursor: pointer; font-size: 10px; font-weight: 760; text-decoration: none; }
.booking-upload-button { border-color: #d9cda7; color: #594d2f; background: #fff9e9; }
.booking-upload-button.has-file { border-color: #a9c5ae; color: #31593b; background: #e9f3e7; }
.todo-item .todo-text-input { position: static; width: 100%; min-width: 0; border: 0; border-bottom: 1px dashed transparent; opacity: 1; pointer-events: auto; background: transparent; color: inherit; font: inherit; }
.todo-text-input:focus { outline: 0; border-bottom-color: var(--lake); }

/* Attraction guide cards with Wikimedia-backed imagery. */
.guide-filters { margin: -2px 0 16px; display: flex; gap: 7px; overflow-x: auto; scrollbar-width: thin; }
.guide-filters button { min-width: max-content; min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: white; cursor: pointer; font-size: 11px; font-weight: 720; }
.guide-filters button[aria-pressed="true"] { border-color: var(--ink); color: white; background: var(--ink); }
.guide-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.guide-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 12px 30px rgba(33,107,151,.08); }
.guide-image { position: relative; aspect-ratio: 16/10; overflow: hidden; background: white; }
.guide-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.guide-image span { position: absolute; left: 11px; bottom: 11px; padding: 6px 8px; border-radius: 999px; color: white; background: rgba(15,43,56,.82); backdrop-filter: blur(7px); font: 760 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.guide-image.is-unavailable::after { content: "图片暂时无法载入"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); background: white; font-size: 11px; }
.guide-card__body { padding: 17px; }
.guide-card h3 { margin: 0; font-size: 19px; line-height: 1.25; letter-spacing: -.025em; }
.guide-card p { margin: 10px 0 0; color: #43545a; font-size: 13px; line-height: 1.75; }
.guide-card ul { margin: 13px 0 0; padding: 0; display: grid; gap: 8px; list-style: none; }
.guide-card li { position: relative; padding-left: 15px; color: #5b6d72; font-size: 12px; line-height: 1.55; }
.guide-card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--lake); }
.guide-card footer { margin-top: 15px; padding-top: 12px; display: flex; flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--line); }
.guide-card footer a { color: #1b6687; font-size: 10px; font-weight: 740; text-decoration: none; }
.guide-image--place { display: grid; place-items: center; min-height: 150px; background: linear-gradient(145deg,#173f35,#386f5b 58%,#d98242); }
.guide-place-monogram { color: #fff8e8; font: 700 54px/1 Georgia,serif; text-shadow: 0 6px 24px rgba(0,0,0,.25); }
.place-location-status { margin-top: 14px; padding: 10px 12px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; border: 1px solid rgba(27,102,135,.18); border-radius: 12px; background: #f3f7f4; color: #43545a; font-size: 11px; }
.place-location-status strong { color: var(--poster-green); }
.place-location-status.is-pending,.place-location-status.is-unresolved { border-color: rgba(208,117,50,.35); background: #fff5e6; }
.place-location-editor { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.place-location-editor summary { cursor: pointer; color: var(--poster-green); font-size: 11px; font-weight: 760; }
.place-location-editor form,.place-location-editor label { display: grid; gap: 6px; }
.place-location-editor form { margin-top: 10px; gap: 10px; }
.place-location-editor form > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.place-location-editor input { min-width: 0; width: 100%; box-sizing: border-box; border: 1px solid rgba(19,38,47,.2); border-radius: 9px; padding: 8px; background: #fffdf7; }
.place-location-editor button { border: 0; border-radius: 10px; padding: 9px 12px; color: #fff8e8; background: var(--poster-green); font-weight: 760; cursor: pointer; }
.place-location-editor small { color: #a34b2e; line-height: 1.5; }
.route-pending-locations { margin: 10px 0 0; padding: 9px 12px; border-radius: 10px; background: #fff5e6; color: #7d5433; font-size: 11px; }

/* Empty or unavailable areas stay visually neutral. */
.booking-empty,.guide-empty,.todo-empty,.tickets-empty,.ticket-dialog__empty,.satellite-map--error { padding: 24px; border: 1px dashed var(--line); border-radius: 14px; color: var(--muted); background: white !important; text-align: center; }
.flight-card--placeholder { border: 1px solid var(--line); color: var(--ink); background: white; }
.flight-card--placeholder .flight-card__top,.flight-card--placeholder .flight-placeholder p { color: var(--muted); }
.flight-card--placeholder .flight-placeholder h3 { color: var(--ink); }
.flight-card--placeholder .flight-countdown strong { color: var(--ink); }

@media (max-width: 699px) {
  .booking-create-form { grid-template-columns: 1fr auto; }
  .booking-create-form input[name="category"] { grid-column: 1 / -1; grid-row: 2; }
  .guide-grid { grid-template-columns: 1fr; }
  .booking-card { flex-basis: calc(100vw - 82px); }
  .booking-details-input { min-height: 68px; }
  .segment-label { font-size: 8px; padding-inline: 6px; }
}
