/* A fixed 16:9 composition; page breaks, rather than smaller body text. */
body.presenting{overflow:hidden;background:#edf5ff}
body.presenting .layout{display:block}
body.presenting .site-header{height:72px;--header:72px;position:fixed;inset:0 0 auto;z-index:50;padding:8px 24px}
body.presenting .site-header .brand-images{width:auto;height:auto;gap:26px}
body.presenting .site-header .logo-frame{height:48px}
body.presenting .site-header .ibm-frame{width:180px}
body.presenting .site-header .ibm-logo{width:260.07px;height:99.93px;left:-39.97px;top:-27.1px}
body.presenting .site-header .leona-frame{width:160px;height:52px}
body.presenting .site-header .leona-logo{width:207.40px;height:138.26px;left:-24.04px;top:-32.6px}
body.presenting #menu-toggle{display:block}
body.presenting .header-actions{width:auto;height:auto;gap:12px}
body.presenting .lesson-nav{display:none;position:fixed;inset:72px auto 60px 0;width:310px;height:auto;max-width:88vw;background:#fff;border-right:1px solid #a6c8ff;z-index:45;box-shadow:8px 0 30px #0f62fe15;padding:20px 14px}
body.presenting .lesson-nav.is-open{display:block}
body.presenting .lesson-nav a{font-size:16px;line-height:1.5}
body.presenting main{position:fixed;inset:72px 0 60px;padding:0;display:grid;place-items:center;overflow:hidden}
body.presenting .lesson-section{position:absolute;width:1600px;height:900px;max-width:none;min-height:0;box-sizing:border-box;margin:0;padding:34px 76px 42px;border:0;background:#fff;display:flex;flex-direction:column;transform-origin:top left;overflow:visible;box-shadow:0 0 0 1px #d0e2ff}
body.presenting .lesson-section[hidden]{display:none!important}
body.presenting .lecture-heading{flex:none;padding:0 0 16px}
body.presenting .lecture-heading .section-meta{font-size:18px;margin:0 0 12px;line-height:1.5;letter-spacing:0;gap:24px}
body.presenting .lecture-heading h1,body.presenting .lecture-heading h2{font-size:46px!important;line-height:1.35!important;font-weight:500;margin:0!important;max-width:none;letter-spacing:-.025em}
body.presenting .lecture-heading .journey{font-size:20px;line-height:1.4;gap:10px;margin:18px 0 0;flex-wrap:wrap}
body.presenting .lecture-heading .journey li{font-size:20px!important;padding:5px 14px}
body.presenting .lecture-body{flex:1;min-height:0;position:relative;display:flex;flex-direction:column;gap:18px;font-size:30px;line-height:1.65}
body.presenting .lecture-unit{flex:none;min-width:0;display:flow-root}
body.presenting .lecture-unit>:first-child{margin-top:0!important}
body.presenting .lecture-unit>:last-child{margin-bottom:0!important}
body.presenting .lecture-body p,body.presenting .lecture-body li,body.presenting .lecture-body dd,body.presenting .lecture-body label{font-size:28px!important;line-height:1.6!important;max-width:none}
body.presenting .lecture-body p{margin:14px 0}
body.presenting .lecture-body h3{font-size:31px!important;line-height:1.45;margin:0 0 18px}
body.presenting .lecture-body h4{font-size:29px;line-height:1.4;margin:10px 0}
body.presenting .lecture-body .lead{font-size:33px!important;line-height:1.6!important}
body.presenting .lecture-body .math.display{font-size:34px!important;margin:0;padding:6px 2px;max-width:100%;overflow-x:auto}
body.presenting .lecture-body .math.inline{font-size:inherit}
body.presenting .lecture-body .katex{font-size:1.12em}
body.presenting .lecture-body .katex-display{margin:.22em 0}
body.presenting .lecture-body .equation-block{padding:20px 24px;margin:16px 0}
body.presenting .lecture-body .equation-label,body.presenting .lecture-body small,body.presenting .lecture-body figcaption,body.presenting .lecture-body .experiment-note,body.presenting .lecture-body .subtle,body.presenting .lecture-body .sqd-small-caption{font-size:23px!important;line-height:1.55!important;max-width:none}
body.presenting .lecture-body .key-note,body.presenting .lecture-body .operation-purpose,body.presenting .lecture-body .sqd-takeaway{font-size:25px!important;line-height:1.6!important;padding:14px 20px;margin:16px 0}
body.presenting .lecture-body button,body.presenting .lecture-body select{font-size:23px!important;line-height:1.35;min-height:52px;padding:10px 16px}
body.presenting .lecture-body .controls,body.presenting .lecture-body .segmented{gap:10px;margin:16px 0;display:flex;flex-wrap:wrap}
body.presenting .lecture-body input[type=range]{max-width:none;width:100%;min-height:44px}
body.presenting .lecture-body .range-label{max-width:none;gap:18px;margin:12px 0 4px}
body.presenting .lecture-body .two-col,body.presenting .lecture-body .function-grid,body.presenting .lecture-body .bloch-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;margin:16px 0}
body.presenting .lecture-body .experiment{margin:18px 0;padding:24px;border-top-width:3px}
body.presenting .lecture-body .bar-label,body.presenting .lecture-body .bar-label strong{font-size:26px!important;line-height:1.4}
body.presenting .lecture-body .bar-track{height:18px}
body.presenting .lecture-body .bar-item{margin-bottom:16px}
body.presenting .lecture-body table{font-size:26px!important;line-height:1.5;margin:14px 0}
body.presenting .lecture-body th,body.presenting .lecture-body td{font-size:26px!important;padding:8px 12px}
body.presenting .lecture-body caption{font-size:22px!important;line-height:1.4;margin-bottom:10px}
body.presenting .lecture-body .matrix-table th,body.presenting .lecture-body .matrix-table td{font-size:24px!important;padding:6px 9px}
body.presenting .lecture-body .brief-definitions{font-size:27px;margin:12px 0}
body.presenting .lecture-body .brief-definitions dt{font-size:30px}
body.presenting .lecture-body .brief-definitions>div{padding:12px 0;gap:24px}
body.presenting .lecture-body .symbol-list dd{font-size:27px!important}
body.presenting .lecture-body pre{font-size:25px!important;line-height:1.6;padding:22px;overflow:auto}
body.presenting .lecture-body pre code{font-size:inherit}
body.presenting .lecture-body .code-header{font-size:20px;padding:8px 18px}
body.presenting .lecture-body .carbon-figure svg,body.presenting .lecture-body .carbon-svg svg{display:block;width:100%;height:auto;max-height:460px;object-fit:contain}
body.presenting .lecture-body .carbon-flow{margin:24px 0;gap:28px}
body.presenting .lecture-body .carbon-flow strong{font-size:28px!important;line-height:1.5}
body.presenting .lecture-body .carbon-flow li>span{font-size:24px}
body.presenting .lecture-body .carbon-flow li p{font-size:25px!important}
body.presenting .lecture-body .overview-timeline{grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;margin:16px 0}
body.presenting .lecture-body .overview-timeline strong{font-size:46px}
body.presenting .lecture-body .overview-applications{grid-template-columns:1fr 1fr;gap:32px}
body.presenting .lecture-body .two-slit-grid{grid-template-columns:1fr 1fr;gap:36px;margin:14px 0}
body.presenting .lecture-body .two-slit-grid>figure{padding:20px}
body.presenting .lecture-body .slit-apparatus{max-height:385px;width:100%;height:auto}
body.presenting .lecture-body .two-slit-grid .controls{margin:12px 0;gap:8px}
body.presenting .lecture-body .two-slit-grid button{font-size:20px!important;min-height:46px;padding:8px 12px}
body.presenting .lecture-body .compact-status{font-size:25px!important;line-height:1.5!important;margin:12px 0}
body.presenting .lecture-body .state-names{margin:16px 0}
body.presenting .lecture-body .state-names>div{padding:20px}
body.presenting .lecture-body .state-names .math{font-size:38px!important}
body.presenting .lecture-body .keyword-flow{font-size:28px;margin:20px 0;gap:18px}
body.presenting .lecture-body .deck-columns{display:grid;grid-template-columns:1fr 1.25fr;gap:32px;align-items:start}
.deck-panel{display:contents}
body.presenting .lecture-body .deck-panel{display:block;min-width:0}
body.presenting #weights .experiment{display:grid;grid-template-columns:.9fr 1.3fr;gap:34px;margin:0;padding:24px}
body.presenting #weights .two-bars{display:block}
body.presenting #weights .segmented{gap:0}
body.presenting #weights .segmented button{font-size:22px!important;padding:10px 13px}
body.presenting #weights .screen-strip{width:100%;max-width:none;margin:20px 0 0}
body.presenting #weights #path-state{font-size:29px!important;min-height:60px;padding:6px 0}
body.presenting .bloch-lab{display:grid;grid-template-columns:1.05fr 1fr;gap:18px 36px}
body.presenting .bloch-lab .bloch-grid{display:contents!important}
body.presenting .bloch-lab .bloch-grid>figure{grid-column:1;grid-row:1 / 3;max-width:none}
body.presenting .bloch-lab .bloch-grid>div{grid-column:2;grid-row:1}
body.presenting .bloch-lab .bloch-readout{grid-column:1;margin:0;padding:8px 0}
body.presenting .bloch-lab .gate-actions{grid-column:2;grid-row:2 / 4;margin:0;padding:10px 0}
body.presenting .bloch-lab .bloch-sphere{max-height:345px;width:100%;max-width:460px;margin:auto}
body.presenting .bloch-lab .segmented{margin:10px 0}
body.presenting .bloch-lab .camera-controls{margin:8px 0}
body.presenting .bloch-lab .camera-controls button{font-size:20px!important;min-height:44px;padding:8px 10px}
body.presenting .bloch-lab .bars{display:grid;grid-template-columns:1fr 1fr;gap:22px;padding:0}
body.presenting .bloch-lab #bloch-description{font-size:22px!important;margin:6px 0}
body.presenting .bloch-lab .dynamic-equation{min-height:70px;padding:0}
body.presenting .bloch-lab #bloch-state{font-size:30px!important}
body.presenting .eigen-roles{margin:12px 0}
body.presenting .eigen-roles p{font-size:25px!important}
body.presenting .eigen-detail{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:0!important}
body.presenting .eigen-detail .eigen-step-controls{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
body.presenting .eigen-detail .eigen-step-controls button{font-size:21px!important;min-height:46px;padding:8px 12px}
body.presenting .eigen-detail .eigen-inputs button{font-size:23px!important}
body.presenting .eigen-detail .eigen-step-caption{font-size:27px;margin:10px 0}
body.presenting .eigen-detail .dynamic-equation{min-height:80px;padding:6px 0}
body.presenting .eigen-detail #eigen-product{font-size:32px!important}
body.presenting .eigen-detail #eigen-work{font-size:29px!important}
body.presenting .eigen-detail #eigen-work-note{font-size:23px!important}
body.presenting .eigen-detail #eigen-verdict .dynamic-equation{min-height:60px}
body.presenting .eigen-detail #eigen-vector-diagram{height:245px;width:100%;max-width:450px}
body.presenting .eigen-detail #eigen-verdict{grid-column:1 / -1;display:grid;grid-template-columns:1fr 1fr;align-items:center}
body.presenting .eigen-detail #eigen-verdict[hidden]{display:none!important}
body.presenting .measurement-lab{display:grid;grid-template-columns:1fr 1fr;gap:18px 32px;margin:0!important}
body.presenting .measurement-lab>h3{grid-column:1 / -1}
body.presenting .measurement-lab>.two-col{grid-column:1;display:block!important;margin:0}
body.presenting .measurement-lab .measurement-calculation{grid-column:2;grid-row:2;margin:0}
body.presenting .measurement-lab>.controls,body.presenting .measurement-lab>#measurement-result,body.presenting .measurement-lab>#measurement-counts,body.presenting .measurement-lab>.experiment-note{grid-column:2;margin:8px 0}
body.presenting .measurement-lab #position-detector{height:180px;max-width:460px;margin:12px auto}
body.presenting .measurement-lab #measurement-bars{display:flex;gap:22px}
body.presenting .measurement-lab #measurement-bars>.bar-item{flex:1}
body.presenting .measurement-lab #measurement-product{font-size:30px!important}
body.presenting .lecture-body .vqe-flow-lab{gap:36px;padding:24px}
body.presenting .lecture-body .vqe-flow-lab .controls button{font-size:23px!important}
body.presenting .lecture-body .vqe-flow-lab .math.display{font-size:31px!important}
body.presenting .lecture-body .sampling-controls{display:flex;gap:18px;align-items:end;flex-wrap:wrap}
body.presenting .lecture-body .sampling-controls label{font-size:23px!important}
body.presenting .lecture-body .sampling-controls select{max-width:540px;min-height:48px}
body.presenting .lecture-body .sampling-controls button{min-height:48px}
body.presenting .lecture-body .distribution-row{font-size:26px;grid-template-columns:110px 1fr 95px;gap:16px;margin:16px 0}
body.presenting .lecture-body .dot-record-row{font-size:25px;grid-template-columns:110px 1fr;margin:16px 0}
body.presenting .lecture-body .space-overview{grid-template-columns:1fr 1.1fr;gap:36px;margin:0}
body.presenting .lecture-body .full-space-figure svg{max-width:610px;max-height:550px}
body.presenting .lecture-body .sector-summary h3{font-size:31px}
body.presenting .lecture-body .sector-basis span{font-size:32px}
body.presenting .lecture-body .space-reduction strong{font-size:42px}
body.presenting .lecture-body .sector-detail{font-size:25px!important}
body.presenting .lecture-body .gate-correspondence{margin:14px 0;row-gap:18px}
body.presenting .lecture-body .gate-bottom{min-height:0}
body.presenting .lecture-body .gate-bottom figure{max-width:250px}
body.presenting .lecture-body .gate-bottom .math.display{font-size:31px!important}
body.presenting .lecture-body .gate-matrix .math.display{font-size:27px!important}
body.presenting .lecture-body .gate-caption{font-size:29px!important;margin:14px 0}
body.presenting .lecture-body .mix-overview{margin:14px 0;gap:36px}
body.presenting .lecture-body .mix-overview figcaption{font-size:28px!important}
body.presenting .lecture-body .mix-overview .math.inline{font-size:28px}
body.presenting .lecture-body .sqd-projection-pair{gap:24px;margin:14px 0}
body.presenting .lecture-body .sqd-summary-grid{gap:32px;margin:12px 0}
body.presenting .lecture-body .sqd-summary-grid svg{max-height:370px}
body.presenting .lecture-body .sqd-state-comparison .math.display{font-size:29px!important}
body.presenting .lecture-body .sqd-born-columns .math.display{font-size:31px!important}
body.presenting .lecture-body .sqd-amplitude-row{font-size:29px}
body.presenting .lecture-body .deep{margin:12px 0;padding:0 18px}
body.presenting .lecture-body summary{font-size:26px;line-height:1.5;padding:14px 2px}
body.presenting .lecture-body details[open]{position:absolute;inset:0;z-index:30;background:#fff;padding:10px 28px 28px;overflow:auto;border:2px solid #a6c8ff}
body.presenting .lecture-body details[open]>summary{position:sticky;top:-10px;background:#fff;z-index:2;color:#0043ce;border-bottom:1px solid #a6c8ff}
body.presenting .lecture-body details[open]>summary::after{content:'（クリックで閉じる）';font-size:21px;margin-left:20px}
body.presenting .lecture-body details[open]>div{padding-top:18px}
body.presenting .deck-overflow{overflow:auto;max-height:100%;overscroll-behavior:contain;border-bottom:2px solid #a6c8ff}
body.presenting .presentation-controls{left:0;right:0;bottom:0;height:60px;min-height:60px;padding:6px 24px;border-color:#a6c8ff;z-index:50;font-size:17px}
body.presenting .presentation-controls button{min-height:44px;padding:8px 22px;font-size:17px}
body.presenting .deck-measuring{visibility:hidden!important;pointer-events:none;left:-20000px!important;top:0!important;transform:none!important}
@media(max-width:800px){body.presenting .site-header{padding:6px 12px}body.presenting .brand-images{gap:12px}body.presenting .ibm-frame{width:120px}body.presenting .leona-frame{width:120px}body.presenting .header-actions{gap:6px}body.presenting .course-label{display:none}body.presenting .presentation-controls{padding:6px 12px;gap:10px;font-size:14px}}

body.presenting .measurement-lab>.two-col{grid-column:1;grid-row:1}
body.presenting .measurement-lab>.deck-measurement-output{grid-column:2;grid-row:1}
body.presenting .measurement-lab .deck-measurement-output>.controls{margin:18px 0}
body.presenting .measurement-lab .deck-measurement-output>.measurement-calculation{border-top:0;padding-top:0}
body.presenting .measurement-lab #measurement-bars .bar-label{font-size:24px!important}
body.presenting .measurement-lab #measurement-result{font-size:30px!important}

body.presenting .eigen-detail #eigen-verdict{display:block;margin:10px 0 0;padding:0;border:0}
body.presenting .eigen-detail .deck-eigen-figure{margin:24px 0 0}
body.presenting .eigen-detail:has(#eigen-verdict[hidden]) .deck-eigen-figure{visibility:hidden}
body.presenting .eigen-detail .deck-eigen-figure svg{height:255px!important;max-width:480px!important;margin:auto}
body.presenting .eigen-detail .deck-eigen-figure figcaption{font-size:22px!important}
body.presenting .eigen-detail #eigen-verdict #eigen-result{font-size:31px!important;min-height:54px;padding:0}
body.presenting .eigen-detail #eigen-verdict #eigen-observation{font-size:25px!important;line-height:1.5!important;margin:8px 0}
body.presenting .bloch-sphere text{font-size:26px!important}
body.presenting .bloch-sphere text.math-axis{font-size:21px!important}

body.presenting .eigen-detail{min-height:640px}

body.presenting #two:has(#solve-matrix[data-dimension="4"]) .sqd-solve-flow{grid-template-columns:minmax(0,1.65fr) 30px minmax(0,.85fr)}

/* Readability pass: prevent legacy compact styles from shrinking slide content. */
body.presenting .lecture-body .math.display{font-size:38px!important}
body.presenting .lecture-body .math.inline{font-size:max(1em,28px)!important}
body.presenting .lecture-body .dynamic-equation,body.presenting .lecture-body .work-lines{font-size:36px!important}
body.presenting .lecture-body .function-map{font-size:28px;gap:16px;padding:20px}
body.presenting .lecture-body .carbon-figure{width:100%;max-width:none;margin:0}
body.presenting .lecture-body .carbon-figure img{display:block;width:100%;height:auto;max-width:1100px;max-height:540px;object-fit:contain;margin:auto}
body.presenting .lecture-body .carbon-svg svg{width:100%;max-width:none;max-height:490px}
body.presenting .lecture-body .slit-apparatus{max-height:410px}
body.presenting .lecture-body .two-slit-grid>figure{padding:14px}
body.presenting #weights #path-state{font-size:35px!important}
body.presenting #weights .screen-strip text{font-size:24px}
body.presenting .bloch-lab{grid-template-columns:1.05fr 1fr;gap:32px}
body.presenting .bloch-lab>.bloch-grid{display:none!important}
body.presenting .bloch-lab .deck-bloch-left>figure{margin:0}
body.presenting .bloch-lab .bloch-sphere{height:480px;max-height:none;max-width:610px}
body.presenting .bloch-lab .bloch-sphere text{font-size:27px!important}
body.presenting .bloch-lab .bloch-readout{padding-top:14px}
body.presenting .bloch-lab #bloch-state{font-size:35px!important}
body.presenting .bloch-lab .deck-bloch-right>figcaption{margin:16px 0 10px}
body.presenting .bloch-lab .camera-controls{margin:10px 0 0}
body.presenting .bloch-lab .gate-actions{padding:12px 0 0}
body.presenting .eigen-detail #eigen-product,body.presenting .eigen-detail #eigen-work{font-size:35px!important}
body.presenting .eigen-detail .deck-eigen-figure svg{height:310px!important;max-width:570px!important}
body.presenting .measurement-lab #position-detector{height:245px;max-width:580px}
body.presenting .measurement-lab #measurement-product{font-size:35px!important}
body.presenting #configurations .space-overview{grid-template-columns:1fr 1.05fr;gap:36px;align-items:start}
body.presenting #configurations .full-space-figure svg{max-width:630px;max-height:610px}
body.presenting #configurations .full-space-figure text{font-size:21px}
body.presenting #configurations .full-space-figure .axis-caption{font-size:23px}
body.presenting #configurations .sector-summary p{font-size:26px!important;line-height:1.5!important;margin:12px 0}
body.presenting #configurations .sector-summary .key-note{font-size:24px!important;padding:12px 16px}
body.presenting #configurations .sector-basis{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.presenting #configurations .sector-basis span{font-size:28px;padding:10px 8px}
body.presenting #configurations .space-reduction strong{font-size:42px}
body.presenting #configurations .space-reduction>span{font-size:25px;line-height:1.5}
body.presenting .lecture-body .orbital-grid strong{font-size:28px}
body.presenting .lecture-body .orbital-grid span{font-size:34px}
body.presenting .lecture-body .mix-state{font-size:30px}
body.presenting .lecture-body .mix-result>span{font-size:29px}
body.presenting .lecture-body .mix-result>.math{font-size:36px!important}
body.presenting .lecture-body .mix-angle{font-size:40px}
body.presenting .lecture-body .mix-probability-bar{font-size:30px}
body.presenting .lecture-body .gate-top{font-size:34px}
body.presenting .lecture-body .gate-top>span:not(.math),body.presenting .lecture-body .gate-operation-box>span:not(.math){font-size:26px}
body.presenting .lecture-body .gate-bottom figure{max-width:330px}
body.presenting .lecture-body .gate-matrix>span{font-size:28px;margin-bottom:12px}
body.presenting .lecture-body .gate-matrix .math.display{font-size:35px!important}
body.presenting .lecture-body .gate-bottom .math.display{font-size:35px!important}
body.presenting .lecture-body .gate-angle-label{font-size:28px}
body.presenting .lecture-body .sqd-step-flow strong{font-size:29px}
body.presenting .lecture-body .sqd-step-flow>div>span{font-size:24px}
body.presenting .lecture-body .sqd-role-example>div>span{font-size:26px;line-height:1.5}
body.presenting .lecture-body .sqd-role-example strong{font-size:36px}
body.presenting .lecture-body .sqd-role-example .math.display{font-size:34px!important}
body.presenting .lecture-body .sqd-bit-pair b{font-size:27px}
body.presenting .lecture-body .sqd-key-pair{font-size:26px;line-height:1.5}
body.presenting .lecture-body .sqd-diagram-label{font-size:27px}
body.presenting .lecture-body .sqd-current-probability>span{font-size:25px}
body.presenting #probabilities .sqd-current-probability .math.display{font-size:35px!important}
body.presenting .lecture-body .sqd-amplitude-row{grid-template-columns:110px 1fr 36px 120px;font-size:34px}
body.presenting .lecture-body .sqd-amplitude-row>span:first-child{font-size:28px}
body.presenting .lecture-body .sqd-shot-box>span,body.presenting .lecture-body .sqd-draw-state>span{font-size:27px}
body.presenting .lecture-body .sqd-ticket-stack>span{font-size:32px}
body.presenting .lecture-body .sqd-collapse{max-width:1150px;grid-template-columns:1fr 180px 1fr;gap:36px}
body.presenting .lecture-body .sqd-collapse svg{max-height:240px}
body.presenting .lecture-body .sqd-collapse strong{font-size:29px}
body.presenting .lecture-body .sqd-collapse>div>span:last-child{font-size:25px}
body.presenting .lecture-body .sqd-prepare-again{font-size:29px}
body.presenting .lecture-body .sqd-frequency-example>span{font-size:27px}
body.presenting .lecture-body .sqd-frequency-use strong{font-size:29px}
body.presenting .lecture-body .sqd-unique{font-size:27px}
body.presenting .lecture-body .sqd-selection-diagram svg{max-height:310px}
body.presenting .lecture-body .story-svg-label{font-size:26px}
body.presenting .lecture-body .sqd-solve-flow>div>span,body.presenting .lecture-body .sqd-solve-output>span{font-size:27px}
body.presenting .lecture-body .sqd-summary-grid svg{max-height:450px}
body.presenting .lecture-body .sqd-state-comparison>div>span{font-size:26px;line-height:1.5}
body.presenting .lecture-body .sqd-state-comparison strong{font-size:34px}
body.presenting .lecture-body .sqd-summary-methods>div{grid-template-columns:100px 1fr;font-size:28px;line-height:1.5}
body.presenting .lecture-body .sqd-approach-row{grid-template-columns:100px 180px 36px 1fr;font-size:28px;gap:20px}
body.presenting .lecture-body .vqe-flow-lab .math.display{font-size:35px!important}
body.presenting #vqe .vqe-flow-lab svg{max-width:none;max-height:370px}
body.presenting #vqe-energy-plot svg text{font-size:24px}
body.presenting #matrix-vector-picture svg text{font-size:24px}
/* Layout stays based on the 1600px canvas, independently of the Mac panel width. */
body.presenting .lecture-body .two-slit-grid{display:grid;grid-template-columns:1fr 1fr}
body.presenting .lecture-body .function-grid{grid-template-columns:1fr 1.5fr}

body.presenting #configurations .full-space-figure svg{max-height:600px}
body.presenting .lecture-body .bloch-lab{padding:20px}
body.presenting #two:has(#solve-matrix[data-dimension="3"]) .sqd-solve-flow,body.presenting #two:has(#solve-matrix[data-dimension="4"]) .sqd-solve-flow{grid-template-columns:minmax(0,1.8fr) 30px minmax(0,.7fr)}

body.presenting .lecture-body .eigen-detail{padding:20px}
body.presenting .lecture-body .sqd-role-example{grid-template-columns:minmax(0,1fr) 210px minmax(0,1fr);gap:24px}
body.presenting .lecture-body .sqd-bit-pair b{white-space:nowrap;word-break:normal;overflow-wrap:normal}
body.presenting #ground .carbon-figure img{max-height:510px}
body.presenting #molecule .carbon-figure img{max-height:470px}

body.presenting .bloch-lab .range-label{margin:8px 0 2px}
body.presenting .bloch-lab .bar-item{margin-bottom:8px}
body.presenting .bloch-lab .gate-actions .controls{margin:8px 0}
body.presenting .bloch-lab .gate-actions .compact-status{margin:4px 0}
body.presenting .bloch-lab .gate-actions{padding-top:8px}

body.presenting .bloch-lab .bloch-sphere{height:460px}
body.presenting .bloch-lab .deck-bloch-right>figcaption{margin:8px 0 6px}
body.presenting .bloch-lab .range-label{margin:4px 0 0}
body.presenting .experiment:has(#matrix-equation){min-height:520px}

body.presenting #matrix-vector-picture svg text:first-of-type{text-anchor:end}
body.presenting #vqe-energy-plot svg{overflow:visible}

/* The canvas is a slide, even when the browser is docked in a narrow panel. */
body.presenting .lecture-body .hero-grid{grid-template-columns:1.05fr 1fr}
body.presenting .lecture-body .state-names,body.presenting .lecture-body .two-bars{grid-template-columns:1fr 1fr}
body.presenting .lecture-body .symbol-list,body.presenting .lecture-body .recap-grid,body.presenting .lecture-body .eigen-roles{grid-template-columns:repeat(3,minmax(0,1fr))}
body.presenting .lecture-body .symbol-list>div{display:block}
body.presenting .lecture-body .method-history{grid-template-columns:repeat(3,minmax(0,1fr))}
body.presenting .lecture-body .method-history li{display:block}
body.presenting .lecture-body .vector-lab,body.presenting .lecture-body .orbital-grid,body.presenting .lecture-body .vqe-flow-lab,body.presenting .lecture-body .sqd-born-columns,body.presenting .lecture-body .sqd-frequency-use{grid-template-columns:1fr 1fr}
body.presenting #eigenvectors .brief-definitions{grid-template-columns:repeat(3,minmax(0,1fr))}
body.presenting .lecture-body .coverage-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
body.presenting .lecture-body .recovery-example{grid-template-columns:1fr 1fr}
body.presenting .lecture-body .mix-overview{grid-template-columns:1.15fr 1fr}
body.presenting .lecture-body .gate-correspondence{grid-template-columns:minmax(0,1fr) minmax(0,1.6fr) minmax(0,1fr)}
body.presenting .lecture-body .sqd-step-flow{grid-template-columns:repeat(3,minmax(0,1fr))}
body.presenting .lecture-body .sqd-step-flow>div:not(:last-child):after{content:'→'}
body.presenting .lecture-body .sqd-draw-flow{grid-template-columns:1fr 30px 1.4fr 30px 1fr}
body.presenting .lecture-body .sqd-ticket-stack{grid-template-columns:1fr}
body.presenting .lecture-body .sqd-selection-diagram{grid-template-columns:1fr 140px 1.25fr}
body.presenting .lecture-body .sqd-projection-pair{grid-template-columns:minmax(0,1fr) 26px minmax(0,1fr)}
body.presenting .lecture-body .sqd-solve-flow{grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr)}
body.presenting .lecture-body .sqd-summary-grid{grid-template-columns:1.15fr 1fr}
body.presenting .lecture-body .sqd-approach-row{min-height:90px}

/* Title openings: same Carbon type, logo header, and lecture controls. */
.course-cover{min-height:560px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:20px 55px;border-left:0}
.cover-rule{width:100px;height:7px;background:#0f62fe;margin-bottom:28px}
body.presenting #opening>h2{font-size:29px!important;font-weight:400;color:#0043ce}
body.presenting #opening .cover-course-title{font-size:86px!important;line-height:1.2!important;margin:0 0 16px!important;letter-spacing:-2px}
body.presenting #opening .cover-english{font-size:32px!important;color:#0043ce;margin:0 0 36px}
body.presenting #opening .cover-course-subtitle{font-size:39px!important;margin:0 0 32px}
.cover-duration{font-size:28px;color:#0043ce;border-top:2px solid #a6c8ff;padding-top:18px}
