* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    font-size: var(--text-base);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

button, select, input {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: var(--scrollbar);
    border-radius: var(--radius-sm);
}

:focus-visible {
    outline: 2px solid var(--focus-ring);
    outline-offset: 2px;
}

.app-shell {
    display: grid;
    grid-template-columns: var(--sidebar-width) 1fr;
    min-height: 100vh;
}

.app-shell__main {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.app-shell__content {
    flex: 1;
    padding: var(--space-6) var(--space-8);
    max-width: 1280px;
    width: 100%;
}

@media (max-width: 900px) {
    .app-shell {
        grid-template-columns: 1fr;
    }
    .app-shell__content {
        padding: var(--space-4);
    }
    /* Hiding .sidebar lives with the rest of its styles in components.css -- putting it
       here silently did nothing, since that file loads later and media queries add no
       specificity. */
}
