/* Shadow Shield – switch LED add-on v01 (grokbot 2026-11-19).
 * The small light at the top-left of every panel switch / toggle: GREEN with a soft glow when ON,
 * RED with a soft glow when OFF. Only colours change; size, position and animation stay from index-neonGold04.css.
 * Load AFTER index-neonGold04.css. Rollback: remove this <link> from /var/www/shadow-site/app/index.html.
 */
:root{--ns-led-on:#22c55e;--ns-led-off:#ff3b1f}

/* OFF = red (all switch types) */
html body label.switch>.slider::after,
html body label.switch>input:not(:checked)+.slider::after{
  background:radial-gradient(circle at 35% 30%,#ffb09a 0 12%,#ff3b1f 55%,#b51c08 100%);
  box-shadow:0 0 .18em rgba(255,59,31,.75),0 0 .4em rgba(255,59,31,.35)}
html body .sec-check>input[type=checkbox]:not(:checked)::after,
html body input[type=checkbox].av2-sw:not(:checked)::after,
html body .am-mod-sub>input[type=checkbox]:not(:checked)::after,
html body .msg-check>input[type=checkbox]:not(:checked)::after{
  background:radial-gradient(circle at 35% 30%,#ffb09a 0 12%,#ff3b1f 55%,#b51c08 100%)!important;
  box-shadow:0 0 .18em rgba(255,59,31,.75),0 0 .4em rgba(255,59,31,.35)!important}

/* ON = green */
html body label.switch>input:checked+.slider::after{
  background:radial-gradient(circle at 35% 30%,#d9ffe6 0 12%,#22c55e 55%,#15803d 100%);
  box-shadow:0 0 .2em rgba(34,197,94,.85),0 0 .45em rgba(34,197,94,.4)}
html body .sec-check>input[type=checkbox]:checked::after,
html body input[type=checkbox].av2-sw:checked::after,
html body .am-mod-sub>input[type=checkbox]:checked::after,
html body .msg-check>input[type=checkbox]:checked::after{
  background:radial-gradient(circle at 35% 30%,#d9ffe6 0 12%,#22c55e 55%,#15803d 100%)!important;
  box-shadow:0 0 .2em rgba(34,197,94,.85),0 0 .45em rgba(34,197,94,.4)!important}
/* Auto Mod / Aegis cards and the auto-responses button use the same light */
html body .am-mod-card.is-on .am-mod-top .am-mod-new.ghost:not(.is-off)::after,
html body .am-mod-card .am-mod-top .am-mod-state.is-on::after,
html body .ar-addon-fab .ar-status.on::after{
  background:radial-gradient(circle at 35% 30%,#d9ffe6 0 12%,#22c55e 55%,#15803d 100%);
  box-shadow:0 0 .2em rgba(34,197,94,.85),0 0 .45em rgba(34,197,94,.4)}
/* bulk "mixed" master switch (some on, some off) stays amber */
html body label.switch.is-mixed>input+.slider::after{
  background:radial-gradient(circle at 35% 30%,#fff3c4 0 12%,#f5c542 55%,#a8841f 100%);
  box-shadow:0 0 .16em rgba(245,197,66,.8)}
