.thermal-chapter{--learn:#b45309;--learn-bg:#fffbeb;--learn-border:#fde68a;--revision:#b45309;--test:#92400e;--thermal:#b45309;--thermal-soft:#fffbeb;--thermal-line:#fcd34d}.thermal-chapter .hero-card.learn,.thermal-chapter .hero-card.revision{background:#fffbeb;border-color:#fde68a}.thermal-chapter .hero-card.learn .hero-kicker,.thermal-chapter .hero-card.revision .hero-kicker{color:#92400e}.thermal-chapter .hero-card.tests{background:#fff7ed;border-color:#fed7aa}.thermal-chapter .hero-kicker,.thermal-chapter .example-title,.thermal-chapter .step-item b{color:#b45309}.thermal-chapter .example-badge,.thermal-chapter .sol-toggle-btn.example-btn.active{background:#b45309}.thermal-chapter .section-num-badge{background:#92400e}.thermal-chapter .solved-example,.thermal-chapter .example-solution-box{border-color:#fcd34d}.thermal-chapter .step-item{border-left-color:#fcd34d}.thermal-chapter .chapter-nav{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 20px}.thermal-chapter .chapter-nav a{color:#92400e;background:#fffbeb;border:1px solid #fde68a;border-radius:7px;padding:6px 9px;font-size:12px;font-weight:700;text-decoration:none}.thermal-chapter .chapter-nav a:hover{background:#fef3c7;text-decoration:underline;text-underline-offset:3px}.thermal-chapter .diagram-wrap{margin:18px 0;padding:14px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;overflow-x:auto}.thermal-chapter .diagram-wrap svg{display:block;width:100%;height:auto;max-height:330px}.thermal-chapter .diagram-wrap text{font:15px sans-serif;fill:#3d3039}.thermal-chapter .diagram-caption{margin:8px 0 0;color:#6e5f64;font-size:12px;line-height:1.55}.thermal-chapter .thermal-sim-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}.thermal-chapter .thermal-sim-card{min-width:0;padding:14px;border:1px solid #fde68a;border-radius:12px;background:#fff;box-shadow:var(--shadow-sm)}.thermal-chapter .thermal-sim-card h3{margin:0 0 5px;color:#92400e;font-size:15px;line-height:1.4}.thermal-chapter .thermal-sim-card>p{margin:0 0 10px;color:#6e5f64;font-size:12px;line-height:1.55}.thermal-chapter .thermal-sim-fallback{display:block;width:100%;height:auto;max-height:220px}.thermal-chapter .thermal-sim-fallback text{font:14px sans-serif;fill:#3d3039}.thermal-chapter .thermal-sim-canvas{width:100%;height:220px;overflow:hidden;border-radius:8px;background:#f8fafc}.thermal-chapter .thermal-sim-canvas canvas{display:block;width:100%;height:100%}.thermal-chapter .thermal-sim-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 10px;margin-top:10px;color:#3d3039;font-size:12px;font-weight:700}.thermal-chapter .thermal-sim-controls input{grid-column:1/-1;width:100%;accent-color:#b45309}.thermal-chapter .thermal-sim-controls output{color:#92400e;font-size:11px;font-variant-numeric:tabular-nums}.thermal-chapter .thermal-sim-readout{min-height:38px;margin:8px 0 0;color:#78350f;font-size:12px;line-height:1.5;font-weight:700}.thermal-chapter .thermal-sim-note{margin:5px 0 0;color:#6e5f64;font-size:10px;line-height:1.45}.thermal-chapter .thermal-sim-card button:focus-visible,.thermal-chapter .thermal-sim-card input:focus-visible,.thermal-chapter button:focus-visible,.thermal-chapter a:focus-visible{outline:3px solid #b45309;outline-offset:3px}.thermal-chapter .thermal-play{margin-top:7px}.thermal-chapter .thermal-controls-row{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}.thermal-chapter .thermal-mode-btn{border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#3d3039;padding:6px 9px;font-size:11px;font-weight:700}.thermal-chapter .thermal-mode-btn[aria-pressed=true]{border-color:#b45309;background:#fffbeb;color:#92400e}.thermal-chapter .quiz-stats{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 14px;margin:14px 0;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm);font-size:12px;font-weight:700;color:var(--ink)}.thermal-chapter .quiz-topic-group{margin:20px 0 24px}.thermal-chapter .quiz-topic-heading{margin:0 0 10px;padding:0 0 8px;border-bottom:1px solid #fde68a;color:#92400e;font-size:14px;line-height:1.4}.thermal-chapter .quiz-topic-heading a{display:flex;align-items:center;gap:9px;color:inherit;text-decoration:none}.thermal-chapter .quiz-topic-heading a:hover{text-decoration:underline;text-underline-offset:3px}.thermal-chapter .quiz-topic-heading a span:first-child{flex:0 0 auto;color:#b45309;font-variant-numeric:tabular-nums}.thermal-chapter .quiz-card,.thermal-chapter .mcq-card{overflow-wrap:anywhere}.thermal-chapter .rev-card h3{font-size:14px;color:#b45309;margin-bottom:8px}.thermal-chapter .rev-card ul{padding-left:18px;font-size:13px}.thermal-chapter .rev-card li{margin:6px 0}.thermal-chapter .rev-card a{color:#b45309}.thermal-chapter .exercise-list{display:grid;gap:14px;margin-top:16px;padding:0}.thermal-chapter .exercise-card{margin:0}.thermal-chapter .ex-question{display:flex;align-items:flex-start;gap:12px;padding:16px;color:var(--ink);font-size:14px;line-height:1.65}.thermal-chapter .exercise-num{flex:0 0 auto;min-width:42px;color:#b45309;font-weight:800;font-variant-numeric:tabular-nums}.thermal-chapter .ex-body>.sol-toggle-btn{width:calc(100% - 32px);margin:0 16px 16px}.thermal-chapter .exercise-solution-box{display:none;margin:0 16px 16px;padding:12px 14px;border:1px solid #fde68a;border-left:3px solid #b45309;border-radius:8px;background:#fffbeb;line-height:1.6}.thermal-chapter .exercise-solution-box.open{display:block}.thermal-chapter .exercise-filter{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.thermal-chapter .exercise-filter .chip{min-height:36px}.thermal-chapter .section-subhead{margin:20px 0 8px;color:#92400e;font-size:17px;line-height:1.4}.thermal-chapter .concept-card{overflow-wrap:anywhere}.thermal-chapter .thermal-callout{margin:14px 0;padding:11px 14px;border-left:3px solid #b45309;background:#fffbeb;color:#713f12;font-size:13px;line-height:1.6}.thermal-chapter .thermal-table-wrap{overflow-x:auto;margin:14px 0}.thermal-chapter table caption{padding:10px;text-align:left;font-weight:700;background:#fffbeb}.thermal-chapter tbody th{white-space:normal}@media(prefers-reduced-motion:reduce){.thermal-chapter,.thermal-chapter *{scroll-behavior:auto;animation:none;transition:none}}@media(max-width:620px){.thermal-chapter .thermal-sim-grid{grid-template-columns:1fr}.thermal-chapter .thermal-sim-card{padding:12px}.thermal-chapter .thermal-sim-canvas{height:205px}.thermal-chapter .chapter-nav{gap:6px}.thermal-chapter .chapter-nav a{font-size:11px}}
