:root {
  color-scheme: light;
  --ink: #16303a;
  --muted: #63757d;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --line: #dce4e1;
  --blue: #143a4a;
  --sea: #26777a;
  --rose: #b9565e;
  --sun: #e0b35a;
  --shadow: 0 12px 30px rgba(20, 58, 74, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(224, 179, 90, 0.12), transparent 280px),
    var(--paper);
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

.app-shell {
  min-height: 100svh;
  padding-bottom: calc(80px + env(safe-area-inset-bottom));
}

.hero {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: var(--blue);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 28% center;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 24, 31, 0.1), rgba(9, 24, 31, 0.65)),
    linear-gradient(90deg, rgba(9, 24, 31, 0.42), transparent 65%);
}

.connection-status {
  position: absolute;
  z-index: 2;
  top: calc(14px + env(safe-area-inset-top));
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: white;
  background: rgba(9, 24, 31, 0.58);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(12px);
  font-size: 0.75rem;
  font-weight: 800;
}

.connection-status > span:first-child {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #8ee3bd;
  box-shadow: 0 0 0 3px rgba(142, 227, 189, 0.18);
}

.connection-status.is-offline > span:first-child {
  background: var(--sun);
  box-shadow: 0 0 0 3px rgba(224, 179, 90, 0.2);
}

.hero__content {
  position: relative;
  display: flex;
  min-height: 320px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 20px 32px;
  color: white;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.35);
}

.eyebrow,
.section-heading p,
.card > p,
.result > p {
  margin: 0;
  color: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 640px;
  margin: 6px 0 8px;
  font-size: clamp(2.2rem, 10vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero p:last-child {
  max-width: 470px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
}

main {
  width: min(100%, 1040px);
  margin: 0 auto;
}

.search-panel {
  position: sticky;
  top: 0;
  z-index: 4;
  padding: 14px 14px 10px;
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(220, 228, 225, 0.75);
}

.search-panel label {
  display: block;
  margin: 0 0 8px 4px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.ask-box {
  display: grid;
  gap: 8px;
}

.ask-input {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 8px 20px rgba(20, 58, 74, 0.08);
}

.ask-input > span {
  color: var(--sea);
  font-size: 1.2rem;
  font-weight: 900;
}

.ask-input input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  font-size: 1rem;
}

.ask-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.ask-actions button {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  font-weight: 900;
}

#clearSearch {
  min-width: 74px;
  padding: 0 12px;
  background: #edf4f2;
  color: var(--blue);
  font-size: 0.82rem;
}

#askButton {
  padding: 0 16px;
  background: var(--blue);
  color: white;
  font-size: 0.88rem;
}

.ask-actions button[hidden] {
  display: none;
}

.view,
.results {
  display: none;
  padding: 22px 14px 4px;
}

.view.is-active,
.results:not([hidden]) {
  display: block;
}

.section-heading {
  margin: 0 0 14px;
}

.section-heading p {
  color: var(--rose);
}

.section-heading h2 {
  margin: 3px 0 0;
  font-size: 1.55rem;
  line-height: 1.1;
}

.grid,
.stack {
  display: grid;
  gap: 12px;
}

.grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}

.dashboard {
  display: grid;
  gap: 14px;
}

