/* The Gold Pilot area (/pilot/, /pilot/aircraft/; flight planner Phase 1, Task 3). Mobile first: cards stacked, tap
   targets at least 44 px, reads at 360 px. Every colour comes from the --pl- tokens; body.dark-mode redefines them.
   Rules sit under .pilot-page (two classes) so they outrank dark-mode.css's element rules. */
.pilot-page { --pl-card:#fff; --pl-line:#d5dde5; --pl-text:#1d2730; --pl-muted:#56636f; --pl-accent:#1078b3; --pl-btn:#1078b3; --pl-btn-hover:#0d5f8c; --pl-btn-text:#fff; --pl-quiet:#eef3f8; --pl-danger:#b3261e; --pl-gold:#8a6a00; --pl-gold-bg:#fff6d6; }
body.dark-mode .pilot-page { --pl-card:#2a2d31; --pl-line:#3c4248; --pl-text:#e6e6e6; --pl-muted:#a9b2ba; --pl-accent:#4da6ff; --pl-btn:#1078b3; --pl-btn-hover:#1585c4; --pl-btn-text:#fff; --pl-quiet:#323840; --pl-danger:#ef9a9a; --pl-gold:#ffd666; --pl-gold-bg:#3d331a; }

.pilot-page { max-width: 960px; margin: 0 auto; padding: 0 16px 32px; color: var(--pl-text); box-sizing: border-box; }
.pilot-page *, .pilot-page *::before, .pilot-page *::after { box-sizing: border-box; }
/* hidden must win over the display rules below (.pl-btn is inline-flex): aircraft.js hides Add aircraft at 10 of 10 and
   after a refused list. */
.pilot-page [hidden] { display: none !important; }
.pilot-page h1 { font-size: 28px; line-height: 1.2; margin: 16px 0 8px; color: var(--pl-text); }
.pilot-page .pl-h2 { font-size: 21px; margin: 0 0 12px; color: var(--pl-text); }
.pilot-page .pl-h3 { font-size: 17px; margin: 20px 0 6px; color: var(--pl-text); }
.pilot-page p, .pilot-page li, .pilot-page label, .pilot-page span { color: var(--pl-text); }
.pilot-page .pl-lead, .pilot-page .pl-note, .pilot-page .pl-count, .pilot-page .pl-card-sub, .pilot-page .pl-empty { color: var(--pl-muted); }
.pilot-page .pl-note { font-size: 14px; margin: 4px 0 8px; }
.pilot-page .pl-typical { font-style: italic; }
.pilot-page a { color: var(--pl-accent); }

/* Cards: one column on a phone, two from 720 px. */
.pilot-page .pl-cards { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 12px 0 16px; }
@media (min-width: 720px) { .pilot-page .pl-cards { grid-template-columns: 1fr 1fr; } }
.pilot-page .pl-card { background: var(--pl-card); border: 1px solid var(--pl-line); border-radius: 12px; padding: 16px; }
.pilot-page .pl-card-h { font-size: 18px; margin: 0 0 4px; color: var(--pl-text); }
.pilot-page .pl-card-sub, .pilot-page .pl-card-specs { margin: 0 0 8px; font-size: 15px; }
.pilot-page a.pl-card { display: block; text-decoration: none; min-height: 44px; }
.pilot-page a.pl-card:hover, .pilot-page a.pl-card:focus { border-color: var(--pl-accent); }
.pilot-page .pl-soon { font-size: 13px; font-weight: 600; color: var(--pl-muted); }
.pilot-page .pl-card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* Buttons and inputs: 44 px tall at least. */
.pilot-page .pl-btn { min-height: 44px; min-width: 44px; padding: 10px 16px; border-radius: 8px; border: 1px solid var(--pl-line); background: var(--pl-quiet); color: var(--pl-text); font-size: 16px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.pilot-page .pl-btn-primary { background: var(--pl-btn); border-color: var(--pl-btn); color: var(--pl-btn-text); }
.pilot-page .pl-btn-primary:hover, .pilot-page .pl-btn-primary:focus { background: var(--pl-btn-hover); color: var(--pl-btn-text); }
.pilot-page .pl-btn-quiet { background: transparent; }
.pilot-page .pl-btn[disabled] { opacity: .6; cursor: default; }
.pilot-page .pl-label { display: block; font-weight: 600; margin: 10px 0 4px; font-size: 15px; }
.pilot-page .pl-input { width: 100%; min-height: 44px; padding: 8px 10px; font-size: 16px; border: 1px solid var(--pl-line); border-radius: 8px; background: var(--pl-card); color: var(--pl-text); }
.pilot-page .pl-row { display: flex; gap: 8px; }
.pilot-page .pl-row .pl-input { flex: 1 1 auto; }
.pilot-page .pl-pair { display: flex; gap: 8px; align-items: flex-end; }
.pilot-page .pl-pair .pl-field { flex: 1 1 0; min-width: 0; }
.pilot-page .pl-unit { width: auto; flex: 0 0 80px; }
.pilot-page .pl-check { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 16px; }
.pilot-page .pl-check input { width: 22px; height: 22px; }
.pilot-page .pl-form-wrap, .pilot-page .pl-add { background: var(--pl-card); border: 1px solid var(--pl-line); border-radius: 12px; padding: 16px; margin: 16px 0; }
.pilot-page .pl-add .pl-btn-quiet { margin-top: 12px; }
.pilot-page .pl-errors { color: var(--pl-danger); margin: 12px 0 0; padding-left: 20px; }
.pilot-page .pl-errors li { color: var(--pl-danger); }
.pilot-page .pl-status { min-height: 1.4em; font-weight: 600; }
.pilot-page .pl-section { margin: 24px 0 0; }

/* The teaser card for guests, free and Silver members. */
.pilot-page .pl-teaser { background: var(--pl-card); border: 1px solid var(--pl-line); border-radius: 16px; padding: 24px 16px; margin: 16px 0; text-align: left; }
.pilot-page .pl-pill { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--pl-gold-bg); color: var(--pl-gold); font-weight: 700; font-size: 13px; margin: 0 0 8px; }
.pilot-page .pl-teaser ul { padding-left: 20px; }
.pilot-page .pl-teaser-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
