.contagion-study:fullscreen,.math-study:fullscreen{display:flex;flex-direction:column;width:100%;height:100%;min-width:0;min-height:0;box-sizing:border-box;overflow:hidden;border-radius:0;container-type:size}.contagion-study:fullscreen>:is(.contagion-story,.contagion-sequence-controls,.contagion-method,.contagion-note),.math-study:fullscreen>:is(.math-story,.math-method,.deep-playback-note,.deep-stage-controls,.deep-inspection,.deep-close-up,.math-stage-key,.terrain-mixer-note,.terrain-wave-mixer){display:none}.contagion-study:fullscreen>.contagion-topbar,.math-study:fullscreen>.math-toolbar{flex:none;flex-wrap:nowrap;min-height:52px;padding:4px 16px;gap:8px}.contagion-study:fullscreen .contagion-topbar>div,.math-study:fullscreen .math-toolbar>div{flex-wrap:nowrap;flex-shrink:0;gap:4px;margin:0}.math-study:fullscreen>.math-timeline{flex:none;flex-wrap:nowrap;padding:0 16px;gap:12px}.math-study:fullscreen .math-timeline>span{flex-basis:auto}.math-study:fullscreen>.math-controls{flex:none;flex-wrap:nowrap;padding:4px 16px;gap:16px}.math-study:fullscreen .math-controls label{min-width:0}.math-study:fullscreen .math-controls>button:not(:last-child),.math-study:fullscreen .math-controls>span{display:none}.math-study:fullscreen>.math-plot{flex:none;width:min(calc(100cqw - 24px),calc((100cqh - 220px) * 2));max-height:none;min-height:0;aspect-ratio:2/1;margin:auto}.math-study:fullscreen>.deep-network-controls{flex:none;display:block;padding:4px 16px}.math-study:fullscreen .deep-network-controls>label,.math-study:fullscreen .digit-picker-heading,.math-study:fullscreen .digit-picker>p,.math-study:fullscreen .digit-samples canvas{display:none}.math-study:fullscreen .digit-samples{display:grid;grid-template-columns:repeat(10,minmax(0,44px));gap:4px;max-width:none}.math-study:fullscreen .digit-samples button{min-height:44px;padding:4px;align-content:center}.math-study:fullscreen .digit-samples span{font-size:15px}.math-study:fullscreen>.deep-network-viewport{flex:1;min-height:0;padding:0 0 32px}.math-study:fullscreen .deep-network-canvas{width:100%;height:100%;aspect-ratio:auto}.fourier-study:fullscreen>.fourier-controls{flex:none;padding:4px 16px 0;gap:4px 24px}.fourier-study:fullscreen .fourier-controls p{display:none}.fourier-study:fullscreen .fourier-error{gap:2px}.fourier-study:fullscreen>.fourier-drawing{flex:1;min-height:0;margin:0;padding:0 0 32px}.fourier-study:fullscreen .fourier-drawing canvas{width:100%;height:100%;aspect-ratio:auto}.math-study:fullscreen>.vision-mathematical{flex:1;min-height:0;display:flex;flex-direction:column;padding:8px 16px;overflow:hidden}.math-study:fullscreen .vision-mathematical>:not(.vision-workbench){display:none}.math-study:fullscreen .vision-workbench{flex:1;min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:center;padding:0}.math-study:fullscreen .vision-map-key,.math-study:fullscreen .vision-patch-lens{display:none}.math-study:fullscreen .vision-image{min-width:0;margin:0}.math-study:fullscreen .vision-image figcaption{min-height:44px;font-size:14px}.math-study:fullscreen .vision-image canvas{display:block;width:min(100%,calc(100cqh - 190px));height:auto;max-width:none;max-height:none;margin:auto;aspect-ratio:1}.contagion-study:fullscreen>.contagion-field{flex:1;min-height:0;display:flex;flex-direction:column}.contagion-study:fullscreen .contagion-field>.render-surface{flex:1;min-height:0}.contagion-study:fullscreen .render-surface>div:first-child{height:100%}.contagion-study:fullscreen .contagion-field canvas{width:100%;height:100%;max-height:none;aspect-ratio:auto}.contagion-study:fullscreen .contagion-field-caption{flex:none;padding:4px 16px;font-size:12px}.contagion-study:fullscreen .contagion-readout{flex:none;grid-template-columns:1fr;padding:8px 16px;gap:0}.contagion-study:fullscreen .contagion-history{display:none}.contagion-study:fullscreen .contagion-legend{justify-content:center;gap:12px 24px}.contagion-study:fullscreen .contagion-legend>div{display:flex;gap:8px;font-size:12px}.contagion-study:fullscreen .contagion-legend strong{font-size:16px}.contagion-study:fullscreen .contagion-controls{flex:none;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;padding:4px 16px 8px;gap:16px}.contagion-study:fullscreen .contagion-controls label{min-width:0;font-size:13px}.contagion-study:fullscreen .contagion-controls label>span{min-height:0}.contagion-study:fullscreen .contagion-introduce{grid-column:auto;padding:8px 12px;font-size:13px}@media(max-height:600px),(max-width:700px){.contagion-study:fullscreen .contagion-topbar>span,.math-study:fullscreen .math-toolbar>span{display:none}.contagion-study:fullscreen .contagion-topbar,.math-study:fullscreen .math-toolbar{justify-content:flex-end}.math-study:fullscreen .math-timeline>span{display:none}}@media(max-width:480px){.contagion-study:fullscreen .contagion-topbar,.math-study:fullscreen .math-toolbar{padding-inline:4px;font-size:13px}.contagion-study:fullscreen .contagion-controls{gap:8px;padding-inline:8px}.contagion-study:fullscreen .contagion-introduce{max-width:100px}.contagion-study:fullscreen .contagion-legend{gap:8px}}