.dash-group {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.dash-group h3 {
  margin: 0;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: #f4f7f4;
  color: var(--blue);
  font-size: 1.02rem;
  line-height: 1.2;
}

.dash-row {
  display: grid;
  grid-template-columns: minmax(74px, 0.45fr) minmax(0, 1fr);
  gap: 4px 12px;
  padding: 13px 16px;
  border-top: 1px solid var(--line);
}

.dash-row:first-child {
  border-top: 0;
}

.dash-row p,
.dash-row strong,
.dash-row span {
  min-width: 0;
}

.dash-row p {
  grid-row: span 2;
  margin: 0;
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.dash-row strong {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.25;
}

.dash-row span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.32;
}

.inline-map-link {
  color: var(--sea);
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.route-card .inline-map-link {
  display: inline;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--sea);
}

.card,
.route,
.check-group,
.doc,
.result,
.empty {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.card {
  display: flex;
  min-height: 188px;
  flex-direction: column;
  padding: 16px;
}

.card > p,
.result > p {
  color: var(--sea);
}

.card h3,
.route h3,
.check-group h3,
.doc h3,
.result h3,
.empty h3 {
  margin: 4px 0 9px;
  font-size: 1.08rem;
  line-height: 1.2;
}

.card div,
.route p,
.doc p,
.result div,
.empty p {
  margin: 0;
  color: #354b52;
  font-size: 0.95rem;
  line-height: 1.45;
}

.card footer {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
}

.card footer span,
.doc-open-link {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #f2f6f5;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  text-decoration: none;
}

.app-list {
  display: grid;
  gap: 10px;
}

.app-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.app-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.app-card p,
.app-card h3,
.app-card span {
  margin: 0;
}

.app-card p {
  color: var(--sea);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.app-card h3 {
  margin-top: 3px;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.2;
}

.app-card span {
  display: block;
  margin-top: 5px;
  color: #435960;
  font-size: 0.9rem;
  line-height: 1.38;
}

.app-store-badge {
  display: grid;
  min-width: 96px;
  min-height: 42px;
  align-content: center;
  gap: 1px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #111;
  color: white;
  line-height: 1;
  text-align: left;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.app-store-badge span {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.56rem;
  font-weight: 700;
  line-height: 1;
}

.app-store-badge strong {
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1;
}

.app-card a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--blue);
  color: white;
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 390px) {
  .app-card-head {
    grid-template-columns: 1fr;
  }

  .app-store-badge {
    width: max-content;
  }
}

.map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.dash-row .map-links,
.dash-actions {
  grid-column: 2;
  margin-top: 2px;
}

.dash-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.map-links a,
.dash-actions a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  max-width: 100%;
  padding: 4px 8px;
  border: 1px solid rgba(38, 119, 122, 0.18);
  border-radius: 999px;
  background: rgba(38, 119, 122, 0.08);
  color: var(--sea);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
}

.map-links a::before,
.dash-map-link::before {
  content: "↗";
  font-size: 0.8rem;
}

.map-links span {
  overflow: hidden;
  max-width: 170px;
  color: var(--muted);
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dash-doc-link::before {
  content: "Doc";
  color: var(--rose);
  font-size: 0.7rem;
}

.dash-app-link::before {
  content: "App";
  color: var(--blue);
  font-size: 0.7rem;
}

.dash-map-link span {
  overflow: hidden;
  max-width: 170px;
  color: var(--muted);
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.timeline {
  position: relative;
  display: grid;
  gap: 10px;
  min-width: 0;
}

.day {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.day > div {
  min-width: 0;
}

.day-top {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.day-thumb {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border: 1px solid rgba(220, 228, 225, 0.9);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 6px 14px rgba(20, 58, 74, 0.12);
}

.day time {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(185, 86, 94, 0.1);
  color: var(--rose);
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.2;
}

.day h3 {
  margin: 0 0 5px;
  font-size: 1rem;
}

.day p {
  margin: 0;
  color: #354b52;
  font-size: 0.93rem;
  line-height: 1.42;
}

.day-agenda {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.day-agenda section {
  display: grid;
  grid-template-columns: minmax(74px, 0.34fr) minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
}

.day-agenda strong {
  color: var(--sea);
  font-size: 0.78rem;
  line-height: 1.25;
}

.day-agenda p {
  min-width: 0;
  color: #435960;
  font-size: 0.88rem;
}

.transit-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin: 0 2px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1;
  vertical-align: 0.08em;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(20, 58, 74, 0.12);
}

.transit-badge--rer {
  color: white;
  background: #1976bc;
}

.route-card {
  margin-top: 12px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(185, 86, 94, 0.22);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(185, 86, 94, 0.07), rgba(255, 255, 255, 0.82));
}

.route-card p,
.route-card h4,
.route-card span {
  margin: 0;
}

.route-card p {
  color: var(--rose);
  font-size: 0.73rem;
  font-weight: 900;
  text-transform: uppercase;
}

.route-card h4 {
  margin-top: 3px;
  color: var(--ink);
  font-size: 0.98rem;
}

.route-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.3;
}

.route-card ol {
  display: flex;
  gap: 6px;
  max-width: 100%;
  margin: 12px 0;
  padding: 0;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: thin;
}

.route-card li {
  position: relative;
  flex: 0 0 auto;
  min-width: 94px;
  padding: 9px 9px 9px 18px;
  border-radius: 8px;
  background: white;
  color: #435960;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.15;
  box-shadow: 0 4px 10px rgba(20, 58, 74, 0.08);
}

.route-card li::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rose);
}

.route-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.route-card a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--blue);
  color: white;
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
}

