/* Shared reading layer: preserve the model content and make every tab fit. */
main,.panel,.grid,.grid>*,.key,details{min-width:0;max-width:100%}
.math{font:20px/1.65 Georgia,'Times New Roman',serif;white-space:normal;max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;padding:18px 22px}
.math-line{display:block;margin:0.65em 0;line-height:2.15;white-space:normal}
.math-line:first-child{margin-top:0}.math-line:last-child{margin-bottom:0}
.math .katex{font-size:1em;line-height:1.2;white-space:normal}
.math .katex .base{margin:0.15em 0;max-width:100%}
.math .katex .text{font-family:KaTeX_Main,system-ui,'PingFang SC',sans-serif}
.math .katex .cjk_fallback{font-family:system-ui,'PingFang SC',sans-serif}
.math-inline{white-space:nowrap;font-family:Georgia,'Times New Roman',serif}
.math-inline sub,.math-inline sup{font-size:70%}
.panel p,.key,.note{overflow-wrap:break-word}
@media(max-width:760px){.math{font-size:17px;padding:16px 14px}.math-line{line-height:2.3;margin:0.8em 0}.panel{padding:22px 16px}.grid{grid-template-columns:minmax(0,1fr)}.panel>table{display:block;overflow-x:auto;max-width:100%}.panel h2{overflow-wrap:anywhere}}
@media print{.math{overflow:visible}.math-line{break-inside:avoid}}
