/* Shared accessibility support; default brand/layout styles remain owned by each template. */
html { scroll-padding-block: 6rem; }
.skip-link { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); white-space: nowrap; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 3px solid #174dd7 !important; outline-offset: 4px !important; scroll-margin-block: 6rem; }
html:not([data-theme="dark"]) .rws-note { color: #4f6375 !important; }
.areas-r1 .t22-closing .t22-text-link { color: #fff !important; text-decoration: underline; text-underline-offset: .2em; }
html:has(link[href^="/loyalty-gifts-r1.css"]) footer, html:has(link[href^="/loyalty-gifts-r1.css"]) footer a { color: #526378; }
html[data-theme="dark"] :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline-color: #ffdf57 !important; }
html body .skip-link:focus { position: fixed !important; z-index: 2147483646 !important; top: 8px !important; inset-inline-start: 8px !important; clip: auto !important; clip-path: none !important; width: auto !important; height: auto !important; padding: 12px 18px !important; background: #fff !important; color: #123b9a !important; transform: none !important; }
html body button#testor-accessibility-runtime { position: fixed !important; z-index: 99980; inset-inline-start: max(12px, env(safe-area-inset-left)) !important; inset-inline-end: auto !important; bottom: calc(var(--testor-a11y-bottom, 18px) + env(safe-area-inset-bottom)) !important; width: 44px !important; height: 44px !important; min-width: 44px !important; min-height: 44px !important; max-height: none !important; border: 1px solid #c6d0dd !important; border-radius: 50% !important; padding: 8px !important; display: grid !important; visibility: visible !important; opacity: 1 !important; pointer-events: auto !important; place-items: center !important; background: #fff !important; color: #14253d !important; box-shadow: 0 2px 8px #0002 !important; }
html body dialog#testor-a11y-panel { position: fixed !important; inset: 0 !important; margin: auto !important; width: min(24rem, calc(100vw - 24px)) !important; max-width: calc(100vw - 24px) !important; height: fit-content !important; max-height: calc(100vh - 24px) !important; max-height: calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom)) !important; overflow: auto !important; overscroll-behavior: contain; box-sizing: border-box; padding: 0 !important; border: 1px solid #bac5d5; border-radius: 18px; background: #fff; color: #14253d; box-shadow: 0 16px 60px #0004; text-align: start; }
dialog#testor-a11y-panel[hidden] { display: none !important; }
dialog#testor-a11y-panel::backdrop { background: rgb(7 17 31 / 55%); }
dialog#testor-a11y-panel .testor-a11y-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: #fff; border-bottom: 1px solid #c6d0dd; }
dialog#testor-a11y-panel h2 { font-size: 1.3rem; line-height: 1.4; margin: 0; color: inherit; }
dialog#testor-a11y-panel .testor-a11y-content { display: grid; gap: 10px; padding: 16px; }
dialog#testor-a11y-panel p { font-size: .95rem; line-height: 1.6; margin: 0; color: inherit; }
dialog#testor-a11y-panel button, dialog#testor-a11y-panel a { box-sizing: border-box; min-height: 44px; padding: 10px 14px; border: 1px solid #96a5ba; border-radius: 9px; background: #fff; color: #14253d; font: inherit; font-weight: 600; line-height: 1.45; text-align: start; white-space: normal; overflow-wrap: anywhere; cursor: pointer; }
dialog#testor-a11y-panel [data-a11y-close] { width: 44px; flex: 0 0 44px; padding: 0; text-align: center; font-size: 1.8rem; }
dialog#testor-a11y-panel [aria-pressed="true"] { background: #153e8e; color: #fff; border-color: #153e8e; }
dialog#testor-a11y-panel [aria-pressed="true"]::after { content: " ✓"; }
dialog#testor-a11y-panel a { text-decoration: underline; text-underline-offset: .2em; }
dialog#testor-a11y-panel .testor-a11y-status:empty { display: none; }
/* Important declarations in this named layer outrank legacy unlayered !important
   page rules without changing those rules or resorting to per-page ID overrides. */
@layer testor-accessibility-preferences {
html.a11y-large-text { font-size: 100% !important; }
html.a11y-large-text body [data-a11y-scaled] { font-size: calc(var(--testor-original-font-size) * 1.25) !important; line-height: 1.55 !important; }
html.a11y-underline-links body a { text-decoration-line: underline !important; text-decoration-thickness: .12em !important; text-underline-offset: .22em !important; }
html.a11y-readable-font body :not(svg):not(svg *) { font-family: Arial, "Segoe UI", sans-serif !important; letter-spacing: normal !important; }
html.a11y-high-contrast, html.a11y-high-contrast body { background: #000 !important; color: #fff !important; }
html.a11y-high-contrast body :not(img):not(video):not(canvas):not(svg):not(svg *):not(iframe) { background-color: #000 !important; background-image: none !important; color: #fff !important; -webkit-text-fill-color: currentColor !important; border-color: #fff !important; text-shadow: none !important; box-shadow: none !important; }
html.a11y-high-contrast body a, html.a11y-high-contrast body a *:not(svg):not(svg *) { color: #ffeb3b !important; }
html.a11y-high-contrast body input::placeholder, html.a11y-high-contrast body textarea::placeholder { color: #ddd !important; -webkit-text-fill-color: currentColor !important; opacity: 1; }
html.a11y-high-contrast body :focus-visible { outline-color: #ffeb3b !important; }
html.a11y-high-contrast body [aria-pressed="true"] { outline: 2px solid #ffeb3b; outline-offset: -4px; }
html.a11y-reduce-motion, html.a11y-reduce-motion *, html.a11y-reduce-motion *::before, html.a11y-reduce-motion *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
@media (prefers-reduced-motion: reduce) { html, html *, html *::before, html *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
}
@media print { #testor-accessibility-runtime, #testor-a11y-panel { display: none !important; } }
