.pilot-admin {
  font: 15px/1.55 system-ui, sans-serif;
  background: #0f101d;
  color: #f3f0fa;
  margin: 0;
}
.pilot-admin [hidden], .pilot-box[hidden] { display: none !important; }
.pilot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px max(20px, calc((100% - 1060px) / 2));
  border-bottom: 1px solid #2d2a42;
}
.pilot-header a, .pilot-box a { color: #dbc7ff; text-underline-offset: 4px; }
.pilot-header > a:first-child { font-weight: 720; text-decoration: none; }
.pilot-shell { max-width: 1060px; padding: 20px 20px 44px; margin: 0 auto; }
.pilot-shell h1 { font-size: clamp(26px, 5vw, 44px); margin: 12px 0 4px; }
.pilot-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pilot-box {
  background: #19192b;
  border: 1px solid #37314d;
  border-radius: 16px;
  padding: 20px;
  margin: 14px 0;
  color: #f3f0fa;
  overflow-wrap: anywhere;
}
.pilot-box h2 { font-size: 22px; line-height: 1.25; margin: 0 0 12px; color: #f3f0fa; }
.pilot-box summary { cursor: pointer; color: #ddc9ff; }
.pilot-box details { margin-top: 12px; }
.pilot-box ol { padding-inline-start: 20px; }
.pilot-note { margin: 8px 0; color: #beb8cc; }
.pilot-box .pilot-rows { display: grid; gap: 8px; }
.pilot-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 14px;
  border: 1px solid #3c3550;
  border-radius: 10px;
  padding: 10px 12px;
}
.pilot-row strong { display: block; color: #f3f0fa; }
.pilot-row span { display: block; color: #bfb5d0; font-size: 13px; }
.pilot-form { display: grid; gap: 9px; }
.pilot-form label { display: grid; gap: 4px; }
.pilot-form input:not([type="checkbox"]) {
  min-width: 0;
  border: 1px solid #504763;
  background: #11111e;
  color: #f3f0fa;
  border-radius: 8px;
  padding: 8px 10px;
  font: inherit;
}
.pilot-form .pilot-check { display: flex; align-items: flex-start; gap: 8px; margin: 4px 0; }
.pilot-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pilot-box button, .pilot-button {
  border: 1px solid #9a64ec;
  border-radius: 8px;
  background: #9a64ec;
  color: #0d1018 !important;
  padding: 7px 13px;
  min-height: 38px;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
}
.pilot-box .pilot-secondary { background: #252139; border-color: #554471; color: #e2d6f5 !important; }
.pilot-box button:disabled { opacity: .55; cursor: wait; }
.pilot-box :focus-visible, .pilot-header :focus-visible { outline: 2px solid #e3d5ff; outline-offset: 3px; }
.pilot-player { margin: 0 0 14px; }
.pilot-player p { color: #d0c8df; }
@media (max-width: 720px) {
  .pilot-columns { grid-template-columns: 1fr; gap: 0; }
  .pilot-shell, .pilot-header { padding-inline: 14px; }
  .pilot-box { padding: 15px; }
}
