.table-shortcuts-settings {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 16px 0 22px;
    padding: 14px 16px;
    border: 1px solid var(--slate-200, #e2e8f0);
    border-radius: 10px;
    background: var(--slate-50, #f8fafc);
}

.table-shortcuts-toggle {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--slate-800, #1e293b);
    cursor: pointer;
}

.table-shortcuts-toggle input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--primary, #4f46e5);
}

.table-shortcuts-settings p {
    flex: 1 1 300px;
    margin: 0;
    color: var(--slate-500, #64748b);
    font-size: 12px;
    line-height: 1.5;
}

.bulk-cell.table-cell-calculated,
.sec10-target-row .table-cell-calculated {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.table-cell-suggestions {
    min-width: 120px;
}

#tableShortcutsControls {
    flex-basis: 100%;
    min-width: 0;
}

.metrics-toolbar .table-shortcuts-settings {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    gap: 4px 14px;
}

.metrics-toolbar .table-shortcuts-settings p {
    font-size: 11px;
}

.sec10-target-row .target-calculated-result {
    flex: 1;
    min-width: 70px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 6px 8px;
    border-radius: var(--radius-sm, 6px);
    background: var(--primary-light, #eef2ff);
    color: var(--slate-800, #1e293b);
    overflow-wrap: anywhere;
}

.target-result-label {
    font-size: 10px;
    color: var(--slate-500, #64748b);
}

.target-result-value {
    font-size: 12px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.sec10-target-row input[type="hidden"] {
    display: none !important;
}

.sec10-target-row .form-control {
    min-width: 0;
}

@media (max-width: 640px) {
    .sec10-target-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .sec10-target-row .tg-metric {
        grid-column: 1 / -1;
    }
    .sec10-target-row .btn-remove-target {
        grid-column: 1 / -1;
        justify-self: end;
    }
}
