/* Element defaults shared by every page. No classes here. */
@layer base {
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    html, body { min-height: 100%; }

    body {
        font-family: var(--font-sans);
        background: var(--page-bg);
        color: var(--text);
        -webkit-text-size-adjust: 100%;
    }

    table { border-collapse: collapse; }

    /* `hidden` always hides. !important, because a later layer's display (a component's inline-grid, say) would
       otherwise show it again: the placeholder picture icon beside a real picture (D20.25). */
    [hidden] { display: none !important; }

    @media (prefers-reduced-motion: reduce) {
        *, *::before, *::after { animation-duration: .01ms; animation-iteration-count: 1; transition-duration: .01ms; }
    }
}
