/* DS-179: route-scoped CSSOM token owner, loaded by WordPress as an external stylesheet.
   Three preview rules plus two suggestion-ink rules; no new rule per user selection. Browser JS
   may mutate declarations of THIS same-origin stylesheet, never element.style.
   Fixed defaults keep the previews readable with JavaScript disabled. */
#bs-preview {
 --bs-primary:#2A6DF4;--bs-secondary:#14B8A6;--bs-accent:#F59E0B;
 --bs-background:#F7F9FC;--bs-surface:#FFFFFF;--bs-text:#182237;
 --bs-border:#CBD5E1;--bs-success:#16713D;--bs-error:#B91C1C;
 --bs-onprimary:#FFFFFF;--bs-onaccent:#000000;
}
#viz-preview,#viz-preview-other {
 --viz-primary:#4338CA;--viz-accent:#E4B214;
 --viz-background:#F7F8FC;--viz-surface:#FFFFFF;--viz-text:#182237;--viz-border:#CBD5E1;
 --viz-primary-ink:#FFFFFF;--viz-accent-ink:#000000;
}
#viz-preview {--viz-primary:#4338CA;--viz-accent:#E4B214;--viz-background:#F7F8FC;--viz-surface:#FFFFFF;--viz-text:#182237;--viz-border:#CBD5E1;--viz-primary-ink:#FFFFFF;--viz-accent-ink:#000000}
#viz-preview-other {--viz-primary:#4338CA;--viz-accent:#E4B214;--viz-background:#111827;--viz-surface:#202B3D;--viz-text:#F7F9FC;--viz-border:#64748B;--viz-primary-ink:#FFFFFF;--viz-accent-ink:#000000}

/* Suggestions: exact foreground (not just black/white) with SVG background. */
#viz-suggest-before{color:#182237}
#viz-suggest-after{color:#182237}

/* The owner signature survives ordinary CSS concatenation/minification.  If a
   critical-CSS plugin strips it, token mutation fails closed (no unsafe inline). */
:root { --sm-runtime-owner: sm179; }
/* Palette Editor: fallback first paint with no script or unavailable storage. */
#pg-ref-site {
 --pg-ui-primary:#2A6DF4;--pg-ui-hover:#1D4ED8;--pg-ui-soft:#EFF6FF;
 --pg-ui-border:#CBD5E1;--pg-ui-text:#182235;--pg-ui-surface:#FFFFFF;
}
#pg-access-sample {color:#182237;background-color:#FFFFFF}

/* DS-180: single, route-scoped CSSOM owners; no inline color declarations.
 * The defaults are legible even when JavaScript is unavailable or blocked. */
#pv {color:#111111;background-color:#FFFFFF}
#gp {--sm-gradient-image:linear-gradient(135deg,#2A6DF4 0%,#E4B214 100%);background-color:#DCE7FB;background-image:var(--sm-gradient-image)}
