/*
 * Accessibility module: Feasterville Dentistry theme.
 * Loaded AFTER the functional stylesheets (widget.base*.css). It only restyles
 * the panel UI (launcher, dialog, reader chrome) with the site's navy / blush
 * palette, Bricolage Grotesque + Figtree and pill shapes. The page-adjustment
 * rules (contrast, spacing, highlights...) stay untouched in widget.base.css.
 */
:root {
    --bpdac-accent: #031B43;
    --bpdac-launcher-color: #031B43;
    --bpdac-ink: #031B43;
    --bpdac-muted: #4A5873;
    --bpdac-line: #EDE3DE;
    --bpdac-soft: #FBF4F1;
    --bpdac-warm: #F3E7E1;
    --bpdac-focus: #9B1C27;
    --bpdac-shadow: 0 30px 80px -20px rgba(3, 27, 67, .35), 0 8px 24px -8px rgba(3, 27, 67, .18);
    --a11y-navy: #031B43;
    --a11y-navy-2: #0B2652;
    --a11y-navy-3: #13305F;
    --a11y-blush: #FBF4F1;
    --a11y-blush-2: #F3E7E1;
    --a11y-mark: #9B1C27;
    --a11y-display: "Bricolage Grotesque", system-ui, sans-serif;
    --a11y-body: "Figtree", system-ui, sans-serif;
    --a11y-ease: cubic-bezier(.2, .8, .2, 1);
}

#bpdac-access-center-root,
.bpdac-reader-overlay {
    --bpdac-panel-ink: #031B43;
    --bpdac-panel-dark: #031B43;
    --bpdac-panel-line: #EDE3DE;
    --bpdac-panel-soft: #FBF4F1;
    --bpdac-panel-soft-strong: #F3E7E1;
    --bpdac-panel-muted: #4A5873;
    --bpdac-panel-accent: #031B43;
    --bpdac-panel-focus: #9B1C27;
    --bpdac-v214-black: #031B43;
    --bpdac-v214-selected: #F3E7E1;
    --bpdac-v214-selected-border: #031B43;
}

/* ── Launcher: navy pill, matches the site's primary buttons ─────────────── */
html body #bpdac-access-center-launcher {
    min-height: 56px;
    padding: 8px 18px 8px 8px;
    border: 0;
    border-radius: 999px;
    background: var(--a11y-navy);
    box-shadow: 0 14px 34px -10px rgba(3, 27, 67, .55), inset 0 0 0 1px rgba(255, 255, 255, .12);
    transition: transform .35s var(--a11y-ease), box-shadow .35s, background .3s;
    font-family: var(--a11y-body);
}
html body #bpdac-access-center-launcher:hover {
    background: var(--a11y-navy-3);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -12px rgba(3, 27, 67, .6), inset 0 0 0 1px rgba(255, 255, 255, .18);
}
html body #bpdac-access-center-launcher .bpdac-center-launcher-mark {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: var(--a11y-navy);
    font-family: var(--a11y-display);
    font-weight: 700;
    font-size: 16px;
}
html body #bpdac-access-center-launcher .bpdac-center-launcher-copy strong {
    color: #fff;
    font-family: var(--a11y-body);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0;
}
html body #bpdac-access-center-launcher .bpdac-center-launcher-copy small { color: #AEBBD2; font-family: var(--a11y-body); }
html body #bpdac-access-center-launcher .bpdac-center-launcher-dot { background: var(--a11y-mark); box-shadow: 0 0 0 3px rgba(255, 255, 255, .85); }

/* Launcher side + offsets are injected from accessibility.config.ts (AccessibilityModule.tsx) */

/* ── Panel shell ─────────────────────────────────────────────────────────── */
html body #bpdac-access-center-root .bpdac-center-shell {
    border: 1px solid var(--a11y-blush-2);
    border-radius: 28px;
    background: #fff;
    color: var(--a11y-navy);
    box-shadow: var(--bpdac-shadow);
    font-family: var(--a11y-body);
    font-size: 15px;
}
#bpdac-access-center-root .bpdac-center-shell *,
.bpdac-reader-overlay * { font-family: var(--a11y-body); }

#bpdac-access-center-root .bpdac-center-header {
    padding: 20px 22px 18px;
    border-bottom: 1px solid var(--a11y-blush-2);
    background: var(--a11y-blush);
}
#bpdac-access-center-root .bpdac-center-brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--a11y-navy);
    color: #fff;
}
#bpdac-access-center-root .bpdac-center-site-name {
    color: var(--a11y-mark) !important;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}
#bpdac-access-center-root .bpdac-center-heading h2 {
    margin: 2px 0 0;
    color: var(--a11y-navy);
    font-family: var(--a11y-display);
    font-size: 1.55rem;
    font-weight: 600;
    letter-spacing: -.03em;
    line-height: 1.05;
}
#bpdac-access-center-root .bpdac-center-heading p { color: var(--bpdac-muted); max-width: none; }
#bpdac-access-center-root .bpdac-center-hotkey kbd,
#bpdac-access-center-root kbd {
    border: 1px solid var(--a11y-blush-2);
    border-radius: 999px;
    background: #fff;
    color: var(--a11y-navy);
    font-family: var(--a11y-body);
    font-weight: 600;
}

#bpdac-access-center-root #bpdac-page-language {
    border: 1.5px solid var(--a11y-blush-2);
    border-radius: 999px;
    background-color: #fff;
    color: var(--a11y-navy) !important;
    -webkit-text-fill-color: var(--a11y-navy) !important;
    font-weight: 500;
}
#bpdac-access-center-root #bpdac-page-language:hover { border-color: var(--a11y-navy); }

#bpdac-access-center-root .bpdac-center-shell button.bpdac-center-close {
    border: 1.5px solid var(--a11y-blush-2) !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: var(--a11y-navy) !important;
    box-shadow: none !important;
    transition: background .3s, color .3s, border-color .3s !important;
}
#bpdac-access-center-root .bpdac-center-shell button.bpdac-center-close:hover,
#bpdac-access-center-root .bpdac-center-shell button.bpdac-center-close:focus-visible {
    border-color: var(--a11y-navy) !important;
    background: var(--a11y-navy) !important;
    color: #fff !important;
}

/* ── Keyboard-shortcut dock ──────────────────────────────────────────────── */
#bpdac-access-center-root .bpdac-shortcut-dock { border-bottom: 1px solid var(--a11y-blush-2); background: #fff; }
#bpdac-access-center-root .bpdac-shortcut-master,
#bpdac-access-center-root .bpdac-shortcut-guide-button {
    border: 1.5px solid var(--a11y-blush-2) !important;
    border-radius: 18px !important;
    background: #fff !important;
    color: var(--a11y-navy) !important;
    transition: border-color .3s, background .3s;
}
#bpdac-access-center-root .bpdac-shortcut-master:hover,
#bpdac-access-center-root .bpdac-shortcut-guide-button:hover { border-color: var(--a11y-navy) !important; background: var(--a11y-blush) !important; }
#bpdac-access-center-root .bpdac-shortcut-master[aria-pressed="true"] { border-color: var(--a11y-navy) !important; background: var(--a11y-blush) !important; }
#bpdac-access-center-root .bpdac-shortcut-master-icon { background: var(--a11y-blush); color: var(--a11y-navy); border-radius: 50%; }

