.summaryPanel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--color-border-subtle);
    background: var(--color-surface);
}

.summaryItems {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.summaryItem {
    min-width: 140px;
}

.summaryLabel,
.meta {
    display: block;
    color: var(--color-text-muted);
    font-size: 12px;
}

.summaryValue {
    display: block;
    margin-top: 4px;
    color: var(--color-text);
    font-size: 18px;
    font-weight: 700;
}

.summaryActions {
    display: flex;
    gap: 10px;
}

.statusBadge {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.statusActive {
    color: #12603a;
    background: #dcfce7;
}

.statusDisabled {
    color: #475569;
    background: #e2e8f0;
}

.stack {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.levelEditorList {
    display: grid;
    gap: 12px;
}

.levelEditor {
    border: 1px solid var(--color-border-subtle);
    border-radius: 8px;
    padding: 14px;
    background: var(--color-surface-subtle);
}

.levelEditorHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 700;
}

.directLabel {
    color: var(--color-text-muted);
    font-size: 12px;
}

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

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