.route-card--sita a:last-child {
  background: var(--sea);
}

.route-card--sita {
  border-color: rgba(38, 119, 122, 0.24);
  background: linear-gradient(180deg, rgba(38, 119, 122, 0.08), rgba(255, 255, 255, 0.86));
}

.route-card--sita p {
  color: var(--sea);
}

.route-card--sita li::before {
  background: var(--sea);
}

.route-card--pickup-alert {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  border-color: rgba(185, 86, 94, 0.32);
  background: linear-gradient(135deg, rgba(185, 86, 94, 0.12), rgba(224, 179, 90, 0.13) 58%, rgba(255, 255, 255, 0.92));
}

.route-card--pickup-alert p {
  color: var(--rose);
}

.pickup-alert-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--rose);
  color: white;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(185, 86, 94, 0.2);
}

.ticket-card {
  display: grid;
  justify-items: start;
  gap: 12px;
  min-width: 0;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(20, 58, 74, 0.18);
  border-radius: 8px;
  background: #f7fbfa;
}

.ticket-card p,
.ticket-card h4,
.ticket-card span {
  margin: 0;
}

.ticket-card p {
  color: var(--blue);
  font-size: 0.73rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ticket-card h4 {
  margin-top: 3px;
  color: var(--ink);
  font-size: 0.98rem;
}

.ticket-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.32;
}

.ticket-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.attraction-badge {
  display: inline-grid;
  min-width: 82px;
  min-height: 42px;
  place-items: center;
  padding: 8px 10px;
  border-radius: 8px;
  color: white;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  box-shadow: 0 8px 18px rgba(20, 58, 74, 0.16);
}

.attraction-badge--tour {
  background: #b9565e;
}

.attraction-badge--museum {
  background: #1c4c35;
}

.attraction-badge--palace {
  background: #8a6f22;
}

.ticket-card img {
  width: min(190px, 72vw);
  height: auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  image-rendering: pixelated;
}

.ticket-card--wide img {
  width: min(100%, 560px);
}

.ticket-demo-placeholder {
  display: grid;
  width: min(100%, 560px);
  min-height: 88px;
  place-items: center;
  padding: 16px;
  border: 1px dashed rgba(20, 58, 74, 0.28);
  border-radius: 8px;
  color: #52646c;
  background: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
  font-weight: 700;
  text-align: center;
}

.ticket-card-details {
  margin: 2px 0 4px;
}

.ticket-card-passes {
  display: grid;
  gap: 8px;
}

.ticket-card-passes p {
  color: var(--rose);
}

.ticket-card-passes img {
  width: min(100%, 180px);
}

.ticket-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ticket-card a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--blue);
  color: white;
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
}

.ticket-card a:last-child {
  background: var(--rose);
}

.booking-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(185, 86, 94, 0.2);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(185, 86, 94, 0.07), rgba(255, 255, 255, 0.88));
}

.booking-card p,
.booking-card h4,
.booking-card span {
  margin: 0;
}

.booking-card p {
  color: var(--rose);
  font-size: 0.73rem;
  font-weight: 900;
  text-transform: uppercase;
}

