@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/inter-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/inter-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/inter-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/inter-latin-600-normal.woff2") format("woff2");
}

:root {
  --ink: #0f172a;
  --slate: #475569;
  --muted: #64748b;
  --canvas: #f8fafc;
  --white: #ffffff;
  --line: #e2e8f0;
  --blue: #1d4ed8;
  --blue-hover: #1e40af;
  --blue-soft: #eff6ff;
  --green: #047857;
  --green-bg: #ecfdf5;
  --green-line: #a7f3d0;
  --amber: #b45309;
  --amber-bg: #fffbeb;
  --amber-line: #fde68a;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1180px;
  --header: 52px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.45;
}
button, input, select, textarea { font: inherit; color: inherit; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-hover); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.num, .money, .fcard-total, .total, .rate { font-variant-numeric: tabular-nums; }
img, svg { max-width: 100%; }
h1 { font-size: 20px; line-height: 1.25; font-weight: 700; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: 16px; margin: 0 0 8px; }

.skip { position: absolute; left: 8px; top: -40px; background: #fff; padding: 6px 10px; z-index: 80; }
.skip:focus { top: 8px; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner { height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--ink); min-width: 0; }
.brand:hover { color: var(--ink); }
.brand-mark { flex: none; }
.word { font-size: 15px; letter-spacing: -0.02em; white-space: nowrap; color: var(--slate); font-weight: 400; }
.word strong { color: var(--ink); font-weight: 700; }
.metro-switch { flex: none; }
.metro-switch select {
  appearance: none;
  max-width: 118px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background-color: var(--canvas);
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 0 22px 0 10px;
  background-image: linear-gradient(45deg, transparent 50%, #475569 50%), linear-gradient(135deg, #475569 50%, transparent 50%);
  background-position: calc(100% - 12px) 13px, calc(100% - 7px) 13px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.metro-grid { display: grid; gap: 10px; padding-bottom: 28px; }
.metro-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 12px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}
.metro-region { font-size: 12px; color: var(--muted); font-weight: 600; }
.metro-name { font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.metro-count { font-size: 13px; color: var(--slate); }
.metro-price { grid-column: 2; grid-row: 1 / span 3; align-self: center; text-align: right; }
.metro-price b { display: block; font-size: 20px; color: var(--ink); }
.metro-price span { display: block; font-size: 11px; color: var(--muted); max-width: 96px; }
.pill { display: none; }
.menu-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  color: var(--ink);
  padding: 0;
}
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-open { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }
.nav-backdrop { position: fixed; inset: var(--header) 0 0 0; background: rgba(15, 23, 42, 0.45); z-index: 35; border: 0; }
.nav-backdrop[hidden] { display: none; }
.nav {
  display: none;
  position: absolute;
  top: var(--header);
  left: 0;
  right: 0;
  z-index: 45;
  background: #fff;
  border-bottom: 1px solid var(--line);
  flex-direction: column;
  padding: 6px;
}
.nav.open { display: flex; }
.nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 16px;
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
}

.page-head { padding: 10px 0 8px; }
.eyebrow { margin: 0 0 4px; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.title-long, .sub-long, .lock-strip, .controls, .table-scroll { display: none; }
.desk-cta { display: none !important; }
.title-short, .sub-short { display: inline; }
.subhead { margin: 4px 0 0; color: var(--slate); font-size: 14px; }

.mobile-bar {
  position: sticky;
  top: var(--header);
  z-index: 25;
  height: 52px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 0 16px;
}
.bar-btn, .bar-select {
  height: 38px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
}
.bar-btn { display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; color: var(--ink); }
.bar-select { padding: 0 8px; flex: 1; min-width: 0; }
.badge-count {
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}
.badge-count[hidden] { display: none; }

.chip-wrap { padding: 8px 0 4px; }
.chip-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}
.chip-row::-webkit-scrollbar { display: none; }
.chip, .lock-card {
  flex: none;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 12px;
  font-weight: 600;
  font-size: 13px;
  color: var(--slate);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}
.chip[aria-pressed="true"] { background: var(--blue-soft); color: var(--blue); border-color: #bfdbfe; }
.lock-card { color: var(--green); background: var(--green-bg); border-color: var(--green-line); }

.sheet { position: fixed; inset: 0; z-index: 60; }
.sheet[hidden] { display: none; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.45); border: 0; }
.sheet-panel {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  max-height: min(88vh, 740px);
  background: #fff;
  border-radius: 16px 16px 0 0;
  display: flex;
  flex-direction: column;
}
.sheet-handle { width: 36px; height: 4px; border-radius: 4px; background: var(--line); margin: 8px auto; }
.sheet-body { overflow: auto; padding: 0 16px 12px; display: grid; gap: 8px; }
.sheet-body label, .unit-field, .form label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; color: var(--slate); }
.sheet-label { margin: 4px 0 0; font-size: 13px; font-weight: 600; color: var(--slate); }
.sheet-body input, .sheet-body select, .unit-field select, .form input, .form select, .form textarea {
  width: 100%;
  max-width: 100%;
  height: 44px;
  font-size: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 12px;
  background: #fff;
}
.form textarea { height: auto; min-height: 96px; padding: 10px 12px; }
.sheet-segment { width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); }
#sheet-channel { grid-template-columns: 1fr 1fr; }
.sheet-toggles { display: flex; flex-wrap: wrap; gap: 8px; }
.sheet-foot {
  display: flex;
  gap: 8px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}
