.summaryPanel {
    display: flex;
    flex: 0 0 auto;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-5);
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--border);
}

.summaryActions,
.summaryItems {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: var(--space-3);
}

.summaryItems {
    flex: 1;
    gap: var(--space-7);
}

.summaryItem {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: var(--space-2);
}

.summaryLabel {
    flex: 0 0 auto;
    color: var(--text-tertiary);
    font-size: var(--admin-font-size);
    font-weight: 650;
}

.summaryValue {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    overflow: hidden;
    color: var(--text-primary);
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.statusBadge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    height: 26px;
    padding: 0 var(--space-2);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 750;
}

.statusActive {
    background: var(--success-surface);
    color: var(--success);
}

.statusInactive {
    background: var(--fill-secondary);
    color: var(--text-tertiary);
}

.identity {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: var(--space-3);
}

.stack {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.name {
    overflow: hidden;
    color: var(--text-primary);
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.meta {
    overflow: hidden;
    color: var(--text-tertiary);
    font-size: var(--admin-font-size);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.drawerSectionTitle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    color: var(--text-secondary);
    font-weight: 700;
}

.tierEditorList {
    display: grid;
    gap: var(--space-3);
}

.tierEditor {
    display: grid;
    gap: var(--space-3);
    padding: var(--space-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-2);
    background: var(--fill-secondary);
}

.tierEditorHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    color: var(--text-primary);
    font-weight: 700;
}

.emptyState {
    display: flex;
    min-height: 92px;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius-2);
    color: var(--text-tertiary);
}

@media (max-width: 900px) {
    .summaryPanel {
        align-items: flex-start;
        flex-direction: column;
    }

    .summaryItems {
        width: 100%;
        align-items: flex-start;
        flex-direction: column;
        gap: var(--space-3);
    }

    .summaryActions {
        justify-content: flex-start;
    }
}
