/* App-wide visual status: ok = green ✅, err = red ⚠, busy = amber + spinner, off = grey. Never blue (blue = clickable). */
:root{--st-ok-bg:#e6f6ea;--st-ok-fg:#14532d;--st-ok-bd:#9fd9b0;--st-err-bg:#fdecec;--st-err-fg:#8a1c1c;--st-err-bd:#f0a8a8;--st-busy-bg:#fff4d6;--st-busy-fg:#7a4b00;--st-busy-bd:#f0cf7a;--st-off-bg:#efefef;--st-off-fg:#4a4a4a;--st-off-bd:#d6d6d6}
html[data-theme="dark"],html[data-theme="gray"]{--st-ok-bg:#12351f;--st-ok-fg:#a7f0bf;--st-ok-bd:#2e7a4a;--st-err-bg:#3d1616;--st-err-fg:#ffb4b4;--st-err-bd:#8a3434;--st-busy-bg:#3a2c08;--st-busy-fg:#ffd98a;--st-busy-bd:#8a6a1c;--st-off-bg:#2a2d33;--st-off-fg:#c9ccd2;--st-off-bd:#454a52}
html[data-theme="hc"]{--st-ok-bg:#000;--st-ok-fg:#7dff9b;--st-ok-bd:#7dff9b;--st-err-bg:#000;--st-err-fg:#ff8080;--st-err-bd:#ff8080;--st-busy-bg:#000;--st-busy-fg:#ffd24d;--st-busy-bd:#ffd24d;--st-off-bg:#000;--st-off-fg:#ddd;--st-off-bd:#ddd}
.vc-pill,[data-vs]{display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border-radius:999px;border:1px solid;font-weight:600;line-height:1.4;font-size:.92em;max-width:100%;white-space:normal}
.vc-banner{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;padding:10px 12px;border-radius:12px;border:1px solid;font-weight:700;margin:2px 0 8px}
.vc-banner small{font-weight:500;opacity:.9}
.vc-pill.ok,.vc-banner.ok,[data-vs="ok"]{background:var(--st-ok-bg)!important;color:var(--st-ok-fg)!important;border-color:var(--st-ok-bd)!important}
.vc-pill.err,.vc-banner.err,[data-vs="err"]{background:var(--st-err-bg)!important;color:var(--st-err-fg)!important;border-color:var(--st-err-bd)!important}
.vc-pill.busy,.vc-banner.busy,[data-vs="busy"]{background:var(--st-busy-bg)!important;color:var(--st-busy-fg)!important;border-color:var(--st-busy-bd)!important}
.vc-pill.off,.vc-banner.off,[data-vs="off"]{background:var(--st-off-bg)!important;color:var(--st-off-fg)!important;border-color:var(--st-off-bd)!important}
[data-vs="ok"][data-ico="1"]::before{content:"✅"}
[data-vs="err"][data-ico="1"]::before{content:"⚠"}
.vc-pill.busy::before,.vc-banner.busy::before,[data-vs="busy"]::before{content:"";width:.9em;height:.9em;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:vcspin .8s linear infinite;flex:none}
@keyframes vcspin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){[data-vs="busy"]::before,.vc-pill.busy::before,.vc-banner.busy::before{animation:none}}
.vc-toast[data-vs]{border-radius:12px;padding:8px 12px}
summary .vc-pill,.prof-row>summary .prof-hint .vc-pill{min-height:0!important;min-width:0!important;height:auto!important;padding:2px 10px!important;border-radius:999px!important;align-self:center!important;box-shadow:none!important;font-size:.85rem!important;line-height:1.4!important}
