[hidden] { display: none !important; }
.study-hero { padding-block: clamp(2.4rem, 5vw, 4rem); }
.study-path { padding: clamp(1.2rem, 3vw, 2rem); }
.study-path ol { margin-block-end: 0; padding-inline-start: 1.4rem; }
.study-path li + li { margin-block-start: .55rem; }
.player { width: 100%; aspect-ratio: 16 / 9; background: #081012; border: 1px solid var(--line); border-radius: .55rem; }
.deck { margin-top: 1rem; }
.deck-slide { border: 1px solid var(--line); border-radius: .6rem; padding: clamp(1rem, 5vw, 2.4rem); background: var(--panel); min-height: 16rem; }
.deck-slide pre { margin-block: 1.2rem; }
.deck-controls { margin-top: .75rem; }
.deck-controls button:disabled { opacity: .48; }
#pilot-form label { display: block; margin: .75rem 0; }
#pilot-form :is(select, input[type=number], textarea) { display: block; max-width: 100%; margin-top: .25rem; padding: .5rem; border: 1px solid var(--line); border-radius: .35rem; background: var(--bg); color: var(--text); font: inherit; }
#pilot-form textarea { width: 100%; }
#attempts li { overflow-wrap: anywhere; }
@media print {
  :root { color-scheme: light; }
  body { background: white; color: black; }
  .bar, .skip, .lesson > :not(.deck), .deck > :not(.deck-slide) { display: none !important; }
  .lesson { width: 100%; max-width: none; padding: 0; }
  .deck-slide, .deck-slide[hidden] { display: block !important; background: white; border-color: #444; break-inside: avoid; margin-bottom: 1rem; }
  .deck-slide pre, .deck-slide code { background: #eee; color: black; }
}
