.lecturePage .formulaDive{padding:22px;border:2px solid #b7d9cf;border-radius:16px;background:#eaf4ef;margin:30px 0}.lecturePage .formulaDive>summary{font-size:clamp(23px,3vw,32px);font-weight:700;color:#142d32}.lecturePage .mathIntro{font-size:19px}.lecturePage .mathToc{display:flex;gap:12px 20px;flex-wrap:wrap;margin:22px 0}.lecturePage .mathSlide{padding:32px;margin:24px 0;background:white;border:1px solid #d7e2df;border-radius:12px;scroll-margin-top:18px}.lecturePage .mathSlide h2{font-size:clamp(26px,3vw,34px);margin:10px 0 20px}.lecturePage .mathSlide h3{font-size:23px;margin:24px 0 14px}.lecturePage .mathSlide h4{font-size:18px;margin:15px 0 10px}.lecturePage .mathSlide p{line-height:1.7}.lecturePage .mathFormula{padding:20px;margin:20px 0;background:#f2f8f6;border-left:4px solid #087e80;overflow:auto}.lecturePage .mathFormula math{font-size:1.22em;margin:4px 0;text-align:left;min-width:min-content}.lecturePage .highlightedFormula{background:#142d32;color:#fff;border-color:#ea6852}.lecturePage .mathWorkbench{padding:22px;margin:22px 0;border:2px solid #b7d9cf;border-radius:12px}.lecturePage .mathWorkbench h3{margin-top:0}.lecturePage .convLayout{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:24px;align-items:start}.lecturePage .numberGrid{display:grid;gap:5px}.lecturePage .imageGrid{grid-template-columns:repeat(5,minmax(0,1fr))}.lecturePage .kernelGrid{grid-template-columns:repeat(3,minmax(0,1fr))}.lecturePage .numberGrid label{margin:0;padding:2px;border:2px solid transparent;border-radius:5px}.lecturePage .numberGrid input{width:100%;padding:8px 3px;min-width:0;text-align:center;font-size:16px}.lecturePage .numberGrid label.patchSelected{border-color:#ea6852;background:#fff1e7}.lecturePage .numberGrid button{padding:12px 3px;min-width:0}.lecturePage .numberGrid button[aria-pressed=true]{background:#087e80;color:white;border-color:#087e80}.lecturePage .mathArithmetic{font:16px/1.7 Consolas,monospace;padding:15px;background:#f2f8f6;overflow-wrap:anywhere}.lecturePage .mathResult{font-weight:bold;color:#087e80;min-height:3.4em}.lecturePage .probabilityBars{display:grid;gap:10px;margin:20px 0}.lecturePage .probabilityBars label{display:grid;grid-template-columns:35px 1fr 95px;gap:12px;align-items:center;margin:0}.lecturePage .probabilityBars meter{width:100%;height:28px}.lecturePage .bpGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:18px}.lecturePage .bpStageNote{grid-column:1/-1}.lecturePage .bpMatrix{width:auto;max-width:100%;font-variant-numeric:tabular-nums;font-size:16px;margin:10px 0}.lecturePage .bpMatrix td{padding:8px 9px;text-align:right;white-space:nowrap}.lecturePage #bpStage{font-weight:bold;min-height:3em;color:#087e80}.lecturePage .bpLab .equation{font-size:16px}.lecturePage .bpLab #bpSetup{margin-top:20px}.lecturePage .mathButton{background:#087e80;color:white}.lecturePage .mathButton:hover{background:#096466}.lecturePage .mathSlide .source{font-size:13px}@media(max-width:800px){.lecturePage .convLayout{grid-template-columns:1fr 1fr}.lecturePage .convLayout>div:first-child{grid-column:1/-1;max-width:380px}.lecturePage .formulaDive{padding:12px}.lecturePage .mathSlide{padding:20px}.lecturePage .mathFormula{padding:14px}.lecturePage .mathFormula math{font-size:1.05em}.lecturePage .mathWorkbench{padding:14px}}@media print{.lecturePage .formulaDive{border:0;padding:0;background:white}.lecturePage .mathSlide{break-before:page;padding:0;border:0}.lecturePage .mathToc,.lecturePage .mathWorkbench .labControls,.lecturePage .mathWorkbench .buttons{display:none}.lecturePage .mathFormula{break-inside:avoid}.lecturePage .mathSlide table{break-inside:avoid}.lecturePage .formulaDive:not([open])>*:not(summary){display:none}}
.lecturePage .bpLab input[type=number]{width:112px}
.lecturePage .notationCard,.lecturePage .trainingLoopNote{padding:20px;margin:24px 0;border:1px solid #b7d9cf;border-radius:12px;background:#f6faf8}.lecturePage .notationCard h3,.lecturePage .trainingLoopNote h3{margin-top:0}.lecturePage .notationCard code{white-space:normal}
.lecturePage .mathNotation{font-family:"Cambria Math","STIX Two Math",serif;font-size:1.05em;vertical-align:middle;margin:0 .12em}.lecturePage .mathNotation mfrac{line-thickness:1px}.lecturePage .equation .mathNotation{font-size:1.15em}
