:root {
  --uav-bg: #0b1220;
  --uav-surface: #121a2b;
  --uav-surface-2: #182234;
  --uav-border: #2a3a52;
  --uav-text: #e8eef7;
  --uav-muted: #8fa3bd;
  --uav-accent: #3b82f6;
  --uav-accent-2: #38bdf8;
}

html {
  color-scheme: dark;
  scrollbar-width: thin;
  scrollbar-color: #243044 #0b1220;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--uav-bg);
  color: var(--uav-text);
  font-family: "Roboto", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #243044 #0b1220;
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
  background: #0b1220;
}

*::-webkit-scrollbar-track,
*::-webkit-scrollbar-corner {
  background: #0b1220;
}

*::-webkit-scrollbar-thumb {
  background: #1e2d44;
  border-radius: 10px;
  border: 2px solid #0b1220;
}

*::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

.uav-wordmark,
.v-application img.uav-wordmark {
  display: block;
  height: 28px;
  width: auto;
  max-width: 220px;
}

.uav-wordmark--lg,
.v-application img.uav-wordmark--lg {
  height: 48px;
  width: auto;
  max-width: 280px;
}

.uav-stat-card {
  border: 1px solid var(--uav-border);
  background: linear-gradient(180deg, rgba(24, 34, 52, 0.95), rgba(15, 23, 42, 0.88));
  border-radius: 10px !important;
}

.uav-panel {
  border: 1px solid var(--uav-border) !important;
  background: rgba(18, 26, 43, 0.92) !important;
  border-radius: 10px !important;
}

.uav-skel-dash {
  display: grid;
  gap: 0.85rem;
}

.uav-skel-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.uav-skel-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.uav-skel-card,
.uav-skel-panel {
  display: grid;
  gap: 0.65rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--uav-border);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(24, 34, 52, 0.95), rgba(15, 23, 42, 0.88));
}

.uav-skel-panel--map {
  min-height: 280px;
}

.uav-skel {
  display: block;
  border-radius: 6px;
  background: linear-gradient(90deg, #182234 0%, #2a3a52 45%, #182234 100%);
  background-size: 200% 100%;
  animation: uav-skel 1.15s ease-in-out infinite;
}

.uav-skel--label { width: 42%; height: 10px; }
.uav-skel--value { width: 56%; height: 28px; }
.uav-skel--hint { width: 68%; height: 10px; }
.uav-skel--title { width: 38%; height: 16px; }
.uav-skel--row { width: 100%; height: 36px; }
.uav-skel--map { width: 100%; height: 220px; border-radius: 8px; }

@keyframes uav-skel {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .uav-skel { animation: none; background: #182234; }
}

@media (max-width: 959px) {
  .uav-skel-stats,
  .uav-skel-split {
    grid-template-columns: 1fr;
  }
}

.uav-hero {
  background:
    radial-gradient(circle at 12% 0%, rgba(59, 130, 246, 0.16), transparent 42%),
    radial-gradient(circle at 88% 8%, rgba(14, 165, 233, 0.1), transparent 38%),
    var(--uav-bg);
}

.uav-network-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2400;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  border-bottom: 1px solid transparent;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.uav-network-banner--offline {
  background: rgba(120, 53, 15, 0.94);
  color: #fef3c7;
  border-bottom-color: rgba(251, 191, 36, 0.35);
}

.uav-network-banner--online {
  background: rgba(6, 78, 59, 0.94);
  color: #d1fae5;
  border-bottom-color: rgba(74, 222, 128, 0.35);
}

.uav-network-banner__icon {
  flex-shrink: 0;
}

.uav-has-network-banner .v-app-bar.v-toolbar {
  top: 40px !important;
}

.uav-has-network-banner .v-navigation-drawer {
  top: 40px !important;
  height: calc(100% - 40px) !important;
}

.v-application:not(.uav-airscene-app):not(.uav-app-signin).uav-has-network-banner .v-main {
  padding-top: calc(var(--uav-main-pad-top, 64px) + 40px) !important;
}

.uav-airscene-app.uav-has-network-banner .uav-airscene__bar,
.uav-airscene-app.uav-has-network-banner .uav-airscene-toolbar,
.uav-airscene-app.uav-has-network-banner .uav-airscene-map-bar {
  top: 40px;
}

.uav-idle-countdown {
  color: #7dd3fc;
  font-size: 1.125rem;
  font-variant-numeric: tabular-nums;
}

.theme--dark.v-application {
  background: var(--uav-bg) !important;
}

.v-navigation-drawer {
  background: #0d1626 !important;
  border-right: 1px solid var(--uav-border) !important;
  z-index: 1105 !important;
}

.v-app-bar.v-toolbar.v-sheet {
  background: rgba(11, 18, 32, 0.92) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--uav-border) !important;
  z-index: 1100 !important;
}

.v-menu__content.uav-account-menu-wrap,
.v-menu__content {
  z-index: 2000 !important;
}

.v-dialog__content {
  z-index: 2200 !important;
}

.v-menu__content.uav-cert-menu,
.v-menu__content.uav-offshore-menu {
  z-index: 2600 !important;
}

.uav-offshore-menu .v-list-item__subtitle {
  color: #94a3b8 !important;
}

.v-data-table {
  background: transparent !important;
}

.uav-nav-item {
  border-radius: 8px !important;
  margin: 2px 8px !important;
}

.uav-nav-group {
  margin-bottom: 2px;
}

.uav-nav-caret {
  margin-right: 6px;
  opacity: 0.7;
  font-size: 20px !important;
}

.uav-nav-caret.is-open {
  opacity: 1;
}

.uav-nav-sub {
  margin: 0 10px 6px 22px;
  padding: 2px 0 2px 8px;
  border-left: 2px solid #2a3a52;
}

.uav-nav-item--nested {
  margin-left: 0 !important;
  min-height: 36px !important;
}

.uav-nav-item--nested .v-list-item__icon {
  margin-right: 10px !important;
}

.v-navigation-drawer .v-list-item__title {
  text-transform: capitalize;
}

.uav-nav-item.uav-nav-active {
  background: rgba(59, 130, 246, 0.16) !important;
  color: #93c5fd !important;
}

.uav-nav-item.uav-nav-disabled {
  opacity: 0.42 !important;
  pointer-events: none;
}

.uav-nav-soon {
  margin-right: 8px;
  color: #8fa3bd;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.uav-avatar {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.uav-account-menu {
  background: #121a2b !important;
  border: 1px solid var(--uav-border) !important;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

.uav-account-menu__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.15rem 1.1rem 1rem;
  background:
    radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.22), transparent 70%),
    #101827;
}

.uav-account-menu__name {
  color: var(--uav-text);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.3;
  margin-top: 0.7rem;
  word-break: break-word;
}

.uav-account-menu__email {
  color: var(--uav-muted);
  font-size: 0.75rem;
  margin-top: 0.2rem;
  word-break: break-all;
}

.uav-account-menu__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.7rem;
}

.uav-account-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.5rem;
  border: 1px solid var(--uav-border);
  border-radius: 999px;
  color: #cbd5e1;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.uav-account-menu__licence {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0.75rem 0.85rem 0;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--uav-border);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.7);
}

.uav-account-menu__licence .k {
  color: var(--uav-muted);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.uav-account-menu__licence .v {
  color: var(--uav-text);
  font-size: 0.82rem;
  font-weight: 600;
}

.uav-account-menu__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.55rem 0.55rem 0.15rem;
}

.uav-account-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: calc(100% - 1.1rem);
  margin: 0;
  padding: 0.55rem 0.7rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--uav-text);
  font: inherit;
  font-size: 0.86rem;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.uav-account-action:hover {
  background: rgba(59, 130, 246, 0.12);
}

.uav-logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: calc(100% - 1.1rem);
  margin: 0.25rem 0.55rem 0.7rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(248, 113, 113, 0.28);
  border-radius: 8px;
  background: transparent;
  color: #fca5a5;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.uav-logout-btn:hover {
  background: rgba(239, 68, 68, 0.12);
  color: #fecaca;
}

.uav-empty {
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--uav-muted);
}

.uav-empty .v-icon {
  margin-bottom: 0.75rem;
}

.landing-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.landing-card {
  max-width: 720px;
  width: 100%;
  border: 1px solid var(--uav-border);
  background: rgba(18, 26, 43, 0.88);
  border-radius: 12px;
  padding: 2rem;
}

html:has(.uav-app-signin),
html:has(.uav-app-signin) body,
html:has(.uav-app-signin) #app {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden !important;
  overscroll-behavior: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html:has(.uav-app-signin)::-webkit-scrollbar,
html:has(.uav-app-signin) body::-webkit-scrollbar,
html:has(.uav-app-signin) #app::-webkit-scrollbar,
.uav-app-signin::-webkit-scrollbar,
.uav-signin-page::-webkit-scrollbar,
.uav-signin-copy::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.uav-signin-wrap {
  min-height: calc(100vh - 64px);
  display: grid;
  place-items: center;
}

.uav-app-signin.theme--dark.v-application,
.uav-app-signin,
.uav-app-signin .v-application--wrap {
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 0 !important;
  max-height: 100dvh !important;
  overflow: hidden !important;
  background: #070d18 !important;
}

.uav-app-signin .v-dialog__content,
.uav-app-signin .v-overlay {
  z-index: 2400 !important;
}

.v-main.uav-signin-main {
  padding: 0 !important;
  width: 100%;
  height: 100% !important;
  max-height: 100%;
  overflow: hidden !important;
  background: #070d18 !important;
}

.uav-app-signin .v-main__wrap {
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100%;
  overflow: hidden !important;
}

.uav-signin-page {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 0;
  background: #070d18;
}

.uav-signin-layout {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.75rem);
  overflow: hidden;
  box-sizing: border-box;
  background: transparent;
}

.uav-signin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  gap: 1rem;
  padding: calc(1rem + env(safe-area-inset-top, 0px)) 0 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.uav-signin-mark--header {
  margin: 0;
}

.uav-signin-mark--header .uav-map-mark {
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
}

.uav-signin-main-grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(320px, 1.45fr) minmax(0, max-content);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  align-content: center;
  min-height: 0;
  padding: clamp(1rem, 3vh, 2rem) 0;
  overflow-y: auto;
}

.uav-signin-hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: min(100%, 34rem);
  max-width: 40rem;
  text-align: left;
}

.uav-signin-aside {
  display: flex;
  justify-content: flex-end;
  min-width: 0;
  max-width: 100%;
  padding-top: 0.15rem;
}

