:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  color: #17243b;
  background: #eef3fb;
}
* { box-sizing: border-box; }
.pilot {
  position: fixed;
  inset: 0;
  overflow: auto;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right))
    max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  line-height: 1.55;
  --accent: #135cc5;
}
.pilot.admin { --accent: #293d6a; }
.pilot main { width: min(100%, 520px); margin: 0 auto; display: grid; gap: 12px; }
.pilot header, .pilot section, .pilot article, .pilot aside {
  background: #fff; border: 1px solid #dce5f2; border-radius: 17px; padding: 16px;
}
.pilot header { display: flex; align-items: center; gap: 12px; }
.pilot header img { border-radius: 13px; width: 48px; height: 48px; }
.pilot h1, .pilot h2, .pilot h3, .pilot p { margin: 0; }
.pilot h1 { font-size: 1.45rem; }
.pilot h2 { font-size: 1.17rem; }
.pilot h3 { font-size: 1rem; }
.pilot form, .pilot section, .pilot article { display: grid; gap: 12px; }
.pilot label { display: grid; gap: 4px; font-weight: 600; }
.pilot label.checkbox { display: flex; align-items: flex-start; gap: 8px; font-weight: 400; }
.pilot input, .pilot textarea, .pilot select, .pilot button {
  font: inherit; border-radius: 10px; min-height: 44px; padding: 8px 11px;
}
.pilot input, .pilot textarea, .pilot select { width: 100%; border: 1px solid #aab8cc; color: #17243b; background: #fff; }
.pilot input[type="checkbox"] { min-height: auto; width: 18px; height: 18px; flex: none; }
.pilot button { cursor: pointer; color: #fff; background: var(--accent); border: 1px solid var(--accent); font-weight: 650; }
.pilot button.secondary { background: #fff; color: var(--accent); }
.pilot button:disabled { opacity: .55; cursor: default; }
.pilot a { color: var(--accent); }
.pilot :focus-visible { outline: 2px solid #004fae; outline-offset: 3px; }
.pilot .row, .pilot nav, .pilot footer { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.pilot .signin-warning { color: #563900; background: #fff4d9; padding: 10px 12px; border-radius: 10px; }
.pilot footer, .pilot .muted { color: #485873; font-size: .9rem; }
.pilot footer { padding: 4px 8px; justify-content: space-between; }
.pilot .error { color: #9c231c; }
.pilot .wide { overflow-wrap: anywhere; }
.pilot .qr { justify-self: center; }
