/* Accessibility kit adapter for miict.org: maps the panel's --a11y-* tokens to the site's own design tokens, so the
   panel follows the site's theme by itself. Starting point written by the manager on 2026-12-01; from install on,
   the copy in the site's build belongs to the site chat (tune it there). Boot config: data-theme-attr="data-theme" data-motion-class="motion-off" */
:root {
  --a11y-bg: var(--bg); --a11y-ink: var(--ink); --a11y-muted: var(--ink-soft);
  --a11y-surface: color-mix(in srgb, var(--ink) 4%, var(--bg));
  --a11y-line: color-mix(in srgb, var(--ink) 16%, transparent);
  --a11y-accent: var(--link); --a11y-accent-ink: var(--bg); --a11y-focus: var(--focus); --a11y-mark: var(--link);
  --a11y-display: var(--head); --a11y-ui: var(--body); --a11y-display-weight: 600;
  --a11y-radius: 999px; --a11y-sheet-radius: 16px; --a11y-shadow: 0 8px 24px rgba(16, 24, 40, .18), 0 1px 2px rgba(16, 24, 40, .1);
}
/* the bright gold fails 4.5:1 as text on white, so the panel's text accent is the site's link blue */
html[data-a11y-contrast] { --ink-soft: var(--ink); --field-line: var(--ink); }
