/* Shared brand and reading safeguards; page-specific layouts remain intact. */
html:root {color-scheme:light;}
html:root[data-theme="dark"] {color-scheme:dark;}
html:root body[data-experience-refined] {
 --experience-accent:#7c3aed;--experience-hover:#6526cf;--experience-on-accent:#fff;
 --experience-link:#6d28d9;--experience-focus:#7c3aed;--experience-ink:#182b43;
 --experience-muted:#45566e;--experience-paper:#fff;--experience-line:#88749f;
 --experience-soft:#f6f2fc;--experience-pink:#ff2daa;
}
html:root[data-theme="dark"] body[data-experience-refined] {
 --experience-accent:#ff2daa;--experience-hover:#ff70c4;--experience-on-accent:#112238;
 --experience-link:#ff9bd3;--experience-focus:#ff70c4;--experience-ink:#edf3fc;
 --experience-muted:#bbcadf;--experience-paper:#112238;--experience-line:#8c7397;
 --experience-soft:#1d2940;
}
/* Every main action carries the same foreground/background pair in each theme. */
html:root body[data-experience-refined] :is(a,button,span,input).btn.btn-primary {
 background:var(--experience-accent)!important;color:var(--experience-on-accent)!important;
 border-color:var(--experience-accent)!important;text-shadow:none;
}
html:root body[data-experience-refined] :is(a,button,span,input).btn.btn-primary:not(:disabled,[aria-disabled="true"]):hover {
 background:var(--experience-hover)!important;border-color:var(--experience-hover)!important;
 color:var(--experience-on-accent)!important;
}
html:root body[data-experience-refined] :is(a,button,span,input).btn.btn-secondary {
 color:var(--experience-link)!important;border-color:var(--experience-line)!important;
 background:var(--experience-paper)!important;text-shadow:none;
}
html:root body[data-experience-refined] :is(a,button,span,input).btn.btn-secondary:not(:disabled,[aria-disabled="true"]):hover {
 background:var(--experience-soft)!important;border-color:var(--experience-accent)!important;
 color:var(--experience-link)!important;
}
html:root body[data-experience-refined] .btn {
 min-height:46px;max-width:100%;white-space:normal;line-height:1.5;
 overflow-wrap:break-word;text-align:center;
}
html:root body[data-experience-refined] :is(a,button,input,select,textarea,summary):focus-visible {
 outline:3px solid var(--experience-focus);outline-offset:4px;
}
html:root body[data-experience-refined] :is(input[type="checkbox"],input[type="radio"],input[type="range"]) {
 accent-color:var(--experience-accent);
}
html:root body[data-experience-refined] main :is(.article,.learning-prose,.gcc-prose,.policy-copy,.growth-prose) {
 min-width:0;overflow-wrap:break-word;
}
html:root body[data-experience-refined] :is(.article,.learning-prose,.gcc-prose,.policy-copy,.growth-prose) p {
 line-height:1.8;
}
html:root body[data-experience-refined] :is(.article,.learning-prose,.gcc-prose,.policy-copy,.growth-prose,.content-review,.site-example-link) a:not(.btn) {
 color:var(--experience-link);text-decoration-thickness:1px;text-underline-offset:3px;
}
html:root body[data-experience-refined] main :is(.grid,.page-hero-grid,.content-layout,.fields,.calculator,.actions,.clarity-route-grid) > * {
 min-width:0;
}
html:root body[data-experience-refined] main :is(img,video) {max-width:100%;}
html:root body[data-experience-refined] main :is(h1,h2,h3) {overflow-wrap:break-word;}
html:root body[data-experience-refined] :is(.breadcrumbs,.bread-crumb,.contact-method,.home-email-row) {overflow-wrap:anywhere;}
html:root body[data-experience-refined] :is(.table-scroll,.scroll) {
 max-width:100%;overscroll-behavior-inline:contain;scrollbar-color:var(--experience-line) transparent;
}
html:root body[data-experience-refined] .table-scroll:focus-visible {
 outline:3px solid var(--experience-focus);outline-offset:4px;
}
/* Pink remains a restrained decorative note on the light-mode main pages. */
html:root body[data-experience-hub] .neon-edge {
 background:linear-gradient(90deg,transparent 3%,var(--experience-accent) 22%,var(--experience-pink) 73%,transparent 97%);
}
html:root body[data-experience-hub] .clarity-route-card {border-top-color:var(--experience-accent);}
html:root body[data-experience-hub] .clarity-route-card:nth-child(3n) {border-top-color:var(--experience-pink);}
html:root body[data-experience-hub] .clarity-route-card:hover {border-color:var(--experience-accent);}
html:root body[data-experience-refined] .home-specialist-more {
 display:flex;flex-wrap:wrap;align-items:center;gap:8px 22px;padding-top:18px;
 margin:18px 0 0;border-top:1px solid var(--clarity-line);font-size:.9rem;line-height:1.7;
 color:var(--experience-muted);
}
html:root body[data-experience-refined] .home-specialist-more a {
 display:inline-flex;align-items:center;min-height:44px;color:var(--experience-link);
 font-weight:650;text-underline-offset:4px;
}
@media(max-width:760px) {
 html:root body[data-experience-refined] .btn {min-height:48px;font-size:.95rem;}
 html:root body[data-experience-refined] :is(input,select,textarea):not([type="checkbox"],[type="radio"],[type="range"]) {
  font-size:16px;max-width:100%;
 }
 html:root body[data-experience-refined] main .actions {gap:12px;flex-wrap:wrap;}
 html:root body[data-experience-refined] main :is(.article,.learning-prose,.gcc-prose,.policy-copy,.growth-prose) {max-width:100%;}
 html:root body[data-experience-refined] .home-specialist-more {gap:4px 18px;}
}
@media(forced-colors:active) {
 html:root body[data-experience-refined] :is(a,button,span,input).btn:is(.btn-primary,.btn-secondary),
 html:root body[data-experience-refined] :is(a,button,span,input).btn:is(.btn-primary,.btn-secondary):not(:disabled,[aria-disabled="true"]):hover,
 html:root body[data-experience-refined] main .pc-page.pc-refined a.btn.btn-primary,
 html:root body[data-experience-refined] main .pc-page.pc-refined a.btn.btn-primary:hover {
  forced-color-adjust:auto;background:ButtonFace!important;color:ButtonText!important;border:2px solid ButtonText!important;
 }
 html:root body[data-experience-refined] :is(a,button,input,select,textarea,summary):focus-visible {outline-color:Highlight;}
}
@media print {
 html:root,html:root[data-theme="dark"] {color-scheme:light;}
 html:root body[data-experience-refined] .home-specialist-more {display:none;}
 html:root body[data-experience-refined] :is(.article,.learning-prose,.gcc-prose,.policy-copy,.growth-prose,.content-review,.site-example-link) a:not(.btn) {color:#182b43;}
 html:root body[data-experience-refined] :is(a,button,span,input).btn:is(.btn-primary,.btn-secondary),
 html:root body[data-experience-refined] :is(a,button,span,input).btn:is(.btn-primary,.btn-secondary):not(:disabled,[aria-disabled="true"]):hover,
 html:root body[data-experience-refined] main .pc-page.pc-refined a.btn.btn-primary,
 html:root body[data-experience-refined] main .pc-page.pc-refined a.btn.btn-primary:hover {
  background:#fff!important;color:#182b43!important;border-color:#182b43!important;
 }
}
