.cfg-table-wrap {
    margin-top: 16px;
    background: var(--bg-elevated, #fff);
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 12px;
    overflow: hidden;
}

.cfg-table {
    margin: 0;
}

.cfg-table thead th {
    background: var(--bg-muted, #f8fafc);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--text-muted, #64748b);
    border-bottom: 1px solid var(--border-color, #e5e7eb);
}

.cfg-table tbody td {
    vertical-align: middle;
    font-size: 14px;
}

.cfg-table .cfg-slug {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
    color: var(--text-muted, #64748b);
    display: block;
    margin-top: 2px;
}

.cfg-table .cfg-ejemplos {
    color: var(--text-secondary, #475569);
    font-size: 13px;
}

.cfg-table .cfg-demanda {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.cfg-table input.cfg-display-input {
    width: 100%;
}

.cfg-table .cfg-actions {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
}

.cfg-table .cfg-override-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 6px;
    font-size: 10px;
    font-weight: 600;
    border-radius: 6px;
    background: #fef3c7;
    color: #92400e;
    text-transform: uppercase;
    letter-spacing: .05em;
}

[data-theme="dark"] .cfg-table-wrap {
    background: var(--bg-elevated, #111827);
    border-color: var(--border-color, #1f2937);
}

[data-theme="dark"] .cfg-table thead th {
    background: #0f172a;
    color: #94a3b8;
    border-color: #1f2937;
}

[data-theme="dark"] .cfg-table .cfg-override-badge {
    background: rgba(251, 191, 36, .2);
    color: #fde68a;
}

.stats-field--grow { flex: 1 1 320px; }
