body.math-course #practiceView>.editor-pane{display:none!important}
#mathAnswerPane[hidden]{display:none!important}
#practiceView .math-answer-pane{grid-column:3;grid-row:1;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--lc-stroke);border-radius:9px;background:var(--lc-panel);color:var(--lc-ink)}
.math-answer-toolbar{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:13px 18px;background:var(--lc-chrome);border-bottom:1px solid var(--lc-stroke)}
.math-answer-toolbar>div{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.math-answer-toolbar strong{font-size:14px;font-weight:600}.math-answer-toolbar span{font-size:12px;color:var(--lc-muted)}
.math-answer-form{display:flex;flex-direction:column;flex:1;min-height:0;margin:0}.math-answer-body{overflow:auto;flex:1;min-height:0;padding:26px 24px;scrollbar-gutter:stable}.math-answer-footer{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;align-items:center;border-top:1px solid var(--lc-stroke);padding:12px 18px;background:var(--lc-chrome)}
.math-answer-footer>span,.math-note{color:var(--lc-muted);font-size:13px;line-height:1.8}.math-answer-footer>span{font-size:12px}
.math-submit{background:var(--lc-ink);color:var(--lc-panel);border:0;border-radius:7px;padding:10px 18px;font:inherit;font-size:14px;cursor:pointer}.math-submit:disabled{opacity:.4;cursor:not-allowed}
.math-field{display:flex;flex-direction:column;gap:10px;border:0;padding:0;margin:0 0 26px;min-width:0}.math-field>label,.math-field legend{font-size:15px;line-height:1.7;font-weight:500}.math-field legend{margin-bottom:12px;padding:0}.math-field small{color:var(--lc-muted);font-size:12px;line-height:1.7}
.math-field>input{width:100%;max-width:480px;padding:11px 13px;font:inherit;font-variant-numeric:tabular-nums;font-size:16px;border:1px solid var(--lc-stroke);border-radius:6px;background:var(--lc-chrome);color:var(--lc-ink);box-sizing:border-box}
.math-choice{display:flex;gap:10px;align-items:flex-start;font-weight:400!important;cursor:pointer}.math-choice input,.math-review-item input{accent-color:var(--lc-ink);flex:none;margin-top:6px;width:16px;height:16px}
.math-draft-label{display:block;margin:8px 0 12px;font-size:14px;font-weight:500}.math-draft{display:block;box-sizing:border-box;width:100%;min-height:190px;resize:vertical;padding:16px;border:1px solid var(--lc-stroke);border-radius:6px;background:var(--lc-panel);color:var(--lc-ink);font:inherit;font-size:15px;line-height:1.9}.math-draft::placeholder{color:var(--lc-muted)}
.math-self-review{border-top:1px solid var(--lc-stroke);padding-top:20px;margin-top:26px}.math-self-review h3{font-size:16px;margin:0 0 10px}.math-self-review p{font-size:14px;color:var(--lc-muted);line-height:1.8}.math-review-item{display:flex;gap:10px;align-items:flex-start;margin:15px 0;font-size:14px;line-height:1.8}.math-review-item:has(input:disabled){opacity:.6}.math-text-button{color:var(--lc-ink);background:none;border:0;padding:0;cursor:pointer;text-decoration:underline;text-underline-offset:3px;font:inherit}
.math-question p,.math-worked-solution p{line-height:1.95;margin:20px 0}.math-question{margin:24px 0}.math-feedback{margin-top:22px;font-size:14px;line-height:1.8}.math-feedback p{border-left:3px solid;padding:8px 12px;margin:12px 0}.math-feedback strong{display:block;font-weight:500;color:var(--lc-ink);margin-bottom:5px}.math-feedback-ok{color:#168b40}.math-feedback-error{color:#b13c2d}:root:not([data-theme=light]) .math-feedback-ok{color:#76d99b}:root:not([data-theme=light]) .math-feedback-error{color:#ffaca0}
.math-answer-pane :is(input,textarea,button):focus-visible{outline:2px solid #5687bd;outline-offset:3px}.math-answer-pane .katex-display{overflow:auto;max-width:100%}
body.math-course .dl-responsive-chart{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-gutter:stable}
body.math-course .dl-responsive-chart .dl-plot{min-width:600px}
body.math-course .dl-responsive-chart:focus-visible{outline:2px solid #5687bd;outline-offset:3px}
@media(max-width:600px){body.math-course .dl-responsive-chart::before{content:'左右滑动查看完整图示';display:block;position:sticky;left:0;font-size:12px;line-height:1.8;color:var(--muted);padding:6px 0}}
@media(max-width:820px){body.math-course #practiceView .problem-pane:has(.math-question){height:auto}body.math-course #practiceView .problem-content:has(.math-question){flex:none;overflow:visible}#practiceView .math-answer-pane{flex:none;min-height:480px;height:auto;max-height:none}.math-answer-body{overflow:visible;padding:22px 18px}.math-answer-toolbar{padding:12px 14px}.math-answer-toolbar>div{gap:5px;flex-direction:column;align-items:flex-start}.math-answer-footer{padding:12px 14px}.math-draft{min-height:210px}}
