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

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

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

.rowExpanded {
    background: var(--fill-secondary);
}

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

.expandIcon {
    display: inline-flex;
    flex: 0 0 22px;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
}

.detailRow {
    min-height: 0;
    border-bottom: 1px solid var(--row-border);
    background: var(--fill-secondary);
}

.detailCell {
    grid-column: 1 / -1;
    min-width: 0;
    padding: 0 var(--space-3) var(--space-3) calc(var(--space-3) + 30px);
}

.inviteeTable {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: var(--bg-card);
}

.inviteeHeader,
.inviteeRow {
    display: grid;
    min-height: 48px;
    align-items: center;
    grid-template-columns: minmax(240px, 1fr) minmax(140px, 0.45fr) minmax(190px, 0.55fr);
    gap: var(--space-3);
    padding: 0 var(--space-4);
}

.inviteeHeader {
    min-height: 40px;
    background: var(--bg-card-strong);
    color: var(--text-tertiary);
    font-size: var(--admin-font-size);
    font-weight: 700;
}

.inviteeRow {
    border-top: 1px solid var(--row-border);
    color: var(--text-secondary);
}

.inviteeEmpty {
    min-height: 48px;
    padding: var(--space-4);
    color: var(--text-tertiary);
}

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

.inlineFields {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: var(--space-3);
}

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

@media (max-width: 640px) {
    .inlineFields {
        grid-template-columns: 1fr;
    }

    .inviteeHeader,
    .inviteeRow {
        grid-template-columns: minmax(220px, 1fr) minmax(120px, 0.5fr) minmax(170px, 0.6fr);
    }
}
