.pilot-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem max(1rem, calc((100vw - 1120px) / 2)); background: white; border-bottom: 1px solid #dfe5ec; }
.pilot-header .brand { min-width: 0; }
.pilot-header .brand img { width: 80px; }
.pilot-header > a:last-child { white-space: nowrap; }
.pilot-shell { width: min(1120px, calc(100% - 2rem)); margin: 2.5rem auto 4rem; }
.pilot-title { display: flex; justify-content: space-between; align-items: end; gap: 1.25rem; }
.pilot-title h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin: .7rem 0 .4rem; }
.pilot-title p, .pilot-panel > p { color: #4c5d72; }
.pilot-notice { padding: 1rem; background: #edf4fb; border: 1px solid #d6e4f3; border-radius: .75rem; margin: 1.4rem 0; }
#pilot-status { margin: .6rem 0; font-weight: 600; }
#pilot-status:empty { display: none; }
.pilot-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; }
.pilot-nav button { border-radius: .6rem; border: 1px solid #ccd6e0; padding: .65rem .9rem; background: white; color: #172b42; font: inherit; cursor: pointer; }
.pilot-nav button[aria-current="page"] { background: #172b42; border-color: #172b42; color: white; }
.pilot-panel { padding: clamp(1rem, 3vw, 2rem); }
.pilot-panel h2 { margin-top: 0; }
.pilot-panel form { display: grid; gap: .85rem; align-content: start; }
.pilot-panel form > p { margin: 0; }
.pilot-panel form > .button { justify-self: start; }
.pilot-panel label:not(.check-row) { display: grid; gap: .35rem; }
.pilot-panel input:not([type="checkbox"]), .pilot-panel select { width: 100%; min-width: 0; }
.pilot-panel fieldset { min-width: 0; padding: .8rem; border: 1px solid #dbe2ea; border-radius: .6rem; }
.pilot-panel .check-row { margin: .3rem 0; }
#pilot-registration { max-width: 36rem; }
.pilot-account { margin-top: 1.5rem; }
.pilot-account code, .pilot-table td { overflow-wrap: anywhere; }
.pilot-access-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; margin: 1.2rem 0; }
.pilot-access-grid form { border: 1px solid #dfe5ec; padding: 1rem; border-radius: .75rem; }
.pilot-access-grid h3 { margin: 0; }
.pilot-hint { color: #4c5d72; font-size: .9rem; }
.pilot-table td, .pilot-table th { vertical-align: top; }
.pilot-table td .button { margin: .2rem; white-space: nowrap; }
.pilot-metrics { display: flex; flex-wrap: wrap; gap: 1rem; }
.pilot-metrics > div { background: #f1f5fa; padding: .9rem 1.1rem; border-radius: .65rem; min-width: 8rem; }
.pilot-metrics dd { margin: .3rem 0 0; font-size: 1.5rem; font-weight: 700; }
@media (max-width: 700px) {
  .pilot-access-grid { grid-template-columns: 1fr; }
  .pilot-title { display: block; }
}