/* ── Tabs: pill segmented control ────────────────────────────────────────── */
#bpdac-access-center-root .bpdac-center-nav {
    gap: 6px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--a11y-blush-2);
    background: #fff;
}
#bpdac-access-center-root .bpdac-center-tab,
#bpdac-access-center-root .bpdac-center-tab:focus,
#bpdac-access-center-root .bpdac-center-tab:active {
    border: 1.5px solid transparent !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: var(--bpdac-muted) !important;
    -webkit-text-fill-color: var(--bpdac-muted) !important;
    font-weight: 600 !important;
    transition: background .3s, color .3s !important;
}
#bpdac-access-center-root .bpdac-center-tab:hover { background: var(--a11y-blush) !important; color: var(--a11y-navy) !important; -webkit-text-fill-color: var(--a11y-navy) !important; }
#bpdac-access-center-root .bpdac-center-tab.is-current,
#bpdac-access-center-root .bpdac-center-tab.is-current:hover,
#bpdac-access-center-root .bpdac-center-tab.is-current:focus,
#bpdac-access-center-root .bpdac-center-tab.is-current:active {
    border-color: var(--a11y-navy) !important;
    background: var(--a11y-navy) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}
#bpdac-access-center-root .bpdac-center-tab.is-current .bpdac-center-icon { color: #fff !important; }

/* ── Content area ────────────────────────────────────────────────────────── */
#bpdac-access-center-root .bpdac-center-pane { background: #fff; scrollbar-color: var(--a11y-blush-2) transparent; }
#bpdac-access-center-root .bpdac-center-pane h3,
#bpdac-access-center-root .bpdac-center-pane h4 {
    color: var(--a11y-navy);
    font-family: var(--a11y-display);
    letter-spacing: -.02em;
}
#bpdac-access-center-root .bpdac-center-status {
    border: 1px solid var(--a11y-blush-2);
    border-radius: 999px;
    background: var(--a11y-blush);
    color: var(--bpdac-muted);
}
#bpdac-access-center-root .bpdac-center-status.has-active { border-color: var(--a11y-navy); color: var(--a11y-navy); }
#bpdac-access-center-root .bpdac-center-status.has-active .bpdac-center-status-dot { background: var(--a11y-mark); }

#bpdac-access-center-root .bpdac-control-row {
    border: 1.5px solid var(--a11y-blush-2);
    border-radius: 20px;
    background: #fff;
    transition: border-color .3s, background .3s, box-shadow .3s;
}
#bpdac-access-center-root .bpdac-control-row > div > strong,
#bpdac-access-center-root .bpdac-control-row strong { color: var(--a11y-navy); font-weight: 600; }
#bpdac-access-center-root .bpdac-control-row > div > span,
#bpdac-access-center-root .bpdac-control-row small { color: var(--bpdac-muted); }

/* toggle rows */
#bpdac-access-center-root .bpdac-control-row--toggle:hover { border-color: var(--a11y-navy) !important; background: var(--a11y-blush) !important; }
#bpdac-access-center-root .bpdac-control-row--toggle[aria-pressed="true"] {
    border-color: var(--a11y-navy) !important;
    background: var(--a11y-blush) !important;
    box-shadow: 0 8px 22px -14px rgba(3, 27, 67, .5);
}
#bpdac-access-center-root .bpdac-control-icon { background: var(--a11y-blush); border-radius: 50%; }
#bpdac-access-center-root .bpdac-control-row--toggle .bpdac-control-icon { color: var(--a11y-navy) !important; -webkit-text-fill-color: var(--a11y-navy) !important; }
#bpdac-access-center-root .bpdac-control-row--toggle[aria-pressed="true"] .bpdac-control-icon {
    background: var(--a11y-navy) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}
#bpdac-access-center-root .bpdac-check-box { border: 2px solid var(--a11y-blush-2); border-radius: 50%; }
#bpdac-access-center-root .bpdac-control-row--toggle[aria-pressed="true"] .bpdac-check-box { border-color: var(--a11y-navy); background: var(--a11y-navy); }

/* steppers */
#bpdac-access-center-root .bpdac-number-control { border: 1.5px solid var(--a11y-blush-2); border-radius: 999px; background: var(--a11y-blush); overflow: hidden; }
#bpdac-access-center-root .bpdac-number-control button,
#bpdac-access-center-root .bpdac-number-control button:focus,
#bpdac-access-center-root .bpdac-number-control button:active {
    background: transparent !important;
    color: var(--a11y-navy) !important;
    -webkit-text-fill-color: var(--a11y-navy) !important;
    transition: background .3s, color .3s;
}
#bpdac-access-center-root .bpdac-number-control button:hover,
#bpdac-access-center-root .bpdac-number-control button:focus-visible {
    border-color: transparent !important;
    background: var(--a11y-navy) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

/* segmented choice bars */
#bpdac-access-center-root .bpdac-choice-bar { border-radius: 999px; background: var(--a11y-blush); box-shadow: inset 0 0 0 1.5px var(--a11y-blush-2); }
#bpdac-access-center-root .bpdac-choice-bar button { border-radius: 999px !important; font-weight: 600 !important; }
#bpdac-access-center-root .bpdac-choice-bar button,
#bpdac-access-center-root .bpdac-choice-bar button:focus,
#bpdac-access-center-root .bpdac-choice-bar button:active {
    color: var(--bpdac-muted) !important;
    -webkit-text-fill-color: var(--bpdac-muted) !important;
}
#bpdac-access-center-root .bpdac-choice-bar button:hover { background: var(--a11y-blush-2) !important; color: var(--a11y-navy) !important; -webkit-text-fill-color: var(--a11y-navy) !important; }
#bpdac-access-center-root .bpdac-choice-bar button[aria-pressed="true"],
#bpdac-access-center-root .bpdac-choice-bar button[aria-pressed="true"]:hover {
    background: var(--a11y-navy) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    box-shadow: none !important;
}

/* theme / swatch cards */
#bpdac-access-center-root .bpdac-theme-card { border: 1.5px solid var(--a11y-blush-2); border-radius: 18px; }
#bpdac-access-center-root .bpdac-theme-card[aria-pressed="true"],
#bpdac-access-center-root .bpdac-theme-card:hover { border-color: var(--a11y-navy); }

/* ── Footer buttons mirror the site's .btn styles ────────────────────────── */
#bpdac-access-center-root .bpdac-center-footer { border-top: 1px solid var(--a11y-blush-2); background: var(--a11y-blush); }
#bpdac-access-center-root .bpdac-center-shell .bpdac-footer-reset,
#bpdac-access-center-root .bpdac-center-shell .bpdac-footer-done,
#bpdac-access-center-root .bpdac-center-shell .bpdac-footer-report {
    min-height: 44px;
    border-radius: 999px !important;
    font-weight: 600;
    transition: background .3s, color .3s, box-shadow .3s;
}
#bpdac-access-center-root .bpdac-center-shell .bpdac-footer-reset,
#bpdac-access-center-root .bpdac-center-shell .bpdac-footer-report {
    border: 0 !important;
    background: transparent !important;
    color: var(--a11y-navy) !important;
    -webkit-text-fill-color: var(--a11y-navy) !important;
    box-shadow: inset 0 0 0 1.5px var(--a11y-navy) !important;
}
#bpdac-access-center-root .bpdac-center-shell .bpdac-footer-reset:hover,
#bpdac-access-center-root .bpdac-center-shell .bpdac-footer-report:hover {
    background: var(--a11y-navy) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}
#bpdac-access-center-root .bpdac-center-shell .bpdac-footer-done {
    border: 0 !important;
    background: var(--a11y-navy) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}
#bpdac-access-center-root .bpdac-center-shell .bpdac-footer-done:hover { background: var(--a11y-navy-3) !important; }

