/* ModMaker Pro: one on/off switch per wizard step (MOCKUP, 2026-11-04, contract 1.34.0). Black and silver: silver switches, never green.
   Load after stepper.css and brand/*.css. Roots: .stg-sw (in every .stp .sth), .stg-off (in the step body), .stg-cap, #stg-meter. */
.stp .sth .stg-sw{margin-left:auto}
.stg-sw{flex:none;display:inline-flex;align-items:center;gap:9px;height:32px;padding:0 4px 0 10px;border-radius:999px;border:0;background:transparent;cursor:pointer;
  font:700 12.5px/1 var(--sp-font-ui);color:var(--sp-text-2)}
.stg-sw:focus-visible{outline:none;box-shadow:var(--sp-focus-ring)}
.stg-sw .tr{position:relative;width:42px;height:24px;border-radius:999px;background:#16161b;box-shadow:inset 0 0 0 1px rgba(212,215,221,.30);transition:background .18s}
.stg-sw .tr::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:var(--sp-silver-500);box-shadow:0 1px 3px rgba(0,0,0,.6);transition:transform .18s,background .18s}
.stg-sw[aria-checked=true] .tr{background:var(--sp-grad-satin);box-shadow:inset 0 0 0 1px rgba(255,255,255,.55),0 0 14px rgba(214,218,228,.16)}
.stg-sw[aria-checked=true] .tr::after{transform:translateX(18px);background:var(--sp-accent-ink)}
.stg-sw[aria-checked=true] .lb{color:var(--sp-text)}
.stg-sw.refused .tr{animation:stg-nudge .32s}
@keyframes stg-nudge{25%{transform:translateX(-3px)}75%{transform:translateX(3px)}}
/* the old per-step switches move up into the header: hide the duplicates */
body.stg-on .stg-dupe{display:none!important}
/* off: header dims, the body collapses to one line */
.stp.stg-is-off .ttl b{color:var(--sp-text-2)}
.stp.stg-is-off .ni{background:rgba(255,255,255,.05);box-shadow:inset 0 0 0 1px rgba(212,215,221,.16);color:var(--sp-muted)}
.stp.stg-is-off .ni svg{filter:none}
.stp.stg-is-off.open{box-shadow:inset 0 0 0 1px rgba(212,215,221,.14);background:rgba(255,255,255,.012)}
.stp.stg-is-off .bd>:not(.stg-off):not(.stg-cap){display:none!important}
.stg-off{display:none;align-items:center;gap:10px;margin:2px 0 6px;padding:11px 13px;border-radius:12px;font-size:13px;line-height:1.45;color:var(--sp-text-2);
  background:rgba(10,10,12,.6);box-shadow:inset 0 0 0 1px rgba(212,215,221,.10)}
.stg-off svg{flex:none;width:16px;height:16px;color:var(--sp-silver-500)}
.stg-off b{color:var(--sp-text);font-weight:700}
.stg-off small{display:block;color:var(--sp-muted);font-size:12px}
.stp.stg-is-off .stg-off{display:flex}
/* the 7-layer cap: inline, under the header, never a pop-up */
.stg-cap{display:flex;gap:10px;margin:0 0 8px;padding:11px 13px;border-radius:12px;font-size:12.5px;line-height:1.45;color:var(--sp-text);
  background:rgba(255,200,97,.08);box-shadow:inset 0 0 0 1px rgba(255,200,97,.36)}
