/* Identity Dashboard page chrome. BMS components stay unchanged; this only
   sizes and groups existing cards, toolbars, and lists. */

.identity-form-page-header {
    width: 100%;
    min-width: 0;
    margin-block-end: 1rem;
}

.identity-form-page-header__meta {
    margin-block-start: 0.5rem;
}

.identity-scroll-region,
.identity-scroll-region--fill,
.identity-page-scroll {
    min-width: 0;
    min-height: 0;
}

.identity-list-panel,
.identity-filter-bar {
    width: 100%;
    min-width: 0;
}

.identity-list-panel__toolbar,
.mc-list-toolbar,
.identity-filter-bar {
    display: flex;
    flex-flow: row wrap;
    align-items: flex-end;
    gap: 0.75rem 1rem;
    margin-block-end: 0.75rem;
}

.identity-list-panel__toolbar-start,
.identity-list-panel__toolbar-end,
.identity-filter-bar__fields,
.identity-filter-bar__actions {
    display: flex;
    flex-flow: row wrap;
    align-items: flex-end;
    gap: 0.5rem 0.75rem;
    min-width: 0;
}

.identity-filter-bar__fields {
    flex: 1 1 16rem;
}

.identity-filter-bar__actions {
    margin-inline-start: auto;
}

.mc-list-toolbar__spacer {
    flex: 1 1 0.5rem;
    min-width: 0;
}

.identity-list-panel__content,
.identity-list-panel__table-host {
    min-width: 0;
    width: 100%;
}

.identity-stat-card {
    min-height: 100%;
}

@media (pointer: coarse) {
    .identity-filter-bar__actions button,
    .identity-list-panel__toolbar-end button {
        min-height: 48px;
    }
}
