/* Breaker Lab — diagram styles (article layout and lab frame are in /assets/article.css) */
:root {
  --bk-panel: #c9ced3;
  --bk-panel-stroke: #8e969e;
  --bk-body: #26292d;
  --bk-window: #f7f3ea;
  --bk-wall: #f3eee4;
  --bk-counter: #b8a88a;
  --bk-cab: #e2d8c6;
  --bk-cab-line: #c9bca4;
  --bk-track: #e6e0d4;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bk-panel: #3a434c; --bk-panel-stroke: #59636d; --bk-body: #0e1114; --bk-window: #1f262d;
    --bk-wall: #1b2229; --bk-counter: #5d5444; --bk-cab: #232b33; --bk-cab-line: #36404a; --bk-track: #2c343d;
  }
}
:root[data-theme="dark"] {
  --bk-panel: #3a434c; --bk-panel-stroke: #59636d; --bk-body: #0e1114; --bk-window: #1f262d;
  --bk-wall: #1b2229; --bk-counter: #5d5444; --bk-cab: #232b33; --bk-cab-line: #36404a; --bk-track: #2c343d;
}

/* ---------- controls ---------- */
.bk .tabs button small { display: block; font-size: .72rem; font-weight: 500; opacity: .75; margin-top: 1px; }
.bk .seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--surface); }
.bk .seg button { white-space: nowrap; font: 600 .86rem/1.2 var(--font); padding: 9px 13px; border: 0; background: none; color: var(--ink-2); cursor: pointer; }
.bk .seg button + button { border-left: 1px solid var(--line); }
.bk .seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.bk-sound { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); font-size: 1.05rem; line-height: 1; cursor: pointer; }
.bk-sound:hover { border-color: var(--ink); }

