    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --bg: #f8f9fb;
      --white: #ffffff;
      --sidebar-bg: #ffffff;
      --border: #e5e7eb;
      --border-light: #f3f4f6;
      --primary: #007fff;
      --primary-light: #e6f3ff;
      --primary-hover: #0066cc;
      --primary-text: #0066cc;
      --success: #10b981;
      --success-light: #d1fae5;
      --success-text: #047857;
      --warning: #f59e0b;
      --warning-light: #fef3c7;
      --warning-text: #b45309;
      --danger: #ef4444;
      --danger-light: #fee2e2;
      --danger-text: #b91c1c;
      --medium-light: #dbeafe;
      --medium: #3b82f6;
      --medium-text: #1d4ed8;
      --text: #111827;
      --text-muted: #6b7280;
      --text-dim: #737a85;
      --sidebar-width: 220px;
    }

    body {
      background: var(--bg);
      color: var(--text);
      font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
      font-size: 14px;
      display: flex;
      height: 100vh;
      overflow: hidden;
    }

    /* ── SIDEBAR ── */
    .sidebar {
      width: var(--sidebar-width);
      background: var(--sidebar-bg);
      border-right: 1px solid var(--border);
      display: flex;
      flex-direction: column;
      flex-shrink: 0;
      height: 100vh;
      overflow-y: auto;
    }

    .sidebar-logo {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 16px 14px;
      border-bottom: 1px solid var(--border-light);
      font-weight: 700;
      font-size: 15px;
      cursor: pointer;
    }

    .logo-icon {
      width: 28px;
      height: 28px;
      background: var(--primary);
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 13px;
      font-weight: 800;
    }

    .sidebar-section {
      padding: 12px 8px 4px;
    }

    .sidebar-section-label {
      font-size: 11px;
      font-weight: 600;
      color: var(--text-dim);
      text-transform: uppercase;
      letter-spacing: 0.6px;
      padding: 0 8px;
      margin-bottom: 4px;
    }

    .nav-item {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 7px 8px;
      border-radius: 7px;
      cursor: pointer;
      color: var(--text-muted);
      font-weight: 500;
      transition: all 0.12s;
      font-size: 13.5px;
    }

    .nav-item:hover { background: var(--bg); color: var(--text); }
    .nav-item.active { background: var(--primary-light); color: var(--primary-text); font-weight: 600; }

    .nav-icon { font-size: 15px; width: 18px; text-align: center; flex-shrink: 0; }

    .sidebar-footer {
      margin-top: auto;
      padding: 12px;
      border-top: 1px solid var(--border-light);
    }

    .credits-box {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 10px 12px;
    }

    .credits-title { font-weight: 600; font-size: 13px; margin-bottom: 2px; }
    .credits-sub { font-size: 11px; color: var(--text-muted); margin-bottom: 8px; }

    /* ── Connection status widget (floating top-right) ── */
    .conn-widget {
      position: relative;
      margin-right: auto;
      z-index: 300;
    }
    .conn-pill {
      display: flex;
      align-items: center;
      gap: 4px;
      padding: 4px 6px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 10px;
      cursor: default;
      transition: box-shadow 0.2s;
      box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    }
    .conn-widget:hover .conn-pill {
      box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    }
    .conn-chip {
      display: flex;
      align-items: center;
      gap: 4px;
      padding: 2px 7px;
      border-radius: 6px;
      background: var(--bg);
      border: 1px solid var(--border-light);
      font-size: 10px;
      font-weight: 500;
      color: var(--text-muted);
      white-space: nowrap;
      transition: border-color 0.3s;
    }
    .conn-chip.ok    { border-color: rgba(34,197,94,0.3);  color: var(--text); }
    .conn-chip.error { border-color: rgba(239,68,68,0.25); color: var(--text-muted); }
    .conn-divider {
      width: 1px; height: 14px;
      background: var(--border);
      margin: 0 2px;
      flex-shrink: 0;
    }
    .conn-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      flex-shrink: 0;
      background: var(--border);
      transition: background 0.4s, box-shadow 0.4s;
    }
    .conn-dot.ok      { background: #22c55e; box-shadow: 0 0 5px rgba(34,197,94,0.5); }
    .conn-dot.error   { background: #ef4444; box-shadow: 0 0 5px rgba(239,68,68,0.45); }
    .conn-dot.pending { background: #94a3b8; }

    /* Expanded card on hover */
    .conn-card {
      position: absolute;
      top: calc(100% + 8px);
      right: 0;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 12px;
      box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
      min-width: 210px;
      overflow: hidden;
      opacity: 0;
      transform: translateY(-6px) scale(0.97);
      pointer-events: none;
      transition: opacity 0.18s ease, transform 0.18s ease;
    }
    .conn-widget:hover .conn-card {
      opacity: 1;
      transform: translateY(0) scale(1);
      pointer-events: auto;
    }
    .conn-card-section {
      padding: 8px 0 4px;
    }
    .conn-card-section + .conn-card-section {
      border-top: 1px solid var(--border-light);
    }
    .conn-card-title {
      font-size: 9px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.6px;
      color: var(--text-dim);
      padding: 0 14px 5px;
    }
    .conn-row {
      display: flex;
      align-items: center;
      gap: 9px;
      padding: 5px 14px;
      transition: background 0.1s;
    }
    .conn-row:hover { background: var(--bg); }
    .conn-row-label {
      flex: 1;
      font-size: 12px;
      color: var(--text-muted);
      font-weight: 500;
    }
    .conn-row-status {
      font-size: 10px;
      font-weight: 600;
      padding: 2px 7px;
      border-radius: 5px;
    }
    .conn-row-status.ok      { background: rgba(34,197,94,0.12);  color: #047857; }
    .conn-row-status.error   { background: rgba(239,68,68,0.10);  color: #dc2626; }
    .conn-row-status.pending { background: var(--bg); color: #64748b; border: 1px solid var(--border); }

    .credits-bar {
      height: 4px;
      background: var(--border);
      border-radius: 2px;
      overflow: hidden;
    }

    .credits-fill {
      height: 100%;
      background: var(--primary);
      border-radius: 2px;
      transition: width 0.4s;
    }

    .credits-warn-badge {
      display: inline-flex;
      align-items: center;
      gap: 3px;
      background: #fff7ed;
      color: #c2410c;
      border: 1px solid #fed7aa;
      border-radius: 4px;
      font-size: 10px;
      font-weight: 600;
      padding: 1px 5px;
      margin-left: 5px;
      vertical-align: middle;
      cursor: default;
    }
    .credits-warn-hint {
      font-size: 10px;
      color: #c2410c;
      margin-top: 3px;
      display: none;
    }

    /* Login overlay */
    .login-overlay {
      position: fixed; inset: 0;
      background: rgba(0,0,0,0.5);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 10000;
    }

    .login-box {
      background: var(--white);
      border-radius: 14px;
      padding: 36px 32px;
      width: 360px;
      box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    }

    .login-logo {
      font-size: 20px;
      font-weight: 800;
      margin-bottom: 6px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .login-subtitle {
      font-size: 13px;
      color: var(--text-muted);
      margin-bottom: 24px;
    }

    .login-field {
      margin-bottom: 14px;
    }

    .login-label {
      font-size: 12px;
      font-weight: 600;
      color: var(--text-muted);
      margin-bottom: 5px;
    }

    .login-input {
      width: 100%;
      padding: 9px 12px;
      border: 1.5px solid var(--border);
      border-radius: 7px;
      font-size: 14px;
      outline: none;
      transition: border-color 0.15s;
    }

    .login-input:focus { border-color: var(--primary-text); }

    .login-error {
      font-size: 12px;
      color: var(--danger-text);
      margin-bottom: 12px;
      min-height: 16px;
    }

    .btn-login {
      width: 100%;
      padding: 10px;
      background: var(--text);
      color: #fff;
      border: none;
      border-radius: 7px;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.12s;
    }

    .btn-login:hover { background: #1f2937; }

    /* Sidebar user */
    .sidebar-user {
      padding: 10px 12px;
      border-top: 1px solid var(--border-light);
      display: flex;
      align-items: center;
      gap: 8px;
      cursor: pointer;
    }

    .user-avatar {
      width: 28px;
      height: 28px;
      background: var(--primary);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 11px;
      font-weight: 700;
      flex-shrink: 0;
    }

    .user-info { flex: 1; min-width: 0; }
    .user-name { font-size: 13px; font-weight: 600; }
    .user-bu { font-size: 11px; color: var(--text-muted); }

    /* ── MAIN ── */
    .main {
      flex: 1;
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    /* ── TOPBAR ── */
    .topbar {
      background: var(--white);
      border-bottom: 1px solid var(--border);
      padding: 0 24px;
      height: 52px;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 8px;
      flex-shrink: 0;
      overflow: visible;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 7px 14px;
      border-radius: 7px;
      border: 1px solid var(--border);
      background: var(--white);
      color: var(--text);
      font-size: 13px;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.12s;
    }

    .btn:hover { background: var(--bg); }
    .btn:disabled { opacity: 0.6; cursor: not-allowed; }

    .btn-primary {
      background: var(--text);
      color: #fff;
      border-color: var(--text);
    }

    .btn-primary:hover:not(:disabled) { background: #1f2937; }

    .btn-indigo {
      background: var(--primary);
      color: #fff;
      border-color: var(--primary-text);
    }

    .btn-indigo:hover:not(:disabled) { background: var(--primary-hover); }

    .btn-sm { padding: 5px 10px; font-size: 12px; }

    /* ── CONTENT ── */
    .content {
      flex: 1;
      overflow-y: auto;
      overflow-x: hidden;
      padding: 28px 28px;
      min-width: 0;
    }

    /* ── AI FINDER ── */
    .finder-wrap {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      min-height: 420px;
      text-align: center;
    }

    .finder-greeting {
      font-size: 22px;
      font-weight: 600;
      margin-bottom: 20px;
      color: var(--text);
    }

    .finder-box {
      width: 100%;
      max-width: 620px;
      background: var(--white);
      border: 1.5px solid var(--border);
      border-radius: 14px;
      padding: 14px 16px;
      display: flex;
      align-items: flex-end;
      gap: 10px;
      box-shadow: 0 2px 12px rgba(0,0,0,0.06);
      transition: border-color 0.2s;
    }

    .finder-box:focus-within { border-color: var(--primary-text); }

    .finder-input {
      flex: 1;
      border: none;
      outline: none;
      font-size: 15px;
      color: var(--text);
      background: transparent;
      resize: none;
      min-height: 44px;
      line-height: 1.5;
    }

    .finder-input::placeholder { color: var(--text-dim); }

    .finder-send {
      width: 36px;
      height: 36px;
      border-radius: 8px;
      background: var(--text);
      color: #fff;
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      font-size: 16px;
      transition: background 0.12s;
    }

    .finder-send:hover { background: #374151; }
    .finder-send:disabled { background: var(--border); color: var(--text-muted); cursor: not-allowed; }

    .finder-chips {
      display: flex;
      gap: 8px;
      margin-top: 16px;
      flex-wrap: wrap;
      justify-content: center;
    }

    .finder-chip {
      display: flex;
      align-items: center;
      gap: 5px;
      padding: 7px 14px;
      border-radius: 20px;
      border: 1px solid var(--border);
      background: var(--white);
      font-size: 13px;
      color: var(--text-muted);
      cursor: pointer;
      transition: all 0.12s;
    }

    .finder-chip:hover { border-color: var(--primary-text); color: var(--primary-text); background: var(--primary-light); }

    /* ── FINDER FILTERS PANEL ── */
    .finder-filters {
      margin-top: 12px;
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 12px;
      overflow: hidden;
      transition: max-height .2s ease;
    }
    .finder-filters-toggle {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 10px 16px;
      cursor: pointer;
      font-size: 13px;
      font-weight: 500;
      color: var(--text-muted);
      user-select: none;
      border-bottom: 1px solid transparent;
      transition: color .15s;
    }
    .finder-filters-toggle:hover { color: var(--primary-text); }
    .finder-filters-toggle.open { color: var(--primary-text); border-bottom-color: var(--border); }
    .finder-filters-body {
      display: none;
      padding: 14px 16px;
      gap: 12px;
      flex-wrap: wrap;
    }
    .finder-filters-body.open { display: flex; }
    .flt-group {
      display: flex;
      flex-direction: column;
      gap: 4px;
      min-width: 140px;
      flex: 1;
    }
    .flt-group label { font-size: 11px; font-weight: 600; color: var(--text-dim); text-transform: uppercase; letter-spacing: .04em; }
    .flt-group input, .flt-group select {
      border: 1px solid var(--border);
      border-radius: 6px;
      padding: 6px 8px;
      font-size: 13px;
      color: var(--text);
      background: var(--white);
      font-family: inherit;
      outline: none;
      transition: border-color .15s;
    }
    .flt-group input:focus, .flt-group select:focus { border-color: var(--primary-text); }
    .flt-clear {
      align-self: flex-end;
      padding: 6px 12px;
      border: 1px solid var(--border);
      border-radius: 6px;
      font-size: 12px;
      cursor: pointer;
      background: var(--white);
      color: var(--text-muted);
      font-family: inherit;
    }
    .flt-clear:hover { border-color: var(--danger-text); color: var(--danger-text); }

    /* ── EMPTY STATE ── */
    .finder-empty {
      text-align: center;
      padding: 48px 24px;
      color: var(--text-dim);
    }
    .finder-empty svg { margin-bottom: 12px; opacity: .4; }
    .finder-empty p { font-size: 14px; margin-bottom: 6px; color: var(--text-muted); }
    .finder-empty small { font-size: 12px; }

    /* ── SEARCH / FILTER BAR ── */
    .table-toolbar {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 16px;
    }

    .search-input {
      flex: 1;
      max-width: 260px;
      padding: 7px 12px 7px 32px;
      border: 1px solid var(--border);
      border-radius: 7px;
      font-size: 13px;
      background: var(--white);
      color: var(--text);
      outline: none;
      position: relative;
    }

    .search-wrap {
      position: relative;
    }

    .search-wrap::before {
      content: '⌕';
      position: absolute;
      left: 10px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--text-dim);
      font-size: 15px;
      pointer-events: none;
    }

    .search-input:focus { border-color: var(--primary-text); }

    .toolbar-sep { flex: 1; }

    /* ── TABLE ── */
    .table-wrap {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 10px;
      overflow-x: auto;
      overflow-y: hidden;
      width: 100%;
    }

    table {
      width: 100%;
      min-width: 700px;
      border-collapse: collapse;
    }

    thead th {
      padding: 10px 14px;
      text-align: left;
      font-size: 12px;
      font-weight: 600;
      color: var(--text-muted);
      border-bottom: 1px solid var(--border);
      white-space: nowrap;
      background: var(--white);
    }

    thead th:first-child { width: 36px; padding-right: 0; }

    tbody tr {
      border-bottom: 1px solid var(--border-light);
      transition: background 0.1s;
    }

    tbody tr:last-child { border-bottom: none; }
    tbody tr:hover { background: var(--bg); }
    tbody tr.selected { background: var(--primary-light); }

    tbody td {
      padding: 10px 14px;
      font-size: 13.5px;
      vertical-align: middle;
    }

    tbody td:first-child { width: 36px; padding-right: 0; }

    .td-name { font-weight: 500; }
    .td-muted { color: var(--text-muted); font-size: 12px; }

    /* Score badges */
    .score {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-size: 12px;
      font-weight: 600;
    }

    .score-dot {
      display: flex;
      gap: 2px;
      align-items: flex-end;
    }

    .score-dot span {
      width: 3px;
      border-radius: 1px;
      background: var(--border);
    }

    .score-dot span:nth-child(1) { height: 6px; }
    .score-dot span:nth-child(2) { height: 9px; }
    .score-dot span:nth-child(3) { height: 12px; }

    .score.high .score-dot span { background: var(--success); }
    .score.medium .score-dot span:nth-child(1),
    .score.medium .score-dot span:nth-child(2) { background: var(--medium); }
    .score.low .score-dot span:nth-child(1) { background: var(--warning); }
    .score.disqualified .score-dot span { background: var(--border); }

    .score.high { color: var(--success-text); }
    .score.medium { color: var(--medium-text); }
    .score.low { color: var(--warning-text); }
    .score.disqualified { color: var(--text-dim); }

    .source-badge {
      display: inline-block;
      font-size: 11px;
      padding: 2px 7px;
      border-radius: 20px;
      font-weight: 600;
    }

    .source-hunter { background: #e0f2fe; color: #0369a1; }
    .source-scraper { background: #fef3c7; color: #b45309; }
    .source-import { background: #f3e8ff; color: #7c3aed; }

    .sent-badge {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      font-size: 11px;
      background: var(--success-light);
      color: var(--success-text);
      padding: 2px 7px;
      border-radius: 20px;
      font-weight: 600;
    }

    .in-bran-badge {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      font-size: 11px;
      background: #eff6ff;
      color: #1d4ed8;
      padding: 2px 7px;
      border-radius: 20px;
      font-weight: 600;
      margin-left: 4px;
    }

    .link-btn {
      color: var(--primary-text);
      text-decoration: none;
      font-size: 12px;
    }

    .link-btn:hover { text-decoration: underline; }

    .open-chip {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      font-size: 11px;
      border: 1px solid var(--border);
      border-radius: 4px;
      padding: 2px 6px;
      color: var(--text-muted);
    }

    /* Empty state */
    .empty-state {
      padding: 60px 20px;
      text-align: center;
      color: var(--text-muted);
    }

    .empty-state .empty-icon { font-size: 32px; margin-bottom: 10px; }
    .empty-state p { font-size: 14px; }

    /* Loading spinner */
    .spinner {
      display: inline-block;
      width: 16px;
      height: 16px;
      border: 2px solid var(--border);
      border-top-color: var(--primary-text);
      border-radius: 50%;
      animation: spin 0.7s linear infinite;
      vertical-align: middle;
    }

    @keyframes spin { to { transform: rotate(360deg); } }

    /* Skeleton loaders (FASE D2) */
    @keyframes skeleton-shimmer {
      0%   { background-position: -400px 0; }
      100% { background-position: 400px 0; }
    }
    .skeleton-box {
      display: inline-block;
      background: linear-gradient(90deg, #e9edf2 0%, #f4f6fa 50%, #e9edf2 100%);
      background-size: 800px 100%;
      animation: skeleton-shimmer 1.2s linear infinite;
      border-radius: 4px;
      height: 12px;
      width: 100%;
      vertical-align: middle;
    }
    .skeleton-row td { padding: 10px 12px; }

    /* Page title */
    .page-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 20px;
    }

    .page-title { font-size: 18px; font-weight: 700; }

    /* ── Intent Signals ── */
    .signal-card {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 14px 16px;
      margin-bottom: 10px;
      display: flex;
      gap: 14px;
      align-items: flex-start;
      transition: box-shadow 0.15s, border-color 0.15s;
      cursor: default;
    }
    .signal-card:hover { box-shadow: 0 2px 10px rgba(0,0,0,0.07); border-color: var(--border); }
    .signal-card.unread { border-left: 3px solid var(--primary); background: var(--primary-light); }
    .signal-icon { font-size: 22px; flex-shrink: 0; width: 34px; text-align: center; margin-top: 1px; }
    .signal-body { flex: 1; min-width: 0; }
    .signal-title { font-weight: 600; font-size: 13.5px; color: var(--text); margin-bottom: 3px; }
    .signal-summary { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; }
    .signal-meta { display: flex; gap: 8px; margin-top: 6px; align-items: center; flex-wrap: wrap; }
    .signal-badge {
      font-size: 10.5px; font-weight: 600; padding: 2px 7px; border-radius: 10px;
      background: var(--border-light); color: var(--text-muted);
    }
    .signal-badge.job     { background: #dbeafe; color: #1d4ed8; }
    .signal-badge.funding { background: #d1fae5; color: #065f46; }
    .signal-badge.tech    { background: #fce7f3; color: #9d174d; }
    .signal-badge.web     { background: #fef3c7; color: #92400e; }
    .signal-badge.news    { background: #f3e8ff; color: #6b21a8; }
    .signal-badge.exec    { background: #e0f2fe; color: #0369a1; }
    .signal-score { font-size: 11px; color: var(--text-dim); margin-left: auto; }
    .signal-actions { display: flex; gap: 6px; flex-shrink: 0; align-items: flex-start; }
    .signal-actions button { background: none; border: 1px solid var(--border); border-radius: 6px; padding: 4px 8px; font-size: 11px; cursor: pointer; color: var(--text-muted); transition: all 0.12s; }
    .signal-actions button:hover { border-color: var(--primary-text); color: var(--primary-text); }
    .signals-toolbar { display: flex; gap: 8px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
    .signals-filter-btn { padding: 5px 12px; border-radius: 7px; border: 1px solid var(--border); background: var(--white); font-size: 12px; cursor: pointer; font-weight: 500; color: var(--text-muted); transition: all 0.12s; }
    .signals-filter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary-text); }

    /* INTCORP-1209: Wizard styles */
    .wizard-chip { padding: 6px 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--white); font-size: 13px; cursor: pointer; transition: all 0.12s; color: var(--text); }
    .wizard-chip:hover { border-color: var(--primary-text); color: var(--primary-text); }
    .wizard-chip.selected { background: var(--primary); color: #fff; border-color: var(--primary-text); }
    .wizard-step-dot { width: 26px; height: 26px; border-radius: 50%; background: var(--border); color: var(--text-muted); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .wizard-step-dot.active { background: var(--primary); color: #fff; }
    .wizard-step-dot.done { background: #10b981; color: #fff; }

    /* Checkbox */
    input[type="checkbox"] {
      width: 15px;
      height: 15px;
      accent-color: var(--primary-text);
      cursor: pointer;
    }

    /* Toast */
    .toast-container {
      position: fixed;
      bottom: 20px;
      right: 20px;
      display: flex;
      flex-direction: column;
      gap: 6px;
      z-index: 9999;
    }

    .toast {
      background: var(--text);
      color: #fff;
      padding: 10px 16px;
      border-radius: 8px;
      font-size: 13px;
      animation: slideIn 0.2s ease;
      max-width: 320px;
    }

    .toast.success { background: var(--success); }
    .toast.error { background: var(--danger); }
    .toast.warn { background: #b45309; }

    @keyframes slideIn {
      from { transform: translateX(30px); opacity: 0; }
      to { transform: translateX(0); opacity: 1; }
    }

    /* Import drop zone */
    .drop-zone {
      border: 2px dashed var(--border);
      border-radius: 10px;
      padding: 40px;
      text-align: center;
      color: var(--text-muted);
      cursor: pointer;
      transition: all 0.15s;
      background: var(--white);
    }

    .drop-zone:hover, .drop-zone.drag-over {
      border-color: var(--primary-text);
      background: var(--primary-light);
      color: var(--primary-text);
    }

    .drop-icon { font-size: 32px; margin-bottom: 10px; }

    /* Inline enrich result */
    .finder-results {
      width: 100%;
      margin-top: 24px;
    }

    .result-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 12px;
    }

    .result-domain {
      font-weight: 700;
      font-size: 16px;
    }

    .result-meta { font-size: 13px; color: var(--text-muted); }

    /* Bulk action bar */
    .bulk-bar {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 16px;
      background: var(--primary-light);
      border-bottom: 1px solid #c7d2fe;
      font-size: 13px;
      color: var(--primary-text);
      font-weight: 500;
    }

    .bulk-bar .sep { flex: 1; }

    /* Page views */
    .view { display: none; }
    .view.active { display: block; }

    /* Lists grid */
    .lists-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
      gap: 14px;
      margin-top: 4px;
    }

    .list-card {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 18px;
      cursor: pointer;
      transition: border-color 0.15s, box-shadow 0.15s;
    }

    .list-card:hover { border-color: var(--primary-text); box-shadow: 0 2px 8px rgba(79,70,229,0.08); }

    .list-card-icon { font-size: 22px; margin-bottom: 8px; }
    .list-card-name { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
    .list-card-desc { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; min-height: 16px; }
    .list-card-meta { font-size: 12px; color: var(--text-dim); display: flex; align-items: center; justify-content: space-between; }
    .list-card-count { font-weight: 600; color: var(--primary-text); }

    /* Modal */
    .modal-overlay {
      position: fixed; inset: 0;
      background: rgba(0,0,0,0.4);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 8000;
    }

    .modal-box {
      background: var(--white);
      border-radius: 12px;
      padding: 28px 28px 22px;
      width: 400px;
      box-shadow: 0 16px 48px rgba(0,0,0,0.14);
    }

    .modal-title { font-size: 16px; font-weight: 700; margin-bottom: 16px; }

    .form-field { margin-bottom: 14px; }
    .form-label { font-size: 12px; font-weight: 600; color: var(--text-muted); margin-bottom: 5px; }
    .form-input {
      width: 100%;
      padding: 8px 12px;
      border: 1.5px solid var(--border);
      border-radius: 7px;
      font-size: 14px;
      outline: none;
      transition: border-color 0.15s;
    }
    .form-input:focus { border-color: var(--primary-text); }

    .modal-footer { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }

    /* AI search result meta */
    .criteria-chips {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
      margin-bottom: 10px;
    }

    .criteria-chip {
      font-size: 11px;
      padding: 3px 8px;
      border-radius: 20px;
      background: var(--primary-light);
      color: var(--primary-text);
      font-weight: 600;
    }

    .source-ai { background: #ede9fe; color: #5b21b6; }
    .source-linkedin { background: #dbeafe; color: #1d4ed8; }

    /* Bran KPI cards */
    .kpi-card {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 18px;
    }

    .kpi-label { font-size: 12px; color: var(--text-muted); font-weight: 500; margin-bottom: 6px; }
    .kpi-value { font-size: 26px; font-weight: 700; line-height: 1; }
    .kpi-sub { font-size: 12px; color: var(--text-dim); margin-top: 4px; }
    .kpi-up { color: var(--success-text); }
    .kpi-down { color: var(--danger-text); }

    /* Score bar mini */
    .score-bar {
      display: flex;
      align-items: center;
      gap: 4px;
      white-space: nowrap;
    }

    .score-bar-fill {
      height: 5px;
      border-radius: 2px;
      min-width: 4px;
      transition: width 0.3s;
    }

    .score-num { font-size: 11px; font-weight: 600; min-width: 24px; text-align: right; }

    /* Outreach card */
    .outreach-card {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 18px;
      margin-bottom: 12px;
      display: flex;
      gap: 16px;
    }

    .outreach-card-body { flex: 1; min-width: 0; }
    .outreach-domain { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
    .outreach-message {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.5;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
      margin-bottom: 10px;
    }

    .outreach-actions { display: flex; gap: 8px; }

    .btn-approve {
      background: var(--success-light);
      color: var(--success-text);
      border-color: #a7f3d0;
    }

    .btn-approve:hover { background: #a7f3d0; }

    .btn-reject {
      background: var(--danger-light);
      color: var(--danger-text);
      border-color: #fecaca;
    }

    .btn-reject:hover { background: #fecaca; }

    /* Bran status dot */
    #branStatus.connected { color: var(--success-text); font-size: 10px; }
    #branStatus.disconnected { color: var(--text-dim); }

    /* Language switcher */
    .lang-switcher {
      display: flex;
      align-items: center;
      gap: 4px;
      padding: 6px 10px;
      margin: 4px 8px;
      border-radius: 7px;
      cursor: pointer;
      font-size: 11px;
      font-weight: 600;
      color: var(--text-muted);
      border: 1px solid var(--border);
      background: var(--bg);
      justify-content: center;
      letter-spacing: 0.5px;
      transition: background 0.15s;
      user-select: none;
    }
    .lang-switcher:hover { background: var(--border-light); }
    .lang-switcher .lang-opt { color: var(--bc-neutral-500, #605e5c); opacity: 1; }
    .lang-switcher .lang-opt.active { opacity: 1; color: var(--primary-text); font-weight: 700; }

    /* Optimus iframe view */
    #view-optimus {
      padding: 0 !important;
      height: 100%;
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }
    /* Cuando la vista no está activa, el contenedor se colapsa */
    #view-optimus:not(.active) {
      width: 0;
      height: 0;
      overflow: hidden;
      position: absolute;
      pointer-events: none;
    }
    #optimus-iframe {
      flex: 1;
      width: 100%;
      border: none;
      min-height: 0;
      height: 0; /* grows via flex */
    }
    #optimus-nav-bar {
      display: none;
    }
    #optimus-nav-bar.visible {
      display: flex !important;
    }

    /* ── Campaigns / Identities ── */
    .campaign-card {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 16px 20px;
      display: flex;
      align-items: center;
      gap: 16px;
      cursor: pointer;
      transition: box-shadow .15s;
      margin-bottom: 10px;
    }
    .campaign-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,.07); }
    .campaign-icon { font-size: 24px; flex-shrink: 0; }
    .campaign-info { flex: 1; min-width: 0; }
    .campaign-name { font-weight: 600; font-size: 15px; margin-bottom: 2px; }
    .campaign-meta { font-size: 12px; color: var(--text-muted); }
    .campaign-status {
      font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 20px;
    }
    .status-draft     { background: var(--border-light); color: var(--text-muted); }
    .status-active    { background: var(--success-light); color: var(--success-text); }
    .status-paused    { background: var(--warning-light); color: var(--warning-text); }
    .status-completed { background: var(--medium-light); color: var(--medium-text); }
    .cd-tab {
      padding: 8px 16px; font-size: 13px; font-weight: 500;
      border: none; background: none; cursor: pointer; color: var(--text-muted);
      border-bottom: 2px solid transparent; margin-bottom: -1px;
    }
    .cd-tab.active { color: var(--primary-text); border-bottom-color: var(--primary-text); }
    .cd-stat-card {
      background: var(--white); border: 1px solid var(--border); border-radius: 8px;
      padding: 12px 16px; min-width: 100px; text-align: center;
    }
    .cd-stat-val { font-size: 22px; font-weight: 700; }
    .cd-stat-lbl { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
    .step-card {
      background: var(--white); border: 1px solid var(--border); border-radius: 8px;
      padding: 14px 16px; margin-bottom: 10px;
    }
    .step-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
    .step-num { background: var(--primary); color: #fff; width: 22px; height: 22px; border-radius: 50%; display:flex; align-items:center; justify-content:center; font-size:11px; font-weight:700; flex-shrink:0; }
    .step-delay { font-size:11px; color:var(--text-muted); }
    .step-subject { font-weight: 600; font-size: 13px; }
    .step-body { font-size: 12px; color: var(--text-muted); white-space: pre-line; margin-top: 4px; line-height: 1.5; max-height: 80px; overflow: hidden; }
    .identity-row { display:flex; align-items:center; gap:12px; padding:12px 0; border-bottom:1px solid var(--border-light); }
    .identity-avatar { width:36px; height:36px; border-radius:50%; background:var(--primary-light); display:flex; align-items:center; justify-content:center; font-weight:700; color:var(--primary-text); font-size:14px; flex-shrink:0; }
    .identity-info { flex:1; }
    .identity-name { font-weight:600; font-size:13px; }
    .identity-email { font-size:12px; color:var(--text-muted); }

    /* Bran login overlay */
    #branLoginBox {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 20px;
      margin-bottom: 20px;
      max-width: 400px;
    }

    /* ── Enhanced KPI cards ── */
    .kpi-card { position: relative; overflow: hidden; }
    .kpi-icon {
      position: absolute; top: 14px; right: 14px;
      font-size: 22px; opacity: 0.18; pointer-events: none;
    }
    .kpi-card-blue  { border-top: 3px solid #3b82f6; }
    .kpi-card-red   { border-top: 3px solid #ef4444; }
    .kpi-card-orange{ border-top: 3px solid #f59e0b; }
    .kpi-card-purple{ border-top: 3px solid #8b5cf6; }
    .kpi-card-green { border-top: 3px solid #10b981; }

    /* ── Activity timeline ── */
    .activity-timeline { }
    .activity-item {
      display: flex; align-items: flex-start; gap: 10px;
      padding: 9px 14px;
      border-bottom: 1px solid var(--border-light);
    }
    .activity-item:last-child { border-bottom: none; }
    .activity-dot {
      width: 8px; height: 8px; border-radius: 50%;
      margin-top: 5px; flex-shrink: 0;
    }
    .activity-info { flex: 1; min-width: 0; }
    .activity-domain { font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .activity-meta {
      font-size: 11px; color: var(--text-muted); margin-top: 2px;
      display: flex; gap: 5px; align-items: center; flex-wrap: wrap;
    }
    .activity-time { font-size: 11px; color: var(--text-dim); flex-shrink: 0; }

    /* ── Classification badges ── */
    .clf-badge {
      display: inline-block; font-size: 10px; font-weight: 700;
      padding: 2px 6px; border-radius: 4px;
      text-transform: uppercase; letter-spacing: 0.4px;
    }
    .clf-hot  { background: #fee2e2; color: #dc2626; }
    .clf-warm { background: #fef3c7; color: #b45309; }
    .clf-cold { background: #dbeafe; color: #2563eb; }

    /* ── BU Performance grid ── */
    .bu-grid {
      display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
    }
    .bu-card {
      background: var(--bg); border-radius: 8px; padding: 10px 12px;
      border: 1px solid var(--border-light);
    }
    .bu-card-name {
      font-size: 10px; font-weight: 700; color: var(--text-dim);
      text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px;
    }
    .bu-card-score { font-size: 22px; font-weight: 700; line-height: 1.1; }
    .bu-card-count { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

    /* ── Score distribution ranges ── */
    .dist-range {
      display: flex; align-items: center; gap: 8px; margin-bottom: 6px;
    }
    .dist-label { width: 50px; font-size: 11px; color: var(--text-muted); font-weight: 500; flex-shrink: 0; }
    .dist-bar { flex: 1; height: 7px; background: var(--border); border-radius: 4px; overflow: hidden; min-width: 60px; }
    .dist-fill { height: 100%; border-radius: 4px; transition: width 0.5s ease; }
    .dist-count { width: 28px; text-align: right; font-size: 11px; font-weight: 600; color: var(--text); flex-shrink: 0; }

    /* Native select styled as button */
    .filter-select {
      display: inline-block; padding: 6px 10px;
      border: 1px solid var(--border); border-radius: 7px;
      background: var(--white); color: var(--text); font-size: 13px; font-weight: 500;
      cursor: pointer; font-family: inherit; outline: none; transition: border-color 0.12s;
    }
    .filter-select:hover { border-color: var(--primary-text); }
    .filter-select:focus { border-color: var(--primary-text); }

    /* ── Detail Panel (#1) ── */
    .detail-panel {
      position: fixed; top: 0; right: -400px; width: 380px; height: 100vh;
      background: var(--white); border-left: 1px solid var(--border);
      box-shadow: -4px 0 24px rgba(0,0,0,0.09); z-index: 200;
      transition: right 0.26s cubic-bezier(0.4,0,0.2,1);
      display: flex; flex-direction: column; overflow: hidden;
    }
    .detail-panel.open { right: 0; }
    .detail-overlay { position: fixed; inset: 0; z-index: 199; display: none; }
    .detail-overlay.open { display: block; }
    .detail-header { padding: 14px 16px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; }
    .detail-avatar {
      width: 40px; height: 40px; border-radius: 50%; background: var(--primary-light);
      color: var(--primary-text); display: flex; align-items: center; justify-content: center;
      font-size: 15px; font-weight: 700; flex-shrink: 0;
    }
    .detail-name { font-size: 14px; font-weight: 700; }
    .detail-subtitle { font-size: 11px; color: var(--text-muted); margin-top: 1px; }
    .detail-close { margin-left: auto; background: none; border: none; cursor: pointer; font-size: 17px; color: var(--text-muted); padding: 4px 7px; border-radius: 6px; }
    .detail-close:hover { background: var(--border-light); }
    .detail-body { flex: 1; overflow-y: auto; padding: 14px 16px; }
    .detail-section { margin-bottom: 16px; }
    .detail-section-title { font-size: 10px; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 8px; }
    .detail-row { display: flex; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--border-light); font-size: 13px; }
    .detail-row:last-child { border-bottom: none; }
    .detail-lbl { width: 88px; flex-shrink: 0; color: var(--text-muted); }
    .detail-val { flex: 1; word-break: break-all; }
    .detail-footer { padding: 12px 16px; border-top: 1px solid var(--border); display: flex; gap: 8px; }

    /* ── Command Palette (#7) ── */
    .cmd-overlay {
      position: fixed; inset: 0; background: rgba(0,0,0,0.42); z-index: 500;
      display: none; align-items: flex-start; justify-content: center; padding-top: 70px;
    }
    .cmd-overlay.open { display: flex; }
    .cmd-box { width: 560px; max-height: 450px; background: var(--white); border-radius: 14px; box-shadow: 0 24px 60px rgba(0,0,0,0.22); overflow: hidden; display: flex; flex-direction: column; }
    .cmd-input-wrap { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
    .cmd-icon { font-size: 16px; color: var(--bc-neutral-600, #605e5c); opacity: 1; }
    .cmd-input { flex: 1; border: none; outline: none; font-size: 15px; font-family: inherit; background: none; color: var(--text); }
    .cmd-kbd { font-size: 11px; color: var(--text-dim); padding: 2px 5px; border: 1px solid var(--border); border-radius: 4px; white-space: nowrap; }
    .cmd-results { flex: 1; overflow-y: auto; padding: 6px; }
    .cmd-group-label { font-size: 10px; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.6px; padding: 8px 10px 4px; }
    .cmd-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 7px; cursor: pointer; font-size: 13px; }
    .cmd-item:hover, .cmd-item.cmd-sel { background: var(--primary-light); color: var(--primary-text); }
    .cmd-item-icon { font-size: 14px; width: 20px; text-align: center; flex-shrink: 0; }
    .cmd-item-main { flex: 1; min-width: 0; }
    .cmd-item-title { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .cmd-item-sub { font-size: 11px; color: var(--bc-neutral-600, #605e5c); opacity: 1; }
    .cmd-item:hover .cmd-item-sub, .cmd-item.cmd-sel .cmd-item-sub { color: inherit; opacity: 1; }
    .cmd-empty { text-align: center; padding: 32px; color: var(--text-muted); font-size: 13px; }

    /* ── Pipeline View (#5) ── */
    .pipeline-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; height: calc(100vh - 130px); overflow: hidden; }
    .pipeline-col { background: var(--bg); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; }
    .pipeline-col-header { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
    .pipeline-cnt { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; border-radius: 10px; font-size: 11px; font-weight: 700; padding: 0 6px; }
    .pipeline-card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; cursor: pointer; transition: box-shadow 0.15s, transform 0.12s; }
    .pipeline-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); transform: translateY(-1px); }
    .pipeline-card-domain { font-weight: 600; font-size: 13px; }
    .pipeline-card-meta { font-size: 11px; color: var(--text-muted); margin-top: 3px; display: flex; gap: 6px; flex-wrap: wrap; }

    /* ── Pagination (#3) ── */
    .pagination { display: flex; align-items: center; gap: 6px; padding: 11px 16px; border-top: 1px solid var(--border); font-size: 13px; background: var(--white); }
    .pagination-info { flex: 1; color: var(--text-muted); font-size: 12px; }
    .pg-btn { padding: 4px 10px; border: 1px solid var(--border); border-radius: 6px; background: var(--white); cursor: pointer; font-size: 12px; font-weight: 500; }
    .pg-btn:hover:not(:disabled) { border-color: var(--primary-text); color: var(--primary-text); }
    .pg-btn:disabled { color: var(--bc-neutral-500, #605e5c); opacity: 0.55; cursor: not-allowed; }
    .pg-btn.pg-active { background: var(--primary); color: white; border-color: var(--primary-text); }

    /* ── Dedup Modal (#4) ── */
    .dedup-group { border: 1px solid var(--border); border-radius: 8px; margin-bottom: 12px; overflow: hidden; }
    .dedup-group-hdr { background: var(--bg); padding: 8px 12px; font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
    .dedup-row { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-top: 1px solid var(--border-light); font-size: 13px; }
    .dedup-row:last-child { border-bottom: none; }

    /* ── Bulk enrich progress (#2) ── */
    .enrich-prog { margin: 10px 0; padding: 10px 12px; background: var(--primary-light); border: 1px solid #c7d2fe; border-radius: 8px; font-size: 13px; }
    .enrich-prog-bar { height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; margin-top: 7px; }
    .enrich-prog-fill { height: 100%; background: var(--primary); border-radius: 3px; transition: width 0.3s ease; }

    /* ── Export button variant ── */
    .btn-export { color: var(--success-text); border-color: var(--success-text); }
    .btn-export:hover { background: var(--success-light); }

    /* ── MOBILE HAMBURGER ── */
    .hamburger-btn {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 6px;
      border-radius: 7px;
      color: var(--text);
      font-size: 22px;
      line-height: 1;
      transition: background 0.1s;
      flex-shrink: 0;
    }
    .hamburger-btn:hover { background: var(--bg); }

    .sidebar-backdrop {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.4);
      z-index: 8999;
      backdrop-filter: blur(2px);
    }
    .sidebar-backdrop.open { display: block; }

    /* ── RESPONSIVE ── */
    @media (max-width: 768px) {
      .hamburger-btn { display: flex; align-items: center; justify-content: center; }

      .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        z-index: 9000;
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        box-shadow: none;
      }
      .sidebar.open {
        transform: translateX(0);
        box-shadow: 4px 0 24px rgba(0,0,0,0.12);
      }

      .content { padding: 16px; }
      .topbar { padding: 0 12px; }
      .page-header { flex-wrap: wrap; }
      .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
      .finder-chips { gap: 6px; }
      .finder-chip { font-size: 12px; padding: 5px 10px; }
      .conn-widget { display: none; }
    }

    /* ── TABLET (480–768px) ── */
    @media (max-width: 600px) {
      .content { padding: 10px; }
      .topbar { gap: 6px; font-size: 13px; }
      .page-header h2 { font-size: 16px; }
      .stat-cards { grid-template-columns: 1fr 1fr; gap: 8px; }
      .finder-filters-body { flex-direction: column; }
      .finder-filters-body > div { min-width: unset; }
      .drawer { width: 90vw !important; }
      .modal { width: 92vw !important; max-width: 92vw !important; min-width: unset !important; }
    }

    /* ── SMALL PHONE (≤420px) ── */
    @media (max-width: 420px) {
      .content { padding: 8px; }
      .topbar { padding: 0 8px; }
      .stat-cards { grid-template-columns: 1fr; }
      .page-header { gap: 6px; }
      .page-header .btn { font-size: 12px; padding: 6px 10px; }
      .finder-chip { font-size: 11px; padding: 4px 8px; }
      table { font-size: 12px; }
      table th, table td { padding: 6px 8px; }
      .pipeline-col { min-width: 220px; }
    }

    /* ── Reusable utility + component classes (extracted from inline styles) ── */
    .u-w-full { width: 100%; }
    .u-flex-gap-8 { display: flex; gap: 8px; }
    .u-flex-space-between { display: flex; justify-content: space-between; }
    .u-flex-wrap-gap { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
    .u-mt-sm { margin-top: 6px; }
    .grid-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .form-label { font-size: 12px; font-weight: 600; color: var(--text-muted); display: block; margin-bottom: 4px; }
    .form-label-xs { font-size: 11px; color: var(--text-muted); font-weight: 600; display: block; margin-bottom: 4px; }
    .form-help { font-size: 14px; margin-bottom: 4px; }
    .text-muted-xs { font-size: 11px; color: var(--text-muted); }
    .text-label { font-size: 10px; color: var(--text-dim); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 3px; }
    .heading-md { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
    .heading-sm-dark { font-size: 14px; font-weight: 600; color: var(--text); }
    .btn-card { border: 2px solid var(--border); border-radius: 8px; padding: 12px; cursor: pointer; transition: all 0.15s; }
    .icon-button { width: 28px; height: 28px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); cursor: pointer; font-size: 14px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); }
    .input-field { padding: 9px 12px; border: 1px solid var(--border); border-radius: 7px; font-size: 13px; outline: none; transition: border-color 0.15s; }
    .divider-line { flex: 1; height: 2px; background: var(--border); align-self: center; border-radius: 2px; margin-top: 1px; }
    .card-panel { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 20px; }
    .sidebar-icon-btn { background: none; border: 1px solid var(--border); border-radius: 5px; cursor: pointer; font-size: 11px; padding: 2px 6px; color: var(--text-muted); line-height: 1.4; transition: all 0.12s; }
    .sidebar-icon-btn:hover { background: var(--bg); }
    .input-field:focus { border-color: var(--primary-text); }