/* ── Generic buttons / inputs inside the panel (report form, statement...) ─ */
#bpdac-access-center-root .bpdac-center-shell input[type="text"],
#bpdac-access-center-root .bpdac-center-shell input[type="email"],
#bpdac-access-center-root .bpdac-center-shell select,
#bpdac-access-center-root .bpdac-center-shell textarea {
    border: 1.5px solid var(--a11y-blush-2);
    border-radius: 14px;
    background: #fff;
    color: var(--a11y-navy);
    font-family: var(--a11y-body);
}
#bpdac-access-center-root .bpdac-center-shell input:focus,
#bpdac-access-center-root .bpdac-center-shell select:focus,
#bpdac-access-center-root .bpdac-center-shell textarea:focus { border-color: var(--a11y-navy); outline: 0; box-shadow: 0 0 0 3px rgba(3, 27, 67, .12); }
#bpdac-access-center-root .bpdac-report-form [type="submit"] {
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--a11y-navy) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-weight: 600;
}
#bpdac-access-center-root .bpdac-report-form [type="submit"]:hover { background: var(--a11y-navy-3) !important; }

/* focus ring in the site's accent so keyboard users see it on both themes */
.bpdac-center-launcher:focus-visible,
.bpdac-center-dialog button:focus-visible,
.bpdac-center-dialog select:focus-visible,
.bpdac-center-dialog input:focus-visible,
.bpdac-center-dialog textarea:focus-visible {
    outline: 3px solid #9B1C27 !important;
    outline-offset: 3px !important;
}

/* ── Simplified reader overlay ───────────────────────────────────────────── */
.bpdac-reader-shell { border-radius: 28px; box-shadow: var(--bpdac-shadow); }
.bpdac-reader-shell header { background: var(--a11y-blush); border-bottom: 1px solid var(--a11y-blush-2); }
.bpdac-reader-shell header span { color: var(--a11y-mark); }
.bpdac-reader-shell header h2 { font-family: var(--a11y-display); color: var(--a11y-navy); letter-spacing: -.03em; }

/* The site's custom cursor must not hide the system pointer over the panel */
#bpdac-access-center-root,
#bpdac-access-center-root * { cursor: auto; }
#bpdac-access-center-root button,
#bpdac-access-center-root select,
#bpdac-access-center-root [role="tab"],
#bpdac-access-center-root label { cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
    html body #bpdac-access-center-launcher,
    #bpdac-access-center-root * { transition: none !important; }
}

/* fixes after visual pass */
#bpdac-access-center-root .bpdac-center-tab.is-current,
#bpdac-access-center-root .bpdac-center-tab.is-current * {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}
#bpdac-access-center-root .bpdac-center-site-name { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.2; }

/* Simplified reader header: dark text on blush (base styles used white on dark) */
html body .bpdac-reader-overlay .bpdac-reader-shell header { background: var(--a11y-blush) !important; }
html body .bpdac-reader-overlay .bpdac-reader-shell header h2 { color: var(--a11y-navy) !important; -webkit-text-fill-color: var(--a11y-navy) !important; }
html body .bpdac-reader-overlay .bpdac-reader-shell header span { color: var(--a11y-mark) !important; -webkit-text-fill-color: var(--a11y-mark) !important; }
html body .bpdac-reader-overlay .bpdac-reader-shell header .bpdac-reader-close {
    border: 1.5px solid var(--a11y-blush-2) !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: var(--a11y-navy) !important;
    -webkit-text-fill-color: var(--a11y-navy) !important;
}
html body .bpdac-reader-overlay .bpdac-reader-shell header .bpdac-reader-close:hover { background: var(--a11y-navy) !important; color: #fff !important; -webkit-text-fill-color: #fff !important; }
html body .bpdac-reader-section-nav button { border-radius: 999px !important; }

/* ── Level selector (levels.js): replaces the − / + steppers ─────────────── */
#bpdac-access-center-root .a11y-levels-row { grid-template-columns: minmax(0, 1fr) !important; gap: 12px !important; }
#bpdac-access-center-root .a11y-levels-row .bpdac-level-picker { display: none !important; }
#bpdac-access-center-root .a11y-levels {
    display: flex;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    background: var(--a11y-blush);
    box-shadow: inset 0 0 0 1.5px var(--a11y-blush-2);
}
#bpdac-access-center-root .a11y-levels button {
    flex: 1 1 0;
    min-width: 0;
    min-height: 36px;
    padding: 6px 4px;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: var(--bpdac-muted) !important;
    -webkit-text-fill-color: var(--bpdac-muted) !important;
    font: 600 12px/1.1 var(--a11y-body) !important;
    white-space: nowrap;
    cursor: pointer;
    transition: background .3s var(--a11y-ease), color .3s;
}
#bpdac-access-center-root .a11y-levels button:hover { background: var(--a11y-blush-2) !important; color: var(--a11y-navy) !important; -webkit-text-fill-color: var(--a11y-navy) !important; }
#bpdac-access-center-root .a11y-levels button.is-on,
#bpdac-access-center-root .a11y-levels button.is-on:hover {
    background: var(--a11y-navy) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    box-shadow: 0 6px 14px -8px rgba(3, 27, 67, .7);
}

/* ═══ Compact redesign: smaller panel, tighter header, two-column tiles ═════ */
html body #bpdac-access-center-root #bpdac-access-center-dialog .bpdac-center-shell {
    width: min(392px, calc(100vw - 24px)) !important;
    height: min(590px, calc(100vh - 118px)) !important;
    bottom: 88px !important;
    border-radius: 24px;
}
@media (max-width: 600px) {
    html body #bpdac-access-center-root #bpdac-access-center-dialog .bpdac-center-shell {
        width: calc(100vw - 16px) !important;
        right: 8px !important;
        left: 8px !important;
        bottom: 160px !important;
        height: min(520px, calc(100vh - 190px)) !important;
    }
}

/* header */
#bpdac-access-center-root .bpdac-center-header { padding: 12px 14px !important; gap: 10px !important; grid-template-columns: auto minmax(0, 1fr) auto auto !important; }
#bpdac-access-center-root .bpdac-center-brand-mark { width: 38px; height: 38px; }
#bpdac-access-center-root .bpdac-center-brand-mark svg { width: 20px; height: 20px; }
#bpdac-access-center-root .bpdac-center-heading p,
#bpdac-access-center-root .bpdac-center-hotkey { display: none !important; }
#bpdac-access-center-root .bpdac-center-site-name { font-size: 10px; }
#bpdac-access-center-root .bpdac-center-heading h2 { font-size: 1.2rem; margin: 0; }
#bpdac-access-center-root #bpdac-page-language { width: 96px; min-width: 96px; min-height: 34px; font-size: 12px; }
#bpdac-access-center-root .bpdac-center-shell button.bpdac-center-close { width: 36px !important; min-width: 36px !important; max-width: 36px !important; height: 36px !important; min-height: 36px !important; max-height: 36px !important; flex-basis: 36px !important; }

/* shortcut dock → slim bar */
#bpdac-access-center-root .bpdac-shortcut-dock { padding: 8px 12px !important; gap: 8px !important; }
#bpdac-access-center-root .bpdac-shortcut-master { padding: 6px 10px !important; min-height: 0 !important; border-radius: 14px !important; }
#bpdac-access-center-root .bpdac-shortcut-master-copy small { display: none !important; }
#bpdac-access-center-root .bpdac-shortcut-master-copy strong { font-size: 13px; }
#bpdac-access-center-root .bpdac-shortcut-master-icon { width: 28px !important; height: 28px !important; }
#bpdac-access-center-root .bpdac-shortcut-guide-button { padding: 6px 10px !important; min-height: 0 !important; border-radius: 14px !important; font-size: 12px; }
#bpdac-access-center-root .bpdac-shortcut-guide-button svg { display: none; }

/* tabs */
#bpdac-access-center-root .bpdac-center-nav { padding: 8px 12px !important; gap: 4px !important; }
#bpdac-access-center-root .bpdac-center-tab { min-height: 38px !important; padding: 6px 8px !important; font-size: 13px !important; }

/* content */
#bpdac-access-center-root .bpdac-center-status { display: none !important; }
#bpdac-access-center-root .bpdac-center-content { padding-top: 0; }
#bpdac-access-center-root .bpdac-center-pane { padding: 14px 14px 18px !important; }
#bpdac-access-center-root .bpdac-pane-intro { margin-bottom: 10px !important; }
#bpdac-access-center-root .bpdac-pane-intro > span { display: none !important; }
#bpdac-access-center-root .bpdac-pane-intro h3 { font-size: 1.05rem !important; margin: 0 !important; }
#bpdac-access-center-root .bpdac-pane-intro p { font-size: 12.5px !important; margin: 2px 0 0 !important; max-width: none; }

#bpdac-access-center-root .bpdac-control-stack { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px !important; }
#bpdac-access-center-root .bpdac-control-stack > .bpdac-control-row:not(.bpdac-control-row--toggle) { grid-column: 1 / -1; }
#bpdac-access-center-root .bpdac-control-row { border-radius: 16px !important; }
#bpdac-access-center-root .bpdac-control-row--stepper,
#bpdac-access-center-root .bpdac-control-row--choice,
#bpdac-access-center-root .bpdac-control-row--swatches { padding: 10px 12px !important; gap: 8px !important; }
#bpdac-access-center-root .bpdac-control-row--stepper > div > span,
#bpdac-access-center-root .bpdac-control-row--stepper small { display: none !important; }
#bpdac-access-center-root .bpdac-control-row > div > strong,
#bpdac-access-center-root .bpdac-control-row strong { font-size: 13.5px; }

/* toggle tiles */
#bpdac-access-center-root .bpdac-control-row--toggle {
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    gap: 9px !important;
    padding: 9px 10px !important;
    min-height: 54px;
    align-items: center;
}
#bpdac-access-center-root .bpdac-control-row--toggle .bpdac-control-copy small,
#bpdac-access-center-root .bpdac-control-row--toggle kbd { display: none !important; }
#bpdac-access-center-root .bpdac-control-row--toggle .bpdac-control-copy strong { font-size: 13px; line-height: 1.2; }
#bpdac-access-center-root .bpdac-control-icon { width: 32px !important; height: 32px !important; border-radius: 50%; }
#bpdac-access-center-root .bpdac-control-icon svg { width: 17px; height: 17px; }
#bpdac-access-center-root .bpdac-check-box { width: 20px !important; height: 20px !important; }
/* tiles that are active get the navy fill so state is obvious at a glance */
#bpdac-access-center-root .bpdac-control-row--toggle[aria-pressed="true"] { background: var(--a11y-navy) !important; border-color: var(--a11y-navy) !important; }
#bpdac-access-center-root .bpdac-control-row--toggle[aria-pressed="true"] .bpdac-control-copy strong { color: #fff !important; -webkit-text-fill-color: #fff !important; }
#bpdac-access-center-root .bpdac-control-row--toggle[aria-pressed="true"] .bpdac-control-icon { background: rgba(255, 255, 255, .16) !important; }
#bpdac-access-center-root .bpdac-control-row--toggle[aria-pressed="true"] .bpdac-check-box { background: #fff !important; border-color: #fff !important; color: var(--a11y-navy) !important; -webkit-text-fill-color: var(--a11y-navy) !important; }
#bpdac-access-center-root .bpdac-control-row--toggle[aria-pressed="true"]:hover { background: var(--a11y-navy-3) !important; }

/* level selector a touch tighter */
#bpdac-access-center-root .a11y-levels button { min-height: 32px; font-size: 11.5px !important; }
#bpdac-access-center-root .a11y-levels-row { gap: 8px !important; }

/* tool action cards: 2-up */
#bpdac-access-center-root .bpdac-action-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px !important; }
#bpdac-access-center-root .bpdac-action-card { padding: 10px 12px !important; border-radius: 16px !important; min-height: 0 !important; }
#bpdac-access-center-root .bpdac-action-card small,
#bpdac-access-center-root .bpdac-action-card span:not([class]) { font-size: 12px; }

/* footer */
#bpdac-access-center-root .bpdac-center-footer { padding: 8px 12px !important; gap: 8px !important; }
#bpdac-access-center-root .bpdac-center-shell .bpdac-footer-reset,
#bpdac-access-center-root .bpdac-center-shell .bpdac-footer-done,
#bpdac-access-center-root .bpdac-center-shell .bpdac-footer-report { min-height: 38px; padding: 6px 14px; font-size: 13px; }
#bpdac-access-center-root .bpdac-footer-note { display: none; }

/* polish pass */
#bpdac-access-center-root #bpdac-page-language { width: 112px; min-width: 112px; padding: 6px 26px 6px 12px; text-overflow: clip; }
#bpdac-access-center-root .bpdac-center-header { grid-template-columns: auto minmax(0, 1fr) auto auto !important; }
#bpdac-access-center-root .bpdac-shortcut-master-copy strong { white-space: nowrap; font-size: 12.5px; }
#bpdac-access-center-root .bpdac-shortcut-master { flex: 1; min-width: 0; }
#bpdac-access-center-root .bpdac-pane-intro { display: none !important; }
#bpdac-access-center-root .bpdac-center-pane { padding-top: 12px !important; }
#bpdac-access-center-root .bpdac-control-row--stepper { padding: 8px 10px 10px !important; gap: 6px !important; }
#bpdac-access-center-root .bpdac-control-row--stepper strong { font-size: 13px; }
#bpdac-access-center-root .a11y-levels { padding: 3px; }
#bpdac-access-center-root .a11y-levels button { min-height: 30px; padding: 4px 2px; }

/* contrast theme cards: preview on top, title + one-line note */
#bpdac-access-center-root .bpdac-theme-picker { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; margin-bottom: 8px !important; }
#bpdac-access-center-root .bpdac-theme-card {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px !important;
    min-height: 0 !important;
    padding: 10px !important;
    border-radius: 16px !important;
    background: #fff !important;
    text-align: left;
}
#bpdac-access-center-root .bpdac-theme-card .bpdac-theme-preview { width: 100% !important; height: 46px !important; border-radius: 10px !important; margin-bottom: 4px; }
#bpdac-access-center-root .bpdac-theme-card strong { font-size: 13px; color: var(--a11y-navy) !important; }
#bpdac-access-center-root .bpdac-theme-card small { font-size: 11.5px; line-height: 1.3; color: var(--bpdac-muted) !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#bpdac-access-center-root .bpdac-theme-card[aria-pressed="true"] { border-color: var(--a11y-navy) !important; background: var(--a11y-blush) !important; box-shadow: 0 0 0 1.5px var(--a11y-navy); }

/* tools tab: single-column action list reads better in the narrow panel */
#bpdac-access-center-root .bpdac-action-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 6px !important; }
#bpdac-access-center-root .bpdac-action-card { align-items: center; padding: 8px 12px !important; border: 1.5px solid var(--a11y-blush-2) !important; background: #fff !important; }
#bpdac-access-center-root .bpdac-action-card:hover { border-color: var(--a11y-navy) !important; background: var(--a11y-blush) !important; }
#bpdac-access-center-root .bpdac-action-card strong { font-size: 13.5px; color: var(--a11y-navy); }

