:root {
  --hs-bg0: #07090f;
  --hs-bg1: #101624;
  --hs-bg2: #0b1020;
  --hs-ink: #eef3ff;
  --hs-muted: #9aa7c2;
  --hs-panel: #151c2c;
  --hs-panel-glass: rgba(12, 16, 28, 0.72);
  --hs-line: rgba(148, 163, 204, 0.22);
  --hs-accent: #5ee7ff;
  --hs-accent-mid: #2bb8ff;
  --hs-accent-end: #7a5cff;
  --hs-accent2: #b200ff;
  --hs-accent-ink: #041018;
  --hs-danger: #ff7b8a;
  --hs-ok: #5dffb1;
  --hs-focus: #7adfff;
  --hs-map-marker: #5ee7ff;
  --hs-radius: 22px;
  --hs-control-radius: 14px;
  --hs-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --hs-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body,
#app {
  margin: 0;
  min-height: 100%;
  height: 100%;
  background: var(--hs-bg0);
  color: var(--hs-ink);
  font-family: var(--hs-font);
}

button,
input {
  font: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--hs-focus);
  outline-offset: 2px;
}

.hs-app-shell {
  position: relative;
  min-height: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--hs-bg0);
}

.hs-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hs-ambient__bloom {
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
}

.hs-ambient__bloom--magenta {
  width: 420px;
  height: 320px;
  left: -140px;
  top: -120px;
  background: rgba(178, 0, 255, 0.28);
}

.hs-ambient__bloom--cyan {
  width: 380px;
  height: 300px;
  right: -120px;
  top: -100px;
  background: rgba(94, 231, 255, 0.22);
}

.hs-ambient__bloom--deep {
  width: 360px;
  height: 280px;
  right: -80px;
  bottom: -60px;
  background: rgba(27, 110, 194, 0.18);
}

.hs-ambient__wash {
  position: absolute;
  inset: 0;
  background: rgba(7, 9, 15, 0.35);
}

.hs-glass {
  background: var(--hs-panel-glass);
  border: 1px solid var(--hs-line);
  border-radius: var(--hs-radius);
  box-shadow: var(--hs-shadow);
  backdrop-filter: blur(18px);
}

.hs-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--hs-ink);
  text-decoration: none;
}

.hs-brand-mark__glyph {
  width: 2rem;
  height: 2rem;
  border-radius: 0.7rem;
  background:
    linear-gradient(135deg, var(--hs-accent), transparent 55%),
    linear-gradient(225deg, var(--hs-accent2), transparent 60%),
    #0c101c;
  border: 1px solid var(--hs-line);
  box-shadow: 0 0 18px rgba(94, 231, 255, 0.25);
}

.hs-brand-mark__text {
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.25rem;
}

.hs-profile-menu {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  z-index: 1300;
}

.hs-profile-menu__trigger {
  box-sizing: border-box;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  max-width: 32px;
  max-height: 32px;
  flex-shrink: 0;
  padding: 0;
  margin: 0;
  border: 1px solid var(--hs-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--hs-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.95;
  line-height: 1;
  overflow: hidden;
}

.hs-profile-menu__trigger:hover {
  background: rgba(255, 255, 255, 0.12);
  opacity: 1;
}

.hs-profile-menu__trigger:focus-visible {
  outline: 2px solid var(--hs-focus);
  outline-offset: 2px;
}

.hs-profile-menu__glyph {
  width: 18px;
  height: 18px;
  display: block;
  flex: 0 0 auto;
}

.hs-profile-menu__avatar {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
}

.hs-profile-menu__initials {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(94, 231, 255, 0.16);
  color: var(--hs-ink);
}

.hs-profile-menu__backdrop {
  position: fixed;
  inset: 0;
  z-index: 1400;
  background: transparent;
}

.hs-profile-menu__panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 1401;
  min-width: 12.5rem;
  max-width: min(18rem, 72vw);
  padding: 0.5rem;
  border-radius: 12px;
  border: 1px solid var(--hs-line);
  background: var(--hs-panel);
  color: var(--hs-ink);
  box-shadow: var(--hs-shadow);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hs-profile-menu__identity {
  padding: 0.45rem 0.55rem 0.55rem;
  border-bottom: 1px solid var(--hs-line);
  margin-bottom: 0.2rem;
}

.hs-profile-menu__name {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
  word-break: break-word;
}

.hs-profile-menu__email {
  margin-top: 0.15rem;
  font-size: 0.78rem;
  color: var(--hs-muted);
  word-break: break-word;
}

.hs-profile-menu__hint {
  margin: 0.15rem 0.6rem 0.35rem;
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--hs-muted);
}

