/* One palette block. The trunk's home.css declared these tokens three times
   (top, "Quiet, material-led", "Studio visual parity"); the winning values --
   the Studio parity set -- are written once here (tokens gate). */
:root {
  color-scheme: dark;
  --studio-bg-base: #0d0d0f;
  --studio-bg-surface: #141416;
  --studio-bg-elevated: #242428;
  --studio-bg-control: #27272b;
  --studio-bg-input: #1a1a1d;
  --studio-border-subtle: rgba(255, 255, 255, 0.06);
  --studio-border-default: rgba(255, 255, 255, 0.10);
  --studio-border-strong: rgba(255, 255, 255, 0.18);
  --studio-text-primary: #f0f0f2;
  --studio-text-secondary: #8b8b96;
  --studio-text-muted: #5c5c68;
  --studio-accent: #7c6af7;
  --studio-accent-hover: #9181f8;
  --studio-accent-muted: rgba(124, 106, 247, 0.16);
  --studio-accent-ring: rgba(124, 106, 247, 0.35);
  --bg: var(--studio-bg-base);
  --earth-space-black: #01040a;
  --panel: rgba(20, 20, 22, 0.84);
  --panel-solid: var(--studio-bg-surface);
  --line: var(--studio-border-default);
  --line-strong: var(--studio-border-strong);
  --text: var(--studio-text-primary);
  --muted: var(--studio-text-secondary);
  --muted-strong: #b3b3bc;
  --mint: #8fe3cb;
  --mint-strong: #c6f6e8;
  --blue: #8fb5ff;
  --amber: #d8bc7b;
  --panel-width: clamp(360px, 30vw, 400px);
  --panel-rail-width: 64px;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-family: Inter, Geist, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--earth-space-black);
  color: var(--text);
}

button,
input { font: inherit; }

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

.launcher-shell {
  position: relative;
  width: 100%;
  height: 100%;
  isolation: isolate;
  overflow: hidden;
  background: var(--earth-space-black);
}

.launcher-space,
.launcher-globe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.launcher-space {
  z-index: 0;
  pointer-events: none;
  opacity: 1;
  background: var(--earth-space-black);
  transition: none;
}

.launcher-globe {
  z-index: 1;
  /* Transparent so the baked star/aurora canvas remains visible around the
   * globe; body/shell/space share the same black fallback underneath. */
  background: transparent;
}

.launcher-static-earth {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  background: var(--earth-space-black);
  transition: none;
}

.launcher-shell[data-static-map="true"] .launcher-globe {
  visibility: hidden;
}

.launcher-shell[data-static-map="true"] .launcher-static-earth {
  opacity: 1;
}

.launcher-shell[data-static-map="true"][data-coordinate-picking="true"] .launcher-static-earth {
  pointer-events: auto;
  cursor: crosshair;
}

.launcher-static-earth-surface {
  position: absolute;
  transform-origin: 0 0;
  will-change: transform;
  transition: transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

.launcher-static-earth-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at center, transparent 48%, rgba(0, 0, 0, 0.56) 100%),
    linear-gradient(90deg, rgba(13, 13, 15, 0.18), transparent 30%, transparent 78%, rgba(13, 13, 15, 0.16));
}

/* One zoom level of the EPSG:3857 earth-v1 pyramid laid out as an n x n grid
 * reassembles the square world image; the grid template is set by home.js. */
.launcher-static-earth-tiles {
  position: absolute;
  inset: 0;
  display: grid;
  filter: brightness(0.64) saturate(0.76) contrast(1.08);
}

.launcher-static-earth-tiles img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-select: none;
}
.launcher-static-earth-marker {
  position: absolute;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 7px;
  opacity: 0;
  color: #f0f0f2;
  font: 700 8px/1 var(--mono);
  letter-spacing: 0.08em;
  transform: translate(-50%, -50%) scale(0.58);
  transition: opacity 180ms ease;
}

.launcher-static-earth-surface[data-focused="true"] .launcher-static-earth-marker {
  opacity: 1;
}

.launcher-static-earth-marker i {
  width: 11px;
  height: 11px;
  border: 2px solid #d9d4ff;
  border-radius: 50%;
  background: #7c6af7;
  box-shadow: 0 0 0 7px rgba(124, 106, 247, 0.14), 0 0 24px rgba(124, 106, 247, 0.68);
}

.launcher-static-earth-marker b {
  padding: 5px 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(13, 13, 15, 0.82);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(8px);
}

.launcher-shell[data-local-view="true"] .launcher-space { opacity: 0.22; }

.launcher-panel {
  position: fixed;
  z-index: 4;
  inset: 0 auto 0 0;
  width: var(--panel-width);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 28px 0 80px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(28px) saturate(118%);
  transition: width 320ms cubic-bezier(0.22, 1, 0.36, 1), background-color 220ms ease;
}

.launcher-panel.is-collapsed {
  width: 0;
  border-right-width: 0;
  border-right-color: transparent;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.launcher-brand {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex: 0 0 auto;
  padding: 16px 15px 16px 17px;
  border-bottom: 1px solid var(--line);
}

.launcher-brand a {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.launcher-brand-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
  white-space: nowrap;
  transition: opacity 140ms ease, transform 220ms ease;
}

.launcher-brand strong {
  font-size: 20px;
  font-weight: 680;
  line-height: 1;
  letter-spacing: 0;
}

.launcher-brand small {
  color: var(--muted);
  font: 8px/1.2 var(--mono);
  letter-spacing: 0;
  text-transform: uppercase;
}

.launcher-mark {
  position: relative;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: block;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.launcher-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.launcher-brand-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.launcher-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font: 700 8px/1 var(--mono);
  letter-spacing: 0;
}

.launcher-status i,
.launcher-kicker b i {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 9px rgba(121, 223, 197, 0.68);
}

.launcher-panel-toggle {
  position: relative;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted-strong);
  cursor: pointer;
}

.launcher-panel-toggle span {
  width: 7px;
  height: 7px;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateX(2px) rotate(45deg);
  transition: transform 240ms ease;
}

.launcher-panel-toggle:hover,
.launcher-panel-toggle:focus-visible {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  outline: none;
}

.launcher-panel.is-collapsed .launcher-brand {
  min-height: 116px;
  flex-direction: column;
  justify-content: flex-start;
  gap: 13px;
  padding: 15px 10px;
}

.launcher-panel.is-collapsed .launcher-brand-copy,
.launcher-panel.is-collapsed .launcher-status {
  width: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateX(-8px);
}

