.ohm-lesson{display:flex;flex-direction:column;gap:.65rem;max-width:100%;min-height:0;color:#172536;background:#fff;border-radius:12px;padding:clamp(.6rem,2vw,1.4rem);overflow:auto;overscroll-behavior:contain;font-size:clamp(1rem,1.6vw,1.3rem)}.ohm-lesson header h2{margin:.2rem 0;font-size:clamp(1.35rem,2.5vw,2rem)}.ohm-lesson p{margin:.2rem 0}.ohm-lesson small{font-size:.8em}.ohm-lesson button{border:1px solid #64748b;color:#123b45;background:#f8fafc;border-radius:9px;padding:.55rem .8rem;font:inherit;cursor:pointer}.ohm-lesson button:focus-visible,.ohm-lesson [role=button]:focus-visible{outline:3px solid #2563eb;outline-offset:3px}.ohm-lesson button[aria-pressed=true]{background:#d9f0e9;border:2px solid #075f50}.ohm-lesson button:disabled{opacity:.5;cursor:default}.ohm-controls,.ohm-choices{display:flex;flex-wrap:wrap;gap:.45rem;justify-content:center}.ohm-result{background:#edf7f4;padding:.65rem;border-radius:8px;text-align:center;font-weight:700}.ohm-feedback{min-height:1.6em}.ohm-circuit{height:clamp(180px,30dvh,350px);flex-shrink:0}.ohm-circuit>svg{width:100%;height:100%}.ohm-circuit [data-cad-frame],.ohm-circuit .cad-frame{display:none}.ohm-lesson details{border-top:1px solid #cbd5e1;padding:.45rem 0}.ohm-lesson summary{cursor:pointer}.ohm-lesson input{width:7rem;border:1px solid #64748b;background:#fff;color:#172536;border-radius:5px;padding:.4rem}.ohm-lesson [role=button]{cursor:pointer}#stage>.ohm-lesson{height:100%;box-sizing:border-box}@media(prefers-reduced-motion:reduce){.ohm-lesson *{animation:none!important;transition:none!important}}
/* Isolate lesson typography from the board's large headings and flex header. */
.ohm-lesson{font-family:system-ui,Arial,sans-serif;align-items:stretch}.ohm-lesson>header{display:block;padding:0;text-align:left}.ohm-lesson>header h2{display:block}.ohm-lesson p{font:inherit;line-height:1.35;white-space:normal}.ohm-circuit{width:100%;display:flex;align-items:center;justify-content:center}.ohm-circuit>svg{display:block;width:auto;height:100%;max-width:100%;filter:none;--cad-reference-size:5px}.ohm-lesson header small{display:block}.ohm-lesson header p{font-size:1.05em}

.ohm-choices[hidden],.ohm-lesson [hidden]{display:none}
.ohm-probes{pointer-events:none}
.ohm-probes circle{fill:#075f85;stroke:white;stroke-width:.55}
.ohm-probes text{fill:#075f85;font:700 4px system-ui,sans-serif;text-anchor:middle}
.ohm-comparison{width:100%;border-collapse:collapse;font-size:.92em}
.ohm-comparison caption{caption-side:top;text-align:left;color:#172536;font-weight:700}
.ohm-comparison th,.ohm-comparison td{padding:.45rem .35rem;text-align:left;border-bottom:1px solid #cbd5e1}
.ohm-comparison .is-current{background:#edf7f4;font-weight:700}

.ohm-public{margin:0;background:#eef4f7;color:#172536;font-family:system-ui,Arial,sans-serif}
.ohm-public-header {
    background: #14243a;
    color: #fff;
}
.ohm-public-header nav {
    box-sizing: border-box;
    width: min(100%, 56rem);
    min-height: 3rem;
    margin-inline: auto;
    padding-inline: clamp(.75rem, 3vw, 1.6rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}
.ohm-public-header a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    color: inherit;
    text-decoration: none;
}
.ohm-public-header a:hover {
    text-decoration: underline;
}
.ohm-public-header a:focus-visible {
    outline: 2px solid #b4ddff;
    outline-offset: 2px;
}
.ohm-public-brand { font-size: 1.1rem; font-weight: 700; }
.ohm-public-login { font-size: .9rem; }
.ohm-public-main{box-sizing:border-box;width:min(100%,56rem);margin:auto;padding:clamp(.5rem,3vw,1.6rem)}
.ohm-public .ohm-lesson>header h1{margin:.15rem 0 .5rem;font-size:clamp(1.5rem,4vw,2.4rem);line-height:1.14}
.ohm-public footer{margin:.85rem .25rem;color:#425669;font-size:.86rem}
