﻿/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   AssetHomez Review Portal â€” Shared Design System
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg:         #f1f5f9;
  --surface:    #ffffff;
  --surface-2:  #f8fafc;
  --border:     #e2e8f0;
  --text:       #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --blue:       #2563eb;
  --blue-light: #eff6ff;
  --green:      #16a34a;
  --green-light:#f0fdf4;
  --red:        #dc2626;
  --red-light:  #fef2f2;
  --orange:     #d97706;
  --purple:     #7c3aed;
  --radius:     10px;
  --radius-lg:  16px;
  --shadow:     0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 6px rgba(0,0,0,.06), 0 2px 4px rgba(0,0,0,.04);
}

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

html { font-size: 15px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: var(--blue); }

/* â”€â”€ TOPBAR â”€â”€ */
.topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 58px;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}
.topbar-brand {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}
.topbar-brand .logo-dot {
  width: 28px; height: 28px;
  background: var(--blue);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 13px; font-weight: 800;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}
.logout-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 5px 12px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s;
}
.logout-btn:hover { border-color: var(--red); color: var(--red); }

/* â”€â”€ MAIN CONTENT WRAPPER â”€â”€ */
.main { max-width: 1200px; margin: 0 auto; padding: 28px 20px; }

/* â”€â”€ PAGE TITLE â”€â”€ */
.page-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.page-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* â”€â”€ SECTION CARD â”€â”€ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.card-body { padding: 20px 22px; }

/* â”€â”€ REPORT GRID (Hub) â”€â”€ */
.report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}
.report-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.15s, border-color 0.2s;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}
.report-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--blue);
}
.report-card-type {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 9px;
  border-radius: 20px;
  display: inline-block;
  width: fit-content;
}
.type-daily { background: var(--blue-light); color: var(--blue); }
.type-weekly { background: #fdf4ff; color: #7c3aed; }
.type-monthly { background: #fffbeb; color: #b45309; }
.report-card-date {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}
.report-card-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.stat-item { display: flex; flex-direction: column; gap: 2px; }
.stat-label { font-size: 11px; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }
.stat-value { font-size: 18px; font-weight: 700; color: var(--text); }
.stat-value.blue { color: var(--blue); }
.stat-value.green { color: var(--green); }
.report-card-footer {
  font-size: 12px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
}
.report-card-footer .arrow { margin-left: auto; color: var(--blue); font-weight: 700; }

/* â”€â”€ FILTER BAR â”€â”€ */
.filter-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.filter-select, .filter-input {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 13px;
  font-family: inherit;
  background: var(--surface);
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
}
.filter-select:focus, .filter-input:focus { border-color: var(--blue); }
.filter-input { min-width: 200px; }
.filter-count {
  font-size: 12px;
  color: var(--text-muted);
  margin-left: auto;
  padding: 6px 12px;
  background: var(--surface-2);
  border-radius: 20px;
  border: 1px solid var(--border);
}

/* â”€â”€ TAB NAV â”€â”€ */
.tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.tab-btn {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  border: none;
  background: none;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.15s, border-color 0.15s;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--blue); border-bottom-color: var(--blue); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* â”€â”€ KPI GRID â”€â”€ */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.kpi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--blue);
}
.kpi-card.green { border-top-color: var(--green); }
.kpi-card.orange { border-top-color: var(--orange); }
.kpi-card.purple { border-top-color: var(--purple); }
.kpi-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text-muted); margin-bottom: 8px; }
.kpi-value { font-size: 26px; font-weight: 800; color: var(--text); line-height: 1; margin-bottom: 4px; }
.kpi-sub { font-size: 12px; color: var(--text-muted); }

/* â”€â”€ ALERTS â”€â”€ */
.alerts-box {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 20px;
}
.alerts-title { font-size: 13px; font-weight: 700; color: var(--orange); margin-bottom: 8px; }
.alert-item { font-size: 13px; color: var(--text); padding: 3px 0; }

