/* ── VK Ads Automation — Dashboard Theme ─────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --bg-primary: #0a0e17;
    --bg-secondary: #111827;
    --bg-card: #1a2236;
    --bg-card-hover: #1f2a42;
    --bg-input: #0f1629;
    --border: #2a3654;
    --border-active: #4a7dff;

    --text-primary: #e8ecf4;
    --text-secondary: #8899b4;
    --text-muted: #556a8a;

    --accent: #4a7dff;
    --accent-hover: #6b96ff;
    --accent-dim: rgba(74, 125, 255, 0.12);

    --green: #34d399;
    --green-dim: rgba(52, 211, 153, 0.12);
    --red: #f87171;
    --red-dim: rgba(248, 113, 113, 0.12);
    --yellow: #fbbf24;
    --yellow-dim: rgba(251, 191, 36, 0.12);
    --orange: #fb923c;
    --purple: #a78bfa;
    --purple-dim: rgba(167, 139, 250, 0.12);

    --radius: 10px;
    --radius-sm: 6px;
    --shadow: 0 4px 24px rgba(0,0,0,0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Manrope', -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* ── Layout ────────────────────────────────────────────────────── */
.app-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

/* ── Sidebar ───────────────────────────────────────────────────── */
.sidebar {
    background: var(--bg-secondary);
    border-right: 1px solid var(--border);
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-logo {
    padding: 0 20px 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
}

.sidebar-logo h1 {
    font-size: 18px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.3px;
}

.sidebar-logo .subtitle {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-section {
    padding: 8px 12px;
}

.sidebar-section-title {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    padding: 8px 8px 6px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.15s;
    user-select: none;
}

.sidebar-item:hover {
    background: var(--accent-dim);
    color: var(--text-primary);
}

.sidebar-item.active {
    background: var(--accent-dim);
    color: var(--accent);
    font-weight: 600;
}

.sidebar-item .icon {
    width: 18px;
    height: 18px;
    opacity: 0.7;
}

.sidebar-item.active .icon { opacity: 1; }

.sidebar-badge {
    margin-left: auto;
    background: var(--accent-dim);
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    font-family: 'JetBrains Mono', monospace;
}

.sidebar-footer {
    margin-top: auto;
    padding: 16px 20px;
    border-top: 1px solid var(--border);
}

.dry-run-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--yellow-dim);
    color: var(--yellow);
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dry-run-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--yellow);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ── Main Content ─────────────────────────────────────────────── */
.main-content {
    padding: 28px 32px;
    overflow-y: auto;
}

/* ── Header bar ───────────────────────────────────────────────── */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 16px;
    flex-wrap: wrap;
}

.page-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.header-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* ── Date picker ─────────────────────────────────────────────── */
.date-range {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 6px 12px;
}

.date-range label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.date-range input[type="date"] {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 12.5px;
    outline: none;
    cursor: pointer;
}

.date-range input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.7);
    cursor: pointer;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    font-family: 'Manrope', sans-serif;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.15s;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover { background: var(--accent-hover); }

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-secondary);
    border-color: var(--border);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.btn-danger {
    background: var(--red-dim);
    color: var(--red);
    border-color: transparent;
}

.btn-danger:hover { background: rgba(248, 113, 113, 0.2); }

.btn-success {
    background: var(--green-dim);
    color: var(--green);
}

.btn-sm { padding: 5px 10px; font-size: 12px; }

/* ── Tabs (Campaigns / Groups / Banners) ─────────────────────── */
.tabs-bar {
    display: flex;
    gap: 2px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 3px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
    width: fit-content;
}

.tab-btn {
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.15s;
    font-family: 'Manrope', sans-serif;
}

.tab-btn:hover { color: var(--text-primary); }

.tab-btn.active {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 2px 8px rgba(74, 125, 255, 0.3);
}

/* ── Data Table ──────────────────────────────────────────────── */
.table-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.data-table thead th {
    background: var(--bg-secondary);
    padding: 10px 14px;
    text-align: left;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 1;
}

.data-table tbody td {
    padding: 10px 14px;
    border-bottom: 1px solid rgba(42, 54, 84, 0.4);
    font-variant-numeric: tabular-nums;
}

.data-table tbody tr:hover {
    background: var(--bg-card-hover);
}

.data-table tbody tr:last-child td { border-bottom: none; }

.data-table .col-checkbox { width: 36px; text-align: center; }
.data-table .col-id { width: 80px; }
.data-table .col-name { min-width: 200px; }
.data-table .col-status { width: 100px; }
.data-table .col-metric { width: 100px; text-align: right; }

