:root {
    color-scheme: light;
    --page-background: #fdfffc;
    --background: #f8fff5;
    --surface: #f0f7ec;
    --surface-raised: #e4efdf;
    --line: #a7b6a3;
    --ink: #151716;
    --accent: #376043;
    --accent-color: #c5dfb8;
    --info-panel: #e6f0f5;
    --success-panel: #e1f1e4;
    --warning-panel: #f8efd8;
    --error-panel: #f7e6e9;
    --info-border: #608b9f;
    --success-border: #689775;
    --warning-border: #a08b54;
    --error-border: #ab6a76;
    font-family: system-ui, -apple-system, "Hiragino Sans", sans-serif;
    background: var(--page-background);
    color: var(--ink);
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
:where(a, button, input, select, summary, [tabindex]):focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}
:where(button, input, select) { font: inherit; accent-color: var(--accent); }

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 44px;
    color: var(--ink);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 750;
    letter-spacing: -0.04em;
}

.site-icon img { display: block; }

.portal-masthead {
    width: min(100% - 2.5rem, 74rem);
    margin-inline: auto;
    padding-block: 1rem;
    border-bottom: 1px solid var(--line);
}
