.exercise-run-sheet,.exercise-source-notes{max-width:78ch;padding-top:2rem;line-height:1.65;overflow-wrap:anywhere}
.exercise-run-sheet h2,.exercise-source-notes h2{margin:1.7rem 0 .65rem;font-size:1.45rem;line-height:1.2}
.exercise-run-sheet h3{margin:.7rem 0 .25rem;font-size:1.1rem;line-height:1.3}
.exercise-run-sheet p,.exercise-source-notes p{margin:.5rem 0 1rem}
.exercise-run-sheet ul,.exercise-run-sheet ol,.exercise-source-notes ul{padding-left:1.6rem}
.exercise-run-sheet li{padding-left:.25rem;margin:.5rem 0}
.exercise-run-sheet dt{font-weight:700;margin:1rem 0 .3rem}
.exercise-run-sheet dd{margin-left:0}
.opening-script{margin:1rem 0;padding:1rem 1.25rem;border-left:3px solid #357266;background:#f0f1ec;color:#1c1f22}
.step-time{font-size:.85rem;font-weight:500;white-space:nowrap;margin-left:.35rem}
.run-sheet-downloads{display:flex;flex-wrap:wrap;gap:.7rem;margin-bottom:1rem}
.card-copy{white-space:pre-wrap;padding:1rem;border:1px solid #c7ccc1;line-height:1.6}
.participant-material{margin-top:1.5rem}
.material-figure{margin:1rem 0 0;white-space:normal}
.material-figure img{display:block;width:100%;max-width:180mm;height:auto;max-height:190mm;object-fit:contain}
.material-figure figcaption{font-size:.8rem;margin-top:.5rem}
.material-grid{border-collapse:collapse;width:100%;table-layout:fixed;white-space:normal;margin:.5rem 0}
.material-grid td{border:1px solid #777;padding:3mm;vertical-align:top;height:20mm;box-sizing:border-box;overflow-wrap:anywhere}
.material-bracket{font-family:ui-monospace,monospace;font-size:.8rem;line-height:1.25}
.material-line{display:block;break-inside:avoid}
.material-cutline{border-bottom:1px dashed #aaa;padding:2mm 0}
.card-copy:has(> .material-cutline) > .material-line:has(+ .material-line:not(.material-cutline)){break-after:avoid}
.print-run-sheet{font:16px/1.6 system-ui,sans-serif;color:#1c1f22;background:#fcfcfa;margin:0}
.print-run-sheet main{max-width:76ch;margin:2rem auto;padding:0 1.25rem}
.print-run-sheet h1{font-size:2.1rem;line-height:1.15}
.print-controls{padding:1rem;background:#f0f1ec;display:flex;gap:1rem;align-items:center;flex-wrap:wrap}
.print-controls button{font:inherit;padding:.6rem 1rem;background:#003336;color:#fcfcfa;border:0;cursor:pointer}
.print-revision{font-size:.8rem;margin-top:2rem;overflow-wrap:anywhere}
@media print{
 @page{size:auto;margin:15mm}
 .print-run-sheet{font-size:10.5pt;line-height:1.4;color:#000;background:#fff}
 .print-run-sheet main{max-width:none;margin:0;padding:0}
 .print-controls,.run-sheet-downloads,.exercise-live-section,.exercise-participant-view{display:none!important}
 .exercise-run-sheet,.exercise-source-notes{max-width:none;padding:0;line-height:1.4}
 .exercise-run-sheet h2,.exercise-source-notes h2{font-size:14pt;margin:14pt 0 6pt;break-after:avoid}
 .exercise-run-sheet h3{font-size:11.5pt;break-after:avoid}
 .print-run-sheet h1{font-size:23pt;margin:8pt 0}
 .run-sheet-steps>li,dt,.opening-script{break-inside:avoid}
 dt{break-after:avoid}
 p,li{orphans:3;widows:3}
 .opening-script{background:transparent;padding:6pt 10pt}
 .card-copy{white-space:pre-wrap;overflow:visible;font-size:10.5pt;line-height:1.4;border:1px solid #777}
 .participant-material{break-before:page;break-inside:avoid;margin-top:0}
 .participant-material h2{break-after:avoid}
 .participant-material.compact-lines .card-copy{font-size:10pt;line-height:1.25}
 .participant-material:has(.material-figure) .card-copy{padding:0;border:0}
 .material-figure img{width:180mm;max-width:100%;max-height:none}
 .material-grid tr{break-inside:avoid}
 .material-bracket{font-size:9pt;line-height:1.2}
 .material-figure{margin:6pt 0 0;break-inside:avoid}
 .material-figure figcaption{display:none}
 a{color:#000;text-decoration:underline}
}