.launcher-panel.is-collapsed .launcher-brand-actions { display: block; }
.launcher-panel.is-collapsed .launcher-panel-toggle span { transform: translateX(-2px) rotate(225deg); }

.launcher-explorer {
  flex: 1 1 auto;
  min-width: var(--panel-width);
  min-height: 0;
  overflow: auto;
  padding: 22px 18px 24px;
  overscroll-behavior: contain;
  scrollbar-color: rgba(187, 201, 214, 0.26) transparent;
  scrollbar-width: thin;
  opacity: 1;
  transform: translateX(0);
  transition: opacity 130ms ease, transform 240ms ease, visibility 0ms linear;
}

.launcher-panel.is-collapsed .launcher-brand,
.launcher-panel.is-collapsed .launcher-explorer,
.launcher-panel.is-collapsed .launcher-platform-tools,
.launcher-panel.is-collapsed .launcher-footer {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-10px);
  transition-delay: 0ms, 0ms, 180ms;
}

.launcher-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  color: var(--muted-strong);
  font: 700 9px/1 var(--mono);
  letter-spacing: 0;
}

.launcher-kicker b {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--mint-strong);
  font-size: 8px;
  font-weight: 700;
}

.launcher-action-row {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 7px;
  margin-bottom: 18px;
}

.launcher-utility-action {
  min-width: 0;
  min-height: 37px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.022);
  color: #ccd5dc;
  font-size: 10px;
  font-weight: 680;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
}

.launcher-utility-action:hover,
.launcher-utility-action:focus-visible {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  outline: none;
}

.launcher-field {
  display: grid;
  gap: 8px;
}

.launcher-field > span {
  color: var(--muted-strong);
  font: 700 9px/1 var(--mono);
  letter-spacing: 0;
  text-transform: uppercase;
}

.launcher-field input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(187, 201, 214, 0.22);
  border-radius: 4px;
  background: rgba(1, 3, 7, 0.74);
  color: var(--text);
  font-size: 12px;
  outline: none;
}

