/* Screen-reader helpers (Nov 18 2026) */
.anvil-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; border: 0 !important; }
.anvil-skip-link { position: fixed; left: 12px; top: -60px; z-index: 100000; padding: 10px 16px; border-radius: 8px; background: #ffd391; color: #241604; font: 800 13px Inter, -apple-system, sans-serif; text-decoration: none; box-shadow: 0 6px 18px #0009; }
.anvil-skip-link:focus, .anvil-skip-link:focus-visible { top: 12px; outline: 3px solid #fff; outline-offset: 2px; }
/* Keyboard focus is always visible on pads and steps */
.wsf .wsf-pad:focus-visible, .wsf .wsf-step:focus-visible, .anvil-pad-matrix button:focus-visible { outline: 3px solid #ffd391 !important; outline-offset: 2px !important; }

/* ACCESSIBILITY button: always visible, high contrast, big enough to tap */
.anvil-a11y-button { position: fixed; right: 14px; bottom: 14px; z-index: 99990; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 2px solid #ffffff; background: #0b1f3a; color: #ffffff; font: 800 13px/1 Inter, -apple-system, 'Segoe UI', sans-serif; letter-spacing: .08em; cursor: pointer; box-shadow: 0 6px 18px #000a; }
.anvil-a11y-button span { font-size: 16px; color: #ffd391; }
.anvil-a11y-button:hover { background: #12305a; }
.anvil-a11y-button:focus-visible { outline: 4px solid #ffd391; outline-offset: 3px; }
@media (max-width: 700px) { .anvil-a11y-button { right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); padding: 9px 13px; font-size: 12px; } }
/* Help sheet: large, plain, high-contrast text */
.anvil-a11y-help { width: min(760px, calc(100vw - 24px)); max-height: calc(100vh - 32px); padding: 0; border: 3px solid #ffffff; border-radius: 16px; background: #0b1f3a; color: #ffffff; box-shadow: 0 20px 60px #000c; }
.anvil-a11y-help::backdrop { background: #000c; }
.anvil-a11y-sheet { padding: 22px 26px 26px; font: 400 18px/1.55 Inter, -apple-system, 'Segoe UI', sans-serif; }
.anvil-a11y-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.anvil-a11y-help h2 { margin: 0; font-size: 28px; line-height: 1.2; color: #ffffff; }
.anvil-a11y-help h2:focus { outline: none; }
.anvil-a11y-help h3 { margin: 22px 0 6px; font-size: 20px; color: #ffd391; }
.anvil-a11y-help ul { margin: 0; padding-left: 22px; }
.anvil-a11y-help li { margin: 6px 0; }
.anvil-a11y-help p { margin: 12px 0 0; }
.anvil-a11y-foot { color: #d6e3f5; font-size: 16px; }
.anvil-a11y-help button { min-height: 48px; padding: 10px 20px; border-radius: 10px; border: 2px solid #ffffff; background: #ffd391; color: #10203a; font: 800 16px Inter, -apple-system, sans-serif; cursor: pointer; }
.anvil-a11y-help button:focus-visible { outline: 4px solid #ffffff; outline-offset: 3px; }
.anvil-a11y-done { margin-top: 22px; width: 100%; }
@media (max-width: 700px) { .anvil-a11y-sheet { padding: 18px 16px 20px; font-size: 17px; } .anvil-a11y-help h2 { font-size: 24px; } }
.anvil-a11y-help[open] { position: fixed; inset: 0; margin: auto !important; overflow: auto; }
.anvil-a11y-help ul { list-style: disc !important; }
/* Hide / show the corner button (Nov 19 2026) */
.anvil-a11y-hide { position: fixed; right: 4px; bottom: 50px; z-index: 99991; width: 28px; height: 28px; padding: 0; border-radius: 50%; border: 2px solid #ffffff; background: #0b1f3a; color: #ffffff; font: 800 16px/1 Inter, -apple-system, sans-serif; cursor: pointer; box-shadow: 0 3px 10px #000a; }
.anvil-a11y-hide:hover { background: #12305a; }
.anvil-a11y-hide:focus-visible { outline: 3px solid #ffd391; outline-offset: 2px; }
.anvil-a11y-hide[hidden], .anvil-a11y-show[hidden] { display: none !important; }
.anvil-a11y-button.is-tucked:not(:focus):not(:focus-visible) { position: fixed !important; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; border: 0 !important; box-shadow: none !important; }
.anvil-a11y-show { white-space: nowrap; }
.anvil-a11y-show span { color: #ffd391; }
.anvil-a11y-hide-help { background: transparent !important; color: #ffffff !important; margin-top: 10px; }
@media (max-width: 700px) { .anvil-a11y-hide { right: 2px; bottom: calc(46px + env(safe-area-inset-bottom, 0px)); } }
