/* Element defaults. Nothing here is component-specific. */ /* * App shell and shared primitives. Feature folders style their own specifics; * anything that appears on more than one page lives here so pages cannot * drift into three visual languages. */ *, *::before, *::after { box-sizing: border-box; } html, body { margin: 0; height: 100%; } body { color: var(--fg); font-family: var(--font-sans); font-size: var(--text-base); line-height: 1.5; -webkit-font-smoothing: antialiased; } a { color: inherit; text-decoration: none; } /* The focus floor. A component may style its own focus state; this guarantees that nothing is ever focused and invisible for a keyboard user. `:focus-visible` rather than `:focus` so a mouse click does not draw a ring around what was clicked. */ :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; } /* Accessible-only text: present to assistive technology, out of the visual layout. Used for live-region status lines, which announce a change without drawing a second, visible copy of the pane's own copy. */ .visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } /* Visible to assistive technology only. For a control whose purpose is clear from its position but which still needs a name in the accessibility tree. */ .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }