/* Balance content within the original 1600 × 900 lecture canvas. */
body.presenting .lesson-section{padding-top:28px;padding-bottom:30px}
body.presenting .lecture-body{justify-content:center}
body.presenting .lecture-unit{width:100%}
/* Sparse single-formula pages: use the canvas instead of a small top strip. */
body.presenting .lecture-body.balanced-sparse .equation-block{padding:32px 38px}
body.presenting .lecture-body.balanced-sparse .math.display{font-size:51px!important}
body.presenting .lecture-body.balanced-sparse .learning-chain{font-size:32px!important;padding:24px}
body.presenting #start .intro-definition{padding-top:0;text-align:center}
body.presenting #start .intro-keywords{justify-content:center;font-size:72px;margin:66px 0}
body.presenting #start .intro-message{font-size:48px!important}
body.presenting #start .intro-bridge{font-size:34px!important}
/* Give portraits and their message comparable visual weight. */
body.presenting .history-intro .intro-portrait-layout{grid-template-columns:430px 1fr;gap:72px}
body.presenting .history-intro .intro-portrait img{height:550px;width:430px}
body.presenting .history-intro .intro-message{font-size:51px!important}
body.presenting .history-intro .intro-date{font-size:72px}
body.presenting #history-nature .intro-mini-molecule{max-width:650px;height:230px}
body.presenting #history-nature .intro-mini-molecule svg{overflow:visible}
body.presenting #history-nature .intro-mini-molecule svg>g{transform:translate(500px,210px) scale(2.3)}
body.presenting #history-errors .intro-composition>svg,body.presenting #history-chemistry .intro-composition>svg{height:530px}
body.presenting #history-interference .intro-interference-layout{grid-template-columns:1fr .8fr;gap:60px}
body.presenting #history-interference .intro-interference img{height:565px}
/* Two-slit: definition, experiment and caveat stay on one page. */
body.presenting .balanced-young{display:flex;flex-direction:column;gap:10px}
body.presenting .balanced-young .lead{font-size:27px!important;line-height:1.4!important;margin:0!important}
body.presenting .balanced-young .two-slit-grid{margin:0!important;gap:28px}
body.presenting .balanced-young .two-slit-grid>figure{padding:10px}
body.presenting .balanced-young .two-slit-grid h3{font-size:28px!important;margin-bottom:4px}
body.presenting .balanced-young .slit-apparatus{max-height:350px}
body.presenting .balanced-young .two-slit-grid .controls{margin:7px 0}
body.presenting .balanced-young .compact-status{margin:5px 0!important}
body.presenting .balanced-young .subtle{margin:0!important;font-size:21px!important;line-height:1.4!important}
/* Superposition: states at left, weighted sum and its meaning at right. */
body.presenting .balanced-superposition{display:grid;grid-template-columns:1fr 1.2fr;gap:18px 38px;align-items:center}
body.presenting .balanced-superposition .state-names{grid-column:1;grid-row:1 / 4;display:grid;grid-template-columns:1fr;gap:18px;margin:0}
body.presenting .balanced-superposition .state-names>div{padding:22px}
body.presenting .balanced-superposition>p:not(.key-note){grid-column:2;margin:0!important}
body.presenting .balanced-superposition>.equation-block{grid-column:2;margin:0!important}
body.presenting .balanced-superposition>.brief-definitions{grid-column:2;margin:0}
body.presenting .balanced-superposition>.keyword-flow{grid-column:1 / -1;justify-content:center;margin:10px 0}
body.presenting .balanced-superposition>.key-note{grid-column:1 / -1;margin:0!important}
/* Bloch sphere: use the left column for the explanation tied to the sphere. */
body.presenting .bloch-lab .bloch-sphere{height:385px;max-width:560px}
body.presenting .bloch-lab .deck-bloch-left>p{font-size:23px!important;line-height:1.4!important;margin:10px 0!important}
body.presenting .bloch-lab .deck-bloch-left>.key-note{font-size:21px!important;padding:9px 12px}
body.presenting .bloch-lab .deck-bloch-left>details{margin-top:8px}
body.presenting .bloch-lab .deck-bloch-left>details summary{font-size:22px!important;padding:10px 2px}
body.presenting .bloch-lab .bloch-readout{padding-top:4px}
body.presenting .bloch-lab #bloch-state{font-size:31px!important}
body.presenting #vectors .experiment{min-height:420px;display:flex;flex-direction:column;justify-content:center;padding:32px}
body.presenting #vectors .experiment .dynamic-equation{font-size:44px!important;padding:28px 0}
body.presenting #weights .lecture-body.balanced-sparse .two-col{gap:40px}
body.presenting #weights .lecture-body.balanced-sparse .math.display{font-size:48px!important}
body.presenting #eigenvalues .lecture-body.balanced-sparse> .lecture-unit:has(details){padding:8px 0}
body.presenting #eigenvalues .lecture-body.balanced-sparse summary{font-size:28px!important;padding:24px 8px}
body.presenting .measurement-bridge>details{grid-column:1 / -1;margin-top:12px;text-align:left}
body.presenting #measurement .lecture-body.balanced-sparse .math.display{font-size:58px!important}
body.presenting #qiskit .recap-line{display:flex;gap:12px 22px;flex-wrap:wrap;align-items:center;margin:24px 0!important}
body.presenting #qiskit .recap-line>span{display:flex;align-items:center;gap:22px;font-size:35px;line-height:1.5;color:#0043ce;padding:12px 0}
body.presenting #qiskit .recap-line>span:not(:last-child)::after{content:'→';color:#6929c4}

body.presenting .balanced-superposition{row-gap:8px}
body.presenting .bloch-lab .deck-bloch-right>.bloch-intro{font-size:23px!important;line-height:1.4!important;margin:0 0 10px!important}
body.presenting #qiskit .recap-line{border-top:2px solid #a6c8ff;padding-top:14px}
