/* ======================================================================
   pages.css — Budget / Tickets / Info pages + bottom tab bar
   Matches the Warm Coastal design system (see styles.css for palette)
   ====================================================================== */

/* ====== Bottom tab bar — matches day-nav header color exactly ====== */
.tabbar {
  position: relative;
  width: 100%;
  z-index: 95;
  background: #ead9b8;
  border-top: 1px solid rgba(42, 34, 25, 0.18);
  box-shadow: 0 -2px 6px rgba(42, 34, 25, 0.08);
  min-height: var(--app-tabbar-h);
  padding: 6px 10px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

/* ====== Shared page header — used on Map / Budget / Tickets / Info tabs.
   Matches the .day-nav exactly in size for consistent header height across tabs. ====== */
.page-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  min-height: calc(var(--app-header-h) + env(safe-area-inset-top, 0px));
  background: #ead9b8;
  padding: 10px 16px;
  padding-top: calc(10px + env(safe-area-inset-top, 0px));
  border-bottom: 1px solid rgba(42, 34, 25, 0.18);
  box-shadow: 0 2px 6px rgba(42, 34, 25, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.page-header .ph-h-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1;
}
.page-header .ph-h-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.tab-btn {
  background: none;
  border: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 4px 4px;
  cursor: pointer;
  color: var(--ink-muted);
  font-family: var(--font-body);
  transition: color 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}
.tab-btn .tab-ico {
  font-size: 17px;
  line-height: 1;
}
.tab-btn .tab-lbl {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.tab-btn.active {
  color: var(--terra-700);
}

/* keep the floating reservations FAB above the tab bar */
.fab-res {
  bottom: 78px !important;
}

/* ====== Body title block (the decorative h1 + subtitle below the page-header) ====== */
.page-head {
  padding: calc(env(safe-area-inset-top, 0px) + 32px) 20px 0;
}
/* When a sticky .page-header already supplies the safe-area inset, drop the body
   block's top padding so titles don't sit too far down the page. */
.page-head.no-safe {
  padding: 18px 20px 0;
}
.page-head .ph-eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 6px;
}
.page-head .ph-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 6px;
  color: var(--ink);
}
.page-head .ph-sub {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.45;
  margin: 0;
  max-width: 36ch;
}
.page-body {
  padding: 16px 20px 32px;
}

.budget-auth {
  margin: 10px 20px 0;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.budget-auth-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.03em;
  color: var(--ink-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.budget-auth-btn {
  border: 1px solid var(--line);
  background: var(--sand-50);
  color: var(--ink);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
}

/* ======================================================================
   BUDGET PAGE
   ====================================================================== */
.budget-summary {
  background: linear-gradient(135deg, var(--ocean-800), var(--ocean-600));
  color: white;
  border-radius: var(--r-lg);
  padding: 18px 18px 20px;
  margin: 16px 20px 0;
  box-shadow: var(--shadow-md);
}
.budget-summary .bs-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 4px;
}
.budget-summary .bs-totals {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}
.budget-summary .bs-spent {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 300;
  font-style: italic;
  line-height: 1;
}
.budget-summary .bs-of {
  opacity: 0.65;
  font-size: 13px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.budget-summary .bs-bar {
  background: rgba(255,255,255,0.16);
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
}
.budget-summary .bs-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--sun-300), var(--terra-300));
  border-radius: 999px;
  transition: width 0.4s ease;
}
.budget-summary .bs-meta {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10.5px;
  opacity: 0.85;
  letter-spacing: 0.04em;
}