/* ═══ Colour + spacing pass: navy header block, blush body, gold accent ═════ */
:root { --a11y-gold: #F5C26B; --a11y-card-line: #EADFD9; }

html body #bpdac-access-center-root .bpdac-center-shell {
    background: var(--a11y-blush);
    border: 0;
    box-shadow: 0 34px 80px -18px rgba(3, 27, 67, .55), 0 0 0 1px rgba(3, 27, 67, .08);
}

/* header + shortcut bar + tabs form one navy block */
#bpdac-access-center-root .bpdac-center-header { background: var(--a11y-navy) !important; border-bottom: 0 !important; padding: 12px 12px 8px !important; }
#bpdac-access-center-root .bpdac-center-brand-mark { background: #fff !important; color: var(--a11y-navy) !important; }
#bpdac-access-center-root .bpdac-center-site-name { color: var(--a11y-gold) !important; }
#bpdac-access-center-root .bpdac-center-heading h2 { color: #fff !important; }
#bpdac-access-center-root #bpdac-page-language {
    background-color: rgba(255, 255, 255, .12) !important;
    border: 1px solid rgba(255, 255, 255, .28) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}
#bpdac-access-center-root #bpdac-page-language option { color: #031B43; background: #fff; }
#bpdac-access-center-root .bpdac-center-shell button.bpdac-center-close {
    background: rgba(255, 255, 255, .12) !important;
    border: 1px solid rgba(255, 255, 255, .28) !important;
    color: #fff !important;
}
#bpdac-access-center-root .bpdac-center-shell button.bpdac-center-close:hover,
#bpdac-access-center-root .bpdac-center-shell button.bpdac-center-close:focus-visible { background: #fff !important; color: var(--a11y-navy) !important; border-color: #fff !important; }

#bpdac-access-center-root .bpdac-page-translation-status { border-radius: 0; }
#bpdac-access-center-root .bpdac-shortcut-dock { background: var(--a11y-navy) !important; border-bottom: 0 !important; padding: 4px 12px 10px !important; }
#bpdac-access-center-root .bpdac-shortcut-master,
#bpdac-access-center-root .bpdac-shortcut-guide-button {
    background: rgba(255, 255, 255, .08) !important;
    border: 1px solid rgba(255, 255, 255, .22) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}
#bpdac-access-center-root .bpdac-shortcut-master *,
#bpdac-access-center-root .bpdac-shortcut-guide-button * { color: #fff !important; -webkit-text-fill-color: #fff !important; }
#bpdac-access-center-root .bpdac-shortcut-master:hover,
#bpdac-access-center-root .bpdac-shortcut-guide-button:hover { background: rgba(255, 255, 255, .18) !important; border-color: rgba(255, 255, 255, .5) !important; }
#bpdac-access-center-root .bpdac-shortcut-master[aria-pressed="true"] { background: rgba(245, 194, 107, .22) !important; border-color: var(--a11y-gold) !important; }
#bpdac-access-center-root .bpdac-shortcut-master-icon { background: rgba(255, 255, 255, .14) !important; }

#bpdac-access-center-root .bpdac-center-nav { background: var(--a11y-navy) !important; border-bottom: 0 !important; padding: 2px 12px 12px !important; gap: 4px !important; border-radius: 0 0 22px 22px; }
#bpdac-access-center-root .bpdac-center-tab,
#bpdac-access-center-root .bpdac-center-tab:focus,
#bpdac-access-center-root .bpdac-center-tab:active {
    color: #C5D0E4 !important;
    -webkit-text-fill-color: #C5D0E4 !important;
    border-color: transparent !important;
}
#bpdac-access-center-root .bpdac-center-tab:hover { background: rgba(255, 255, 255, .12) !important; color: #fff !important; -webkit-text-fill-color: #fff !important; }
#bpdac-access-center-root .bpdac-center-tab.is-current,
#bpdac-access-center-root .bpdac-center-tab.is-current:hover,
#bpdac-access-center-root .bpdac-center-tab.is-current:focus,
#bpdac-access-center-root .bpdac-center-tab.is-current:active,
#bpdac-access-center-root .bpdac-center-tab.is-current * {
    background: var(--a11y-gold) !important;
    color: var(--a11y-navy) !important;
    -webkit-text-fill-color: var(--a11y-navy) !important;
}
#bpdac-access-center-root .bpdac-center-tab.is-current { border-color: var(--a11y-gold) !important; }
#bpdac-access-center-root .bpdac-center-tab.is-current .bpdac-center-icon { background: transparent !important; color: var(--a11y-navy) !important; }

/* header-area focus ring must be visible on navy */
.bpdac-center-header button:focus-visible,
.bpdac-center-header select:focus-visible,
.bpdac-shortcut-dock button:focus-visible,
.bpdac-center-nav button:focus-visible { outline: 3px solid var(--a11y-gold) !important; outline-offset: 2px !important; }

/* body: blush, white cards, tight 12px gutters */
#bpdac-access-center-root .bpdac-center-pane { background: transparent !important; padding: 14px 12px 16px !important; }
#bpdac-access-center-root .bpdac-center-layout,
#bpdac-access-center-root .bpdac-center-content { background: var(--a11y-blush); }
#bpdac-access-center-root .bpdac-control-row { background: #fff; border: 1px solid var(--a11y-card-line) !important; box-shadow: 0 1px 2px rgba(3, 27, 67, .04); }
#bpdac-access-center-root .bpdac-control-stack { gap: 8px !important; }
#bpdac-access-center-root .bpdac-theme-picker,
#bpdac-access-center-root .bpdac-action-grid { gap: 8px !important; }

/* rows with a choice bar / swatches: title on top, control full width (no cut-off text) */
#bpdac-access-center-root .bpdac-control-row--choice,
#bpdac-access-center-root .bpdac-control-row--swatches {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
    padding: 10px 12px !important;
}
#bpdac-access-center-root .bpdac-control-row--choice > div:first-child span,
#bpdac-access-center-root .bpdac-control-row--choice > div:first-child small,
#bpdac-access-center-root .bpdac-control-row--swatches > div:first-child span,
#bpdac-access-center-root .bpdac-control-row--swatches > div:first-child small { display: none !important; }
#bpdac-access-center-root .bpdac-control-row--choice .bpdac-choice-bar { width: 100%; }
#bpdac-access-center-root .bpdac-choice-bar button { flex: 1 1 0; min-width: 0; }
#bpdac-access-center-root .bpdac-choice-bar { background: var(--a11y-blush) !important; }
#bpdac-access-center-root .bpdac-choice-bar button[aria-pressed="true"],
#bpdac-access-center-root .bpdac-choice-bar button[aria-checked="true"],
#bpdac-access-center-root .bpdac-choice-bar button[aria-pressed="true"]:hover,
#bpdac-access-center-root .bpdac-choice-bar button[aria-checked="true"]:hover {
    background: var(--a11y-navy) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

/* level chips: same selected style, blush track */
#bpdac-access-center-root .a11y-levels { background: var(--a11y-blush) !important; }

/* on-tiles: navy with a gold check */
#bpdac-access-center-root .bpdac-control-row--toggle[aria-pressed="true"] .bpdac-check-box {
    background: var(--a11y-gold) !important;
    border-color: var(--a11y-gold) !important;
    color: var(--a11y-navy) !important;
    -webkit-text-fill-color: var(--a11y-navy) !important;
}
#bpdac-access-center-root .bpdac-control-row--toggle[aria-pressed="true"] .bpdac-control-icon { background: rgba(255, 255, 255, .16) !important; color: var(--a11y-gold) !important; -webkit-text-fill-color: var(--a11y-gold) !important; }

