body.pilot-offline {
  margin: 0;
  background: #f4f5f0;
  color: #172a27;
  font: 16px/1.55 system-ui, sans-serif;
}
.pilot-sheet, .pilot-sheet * { box-sizing: border-box; }
.pilot-sheet { max-width: 940px; margin-inline: auto; padding: 0 20px 26px; }
.pilot-sheet .pilot-intro { padding: 32px 0 14px; }
.pilot-sheet h1 { font-size: clamp(34px, 6vw, 54px); line-height: 1.08; letter-spacing: -.05em; margin: 0 0 12px; }
.pilot-sheet h2 { font-size: 22px; line-height: 1.25; letter-spacing: -.03em; margin: 0 0 8px; }
.pilot-sheet .sub, .pilot-sheet .note { color: #485f53; }
.pilot-sheet .note { font-size: 14px; }
.pilot-sheet a { color: #175c49; text-underline-offset: .15em; }
.pilot-sheet .panel { background: #fff; border: 1px solid #d9ded7; border-radius: 16px; padding: 20px; margin: 14px 0; }
.pilot-sheet fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.pilot-sheet .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.pilot-sheet .fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pilot-sheet label { display: flex; flex-direction: column; gap: 5px; min-width: 0; font-size: 14px; font-weight: 650; }
.pilot-sheet .fields label { justify-content: space-between; }
.pilot-sheet input, .pilot-sheet textarea {
  width: 100%;
  min-width: 0;
  padding: 9px;
  border: 1px solid #657c70;
  border-radius: 8px;
  background: #fcfdfb;
  color: #172a27;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
}
.pilot-sheet textarea { resize: vertical; }
.pilot-sheet [aria-invalid="true"] { border-color: #a02e20; }
.pilot-sheet #pilot-error { color: #962b20; font-size: 14px; margin-bottom: 0; }
.pilot-sheet :focus-visible { outline: 3px solid #004d69; outline-offset: 3px; }
.pilot-sheet .actions { margin-top: 16px; }
.pilot-sheet button {
  padding: 9px 14px;
  min-height: 44px;
  border: 1px solid #657c70;
  border-radius: 9px;
  background: #fff;
  color: #18352e;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.pilot-sheet button.primary { background: #216a55; color: #fff; border-color: #216a55; }
.pilot-sheet button:disabled { opacity: .55; cursor: default; }
.pilot-sheet .pilot-result { border-top: 4px solid #216a55; }
.pilot-sheet .pilot-capacity { color: #485f53; }
.pilot-sheet .pilot-capacity strong { color: #172a27; padding-inline-start: 5px; font-variant-numeric: tabular-nums; }
.pilot-sheet table { width: 100%; table-layout: fixed; border-collapse: collapse; }
.pilot-sheet th, .pilot-sheet td {
  padding: 10px;
  border-bottom: 1px solid #d9ded7;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
  font-size: 14px;
}
.pilot-sheet th:first-child { width: 39%; }
.pilot-sheet td { font-variant-numeric: tabular-nums; }
.pilot-sheet :is(td, th):last-child { background: #f4f5f0; }
.pilot-sheet .pilot-decision { font-weight: 650; }
.pilot-sheet .pilot-print-summary { display: none; }
@media (max-width: 700px) {
  .pilot-sheet { padding-inline: 14px; }
  .pilot-sheet .panel { padding: 15px; }
  .pilot-sheet .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 460px) {
  .pilot-sheet .fields { grid-template-columns: 1fr; }
  .pilot-sheet th, .pilot-sheet td { padding: 8px 5px; }
}
@media print {
  body.pilot-offline { background: #fff; }
  .pilot-sheet { max-width: none; padding: 0; }
  .pilot-sheet h1 { font-size: 26px; }
  .pilot-sheet h2 { font-size: 16px; }
  .pilot-sheet .pilot-intro { padding: 0; }
  .pilot-sheet .pilot-intro a, .pilot-sheet .pilot-intro .sub, .pilot-sheet .actions,
  .pilot-sheet form, .pilot-sheet .pilot-method, .foot { display: none; }
  .pilot-sheet .pilot-print-summary { display: block; }
  .pilot-sheet .pilot-print-summary dl { margin-block: 4px 0; font-size: 11px; }
  .pilot-sheet .pilot-print-summary div { margin-bottom: 5px; }
  .pilot-sheet .pilot-print-summary dt { font-weight: 650; }
  .pilot-sheet .pilot-print-summary dd { margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
  .pilot-sheet .pilot-result { break-inside: avoid; }
}