/* Category rows */
.cat-list { margin: 4px 0 8px; }
.cat-row {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: 10px;
  overflow: hidden;
}
.cat-row-head {
  padding: 12px 14px 10px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.cat-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.cat-row-name {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cat-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.cat-row-name .name {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}
.cat-row-name .count {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  margin-left: 4px;
}
.cat-row-stats {
  text-align: right;
}
.cat-row-stats .spent {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 300;
  color: var(--ink);
  line-height: 1;
}
.cat-row-stats .est {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  margin-top: 3px;
}
.cat-bar {
  height: 6px;
  background: var(--sand-100);
  border-radius: 999px;
  overflow: hidden;
}
.cat-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.4s ease;
}
.cat-bar.over .cat-bar-fill {
  background: linear-gradient(90deg, var(--terra-500), var(--terra-700)) !important;
}
.cat-row.open .cat-row-head {
  border-bottom: 1px dashed var(--line);
}

/* Line items inside a category */
.line-items {
  padding: 8px 14px 12px;
  background: var(--sand-50);
}
.line-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
}
.line-item:last-child { border-bottom: none; }
.line-item .li-label {
  font-size: 12.5px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.3;
}
.line-item .li-day {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--ink-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 1px;
}
.line-item .li-actual-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
}
.line-item .li-actual-wrap .dollar {
  font-family: var(--font-mono);
  color: var(--ink-muted);
  font-size: 12px;
}
.line-item .li-actual {
  width: 70px;
  padding: 5px 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  background: white;
  color: var(--ink);
  text-align: right;
  outline: none;
  transition: border-color 0.15s ease;
}
.line-item .li-actual:focus {
  border-color: var(--terra-500);
}
.line-item .li-est {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--ink-muted);
  text-align: right;
  letter-spacing: 0.04em;
  grid-column: 2;
}

/* ======================================================================
   TICKETS PAGE
   ====================================================================== */
.tickets-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ticket-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 16px;
  display: flex;
  align-items: stretch;
  gap: 14px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
  color: inherit;
}
.ticket-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.ticket-stub {
  width: 56px;
  flex-shrink: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--terra-500), var(--terra-700));
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 4px;
  position: relative;
  font-family: var(--font-mono);
}
.ticket-stub::before,
.ticket-stub::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
  left: -4px;
}
.ticket-stub::before { top: -4px; }
.ticket-stub::after { bottom: -4px; }
.ticket-stub .ts-day {
  font-size: 9px;
  letter-spacing: 0.1em;
  opacity: 0.85;
}
.ticket-stub .ts-date {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}
.ticket-stub .ts-month {
  font-size: 9px;
  letter-spacing: 0.16em;
  margin-top: 3px;
  opacity: 0.85;
  text-transform: uppercase;
}
.ticket-info { flex: 1; min-width: 0; }
.ticket-info .ti-eyebrow {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.ticket-info .ti-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.1;
  margin: 4px 0 4px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.ticket-info .ti-meta {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.35;
}
.ticket-info .ti-conf {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  margin-top: 4px;
}
.ticket-arrow {
  align-self: center;
  font-size: 18px;
  color: var(--ink-muted);
}

/* Empty state */
.tickets-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--ink-muted);
  background: var(--sand-50);
  border-radius: var(--r-md);
  border: 1px dashed var(--line);
}
.tickets-empty .te-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

/* ======================================================================
   INFO PAGE
   ====================================================================== */
.info-search {
  position: relative;
  margin: 12px 20px 14px;
}
.info-auth {
  margin: 12px 20px 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.info-auth-text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.03em;
  color: var(--ink-muted);
  min-width: 0;
}
.info-auth-btn {
  border: 1px solid var(--line);
  background: var(--sand-100);
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
}
.info-auth-btn:disabled {
  opacity: 0.7;
  cursor: default;
}
.info-auth-error {
  margin: 8px 20px 0;
  color: var(--terra-700);
  font-size: 11px;
}
.info-search input {
  width: 100%;
  padding: 11px 14px 11px 38px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: white;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  outline: none;
}
.info-search input:focus { border-color: var(--terra-500); }
.info-search::before {
  content: '⌕';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-muted);
  font-size: 16px;
  pointer-events: none;
}

.info-section {
  margin: 0 20px 18px;
}
.info-section .is-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 14px 0 8px;
}
.info-section .is-title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.info-section .is-bar {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.info-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: 10px;
  overflow: hidden;
}
.info-card-head {
  padding: 12px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  -webkit-tap-highlight-color: transparent;
}
.info-card-head .ic-day {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  padding: 4px 7px;
  border-radius: 6px;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}
