/* Ember Mail accessibility CSS (bulwark/brand/a11y-shim.css), injected by bulwark/edge.conf.
   Since fork image a11y-4b31b5a-20261007 (2026-10-07 21:00Z) most findings are fixed natively in bulwark-fork, and the
   rules for A7 ring, A8, A9, A11, item 10 and the FAB half of item 11 were removed: a live no-shim probe matched or changed
   nothing the fork renders (ops/bulwark_a11y_20261007.md s6). What is left is not fixed in the fork yet.
   Ratios (WCAG 2.x) are asserted by tests/test_bulwark_a11y_shim.py. */

/* ---- Item 11 (remaining half): buttons that still hover to `bg-primary/90` over the canvas. The default Button now
   darkens natively, but the login page's Sign in / 2FA / passkey buttons carry their own `hover:bg-primary/90` and
   measured 4.41:1 white-on-flame live (needs 4.5). Theme primary darkened 12% toward black: white on it 6.25:1 light,
   #1a0d08 on it 7.29:1 dark. Darkening cannot lower contrast against the button's own foreground. */
button.hover\:bg-primary\/90:hover {
  background-color: color-mix(in srgb, var(--color-primary) 88%, black) !important;
}

/* ---- A15 (dark-theme live pass 19:0xZ, both themes): the compose body has no focus indicator because the fork's
   globals.css sets `.tiptap { outline: none }` (WCAG 2.4.7). Inset ring so the composer's overflow box cannot clip it;
   --color-ring 4.34:1 light / 7.66:1 dark on the canvas. :focus-visible always matches a focused contenteditable. */
div.tiptap.ProseMirror[contenteditable="true"]:focus-visible {
  outline: 2px solid var(--color-ring) !important;
  outline-offset: -2px;
}