.uav-signin-feature-cards {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  width: max-content;
  max-width: min(100%, 22rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.uav-signin-feature-card {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: auto;
  max-width: 100%;
  min-height: 36px;
  padding: 0.45rem 0.85rem 0.45rem 0.7rem;
  border: 1px solid #334155;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.78);
  box-shadow: none;
}

.uav-signin-feature-card__icon {
  flex-shrink: 0;
  margin: 0;
}

.uav-signin-feature-card__body strong {
  display: block;
  color: #f1f5f9;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: normal;
}

.uav-signin-feature-card__body p {
  display: none;
}

.uav-signin-availability {
  margin: 1.1rem 0 0;
  width: fit-content;
  max-width: 100%;
}

.uav-signin-availability__pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(125, 211, 252, 0.35);
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.1);
  color: #7dd3fc;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.uav-signin-shell {
  width: min(100%, 40rem);
}

@keyframes uav-signin-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

html:has(> body > .uav-signin-page),
html:has(> body > .uav-signin-page) body {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  margin: 0;
  overflow: hidden !important;
  overscroll-behavior: none;
  scrollbar-width: none;
}

body > .uav-signin-page {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #070d18;
}

.uav-signin-stack {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: min(100%, 420px);
  padding: 1.5rem;
}

.uav-signin-brand {
  text-align: left;
}

.uav-signin-card--standalone {
  padding: 1.45rem 1.45rem 1.5rem;
  text-align: left;
}

.uav-signin-card--standalone .uav-signin-hint {
  margin: 0.5rem 0 1.25rem;
  color: #94a3b8;
  font-size: 0.86rem;
  line-height: 1.45;
}

.uav-signin-submit--link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  height: 46px;
  padding: 0 1.4rem;
  border-radius: 10px;
  background: var(--uav-accent);
  color: #fff !important;
  text-decoration: none;
  font-weight: 650;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.32);
}

.uav-signin-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.55rem;
  padding: 0;
}

.uav-signin-topbar,
.uav-signin-hero > *,
.uav-signin-feature-card {
  animation: uav-signin-rise 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.uav-signin-topbar { animation-delay: 0.02s; }
.uav-signin-hero > :nth-child(1) { animation-delay: 0.08s; }
.uav-signin-hero > :nth-child(2) { animation-delay: 0.16s; }
.uav-signin-hero > :nth-child(3) { animation-delay: 0.24s; }
.uav-signin-hero > :nth-child(4) { animation-delay: 0.3s; }
.uav-signin-feature-card:nth-child(1) { animation-delay: 0.32s; }
.uav-signin-feature-card:nth-child(2) { animation-delay: 0.42s; }
.uav-signin-feature-card:nth-child(3) { animation-delay: 0.52s; }

@media (prefers-reduced-motion: reduce) {
  .uav-signin-topbar,
  .uav-signin-hero > *,
  .uav-signin-feature-card {
    animation: none !important;
  }
}

.uav-signin-copy .uav-wordmark,
.v-application .uav-signin-copy img.uav-wordmark {
  margin: 0;
  height: 36px;
  max-width: 240px;
}

.uav-signin-mark {
  margin: 0;
}

.uav-signin-mark .uav-map-mark {
  font-size: clamp(1.7rem, 2.2vw, 2.05rem);
}

.uav-signin-headline {
  margin: 0.75rem 0 0;
  max-width: 22rem;
  color: var(--uav-text);
  font-family: "Roboto", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.95rem, 2.2vw + 0.85rem, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.uav-signin-hero .uav-signin-kicker {
  margin: 0;
}

.uav-signin-kicker {
  margin: 0.7rem 0 0;
  max-width: 28rem;
  color: #7dd3fc;
  font-family: "Roboto", "Segoe UI", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.4;
  text-transform: none;
}

.uav-signin-lead {
  margin: 0.85rem 0 0;
  max-width: 32rem;
  color: var(--uav-muted);
  font-family: "Roboto", "Segoe UI", system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.55;
}

.uav-signin-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.05rem;
  width: 100%;
  margin: clamp(0.7rem, 2vh, 1.5rem) 0 0;
  padding: 0;
  list-style: none;
}

.uav-signin-features li {
  position: relative;
  padding: 0.38rem 0 0.38rem 1.35rem;
  border: 0;
  border-radius: 0;
  color: var(--uav-text);
  font-family: "Roboto", "Segoe UI", system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.4;
  text-align: left;
  background: none;
}

.uav-signin-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  transform: none;
  background: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.14);
}

.uav-signin-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  margin-top: clamp(0.85rem, 2.4vh, 1.8rem);
  padding-top: clamp(0.7rem, 1.8vh, 1.25rem);
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.uav-signin-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin: 0;
  min-width: 5.75rem;
  height: 36px;
  padding: 0 0.85rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--uav-accent);
  color: #fff;
  font-family: "Roboto", "Segoe UI", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: none;
}

a.uav-signin-cta {
  text-decoration: none;
  color: #fff;
}

.uav-signin-cta:hover {
  background: #2563eb;
}

.uav-signin-cta:focus {
  outline: none;
}

.uav-signin-cta:focus-visible {
  box-shadow: 0 0 0 3px #070d18, 0 0 0 5px #38bdf8;
}

.uav-signin-cta--ghost {
  background: transparent;
  color: var(--uav-text);
  border-color: #334155;
}

.uav-signin-cta--ghost:hover {
  background: rgba(59, 130, 246, 0.14);
  border-color: var(--uav-accent);
  color: var(--uav-text);
}

.uav-signin-foot-note {
  margin: 0;
  color: #64748b;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.uav-signin-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 85% 55% at 78% 18%, rgba(37, 99, 235, 0.14), transparent 58%),
    radial-gradient(ellipse 55% 45% at 12% 85%, rgba(56, 189, 248, 0.09), transparent 52%),
    #070d18;
}

.uav-signin-visual::before,
.uav-signin-visual::after {
  display: none;
}

.uav-fleet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  max-width: 640px;
}

.uav-fleet-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--uav-border);
  border-radius: 2px;
  background: #101827;
}

.uav-fleet-card img,
.v-application .uav-fleet-card img {
  display: block;
  width: 100%;
  height: 148px;
  object-fit: cover;
  object-position: center;
}

.uav-fleet-card figcaption {
  padding: 0.45rem 0.65rem;
  color: var(--uav-text);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-top: 1px solid var(--uav-border);
  background: rgba(18, 26, 43, 0.92);
}

.uav-signin-dialog {
  margin: 1.25rem !important;
  box-shadow: 0 32px 88px rgba(0, 0, 0, 0.62) !important;
  overflow: visible !important;
  border-radius: 16px !important;
}

.uav-signin-card {
  position: relative;
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.18) !important;
  background: linear-gradient(165deg, #0f1a2e 0%, #0a101c 48%, #070d18 100%) !important;
  border-radius: 16px !important;
  box-shadow: inset 0 1px 0 rgba(148, 163, 184, 0.06);
}

.uav-signin-card__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  z-index: 2;
}

.uav-signin-card__close:hover {
  background: rgba(148, 163, 184, 0.12);
  color: #e2e8f0;
}

.uav-signin-card__head {
  padding: 1.55rem 1.5rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.uav-signin-card__brand {
  margin: 0 0 0.85rem;
  line-height: 1;
}

.uav-signin-card__brand .uav-map-mark {
  font-size: 1.25rem;
}

.uav-signin-card__eyebrow {
  margin: 0 0 0.35rem;
  color: #7dd3fc;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.uav-signin-title {
  margin: 0;
  color: #f8fafc;
  font-size: 1.22rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-align: left;
  width: 100%;
}

.uav-signin-card__sub {
  margin: 0.5rem 0 0;
  color: #94a3b8;
  font-size: 0.84rem;
  line-height: 1.45;
  max-width: 30ch;
}

.uav-signin-card__body {
  padding: 1.2rem 1.5rem 1.5rem !important;
}

.uav-signin-card__body .v-text-field.v-text-field--outlined fieldset {
  border-color: rgba(100, 116, 139, 0.55) !important;
}

.uav-signin-card__body .v-text-field.v-text-field--outlined:not(.v-input--is-focused) fieldset {
  background: rgba(15, 23, 42, 0.45);
}

.uav-signin-card__body .v-text-field.v-text-field--outlined.v-input--is-focused fieldset {
  border-color: #38bdf8 !important;
}

.uav-signin-hint {
  color: var(--uav-muted) !important;
}

.uav-signin-submit {
  height: 48px !important;
  border-radius: 8px !important;
  text-transform: none !important;
  letter-spacing: 0.01em;
  font-weight: 650 !important;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
}

.uav-signin-forgot {
  color: #94a3b8 !important;
  letter-spacing: 0.02em;
  text-transform: none !important;
}

@media (max-width: 1080px) {
  .uav-signin-main-grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
    align-content: center;
    padding: clamp(1rem, 3vh, 2rem) 0;
  }

  .uav-signin-hero {
    min-width: 0;
    max-width: none;
  }

  .uav-signin-headline {
    max-width: none;
    font-size: clamp(1.85rem, 5.5vw, 2.35rem);
  }

  .uav-signin-feature-cards {
    width: 100%;
    max-width: 38rem;
    align-items: stretch;
  }

  .uav-signin-aside {
    justify-content: flex-start;
  }
}

@media (max-width: 960px) {
  .uav-app-signin,
  .uav-app-signin .v-application--wrap,
  .v-main.uav-signin-main {
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 0 !important;
    max-height: 100dvh !important;
    overflow: hidden !important;
  }

  .uav-signin-page {
    height: 100%;
    overflow: hidden;
    padding: 0;
  }

  .uav-signin-layout {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .uav-signin-visual {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
  }

  .uav-signin-layout {
    padding: 0 1.1rem;
  }

  .uav-signin-main-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: clamp(0.75rem, 2vh, 1.5rem) 0;
    overflow-y: auto;
    align-content: center;
    align-items: stretch;
  }

  .uav-signin-feature-cards {
    width: 100%;
    max-width: 100%;
  }

  .uav-signin-feature-card {
    width: 100%;
    border-radius: 8px;
  }

  .uav-signin-headline {
    max-width: none;
    font-size: clamp(1.85rem, 6.4vw, 2.35rem);
  }

  .uav-signin-actions {
    gap: 0.45rem;
  }

  .uav-signin-cta {
    height: 36px;
    padding: 0 0.8rem;
    font-size: 0.8125rem;
  }

  .uav-signin-card__head,
  .uav-signin-title {
    text-align: center;
  }

  .uav-signin-card__head {
    padding: 1.55rem 2.4rem 0;
  }

  .uav-signin-card__body {
    padding: 1.05rem 1.2rem 1.35rem !important;
  }

  .uav-app-signin .v-dialog {
    margin: 1rem !important;
    max-width: calc(100vw - 2rem) !important;
  }

  .uav-fleet-card img,
  .v-application .uav-fleet-card img {
    height: 112px;
  }
}

