/* =====================================================================
   REF615 front (HMI) - shared by the desktop and the mobile switchgear pages (19 Oct 2026)
   drawn by swgRelayFace() in switchgear.js: ABB plate, black LCD bezel with the feeder mimic,
   11 programmable LEDs with label slots, READY / START / TRIP, keys, navigation cross, I / O, front port.
   It is a picture of the relay - nothing on it is a control.
   ===================================================================== */
.swc .swc-hmi { fill: #d6d9db; stroke: #9aa0a3; stroke-width: 1.1; }
.swc-abb { font-family: Arial, Helvetica, sans-serif !important; font-weight: 900; font-size: 14px; fill: #d3121c; letter-spacing: .5px; }
.swc-mod { font-family: Arial, Helvetica, sans-serif !important; font-weight: 700; font-size: 10.5px; fill: #3b4146; letter-spacing: .8px; }
.swc .swc-bezel { fill: #15191c; stroke: #0a0c0d; stroke-width: 1; }
.swc .swc-lcd { fill: #0b1612; stroke: #2f3a35; stroke-width: .8; }
.swc.live .swc-lcd { fill: #0f2c21; }
.swc.trip .swc-lcd { fill: #2c1310; }
.swc-slot { fill: #f4f5f1; stroke: #a9aeb0; stroke-width: .35; }
.swc .swc-led { fill: #7b8184; stroke: #4c5254; stroke-width: .6; }
.swc .swc-led.prog { stroke-width: .5; }
.swc.live .swc-led.ready { fill: #3ddc84; filter: drop-shadow(0 0 1.6px #3ddc84); }
.swc .swc-led.start { fill: #8a7a52; }
.swc.trip .swc-led.trip { fill: #ff4a36; filter: drop-shadow(0 0 2px #ff4a36); animation: swcBlink 1s linear infinite; }
.swc .swc-led.lr { fill: #6a7a70; }
.swc.live .swc-led.lr { fill: #e3a94b; }
.swc .swc-rt { font-size: 6.3px; fill: #2f3539; font-weight: 600; letter-spacing: .2px; }
.swc-key { fill: #a9aeb1; stroke: #6d7478; stroke-width: .8; }
.swc-kt { font-size: 7px; font-weight: 700; fill: #23282b; }
.swc-arw { fill: #2b3135; }
.swc-ent { fill: #8e9498; stroke: #5d6468; stroke-width: .8; }
.swc-chk { fill: none; stroke: #1c2124; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.swc .swc-pbi { fill: #e0563d; stroke: #8a2b1b; stroke-width: .8; }
.swc .swc-pbo { fill: #4cb17d; stroke: #2a6e49; stroke-width: .8; }
.swc .swc-pbt { font-size: 14px; font-weight: 800; fill: #10141a; text-anchor: middle; }
.swc-port { fill: #262b2e; stroke: #111; stroke-width: .6; }
.swc-pins { stroke: #c9a227; stroke-width: 1; fill: none; }
/* big front in the detail panel */
.swc.swc-front { max-width: none; width: 100%; margin: 0; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .45)); }
.swc.swc-front text { text-transform: none; }
.swc.swc-front .swc-lt { fill: #5f8d78; }
.swc.swc-front.live .swc-lt { fill: #8fe6b8; }
.swc.swc-front.trip .swc-lt { fill: #ffb0a4; }
