:root {
  color-scheme: light;
  --app-height: 100dvh;
  --visual-viewport-height: 100dvh;
  --visual-viewport-offset-top: 0px;
  --keyboard-offset: 0px;
  --page: #f2f5f8;
  --page-top: #f8fafc;
  --bg: var(--page);
  --bg-gradient-top: var(--page-top);
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --surface-soft: #f5f7fa;
  --surface-tint: #edf3f9;
  --ink: #1b2733;
  --muted: #657382;
  --faint: #8b97a3;
  --line: #e0e6ed;
  --line-strong: #ccd5df;
  --accent: #477eaf;
  --accent-hover: #376b9a;
  --accent-soft: #e8f0f8;
  --accent-ink: #ffffff;
  --danger: #bd3d3a;
  --warning: #98640b;
  --success: var(--accent);
  --overlay: rgba(20, 24, 28, 0.52);
  --shadow-sm: 0 2px 8px rgba(24, 30, 34, 0.06);
  --shadow-md: 0 12px 32px rgba(24, 30, 34, 0.09);
  --shadow-lg: 0 28px 80px rgba(14, 18, 22, 0.2);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --content-width: 1240px;
  --focus-ring: 0 0 0 3px color-mix(in srgb, var(--accent) 24%, transparent);
  --header-surface-a: color-mix(in srgb, var(--accent) 62%, #18212b);
  --header-surface-b: color-mix(in srgb, var(--accent) 42%, #101720);
  --page-pattern: repeating-linear-gradient(
    135deg,
    transparent 0 46px,
    color-mix(in srgb, var(--accent) 6%, transparent) 46px 47px
  );
  --page-pattern-size: auto;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--page);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root[data-theme="light"] {
  color-scheme: light;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #111a16;
  --page-top: #17221c;
  --bg: var(--page);
  --bg-gradient-top: var(--page-top);
  --surface: #1b2821;
  --surface-raised: #202f27;
  --surface-soft: #24342b;
  --surface-tint: #20392c;
  --ink: #edf5ef;
  --muted: #b0bfb5;
  --faint: #899b8f;
  --line: #34473b;
  --line-strong: #496052;
  --accent: #79a9d5;
  --accent-hover: #94bce0;
  --accent-soft: #25384c;
  --accent-ink: #111a23;
  --danger: #ff817c;
  --warning: #f2c66e;
  --overlay: rgba(0, 0, 0, 0.68);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.18);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.24);
  --shadow-lg: 0 28px 80px rgba(0, 0, 0, 0.48);
  --focus-ring: 0 0 0 3px rgba(84, 200, 137, 0.26);
}

:root[data-color-theme="blue"] {
  --accent: #2875c7;
  --accent-hover: #1f5fa5;
  --accent-soft: #e7f1fc;
  --page-pattern: radial-gradient(
    circle,
    color-mix(in srgb, var(--accent) 8%, transparent) 1.2px,
    transparent 1.6px
  );
  --page-pattern-size: 28px 28px;
}

:root[data-color-theme="green"] {
  --accent: #07884f;
  --accent-hover: #066c40;
  --accent-soft: #e4f3ea;
  --page-pattern-size: 48px 48px;
  --page-pattern: repeating-linear-gradient(
    90deg,
    transparent 0 34px,
    color-mix(in srgb, var(--accent) 7%, transparent) 34px 35px
  );
}

:root[data-color-theme="yellow"] {
  --accent: #b07800;
  --accent-hover: #8e6000;
  --accent-soft: #fbf2d9;
  --page-pattern: radial-gradient(
    circle at 50% 50%,
    transparent 0 7px,
    color-mix(in srgb, var(--accent) 5%, transparent) 7.5px 8.5px,
    transparent 9px
  );
  --page-pattern-size: 44px 44px;
}

:root[data-color-theme="orange"] {
  --accent: #c35a18;
  --accent-hover: #9e4814;
  --accent-soft: #fcece2;
  --page-pattern-size: 56px 56px;
  --page-pattern: repeating-linear-gradient(
    45deg,
    transparent 0 20px,
    color-mix(in srgb, var(--accent) 7%, transparent) 20px 21px,
    transparent 21px 40px
  );
}

:root[data-color-theme="red"] {
  --accent: #c23f48;
  --accent-hover: #9f3038;
  --accent-soft: #f9e8e9;
  --page-pattern: repeating-conic-gradient(
    from 15deg at 50% 50%,
    transparent 0deg 28deg,
    color-mix(in srgb, var(--accent) 3.5%, transparent) 28deg 29deg,
    transparent 29deg 60deg
  );
  --page-pattern-size: 64px 64px;
}

:root[data-color-theme="purple"] {
  --accent: #7652ba;
  --accent-hover: #5e4097;
  --accent-soft: #f0eafd;
  --page-pattern:
    repeating-linear-gradient(
      45deg,
      transparent 0 30px,
      color-mix(in srgb, var(--accent) 4%, transparent) 30px 31px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent 0 30px,
      color-mix(in srgb, var(--accent) 4%, transparent) 30px 31px
    );
  --page-pattern-size: 84px 84px, 84px 84px;
}