@media (max-height: 640px) {
  .uav-signin-lead {
    display: none;
  }
}

@media (max-height: 620px) {
  .uav-signin-feature-card__body p {
    display: none;
  }
}

.import-lead {
  color: #8fa3bd;
  max-width: 52rem;
  line-height: 1.55;
}

.import-steps {
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.55;
  padding-left: 1.2rem;
  max-width: 52rem;
}

.import-steps li + li {
  margin-top: 0.35rem;
}

.import-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin: 0.75rem 0 0.25rem;
}

.import-table-wrap {
  overflow: auto;
  border: 1px solid #1e293b;
  border-radius: 8px;
  max-height: 480px;
}

.import-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.import-table th,
.import-table td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid #1e293b;
  white-space: nowrap;
}

.import-table th {
  color: #8fa3bd;
  font-weight: 600;
  position: sticky;
  top: 0;
  background: #121a2b;
}

.import-table .mono {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12px;
}

.import-table .ok { color: #86efac; }
.import-table .muted { color: #64748b; }
.import-table .err { color: #fca5a5; white-space: normal; max-width: 280px; }

.uav-overview-map-wrap--dash {
  height: 360px;
}

.uav-dash-pilots,
.uav-dash-map {
  width: 100% !important;
  max-width: 100%;
  align-self: stretch;
}

@media (min-width: 960px) {
  .uav-dash-split > .v-col,
  .uav-dash-split > .col {
    display: flex;
  }

  .uav-dash-pilots,
  .uav-dash-map {
    display: flex;
    flex-direction: column;
    min-height: 420px;
  }

  .uav-dash-pilots .uav-pilot-dash,
  .uav-dash-pilots .uav-empty {
    flex: 1 1 auto;
  }

  .uav-dash-map .uav-overview-map-wrap--dash {
    flex: 1 1 auto;
    height: 360px;
    min-height: 360px;
  }
}

.uav-dash-head {
  padding: 0.85rem 1rem 0.45rem;
}

.uav-dash-head__top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.uav-dash-head h2,
.uav-dash-head .uav-map-title-btn {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.3;
  color: inherit;
}

.uav-dash-head__sub {
  margin: 0.3rem 0 0;
  color: var(--uav-muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.uav-dash-head__meta {
  color: var(--uav-muted);
  font-size: 0.75rem;
  white-space: nowrap;
  flex: 0 0 auto;
}

.uav-recent-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 0.7rem 1rem 0.85rem;
  border: 0;
  background: transparent;
  color: var(--uav-muted);
  font-size: 0.9rem;
  cursor: pointer;
}

.uav-recent-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  width: 100%;
  margin: 0;
  padding: 0.7rem 1rem;
  border: 0;
  border-top: 1px solid var(--uav-border);
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.uav-recent-row__when {
  font-size: 0.88rem;
  font-weight: 600;
}

.uav-recent-row__meta {
  color: var(--uav-muted);
  font-size: 0.78rem;
}

.uav-logbook-filter {
  padding: 0 1rem 0.75rem;
}

.uav-logbook-filter .uav-pilot-select {
  max-width: 280px;
}

.uav-logbook-row {
  display: flex;
  align-items: center;
  border-top: 1px solid var(--uav-border);
}

.uav-recent-row--log {
  flex: 1 1 auto;
  min-width: 0;
  border-top: 0;
}

.uav-map-title-btn {
  appearance: none;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-align: left;
}

.uav-map-title-btn:hover {
  color: #38bdf8;
}

.uav-dash-map.is-locations-fs {
  position: fixed !important;
  inset: 0 !important;
  z-index: 1250;
  display: flex;
  flex-direction: column;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 100% !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: #0b1220 !important;
}

.uav-dash-map.is-locations-fs .uav-overview-map-wrap,
.uav-dash-map.is-locations-fs .uav-overview-map-wrap--dash {
  flex: 1 1 auto;
  height: auto !important;
  min-height: 0 !important;
  margin: 0;
  border: none;
  border-radius: 0;
}

body.uav-locations-fs {
  overflow: hidden;
}

.uav-map-tip-wrap,
.leaflet-tooltip.uav-map-tip-wrap {
  background: rgba(15, 23, 42, 0.96) !important;
  border: 1px solid #334155 !important;
  border-radius: 8px !important;
  color: #e8eef7 !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  padding: 0 !important;
  white-space: normal;
  max-width: 280px;
}

.leaflet-tooltip-top.uav-map-tip-wrap::before {
  border-top-color: rgba(15, 23, 42, 0.96) !important;
}

.leaflet-tooltip-bottom.uav-map-tip-wrap::before {
  border-bottom-color: rgba(15, 23, 42, 0.96) !important;
}

.leaflet-tooltip-left.uav-map-tip-wrap::before {
  border-left-color: rgba(15, 23, 42, 0.96) !important;
}

.leaflet-tooltip-right.uav-map-tip-wrap::before {
  border-right-color: rgba(15, 23, 42, 0.96) !important;
}

.v-tooltip__content,
.theme--light .v-tooltip__content,
.theme--dark .v-tooltip__content,
.v-tooltip__content.uav-tip {
  background: #0f1728 !important;
  color: #e8eef7 !important;
  border: 1px solid #334155 !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4) !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  opacity: 1 !important;
  padding: 0.4rem 0.55rem !important;
  max-width: 280px;
}

.uav-map-tip {
  padding: 0.45rem 0.6rem;
  line-height: 1.35;
  font-size: 12px;
}

.uav-map-tip strong {
  display: block;
  margin-bottom: 0.15rem;
}

.uav-map-tip div {
  color: #cbd5e1;
}

.uav-notam-ref {
  background: none !important;
  border: none !important;
}

.uav-notam-ref span {
  display: inline-block;
  transform: translate(-50%, -50%);
  background: #0f1728;
  color: #fde68a;
  border: 1px solid #ca8a04;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  padding: 1px 4px;
  white-space: nowrap;
  pointer-events: none;
}

.uav-airspace-detail__ref {
  display: block;
  font-size: 12px;
  color: #fde68a;
  font-weight: 700;
}

.uav-overview-map-wrap {
  position: relative;
  z-index: 0;
  isolation: isolate;
  height: 420px;
  margin: 0 12px 12px;
  border: 1px solid #1e293b;
  border-radius: 8px;
  overflow: hidden;
  background: #0a2a42;
}

.uav-overview-map {
  position: absolute;
  inset: 0;
  z-index: 0;
  height: auto;
  width: auto;
  background: #0a2a42;
}

.uav-overview-map .leaflet-container {
  z-index: 0;
}

.uav-overview-map .leaflet-control-container {
  z-index: 2;
}

.uav-overview-map-empty {
  position: absolute;
  inset: auto 12px 12px 12px;
  z-index: 500;
  color: #cbd5e1;
  background: rgba(11, 18, 32, 0.82);
  border: 1px solid #1e293b;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 13px;
}

.uav-pilot-select {
  max-width: 240px;
}

.uav-inline-select {
  max-width: 180px;
  margin: 0 !important;
  font-size: 13px;
}

.uav-inline-select.v-input {
  margin-top: 0;
}

.marker-cluster-small {
  background-color: rgba(56, 189, 248, 0.35);
}
.marker-cluster-small div {
  background-color: rgba(56, 189, 248, 0.88);
  color: #0b1220;
  font-weight: 700;
}
.marker-cluster-medium {
  background-color: rgba(251, 146, 60, 0.4);
}
.marker-cluster-medium div {
  background-color: rgba(251, 146, 60, 0.92);
  color: #0b1220;
  font-weight: 700;
}
.marker-cluster-large {
  background-color: rgba(239, 68, 68, 0.45);
}
.marker-cluster-large div {
  background-color: rgba(239, 68, 68, 0.92);
  color: #fff;
  font-weight: 700;
}

.uav-role-chip {
  text-transform: none !important;
  letter-spacing: 0.02em;
}

.uav-org-chip {
  display: none;
  align-items: center;
  height: 36px;
  padding: 0 0.9rem;
  margin-right: 0.75rem;
  border: 1px solid var(--uav-border);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.95));
  color: var(--uav-text);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 600px) {
  .uav-org-chip {
    display: inline-flex;
  }
}

.theme--dark.v-chip,
.v-chip.uav-role-chip,
.v-application .v-chip {
  border-radius: 2px !important;
}

.uav-pilot-dash {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0 0 0.35rem;
}

.uav-pilot-dash__cols,
.uav-pilot-dash__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 4.25rem 4.75rem 5.75rem;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.55rem 1rem;
}

.uav-pilot-dash__cols {
  padding: 0 1rem 0.4rem;
  color: #8fa3bd;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.uav-pilot-dash__cols span:nth-child(n + 2) {
  text-align: right;
}

.uav-pilot-dash__row {
  margin: 0;
  border: 0;
  border-top: 1px solid var(--uav-border);
  border-radius: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.uav-pilot-dash__row:hover {
  background: rgba(59, 130, 246, 0.08);
}

.uav-pilot-dash__row.is-unassigned .uav-avatar {
  background: #334155 !important;
  color: #cbd5e1;
}

.uav-pilot-dash__pilot {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.uav-pilot-dash__meta {
  min-width: 0;
  flex: 1;
}

.uav-pilot-dash__name {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
}

.uav-pilot-dash__sub {
  color: var(--uav-muted);
  font-size: 0.72rem;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.uav-pilot-dash__metrics {
  display: contents;
}

.uav-pilot-dash__num,
.uav-pilot-dash__time,
.uav-pilot-dash__cur {
  text-align: right;
}

.uav-pilot-dash__num {
  font-size: 0.875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.uav-pilot-dash__time {
  color: var(--uav-muted);
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
}

.uav-pilot-dash__cur {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.uav-pilot-dash__na {
  color: var(--uav-muted);
}

.uav-currency-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.uav-pilot-dash__cur .uav-currency-chip {
  margin: 0;
}

.uav-currency-chip.is-current {
  background: rgba(34, 197, 94, 0.18);
  color: #86efac;
}

.uav-currency-chip.is-due {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
}

.uav-currency-chip.is-lapsed {
  background: rgba(239, 68, 68, 0.18);
  color: #fca5a5;
}

.uav-category-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.uav-category-chip.is-a1 {
  background: rgba(56, 189, 248, 0.16);
  color: #7dd3fc;
}

.uav-category-chip.is-a2 {
  background: rgba(167, 139, 250, 0.18);
  color: #c4b5fd;
}

.uav-category-chip.is-specific {
  background: rgba(251, 146, 60, 0.18);
  color: #fdba74;
}

.uav-category-chip.is-unknown {
  background: rgba(148, 163, 184, 0.16);
  color: #94a3b8;
}

.fleet-air-meta .uav-category-chip {
  margin-right: 0.45rem;
}

.uav-pilot-table tbody tr {
  cursor: pointer;
}

.uav-currency-progress {
  min-width: 132px;
}

.uav-currency-progress__bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.22);
  overflow: hidden;
}

.uav-currency-progress__bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #64748b;
}

.uav-currency-progress.is-current .uav-currency-progress__bar span {
  background: #22c55e;
}

.uav-currency-progress.is-due .uav-currency-progress__bar span {
  background: #f59e0b;
}

.uav-currency-progress.is-lapsed .uav-currency-progress__bar span {
  background: #ef4444;
}

.uav-currency-progress__meta {
  margin-top: 0.28rem;
  color: var(--uav-muted);
  font-size: 0.72rem;
  line-height: 1.3;
}

.uav-currency-progress__meta span,
.uav-currency-progress__meta em {
  color: #93c5fd;
  font-style: normal;
}

.uav-currency-progress--lg {
  margin-bottom: 0.85rem;
  max-width: 420px;
}

.uav-currency-progress--lg .uav-currency-progress__bar {
  height: 8px;
}

.uav-currency-progress--dash {
  margin-top: 0;
  min-width: 92px;
}

.uav-cert-minis {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.uav-cert-mini {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  opacity: 0.32;
  filter: grayscale(0.8);
}

.uav-cert-mini.is-valid,
.uav-cert-mini.is-expiring {
  opacity: 1;
  filter: none;
}

.uav-cert-mini.is-expired {
  opacity: 0.85;
  filter: none;
}

.uav-pilot-expand {
  background: #0f1728 !important;
  padding: 0.85rem 0.75rem 1rem !important;
}

.uav-cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.7rem;
}

.uav-cert-card {
  display: flex;
  gap: 0.7rem;
  padding: 0.7rem;
  border: 1px solid var(--uav-border);
  border-radius: 10px;
  background: #121a2b;
}

.uav-cert-card.is-missing {
  opacity: 0.72;
}

.uav-cert-card.is-expired {
  border-color: rgba(239, 68, 68, 0.45);
}

.uav-cert-card.is-expiring {
  border-color: rgba(245, 158, 11, 0.45);
}

.uav-cert-card.is-valid {
  border-color: rgba(34, 197, 94, 0.35);
}

.uav-cert-card__logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex-shrink: 0;
}

.uav-cert-card__body {
  min-width: 0;
}

.uav-cert-card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.uav-cert-card__top strong {
  font-size: 0.88rem;
}

.uav-cert-card__status {
  color: var(--uav-muted);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.uav-cert-card__full,
.uav-cert-card__ref,
.uav-cert-card__dates,
.uav-cert-card__hours {
  color: var(--uav-muted);
  font-size: 0.72rem;
  margin-top: 0.15rem;
}

.uav-cert-card__ref {
  color: #e8eef7;
}

.uav-cert-card__dates {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.uav-pilot-expand__actions {
  margin-top: 0.75rem;
}

.uav-cert-edit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}

.uav-cert-edit {
  border: 1px solid var(--uav-border);
  border-radius: 10px;
  padding: 0.75rem;
  background: #101827;
}

.uav-cert-edit__head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}

.uav-cert-edit__head img {
  width: 40px;
  height: 40px;
  border-radius: 9px;
}

.uav-cert-edit__full {
  color: var(--uav-muted);
  font-size: 0.72rem;
}

.uav-cert-card__provider,
.uav-provider-choice {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.25rem;
  color: #e8eef7;
  font-size: 0.75rem;
}

.uav-cert-card__provider img,
.uav-provider-choice img {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  flex-shrink: 0;
}

.uav-provider-choice {
  margin-top: 0;
  min-width: 0;
}

.uav-provider-choice span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.uav-page {
  padding: 1.5rem !important;
}

.v-main.uav-main--fill {
  overflow: hidden;
}

.uav-page--mission {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 64px);
  max-height: calc(100vh - 64px);
  overflow: hidden;
  padding: 0.75rem 1rem 0.85rem !important;
}

.uav-header-back {
  margin-right: 2px !important;
}

.uav-header-mission {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  flex: 0 1 auto;
  max-width: min(52vw, 520px);
  margin-right: 0.5rem;
}

.uav-header-mission__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--uav-text);
}