.info-card-head .ic-body { flex: 1; min-width: 0; }
.info-card-head .ic-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.info-card-head .ic-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  margin-top: 2px;
}
.info-card-head .ic-caret {
  color: var(--ink-muted);
  font-size: 14px;
  flex-shrink: 0;
  transform: rotate(0deg);
  transition: transform 0.2s ease;
}
.info-card.open .ic-caret { transform: rotate(180deg); }

.info-card-body {
  padding: 4px 14px 14px;
  border-top: 1px dashed var(--line);
  background: var(--sand-50);
}
.info-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}
.info-row:last-child { border-bottom: none; }
.info-row .ir-key {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.info-row .ir-val {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.4;
  word-wrap: break-word;
  word-break: break-word;
}
.info-row .ir-val.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--terra-700);
}
.info-row .ir-val a {
  color: var(--ocean-600);
  text-decoration: none;
  font-weight: 500;
}
.info-row .ir-val a:hover { text-decoration: underline; }

.info-actions {
  display: flex;
  gap: 6px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.info-actions a {
  flex: 1;
  min-width: 80px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.info-actions a:hover { border-color: var(--terra-500); color: var(--terra-700); }
.info-actions a.web   { color: var(--ocean-600); }

/* contact list (emergency) — simpler row layout */
.contact-row {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 14px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact-row .cr-body { flex: 1; min-width: 0; }
.contact-row .cr-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.contact-row .cr-note {
  font-size: 11.5px;
  color: var(--ink-muted);
  margin-top: 2px;
  line-height: 1.3;
}
.contact-row .cr-call {
  background: var(--ocean-600);
  color: white;
  border: none;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  flex-shrink: 0;
}
.contact-row .cr-call.empty {
  background: var(--sand-200);
  color: var(--ink-muted);
}
.contact-row .cr-add-form {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 6px;
  margin-top: 8px;
}
.contact-row .cr-add-form input {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 9px;
  font-size: 12px;
  outline: none;
}
.contact-row .cr-add-form input:focus {
  border-color: var(--terra-500);
}
.contact-row .cr-add-btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 11px;
  font-weight: 600;
  background: var(--ocean-600);
  color: white;
  cursor: pointer;
  flex-shrink: 0;
}
.contact-row .cr-add-btn.subtle {
  background: white;
  color: var(--ink-soft);
}

/* ======================================================================
   CUSTOM MEAL ADDER (inside meal cards on the Itinerary)
   ====================================================================== */
.custom-meals { margin-top: 8px; }

.add-option-btn {
  margin-top: 14px;
  width: 100%;
  background: transparent;
  border: 1px dashed var(--line);
  color: var(--ocean-600);
  padding: 9px 12px;
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}
.add-option-btn:hover {
  background: rgba(63, 108, 108, 0.06);
  border-color: var(--ocean-400);
}

.add-option-form {
  margin-top: 14px;
  padding: 14px;
  background: var(--sand-50);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
}
.aof-row { margin-bottom: 10px; }
.aof-row label {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 4px;
}
.aof-row input,
.aof-row textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  background: white;
  outline: none;
  resize: vertical;
}
.aof-row input:focus,
.aof-row textarea:focus { border-color: var(--terra-500); }

.aof-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink);
  cursor: pointer;
  margin: 6px 0 8px;
}
.aof-check input { margin: 0; }

.aof-hint {
  font-size: 11px;
  color: var(--ink-muted);
  margin-bottom: 8px;
  padding: 6px 8px;
  background: rgba(244, 200, 106, 0.1);
  border-radius: 6px;
}
.aof-hint code {
  font-family: var(--font-mono);
  font-size: 10.5px;
  background: rgba(0,0,0,0.06);
  padding: 1px 4px;
  border-radius: 3px;
}

.aof-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.aof-btn {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
}
.aof-btn.primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.custom-del {
  background: transparent;
  border: none;
  color: var(--ink-muted);
  font-size: 18px;
  line-height: 1;
  padding: 0 6px;
  margin-left: 8px;
  cursor: pointer;
  vertical-align: middle;
  border-radius: 4px;
  transition: color 0.15s ease;
}
.custom-del:hover { color: var(--terra-700); }