/* footer: white bar, gold Done button */
#bpdac-access-center-root .bpdac-center-footer { background: #fff !important; border-top: 1px solid var(--a11y-card-line) !important; padding: 10px 12px !important; }
#bpdac-access-center-root .bpdac-center-shell .bpdac-footer-done {
    background: var(--a11y-gold) !important;
    color: var(--a11y-navy) !important;
    -webkit-text-fill-color: var(--a11y-navy) !important;
    font-weight: 700;
    box-shadow: 0 8px 18px -10px rgba(245, 194, 107, 1);
}
#bpdac-access-center-root .bpdac-center-shell .bpdac-footer-done:hover { background: #FFD58A !important; }

/* action list + theme cards on the blush body */
#bpdac-access-center-root .bpdac-action-card,
#bpdac-access-center-root .bpdac-theme-card { border: 1px solid var(--a11y-card-line) !important; }
#bpdac-access-center-root .bpdac-theme-card[aria-pressed="true"] { border-color: var(--a11y-navy) !important; background: #fff !important; }

/* text colours on the navy block (children had their own dark colours) */
html body #bpdac-access-center-root .bpdac-center-nav .bpdac-center-tab:not(.is-current) span,
html body #bpdac-access-center-root .bpdac-center-nav .bpdac-center-tab:not(.is-current) svg { color: #C5D0E4 !important; -webkit-text-fill-color: #C5D0E4 !important; }
html body #bpdac-access-center-root .bpdac-center-nav .bpdac-center-tab:not(.is-current):hover span,
html body #bpdac-access-center-root .bpdac-center-nav .bpdac-center-tab:not(.is-current):hover svg { color: #fff !important; -webkit-text-fill-color: #fff !important; }
html body #bpdac-access-center-root .bpdac-center-nav .bpdac-center-tab.is-current span,
html body #bpdac-access-center-root .bpdac-center-nav .bpdac-center-tab.is-current svg { color: var(--a11y-navy) !important; -webkit-text-fill-color: var(--a11y-navy) !important; }
html body #bpdac-access-center-root .bpdac-shortcut-dock strong,
html body #bpdac-access-center-root .bpdac-shortcut-dock span,
html body #bpdac-access-center-root .bpdac-shortcut-dock small,
html body #bpdac-access-center-root .bpdac-shortcut-dock svg { color: #fff !important; -webkit-text-fill-color: #fff !important; }
html body #bpdac-access-center-root .bpdac-shortcut-dock .bpdac-switch-graphic { background: rgba(255, 255, 255, .25); }

/* selected segment in choice bars (Reading width, Alignment, Low/Auto/High...) */
html body #bpdac-access-center-root .bpdac-center-shell .bpdac-choice-bar button[aria-pressed="true"],
html body #bpdac-access-center-root .bpdac-center-shell .bpdac-choice-bar button[aria-checked="true"],
html body #bpdac-access-center-root .bpdac-center-shell .bpdac-choice-bar button[aria-pressed="true"]:hover,
html body #bpdac-access-center-root .bpdac-center-shell .bpdac-choice-bar button[aria-checked="true"]:hover {
    background: var(--a11y-navy) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    box-shadow: 0 6px 14px -8px rgba(3, 27, 67, .7) !important;
}

/* ═══ Client palette pass: navy + blush + crimson (logo mark), no yellow ════ */
:root { --a11y-accent: #9B1C27; --a11y-accent-2: #B3232F; --a11y-gold: #9B1C27; }

#bpdac-access-center-root .bpdac-center-site-name { color: #F3C9CC !important; }
html body #bpdac-access-center-root .bpdac-center-nav .bpdac-center-tab.is-current,
html body #bpdac-access-center-root .bpdac-center-nav .bpdac-center-tab.is-current:hover,
html body #bpdac-access-center-root .bpdac-center-nav .bpdac-center-tab.is-current:focus {
    background: #fff !important;
    border-color: #fff !important;
    box-shadow: inset 0 -3px 0 var(--a11y-accent) !important;
}
html body #bpdac-access-center-root .bpdac-center-nav .bpdac-center-tab.is-current *,
html body #bpdac-access-center-root .bpdac-center-nav .bpdac-center-tab.is-current span,
html body #bpdac-access-center-root .bpdac-center-nav .bpdac-center-tab.is-current svg {
    background: transparent !important;
    color: var(--a11y-navy) !important;
    -webkit-text-fill-color: var(--a11y-navy) !important;
}
#bpdac-access-center-root .bpdac-shortcut-master[aria-pressed="true"] { background: rgba(179, 35, 47, .35) !important; border-color: #fff !important; }
.bpdac-center-header button:focus-visible,
.bpdac-center-header select:focus-visible,
.bpdac-shortcut-dock button:focus-visible,
.bpdac-center-nav button:focus-visible { outline: 3px solid #fff !important; outline-offset: 2px !important; }

/* active tiles: navy with a white check + crimson tick accent */
#bpdac-access-center-root .bpdac-control-row--toggle[aria-pressed="true"] .bpdac-check-box {
    background: #fff !important;
    border-color: #fff !important;
    color: var(--a11y-accent) !important;
    -webkit-text-fill-color: var(--a11y-accent) !important;
}
#bpdac-access-center-root .bpdac-control-row--toggle[aria-pressed="true"] .bpdac-control-icon { color: #fff !important; -webkit-text-fill-color: #fff !important; }

/* Done button: crimson */
#bpdac-access-center-root .bpdac-center-shell .bpdac-footer-done {
    background: var(--a11y-accent) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    box-shadow: 0 8px 18px -10px rgba(155, 28, 39, .9);
}
#bpdac-access-center-root .bpdac-center-shell .bpdac-footer-done:hover { background: var(--a11y-accent-2) !important; }

/* ═══ Spacing: 12px gutters everywhere, nothing else ═══════════════════════ */
#bpdac-access-center-root .bpdac-center-content { padding: 0 !important; }
#bpdac-access-center-root .bpdac-center-pane { padding: 12px !important; }
#bpdac-access-center-root .bpdac-control-row--stepper,
#bpdac-access-center-root .bpdac-control-row--choice,
#bpdac-access-center-root .bpdac-control-row--swatches { padding: 8px 10px !important; gap: 6px !important; }
#bpdac-access-center-root .bpdac-control-row--toggle { padding: 8px 10px !important; }
#bpdac-access-center-root .bpdac-control-stack,
#bpdac-access-center-root .bpdac-theme-picker,
#bpdac-access-center-root .bpdac-action-grid { gap: 8px !important; margin-bottom: 8px; }
#bpdac-access-center-root .bpdac-control-stack:last-child { margin-bottom: 0; }
#bpdac-access-center-root .bpdac-center-header { padding: 12px 12px 6px !important; }
#bpdac-access-center-root .bpdac-shortcut-dock { padding: 4px 12px 8px !important; }
#bpdac-access-center-root .bpdac-center-nav { padding: 0 12px 12px !important; }
#bpdac-access-center-root .bpdac-center-footer { padding: 8px 12px !important; }

/* active tab: no underline */
html body #bpdac-access-center-root .bpdac-center-nav .bpdac-center-tab.is-current,
html body #bpdac-access-center-root .bpdac-center-nav .bpdac-center-tab.is-current:hover,
html body #bpdac-access-center-root .bpdac-center-nav .bpdac-center-tab.is-current:focus {
    box-shadow: none !important;
    border-bottom: 0 !important;
}