.hs-profile-menu__item {
  appearance: none;
  border: none;
  background: transparent;
  color: inherit;
  text-align: left;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.55rem 0.6rem;
  border-radius: 8px;
  cursor: pointer;
  min-height: 40px;
}

.hs-profile-menu__item--with-icon {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.hs-profile-menu__item--with-icon .hs-garage-icon,
.hs-profile-menu__item--with-icon .hs-map-icon {
  opacity: 0.85;
}

.hs-profile-menu__item:hover,
.hs-profile-menu__item:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.hs-profile-menu__item--danger {
  color: var(--hs-danger);
}

.hs-eyebrow {
  margin: 0;
  color: var(--hs-accent2);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hs-title {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  letter-spacing: -0.03em;
}

.hs-muted {
  color: var(--hs-muted);
}

.hs-danger {
  color: var(--hs-danger);
}

.hs-status {
  min-height: 1.4em;
}

.hs-field {
  width: 100%;
  min-height: 44px;
  padding: 0.85rem 1rem;
  border-radius: var(--hs-control-radius);
  border: 1px solid var(--hs-line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--hs-ink);
}

/* Native <select> popup lists ignore translucent backgrounds on Windows/Chromium. */
select.hs-field {
  background-color: var(--hs-panel);
  color: var(--hs-ink);
}

select.hs-field option,
select.hs-field optgroup {
  background-color: var(--hs-panel);
  color: var(--hs-ink);
}

/* Unset enum selects use a blank Unknown option — mute the closed control. */
select.hs-field:has(> option[value="Unknown"]:checked) {
  color: var(--hs-muted);
}

.hs-field::placeholder {
  color: var(--hs-muted);
}

.hs-field:disabled {
  opacity: 0.6;
}

.hs-field--otp {
  text-align: center;
  font-size: 1.35rem;
  letter-spacing: 0.35em;
}

.hs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0.75rem 1.1rem;
  border-radius: var(--hs-control-radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease, opacity 120ms ease;
}

.hs-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.hs-btn--cta {
  background: linear-gradient(135deg, var(--hs-accent), var(--hs-accent-mid) 55%, var(--hs-accent-end));
  color: var(--hs-accent-ink);
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(94, 231, 255, 0.18);
}

.hs-btn--cta:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(94, 231, 255, 0.28);
}

.hs-btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--hs-line);
  color: var(--hs-muted);
}

.hs-btn--ghost:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
  color: var(--hs-ink);
}

.hs-btn--with-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hs-garage-icon {
  display: block;
  flex: 0 0 auto;
  color: currentColor;
  overflow: visible;
}

.hs-garage-icon--title {
  color: var(--hs-accent);
  opacity: 0.92;
}

.hs-garage-icon--hero {
  color: var(--hs-accent);
  opacity: 0.88;
  filter: drop-shadow(0 8px 18px rgba(94, 231, 255, 0.22));
  margin-bottom: 0.15rem;
}

.hs-map-icon {
  display: block;
  flex: 0 0 auto;
  color: currentColor;
  overflow: visible;
}

.hs-map-icon--title {
  color: var(--hs-accent);
  opacity: 0.92;
}

.hs-map-icon--hero {
  color: var(--hs-accent);
  opacity: 0.88;
  filter: drop-shadow(0 8px 18px rgba(94, 231, 255, 0.22));
  margin-bottom: 0.15rem;
}

.hs-btn--text {
  background: transparent;
  border: 0;
  color: var(--hs-muted);
  padding: 0.4rem 0.55rem;
}

.hs-btn--locate {
  min-width: 7.5rem;
  font-weight: 700;
  color: var(--hs-accent-ink);
  background: linear-gradient(135deg, #5ee7ff, #2bb8ff 50%, #7a5cff);
}

.hs-spinner {
  width: 1.75rem;
  height: 1.75rem;
  border: 2px solid rgba(94, 231, 255, 0.25);
  border-top-color: var(--hs-accent);
  border-radius: 50%;
  animation: hs-spin 0.8s linear infinite;
}

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

@media (prefers-reduced-motion: reduce) {
  .hs-btn,
  .hs-spinner {
    transition: none;
    animation: none;
  }
}

.hs-sign-in {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 100%;
  padding: 1.5rem;
}

.hs-sign-in__card {
  width: min(100%, 420px);
  padding: 1.7rem 1.65rem;
  display: grid;
  gap: 1.1rem;
}

.hs-sign-in__form {
  display: grid;
  gap: 0.85rem;
}

.hs-map-home {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(240px, 1fr);
  gap: 0.9rem;
  height: 100%;
  padding: 1.25rem 1rem 1.25rem;
}

.hs-map-home__header {
  position: relative;
  z-index: 1200;
  padding: 1rem 1.05rem;
}

.hs-map-home__header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.hs-map-home__header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-top: 0.85rem;
}

