/* Exact brand presets; semantic roles also serve native authoring and both themes. */
:root,.editor-styles-wrapper{
 --brand-navy:#0a1d3a;
 --brand-cyan:#00d4ff;
 --brand-turquoise:#00897b;
 --brand-gold:#f5b233;
 --brand-silver:#e6e6ff;
 --brand-paper:#f2f4f7;
 --brand-white:#ffffff;
 /* Accessible tonal variants retain normal-sized white button/link text. */
 --brand-button:#007065;
 --brand-link-light:#005c53;
 --brand-turquoise-ink:var(--brand-button);
 --bg:var(--brand-paper);--surface:var(--brand-white);
 --surface-soft:var(--brand-silver);--surface-elev:var(--brand-paper);
 --surface-dark:var(--brand-silver);--surface-raised:var(--surface);
 --text:var(--brand-navy);--text-muted:var(--brand-navy);--ink-soft:var(--brand-navy);
 --accent:var(--brand-link-light);--accent-hover:var(--brand-link-light);
 --accent-soft:var(--brand-silver);--accent-strong:var(--brand-link-light);
 --accent-contrast:var(--brand-white);--text-on-dark:var(--brand-paper);
 --border:color-mix(in srgb,var(--brand-navy) 24%,var(--brand-paper));
 --border-strong:var(--brand-turquoise);
 --chrome-bg:var(--brand-navy);--chrome-bg-deep:var(--brand-navy);--chrome-panel:var(--brand-navy);
 --chrome-text:var(--brand-paper);--chrome-text-strong:var(--brand-white);
 --chrome-muted:var(--brand-silver);--chrome-accent:var(--brand-cyan);
 --chrome-secondary-text:var(--brand-paper);
 --focus-ring:0 0 0 3px var(--brand-navy),0 0 0 6px var(--brand-cyan);
 --focus-ring-dark:0 0 0 3px var(--brand-cyan);
}
/* Shared chrome actions retain their compact geometry and the dark brand surface. */
.site-header .cws-header-contact .header-cta{background:var(--brand-navy);color:var(--brand-paper);border-color:var(--brand-turquoise)}
.site-header .brand-mark-name a:focus-visible::after{outline-color:var(--brand-cyan)}
.cws-footer :is(.footer-column a,.footer-bottom a,.cws-footer-native-nav a){color:var(--brand-cyan)}
/* Explicit contrast contexts for existing dark sections and inset light surfaces. */
:is(body #main.cws-main,.editor-styles-wrapper) .buyer-section--dark .cws-demo-meta{color:var(--brand-paper)}
:is(body #main.cws-main,.editor-styles-wrapper) .product-category-guide__group--start>header>p,
:is(body #main.cws-main,.editor-styles-wrapper) .product-hierarchy-card__emblem--mono>p{background:var(--brand-navy);color:var(--brand-paper)}
:is(body #main.cws-main,.editor-styles-wrapper) .cws-information-box{color:var(--text)}
:is(body #main.cws-main,.editor-styles-wrapper) :is(.glossary-filters,.de-glossary-filters) button[aria-pressed="true"]{background:var(--brand-button);color:var(--brand-white);border-color:var(--brand-turquoise)}
:root[data-theme="dark"]{
 --bg:var(--brand-navy);--surface:var(--brand-navy);--surface-soft:var(--brand-navy);
 --surface-elev:var(--brand-navy);--surface-dark:var(--brand-navy);--surface-raised:var(--brand-navy);
 --text:var(--brand-paper);--text-muted:var(--brand-silver);--ink-soft:var(--brand-paper);
 --accent:var(--brand-cyan);--accent-hover:var(--brand-cyan);--accent-strong:var(--brand-cyan);--accent-soft:var(--brand-navy);
 --border:color-mix(in srgb,var(--brand-silver) 35%,var(--brand-navy));
 --focus-ring:0 0 0 3px var(--brand-cyan);
}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]){
 --bg:var(--brand-navy);--surface:var(--brand-navy);--surface-soft:var(--brand-navy);
 --surface-elev:var(--brand-navy);--surface-dark:var(--brand-navy);--surface-raised:var(--brand-navy);
 --text:var(--brand-paper);--text-muted:var(--brand-silver);--ink-soft:var(--brand-paper);
 --accent:var(--brand-cyan);--accent-hover:var(--brand-cyan);--accent-strong:var(--brand-cyan);--accent-soft:var(--brand-navy);
 --border:color-mix(in srgb,var(--brand-silver) 35%,var(--brand-navy));
 --focus-ring:0 0 0 3px var(--brand-cyan);
}}
body :is(.btn-primary,.mobile-nav-panel__actions .btn-primary),
:is(body #main.cws-main,.editor-styles-wrapper) :is(.cws-demo-button,.wp-block-button.cws-demo-button>.wp-block-button__link,.s1-primary>.wp-block-button__link){
 background:var(--brand-button);color:var(--brand-white);border-color:var(--brand-turquoise);
 border-radius:12px;text-decoration:none;
}
body :is(.btn-primary,.mobile-nav-panel__actions .btn-primary):hover,
:is(body #main.cws-main,.editor-styles-wrapper) :is(.cws-demo-button,.wp-block-button.cws-demo-button>.wp-block-button__link,.s1-primary>.wp-block-button__link):hover{
 background:var(--brand-link-light);color:var(--brand-white);
}
:is(body #main.cws-main,.editor-styles-wrapper) :is(.cws-project-cta,.ip-inspector,.ip-live-caption){
 background:var(--brand-navy);color:var(--brand-paper);
 --text:var(--brand-paper);--text-muted:var(--brand-silver);--accent:var(--brand-cyan);
}
:is(body #main.cws-main,.editor-styles-wrapper) :is(a.cws-project-button,.cws-project-button>.wp-block-button__link){background:var(--brand-paper);color:var(--brand-navy)}
body :is(a,button,input,textarea,select,summary,[tabindex]):focus-visible{outline:3px solid var(--brand-navy);outline-offset:3px;box-shadow:0 0 0 6px var(--brand-cyan)}
body :is(.site-header,.cws-footer,.s1-visual) :focus-visible,
html[data-theme="dark"] body :is(a,button,input,textarea,select,summary,[tabindex]):focus-visible{outline-color:var(--brand-cyan);box-shadow:none}
