/* Mockup ohm: plošný spoj (zelená maska, medené cesty, biela sieťotlač) + výsledky ako LCD displeje multimetra. */
.has-oh{--oh-pcb1:#0d6b45;--oh-pcb2:#08482f;--oh-cu:#d9a441;--oh-silk:#f3f6f0;--oh-bezel:#2a2f36;--oh-bezel-t:#d7dce3;--oh-lcd:#c5d2a2;--oh-lcd-t:#18240d;--oh-lcd-edge:#9fae79}
@media(prefers-color-scheme:dark){.has-oh{--oh-pcb1:#0a5538;--oh-pcb2:#053522;--oh-bezel:#14181d;--oh-bezel-t:#c7ced8;--oh-lcd:#0c2b28;--oh-lcd-t:#6ff2dc;--oh-lcd-edge:#1d5450}}

.oh-board{position:relative;margin:.9rem 0 .6rem;border-radius:16px;background:linear-gradient(160deg,var(--oh-pcb1),var(--oh-pcb2));box-shadow:0 10px 26px -12px rgba(5,40,25,.55),0 0 0 1px rgba(0,0,0,.08)}
.oh-board.is-example{opacity:.82}
.oh-exbadge{position:absolute;top:10px;left:14px;z-index:5;font:700 .62rem/1 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.06em;text-transform:uppercase;color:var(--oh-silk);background:rgba(0,0,0,.4);padding:3px 7px;border-radius:999px}
.oh-svg{display:block;width:100%;height:auto;border-radius:16px}
.oh-pcb{fill:transparent}
.oh-hole{fill:#0b0f0d;stroke:#c9a64a;stroke-width:3}
.oh-trace{fill:none;stroke:var(--oh-cu);stroke-width:9;stroke-linejoin:round;filter:drop-shadow(0 1px 0 rgba(0,0,0,.35))}
.oh-flow{fill:none;stroke:#fff8d6;stroke-width:4;stroke-linecap:round;stroke-dasharray:.1 22;animation:oh-flow 1s linear infinite;filter:drop-shadow(0 0 3px #ffe58a)}
.oh-flow.is-off{display:none}
@keyframes oh-flow{from{stroke-dashoffset:22.1}to{stroke-dashoffset:0}}
.oh-via{fill:#e6c06a;stroke:#8a6a22;stroke-width:2}
.oh-plate{stroke:var(--oh-silk);stroke-width:5;stroke-linecap:round}
.oh-plate-n{stroke-width:9}
.oh-silk{fill:var(--oh-silk);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-weight:700}
.oh-val{font-size:20px;font-style:italic}
.oh-num{font-size:16px}
.oh-sm{font-size:20px}
.oh-p{fill:#ffd29a}
.oh-res{fill:#e9d3a6;stroke:#9c7b45;stroke-width:2}
.oh-heat{transition:opacity .4s;mix-blend-mode:screen}
.oh-meter{fill:#10151a;stroke:var(--oh-silk);stroke-width:3}
.oh-meter-a{fill:#ffe58a;font:800 20px ui-monospace,SFMono-Regular,Consolas,monospace}
.oh-arrow{fill:#fff8d6}
@media(prefers-reduced-motion:reduce){.oh-flow{animation:none}}

/* LCD displeje */
.has-oh #out{grid-template-columns:1fr 1fr;gap:.8rem}
.has-oh .tile,.has-oh .tile:first-child{grid-column:auto;background:var(--oh-bezel);border:0;border-radius:14px;padding:.65rem .7rem .75rem;box-shadow:inset 0 -3px 0 rgba(0,0,0,.35),0 4px 12px -6px rgba(0,0,0,.4)}
.has-oh .tile dt,.has-oh .tile:first-child dt{color:var(--oh-bezel-t);font-size:.78rem;font-weight:700;letter-spacing:.03em;padding:0 .2rem .45rem}
.has-oh .tile dd,.has-oh .tile:first-child dd{margin:0;background:var(--oh-lcd);color:var(--oh-lcd-t);-webkit-text-fill-color:currentColor;border-radius:6px;padding:.45rem .7rem;text-align:right;
  font:700 clamp(1.35rem,4.2vw,2.1rem)/1.15 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.04em;box-shadow:inset 0 2px 6px rgba(0,0,0,.28),inset 0 0 0 2px var(--oh-lcd-edge)}
@media(prefers-color-scheme:dark){.has-oh .tile dd,.has-oh .tile:first-child dd{text-shadow:0 0 8px rgba(111,242,220,.55)}}
@media(max-width:400px){.has-oh #out{gap:.55rem}.has-oh .tile dt{font-size:.72rem}}
.oh-svg.is-compact .oh-num{font-size:19px}
.oh-svg.is-compact .oh-val,.oh-svg.is-compact .oh-sm{font-size:23px}
.oh-svg.is-compact .oh-meter-a{font-size:22px}