.uav-header-edit {
  margin-right: 0.35rem !important;
  letter-spacing: 0.02em;
}

.uav-flight-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.uav-flight-toolbar__delete {
  margin-left: auto;
}

.uav-account-menu-wrap {
  max-width: calc(100vw - 16px) !important;
}

.v-data-table .v-data-table__wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 959px) {
  html {
    -webkit-text-size-adjust: 100%;
  }

  .uav-page {
    padding: 0.85rem 0.7rem 1.5rem !important;
  }

  .v-app-bar.v-toolbar.v-sheet {
    padding-top: env(safe-area-inset-top);
  }

  .v-navigation-drawer {
    padding-top: env(safe-area-inset-top);
  }

  .v-toolbar__title {
    font-size: 1.05rem !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: calc(100vw - 132px);
  }

  .uav-dash-split > .v-col,
  .uav-dash-split > .col {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }

  .uav-overview-map-wrap,
  .uav-overview-map-wrap--dash {
    height: 230px;
    width: auto;
    margin: 0 12px 12px;
  }

  .uav-dash-head h2,
  .uav-dash-head .uav-map-title-btn {
    font-size: 1.02rem;
  }

  .uav-dash-head__top .v-btn {
    flex: 0 0 auto;
    margin: 0 !important;
  }

  .uav-pilot-dash__name,
  .uav-pilot-dash__sub {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .uav-pilot-dash__cols {
    display: none;
  }

  .uav-pilot-dash__row {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0.55rem 0.9rem;
  }

  .uav-pilot-dash__metrics {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
  }

  .uav-stat-card .text-h4 {
    font-size: 1.45rem !important;
  }

  .uav-panel > .v-card__title,
  .uav-stat-card .v-card-title {
    font-size: 1.05rem !important;
    line-height: 1.3;
    padding: 0.85rem 0.9rem 0.4rem !important;
  }

  .uav-pilot-select {
    max-width: 100% !important;
    width: 100%;
    margin: 0 !important;
  }

  .uav-inline-select {
    max-width: 100%;
  }

  .uav-flight-toolbar__delete {
    margin-left: 0;
  }

  .import-table-wrap {
    max-height: 360px;
  }

  .v-dialog {
    margin: 12px !important;
  }

  .v-text-field input,
  .v-select input {
    font-size: 16px !important;
  }

}

.uav-mission-page {
  display: grid;
  grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
  gap: 0.85rem;
  align-items: stretch;
  min-height: calc(100vh - 96px);
}

.uav-mission-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  width: 100%;
  margin: 0;
  padding: 0.7rem 1rem;
  border: 0;
  border-top: 1px solid var(--uav-border);
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.uav-mission-item.is-active {
  background: rgba(59, 130, 246, 0.12);
}

.uav-mission-item em {
  color: var(--uav-muted);
  font-style: normal;
  font-size: 0.75rem;
}

.uav-mission-status {
  display: inline-flex;
  align-items: center;
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #1e293b;
  color: #cbd5e1;
}

.uav-mission-status.is-clear { background: rgba(34, 197, 94, 0.18); color: #86efac; }
.uav-mission-status.is-warning { background: rgba(245, 158, 11, 0.18); color: #fbbf24; }
.uav-mission-status.is-restricted { background: rgba(239, 68, 68, 0.18); color: #fca5a5; }
.uav-mission-status.is-draft { background: rgba(148, 163, 184, 0.16); color: #cbd5e1; }

.uav-mission-main {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
}

.uav-mission-list {
  max-height: calc(100vh - 96px);
  overflow: auto;
}

.uav-mission-form {
  padding: 0.15rem 1rem 0.35rem;
}

.uav-mission-wx {
  margin: 0.15rem 0 0.85rem;
  padding: 0.9rem 0.95rem;
  border: 1px solid rgba(45, 212, 191, 0.45);
  border-radius: 10px;
  background: linear-gradient(180deg, #123044 0%, #0b1220 100%);
  box-shadow: inset 0 1px 0 rgba(94, 234, 212, 0.12);
}

.uav-mission-wx__k {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: #5eead4;
}

.uav-mission-wx__v {
  margin-top: 0.35rem;
  color: #f8fafc;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
}

.uav-mission-wx__s {
  margin-top: 0.28rem;
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.4;
}

.uav-mission-wx__s.is-warn {
  color: #fdba74;
}

.uav-mission-wx--in-card {
  margin: 0 1rem 1rem;
}

.uav-map-chips {
  position: absolute;
  top: 12px;
  left: 52px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  max-width: min(360px, calc(100% - 96px));
  pointer-events: none;
}

.uav-nats-badge {
  position: relative;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 0.42rem 0.62rem;
  border-radius: 8px;
  border: 1px solid rgba(56, 189, 248, 0.38);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(8, 15, 28, 0.94));
  color: #e2e8f0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  cursor: default;
}

.uav-nats-badge__k {
  color: #7dd3fc;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.uav-nats-badge__v {
  color: #e8eef7;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.3;
  white-space: nowrap;
}

.uav-nats-badge__tip {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: min(280px, calc(100vw - 80px));
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  border: 1px solid #334155;
  background: rgba(15, 23, 42, 0.97);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  white-space: normal;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  z-index: 20;
}

.uav-nats-badge__tip div + div {
  margin-top: 0.4rem;
}

.uav-nats-badge:hover .uav-nats-badge__tip,
.uav-nats-badge:focus-within .uav-nats-badge__tip {
  display: block;
}

.uav-mission-wx-chip {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: rgba(15, 23, 42, 0.94);
  color: #e2e8f0;
}

.uav-mission-wx-chip strong {
  font-size: 12px;
  color: #7dd3fc;
}

.uav-mission-wx-chip span {
  font-size: 12px;
  color: #cbd5e1;
}

.uav-mission-when-menu {
  overflow: hidden;
  border: 1px solid var(--uav-border) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5) !important;
}

.uav-mission-when-card {
  background: #0f172a !important;
  width: 300px;
}

.uav-mission-when-card .v-picker,
.uav-mission-when-card .v-picker__body,
.uav-mission-when-card .v-date-picker-table {
  background: transparent !important;
}

.uav-mission-when-card .v-date-picker-header {
  padding: 4px 8px 0;
}

.uav-mission-when-card .v-date-picker-table .v-btn {
  position: relative;
}

.uav-mission-when-card .v-date-picker-table__events {
  position: absolute;
  left: 50%;
  bottom: 4px;
  top: auto;
  right: auto;
  width: 7px;
  height: 7px;
  margin: 0;
  padding: 0;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.uav-mission-when-card .v-date-picker-table__events > div {
  width: 7px !important;
  height: 7px !important;
  min-width: 7px;
  margin: 0 !important;
  border-radius: 50% !important;
  opacity: 0.9;
}

.uav-mission-when-card .v-btn.v-btn--active .v-date-picker-table__events {
  opacity: 0;
}

.uav-mission-when-time {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 0.85rem 0.65rem;
  color: #cbd5e1;
  font-size: 12px;
}

.uav-mission-when-time span:first-child {
  min-width: 2.7rem;
  font-weight: 700;
  color: #94a3b8;
}

.uav-mission-when-time + .uav-mission-when-time {
  padding-top: 0;
}

.uav-mission-when-colon {
  color: var(--uav-muted);
  font-weight: 700;
}

.uav-mission-when-select {
  min-width: 4.2rem;
  padding: 0.3rem 0.4rem;
  border-radius: 6px;
  border: 1px solid var(--uav-border);
  background: #0b1220;
  color: var(--uav-text);
  font: inherit;
  font-size: 13px;
}

.uav-mission-when-legend {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0 0.85rem 0.8rem;
  color: #94a3b8;
  font-size: 11px;
}

.uav-mission-when-legend__i {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.uav-mission-when-legend__i::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.uav-mission-when-legend__i.is-windy::before {
  background: #2dd4bf;
}

.uav-mission-when-legend__i.is-wx::before {
  background: #38bdf8;
}

.uav-mission-list-scroll {
  max-height: 28vh;
  overflow: auto;
}

.uav-mission-list__actions {
  display: flex;
  gap: 0.4rem;
  padding: 0.35rem 0 0.7rem;
}

.uav-save-status {
  padding: 0 0 0.85rem;
  color: #7dd3fc;
  font-size: 12px;
  line-height: 1.4;
}

.uav-unit-row {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.uav-unit-row .v-input {
  flex: 1;
}

.uav-unit-toggle {
  display: flex;
  margin-top: 4px;
  height: 40px;
  border: 1px solid var(--uav-border);
  border-radius: 6px;
  overflow: hidden;
  background: #0b1220;
}

.uav-unit-toggle button {
  min-width: 36px;
  padding: 0 0.55rem;
  border: 0;
  background: transparent;
  color: #94a3b8;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.uav-unit-toggle button + button {
  border-left: 1px solid var(--uav-border);
}

.uav-unit-toggle button.is-on {
  background: rgba(59, 130, 246, 0.22);
  color: #fff;
}

.uav-w3w-row {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.uav-w3w-row .v-input {
  flex: 1;
}

.uav-w3w-search {
  margin-top: 4px;
  height: 40px !important;
  min-width: 88px;
}

.uav-mission-list__actions .uav-w3w-search {
  margin-top: 0;
}

.uav-airspace-detail {
  position: absolute;
  left: 12px;
  right: auto;
  bottom: 16px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  width: min(340px, calc(100% - 24px));
  max-height: min(42vh, 300px);
  overflow: hidden;
  padding: 0;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.38);
  background: rgba(11, 18, 32, 0.97);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.42);
}

.uav-airspace-detail__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #334155;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.9);
  color: #e2e8f0;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}

.uav-airspace-detail__close:hover {
  background: #1e293b;
}

.uav-airspace-detail__top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 12px 44px 8px 12px;
}

.uav-airspace-detail.is-draggable .uav-airspace-detail__top {
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.uav-airspace-detail.is-draggable .uav-airspace-detail__top:active {
  cursor: grabbing;
}

.uav-airspace-detail__top strong {
  font-size: 0.88rem;
  line-height: 1.25;
  color: #f8fafc;
}

.uav-airspace-detail__meta,
.uav-airspace-detail__body {
  color: #cbd5e1;
  font-size: 0.75rem;
  line-height: 1.4;
  margin: 0;
  white-space: pre-wrap;
}

.uav-airspace-detail__meta {
  padding: 0 12px 10px;
}

.uav-airspace-detail__body {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overflow: auto;
  padding: 10px 12px 12px;
  border-top: 1px solid #1e293b;
  color: #94a3b8;
}

.uav-mission-map-card {
  height: 100%;
}

.uav-fly-verdict {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.94);
  pointer-events: none;
}

.uav-fly-verdict--inline {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  width: 100%;
  margin-top: 10px;
  padding: 0.45rem 0.6rem;
  pointer-events: auto;
}

.uav-fly-verdict--inline strong {
  font-size: 0.82rem;
}

.uav-fly-verdict--inline span {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.72rem;
  line-height: 1.3;
}

.uav-fly-verdict strong {
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.uav-fly-verdict span {
  color: #cbd5e1;
  font-size: 0.78rem;
}

.uav-fly-verdict.is-clear {
  border-color: #22c55e;
  background: rgba(6, 78, 59, 0.94);
}

.uav-fly-verdict.is-restricted {
  border-color: #ef4444;
  background: rgba(127, 29, 29, 0.94);
}

.uav-fly-verdict.is-warning {
  border-color: #f59e0b;
  background: rgba(120, 53, 15, 0.94);
}

.uav-fly-verdict.is-error {
  border-color: #f87171;
}

.uav-fly-verdict.is-checking,
.uav-fly-verdict.is-idle {
  border-color: rgba(59, 130, 246, 0.5);
}

.uav-mission-map-wrap {
  position: relative;
  height: 320px;
  border: 1px solid var(--uav-border);
  border-radius: 8px;
  overflow: hidden;
  isolation: isolate;
}

.uav-mission-map-wrap--lg {
  height: calc(100vh - 108px);
  min-height: 480px;
}

.uav-mission-map {
  width: 100%;
  height: 100%;
  min-height: 480px;
  z-index: 1;
  background: #0b1220;
}

.uav-terrain-3d {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
  background: transparent;
  opacity: 0;
}

.uav-terrain-3d.is-ready {
  pointer-events: auto;
  opacity: 1;
  background: #0b1220;
}

.uav-terrain-3d .maplibregl-map,
.uav-terrain-3d .maplibregl-canvas,
.uav-terrain-3d .maplibregl-canvas-container {
  width: 100%;
  height: 100%;
}

.uav-mission-map-wrap.is-3d-on {
  isolation: auto;
}

.uav-mission-map-wrap.is-3d-on .leaflet-container {
  pointer-events: none;
}

.uav-mission-map-wrap .leaflet-bar {
  border: 1px solid #334155;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.uav-mission-map-wrap .leaflet-bar a,
.uav-mission-map-wrap .leaflet-control-zoom a {
  background: rgba(15, 23, 42, 0.92) !important;
  color: #e2e8f0 !important;
  border-bottom-color: #334155 !important;
  width: 30px;
  height: 30px;
  line-height: 30px;
}

.uav-mission-map-wrap .leaflet-bar a:hover {
  background: #1e293b !important;
}

.uav-mission-map-wrap .leaflet-bar a.leaflet-disabled {
  background: #0f172a !important;
  color: #64748b !important;
}

.uav-3d-pin {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #a855f7;
  border: 2px solid #fff;
  box-shadow: 0 0 0 6px rgba(168, 85, 247, 0.28);
}

.uav-windy-underlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #0a2a42;
}

.uav-windy-frame {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(100% + 56px);
  height: calc(100% + 120px);
  transform: translate(-50%, -50%);
  border: 0;
  opacity: 0;
  z-index: 0;
}

.uav-windy-frame.is-front {
  opacity: 1;
  z-index: 1;
}

.uav-windy-credit {
  position: absolute;
  right: 12px;
  bottom: 88px;
  z-index: 900;
  pointer-events: none;
  color: rgba(226, 232, 240, 0.85);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
}

.uav-mission-map-wrap.is-windy-on .uav-windy-credit {
  bottom: 88px;
}

.uav-mission-map-wrap.is-windy-on .leaflet-container {
  background: transparent;
}

.uav-mission-map-wrap.is-windy-on .leaflet-tile-pane {
  opacity: 0;
}

.uav-map-tools {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.leaflet-tooltip.uav-map-measure-tip {
  background: rgba(15, 23, 42, 0.92);
  color: #e2e8f0;
  border: 1px solid #38bdf8;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.leaflet-tooltip-left.uav-map-measure-tip::before,
.leaflet-tooltip-right.uav-map-measure-tip::before {
  border-right-color: rgba(15, 23, 42, 0.92);
}

.leaflet-tooltip-top.uav-map-measure-tip::before,
.leaflet-tooltip-bottom.uav-map-measure-tip::before {
  border-top-color: rgba(15, 23, 42, 0.92);
}

.leaflet-draw-toolbar {
  display: none !important;
}

.uav-measure-vertex {
  width: 10px !important;
  height: 10px !important;
  margin-left: -5px !important;
  margin-top: -5px !important;
  border-radius: 50%;
  background: #0f172a !important;
  border: 2px solid #38bdf8 !important;
  box-sizing: border-box !important;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.9);
}

.uav-map-tool {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid #334155;
  background: rgba(15, 23, 42, 0.92);
  color: #e2e8f0;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  flex: none;
}

.uav-map-tool.is-on {
  background: rgba(37, 99, 235, 0.95);
  border-color: #3b82f6;
}

.uav-map-tool--3d {
  width: 30px;
  height: 30px;
  padding: 0;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.uav-layers-panel {
  width: min(280px, calc(100vw - 48px));
  max-height: min(70vh, 540px);
  overflow: auto;
  padding: 0.75rem 0.85rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.97);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  color: #e2e8f0;
}

.uav-layers-panel__title {
  margin: 0.55rem 0 0.35rem;
  color: #93c5fd;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.uav-layers-panel__title:first-child {
  margin-top: 0;
}

.uav-layers-check {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.2rem 0;
  font-size: 0.82rem;
  cursor: pointer;
}

.uav-layers-check.is-off {
  opacity: 0.45;
}

.uav-layers-hint {
  margin: 0 0 0.35rem 1.4rem;
  color: #94a3b8;
  font-size: 0.7rem;
  line-height: 1.3;
}

.uav-layers-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.55rem;
  color: #cbd5e1;
  font-size: 0.75rem;
}

.uav-nats-note {
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  color: #94a3b8;
  font-size: 0.7rem;
  line-height: 1.4;
}

.uav-layers-field select,
.uav-layers-field input[type='date'] {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: #0b1220;
  color: #e2e8f0;
  border-radius: 6px;
  padding: 0.4rem 0.5rem;
  font-size: 0.8rem;
}

.uav-mission-map {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%;
  background: #0a2a42;
}

.leaflet-div-icon.uav-rig-marker {
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.uav-rig-pin {
  display: block;
  width: 14px;
  height: 14px;
  margin: 2px;
  border-radius: 3px;
  background: #f59e0b;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #b45309, 0 2px 6px rgba(0, 0, 0, 0.45);
}

.uav-hazard-pin {
  background: transparent !important;
  border: 0 !important;
}

.uav-hazard-pin__dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  color: #0b1220;
  background: #f59e0b;
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.75);
}

.uav-hazard-pin__dot.is-pole { background: #fbbf24; }
.uav-hazard-pin__dot.is-mast,
.uav-hazard-pin__dot.is-chimney { background: #fb7185; }
.uav-hazard-pin__dot.is-turbine { background: #38bdf8; }
.uav-hazard-pin__dot.is-woodland { background: #4ade80; }

.uav-hazard-pin--turbine {
  width: 24px !important;
  height: 34px !important;
}

.uav-hazard-turbine,
.uav-hazard-turbine svg {
  display: block;
  width: 24px;
  height: 34px;
  overflow: visible;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55));
}

.leaflet-div-icon.uav-drone-pin {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-sizing: border-box;
}

.uav-drone-pin__pulse {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  border-radius: 50%;
  border: 3px solid #d946ef;
  pointer-events: none;
  animation: uav-drone-pulse 1.7s ease-out infinite;
}

.uav-drone-pin__disc {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  border: 3px solid #fff;
  background: #fff;
  box-sizing: border-box;
  box-shadow: 0 0 0 3px #c026d3, 0 4px 14px rgba(0, 0, 0, 0.45);
  color: #c026d3;
}

.uav-drone-pin__disc svg {
  display: block;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  fill: currentColor;
  overflow: visible;
}

@keyframes uav-drone-pulse {
  0% {
    transform: scale(1);
    opacity: 0.85;
  }
  100% {
    transform: scale(2.15);
    opacity: 0;
  }
}

.leaflet-div-icon.uav-vlos-edge-chip {
  background: transparent;
  border: 0;
}

.uav-vlos-edge-chip span {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid #f0abfc;
  background: #4a044e;
  color: #fce7f3;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.uav-vlos-label {
  background: #4a044e !important;
  border: 1px solid #f0abfc !important;
  color: #fce7f3 !important;
  font-weight: 800 !important;
  font-size: 11px !important;
  letter-spacing: 0.04em;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9);
  border-radius: 999px !important;
  padding: 2px 8px !important;
}

.uav-vlos-label::before {
  display: none !important;
}

.uav-airspace-panel {
  margin-top: 0;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--uav-border);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.7);
}

.uav-airspace-panel.is-clear { border-color: rgba(34, 197, 94, 0.4); }
.uav-airspace-panel.is-warning { border-color: rgba(245, 158, 11, 0.5); }
.uav-airspace-panel.is-restricted { border-color: rgba(239, 68, 68, 0.5); }

.uav-airspace-panel__head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}

.uav-airspace-panel__head span,
.uav-airspace-panel__note {
  color: var(--uav-muted);
  font-size: 0.78rem;
}

.uav-airspace-hit {
  padding: 0.55rem 0;
  border-top: 1px solid var(--uav-border);
}

.uav-airspace-hit__top {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.uav-airspace-hit__meta,
.uav-airspace-hit__detail {
  color: var(--uav-muted);
  font-size: 0.75rem;
  margin-top: 0.2rem;
}

@media (max-width: 959px) {
  .uav-mission-page {
    grid-template-columns: 1fr;
  }
}

.uav-mission-view {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.uav-view-tabs {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: 0 0 auto;
}

.uav-view-tabs__edit {
  margin-left: auto !important;
}

.uav-view-tab {
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  border: 1px solid var(--uav-border);
  background: transparent;
  color: #cbd5e1;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.uav-view-tab.is-on {
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(59, 130, 246, 0.45);
  color: #fff;
}

.uav-mission-view__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 0.85rem;
  align-items: stretch;
  flex: 1;
  min-height: 0;
}

.uav-mission-view__side {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
}

.uav-mission-view__side > .uav-panel {
  flex: 0 0 auto;
}

.uav-mission-view__risk {
  flex: 1;
  min-height: 0;
  overflow: auto;
}

.uav-mission-view .uav-mission-map-card {
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.uav-mission-view .uav-mission-map-wrap--lg {
  flex: 1;
  height: 100%;
  min-height: 0;
}

.uav-mission-view .uav-mission-map {
  min-height: 0;
}

.uav-mission-meta,
.uav-nearby-list,
.uav-hit-list,
.uav-risk-form {
  padding: 0 1rem 1rem;
}

.uav-mission-meta {
  display: grid;
  gap: 0.55rem;
}

.uav-mission-meta span,
.uav-nearby-row em {
  display: block;
  color: var(--uav-muted);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.uav-nearby-row {
  padding: 0.55rem 0;
  border-top: 1px solid var(--uav-border);
}

.uav-nearby-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.uav-nearby-row strong,
.uav-hit-row strong,
.uav-mission-meta strong {
  display: block;
  font-size: 0.92rem;
}

.uav-nearby-row span,
.uav-hit-row span:not(.uav-mission-status) {
  color: var(--uav-muted);
  font-size: 0.78rem;
}

.uav-hit-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  align-items: start;
  padding: 0.55rem 0;
  border-top: 1px solid var(--uav-border);
}

.uav-hit-row:first-child {
  border-top: 0;
}

.uav-risk-row {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.uav-risk-row__q {
  font-size: 0.9rem;
}

.uav-risk-row__a,
.uav-risk-overall {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.uav-risk-overall {
  align-items: center;
  margin: 0.5rem 0 0.85rem;
}

.uav-risk-signed {
  color: var(--uav-muted);
  font-size: 12px;
}

@media (max-width: 959px) {
  .uav-page--mission {
    height: calc(100vh - 56px - env(safe-area-inset-top, 0px));
    max-height: calc(100vh - 56px - env(safe-area-inset-top, 0px));
    padding: 0.65rem 0.7rem 0.75rem !important;
  }

  .uav-header-mission__name {
    font-size: 0.95rem;
  }

  .uav-mission-view__grid {
    grid-template-columns: 1fr;
    overflow: auto;
  }

  .uav-mission-view .uav-mission-map-wrap--lg {
    height: min(48vh, 380px);
    min-height: 280px;
    flex: none;
  }

  .uav-mission-view__side {
    height: auto;
    overflow: visible;
  }
}

.uav-airscene-launch {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid #1e3a5f;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.18), rgba(15, 23, 42, 0.4));
  color: #e8eef7;
  text-align: left;
  cursor: pointer;
}

.uav-airscene-launch:hover {
  border-color: #3b82f6;
}

.uav-airscene-launch__title {
  font-weight: 700;
  font-size: 1rem;
}

.uav-airscene-launch__sub {
  flex: 1;
  color: #93c5fd;
  font-size: 0.85rem;
}

html.uav-airscene-lock,
html.uav-airscene-lock body,
html.uav-airscene-lock #app {
  overflow: hidden !important;
  height: 100% !important;
  max-height: 100%;
  overscroll-behavior: none;
}

.v-application.uav-airscene-app {
  position: fixed;
  inset: 0;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none;
  overflow: hidden;
  padding-bottom: 0;
  box-sizing: border-box;
  background: #0b1220;
}

.v-application.uav-airscene-app .v-application--wrap,
.v-application.uav-airscene-app .v-main,
.v-application.uav-airscene-app .v-main__wrap {
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100%;
  overflow: hidden;
}

.v-application.uav-airscene-app .v-main {
  padding: 0 !important;
}

.uav-airscene {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #0b1220;
  color: #e8eef7;
}

.uav-airscene__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 10px 0 6px;
  border-bottom: 1px solid #1e293b;
  background: #0f1728;
  flex-shrink: 0;
}

.uav-airscene__back {
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #e8eef7;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.uav-airscene__back:hover {
  background: #1e293b;
  color: #93c5fd;
}

.uav-airscene__home {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  padding: 2px 4px;
  border: 0;
  background: transparent;
  cursor: pointer;
  line-height: 1.15;
  text-align: left;
}

.uav-airscene__home:hover .uav-map-mark__uav,
.uav-airscene__home:hover .uav-map-mark__map {
  color: #e2e8f0;
}

.uav-map-mark {
  font-family: Montserrat, "Arial Black", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  white-space: nowrap;
}

.uav-map-mark__uav {
  color: #ffffff;
}

.uav-map-mark__scene {
  color: #64b5f6;
}

.uav-map-mark__map {
  color: #ffffff;
}

.uav-airscene__home .uav-map-mark {
  font-size: 1.22rem;
}

.uav-airscene__home--plain {
  align-items: center;
}

.uav-airscene__title {
  margin: 0;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: #f8fafc;
  font-family: Montserrat, "Arial Black", Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.uav-airscene-side__head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: -4px -2px 12px;
  padding: 0 0 12px;
  border-bottom: 1px solid #1e293b;
}

.uav-airscene-side__brand {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 4px 2px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.uav-airscene-side__brand .uav-map-mark {
  font-size: 1.2rem;
}

.uav-airscene-side__head .uav-airscene__back {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.uav-airscene-side__head .uav-airscene__fs {
  margin-left: auto;
  flex-shrink: 0;
}

.uav-airscene-desk-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1210;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 0;
  padding: 8px 10px 0 6px;
  border: 0;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}

.uav-airscene-desk-bar__brand {
  margin: 0;
  padding: 4px 2px;
  border: 0;
  background: transparent;
  cursor: pointer;
  line-height: 1;
}

.uav-airscene-desk-bar__brand .uav-map-mark {
  font-size: 1.12rem;
}

.uav-airscene-desk-bar > * {
  pointer-events: auto;
}

.uav-airscene-desk-bar .uav-airscene__back {
  width: 36px;
  height: 36px;
}

.uav-airscene-desk-bar .uav-airscene__title--desk {
  flex: 1;
  font-size: 1.05rem;
}

.uav-airscene-desk-bar .uav-airscene__fs {
  margin-left: auto;
}

.uav-airscene:not(.is-mob) .uav-airscene__body {
  flex: 1;
  min-height: 0;
  height: 100%;
}

.uav-airscene:not(.is-mob):not(.is-panel-open) .uav-map-tools--airscene-zoom {
  top: 52px;
}

.uav-airscene:not(.is-mob):not(.is-panel-open) .uav-map-tools--airscene-main {
  top: 52px;
}

.uav-airscene__fs {
  margin: 0;
  width: 36px;
  height: 34px;
  padding: 0;
  border: 1px solid #334155;
  border-radius: 8px;
  background: transparent;
  color: #e8eef7;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.uav-airscene__fs:hover {
  background: #1e293b;
  border-color: #475569;
  color: #93c5fd;
}

.uav-airscene-nats {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 4px 10px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.65);
  cursor: default;
}

.uav-airscene-nats__k {
  color: rgba(125, 211, 252, 0.85);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}

.uav-airscene-nats__v {
  color: rgba(226, 232, 240, 0.58);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
}

.uav-airscene-nats__tip {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: max-content;
  max-width: min(280px, 70vw);
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  border: 1px solid #334155;
  background: rgba(15, 23, 42, 0.98);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  z-index: 40;
  white-space: normal;
}

.uav-airscene-nats:hover .uav-airscene-nats__tip,
.uav-airscene-nats:focus-within .uav-airscene-nats__tip {
  display: block;
}

.uav-airscene__body {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 300px) 1fr;
  flex: 1;
  min-height: 0;
}

.uav-airscene:not(.is-panel-open) .uav-airscene__body {
  grid-template-columns: 1fr;
}

.uav-airscene:not(.is-panel-open) .uav-airscene__side {
  display: none;
}

.uav-airscene__side {
  position: relative;
  overflow: auto;
  padding: 12px 14px 16px;
  border-right: 1px solid #1e293b;
  background: #0f1728;
  min-height: 0;
}

.uav-airscene-find {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #1e293b;
}

.uav-airscene-find:last-of-type {
  border-bottom: 0;
  margin-bottom: 10px;
  padding-bottom: 0;
}

.uav-airscene-find__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.uav-airscene-find__k {
  color: #7dd3fc;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.uav-airscene-find__head .uav-airscene-find__k {
  margin-bottom: 0;
}

.uav-airscene-find__clear,
.uav-airscene-info {
  border: 0;
  background: transparent;
  color: #93c5fd;
  font-size: 0.72rem;
  cursor: pointer;
  padding: 0;
}

.uav-airscene-info {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8fa3bd;
}

.uav-airscene-info:hover {
  color: #93c5fd;
}

.uav-airscene .uav-unit-row {
  align-items: flex-end;
}

.uav-airscene .uav-unit-row .v-input {
  margin: 0 !important;
}

.uav-airscene .uav-unit-row .v-text-field--outlined.v-input--dense .v-input__slot {
  min-height: 40px !important;
}

.uav-airscene .uav-unit-toggle {
  margin-top: 0;
  height: 40px;
  flex: none;
  align-self: flex-end;
}

.uav-airscene .uav-map-tool:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.uav-airscene-bottom {
  pointer-events: none;
}

.uav-airscene .uav-mission-wx--map {
  position: absolute;
  right: 12px;
  bottom: 16px;
  left: auto;
  z-index: 1100;
  width: min(320px, calc(100% - 24px));
  margin: 0;
  pointer-events: auto;
  overflow: hidden;
  border-radius: 12px;
}

.uav-airscene-find .v-input {
  margin: 0 0 14px !important;
}

.uav-airscene-coords {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.uav-airscene-coords .v-input {
  margin-bottom: 0 !important;
}

.uav-airscene-find__go {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 0.55rem 0.75rem;
  border: 0;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.uav-airscene-find__go:hover:not(:disabled) {
  background: #1d4ed8;
}

.uav-airscene-find__go:disabled {
  opacity: 0.65;
  cursor: wait;
}

.uav-airscene-find__go--ghost {
  margin-top: 8px;
  background: transparent;
  color: var(--uav-text);
  border: 1px solid #334155;
}

.uav-airscene-find__go--ghost:hover:not(:disabled) {
  background: rgba(59, 130, 246, 0.14);
  border-color: var(--uav-accent);
}

.uav-airscene-find__go--ghost.is-on {
  background: rgba(59, 130, 246, 0.18);
  border-color: var(--uav-accent);
  color: #93c5fd;
}

.uav-airscene-find__go--danger {
  margin-top: 8px;
  color: #fca5a5;
  border-color: #7f1d1d;
}

.uav-airscene-find__go--danger:hover:not(:disabled) {
  background: rgba(248, 113, 113, 0.12);
  border-color: #f87171;
}

.uav-airscene.is-pin-mode .leaflet-container {
  cursor: crosshair;
}

.uav-airscene-hits {
  position: relative;
  z-index: 20;
  margin-top: 8px;
  max-height: 180px;
  overflow: auto;
  border: 1px solid #334155;
  border-radius: 8px;
  background: #0b1220;
}

.uav-airscene__rail {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 1300;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 64px;
  padding: 0;
  transform: translateY(-50%);
  border: 1px solid #334155;
  border-left: 0;
  border-radius: 0 10px 10px 0;
  background: rgba(15, 23, 42, 0.96);
  color: #94a3b8;
  box-shadow: 4px 0 16px rgba(0, 0, 0, 0.28);
  cursor: pointer;
}

.uav-airscene__rail:hover {
  color: #93c5fd;
  background: #1e293b;
}

.uav-airscene__map {
  position: relative;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.uav-airscene .uav-mission-map-wrap,
.uav-airscene .uav-mission-map-wrap--lg {
  position: absolute;
  inset: 0;
  height: auto !important;
  min-height: 0 !important;
  border: 0;
  border-radius: 0;
}

.uav-airscene .uav-mission-map,
.uav-airscene .leaflet-container {
  border: 0 !important;
  outline: none !important;
}

.uav-airscene .uav-mission-map-wrap {
  border: 0;
  box-shadow: none;
}

.uav-airscene .uav-mission-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  min-height: 0 !important;
}

.uav-airscene .uav-map-tools--airscene-zoom {
  top: 10px;
  left: 10px;
  right: auto;
  align-items: flex-start;
  gap: 5px;
}

.uav-airscene .uav-map-tools--airscene-main {
  top: 10px;
  right: 10px;
  left: auto;
  align-items: flex-end;
  gap: 5px;
}

.uav-airscene .uav-map-toolstack {
  display: flex;
  flex-direction: column;
  width: 30px;
  overflow: hidden;
  border: 1px solid #334155;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.92);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.uav-airscene .uav-map-toolstack .uav-map-tool {
  width: 30px;
  height: 30px;
  border: 0;
  border-bottom: 1px solid #334155;
  border-radius: 0;
  box-shadow: none;
  font-size: 18px;
  font-weight: 700;
  line-height: 30px;
}

.uav-airscene .uav-map-toolstack > :last-child .uav-map-tool,
.uav-airscene .uav-map-toolstack > .uav-map-tool:last-child {
  border-bottom: 0;
}

.uav-airscene .uav-map-toolstack > *:last-child .uav-map-tool {
  border-bottom: 0;
}

.uav-airscene .uav-map-toolstack .uav-map-tool--3d {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.uav-airscene .leaflet-control-zoom {
  display: none !important;
}

.uav-airscene-dock {
  position: absolute;
  left: 10px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 1125;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(340px, calc(100% - 24px));
  pointer-events: none;
}

.uav-airscene-dock .uav-airspace-detail,
.uav-airscene-dock .uav-fly-verdict {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  width: 100%;
  max-height: min(36vh, 260px);
  pointer-events: auto;
  overflow: hidden;
  border-radius: 12px;
}

.uav-airscene-dock .uav-fly-verdict {
  max-height: none;
}

.uav-airscene .leaflet-container {
  outline: none;
}

/* Anchor to the left of the narrow tool stack; `left: 48px` placed this past the
   map edge inside a ~30px-wide column, so it was clipped by `.uav-airscene__map`. */
.uav-airscene .uav-layers-panel {
  position: absolute;
  right: 100%;
  left: auto;
  top: 0;
  margin-right: 6px;
  z-index: 1300;
  width: min(280px, calc(100vw - 72px));
  max-width: calc(100vw - 24px);
  overflow: auto;
  border-radius: 12px;
}

.uav-airscene .uav-nats-badge--quiet {
  pointer-events: none;
  padding: 0.28rem 0.5rem;
  box-shadow: none;
  background: rgba(15, 23, 42, 0.62);
  border-color: rgba(148, 163, 184, 0.28);
}

.uav-airscene .uav-nats-badge--quiet .uav-nats-badge__k {
  font-size: 9px;
  color: rgba(125, 211, 252, 0.7);
}

.uav-airscene .uav-nats-badge--quiet .uav-nats-badge__v {
  font-size: 10px;
  font-weight: 500;
  color: rgba(226, 232, 240, 0.48);
}

.uav-airscene-legal {
  position: absolute;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(2, 6, 23, 0.62);
}

.uav-airscene-legal__card {
  width: min(420px, 100%);
  padding: 1.15rem 1.2rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(11, 18, 32, 0.98);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  color: #e8eef7;
}

.uav-airscene-legal__card h2,
.uav-airscene-legal__title {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.uav-airscene-legal__title .uav-map-mark {
  display: block;
  font-size: 1.35rem;
}

.uav-airscene-legal__kicker {
  display: block;
  margin-top: 0.35rem;
  color: #93c5fd;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.uav-airscene-legal__card p {
  margin: 0 0 0.65rem;
  color: #cbd5e1;
  font-size: 0.88rem;
  line-height: 1.45;
}

.uav-airscene-legal__ok {
  display: block;
  width: 100%;
  margin-top: 0.85rem;
  padding: 0.55rem 0.8rem;
  border: 0;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.uav-airscene-legal__ok:hover {
  background: #1d4ed8;
}

.uav-airscene .uav-airspace-detail {
  border-radius: 12px;
}

.uav-airscene:fullscreen,
.uav-airscene:-webkit-full-screen {
  width: 100%;
  height: 100%;
  background: #0b1220;
}

.uav-airscene-hits {
  position: relative;
  z-index: 20;
  margin-top: 8px;
  max-height: 180px;
  overflow: auto;
  border: 1px solid #334155;
  border-radius: 8px;
  background: #0b1220;
}

.uav-airscene-hits button {
  display: block;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-bottom: 1px solid #1e293b;
  background: transparent;
  color: #e8eef7;
  text-align: left;
  font-size: 12px;
  cursor: pointer;
}

.uav-airscene-hits button:hover {
  background: #1e293b;
}

.uav-airscene-error {
  margin: 8px 0 0;
  color: #fca5a5;
  font-size: 12px;
  line-height: 1.35;
}

.uav-airscene-sheet-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1180;
  background: rgba(2, 6, 23, 0.28);
}

.uav-airscene-sheet-backdrop.is-dial-only {
  background: rgba(2, 6, 23, 0.12);
}

.uav-airscene-dial {
  position: absolute;
  right: 16px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 1190;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
}

.uav-airscene-dial > * {
  pointer-events: auto;
}

.uav-airscene-dial__menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.uav-airscene-dial__item {
  width: 56px;
  height: 56px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.uav-airscene-dial__item:disabled {
  opacity: 0.45;
  cursor: default;
}

.uav-airscene-dial__item .v-icon {
  font-size: 26px !important;
  color: #fff !important;
}

.uav-airscene-fab {
  position: relative;
  right: auto;
  bottom: auto;
  z-index: 1;
  width: 56px;
  height: 56px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.uav-airscene-fab .v-icon {
  font-size: 26px !important;
  color: #fff !important;
}

.uav-airscene-fab.is-open {
  background: #1e293b;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.5);
}

.uav-airscene-smart {
  position: relative;
  margin-bottom: 12px;
}

.uav-airscene-smart__icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8 !important;
  pointer-events: none;
}

.uav-airscene-smart__input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 12px 12px 40px;
  border: 1px solid #334155;
  border-radius: 10px;
  background: #0b1220;
  color: #f8fafc;
  font-size: 16px;
}

.uav-airscene-smart__input::placeholder {
  color: #64748b;
}

.uav-airscene-sheet--details,
.uav-airscene-sheet--nats,
.uav-airscene-sheet--overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1240;
  padding: 10px 14px calc(14px + env(safe-area-inset-bottom, 0px));
  border-radius: 16px 16px 0 0;
  border: 1px solid #334155;
  border-bottom: 0;
  background: rgba(11, 18, 32, 0.98);
  box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.45);
  pointer-events: auto;
}

.uav-airscene.is-snap-peek .uav-airscene-sheet--details,
.uav-airscene.is-snap-peek .uav-airscene-sheet--nats,
.uav-airscene.is-snap-peek .uav-airscene-sheet--overlay,
.uav-airscene.is-snap-peek .uav-airscene__side {
  max-height: min(32dvh, 280px);
}

.uav-airscene.is-snap-half .uav-airscene-sheet--details,
.uav-airscene.is-snap-half .uav-airscene-sheet--nats,
.uav-airscene.is-snap-half .uav-airscene-sheet--overlay,
.uav-airscene.is-snap-half .uav-airscene__side {
  max-height: min(52dvh, 440px);
}

.uav-airscene.is-snap-twoThird .uav-airscene-sheet--details,
.uav-airscene.is-snap-twoThird .uav-airscene-sheet--nats,
.uav-airscene.is-snap-twoThird .uav-airscene-sheet--overlay,
.uav-airscene.is-snap-twoThird .uav-airscene__side {
  max-height: 66dvh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.uav-airscene.is-snap-full .uav-airscene-sheet--details,
.uav-airscene.is-snap-full .uav-airscene-sheet--nats,
.uav-airscene.is-snap-full .uav-airscene-sheet--overlay,
.uav-airscene.is-snap-full .uav-airscene__side {
  max-height: min(94dvh, 96%);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.uav-airscene-detail__nats-link {
  display: block;
  width: 100%;
  margin: 8px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #7dd3fc;
  font-size: 12px;
  text-align: left;
  text-decoration: underline;
  cursor: pointer;
}

.uav-airscene-detail__coords--muted {
  color: #94a3b8;
}

.uav-airscene-nats-sheet {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.45;
}

.uav-airscene-nats-sheet__pin {
  margin-top: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(30, 41, 59, 0.65);
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.4;
}

.uav-airscene-nats--map.is-tappable {
  cursor: pointer;
  text-align: left;
}

.uav-airscene-nats--map.is-tappable:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 2px;
}

.uav-airscene-sheet--overlay .uav-airspace-detail--sheet {
  position: relative;
  left: auto;
  bottom: auto;
  z-index: auto;
  width: 100%;
  max-height: none;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.uav-airscene-sheet--overlay .uav-airspace-detail__body {
  max-height: min(42dvh, 320px);
}

.uav-airscene-sheet__hint {
  margin: -4px 0 12px;
  text-align: center;
  color: #64748b;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
}

.uav-airscene-nats--map {
  position: absolute;
  left: 10px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 1110;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  pointer-events: auto;
  opacity: 1;
}

.uav-airscene-nats--map .uav-airscene-nats__refresh {
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.55);
  color: rgba(226, 232, 240, 0.5);
  font-size: 9px;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
}

.uav-airscene-nats--map .uav-airscene-nats__chip {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 3px 8px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.5);
}

.uav-airscene-nats--map .uav-airscene-nats__k {
  color: rgba(125, 211, 252, 0.65);
  font-size: 8px;
  line-height: 1.25;
}

.uav-airscene-nats--map .uav-airscene-nats__v {
  color: rgba(226, 232, 240, 0.5);
  font-size: 9px;
  line-height: 1.25;
}

.uav-airscene.is-install-prompt .uav-airscene-nats--map {
  bottom: calc(108px + env(safe-area-inset-bottom, 0px));
}

.uav-airscene.is-install-prompt:not(.is-mob) .uav-airscene-dock {
  bottom: calc(108px + env(safe-area-inset-bottom, 0px));
}

.uav-airscene.is-mob.is-sheet-open .uav-airscene-nats--map {
  bottom: calc(66dvh + 10px + env(safe-area-inset-bottom, 0px));
}


.uav-airscene-install {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: calc(58px + env(safe-area-inset-bottom, 0px));
  z-index: 1265;
  padding: 8px 36px 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(11, 18, 32, 0.94);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  pointer-events: auto;
}

.uav-airscene.is-sheet-open .uav-airscene-install {
  display: none;
}

.uav-airscene-install__title {
  margin: 0 0 4px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #f1f5f9;
}

.uav-airscene-install__body {
  margin: 0 0 6px;
  font-size: 0.72rem;
  line-height: 1.35;
  color: #94a3b8;
}

.uav-airscene-install__close {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #94a3b8;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.uav-airscene-install__ok {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #93c5fd;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.uav-airscene-detail__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.uav-airscene-detail__title {
  display: block;
  font-size: 1.05rem;
  color: #f8fafc;
}

.uav-airscene-detail__coords {
  margin-top: 4px;
  color: #94a3b8;
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

.uav-airscene-detail__vlos {
  flex: none;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(167, 139, 250, 0.2);
  border: 1px solid rgba(167, 139, 250, 0.45);
  color: #ddd6fe;
  font-size: 0.72rem;
  font-weight: 700;
}

.uav-airscene-detail__wx {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #e2e8f0;
  font-size: 0.82rem;
}

.uav-airscene-detail__wx .is-warn {
  color: #fca5a5;
}

.uav-airscene-detail__caution {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(251, 146, 60, 0.12);
  border: 1px solid rgba(251, 146, 60, 0.35);
  color: #fdba74;
  font-size: 0.78rem;
  line-height: 1.35;
}

.uav-airscene-detail__caution strong {
  display: block;
  color: #fed7aa;
  margin-bottom: 2px;
}

.uav-airscene-detail__caution.is-error {
  border-color: rgba(248, 113, 113, 0.45);
  background: rgba(239, 68, 68, 0.12);
  color: #fecaca;
}

.uav-airscene-detail__acts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.uav-airscene-measure-bar {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 1250;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #334155;
  background: rgba(15, 23, 42, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  pointer-events: auto;
}

.uav-airscene-measure-bar__label {
  flex: 1;
  color: #e2e8f0;
  font-size: 0.78rem;
  line-height: 1.3;
}

.uav-airscene-measure-bar__btn {
  margin: 0;
  padding: 6px 10px;
  border: 1px solid #334155;
  border-radius: 8px;
  background: transparent;
  color: #e2e8f0;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
}

.uav-airscene-measure-bar__btn--primary {
  border-color: #3b82f6;
  background: #2563eb;
  color: #fff;
}

.uav-airscene-bottom.is-mob-hidden {
  display: none !important;
}

@media (max-width: 960px) {
  .uav-airscene__body {
    grid-template-columns: 1fr;
  }

  .uav-airscene__side {
    position: absolute;
    z-index: 1240;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    display: none;
    padding-top: 10px;
    max-height: 66dvh;
    overflow: auto;
    border: 1px solid #334155;
    border-bottom: 0;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.45);
    -webkit-overflow-scrolling: touch;
  }

  .uav-airscene.is-mob.is-sheet-search .uav-airscene__side {
    display: block;
  }

  .uav-airscene.is-mob:not(.is-sheet-search) .uav-airscene__side {
    display: none;
  }

  .uav-airscene:not(.is-mob).is-panel-open .uav-airscene__side {
    position: absolute;
    z-index: 25;
    left: 8px;
    right: 8px;
    top: 8px;
    bottom: auto;
    display: block;
    max-height: min(70dvh, 520px);
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  }

  .uav-airscene__rail {
    top: auto;
    bottom: 42%;
    width: 32px;
    height: 52px;
    border-radius: 0 12px 12px 0;
  }

  .uav-airscene.is-sheet-open .uav-airscene-dial {
    bottom: calc(66dvh + 12px + env(safe-area-inset-bottom, 0px));
    z-index: 1255;
  }

  .uav-airscene.is-fab-dial-open .uav-airscene-sheet-backdrop {
    z-index: 1185;
  }

  .uav-airscene__rail .v-icon {
    font-size: 22px !important;
    height: 22px;
    width: 22px;
  }

  .uav-airscene__home .uav-map-mark {
    font-size: 1.05rem;
  }

  .uav-airscene-bottom {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 12px;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: auto;
    max-height: min(46vh, 340px);
    overflow: auto;
    pointer-events: none;
  }

  .uav-airscene-bottom > * {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: none;
    margin: 0;
    pointer-events: auto;
  }

  .uav-airscene-dock {
    left: auto;
    bottom: auto;
    width: 100%;
    max-height: none;
    overflow: visible;
  }

  .uav-airscene-dock .uav-airspace-detail {
    max-height: min(22vh, 160px);
  }

  .uav-airscene .uav-airspace-detail {
    max-height: min(22vh, 160px);
    border-radius: 12px;
  }
}