/* the scene with the callout floating in its top-right corner */
.bk-stage { position: relative; container-type: inline-size; }
.bk-callout { position: absolute; top: 2.2%; right: 1.6%; width: 35%; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 2px solid var(--accent); box-shadow: 0 10px 28px rgba(0, 0, 0, .18); font-size: .9rem; line-height: 1.45; color: var(--ink-2); }
.bk-callout.flash { animation: bk-pop .45s cubic-bezier(.3, 1.5, .6, 1); }
.bk-callout.alert { border-color: var(--warn); }
@keyframes bk-pop { from { transform: scale(.94); opacity: .4; } }
.bk-co-head { display: flex; gap: 10px; align-items: flex-start; font-size: 1.02rem; line-height: 1.4; color: var(--ink); }
.bk-co-icon { font-size: 1.45rem; line-height: 1; flex: none; animation: bk-nudge 1.4s ease-in-out infinite; }
.bk-co-todo b { color: var(--accent-ink); }
.bk-callout.alert .bk-co-todo b { color: var(--warn); }
.bk-co-why { margin-top: 9px; padding: 7px 10px 8px; border-radius: 9px; background: color-mix(in srgb, #4dabf7 12%, var(--surface)); border-left: 3px solid #4dabf7; color: var(--ink); }
.bk-co-why[hidden] { display: none; }
.bk-co-why-k { display: block; font: 800 .7rem/1.2 var(--font); letter-spacing: .1em; text-transform: uppercase; color: #1c7ed6; margin-bottom: 2px; }
:root[data-theme="dark"] .bk-co-why-k { color: #74c0fc; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .bk-co-why-k { color: #74c0fc; } }
.bk-co-why b { font-weight: 700; }
.bk-co-why.changed { animation: bk-why 1.4s ease-out; }
.bk-co-why.changed .bk-co-why-t { animation: bk-why-t .45s ease-out; }
@keyframes bk-why { 0%, 25% { background: color-mix(in srgb, #ffd43b 32%, var(--surface)); border-left-color: #f59f00; box-shadow: 0 0 0 3px color-mix(in srgb, #ffd43b 45%, transparent); } }
@keyframes bk-why-t { from { opacity: 0; transform: translateY(5px); } }
.bk-co-why-t { display: block; }
.bk-co-links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; }
.bk-co-links:empty { display: none; }
.bk-link-btn { font: 650 .86rem/1.2 var(--font); color: var(--accent-ink); background: none; border: 0; padding: 2px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@keyframes bk-nudge { 50% { transform: translateY(3px); } }
@container (max-width: 900px) {
  .bk-callout { position: static; width: auto; margin: 0; border-radius: 0; border-width: 0 0 0 4px; box-shadow: none; border-top: 1px solid var(--line); }
}

/* ---------- appliance tray: one row ---------- */
.bk-tray { border-top: 1px solid var(--line); padding: 8px 14px 10px; }
.bk-tray[hidden] { display: none; }
.bk-tray-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 8px; font-size: .88rem; color: var(--ink-2); }
.bk-tray-head .grow { flex: 1; }
.bk-tray-head em { font-style: normal; font-weight: 700; color: var(--accent-ink); }
.bk-presets { display: flex; flex-wrap: wrap; gap: 6px; }
.bk-preset { font: 600 .8rem/1.2 var(--font); padding: 5px 10px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line)); background: var(--accent-soft); color: var(--accent-ink); cursor: pointer; }
.bk-preset:hover { border-color: var(--accent); }
.bk-preset.ghost { background: none; border-color: var(--line); color: var(--ink-2); }
.bk-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 2px; }
.bk-chip { flex: 1 1 0; min-width: 70px; display: flex; flex-direction: column; align-items: center; gap: 0; padding: 5px 4px 6px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: grab; font: inherit; text-align: center; user-select: none; -webkit-user-select: none; touch-action: manipulation; transition: transform .15s, border-color .15s, box-shadow .15s; }
.bk-chip:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.bk-chip:active { cursor: grabbing; transform: scale(.96); }
.bk-chip-art { width: 46px; height: 44px; overflow: visible; }
.bk-chip b { font-size: .7rem; font-weight: 650; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.bk-chip-amps { font: 700 .74rem/1.2 var(--font-mono); color: var(--accent-ink); }
.bk-ghost, .bk-hand { position: fixed; left: 0; top: 0; width: 80px; height: 88px; pointer-events: none; z-index: 100; }
.bk-ghost svg, .bk-hand svg { width: 80px; height: 78px; overflow: visible; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .25)); }
.bk-hand-finger { position: absolute; left: 44px; top: 46px; font-size: 34px; }
.bk-hand-tip { position: absolute; left: 50%; top: -22px; transform: translateX(-50%); white-space: nowrap; font: 700 .8rem/1 var(--font); color: #fff; background: var(--accent); padding: 5px 9px; border-radius: 999px; }
.bk.dragging .bk-slot-g.empty .bk-slot { stroke: var(--accent); }
@media (max-width: 560px) {
  .bk-chip { flex: 0 0 76px; }
  .bk .lab-bar.top .seg { flex: 1; }
  .bk .lab-bar.top .seg button { flex: 1; }
  .bk .tabs { width: 100%; }
  .bk .tabs button { flex: 1; padding: 8px 6px; }
  .bk-tray-head .grow { display: none; }
}

/* ---------- scene ---------- */
.bk-scene { font-family: var(--font); user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.bk-scene text { fill: var(--diagram-ink); }
.bk-small { font: 600 12px var(--font); fill: var(--diagram-ink-2) !important; }
.bk-tiny { font: 500 10.5px var(--font); fill: var(--diagram-ink-2) !important; }
.bk-lbl { font: 700 12.5px var(--font); fill: var(--diagram-ink) !important; }
.bk-panel { fill: var(--bk-panel); stroke: var(--bk-panel-stroke); stroke-width: 2; }
.bk-bus { fill: #c4772d; }
.bk-nbar { fill: #c3c8cd; stroke: #8e969e; }
.bk-body { fill: var(--bk-body); }
.bk-window { fill: var(--bk-window); }
.bk-cu { fill: none; stroke: #c4772d; stroke-width: 5; stroke-linejoin: round; stroke-linecap: round; }
.bk-core { fill: #7d858d; }
.bk-coil { fill: none; stroke: #c4772d; stroke-width: 3; transition: stroke .1s, filter .1s; }
.bk-coil.hot { stroke: #ffb703; filter: drop-shadow(0 0 4px rgba(255, 183, 3, .9)); }
.bk-armature rect { fill: #59616a; }
.bk-tripbar rect { fill: #9a8f7a; }
.bk-link { stroke: #8e969e; stroke-width: 2.5; fill: none; stroke-dasharray: 4 3; }
.bk-contact { fill: #c8ccd1; stroke: #6b7480; stroke-width: 1.5; }
.bk-arm-bar { stroke: #c4772d; stroke-width: 6; stroke-linecap: round; fill: none; }
.bk-braid { fill: none; stroke: #c4772d; stroke-width: 4; stroke-dasharray: 2 2; }
.bk-bimetal-a, .bk-bimetal-b, .bk-bimetal-heat { fill: none; stroke-linecap: round; }
.bk-bimetal-a { stroke: #c4772d; stroke-width: 5; }
.bk-bimetal-b { stroke: #8a9099; stroke-width: 5; }
.bk-bimetal-heat { stroke: #ff5a1f; stroke-width: 12; opacity: 0; filter: blur(2px); }
.bk-lug { fill: #9aa0a6; stroke: #5e656c; }
.bk-handle-bar { fill: #3a3f45; stroke: #111; stroke-width: 1.5; }
.bk-title { font: 800 26px var(--font) !important; letter-spacing: .08em; fill: var(--diagram-ink) !important; }
.bk-pill rect { fill: #2f9e44; }
.bk-pill text { font: 800 15px var(--font) !important; letter-spacing: .06em; fill: #fff !important; }
.bk[data-handle="tripped"] .bk-pill rect { fill: var(--warn); }
.bk[data-handle="off"] .bk-pill rect { fill: #868e96; }
.bk-clip { fill: #c4772d; stroke: #8a5520; stroke-width: 1.5; }
.bk-screw { fill: #d5d9dd; stroke: #5e656c; stroke-width: 1.5; }
.bk-screw-slot { stroke: #5e656c; stroke-width: 1.6; }
.bk-type-opt { cursor: pointer; }
.bk-type-opt rect { fill: var(--bk-window); stroke: var(--bk-panel-stroke); stroke-width: 2; transition: fill .15s; }
.bk-type-opt text { font: 700 17px var(--font) !important; fill: var(--diagram-ink-2) !important; pointer-events: none; }
.bk-type-opt:hover rect, .bk-type-opt:focus-visible rect { stroke: var(--accent); stroke-width: 3; }
.bk-type-opt:focus { outline: none; }
.bk-type-opt.on rect { fill: var(--diagram-ink); stroke: var(--diagram-ink); }
.bk-type-opt.on text { fill: var(--bk-window) !important; }
.bk-type-opt.nudge rect { fill: var(--accent); stroke: var(--accent); animation: bk-swap 1s ease-in-out infinite; }
.bk-type-opt.nudge text { fill: #fff !important; }
@keyframes bk-swap { 50% { stroke-width: 9; } }
.bk-handle-num { font: 800 13px var(--font) !important; fill: #fff !important; }
.bk-arc { fill: none; stroke: #fff; stroke-width: 3; opacity: 0; filter: drop-shadow(0 0 6px #7ab8ff) drop-shadow(0 0 3px #fff); }
.bk-arc.show { opacity: 1; animation: bk-flicker .06s steps(2) infinite; }
.bk-toroid { fill: none; stroke: #6b7480; stroke-width: 5; transition: stroke .15s; }
.bk-toroid.hot { stroke: #ffb703; filter: drop-shadow(0 0 4px rgba(255, 183, 3, .9)); }
.bk-sensor { fill: #2f6f3e; }
.bk-sensor + text { fill: #fff !important; }
.bk-pigtail { fill: none; stroke: #fbfbf8; stroke-width: 4; filter: drop-shadow(0 0 1px rgba(0, 0, 0, .6)); }
.bk-gfci-only { display: none; }
.bk.is-gfci .bk-gfci-only { display: inline; }
.bk.is-gfci .bk-gfci-not { display: none; }
.bk-handle-hit { fill: transparent; cursor: pointer; }
.bk-handle-hit:focus { outline: none; }
.bk-handle-hit:focus-visible { stroke: var(--accent); stroke-width: 3; }
.bk-panel-g:has(.bk-handle-hit:hover) .bk-handle-bar { stroke: var(--accent); stroke-width: 3; }
.bk.needs-reset .bk-handle-bar { stroke: var(--warn); stroke-width: 3; }
.tap-hint { display: none; pointer-events: none; }
.tap-hint circle { fill: none; stroke: #ff6b6b; stroke-width: 4; transform-box: fill-box; transform-origin: center; animation: bk-ping 1.6s ease-out infinite; }
.tap-hint circle + circle { animation-delay: .8s; }
.bk.needs-reset .bk-handle-hint { display: inline; }
@keyframes bk-ping { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.bk-handle-tip { display: none; pointer-events: none; }
.bk-handle-tip rect { fill: var(--warn); }
.bk-handle-tip path { fill: var(--warn); }
.bk-handle-tip text { font: 700 15px var(--font); fill: #fff !important; }
.bk.needs-reset .bk-handle-tip { display: inline; animation: bk-bob 1.2s ease-in-out infinite; }
@keyframes bk-bob { 50% { transform: translateY(-3px); } }

.bk-wall { fill: var(--bk-wall); }
.bk-counter { fill: var(--bk-counter); }
.bk-cab { fill: var(--bk-cab); }
.bk-cab-line { stroke: var(--bk-cab-line); stroke-width: 2; }
.bk-plate { fill: #fbfaf6; stroke: #b9ad94; stroke-width: 1.5; }
.bk-face rect:first-child { fill: #f1eee6; stroke: #c9c1b0; }
.outlet-slot { fill: #4a4a4a; }

/* wires: same vocabulary as the 3-way lab, plus heat on the hot wire */
.bk-scene .wire path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.bk-scene .wire .glow { stroke: rgba(255, 183, 3, 0); stroke-width: 14; transition: stroke .25s; }
.bk-scene .wire.live .glow { stroke: rgba(255, 183, 3, .3); }
.bk-scene .wire .casing { stroke: var(--wire-casing); stroke-width: 7; }
.bk-scene .wire .core { stroke-width: 4; }
.bk-scene .wire .flow { stroke: #ffd43b; stroke-width: 3.2; stroke-dasharray: 0 14; opacity: 0; }
.bk-scene .wire.flowing .flow { opacity: 1; animation: bk-flow var(--flow, .6s) linear infinite; }
.bk-scene .bk-neu.flowing .flow { animation-direction: reverse; }
@keyframes bk-flow { to { stroke-dashoffset: -14; } }
.bk-scene .c-black .core { stroke: color-mix(in srgb, #ff5a1f calc(var(--heat, 0) * 100%), #232323); }
.bk-scene .c-white .core { stroke: #fbfbf8; }
.bk-scene .bk-hot.live .glow { stroke: color-mix(in srgb, rgba(255, 70, 20, .65) calc(var(--heat, 0) * 100%), rgba(255, 183, 3, .3)); }

/* free spots by the outlets */
.bk-slot-g { display: none; }
.bk-slot-g.empty { display: inline; cursor: pointer; }
.bk-slot { fill: transparent; stroke: var(--box-stroke); stroke-width: 2; stroke-dasharray: 6 5; transition: fill .15s, stroke .15s; }
.bk-plus { font: 300 34px var(--font) !important; fill: var(--diagram-ink-2) !important; opacity: .55; pointer-events: none; }
.bk-slot-g.empty:hover .bk-slot, .bk-slot-g:focus-visible .bk-slot { stroke: var(--accent); fill: color-mix(in srgb, var(--accent) 8%, transparent); }
.bk-slot-g.empty:hover .bk-plus { fill: var(--accent) !important; opacity: 1; }
.bk-slot-g:focus { outline: none; }
.bk-slot-g.over .bk-slot, .bk-slot-g.target .bk-slot { stroke: var(--accent); fill: var(--accent-soft); stroke-dasharray: none; stroke-width: 3; }
.bk-slot-g.target .bk-plus, .bk-slot-g.over .bk-plus { fill: var(--accent) !important; opacity: 1; }
.bk-slot-g.target .bk-slot { animation: bk-target 1s ease-in-out infinite; }
@keyframes bk-target { 50% { stroke-width: 5; } }

/* appliances */
.bk-app-name { font: 600 12.5px var(--font); fill: var(--diagram-ink-2) !important; }
.bk-amps { font: 700 13px var(--font-mono); }
.bk-cord { fill: none; stroke: #3b3f44; stroke-width: 3; stroke-linecap: round; }
.bk-plug { fill: #3b3f44; }
.bk-app.clickable { cursor: pointer; }
.bk-app.clickable:focus { outline: none; }
.bk-x { opacity: 0; transition: opacity .15s; pointer-events: none; }
.bk-x circle { fill: var(--warn); }
.bk-x path { stroke: #fff; stroke-width: 2.5; stroke-linecap: round; }
.bk-app.clickable:hover .bk-x, .bk-app.clickable:focus-visible .bk-x { opacity: 1; }
.bk-app-body.just-plugged { animation: bk-drop .35s cubic-bezier(.3, 1.6, .6, 1); transform-box: fill-box; }
@keyframes bk-drop { from { opacity: 0; translate: 0 -14px; } }
.fault-ring { fill: none; stroke: var(--warn); stroke-width: 3; stroke-dasharray: 5 4; animation: bk-spin 6s linear infinite; transform-box: fill-box; transform-origin: center; }
@keyframes bk-spin { to { transform: rotate(360deg); } }
.bk-spark { opacity: 0; pointer-events: none; }
.bk-spark.show { opacity: 1; }
.bk-spark circle { fill: rgba(122, 184, 255, .45); }
.bk-spark path { fill: #fff; stroke: #ffd43b; stroke-width: 2; }

/* appliance art: off by default, comes alive when the circuit is powered */
.ap-on { opacity: 0; transition: opacity .3s; }
.ap-down { opacity: 0; }
.bk-scene.powered .bk-app .ap-on { opacity: 1; }
.bk-scene.powered .bk-app .ap-off-only { opacity: 0; }
.bk-scene.powered .bk-app .ap-down { opacity: 1; transform: translateY(12px); }
.bk-scene.powered .bk-app .ap-hot { fill: #ff6a1f; filter: drop-shadow(0 0 3px #ff8a3d); }
.bk-scene.powered .bk-app .ap-air { stroke-dasharray: 8 6; animation: ap-air .35s linear infinite; }
.bk-scene.powered .bk-app .ap-steam { animation: ap-steam 1.5s ease-out infinite; }
.bk-scene.powered .bk-app .ap-heat, .bk-scene.powered .bk-app .ap-cool { animation: ap-rise 1.4s ease-in-out infinite; }
.bk-scene.powered .bk-app .ap-drip { animation: ap-drip .9s ease-in infinite; }
.bk-scene.powered .bk-app .ap-shake { animation: ap-shake .1s linear infinite; }
.bk-scene.powered .bk-app .ap-shade { fill: #fff3bf; }
.bk-app.in-sink .ap-air, .bk-app.in-sink .ap-on { display: none; }
@keyframes ap-air { to { stroke-dashoffset: -14; } }
@keyframes ap-steam { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: .9; } 100% { transform: translateY(-16px) scale(1.4); opacity: 0; } }
@keyframes ap-rise { 0% { transform: translateY(4px); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(-6px); opacity: 0; } }
@keyframes ap-drip { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }
@keyframes ap-shake { 50% { transform: translate(.8px, -.6px); } }
.ap-steam, .ap-heat, .ap-cool, .ap-drip { transform-box: fill-box; transform-origin: center; }

/* on-picture hints for the short and ground-fault modes */
.bk-tag rect { fill: var(--accent); }
.bk-tag text { font: 700 13px var(--font); fill: #fff !important; }
.bk-tag { animation: bk-bob 1.2s ease-in-out infinite; pointer-events: none; }
.bk-short-hint { cursor: pointer; }
.bk-short-hint:focus { outline: none; }
.bk-short-hit { fill: rgba(255, 212, 59, .25); stroke: #f59f00; stroke-width: 2; }
.bk-short-hint:hover .bk-short-hit, .bk-short-hint:focus-visible .bk-short-hit { fill: rgba(255, 212, 59, .55); }
.bk-short-hint .tap-hint { display: inline; }
.bk-bolt { font-size: 18px; pointer-events: none; }
.bk-fray { fill: none; stroke: #c4772d; stroke-width: 2; }
.bk-drag-hint { pointer-events: none; }
.bk-drag-arrow { fill: none; stroke: var(--accent); stroke-width: 3; stroke-dasharray: 7 6; stroke-linecap: round; stroke-linejoin: round; animation: ap-air .6s linear infinite; }
.bk-sink.over .bk-basin { stroke: var(--accent); stroke-width: 4; }
.bk-app.act-drop { cursor: grab; touch-action: none; }
.bk-app.act-drop:active { cursor: grabbing; }
.bk-app.act-drop:hover .bk-app-body { filter: drop-shadow(0 0 4px var(--accent)); }
.bk-app.act-unplug:hover .bk-app-body { filter: drop-shadow(0 0 3px var(--warn)); }
.bk[data-mode="short"][data-handle="tripped"] .app-badlamp .bk-x, .bk[data-mode="ground"][data-handle="tripped"] .app-dryer .bk-x { opacity: 1; }

/* sink and leak */
.bk-basin { fill: #b9c2ca; stroke: #7d868f; stroke-width: 2; }
.bk-water { fill: #6fb3e6; opacity: .8; }
.bk-sink-top .bk-water { opacity: .65; }
.bk-faucet { fill: none; stroke: #7d868f; stroke-width: 6; stroke-linecap: round; }
.bk-drain { fill: none; stroke: #7d868f; stroke-width: 5; }
.bk-leak { fill: none; stroke: #ffd43b; stroke-width: 4; stroke-dasharray: 0 10; stroke-linecap: round; opacity: 0; }
.bk-leak.show { opacity: 1; animation: bk-leak .5s linear infinite; }
@keyframes bk-leak { to { stroke-dashoffset: -10; } }

/* meter */
.bk-k { font: 700 11px var(--font) !important; letter-spacing: .1em; fill: var(--diagram-ink-2) !important; }
.bk-big { font: 700 36px var(--font-mono) !important; }
.bk-sub { font: 500 13px var(--font) !important; fill: var(--diagram-ink-2) !important; }
.bk-track { fill: var(--bk-track); }
.bk-fill, .bk-fill2 { transition: width .15s linear; }
.bk-fill.green, .bk-fill2.green { fill: #2f9e44; }
.bk-fill.amber, .bk-fill2.amber { fill: #f59f00; }
.bk-fill.red, .bk-fill2.red { fill: #e03131; }
.bk-tick { stroke: var(--diagram-ink-2); stroke-width: 2; stroke-dasharray: 3 3; }
.bk-tick.strong { stroke: var(--diagram-ink); stroke-dasharray: none; stroke-width: 2.5; }
.bk-tick-t { font: 600 11px var(--font); fill: var(--diagram-ink-2) !important; }
.bk-tick-t.strong { fill: var(--diagram-ink) !important; }
.bk-row2-mark { stroke: var(--diagram-ink); stroke-width: 2.5; }
.bk-row2-v { font: 500 12px var(--font) !important; fill: var(--diagram-ink-2) !important; }

@keyframes bk-flicker { 50% { opacity: .4; } }

/* ---------- time-current curve ---------- */
.tc { font-family: var(--font); }
.tc text { fill: var(--diagram-ink); }
.tc-zone.thermal { fill: rgba(245, 159, 0, .09); }
.tc-zone.magnetic { fill: rgba(122, 184, 255, .12); }
.tc-grid { stroke: var(--line); stroke-width: 1; }
.tc-ax { font: 600 12px var(--font); fill: var(--diagram-ink-2) !important; }
.tc-title { font: 600 13px var(--font); fill: var(--diagram-ink-2) !important; }
.tc-line { fill: none; stroke: var(--diagram-ink); stroke-width: 3; stroke-linejoin: round; }
.tc-zone-t { font: 800 12.5px var(--font); letter-spacing: .06em; }
.tc-zone-s { font: 500 12px var(--font); fill: var(--diagram-ink-2) !important; }
.tc-dot circle { fill: var(--accent); stroke: #fff; stroke-width: 3; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .3)); }
.tc-dot-t { font: 700 14px var(--font); paint-order: stroke; stroke: var(--panel); stroke-width: 4px; }
.tc-dot { transition: transform .2s ease-out; }

.terms.two { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

@media (prefers-reduced-motion: reduce) {
  .bk-scene .wire.flowing .flow, .bk-leak.show, .fault-ring, .bk-arc.show, .tap-hint circle, .bk-co-icon, .bk.needs-reset .bk-handle-tip, .bk-tag, .bk-drag-arrow, .bk-type-opt.nudge rect, .bk-callout.flash, .bk-co-why.changed, .bk-co-why.changed .bk-co-why-t { animation: none; }
  .bk-scene.powered .bk-app * { animation: none !important; }
  .tc-dot { transition: none; }
}
