
  :root {
    --bg: #0B0F1A;
    --surface: #111827;
    --surface2: #1A2235;
    --border: #1E2D45;
    --accent: #7C3FBE;
    --accent2: #5B2D8E;
    --accent3: #F5A623;
    --danger: #EF4444;
    --success: #22C55E;
    --text: #F1F5F9;
    --muted: #64748B;
    --muted2: #94A3B8;
    --sidebar-w: 220px;
  }
  * { margin:0; padding:0; box-sizing:border-box; }
  body { font-family:'Plus Jakarta Sans',sans-serif; background:var(--bg); color:var(--text); min-height:100vh; overflow-x:hidden; }

  /* LAYOUT */
  .app { display:flex; min-height:100vh; }

  /* SIDEBAR */
  .sidebar {
    width:var(--sidebar-w); background:var(--surface); border-right:1px solid var(--border);
    display:flex; flex-direction:column; position:fixed; top:0; left:0; height:100vh; z-index:100;
  }
  .logo {
    padding:24px 20px 20px; border-bottom:1px solid var(--border);
    display:flex; align-items:center; gap:10px;
  }
  .logo-mark {
    width:34px; height:34px; background:linear-gradient(135deg,#7C3FBE,#5B2D8E);
    border-radius:8px; display:flex; align-items:center; justify-content:center;
    font-family:'Outfit',sans-serif; font-weight:800; font-size:14px; color:#fff;
  }
  .logo-text { font-family:'Outfit',sans-serif; font-weight:700; font-size:14px; color:var(--text); line-height:1.2; }
  .logo-sub { font-size:10px; color:var(--muted); font-weight:400; letter-spacing:.5px; text-transform:uppercase; }

  .nav { padding:16px 12px; flex:1; overflow-y:auto; overflow-x:hidden; }
  .nav-section { font-size:10px; color:var(--muted); letter-spacing:1px; text-transform:uppercase; padding:12px 8px 6px; font-weight:500; }
  .nav-item {
    display:flex; align-items:center; gap:10px; padding:9px 12px; border-radius:8px;
    cursor:pointer; font-size:13.5px; color:var(--muted2); margin-bottom:2px;
    transition:all .15s; position:relative;
  }
  .nav-item:hover { background:var(--surface2); color:var(--text); }
  .nav-item.active { background:rgba(45,212,191,.12); color:var(--accent); }
  .nav-item.active::before { content:''; position:absolute; left:0; top:50%; transform:translateY(-50%); width:3px; height:20px; background:#7C3FBE; border-radius:0 3px 3px 0; }
  .nav-icon { font-size:15px; width:18px; text-align:center; }
  .badge { margin-left:auto; background:#7C3FBE; color:#fff; font-size:10px; font-weight:700; padding:2px 6px; border-radius:10px; }
  .badge.red { background:var(--danger); color:#fff; }

  .sidebar-footer { padding:16px; border-top:1px solid var(--border); }
  .user-card { display:flex; align-items:center; gap:10px; }
  .avatar { width:32px; height:32px; border-radius:50%; background:linear-gradient(135deg,var(--accent2),var(--accent)); display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:700; color:#fff; flex-shrink:0; }
  .user-info { flex:1; min-width:0; }
  .user-name { font-size:12.5px; font-weight:500; color:var(--text); }
  .user-role { font-size:11px; color:var(--muted); }

  /* MAIN */
  .main { margin-left:var(--sidebar-w); flex:1; display:flex; flex-direction:column; }

  /* TOPBAR */
  .topbar {
    height:56px; background:var(--surface); border-bottom:1px solid var(--border);
    display:flex; align-items:center; padding:0 28px; gap:16px; position:sticky; top:0; z-index:50;
  }
  .page-title { font-family:'Outfit',sans-serif; font-weight:700; font-size:16px; flex:1; }
  .topbar-actions { display:flex; align-items:center; gap:10px; }
  .btn {
    padding:8px 16px; border-radius:8px; font-size:13px; font-weight:500; cursor:pointer;
    border:none; display:flex; align-items:center; gap:6px; transition:all .15s; font-family:'Plus Jakarta Sans',sans-serif;
  }
  .btn-primary { background:#7C3FBE; color:#fff; }
  .btn-primary:hover { background:#6B35A8; }
  .btn-ghost { background:transparent; color:var(--muted2); border:1px solid var(--border); }
  .btn-ghost:hover { background:var(--surface2); color:var(--text); }
  .btn-danger { background:rgba(239,68,68,.15); color:var(--danger); border:1px solid rgba(239,68,68,.2); }
  .notif-btn { width:36px; height:36px; border-radius:8px; background:var(--surface2); border:1px solid var(--border); display:flex; align-items:center; justify-content:center; cursor:pointer; position:relative; font-size:16px; }
  .notif-dot { position:absolute; top:6px; right:6px; width:7px; height:7px; background:var(--danger); border-radius:50%; border:1.5px solid var(--surface); }

  /* CONTENT */
  .content { padding:28px; flex:1; }

  /* SCREEN VISIBILITY */
  .screen { display:none; }
  .screen.active { display:block; animation:fadeIn .2s ease; }
  @keyframes fadeIn { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:translateY(0)} }

  /* STAT CARDS */
  .stats-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-bottom:24px; }
  .stat-card {
    background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:20px;
    position:relative; overflow:hidden;
  }
  .stat-card::before { content:''; position:absolute; top:0; left:0; right:0; height:2px; }
  .stat-card.teal::before { background:linear-gradient(90deg,var(--accent),transparent); }
  .stat-card.blue::before { background:linear-gradient(90deg,var(--accent2),transparent); }
  .stat-card.amber::before { background:linear-gradient(90deg,var(--accent3),transparent); }
  .stat-card.green::before { background:linear-gradient(90deg,var(--success),transparent); }
  .stat-label { font-size:11.5px; color:var(--muted); font-weight:500; letter-spacing:.3px; margin-bottom:10px; text-transform:uppercase; }
  .stat-value { font-family:'Outfit',sans-serif; font-size:32px; font-weight:800; color:var(--text); line-height:1; margin-bottom:6px; }
  .stat-change { font-size:12px; }
  .stat-change.up { color:var(--success); }
  .stat-change.down { color:var(--danger); }
  .stat-icon { position:absolute; top:18px; right:18px; font-size:22px; opacity:.3; }

  /* GRID LAYOUTS */
  .two-col { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:16px; }
  .three-col { display:grid; grid-template-columns:1fr 1fr 1fr; gap:16px; margin-bottom:16px; }
  .col-7-3 { display:grid; grid-template-columns:7fr 3fr; gap:16px; margin-bottom:16px; }
  .col-6-4 { display:grid; grid-template-columns:6fr 4fr; gap:16px; margin-bottom:16px; }

  /* CARD */
  .card { background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:20px; }
  .card-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; }
  .card-title { font-family:'Outfit',sans-serif; font-size:14px; font-weight:700; color:var(--text); }
  .card-sub { font-size:12px; color:var(--muted); }

  /* TABLE */
  .table-wrap { overflow-x:auto; }
  table { width:100%; border-collapse:collapse; font-size:13px; }
  thead th { text-align:left; padding:10px 14px; border-bottom:1px solid var(--border); font-size:11px; color:var(--muted); text-transform:uppercase; letter-spacing:.5px; font-weight:500; }
  tbody tr { border-bottom:1px solid rgba(30,45,69,.5); transition:background .1s; cursor:pointer; }
  tbody tr:hover { background:var(--surface2); }
  tbody td { padding:12px 14px; color:var(--muted2); }
  tbody td.text-white { color:var(--text); font-weight:500; }

  /* STATUS PILLS */
  .pill { display:inline-flex; align-items:center; gap:5px; padding:3px 10px; border-radius:20px; font-size:11.5px; font-weight:500; }
  .pill::before { content:''; width:5px; height:5px; border-radius:50%; }
  .pill-new { background:rgba(59,130,246,.15); color:var(--accent2); }
  .pill-new::before { background:var(--accent2); }
  .pill-sent { background:rgba(45,212,191,.12); color:var(--accent); }
  .pill-sent::before { background:#7C3FBE; }
  .pill-replied { background:rgba(34,197,94,.15); color:var(--success); }
  .pill-replied::before { background:var(--success); }
  .pill-interested { background:rgba(245,158,11,.15); color:var(--accent3); }
  .pill-interested::before { background:var(--accent3); }
  .pill-cold { background:rgba(100,116,139,.12); color:var(--muted); }
  .pill-cold::before { background:var(--muted); }
  .pill-lost { background:rgba(239,68,68,.12); color:var(--danger); }
  .pill-lost::before { background:var(--danger); }
  .pill-paused { background:rgba(245,158,11,.1); color:var(--accent3); }
  .pill-paused::before { background:var(--accent3); }
  .pill-active { background:rgba(34,197,94,.12); color:var(--success); }
  .pill-active::before { background:var(--success); }

  /* SCORE BAR */
  .score-wrap { display:flex; align-items:center; gap:8px; }
  .score-bar { flex:1; height:4px; background:var(--border); border-radius:2px; overflow:hidden; max-width:60px; }
  .score-fill { height:100%; border-radius:2px; }
  .score-high .score-fill { background:var(--success); }
  .score-med .score-fill { background:var(--accent3); }
  .score-low .score-fill { background:var(--danger); }
  .score-num { font-size:12px; font-weight:600; }
  .score-high .score-num { color:var(--success); }
  .score-med .score-num { color:var(--accent3); }
  .score-low .score-num { color:var(--danger); }

  /* PIPELINE KANBAN */
  .kanban { display:grid; grid-template-columns:repeat(6,1fr); gap:12px; overflow-x:auto; }
  .kanban-col { min-width:160px; }
  .kanban-head { padding:10px 12px; border-radius:8px 8px 0 0; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.5px; display:flex; justify-content:space-between; }
  .kanban-body { background:var(--surface2); border:1px solid var(--border); border-top:none; border-radius:0 0 8px 8px; padding:10px; min-height:200px; display:flex; flex-direction:column; gap:8px; }
  .k-new .kanban-head { background:rgba(59,130,246,.15); color:var(--accent2); }
  .k-contacted .kanban-head { background:rgba(45,212,191,.1); color:var(--accent); }
  .k-replied .kanban-head { background:rgba(139,92,246,.15); color:#A78BFA; }
  .k-interested .kanban-head { background:rgba(245,158,11,.15); color:var(--accent3); }
  .k-call .kanban-head { background:rgba(236,72,153,.15); color:#F472B6; }
  .k-won .kanban-head { background:rgba(34,197,94,.15); color:var(--success); }
  .kcard { background:var(--surface); border:1px solid var(--border); border-radius:8px; padding:10px 12px; cursor:pointer; transition:all .15s; }
  .kcard:hover { border-color:var(--accent); transform:translateY(-1px); }
  .kcard-name { font-size:12.5px; font-weight:500; color:var(--text); margin-bottom:4px; }
  .kcard-company { font-size:11px; color:var(--muted); margin-bottom:6px; }
  .kcard-meta { display:flex; align-items:center; gap:6px; }
  .flag { font-size:13px; }
  .kcard-value { font-size:11px; color:var(--accent3); font-weight:600; margin-left:auto; }

  /* MINI CHART */
  .mini-chart { display:flex; align-items:flex-end; gap:4px; height:50px; }
  .bar { flex:1; border-radius:3px 3px 0 0; min-width:8px; background:var(--accent2); opacity:.6; transition:opacity .15s; cursor:pointer; }
  .bar:hover { opacity:1; }
  .bar.accent { background:#7C3FBE; opacity:1; }

  /* DONUT PLACEHOLDER */
  .donut-wrap { display:flex; align-items:center; gap:20px; }
  .donut { width:90px; height:90px; border-radius:50%; background:conic-gradient(var(--accent) 0 42%,var(--accent2) 42% 67%,var(--accent3) 67% 82%,var(--danger) 82% 100%); position:relative; flex-shrink:0; }
  .donut::after { content:''; position:absolute; top:18px; left:18px; right:18px; bottom:18px; background:var(--surface); border-radius:50%; }
  .donut-legend { display:flex; flex-direction:column; gap:6px; }
  .legend-item { display:flex; align-items:center; gap:7px; font-size:12px; color:var(--muted2); }
  .legend-dot { width:8px; height:8px; border-radius:50%; flex-shrink:0; }

  /* FORM ELEMENTS */
  .form-row { display:grid; gap:14px; margin-bottom:14px; }
  .form-row.cols-2 { grid-template-columns:1fr 1fr; }
  .form-row.cols-3 { grid-template-columns:1fr 1fr 1fr; }
  .form-group { display:flex; flex-direction:column; gap:6px; }
  .form-label { font-size:12px; font-weight:500; color:var(--muted2); }
  .form-input, .form-select, .form-textarea {
    background:var(--surface2); border:1px solid var(--border); border-radius:8px;
    padding:9px 12px; font-size:13px; color:var(--text); font-family:'Plus Jakarta Sans',sans-serif;
    outline:none; transition:border-color .15s;
  }
  .form-input:focus, .form-select:focus, .form-textarea:focus { border-color:var(--accent); }
  .form-textarea { resize:vertical; min-height:90px; }
  .form-select { appearance:none; cursor:pointer; }
  .search-input { background:var(--surface2); border:1px solid var(--border); border-radius:8px; padding:8px 12px 8px 34px; font-size:13px; color:var(--text); font-family:'Plus Jakarta Sans',sans-serif; outline:none; width:220px; }
  .search-wrap { position:relative; }
  .search-icon { position:absolute; left:10px; top:50%; transform:translateY(-50%); font-size:14px; color:var(--muted); }

  /* REPLY ITEMS */
  .reply-list { display:flex; flex-direction:column; gap:0; }
  .reply-item { display:flex; gap:12px; padding:14px 0; border-bottom:1px solid var(--border); cursor:pointer; transition:background .1s; }
  .reply-item:hover { background:var(--surface2); padding-left:8px; border-radius:8px; }
  .reply-avatar { width:36px; height:36px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:700; flex-shrink:0; }
  .reply-body { flex:1; min-width:0; }
  .reply-top { display:flex; align-items:baseline; gap:8px; margin-bottom:3px; }
  .reply-name { font-size:13.5px; font-weight:500; color:var(--text); }
  .reply-time { font-size:11px; color:var(--muted); margin-left:auto; }
  .reply-subject { font-size:12.5px; color:var(--muted2); margin-bottom:3px; }
  .reply-preview { font-size:12px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .reply-tag { display:inline-flex; padding:2px 8px; border-radius:6px; font-size:10.5px; font-weight:600; margin-top:5px; }
  .tag-interested { background:rgba(245,158,11,.15); color:var(--accent3); }
  .tag-maybe { background:rgba(139,92,246,.12); color:#A78BFA; }
  .tag-ooo { background:rgba(100,116,139,.12); color:var(--muted); }

  /* PROGRESS */
  .progress-bar { width:100%; height:6px; background:var(--border); border-radius:3px; overflow:hidden; }
  .progress-fill { height:100%; border-radius:3px; background:linear-gradient(90deg,#5B2D8E,#7C3FBE); }

  /* CAMPAIGN CARD */
  .camp-card { background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:18px; transition:all .15s; cursor:pointer; }
  .camp-card:hover { border-color:var(--accent); }
  .camp-head { display:flex; align-items:flex-start; justify-content:space-between; margin-bottom:12px; }
  .camp-name { font-family:'Outfit',sans-serif; font-size:14px; font-weight:700; margin-bottom:4px; }
  .camp-desc { font-size:12px; color:var(--muted); }
  .camp-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-bottom:14px; }
  .camp-stat-label { font-size:10.5px; color:var(--muted); margin-bottom:3px; }
  .camp-stat-value { font-size:16px; font-weight:700; font-family:'Outfit',sans-serif; }
  .camp-footer { display:flex; align-items:center; gap:10px; }

  /* ALERT / NOTIFICATION */
  .alert { padding:12px 16px; border-radius:10px; display:flex; align-items:flex-start; gap:10px; margin-bottom:12px; font-size:13px; }
  .alert-success { background:rgba(34,197,94,.1); border:1px solid rgba(34,197,94,.2); color:var(--success); }
  .alert-info { background:rgba(59,130,246,.1); border:1px solid rgba(59,130,246,.2); color:var(--accent2); }
  .alert-warn { background:rgba(245,158,11,.1); border:1px solid rgba(245,158,11,.2); color:var(--accent3); }

  /* DIVIDER */
  .divider { height:1px; background:var(--border); margin:20px 0; }

  /* TOGGLE */
  .toggle-wrap { display:flex; align-items:center; gap:10px; }
  .toggle { width:40px; height:22px; border-radius:11px; background:var(--border); position:relative; cursor:pointer; transition:background .2s; }
  .toggle.on { background:#7C3FBE; }
  .toggle::after { content:''; position:absolute; top:3px; left:3px; width:16px; height:16px; border-radius:50%; background:#fff; transition:left .2s; }
  .toggle.on::after { left:21px; }

  /* CHIP */
  .chip { display:inline-flex; align-items:center; gap:5px; padding:4px 10px; border-radius:20px; font-size:12px; background:var(--surface2); border:1px solid var(--border); color:var(--muted2); cursor:pointer; }
  .chip.selected { background:rgba(45,212,191,.12); border-color:var(--accent); color:var(--accent); }
  .chips { display:flex; flex-wrap:wrap; gap:6px; }

  /* AI BOX */
  .ai-box { background:linear-gradient(135deg,rgba(45,212,191,.08),rgba(59,130,246,.08)); border:1px solid rgba(45,212,191,.2); border-radius:12px; padding:16px; }
  .ai-label { font-size:11px; text-transform:uppercase; letter-spacing:.8px; color:var(--accent); font-weight:700; margin-bottom:8px; display:flex; align-items:center; gap:6px; }
  .ai-text { font-size:13px; color:var(--muted2); line-height:1.6; }

  /* TIMELINE */
  .timeline { display:flex; flex-direction:column; gap:0; }
  .tl-item { display:flex; gap:12px; padding-bottom:16px; position:relative; }
  .tl-item::before { content:''; position:absolute; left:14px; top:28px; bottom:0; width:1px; background:var(--border); }
  .tl-item:last-child::before { display:none; }
  .tl-dot { width:28px; height:28px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:12px; flex-shrink:0; }
  .tl-content { flex:1; padding-top:4px; }
  .tl-title { font-size:13px; font-weight:500; color:var(--text); margin-bottom:2px; }
  .tl-time { font-size:11.5px; color:var(--muted); }

  /* MAILBOX HEALTH */
  .mailbox-row { display:flex; align-items:center; gap:12px; padding:12px 0; border-bottom:1px solid var(--border); }
  .mailbox-addr { font-size:13px; color:var(--text); flex:1; }
  .health-meter { display:flex; gap:3px; }
  .health-bar { width:6px; height:20px; border-radius:2px; }

  /* SCROLLBAR */
  ::-webkit-scrollbar { width:4px; height:4px; }
  ::-webkit-scrollbar-track { background:transparent; }
  ::-webkit-scrollbar-thumb { background:#3A2A5A; border-radius:2px; }
  ::-webkit-scrollbar-thumb:hover { background:#7C3FBE; }
  .nav::-webkit-scrollbar-thumb { background:#3A2A5A; }
  .nav::-webkit-scrollbar-thumb:hover { background:#7C3FBE; }

  /* EMPTY STATE */
  .empty { text-align:center; padding:40px; color:var(--muted); }
  .empty-icon { font-size:32px; margin-bottom:8px; }
  .empty-text { font-size:13px; }

  /* MODAL OVERLAY */
  .modal-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,.6); z-index:200; align-items:center; justify-content:center; backdrop-filter:blur(4px); }
  .modal-overlay.open { display:flex; }
  .modal { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:28px; max-width:540px; width:90%; max-height:80vh; overflow-y:auto; }
  .modal-title { font-family:'Outfit',sans-serif; font-size:18px; font-weight:800; margin-bottom:4px; }
  .modal-sub { font-size:13px; color:var(--muted); margin-bottom:20px; }
  .modal-footer { display:flex; gap:10px; justify-content:flex-end; margin-top:20px; }

  /* STEP INDICATOR */
  .steps { display:flex; gap:0; margin-bottom:24px; }
  .step { flex:1; display:flex; align-items:center; }
  .step-num { width:28px; height:28px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:700; flex-shrink:0; border:2px solid var(--border); color:var(--muted); }
  .step.done .step-num { background:#7C3FBE; border-color:var(--accent); color:#000; }
  .step.active .step-num { border-color:var(--accent); color:var(--accent); }
  .step-label { font-size:11.5px; color:var(--muted); margin-left:8px; }
  .step.active .step-label, .step.done .step-label { color:var(--text); }
  .step-line { flex:1; height:1px; background:var(--border); margin:0 8px; }
  .step.done .step-line { background:#7C3FBE; }

  /* ── AI ENGINE COMPONENTS ── */
  .ai-gradient-card {
    background:linear-gradient(135deg,rgba(124,63,190,.08) 0%,rgba(91,45,142,.06) 50%,rgba(245,166,35,.06) 100%);
    border:1px solid rgba(124,63,190,.25); border-radius:12px; padding:20px; position:relative; overflow:hidden;
  }
  .ai-gradient-card::before { content:''; position:absolute; top:-40px; right:-40px; width:120px; height:120px; background:radial-gradient(circle,rgba(124,63,190,.1),transparent); border-radius:50%; }
  .ai-label { font-size:11px; text-transform:uppercase; letter-spacing:.8px; color:#7C3FBE; font-weight:700; display:flex; align-items:center; gap:6px; margin-bottom:8px; }
  .ai-pulse { display:inline-block; width:8px; height:8px; border-radius:50%; background:#7C3FBE; animation:pulse 1.5s infinite; }
  @keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.8)} }
  .email-preview { background:var(--surface2); border:1px solid var(--border); border-radius:10px; overflow:hidden; }
  .email-header { background:#1E2D45; padding:14px 16px; border-bottom:1px solid var(--border); }
  .email-field { display:flex; align-items:baseline; gap:8px; margin-bottom:4px; font-size:12.5px; }
  .email-field:last-child { margin-bottom:0; }
  .email-field-label { color:var(--muted); width:60px; flex-shrink:0; }
  .email-field-value { color:var(--text); }
  .email-subject-val { color:var(--text); font-weight:600; font-size:13px; }
  .email-body { padding:18px 16px; font-size:13px; color:var(--muted2); line-height:1.75; }
  .email-body .highlight { background:rgba(124,63,190,.15); color:#7C3FBE; padding:1px 4px; border-radius:3px; font-size:12.5px; }
  .email-body .highlight-amber { background:rgba(245,166,35,.12); color:#F5A623; padding:1px 4px; border-radius:3px; font-size:12.5px; }
  .email-body p { margin-bottom:12px; }
  .email-footer { padding:12px 16px; border-top:1px solid var(--border); display:flex; align-items:center; gap:8px; background:rgba(0,0,0,.2); }
  .uniqueness-bar { display:flex; align-items:center; gap:8px; flex:1; }
  .u-label { font-size:11px; color:var(--muted); white-space:nowrap; }
  .u-bar { flex:1; height:4px; background:var(--border); border-radius:2px; overflow:hidden; }
  .u-fill { height:100%; border-radius:2px; background:linear-gradient(90deg,#5B2D8E,#7C3FBE); }
  .audit-finding { display:flex; align-items:flex-start; gap:10px; padding:10px 12px; border-radius:8px; background:var(--surface2); border:1px solid var(--border); margin-bottom:6px; }
  .finding-icon { width:26px; height:26px; border-radius:6px; display:flex; align-items:center; justify-content:center; font-size:13px; flex-shrink:0; margin-top:1px; }
  .finding-critical { background:rgba(239,68,68,.15); }
  .finding-warn { background:rgba(245,166,35,.12); }
  .finding-good { background:rgba(34,197,94,.12); }
  .finding-body { flex:1; }
  .finding-title { font-size:13px; font-weight:500; color:var(--text); margin-bottom:2px; }
  .finding-detail { font-size:12px; color:var(--muted2); line-height:1.5; }
  .finding-tag { display:inline-block; padding:2px 8px; border-radius:4px; font-size:10.5px; font-weight:600; margin-top:4px; }
  .tag-critical { background:rgba(239,68,68,.15); color:var(--danger); }
  .tag-warn { background:rgba(245,166,35,.12); color:#F5A623; }
  .tag-good { background:rgba(34,197,94,.12); color:var(--success); }
  .metric-row { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:14px; }
  .metric-pill { padding:5px 11px; border-radius:8px; font-size:12px; display:flex; align-items:center; gap:5px; }
  .m-speed,.m-seo { background:rgba(239,68,68,.1); border:1px solid rgba(239,68,68,.18); }
  .m-mobile,.m-design { background:rgba(245,166,35,.08); border:1px solid rgba(245,166,35,.18); }
  .m-security { background:rgba(34,197,94,.08); border:1px solid rgba(34,197,94,.18); }
  .flow-steps { display:flex; align-items:stretch; gap:0; margin-bottom:20px; overflow-x:auto; }
  .flow-step { flex:1; min-width:110px; position:relative; }
  .flow-step-inner { background:var(--surface2); border:1px solid var(--border); padding:14px 12px; height:100%; }
  .flow-step:first-child .flow-step-inner { border-radius:10px 0 0 10px; }
  .flow-step:last-child .flow-step-inner { border-radius:0 10px 10px 0; }
  .flow-step.active .flow-step-inner { background:rgba(124,63,190,.08); border-color:rgba(124,63,190,.3); }
  .flow-step-num { font-size:10px; color:var(--muted); margin-bottom:5px; font-weight:600; text-transform:uppercase; letter-spacing:.5px; }
  .flow-step-title { font-size:12px; font-weight:600; color:var(--text); margin-bottom:3px; }
  .flow-step-desc { font-size:11px; color:var(--muted); line-height:1.4; }
  .flow-arrow { position:absolute; right:-10px; top:50%; transform:translateY(-50%); z-index:2; color:#7C3FBE; font-size:16px; }
  .process-row { display:flex; align-items:flex-start; gap:14px; padding:14px 0; border-bottom:1px solid var(--border); }
  .process-row:last-child { border:none; }
  .process-icon { width:36px; height:36px; border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:16px; flex-shrink:0; }
  .process-title { font-size:13.5px; font-weight:600; color:var(--text); margin-bottom:3px; }
  .process-desc { font-size:12px; color:var(--muted2); line-height:1.55; }
  .process-status { margin-left:auto; flex-shrink:0; padding-top:2px; }
  .compare-table { width:100%; border-collapse:collapse; font-size:13px; }
  .compare-table th { padding:10px 14px; text-align:left; font-size:11px; color:var(--muted); text-transform:uppercase; letter-spacing:.4px; border-bottom:1px solid var(--border); }
  .compare-table td { padding:12px 14px; border-bottom:1px solid rgba(30,45,69,.5); vertical-align:top; }
  .compare-table tr:last-child td { border-bottom:none; }
  .before-cell { color:var(--muted2); }
  .after-cell { color:var(--text); }
  .btn-success { background:rgba(34,197,94,.15); color:var(--success); border:1px solid rgba(34,197,94,.2); }
  .btn-purple { background:rgba(124,63,190,.15); color:#7C3FBE; border:1px solid rgba(124,63,190,.25); }
  .audit-section { margin-bottom:14px; }
  .audit-section-title { font-size:11px; text-transform:uppercase; letter-spacing:.6px; color:var(--muted); font-weight:600; margin-bottom:8px; }
  @keyframes typing { 0%,100%{opacity:.3;transform:translateY(0)} 50%{opacity:1;transform:translateY(-3px)} }

