.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);
}

.summaryItems,
.summaryActions {
    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 {
    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);
}

.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;
}

.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);
}

.tierGrid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--space-2);
    align-items: center;
}

.detailPanel {
    display: grid;
    gap: var(--space-3);
    min-width: 420px;
}

@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);
    }
}