.sheet-foot .btn.solid { flex: 1; height: 44px; justify-content: center; }

.result-count { margin: 6px 0 8px; color: var(--muted); font-size: 12px; }
.cards { display: grid; gap: 12px; }
.fcard {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.fcard-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.fcard-id { min-width: 0; }
.fcard .name { font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--ink); white-space: normal; }
.fcard-total { flex-shrink: 0; text-align: right; }
.fcard-total b { display: block; font-size: 20px; font-weight: 700; color: var(--ink); }
.fcard-total .eff { display: block; font-size: 12px; font-weight: 600; color: var(--blue); }
.fcard-total .upfront { display: block; font-size: 11px; color: var(--muted); }
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pill-tag, .op, .badge, .btn, .toggle, .segment button {
  white-space: nowrap;
}
.pill-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--slate);
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 8px;
}
.pill-tag.lock { color: var(--green); background: var(--green-bg); border-color: var(--green-line); }
.pill-tag.warn { color: var(--amber); background: var(--amber-bg); border-color: var(--amber-line); }
.promo-line { margin: 8px 0 0; color: var(--slate); font-size: 13px; }
.fcard-actions { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
}
.btn.solid { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.solid:hover { background: var(--blue-hover); color: #fff; }
.how { margin: 12px 0 24px; }
.how summary { cursor: pointer; color: var(--slate); font-weight: 600; }
.how p { color: var(--slate); }

.back { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; margin-top: 4px; }
.crumbs { display: none; }
.map-link { display: inline-block; margin-top: 6px; color: var(--slate); font-size: 13px; }
.page-facility { padding-bottom: 84px; }
.calc { margin-top: 8px; display: grid; gap: 8px; }
#calc-stay { width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); }
.unit-field select { height: 42px; }
.cost-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cost-tile {
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 10px;
  cursor: pointer;
  min-width: 0;
  width: 100%;
}
.cost-tile[aria-pressed="true"] { border-color: var(--blue); background: var(--blue-soft); }
.cost-tile .label { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; color: var(--muted); }
.cost-tile .big { font-size: 22px; font-weight: 700; margin: 2px 0; }
.cost-tile .tile-sub { font-size: 12px; font-weight: 600; color: var(--blue); }
.cost-tile .tile-up { font-size: 11px; color: var(--muted); }
.cost-tile dl { display: none; }
.save { margin: 0; color: var(--green); background: var(--green-bg); border: 1px solid var(--green-line); border-radius: 999px; padding: 4px 10px; font-weight: 700; font-size: 13px; width: fit-content; }
.schedule { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.schedule header { padding: 10px 12px; background: var(--canvas); border-bottom: 1px solid var(--line); }
.schedule header h2 { margin: 0; }
.schedule ul { list-style: none; margin: 0; padding: 0; }
.schedule li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); align-items: baseline; }
.schedule li.sum, .schedule li:last-child { background: var(--canvas); font-weight: 700; border-bottom: 0; }
.schedule .when { color: var(--slate); font-weight: 600; }
.schedule .money { text-align: right; }
.hike-row { display: grid; gap: 6px; }
.hike-row > span { font-size: 13px; font-weight: 600; color: var(--slate); }
.hike-segment { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); }
.note { margin: 0; padding: 8px 10px; background: var(--amber-bg); border: 1px solid var(--amber-line); color: var(--amber); border-radius: 10px; font-size: 13px; }
.layout, .facts, .nearby-grid { display: grid; gap: 8px; }
.panel { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.fact { border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: var(--canvas); min-height: 44px; }
.fact b { display: block; font-size: 12px; color: var(--muted); }
.dock {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -2px 10px rgba(15, 23, 42, 0.06);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
}
.dock b { display: block; font-size: 18px; }
.dock span { color: var(--slate); font-size: 12px; }
.dock .btn { height: 44px; }

.segment { display: inline-flex; padding: 2px; gap: 2px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.segment button {
  border: 0;
  background: transparent;
  border-radius: 8px;
  height: 36px;
  font-weight: 600;
  font-size: 13px;
  color: var(--slate);
  padding: 0 6px;
}
.segment button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.segment button:disabled { opacity: 0.4; cursor: not-allowed; }
.toggle { height: 38px; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 0 10px; font-weight: 600; color: var(--slate); }
.toggle[aria-pressed="true"] { background: var(--blue-soft); color: var(--blue); border-color: #bfdbfe; }

.prose { max-width: 42rem; padding-bottom: 28px; }
.prose h1 { font-size: 24px; margin: 8px 0; }
.prose h2 { font-size: 18px; margin: 20px 0 6px; }
.prose p, .prose li { color: var(--slate); font-size: 15px; }
.prose strong { color: var(--ink); }
.form { display: grid; gap: 12px; max-width: 32rem; margin: 8px 0 28px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.2em; font-weight: 600; }
.form-status.error { color: #b91c1c; }
.optional { font-weight: 400; color: var(--muted); }
.site-footer { background: var(--canvas); border-top: 1px solid var(--line); padding: 20px 0 28px; color: var(--slate); }
.site-footer p { margin: 0 0 8px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 14px; }
.site-footer a { color: var(--slate); font-weight: 600; }
.empty { padding: 20px; text-align: center; color: var(--muted); }
.addr { color: var(--muted); font-size: 12px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 2px; }
.promo-line .ins { color: var(--amber); font-weight: 600; white-space: nowrap; }

@media (min-width: 768px) {
  :root { --header: 56px; }
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  .metro-switch select { max-width: 190px; font-size: 13px; }
  .metro-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pill { display: inline-flex; font-size: 11px; font-weight: 500; color: var(--slate); background: var(--canvas); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; }
  .menu-btn, .nav-backdrop, .mobile-bar, .chip-wrap, .sheet, .dock, .back, .title-short, .sub-short, .eyebrow { display: none !important; }
  .nav { display: flex; position: static; flex-direction: row; border: 0; padding: 0; gap: 4px; background: transparent; }
  .nav a { min-height: 0; font-size: 14px; font-weight: 500; color: var(--slate); padding: 6px 10px; }
  .nav a:hover, .nav a[aria-current="page"] { color: var(--blue); background: var(--blue-soft); }
  .title-long, .sub-long, .lock-strip, .controls, .table-scroll, .desk-cta, .crumbs { display: revert; }
  .title-long { display: inline; }
  h1 { font-size: 22px; font-weight: 600; }
  .page-head { padding: 8px 0 6px; }
  .lock-strip { display: flex; align-items: center; gap: 8px; margin-top: 6px; padding: 4px 10px; background: var(--green-bg); border: 1px solid var(--green-line); border-radius: 8px; color: var(--green); font-size: 13px; font-weight: 500; }
  .lock-strip a { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
  .lock-strip button { margin-left: auto; border: 1px solid var(--green-line); background: #fff; color: var(--green); border-radius: 6px; padding: 3px 8px; font-weight: 600; font-size: 12px; }
  .controls { display: block; position: sticky; top: var(--header); z-index: 25; background: var(--canvas); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 6px 0; }
  .control-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
  .control-row + .control-row { margin-top: 6px; }
  .search, select.control { height: 34px; border: 1px solid var(--line); background: #fff; border-radius: 8px; font-size: 14px; }
  .search { padding: 0 10px; min-width: 220px; flex: 1; }
  select.control { padding: 0 8px; }
  .cards { display: none; }
  .table-scroll { display: block; border: 1px solid var(--line); border-radius: 10px; overflow: auto; background: #fff; }
  table.rates { width: 100%; border-collapse: collapse; table-layout: fixed; }
  table.rates th:nth-child(1), table.rates td:nth-child(1) { width: 28%; }
  table.rates th:nth-child(6), table.rates td:nth-child(6) { width: 132px; }
  table.rates th { text-align: left; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); background: var(--canvas); padding: 8px 10px; border-bottom: 1px solid var(--line); }
  table.rates td { padding: 7px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
  table.rates tr:last-child td { border-bottom: 0; }
  table.rates tbody tr:hover td { background: #f8fafc; }
  .name { font-weight: 600; color: var(--ink); font-size: 14px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .actions { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
  .actions .btn { height: 30px; font-size: 13px; }
  .page-facility { padding-bottom: 0; }
  .cost-grid { gap: 10px; }
  .cost-tile { padding: 12px 14px; cursor: default; }
  .cost-tile .big { font-size: 28px; }
  .cost-tile .tile-sub, .cost-tile .tile-up { display: none; }
  .cost-tile dl { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin: 8px 0 0; }
  .cost-tile dt { color: var(--slate); }
  .cost-tile dd { margin: 0; text-align: right; }
  .facts { grid-template-columns: 1fr 1fr; }
  .layout { grid-template-columns: 1.4fr 0.8fr; align-items: start; }
  .nearby-grid { grid-template-columns: 1fr 1fr; }
  .facility-top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
  .desk-cta { display: inline-flex !important; }
  .form input, .form select, .form textarea { font-size: 14px; height: 40px; }
  .form textarea { height: auto; }
  #calc-stay, .hike-segment { width: auto; display: inline-flex; }
  .hike-row { display: flex; flex-wrap: wrap; align-items: center; }
  .calc .control-row { display: flex; }
  .unit-field { width: auto; }
}
