:root{
 --ink:#243c43;--muted:#5f7879;--mint:#347e73;--line:#cdded5;
 --pale:#e9f3ec;--paper:#f7f9f6;--sky:#c8e1df;--orange:#dc935b;--deep:#102c34;
 --sans:"Hiragino Kaku Gothic ProN","Noto Sans JP","Yu Gothic",sans
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:linear-gradient(155deg,#f2f7f3,#eef5f1 45%,#f9faf7);font:15px/1.7 var(--sans);color:var(--ink);overflow-x:hidden}
button,input,select{font:inherit}
button{cursor:pointer}
button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #6ac3ab;outline-offset:3px}
button{touch-action:manipulation}
[hidden]{display:none!important}
.electric-app{max-width:1040px;margin:auto;width:100%;min-width:0;overflow:hidden}
.electric-hero{padding:42px clamp(18px,5vw,48px) 38px;background:radial-gradient(circle at 87% 14%,#cbead2,transparent 38%),linear-gradient(125deg,#e3f1e9,#f7f8f0);position:relative}
.eyebrow,.section-kicker{font-size:11px;letter-spacing:.17em;text-transform:uppercase;font-weight:850;color:#35796e}
.electric-hero h1{font-size:clamp(31px,5.3vw,52px);letter-spacing:.03em;line-height:1.4;margin:13px 0 15px;max-width:760px}
.electric-hero h1 em{font-style:normal;color:#347a6d}
.hero-lead{font-size:clamp(14px,1.8vw,17px);line-height:1.95;max-width:730px;margin:0;color:#536e6c}
.hero-facts{display:flex;flex-wrap:wrap;gap:8px;margin:23px 0 0}
.hero-facts span{font-size:11px;white-space:normal;border:1px solid #c1d7cc;background:#fff9;padding:7px 12px;border-radius:50px;font-weight:750}
.hero-facts b{color:var(--mint);margin-right:5px;font-size:11px}
.chapter{padding:48px clamp(18px,4.1vw,43px);border-bottom:1px solid #dce8df}
.chapter h2{font-size:clamp(22px,3.2vw,30px);line-height:1.5;letter-spacing:.015em;margin:10px 0 13px}
.section-lead{margin:0 0 25px;line-height:1.95;font-size:14px;color:#587371;max-width:850px}
.lab-chapter{background:#f8faf6}
.lab-layout{display:grid;grid-template-columns:minmax(230px,280px) minmax(0,1fr);gap:18px;align-items:start;min-width:0}
.lab-controls{min-width:0;background:#fff;border:1px solid var(--line);border-radius:19px;padding:21px;display:grid;gap:11px}
.control-title{display:flex;align-items:center;gap:8px;margin-top:7px;font-size:13px}
.control-index{font-size:10px;border-radius:100%;background:#dcefe6;width:25px;height:25px;display:grid;place-items:center;color:#2a7865;font-weight:900}
.mode-buttons{display:grid;grid-template-columns:1fr;gap:7px}
.mode-buttons button{border-radius:11px;border:1px solid #bfd9cb;padding:12px 10px;background:#f4f9f5;text-align:left;color:#315a54;font-size:13px;font-weight:780;min-height:44px}
.mode-buttons button[aria-pressed=true]{background:#267968;color:#fff;border-color:#267968;box-shadow:0 4px 12px #1d716b28}
.switch-button{min-height:51px;border:1px solid #bdd2c8;border-radius:12px;display:flex;align-items:center;justify-content:center;gap:12px;background:#e8eeeb;color:#415d5c;font-weight:850;margin:4px 0 5px}
.switch-button[aria-checked=true]{background:#246c5f;color:#fff;border-color:#246c5f}
.switch-dot{width:22px;height:22px;border-radius:50%;background:#bbc5c1;box-shadow:inset 0 0 0 4px #eef1ef}
.switch-button[aria-checked=true] .switch-dot{background:#d6f1cd;box-shadow:0 0 0 3px #ade8b65d,0 0 13px #b3efa8}
.range-label,.energy-controls label{display:flex;flex-wrap:wrap;justify-content:space-between;gap:7px;align-items:center;font-size:13px;font-weight:700}
output{color:#2b7f6c;font-variant-numeric:tabular-nums;font-weight:900}
input[type=range]{width:100%;accent-color:#257a66;cursor:pointer;min-height:31px;margin:2px 0}
.range-ends{display:flex;justify-content:space-between;font-size:11px;color:#718b85}
.resistor-selects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.resistor-selects label{font-size:12px;font-weight:780;min-width:0}
select{display:block;min-width:0;width:100%;font-size:14px;padding:10px 7px;border:1px solid #bcd6ca;border-radius:9px;background:#f7fbf8;color:var(--ink);margin-top:5px}
.micro-text{font-size:12px;line-height:1.65;color:#61807a;margin:3px 0 0}
.lab-instrument{min-width:0;background:#fff;border:1px solid var(--line);border-radius:19px;overflow:hidden}
.instrument-top{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 12px;padding:15px 19px;background:#eef5f0;border-bottom:1px solid var(--line);align-items:center}
.instrument-label{font-size:10px;letter-spacing:.13em;font-weight:900;color:#65867b}
.circuit-status{font-size:12px;color:#8e684e;letter-spacing:.04em}
.circuit-status.live{color:#287b65}
.circuit-diagram{display:block;width:100%;height:auto;background:radial-gradient(circle at 50% 40%,#173c40,#0e242d 85%);font-family:var(--sans)}
.circuit-diagram .wire{fill:none;stroke:#8facb8;stroke-width:6;stroke-linecap:round;stroke-linejoin:round}
.circuit-diagram .wire.live{stroke:#8dd4c4;filter:drop-shadow(0 0 5px #61a99f69)}
.circuit-diagram .electron-path{stroke:#d8eec4;stroke-width:3;fill:none;stroke-dasharray:7 20;animation:flow-wire 1.8s linear infinite;opacity:.82}
.circuit-diagram .apparatus{fill:#1d3a41;stroke:#b9d5d5;stroke-width:3}
.circuit-diagram .apparatus-label{fill:#f2f7f1;font-size:18px;font-weight:850}
.circuit-diagram .sub-label{fill:#b5cfcb;font-size:15px}
.circuit-diagram .symbol{stroke:#e9d8ad;stroke-width:6;stroke-linecap:round}
.circuit-diagram .resistor{stroke:#e6bb79;stroke-width:5;fill:none;stroke-linejoin:round}
.circuit-diagram .wire-arrow{fill:#b6ded2}
@keyframes flow-wire{to{stroke-dashoffset:-108}}
@media(prefers-reduced-motion:reduce){.circuit-diagram .electron-path{animation:none}}
.meter-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid #d9e7df}
.meter-strip div{padding:14px 10px;border-right:1px solid #e3ede7;min-width:0;text-align:center}
.meter-strip div:last-child{border:0}
.meter-strip span,.branch-head{display:block;font-size:10px;line-height:1.4;color:#66817c}
.meter-strip strong{display:block;color:#2a6c63;font-size:clamp(14px,2vw,20px);margin-top:5px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.branch-panel{padding:15px 19px;border-bottom:1px solid #dcece4}
.branch-head,.branch-row{display:flex;align-items:center;justify-content:space-between;gap:8px}
.branch-head{margin-bottom:9px}
.branch-row{padding:7px 0;border-top:1px solid #e9f0e9;font-size:13px}
.branch-row>b{width:22px;height:22px;background:#d5ebe2;color:#296954;border-radius:6px;text-align:center;line-height:22px}
.branch-row>b.branch-b{background:#f7e9ce;color:#8d643a}
.branch-row>span{margin-right:auto;color:#537570}
.branch-row strong{font-variant-numeric:tabular-nums;white-space:nowrap;color:#305c56}
.discovery-box{padding:15px 19px;background:#eaf5eb;font-size:13px;line-height:1.8;color:#285e53;border-left:4px solid #65a58a;font-weight:650}
.comparison-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}
.compare-card{min-width:0;background:#f8fbf8;border:1px solid var(--line);border-radius:16px;padding:18px;text-align:center}
.compare-card h3{font-size:15px;margin:0 0 13px}
.compare-path{font-size:clamp(12px,1.7vw,17px);font-weight:750;color:#3a756d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.compare-bar{height:14px;border-radius:30px;background:#e0eee5;margin:14px 0 9px;overflow:hidden}
.compare-bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#85bfb0,#397d6f)}
.compare-card strong{font-size:28px;display:block;line-height:1.25;color:#215f56;font-variant-numeric:tabular-nums}
.compare-card small{color:#678782;font-size:11px;line-height:1.5;display:block;margin-top:6px}
.concept-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:15px}
.concept-row>div{background:#e9f2eb;border-radius:13px;padding:15px 18px}
.concept-row b{color:#276a5b}
.concept-row p{margin:5px 0 0;font-size:13px;line-height:1.8;color:#56716d}
.graph-chapter{background:#fff}
.graph-layout{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:22px;align-items:start;min-width:0}
.graph-panel{border:1px solid #d6e7dc;background:#f6faf7;border-radius:18px;padding:12px;min-width:0}
.graph-panel svg{display:block;width:100%;height:auto;font-family:var(--sans)}
.graph-copy{min-width:0}
.graph-copy h3{font-size:17px;margin:0 0 8px}
.graph-copy p{font-size:13px;color:#5b7774;line-height:1.85;margin:0 0 15px}
.formula-board{border-radius:14px;border:1px solid #c8ded1;background:#e9f4ec;padding:17px}
.formula-board span,.formula-board small{font-size:11px;color:#51766e;display:block}
.formula-board strong{display:block;font-size:29px;color:#2c7b68;margin:5px 0;font-family:var(--sans)}
.graph-copy p.graph-insight{padding:13px;border-radius:11px;background:#f3f5ed;color:#386956;font-weight:780;margin:12px 0}
.measure-table{border:1px solid var(--line);border-radius:12px;overflow:hidden}
.measure-table .table-row{display:grid;grid-template-columns:1fr 1fr;text-align:center}
.measure-table .table-row:first-child{background:#deeee3;font-size:11px;font-weight:800}
.measure-table .table-row:not(:first-child){background:#fff;border-top:1px solid #ebf2ec}
.measure-table .table-row.active{background:#f6efdc;font-weight:850;color:#865f30}
.measure-table span{padding:8px 4px;font-variant-numeric:tabular-nums;font-size:12px}
.energy-chapter{background:#f7faf5}
.energy-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);align-items:center;gap:24px}
.energy-controls,.energy-visual{min-width:0}
.energy-controls>p{margin:12px 0 0;font-size:12px;color:#567672}
.energy-equation{background:#fff;border:1px solid var(--line);border-radius:15px;padding:18px;margin-top:11px}
.energy-equation>b{display:block;font-size:15px;color:#347f6d}
.energy-equation>strong{font-variant-numeric:tabular-nums;display:block;font-size:clamp(29px,4.5vw,40px);color:#215f56;margin-top:6px}
.energy-equation>small{display:block;color:#6f807e}
.energy-visual{padding:22px;border:1px solid #cde4d8;border-radius:18px;text-align:center;background:#e8f2e9}
.energy-scale{height:30px;background:#d6e6dd;border-radius:100px;overflow:hidden;margin-bottom:15px}
.energy-fill{height:100%;background:linear-gradient(90deg,#67b3a0,#efac6e);width:50%;border-radius:100px;transition:width .25s}
.energy-visual>span{display:block;font-weight:800;font-size:18px;color:#2b7263}
.energy-visual>small{display:block;font-size:10px;color:#728c81;margin-top:5px}
.mission-chapter{background:#fff}
.mission-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.mission-list article{min-width:0;border:1px solid #d5e6dc;border-radius:16px;padding:19px;display:flex;flex-direction:column;justify-content:space-between;gap:12px;background:#fafcf9}
.mission-index{font-size:10px;letter-spacing:.1em;color:#357b6d;font-weight:850}
.mission-list h3{font-size:16px;line-height:1.65;margin:8px 0 6px}
.mission-list p{font-size:12px;line-height:1.8;color:#66807a;margin:0}
.mission-list button{align-self:flex-start;border:1px solid #abcfc1;border-radius:10px;min-height:42px;background:#e4f1e8;color:#2e6a59;font-size:12px;font-weight:850;padding:8px 13px}
.mission-list button:hover{background:#cce6d8}
.examples-chapter{background:#f5f9f5}
.worked-grid{display:grid;grid-template-columns:1fr;gap:9px}
.worked-grid details{border:1px solid #d2e1d8;border-radius:13px;background:#fff;min-width:0;overflow:hidden}
.worked-grid summary{padding:18px;cursor:pointer;font-size:15px;font-weight:800;list-style-position:inside;line-height:1.65}
.worked-grid summary span{color:#39826e;font-weight:900;margin-right:8px}
.worked-content{padding:0 18px 18px}
.worked-content p{font-size:14px;margin:13px 0 0;color:#54736a;line-height:1.9}
.worked-content b{color:#28695f}
.worked-visual{display:flex;gap:7px;max-width:450px}
.worked-visual>span{min-width:0;text-align:center;padding:10px 3px;border-radius:9px;background:#c9e9dc;color:#23645b;font-size:12px}
.worked-visual>span:nth-child(2){background:#f5e0bd;color:#86613e}
.worked-visual b{font-size:17px}
.quiz-chapter{background:#fff}
.quiz-score{font-size:13px;font-weight:850;background:#e6f2e9;color:#2f7566;display:inline-block;border-radius:100px;padding:8px 14px;margin:0 0 14px}
.quiz-questions{display:grid;grid-template-columns:1fr;gap:11px}
.question{border:1px solid #d3e3da;background:#f9fbf8;border-radius:14px;padding:19px;min-width:0}
.question h3{font-size:16px;line-height:1.7;margin:0 0 12px}
.question-choices{display:flex;flex-wrap:wrap;gap:8px}
.question-choices button{border:1px solid #bcd5c8;background:#fff;color:#396d5c;padding:10px 13px;border-radius:10px;min-height:44px;font-size:13px;font-weight:780;text-align:left}
.question-choices button[aria-pressed=true]{border-color:#286d5d;background:#e0f1e8;color:#1f5c4f}
.question-feedback{margin:12px 0 0;border-radius:10px;padding:10px 13px;background:#edf5ed;color:#2d6354;font-size:13px;font-weight:700}
.question-feedback[hidden]{display:none}
.science-note{padding:30px clamp(18px,4.1vw,43px);background:#ecf4ee}
.science-note h2{font-size:18px;margin:0 0 7px}
.science-note p{font-size:13px;line-height:1.9;color:#53746c;margin:8px 0}
.science-note details{margin-top:15px;font-size:12px;border-top:1px solid #d5e5da;padding-top:12px;color:#50736b}
.science-note summary{cursor:pointer;font-weight:800}
.electric-footer{text-align:center;font-size:10px;letter-spacing:.12em;color:#63877b;padding:22px}
@media(max-width:780px){
 .lab-layout{grid-template-columns:1fr}
 .lab-controls{display:grid;grid-template-columns:1fr;gap:10px}
 .mode-buttons{grid-template-columns:repeat(3,minmax(0,1fr))}
 .mode-buttons button{text-align:center;font-size:12px;padding:9px 5px}
 .graph-layout{grid-template-columns:1fr}
}
@media(max-width:560px){
 body{font-size:14px}
 .electric-hero{padding:27px 16px 25px}
 .hero-facts{gap:6px;margin-top:15px}
 .hero-facts span{font-size:10px;padding:7px 10px}
 .chapter{padding:30px 13px}
 .chapter h2{font-size:22px}
 .section-lead{font-size:13px;margin-bottom:17px}
 .lab-layout{gap:12px}
 .lab-controls{padding:14px;border-radius:13px}
 .lab-instrument{border-radius:13px}
 .instrument-top{padding:12px}
 .instrument-label{font-size:9px}
 .circuit-status{font-size:11px}
 .meter-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
 .meter-strip div{padding:11px 5px;border-bottom:1px solid #e3ede7}
 .meter-strip strong{font-size:18px}
 .branch-panel{padding:12px}
 .discovery-box{padding:13px}
 .comparison-grid{gap:6px}
 .compare-card{padding:13px 5px;border-radius:11px}
 .compare-card h3{font-size:12px}
 .compare-card strong{font-size:22px}
 .compare-card small{font-size:10px}
 .compare-path{font-size:11px;letter-spacing:-.03em}
 .concept-row{grid-template-columns:1fr}
 .graph-panel{padding:6px}
 .energy-panel{grid-template-columns:1fr;gap:13px}
 .mission-list{grid-template-columns:1fr}
 .mission-list article{padding:16px}
 .worked-grid summary{padding:14px;font-size:14px}
 .worked-content{padding:0 14px 14px}
 .question{padding:15px}
 .question h3{font-size:14px}
 .question-choices{display:grid;grid-template-columns:1fr}
 .question-choices button{width:100%}
 .science-note{padding:23px 15px}
}

/* Linear 60:1 energy illustration: lengths are proportional, text remains readable. */
.energy-illustration{display:grid;grid-template-columns:1fr;gap:5px;max-width:480px;color:#466d61;font-size:12px;font-weight:750}
.energy-illustration-track{width:100%;height:15px;border-radius:12px;background:#ecf2ec;overflow:hidden}
.energy-illustration-track i{display:block;height:100%;border-radius:12px;background:#6aab93;min-width:2px}

/* R4 independent review return fixes: visible mobile SVG and power controls */
.graph-legend{margin:5px 3px 2px!important;font-size:12px!important;line-height:1.7;color:#426b60!important}
.legend-line{display:inline-block;width:21px;height:4px;margin:0 5px 3px 0;vertical-align:middle;background:#329c7b;border-radius:6px}
.legend-dot{display:inline-block;width:12px;height:12px;margin:0 5px 0 5px;vertical-align:middle;background:#e89e52;border:2px solid white;border-radius:50%;box-shadow:0 0 0 1px #d99e5f}
.energy-switch{display:block;margin-top:9px;border:1px solid #88c5ad;border-radius:10px;min-height:48px;padding:11px 15px;width:100%;background:#e0f1e8;color:#236b56;font-weight:850}
.energy-switch[aria-pressed=true]{background:#267968;border-color:#267968;color:white}
@media(max-width:560px){
 .comparison-grid{grid-template-columns:1fr;gap:9px}
 .compare-card{padding:13px 16px;display:grid;grid-template-columns:1fr 1fr;gap:2px 10px;text-align:left;align-items:center}
 .compare-card h3{grid-column:1/3;margin:0;font-size:14px}
 .compare-path{white-space:normal;overflow:visible;text-overflow:clip;font-size:14px;grid-column:1;grid-row:2}
 .compare-card strong{grid-column:2;grid-row:2;font-size:24px;text-align:right}
 .compare-bar{grid-column:1/3;grid-row:3;margin:4px 0}
 .compare-card small{grid-column:1/3;grid-row:4;text-align:right}
 .graph-legend{font-size:11px!important}
}


/* R5: Concept-first pedagogy; diagrams and units take precedence over algebraic symbols */
.basics-chapter{background:#f8fbf8}
.basics-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:19px 0 24px}
.basic-card{min-width:0;background:#fff;border:1px solid #cee2d7;border-radius:17px;padding:19px;display:flex;flex-direction:column;gap:9px}
.basic-card-top{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px}
.basic-index{color:#448875;font-size:11px;font-weight:900}
.basic-card h3{margin:0;color:#254f45;font-size:22px;line-height:1.25}
.basic-unit{margin-left:auto;font-size:12px;line-height:1.7;color:#527d70;white-space:nowrap}
.basic-unit b{font-size:26px;margin-left:5px;color:#247b61}
.basic-card p{margin:0;color:#58766e;font-size:13px;line-height:1.85}
.basic-card p strong{color:#275d50}
.basic-card p.basic-example{border-top:1px solid #e5eee7;padding-top:9px;font-size:12px;line-height:1.75}
.basic-example b{color:#246c59;font-weight:850}
.basic-visual{width:100%;max-height:126px;min-height:104px;display:block;background:#f5faf6;border:1px solid #e2eee5;border-radius:11px;margin:auto 0;min-width:0}
.unit-formula{background:#e7f2ea;border:1px solid #bed9c8;border-radius:16px;padding:24px 24px 19px}
.unit-formula h3{font-size:clamp(17px,2.3vw,22px);line-height:1.55;margin:9px 0}
.unit-formula .words-formula{font-size:clamp(17px,2.6vw,25px);font-weight:900;letter-spacing:.04em;color:#276c59;margin:5px 0 16px}
.unit-example{display:flex;align-items:center;flex-wrap:wrap;gap:8px 13px;font-variant-numeric:tabular-nums}
.unit-example>span,.unit-example>strong{display:inline-flex;gap:7px;align-items:baseline;border-radius:10px;padding:7px 12px;background:#fff;border:1px solid #c6ddce;font-size:clamp(21px,4vw,34px);font-weight:900;color:#244d42}
.unit-example>strong{background:#267966;border-color:#267966;color:white}
.unit-example small{font-size:16px;font-weight:850}
.unit-example>b{font-size:24px;color:#3c7967}
.unit-formula .unit-example-caption{margin:14px 0 0;font-size:13px;line-height:1.8;color:#536f63}
.symbol-details{margin-top:17px;border:1px solid #cedfd3;border-radius:14px;background:#fff;overflow:hidden}
.symbol-details summary{padding:16px 18px;cursor:pointer;color:#336b5b;font-weight:800;font-size:14px;line-height:1.6}
.symbol-details-body{padding:0 18px 17px;font-size:13px;line-height:1.9;color:#58776c}
.symbol-details-body p{margin:10px 0}
.symbol-rows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.symbol-rows>div{min-width:0;background:#f1f7f2;border-radius:9px;padding:11px}
.symbol-rows b{display:block;color:#2f715d;font-size:13px}
.symbol-rows span{font-size:12px;color:#557769}
.pathway-chapter{background:#fff}
.path-diagrams{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.path-figure{margin:0;min-width:0;border:1px solid #d3e5d9;border-radius:15px;padding:16px;background:#f8fbf8}
.path-figure svg{display:block;width:100%;height:auto;max-height:225px}
.path-figure figcaption{display:flex;flex-direction:column;gap:4px;text-align:center;margin-top:6px;color:#59776a;font-size:12px}
.path-figure figcaption b{font-size:16px;color:#2b6a57}
.path-readout{background:#e6f3eb;border-radius:13px;padding:18px;margin-top:14px;border-left:4px solid #68a78a}
.path-readout b{color:#276c5a;font-size:15px}
.path-readout p{margin:7px 0 0;font-size:13px;line-height:1.9;color:#4c7063}
.pathway-chapter+.chapter{background:#f7fbf8}
@media(max-width:780px){
 .basics-grid{grid-template-columns:1fr}
 .basic-card{padding:16px}
 .path-diagrams{grid-template-columns:1fr}
 .path-figure svg{max-height:205px}
}
@media(max-width:560px){
 .basics-grid{gap:10px;margin:14px 0 16px}
 .basic-card h3{font-size:20px}
 .basic-unit b{font-size:24px}
 .basic-visual{min-height:90px;max-height:120px}
 .unit-formula{padding:17px 13px}
 .unit-example{gap:5px}
 .unit-example>span,.unit-example>strong{font-size:20px;padding:6px 9px;gap:3px}
 .unit-example small{font-size:12px}
 .unit-example>b{font-size:17px}
 .symbol-rows{grid-template-columns:1fr}
 .path-figure{padding:11px}
 .path-readout{padding:14px}
}

.compare-schematic{display:block;width:100%;height:auto;max-height:110px}

/* R6 independent review: restore full-width circuit diagrams on mobile */
@media(max-width:560px){
 .compare-card .compare-path{grid-column:1/3;grid-row:2;width:100%;min-width:0}
 .compare-card .compare-schematic{width:100%;height:auto;max-height:none}
 .compare-card strong{grid-column:1/3;grid-row:3;text-align:left}
 .compare-card .compare-bar{grid-column:1/3;grid-row:4}
 .compare-card small{grid-column:1/3;grid-row:5}
}

.lab-meter-note{border:1px solid #d1e4d7;border-radius:12px;padding:11px 15px;background:#eaf5eb;color:#315e51;font-size:13px;line-height:1.8;margin:0 0 16px}


/* R7: one compact, accurate conceptual bridge; avoid many thin chapters */
.potential-bridge{border:1px solid #c8dfd2;background:linear-gradient(145deg,#f6faf5,#e8f4ec);border-radius:20px;padding:clamp(17px,2.8vw,26px);margin:0 0 27px}
.potential-bridge h3{font-size:clamp(18px,2.6vw,23px);color:#285c53;margin:0 0 9px}
.potential-bridge>p{font-size:14px;line-height:1.9;color:#476b64;margin:8px 0 0}
.potential-bridge-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}
.potential-bridge-pair figure{margin:0;padding:10px;background:#fff;border:1px solid #d8e8dd;border-radius:14px;min-width:0}
.potential-bridge-pair svg{display:block;width:100%;height:auto;max-height:198px}
.potential-bridge-pair figcaption{display:flex;gap:3px;flex-wrap:wrap;align-items:baseline;justify-content:space-between;padding:6px 4px 2px;font-size:13px;line-height:1.5;color:#396f64}
.potential-bridge-pair figcaption span{font-size:12px;color:#607b73}
.potential-bridge .bridge-insight{font-weight:650;color:#356356;background:#fff;border-left:4px solid #75b69b;border-radius:8px;padding:11px 13px}
.voltage-bridge-compare{margin-top:15px;background:#fff;border:1px solid #d4e7da;border-radius:14px;padding:16px}
.voltage-bridge-compare h4{font-size:15px;margin:0 0 13px;color:#356d5c}
.bridge-compare-row{display:grid;grid-template-columns:45px minmax(0,1fr) 53px;align-items:center;gap:10px;margin:9px 0;font-weight:850;font-size:14px;color:#326d5f}
.bridge-track{height:16px;border-radius:18px;background:#e2f0e6;overflow:hidden}
.bridge-track i{display:block;height:100%;background:linear-gradient(90deg,#91c9b6,#3e947a);border-radius:18px}
.voltage-bridge-compare p{font-size:13px;color:#4c7068;line-height:1.85;margin:10px 0 0}
.potential-more{margin-top:12px;border-top:1px solid #d2e3d7;padding:10px 4px 2px;font-size:13px;color:#416c60}
.potential-more summary{font-weight:760;cursor:pointer}
.potential-more p{line-height:1.9}
.short-circuit-note{margin-top:16px;background:#fef7ed;border:1px solid #efdfc4;border-radius:14px;padding:16px 20px}
.short-circuit-note h3{font-size:16px;color:#755c37;margin:0 0 8px}
.short-circuit-note>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.short-circuit-note p{font-size:13px;color:#6b573d;line-height:1.8;margin:2px 0 7px}
.short-circuit-note small{display:block;margin-top:4px;font-size:12px;color:#8d6041;line-height:1.7}
@media(max-width:560px){
 .potential-bridge-pair{grid-template-columns:1fr}
 .potential-bridge-pair svg{max-height:none}
 .potential-bridge-pair figure{padding:8px}
 .potential-bridge-pair figcaption{font-size:14px}
 .short-circuit-note>div{grid-template-columns:1fr;gap:3px}
}

/* R7 independent Reviewer low: accessible 44px tap target for optional details */
.potential-more summary{min-height:44px;display:flex;align-items:center}

/* R10: concise curriculum review and prominent open curiosity */
.lesson-outro > .outro-title {
  color: #193f36;
  margin: 0 0 1rem;
}

.lesson-outro .outro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.875rem;
}

.lesson-outro .outro-card {
  min-width: 0;
  padding: clamp(0.875rem, 2.4vw, 1.5rem);
  border: 1px solid #c7dbd0;
  border-radius: 1rem;
  background: #fbfdfa;
  color: #294940;
  font-size: 1rem;
  line-height: 1.7;
  line-break: strict;
  overflow-wrap: anywhere;
}

.lesson-outro .outro-card h3 {
  margin: 0 0 0.625rem;
  color: #163f34;
  font-size: 1.125rem;
  line-height: 1.4;
}

.lesson-outro .outro-card p {
  margin: 0.625rem 0 0;
}

.lesson-outro .outro-card-ohm {
  background: #e3f3e9;
  border-color: #74a992;
  border-top: 4px solid #287359;
}

.lesson-outro .outro-card-ohm h3 {
  font-size: clamp(1.375rem, 3vw, 1.625rem);
}

.lesson-outro .outro-terms {
  margin: 0;
}

.lesson-outro .outro-terms dt {
  font-weight: 750;
}

.lesson-outro .outro-terms dd {
  margin: 0 0 0.375rem;
}

.lesson-outro .outro-unit {
  color: #245f4f;
  font-weight: 750;
}

.lesson-outro .outro-formulas {
  margin-top: 0.75rem;
  padding: 0.625rem;
  border-radius: 0.625rem;
  background: #f4faf5;
  color: #193f36;
  font-weight: 750;
}

.lesson-outro .outro-formulas p {
  margin: 0;
}

.lesson-outro .outro-formulas p + p {
  margin-top: 0.375rem;
}

.lesson-outro .outro-example {
  color: #245f4f;
  font-variant-numeric: tabular-nums;
}

.lesson-outro .outro-curiosity {
  margin-top: clamp(2rem, 7vw, 4.5rem);
  padding: clamp(1.125rem, 6vw, 3.75rem);
  border-radius: 1.25rem;
  background: radial-gradient(ellipse at top right, #25594f, transparent 65%), #102f30;
  color: #f0fbf5;
  font-size: 1rem;
  line-height: 1.8;
  line-break: strict;
  overflow-wrap: anywhere;
}

.lesson-outro .outro-curiosity::before {
  content: "";
  display: block;
  width: 2.75rem;
  height: 0.25rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
  background: #9ddcc0;
}

.lesson-outro .outro-curiosity h3 {
  margin: 0 0 0.75rem;
  color: #b6ead1;
  font-size: 1.125rem;
  line-height: 1.45;
}

.lesson-outro .outro-curiosity p {
  max-width: 36rem;
  margin: 0.375rem 0 0;
}

.lesson-outro .outro-curiosity .outro-prompt {
  margin-top: clamp(1.25rem, 4vw, 2.5rem);
  color: #fff;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.5;
}

@media (min-width: 44rem) {
  .lesson-outro .outro-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width:44rem){.lesson-outro .outro-card-ohm{grid-column:1 / -1}}

/* R10R3: parallel branch current POINT */
.parallel-point {
  box-sizing: border-box;
  min-width: 0;
  margin-block: 1rem;
  padding: clamp(0.75rem, 4vw, 1.25rem);
  border: 1px solid #9bc9c0;
  border-inline-start: 0.3rem solid #23796c;
  border-radius: 0.75rem;
  background: #effaf7;
  color: #163e37;
  font-size: 1rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.parallel-point h3 {
  margin: 0;
  color: inherit;
  font-size: 1.2rem;
  line-height: 1.4;
}
.parallel-point p,
.parallel-point ul {
  margin: 0.65rem 0 0;
  color: inherit;
}
.parallel-point ul {
  padding-inline-start: 1.25em;
}
.parallel-point li + li {
  margin-block-start: 0.4rem;
}
.parallel-point .parallel-point__takeaway {
  padding: 0.55rem 0.75rem;
  border-radius: 0.4rem;
  background: #d6f1e8;
  font-size: 1.1rem;
}
