.pilot-launch {
  position: absolute;
  z-index: 3;
  top: 74px;
  left: 82px;
  min-height: 44px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #091827;
  color: var(--ink);
  font-size: .84rem;
}
.map-layers[open] + .pilot-launch { display: none; }
.pilot-dialog {
  width: min(620px, calc(100% - 24px));
  max-height: min(88dvh, 850px);
  margin: auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  color: var(--ink);
  box-shadow: 0 20px 80px #0008;
  font-size: .9rem;
}
.pilot-dialog::backdrop { background: #020a14b8; }
.pilot-dialog :focus-visible { outline: 2px solid var(--light); outline-offset: 3px; }
.pilot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px 4px;
}
.pilot-header h2 { font-size: 1.35rem; font-weight: 600; }
.pilot-dialog button { min-height: 44px; }
.pilot-close {
  flex: 0 0 44px;
  width: 44px;
  border: 0;
  border-radius: 6px;
  color: var(--ink);
  background: transparent;
  font-size: 1.6rem;
}
.pilot-close:hover { background: #28445b; }
.pilot-content { padding: 0 22px 22px; }
.pilot-lead { color: var(--muted); margin-bottom: 22px; }
.pilot-section { padding-block: 20px; border-top: 1px solid var(--line); }
.pilot-section h3 { margin: 0 0 8px; font-size: 1.05rem; font-weight: 600; }
.pilot-section p + p { margin-top: 8px; }
.pilot-note { color: var(--muted); font-size: .8rem; line-height: 1.65; }
.pilot-form { margin-top: 14px; }
.pilot-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.pilot-form legend { margin-bottom: 10px; }
.pilot-prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pilot-price {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 60px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  background: #091827;
}
.pilot-price:has(input:checked) { border-color: var(--light); background: #173b3c; }
.pilot-price input { accent-color: var(--light); margin: 0; width: 17px; height: 17px; flex: 0 0 auto; }
.pilot-price strong { display: block; font-size: 1.15rem; font-weight: 600; }
.pilot-price small { display: block; color: var(--muted); font-size: .72rem; }
.pilot-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pilot-actions button, .pilot-retry {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #122b3c;
  color: var(--ink);
}
.pilot-actions button:first-child { border-color: var(--light); background: var(--light); color: #082b28; }
.pilot-dialog button:disabled, .pilot-form fieldset:disabled { opacity: .55; cursor: default; }
.pilot-status { min-height: 1.6em; margin-top: 12px; color: var(--muted); }
.pilot-status[data-tone="error"] { color: var(--amber); }
.pilot-status[data-tone="success"] { color: var(--light); }
.pilot-withdraw { padding: 4px 0; border: 0; background: none; text-decoration: underline; text-underline-offset: .24em; font-size: .8rem; }
.pilot-retry { margin-top: 8px; }
.pilot-count { color: var(--ink); font-weight: 600; }
.pilot-provider-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.pilot-provider-list li { padding-left: 12px; border-left: 2px solid var(--line); }
.pilot-provider-list strong { font-size: .85rem; font-weight: 500; }
.pilot-provider-list small { display: block; margin-top: 3px; color: var(--muted); line-height: 1.6; }
.pilot-provider-list li[data-tone="error"] { border-left-color: var(--amber); }
.pilot-growth-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 16px 0 0; }
.pilot-growth-stats > div { padding: 12px; border: 1px solid var(--line); border-radius: 6px; }
.pilot-growth-stats dt { color: var(--muted); font-size: .85rem; }
.pilot-growth-stats dd { margin: 4px 0; font-size: 1.7rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.pilot-growth-stats small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.6; }
.pilot-growth-history { margin: 12px 0; }
.pilot-growth-history summary { min-height: 44px; padding: 12px 0; cursor: pointer; font-size: .85rem; }
.pilot-search { margin-top: 18px; padding: 14px; border: 1px solid var(--line); border-radius: 6px; }
.pilot-search h4 { margin: 0 0 8px; font-size: .9rem; font-weight: 600; }
.pilot-search p { margin: 0; }
#pilot-search-progress { color: var(--ink); font-variant-numeric: tabular-nums; }
#pilot-search-locations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#pilot-search-locations:empty { display: none; }
#pilot-growth-sources, #pilot-growth-history, #pilot-growth-countries, .pilot-search { overflow-wrap: anywhere; }
.pilot-disclosure { border-top: 1px solid var(--line); }
.pilot-disclosure summary { min-height: 48px; padding: 13px 0; cursor: pointer; font-weight: 600; }
.pilot-disclosure > div { padding: 0 0 18px; }
.pilot-disclosure p, .pilot-disclosure li { line-height: 1.7; }
.pilot-disclosure p + p { margin-top: 10px; }
.pilot-source-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.pilot-source-list a { overflow-wrap: anywhere; }
.pilot-source-list small { display: block; margin-top: 5px; color: var(--muted); line-height: 1.6; }
@media (max-width: 700px) {
  .pilot-launch { top: 108px; }
  .pilot-dialog { max-height: calc(100dvh - 24px); }
  .pilot-header { padding: 12px 16px 4px; }
  .pilot-content { padding: 0 16px 16px; }
  .pilot-price { padding: 8px 6px; gap: 5px; }
  .pilot-price strong { font-size: 1.05rem; }
  .pilot-actions button { flex: 1 1 150px; }
}
@media (max-width: 380px) {
  .pilot-price { flex-direction: column; align-items: center; text-align: center; }
}
@media (max-width: 500px) {
  #pilot-search-locations { grid-template-columns: minmax(0, 1fr); }
}
