.group-state-sidebar .catalog-list {
    max-height: 76vh;
}

.group-state-interval-cell {
    min-width: 16rem;
    font-size: 0.9rem;
    color: #42576d;
}

.group-state-time-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 14rem;
    gap: 1rem;
}

.group-state-table-wrap {
    overflow: auto;
}

.group-state-matrix-table {
    min-width: 48rem;
}

.group-state-matrix-table thead th {
    min-width: 12rem;
    background: #f6faff;
    vertical-align: bottom;
}

.group-state-matrix-table tbody th {
    min-width: 12rem;
    background: #f9fbfe;
}

.group-state-matrix-cell {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.9rem;
    color: #344b63;
}

.group-state-matrix-diagonal {
    text-align: center;
    color: #7c8ea1;
    font-weight: 600;
}

.group-state-chart-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.group-state-chart-card {
    border: 1px solid #dbe5ef;
    border-radius: 1rem;
    padding: 1rem;
    background: linear-gradient(180deg, #fbfdff, #f4f9ff);
}

.group-state-chart-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #3e5c7a;
    margin-bottom: 0.75rem;
}

.group-state-chart-svg {
    width: 100%;
    height: auto;
    display: block;
}

.group-state-chart-ring {
    fill: none;
    stroke: #c8d7e8;
    stroke-width: 2;
}

.group-state-chart-inner {
    fill: #ffffff;
    stroke: #e6eef7;
    stroke-width: 1.5;
}

.group-state-chart-center {
    font-size: 0.9rem;
    fill: #53708d;
    font-weight: 700;
}

.group-state-chart-center-value {
    font-size: 1.5rem;
    fill: #1f3650;
    font-weight: 700;
}

.group-state-chart-legend {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.group-state-legend-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: #3d536b;
}

.group-state-legend-color {
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 999px;
    flex: 0 0 auto;
}

@media (max-width: 991.98px) {
    .group-state-time-grid {
        grid-template-columns: 1fr;
    }

    .group-state-interval-cell {
        min-width: 0;
    }

    .group-state-matrix-table {
        min-width: 36rem;
    }
}
