.calculation-walkthrough{margin:1.25rem 0;padding:1rem 1.2rem;border:1px solid var(--line,#d8dfdd);border-radius:14px;background:var(--surface,#fff);color:var(--text,#242b29)}
.calculation-walkthrough>summary{cursor:pointer;font-weight:700;font-size:1.05rem;line-height:1.6}
.walkthrough-intro{line-height:1.65;margin:1rem 0;color:var(--muted,#58635f)}
.walkthrough-stages{padding-left:1.5rem;margin:1rem 0}.walkthrough-stages>li{padding-left:.4rem;margin:1.3rem 0}.walkthrough-stages h3{font-size:1rem;margin:.5rem 0;line-height:1.5}
.walkthrough-worked{padding-left:1.3rem}.walkthrough-worked li{line-height:1.7;padding:.3rem 0;overflow-wrap:anywhere}
.walkthrough-formula{padding:.85rem 1rem;background:#f1f6f4;border-radius:8px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}
.walkthrough-table{max-width:100%;overflow-x:auto}.walkthrough-table table{width:100%;border-collapse:collapse;table-layout:fixed}.walkthrough-table caption{text-align:left;font-size:.85rem;padding:.3rem 0;color:#58635f}.walkthrough-table th,.walkthrough-table td{padding:.6rem;border-bottom:1px solid #e1e7e4;text-align:left;vertical-align:top;overflow-wrap:anywhere;white-space:pre-wrap;font-size:.92rem}.walkthrough-table th{width:48%;font-weight:600}
.walkthrough-notes{border-top:1px solid #e1e7e4;padding-top:.85rem}.walkthrough-notes summary{cursor:pointer;font-weight:600}.walkthrough-notes li{line-height:1.6;margin:.4rem 0;overflow-wrap:anywhere}
.result-worked-steps{margin-top:1rem}.result-worked-steps h3{font-size:1rem}.result-worked-steps ol{padding-left:1.3rem}.result-worked-steps li{line-height:1.7;overflow-wrap:anywhere;margin:.45rem 0}
@media(max-width:480px){.calculation-walkthrough{padding:.85rem}.walkthrough-stages{padding-left:1.1rem}.walkthrough-stages>li{padding-left:.1rem}.walkthrough-table th,.walkthrough-table td{padding:.45rem .25rem}}
@media print{.calculation-walkthrough{break-inside:auto}.calculation-walkthrough>summary{font-size:12pt}.calculation-walkthrough a{display:none}}