.launcher-field input::placeholder { color: #64717d; }

.launcher-field input:focus {
  border-color: rgba(121, 223, 197, 0.56);
  box-shadow: 0 0 0 2px rgba(121, 223, 197, 0.07);
}

.launcher-search-results {
  position: relative;
  z-index: 2;
  max-height: 238px;
  overflow: auto;
  margin-top: 5px;
  border: 1px solid rgba(187, 201, 214, 0.22);
  border-radius: 4px;
  background: rgba(5, 8, 13, 0.98);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
}

.launcher-search-results[hidden],
.launcher-network[hidden],
.launcher-airport-selection[hidden] { display: none !important; }

.launcher-result {
  width: 100%;
  min-height: 54px;
  display: grid;
  grid-template-columns: 49px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border: 0;
  border-bottom: 1px solid rgba(187, 201, 214, 0.11);
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.launcher-result:last-child { border-bottom: 0; }
.launcher-result:hover,
.launcher-result:focus-visible { background: rgba(121, 223, 197, 0.07); outline: none; }
.launcher-result b { color: var(--mint-strong); font: 700 10px/1 var(--mono); }
.launcher-result span { min-width: 0; display: grid; gap: 4px; }
.launcher-result strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.launcher-result small { overflow: hidden; color: var(--muted); font: 9px/1.2 var(--mono); text-overflow: ellipsis; white-space: nowrap; }

.launcher-network {
  margin-top: 19px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.launcher-network-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 20px;
  border-top: 1px solid rgba(187, 201, 214, 0.11);
  border-bottom: 1px solid rgba(187, 201, 214, 0.11);
}

.launcher-network-stats > div {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 11px 2px;
}

.launcher-network-stats > div + div {
  padding-left: 14px;
  border-left: 1px solid rgba(187, 201, 214, 0.11);
}

.launcher-network-stats strong { color: var(--text); font: 650 15px/1 var(--mono); }
.launcher-network-stats span {
  overflow: hidden;
  color: var(--muted);
  font: 8px/1.2 var(--mono);
  letter-spacing: 0;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.launcher-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 11px;
}

.launcher-section-heading > div { min-width: 0; }
.launcher-section-heading span,
.launcher-selection-heading > span {
  display: block;
  margin-bottom: 6px;
  color: var(--mint);
  font: 700 8px/1 var(--mono);
  letter-spacing: 0;
}

.launcher-section-heading h2,
.launcher-selection-heading h2 {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: 0;
}

.launcher-section-heading > b {
  color: var(--muted-strong);
  font: 700 10px/1 var(--mono);
}

.launcher-airport-list,
.launcher-layout-list { display: grid; gap: 7px; }

.launcher-airport-group {
  overflow: hidden;
  border: 1px solid rgba(187, 201, 214, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.016);
  transition: border-color 160ms ease, background-color 160ms ease;
}

.launcher-airport-group:hover { border-color: rgba(187, 201, 214, 0.28); }
.launcher-airport-group[data-selected="true"] {
  border-color: rgba(121, 223, 197, 0.42);
  background: rgba(121, 223, 197, 0.045);
  box-shadow: inset 2px 0 var(--mint);
}

.launcher-airport-row {
  min-height: 68px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 50px;
  align-items: stretch;
}

.launcher-airport-focus {
  min-width: 0;
  display: grid;
  grid-template-columns: 51px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 11px 8px 11px 13px;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.launcher-airport-focus:hover,
.launcher-airport-focus:focus-visible { background: rgba(255, 255, 255, 0.03); outline: none; }

.launcher-airport-code { color: var(--mint-strong); font: 700 11px/1 var(--mono); }

.launcher-airport-copy,
.launcher-layout-row > span,
.launcher-scenario-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.launcher-airport-copy strong,
.launcher-layout-row strong,
.launcher-scenario-copy strong {
  overflow: hidden;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.launcher-airport-copy small,
.launcher-layout-row small,
.launcher-scenario-copy small {
  overflow: hidden;
  color: var(--muted);
  font: 9px/1.2 var(--mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.launcher-airport-toggle {
  width: 50px;
  display: grid;
  grid-template-columns: 24px 8px;
  place-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  border-left: 1px solid rgba(187, 201, 214, 0.1);
  background: transparent;
  color: var(--muted-strong);
  cursor: pointer;
}

.launcher-airport-toggle:hover,
.launcher-airport-toggle:focus-visible { background: rgba(145, 185, 248, 0.06); color: var(--text); outline: none; }

.launcher-airport-layout-count {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(145, 185, 248, 0.28);
  border-radius: 50%;
  color: #c8dcfb;
  font: 700 8px/1 var(--mono);
}

.launcher-airport-chevron {
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-1px) rotate(45deg);
  transition: transform 180ms ease;
}

.launcher-airport-toggle[aria-expanded="true"] .launcher-airport-chevron { transform: translateY(2px) rotate(225deg); }

.launcher-airport-scenarios {
  padding: 4px 12px 9px 63px;
  border-top: 1px solid rgba(187, 201, 214, 0.12);
  background: rgba(2, 5, 9, 0.34);
}

.launcher-airport-scenarios[hidden] { display: none; }

.launcher-scenario-row {
  position: relative;
  min-height: 43px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(187, 201, 214, 0.1);
  color: var(--text);
  cursor: pointer;
  outline: none;
  user-select: none;
  -webkit-user-select: none;
  transition: none;
}

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

.launcher-scenario-row:hover,
.launcher-scenario-row:focus-visible {
  background: rgba(255, 255, 255, 0.03);
}

.launcher-scenario-row[data-selected="true"] {
  background: rgba(121, 223, 197, 0.08);
  box-shadow: inset 2px 0 var(--mint);
}

.launcher-scenario-actions {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  min-width: max-content;
}

.launcher-scenario-actions.is-menu-open { z-index: 30; }

.launcher-scenario-menu {
  position: absolute;
  z-index: 12;
  top: calc(100% + 4px);
  right: 0;
  min-width: 128px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: #17171c;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42);
}

.launcher-scenario-menu[hidden] { display: none; }

.launcher-scenario-menu .launcher-scenario-action {
  width: 100%;
  min-height: 30px;
  justify-content: start;
  padding: 0 9px;
  border-color: transparent;
  background: transparent;
}

.launcher-scenario-action {
  min-width: 0;
  height: 23px;
  display: inline-grid;
  place-items: center;
  padding: 0 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.035);
  color: #aaaab0;
  font: 600 11px/1 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  white-space: nowrap;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease, opacity 160ms ease;
}

.launcher-scenario-save-as:hover,
.launcher-scenario-save-as:focus-visible,
.launcher-scenario-save-static:hover,
.launcher-scenario-save-static:focus-visible,
.launcher-scenario-open-action:hover,
.launcher-scenario-open-action:focus-visible,
.launcher-scenario-more:hover,
.launcher-scenario-more:focus-visible {
  border-color: rgba(143, 227, 203, 0.3);
  background: rgba(143, 227, 203, 0.09);
  color: var(--mint-strong);
  outline: none;
}

.launcher-scenario-del {
  width: 23px;
  padding: 0;
  border-color: transparent;
  background: transparent;
  color: rgba(248, 171, 171, 0.78);
}

.launcher-scenario-menu .launcher-scenario-del {
  width: 100%;
  min-height: 30px;
  justify-content: start;
  padding: 0 9px;
}

.launcher-scenario-del-icon {
  display: block;
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
}

.launcher-scenario-del:hover,
.launcher-scenario-del:focus-visible {
  border-color: rgba(248, 113, 113, 0.24);
  background: rgba(248, 113, 113, 0.08);
  color: #fecaca;
  outline: none;
}

.launcher-scenario-action:disabled {
  opacity: 0.45;
  cursor: wait;
}

.launcher-layout-row {
  width: 100%;
  min-height: 55px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 9px 10px 9px 11px;
  border: 1px solid rgba(187, 201, 214, 0.16);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.018);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  outline: none;
  user-select: none;
  -webkit-user-select: none;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.launcher-layout-row:hover,
.launcher-layout-row:focus-visible { border-color: rgba(121, 223, 197, 0.34); background: rgba(121, 223, 197, 0.05); }

.launcher-layout-row[data-selected="true"] {
  border-color: rgba(143, 227, 203, 0.28);
  background: rgba(143, 227, 203, 0.085);
  box-shadow: inset 2px 0 var(--mint);
}

.launcher-loading-row,
.launcher-empty-row {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px;
  border: 1px dashed rgba(187, 201, 214, 0.15);
  border-radius: 5px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

.launcher-loading-row i {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px rgba(121, 223, 197, 0.66);
}

.launcher-airport-selection {
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.launcher-back {
  margin: 0 0 17px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted-strong);
  font: 700 9px/1 var(--mono);
  cursor: pointer;
}

.launcher-back:hover,
.launcher-back:focus-visible { color: var(--mint-strong); outline: none; }

.launcher-selection-heading p {
  margin: 8px 0 14px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.launcher-selection {
  min-height: 42px;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid rgba(187, 201, 214, 0.14);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.022);
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.launcher-start {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
  border: 1px solid rgba(121, 223, 197, 0.44);
  border-radius: 4px;
  background: rgba(121, 223, 197, 0.12);
  color: var(--mint-strong);
  font-size: 11px;
  font-weight: 720;
  text-decoration: none;
}

.launcher-start:hover,
.launcher-start:focus-visible { border-color: rgba(178, 245, 227, 0.76); background: rgba(121, 223, 197, 0.19); outline: none; }

.launcher-platform-tools {
  position: relative;
  z-index: 6;
  min-width: var(--panel-width);
  height: 35px;
  flex: 0 0 35px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 15px;
  border-top: 1px solid rgba(187, 201, 214, 0.09);
}

.launcher-platform-button,
.launcher-platform-actions button {
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.launcher-platform-button { position: relative; width: 30px; height: 30px; }
.launcher-platform-button svg,
.launcher-platform-actions svg { width: 15px; height: 15px; }

.launcher-platform-button:hover,
.launcher-platform-button:focus-visible,
.launcher-platform-actions button:hover,
.launcher-platform-actions button:focus-visible {
  border-color: var(--studio-accent-ring);
  background: var(--studio-accent-muted);
  color: var(--studio-text-primary);
  outline: none;
}

.launcher-platform-button > span {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 6px;
  height: 6px;
  border: 1px solid rgba(4, 8, 12, 0.92);
  border-radius: 50%;
  background: #77838d;
}

.launcher-platform-button > span[data-state="checking"] { background: #d8bc7b; }
.launcher-platform-button > span[data-state="healthy"] { background: var(--mint); }
.launcher-platform-button > span[data-state="degraded"] { background: #e3ad58; }
.launcher-platform-button > span[data-state="down"] { background: #ee6a6a; }

.launcher-platform-panel {
  position: absolute;
  left: 15px;
  bottom: 35px;
  width: calc(var(--panel-width) - 30px);
  max-height: min(64vh, 548px);
  overflow: hidden;
  border: 1px solid rgba(187, 201, 214, 0.24);
  border-radius: 6px;
  background: rgba(6, 9, 14, 0.98);
  box-shadow: 0 -18px 54px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(18px) saturate(115%);
}

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

.launcher-platform-panel > header {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 9px 9px 12px;
  border-bottom: 1px solid var(--line);
}

.launcher-platform-panel > header > div:first-child { display: grid; gap: 4px; }
.launcher-platform-panel > header span { color: var(--mint); font: 700 7px/1 var(--mono); letter-spacing: 0.12em; }
.launcher-platform-panel h2 { margin: 0; font-size: 13px; font-weight: 680; line-height: 1.1; letter-spacing: 0; }
.launcher-platform-actions { display: flex; gap: 2px; }
.launcher-platform-actions button { width: 28px; height: 28px; }

.launcher-platform-summary {
  min-height: 31px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font: 600 8px/1.2 var(--mono);
}

.launcher-platform-list {
  max-height: calc(min(64vh, 548px) - 86px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.launcher-platform-row {
  min-height: 48px;
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 7px 11px;
  border-bottom: 1px solid rgba(187, 201, 214, 0.09);
}

.launcher-platform-row:last-child { border-bottom: 0; }
.launcher-platform-dot { width: 7px; height: 7px; border-radius: 50%; background: #77838d; }
.launcher-platform-row[data-state="healthy"] .launcher-platform-dot { background: var(--mint); }
.launcher-platform-row[data-state="degraded"] .launcher-platform-dot { background: #e3ad58; }
.launcher-platform-row[data-state="down"] .launcher-platform-dot { background: #ee6a6a; }
.launcher-platform-copy { min-width: 0; display: grid; gap: 4px; }
.launcher-platform-copy strong,
.launcher-platform-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.launcher-platform-copy strong { color: var(--text); font-size: 9px; font-weight: 650; }
.launcher-platform-copy small { color: var(--muted); font: 500 7.5px/1.2 var(--mono); }

.launcher-platform-license {
  max-width: 108px;
  overflow: hidden;
  color: var(--blue);
  font: 600 7px/1.2 var(--mono);
  text-align: right;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.launcher-platform-license:hover,
.launcher-platform-license:focus-visible { color: #cfe2ff; text-decoration: underline; outline: none; }

.launcher-footer {
  min-width: var(--panel-width);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex: 0 0 auto;
  padding: 10px 15px;
  border-top: 1px solid var(--line);
  color: #68747e;
  font: 8px/1 var(--mono);
  letter-spacing: 0;
  transition: opacity 100ms ease, transform 220ms ease, visibility 0ms linear;
}

.launcher-platform-link {
  margin-left: auto;
  padding: 4px 8px;
  border: 1px solid var(--studio-border-default);
  border-radius: 999px;
  color: var(--studio-text-secondary);
  font: 600 8px/1 var(--mono);
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.launcher-platform-link:hover,
.launcher-platform-link:focus-visible {
  border-color: var(--studio-accent-ring);
  background: var(--studio-accent-muted);
  color: var(--studio-text-primary);
  outline: none;
}

.launcher-footer {
  min-width: var(--panel-width);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex: 0 0 auto;
  padding: 10px 15px;
  border-top: 1px solid var(--line);
  color: #68747e;
  font: 8px/1 var(--mono);
  letter-spacing: 0;
  transition: opacity 100ms ease, transform 220ms ease, visibility 0ms linear;
}

.launcher-loading {
  position: fixed;
  z-index: 5;
  right: 18px;
  bottom: 17px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(4, 8, 12, 0.84);
  color: var(--muted);
  font: 8px/1 var(--mono);
  transition: opacity 180ms ease;
}

.launcher-loading.is-complete { opacity: 0; pointer-events: none; }

.launcher-scenario-open,
.launcher-scenario-confirm {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 6, 10, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.launcher-scenario-open.is-active,
.launcher-scenario-confirm.is-active {
  opacity: 1;
  pointer-events: auto;
}

.launcher-scenario-open-card,
.launcher-scenario-confirm-card {
  width: min(320px, 100%);
  padding: 18px 18px 16px;
  border: 1px solid var(--line-strong, rgba(255, 255, 255, 0.16));
  border-radius: 8px;
  background: rgba(12, 13, 18, 0.96);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
  color: var(--text, #f5f5f7);
}

.launcher-scenario-open-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--muted, #8e8e93);
  font: 600 8px/1 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.launcher-scenario-open-title {
  display: block;
  margin: 0 0 16px;
  color: var(--text, #f5f5f7);
  font: 600 15px/1.25 ui-sans-serif, system-ui, sans-serif;
  word-break: break-word;
}

.launcher-scenario-open-track {
  position: relative;
  height: 2px;
  margin: 0 0 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.launcher-scenario-open-track > i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8fe3cb 0%, #8fb5ff 100%);
  transition: width 780ms cubic-bezier(0.22, 1, 0.36, 1);
}

.launcher-scenario-open-hint {
  display: block;
  color: var(--muted, #8e8e93);
  font: 11px/1.35 ui-sans-serif, system-ui, sans-serif;
}

.launcher-scenario-confirm-copy {
  margin: 0 0 16px;
  color: var(--muted-strong, #b3b3b8);
  font: 13px/1.45 ui-sans-serif, system-ui, sans-serif;
}

.launcher-scenario-confirm-copy strong {
  color: var(--text, #f5f5f7);
  font-weight: 600;
}

.launcher-scenario-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.launcher-scenario-confirm-cancel,
.launcher-scenario-confirm-yes {
  min-width: 68px;
  padding: 7px 12px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text, #f5f5f7);
  font: 600 11px/1 ui-sans-serif, system-ui, sans-serif;
  cursor: pointer;
}

.launcher-scenario-confirm-cancel:hover,
.launcher-scenario-confirm-cancel:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.launcher-scenario-confirm-yes {
  border-color: rgba(248, 113, 113, 0.45);
  background: rgba(248, 113, 113, 0.18);
  color: #fecaca;
}

.launcher-scenario-confirm-yes:hover,
.launcher-scenario-confirm-yes:focus-visible {
  background: rgba(248, 113, 113, 0.28);
  outline: none;
}

.launcher-scenario-save-as-card {
  width: min(360px, 100%);
}

.launcher-scenario-save-as-card > label {
  display: block;
  margin-bottom: 9px;
  color: var(--muted-strong, #b3b3b8);
  font: 12px/1.4 ui-sans-serif, system-ui, sans-serif;
}

.launcher-scenario-save-as-card > label strong {
  color: var(--text, #f5f5f7);
  font-weight: 650;
}

.launcher-scenario-save-as-card > input {
  width: 100%;
  height: 38px;
  box-sizing: border-box;
  margin: 0 0 13px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text, #f5f5f7);
  font: 600 12px/1 var(--mono, ui-monospace, monospace);
  outline: none;
}

.launcher-scenario-save-as-card > input:focus {
  border-color: rgba(143, 227, 203, 0.54);
  box-shadow: 0 0 0 3px rgba(143, 227, 203, 0.09);
}

.launcher-scenario-save-as-error {
  margin: -4px 0 13px;
  color: #fca5a5;
  font: 10px/1.35 ui-sans-serif, system-ui, sans-serif;
}

.launcher-scenario-save-as-submit {
  border-color: rgba(143, 227, 203, 0.4);
  background: rgba(143, 227, 203, 0.15);
  color: var(--mint-strong, #c6f6e8);
}

.launcher-scenario-save-as-submit:hover,
.launcher-scenario-save-as-submit:focus-visible {
  background: rgba(143, 227, 203, 0.24);
}

.launcher-scenario-action-toast {
  position: fixed;
  z-index: 75;
  left: calc(var(--panel-width, 380px) + 18px);
  bottom: 18px;
  max-width: min(420px, calc(100vw - var(--panel-width, 380px) - 36px));
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(12, 13, 18, 0.94);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.36);
  color: #d6d6da;
  font: 600 10px/1.35 ui-sans-serif, system-ui, sans-serif;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.launcher-scenario-action-toast.is-active {
  opacity: 1;
  transform: translateY(0);
}

.launcher-scenario-action-toast[data-kind="success"] { border-color: rgba(143, 227, 203, 0.34); color: var(--mint-strong); }
.launcher-scenario-action-toast[data-kind="warning"] { border-color: rgba(251, 191, 36, 0.44); color: #fde68a; }
.launcher-scenario-action-toast[data-kind="error"] { border-color: rgba(248, 113, 113, 0.34); color: #fecaca; }

.launcher-static-export-progress {
  position: fixed;
  z-index: 74;
  left: calc(var(--panel-width, 380px) + 18px);
  bottom: 62px;
  width: min(420px, calc(100vw - var(--panel-width, 380px) - 36px));
  padding: 10px 13px 11px;
  border: 1px solid rgba(125, 174, 244, 0.28);
  border-radius: 6px;
  background: rgba(12, 13, 18, 0.96);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.36);
  color: #d6d6da;
  font: 600 10px/1.35 ui-sans-serif, system-ui, sans-serif;
  pointer-events: none;
}

.launcher-static-export-progress__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.launcher-static-export-progress__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.launcher-static-export-progress__percent {
  color: #a8c9f3;
  font-variant-numeric: tabular-nums;
}

.launcher-static-export-progress__track {
  height: 4px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.launcher-static-export-progress__track > i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7daef4, #8fe3cb);
  transition: width 180ms ease-out;
}

.launcher-static-export-progress__detail {
  display: block;
  margin-top: 6px;
  color: #8e9aa8;
  font: 500 9px/1.35 ui-sans-serif, system-ui, sans-serif;
}

.launcher-static-export-progress__detail[hidden] { display: none; }

.launcher-static-export-frame {
  position: fixed;
  width: 1px;
  height: 1px;
  left: -10000px;
  top: -10000px;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.launcher-panel {
  border-right-color: var(--line);
  background: var(--panel);
  box-shadow: 24px 0 72px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(42px) saturate(138%);
}

.launcher-panel.is-collapsed {
  width: 0;
  border-right-width: 0;
  border-right-color: transparent;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.launcher-brand {
  min-height: 84px;
  padding: 20px 17px 20px 20px;
  border-bottom-color: var(--line);
}

.launcher-brand a { gap: 13px; }

.launcher-brand strong {
  font-size: 21px;
  font-weight: 620;
}

.launcher-brand small {
  color: #85858b;
  font: 9px/1.2 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-transform: none;
}

.launcher-mark {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  border-radius: 8px;
  background: transparent;
}

.launcher-panel-toggle {
  position: fixed;
  z-index: 6;
  left: calc(var(--panel-width) - 17px);
  top: 50%;
  width: 34px;
  height: 34px;
  flex-basis: 34px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  background: rgba(18, 19, 24, 0.9);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.34);
  transform: translateY(-50%);
  transition: left 320ms cubic-bezier(0.22, 1, 0.36, 1), background-color 160ms ease, box-shadow 160ms ease;
}

.launcher-shell[data-panel-collapsed="true"] .launcher-panel-toggle { left: 12px; }
.launcher-shell[data-panel-collapsed="true"] .launcher-panel-toggle span { transform: translateX(-2px) rotate(225deg); }

.launcher-panel.is-collapsed .launcher-brand {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-10px);
}

.launcher-panel-toggle:hover,
.launcher-panel-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.launcher-explorer {
  display: flex;
  flex-direction: column;
  padding: 24px 20px 28px;
}

.launcher-network {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.launcher-network-actions {
  min-height: 172px;
  flex: 1 0 172px;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: start;
  padding: 28px 0 2px;
}

.launcher-network-secondary-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 8px;
}

.launcher-aircraft-action {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 10px 6px 8px;
  border: 1px solid rgba(125, 174, 244, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(125, 174, 244, 0.09), rgba(143, 227, 203, 0.045));
  color: #dbe9f6;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.launcher-aircraft-action svg {
  width: 29px;
  height: 19px;
  flex: 0 0 29px;
  fill: #a8c9f3;
  filter: drop-shadow(0 0 8px rgba(125, 174, 244, 0.2));
}

.launcher-aircraft-action > span { min-width: 0; display: grid; gap: 3px; }
.launcher-aircraft-action strong { font-size: 9px; font-weight: 650; white-space: nowrap; }
.launcher-aircraft-action small { color: #788b98; font: 600 7px/1 var(--mono); white-space: nowrap; }

.launcher-aircraft-action:hover,
.launcher-aircraft-action:focus-visible {
  border-color: rgba(125, 174, 244, 0.42);
  background: linear-gradient(135deg, rgba(125, 174, 244, 0.15), rgba(143, 227, 203, 0.08));
  outline: none;
  transform: translateY(-1px);
}

.launcher-blank-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: center;
  padding: 5px 15px 5px 6px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: #eeeeF1;
  font-size: 11px;
  font-weight: 620;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.launcher-action-plus {
  position: relative;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  border: 1px solid rgba(143, 227, 203, 0.5);
  border-radius: 50%;
  background: rgba(143, 227, 203, 0.12);
  box-shadow: 0 0 18px rgba(143, 227, 203, 0.12);
}

.launcher-action-plus::before,
.launcher-action-plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 1px;
  background: #c9f7e9;
  transform: translate(-50%, -50%);
}

.launcher-action-plus::after { transform: translate(-50%, -50%) rotate(90deg); }

.launcher-blank-action:hover,
.launcher-blank-action:focus-visible {
  border-color: rgba(143, 227, 203, 0.38);
  background: rgba(143, 227, 203, 0.1);
  outline: none;
  transform: translateY(-1px);
}

.launcher-action-row {
  gap: 8px;
  margin-bottom: 18px;
}

.launcher-utility-action {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.065);
  color: #e7e7ea;
  font-size: 11px;
  font-weight: 600;
}

.launcher-utility-action:hover,
.launcher-utility-action:focus-visible {
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
}

.launcher-schedule-action {
  justify-content: flex-start;
}

.launcher-schedule-action:hover,
.launcher-schedule-action:focus-visible {
  transform: translateY(-1px);
}

.launcher-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 8px;
}

.launcher-field {
  position: relative;
  min-width: 0;
  gap: 0;
}

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

.launcher-field::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 15px;
  top: 14px;
  width: 11px;
  height: 11px;
  border: 1.5px solid #77777e;
  border-radius: 50%;
  pointer-events: none;
}

.launcher-field::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 25px;
  top: 25px;
  width: 5px;
  height: 1.5px;
  border-radius: 1px;
  background: #77777e;
  transform: rotate(45deg);
  transform-origin: left center;
  pointer-events: none;
}

.launcher-field input {
  min-height: 44px;
  padding: 0 13px 0 39px;
  border-color: transparent;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  font-size: 13px;
}

.launcher-field input::placeholder { color: #737379; }

.launcher-field input:focus {
  border-color: rgba(255, 255, 255, 0.17);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 0 0 3px rgba(143, 181, 255, 0.08);
}

.launcher-pick-coordinate {
  min-width: 102px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: #d8d8dc;
  font-size: 10px;
  font-weight: 620;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.launcher-pick-coordinate:hover,
.launcher-pick-coordinate:focus-visible {
  border-color: rgba(143, 227, 203, 0.3);
  background: rgba(143, 227, 203, 0.08);
  color: #f4fffb;
  outline: none;
}

.launcher-pick-coordinate[aria-pressed="true"] {
  border-color: rgba(143, 227, 203, 0.55);
  background: rgba(143, 227, 203, 0.13);
  color: #d7fff3;
}

.launcher-pick-coordinate-icon {
  position: relative;
  width: 13px;
  height: 16px;
  flex: 0 0 13px;
}

.launcher-pick-coordinate-icon::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 1px;
  width: 1px;
  height: 14px;
  border-radius: 1px;
  background: currentColor;
}

.launcher-pick-coordinate-icon::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 2px;
  width: 9px;
  height: 7px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 0, 75% 50%, 100% 100%, 0 100%);
}

.launcher-pick-coordinate-status {
  margin: 8px 2px 0;
  color: #a7b8b4;
  font: 9px/1.45 var(--mono);
}

.launcher-pick-coordinate-status[hidden] { display: none !important; }

.launcher-shell[data-coordinate-picking="true"] #globe canvas { cursor: crosshair !important; }

.launcher-coordinate-marker {
  position: relative;
  width: 30px;
  height: 42px;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.44));
  pointer-events: none;
}

.launcher-coordinate-marker::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 2px;
  height: 32px;
  border-radius: 2px;
  background: #dffdf4;
  box-shadow: 0 0 8px rgba(143, 227, 203, 0.5);
}

.launcher-coordinate-marker::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  width: 20px;
  height: 13px;
  border: 1px solid rgba(229, 255, 248, 0.7);
  border-left: 0;
  background: rgba(72, 205, 176, 0.92);
  clip-path: polygon(0 0, 100% 0, 78% 50%, 100% 100%, 0 100%);
}

.launcher-search-results {
  flex: 0 0 auto;
  margin-top: 8px;
  border-color: var(--line);
  border-radius: 8px;
  background: rgba(24, 25, 31, 0.96);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.42);
}

.launcher-result[aria-selected="true"] {
  background: rgba(143, 227, 203, 0.1);
  box-shadow: inset 2px 0 0 rgba(143, 227, 203, 0.72);
}

.launcher-network {
  margin-top: 24px;
  padding-top: 0;
  border-top: 0;
}

.launcher-network-stats {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  border: 0;
}

.launcher-network-stats > div {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 0;
}

.launcher-network-stats > div + div {
  gap: 5px;
  padding: 0;
  border: 0;
}

.launcher-network-stats > div + div::before {
  content: "/";
  margin-right: 4px;
  color: #515158;
  font-size: 11px;
}

.launcher-network-stats strong {
  color: #d9d9dc;
  font: 600 12px/1 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.launcher-network-stats span {
  color: #77777d;
  font: 11px/1.2 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-transform: none;
}

.launcher-section-heading {
  align-items: center;
  margin-bottom: 13px;
}

.launcher-section-heading h2,
.launcher-selection-heading h2 {
  color: #f5f5f7;
  font-size: 20px;
  font-weight: 620;
}

.launcher-section-heading > b {
  color: #77777d;
  font: 500 12px/1 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.launcher-airport-list,
.launcher-layout-list { gap: 8px; }

.launcher-airport-group {
  border-color: transparent;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.launcher-airport-group:hover {
  border-color: transparent;
  background: rgba(255, 255, 255, 0.065);
}

.launcher-airport-group[data-selected="true"] {
  border-color: rgba(143, 227, 203, 0.22);
  background: rgba(143, 227, 203, 0.075);
  box-shadow: none;
}

.launcher-airport-group[data-site-configured="false"] {
  border-color: rgba(225, 225, 230, 0.17);
  background: rgba(210, 210, 216, 0.085);
}

.launcher-airport-group[data-site-configured="false"]:hover {
  border-color: rgba(235, 235, 240, 0.28);
  background: rgba(220, 220, 226, 0.13);
}

.launcher-airport-group[data-site-configured="false"] .launcher-airport-code,
.launcher-airport-group[data-site-configured="false"] .launcher-airport-copy strong {
  color: #d2d2d8;
}

.launcher-airport-group[data-site-configured="false"] .launcher-airport-layout-count {
  border-color: rgba(225, 225, 230, 0.22);
  background: rgba(210, 210, 216, 0.1);
  color: #d8d8de;
}

.launcher-airport-row {
  height: 76px;
  min-height: 76px;
  grid-template-columns: minmax(0, 1fr) 52px;
}

.launcher-airport-focus {
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 11px;
  padding: 13px 8px 13px 14px;
}

.launcher-airport-focus:hover,
.launcher-airport-focus:focus-visible { background: rgba(255, 255, 255, 0.025); }

.launcher-airport-code {
  color: #a7a7ad;
  font: 600 11px/1 var(--mono);
}

.launcher-airport-copy strong,
.launcher-layout-row strong,
.launcher-scenario-copy strong {
  font-size: 13px;
  font-weight: 610;
}

.launcher-airport-copy strong {
  display: -webkit-box;
  overflow: hidden;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.launcher-airport-copy small,
.launcher-layout-row small,
.launcher-scenario-copy small {
  color: #828288;
  font: 10px/1.2 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.launcher-airport-toggle {
  width: 52px;
  grid-template-columns: 28px 7px;
  gap: 4px;
  border-left: 0;
}

.launcher-airport-toggle:hover,
.launcher-airport-toggle:focus-visible { background: rgba(255, 255, 255, 0.035); }

.launcher-airport-layout-count {
  width: 28px;
  height: 28px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
  color: #c3c3c8;
  font: 600 9px/1 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.launcher-airport-scenarios {
  padding: 5px 13px 10px 64px;
  border-top-color: rgba(255, 255, 255, 0.07);
  background: transparent;
}

.launcher-scenario-row,
.launcher-layout-row.launcher-scenario-row {
  min-height: 46px;
  border-bottom-color: rgba(255, 255, 255, 0.065);
  transition: none;
}

.launcher-airport-selection {
  margin-top: 0;
  padding-top: 5px;
  border-top: 0;
}

.launcher-shell[data-explorer-view="detail"] .launcher-action-row,
.launcher-shell[data-explorer-view="detail"] .launcher-search-row,
.launcher-shell[data-explorer-view="detail"] .launcher-search-results {
  display: none !important;
}

.launcher-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  color: #a4a4aa;
  font: 600 12px/1 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.launcher-back-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.055);
  color: #f2f2f4;
  font-size: 14px;
  transition: background-color 160ms ease, transform 160ms ease;
}

.launcher-back:hover,
.launcher-back:focus-visible { color: #f5f5f7; }
.launcher-back:hover .launcher-back-icon,
.launcher-back:focus-visible .launcher-back-icon {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(-1px);
}

.launcher-selection-heading > span {
  margin-bottom: 9px;
  color: var(--mint);
  font: 600 11px/1 var(--mono);
}

.launcher-selection-heading h2 {
  font-size: 22px;
  line-height: 1.18;
}

.launcher-selection-heading p {
  margin: 9px 0 21px;
  color: #85858b;
  font-size: 11px;
  line-height: 1.4;
}

.launcher-layout-row {
  min-height: 64px;
  padding: 11px 10px 11px 13px;
  border-color: transparent;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.launcher-layout-row:hover,
.launcher-layout-row:focus-visible {
  border-color: transparent;
  background: rgba(255, 255, 255, 0.07);
}

.launcher-layout-row[data-selected="true"] {
  border-color: rgba(143, 227, 203, 0.22);
  background: rgba(143, 227, 203, 0.085);
  box-shadow: inset 2px 0 var(--mint);
}

.launcher-layout-row > b,
.launcher-scenario-row b {
  color: #b5b5ba;
  font: 600 8px/1 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.launcher-selection { display: none; }

.launcher-start {
  min-height: 46px;
  margin-top: 18px;
  border: 0;
  border-radius: 8px;
  background: #f5f5f7;
  color: #141419;
  font-size: 12px;
  font-weight: 650;
}

.launcher-start[hidden] { display: none; }

.launcher-start:hover,
.launcher-start:focus-visible {
  border-color: transparent;
  background: #fff;
  color: #08080b;
}

.launcher-footer {
  border-top-color: rgba(255, 255, 255, 0.065);
  color: #5e5e64;
}

/* Studio visual parity: the same neutral surfaces and violet interaction
 * language as the planning workbench; the globe and the launcher information
 * architecture stay untouched. Tokens live in the palette block above. */
html,
body,
button,
input {
  font-family: Inter, Geist, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-feature-settings: "cv05" 1, "ss01" 1;
  font-variant-numeric: tabular-nums;
}

.launcher-shell {
  background: var(--earth-space-black);
}

.launcher-panel {
  border-right-color: color-mix(in srgb, var(--studio-accent) 12%, var(--studio-border-default));
  background: linear-gradient(
    168deg,
    rgba(27, 27, 31, 0.86) 0%,
    rgba(13, 13, 15, 0.82) 100%
  );
  box-shadow: 24px 0 64px rgba(0, 0, 0, 0.38), inset -1px 0 rgba(255, 255, 255, 0.018);
  backdrop-filter: blur(22px) saturate(118%);
  -webkit-backdrop-filter: blur(22px) saturate(118%);
}

.launcher-panel::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(145, 129, 248, 0.42), transparent);
  pointer-events: none;
}

.launcher-brand {
  border-bottom-color: var(--studio-border-subtle);
}

.launcher-brand strong,
.launcher-section-heading h2,
.launcher-selection-heading h2 {
  color: var(--studio-text-primary);
}

.launcher-brand small,
.launcher-airport-copy small,
.launcher-layout-row small,
.launcher-scenario-copy small,
.launcher-selection-heading p {
  color: var(--studio-text-secondary);
}

.launcher-panel-toggle,
.launcher-back-icon,
.launcher-field input,
.launcher-pick-coordinate,
.launcher-airport-group,
.launcher-layout-row,
.launcher-aircraft-action,
.launcher-schedule-action,
.launcher-search-results {
  border-color: var(--studio-border-default);
  background-color: color-mix(in srgb, var(--studio-bg-elevated) 74%, transparent);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
}

.launcher-panel-toggle:hover,
.launcher-panel-toggle:focus-visible,
.launcher-back:hover .launcher-back-icon,
.launcher-back:focus-visible .launcher-back-icon,
.launcher-pick-coordinate:hover,
.launcher-pick-coordinate:focus-visible,
.launcher-airport-group:hover,
.launcher-layout-row:hover,
.launcher-layout-row:focus-visible {
  border-color: var(--studio-accent-ring);
  background: color-mix(in srgb, var(--studio-accent) 12%, var(--studio-bg-elevated));
  color: var(--studio-text-primary);
  outline: none;
}

.launcher-field input:focus {
  border-color: var(--studio-accent-ring);
  background: var(--studio-bg-input);
  box-shadow: 0 0 0 2px var(--studio-bg-base), 0 0 0 3px var(--studio-accent-ring);
  outline: none;
}

.launcher-result:focus-visible,
.launcher-result[aria-selected="true"],
.launcher-airport-group[data-selected="true"],
.launcher-layout-row[data-selected="true"] {
  border-color: var(--studio-accent-ring);
  background: var(--studio-accent-muted);
  box-shadow: inset 2px 0 var(--studio-accent);
}

.launcher-airport-code,
.launcher-selection-heading > span,
.launcher-result b {
  color: var(--studio-accent-hover);
}

.launcher-aircraft-action {
  background: linear-gradient(135deg, rgba(124, 106, 247, 0.16), rgba(36, 36, 40, 0.62));
  color: #e4e0ff;
}

.launcher-aircraft-action svg {
  fill: var(--studio-accent-hover);
  filter: drop-shadow(0 0 8px rgba(124, 106, 247, 0.24));
}

.launcher-schedule-action svg {
  fill: none;
  stroke: currentColor;
}

.launcher-aircraft-action:hover,
.launcher-aircraft-action:focus-visible,
.launcher-schedule-action:hover,
.launcher-schedule-action:focus-visible {
  border-color: var(--studio-accent-ring);
  background: color-mix(in srgb, var(--studio-accent) 18%, var(--studio-bg-elevated));
  color: #f1efff;
  outline: none;
}

.launcher-blank-action {
  border-color: var(--studio-border-default);
  background: color-mix(in srgb, var(--studio-bg-elevated) 86%, transparent);
  color: var(--studio-text-primary);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28), inset 0 1px rgba(255, 255, 255, 0.04);
}

.launcher-action-plus {
  border-color: var(--studio-accent-ring);
  background: var(--studio-accent-muted);
  box-shadow: 0 0 16px rgba(124, 106, 247, 0.14);
}

.launcher-action-plus::before,
.launcher-action-plus::after {
  background: #d8d3ff;
}

.launcher-blank-action:hover,
.launcher-blank-action:focus-visible,
.launcher-pick-coordinate[aria-pressed="true"] {
  border-color: var(--studio-accent-ring);
  background: color-mix(in srgb, var(--studio-accent) 16%, var(--studio-bg-elevated));
  color: #f5f3ff;
  outline: none;
}

.launcher-start {
  border: 1px solid rgba(145, 129, 248, 0.58);
  background: var(--studio-accent-muted);
  color: #d8d3ff;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.045);
}

.launcher-start:hover,
.launcher-start:focus-visible {
  border-color: rgba(145, 129, 248, 0.76);
  background: rgba(124, 106, 247, 0.24);
  color: #f5f3ff;
  box-shadow: 0 0 0 2px var(--studio-bg-base), 0 0 0 3px var(--studio-accent-ring);
  outline: none;
}

.launcher-footer {
  border-top-color: var(--studio-border-subtle);
  color: var(--studio-text-muted);
}

@media (max-width: 720px) {
  :root { --panel-width: auto; }

  .launcher-panel {
    inset: auto 10px 10px;
    width: auto;
    max-height: min(58vh, 520px);
    border: 1px solid var(--line);
    border-radius: 6px;
    box-shadow: 0 24px 66px rgba(0, 0, 0, 0.52);
    transition: max-height 300ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .launcher-panel.is-collapsed {
    width: auto;
    max-height: 0;
    border-width: 0;
    border-color: transparent;
    opacity: 0;
    box-shadow: none;
    pointer-events: none;
  }

  .launcher-panel-toggle {
    left: 50%;
    top: auto;
    bottom: calc(min(58vh, 520px) - 7px);
    transform: translateX(-50%);
    transition: bottom 300ms cubic-bezier(0.22, 1, 0.36, 1), background-color 160ms ease, box-shadow 160ms ease;
  }

  .launcher-panel-toggle span { transform: translateY(-2px) rotate(-45deg); }
  .launcher-shell[data-panel-collapsed="true"] .launcher-panel-toggle {
    left: 50%;
    bottom: 12px;
  }
  .launcher-shell[data-panel-collapsed="true"] .launcher-panel-toggle span { transform: translateY(2px) rotate(135deg); }

  .launcher-brand,
  .launcher-panel.is-collapsed .launcher-brand {
    min-height: 63px;
    flex-direction: row;
    justify-content: space-between;
    padding: 13px 12px;
  }

  .launcher-panel.is-collapsed .launcher-brand-copy {
    width: auto;
    opacity: 1;
    transform: none;
  }

  .launcher-panel.is-collapsed .launcher-brand-actions { display: flex; }
  .launcher-panel.is-collapsed .launcher-status { display: none; }
  .launcher-explorer,
  .launcher-footer { min-width: 0; }
  .launcher-explorer { padding: 17px 13px 20px; }
  .launcher-network-actions { min-height: 132px; flex-basis: 132px; padding-top: 22px; }
  .launcher-airport-row { min-height: 64px; }
  .launcher-airport-scenarios { padding-left: 62px; }
  .launcher-footer { display: none; }
  .launcher-loading { right: 12px; top: 12px; bottom: auto; }
  .launcher-scenario-action-toast,
  .launcher-static-export-progress { left: 12px; right: 12px; max-width: none; width: auto; }
}

@media (max-width: 420px) {
  .launcher-brand strong { font-size: 18px; }
  .launcher-brand small { font-size: 7px; }
  .launcher-airport-copy strong { font-size: 11px; }
  .launcher-airport-focus { grid-template-columns: 43px minmax(0, 1fr); gap: 7px; padding-left: 10px; }
  .launcher-airport-scenarios { padding-left: 53px; }
}

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