.sgl3-retention-class-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    min-width: 0;
}

.sgl3-retention-class-header > strong {
    font-size: var(--sgl3-font-size-base);
    font-weight: 600;
    color: var(--sgl3-text);
}

.sgl3-retention-class-header > .sgl3-composition-actions {
    flex: 0 1 auto;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

.sgl3-retention-entity-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 16px;
    min-width: 0;
    padding: 8px 0;
    border-bottom: 1px solid var(--sgl3-border);
}

.sgl3-retention-entity-row:last-child {
    border-bottom: 0;
}

.sgl3-retention-entity-row > span {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

.sgl3-retention-entity-row strong {
    font-weight: 600;
    color: var(--sgl3-text);
}

.sgl3-retention-entity-row .mud-skeleton {
    flex: 0 0 32px;
}

.sgl3-retention-start-action {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

.sgl3-retention-run-summary {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px 24px;
    min-width: 0;
}

.sgl3-retention-run-summary > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.sgl3-retention-run-progress {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 24px;
}

.sgl3-retention-run-tables {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 24px;
}

.sgl3-retention-table-scroll {
    overflow-x: auto;
}

.sgl3-retention-key {
    overflow-wrap: anywhere;
}

.sgl3-retention-gate-band {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    min-width: 0;
}

.sgl3-retention-gate-band-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.sgl3-retention-gate-band tr[data-approved="false"] > td:first-child {
    color: var(--sgl3-error);
}

.sgl3-retention-gate-detail {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    overflow-wrap: anywhere;
}

.sgl3-retention-stays-hot {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--sgl3-border);
    border-radius: 8px;
    min-width: 0;
}

.sgl3-retention-stays-hot-header {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 16px;
    border-bottom: 1px solid var(--sgl3-border);
}

.sgl3-retention-stays-hot ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sgl3-retention-stays-hot li {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 8px 16px;
    border-bottom: 1px solid var(--sgl3-border);
    overflow-wrap: anywhere;
}

.sgl3-retention-stays-hot li:last-child {
    border-bottom: 0;
}

.sgl3-retention-new-run {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.sgl3-retention-dialog {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 64px);
}

.sgl3-retention-dialog > .mud-dialog-title,
.sgl3-retention-dialog .sgl3-retention-dialog-actions {
    flex-shrink: 0;
}

.sgl3-retention-dialog .sgl3-retention-dialog-content {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

.sgl3-retention-dialog-actions {
    flex-wrap: wrap;
    gap: 8px;
}

.sgl3-purge-dialog {
    max-width: 800px;
}

.sgl3-purge-dialog .sgl3-catalog-dialog-header,
.sgl3-purge-dialog .sgl3-catalog-dialog-footer {
    flex-shrink: 0;
}

.sgl3-purge-dialog .sgl3-catalog-dialog-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    gap: 16px;
}

.sgl3-purge-dialog .sgl3-catalog-dialog-body > * {
    flex-shrink: 0;
}

.sgl3-purge-dialog .sgl3-catalog-dialog-footer {
    flex-wrap: wrap;
}

.sgl3-purge-total {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
}

.sgl3-purge-total > strong {
    font-size: var(--sgl3-font-size-xl);
    font-weight: 600;
    color: var(--sgl3-text);
}

.sgl3-purge-empty,
.sgl3-purge-remains,
.sgl3-purge-irreversible {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sgl3-purge-remains,
.sgl3-purge-irreversible {
    padding: 16px;
    border: 1px solid var(--sgl3-border);
    border-radius: 8px;
}

.sgl3-purge-irreversible {
    border-color: var(--sgl3-error);
    color: var(--sgl3-error-lighten);
}

.sgl3-cold-notice .mud-alert-message {
    width: 100%;
    min-width: 0;
}

.sgl3-cold-notice-body {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 16px;
    min-width: 0;
}

.sgl3-cold-notice-text {
    display: flex;
    flex-direction: column;
    flex: 1 1 320px;
    gap: 4px;
    min-width: 0;
    overflow-wrap: anywhere;
}

.sgl3-cold-notice-text > [data-cold-notice-part="fact"] {
    font-weight: 600;
    color: var(--sgl3-text);
}

.sgl3-cold-notice-actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 8px;
}