.hs-map-home__title-block {
  display: grid;
  gap: 0.35rem;
}

.hs-map-home__title-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hs-map-home__title-row .hs-title {
  margin: 0;
}

.hs-fix-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--hs-line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--hs-muted);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hs-fix-badge__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--hs-accent);
  box-shadow: 0 0 10px var(--hs-accent);
}

.hs-map-plane {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  border-radius: var(--hs-radius);
  border: 1px solid var(--hs-line);
  background:
    linear-gradient(135deg, rgba(94, 231, 255, 0.08), transparent 35%, rgba(178, 0, 255, 0.1)),
    var(--hs-bg1);
  box-shadow: var(--hs-shadow);
}

.hs-map-host {
  position: absolute;
  inset: 0;
}

.hs-map-busy {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(7, 9, 15, 0.28);
  pointer-events: none;
}

.hs-map-attribution {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 500;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--hs-line);
  background: rgba(18, 24, 38, 0.7);
  color: var(--hs-muted);
  font-size: 0.7rem;
  pointer-events: none;
}

.hs-map-toolbar {
  margin: 10px 10px 0 0;
  border: none !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  border-radius: 4px;
}

.hs-map-toolbar.leaflet-bar a.hs-map-toolbar__btn,
.hs-map-toolbar.leaflet-bar a.hs-map-toolbar__btn:hover,
.hs-map-toolbar.leaflet-bar a.hs-map-toolbar__btn:focus,
.hs-map-toolbar.leaflet-bar a.hs-map-toolbar__btn:focus-visible,
.hs-map-toolbar.leaflet-bar a.hs-map-toolbar__btn:active,
.hs-map-toolbar.leaflet-bar a.hs-map-toolbar__btn:visited {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  line-height: 1;
  background: #fff !important;
  color: #333 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  text-decoration: none !important;
  outline: none;
}

.hs-map-toolbar.leaflet-bar a.hs-map-toolbar__btn:last-child {
  border-bottom: none;
}

.hs-map-toolbar.leaflet-bar a.hs-map-toolbar__btn:hover,
.hs-map-toolbar.leaflet-bar a.hs-map-toolbar__btn:focus,
.hs-map-toolbar.leaflet-bar a.hs-map-toolbar__btn:focus-visible {
  background: color-mix(in srgb, #fff 86%, #111) !important;
  color: #333 !important;
}

.hs-map-toolbar.leaflet-bar a.hs-map-toolbar__btn.is-active,
.hs-map-toolbar.leaflet-bar a.hs-map-toolbar__btn.is-active:hover,
.hs-map-toolbar.leaflet-bar a.hs-map-toolbar__btn.is-active:focus,
.hs-map-toolbar.leaflet-bar a.hs-map-toolbar__btn.is-pressed,
.hs-map-toolbar.leaflet-bar a.hs-map-toolbar__btn.is-pressed:hover,
.hs-map-toolbar.leaflet-bar a.hs-map-toolbar__btn.is-pressed:focus,
.hs-map-toolbar.leaflet-bar a.hs-map-toolbar__btn:active {
  color: #1a73e8 !important;
  background: color-mix(in srgb, #1a73e8 14%, #fff) !important;
}

.hs-map-toolbar .hs-map-toolbar__btn i,
.hs-map-toolbar .hs-map-toolbar__icon {
  font-size: 0.95rem;
  pointer-events: none;
  display: block;
  color: inherit;
}

.hs-map-toolbar__icon {
  width: 14px;
  height: 14px;
  overflow: visible;
  flex: 0 0 auto;
}

.hs-map-toolbar__icon path,
.hs-map-toolbar__icon circle {
  stroke: currentColor;
}

.hs-loading {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  gap: 1rem;
  min-height: 100%;
  color: var(--hs-muted);
}

.leaflet-container {
  width: 100%;
  height: 100%;
  background: var(--hs-bg0);
  font: inherit;
}

.leaflet-tooltip.hs-user-location-tooltip {
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  background: #fff;
  color: #333;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
  font-size: 0.75rem;
  line-height: 1.35;
  white-space: nowrap;
}

.leaflet-tooltip.hs-user-location-tooltip::before {
  border-top-color: #fff;
}

.hypertow-user-marker {
  background: transparent !important;
  border: 0 !important;
}

.hypertow-user-marker__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--hs-map-marker);
  border: 2px solid #fff;
  box-shadow: 0 0 0 4px rgba(94, 231, 255, 0.22);
}

