.ezv-content-host {
    inline-size: 100%;
    min-inline-size: 0;
    max-inline-size: none;
    padding-inline: var(--ezv-page-gutter);
    container: ezv-content / inline-size;
}

.ezv-page-grid {
    inline-size: 100%;
    margin: 0;
}

.ezv-page-grid > [class*="col-"] {
    min-inline-size: 0;
    padding-inline: 0;
}

.ezv-page-shell {
    inline-size: 100%;
    min-inline-size: 0;
    max-inline-size: var(--ezv-content-max-width);
    margin-inline: auto;
}

.ezv-page {
    inline-size: 100%;
    min-inline-size: 0;
    max-inline-size: var(--ezv-content-standard-max-width);
    margin-inline: auto;
    padding-inline: 0;
}

.ezv-content-host .ezv-page {
    max-inline-size: none;
    margin-inline: 0;
}

.ezv-page--reading,
.ezv-page-shell.ezv-page--reading {
    max-inline-size: var(--ezv-content-reading-max-width);
}

.ezv-page--standard,
.ezv-page-shell.ezv-page--standard {
    max-inline-size: var(--ezv-content-standard-max-width);
}

.ezv-page--wide,
.ezv-page-shell.ezv-page--wide {
    max-inline-size: var(--ezv-content-wide-max-width);
}

.ezv-page--fluid,
.ezv-page-shell.ezv-page--fluid {
    max-inline-size: var(--ezv-content-fluid-max-width);
}

@container ezv-content (min-width: 90rem) {
    .ezv-page-shell.ezv-page--standard {
        inline-size: 94cqi;
    }
}

@supports not (container-type: inline-size) {
    @media (min-width: 100rem) {
        .ezv-page-shell.ezv-page--standard {
            inline-size: 94%;
        }
    }
}

.ezv-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--ezv-space-6);
    margin-bottom: var(--ezv-space-6);
}

.ezv-page-heading {
    min-inline-size: 0;
}

.ezv-page-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--ezv-space-2);
    margin-bottom: var(--ezv-space-2);
    color: var(--ezv-color-primary);
    font-size: var(--ezv-font-size-xs);
    font-weight: var(--ezv-font-weight-bold);
    text-transform: uppercase;
}

.ezv-page-title {
    margin: 0;
    font-size: 1.75rem;
    line-height: var(--ezv-line-height-compact);
}

.ezv-page-subtitle {
    max-width: 48rem;
    margin: var(--ezv-space-2) 0 0;
    color: var(--ezv-color-text-muted);
    font-size: var(--ezv-font-size-sm);
    line-height: var(--ezv-line-height-relaxed);
}

.ezv-page-actions,
.ezv-actions,
.ezv-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: var(--ezv-space-2);
}

.ezv-form-actions > .ui-button,
.ezv-form-actions > .ezv-button,
.ezv-form-actions > div > .ui-button,
.ezv-form-actions > div > .ezv-button {
    flex: 0 0 auto;
    width: auto;
}

.ezv-context-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(8.5rem, auto)) auto;
    gap: var(--ezv-space-4);
    align-items: center;
}

.ezv-context-item {
    min-inline-size: 0;
}

.ezv-context-label,
.ezv-context-value {
    display: block;
}

.ezv-context-label {
    margin-bottom: var(--ezv-space-1);
    color: var(--ezv-color-text-muted);
    font-size: var(--ezv-font-size-xs);
    font-weight: var(--ezv-font-weight-semibold);
    text-transform: uppercase;
}

.ezv-context-value {
    overflow: hidden;
    color: var(--ezv-color-heading);
    font-size: var(--ezv-font-size-sm);
    font-weight: var(--ezv-font-weight-semibold);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ezv-section {
    min-inline-size: 0;
    margin-top: var(--ezv-space-6);
}

.ezv-section + .ezv-section {
    margin-top: var(--ezv-space-8);
}

.ezv-section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--ezv-space-4);
    margin-bottom: var(--ezv-space-4);
}

.ezv-section-title {
    margin: 0;
    font-size: var(--ezv-font-size-lg);
    line-height: var(--ezv-line-height-compact);
}

.ezv-section-subtitle {
    margin: var(--ezv-space-1) 0 0;
    color: var(--ezv-color-text-muted);
    font-size: var(--ezv-font-size-sm);
}

.ezv-metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--ezv-space-3);
}

.ezv-status-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--ezv-space-3);
}

.ezv-two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--ezv-space-6);
}

.ezv-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--ezv-space-3);
    margin-bottom: var(--ezv-space-4);
}
