:root {
  --brand-title-size: clamp(40px, 5vw, 62px);
  --bg-top: #f6faff;
  --bg-bottom: #e8eef6;
  --panel: rgba(255, 255, 255, 0.92);
  --panel-strong: rgba(255, 255, 255, 0.98);
  --panel-soft: rgba(15, 31, 36, 0.04);
  --line: rgba(15, 31, 36, 0.10);
  --text: #15263d;
  --muted: #62717e;
  --teal-300: #1b8f89;
  --teal-500: #1e8f86;
  --signal-amber: #ffbf57;
  --ice-blue: #8ad1ff;
  --camera-accent: var(--teal-300);
  --font-sans: "Bahnschrift", "Aptos", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(27, 143, 137, 0.08), transparent 24%),
    radial-gradient(circle at top right, rgba(109, 134, 176, 0.10), transparent 24%),
    linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
  color: var(--text);
  font-family: var(--font-sans);
}

body {
  padding: 24px 18px 36px;
}

a {
  color: inherit;
}

.page-shell {
  max-width: 1220px;
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 24px;
}

.hero h1,
.section-header h3,
.panel-card h2,
.hero-note strong,
.reason-card h3,
.map-node-copy h4,
.setting-card h3,
.next-camera-card h3,
.official-card h3 {
  margin: 0;
  font-family: "Aptos Display", "Trebuchet MS", var(--font-sans);
  letter-spacing: -0.02em;
}

.hero h1 {
  font-size: var(--brand-title-size);
  line-height: 0.96;
  margin-top: 8px;
}

.brand-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-top: 8px;
}

.brand-title-row h1 {
  margin: 0;
}

.hero-tagline {
  margin: 0 0 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--teal-300);
}

.hero-copy {
  max-width: 540px;
  margin-top: -16px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

.hero-actions {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  max-width: 640px;
}

.hero-action-notes {
  margin: 10px 0 0;
  max-width: 640px;
  display: grid;
  gap: 8px;
}

.hero-action-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}

.hero-actions .action-button {
  width: 100%;
  min-height: 42px;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 800;
  background: linear-gradient(180deg, #2ac7ba 0%, #1b8f89 100%);
  border-color: #1b8f89;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(27, 143, 137, 0.14);
}

.hero-actions .action-button.secondary {
  background: linear-gradient(180deg, #2ac7ba 0%, #1b8f89 100%);
  border-color: #1b8f89;
  color: #ffffff;
}

.hero-actions .action-button.is-current {
  box-shadow: 0 0 0 2px rgba(21, 38, 61, 0.10), 0 10px 24px rgba(27, 143, 137, 0.18);
}

.hero-info-row {
  display: grid;
  gap: 14px;
  margin-top: 10px;
}

.hero-tool-row {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.hero-description-box {
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(63, 129, 196, 0.20);
  background: linear-gradient(180deg, rgba(214, 231, 248, 0.92), rgba(229, 239, 250, 0.92));
  box-shadow: 0 14px 30px rgba(21, 38, 61, 0.05);
}

.hero-description-box p {
  margin: 0;
  font-weight: 700;
  line-height: 1.6;
  color: var(--text);
}

.hero-market-card {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 14px 30px rgba(21, 38, 61, 0.05);
  text-decoration: none;
}

.hero-market-card-inline {
  width: min(100%, 220px);
  margin-left: auto;
}

.hero-bridge-card {
  display: grid;
  align-content: start;
}

.hero-market-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-300);
}

.hero-market-select {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(21, 38, 61, 0.03);
  color: var(--text);
  font: inherit;
}

.hero-market-select:focus-visible {
  outline: 2px solid rgba(27, 143, 137, 0.4);
  outline-offset: 2px;
}

.hero-copy,
.hero-note p,
.panel-card p,
.source-list,
.camera-details p,
.next-camera-card p,
.map-node-copy p,
.setting-card strong,
.setting-card p,
.official-card-copy,
.official-card-meta,
.install-copy p {
  color: var(--muted);
}

.hero-note,
.panel-card,
.map-card,
.reason-card,
.camera-card,
.next-camera-card,
.setting-card,
.official-card {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
  border-radius: 24px;
  box-shadow: 0 20px 46px rgba(21, 38, 61, 0.06);
}

.hero-note {
  padding: 18px 18px 20px;
}

.hero-note strong {
  display: block;
  font-size: 16px;
  margin-bottom: 10px;
}

.hero-note p {
  font-weight: 700;
  line-height: 1.55;
  color: var(--text);
}

.eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--teal-300);
}

