.pilot-form {
  max-width: 1440px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 29%);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
  margin-top: 28px;
}
.pilot-subtitle { margin: 7px 0 8px; color: var(--muted); max-width: 67ch; }
.pilot-jump { margin-bottom: 16px; color: var(--accent); font-size: .93rem; }
.pilot-context { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.pilot-context label, .pilot-result-label { display: grid; gap: 5px; align-content: start; font-size: .9rem; font-weight: 600; }
.pilot-form :is(input, select, textarea) {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 9px 11px;
  background: white;
  border: 1px solid #bdcadf;
  border-radius: 7px;
  color: var(--ink);
  font: inherit;
  font-weight: 400;
}
.pilot-form select {
  appearance: none;
  padding-right: 30px;
  background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23334b70' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 9px center;
}
.pilot-checklist { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.pilot-check { padding: 15px 0; border-bottom: 1px solid var(--line); }
.pilot-check-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(164px, 24%); gap: 12px 22px; }
.pilot-check-main:has(.pilot-result-label[hidden]) { grid-template-columns: minmax(0, 1fr); }
.pilot-check-main h3 { margin: 2px 0 6px; font-size: 1.16rem; }
.pilot-check-main p { max-width: 65ch; }
.pilot-check-main a { display: inline-block; margin-top: 5px; color: var(--accent); font-size: .92rem; }
.pilot-scope { color: #526886; font-size: .84rem; }
.pilot-record { margin-top: 6px; color: var(--muted); font-size: .92rem; }
.pilot-note { margin-top: 8px; max-width: 65ch; }
.pilot-form summary { display: flex; align-items: center; gap: 7px; padding: 6px 0; color: var(--accent); font-size: .9rem; font-weight: 600; }
.pilot-form details[open] summary .icon { transform: rotate(180deg); }
.pilot-form textarea { resize: vertical; }
.pilot-result-label select { font-size: .9rem; }
.pilot-check[data-result="blocked"] select { border-color: #c15c49; background-color: #fff2ec; }
.pilot-check[data-result="passed"] select { border-color: #6a9a84; background-color: #f2f9f4; }
.pilot-sheet {
  position: sticky;
  top: 18px;
  background: #f3f7fe;
  border: 1px solid #d6e3f4;
  border-radius: 12px;
  padding: clamp(15px, 1.7vw, 24px);
}
.pilot-sheet h2 { font-size: 1.4rem; margin-bottom: 12px; }
.pilot-status { border-left: 3px solid #6e92ca; padding: 3px 0 3px 10px; }
.pilot-status p { font-size: .88rem; color: #455b7d; }
.pilot-status strong { display: block; margin-top: 4px; }
.pilot-status strong[data-state="blocked"] { color: #8c3322; }
.pilot-status strong[data-state="ready"] { color: #205d43; }
.pilot-sheet :is(#pilot-storage, .pilot-next, noscript p) { font-size: .9rem; color: var(--muted); margin: 10px 0; }
#pilot-export { background: #1f55bf; justify-content: center; width: 100%; }
#pilot-export:hover { background: #18449c; }
.pilot-report { margin-top: 8px; }
.pilot-report textarea { font-size: .87rem; }
.pilot-reset-row { margin-top: 6px; }
#pilot-reset { padding: 2px 0; background: none; border: 0; color: var(--accent); text-decoration: underline; font-size: .9rem; }
.pilot-template { margin-top: 12px; padding-top: 10px; border-top: 1px solid #d6e3f4; color: var(--accent); font-size: .93rem; }
@media(max-width: 1000px) {
  .pilot-form { grid-template-columns: minmax(0, 1fr); }
  .pilot-sheet { position: static; }
}
@media(max-width: 620px) {
  .pilot-context, .pilot-check-main { grid-template-columns: minmax(0, 1fr); }
}