.data-table input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--accent);
}

/* ── Status badges ───────────────────────────────────────────── */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.status-active { background: var(--green-dim); color: var(--green); }
.status-blocked { background: var(--red-dim); color: var(--red); }
.status-deleted { background: rgba(100,100,100,0.15); color: #888; }
.status-pending { background: var(--yellow-dim); color: var(--yellow); }
.status-allowed { background: var(--green-dim); color: var(--green); }
.status-banned { background: var(--red-dim); color: var(--red); }

.metric-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12.5px;
    font-weight: 500;
}

.metric-zero { color: var(--text-muted); }

/* ── Modal / Rule Editor ─────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 580px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 28px;
    transform: translateY(20px);
    transition: transform 0.2s;
}

.modal.modal-wide {
    width: 720px;
}

.modal-overlay.open .modal { transform: translateY(0); }

.modal-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.2px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input, .form-select {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 9px 12px;
    color: var(--text-primary);
    font-family: 'Manrope', sans-serif;
    font-size: 13.5px;
    outline: none;
    transition: border-color 0.15s;
}

.form-input:focus, .form-select:focus {
    border-color: var(--accent);
}

.form-select { cursor: pointer; }

.condition-row {
    display: grid;
    grid-template-columns: 1fr 80px 100px 130px 32px;
    gap: 6px;
    align-items: center;
    margin-bottom: 6px;
}

.condition-row .form-select,
.condition-row .form-input {
    padding: 7px 8px;
    font-size: 12.5px;
}

.condition-remove {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--red-dim);
    color: var(--red);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 16px;
}

/* ── Condition Groups ───────────────────────────────────────── */
.condition-group {
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px;
    margin-bottom: 8px;
    position: relative;
}

.condition-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.condition-group-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.condition-group-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 14px;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.15s;
}

.condition-group-remove:hover {
    background: var(--red-dim);
    color: var(--red);
}

.or-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 0;
    font-size: 11px;
    font-weight: 700;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.or-divider::before,
.or-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.add-condition-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--accent);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px 0;
    font-family: 'Manrope', sans-serif;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.form-checkbox-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.form-checkbox-row label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    text-transform: none;
    letter-spacing: 0;
    margin: 0;
}

/* ── Client selector ─────────────────────────────────────────── */
.client-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.client-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.15s;
}

.client-card:hover { border-color: var(--accent); background: var(--bg-card-hover); }
.client-card.active { border-color: var(--accent); background: var(--accent-dim); }

.client-card .client-name {
    font-weight: 600;
    font-size: 13.5px;
    flex: 1;
}

.client-card .client-id {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--text-muted);
}

.monitor-toggle {
    position: relative;
    width: 36px;
    height: 20px;
    background: var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s;
    border: none;
    flex-shrink: 0;
}

.monitor-toggle.on { background: var(--accent); }

.monitor-toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    transition: transform 0.2s;
}

.monitor-toggle.on::after { transform: translateX(16px); }

/* ── Log Filters ────────────────────────────────────────────── */
.log-filters {
    display: flex;
    align-items: center;
    gap: 10px;
}

.log-filter-select {
    width: auto;
    min-width: 200px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 7px 12px;
    color: var(--text-primary);
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    cursor: pointer;
    outline: none;
}

.log-filter-select:focus {
    border-color: var(--accent);
}

/* ── Action Log ──────────────────────────────────────────────── */
.log-entry {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(42, 54, 84, 0.4);
}

.log-entry:last-child { border-bottom: none; }

.log-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.log-icon.stop { background: var(--red-dim); }
.log-icon.keep { background: var(--green-dim); }
.log-icon.dry-run { background: var(--yellow-dim); }

.log-content { flex: 1; }

.log-title {
    font-size: 13px;
    font-weight: 600;
}

.log-detail {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.log-time {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--text-muted);
    flex-shrink: 0;
}

/* ── Toolbar for selected banners ────────────────────────────── */
.selection-toolbar {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: var(--accent-dim);
    border: 1px solid var(--border-active);
    border-radius: var(--radius);
    margin-bottom: 16px;
    animation: slideDown 0.2s;
}

.selection-toolbar.visible { display: flex; }

.selection-toolbar .selected-count {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Empty state ─────────────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state .empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.3;
}

.empty-state p {
    font-size: 14px;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── Loading spinner ─────────────────────────────────────────── */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.spinner {
    width: 28px;
    height: 28px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── Toast notifications ─────────────────────────────────────── */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--shadow);
    animation: toastIn 0.3s;
}