.prototype-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.control-panel {
  display: grid;
  gap: 18px;
}

.route-panel {
  transition: opacity 180ms ease, transform 180ms ease, max-height 220ms ease, margin 180ms ease;
  transform-origin: top center;
}

.route-panel.is-hidden {
  opacity: 0;
  transform: translateY(-10px);
  max-height: 0;
  overflow: hidden;
  margin: 0;
  pointer-events: none;
}

.panel-card,
.map-card,
.reason-card {
  padding: 20px;
}

.route-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.route-mode-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(27, 143, 137, 0.06);
  border: 1px solid rgba(27, 143, 137, 0.16);
}

.route-mode-copy {
  display: grid;
  gap: 4px;
}

.route-mode-copy strong {
  font-size: 14px;
  color: var(--text);
}

.route-mode-copy p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.mini-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.mini-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mini-switch-track {
  width: 44px;
  height: 26px;
  border-radius: 999px;
  background: rgba(21, 38, 61, 0.16);
  border: 1px solid rgba(21, 38, 61, 0.12);
  position: relative;
  transition: background 180ms ease, border-color 180ms ease;
}

.mini-switch-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(21, 38, 61, 0.18);
  transition: transform 180ms ease;
}

.mini-switch input:checked + .mini-switch-track {
  background: rgba(27, 143, 137, 0.88);
  border-color: rgba(27, 143, 137, 0.88);
}

.mini-switch input:checked + .mini-switch-track::after {
  transform: translateX(18px);
}

.mini-switch input:focus-visible + .mini-switch-track {
  outline: 2px solid rgba(27, 143, 137, 0.45);
  outline-offset: 2px;
}

.route-chip,
.tab-button,
.action-button {
  appearance: none;
  border: 1px solid var(--line);
  color: var(--text);
}

.route-chip,
.tab-button {
  background: rgba(21, 38, 61, 0.03);
  cursor: pointer;
}

.route-chip {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.route-chip.is-active,
.tab-button.is-active {
  background: rgba(27, 143, 137, 0.12);
  border-color: rgba(27, 143, 137, 0.36);
}

.source-list,
.live-bullets {
  margin: 14px 0 0;
  padding-left: 18px;
  line-height: 1.65;
}

.phone-stage {
  display: grid;
  place-items: start;
}

.phone-shell {
  width: min(100%, 440px);
  min-height: 840px;
  border-radius: 34px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 248, 0.98));
  border: 1px solid rgba(21, 38, 61, 0.08);
  box-shadow: 0 28px 60px rgba(21, 38, 61, 0.10);
}

.phone-top,
.tab-row,
.section-header,
.camera-details,
.next-camera-card,
.setting-card,
.official-card-top,
.action-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.phone-top {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal-300);
  box-shadow: 0 0 12px rgba(83, 208, 194, 0.65);
}

.tab-row {
  margin-bottom: 14px;
}

.tab-button {
  flex: 1;
  min-height: 42px;
  border-radius: 999px;
  font-weight: 700;
}

.tab-panel {
  display: grid;
  gap: 16px;
}

.live-route-banner {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(21, 38, 61, 0.08);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 30px rgba(21, 38, 61, 0.04);
}

.live-route-banner p {
  margin: 0;
}

.live-route-banner p + p {
  margin-top: 6px;
  color: var(--text);
  font-weight: 700;
  line-height: 1.5;
}

.camera-card {
  overflow: hidden;
  background: linear-gradient(180deg, rgba(233, 246, 240, 0.98), rgba(247, 252, 249, 0.98));
  border-color: rgba(27, 143, 137, 0.22);
}

.camera-preview {
  position: relative;
  min-height: auto;
  padding: 15px 16px 6px;
  background:
    linear-gradient(180deg, rgba(216, 238, 229, 0.98), rgba(235, 247, 241, 0.98));
}

.camera-preview::before {
  display: none;
}

.lane-stripes {
  display: none;
}

.preview-copy {
  position: relative;
  z-index: 1;
  max-width: none;
  padding-top: 0;
}

.preview-copy h2 {
  margin: 8px 0 8px;
  font-size: 26px;
  line-height: 1.05;
}

.preview-badge,
.provider-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(27, 143, 137, 0.08);
  border: 1px solid rgba(27, 143, 137, 0.18);
  font-size: 12px;
  color: var(--text);
}

