: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-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);
}

.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--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) auto;
  gap: 0.9rem;
  height: 100%;
  padding: 1.25rem 1rem 1.25rem;
}

.hs-map-home__header,
.hs-map-home__footer {
  padding: 1rem 1.05rem;
}

.hs-map-home__header-top,
.hs-map-home__footer-row {
  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-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;
  overflow: hidden;
  border: 0 !important;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
}

.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;
  color: var(--hs-ink) !important;
  background: rgba(12, 16, 28, 0.9) !important;
  border-bottom: 1px solid var(--hs-line);
  text-decoration: none !important;
  outline: none;
}

.hs-map-toolbar.leaflet-bar a.hs-map-toolbar__btn:last-child {
  border-bottom: 0;
}

.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 {
  color: var(--hs-ink) !important;
  background: rgba(35, 43, 62, 0.96) !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 {
  color: #5ea2ff !important;
  background: rgba(26, 115, 232, 0.2) !important;
}

.hs-map-toolbar__icon {
  display: block;
  width: 14px;
  height: 14px;
  overflow: visible;
  flex: 0 0 auto;
  color: inherit;
  pointer-events: none;
}

.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;
}

.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);
}
