/* * A11y Inspector panel base styles. * * The surface is built almost entirely from UnoCSS utilities + `@antfu/design` * semantic tokens (`bg-base`, `color-muted`, `border-base`, …), which flip with * the `.dark` class on . Only the handful of things utilities can't * express live here: the root sizing reset, the scroll area's thin scrollbar, * and the reduced-motion guard. WCAG severity - the one domain-specific color - * rides an inline `--impact` CSS var consumed by arbitrary-value utilities. */ html, body { margin: 0; height: 100%; } #app { height: 100%; } body { -webkit-font-smoothing: antialiased; } /* Thin custom scrollbar for the panel's scroll area. */ .a11y-scroll::-webkit-scrollbar { width: 10px; } .a11y-scroll::-webkit-scrollbar-thumb { background: rgb(128 128 128 / 0.28); border: 3px solid transparent; background-clip: padding-box; border-radius: 8px; } .a11y-scroll::-webkit-scrollbar-thumb:hover { background: rgb(128 128 128 / 0.45); background-clip: padding-box; } @media (prefers-reduced-motion: reduce) { *, ::before, ::after { transition: none !important; animation: none !important; } }