/* Reset & Base. Palette tokens live in /common/css/theme.css (inlined
   by head.php before this file) so every tool in the suite resolves
   colors from one source. */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Shared brand link — points at the umbrella. Matches Noted's .brandLink. */
.brandLink {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(110, 80, 40, 0.20);
    text-underline-offset: 2px;
    transition: text-decoration-color var(--transition);
}
.brandLink:hover {
    text-decoration-color: var(--text);
}

button {
    font-family: inherit;
    font-size: inherit;
    border: none;
    background: none;
    cursor: pointer;
    color: inherit;
    touch-action: manipulation;
}

a, label {
    touch-action: manipulation;
}

input, textarea {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
    color: inherit;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { border-radius: 3px; }
/* ::selection background + ::-webkit-scrollbar-thumb tints come from
   /common/css/theme.css so they follow whichever theme is active. */