/* report form: submit button label + states */
html body #bpdac-access-center-root .bpdac-report-form [type="submit"],
html body #bpdac-access-center-root .bpdac-report-form [type="submit"] * {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}
html body #bpdac-access-center-root .bpdac-report-form [type="submit"] {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 46px;
    background: var(--a11y-navy) !important;
    font-size: 14px;
    font-weight: 600;
}
html body #bpdac-access-center-root .bpdac-report-form [type="submit"]:hover:not(:disabled) { background: var(--a11y-accent) !important; }
html body #bpdac-access-center-root .bpdac-report-form [type="submit"]:disabled { opacity: .75; cursor: progress; }
html body #bpdac-access-center-root .bpdac-report-form [type="submit"][data-bpdac-state="success"] { background: #1F6B43 !important; }
html body #bpdac-access-center-root .bpdac-report-form [type="submit"][data-bpdac-state="error"] { background: var(--a11y-accent) !important; }

/* Icon-only accessibility launcher. Panel behavior and accessibility wiring stay unchanged. */
html body #bpdac-access-center-root #bpdac-access-center-launcher {
    width: 60px !important;
    min-width: 60px !important;
    height: 60px !important;
    min-height: 60px !important;
    padding: 5px !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    border-radius: 50% !important;
    border: 3px solid var(--a11y-navy) !important;
    background: var(--a11y-navy) !important;
}
html body #bpdac-access-center-root #bpdac-access-center-launcher .bpdac-center-launcher-copy,
html body #bpdac-access-center-root #bpdac-access-center-launcher .bpdac-center-launcher-dot {
    display: none !important;
}
html body #bpdac-access-center-root #bpdac-access-center-launcher .bpdac-center-launcher-mark {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    background: transparent !important;
    color: transparent !important;
    font-size: 0 !important;
}
html body #bpdac-access-center-root #bpdac-access-center-launcher .bpdac-center-launcher-mark::before {
    content: "";
    display: block;
    width: 44px;
    height: 44px;
    background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10.4' fill='none' stroke='%23fff' stroke-width='1.4'/%3E%3Ccircle cx='12' cy='6' r='1.7' fill='%23fff'/%3E%3Cpath d='M5.5 9.2c-.3.7.1 1.4.8 1.7l3.3 1.1v2.7l-2 4.1c-.4.8.8 1.4 1.3.7l3.1-4.2 3.1 4.2c.5.7 1.7.1 1.3-.7l-2-4.1V12l3.3-1.1c.7-.3 1.1-1 .8-1.7-.3-.7-1-1-1.7-.7L12 9.7 7.2 8.5c-.7-.3-1.4 0-1.7.7z' fill='%23fff'/%3E%3C/svg%3E");
}

/* ═══ Accessibility fix: active toggle tiles ═══════════════════════════════
   widget.base2.css forces black text on every selected control, while the
   theme above wants a navy tile. The two collided (white text on a blush
   tile, ~1.2:1 contrast). Selected tiles are now navy with white text and
   icons (~16:1), matched to the state signalled by the check mark. */
html body #bpdac-access-center-root .bpdac-center-shell .bpdac-control-row--toggle[aria-pressed="true"] {
    background: var(--a11y-navy) !important;
    border-color: var(--a11y-navy) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}
html body #bpdac-access-center-root .bpdac-center-shell .bpdac-control-row--toggle[aria-pressed="true"]:hover {
    background: var(--a11y-navy-3) !important;
}
html body #bpdac-access-center-root .bpdac-center-shell .bpdac-control-row--toggle[aria-pressed="true"] * {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}
html body #bpdac-access-center-root .bpdac-center-shell .bpdac-control-row--toggle[aria-pressed="true"] .bpdac-control-icon {
    background: rgba(255, 255, 255, .16) !important;
    border-color: transparent !important;
}
html body #bpdac-access-center-root .bpdac-center-shell .bpdac-control-row--toggle[aria-pressed="true"] .bpdac-check-box {
    background: #fff !important;
    border-color: #fff !important;
    color: var(--a11y-navy) !important;
    -webkit-text-fill-color: var(--a11y-navy) !important;
}
html body #bpdac-access-center-root .bpdac-center-shell .bpdac-control-row--toggle[aria-pressed="true"] .bpdac-check-box * {
    color: var(--a11y-navy) !important;
    -webkit-text-fill-color: var(--a11y-navy) !important;
}

/* ═══ Fix: reading width must not reflow the panel itself ═══════════════════
   html[data-bpdac-reading-width] body { overflow-wrap: anywhere } is inherited
   by the panel and breaks tab labels mid-word ("Contras / t"). The setting is
   meant for the page content only, so the panel opts out. */
#bpdac-access-center-root,
.bpdac-reader-overlay {
    overflow-wrap: normal !important;
    word-break: normal !important;
}
#bpdac-access-center-root .bpdac-center-tab,
#bpdac-access-center-root .bpdac-center-tab * {
    overflow-wrap: normal !important;
    word-break: normal !important;
    white-space: nowrap;
}

/* ═══ Launcher "preferences are on" state ═══════════════════════════════════
   Set by launcher-state.js when any option is active: a crimson ring plus a check badge
   (shape + colour, not colour alone). No motion, so it is safe for reduced-motion users. */
html body #bpdac-access-center-root #bpdac-access-center-launcher[data-a11y-active="true"] {
    overflow: visible !important;
    box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--a11y-mark), 0 14px 34px -10px rgba(3, 27, 67, .55) !important;
}
html body #bpdac-access-center-root #bpdac-access-center-launcher[data-a11y-active="true"]::after {
    content: "";
    position: absolute;
    top: -6px;
    right: -6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: var(--a11y-mark) center / 14px 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l5 5 10-11'/%3E%3C/svg%3E");
    box-shadow: 0 2px 6px rgba(3, 27, 67, .35);
    pointer-events: none;
}

/* ===== Slider controls (replace the Normal / Comfort / Roomy tabs and Standard / Narrow / Wide choice bars) ===== */
html body #bpdac-access-center-root .a11y-slider-row .bpdac-choice-bar,
html body #bpdac-access-center-root .a11y-slider-row .bpdac-level-picker { display: none !important; }
html body #bpdac-access-center-root .a11y-slider-row { position: relative; display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 10px !important; }
/* current value: a small pill on the title line */
html body #bpdac-access-center-root .a11y-slider-bubble {
  position: absolute; top: 10px; right: 12px; padding: 3px 11px; border-radius: 999px;
  background: var(--a11y-blush) !important; color: var(--a11y-navy) !important; -webkit-text-fill-color: var(--a11y-navy) !important;
  font: 600 12px/1.4 inherit; white-space: nowrap; pointer-events: none; box-shadow: inset 0 0 0 1.5px var(--a11y-blush-2);
}
html body #bpdac-access-center-root .a11y-slider { position: relative; width: 100%; padding: 2px 6px 9px; --a11y-p: 0; }
html body #bpdac-access-center-root .a11y-slider input[type="range"] {
  -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 24px; margin: 0; padding: 0;
  background: transparent !important; border: 0 !important; box-shadow: none !important; cursor: pointer; touch-action: manipulation; position: relative; z-index: 1;
}
html body #bpdac-access-center-root .a11y-slider input[type="range"]::-webkit-slider-runnable-track {
  height: 6px; border-radius: 999px;
  background: linear-gradient(to right, var(--a11y-navy) calc(var(--a11y-p) * 100%), var(--a11y-blush-2) calc(var(--a11y-p) * 100%));
}
html body #bpdac-access-center-root .a11y-slider input[type="range"]::-moz-range-track { height: 6px; border-radius: 999px; background: var(--a11y-blush-2); }
html body #bpdac-access-center-root .a11y-slider input[type="range"]::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--a11y-navy); }
html body #bpdac-access-center-root .a11y-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%;
  background: var(--a11y-navy); border: 4px solid #fff; box-shadow: 0 0 0 1.5px var(--a11y-navy), 0 2px 5px rgba(3, 27, 67, .28);
}
html body #bpdac-access-center-root .a11y-slider input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%; background: var(--a11y-navy); border: 4px solid #fff; box-shadow: 0 0 0 1.5px var(--a11y-navy), 0 2px 5px rgba(3, 27, 67, .28);
}
html body #bpdac-access-center-root .a11y-slider input[type="range"]:focus-visible { outline: none; }
html body #bpdac-access-center-root .a11y-slider input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 1.5px var(--a11y-navy), 0 0 0 4px #fff, 0 0 0 6.5px var(--a11y-navy); }
html body #bpdac-access-center-root .a11y-slider input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 1.5px var(--a11y-navy), 0 0 0 4px #fff, 0 0 0 6.5px var(--a11y-navy); }
html body #bpdac-access-center-root .a11y-slider input[type="range"]:disabled { opacity: .5; cursor: not-allowed; }
/* step dots under the track show how many levels there are */
html body #bpdac-access-center-root .a11y-slider-ticks { position: absolute; left: 16px; right: 16px; bottom: 4px; display: flex !important; justify-content: space-between; pointer-events: none; }
html body #bpdac-access-center-root .a11y-slider-ticks i { display: block; width: 4px; height: 4px; border-radius: 50%; background: var(--a11y-navy); opacity: .35; }

