:root {
  --bg: #0f172a;
  --card: #020617;
  --border: #1f2937;
  --muted: #9ca3af;
  --label: #6b7280;
  --text: #e5e7eb;
  --cyan: #38bdf8;
  --btn: #0ea5e9;
  --btn-text: #0f172a;
}
* { box-sizing: border-box; }
body {
  font-family: -apple-system, system-ui, sans-serif;
  margin: 0;
  background: var(--bg);
  color: var(--text);
}
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
.shell { max-width: 1100px; margin: 32px auto; padding: 0 16px; }
.shell.wide { max-width: 1200px; }
.card {
  background: var(--card);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.6);
  border: 1px solid var(--border);
  margin-bottom: 16px;
}
h1 { margin: 0 0 8px; font-size: 24px; }
h2 { margin: 0 0 12px; font-size: 15px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--label); }
.sub { margin-bottom: 16px; color: var(--muted); font-size: 14px; }
.nav { display: flex; gap: 16px; align-items: center; margin-bottom: 8px; font-size: 13px; flex-wrap: wrap; }
.sport-switch { display: flex; gap: 6px; margin-left: auto; }
.sport-switch a {
  border: 1px solid #374151;
  border-radius: 999px;
  color: var(--muted);
  padding: 4px 10px;
  text-decoration: none;
}
.sport-switch a.active { background: var(--btn); border-color: var(--btn); color: var(--btn-text); font-weight: 600; }
.lead-tabs { display: flex; gap: 8px; margin: 0 0 14px; }
.lead-tabs a { border: 1px solid #374151; border-radius: 999px; color: var(--muted); padding: 6px 12px; text-decoration: none; font-size: 13px; font-weight: 700; }
.lead-tabs a.on { background: var(--btn); border-color: var(--btn); color: var(--btn-text); }
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 16px 0; }
.stat { background: #020617; border: 1px solid var(--border); border-radius: 12px; padding: 12px; min-width: 0; }
.stat .n { font-size: 22px; font-weight: 700; white-space: nowrap; }
.stat .l { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--label); margin-top: 4px; }
.status-pill { border: 0; border-radius: 999px; font-size: 12px; font-weight: 700; padding: 4px 10px; cursor: pointer; }
.status-pending { background: #fbbf24; color: #422006; }
.status-accepted { background: #94a3b8; color: #0f172a; }
.status-outreach { background: #fbbf24; color: #422006; }
.status-conversation { background: #22d3ee; color: #083344; }
.status-meeting { background: #34d399; color: #022c22; }
.status-declined { background: #fb7185; color: #4c0519; }
.status-removed { background: #3f1d24; color: #fda4af; }
.status-asked { background: #22d3ee; color: #083344; }
.status-met { background: #fb923c; color: #431407; }
.status-demo { background: #c084fc; color: #3b0764; }
.status-buyer { background: #facc15; color: #422006; }
.status-closed { background: #94a3b8; color: #0f172a; }
.status-not_fit { background: #3f1d24; color: #fda4af; }
.status-scheduled { background: #a3e635; color: #1a2e05; }
.status-intro { background: #38bdf8; color: #082f49; }
.status-ask { background: #a78bfa; color: #2e1065; }
.status-final { background: #fbbf24; color: #422006; }
.status-responded { background: #34d399; color: #022c22; }
.status-new { background: #818cf8; color: #1e1b4b; }
.status-followup { background: #fbbf24; color: #422006; }
.status-active { background: #60a5fa; color: #0c1a3a; }
.status-dot.status-intro { background: #38bdf8; }
.status-dot.status-ask { background: #a78bfa; }
.status-dot.status-final { background: #fbbf24; }
.status-dot.status-responded { background: #34d399; }
.band-warm { color: #22d3ee; }
.band-new { color: #a78bfa; }
.band-final { color: #fbbf24; }
.band-rejected { color: #fb7185; }
.tone-meeting { color: #34d399; }
.tone-conversation { color: #22d3ee; }
.tone-ask { color: #a78bfa; }
.tone-intro { color: #38bdf8; }
.tone-accepted { color: #94a3b8; }
.tone-final { color: #fbbf24; }
.tone-declined { color: #fb7185; }
.next-act.act-scheduled { background: rgba(163,230,53,.16); color: #bef264; }
.status-pill::after { content: '▾'; margin-left: 5px; font-size: 9px; opacity: .7; }
span.status-pill { cursor: default; }
span.status-pill::after { content: none; }
.status-menu { position: absolute; z-index: 50; min-width: 168px; padding: 6px; background: #0f172a; border: 1px solid #243044; border-radius: 12px; box-shadow: 0 16px 40px rgba(0,0,0,.55); display: flex; flex-direction: column; gap: 2px; }
.status-menu button { display: flex; align-items: center; gap: 9px; width: 100%; text-align: left; background: transparent; border: 0; border-radius: 8px; color: #e2e8f0; font: inherit; font-size: 13px; padding: 7px 10px; cursor: pointer; }
.status-menu button:hover { background: #172554; }
.status-menu button.on { background: #1e293b; font-weight: 700; }
.status-menu button[data-pick="not_fit"],
.status-menu button[data-pick="removed"] { margin-top: 4px; border-top: 1px solid #1e293b; border-radius: 0 0 8px 8px; padding-top: 9px; color: #fda4af; }
.status-dot { width: 9px; height: 9px; border-radius: 999px; padding: 0; flex: none; }
.status-dot.status-not_fit,
.status-dot.status-removed { background: #fb7185; }
.status-dot.status-accepted { background: #94a3b8; }
.status-dot.status-outreach { background: #fbbf24; }
.status-dot.status-conversation { background: #22d3ee; }
.status-dot.status-meeting { background: #34d399; }
.status-dot.status-declined { background: #fb7185; }
.next-act.act-not_fit { background: transparent; color: #64748b; }
.li-add { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.li-add input { flex: 1; min-width: 160px; background: #020617; color: inherit; border: 1px solid var(--border); border-radius: 8px; padding: 4px 8px; }
.stat.annualized { grid-column: span 1; }
.stat.annualized:nth-child(6) { grid-column: 3; }
.pipeline { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.pipeline .step { font-size: 12px; padding: 6px 10px; border-radius: 999px; border: 1px solid #374151; color: var(--muted); }
.pipeline .step strong { color: var(--text); }
.toolbar { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
input, select {
  background: #020617;
  border: 1px solid #4b5563;
  border-radius: 8px;
  padding: 6px 10px;
  color: var(--text);
  font-size: 13px;
  font-family: inherit;
}
table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 8px; }
th, td { padding: 8px 6px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--label); }
th .col-sort { background: none; border: 0; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; padding: 0; cursor: pointer; }
th .col-sort.on { color: #e8eef7; }
.badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; font-size: 11px; }
.badge.P0 { background: rgba(248,113,113,0.2); color: #fecaca; font-weight: 600; }
.badge.P1 { background: rgba(245,158,11,0.15); color: #fed7aa; }
.badge.P2 { background: rgba(59,130,246,0.15); color: #bfdbfe; }
.badge.P3 { background: rgba(168,85,247,0.15); color: #e9d5ff; }
.badge.P4 { background: rgba(148,163,184,0.2); color: #e2e8f0; }
.badge.gray { background: rgba(75,85,99,0.4); color: #e5e7eb; }
.badge.wave { background: rgba(56,189,248,0.18); color: #7dd3fc; }
.badge.email { background: rgba(14,165,233,0.15); color: #bae6fd; }
.badge.phone { background: rgba(34,197,94,0.15); color: #bbf7d0; }
.badge.linkedin { background: rgba(10,102,194,0.2); color: #93c5fd; }
.badge.reached { background: rgba(245,158,11,0.2); color: #fde68a; font-weight: 600; }
button.star {
  background: transparent;
  border: 0;
  color: #6b7280;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 0 4px 0 0;
}
button.star.on { color: #fbbf24; }
tr.unknown-seat td { background: rgba(245,158,11,0.06); }
a.lead-school, h1.lead-school { color: #34d399; }
.lead-node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  margin-left: 6px;
  padding: 0 5px;
  border-radius: 999px;
  background: #34d399;
  color: #042f2e;
  font-size: 11px;
  font-weight: 700;
}
.person-card.reached { opacity: 0.72; }
.badge.meeting { background: rgba(168,85,247,0.28); color: #f3e8ff; font-weight: 700; }
.lead-stack { display: flex; flex-direction: column; gap: 12px; }
.lead-card { border: 1px solid var(--border); border-radius: 12px; padding: 16px; background: #01040c; }
.lead-card h3 { margin: 8px 0 4px; }
.lead-card h4 { margin: 14px 0 6px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--label); }
.lead-card li { margin: 0 0 8px; }
.when { color: #fde68a; }
.meta { display: flex; gap: 16px; font-size: 12px; color: var(--muted); margin-bottom: 8px; flex-wrap: wrap; }
.meta strong { color: var(--text); }
.school-name { display: inline-flex; align-items: center; gap: 8px; }
.school-logo, .map-logo { width: 28px; height: 28px; object-fit: contain; }
.conf-marks { display: flex; gap: 8px; align-items: center; margin: 8px 0 12px; flex-wrap: wrap; }
.conf-chip { display: inline-flex; align-items: center; justify-content: center; height: 36px; min-width: 36px; background: #06101c; border: 1px solid rgba(120, 180, 255, 0.28); border-radius: 999px; color: var(--text); padding: 4px 12px; cursor: pointer; }
.conf-chip.on { border-color: #8fd0ff; box-shadow: 0 0 16px rgba(78, 179, 255, 0.35); }
.conf-chip img { height: 16px; width: auto; max-width: 72px; object-fit: contain; display: block; }
.schools-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 12px; align-items: start; }
.class-leads { height: 460px; overflow: auto; border: 1px solid rgba(100,170,255,.32); border-radius: 12px; background: #01040c; padding: 12px; }
.class-leads h2 { margin: 0 0 10px; }
.class-lead { display: flex; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(31,41,55,.9); }
.class-lead .who { font-size: 13px; }
.class-lead .role { color: var(--muted); font-size: 11px; }
.dot { width: 8px; height: 8px; border-radius: 999px; flex: none; background: #38bdf8; }
.dot.accepted { background: #34d399; }
.dot.asked { background: #22d3ee; }
.dot.warm { background: #fb923c; }
.school-map-card { position: relative; height: 420px; margin: 0 0 16px; border-radius: 12px; background: #040e1c; border: 1px solid rgba(100, 170, 255, 0.32); overflow: hidden; box-shadow: inset 0 0 48px rgba(40, 140, 255, 0.14), 0 0 28px rgba(40, 120, 220, 0.14); }
.map-title { position: absolute; z-index: 5; top: 12px; left: 14px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(170, 210, 245, 0.8); }
.map-stage { position: absolute; inset: 0; }
.map-land { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; pointer-events: none; filter: drop-shadow(0 0 10px rgba(70, 160, 255, 0.22)); }
.map-fx { position: absolute; inset: 0; pointer-events: none; z-index: 1; background: linear-gradient(180deg, rgba(140, 210, 255, 0.07), transparent 28%), repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(80, 160, 230, 0.045) 3px, rgba(80, 160, 230, 0.045) 4px); }
.map-hud { position: absolute; inset: 0; pointer-events: none; z-index: 3; background: radial-gradient(ellipse at center, transparent 48%, rgba(2, 10, 22, 0.5) 100%), linear-gradient(180deg, rgba(120, 200, 255, 0.06), transparent 22%); }
.map-pin { position: absolute; z-index: 2; width: 30px; height: 30px; transform: translate(-50%, -50%); border-radius: 999px; border: 1px solid rgba(150, 200, 255, 0.4); background: rgba(4, 14, 28, 0.45); box-shadow: 0 0 12px rgba(40, 140, 255, 0.35); display: flex; align-items: center; justify-content: center; line-height: 0; }
.map-pin:hover { z-index: 4; width: 36px; height: 36px; border-color: #8fd0ff; box-shadow: 0 0 0 2px rgba(78, 179, 255, 0.4), 0 0 20px rgba(78, 179, 255, 0.55); }
.map-logo { width: 22px; height: 22px; }
body.leads-body { background: #070d18; margin: 0; }
body.leads-body aside.side { position: fixed; top: 0; bottom: 0; left: 0; width: 216px; display: flex; flex-direction: column; background: #0b1220; border-right: 1px solid #1e293b; z-index: 4; }
.side-nav { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 8px 12px 16px; align-items: stretch; }
.side-nav a { color: #cbd5e1; padding: 8px 10px; border-radius: 8px; text-decoration: none; }
.side-nav a.active, .side-nav .sport-switch a.active { background: #1d4ed8; color: white; }
.side-brand { padding: 18px 16px 8px; font-weight: 800; }
.side-brand small { display: block; font-weight: 700; color: #64748b; letter-spacing: 0.16em; font-size: 10px; margin-top: 2px; }
.side-label { margin: 18px 10px 4px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: #64748b; }
.side-nav .sport-switch { display: flex; flex-direction: column; margin: 0; gap: 2px; }
.side-nav .sport-switch a { border: 0; border-radius: 8px; color: #cbd5e1; }
.side-me { margin-top: auto; padding: 16px; display: flex; gap: 10px; align-items: center; color: #e5e7eb; font-size: 13px; }
.side-me .av { width: 32px; height: 32px; border-radius: 999px; background: #1d4ed8; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.side-me small { display: block; color: #64748b; }
.lead-main { margin-left: 216px; padding: 18px 22px 40px; }
body.has-access-bar .lead-main { margin-left: 0; }
body.has-access-bar aside.side,
body.has-access-bar .card > .nav,
body.has-access-bar .top-sports { display: none; }
.access-bar {
  display: grid;
  grid-template-columns: auto 1fr minmax(180px, 360px) auto;
  align-items: center;
  gap: 16px;
  padding: 0 18px;
  height: 58px;
  border-bottom: 1px solid #1c2940;
  background: rgba(10, 16, 30, 0.92);
  position: sticky;
  top: 0;
  z-index: 6;
}
.access-bar .brand { display: flex; gap: 10px; align-items: center; color: white; text-decoration: none; font-weight: 650; }
.access-nav { display: flex; gap: 18px; align-items: center; }
.access-nav a { color: #8ea0b8; text-decoration: none; padding: 18px 0; white-space: nowrap; }
body.has-access-bar .lead-top > input { display: none; }
.access-nav a[aria-current="page"] { color: white; box-shadow: inset 0 -2px 0 #3b82f6; }
.access-bar .top-search {
  width: 100%;
  background: #0a1220;
  border: 1px solid #1c2940;
  border-radius: 999px;
  padding: 8px 14px;
  color: inherit;
}
.access-bar .add-person {
  background: #2563eb;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 650;
}
.substrip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 18px 10px;
  border-bottom: 1px solid #1e293b;
  background: #0b1220;
}
.substrip a, .substrip button {
  border: 1px solid #243044;
  background: #10192b;
  color: #e8eef7;
  border-radius: 999px;
  padding: 4px 12px;
  text-decoration: none;
  font-size: 13px;
  cursor: pointer;
}
.substrip a.on, .substrip button.on { background: #1d4ed8; border-color: #1d4ed8; color: white; }
.substrip .is-locked { opacity: .55; cursor: not-allowed; }
.substrip .is-locked::before { content: "🔒 "; font-size: 11px; }
.substrip form { margin: 0; }
.manage-lock { max-width: 520px; margin: 48px auto; background: #10192b; border: 1px solid #243044; border-radius: 16px; padding: 28px; }
.manage-lock h1 { margin: 0 0 8px; font-size: 28px; }
.manage-lock p { margin: 0 0 18px; color: #94a3b8; }
.manage-lock form { display: flex; gap: 8px; align-items: center; }
.manage-lock input { background: #0b1220; color: #e8eef7; border: 1px solid #334155; border-radius: 999px; padding: 8px 14px; font: inherit; min-width: 180px; }
.manage-lock-error { color: #fca5a5; margin: -8px 0 14px; }
.manage-lock button { background: #2563eb; color: white; border: 0; border-radius: 999px; padding: 8px 14px; font-weight: 650; cursor: pointer; }
body.leads-body h2 { text-transform: none; letter-spacing: 0; color: #f8fafc; font-size: 16px; font-weight: 700; margin: 0 0 4px; }
body.leads-body .card { background: #10192b; border: 1px solid #243044; box-shadow: none; border-radius: 16px; padding: 16px; }
.lead-top { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; }
.lead-top input { flex: 1; max-width: 520px; margin: 0 auto; background: #10192b; border: 1px solid #243044; border-radius: 999px; padding: 9px 16px; }
.top-sports { display: flex; gap: 6px; margin: 0; }
.top-sports a { white-space: nowrap; border: 1px solid #243044; border-radius: 999px; padding: 6px 12px; color: #94a3b8; text-decoration: none; font-size: 13px; }
.top-sports a.active { background: #2563eb; border-color: #2563eb; color: white; font-weight: 700; }
.lead-title { display: flex; gap: 14px; align-items: baseline; margin-bottom: 14px; }
.lead-title h1 { margin: 0; font-size: 28px; }
.lead-title .sub { margin: 0; }
.lead-kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.lead-kpi { background: #10192b; border: 1px solid #243044; border-radius: 16px; padding: 14px 12px; min-width: 0; }
.lead-kpi .n { font-size: 28px; font-weight: 750; line-height: 1; }
.lead-kpi .k { font-size: 13px; margin-top: 6px; }
.lead-kpi .note { font-size: 11px; color: #64748b; margin-top: 2px; }
.lead-boards { display: grid; grid-template-columns: 1.15fr 0.9fr 1.2fr; gap: 12px; margin-bottom: 12px; align-items: stretch; }
.pipe { display: flex; align-items: stretch; gap: 4px; margin-top: 16px; }
.pipe-step { flex: 1; background: linear-gradient(#2563eb, #1d4ed8); color: white; text-align: center; padding: 16px 4px 12px; clip-path: polygon(6% 0, 94% 0, 100% 100%, 0 100%); min-height: 78px; }
.pipe-step b { display: block; font-size: 22px; }
.pipe-step span { font-size: 11px; }
.pipe-arrow { align-self: center; color: #64748b; }
.pipe-pct { display: flex; margin-top: 8px; }
.pipe-pct div { flex: 1; text-align: center; font-size: 12px; color: #94a3b8; }
.conv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; font-size: 11px; color: #94a3b8; border-top: 1px solid #243044; padding-top: 10px; }
.conv b { display: block; color: #f8fafc; font-size: 16px; }
.queue-btn { display: block; width: 100%; margin-top: 14px; background: #2563eb; color: white; border: 0; border-radius: 10px; padding: 10px 12px; cursor: pointer; font-weight: 700; }
.q-row { display: flex; justify-content: space-between; gap: 8px; margin: 8px 0; font-size: 13px; }
.lead-table-card { background: #10192b; border: 1px solid #243044; border-radius: 16px; padding: 12px; }
.lead-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.next-act { border: 1px solid #2563eb; color: #93c5fd; background: #0b1b33; border-radius: 999px; padding: 4px 10px; font-size: 12px; white-space: nowrap; }
.prog { display: flex; align-items: center; gap: 8px; }
body.leads-body .cover-card .school-map-card { height: 230px; background: #07101c; }
body.leads-body { font-size: 14px; }
.side-brand { display: flex; gap: 10px; align-items: center; font-size: 17px; }
.brand-mark { width: 42px; height: 42px; object-fit: contain; display: block; background: none; }
.side-nav a { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.ni { width: 18px; text-align: center; opacity: 0.85; font-size: 14px; }
.side-nav a.active { box-shadow: inset 3px 0 0 #60a5fa; background: #172554; color: #dbeafe; }
.lead-kpi { display: flex; gap: 12px; align-items: center; }
.kpi-ico { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; }
.tone-blue { background: rgba(37,99,235,.18); color: #60a5fa; }
.tone-red { background: rgba(239,68,68,.16); color: #f87171; }
.tone-cyan { background: rgba(34,211,238,.14); color: #67e8f9; }
.tone-green { background: rgba(52,211,153,.14); color: #6ee7b7; }
.tone-gold { background: rgba(250,204,21,.14); color: #fde047; }
.tone-slate { background: rgba(148,163,184,.14); color: #cbd5e1; }
.pipe { align-items: flex-end; gap: 6px; }
.pipe-col { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.pipe-col b { font-size: 24px; line-height: 1; }
.pipe-col span { font-size: 12px; color: #cbd5e1; margin: 4px 0 8px; white-space: nowrap; }
.pipe-col em { font-style: normal; font-size: 12px; color: #94a3b8; margin-top: 8px; }
.pipe-shape { display: block; width: 100%; border-radius: 10px; }
.pipe-shape.s0 { height: 64px; background: linear-gradient(#3b82f6, #1d4ed8); clip-path: polygon(0 0, 100% 0, 88% 100%, 12% 100%); }
.pipe-shape.s1 { height: 40px; background: linear-gradient(#60a5fa, #2563eb); clip-path: polygon(0 0, 100% 0, 92% 100%, 8% 100%); }
.pipe-shape.s2 { height: 22px; background: linear-gradient(90deg, #8b5cf6, #6366f1); border-radius: 999px; }
.pipe-shape.s3 { height: 16px; background: #1e293b; border-radius: 999px; }
.pipe-shape.o0 { height: 72px; background: linear-gradient(#38bdf8, #2563eb); clip-path: polygon(0 0, 100% 0, 90% 100%, 10% 100%); }
.pipe-shape.o1 { height: 56px; background: linear-gradient(#3b82f6, #1d4ed8); clip-path: polygon(0 0, 100% 0, 88% 100%, 12% 100%); }
.pipe-shape.o2 { height: 40px; background: linear-gradient(#60a5fa, #2563eb); clip-path: polygon(0 0, 100% 0, 92% 100%, 8% 100%); }
.pipe-shape.o3 { height: 22px; background: linear-gradient(90deg, #8b5cf6, #6366f1); border-radius: 999px; }
.pipe-shape.o4 { height: 16px; background: #1e293b; border-radius: 999px; }
.lead-face { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; margin-right: 8px; vertical-align: middle; }
.pipe-arrow { color: #64748b; padding-bottom: 46px; }
.conv { background: #0b1322; border: 1px solid #243044; border-radius: 12px; padding: 10px 12px; grid-template-columns: repeat(3, 1fr); }
.conv-title { grid-column: 1 / -1; color: #cbd5e1; font-size: 12px; }
.conv b { font-size: 18px; }
.q-row { background: #0b1322; border: 1px solid #1e293b; border-radius: 10px; padding: 9px 12px; margin: 6px 0; align-items: center; }
.q-row .dot { display: inline-block; width: 8px; height: 8px; margin-right: 10px; vertical-align: middle; }
.q-row b { font-size: 15px; }
.queue-btn { background: linear-gradient(#3b82f6, #2563eb); }
.cover-card { position: relative; }
.map-legend { position: absolute; top: 16px; right: 16px; display: grid; grid-template-columns: auto auto; gap: 4px 14px; font-size: 12px; color: #cbd5e1; z-index: 6; }
.map-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 6px; vertical-align: middle; }
.lead-table-card table { font-size: 13px; }
.lead-table-card th { color: #64748b; font-weight: 600; border-bottom-color: #243044; }
.lead-table-card td { border-bottom-color: #1a2436; vertical-align: middle; padding: 10px 8px; }
.lead-table-card tbody tr:hover { background: #0f1b2e; }
.lead-table-card td a { color: #60a5fa; }
.lead-table-card .school-logo { width: 22px !important; height: 22px !important; object-fit: contain; }
.lead-filters .conf-chip { border-radius: 999px; padding: 6px 12px; }
.lead-filters .conf-chip.on { background: #172554; border-color: #3b82f6; color: #dbeafe; }
.lead-filters select { margin-left: 0; }
.lead-filters select#conf { margin-left: auto; }
.send-ask { cursor: pointer; font-family: inherit; }
.ext-tag { margin-top: 3px; font-size: 11px; color: #94a3b8; }
.ext-tag.new { color: #4ade80; font-weight: 700; }
.next-act { display: inline-block; text-align: center; min-width: 120px; font-weight: 700; border: 0; padding: 6px 12px; }
.next-act.act-accepted { background: linear-gradient(#3b82f6, #2563eb); color: white; }
.next-act.act-asked { background: #1e293b; color: #cbd5e1; }
.next-act.act-met, .next-act.act-demo { background: rgba(251,146,60,.18); color: #fdba74; }
.next-act.act-buyer { background: rgba(250,204,21,.18); color: #fde047; }
.status-pill { font-size: 11px; padding: 4px 10px; }
.contact-cell { font-size: 12px; line-height: 1.5; }
.li-badge { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 5px; background: #0a66c2; color: white !important; font-weight: 800; font-size: 12px; text-decoration: none !important; }
body.crm-body .shell, body.crm-body .shell.wide { max-width: none; margin: 0; padding: 0; }
body.crm-body .nav:not(.side-nav) { display: none; }
.crm-top { justify-content: flex-end; }
body.crm-body h1 { font-size: 28px; margin: 0 0 4px; color: #f8fafc; }
body.crm-body h1.lead-school { color: #34d399; }
body.crm-body .sub { color: #94a3b8; }
body.crm-body .band-warm { color: #22d3ee; }
body.crm-body .band-new { color: #a78bfa; }
body.crm-body .band-final { color: #fbbf24; }
body.crm-body .band-rejected { color: #fb7185; }
body.crm-body .tone-meeting { color: #34d399; }
body.crm-body .tone-conversation { color: #22d3ee; }
body.crm-body .tone-ask { color: #a78bfa; }
body.crm-body .tone-intro { color: #38bdf8; }
body.crm-body .tone-accepted { color: #94a3b8; }
body.crm-body .tone-final { color: #fbbf24; }
body.crm-body .tone-declined { color: #fb7185; }
body.crm-body .card { margin-bottom: 12px; }
body.crm-body .stats { grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 10px; margin: 14px 0; }
body.crm-body .stat { background: #10192b; border: 1px solid #243044; border-radius: 16px; padding: 14px 16px; position: relative; overflow: hidden; }
body.crm-body .stat::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: #3b82f6; }
body.crm-body .stat:nth-child(6n+2)::before { background: #22d3ee; }
body.crm-body .stat:nth-child(6n+3)::before { background: #34d399; }
body.crm-body .stat:nth-child(6n+4)::before { background: #a78bfa; }
body.crm-body .stat:nth-child(6n+5)::before { background: #facc15; }
body.crm-body .stat:nth-child(6n)::before { background: #f87171; }
body.crm-body .stat.annualized:nth-child(6) { grid-column: auto; }
body.crm-body .stat .n { font-size: 22px; font-weight: 750; line-height: 1.1; }
body.crm-body .stat .l { text-transform: none; letter-spacing: 0; font-size: 13px; color: #cbd5e1; margin-top: 6px; }
body.crm-body .pipeline .step { background: #0b1322; border-color: #243044; color: #94a3b8; padding: 7px 12px; }
body.crm-body input, body.crm-body select { background: #0b1322; border: 1px solid #243044; border-radius: 10px; padding: 8px 12px; }
body.crm-body input[type="checkbox"] { padding: 0; accent-color: #3b82f6; }
body.crm-body input:focus, body.crm-body select:focus { outline: none; border-color: #3b82f6; }
body.crm-body .toolbar input:not([type]) , body.crm-body .toolbar input[type="search"] { border-radius: 999px; padding: 9px 16px; min-width: 280px; }
body.crm-body table { font-size: 13px; }
body.crm-body th { color: #64748b; font-weight: 600; border-bottom-color: #243044; text-transform: none; letter-spacing: 0; font-size: 12px; }
body.crm-body td { border-bottom-color: #1a2436; vertical-align: middle; padding: 10px 8px; }
body.crm-body tbody tr:hover { background: #0f1b2e; }
body.crm-body .people-grid { gap: 12px; }
body.crm-body .person-card { background: #10192b; border: 1px solid #243044; border-radius: 16px; padding: 16px; transition: border-color .15s, transform .15s; }
body.crm-body .person-card:hover { border-color: #3b82f6; }
body.crm-body .person-card.meeting { background: #1a1030; border-color: #8b5cf6; }
body.crm-body .person-card h3 { color: #f8fafc; }
body.crm-body .person-card .title { color: #94a3b8; }
body.crm-body .copy-intro { background: linear-gradient(#3b82f6, #2563eb); color: white; border-radius: 10px; padding: 8px 14px; font-weight: 700; }
body.crm-body .copy-intro:hover { background: #3b82f6; }
body.crm-body .not-match { border-radius: 10px; }
body.crm-body #createPilot, body.crm-body .li-add button, body.crm-body .arm-match { background: #172554; color: #dbeafe; border: 1px solid #3b82f6; border-radius: 10px; padding: 7px 12px; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
body.crm-body #createPilot:hover, body.crm-body .li-add button:hover, body.crm-body .arm-match:hover { background: #1e3a8a; }
body.crm-body .badge { border-radius: 999px; padding: 3px 9px; }
body.crm-body .lead-card { background: #10192b; border-color: #243044; border-radius: 16px; }
body.crm-body .class-leads { background: #10192b; border-color: #243044; border-radius: 16px; }
body.crm-body .school-map-card { border-color: #243044; border-radius: 16px; background: #07101c; }
body.crm-body .conf-chip { background: #0b1322; border-color: #243044; }
body.crm-body .conf-chip.on { background: #172554; border-color: #3b82f6; box-shadow: none; }
body.crm-body .wave-break { border-top: 1px solid #1e293b; }
.p4-frame { display: block; width: 100%; height: 760px; border: 1px solid #243044; border-radius: 12px; background: #050b16; }
.p4-link { white-space: nowrap; }
.script-actions { display: flex; gap: 8px; }
.script-actions button { cursor: pointer; font-family: inherit; min-width: 0; }
.story { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0 12px; font-size: 12px; }
.story span { background: #0b1322; border: 1px solid #243044; border-radius: 999px; padding: 4px 10px; color: #cbd5e1; }
.story i { font-style: normal; color: #475569; }
.script-warn { background: rgba(250,204,21,.08); border: 1px solid rgba(250,204,21,.35); color: #fde68a; border-radius: 10px; padding: 9px 12px; font-size: 13px; margin-bottom: 12px; }
.script-fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.script-field { display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: #94a3b8; }
.script-field.wide { grid-column: span 2; }
.script-field em { font-style: normal; color: #64748b; }
.script-field input { width: 100%; }
.script-body { border-top: 1px solid #1e293b; }
.script-step { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid #1a2436; }
.script-when { font-variant-numeric: tabular-nums; color: #60a5fa; font-size: 12px; font-weight: 700; padding-top: 2px; }
.script-title { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #94a3b8; margin-bottom: 4px; }
.script-step p { margin: 0 0 6px; line-height: 1.55; color: #e2e8f0; font-size: 14px; }
mark.script-var { background: rgba(59,130,246,.18); color: #bfdbfe; border-radius: 5px; padding: 0 4px; font-weight: 600; }
mark.script-var.open { background: rgba(250,204,21,.16); color: #fde68a; }
.prep-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.header .prep-btns, #header .prep-btns { margin-top: 12px; }
.prep-btn { cursor: pointer; font: inherit; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(96,165,250,.45); background: rgba(59,130,246,.12); color: #bfdbfe; white-space: nowrap; }
.prep-btn:hover { background: rgba(59,130,246,.25); }
.view-thumb { width: 84px; height: 52px; object-fit: cover; object-position: top; border-radius: 6px; cursor: pointer; display: block; border: 1px solid rgba(148,163,184,.45); background: #0b1220; }
.view-thumb.copied { outline: 2px solid #34d399; }
.prep-btn.p4 { border-color: rgba(52,211,153,.45); background: rgba(16,185,129,.12); color: #a7f3d0; }
.prep-btn.p4:hover { background: rgba(16,185,129,.25); }
body.prep-open { overflow: hidden; }
.prep-drawer { position: fixed; inset: 0; z-index: 60; }
.prep-scrim { position: absolute; inset: 0; background: rgba(2,6,15,.6); backdrop-filter: blur(2px); }
.prep-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(1080px, 92vw); background: #070d19; border-left: 1px solid #1e293b; box-shadow: -24px 0 60px rgba(0,0,0,.5); display: flex; flex-direction: column; animation: prep-in .18s ease-out; }
@keyframes prep-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.prep-top { display: flex; align-items: center; gap: 16px; padding: 14px 20px; border-bottom: 1px solid #1e293b; }
.prep-title { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.prep-title h2 { margin: 0; font-size: 18px; }
.prep-title img { object-fit: contain; }
.prep-tabs { display: flex; gap: 4px; background: #0b1322; border: 1px solid #1e293b; border-radius: 999px; padding: 3px; }
.prep-tabs button { cursor: pointer; font: inherit; font-size: 13px; font-weight: 700; border: 0; border-radius: 999px; padding: 6px 14px; background: transparent; color: #94a3b8; }
.prep-tabs button.on { background: #2563eb; color: #fff; }
.prep-links { display: flex; align-items: center; gap: 8px; }
.prep-close { cursor: pointer; border: 0; background: transparent; color: #94a3b8; font-size: 26px; line-height: 1; padding: 0 4px; }
.prep-close:hover { color: #fff; }
.prep-pane { flex: 1; overflow: auto; padding: 18px 20px; }
.prep-pane[data-pane="p4"] { padding: 0; overflow: hidden; }
.prep-pane .p4-frame { height: 100%; border: 0; border-radius: 0; }
.prep-pane .script-card { margin: 0; }
@media (max-width: 760px) { .prep-top { flex-wrap: wrap; } }
@media (max-width: 760px) { .script-fields { grid-template-columns: 1fr; } .script-field.wide { grid-column: auto; } }
.dash-boards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dash-head { display: flex; justify-content: space-between; align-items: center; padding: 4px 4px 8px; }
.dash-head a.next-act { min-width: 0; text-decoration: none; }
.bar-row { margin: 12px 0; }
.bar-label { display: flex; justify-content: space-between; font-size: 13px; color: #cbd5e1; margin-bottom: 6px; }
.bar-label b { color: #f8fafc; }
.bar-track { height: 8px; border-radius: 999px; background: #0b1322; border: 1px solid #1e293b; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; }
.fill-blue { background: linear-gradient(90deg, #2563eb, #60a5fa); }
.fill-sky { background: linear-gradient(90deg, #0284c7, #38bdf8); }
.fill-green { background: linear-gradient(90deg, #059669, #34d399); }
.fill-cyan { background: linear-gradient(90deg, #0891b2, #22d3ee); }
.fill-violet { background: linear-gradient(90deg, #6366f1, #a78bfa); }
.fill-gold { background: linear-gradient(90deg, #ca8a04, #facc15); }
.fill-amber { background: linear-gradient(90deg, #d97706, #fbbf24); }
.fill-rose { background: linear-gradient(90deg, #be123c, #fb7185); }
.fill-red { background: linear-gradient(90deg, #dc2626, #f87171); }
.fill-slate { background: linear-gradient(90deg, #475569, #94a3b8); }
@media (max-width: 760px) {
  body.leads-body aside.side { position: static; width: auto; }
  .lead-main { margin-left: 0; }
  .lead-kpis, .lead-boards { grid-template-columns: 1fr; }
}
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.wave-break {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  padding: 8px 0 0;
}
.batch-bubble {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  background: #334155;
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.batch-0 { background: #1d4ed8; color: #dbeafe; }
.batch-1 { background: #047857; color: #d1fae5; }
.batch-2 { background: #b45309; color: #ffedd5; }
.batch-3 { background: #7e22ce; color: #f3e8ff; }
.batch-4 { background: #be123c; color: #ffe4e6; }
.batch-5 { background: #0f766e; color: #ccfbf1; }
.person-card.batch-tint-0 { border-color: #1d4ed8; }
.person-card.batch-tint-1 { border-color: #047857; }
.person-card.batch-tint-2 { border-color: #b45309; }
.person-card.batch-tint-3 { border-color: #7e22ce; }
.person-card.batch-tint-4 { border-color: #be123c; }
.person-card.batch-tint-5 { border-color: #0f766e; }
.person-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  background: #01040c;
}
.person-card.meeting { opacity: 1; border-color: #c084fc; background: #1a1030; }
.person-card h3 { margin: 0 0 4px; font-size: 16px; }
.person-card .title { font-size: 13px; color: var(--muted); margin-bottom: 10px; min-height: 34px; }
.contact-row { font-size: 13px; margin: 4px 0; }
.phone-link { font-size: 16px; font-weight: 600; }
.email-only { color: var(--muted); font-size: 12px; }
.empty { color: var(--muted); font-size: 13px; }
.outreach-message {
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 14px;
  white-space: pre-wrap;
}
.copy-intro {
  background: var(--btn);
  border: 0;
  border-radius: 8px;
  color: var(--btn-text);
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  margin-top: 10px;
  padding: 7px 11px;
}
.copy-intro:hover { background: var(--cyan); }
.not-match {
  background: transparent;
  border: 1px solid #7f1d1d;
  border-radius: 8px;
  color: #fca5a5;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  margin-left: 8px;
  padding: 6px 10px;
}
button.school-affil {
  background: rgba(75,85,99,0.4);
  border: 0;
  border-radius: 999px;
  color: #e5e7eb;
  cursor: pointer;
  font-family: inherit;
  font-size: 11px;
  padding: 2px 8px;
}
.school-select { max-width: 220px; }