/* â”€â”€ SNAPSHOT LIST â”€â”€ */
.snap-row {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.snap-row:last-child { border-bottom: none; }
.snap-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.snap-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.snap-name { font-size: 13px; font-weight: 600; flex: 1; min-width: 120px; }
.snap-spend { font-size: 13px; font-weight: 700; color: var(--blue); }
.snap-cpl { font-size: 12px; color: var(--text-muted); }
.snap-bar-bg { height: 5px; background: var(--surface-2); border-radius: 3px; margin-bottom: 8px; overflow: hidden; }
.snap-bar-fill { height: 100%; background: var(--blue); border-radius: 3px; transition: width 0.6s ease; }
.snap-stats { display: flex; gap: 16px; font-size: 12px; color: var(--text-muted); flex-wrap: wrap; }
.snap-stats strong { color: var(--text); }

/* â”€â”€ DATA TABLE â”€â”€ */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 900px;
}
.data-table th {
  padding: 10px 12px;
  font-size: 10.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; color: var(--text-muted); white-space: nowrap;
  border-bottom: 2px solid var(--border);
  border-right: 1px solid var(--border);
  background: var(--surface-2);
  cursor: pointer; user-select: none;
  transition: background 0.15s;
}
.data-table th:hover { background: #e2e8f0 !important; color: var(--text); }
.data-table th.no-sort { cursor: default; }
.data-table th.no-sort:hover { background: var(--surface-2) !important; }
.data-table th.sort-asc::after { content: ' â†‘'; color: var(--green); }
.data-table th.sort-desc::after { content: ' â†“'; color: var(--blue); }
.data-table td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  vertical-align: middle;
}
.data-table tbody tr:hover { background: #f8fafc; }
.data-table tbody tr:last-child td { border-bottom: none; }
.col-name { min-width: 200px; font-weight: 600; position: sticky; left: 0; background: #fff; z-index: 1; }
.data-table tbody tr:hover .col-name { background: #f8fafc; }
.col-num { text-align: right; min-width: 60px; }
.col-pct { text-align: right; min-width: 60px; border-radius: 5px; }
.col-spend { text-align: right; min-width: 70px; }
.grp-leads th, .grp-leads { background-color: #f0f9ff !important; }
.grp-rates th, .grp-rates { background-color: #f0fdf4 !important; }
.grp-cost th, .grp-cost { background-color: #fff7ed !important; }
.totals-tr td { font-weight: 700; background: #f8fafc; border-top: 2px solid var(--border); }

.col-grp-header th {
  text-align: center;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-bottom: 1px solid var(--border);
}

/* â”€â”€ TRENDS TABLE â”€â”€ */
.trend-table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 480px; }
.trend-table th {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--text-muted); padding: 8px 6px; text-align: center;
  border-bottom: 2px solid var(--border); background: var(--surface-2);
}
.trend-table th.trend-name-col { text-align: left; min-width: 180px; padding-left: 12px; }
.trend-table td { padding: 3px 3px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.trend-table td:first-child { padding-left: 12px; }
.trend-table tr:last-child td { border-bottom: none; }
.trend-table tbody tr:hover { background: #f8fafc; }
.trend-camp-name { font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; padding: 6px 0; }
.trend-camp-plat { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.trend-cell-wrap { padding: 3px; }
.trend-cell {
  min-width: 54px; height: 34px; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; border-radius: 7px;
  background: #f1f5f9; color: var(--text-muted);
  cursor: default; transition: transform 0.1s;
}
.trend-cell:hover { transform: scale(1.08); z-index: 1; position: relative; }
.trend-cell.best { background: #bbf7d0; color: #065f46; }
.trend-cell.mid  { background: #fef9c3; color: #854d0e; }
.trend-cell.high { background: #fecaca; color: #991b1b; }
.trend-cell.empty { background: transparent; color: var(--text-light); font-size: 14px; }
.trend-legend { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; font-size: 12px; color: var(--text-muted); padding-top: 12px; border-top: 1px solid var(--border); }
.trend-legend-item { display: flex; align-items: center; gap: 6px; }
.legend-dot { width: 14px; height: 14px; border-radius: 4px; }

/* â”€â”€ LEADS â”€â”€ */
.proj-header {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0 8px;
  font-size: 13px; font-weight: 700; color: var(--text);
  border-bottom: 2px solid var(--border);
  margin-top: 20px;
}
.proj-header:first-child { margin-top: 0; }
.proj-badge {
  background: var(--blue); color: #fff;
  border-radius: 12px; padding: 1px 8px;
  font-size: 11px; font-weight: 700;
}
.leads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 14px;
  padding: 14px 0;
}
.lead-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.lead-card:hover { 
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); 
  transform: translateY(-2px); 
  border-color: #cbd5e1;
}

/* NEW CARD DESIGN */
.lc-top {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px 16px 12px;
}
.lc-avatar {
  width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  color: #fff; font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}
.lc-avatar.disq { 
  background: linear-gradient(135deg, #94a3b8, #64748b);
  box-shadow: 0 2px 8px rgba(148, 163, 184, 0.3);
}
.lc-header-info { flex: 1; min-width: 0; }
.lc-name { font-size: 15px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-tags { display: flex; gap: 6px; flex-wrap: wrap; }

.lc-age {
  display: flex; flex-direction: column; align-items: flex-end;
  background: #f8fafc; padding: 4px 8px; border-radius: 8px; border: 1px solid #f1f5f9;
}
.age-val { font-size: 13px; font-weight: 700; color: var(--text); }
.age-lbl { font-size: 10px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

.lc-details {
  display: flex; background: #f8fafc;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.lc-det-item {
  flex: 1; padding: 10px 12px; display: flex; flex-direction: column; gap: 3px;
  border-right: 1px solid var(--border);
}
.lc-det-item:last-child { border-right: none; }
.lc-det-lbl { font-size: 10px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.lc-det-val { font-size: 12px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.lc-metrics {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 8px;
  padding: 14px 16px;
}
.lc-metric-box {
  display: flex; flex-direction: column; gap: 4px;
  padding: 8px; background: #fff; border: 1px solid var(--border); border-radius: 8px;
  text-align: center;
}
.lc-m-lbl { font-size: 10px; font-weight: 600; color: var(--text-muted); }
.lc-m-val { font-size: 14px; font-weight: 700; color: var(--text); }

.lc-metric-box.fast { background: #f0fdf4; border-color: #bbf7d0; }
.lc-metric-box.fast .lc-m-val { color: #15803d; }
.lc-metric-box.slow { background: #fffbeb; border-color: #fde68a; }
.lc-metric-box.slow .lc-m-val { color: #b45309; }
.lc-metric-box.warn { background: #fef2f2; border-color: #fecaca; }
.lc-metric-box.warn .lc-m-val { color: #b91c1c; }
.lc-metric-box.alert { background: #fdf4ff; border-color: #e9d5ff; }
.lc-metric-box.alert .lc-m-val { color: #7e22ce; }

.lc-agents {
  display: flex; padding: 0 16px 12px; gap: 12px;
}
.lc-agent {
  flex: 1; display: flex; flex-direction: column; gap: 2px;
}
.lc-ag-lbl { font-size: 10px; font-weight: 600; color: var(--text-light); }
.lc-ag-val { font-size: 12px; font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 4px; }
.lc-ag-val::before { content: 'ðŸ‘¤'; font-size: 11px; }

.lc-comm {
  margin: 0 16px 16px; padding: 12px;
  background: var(--surface-2); border-radius: 8px; border: 1px solid var(--border);
}
.lc-comm-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; font-weight: 600; color: var(--text-muted); margin-bottom: 6px;
}
.lc-comm-txt { font-size: 12.5px; color: var(--text); line-height: 1.5; }
.lc-comm.empty { font-size: 12px; color: var(--text-light); font-style: italic; text-align: center; background: transparent; border: 1px dashed var(--border); }

/* Keep existing tag styles */
.tag { font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 12px; }
.tag-google { background: #fef2f2; color: #ea4335; }
.tag-meta   { background: #eff6ff; color: #1877f2; }
.tag-qual   { background: #f0fdf4; color: #15803d; }
.tag-disq   { background: #f1f5f9; color: var(--text-muted); }
.lead-timeline { padding: 10px 14px; max-height: 150px; overflow-y: auto; }
.comm-item { padding: 6px 0; border-bottom: 1px solid var(--border); }
.comm-item:last-child { border-bottom: none; }
.comm-meta { display: flex; gap: 12px; font-size: 11px; color: var(--text-muted); margin-bottom: 3px; }
.comm-author { font-weight: 600; }
.comm-text { font-size: 12.5px; color: var(--text); }
.no-comm { font-size: 12px; color: var(--text-light); font-style: italic; }
.lead-actions {
  display: flex; padding: 10px 14px; gap: 8px;
  background: var(--surface-2); border-top: 1px solid var(--border);
}
.act-btn {
  flex: 1; text-align: center; padding: 6px;
  border-radius: 7px; font-size: 12px; font-weight: 600;
  text-decoration: none; transition: background 0.15s;
}
.act-btn.call  { background: var(--green-light); color: var(--green); }
.act-btn.wa    { background: #f0fdf4; color: #15803d; }
.act-btn.email { background: var(--blue-light); color: var(--blue); }
.act-btn:hover { opacity: 0.8; }
.empty-state {
  text-align: center; padding: 60px 20px;
  color: var(--text-muted);
}
.empty-icon { font-size: 40px; margin-bottom: 12px; }
.empty-text { font-size: 16px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.empty-sub { font-size: 13px; }

/* â”€â”€ LOGIN PAGE â”€â”€ */
.login-wrap {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
  padding: 20px;
}
.login-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  width: 100%; max-width: 380px;
  box-shadow: var(--shadow-md);
}
.login-logo {
  width: 48px; height: 48px;
  background: var(--blue);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px; font-weight: 800;
  margin: 0 auto 20px;
}
.login-title { text-align: center; font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.login-sub { text-align: center; font-size: 13px; color: var(--text-muted); margin-bottom: 28px; }
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.form-input {
  width: 100%; padding: 10px 14px;
  border: 1px solid var(--border); border-radius: 8px;
  font-size: 14px; font-family: inherit;
  outline: none; transition: border-color 0.15s;
}
.form-input:focus { border-color: var(--blue); }
.form-input.error { border-color: var(--red); }
.form-error { font-size: 12px; color: var(--red); margin-top: 5px; display: none; }
.form-error.show { display: block; }
.btn-primary {
  width: 100%; padding: 11px;
  background: var(--blue); color: #fff;
  border: none; border-radius: 8px;
  font-size: 14px; font-weight: 700;
  font-family: inherit; cursor: pointer;
  transition: background 0.15s;
}
.btn-primary:hover { background: #1d4ed8; }

/* â”€â”€ LOADING â”€â”€ */
.loading-wrap {
  display: flex; align-items: center; justify-content: center;
  min-height: 300px; flex-direction: column; gap: 14px;
  color: var(--text-muted);
}
.spinner {
  width: 32px; height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* â”€â”€ BADGE â”€â”€ */
.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}

/* â”€â”€ REPORT HEADER â”€â”€ */
.report-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; margin-bottom: 24px; flex-wrap: wrap;
}
.report-header-left { flex: 1; }
.report-type-badge {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px;
  padding: 3px 10px; border-radius: 20px; display: inline-block; margin-bottom: 8px;
}
.report-title-main { font-size: 22px; font-weight: 800; margin-bottom: 3px; }
.report-subtitle { font-size: 13px; color: var(--text-muted); }
.back-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 8px;
  border: 1px solid var(--border); background: var(--surface);
  font-size: 13px; font-weight: 600; color: var(--text-muted);
  cursor: pointer; text-decoration: none;
  transition: all 0.15s;
}
.back-btn:hover { border-color: var(--blue); color: var(--blue); }

/* â”€â”€ RESPONSIVE â”€â”€ */
@media (max-width: 768px) {
  .topbar { padding: 0 14px; }
  .main { padding: 16px 14px; }
  .kpi-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .kpi-value { font-size: 20px; }
  .leads-grid { grid-template-columns: 1fr; }
  .report-grid { grid-template-columns: 1fr; }
  .tab-btn { padding: 9px 13px; font-size: 12px; }
  .filter-bar { gap: 8px; }
  .filter-input { min-width: 120px; }
  .card-body { padding: 14px; }
}

/* â”€â”€ CAMPAIGN EXPLORER UI â”€â”€ */
.camp-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.camp-block:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
}
.camp-block-header {
  padding: 18px 22px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.camp-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.camp-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.camp-kpi-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.camp-pill {
  padding: 5px 12px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}
.camp-pill strong {
  font-weight: 700;
  color: var(--text);
}
.camp-pill.pill-spend { border-color: #bfdbfe; background: #eff6ff; color: var(--blue); }
.camp-pill.pill-qual { border-color: #bbf7d0; background: #f0fdf4; color: var(--green); }
.camp-pill.pill-disq { border-color: #fecaca; background: #fef2f2; color: var(--red); }

/* â”€â”€ SUB-TABS NAV â”€â”€ */
.subtab-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.subtab-btn {
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.subtab-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.subtab-btn.active {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
  box-shadow: 0 2px 4px rgba(37,99,235,0.25);
}
.subtab-btn.active.tab-qual-active {
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 2px 4px rgba(22,163,74,0.25);
}
.subtab-btn.active.tab-disq-active {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 2px 4px rgba(220,38,38,0.25);
}
.camp-leads-body {
  padding: 20px 22px;
}

/* â”€â”€ LEAD AUDIT METRICS BAR â”€â”€ */
.lead-audit-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 10px 14px;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  font-size: 11px;
}
.audit-chip {
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.audit-chip strong {
  color: var(--text);
  font-weight: 700;
}
.audit-chip.sla-ok {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}
.audit-chip.sla-warn {
  background: #fffbe1;
  border-color: #fde68a;
  color: #92400e;
}
.audit-chip.sla-bad {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

/* â”€â”€ LEAD DETAIL OVERLAY â”€â”€ */
.lead-detail-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.lead-detail-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.lead-detail-panel {
  background: var(--surface);
  border-radius: 20px;
  width: 100%;
  max-width: 820px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.18);
  border: 1px solid var(--border);
  animation: detailSlideIn 0.3s ease;
  position: relative;
}
@keyframes detailSlideIn {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.detail-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: var(--text-muted);
  transition: all 0.15s;
  z-index: 2;
}
.detail-close:hover {
  background: var(--red-light);
  border-color: var(--red);
  color: var(--red);
}

/* Detail Header */
.detail-header {
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.detail-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: #fff;
  font-size: 20px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.detail-avatar.disq {
  background: linear-gradient(135deg, #94a3b8, #64748b);
}
.detail-header-info { flex: 1; min-width: 0; }
.detail-name {
  font-size: 20px; font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}
.detail-tags {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: 10px;
}
.detail-contact-row {
  display: flex; gap: 16px; flex-wrap: wrap;
  font-size: 12px; color: var(--text-muted);
}
.detail-contact-row span {
  display: inline-flex; align-items: center; gap: 4px;
}

/* Detail Metrics Grid */
.detail-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
}
.detail-metric-card {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  transition: transform 0.15s;
}
.detail-metric-card:hover {
  transform: translateY(-1px);
}
.detail-metric-label {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.6px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.detail-metric-value {
  font-size: 18px; font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}
.detail-metric-value.green { color: var(--green); }
.detail-metric-value.red { color: var(--red); }
.detail-metric-value.blue { color: var(--blue); }
.detail-metric-value.orange { color: var(--orange); }
.detail-metric-value.purple { color: var(--purple); }
.detail-metric-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 3px;
}

/* SLA Badge in detail */
.sla-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sla-badge.sla-ok { background: #dcfce7; color: #166534; }
.sla-badge.sla-warn { background: #fef3c7; color: #92400e; }
.sla-badge.sla-bad { background: #fee2e2; color: #991b1b; }

/* Agents List */
.detail-agents-section {
  padding: 16px 28px;
  border-bottom: 1px solid var(--border);
}
.detail-agents-title {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.6px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.detail-agents-list {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.agent-tag {
  padding: 5px 12px;
  border-radius: 20px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  font-size: 12px;
  font-weight: 600;
  color: #1e40af;
}
.agent-tag.current {
  background: #f0fdf4;
  border-color: #86efac;
  color: #166534;
}
.agent-tag.claimed {
  background: #fdf4ff;
  border-color: #e9d5ff;
  color: #7c3aed;
}

/* Detail Timeline */
.detail-timeline-section {
  padding: 20px 28px 28px;
}
.detail-timeline-title {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.6px;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.detail-timeline-title .comm-count {
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 10px;
}
.timeline-list {
  position: relative;
  padding-left: 24px;
}
.timeline-list::before {
  content: '';
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--border);
  border-radius: 2px;
}
.timeline-node {
  position: relative;
  padding: 0 0 20px 0;
}
.timeline-node:last-child {
  padding-bottom: 0;
}
.timeline-dot {
  position: absolute;
  left: -21px;
  top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid var(--surface);
  box-shadow: 0 0 0 2px var(--border);
}
.timeline-node:first-child .timeline-dot {
  background: var(--green);
  box-shadow: 0 0 0 2px #86efac;
}
.timeline-author {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.timeline-date {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.timeline-body {
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  word-break: break-word;
}
.timeline-no-comments {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-light);
  font-style: italic;
}

/* Lead card clickable */
.lead-card.clickable {
  cursor: pointer;
}
.lead-card.clickable:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

/* Enhanced audit chip for reshuffle */
.audit-chip.reshuffle {
  background: #fdf4ff;
  border-color: #e9d5ff;
  color: #7c3aed;
}
.audit-chip.claim-fast {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}
.audit-chip.claim-slow {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

/* Lead info section in detail */
.detail-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0;
  border-bottom: 1px solid var(--border);
}
.detail-info-cell {
  padding: 12px 16px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}
.detail-info-cell strong {
  display: block;
  font-size: 13px;
  color: var(--text);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .lead-detail-overlay { padding: 20px 10px; }
  .lead-detail-panel { border-radius: 14px; }
  .detail-header { padding: 20px 16px 16px; flex-direction: column; align-items: center; text-align: center; }
  .detail-metrics-grid { grid-template-columns: 1fr 1fr; padding: 16px; gap: 8px; }
  .detail-agents-section, .detail-timeline-section { padding: 16px; }
  .detail-info-grid { grid-template-columns: 1fr 1fr; }
}

/* â”€â”€ AGENT PERFORMANCE TABLE â”€â”€ */
.agent-sort-bar {
  margin-bottom: 20px;
}
.agent-summary-row {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px;
}
.agent-summary-card {
  padding: 14px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  min-width: 120px;
  box-shadow: var(--shadow);
}
.agent-summary-card.highlight-green { border-left: 3px solid var(--green); }
.agent-summary-card.highlight-blue { border-left: 3px solid var(--blue); }
.agent-summary-card.highlight-red { border-left: 3px solid var(--red); }
.asm-label {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--text-muted); margin-bottom: 4px;
}
.asm-val {
  font-size: 20px; font-weight: 800; color: var(--text); line-height: 1.2;
}
.asm-val.green { color: var(--green); }
.asm-val.blue { color: var(--blue); }
.asm-val.red { color: var(--red); }
.asm-val small { font-size: 12px; font-weight: 600; opacity: 0.7; }

.agent-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.agent-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  white-space: nowrap;
}
.agent-table thead th {
  position: sticky; top: 0;
  background: var(--surface-2);
  padding: 10px 12px;
  text-align: left;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border);
  cursor: pointer;
  user-select: none;
  transition: background 0.15s;
}
.agent-table thead th:hover { background: var(--border); }
.agent-table thead th.sorted { color: var(--blue); background: #eff6ff; }
.agent-table tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.agent-table tbody tr:hover { background: rgba(59, 130, 246, 0.04); }
.agent-table tbody tr.even { background: var(--surface); }
.agent-table tbody tr.odd { background: var(--surface-2); }
.agent-table tbody tr.even:hover,
.agent-table tbody tr.odd:hover { background: rgba(59, 130, 246, 0.06); }

/* Color-coded cells */
.cell-green { color: var(--green); font-weight: 700; }
.cell-orange { color: var(--orange); font-weight: 700; }
.cell-red { color: var(--red); font-weight: 700; }
.cell-blue { color: var(--blue); font-weight: 700; }

/* Mini avatar in table */
.agent-tbl-avatar {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: #fff;
  font-size: 10px; font-weight: 700;
  margin-right: 8px;
  vertical-align: middle;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .agent-summary-row { gap: 8px; }
  .agent-summary-card { min-width: 100px; padding: 10px 14px; }
  .asm-val { font-size: 16px; }
  .agent-table { font-size: 12px; }
  .agent-table thead th, .agent-table tbody td { padding: 8px 8px; }
}

/* â”€â”€ DETAIL TABS â”€â”€ */
.detail-tabs {
  display: flex; gap: 0; border-bottom: 2px solid var(--border);
  padding: 0 28px; overflow-x: auto;
}
.detail-tab {
  padding: 12px 18px;
  font-size: 13px; font-weight: 600;
  color: var(--text-muted);
  background: none; border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.15s;
  white-space: nowrap;
}
.detail-tab:hover { color: var(--text); background: var(--surface-2); }
.detail-tab.active { color: var(--blue); border-bottom-color: var(--blue); }
.detail-tab-content { padding: 20px 28px; }

/* Agent history table */
.agent-history-table {
  width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 12px;
}
.agent-history-table th {
  text-align: left; padding: 8px 12px; font-size: 11px;
  text-transform: uppercase; color: var(--text-muted); font-weight: 700;
  border-bottom: 2px solid var(--border); background: var(--surface-2);
}
.agent-history-table td {
  padding: 8px 12px; border-bottom: 1px solid var(--border);
}
.agent-history-table tr:hover { background: rgba(59,130,246,0.04); }

/* Stage journey */
.stage-journey { padding-left: 24px; position: relative; }
.stage-journey::before {
  content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px;
  width: 2px; background: var(--border);
}
.stage-node { position: relative; padding: 0 0 20px 0; }
.stage-node:last-child { padding-bottom: 0; }
.stage-dot {
  position: absolute; left: -21px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--blue); border: 2px solid var(--surface);
  box-shadow: 0 0 0 2px var(--border);
}
.stage-dot.claimed { background: var(--green); box-shadow: 0 0 0 2px #86efac; }
.stage-dot.raw { background: #94a3b8; }
.stage-dot.qualified { background: var(--blue); box-shadow: 0 0 0 2px #93c5fd; }
.stage-dot.meeting { background: var(--purple); box-shadow: 0 0 0 2px #c4b5fd; }
.stage-dot.bad { background: var(--red); box-shadow: 0 0 0 2px #fca5a5; }
.stage-info { font-size: 13px; color: var(--text); }
.stage-info .stage-label { font-weight: 700; }
.stage-info .stage-date { font-size: 11px; color: var(--text-muted); }
.stage-info .stage-dur { font-size: 11px; color: var(--text-light); margin-left: 8px; }

/* Raw metrics table */
.raw-metrics-table {
  width: 100%; border-collapse: collapse; font-size: 13px;
}
.raw-metrics-table td {
  padding: 8px 12px; border-bottom: 1px solid var(--border);
}
.raw-metrics-table td:first-child {
  font-weight: 700; color: var(--text-muted); text-transform: uppercase;
  font-size: 11px; width: 40%;
}

/* Missed by section */
.missed-card {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 10px;
  background: #fef2f2; border: 1px solid #fecaca;
  font-size: 13px; font-weight: 600; color: #991b1b;
  margin: 4px;
}

/* Touches per agent */
.touches-bar {
  display: flex; align-items: center; gap: 8px; margin: 4px 0;
}
.touches-bar-fill {
  height: 8px; border-radius: 4px; background: var(--blue);
}
.touches-bar-label {
  font-size: 12px; font-weight: 600; color: var(--text); min-width: 120px;
}
.touches-bar-count {
  font-size: 12px; font-weight: 700; color: var(--text-muted);
}

@media (max-width: 768px) {
  .detail-tabs { padding: 0 16px; }
  .detail-tab { padding: 10px 12px; font-size: 12px; }
  .detail-tab-content { padding: 16px; }
}

/* VIEW TOGGLE & TABLE VIEW */
.view-toggle { display: inline-flex; background: #e2e8f0; border-radius: 6px; padding: 2px; }
.view-btn { padding: 4px 12px; font-size: 12px; font-weight: 600; border-radius: 4px; border: none; background: transparent; color: var(--text-muted); cursor: pointer; transition: all 0.2s; }
.view-btn.active { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,0.1); }

/* VIEW TOGGLE & TABLE VIEW */
.view-toggle { display: inline-flex; background: #e2e8f0; border-radius: 6px; padding: 2px; }
.view-btn { padding: 4px 12px; font-size: 12px; font-weight: 600; border-radius: 4px; border: none; background: transparent; color: var(--text-muted); cursor: pointer; transition: all 0.2s; }
.view-btn.active { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.leads-table-container { width: 100%; overflow-x: auto; background: #fff; border-radius: 8px; border: 1px solid var(--border); }
.leads-table { width: 100%; border-collapse: collapse; font-size: 13px; text-align: left; }
.leads-table th { padding: 12px 16px; background: #f8fafc; font-size: 11px; text-transform: uppercase; color: var(--text-muted); font-weight: 700; border-bottom: 2px solid var(--border); white-space: nowrap; }
.leads-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.leads-table tr:hover { background: #f8fafc; }
.leads-table .td-name { font-weight: 700; color: var(--text-dark); cursor: pointer; }
.leads-table .td-name:hover { text-decoration: underline; color: var(--blue); }
.leads-table .td-msg { max-width: 320px; max-height: 75px; overflow-y: auto; white-space: pre-wrap; font-size: 12px; color: var(--text-muted); line-height: 1.4; padding-right: 4px; }
.leads-table .td-agents { max-width: 250px; max-height: 75px; overflow-y: auto; padding-right: 4px; }

/* Elegant Scrollbars for Table */
.leads-table .td-msg::-webkit-scrollbar,
.leads-table .td-agents::-webkit-scrollbar {
  width: 4px;
}
.leads-table .td-msg::-webkit-scrollbar-track,
.leads-table .td-agents::-webkit-scrollbar-track {
  background: transparent;
}
.leads-table .td-msg::-webkit-scrollbar-thumb,
.leads-table .td-agents::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
.leads-table .td-msg::-webkit-scrollbar-thumb:hover,
.leads-table .td-agents::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* ── CAMPAIGN PLATFORM FILTER BUTTONS ── */
.camp-filter-btn {
  padding: 5px 13px;
  font-size: 12px; font-weight: 600;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: var(--surface-2);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s;
  display: inline-flex; align-items: center;
}
.camp-filter-btn:hover { border-color: var(--blue); color: var(--text); }
.camp-filter-btn.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.camp-filter-btn.meta.active   { background: #1877f2; border-color: #1877f2; color: #fff; }
.camp-filter-btn.google.active { background: #ea4335; border-color: #ea4335; color: #fff; }