.booking-card h4 {
  margin-top: 3px;
  color: var(--ink);
  font-size: 0.98rem;
}

.booking-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.32;
}

.booking-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.booking-card a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--rose);
  color: white;
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
}

.booking-card a:last-child {
  background: var(--blue);
}

.route-card--bolt {
  border-color: rgba(20, 58, 74, 0.22);
  background: linear-gradient(180deg, rgba(224, 179, 90, 0.1), rgba(255, 255, 255, 0.88));
}

.route-card--bolt p {
  color: var(--blue);
}

.bolt-badge {
  display: inline-grid;
  min-width: 72px;
  min-height: 42px;
  place-items: center;
  padding: 8px 10px;
  border-radius: 8px;
  background: #34d186;
  color: #071b12;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(52, 209, 134, 0.2);
}

.route-card--flight {
  border-color: rgba(255, 102, 0, 0.28);
  background: linear-gradient(180deg, rgba(255, 102, 0, 0.09), rgba(255, 255, 255, 0.9));
}

.route-card--flight p {
  color: #d85600;
}

.flight-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.easyjet-badge {
  display: inline-grid;
  min-width: 78px;
  min-height: 42px;
  place-items: center;
  padding: 8px 10px;
  border-radius: 8px;
  background: #ff6600;
  color: white;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(255, 102, 0, 0.2);
}

.route-card--flight .ride-details dt {
  color: #d85600;
}

.route-card--delta {
  border-color: rgba(0, 49, 111, 0.24);
  background: linear-gradient(180deg, rgba(0, 49, 111, 0.08), rgba(255, 255, 255, 0.9));
}

.route-card--delta p,
.route-card--delta .ride-details dt {
  color: #00316f;
}

.delta-badge {
  display: inline-grid;
  min-width: 76px;
  min-height: 42px;
  place-items: center;
  padding: 8px 10px;
  border-radius: 8px;
  background: linear-gradient(135deg, #c8102e 0 42%, #00316f 42% 100%);
  color: white;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(0, 49, 111, 0.18);
}

.route-card--lyft {
  border-color: rgba(255, 0, 191, 0.24);
  background: linear-gradient(180deg, rgba(255, 0, 191, 0.07), rgba(255, 255, 255, 0.9));
}

.route-card--lyft p,
.route-card--lyft .ride-details dt {
  color: #c60093;
}

.route-card--versailles {
  border-color: rgba(138, 111, 34, 0.25);
  background: linear-gradient(180deg, rgba(224, 179, 90, 0.12), rgba(255, 255, 255, 0.9));
}

.route-card--versailles p,
.route-card--versailles .ride-details dt {
  color: #8a6f22;
}

.route-card--stay {
  border-color: rgba(20, 58, 74, 0.18);
  background: linear-gradient(180deg, rgba(244, 247, 244, 0.95), rgba(255, 255, 255, 0.9));
}

.route-card--stay p,
.route-card--stay .ride-details dt {
  color: var(--sea);
}

.stay-badge {
  display: inline-grid;
  min-width: 76px;
  min-height: 42px;
  place-items: center;
  padding: 8px 10px;
  border-radius: 8px;
  color: white;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  box-shadow: 0 8px 18px rgba(20, 58, 74, 0.14);
}

.stay-badge--airbnb {
  background: #ff385c;
}

.stay-badge--booking {
  min-width: 96px;
  background: #003b95;
}

.stay-badge--moxy {
  background: #111;
  color: #f04e98;
  font-size: 1rem;
  text-transform: uppercase;
}

.lyft-badge {
  display: inline-grid;
  min-width: 72px;
  min-height: 42px;
  place-items: center;
  padding: 8px 10px;
  border-radius: 8px;
  background: #ff00bf;
  color: white;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(255, 0, 191, 0.2);
}

.ride-details {
  display: grid;
  gap: 7px;
  min-width: 0;
  margin: 12px 0;
}

.ride-details div {
  display: grid;
  grid-template-columns: minmax(92px, 0.38fr) minmax(0, 1fr);
  gap: 8px;
  min-width: 0;
  padding: 8px 0;
  border-top: 1px solid rgba(20, 58, 74, 0.1);
}

.ride-details div:first-child {
  border-top: 0;
}

.ride-details dt,
.ride-details dd {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.3;
}

.ride-details dt {
  color: var(--sea);
  font-weight: 900;
}

.ride-details dd {
  min-width: 0;
  color: #435960;
}

.confirm-links {
  margin-top: 12px;
  min-width: 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.confirm-links p {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 900;
  text-transform: uppercase;
}

.confirm-links div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.confirm-links a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(20, 58, 74, 0.14);
  border-radius: 8px;
  background: white;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(20, 58, 74, 0.07);
}

.confirm-links a::before {
  content: "Doc";
  margin-right: 6px;
  color: var(--rose);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.route,
.doc,
.result,
.empty {
  padding: 16px;
}

.check-group {
  overflow: hidden;
}

.check-group header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: #f4f7f4;
}

.check-group header > div {
  min-width: 0;
}

.check-group header .map-links {
  margin-top: 7px;
}

.check-group header h3,
.check-group header p {
  margin: 0;
}

.check-group header p {
  color: var(--sea);
  font-weight: 900;
}

.check {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 16px;
  border-top: 1px solid var(--line);
}

.check input {
  width: 22px;
  height: 22px;
  accent-color: var(--sea);
}

.check span {
  line-height: 1.25;
}

.check input:checked + span {
  color: var(--muted);
  text-decoration: line-through;
}

.doc-open-link {
  margin-top: 12px;
}

.doc-title-link {
  color: inherit;
  text-decoration: none;
}

.doc-title-link:active,
.doc-title-link:focus-visible,
.doc-open-link:active,
.doc-open-link:focus-visible {
  outline: 3px solid rgba(38, 119, 122, 0.28);
  outline-offset: 2px;
}

.doc-open-link::after {
  content: "↗";
  margin-left: 6px;
}

.result {
  margin-bottom: 10px;
  box-shadow: none;
}

.answer-card {
  margin-bottom: 12px;
  padding: 16px;
  border: 1px solid rgba(38, 119, 122, 0.22);
  border-radius: 8px;
  background: #f7fbfa;
  box-shadow: var(--shadow);
}

.answer-card > p,
.answer-source > p {
  margin: 0;
  color: var(--sea);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.answer-card h3 {
  margin: 4px 0 10px;
  font-size: 1.1rem;
  line-height: 1.22;
}

.answer-question {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: white;
  color: #354b52;
  font-size: 0.9rem;
  font-weight: 750;
}

.answer-source {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.answer-source h4 {
  margin: 3px 0 8px;
  font-size: 1rem;
}

.answer-source div {
  color: #354b52;
  font-size: 0.95rem;
  line-height: 1.45;
}

.tabbar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
}

.tabbar button {
  display: grid;
  grid-template-rows: 26px 14px;
  place-items: center;
  align-content: center;
  gap: 1px;
  min-width: 0;
  min-height: 54px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 850;
}

.tabbar svg {
  display: block;
  width: 24px;
  height: 24px;
  color: inherit;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tabbar button.is-active {
  background: var(--blue);
  color: white;
}

@media (min-width: 760px) {
  .hero,
  .hero__content {
    min-height: 430px;
  }

  .hero__content {
    padding: 48px 36px;
  }

  .hero img {
    object-position: center center;
  }

  .search-panel,
  .view,
  .results {
    padding-right: 24px;
    padding-left: 24px;
  }

  .day {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .dash-group:nth-child(5) {
    grid-column: span 2;
  }

  .tabbar {
    left: 50%;
    width: min(720px, calc(100% - 28px));
    transform: translateX(-50%);
    border: 1px solid var(--line);
    border-radius: 12px 12px 0 0;
  }
}
