h1:focus {
    outline: none;
}

body {
    background: #f5f5f5;
}

/* Layout styles are global: the layout root is an Ant Design component, so scoped (::deep) CSS cannot attach to it. */
.app-header {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0 24px;
}

.app-header .brand {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    white-space: nowrap;
}

.app-header .app-menu {
    flex: 1;
    min-width: 0;
}

.app-header .budget {
    color: #fff;
    white-space: nowrap;
}

.app-content {
    padding: 24px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.page-title {
    margin: 0 0 16px;
    font-size: 22px;
    font-weight: 600;
}

.section-gap {
    margin-bottom: 16px;
}

.muted {
    color: rgba(0, 0, 0, 0.45);
}

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

    .blazor-error-boundary::after {
        content: "Произошла ошибка."
    }