.stg-cap[hidden]{display:none}
.stg-cap svg{flex:none;width:16px;height:16px;margin-top:1px;color:var(--sp-warn)}
.stg-cap b{color:var(--sp-warn)}
.stg-cap .acts{display:flex;gap:8px;margin-top:8px;flex-wrap:wrap}
.stg-cap .acts button{height:28px;padding:0 10px;border-radius:8px;border:0;font:700 12px var(--sp-font-ui);cursor:pointer;color:var(--sp-text);background:rgba(255,255,255,.07);box-shadow:inset 0 0 0 1px rgba(212,215,221,.24)}
.stg-cap .acts button:hover{background:rgba(255,255,255,.11)}
.stg-cap .acts button:focus-visible{outline:none;box-shadow:var(--sp-focus-ring)}
/* step list: off steps get a dim ring dot and dim text; the bar segment goes hollow */
.stp-lbl button.stg-offl{color:var(--sp-dim)!important;font-weight:600!important}
.stp-lbl button.stg-offl::before{content:"";display:inline-block;width:6px;height:6px;margin:0 5px 1px 0;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--sp-dim);vertical-align:middle}
.stp-lbl button.stg-offl.cur{color:var(--sp-text-2)!important}
.stp-lbl button:not(.stg-offl)::before{content:"";display:inline-block;width:6px;height:6px;margin:0 5px 1px 0;border-radius:50%;background:var(--sp-silver-300);vertical-align:middle}
.stp-bar span.stg-offb{background:transparent!important;box-shadow:inset 0 0 0 1px rgba(212,215,221,.22)!important}
.stp-bar span.stg-offb.cur{box-shadow:inset 0 0 0 1px rgba(212,215,221,.6)!important}
.stp-lbl button.cur:not(.stg-offl){color:var(--sp-silver-100)!important}
.stp-bar span.cur:not(.stg-offb){background:var(--sp-silver-100)!important}
/* layer meter in the step bar header */
#stg-meter{display:inline-flex;align-items:center;gap:6px;margin-left:10px;font:700 11.5px var(--sp-font-ui);color:var(--sp-text-2)}
#stg-meter .c{display:inline-flex;gap:2px}
#stg-meter .c i{width:5px;height:10px;border-radius:2px;background:rgba(212,215,221,.16)}
#stg-meter .c i.u{background:var(--sp-silver-300)}
#stg-meter.full{color:var(--sp-warn)}
#stg-meter.full .c i.u{background:var(--sp-warn)}
@media (prefers-reduced-motion:reduce){ .stg-sw .tr,.stg-sw .tr::after{transition:none} .stg-sw.refused .tr{animation:none} }
/* ---- 1.2.5 test1 additions (not in the mockup kit) ---- */
/* Blood: one switch at the top of the step bar. Off = "Tracers only" (a tracers-only pack, no blood events) */
.stg-blood{display:flex;align-items:center;gap:10px;margin:0 0 10px;padding:8px 6px 8px 10px;border-radius:12px;background:rgba(10,10,12,.55);box-shadow:inset 0 0 0 1px rgba(212,215,221,.12)}
.stg-blood .ic{width:26px;height:26px;border-radius:8px;display:grid;place-items:center;background:var(--sp-raised);color:var(--sp-silver-300)}
.stg-blood .ic svg{width:15px;height:15px}
.stg-blood .t{display:flex;flex-direction:column;gap:1px;min-width:0}
.stg-blood .t b{font-size:13px;font-weight:750;color:var(--sp-text)}
.stg-blood .t small{font-size:11.5px;color:var(--sp-muted)}
.stg-blood .stg-sw{margin-left:auto}
.stg-blood.off{box-shadow:inset 0 0 0 1px rgba(212,215,221,.22)}
.stg-blood.off .ic{color:var(--sp-muted);background:rgba(255,255,255,.04)}
/* Glitter auto-off with a PNG sign: the switch reads Off with the reason; the PNG picker stays open (the picture ships) */
.stg-note{display:flex;align-items:center;gap:10px;margin:2px 0 8px;padding:10px 13px;border-radius:12px;font-size:13px;line-height:1.45;color:var(--sp-text-2);background:rgba(10,10,12,.6);box-shadow:inset 0 0 0 1px rgba(212,215,221,.10)}
.stg-note[hidden]{display:none}
.stg-note svg{flex:none;width:16px;height:16px;color:var(--sp-silver-500)}
.stg-note b{color:var(--sp-text);font-weight:700}
.stg-note small{display:block;color:var(--sp-muted);font-size:12px}
/* base range sliders: silver, not the browser blue (design Q9, Jay approved the mockup) */
#panel input[type=range],.wiz-amt input[type=range],.bd-row input[type=range],#killfx-body input[type=range],.pv-shd input[type=range]{accent-color:var(--sp-silver-300,#d4d7dd)}
