﻿/* The admin layout owns the outer width; page grids divide only the available space. */
.admin-content { max-width: 72rem; }
.admin-content-form { max-width: 50rem; }
.admin-access-form { max-width: 32rem; }
.admin-main h1 { padding-bottom: 0; }

/* Space the introduction in normal flow. Access forms use their own section gap. */
.admin-main > .container-fluid:not(.admin-access-form) h1 + :is(p, dl, .alert, .d-flex:has(> p:first-child)) {
    margin-top: 1rem;
}

[data-bs-theme="dark"] .admin-main .btn-outline-primary {
    --bs-btn-color: var(--bs-link-color);
    --bs-btn-border-color: var(--bs-link-color);
}