:root[data-color-theme="classic"] {
  --accent: #426f91;
  --accent-hover: #315a78;
  --accent-soft: #e9f0f5;
  --accent-ink: #ffffff;
  --warning: #987638;
  --header-surface-a: #304f6b;
  --header-surface-b: #263f56;
  --page-pattern:
    linear-gradient(
      0deg,
      transparent calc(100% - 1px),
      color-mix(in srgb, var(--accent) 3%, transparent) 100%
    ),
    linear-gradient(
      90deg,
      transparent calc(100% - 1px),
      color-mix(in srgb, var(--accent) 3%, transparent) 100%
    ),
    radial-gradient(
      circle,
      color-mix(in srgb, #c6a24f 5%, transparent) 1px,
      transparent 1.5px
    );
  --page-pattern-size: 80px 80px, 80px 80px, 32px 32px;
}

:root[data-color-theme="classic"] .card h2 {
  border-left-color: #c6a24f;
}

:root[data-color-theme="classic"] .header-visual-kicker {
  color: #ead79f;
}


:root[data-theme="dark"] {
  --page: color-mix(in srgb, var(--accent) 10%, #101317);
  --page-top: color-mix(in srgb, var(--accent) 14%, #171a1f);
  --surface: color-mix(in srgb, var(--accent) 6%, #1b1e24);
  --surface-raised: color-mix(in srgb, var(--accent) 8%, #20232a);
  --surface-soft: color-mix(in srgb, var(--accent) 13%, #24272e);
  --surface-tint: color-mix(in srgb, var(--accent) 21%, #20232a);
  --ink: color-mix(in srgb, var(--accent) 3%, #f0f1f3);
  --line: color-mix(in srgb, var(--accent) 24%, #343840);
  --line-strong: color-mix(in srgb, var(--accent) 32%, #494d56);
  --muted: color-mix(in srgb, var(--accent) 9%, #b0b3ba);
  --faint: color-mix(in srgb, var(--accent) 8%, #898d96);
  --accent-soft: color-mix(in srgb, var(--accent) 22%, #20232a);
  --accent-ink: #111a23;
  --focus-ring: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent);
  --header-surface-a: color-mix(in srgb, var(--accent) 62%, #171a20);
  --header-surface-b: color-mix(in srgb, var(--accent) 42%, #101317);
}

:root[data-color-theme] {
  --page: color-mix(in srgb, var(--accent) 8%, #f3f5f7);
  --page-top: color-mix(in srgb, var(--accent) 5%, #ffffff);
  --surface: color-mix(in srgb, var(--accent) 3%, #ffffff);
  --surface-raised: color-mix(in srgb, var(--accent) 4%, #ffffff);
  --surface-soft: color-mix(in srgb, var(--accent) 12%, #f5f6f8);
  --surface-tint: color-mix(in srgb, var(--accent) 19%, #ffffff);
  --ink: color-mix(in srgb, var(--accent) 4%, #20242a);
  --line: color-mix(in srgb, var(--accent) 19%, #dfe3e8);
  --line-strong: color-mix(in srgb, var(--accent) 27%, #cbd1d8);
  --muted: color-mix(in srgb, var(--accent) 10%, #627078);
  --faint: color-mix(in srgb, var(--accent) 8%, #899197);
}

:root[data-theme="dark"][data-color-theme],
:root:not([data-theme])[data-resolved-theme="dark"][data-color-theme] {
  --page: color-mix(in srgb, var(--accent) 10%, #101317);
  --page-top: color-mix(in srgb, var(--accent) 14%, #171a1f);
  --surface: color-mix(in srgb, var(--accent) 6%, #1b1e24);
  --surface-raised: color-mix(in srgb, var(--accent) 8%, #20232a);
  --surface-soft: color-mix(in srgb, var(--accent) 13%, #24272e);
  --surface-tint: color-mix(in srgb, var(--accent) 21%, #20232a);
  --ink: color-mix(in srgb, var(--accent) 3%, #f0f1f3);
  --line: color-mix(in srgb, var(--accent) 24%, #343840);
  --line-strong: color-mix(in srgb, var(--accent) 32%, #494d56);
  --muted: color-mix(in srgb, var(--accent) 9%, #b0b3ba);
  --faint: color-mix(in srgb, var(--accent) 8%, #898d96);
  --accent-soft: color-mix(in srgb, var(--accent) 22%, #20232a);
  --header-surface-a: color-mix(in srgb, var(--accent) 62%, #171a20);
  --header-surface-b: color-mix(in srgb, var(--accent) 42%, #101317);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --page: color-mix(in srgb, var(--accent) 10%, #101317);
    --page-top: color-mix(in srgb, var(--accent) 14%, #171a1f);
    --surface: color-mix(in srgb, var(--accent) 6%, #1b1e24);
    --surface-raised: color-mix(in srgb, var(--accent) 8%, #20232a);
    --surface-soft: color-mix(in srgb, var(--accent) 13%, #24272e);
    --surface-tint: color-mix(in srgb, var(--accent) 21%, #20232a);
    --ink: color-mix(in srgb, var(--accent) 3%, #f0f1f3);
    --muted: color-mix(in srgb, var(--accent) 9%, #b0b3ba);
    --faint: color-mix(in srgb, var(--accent) 8%, #898d96);
    --line: color-mix(in srgb, var(--accent) 17%, #343840);
    --line-strong: color-mix(in srgb, var(--accent) 23%, #494d56);
    --accent-ink: #111a23;
    --danger: #ff817c;
    --warning: #f2c66e;
    --overlay: rgba(0, 0, 0, 0.68);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.18);
    --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.24);
    --shadow-lg: 0 28px 80px rgba(0, 0, 0, 0.48);
    --focus-ring: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent);
    --header-surface-a: color-mix(in srgb, var(--accent) 62%, #171a20);
    --header-surface-b: color-mix(in srgb, var(--accent) 42%, #101317);
  }
}

:root[data-color-theme="classic"] .card h2 {
  border-left-color: #c6a24f;
}

:root[data-color-theme="classic"] .header-visual-kicker {
  color: #ead79f;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 0;
  min-height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 0;
  min-height: 100vh;
  min-height: var(--app-height);
  margin: 0;
  background:
    var(--page-pattern),
    radial-gradient(ellipse at 12% 0%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 34rem),
    linear-gradient(180deg, var(--page-top), var(--page) 34rem);
  background-size: var(--page-pattern-size), auto, auto;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
  overflow-x: hidden;
  transition: background-color 180ms ease, color 180ms ease;
}

body,
button,
input,
select,
textarea {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
}

body.menu-open,
body.more-open,
body.favoritesPanelOpen,
body.pdf-modal-open,
body.overlay-open,
body.offline-active,
body.dashboard-setup-open,
body.dashboard-open,
body.funny-open {
  overflow: hidden;
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  font-size: inherit;
}

button {
  color: inherit;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 0;
  box-shadow: var(--focus-ring);
}

a {
  color: var(--accent);
}

h1,
h2,
h3,
h4,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-family: "Sora", "Source Sans 3", "Segoe UI", sans-serif;
  line-height: 1.22;
}

p {
  margin-top: 0;
}

[hidden],
.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.app-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: var(--app-height);
  visibility: visible;
}

.container {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  width: min(var(--content-width), calc(100% - 48px));
  margin-inline: auto;
  padding: 28px 0 32px;
}

.container > .tracking-status-banner,
.container > .header-bar,
.container > .home-gtfs-map-panel,
.container > .dashboard-panel,
.container > .results-wrap,
.container > footer {
  margin-block: 0;
}

.container > footer {
  margin-top: auto;
}

.tracking-status-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 12px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--ink);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.tracking-status-banner__text {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.5;
}

#trackingStatusBanner {
  border-color: color-mix(in srgb, var(--warning) 30%, var(--line));
  background: color-mix(in srgb, var(--warning) 9%, var(--surface));
  color: var(--warning);
}

#photoDelayBanner {
  border-color: var(--line-strong);
  background: var(--accent-soft);
  color: var(--accent);
}

.header-bar {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.85fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 20px;
}

.header-intro,
.header-side {
  min-width: 0;
}

.header-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.title-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.title-home-logo {
  display: block;
  flex: 0 0 auto;
  width: clamp(38px, 5vw, 52px);
  height: clamp(38px, 5vw, 52px);
  object-fit: contain;
}

.title-home-btn h1 {
  min-width: 0;
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.065em;
}

.header-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.search-shell {
  position: relative;
  z-index: 5;
  width: 100%;
  margin-top: 8px;
}

.search-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: 100%;
}

.search-row input,
.suggestion-input-shell input,
.halte-module-form input,
.pdf-modal input,
.pdf-modal select,
.settings-card select,
.dashboard-tv-setting select,
.dashboard-setup-grid input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  line-height: 1.35;
  box-shadow: inset 0 1px 2px rgba(24, 30, 34, 0.025);
}

input::placeholder,
textarea::placeholder {
  color: var(--faint);
  opacity: 1;
}

.search-row input {
  min-height: 54px;
  padding-inline: 17px;
  border-radius: 14px;
  font-size: 1rem;
}

.search-row input:focus,
.suggestion-input-shell input:focus,
.halte-module-form input:focus,
.pdf-modal input:focus,
.pdf-modal select:focus,
.settings-card select:focus,
.dashboard-tv-setting select:focus,
.dashboard-setup-grid input:focus {
  border-color: var(--accent);
  outline: 0;
  box-shadow: var(--focus-ring);
}

#searchBtn {
  display: inline-grid;
  flex: 0 0 54px;
  place-items: center;
  min-height: 54px;
  border: 0;
  border-radius: 14px;
  background: var(--accent);
  color: var(--accent-ink);
  cursor: pointer;
  transition: background 150ms ease, transform 150ms ease;
}

#searchBtn:hover {
  background: var(--accent-hover);
}

#searchBtn:active,
.btn:active,
.header-actions button:active {
  transform: translateY(1px);
}

.search-btn-icon {
  width: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

#suggestielijst,
.inline-suggestion-list,
.floating-suggestion-list,
.primary-suggestion-list {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  max-height: min(360px, 55vh);
  margin: 0;
  padding: 6px;
  overflow: auto;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-raised);
  box-shadow: var(--shadow-md);
}

#suggestielijst li,
.vehicle-suggestion-item,
.halte-suggestion-item {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 42px;
  padding: 9px 11px;
  border-radius: 9px;
  color: var(--ink);
  cursor: pointer;
  overflow-wrap: anywhere;
}

#suggestielijst li:hover,
.vehicle-suggestion-item:hover,
.halte-suggestion-item:hover,
.vehicle-suggestion-item.is-active,
.halte-suggestion-item.is-active {
  background: var(--accent-soft);
}

.primary-suggestion-list {
  padding: 8px;
  border-color: var(--line-strong);
  border-radius: 16px;
  background: var(--surface-raised);
  box-shadow: 0 16px 40px color-mix(in srgb, #101820 18%, transparent);
}

.floating-suggestion-list {
  position: fixed;
  z-index: 1200;
}

.vehicle-map-popup-shell .leaflet-popup-content-wrapper,
.home-gtfs-map-popup-shell .leaflet-popup-content-wrapper {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface-raised);
  box-shadow: var(--shadow-md);
}

.vehicle-map-popup-shell .leaflet-popup-content,
.home-gtfs-map-popup-shell .leaflet-popup-content {
  width: min(280px, calc(100vw - 48px)) !important;
  max-width: calc(100vw - 48px);
  margin: 0;
}

.vehicle-map-popup-shell .leaflet-popup-tip,
.home-gtfs-map-popup-shell .leaflet-popup-tip {
  background: var(--surface-raised);
}

.vehicle-map-popup {
  display: grid;
  gap: 10px;
  padding: 13px;
  color: var(--ink);
  text-decoration: none;
}

.vehicle-map-popup:hover,
.vehicle-map-popup:focus-visible {
  color: var(--ink);
  text-decoration: none;
}

.vehicle-map-popup-head {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 2px;
  font-size: 1rem;
}

.vehicle-map-popup-head > strong {
  overflow-wrap: anywhere;
}

.vehicle-map-popup-row {
  display: grid;
  grid-template-columns: minmax(72px, auto) minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  min-width: 0;
  font-size: 0.82rem;
  line-height: 1.35;
}

.vehicle-map-popup-row > span {
  color: var(--muted);
}

.vehicle-map-popup-row > strong {
  min-width: 0;
  color: var(--ink);
  text-align: right;
  overflow-wrap: anywhere;
}

@media (max-width: 480px) {
  .vehicle-map-popup {
    gap: 8px;
    padding: 11px;
  }
}

.primary-suggestion-list .vehicle-suggestion-item {
  display: grid;
  grid-template-columns: minmax(68px, auto) minmax(0, 1fr);
  gap: 12px;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 11px;
  transition: background-color 140ms ease, border-color 140ms ease;
}

.primary-suggestion-list .vehicle-suggestion-primary {
  display: inline-flex;
  min-width: 68px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 4px 9px;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-hover);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: 0.015em;
  line-height: 1.15;
}

.primary-suggestion-list .vehicle-suggestion-secondary {
  min-width: 0;
  align-self: center;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.primary-suggestion-list .vehicle-suggestion-item:hover,
.primary-suggestion-list .vehicle-suggestion-item.is-active {
  border-color: color-mix(in srgb, var(--accent) 26%, var(--line));
  background: color-mix(in srgb, var(--accent-soft) 68%, var(--surface));
}

.primary-suggestion-list .vehicle-suggestion-item:hover .vehicle-suggestion-primary,
.primary-suggestion-list .vehicle-suggestion-item.is-active .vehicle-suggestion-primary {
  border-color: color-mix(in srgb, var(--accent) 34%, var(--line));
  background: var(--surface);
}

.header-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.menu-inline-search .header-side {
  gap: 0;
}

.header-actions {
  display: flex;
  justify-content: flex-end;
}

.favorites-top {
  flex: 0 0 auto;
  width: auto;
}

.menu-inline-search .search-menu-btn {
  min-width: 54px;
  min-height: 54px;
}

.header-actions button,
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.header-actions button:hover,
.icon-btn:hover {
  border-color: var(--line-strong);
  background: var(--surface-soft);
}

.more-toggle-icon {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.header-visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 174px);
  gap: 16px;
  flex: 1;
  align-items: center;
  min-height: 138px;
  padding: 24px 28px;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 83% 4%, color-mix(in srgb, var(--accent) 38%, transparent), transparent 32%),
    linear-gradient(135deg, var(--header-surface-a), var(--header-surface-b) 72%);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.header-visual-grid,
.header-visual-line,
.header-visual-orbit,
.header-visual-stop {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.header-visual-grid {
  inset: 0;
  opacity: 0.14;
  background-image: linear-gradient(rgba(255,255,255,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.25) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(115deg, transparent 16%, #000 100%);
}

.header-visual-line {
  top: 50%;
  right: -5%;
  width: 68%;
  height: 3px;
  transform: rotate(-24deg);
  background: rgba(255, 255, 255, 0.3);
}

.header-visual-orbit {
  right: -50px;
  bottom: -110px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 50%;
}

.header-visual-orbit--secondary {
  right: 12px;
  bottom: -155px;
  width: 270px;
  height: 270px;
}

.header-visual-stop {
  top: 28%;
  right: 34%;
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(255,255,255,.12);
}

.header-visual-stop--b {
  top: 64%;
  right: 18%;
}

.header-visual-stop--c {
  top: 18%;
  right: 10%;
}

.header-visual-copy {
  display: grid;
  min-width: 0;
  max-width: none;
  gap: 5px;
}

.header-visual-kicker {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-visual-copy strong {
  font-family: "Sora", "Source Sans 3", sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.35;
}

.header-visual-card {
  position: relative;
  inset: auto;
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: 90px;
  align-content: start;
  justify-items: start;
  gap: 8px;
  padding: 12px 13px;
  transform: rotate(-4deg);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.94);
  color: #17324a;
  box-shadow: 0 12px 28px rgba(12, 30, 43, 0.2);
  backdrop-filter: blur(8px);
  transform-origin: center;
}

.header-visual-card-route {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  max-width: 100%;
  padding: 4px 9px;
  overflow-wrap: anywhere;
  border: 1px solid var(--header-banner-line-border, #0072ce);
  border-radius: 6px;
  background: var(--header-banner-line-bg, #0072ce);
  color: var(--header-banner-line-fg, #ffffff);
  box-shadow: 0 0 0 1px var(--header-banner-line-outline, rgba(255, 255, 255, 0.58));
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.header-visual-card-destination {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 100%;
  color: #17324a;
  font-size: clamp(0.9rem, 1.25vw, 1.05rem);
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
  hyphens: auto;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.home-gtfs-map-panel,
.dashboard-panel,
.card,
.results-wrap,
footer {
  min-width: 0;
}

.home-gtfs-map-panel,
.dashboard-panel,
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.home-gtfs-map-panel {
  margin-bottom: 12px;
  padding: 18px;
}

.home-gtfs-map-head,
.dashboard-panel-header,
.compare-card-header,
.vehicle-photo-header,
.more-panel-header,
.pdf-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}

.home-gtfs-map-head {
  align-items: center;
  margin-bottom: 13px;
}

.home-gtfs-map-refresh-btn {
  display: inline-grid;
  flex: 0 0 44px;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--ink);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.home-gtfs-map-refresh-btn:hover:not(:disabled) {
  transform: rotate(-12deg);
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.home-gtfs-map-refresh-btn:focus-visible {
  outline: 0;
  box-shadow: var(--focus-ring);
}

.home-gtfs-map-refresh-btn:disabled {
  cursor: wait;
  background: var(--accent-soft);
}

.refresh-icon {
  display: block;
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.home-gtfs-map-refresh-btn:disabled .refresh-icon {
  animation: refresh-spin 900ms linear infinite;
}

@keyframes refresh-spin {
  to {
    transform: rotate(360deg);
  }
}

.home-gtfs-map-head h2,
.dashboard-panel-header h2,
.card h2,
.pdf-modal-header h3,
.more-panel-header h3 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.025em;
}

.home-gtfs-map-status {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.87rem;
}

.home-gtfs-map,
#map,
.dashboard-map {
  width: 100%;
  min-width: 0;
  height: clamp(260px, 38vw, 430px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

#map {
  height: 340px;
  margin-top: 16px;
}

.bus-div-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.bus-div-icon__img {
  display: block;
  width: 31px;
  height: 36px;
  object-fit: contain;
  transform-origin: center;
}

.dashboard-map-wrap {
  min-width: 0;
  margin-bottom: 16px;
}

.dashboard-map {
  height: min(58vh, 600px);
}

.results-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 44px;
  margin: 0 0 12px;
}

.results-wrap:not(.show) {
  display: none;
}

.close-btn,
.btn,
.settings-close-btn,
.photo-nav-btn,
#offlineRetryBtn,
.funny-modal-card button,
.pdf-modal-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  max-width: 100%;
  padding: 9px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.close-btn:hover,
.settings-close-btn:hover,
.photo-nav-btn:hover,
.pdf-modal-actions button:hover {
  background: var(--surface-soft);
  border-color: var(--line-strong);
}

.btn,
#searchBtn,
#offlineRetryBtn,
.funny-modal-card button,
.pdf-modal-actions .btn {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.btn:hover,
#offlineRetryBtn:hover,
.funny-modal-card button:hover,
.pdf-modal-actions .btn:hover {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
  color: var(--accent-ink);
}

.close-btn-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

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

.card {
  min-width: 0;
  padding: 16px;
  overflow: hidden;
}

.card h2 {
  margin: 0 0 18px;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
  font-family: "Sora", "Source Sans 3", sans-serif;
  font-size: clamp(1.12rem, 1.7vw, 1.35rem);
  letter-spacing: -0.035em;
  line-height: 1.25;
}

#staticVehicleCard,
#realtimeVehicleCard {
  align-self: stretch;
  border-color: var(--line-strong);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
}

#staticVehicleCard {
  background:
    linear-gradient(155deg, var(--surface-raised), var(--surface) 68%);
}

#realtimeVehicleCard {
  background:
    linear-gradient(155deg, var(--surface-raised), var(--surface) 74%);
}

.vehicle-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  margin: 0 0 10px;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line));
  border-radius: var(--radius-md);
  background: var(--surface-tint);
}

.voertuignummer-display {
  min-width: 0;
  margin: 0;
  color: var(--accent);
  font-family: "Sora", "Source Sans 3", sans-serif;
  font-size: clamp(1.65rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.vehicle-favorite-btn {
  display: inline-grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-left: auto;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: var(--surface);
  color: var(--muted);
  font-size: 1.45rem;
  cursor: pointer;
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease;
}

.vehicle-favorite-btn:hover,
.vehicle-favorite-btn.is-favorite {
  border-color: color-mix(in srgb, var(--accent) 38%, var(--line));
  background: var(--accent-soft);
  color: var(--accent);
}

.vehicle-type {
  display: inline-flex;
  max-width: 100%;
  margin: 0 0 16px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

#vasteData table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

#vasteData tr + tr th,
#vasteData tr + tr td {
  border-top: 1px solid var(--line);
}

#vasteData th,
#vasteData td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

#vasteData th {
  width: 42%;
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 0.84rem;
  font-weight: 700;
}

#vasteData td {
  color: var(--ink);
  font-weight: 600;
}

.hansea-number-display {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hansea-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.ig-btn-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}

.ig-btn-wrap .btn {
  min-height: 40px;
  padding: 8px 12px;
  font-size: 0.88rem;
}

.btn--instagram,
.btn--story {
  border-color: var(--line-strong);
  background: var(--surface-soft);
  color: var(--ink);
}

.btn--instagram:hover,
.btn--story:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.realtime-summary-card {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line));
  border-radius: var(--radius-md);
  background: var(--surface-tint);
}

.route-destination-row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.route-destination-row.route-link:hover .destination-text {
  color: var(--accent);
}

.line-badge {
  display: inline-flex;
  flex: 0 0 auto;
  min-width: 48px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 12px;
  background: var(--line-badge-bg, var(--accent));
  color: var(--line-badge-fg, var(--accent-ink));
  font-family: "Sora", "Source Sans 3", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
}

.destination-text {
  min-width: 0;
  font-family: "Sora", "Source Sans 3", sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.realtime-meta-stack {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.current-stop-row,
.realtime-block-id {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px;
  min-width: 0;
  padding: 7px 10px;
  border-radius: 10px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.87rem;
}

.current-stop-link,
.realtime-block-id strong {
  color: var(--ink);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.delay-status {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 800;
}

.delay-late {
  background: color-mix(in srgb, var(--warning) 13%, var(--surface));
  color: var(--warning);
}

.delay-early {
  background: color-mix(in srgb, #2875c7 12%, var(--surface));
  color: #2875c7;
}

#vasteData,
#realtime,
.loading,
.compare-card-summary,
.dashboard-summary {
  min-width: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.loading {
  padding: 11px 0;
}

#realtimeVehicleCard #map {
  height: clamp(300px, 36vw, 430px);
  margin-top: 0;
  border-radius: var(--radius-md);
}

#lastUpdate {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.8rem;
}

#resultsGrid {
  align-items: stretch;
  gap: 16px;
}

#staticVehicleCard,
#realtimeVehicleCard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 100%;
  padding: 16px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background:
    linear-gradient(155deg, var(--surface-raised), var(--surface) 70%);
  box-shadow:
    0 18px 48px color-mix(in srgb, #101820 8%, transparent),
    inset 0 1px 0 color-mix(in srgb, #ffffff 5%, transparent);
}

#staticVehicleCard::before,
#realtimeVehicleCard::before {
  display: none;
}

#staticVehicleCard > h2,
#realtimeVehicleCard > h2 {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  font-size: 1rem;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.vehicle-title-row {
  position: relative;
  min-height: 0;
  margin: 0 0 2px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.voertuignummer-display {
  font-size: clamp(1.7rem, 2.5vw, 2rem);
  letter-spacing: -0.055em;
}

.vehicle-favorite-btn {
  width: 30px;
  height: 32px;
  flex-basis: 30px;
  margin-left: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #e6b800;
  font-size: 1.45rem;
}

.vehicle-favorite-btn:hover {
  background: var(--surface-soft);
}

.vehicle-favorite-btn.is-favorite {
  border-color: transparent;
  background: transparent;
  color: #e6b800;
}

.vehicle-type {
  display: block;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0;
}

#vasteData table {
  border: 0;
  border-spacing: 0;
  overflow: visible;
  background: transparent;
}

#vasteData tbody {
  display: grid;
  gap: 0;
}

#vasteData tr {
  display: grid;
  grid-template-columns: minmax(120px, 0.72fr) minmax(0, 1.28fr);
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

#vasteData tr + tr th,
#vasteData tr + tr td {
  border-top: 0;
}

#vasteData th,
#vasteData td {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 7px 0;
  line-height: 1.4;
}

#vasteData th {
  width: auto;
  background: transparent;
  font-size: 0.82rem;
}

#vasteData td {
  border-left: 0;
  background: transparent;
  font-size: 0.9rem;
}

.ig-btn-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.ig-btn-wrap .btn {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 8px 10px;
  border-color: var(--line-strong);
  border-radius: 12px;
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 0.84rem;
}

.ig-btn-wrap .btn:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.ig-btn-wrap .btn--compare {
  box-shadow: none;
}

.realtime-summary-card {
  gap: 7px;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.route-destination-row {
  gap: 8px;
}

.line-badge {
  min-width: 38px;
  min-height: 28px;
  padding: 4px 8px;
  border-radius: 9px;
  box-shadow: none;
  font-size: 0.9rem;
}

.destination-text {
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  letter-spacing: -0.025em;
}

.realtime-meta-stack {
  display: grid;
  justify-items: start;
  gap: 4px;
}

.current-stop-row,
.realtime-block-id,
.delay-status {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 0.84rem;
  line-height: 1.35;
}

.delay-status {
  font-size: 0.9rem;
}

.delay-ontime {
  color: #168a52;
}

.delay-early {
  color: #2875c7;
}

#realtimeVehicleCard .weather-block {
  margin: 0 0 14px;
  border-radius: 15px;
}

#realtimeVehicleCard #map {
  flex: 1 1 260px;
  min-height: 240px;
  height: auto;
  border-color: var(--line);
  border-radius: 16px;
  box-shadow: none;
}

#lastUpdate {
  margin-top: 11px;
  padding-left: 2px;
  font-size: 0.76rem;
}

.weather-block {
  margin-top: 14px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.weather-card {
  display: block;
  width: 100%;
  padding: 14px;
  border: 0;
  background:
    linear-gradient(110deg, color-mix(in srgb, var(--accent) 7%, var(--surface)), var(--surface));
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background 150ms ease;
}

.weather-card:hover {
  background: color-mix(in srgb, var(--accent) 11%, var(--surface));
}

.weather-card:focus-visible {
  position: relative;
  z-index: 1;
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

.weather-card-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.weather-icon {
  display: grid;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 16px;
  background: color-mix(in srgb, currentColor 12%, var(--surface));
  color: var(--accent);
}

.weather-svg {
  display: block;
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.weather-svg--sun {
  color: #c78000;
}

.weather-svg--moon {
  color: #667ac0;
}

.weather-svg--cloud,
.weather-svg--fog {
  color: #63758a;
}

.weather-svg--partly {
  color: #bc8500;
}

.weather-svg--drizzle,
.weather-svg--rain {
  color: #2875c7;
}

.weather-svg--snow {
  color: #3286a7;
}

.weather-svg--storm {
  color: #a16a00;
}

:root[data-resolved-theme="dark"] .weather-svg--sun,
:root[data-resolved-theme="dark"] .weather-svg--partly {
  color: #ffd166;
}

:root[data-resolved-theme="dark"] .weather-svg--moon {
  color: #b8c4ff;
}

:root[data-resolved-theme="dark"] .weather-svg--cloud,
:root[data-resolved-theme="dark"] .weather-svg--fog {
  color: #c1cedb;
}

:root[data-resolved-theme="dark"] .weather-svg--drizzle,
:root[data-resolved-theme="dark"] .weather-svg--rain {
  color: #8fc4ff;
}

:root[data-resolved-theme="dark"] .weather-svg--snow {
  color: #8de0f4;
}

:root[data-resolved-theme="dark"] .weather-svg--storm {
  color: #ffd166;
}

.weather-copy {
  display: grid;
  flex: 1 1 auto;
  gap: 2px;
  min-width: 0;
}

.weather-title {
  font-family: "Sora", "Source Sans 3", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
}

.weather-source {
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.35;
}

.weather-source-meta {
  color: var(--faint);
  font-size: 0.75rem;
}

.weather-card-side {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  color: var(--accent);
}

.weather-temperature {
  color: var(--ink);
  font-family: "Sora", "Source Sans 3", sans-serif;
  font-weight: 800;
  white-space: nowrap;
}

.weather-temperature--inline {
  font-size: 1.2rem;
}

.weather-card-chevron {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 9%, var(--surface));
}

.weather-svg--arrow {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.weather-modal-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(120deg, var(--accent-soft), var(--surface));
}

.weather-modal-icon {
  width: 68px;
  height: 68px;
  border-radius: 20px;
}

.weather-svg--hero {
  width: 40px;
  height: 40px;
  stroke-width: 1.65;
}

.weather-modal-hero-copy,
.weather-modal-temp {
  display: grid;
  gap: 4px;
}

.weather-modal-hero-copy strong {
  font-family: "Sora", "Source Sans 3", sans-serif;
  font-size: 1.1rem;
}

.weather-modal-hero-copy span,
.weather-modal-temp span,
.weather-modal-source {
  color: var(--muted);
  font-size: 0.84rem;
}

.weather-modal-temp {
  justify-items: end;
  text-align: right;
}

.weather-modal-temp strong {
  font-family: "Sora", "Source Sans 3", sans-serif;
  font-size: 1.75rem;
  line-height: 1;
}

.weather-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(126px, 1fr));
  gap: 9px;
  margin-top: 12px;
}

.weather-detail-card {
  display: grid;
  justify-items: start;
  gap: 7px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-soft);
}

.weather-detail-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
}

.weather-svg--detail {
  width: 19px;
  height: 19px;
  stroke-width: 1.9;
}

.weather-detail-label {
  color: var(--muted);
  font-size: 0.78rem;
}

.weather-detail-value {
  color: var(--ink);
  font-family: "Sora", "Source Sans 3", sans-serif;
  font-size: 0.98rem;
  overflow-wrap: anywhere;
}

.weather-modal-source {
  margin: 12px 2px 0;
}

.compare-card,
.photo-card {
  grid-column: 1 / -1;
}

.compare-card-header {
  align-items: center;
  margin-bottom: 14px;
}

.compare-card-summary,
.dashboard-summary {
  margin: 5px 0 0;
  font-size: 0.9rem;
}

.settings-close-btn {
  flex: 0 0 auto;
  width: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: 50%;
  font-size: 1.35rem;
  line-height: 1;
}

.vehicle-photo-shell {
  min-width: 0;
}

.vehicle-photo-header {
  align-items: center;
  margin-bottom: 14px;
}

.vehicle-photo-counter {
  flex: 0 0 auto;
  margin: 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.vehicle-photo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(210px, 0.8fr);
  gap: 16px;
  align-items: stretch;
}

.vehicle-photo-media-panel,
.vehicle-photo-side-panel {
  min-width: 0;
}

.vehicle-photo-frame {
  position: relative;
  display: grid;
  min-height: 280px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    radial-gradient(ellipse at 50% 45%, #3b4652, #202832 76%);
}

.vehicle-photo-frame.is-empty {
  background: linear-gradient(135deg, var(--surface-soft), var(--surface-tint));
}

.vehicle-photo-image {
  display: block;
  width: 100%;
  max-height: min(68vh, 680px);
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.2));
}

.vehicle-photo-loader {
  position: absolute;
  inset: auto 16px 16px auto;
  width: 28px;
  height: 28px;
  border: 3px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 850ms linear infinite;
}

.photo-nav-btn {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 42px;
  min-width: 42px;
  min-height: 42px;
  padding: 0;
  transform: translateY(-50%);
  border-radius: 50%;
  border-color: color-mix(in srgb, var(--line-strong) 78%, transparent);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
}

.photo-nav-btn:hover {
  transform: translateY(-50%) scale(1.06);
  border-color: var(--accent);
  background: var(--surface);
}

.photo-nav-btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.photo-nav-icon {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.photo-nav-btn--prev {
  left: 12px;
}

.photo-nav-btn--next {
  right: 12px;
}

.vehicle-photo-empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  width: min(100%, 420px);
  padding: 32px 20px;
  text-align: center;
}

.vehicle-photo-empty-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  margin-bottom: 5px;
  border-radius: 15px;
  background: var(--accent-soft);
  color: var(--accent);
}

.vehicle-photo-empty-icon svg {
  width: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.vehicle-photo-empty-title {
  font-family: "Sora", "Source Sans 3", sans-serif;
}

.vehicle-photo-empty-text,
.vehicle-photo-upload-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.vehicle-photo-upload-cta {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.vehicle-photo-side-panel {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.photo-card.has-no-photo .vehicle-photo-layout {
  grid-template-columns: minmax(0, 1fr);
}

.photo-card.has-no-photo .vehicle-photo-side-panel {
  display: none;
}

.photo-card.has-no-photo .vehicle-photo-frame {
  min-height: clamp(260px, 34vw, 360px);
  border-color: color-mix(in srgb, var(--accent) 20%, var(--line));
  background:
    radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--accent) 11%, transparent), transparent 62%),
    linear-gradient(145deg, var(--surface-soft), var(--surface-tint));
}

.photo-card.has-no-photo .vehicle-photo-empty {
  width: min(100%, 560px);
  gap: 10px;
  padding: clamp(28px, 5vw, 48px) 22px;
}

.photo-card.has-no-photo .vehicle-photo-empty-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 7px;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
  border-radius: 18px;
}

.photo-card.has-no-photo .vehicle-photo-empty-title {
  color: var(--ink);
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.photo-card.has-no-photo .vehicle-photo-empty-text {
  max-width: 42ch;
  line-height: 1.55;
}

.photo-card.has-no-photo .vehicle-photo-upload-cta {
  gap: 12px;
  margin-top: 4px;
}

.photo-card.has-no-photo .vehicle-photo-upload-hint {
  line-height: 1.5;
}

.photo-card.has-no-photo .vehicle-photo-upload-btn {
  min-height: 44px;
  padding-inline: 18px;
  border-radius: 12px;
}

.vehicle-photo-caption {
  margin: 0 0 12px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.vehicle-photo-meta {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.vehicle-photo-meta-card {
  display: grid;
  gap: 10px;
}

.vehicle-photo-meta-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.vehicle-photo-meta-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
}

.vehicle-photo-meta-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.vehicle-photo-meta-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.vehicle-photo-meta-label {
  color: var(--muted);
  font-size: 0.76rem;
}

.vehicle-photo-meta-value {
  min-width: 0;
  color: var(--ink);
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}

.vehicle-photo-meta-link {
  color: var(--accent);
  text-decoration: none;
}

.vehicle-photo-meta-link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.dashboard-panel {
  margin-bottom: 20px;
  padding: 20px;
}

.dashboard-panel-header {
  align-items: center;
  margin-bottom: 16px;
}

.dashboard-panel-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.dashboard-panel-content {
  min-width: 0;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.dashboard-grid > *,
.dashboard-setup-grid > * {
  min-width: 0;
}

.dashboard-grid > * {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  overflow-wrap: anywhere;
}

.dashboard-loading-state {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  color: var(--muted);
}

.dashboard-loading-state p {
  margin: 0;
}

.page-loading-spinner {
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 2px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 850ms linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

footer {
  display: grid;
  gap: 0;
  margin-top: clamp(16px, 2.5vw, 24px);
  padding: clamp(16px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 5%, var(--surface)), var(--surface) 58%);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 52px;
  padding: 2px 0 17px;
  border-bottom: 1px solid var(--line);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px clamp(16px, 2vw, 25px);
}

.footer-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 44px;
  padding: 3px 0;
  border: 0;
  background: transparent;
  color: var(--accent-hover);
  font: inherit;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
  appearance: none;
}

.footer-link-btn:hover,
.footer-link-btn:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-link-btn:focus-visible {
  outline: 3px solid var(--accent-hover);
  outline-offset: 4px;
  border-radius: 3px;
}

.footer-socials {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.footer-socials a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--surface-soft);
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.footer-socials a:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background: var(--accent-soft);
}

.footer-socials a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.footer-socials img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  padding-top: 13px;
}

.footer-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: 0.01em;
}

@media (max-width: 900px) {
  .footer-main {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 0 0 14px;
  }

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .footer-socials {
    display: grid;
    grid-template-columns: repeat(6, 42px);
    width: max-content;
    margin-left: auto;
  }
}

@media (max-width: 680px) {
  footer {
    margin-top: 14px;
    padding: 15px;
    border-radius: 20px;
  }

  .footer-links {
    flex-direction: column;
    gap: 2px;
  }

  .footer-socials {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    width: min(100%, 295px);
    margin-left: 0;
    gap: 7px;
    padding-top: 1px;
  }

  .footer-socials a {
    width: 100%;
    height: clamp(33px, 9.5vw, 38px);
    border-radius: 12px;
  }

  .footer-bottom {
    min-height: 36px;
    padding-top: 10px;
  }

  .pdf-modal-card.first-run-modal-card {
    padding: 22px 17px;
  }

  .pdf-modal-actions.first-run-modal-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .first-run-navigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-socials a {
    transition: none;
  }

  .footer-socials a:hover {
    transform: none;
  }
}

@media (forced-colors: active) {
  footer {
    border-color: CanvasText;
    background: Canvas;
    color: CanvasText;
    box-shadow: none;
  }

  .footer-main {
    border-color: CanvasText;
  }

  .footer-link-btn {
    color: LinkText;
  }

  .footer-link-btn:focus-visible,
  .footer-socials a:focus-visible {
    outline-color: Highlight;
  }

  .footer-socials a {
    border-color: ButtonText;
    background: ButtonFace;
  }
}

.menu-overlay,
.pdf-modal,
.funny-modal,
.offline-overlay,
.page-loading-overlay {
  position: fixed;
  z-index: 1000;
  inset: 0;
}

.menu-overlay {
  z-index: 1100;
}

.menu-overlay-scrim,
.pdf-modal::before,
.funny-modal::before {
  position: absolute;
  inset: 0;
  background: var(--overlay);
  backdrop-filter: blur(4px);
  content: "";
}

.favorites-panel,
.pdf-modal-card,
.funny-modal-card,
.offline-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  max-height: calc(var(--visual-viewport-height) - 36px);
  margin: 18px auto;
  padding: 24px;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface-raised);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}

.favorites-panel {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(480px, 100%);
  height: 100%;
  max-height: var(--visual-viewport-height);
  margin: 0;
  padding: max(24px, env(safe-area-inset-top)) 22px max(24px, env(safe-area-inset-bottom));
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
}

.more-panel-header {
  align-items: center;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
}

.more-panel-header h3 {
  font-size: 1.4rem;
}

.more-panel-subtitle {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.more-panel-section {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.more-panel-section:last-child {
  border-bottom: 0;
}

.more-panel-section-head h4 {
  margin: 0 0 11px;
  font-size: 0.91rem;
}

.settings-panel-intro {
  display: grid;
  gap: 4px;
  margin-bottom: 16px;
}

.settings-panel-intro h4 {
  margin: 0;
  font-family: "Sora", "Source Sans 3", sans-serif;
  font-size: 1.08rem;
  letter-spacing: -0.025em;
}

.settings-panel-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.settings-categories {
  display: grid;
  gap: 12px;
}

.settings-category {
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: linear-gradient(145deg, var(--surface-raised), var(--surface-soft));
}

.settings-category-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
}

.settings-category-heading h5 {
  margin: 0;
  color: var(--ink);
  font-family: "Sora", "Source Sans 3", sans-serif;
  font-size: 0.88rem;
  letter-spacing: -0.015em;
}

.settings-category-index {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line));
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-hover);
  font-size: 0.68rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.chip-row,
.more-action-grid,
.settings-actions,
.dashboard-tv-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.favorite-item,
.favorites-empty-state {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-soft);
  overflow-wrap: anywhere;
}

.favorites-empty-state {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.88rem;
}

.more-action-grid .btn,
.settings-actions .btn {
  width: 100%;
  min-height: 46px;
}

.more-secondary-btn {
  border-color: var(--line-strong) !important;
  background: var(--surface) !important;
  color: var(--ink) !important;
}

.more-secondary-btn:hover {
  background: var(--surface-soft) !important;
}

.settings-card,
.dashboard-tv-setting {
  display: grid;
  min-width: 0;
  gap: 7px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.settings-grid--single {
  grid-template-columns: minmax(0, 1fr);
}

.settings-card--toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 66px;
  cursor: pointer;
}

.settings-card--toggle input[type="checkbox"] {
  position: relative;
  flex: 0 0 auto;
  width: 42px;
  height: 24px;
  margin: 0;
  appearance: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface-soft);
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.settings-card--toggle input[type="checkbox"]::before {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--muted);
  content: "";
  transition: transform 160ms ease, background-color 160ms ease;
}

.settings-card--toggle input[type="checkbox"]:checked {
  border-color: var(--accent);
  background: var(--accent);
}

.settings-card--toggle input[type="checkbox"]:checked::before {
  transform: translateX(18px);
  background: var(--accent-ink);
}

.settings-card--toggle input[type="checkbox"]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.settings-card select:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.settings-card select,
.dashboard-tv-setting select {
  min-height: 43px;
  padding-block: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
}

.settings-actions {
  margin-top: 14px;
}

.settings-feed-status {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

:root[data-text-scale="large"] {
  font-size: 112.5%;
}

:root[data-text-scale="largest"] {
  font-size: 125%;
}

:root[data-high-contrast="true"][data-color-theme][data-resolved-theme] {
  --muted: var(--ink);
  --faint: var(--ink);
  --line: color-mix(in srgb, var(--ink) 65%, var(--surface));
  --line-strong: color-mix(in srgb, var(--ink) 82%, var(--surface));
  --focus-ring: 0 0 0 4px var(--ink);
}

:root[data-high-contrast="true"][data-color-theme][data-resolved-theme] :focus-visible {
  outline: 3px solid var(--ink) !important;
  outline-offset: 3px !important;
  box-shadow: none !important;
}

:root[data-reduce-motion="true"] *,
:root[data-reduce-motion="true"] *::before,
:root[data-reduce-motion="true"] *::after {
  scroll-behavior: auto !important;
  animation: none !important;
  transition: none !important;
}

.pdf-modal {
  z-index: 1200;
  display: grid;
  align-items: center;
  justify-items: center;
  padding: max(18px, env(safe-area-inset-top)) 16px max(18px, env(safe-area-inset-bottom));
  overflow: auto;
  overscroll-behavior: contain;
}

.pdf-modal-card {
  width: min(100%, 680px);
  margin: auto;
}

.pdf-modal-header {
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.pdf-modal-header h3 {
  font-size: 1.28rem;
}

.pdf-modal-summary {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.pdf-modal-body {
  padding: 18px 0;
}

.pdf-modal-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.pdf-modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.pdf-modal-actions button {
  min-width: 100px;
}

.pdf-theme-field {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
}

.suggestion-input-shell {
  position: relative;
  min-width: 0;
}

.inline-suggestion-list {
  z-index: 20;
}

.info-modal-body,
.legal-modal-body,
.weather-modal-body {
  max-height: min(58vh, 620px);
  overflow: auto;
  overflow-wrap: anywhere;
}

.review-embed-shell {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.review-form-frame {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
  background: var(--surface);
}

.review-mobile-fallback {
  display: none;
  margin-top: 12px;
}

.review-mobile-fallback .btn {
  width: 100%;
}

#reportModal .review-mobile-fallback {
  display: block;
}

.first-run-intro {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 10px;
  min-height: 220px;
  overflow: hidden;
  padding: clamp(22px, 6vw, 34px);
  border: 1px solid color-mix(in srgb, var(--accent) 17%, var(--line));
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 12%, color-mix(in srgb, var(--accent) 17%, transparent), transparent 36%),
    linear-gradient(145deg, var(--surface), var(--accent-soft));
}

.first-run-intro::after {
  position: absolute;
  right: -35px;
  bottom: -60px;
  width: 190px;
  height: 190px;
  border: 1px solid color-mix(in srgb, var(--accent) 14%, transparent);
  border-radius: 50%;
  box-shadow: 0 0 0 24px color-mix(in srgb, var(--accent) 4%, transparent), 0 0 0 48px color-mix(in srgb, var(--accent) 3%, transparent);
  content: "";
  pointer-events: none;
}

.first-run-hero-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font-size: 1.9rem;
}

.first-run-hero-kicker {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.first-run-intro strong {
  display: block;
  max-width: 430px;
  color: var(--ink);
  font-family: "Sora", "Source Sans 3", sans-serif;
  font-size: clamp(1.2rem, 4vw, 1.55rem);
  line-height: 1.2;
}

.first-run-intro p {
  z-index: 1;
  max-width: 450px;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.first-run-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin: 0 0 15px;
}

.first-run-progress-step {
  height: 4px;
  border-radius: 99px;
  background: var(--line-strong);
  transition: background 180ms ease, transform 180ms ease;
}

.first-run-progress-step.is-active,
.first-run-progress-step.is-complete {
  background: var(--accent);
}

.first-run-progress-step.is-active {
  transform: scaleY(1.5);
}

.first-run-step-label {
  margin: -5px 0 12px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.first-run-step-panel {
  min-height: 220px;
  animation: first-run-step-in 220ms ease both;
}

.first-run-step-panel[hidden] {
  display: none;
}

.first-run-settings-grid {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-soft);
}

.first-run-settings-grid .settings-card {
  gap: 9px;
  font-size: 0.9rem;
}

.first-run-settings-grid select {
  min-height: 52px;
  border-radius: 12px;
  font-size: 1rem;
}

.first-run-navigation {
  display: flex;
  gap: 9px;
}

.first-run-navigation button {
  min-width: 116px;
}

.first-run-modal-actions {
  justify-content: space-between;
  align-items: center;
}

.pdf-modal-card.first-run-modal-card {
  width: min(100%, 570px);
  padding: 28px;
  border-radius: 26px;
  box-shadow: 0 26px 80px color-mix(in srgb, var(--ink) 22%, transparent);
}

.first-run-modal-header {
  padding-bottom: 18px;
}

.first-run-modal-header h3 {
  font-size: clamp(1.3rem, 4vw, 1.65rem);
}

.first-run-modal-body {
  padding: 18px 0;
}

@keyframes first-run-step-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .first-run-progress-step,
  .first-run-step-panel {
    animation: none;
    transition: none;
  }
}

.dashboard-tv-settings {
  margin: 18px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.dashboard-tv-settings-head h4 {
  margin: 0;
  font-size: 0.95rem;
}

.dashboard-tv-settings-summary {
  margin: 5px 0 12px;
  color: var(--muted);
  font-size: 0.85rem;
}

.dashboard-setup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.dashboard-setup-error,
.halte-module-error {
  margin: 10px 0 0;
  color: var(--danger);
  font-weight: 700;
}

.halte-module-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
  align-items: start;
}

.line-search-modal-card {
  width: min(100%, 820px);
}

.line-search-form {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.line-search-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
}

.line-search-controls .btn {
  min-width: 120px;
}

.line-search-suggestions {
  display: grid;
  max-height: 250px;
  margin-top: 8px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.line-search-suggestion-group {
  display: grid;
  padding: 6px;
}

.line-search-suggestion-group + .line-search-suggestion-group {
  border-top: 1px solid var(--line);
}

.line-search-suggestion-heading {
  padding: 6px 9px 5px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.line-search-suggestion {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  padding: 8px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.line-search-suggestion:hover,
.line-search-suggestion:focus-visible {
  background: var(--accent-soft);
}

.line-search-suggestion:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.line-search-suggestion-badge {
  display: grid;
  flex: 0 0 auto;
  min-width: 37px;
  min-height: 34px;
  place-items: center;
  padding: 3px 6px;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--accent-hover);
  font-size: 0.8rem;
  font-weight: 800;
}

.line-search-suggestion-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.line-search-suggestion-copy strong,
.line-search-suggestion-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.line-search-suggestion-copy strong {
  font-size: 0.88rem;
}

.line-search-suggestion-copy small {
  color: var(--muted);
  font-size: 0.76rem;
}

.line-search-status {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.line-search-status.is-error {
  color: var(--danger);
}

.line-search-results {
  display: grid;
  max-height: min(48vh, 520px);
  gap: 12px;
  margin-top: 12px;
  overflow: auto;
  overscroll-behavior: contain;
}

.line-search-route {
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.line-search-route-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
}

.line-search-route-badge {
  display: grid;
  min-width: 43px;
  min-height: 38px;
  place-items: center;
  padding: 4px 8px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
}

.line-search-route-copy {
  min-width: 0;
}

.line-search-route-copy h4 {
  margin: 0;
  font-size: 0.97rem;
  overflow-wrap: anywhere;
}

.line-search-route-copy p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  overflow-wrap: anywhere;
}

.line-search-route-count {
  color: var(--muted);
  font-size: 0.75rem;
  text-align: right;
}

.line-search-trip-list {
  display: grid;
  gap: 8px;
  padding-top: 10px;
}

.line-search-trip {
  display: grid;
  min-width: 0;
  gap: 8px;
  padding: 10px;
  border-radius: 11px;
  background: var(--surface);
}

.line-search-trip-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
}

.line-search-trip-heading strong {
  overflow-wrap: anywhere;
}

.line-search-trip-heading span {
  color: var(--muted);
  font-size: 0.74rem;
  overflow-wrap: anywhere;
}

.line-search-vehicles {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.line-search-vehicle {
  min-height: 36px;
  padding: 6px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--surface-soft);
  color: var(--accent-hover);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.line-search-vehicle:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.line-search-vehicle:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.line-search-empty {
  margin: 0;
  padding: 12px 0 2px;
  color: var(--muted);
  font-size: 0.88rem;
}

.halte-module-help {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.87rem;
}

.halte-suggestion-list {
  top: calc(100% + 5px);
}

.install-guide-steps {
  display: grid;
  gap: 10px;
  padding-left: 22px;
  color: var(--muted);
}

.photo-upload-callout {
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
}

.photo-upload-badge {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
}

.photo-upload-lead {
  margin: 9px 0 0;
  color: var(--ink);
  font-weight: 700;
}

.photo-upload-modal-copy > .btn {
  width: 100%;
}

.app-dialog-message {
  margin: 0;
  overflow-wrap: anywhere;
}

.app-dialog-card.is-pending .pdf-modal-actions {
  opacity: 0.65;
}

.funny-modal {
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 18px;
}

.funny-modal-card {
  width: min(100%, 420px);
  margin: 0;
  text-align: center;
}

.funny-modal-card h3 {
  margin: 0 0 10px;
}

.funny-modal-card p {
  color: var(--muted);
}

.offline-overlay {
  z-index: 1400;
  display: grid;
  place-items: center;
  padding: 18px;
  background: var(--overlay);
  backdrop-filter: blur(5px);
}

.offline-shell {
  width: min(100%, 480px);
  margin: 0;
  text-align: center;
}

.offline-shell h2 {
  margin: 12px 0 8px;
  font-size: 1.45rem;
}

.offline-shell p {
  color: var(--muted);
}

.offline-pill,
.site-disabled-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--danger) 12%, var(--surface));
  color: var(--danger);
  font-size: 0.78rem;
  font-weight: 800;
}

.page-loading-overlay {
  z-index: 1500;
  display: grid;
  place-items: start center;
  height: 5px;
  background: transparent;
  pointer-events: none;
}

.page-loading-shell,
.page-loading-bar {
  display: block;
  width: 100%;
  height: 4px;
}

.page-loading-bar {
  transform-origin: left;
  background: var(--accent);
  animation: loading-bar 1.5s ease-in-out infinite;
}

@keyframes loading-bar {
  0% { transform: scaleX(0.05); }
  50% { transform: scaleX(0.72); }
  100% { transform: scaleX(1); }
}

#splash {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  background: var(--page);
  color: var(--ink);
  transition: opacity 300ms ease, visibility 300ms ease;
}

#splash .logo {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  overflow: hidden;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

#splash .logo img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.splash-title {
  margin: 4px 0 0;
  font-size: 1.4rem;
}

.splash-credit {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

body.site-disabled {
  min-height: 100vh;
  margin: 0;
}

.site-disabled-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(ellipse at 15% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 34rem),
    var(--page);
}

.site-disabled-card {
  width: min(100%, 520px);
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.site-disabled-card h1 {
  margin: 14px 0 9px;
  font-size: clamp(1.55rem, 4vw, 2.1rem);
  letter-spacing: -0.04em;
}

.site-disabled-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.site-maintenance-card {
  border-color: color-mix(in srgb, var(--warning) 30%, var(--line));
}

.site-maintenance-badge {
  background: color-mix(in srgb, var(--warning) 12%, var(--surface));
  color: var(--warning);
}

.is-pending,
.is-loading {
  cursor: progress;
}

.is-dragging {
  opacity: 0.7;
}

.is-empty {
  color: var(--muted);
}

.is-favorite {
  color: var(--accent);
}

.has-no-photo {
  background: var(--surface-soft);
}

.info-list {
  display: grid;
  gap: 0;
}

.info-row {
  display: grid;
  grid-template-columns: minmax(110px, 0.7fr) minmax(0, 1.3fr);
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.info-row:last-child {
  border-bottom: 0;
}

.info-label {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.info-value {
  min-width: 0;
  color: var(--ink);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.info-value-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: middle;
  object-fit: contain;
}

.info-value-icon--light,
.info-value-icon--dark {
  display: none;
}

:root:not([data-resolved-theme="dark"]) .info-value-icon--light,
:root[data-resolved-theme="dark"] .info-value-icon--dark {
  display: inline-block;
}

.info-value--github {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  text-decoration: none;
}

.info-value--github:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.info-value--github:focus-visible {
  border-radius: 4px;
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .header-bar {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.78fr);
  }

  .grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .header-intro {
    padding: 21px;
  }

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

@media (max-width: 680px) {
  body {
    font-size: 14px;
  }

  .container {
    width: min(100% - 28px, var(--content-width));
    padding-top: 14px;
    padding-bottom: 20px;
  }

  .header-bar {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 14px;
  }

  .header-intro {
    gap: 8px;
    padding: 20px 17px;
    border-radius: var(--radius-lg);
  }

  .title-home-btn h1 {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

  .title-home-btn {
    gap: 9px;
  }

  .title-home-logo {
    width: 42px;
    height: 42px;
  }

  .header-copy p {
    font-size: 0.92rem;
  }

  .search-shell {
    margin-top: 5px;
  }

  .search-row input {
    min-height: 50px;
    padding-inline: 13px;
    font-size: 0.92rem;
  }

  #searchBtn {
    flex-basis: 50px;
    min-height: 50px;
  }

  .header-side {
    gap: 9px;
  }

  .header-actions {
    justify-content: stretch;
  }

  .header-actions button {
    width: 100%;
    min-height: 45px;
  }

  .header-visual {
    display: none;
  }

  .home-gtfs-map-panel,
  .dashboard-panel {
    margin-bottom: 10px;
    padding: 14px;
    border-radius: var(--radius-md);
  }

  .home-gtfs-map,
  #map {
    height: 240px;
  }

  .results-toolbar {
    min-height: 40px;
    margin-bottom: 8px;
  }

  .grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .card {
    padding: 16px;
    border-radius: var(--radius-md);
  }

  #staticVehicleCard,
  #realtimeVehicleCard {
    min-height: 0;
    padding: 14px;
    border-radius: 18px;
  }

  #staticVehicleCard > h2,
  #realtimeVehicleCard > h2 {
    margin-bottom: 9px;
    padding-bottom: 0;
  }

  #vasteData tr {
    grid-template-columns: minmax(96px, 0.68fr) minmax(0, 1.32fr);
  }

  #realtimeVehicleCard #map {
    flex-basis: 240px;
    min-height: 220px;
    border-radius: 15px;
  }

  .compare-card,
  .photo-card {
    grid-column: auto;
  }

  .vehicle-photo-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .vehicle-photo-frame {
    min-height: 230px;
  }

  .vehicle-photo-image {
    max-height: 56vh;
  }

  .weather-card {
    padding: 12px;
  }

  .weather-card-main {
    gap: 10px;
  }

  .weather-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .weather-source-meta {
    display: none;
  }

  .weather-modal-hero {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .weather-modal-temp {
    grid-column: 2;
    justify-items: start;
    text-align: left;
  }

  .weather-modal-temp strong {
    font-size: 1.4rem;
  }

  .vehicle-photo-side-panel {
    padding: 13px;
  }

  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .dashboard-grid > * {
    padding: 11px;
  }

  footer {
    margin-top: 10px;
    padding: 17px;
    border-radius: var(--radius-md);
  }

  .favorites-panel {
    inset: auto 0 0;
    width: 100%;
    height: min(88vh, var(--visual-viewport-height));
    max-height: var(--visual-viewport-height);
    padding: max(18px, env(safe-area-inset-top)) 17px max(18px, env(safe-area-inset-bottom));
    border-radius: 22px 22px 0 0;
  }

  .favorites-panel::before {
    display: block;
    width: 36px;
    height: 4px;
    margin: 0 auto 14px;
    border-radius: 99px;
    background: var(--line-strong);
    content: "";
  }

  .pdf-modal {
    align-items: end;
    padding: 10px 10px max(10px, env(safe-area-inset-bottom));
  }

  .pdf-modal-card {
    width: 100%;
    max-height: calc(var(--visual-viewport-height) - 20px);
    margin: auto auto 0;
    padding: 19px 17px;
    border-radius: 22px;
  }

  .pdf-modal-header h3 {
    font-size: 1.15rem;
  }

  .pdf-modal-body {
    padding: 15px 0;
  }

  .info-modal-body,
  .legal-modal-body,
  .weather-modal-body {
    max-height: min(55vh, 560px);
  }

  .review-mobile-fallback {
    display: block;
  }

  .review-form-frame {
    min-height: 340px;
  }

  .dashboard-setup-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pdf-modal-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pdf-modal-actions button {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 420px) {
  .container {
    width: calc(100% - 20px);
  }

  .header-intro {
    padding: 17px 14px;
  }

  .home-gtfs-map-panel,
  .dashboard-panel,
  .card {
    padding: 13px;
  }

  #staticVehicleCard,
  #realtimeVehicleCard {
    padding: 13px;
  }

  .chip-row,
  .more-action-grid,
  .settings-grid,
  .settings-actions,
  .dashboard-tv-settings-grid,
  .halte-module-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .line-search-controls {
    grid-template-columns: minmax(0, 1fr);
  }

  .line-search-controls .btn {
    width: 100%;
  }

  .dashboard-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .dashboard-panel-header {
    align-items: flex-start;
  }

  .dashboard-panel-actions {
    gap: 5px;
  }

  .dashboard-panel-actions .btn {
    min-height: 38px;
    padding: 7px 9px;
    font-size: 0.82rem;
  }

  .info-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
    padding: 8px 0;
  }

  #realtimeVehicleCard #map {
    flex-basis: 210px;
    min-height: 210px;
  }
}

@media (max-width: 360px) {
  .menu-inline-search #menuToggleText {
    display: none;
  }

  .menu-inline-search .search-menu-btn {
    min-width: 46px;
    padding-inline: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.dashboard-panel[hidden] {
  display: none;
}

.dashboard-panel {
  position: fixed;
  z-index: 900;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  overflow: auto;
  overscroll-behavior: contain;
  border: 0;
  border-radius: 0;
}

.dashboard-panel-header {
  flex: 0 0 auto;
}

.dashboard-panel-content {
  display: grid;
  flex: 1 0 auto;
  gap: 14px;
}

.dashboard-map-wrap {
  margin: 0;
}

.dashboard-map {
  height: min(56vh, 600px);
  min-height: 260px;
}

@media (max-width: 680px) {
  .dashboard-panel {
    gap: 10px;
    padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  }

  .dashboard-panel-content {
    gap: 10px;
  }

  .dashboard-map {
    height: min(48vh, 440px);
    min-height: 220px;
  }
}


.vehicle-not-found {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border: 2px solid var(--danger);
  border-radius: 14px;
  background: color-mix(in srgb, var(--danger) 10%, transparent);
}

.vehicle-not-found p {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.vehicle-not-found-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--danger);
  color: #fff;
  font-weight: 800;
}

.vehicle-not-found-btn {
  padding: 8px 14px;
  border: 1px solid var(--danger);
  border-radius: 10px;
  background: transparent;
  color: var(--danger);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.vehicle-not-found-btn:hover:not(:disabled) {
  background: var(--danger);
  color: #fff;
}

.vehicle-not-found-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}