.pilot-gate {
  margin: 0;
  padding: 24px;
  min-height: 100vh;
  min-height: 100svh;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  background: #edf2f7;
  color: #172a46;
  font: 16px/1.5 system-ui, sans-serif;
}
.pilot-gate main {
  width: min(100%, 28rem);
  padding: clamp(20px, 6vw, 36px);
  box-sizing: border-box;
  border: 1px solid #c7d4e4;
  border-radius: 8px;
  background: #fff;
}
.pilot-label { margin: 0; color: #24549b; font-size: 14px; font-weight: 700; }
.pilot-gate h1 { margin: 8px 0 24px; font-size: 26px; line-height: 1.2; }
.pilot-gate label { display: block; margin-bottom: 6px; font-weight: 650; }
.pilot-gate input {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  box-sizing: border-box;
  border: 1px solid #617695;
  border-radius: 5px;
  background: #f7faff;
  color: #172a46;
  font: inherit;
}
#login-help { margin: 8px 0 16px; color: #40536c; font-size: 14px; }
#login-error { color: #952a29; font-weight: 650; }
.pilot-gate a { color: #24549b; }
.pilot-gate button, .pilot-session button {
  min-height: 40px;
  padding: 6px 16px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: #24549b;
  color: #fff;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.pilot-gate :focus-visible, .pilot-session :focus-visible {
  outline: 3px solid #176b85;
  outline-offset: 3px;
}
.pilot-session {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 6px 16px;
  background: #e7f3f1;
  color: #163c39;
  font-size: 13px;
}
.pilot-session form { margin: 0 0 0 auto; }
.pilot-session a { color: #164f49; font-weight: 700; text-underline-offset: 3px; }
.pilot-session button { min-height: 34px; background: #285953; }
@media (max-width: 640px) {
  .pilot-gate { padding: 14px; }
  .pilot-gate button { width: 100%; min-height: 44px; }
  .pilot-session { gap: 0 12px; padding: 6px 14px; }
  .pilot-session span { min-width: 0; flex: 1 1 12rem; overflow-wrap: anywhere; }
  .pilot-session a { display: inline-flex; align-items: center; min-height: 44px; }
  .pilot-session button { min-height: 44px; }
}