.provider-badge {
  min-height: 24px;
  background: rgba(27, 143, 137, 0.10);
  border-color: rgba(27, 143, 137, 0.24);
}

.camera-details {
  padding: 4px 16px 0;
  align-items: start;
}

.route-feature-line {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 10px 0 0;
  padding: 10px 16px 12px;
  border-radius: 18px;
  background: rgba(210, 56, 57, 0.10);
  border: 1px solid rgba(210, 56, 57, 0.26);
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-align: center;
  width: fit-content;
}

.route-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  color: #d23839;
}

.route-feature-icon svg {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: currentColor;
  stroke-width: 4.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.route-feature-line span:last-child {
  display: block;
  max-width: 160px;
  line-height: 1.15;
}

.camera-details strong {
  display: inline-block;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

.subsection {
  display: grid;
  gap: 12px;
}

.section-header span {
  font-size: 12px;
  color: var(--muted);
}

.up-next-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.action-row {
  flex-wrap: wrap;
}

.live-bridge-compare {
  padding: 0 16px 16px;
}

.action-row-topgap {
  margin-top: 16px;
}

.action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  background: rgba(27, 143, 137, 0.12);
  border-color: rgba(27, 143, 137, 0.26);
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.button-reset {
  cursor: pointer;
  font: inherit;
}

.button-reset:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.action-button.secondary {
  background: rgba(21, 38, 61, 0.04);
}

.action-button.compact {
  min-height: 34px;
  padding: 0 12px;
  font-size: 13px;
}

.action-button.camera-pill {
  min-height: 52px;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 24px rgba(27, 143, 137, 0.14);
}

.action-button.camera-pill.primary {
  background: linear-gradient(180deg, var(--camera-pill-start, #2ac7ba) 0%, var(--camera-pill-end, #1b8f89) 100%);
  border-color: var(--camera-pill-end, #1b8f89);
  color: #ffffff;
}

.action-button.camera-pill.secondary {
  background: rgba(255, 191, 87, 0.22);
  border-color: rgba(255, 191, 87, 0.58);
  color: var(--text);
}

.action-button.camera-pill.compact {
  min-height: 42px;
  min-width: 110px;
  padding: 0 16px;
  font-size: 14px;
  background: linear-gradient(180deg, #2ac7ba 0%, #1b8f89 100%);
  border-color: #1b8f89;
  color: #ffffff;
}

.action-row .camera-pill {
  flex: 1 1 210px;
}

.live-primary-actions {
  padding: 0 16px 16px;
}

.next-up-list,
.settings-grid,
.map-node-list,
.official-camera-list {
  display: grid;
  gap: 12px;
}

.settings-toggle-block {
  display: grid;
  gap: 12px;
  margin: 16px 0 18px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(21, 38, 61, 0.03);
  border: 1px solid var(--line);
}

.settings-toggle-label {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal-300);
}

.settings-input {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(21, 38, 61, 0.03);
  color: var(--text);
  font: inherit;
}

.settings-input::placeholder {
  color: rgba(21, 38, 61, 0.34);
}

.handoff-status-copy {
  margin: 0;
  line-height: 1.5;
  color: var(--muted);
}

.next-camera-card,
.setting-card,
.official-card {
  padding: 15px 16px;
}

.next-camera-card {
  align-items: start;
}

.next-camera-copy {
  display: grid;
  gap: 6px;
}

.next-camera-side {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.official-card.is-primary {
  border-color: rgba(27, 143, 137, 0.28);
  background: rgba(255, 255, 255, 0.98);
}

.location-card {
  display: grid;
  gap: 14px;
}

.location-status-copy,
.location-coords {
  margin: 0;
  line-height: 1.6;
  color: var(--muted);
}

.official-card-meta {
  margin: 8px 0 8px;
}

.official-card-copy {
  margin: 0 0 14px;
  line-height: 1.6;
}

.selected-route-line {
  margin: 4px 0 0;
  font-family: "Aptos Display", "Trebuchet MS", var(--font-sans);
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.route-choice-block {
  margin-top: 14px;
}

.route-summary-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 191, 87, 0.18);
  border: 1px solid rgba(240, 166, 42, 0.28);
  box-shadow: 0 10px 20px rgba(240, 166, 42, 0.08);
}

.route-summary-toggle-copy {
  display: grid;
  gap: 4px;
}

.route-summary-toggle-copy strong {
  color: var(--text);
  font-size: 15px;
  letter-spacing: -0.01em;
}

.route-summary-toggle-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.route-summary-note {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.route-choice-block .route-chip-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 10px;
}

.route-choice-block .route-chip {
  width: 100%;
}

.route-chip.route-chip-bridge {
  background: rgba(255, 191, 87, 0.22);
  border-color: rgba(235, 153, 24, 0.34);
  color: #8a4c00;
}

.route-chip.route-chip-bridge.is-active {
  background: linear-gradient(180deg, #ffbf57 0%, #f0a62a 100%);
  border-color: rgba(201, 118, 5, 0.48);
  color: #5c3200;
  box-shadow: 0 10px 20px rgba(240, 166, 42, 0.18);
}

.bridge-compare-card {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(231, 242, 248, 0.95);
  border: 1px solid rgba(27, 143, 137, 0.18);
}

.bridge-compare-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.flag-pair {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.flag-chip {
  display: inline-flex;
  width: 22px;
  height: 15px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(15, 66, 87, 0.14);
  background: #ffffff;
}

.flag-chip svg {
  display: block;
  width: 100%;
  height: 100%;
}

.flag-chip.ferry-chip {
  width: 24px;
}

.route-summary-feature {
  margin: 0;
}

.bridge-compare-actions {
  margin-top: 2px;
}

.bridge-compare-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.bridge-compare-select {
  width: 100%;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(15, 66, 87, 0.18);
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  outline: none;
}

.bridge-compare-note {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

.route-ladder {
  position: relative;
  padding-top: 6px;
}

.google-map-shell {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
}

.google-map-canvas {
  width: 100%;
  min-height: 260px;
}

.map-provider-note {
  margin: 10px 0 0;
  line-height: 1.6;
  color: var(--muted);
}

.traffic-map-section {
  gap: 10px;
}

.traffic-map-meta {
  padding: 0 2px;
}

.traffic-map-route-name,
.traffic-map-corridor-meta {
  margin: 0;
}

.traffic-map-route-name {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
}

.traffic-map-corridor-meta {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

.traffic-map-fallback {
  gap: 8px;
  padding: 14px 16px;
}

.traffic-map-fallback p {
  margin: 0;
}

.route-line {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 13px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--teal-300), rgba(138, 209, 255, 0.3));
}

.map-node {
  position: relative;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
}

.map-node-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  display: inline-block;
  position: relative;
  z-index: 1;
}

.map-node.is-primary .map-node-dot {
  background: var(--teal-300);
  border-color: rgba(83, 208, 194, 0.4);
  box-shadow: 0 0 18px rgba(83, 208, 194, 0.42);
}

.map-node-copy {
  padding: 2px 0 10px;
}

.map-node-copy h4 {
  font-size: 16px;
  margin-bottom: 5px;
}

.install-copy {
  display: grid;
  gap: 10px;
}

@media (max-width: 980px) {
  .hero,
  .prototype-grid {
    grid-template-columns: 1fr;
  }

  .phone-shell {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  body {
    padding: 18px 14px 28px;
  }

  .hero h1 {
    font-size: clamp(34px, 11vw, 44px);
    line-height: 0.94;
  }

  .brand-title-row {
    align-items: flex-end;
    gap: 10px;
  }

  .brand-title-row h1 {
    flex: 1 1 0;
    min-width: 0;
  }

  .hero-market-card-inline {
    width: min(100%, 164px);
    padding: 10px 12px;
  }

  .hero-market-select {
    min-height: 38px;
    padding: 0 12px;
    font-size: 14px;
  }

  .hero-copy {
    font-size: 18px;
    line-height: 1.18;
    margin-top: 2px;
    max-width: none;
  }

  .hero-info-row {
    margin-top: 8px;
  }

  .hero-description-box {
    padding: 14px 15px;
  }

  .hero-description-box p {
    font-size: 14px;
    line-height: 1.5;
  }

  .hero-action-note {
    font-size: 13px;
  }
}

@media (min-width: 981px) {
  .hero-info-row {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    max-width: 100%;
  }

  .hero-tool-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .phone-shell {
    width: 100%;
    min-height: auto;
    max-width: none;
  }

  .hero-actions {
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-action-notes {
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tab-panel {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .camera-card,
  .location-card {
    height: 100%;
  }

  .subsection {
    grid-column: 1 / -1;
  }

  .next-up-list,
  .official-camera-list {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .next-camera-card,
  .official-card {
    height: 100%;
  }
}