.toast-success { background: var(--green-dim); color: var(--green); border: 1px solid var(--green); }
.toast-error { background: var(--red-dim); color: var(--red); border: 1px solid var(--red); }
.toast-info { background: var(--accent-dim); color: var(--accent); border: 1px solid var(--accent); }

@keyframes toastIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ── Scrollbar ───────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ── Sortable columns ───────────────────────────────────────── */
.data-table thead th.sortable {
    cursor: pointer;
    user-select: none;
    transition: color 0.15s;
}

.data-table thead th.sortable:hover {
    color: var(--accent);
}

.sort-arrow {
    font-size: 10px;
    color: var(--text-muted);
    opacity: 0.4;
}

.sort-arrow.active {
    color: var(--accent);
    opacity: 1;
}

/* ── Assign rule multi-select ───────────────────────────────── */
.assign-rule-item {
    padding: 8px 10px;
    border-bottom: 1px solid rgba(42, 54, 84, 0.4);
    transition: background 0.1s;
}

.assign-rule-item:last-child { border-bottom: none; }

.assign-rule-item:hover {
    background: var(--bg-card-hover);
}

.assign-rule-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    flex-wrap: wrap;
}

.assign-rule-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: var(--accent);
}

.assign-rule-name {
    font-weight: 600;
}

.assign-rule-info {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 400;
    width: 100%;
    padding-left: 26px;
    margin-top: 2px;
}

/* ── Rule badges with remove button ── */
.rule-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
}
.rule-badge.status-allowed { background: rgba(46,204,113,.15); color: #27ae60; }
.rule-badge.status-pending { background: rgba(243,156,18,.15); color: #e67e22; }

.rule-remove {
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    opacity: 0.5;
    transition: opacity 0.15s;
    margin-left: 2px;
}
.rule-remove:hover {
    opacity: 1;
    color: var(--danger, #e74c3c);
}


/* ── Banner uploader & preview ── */
.banner-drop-zone {
    border: 2px dashed var(--border);
    border-radius: 8px;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    font-size: 13px;
    color: var(--text-secondary);
    min-height: 100px;
}
.banner-drop-zone:hover,
.banner-drop-zone.drag-over {
    border-color: var(--accent);
    background: rgba(var(--accent-rgb, 99, 102, 241), 0.04);
}
.banner-preview-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px;
    max-width: 360px;
}
.banner-preview-img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}
.banner-preview-img-placeholder {
    width: 80px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border-radius: 4px;
    font-size: 24px;
    flex-shrink: 0;
}
.banner-preview-body { flex: 1; min-width: 0; }
.banner-preview-title { font-size: 13px; font-weight: 600; margin-bottom: 2px; white-space: normal; }
.banner-preview-desc { font-size: 12px; color: var(--text-secondary); margin-bottom: 4px; }
.banner-preview-url { font-size: 11px; color: var(--text-muted); }

/* ── Targeting tags ──────────────────────────────────────────────── */
.targeting-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px 2px 10px;
    background: var(--accent-dim);
    border: 1px solid rgba(74, 125, 255, 0.3);
    border-radius: 12px;
    font-size: 12px;
    color: var(--accent-hover);
    line-height: 1.6;
}
.targeting-tag .tag-remove {
    cursor: pointer;
    opacity: 0.6;
    font-size: 10px;
    line-height: 1;
    padding: 1px;
    border-radius: 50%;
}
.targeting-tag .tag-remove:hover { opacity: 1; }

/* ── Geo search dropdown ─────────────────────────────────────────── */
.geo-result-item {
    padding: 7px 12px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
    transition: background 0.1s;
}
.geo-result-item:last-child { border-bottom: none; }
.geo-result-item:hover { background: var(--bg-card-hover); }

/* ── Interests tree ──────────────────────────────────────────────── */
.interest-node { margin-bottom: 2px; }
.interest-node label {
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 5px;
    transition: background 0.1s;
    color: var(--text-primary);
}
.interest-node label:hover { background: var(--bg-card-hover); }
.interest-node .interest-children { padding-left: 18px; border-left: 1px solid var(--border); margin-left: 10px; }
.interest-node input[type="checkbox"] { accent-color: var(--accent); width: 14px; height: 14px; flex-shrink: 0; }
.interest-category-toggle {
    cursor: pointer;
    font-size: 10px;
    color: var(--text-muted);
    user-select: none;
    margin-left: auto;
    padding: 0 4px;
}
