/* RC, RL and RLC circuit scope: the circuit diagram, the oscilloscope screen and the Bode marker. */
.eb-sim .cs-num { width: 7rem; }
.eb-sim .cs-note { margin: 0; font-size: 0.8rem; color: var(--ec-color-text-muted); }

/* circuit diagram (theme colours: CH1 = series 2, CH2 = series 1, current = series 4) */
.eb-sim-draw .cs-wire { fill: none; stroke: currentColor; stroke-width: 2; }
.eb-sim-draw .cs-ko { fill: var(--ec-color-surface); stroke: none; }
.eb-sim-draw .cs-sym { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.eb-sim-draw .cs-sym.cs-ko { fill: var(--ec-color-surface); }
.eb-sim-draw .cs-sym.cs-fill { fill: var(--ec-color-surface); }
.eb-sim-draw .cs-sym.cs-out { stroke: var(--eb-sim-1); stroke-width: 3; }
.eb-sim-draw .cs-plate { stroke-width: 3.4; stroke-linecap: butt; }
.eb-sim-draw .cs-val { fill: var(--ec-color-text); font-size: 13px; }
.eb-sim-draw .cs-p1 { fill: var(--eb-sim-2); font-size: 13px; font-weight: 700; }
.eb-sim-draw .cs-p2 { fill: var(--eb-sim-1); font-size: 13px; font-weight: 700; }
.eb-sim-draw .cs-term { fill: var(--ec-color-surface); stroke: currentColor; stroke-width: 1.8; }
.eb-sim-draw .cs-dots circle { fill: var(--eb-sim-4); }

/* oscilloscope: a dark screen in both themes, like the instrument */
.eb-sim-draw .cs-bezel { fill: #1c2220; }
.eb-sim-draw .cs-screen { fill: #07110d; stroke: #46524d; stroke-width: 2; }
.eb-sim-draw .cs-grid { fill: none; stroke: #7d9a8b; stroke-opacity: 0.32; stroke-width: 1; }
.eb-sim-draw .cs-tick { fill: none; stroke: #9db8aa; stroke-opacity: 0.6; stroke-width: 1; }
.eb-sim-draw .cs-trig { fill: #ff9d45; }
.eb-sim-draw .cs-ch1 { color: #f5d742; }
.eb-sim-draw .cs-ch2 { color: #4fd6f2; }
.eb-sim-draw .cs-ch3 { color: #f383de; }
.eb-sim-draw .cs-tr { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.eb-sim-draw .cs-prev { opacity: 0.3; }
.eb-sim-draw .cs-head { fill: currentColor; stroke: #ffffff; stroke-opacity: 0.7; stroke-width: 1; }
.eb-sim-draw .cs-lab { fill: currentColor; font-family: var(--ec-font-mono); font-size: 14px; }
.eb-sim-draw .cs-dim { color: #c3cec8; }

/* Bode plots */
.eb-sim-plot .grid line.cs-minor { stroke-opacity: 0.45; }
.eb-sim-plot .cs-handle { fill: transparent; cursor: ew-resize; touch-action: none; }
.eb-sim-plot .cs-grip { fill: none; stroke: var(--ec-color-text); stroke-width: 1.5; stroke-dasharray: 3 3; pointer-events: none; }
