/* Shared educational text scale; diagram labels retain their dedicated scale. */
:root{--lesson-body:18px;--lesson-formula:20px;--math-size:20px}
body{font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif;font-size:var(--lesson-body);line-height:1.75}
.statement p,.task p,.task>p,.task details p,#explain,#proof p,#bridgeBody p,.exercise p,.question-stem{font-size:var(--lesson-body);line-height:1.85}
p .math,p .formula,p .v,p .num,label .math,button .math,.option .math,td .formula,li .formula{font-size:inherit;line-height:inherit}
.math,.v,.num,.formula,.equation{font-family:ActualTimes,"Times New Roman",serif;font-weight:400}
.math,.formula,.equation,.num{font-style:normal}
.v,.math-letter,.math i,.formula i,.equation i{font-style:italic;font-size:inherit}
.equation{font-size:var(--lesson-formula);line-height:1.6;padding:12px 18px;margin:12px 0}
.equation .math,.equation .formula,.equation .frac,.equation .fraction{font-size:inherit}
.frac,.fraction,math{font-size:inherit}
button,.actions button,.voice-tools .actions button{font-size:16px;line-height:1.5;padding:8px 14px;min-height:42px}
textarea,.answer-input{font-size:var(--lesson-body);line-height:1.75}
.actions{gap:10px;margin:12px 0}
.option{padding:9px 14px;min-height:50px}
.confidence-options .option{font-size:16px;min-height:44px}
.voice-status,.muted,.workflow-note{font-size:14px;line-height:1.65}
.voice-tools small,.source-note{font-size:13px;line-height:1.6}
@media(max-width:800px){:root{--lesson-body:17px;--lesson-formula:19px}.actions button,.voice-tools .actions button{font-size:14px}}

/* No browser-native thick track. Shared across lessons and dynamic controls. */
.math-num,output,.fraction{font-family:"Times New Roman",serif;font-style:normal;font-weight:400}
.v{font-family:"Times New Roman",serif;font-style:italic}
input[type=range]{appearance:none;-webkit-appearance:none;display:block;width:100%;height:28px;background:transparent;cursor:pointer;margin:8px 0;accent-color:#c48c42}
input[type=range]::-webkit-slider-runnable-track{height:3px;border:0;border-radius:2px;background:#dce5eb}
input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:12px;height:12px;border:2px solid white;border-radius:50%;background:#c48c42;box-shadow:0 0 0 1px #c48c42;margin-top:-4.5px}
input[type=range]::-moz-range-track{height:3px;border:0;background:#dce5eb}
input[type=range]::-moz-range-progress{height:3px;background:#c48c42}
input[type=range]::-moz-range-thumb{height:10px;width:10px;border:1px solid white;border-radius:50%;background:#c48c42}
/* MathML inherits the same explicit mathematical font as inline notation. */
math,math mi,math mn,math mo,math mtext{font-family:"Times New Roman",serif;font-weight:normal}
math mi{font-style:italic}
math mn,math mo{font-style:normal}
math{font-size:1em;vertical-align:middle}

/* Formula typography shared with the approved inline example. */
.math{font-family:"Times New Roman",serif;font-size:inherit;line-height:inherit;font-weight:400;font-style:normal;white-space:normal}
.math .v{font-family:"Times New Roman",serif;font-style:italic}
.math-num,.math-op{font-family:"Times New Roman",serif;font-style:normal;font-weight:400}
.math-op{padding:0 .1em}
.math sup{font-family:"Times New Roman",serif;font-style:normal;font-size:.7em;line-height:0;vertical-align:super}
.radical{display:inline-flex;align-items:baseline;white-space:nowrap;font-family:"Times New Roman",serif;line-height:1.2}
.radical-sign{font-style:normal;padding-right:0}
.radicand{border-top:1px solid currentColor;padding:0 .05em;line-height:1.05}
.fraction{font-family:"Times New Roman",serif;font-size:inherit;display:inline-flex;vertical-align:middle;flex-direction:column;text-align:center;line-height:1.2;white-space:nowrap;margin:0 .16em}
.fraction>span:first-child{border-bottom:1px solid currentColor;padding:0 .16em}
.fraction>span:last-child{padding:0 .16em}

.math-indexed{white-space:nowrap;font-family:"Times New Roman",serif;font-size:inherit;line-height:inherit}.math-indexed sub{font-family:"Times New Roman",serif;font-style:normal;font-size:.7em;line-height:0;vertical-align:sub}.topic-main .fraction{font-size:inherit}.topic-main .v,.topic-main .math-num{font-size:inherit}.topic-grid .card{min-width:0}.topic-grid .card p{overflow-wrap:break-word}

.case15-figure{max-width:440px;margin:22px auto;text-align:center}.case15-figure svg{display:block;width:100%;height:auto}.case15-figure figcaption{margin-top:8px;font-size:14px;line-height:1.6;color:#718998}

.case15-diagram{position:relative;width:100%;aspect-ratio:250 / 170}.case15-diagram svg{display:block;width:100%;height:100%}.case15-diagram .dim-label{position:absolute;font:normal 16px/1 "Times New Roman",serif;color:#3c6072;transform:translate(-50%,-50%);white-space:nowrap}.case15-diagram .dim-label i{font-style:italic}.case15-diagram .dim-x1{left:28%;top:8%}.case15-diagram .dim-x2{left:68%;top:8%}.case15-diagram .dim-long{left:48%;top:95%}.case15-diagram .dim-short{left:97%;top:47%}

/* V6 size calibration: 250 SVG units at 84 mm gives 2.40 × 1.10 mm arrowheads and 0.18 mm dimension lines. */
.case15-figure{width:84mm;max-width:100%}.case15-diagram .dim-label{font-family:"Times New Roman",serif;font-style:normal;font-weight:400}.case15-diagram .dim-long{left:48%;top:95%}.case15-diagram .dim-short{left:97%;top:47%}

.math-unit{font-family:"Times New Roman",serif;font-style:normal;font-weight:400;font-size:inherit;white-space:nowrap}

.math-quantity{display:inline-flex;align-items:baseline;gap:.17em;white-space:nowrap;font-family:"Times New Roman",serif;font-size:inherit;line-height:inherit;font-style:normal;font-weight:400}.math-quantity .math-num,.math-quantity .math-unit{font:inherit}
