/* brand.css - Spectrum Medical X-Ray brand slot (theme-default), deployed by scripts\p6-brand-deploy.ps1 (2026-10-21).
 * Colours from the Spectrum emblem: crimson #801010, navy #084060, charcoal text #39393b. The colour schemes
 * (group 'spectrum', written by scripts\p6-content.py) carry the backgrounds and button colours; this sheet only
 * adds the few tokens the schemes cannot express. */
:root {
  --sx-crimson: #801010;
  --sx-navy: #084060;
  --sx-charcoal: #39393b;
}
main a:not(.btn):not(.nav-link):not(.dropdown-item) { color: var(--sx-crimson); }
main a:not(.btn):not(.nav-link):not(.dropdown-item):hover { color: #5e0b0b; }
.btn-primary:hover, .btn-primary:focus { background-color: #5e0b0b; border-color: #5e0b0b; }
.btn-outline-primary:hover { background-color: var(--sx-crimson); border-color: var(--sx-crimson); color: #fff; }
/* the acting-for bar (impersonation) in navy so the presenter can point at it */
[data-dw-itemtype="Swift-v2_ImpersonationBar"] { background-color: var(--sx-navy); color: #fff; }
[data-dw-itemtype="Swift-v2_ImpersonationBar"] a { color: #fff; }
/* order state badges in the customer center keep the state colour the backend shows */
.sx-state { display: inline-block; padding: .15rem .5rem; border-radius: .25rem; font-size: .875rem; }
/* a grid row whose columns render nothing (price table, add-to-cart, related products for an anonymous visitor) still
 * leaves its spacing; collapse it. The row comes back when content does. (swift-page-build-mcp-10-28-12) */
main section[data-swift-gridrow]:not(:has([data-swift-gridcolumn] *)) { display: none; }
/* icon-only crimson buttons (the header account circle): the icon stays white on hover and focus, 10.5:1 on #801010, 12:1 on #5e0b0b */
.btn.btn-primary svg, .btn.btn-primary svg *, .btn.btn-primary:hover svg, .btn.btn-primary:hover svg *, .btn.btn-primary:focus svg, .btn.btn-primary:focus svg * { fill: #ffffff; color: #ffffff; }
