:root {
    --bg: #fff;
    --surface: #fff;
    --text: #1f2421;
    --muted: #6b736d;
    --accent: #5a6b3c;
    --accent-dark: #46542d;
    --border: #e6e8e1;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
}

h1, h2, h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 600;
    line-height: 1.25;
}

a {
    color: var(--accent);
}

    a:hover {
        color: var(--accent-dark);
    }

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

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid var(--accent);
}

.invalid {
    outline: 1px solid #b3261e;
}

.validation-message {
    color: #b3261e;
}

.blazor-error-boundary {
    background: #b3261e;
    padding: 1rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }
