body[data-course-pilot] .pilot-sheet { display: none; }

@media print {
  @page { size: A4; margin: 13mm 13mm 12mm; }
  html:has(body[data-course-pilot]), body[data-course-pilot] {
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0 !important;
    background: #fff !important;
    color: #1b3440 !important;
    font-size: 10pt !important;
  }
  body[data-course-pilot] > :not(main),
  body[data-course-pilot] main > :not(.pilot-sheet) { display: none !important; }
  body[data-course-pilot] main { display: block !important; margin: 0 !important; padding: 0 !important; }
  body[data-course-pilot] .pilot-sheet,
  body[data-course-pilot] .pilot-sheet * {
    box-sizing: border-box;
    animation: none !important;
    transition: none !important;
    text-shadow: none !important;
    box-shadow: none !important;
  }
  body[data-course-pilot] .pilot-sheet {
    display: block !important;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    font: 10pt/1.32 "Manrope", Arial, sans-serif;
    color: #1b3440;
    background: white;
  }
  .pilot-sheet .pilot-sheet-page { padding: 0; break-after: page; page-break-after: always; }
  .pilot-sheet .pilot-sheet-page:last-child { break-after: auto; page-break-after: auto; }
  .pilot-sheet .pilot-sheet-header { display: flex; align-items: center; justify-content: space-between; gap: 9mm; padding: 0 0 3mm; margin: 0 0 3mm; border-bottom: .25mm solid #cbdce4; }
  .pilot-sheet .pilot-sheet-brand { display: inline-flex; align-items: center; gap: 4mm; white-space: nowrap; }
  .pilot-sheet .pilot-sheet-brand img { display: block; width: 40mm; height: auto; }
  .pilot-sheet .pilot-sheet-brand span { border-left: .25mm solid #cbdce4; padding-left: 4mm; font-size: 16pt; font-weight: 400; color: #342cdb; letter-spacing: -.5pt; }
  .pilot-sheet .pilot-sheet-tool { display: flex; align-items: center; gap: 2mm; font-size: 10pt; }
  .pilot-sheet .pilot-sheet-tool img { width: 6mm; height: 6mm; object-fit: contain; }
  .pilot-sheet .pilot-sheet-running-title { max-width: 70mm; font-size: 8.5pt; color: #526d7a; text-align: right; }
  .pilot-sheet h2 { margin: 0 0 3mm; font-size: 24pt; line-height: 1.12; font-weight: 650; letter-spacing: -.7pt; color: #1b3440; }
  .pilot-sheet h3 { margin: 0 0 2mm; font-size: 12pt; line-height: 1.25; font-weight: 650; letter-spacing: -.15pt; color: #1b3440; }
  .pilot-sheet h4 { margin: 0 0 1mm; font-size: 10pt; line-height: 1.3; font-weight: 650; color: #1b3440; }
  .pilot-sheet p { margin: 0 0 2mm; font-size: inherit; line-height: inherit; color: inherit; }
  .pilot-sheet a { color: inherit; text-decoration: none; overflow-wrap: anywhere; }
  .pilot-sheet a::after { content: none !important; }
  .pilot-sheet ul { list-style: disc; margin: 0; padding: 0 0 0 4mm; }
  .pilot-sheet li { margin: 0 0 1.1mm; padding: 0; }
  .pilot-sheet .pilot-sheet-summary { font-size: 11pt; margin-bottom: 4mm; max-width: 165mm; }
  .pilot-sheet .pilot-sheet-facts { display: flex; flex-wrap: wrap; gap: 3mm 6mm; border-block: .25mm solid #cbdce4; padding: 3mm 0; margin: 0 0 2mm; font-size: 10pt; }
  .pilot-sheet .pilot-sheet-note { font-size: 8.5pt; color: #526d7a; }
  .pilot-sheet .pilot-sheet-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 8mm; margin: 4mm 0; }
  .pilot-sheet .pilot-sheet-sessions { list-style: none; margin: 0 0 4mm; padding: 0; }
  .pilot-sheet .pilot-sheet-sessions > li { display: grid; grid-template-columns: 55mm 1fr; gap: 5mm; border-top: .25mm solid #cbdce4; padding: 2.4mm 0; margin: 0; break-inside: avoid; page-break-inside: avoid; }
  .pilot-sheet .pilot-sheet-session-title > span { display: block; font-size: 8pt; color: #526d7a; margin-bottom: 1mm; }
  .pilot-sheet .pilot-sheet-evidence { font-size: 9pt; color: #526d7a; }
  .pilot-sheet .pilot-sheet-preparation { margin: 3mm 0; padding-top: 4mm; border-top: .25mm solid #cbdce4; font-size: 9pt; }
  .pilot-sheet .pilot-sheet-preparation h3 { font-size: 11pt; }
  .pilot-sheet .pilot-sheet-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1mm 4mm; margin-top: 2mm; padding-top: 2mm; border-top: .25mm solid #cbdce4; font-size: 8pt; color: #526d7a; }
  .pilot-sheet .pilot-sheet-version { flex: 0 0 100%; font-size: 7.5pt; line-height: 1.2; }
  .pilot-sheet .pilot-sheet-page-title { font-size: 18pt; margin: 0 0 4mm; }
  .pilot-sheet .pilot-sheet-module { display: grid; grid-template-columns: 48mm 1fr; gap: 5mm; margin-bottom: 2.5mm; padding-bottom: 2.5mm; border-bottom: .25mm solid #cbdce4; break-inside: avoid; page-break-inside: avoid; font-size: 9.5pt; }
  .pilot-sheet .pilot-sheet-module > h4 { font-size: 11pt; }
  .pilot-sheet .pilot-sheet-module ul { margin-bottom: 2mm; }
  .pilot-sheet .pilot-sheet-sample { break-inside: avoid; page-break-inside: avoid; margin: 3mm 0; font-size: 9pt; }
  .pilot-sheet .pilot-sheet-sample h4 { margin: 0 0 2mm; }
  .pilot-sheet .pilot-sheet-extensions { font-size: 8.5pt; color: #526d7a; margin: 3mm 0; }
  .pilot-sheet .pilot-sheet-terms { border-top: .25mm solid #cbdce4; padding-top: 3mm; font-size: 8.5pt; break-inside: avoid; page-break-inside: avoid; }
  .pilot-sheet .pilot-sheet-terms h3 { font-size: 11pt; }
  .pilot-sheet .pilot-sheet-terms ul { margin-bottom: 2mm; }
  .pilot-sheet .pilot-sheet-terms > a { font-size: 8pt; }
}

/* The longer collaboration programmes keep the same type sizes on two pages. */
@media print {
  body[data-course-pilot] .pilot-sheet.pilot-sheet-compact { line-height: 1.29; }
  .pilot-sheet-compact .pilot-sheet-header { padding-bottom: 2mm; margin-bottom: 2mm; }
  .pilot-sheet-compact p { margin-bottom: 1.7mm; }
  .pilot-sheet-compact li { margin-bottom: .75mm; }
  .pilot-sheet-compact .pilot-sheet-summary { margin-bottom: 3mm; }
  .pilot-sheet-compact .pilot-sheet-facts { padding-block: 2.5mm; }
  .pilot-sheet-compact .pilot-sheet-columns { margin-block: 3mm; }
  .pilot-sheet-compact .pilot-sheet-sessions { margin-bottom: 3mm; }
  .pilot-sheet-compact .pilot-sheet-sessions > li { padding-block: 2mm; margin: 0; }
  .pilot-sheet-compact .pilot-sheet-preparation { padding-top: 3mm; }
  .pilot-sheet-compact .pilot-sheet-page-title { margin-bottom: 3mm; }
  .pilot-sheet-compact .pilot-sheet-module { margin-bottom: 1.75mm; padding-bottom: 1.75mm; }
  .pilot-sheet-compact .pilot-sheet-module ul { margin-bottom: 1mm; }
  .pilot-sheet-compact .pilot-sheet-sample { margin-block: 2mm; }
  .pilot-sheet-compact .pilot-sheet-sample h4 { margin-bottom: 1mm; }
  .pilot-sheet-compact .pilot-sheet-extensions { margin-block: 2mm; }
  .pilot-sheet-compact .pilot-sheet-terms { padding-top: 2mm; }
  .pilot-sheet-compact .pilot-sheet-terms ul { margin-bottom: 1.5mm; }
  .pilot-sheet-compact .pilot-sheet-footer { break-inside: avoid; page-break-inside: avoid; }
}

/* Six-session reference editions have three deliberate print pages. */
@media print {
  body[data-course-pilot] .pilot-sheet.pilot-sheet-extended { line-height: 1.29; }
  .pilot-sheet-extended .pilot-sheet-header { margin-bottom: 2.5mm; padding-bottom: 2.5mm; }
  .pilot-sheet-extended .pilot-sheet-preparation { margin-block: 5mm; }
  .pilot-sheet-extended .pilot-sheet-sessions > li { padding-block: 3mm; }
  .pilot-sheet-extended .pilot-sheet-sessions p { font-size: 9.5pt; }
  .pilot-sheet-extended .pilot-sheet-module { margin-bottom: 2mm; padding-bottom: 2mm; }
  .pilot-sheet-extended .pilot-sheet-module ul { margin-bottom: 1.5mm; }
  .pilot-sheet-extended .pilot-sheet-footer { break-inside: avoid; page-break-inside: avoid; }
}

/* Keep the full operating package on the second page of shorter editions.
   Only spacing changes: the overview, type sizes and extended sheets retain
   their existing layout. */
@media print {
  .pilot-sheet:not(.pilot-sheet-extended) .pilot-sheet-content { line-height: 1.29; }
  .pilot-sheet:not(.pilot-sheet-extended) .pilot-sheet-content .pilot-sheet-header { margin-bottom: 2mm; padding-bottom: 2mm; }
  .pilot-sheet:not(.pilot-sheet-extended) .pilot-sheet-content .pilot-sheet-page-title { margin-bottom: 2mm; }
  .pilot-sheet:not(.pilot-sheet-extended) .pilot-sheet-content p { margin-bottom: 1mm; }
  .pilot-sheet:not(.pilot-sheet-extended) .pilot-sheet-content li { margin-bottom: .6mm; }
  .pilot-sheet:not(.pilot-sheet-extended) .pilot-sheet-content .pilot-sheet-module { margin-bottom: .75mm; padding-bottom: .75mm; }
  .pilot-sheet:not(.pilot-sheet-extended) .pilot-sheet-content .pilot-sheet-module ul { margin-bottom: 1mm; }
  .pilot-sheet:not(.pilot-sheet-extended) .pilot-sheet-content .pilot-sheet-sample { margin-block: 1mm; }
  .pilot-sheet:not(.pilot-sheet-extended) .pilot-sheet-content .pilot-sheet-sample h4 { margin-bottom: 1mm; }
  .pilot-sheet:not(.pilot-sheet-extended) .pilot-sheet-content .pilot-sheet-extensions { margin-block: 1mm; }
  .pilot-sheet:not(.pilot-sheet-extended) .pilot-sheet-content .pilot-sheet-terms { padding-top: 1.5mm; }
  .pilot-sheet:not(.pilot-sheet-extended) .pilot-sheet-content .pilot-sheet-terms h3 { margin-bottom: 1.5mm; }
  .pilot-sheet:not(.pilot-sheet-extended) .pilot-sheet-content .pilot-sheet-terms ul { margin-bottom: .75mm; }
  .pilot-sheet:not(.pilot-sheet-extended) .pilot-sheet-content .pilot-sheet-footer { margin-top: 1.5mm; padding-top: 1.5mm; break-inside: avoid; page-break-inside: avoid; }
}