/* ======================================================================
   BUDGET — add custom expense
   ====================================================================== */
.budget-add-row {
  margin: 18px 0 8px;
  display: flex;
  justify-content: flex-end;
}
.budget-add-btn {
  background: var(--ink);
  color: var(--paper);
  border: none;
  padding: 9px 16px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.budget-add-btn:hover { background: var(--ocean-800); }

.budget-add-form {
  background: var(--sand-50);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px;
  margin: 8px 0 14px;
}
.bf-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}
.bf-row label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.bf-row input,
.bf-row select {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  background: white;
  outline: none;
}
.bf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.line-item.custom .li-label {
  color: var(--ocean-600);
}
.line-item .li-del {
  background: transparent;
  border: none;
  color: var(--ink-muted);
  font-size: 16px;
  line-height: 1;
  padding: 4px;
  cursor: pointer;
  margin-left: 6px;
  border-radius: 4px;
}
.line-item .li-del:hover { color: var(--terra-700); }

/* ======================================================================
   WEATHER CHIP — bottom-right of each day's hero scene (avoids the artwork)
   ====================================================================== */
.weather-chip {
  position: absolute;
  bottom: 10px;
  right: 12px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px 5px 8px;
  border-radius: 999px;
  background: rgba(20, 14, 10, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, 0.95);
  font-family: var(--font-body);
  pointer-events: auto;
}
.weather-chip .weather-icon {
  display: block;
  flex-shrink: 0;
  opacity: 0.95;
}
.weather-chip .wc-temps {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}
.weather-chip .wc-low {
  opacity: 0.6;
  font-size: 12.5px;
  margin-left: 1px;
}

/* SVG icon used in both chip and strip */
.weather-icon { display: inline-block; vertical-align: middle; }

/* ======================================================================
   WEATHER STRIP — overview page (Cover) horizontal day-by-day forecast
   ====================================================================== */
.weather-strip {
  margin-top: 24px;
}
.ws-head { margin-bottom: 10px; }
.ws-head .ws-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.ws-head .ws-sub {
  font-size: 11.5px;
  color: var(--ink-soft);
  margin-top: 2px;
  font-style: italic;
}
.ws-grid {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  margin: 0 -20px;
  padding: 4px 20px 8px;
}
.ws-grid::-webkit-scrollbar { display: none; }

.ws-day {
  flex-shrink: 0;
  width: 60px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 9px 4px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.ws-day .ws-dow {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}
.ws-day .ws-date {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
}
.ws-day .ws-icon {
  margin: 4px 0 3px;
  color: var(--terra-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ws-day .ws-high {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  color: var(--terra-700);
  line-height: 1;
}
.ws-day .ws-low {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--ink-muted);
  line-height: 1;
}
.ws-day .ws-loc {
  font-size: 9px;
  color: var(--ink-soft);
  margin-top: 4px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* ====== Modal / overlay (used by Tickets full-screen viewer) ====== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 14, 10, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modalIn 0.2s ease;
}
@keyframes modalIn { from { opacity: 0; } to { opacity: 1; } }
.modal-content {
  background: white;
  border-radius: var(--r-lg);
  max-width: 100%;
  max-height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(20, 14, 10, 0.6);
  color: white;
  border: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: grid;
  place-items: center;
}
.modal-content iframe,
.modal-content img {
  flex: 1;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: contain;
  background: var(--sand-50);
}

.pdf-viewer {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--sand-50);
  min-height: 0;
}
.pdf-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: white;
}
.pdf-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.pdf-zoom {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
  min-width: 42px;
  text-align: center;
}
.pdf-open {
  margin-left: auto;
  text-decoration: none;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--ocean-600);
}
.pdf-scroll {
  flex: 1;
  overflow: auto;
  padding: 10px;
}
.pdf-state {
  text-align: center;
  color: var(--ink-muted);
  font-size: 12px;
  padding: 30px 10px;
}
.pdf-pages {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.pdf-canvas {
  width: 100%;
  height: auto;
  max-width: 900px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}