/* ===== Switches (replace the round check / radio indicator on the on-off options) ===== */
html body #bpdac-access-center-root .bpdac-control-row--toggle .bpdac-check-box {
  position: relative; flex: none; width: 44px !important; height: 26px !important; border-radius: 999px !important;
  border: 2px solid var(--a11y-navy) !important; background: var(--a11y-blush-2) !important; color: transparent !important;
  transition: background .2s, border-color .2s;
}
html body #bpdac-access-center-root .bpdac-control-row--toggle .bpdac-check-box svg { display: none !important; }
html body #bpdac-access-center-root .bpdac-control-row--toggle .bpdac-check-box::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--a11y-navy); transition: transform .2s;
}
html body #bpdac-access-center-root .bpdac-center-shell .bpdac-control-row--toggle[aria-pressed="true"] .bpdac-check-box {
  background: #fff !important; border-color: #fff !important;
}
html body #bpdac-access-center-root .bpdac-center-shell .bpdac-control-row--toggle[aria-pressed="true"] .bpdac-check-box::after {
  transform: translateX(18px); background: var(--a11y-navy);
}
@media (prefers-reduced-motion: reduce) {
  html body #bpdac-access-center-root .bpdac-control-row--toggle .bpdac-check-box,
  html body #bpdac-access-center-root .bpdac-control-row--toggle .bpdac-check-box::after { transition: none; }
}
@media (forced-colors: active) {
  html body #bpdac-access-center-root .bpdac-control-row--toggle .bpdac-check-box { border-color: CanvasText !important; background: Canvas !important; }
  html body #bpdac-access-center-root .bpdac-control-row--toggle .bpdac-check-box::after { background: CanvasText; }
  html body #bpdac-access-center-root .bpdac-control-row--toggle[aria-pressed="true"] .bpdac-check-box { background: Highlight !important; border-color: Highlight !important; }
  html body #bpdac-access-center-root .bpdac-control-row--toggle[aria-pressed="true"] .bpdac-check-box::after { background: HighlightText; }
  html body #bpdac-access-center-root .a11y-slider input[type="range"] { forced-color-adjust: auto; }
}


/* ===== Client changes ===== */
/* 1) No value label on the sliders: the step dots already show the level (screen readers still get aria-valuetext). */
html body #bpdac-access-center-root .a11y-slider-bubble { display: none !important; }

/* 2) Header stays inside the screen when text size / page scale / spacing is changed.
      Only active while one of those settings is on; the normal header is untouched. */
html[data-bpdac-page-scale] .nav,
html[data-bpdac-text-size] .nav,
html[data-bpdac-line-height] .nav,
html[data-bpdac-letter-spacing] .nav,
html[data-bpdac-word-spacing] .nav,
html[data-bpdac-paragraph-spacing] .nav {
  flex-wrap: wrap; row-gap: 8px; height: auto; max-width: calc(100vw - 24px); border-radius: 28px; justify-content: center;
}
html[data-bpdac-page-scale] .nav ul,
html[data-bpdac-text-size] .nav ul,
html[data-bpdac-line-height] .nav ul,
html[data-bpdac-letter-spacing] .nav ul,
html[data-bpdac-word-spacing] .nav ul,
html[data-bpdac-paragraph-spacing] .nav ul { flex-wrap: wrap; justify-content: center; min-width: 0; }
html[data-bpdac-page-scale] .nav .right,
html[data-bpdac-text-size] .nav .right,
html[data-bpdac-line-height] .nav .right,
html[data-bpdac-letter-spacing] .nav .right,
html[data-bpdac-word-spacing] .nav .right,
html[data-bpdac-paragraph-spacing] .nav .right { flex-wrap: wrap; justify-content: center; min-width: 0; max-width: 100%; }
html[data-bpdac-page-scale] .nav .call,
html[data-bpdac-text-size] .nav .call,
html[data-bpdac-line-height] .nav .call,
html[data-bpdac-letter-spacing] .nav .call,
html[data-bpdac-word-spacing] .nav .call,
html[data-bpdac-paragraph-spacing] .nav .call { white-space: normal; }

/* 3) Large text / spacing: let content wrap and stay readable instead of running off the screen.
      Only active while a size or spacing setting is on; the normal site is untouched. */
html:is([data-bpdac-page-scale],[data-bpdac-text-size],[data-bpdac-line-height],[data-bpdac-letter-spacing],[data-bpdac-word-spacing],[data-bpdac-paragraph-spacing]) :is(main, footer) :is(h1, h2, h3, h4, h5, p, li, a, span, b, strong, em, small, label, td, th, div, summary, figcaption, button) {
  overflow-wrap: anywhere; min-width: 0;
}
html:is([data-bpdac-page-scale],[data-bpdac-text-size],[data-bpdac-line-height],[data-bpdac-letter-spacing],[data-bpdac-word-spacing],[data-bpdac-paragraph-spacing]) :is(main, footer) :is(.btn, .pill, .status, .tag) { white-space: normal; }
html:is([data-bpdac-page-scale],[data-bpdac-text-size],[data-bpdac-line-height],[data-bpdac-letter-spacing],[data-bpdac-word-spacing],[data-bpdac-paragraph-spacing]) .hero h1 .ln { overflow: visible; }
html:is([data-bpdac-page-scale],[data-bpdac-text-size],[data-bpdac-line-height],[data-bpdac-letter-spacing],[data-bpdac-word-spacing],[data-bpdac-paragraph-spacing]) :is(main, footer) img, html:is([data-bpdac-page-scale],[data-bpdac-text-size],[data-bpdac-line-height],[data-bpdac-letter-spacing],[data-bpdac-word-spacing],[data-bpdac-paragraph-spacing]) :is(main, footer) video, html:is([data-bpdac-page-scale],[data-bpdac-text-size],[data-bpdac-line-height],[data-bpdac-letter-spacing],[data-bpdac-word-spacing],[data-bpdac-paragraph-spacing]) :is(main, footer) iframe { max-width: 100%; }