.hs-map-home__header-actions,
.hs-vehicles__header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.hs-vehicles {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
  padding: 1rem 1rem 2rem;
  max-width: 720px;
  margin: 0 auto;
}

.hs-vehicles__header {
  display: grid;
  gap: 0.85rem;
  padding: 1.1rem 1.15rem;
}

.hs-vehicles__header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.hs-vehicles__header-main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.hs-vehicles__title-block {
  display: grid;
  gap: 0.35rem;
}

.hs-vehicles__title-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hs-vehicles__title-row .hs-title {
  margin: 0;
}

.hs-vehicles__meta {
  margin: 0;
  font-size: 0.85rem;
}

.hs-vehicles__empty,
.hs-vehicles__form {
  display: grid;
  gap: 0.75rem;
  padding: 1.25rem 1.15rem;
}

.hs-vehicles__empty {
  justify-items: start;
}

.hs-vehicles__empty .hs-garage-icon--hero {
  justify-self: start;
}

.hs-vehicles__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.hs-vehicles__item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  text-align: left;
  color: inherit;
  cursor: pointer;
  border: 0;
  background: transparent;
}

.hs-vehicles__item-main {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.hs-vehicles__pill {
  flex-shrink: 0;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--hs-line);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.hs-vehicles__pill--ready {
  color: #8dffb0;
  border-color: rgba(141, 255, 176, 0.35);
}

.hs-vehicles__pill--needsattention,
.hs-vehicles__pill--reviewdue {
  color: #ffd28a;
  border-color: rgba(255, 210, 138, 0.35);
}

.hs-vehicles__label {
  margin: 0.35rem 0 0;
  color: var(--hs-muted);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hs-vehicles__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.hs-vehicles__flags {
  display: grid;
  gap: 0.45rem;
  margin: 0.35rem 0 0;
  padding: 0;
  border: 0;
}

.hs-vehicles__flags label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--hs-ink);
}

.hs-vehicles__notes {
  min-height: 5.5rem;
  resize: vertical;
}

.hs-vehicles__errors,
.hs-vehicles__reasons ul {
  margin: 0;
  padding-left: 1.1rem;
}

.hs-vehicles__reasons {
  display: grid;
  gap: 0.45rem;
  padding-top: 0.35rem;
}

.hs-vehicles__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding-top: 0.35rem;
}

.hs-vehicles__file-pick {
  position: relative;
  display: inline-flex;
  align-items: center;
}

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

.hs-vehicles__file-input:focus + label {
  outline: 2px solid var(--hs-accent, #5b9fd4);
  outline-offset: 2px;
}

.hs-vehicles__loading {
  min-height: 12rem;
}

.hs-vehicles__steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.hs-vehicles__step {
  min-height: 2.25rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--hs-control-radius);
  border: 1px solid var(--hs-line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--hs-muted);
  cursor: pointer;
}

.hs-vehicles__step.is-active {
  color: var(--hs-ink);
  border-color: rgba(94, 231, 255, 0.45);
  background: rgba(94, 231, 255, 0.12);
}

.hs-vehicles__banner {
  display: grid;
  gap: 0.65rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 210, 138, 0.28);
  border-radius: var(--hs-control-radius);
  background: rgba(255, 210, 138, 0.08);
}

.hs-vehicles__provenance {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
}

.hs-vehicles__row-item {
  display: grid;
  gap: 0.45rem;
}

.hs-vehicles__item-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.45rem;
}

.hs-vehicles__photos,
.hs-vehicles__references {
  display: grid;
  gap: 0.75rem;
}

.hs-vehicles__thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 0.35rem;
  background: rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}


@media (max-width: 560px) {
  .hs-vehicles__row {
    grid-template-columns: 1fr;
  }
}

