:root {
  --bg: #0b0f10;
  --panel: #111719;
  --panel-2: #172023;
  --line: #243135;
  --text: #f4f0e8;
  --muted: #9ea9a5;
  --amber: #e5a336;
  --green: #78b56d;
  --blue: #6fb6d6;
  --action-teal: #2dd4bf;
  --value-gold: #f4c864;
  --red: #d66f5f;
  --glass: rgba(255, 255, 255, 0.045);
  --glass-strong: rgba(255, 255, 255, 0.075);
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 22% -10%, rgba(111, 182, 214, 0.13), transparent 28%),
    radial-gradient(circle at 82% 8%, rgba(229, 163, 54, 0.11), transparent 26%),
    linear-gradient(180deg, #081011 0%, var(--bg) 46%, #090c0c 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body.login-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 16%, rgba(229, 163, 54, 0.16), transparent 34%),
    linear-gradient(135deg, #080b0c 0%, #111719 48%, #1a1d18 100%);
}
button, input, select {
  font: inherit;
}
#app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
}
.sidebar {
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.032), rgba(255,255,255,0.008)),
    #0f1516;
  padding: 22px;
  position: sticky;
  top: 0;
  height: 100vh;
  box-shadow: inset -1px 0 0 rgba(255,255,255,0.025);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 45%, rgba(45, 212, 191, 0.12), transparent 62%),
    rgba(255,255,255,0.025);
  border: 1px solid rgba(45, 212, 191, 0.24);
  overflow: hidden;
}
.mark img { width: 86%; height: 86%; object-fit: contain; }
.brand span, .eyebrow, .muted {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
nav {
  display: grid;
  gap: 8px;
}
.nav, .subnav, .ghost, .primary, .small, .danger, .icon-button {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: var(--panel);
  padding: 10px 12px;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}
.nav {
  width: 100%;
  text-align: left;
}
.group-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-split {
  padding: 0;
  overflow: hidden;
}
.nav-toggle {
  flex: 1;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 10px 12px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-add {
  width: 36px;
  height: 36px;
  margin-right: 4px;
  border: 1px solid rgba(229, 163, 54, 0.35);
  border-radius: 8px;
  background: rgba(229, 163, 54, 0.1);
  color: var(--amber);
  font-weight: 900;
  cursor: pointer;
}
.nav-add:hover {
  background: rgba(229, 163, 54, 0.18);
  border-color: rgba(229, 163, 54, 0.7);
}
.group-title span {
  color: var(--amber);
  font-size: 12px;
}
.submenu {
  display: grid;
  gap: 6px;
  margin: 6px 0 10px 12px;
  padding-left: 10px;
  border-left: 1px solid var(--line);
}
.submenu.closed { display: none; }
.subnav {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  padding: 8px;
  font-size: 13px;
}
.subnav img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: contain;
  object-position: center;
  display: block;
}
.subnav .dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--amber);
}
.nav.active, .primary {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.34), rgba(255,255,255,0.02) 45%),
    linear-gradient(135deg, #f3c75f 0%, var(--amber) 52%, #7cc9da 100%);
  border-color: var(--amber);
  color: #17110a;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(229, 163, 54, 0.16), inset 0 1px 0 rgba(255,255,255,0.42);
}
.nav:hover, .subnav:hover, .ghost:hover, .small:hover, .icon-button:hover {
  transform: translateY(-1px);
  border-color: rgba(229, 163, 54, 0.46);
  background: rgba(255,255,255,0.055);
}
.primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}
.subnav.active {
  border-color: rgba(229, 163, 54, 0.7);
  color: var(--amber);
}
.danger {
  background: rgba(214, 111, 95, 0.12);
  border-color: rgba(214, 111, 95, 0.55);
  color: #ffb6aa;
}
.client-card {
  margin-top: 28px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}
.mini-stat {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  margin-top: 10px;
}
.mini-stat strong {
  display: block;
  font-size: 22px;
  color: var(--amber);
  line-height: 1.05;
}
.mini-stat span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}
.client-chip {
  display: flex;
  gap: 12px;
  align-items: center;
}
.side-client-logo {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 12px;
  border: 1px solid rgba(244, 200, 100, 0.18);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 20%, rgba(244, 200, 100, 0.14), transparent 40%),
    linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012)),
    rgba(8, 13, 14, 0.62);
}
.side-client-logo img {
  width: min(74%, 148px);
  height: min(74%, 148px);
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 14px;
}
.client-chip img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: contain;
  object-position: center;
  display: block;
}
main {
  min-width: 0;
  padding: 26px;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 4px; letter-spacing: 0; }
.actions { display: flex; gap: 10px; }
.icon-button {
  width: 40px;
  height: 40px;
  padding: 0;
  display: grid;
  place-items: center;
  font-size: 22px;
  line-height: 1;
}
.logout-button {
  border: 1px solid rgba(244, 240, 232, 0.15);
  background: rgba(244, 240, 232, 0.04);
  color: var(--muted);
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
}
.logout-button:hover {
  color: var(--text);
  border-color: rgba(229, 163, 54, 0.45);
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.view { display: none; }
.view.active { display: block; }
.grid {
  display: grid;
  gap: 16px;
}
.stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.two {
  grid-template-columns: minmax(0, 1.5fr) minmax(360px, 0.9fr);
  align-items: start;
}
.client-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  align-items: start;
}
.card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012)),
    var(--panel);
  border: 1px solid rgba(255,255,255,0.075);
  border-radius: 8px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.card h2 {
  letter-spacing: 0;
}
.metric {
  min-height: 112px;
  position: relative;
  overflow: hidden;
}
.metric::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), rgba(111, 182, 214, 0.75), transparent);
  opacity: 0.65;
}
.metric strong {
  display: block;
  font-size: 30px;
  margin-top: 12px;
}
.command-metrics .metric small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}
.metric.flat {
  box-shadow: none;
  background: transparent;
  min-height: 90px;
}
.two-stat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.metric span {
  color: var(--muted);
  font-size: 13px;
}
.lead-list {
  display: grid;
  gap: 10px;
}
.admin-client-lead-pack {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}
.admin-lead-pack-head {
  padding: 15px 16px;
  border: 1px solid rgba(112, 228, 203, 0.18);
  border-radius: 10px;
  background:
    radial-gradient(circle at 100% 0%, rgba(112, 228, 203, 0.09), transparent 36%),
    linear-gradient(135deg, rgba(16, 38, 40, 0.86), rgba(8, 12, 14, 0.94));
}
.admin-client-lead-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.admin-top-lead-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 16px;
  align-items: stretch;
  padding: 16px;
  border: 1px solid rgba(229, 163, 54, 0.24);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(229, 163, 54, 0.11), rgba(8, 15, 16, 0.94) 42%),
    rgba(255,255,255,0.02);
}
.admin-top-lead-panel h3 {
  margin: 0 0 8px;
  color: #fff7e8;
  font-size: 22px;
}
.admin-top-lead-panel p {
  margin: 0;
  color: #c7d4d0;
  line-height: 1.5;
}
.admin-top-lead-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  align-content: center;
}
.admin-top-lead-proof span {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  background: rgba(0,0,0,0.18);
  color: var(--muted);
  font-size: 11px;
}
.admin-top-lead-proof b {
  color: var(--amber);
  font-size: 15px;
}
.admin-top-lead-proof .tool-button {
  grid-column: 1 / -1;
}
.admin-lead-board {
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  background: rgba(0,0,0,0.16);
}
.admin-prospect-head {
  margin-bottom: 8px;
}
.admin-refined-lead-list .refined-prospect-card {
  border-color: rgba(112, 228, 203, 0.18);
}
.ops-table, .connector-list, .opportunity-table {
  display: grid;
  gap: 8px;
}
.ops-row, .opportunity-row {
  border: 1px solid rgba(255,255,255,0.075);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.042), rgba(255,255,255,0.01)),
    var(--panel-2);
  color: var(--text);
  padding: 11px;
  cursor: pointer;
}
.ops-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(94px, auto);
  gap: 12px;
  align-items: center;
  text-align: left;
}
.ops-row:hover, .opportunity-row:hover { border-color: rgba(229, 163, 54, 0.7); }
.ops-row span:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}
.ops-row img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: contain;
  object-position: center;
  display: block;
}
.client-ops-row {
  min-width: 0;
}
.ops-client {
  min-width: 0;
}
.ops-client span {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.ops-client b,
.ops-client small {
  overflow: hidden;
  text-overflow: ellipsis;
}
.ops-client b {
  white-space: normal;
  line-height: 1.1;
}
.ops-client small {
  white-space: nowrap;
}
.ops-client small,
.ops-metric small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}
.ops-metrics {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}
.ops-metric {
  display: grid;
  gap: 3px;
  justify-items: start;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 8px;
  background: rgba(0, 0, 0, 0.16);
}
.ops-metric strong {
  font-size: 14px;
}
.ops-row em {
  color: var(--green);
  font-style: normal;
  font-weight: 800;
  justify-self: end;
  border: 1px solid rgba(77, 214, 126, 0.24);
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(77, 214, 126, 0.08);
  font-size: 12px;
}
.connector-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}
.connector-summary div {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(229, 163, 54, 0.065), rgba(111, 182, 214, 0.025)),
    rgba(255, 255, 255, 0.025);
  padding: 10px;
}
.connector-summary strong,
.connector-summary span {
  display: block;
}
.connector-summary strong {
  font-size: 22px;
  color: var(--amber);
}
.connector-summary span {
  color: var(--muted);
  font-size: 12px;
}
.connector-groups {
  display: grid;
  gap: 12px;
}
.connector-group {
  border: 1px solid rgba(255,255,255,0.075);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.018);
}
.connector-group-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}
.connector-group-head span {
  color: var(--muted);
  font-size: 12px;
}
.connector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 8px;
  padding: 8px;
}
.connector {
  display: grid;
  gap: 10px;
  align-items: start;
  padding: 13px;
  border: 1px solid rgba(255,255,255,0.075);
  border-radius: 10px;
  background:
    radial-gradient(circle at 96% 0%, rgba(111,182,214,0.08), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.044), rgba(255,255,255,0.012)),
    var(--panel-2);
}
.connector:hover {
  border-color: rgba(111, 182, 214, 0.32);
  transform: translateY(-1px);
}
.connector.compact-row {
  align-items: center;
}
.connector-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
}
.connector-name {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  color: var(--text) !important;
  margin-top: 0 !important;
}
.connector-state-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--muted);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.025);
}
.connector-state-dot.ready,
.connector-state-dot.connected,
.connector-state-dot.configured {
  background: var(--green);
  box-shadow: 0 0 14px rgba(120, 181, 109, 0.42);
}
.connector-state-dot.needs-key,
.connector-state-dot.needs-review,
.connector-state-dot.needs-setup,
.connector-state-dot.needs-login {
  background: var(--amber);
  box-shadow: 0 0 14px rgba(229, 163, 54, 0.36);
}
.connector-state-dot.failed {
  background: var(--red);
  box-shadow: 0 0 14px rgba(214, 111, 95, 0.36);
}
.connector strong,
.connector span,
.connector small {
  display: block;
}
.connector span {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}
.connector small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
  margin-top: 6px;
}
.connector em {
  align-self: flex-start;
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 5px 8px;
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}
.connector em.connected, .connector em.configured {
  color: #d9ffd4;
  border-color: rgba(120, 181, 109, 0.45);
  background: rgba(120, 181, 109, 0.1);
}
.connector em.needs-review,
.connector em.needs-account,
.connector em.needs-login,
.connector em.needs-setup {
  color: #ffe1ad;
  border-color: rgba(229, 163, 54, 0.45);
  background: rgba(229, 163, 54, 0.1);
}
.connector em.needs-key {
  color: #ffd5b6;
  border-color: rgba(220, 116, 71, 0.45);
  background: rgba(220, 116, 71, 0.1);
}
.connector em.failed {
  color: #ffd1c6;
  border-color: rgba(214, 111, 95, 0.55);
  background: rgba(214, 111, 95, 0.12);
}
.connector-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 6px;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 8px;
}
.tool-button,
.compact-action {
  border-radius: 7px;
}
.tool-button {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.012)),
    rgba(13, 22, 24, 0.74);
  color: var(--text);
  min-height: 38px;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.065);
}
.tool-button.strong {
  color: var(--amber);
  border-color: rgba(229, 163, 54, 0.35);
}
.tool-button.danger-text {
  color: #ffb6aa;
  border-color: rgba(214, 111, 95, 0.35);
}
.tool-button:hover {
  border-color: rgba(229, 163, 54, 0.65);
}
.field-note {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  margin-left: 6px;
}
.check-row {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
}
.check-row input {
  width: auto;
}
.connector-list.compact .connector {
  padding: 10px;
}
.source-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.source-actions-toolbar {
  gap: 8px;
}
.source-run-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  max-height: 420px;
  overflow: auto;
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  background: rgba(0,0,0,0.18);
}
.source-run-board button {
  min-height: 44px;
  text-align: left;
  justify-content: flex-start;
}
.run-list {
  display: grid;
  gap: 8px;
}
.run-row {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 86px 88px 64px;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: var(--panel-2);
}
.run-row span {
  color: var(--muted);
  font-size: 12px;
}
.run-row div span {
  display: block;
  margin-top: 4px;
}
.run-row em {
  justify-self: start;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 5px 8px;
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}
.run-row em.complete {
  color: #d9ffd4;
  border-color: rgba(120, 181, 109, 0.45);
  background: rgba(120, 181, 109, 0.1);
}
.run-row em.failed {
  color: #ffd5b6;
  border-color: rgba(220, 116, 71, 0.55);
  background: rgba(220, 116, 71, 0.12);
}
.source-watch-grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.watch-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.watch-list {
  display: grid;
  gap: 8px;
}
.watch-discovery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.025), transparent),
    var(--panel-2);
}
.watch-discovery strong,
.watch-discovery span,
.watch-discovery p {
  display: block;
}
.watch-discovery span {
  color: var(--amber);
  font-size: 12px;
  margin-top: 4px;
}
.watch-discovery p {
  color: var(--muted);
  font-size: 12px;
  margin: 7px 0 0;
}
.watch-score {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(120, 181, 109, 0.45);
  color: var(--green);
  background: rgba(120, 181, 109, 0.1);
  font-weight: 900;
}
.watch-score.medium {
  border-color: rgba(229, 163, 54, 0.45);
  color: #ffc44d;
  background: rgba(229, 163, 54, 0.1);
}
.watch-score.low {
  border-color: rgba(214, 111, 95, 0.55);
  color: #ff9a8e;
  background: rgba(214, 111, 95, 0.1);
}
.lead {
  border: 1px solid rgba(255,255,255,0.075);
  border-radius: 8px;
  padding: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(229, 163, 54, 0.085), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012)),
    var(--panel-2);
  cursor: pointer;
  display: grid;
  gap: 10px;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.lead:hover {
  border-color: rgba(229, 163, 54, 0.7);
  transform: translateY(-1px);
}
.lead-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.lead h3 { margin: 0 0 4px; font-size: 17px; }
.lead-card-timing {
  display: grid;
  gap: 4px;
  padding: 11px 12px;
  border: 1px solid rgba(111, 182, 214, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(111, 182, 214, 0.08), rgba(229, 163, 54, 0.045)),
    rgba(0, 0, 0, 0.16);
}
.lead-card-timing span,
.lead-card-timing small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}
.lead-card-timing strong {
  color: var(--amber);
  font-size: 13px;
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.badge {
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 5px 8px;
  font-size: 12px;
}
.badge.urgent { color: #251605; background: var(--amber); border-color: var(--amber); font-weight: 800; }
.badge.high { color: #061509; background: var(--green); border-color: var(--green); font-weight: 800; }
.score {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #0d1214;
  border: 1px solid var(--amber);
  color: var(--amber);
  font-weight: 900;
}
.pipeline {
  display: grid;
  gap: 9px;
}
.pipeline-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 70px;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}
.client-hero {
  display: grid;
  grid-template-columns: clamp(104px, 13vw, 160px) minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}
.client-hero > img {
  width: 100%;
  height: 78px;
  border-radius: 12px;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 8px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015)),
    rgba(4, 11, 12, 0.72);
  border: 1px solid rgba(244, 200, 100, 0.2);
}
.preview-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0;
}
.preview-control {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(220px, 320px) auto;
  gap: 16px;
  align-items: end;
}
.preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.preview-client {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
  color: var(--text);
  padding: 10px 12px;
  cursor: pointer;
}
.preview-client.active {
  border-color: var(--amber);
  color: var(--amber);
}
.preview-client img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: contain;
  object-position: center;
  display: block;
}
.preview-empty {
  min-height: 380px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  border: 1px dashed rgba(229, 163, 54, 0.35);
  border-radius: 8px;
  margin-top: 16px;
  background: rgba(255,255,255,0.02);
}
.preview-empty img {
  width: 76px;
  height: 76px;
  border-radius: 16px;
  margin-bottom: 14px;
  object-fit: contain;
  object-position: center;
  display: block;
}
.preview-stage {
  margin-top: 16px;
}
.preview-stage.full {
  margin-left: -26px;
  margin-right: -26px;
  padding: 0 26px 26px;
}
.preview-stage-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
}
.preview-client-workspace {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.preview-client-menu {
  position: sticky;
  top: 14px;
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(111, 182, 214, 0.16);
  border-radius: 10px;
  background:
    radial-gradient(circle at 25% 0%, rgba(84, 228, 210, 0.075), transparent 35%),
    rgba(5, 12, 14, 0.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 18px 48px rgba(0,0,0,0.22);
}
.preview-client-menu .eyebrow {
  margin: 0 0 2px;
  color: rgba(204, 221, 218, 0.78);
}
.preview-menu-shell {
  gap: 8px;
}
.preview-client-canvas {
  min-width: 0;
}
.preview-client-canvas .client-dashboard {
  margin-top: 0;
}
.mobile-preview-workspace {
  grid-template-columns: minmax(210px, 248px) minmax(0, 430px);
  justify-content: center;
}
.mobile-preview-workspace .preview-client-menu {
  position: static;
}
.phone-shell {
  width: min(430px, 100%);
  margin: 0 auto;
  padding: 14px;
  border-radius: 34px;
  background: #050708;
  border: 1px solid #2c373a;
  box-shadow: 0 30px 90px rgba(0,0,0,0.55);
}
.phone-speaker {
  width: 94px;
  height: 6px;
  border-radius: 999px;
  background: #273236;
  margin: 0 auto 12px;
}
.phone-screen {
  height: 780px;
  overflow: auto;
  border-radius: 24px;
  background: #091012;
}
.client-dashboard {
  position: relative;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(229, 163, 54, 0.22);
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 0%, rgba(229, 163, 54, 0.08), transparent 26%),
    linear-gradient(180deg, #0d1518 0%, #091012 100%);
}
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.mobile-dashboard {
  margin: 0;
  padding: 14px;
  border: none;
  border-radius: 24px;
}
.mobile-dashboard .client-top {
  display: grid;
  gap: 10px;
}
.mobile-dashboard .client-tabs {
  overflow-x: auto;
  flex-wrap: nowrap;
  padding-bottom: 4px;
}
.mobile-dashboard .client-stats,
.mobile-dashboard .segment-row,
.mobile-dashboard .client-grid {
  grid-template-columns: 1fr;
}
.mobile-dashboard .finance-entry {
  grid-template-columns: 1fr;
}
.mobile-dashboard .metric {
  min-height: 88px;
}
.mobile-dashboard .opportunity-row {
  grid-template-columns: 34px minmax(0, 1fr);
}
.mobile-dashboard .opportunity-row span:nth-child(3),
.mobile-dashboard .opportunity-row span:nth-child(4),
.mobile-dashboard .opportunity-row em {
  display: none;
}
.mobile-dashboard .prospect-card,
.mobile-dashboard .opportunity-lanes {
  grid-template-columns: 1fr;
}
.mobile-dashboard .contact-actions {
  justify-content: stretch;
}
.mobile-dashboard .contact-actions > * {
  flex: 1;
  text-align: center;
}
.mobile-dashboard .report-actions > *,
.mobile-dashboard .email-actions > * {
  flex: 1 1 100%;
}
.client-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 14px;
}
.client-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.client-tabs span,
.client-tabs button {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--muted);
  background: rgba(255,255,255,0.02);
  font-size: 12px;
}
.client-tabs button {
  min-height: 36px;
}
.segment-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
  gap: 12px;
  margin: 14px 0;
}
.segment-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 14px;
}
.segment-card .rank {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--amber);
  color: #15100a;
  font-weight: 900;
}
.segment-card h3 {
  margin: 12px 0 8px;
}
.segment-card strong {
  color: var(--green);
  font-size: 28px;
}
.segment-card em {
  display: block;
  color: var(--muted);
  font-style: normal;
  margin-top: 4px;
}

.area-command-grid {
  display: grid;
  gap: 12px;
}

.area-command-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) minmax(210px, 0.48fr);
  gap: 14px;
  align-items: center;
  padding: 15px;
  border: 1px solid rgba(111, 182, 214, 0.2);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.014)),
    rgba(255,255,255,0.018);
}

.area-command-card.hot {
  border-color: rgba(244, 200, 100, 0.36);
  background:
    radial-gradient(circle at 4% 0%, rgba(244, 200, 100, 0.13), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.014));
}

.area-command-rank {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: #17110a;
  background: linear-gradient(135deg, var(--value-gold), #8bd4c9);
  font-weight: 950;
}

.area-command-main {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.area-command-main span {
  color: var(--amber);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.area-command-main h3 {
  margin: 0;
  color: var(--text);
}

.area-command-main p,
.area-command-next strong {
  margin: 0;
  color: var(--muted);
  line-height: 1.42;
}

.area-command-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.area-command-meta b {
  padding: 5px 8px;
  border: 1px solid rgba(111, 182, 214, 0.17);
  border-radius: 999px;
  color: #dce9e5;
  background: rgba(0,0,0,0.14);
  font-size: 11px;
}

.area-command-next {
  display: grid;
  gap: 9px;
  justify-items: start;
}

.area-leads-drawer {
  display: grid;
  gap: 14px;
}

.area-drawer-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.area-drawer-summary span {
  padding: 10px;
  border: 1px solid rgba(111, 182, 214, 0.18);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255,255,255,0.024);
  font-size: 12px;
}

.area-drawer-summary b {
  display: block;
  color: var(--text);
  font-size: 17px;
}

.area-drawer-list {
  display: grid;
  gap: 9px;
}

.area-drawer-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
  align-items: center;
  width: 100%;
  padding: 11px;
  border: 1px solid rgba(111, 182, 214, 0.18);
  border-radius: 9px;
  color: var(--text);
  background: rgba(255,255,255,0.022);
  text-align: left;
}

.area-drawer-lead strong,
.area-drawer-lead span,
.area-drawer-lead small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.area-drawer-lead span,
.area-drawer-lead small {
  color: var(--muted);
}

.area-drawer-lead em {
  grid-row: 1 / span 3;
  grid-column: 2;
  color: var(--amber);
  font-style: normal;
  font-weight: 950;
}
.opportunity-row {
  display: grid;
  grid-template-columns: 34px minmax(150px, 1fr) minmax(110px, 0.8fr) minmax(120px, 0.8fr) 54px;
  gap: 10px;
  align-items: center;
  text-align: left;
}
.opportunity-row strong {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(229, 163, 54, 0.9);
  color: #15100a;
}
.opportunity-row em {
  color: var(--green);
  font-style: normal;
  font-weight: 900;
}
.featured {
  border-color: rgba(229, 163, 54, 0.45);
}
.finance-card {
  border-color: rgba(120, 181, 109, 0.42);
  background:
    radial-gradient(circle at 82% 8%, rgba(120, 181, 109, 0.12), transparent 28%),
    var(--panel);
}
.finance-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.finance-head strong {
  color: var(--green);
  font-size: 30px;
}
.finance-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}
.finance-strip span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.025);
  color: var(--muted);
  padding: 10px;
  font-size: 12px;
}
.finance-strip b {
  display: block;
  color: var(--text);
  font-size: 17px;
}
.finance-entry {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(110px, 0.45fr) minmax(130px, 0.55fr);
  gap: 10px;
  align-items: end;
}
.finance-entry label {
  min-width: 0;
}
.finance-entry input,
.finance-entry select {
  width: 100%;
}
.finance-entry .finance-notes {
  grid-column: 1 / -1;
}
.finance-entry button {
  grid-column: 1 / -1;
}

.finance-outcomes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.finance-outcome-list {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(111, 182, 214, 0.18);
  border-radius: 10px;
  background: rgba(255,255,255,0.022);
}

.finance-outcome-list.won {
  border-color: rgba(120, 221, 139, 0.34);
  background: linear-gradient(180deg, rgba(120, 221, 139, 0.08), rgba(255,255,255,0.018));
}

.finance-outcome-list.lost {
  border-color: rgba(255, 154, 142, 0.26);
  background: linear-gradient(180deg, rgba(255, 154, 142, 0.06), rgba(255,255,255,0.016));
}

.finance-outcome-list > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.finance-outcome-list > div strong {
  color: var(--text);
}

.finance-outcome-list > div span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.finance-outcome-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
  align-items: center;
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 9px;
  color: var(--text);
  background: rgba(0,0,0,0.18);
  text-align: left;
}

.finance-outcome-row b,
.finance-outcome-row small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.finance-outcome-row small {
  color: var(--muted);
}

.finance-outcome-row em {
  grid-row: 1 / span 2;
  grid-column: 2;
  color: var(--green);
  font-style: normal;
  font-weight: 950;
}
.win-burst {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  z-index: 30;
  background: radial-gradient(circle, rgba(229, 163, 54, 0.16), rgba(0,0,0,0.18) 44%, transparent 70%);
  animation: burstFade 2.1s ease forwards;
}
.win-card {
  display: grid;
  place-items: center;
  min-width: 280px;
  border: 1px solid rgba(229, 163, 54, 0.65);
  border-radius: 14px;
  padding: 26px;
  background: linear-gradient(180deg, #162016 0%, #0c1110 100%);
  box-shadow: 0 30px 100px rgba(0,0,0,0.55);
  animation: winPop 0.65s cubic-bezier(.2,1.4,.3,1) both;
}
.win-card h2 {
  margin: 10px 0 6px;
}
.win-card strong {
  color: var(--green);
  font-size: 38px;
}
.hunter-assistant {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 45;
}

@media (min-width: 900px) {
  #app.client-session main {
    padding-right: 104px;
  }

  #app.client-session .client-page-content {
    padding-bottom: 88px;
  }
}

.hunter-nudge {
  position: absolute;
  right: 68px;
  bottom: 10px;
  width: min(245px, calc(100vw - 112px));
  padding: 10px 12px;
  border: 1px solid rgba(244, 200, 100, 0.32);
  border-radius: 10px;
  color: #fff7e8;
  background: linear-gradient(180deg, rgba(16, 24, 26, 0.94), rgba(8, 13, 14, 0.96));
  box-shadow: 0 18px 45px rgba(0,0,0,0.42);
  font-size: 12px;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  animation: hunterNudge 14s ease-in-out infinite;
}
.hunter-bubble {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  padding: 0;
  border: 1px solid rgba(229, 163, 54, 0.72);
  background: linear-gradient(145deg, #1a221f, #090d0e);
  box-shadow: 0 18px 50px rgba(0,0,0,0.45), 0 0 0 5px rgba(229, 163, 54, 0.08);
  overflow: visible;
}
.hunter-bubble img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  display: block;
}
.hunter-bubble span {
  position: absolute;
  right: 4px;
  bottom: 5px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 2px solid #091012;
  background: var(--green);
}
.hunter-panel {
  position: absolute;
  right: 0;
  bottom: 66px;
  display: none;
  width: min(390px, calc(100vw - 32px));
  max-height: min(680px, calc(100vh - 126px));
  overflow: auto;
  border: 1px solid rgba(229, 163, 54, 0.28);
  border-radius: 10px;
  padding: 16px;
  background: linear-gradient(180deg, #10181a 0%, #080d0e 100%);
  box-shadow: 0 28px 90px rgba(0,0,0,0.58);
}
.hunter-assistant.open .hunter-panel {
  display: block;
}
.hunter-head {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}
.hunter-head img {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(229, 163, 54, 0.4);
}
.hunter-head strong,
.hunter-output strong {
  display: block;
  color: var(--text);
}
.hunter-head span,
.hunter-output span,
.hunter-output small {
  color: var(--muted);
  font-size: 12px;
}
.hunter-dialogue {
  display: grid;
  gap: 9px;
  max-height: 170px;
  overflow: auto;
  margin: 12px 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0,0,0,0.18);
}
.hunter-message {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.hunter-message.user {
  justify-content: flex-end;
}
.hunter-message img {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  object-fit: cover;
}
.hunter-message p {
  max-width: 82%;
  margin: 0;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 9px 10px;
  color: var(--text);
  background: rgba(255,255,255,0.035);
  font-size: 12px;
  line-height: 1.45;
}
.hunter-message.user p {
  color: #17110a;
  background: var(--amber);
  border-color: var(--amber);
  font-weight: 750;
}
.hunter-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px;
  border: 1px solid rgba(229, 163, 54, 0.26);
  border-radius: 8px;
  background: rgba(229, 163, 54, 0.06);
}
.hunter-scope strong,
.hunter-scope small {
  flex: 1 1 100%;
}
.hunter-scope strong {
  font-size: 12px;
}
.hunter-scope span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 8px;
  color: var(--muted);
  font-size: 11px;
  background: rgba(255,255,255,0.025);
}
.hunter-scope small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}
.hunter-command-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
}
.hunter-command-grid button,
.hunter-search button {
  min-height: 38px;
}
.hunter-search {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.025);
}
.hunter-search button {
  grid-column: 1 / -1;
}
.hunter-search input {
  width: 100%;
}
.hunter-chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 10px;
}
.hunter-chat-form input {
  min-width: 0;
}
.hunter-output {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0,0,0,0.18);
}
.hunter-cards {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}
.hunter-cards article {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255,255,255,0.025);
}
.hunter-cards b,
.hunter-cards em,
.hunter-cards small {
  display: block;
}
.hunter-cards em {
  color: var(--amber);
  font-style: normal;
  font-weight: 800;
  margin-top: 2px;
}
.hunter-cards p {
  color: var(--muted);
  margin: 6px 0;
  line-height: 1.45;
}
.hunter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.hunter-actions span,
.credit-note {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 8px;
  color: var(--muted);
  font-size: 11px;
}
.money-orb {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #17110a;
  background: linear-gradient(145deg, #ffdf75, var(--amber));
  font-weight: 1000;
  font-size: 42px;
  box-shadow: 0 0 36px rgba(229, 163, 54, 0.45);
}
.win-burst span {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: #17110a;
  background: var(--amber);
  font-weight: 900;
  animation: moneyFly 1.35s ease-out forwards;
  animation-delay: calc(var(--i) * 0.025s);
}

.lead-product-header {
  border-bottom: 1px solid rgba(229, 163, 54, 0.28);
  padding-bottom: 18px;
  margin-bottom: 16px;
}
.lead-brand-row,
.lead-title-row,
.section-head,
.featured-title {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}
.lead-brand {
  display: flex;
  gap: 12px;
  align-items: center;
}
.lead-brand img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: contain;
  object-position: center;
  display: block;
  border: 1px solid rgba(229, 163, 54, 0.45);
}
.lead-brand strong {
  display: block;
  letter-spacing: 0;
  font-size: 18px;
}
.lead-brand span,
.lead-meta,
.section-head > span,
.feature-metrics span,
.score-grid span,
.metric small {
  color: var(--muted);
  font-size: 12px;
}
.lead-brand span,
.lead-meta span:first-child,
.lead-meta span:nth-child(2) {
  color: var(--amber);
  font-weight: 800;
}
.client-brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.client-logo-main {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  object-fit: contain;
  object-position: center;
  display: block;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.015)),
    rgba(4, 11, 12, 0.86);
  border: 1px solid rgba(244, 200, 100, 0.42);
  box-shadow: 0 16px 38px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.1);
  padding: 8px;
}
.lead-radar-lockup {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.lead-radar-lockup strong {
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  font-weight: 1000;
  letter-spacing: 0;
}
.lead-radar-lockup strong span {
  color: var(--value-gold);
}
.lead-radar-lockup small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}
.lead-radar-lockup b {
  color: var(--text);
}
.lead-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.client-plan-badge {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid rgba(255, 215, 110, 0.28);
  border-radius: 999px;
  color: #ffe079;
  background:
    linear-gradient(135deg, rgba(255, 215, 110, 0.12), rgba(108, 228, 207, 0.055)),
    rgba(0,0,0,0.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.client-avatar {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.015)),
    rgba(4, 11, 12, 0.86);
  border: 1px solid rgba(244, 200, 100, 0.34);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  padding: 4px;
}
.client-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.lead-title-row {
  align-items: flex-end;
  margin-top: 22px;
}
.lead-title-row h2 {
  font-size: 34px;
  margin-bottom: 6px;
}
.lead-title-row p {
  color: var(--text);
  margin-bottom: 10px;
}
.lead-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.lead-meta span + span {
  padding-left: 10px;
  border-left: 1px solid rgba(229, 163, 54, 0.35);
}
.lead-health {
  min-width: 178px;
  border: 1px solid rgba(229, 163, 54, 0.32);
  border-radius: 8px;
  padding: 13px;
  background: linear-gradient(180deg, rgba(229, 163, 54, 0.08), rgba(255,255,255,0.02));
}
.lead-health span,
.lead-health em {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}
.lead-health strong {
  display: block;
  color: var(--green);
  font-size: 34px;
  line-height: 1;
  margin: 6px 0;
}
.product-nav {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 10px;
}
.product-nav span.active,
.product-nav button.active {
  color: #061312;
  background: linear-gradient(135deg, var(--action-teal), #9cf2df);
  border-color: rgba(45, 212, 191, 0.85);
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(45, 212, 191, 0.14);
}
.client-value-alert {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin: 16px 0;
  padding: 16px;
  border: 1px solid rgba(45, 212, 191, 0.28);
  border-radius: 14px;
  background:
    radial-gradient(circle at 0% 0%, rgba(45, 212, 191, 0.14), transparent 34%),
    radial-gradient(circle at 88% 10%, rgba(244, 200, 100, 0.13), transparent 35%),
    linear-gradient(180deg, rgba(255,255,255,0.058), rgba(255,255,255,0.018)),
    rgba(4, 13, 14, 0.82);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 20px 55px rgba(0,0,0,0.2);
}
.client-value-alert p {
  margin: 0;
  color: #c8d4cf;
  line-height: 1.55;
}
.client-value-alert strong {
  color: var(--value-gold);
}
.client-value-alert .eyebrow {
  color: var(--action-teal);
  font-weight: 950;
  text-transform: uppercase;
}
.client-value-alert .primary,
.client-value-alert .ghost {
  min-height: 44px;
  border-radius: 12px;
}
.value-alert-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.value-alert-stats em {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(244, 200, 100, 0.2);
  border-radius: 10px;
  color: #aebbb6;
  background: rgba(0,0,0,0.22);
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
}
.value-alert-stats b {
  color: var(--value-gold);
  font-size: 18px;
  line-height: 1;
}
.hot-leads-first {
  scroll-margin-top: 14px;
}
.value-metric strong,
.report-summary b {
  color: var(--value-gold);
}
.product-stats .metric {
  position: relative;
  overflow: hidden;
  min-height: 118px;
  border-color: rgba(255,255,255,0.08);
}
.product-stats .metric::after {
  content: "";
  position: absolute;
  inset: auto 14px 12px 14px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--amber), var(--green));
  opacity: 0.85;
}
.product-stats .metric strong {
  color: var(--text);
}
.product-stats .metric small {
  display: block;
  margin-top: 8px;
}
.demo-value-front {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(280px, 1fr) minmax(280px, 1fr);
  gap: 14px;
  align-items: stretch;
  border: 1px solid rgba(45, 212, 191, 0.24);
  border-radius: 12px;
  padding: 16px;
  background:
    radial-gradient(circle at 12% 12%, rgba(45, 212, 191, 0.16), transparent 32%),
    radial-gradient(circle at 88% 8%, rgba(244, 200, 100, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,0.052), rgba(255,255,255,0.012)),
    rgba(5, 15, 16, 0.76);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 24px 60px rgba(0,0,0,0.24);
}
.demo-value-copy {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding: 4px 0;
}
.demo-value-copy h2 {
  margin: 0;
  max-width: 430px;
  color: #fff7e8;
  font-size: clamp(24px, 2.3vw, 36px);
  line-height: 1.05;
}
.demo-value-copy p:not(.eyebrow) {
  margin: 0;
  max-width: 520px;
  color: #c7d3ce;
  line-height: 1.55;
}
.demo-value-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 4px;
}
.demo-value-metrics span {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(111, 182, 214, 0.18);
  border-radius: 10px;
  color: #aebbb6;
  background: rgba(0,0,0,0.2);
  font-size: 11px;
}
.demo-value-metrics b {
  color: var(--value-gold);
  font-size: 18px;
}
.demo-lead-stack {
  display: grid;
  gap: 9px;
  min-width: 0;
}
.demo-stack-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  min-height: 28px;
}
.demo-stack-head strong {
  color: #fff7e8;
  font-size: 15px;
}
.demo-stack-head span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 900;
}
.money-move-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(45, 212, 191, 0.22);
  border-radius: 10px;
  background:
    linear-gradient(120deg, rgba(45, 212, 191, 0.09), transparent 36%),
    rgba(7, 14, 15, 0.72);
}
.money-move-card.watch {
  border-color: rgba(244, 200, 100, 0.22);
  background:
    linear-gradient(120deg, rgba(244, 200, 100, 0.1), transparent 38%),
    rgba(7, 14, 15, 0.72);
}
.money-move-main {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 4px 9px;
  align-items: center;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.money-move-main span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: #111711;
  background: linear-gradient(135deg, var(--value-gold), #eaf08a);
  font-weight: 950;
}
.money-move-main strong {
  overflow: hidden;
  color: #fff7e8;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.money-move-main small {
  overflow: hidden;
  color: #aebbb6;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.money-move-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.money-move-proof em,
.money-move-proof b {
  border: 1px solid rgba(111, 182, 214, 0.22);
  border-radius: 999px;
  padding: 5px 8px;
  color: #d9e4df;
  background: rgba(0,0,0,0.18);
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
}
.money-move-proof b {
  color: var(--value-gold);
  border-color: rgba(244, 200, 100, 0.34);
}
.money-move-card p {
  margin: 0;
  min-height: 34px;
  color: #c7d3ce;
  line-height: 1.45;
  font-size: 12px;
}
.money-move-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
}
.money-move-actions .contact-actions.money {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.money-move-actions .contact-actions.money .call-button,
.money-move-actions .contact-actions.money .email-button {
  min-height: 34px;
}
.money-move-actions .call-button,
.money-move-actions .email-button,
.money-move-actions .tool-button {
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 9px;
}
.premium-segments .segment-card {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px 12px;
  align-items: center;
  min-height: 126px;
  background:
    radial-gradient(circle at 80% 0%, rgba(120, 181, 109, 0.1), transparent 32%),
    linear-gradient(180deg, #141c1f, #101719);
}
.premium-segments .segment-card h3,
.premium-segments .segment-card p {
  margin: 0;
}
.premium-segments .segment-card p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}
.premium-segments .segment-card strong {
  grid-column: 1 / -1;
  justify-self: start;
  color: var(--green);
}
.premium-segments .segment-card em {
  grid-column: 1 / -1;
  justify-self: start;
  border-radius: 6px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  font-size: 12px;
}
.badge.medium,
.premium-segments .segment-card em.medium {
  color: #ffc44d;
  border-color: rgba(229, 163, 54, 0.48);
  background: rgba(229, 163, 54, 0.1);
}
.badge.low,
.premium-segments .segment-card em.low {
  color: #ff9a8e;
  border-color: rgba(214, 111, 95, 0.55);
  background: rgba(214, 111, 95, 0.1);
}
.lead-radar-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(330px, 0.8fr);
  gap: 16px;
  align-items: start;
}
.lead-radar-grid > *,
.client-insight-grid > * {
  min-width: 0;
}
.section-head {
  align-items: center;
  margin-bottom: 14px;
}
.section-head h2 {
  margin: 3px 0 0;
}
.pipeline-process-card {
  margin: 16px 0;
  border-color: rgba(111, 182, 214, 0.22);
}
.pipeline-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.pipeline-process article {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(111, 182, 214, 0.18);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(111, 182, 214, 0.055), rgba(255,255,255,0.015));
}
.pipeline-process b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: #17110a;
  background: linear-gradient(135deg, var(--amber), #f6d675);
  box-shadow: 0 0 20px rgba(229, 163, 54, 0.18);
}
.pipeline-process strong {
  color: var(--text);
}
.pipeline-process span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.pipeline-process em {
  width: fit-content;
  font-style: normal;
  color: #dfffd9;
  border: 1px solid rgba(120, 181, 109, 0.34);
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(120, 181, 109, 0.09);
  font-size: 11px;
  font-weight: 800;
}
.lead-intelligence-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(180px, 0.75fr) minmax(170px, 0.55fr);
  gap: 12px;
  align-items: stretch;
  margin: 16px 0;
}
.lead-intelligence-card,
.lead-intelligence-metrics,
.source-mix {
  border: 1px solid rgba(111, 182, 214, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(111, 182, 214, 0.065), rgba(229, 163, 54, 0.04)),
    rgba(255,255,255,0.018);
  padding: 14px;
  min-width: 0;
}
.lead-intelligence-card h2 {
  margin: 2px 0 8px;
  font-size: 18px;
}
.lead-intelligence-card p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}
.lead-intelligence-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.lead-intelligence-metrics div {
  display: grid;
  gap: 4px;
  align-content: center;
  padding: 9px;
  border-radius: 8px;
  background: rgba(0,0,0,0.17);
}
.lead-intelligence-metrics strong {
  color: var(--amber);
  font-size: 24px;
}
.lead-intelligence-metrics span,
.source-mix span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}
.source-mix {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-content: start;
}
.source-mix strong {
  width: 100%;
  color: var(--text);
  font-size: 13px;
}
.source-mix span {
  border: 1px solid rgba(229, 163, 54, 0.24);
  border-radius: 999px;
  padding: 6px 8px;
  background: rgba(229, 163, 54, 0.06);
  min-width: 0;
  overflow-wrap: anywhere;
}
.source-mix b {
  color: var(--amber);
  margin-left: 4px;
}
.lead-process-map {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}
.lead-process-map article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 3px 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(111, 182, 214, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(111, 182, 214, 0.055), rgba(229, 163, 54, 0.04)),
    rgba(0,0,0,0.16);
}
.lead-process-map em {
  grid-row: span 3;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(229, 163, 54, 0.44);
  border-radius: 999px;
  color: var(--amber);
  background: rgba(229, 163, 54, 0.1);
  font-style: normal;
  font-weight: 900;
}
.lead-process-map span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}
.lead-process-map strong {
  color: var(--text);
  font-size: 14px;
}
.lead-process-map small {
  color: var(--muted);
  line-height: 1.35;
}
.lead-quality-spotlight {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}
.lead-quality-spotlight article {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(229, 163, 54, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(229, 163, 54, 0.09), rgba(111, 182, 214, 0.04)),
    rgba(255,255,255,0.018);
}
.lead-quality-spotlight strong {
  color: var(--text);
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lead-quality-spotlight p {
  min-height: 34px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}
.spotlight-rank {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.spotlight-rank span {
  color: var(--amber);
  font-weight: 900;
}
.spotlight-rank em {
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}
.spotlight-rank em.high {
  color: #dfffd9;
  border: 1px solid rgba(120, 181, 109, 0.36);
  background: rgba(120, 181, 109, 0.11);
}
.spotlight-rank em.medium {
  color: #ffd27a;
  border: 1px solid rgba(229, 163, 54, 0.38);
  background: rgba(229, 163, 54, 0.12);
}
.spotlight-rank em.low {
  color: #ffb3a7;
  border: 1px solid rgba(214, 111, 95, 0.36);
  background: rgba(214, 111, 95, 0.09);
}
.spotlight-factors {
  display: grid;
  gap: 6px;
}
.spotlight-factors span {
  display: grid;
  gap: 2px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
}
.spotlight-factors b {
  color: var(--text);
  font-size: 10px;
  text-transform: uppercase;
}
.opportunity-board,
.featured-premium,
.outreach-card,
.cadence-card,
.next-steps-card,
.signal-card,
.prospect-list-card,
.opportunity-detail-card,
.reports-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.025), transparent),
    var(--panel);
}
.rich-table {
  container-type: inline-size;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: visible;
}
.table-head,
.rich-table .opportunity-row {
  display: grid;
  grid-template-columns: 44px minmax(150px, 1.28fr) minmax(102px, 0.62fr) minmax(116px, 0.72fr) minmax(76px, 0.42fr) minmax(74px, 0.4fr) minmax(188px, 0.72fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  min-width: 0;
}
.table-head {
  padding: 10px 12px;
  background: #0d1315;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}
.rich-table .opportunity-row {
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255,255,255,0.018);
}
.rich-table .opportunity-row:hover {
  background: rgba(229, 163, 54, 0.055);
}
.hot-lead-row {
  transition: background 0.16s ease, border-color 0.16s ease;
}
.row-lead-open {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 0;
  border: 0;
  color: var(--text);
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.row-lead-open b {
  overflow: hidden;
  color: var(--text);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.row-lead-open:hover b {
  color: var(--value-gold);
}
.opportunity-row small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 360px;
  margin-top: 3px;
}
.opportunity-row .lead-source-stack b {
  display: block;
  color: var(--text);
  font-size: 12px;
}
.hot-lead-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  align-items: center;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.hot-lead-actions .contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}
.hot-lead-actions .tool-button,
.hot-lead-actions .call-button,
.hot-lead-actions .email-button {
  min-width: 0;
  max-width: 100%;
  width: 100%;
  min-height: 36px;
  padding-inline: 8px;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  box-sizing: border-box;
}
@container (max-width: 1180px) {
  .table-head,
  .rich-table .opportunity-row {
    grid-template-columns: 42px minmax(136px, 1.16fr) minmax(88px, 0.62fr) minmax(104px, 0.68fr) minmax(70px, 0.42fr) minmax(70px, 0.42fr) minmax(178px, 0.72fr);
    gap: 8px;
  }
  .hot-lead-actions {
    gap: 6px;
  }
  .hot-lead-actions .tool-button,
  .hot-lead-actions .call-button,
  .hot-lead-actions .email-button {
    min-height: 35px;
    padding-inline: 7px;
  }
}
@container (max-width: 1040px) {
  .table-head,
  .rich-table .opportunity-row {
    grid-template-columns: 40px minmax(132px, 1.06fr) minmax(92px, 0.64fr) minmax(104px, 0.68fr) minmax(68px, 0.4fr) minmax(68px, 0.4fr) minmax(166px, 0.68fr);
  }
}
@container (max-width: 940px) {
  .table-head {
    display: none;
  }
  .rich-table .opportunity-row {
    grid-template-columns: 38px minmax(0, 1fr) minmax(74px, auto);
    grid-template-rows: auto auto auto auto;
    gap: 8px 12px;
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
  }
  .rich-table .opportunity-row + .opportunity-row {
    border-top: 1px solid var(--line);
  }
  .rich-table .opportunity-row > strong {
    grid-column: 1;
    grid-row: 1 / span 2;
  }
  .rich-table .row-lead-open {
    grid-column: 2;
    grid-row: 1;
  }
  .rich-table .opportunity-row > span:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
  }
  .rich-table .opportunity-row > span:nth-child(4) {
    grid-column: 2 / -1;
    grid-row: 3;
  }
  .rich-table .opportunity-row > span:nth-child(5) {
    grid-column: 3;
    grid-row: 2;
    justify-self: end;
    white-space: nowrap;
  }
  .rich-table .opportunity-row > em {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }
  .rich-table .hot-lead-actions {
    grid-column: 2 / -1;
    grid-row: 4;
    grid-template-columns: repeat(3, minmax(64px, 1fr));
  }
  .rich-table .opportunity-row small {
    max-width: 100%;
  }
}
.opportunity-row em.high,
.opportunity-row em.medium,
.opportunity-row em.low {
  display: grid;
  gap: 2px;
  justify-self: start;
  min-width: 64px;
  border-radius: 6px;
  padding: 5px 8px;
  border: 1px solid rgba(120, 181, 109, 0.45);
  background: rgba(120, 181, 109, 0.1);
  color: var(--green);
}
.opportunity-row em small {
  display: block;
  max-width: 84px;
  color: inherit;
  opacity: 0.78;
  font-size: 9px;
  line-height: 1.1;
  white-space: normal;
}
.opportunity-row em.medium {
  border-color: rgba(229, 163, 54, 0.45);
  background: rgba(229, 163, 54, 0.1);
  color: #ffc44d;
}
.opportunity-row em.low {
  border-color: rgba(214, 111, 95, 0.55);
  background: rgba(214, 111, 95, 0.1);
  color: #ff9a8e;
}
.featured-premium {
  border-color: rgba(229, 163, 54, 0.42);
}
.featured-title h2 {
  margin-bottom: 4px;
}
.lead-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
}
.featured-next-step {
  color: #d9e3de;
  line-height: 1.58;
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.contact-actions.compact {
  margin: 0;
}
.call-button,
.email-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(45, 212, 191, 0.48);
  border-radius: 9px;
  padding: 9px 14px;
  color: #d8fffb;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.095), rgba(255,255,255,0.012)),
    linear-gradient(135deg, rgba(45, 212, 191, 0.18), rgba(45, 212, 191, 0.06));
  text-decoration: none;
  font-weight: 900;
  font-size: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  transition: transform 0.16s ease, filter 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.email-button {
  border-color: rgba(244, 200, 100, 0.5);
  color: #ffe1ad;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.095), rgba(255,255,255,0.012)),
    linear-gradient(135deg, rgba(244, 200, 100, 0.2), rgba(244, 200, 100, 0.06));
}
.call-button:not(.disabled):hover,
.email-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}
.call-button.disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.prospect-list-card,
.opportunity-detail-card {
  margin-top: 16px;
}
.prospect-list {
  display: grid;
  gap: 10px;
}
.client-page-content {
  display: grid;
  gap: 16px;
}
.client-page-shell {
  display: grid;
  gap: 16px;
}
.page-title-row {
  padding: 14px 16px;
  border: 1px solid rgba(111, 182, 214, 0.16);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012)),
    rgba(7, 14, 15, 0.58);
}
.prospect-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255,255,255,0.02);
}
.prospect-card:hover {
  border-color: rgba(229, 163, 54, 0.55);
}
.refined-lead-list {
  gap: 12px;
}
.refined-prospect-card {
  grid-template-columns: minmax(0, 1fr) 248px;
  gap: 18px;
  align-items: stretch;
  padding: 16px;
  border-color: rgba(111, 182, 214, 0.16);
  background:
    linear-gradient(90deg, rgba(45, 212, 191, 0.045), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.032), rgba(255,255,255,0.01)),
    rgba(7, 14, 15, 0.72);
}
.refined-prospect-card:hover {
  border-color: rgba(45, 212, 191, 0.38);
  background:
    linear-gradient(90deg, rgba(45, 212, 191, 0.075), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,0.042), rgba(255,255,255,0.014)),
    rgba(8, 16, 17, 0.84);
}
.prospect-main {
  display: grid;
  grid-template-columns: 58px minmax(210px, 1.05fr) minmax(260px, 1.3fr) minmax(108px, 0.5fr);
  gap: 18px;
  align-items: center;
  text-align: left;
  padding: 0;
  background: transparent;
  border: 0;
}
.prospect-main span {
  min-width: 0;
}
.prospect-main strong,
.prospect-main small,
.prospect-main em {
  display: block;
}
.prospect-identity strong {
  color: #fff7e8;
  font-size: 16px;
  line-height: 1.25;
}
.prospect-identity small {
  color: #abb8b4;
}
.prospect-reason {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.prospect-reason b {
  color: var(--action-teal);
  font-size: 12px;
}
.prospect-reason small {
  max-width: 520px;
  color: #c2cdc8;
  line-height: 1.45;
  white-space: normal;
}
.prospect-value {
  display: grid;
  gap: 4px;
  justify-items: start;
  min-width: 0;
}
.prospect-value b {
  color: var(--value-gold);
  font-size: 17px;
}
.prospect-value small {
  max-width: 145px;
  color: #a9b5b1;
  text-align: left;
  line-height: 1.35;
  white-space: normal;
}
.prospect-main small,
.prospect-main em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  margin-top: 4px;
}
.prospect-score {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  border: 1px solid rgba(120, 181, 109, 0.45);
  color: var(--green);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.012)),
    rgba(120, 181, 109, 0.1);
  font-weight: 900;
  line-height: 1;
}
.prospect-score small {
  color: inherit;
  opacity: 0.72;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  margin: -4px 0 0;
}
.prospect-score.medium {
  color: #ffc44d;
  border-color: rgba(229, 163, 54, 0.45);
  background: rgba(229, 163, 54, 0.1);
}
.prospect-score.low {
  color: #ff9a8e;
  border-color: rgba(214, 111, 95, 0.55);
  background: rgba(214, 111, 95, 0.1);
}
.prospect-action-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  align-content: center;
  min-width: 0;
  padding-left: 18px;
  border-left: 1px solid rgba(111, 182, 214, 0.16);
}
.contact-actions.lead-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.contact-actions.lead-list > * {
  justify-content: center;
  text-align: center;
}
.open-profile-button {
  min-height: 36px;
  border: 1px solid rgba(111, 182, 214, 0.28);
  border-radius: 10px;
  color: #d8e4df;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.052), rgba(255,255,255,0.01)),
    rgba(111, 182, 214, 0.045);
  font-size: 12px;
  font-weight: 900;
}
.lead-quick-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  padding: 0;
  border-top: 0;
}
.lead-quick-actions button {
  min-height: 36px;
  border: 1px solid rgba(111, 182, 214, 0.22);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.052), rgba(255,255,255,0.01)),
    rgba(255, 255, 255, 0.026);
  color: #d8e4df;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}
.lead-quick-actions button:hover {
  border-color: rgba(45, 212, 191, 0.46);
}
.lead-quick-actions .callback {
  border-color: rgba(111, 182, 214, 0.34);
  color: #d8f2ff;
  background:
    linear-gradient(180deg, rgba(111, 182, 214, 0.12), rgba(111, 182, 214, 0.02)),
    rgba(111, 182, 214, 0.05);
}
.lead-quick-actions .lost {
  border-color: rgba(255, 154, 142, 0.34);
  color: #ffd5d0;
  background:
    linear-gradient(180deg, rgba(255, 154, 142, 0.105), rgba(255, 154, 142, 0.015)),
    rgba(255, 154, 142, 0.035);
}
.lead-quick-actions .win {
  color: #0b1412;
  border-color: rgba(244, 200, 100, 0.78);
  background: linear-gradient(135deg, var(--value-gold), #e9f08a);
}
.opportunity-lanes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}
.opportunity-lane {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255,255,255,0.02);
}

.opportunity-lane.lane-ready {
  border-color: rgba(45, 212, 191, 0.34);
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.07), rgba(255,255,255,0.018));
}

.opportunity-lane.lane-research {
  border-color: rgba(136, 210, 230, 0.28);
}

.opportunity-lane.lane-working {
  border-color: rgba(244, 200, 100, 0.38);
  background: linear-gradient(180deg, rgba(244, 200, 100, 0.07), rgba(255,255,255,0.018));
}

.opportunity-lane.lane-callback {
  border-color: rgba(175, 151, 255, 0.3);
  background: linear-gradient(180deg, rgba(175, 151, 255, 0.055), rgba(255,255,255,0.016));
}

.opportunity-lane.lane-closed {
  border-color: rgba(255, 154, 142, 0.24);
}
.opportunity-lane > strong,
.opportunity-lane > span {
  display: block;
}
.opportunity-lane > span {
  color: var(--muted);
  font-size: 12px;
  margin: 4px 0 10px;
}
.opportunity-lane button,
.pipeline-lead-card {
  width: 100%;
  display: grid;
  text-align: left;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px;
  background: rgba(0,0,0,0.16);
}
.pipeline-lead-card {
  gap: 4px;
  color: var(--text);
}
.pipeline-lead-card span {
  width: fit-content;
  padding: 3px 7px;
  border-radius: 999px;
  color: #cfe5df;
  background: rgba(111, 182, 214, 0.12);
  font-size: 10px;
  font-weight: 900;
}
.pipeline-lead-card b,
.pipeline-lead-card small,
.pipeline-lead-card em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pipeline-lead-card small {
  color: var(--muted);
}
.pipeline-lead-card em {
  color: var(--amber);
  font-style: normal;
  font-weight: 850;
}
.pipeline-lead-card.status-in_progress,
.pipeline-lead-card.status-contacted,
.pipeline-lead-card.status-quoted {
  border-color: rgba(244, 200, 100, 0.32);
  background: rgba(244, 200, 100, 0.055);
}
.pipeline-lead-card.status-callback_later {
  border-color: rgba(175, 151, 255, 0.32);
  background: rgba(175, 151, 255, 0.055);
}
.pipeline-lead-card.status-won {
  border-color: rgba(120, 221, 139, 0.34);
  background: rgba(120, 221, 139, 0.075);
}
.pipeline-lead-card.status-lost,
.pipeline-lead-card.status-disqualified {
  border-color: rgba(255, 154, 142, 0.26);
  background: rgba(255, 154, 142, 0.045);
}
.opportunity-lane b,
.opportunity-lane small {
  display: block;
}
.opportunity-lane small {
  color: var(--muted);
  margin-top: 4px;
}
.report-actions,
.report-summary,
.email-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.report-summary {
  margin-top: 14px;
}
.report-summary span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  color: var(--muted);
  background: rgba(255,255,255,0.02);
}
.report-summary b {
  display: block;
  color: var(--text);
  font-size: 18px;
}
.email-copy-box {
  min-height: 260px;
  line-height: 1.5;
}
.email-composer {
  display: grid;
  gap: 18px;
  margin-top: 2px;
  padding: 26px;
  border: 1px solid rgba(111, 182, 214, 0.24);
  border-radius: 18px;
  background:
    radial-gradient(circle at 92% 2%, rgba(111, 182, 214, 0.16), transparent 31%),
    radial-gradient(circle at 0% 100%, rgba(229, 163, 54, 0.11), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.018)),
    rgba(5, 13, 14, 0.78);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.09), 0 34px 95px rgba(0,0,0,0.32);
}
.email-composer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 56px 16px 0;
  border-bottom: 1px solid rgba(111, 182, 214, 0.18);
}
.email-composer .eyebrow {
  margin: 0 0 9px;
  color: var(--amber);
  letter-spacing: 0;
  text-transform: uppercase;
  font-weight: 900;
}
.email-composer h2 {
  margin: 0;
  max-width: 520px;
  line-height: 1.12;
  font-size: clamp(24px, 2.4vw, 34px);
  letter-spacing: 0;
}
.email-composer-subtitle {
  margin: 12px 0 0;
  max-width: 610px;
  color: #becac6;
  font-size: 14px;
  line-height: 1.55;
}
.email-composer .muted {
  margin: 0;
  max-width: 640px;
  line-height: 1.6;
  color: #bfccc7;
}
.email-composer-note {
  padding: 0 2px;
}
.email-editor-shell {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(111, 182, 214, 0.2);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.012)),
    rgba(0,0,0,0.24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.email-composer label {
  display: grid;
  gap: 10px;
  color: rgba(244, 240, 232, 0.9);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}
.email-score-badge {
  display: grid;
  gap: 4px;
  min-width: 156px;
  padding: 14px 16px;
  border: 1px solid rgba(229, 163, 54, 0.32);
  border-radius: 13px;
  background:
    linear-gradient(145deg, rgba(229, 163, 54, 0.16), rgba(111, 182, 214, 0.07)),
    rgba(255,255,255,0.025);
  text-align: right;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 14px 38px rgba(0,0,0,0.14);
}
.email-score-badge span {
  color: #c1cbc7;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}
.email-score-badge strong {
  color: var(--amber);
  font-size: 24px;
  line-height: 1;
}
.email-field,
.email-copy-box {
  width: 100%;
  border: 1px solid rgba(111, 182, 214, 0.32);
  border-radius: 12px;
  color: #f7fbf8;
  background:
    radial-gradient(circle at 14% 0%, rgba(111, 182, 214, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,0.058), rgba(255,255,255,0.012)),
    #071011;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 16px 34px rgba(0,0,0,0.18);
}
.email-field {
  min-height: 46px;
  padding: 0 15px;
  font-size: 14px;
}
.email-field:focus,
.email-copy-box:focus {
  outline: none;
  border-color: rgba(229, 163, 54, 0.8);
  box-shadow: 0 0 0 3px rgba(229, 163, 54, 0.16), inset 0 1px 0 rgba(255,255,255,0.06);
}
.email-copy-box {
  min-height: 255px;
  padding: 18px 20px;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.66;
  resize: vertical;
}
.email-actions-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
  gap: 12px;
  align-items: stretch;
  margin-top: 14px;
  padding: 16px 2px 0;
  border-top: 1px solid rgba(111, 182, 214, 0.16);
}
.email-actions-stack > * {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 13px;
}
.email-copy-action {
  position: relative;
  overflow: hidden;
  border-color: rgba(245, 190, 85, 0.98);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.42), rgba(255,255,255,0.03) 45%),
    linear-gradient(135deg, #f4c864 0%, #e5a336 48%, #8bd4e8 100%);
  color: #120f08;
  font-weight: 950;
  letter-spacing: 0;
  box-shadow: 0 14px 34px rgba(229, 163, 54, 0.2), inset 0 1px 0 rgba(255,255,255,0.55);
  transition: transform 0.16s ease, filter 0.16s ease, box-shadow 0.16s ease;
}
.email-copy-action span {
  position: relative;
  z-index: 1;
}
.email-copy-action::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 28%, rgba(255,255,255,0.38) 42%, transparent 56% 100%);
  transform: translateX(-120%);
  transition: transform 0.45s ease;
}
.email-copy-action::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.24);
  pointer-events: none;
}
.email-copy-action:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow: 0 20px 44px rgba(229, 163, 54, 0.28), inset 0 1px 0 rgba(255,255,255,0.58);
}
.email-copy-action:hover::before {
  transform: translateX(120%);
}
.email-actions-stack .ghost,
.email-actions-stack .button-link {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.068), rgba(255,255,255,0.016)),
    rgba(111, 182, 214, 0.035);
  border-color: rgba(111, 182, 214, 0.3);
  color: #d9e1dd;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.email-secondary-action::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 12px rgba(111, 182, 214, 0.65);
}
.email-actions-stack .ghost:hover,
.email-actions-stack .button-link:hover {
  border-color: rgba(111, 182, 214, 0.62);
  background: rgba(111, 182, 214, 0.08);
  transform: translateY(-1px);
}
.feature-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0;
}
.feature-metrics div,
.score-grid span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255,255,255,0.02);
}
.feature-metrics strong {
  display: block;
  color: var(--amber);
  margin-top: 5px;
}
.lead-explain-mini {
  display: grid;
  gap: 6px;
  margin: 12px 0;
  padding: 12px;
  border: 1px solid rgba(229, 163, 54, 0.24);
  border-radius: 8px;
  background: rgba(229, 163, 54, 0.055);
}
.lead-explain-mini strong {
  color: var(--amber);
}
.lead-explain-mini span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.score-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}
.score-grid b {
  display: block;
  color: var(--green);
  margin-top: 5px;
}
.client-insight-grid {
  margin-top: 16px;
}
.rich-evidence {
  margin: 0;
}
.rich-evidence .evidence-item {
  display: grid;
  grid-template-columns: minmax(120px, 0.7fr) minmax(0, 1fr) 74px;
  gap: 10px;
  align-items: center;
}
.rich-evidence .evidence-item span {
  color: var(--muted);
  font-size: 12px;
}
.rich-evidence .evidence-item em {
  justify-self: end;
  color: var(--green);
  font-style: normal;
  font-weight: 800;
}
.message-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.message-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255,255,255,0.02);
}
.message-grid strong {
  display: block;
  color: var(--amber);
  margin-bottom: 8px;
}
.message-grid p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.cadence-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  align-items: start;
  overflow: hidden;
}
.cadence-step {
  position: relative;
  display: grid;
  place-items: center;
  gap: 6px;
  text-align: center;
  color: var(--muted);
  min-width: 0;
}
.cadence-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18px;
  left: calc(50% + 22px);
  right: calc(-50% + 22px);
  border-top: 1px dashed rgba(229, 163, 54, 0.45);
}
.cadence-step span,
.next-steps b {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  color: #17110a;
  background: var(--amber);
  font-weight: 900;
  z-index: 1;
}
.cadence-step.active span {
  box-shadow: 0 0 0 6px rgba(229, 163, 54, 0.11);
}
.cadence-step strong {
  color: var(--text);
}
.cadence-step em {
  font-style: normal;
  font-size: 12px;
}
.next-steps-card {
  grid-column: 1 / -1;
  border-color: rgba(229, 163, 54, 0.38);
}
.next-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.next-steps span {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}
.client-action-plan {
  display: grid;
  gap: 14px;
}
.action-plan-hero {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid rgba(244, 200, 100, 0.26);
  border-radius: 14px;
  background:
    radial-gradient(circle at 8% 0%, rgba(244, 200, 100, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(28, 40, 37, 0.9), rgba(7, 14, 15, 0.96));
}
.action-plan-hero h2 {
  max-width: 780px;
  margin: 0;
  color: #fff7e8;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.08;
}
.action-plan-hero p {
  max-width: 760px;
  margin: 0;
  color: #cbd6d2;
  line-height: 1.55;
}
.action-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.action-plan-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(111, 182, 214, 0.2);
  border-radius: 14px;
  background: rgba(255,255,255,0.018);
}
.action-plan-card.primary {
  border-color: rgba(45, 212, 191, 0.3);
  background:
    linear-gradient(135deg, rgba(45, 212, 191, 0.08), rgba(244, 200, 100, 0.035)),
    rgba(255,255,255,0.02);
}
.action-plan-card h3 {
  margin: 0;
  color: #fff7e8;
}
.action-lead-list {
  display: grid;
  gap: 10px;
}
.action-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
  padding: 10px;
  border: 1px solid rgba(111, 182, 214, 0.18);
  border-radius: 12px;
  background: rgba(8, 17, 18, 0.74);
}
.action-lead.call {
  border-color: rgba(45, 212, 191, 0.25);
}
.action-lead-main {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 4px 10px;
  align-items: center;
  min-width: 0;
  padding: 0;
  border: 0;
  color: inherit;
  text-align: left;
  background: transparent;
}
.action-lead-main span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: #17110a;
  background: var(--value-gold);
  font-weight: 950;
}
.action-lead-main strong {
  min-width: 0;
  overflow: hidden;
  color: #fff7e8;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.action-lead-main small,
.action-lead-detail p {
  color: #bfcac5;
  line-height: 1.35;
}
.action-lead-detail {
  display: grid;
  align-content: center;
  gap: 5px;
  min-width: 0;
}
.action-lead-detail em {
  color: var(--amber);
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}
.action-lead-detail p {
  margin: 0;
  font-size: 12px;
}
.action-lead-buttons {
  display: grid;
  grid-auto-flow: column;
  gap: 7px;
  align-items: center;
}
.action-lead-buttons .contact-actions.action {
  display: grid;
  grid-template-columns: repeat(2, minmax(64px, 1fr));
  gap: 7px;
}
.action-rhythm {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.action-rhythm article {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 4px 10px;
  align-items: center;
  padding: 13px;
  border: 1px solid rgba(244, 200, 100, 0.18);
  border-radius: 12px;
  background: rgba(255,255,255,0.016);
}
.action-rhythm b {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #17110a;
  background: var(--amber);
}
.action-rhythm strong {
  color: #fff7e8;
}
.action-rhythm span {
  color: #bfcac5;
  font-size: 12px;
  line-height: 1.35;
}
.pipeline-help {
  margin: 16px 0 0;
  border: 1px solid rgba(111, 182, 214, 0.18);
  border-radius: 12px;
  background: rgba(255,255,255,0.018);
  overflow: hidden;
}
.pipeline-help summary {
  cursor: pointer;
  padding: 14px 16px;
  color: #d5dfdb;
  font-weight: 900;
}
.pipeline-help .pipeline-process-card {
  margin: 0;
  border: 0;
  border-top: 1px solid rgba(111, 182, 214, 0.16);
  border-radius: 0;
}
.atlas-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
  align-items: stretch;
  gap: 18px;
  margin-bottom: 18px;
  border-color: rgba(229, 163, 54, 0.24);
  background:
    radial-gradient(circle at 16% 0%, rgba(229, 163, 54, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(24, 36, 34, 0.92), rgba(8, 14, 15, 0.96));
}

.atlas-hero h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 42px);
}

.atlas-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.atlas-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.segment-pack-card {
  display: grid;
  gap: 14px;
  overflow: hidden;
  border-color: rgba(113, 245, 214, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    rgba(10, 18, 19, 0.94);
}

.segment-pack-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.segment-pack-head h3 {
  margin: 2px 0 0;
  font-size: 20px;
}

.rank-pill {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 34px;
  border: 1px solid rgba(229, 163, 54, 0.5);
  border-radius: 10px;
  color: #f7c35f;
  background: rgba(229, 163, 54, 0.09);
  font-weight: 800;
}

.atlas-score {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  color: #071010;
  background: linear-gradient(135deg, #f0ad33, #7cf2d6);
  box-shadow: 0 14px 34px rgba(229, 163, 54, 0.16);
  font-size: 22px;
}

.atlas-score-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.atlas-score-row span {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  font-size: 12px;
}

.atlas-score-row b {
  float: right;
  color: var(--text);
}

.compact-badges {
  gap: 6px;
}

.atlas-data-list {
  display: grid;
  gap: 8px;
}

.atlas-data-list .evidence-item {
  padding: 10px 12px;
}

.segment-pack-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 980px) {
  .atlas-hero,
  .atlas-grid {
    grid-template-columns: 1fr;
  }
  .atlas-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1280px) {
  .lead-radar-grid,
  .client-insight-grid,
  .demo-value-front,
  .lead-intelligence-summary {
    grid-template-columns: 1fr;
  }
  .lead-quality-spotlight {
    grid-template-columns: 1fr;
  }
  .lead-process-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .message-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .source-watch-grid {
    grid-template-columns: 1fr;
  }
  .refined-prospect-card {
    grid-template-columns: minmax(0, 1fr) 282px;
  }
  .prospect-main {
    grid-template-columns: 58px minmax(150px, 0.9fr) minmax(205px, 1.15fr) minmax(96px, 0.45fr);
    gap: 12px;
  }
  .lead-profile-grid,
  .lead-profile-command,
  .lead-profile-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .evidence-list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1120px) {
  .refined-prospect-card {
    grid-template-columns: 1fr;
  }
  .prospect-action-panel {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 12px;
    padding-left: 0;
    border-top: 1px solid rgba(111, 182, 214, 0.16);
    border-left: 0;
  }
}
.mobile-dashboard .lead-brand-row,
.mobile-dashboard .lead-title-row,
.mobile-dashboard .lead-actions,
.mobile-dashboard .section-head,
.mobile-dashboard .featured-title {
  display: grid;
  grid-template-columns: 1fr;
}
.mobile-dashboard .lead-product-header {
  padding-bottom: 12px;
  margin-bottom: 12px;
}
.mobile-dashboard .client-brand-lockup {
  gap: 10px;
}
.mobile-dashboard .client-logo-main {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}
.mobile-dashboard .lead-radar-lockup strong {
  font-size: 20px;
}
.mobile-dashboard .lead-actions {
  grid-template-columns: 1fr 1fr auto;
}
.mobile-dashboard .lead-title-row {
  gap: 12px;
  align-items: start;
}
.mobile-dashboard .lead-title-row h2 {
  font-size: 24px;
}
.mobile-dashboard .lead-health {
  min-width: 0;
}
.mobile-dashboard .product-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.mobile-dashboard .product-stats .metric {
  min-height: 106px;
}
.mobile-dashboard .premium-segments .segment-card {
  min-height: 96px;
  grid-template-columns: 30px minmax(0, 1fr) 58px;
}
.mobile-dashboard .lead-radar-grid,
.mobile-dashboard .client-insight-grid,
.mobile-dashboard .feature-metrics,
.mobile-dashboard .score-grid,
.mobile-dashboard .message-grid,
.mobile-dashboard .demo-value-front,
.mobile-dashboard .next-steps,
.mobile-dashboard .pipeline-process {
  grid-template-columns: 1fr;
}
.mobile-dashboard .demo-value-front {
  padding: 12px;
}
.mobile-dashboard .client-value-alert {
  grid-template-columns: 1fr;
  padding: 12px;
}
.mobile-dashboard .value-alert-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.mobile-dashboard .demo-value-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.mobile-dashboard .money-move-actions {
  grid-template-columns: 1fr;
}
.mobile-dashboard .rich-table {
  border: 0;
  gap: 8px;
  overflow: visible;
}
.mobile-dashboard .table-head {
  display: none;
}
.mobile-dashboard .rich-table .opportunity-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
  padding: 12px;
}
.mobile-dashboard .rich-table .opportunity-row span:nth-child(3),
.mobile-dashboard .rich-table .opportunity-row span:nth-child(4),
.mobile-dashboard .rich-table .opportunity-row span:nth-child(5) {
  display: none;
}
.mobile-dashboard .rich-table .opportunity-row em {
  grid-column: 1 / 2;
  grid-row: 2;
}
.mobile-dashboard .hot-lead-actions {
  grid-column: 2;
  width: 100%;
}
.mobile-dashboard .hot-lead-actions .contact-actions {
  flex: 1 1 100%;
}
.mobile-dashboard .hot-lead-actions .tool-button {
  flex: 1 1 100%;
  min-height: 36px;
}
.mobile-dashboard .opportunity-row small {
  max-width: 230px;
}
.mobile-dashboard .client-value-alert {
  grid-template-columns: 1fr;
  padding: 14px;
}
.mobile-dashboard .lead-quality-spotlight {
  display: none;
}
.mobile-dashboard .lead-intelligence-summary {
  display: none;
}
.mobile-dashboard .pipeline-process-card {
  margin: 12px 0;
}
.mobile-dashboard .rich-evidence .evidence-item {
  grid-template-columns: 1fr 54px;
}
.mobile-dashboard .rich-evidence .evidence-item span {
  grid-column: 1 / -1;
}
.mobile-dashboard .cadence-strip {
  grid-template-columns: repeat(5, minmax(72px, 1fr));
  overflow-x: auto;
  padding-bottom: 4px;
}
.mobile-dashboard .next-steps span {
  grid-template-columns: 36px minmax(0, 1fr);
}
@keyframes winPop {
  0% { opacity: 0; transform: scale(0.78) translateY(20px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes moneyFly {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.4); }
  12% { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) rotate(360deg) scale(1.1); }
}
@keyframes burstFade {
  0%, 72% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes hunterNudge {
  0%, 12%, 100% {
    opacity: 0;
    transform: translateY(8px);
  }
  18%, 34% {
    opacity: 1;
    transform: translateY(0);
  }
  40% {
    opacity: 0;
    transform: translateY(4px);
  }
}
.bar {
  height: 9px;
  border-radius: 999px;
  background: #263336;
  overflow: hidden;
}
.bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--amber), var(--green));
}
.drawer {
  display: none;
  position: fixed;
  inset: 0 0 0 auto;
  width: min(520px, 100vw);
  background:
    radial-gradient(circle at 14% 4%, rgba(229, 163, 54, 0.11), transparent 34%),
    linear-gradient(180deg, rgba(16, 23, 24, 0.94), rgba(11, 17, 18, 0.98));
  border-left: 1px solid var(--line);
  padding: 28px;
  box-shadow: var(--shadow);
  overflow: auto;
  z-index: 10;
  backdrop-filter: blur(22px);
}
.drawer:has(.email-composer) {
  width: min(900px, 100vw);
  padding: 28px 36px 32px;
  background:
    radial-gradient(circle at 11% 1%, rgba(229, 163, 54, 0.18), transparent 28%),
    radial-gradient(circle at 92% 14%, rgba(111, 182, 214, 0.13), transparent 30%),
    linear-gradient(180deg, #11191a, #091011);
}
.drawer:has(.lead-profile) {
  width: min(980px, calc(100vw - 22px));
  padding: 34px 40px 40px;
  background:
    radial-gradient(circle at 12% 0%, rgba(244, 200, 100, 0.16), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(45, 212, 191, 0.11), transparent 30%),
    linear-gradient(180deg, #11191a, #080d0e);
}
.drawer.open { display: block; }
.close {
  position: sticky;
  top: 0;
  float: right;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(111, 182, 214, 0.26);
  background: rgba(17, 23, 25, 0.86);
  color: var(--text);
  cursor: pointer;
  z-index: 2;
  backdrop-filter: blur(10px);
}
.close:hover {
  border-color: rgba(229, 163, 54, 0.55);
  color: var(--amber);
}
.evidence {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}
.evidence-item {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.lead-profile {
  display: grid;
  gap: 18px;
}
.lead-profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 22px;
  align-items: start;
  padding: 20px;
  border: 1px solid rgba(244, 200, 100, 0.28);
  border-radius: 14px;
  background:
    linear-gradient(120deg, rgba(244, 200, 100, 0.11), transparent 44%),
    rgba(255,255,255,0.02);
}
.lead-profile-hero h2 {
  margin-bottom: 8px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
}
.lead-profile-hero p {
  margin: 0;
  max-width: 760px;
  color: #d6e1dc;
  line-height: 1.55;
}
.lead-profile-score {
  display: grid;
  place-items: center;
  min-height: 118px;
  border: 1px solid rgba(120, 181, 109, 0.42);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 0%, rgba(120, 181, 109, 0.18), transparent 52%),
    rgba(120, 181, 109, 0.06);
  color: var(--green);
}
.lead-profile-score span,
.lead-profile-score small {
  color: inherit;
  opacity: 0.82;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.lead-profile-score strong {
  font-size: 42px;
  line-height: 0.95;
}
.lead-profile-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(4, 108px);
  gap: 10px;
  align-items: stretch;
}
.lead-profile-actions .contact-actions.profile {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.lead-profile-actions .call-button,
.lead-profile-actions .email-button,
.lead-profile-open {
  min-height: 46px;
  border-radius: 10px;
  font-size: 13px;
}
.lead-profile-command {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}
.lead-profile-command article {
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
  padding: 14px 15px;
  border: 1px solid rgba(244, 200, 100, 0.24);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(244, 200, 100, 0.09), rgba(45, 212, 191, 0.035)),
    rgba(255,255,255,0.018);
}
.lead-profile-command article:first-child {
  border-color: rgba(45, 212, 191, 0.34);
  background:
    linear-gradient(135deg, rgba(45, 212, 191, 0.12), rgba(244, 200, 100, 0.055)),
    rgba(255,255,255,0.02);
}
.lead-profile-command span {
  color: var(--amber);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}
.lead-profile-command strong {
  color: #fff7e8;
  font-size: 14px;
  line-height: 1.38;
}
.lead-profile-open {
  border: 1px solid rgba(111, 182, 214, 0.25);
  color: #dde8e3;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.012)),
    rgba(111, 182, 214, 0.055);
  font-weight: 900;
}
.lead-profile-open.win {
  border-color: rgba(244, 200, 100, 0.72);
  color: #17110a;
  background: linear-gradient(135deg, var(--value-gold), #ecf28a);
}
.lead-profile-open.callback {
  border-color: rgba(111, 182, 214, 0.4);
  color: #dff7ff;
  background:
    linear-gradient(180deg, rgba(111, 182, 214, 0.13), rgba(111, 182, 214, 0.02)),
    rgba(111, 182, 214, 0.055);
}
.lead-profile-open.lost {
  border-color: rgba(255, 154, 142, 0.36);
  color: #ffd9d5;
  background:
    linear-gradient(180deg, rgba(255, 154, 142, 0.11), rgba(255, 154, 142, 0.018)),
    rgba(255, 154, 142, 0.04);
}
.lead-profile-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.lead-profile-facts article {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(111, 182, 214, 0.18);
  border-radius: 10px;
  background: rgba(255,255,255,0.018);
}
.lead-profile-facts article.fact-action {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.012)),
    rgba(6, 13, 14, 0.7);
}
.lead-profile-facts article.fact-action a::after {
  content: "Open";
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 20px;
  margin-left: 8px;
  border: 1px solid rgba(45, 212, 191, 0.3);
  border-radius: 999px;
  color: #bffbf5;
  font-size: 9px;
  text-decoration: none;
  vertical-align: 1px;
}
.lead-profile-facts span,
.lead-profile-card span,
.evidence-list strong + p {
  letter-spacing: 0;
}
.lead-profile-facts span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}
.lead-profile-facts a,
.lead-profile-facts strong {
  min-width: 0;
  color: #f5f0e8;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.lead-profile-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(111, 182, 214, 0.14);
  border-radius: 12px;
  background: rgba(4, 8, 9, 0.45);
}
.lead-profile-tabs button {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #cbd8d3;
  background: transparent;
  font-weight: 900;
}
.lead-profile-tabs button.active {
  border-color: rgba(45, 212, 191, 0.58);
  color: #071110;
  background: linear-gradient(135deg, #5be9db, #f1d165);
  box-shadow: 0 10px 24px rgba(45, 212, 191, 0.14);
}
.lead-profile-panel {
  display: none;
}
.lead-profile-panel.active {
  display: grid;
  gap: 16px;
}
.lead-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 12px;
}
.lead-profile-card {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(111, 182, 214, 0.2);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.012)),
    rgba(255,255,255,0.015);
}
.lead-profile-card.primary-card {
  border-color: rgba(244, 200, 100, 0.32);
  background:
    radial-gradient(circle at 0 0, rgba(244, 200, 100, 0.12), transparent 42%),
    rgba(255,255,255,0.018);
}
.lead-profile-card span {
  color: var(--amber);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}
.lead-profile-card strong {
  color: var(--text);
  font-size: 18px;
  line-height: 1.25;
}
.lead-profile-card p {
  margin: 0;
  color: #bfcbc6;
  line-height: 1.5;
}
.evidence-proof-intro {
  display: grid;
  gap: 6px;
  padding: 15px 16px;
  border: 1px solid rgba(45, 212, 191, 0.24);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(45, 212, 191, 0.09), rgba(244, 200, 100, 0.04)),
    rgba(7, 14, 15, 0.74);
}
.evidence-proof-intro span {
  color: var(--amber);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}
.evidence-proof-intro strong {
  color: #fff7e8;
  font-size: 20px;
}
.evidence-proof-intro p {
  margin: 0;
  max-width: 760px;
  color: #bdcac5;
  line-height: 1.5;
}
.evidence-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.evidence-list article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  padding: 15px;
  border: 1px solid rgba(111, 182, 214, 0.18);
  border-radius: 10px;
  background: rgba(255,255,255,0.018);
}
.evidence-list article.proof-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(111, 182, 214, 0.2);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01)),
    rgba(8, 15, 16, 0.82);
}
.evidence-list article.proof-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: rgba(111, 182, 214, 0.46);
}
.evidence-list article.proof-card.red-hot {
  border-color: rgba(255, 111, 95, 0.44);
  background:
    radial-gradient(circle at 0 0, rgba(255, 111, 95, 0.13), transparent 44%),
    rgba(8, 15, 16, 0.84);
}
.evidence-list article.proof-card.red-hot::before {
  background: linear-gradient(180deg, #ff6f5f, var(--value-gold));
}
.evidence-list article.proof-card.hot {
  border-color: rgba(244, 200, 100, 0.36);
}
.evidence-list article.proof-card.hot::before {
  background: var(--value-gold);
}
.evidence-list article.proof-card.warm::before {
  background: var(--action-teal);
}
.evidence-list em {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: #17110a;
  background: var(--value-gold);
  font-style: normal;
  font-weight: 950;
}
.evidence-list strong {
  color: #fff3dd;
  font-size: 13px;
}
.evidence-list article.proof-card span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 5px;
  padding: 3px 8px;
  border: 1px solid rgba(244, 200, 100, 0.24);
  border-radius: 999px;
  color: var(--amber);
  background: rgba(244, 200, 100, 0.07);
  font-size: 9px;
  font-weight: 950;
  text-transform: uppercase;
}
.evidence-list p {
  margin: 4px 0 0;
  color: #bfcac5;
  line-height: 1.48;
}
.evidence-list ul {
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.evidence-list li {
  position: relative;
  padding-left: 16px;
  color: #d6e3dd;
  font-size: 12px;
  line-height: 1.45;
}
.evidence-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--action-teal), var(--value-gold));
  box-shadow: 0 0 12px rgba(45, 212, 191, 0.26);
}
.evidence-list a {
  color: #dffdf8;
  font-weight: 850;
  text-decoration-color: rgba(45, 212, 191, 0.45);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.proof-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 10px;
  min-height: 28px;
  padding: 6px 11px;
  border: 1px solid rgba(45, 212, 191, 0.32);
  border-radius: 999px;
  color: #dffdf8;
  background: rgba(45, 212, 191, 0.08);
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
}
.lead-profile-save-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}
.lead-profile-save-row button {
  min-height: 44px;
}
.lead-quality-panel {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  margin: 18px 0;
  padding: 13px;
  border: 1px solid rgba(229, 163, 54, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(229, 163, 54, 0.12), rgba(120, 181, 109, 0.045)),
    rgba(255,255,255,0.018);
}
.lead-quality-score,
.lead-quality-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.lead-quality-score span,
.lead-quality-copy small {
  color: var(--muted);
  font-size: 12px;
}
.lead-quality-score strong {
  color: var(--amber);
  font-size: 34px;
  line-height: 1;
}
.lead-quality-copy strong {
  color: var(--text);
}
.lead-quality-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}
.lead-decision-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 18px;
}
.lead-decision-card div {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(111, 182, 214, 0.22);
  border-radius: 8px;
  background: rgba(111, 182, 214, 0.045);
}
.lead-decision-card span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}
.lead-decision-card strong {
  color: var(--text);
  font-size: 14px;
}
.next-step-focus {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  padding: 16px;
  border: 1px solid rgba(45, 212, 191, 0.28);
  border-radius: 14px;
  background:
    radial-gradient(circle at 0% 0%, rgba(45, 212, 191, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,0.052), rgba(255,255,255,0.018));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.next-step-focus span {
  color: var(--action-teal);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}
.next-step-focus strong {
  color: var(--text);
  font-size: 18px;
}
.next-step-focus p {
  margin: 0;
  color: #cbd6d2;
  line-height: 1.55;
}
.lead-drawer-sticky-actions {
  position: sticky;
  bottom: -28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 20px -28px -28px;
  padding: 14px 28px;
  border-top: 1px solid rgba(111, 182, 214, 0.2);
  background:
    linear-gradient(180deg, rgba(9, 15, 16, 0.78), rgba(9, 15, 16, 0.96));
  backdrop-filter: blur(16px);
}
.lead-drawer-sticky-actions > button {
  min-height: 36px;
  border: 1px solid rgba(111, 182, 214, 0.28);
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--text);
  background: rgba(255,255,255,0.035);
  font-weight: 850;
}
.lead-drawer-sticky-actions .win {
  border-color: rgba(244, 200, 100, 0.54);
  color: #17110a;
  background: linear-gradient(135deg, var(--value-gold), #f6e27d);
}
.lead-decision-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}
.lead-timing-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 12px;
  margin: 14px 0 18px;
  padding: 14px;
  border: 1px solid rgba(229, 163, 54, 0.28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 8% 0%, rgba(229, 163, 54, 0.16), transparent 32%),
    linear-gradient(135deg, rgba(229, 163, 54, 0.085), rgba(111, 182, 214, 0.035)),
    rgba(255,255,255,0.018);
}
.lead-timing-card.high {
  border-color: rgba(120, 181, 109, 0.45);
  background:
    radial-gradient(circle at 8% 0%, rgba(120, 181, 109, 0.14), transparent 32%),
    linear-gradient(135deg, rgba(229, 163, 54, 0.08), rgba(120, 181, 109, 0.055)),
    rgba(255,255,255,0.018);
}
.lead-timing-main,
.lead-timing-grid article {
  min-width: 0;
}
.lead-timing-main {
  display: grid;
  align-content: start;
  gap: 8px;
}
.lead-timing-main span,
.lead-timing-grid span {
  color: var(--amber);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
.lead-timing-main strong {
  color: var(--text);
  font-size: 20px;
}
.lead-timing-main p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}
.lead-timing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.lead-timing-grid article {
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  background: rgba(4, 9, 10, 0.32);
}
.lead-timing-grid strong {
  color: var(--text);
  font-size: 12px;
  line-height: 1.45;
}
.lead-brief-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 18px;
}
.lead-brief-grid article {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(229, 163, 54, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(229, 163, 54, 0.055), rgba(111, 182, 214, 0.035)),
    rgba(255,255,255,0.016);
}
.lead-brief-grid span {
  display: block;
  margin-bottom: 5px;
  color: var(--amber);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}
.lead-brief-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}
.lead-intel-panel {
  display: grid;
  gap: 12px;
}
.lead-intel-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.lead-intel-step {
  position: relative;
  display: grid;
  gap: 5px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.018);
}
.lead-intel-step span {
  width: 13px;
  height: 13px;
  border-radius: 999px;
  border: 1px solid rgba(229, 163, 54, 0.65);
  background: rgba(229, 163, 54, 0.18);
}
.lead-intel-step.done span {
  border-color: rgba(120, 181, 109, 0.7);
  background: var(--green);
  box-shadow: 0 0 14px rgba(120, 181, 109, 0.25);
}
.lead-intel-step.watch span {
  background: var(--amber);
}
.lead-intel-step strong {
  color: var(--text);
  font-size: 12px;
}
.lead-intel-step small {
  color: var(--muted);
  line-height: 1.35;
}
.lead-intel-factors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
}
.lead-intel-factors article {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.018);
}
.lead-intel-factors article.high {
  border-color: rgba(120, 181, 109, 0.38);
  background: rgba(120, 181, 109, 0.06);
}
.lead-intel-factors article.medium {
  border-color: rgba(229, 163, 54, 0.34);
  background: rgba(229, 163, 54, 0.06);
}
.lead-intel-factors article.low {
  border-color: rgba(214, 111, 95, 0.36);
  background: rgba(214, 111, 95, 0.055);
}
.lead-intel-factors span {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 800;
}
.lead-intel-factors strong {
  color: var(--text);
  font-size: 13px;
}
.lead-intel-factors small {
  color: var(--muted);
  line-height: 1.4;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.form-grid.wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.form-grid.single {
  grid-template-columns: 1fr;
}
.form-grid label.wide {
  grid-column: 1 / -1;
}
label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
}
.field-hint {
  color: rgba(219, 230, 226, 0.58);
  font-size: 11px;
  line-height: 1.35;
}
input, select, textarea {
  background: #0b1112;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 8px;
  padding: 10px;
}
textarea {
  min-height: 100px;
  resize: vertical;
}
.outcome-prompt {
  display: grid;
  gap: 14px;
}
.outcome-prompt h2 {
  margin: 0;
  color: #fff7e8;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
}
.outcome-prompt .muted {
  margin: 0;
  line-height: 1.55;
}
.outcome-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 10px;
  margin-top: 4px;
}
.outcome-actions button {
  min-height: 46px;
}
.lost-recovery-note {
  display: grid;
  gap: 5px;
  padding: 13px 14px;
  border: 1px solid rgba(111, 182, 214, 0.22);
  border-radius: 12px;
  background:
    linear-gradient(120deg, rgba(111, 182, 214, 0.1), rgba(244, 200, 100, 0.04)),
    rgba(255,255,255,0.018);
}
.lost-recovery-note strong {
  color: #fff7e8;
}
.lost-recovery-note span {
  color: #cbd6d2;
  line-height: 1.45;
}
.toast {
  display: none;
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: var(--amber);
  color: #15100a;
  font-weight: 800;
  border-radius: 8px;
  padding: 12px 16px;
  z-index: 20;
}
.toast.show { display: block; }
.login-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 16% 18%, rgba(229, 163, 54, 0.15), transparent 28%),
    radial-gradient(circle at 78% 18%, rgba(77, 214, 126, 0.08), transparent 22%),
    linear-gradient(135deg, #050808 0%, #091011 44%, #050708 100%);
  color: var(--text);
}
.login-shell {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  display: block;
  overflow: hidden;
}
.login-hero {
  position: absolute;
  inset: 0;
  z-index: 0;
  padding: clamp(28px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 0;
  isolation: isolate;
  overflow: hidden;
}
.login-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 8, 0.02), rgba(5, 8, 8, 0.1) 40%, rgba(5, 8, 8, 0.58) 66%, rgba(5, 8, 8, 0.9) 100%),
    linear-gradient(180deg, rgba(5, 8, 8, 0.02), rgba(5, 8, 8, 0.48));
  filter: saturate(1.08) contrast(1.08);
}
.login-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,0.8), transparent 78%);
  opacity: 0.55;
  animation: gridDrift 18s linear infinite;
}
.login-hero-visual {
  position: absolute;
  left: 0;
  top: 50%;
  z-index: 0;
  width: max(100vw, calc(100vh * 1.777));
  aspect-ratio: 1672 / 941;
  transform: translateY(-50%);
  filter: saturate(1.08) contrast(1.08);
}
.login-hero-img,
.login-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
}
.login-hero-video {
  z-index: 1;
  background: #020506;
}
.login-hero-fallback {
  z-index: 0;
}
.login-hero-art {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  --radar-orbit-x: 25.05%;
  --radar-orbit-y: 43.65%;
  --radar-orbit-size: 66%;
  --cpu-x: 24.55%;
  --cpu-y: 74.6%;
  --cpu-size: clamp(54px, 4.6vw, 82px);
  --circuit-width: 13.4%;
}
.login-radar-overlay {
  opacity: 0.74;
}
.radar-ring {
  position: absolute;
  left: var(--radar-orbit-x);
  top: var(--radar-orbit-y);
  width: var(--radar-orbit-size);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(229, 163, 54, 0.18);
  border-radius: 999px;
  box-shadow: inset 0 0 45px rgba(229, 163, 54, 0.04), 0 0 38px rgba(77, 214, 126, 0.06);
  animation: radarPulse 4.4s ease-in-out infinite;
}
.ring-two {
  width: calc(var(--radar-orbit-size) * 0.64);
  border-color: rgba(77, 214, 126, 0.18);
  animation-delay: -1.6s;
}
.radar-sweep {
  position: absolute;
  left: var(--radar-orbit-x);
  top: var(--radar-orbit-y);
  width: var(--radar-orbit-size);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background:
    radial-gradient(circle, transparent 0 53%, rgba(45, 212, 191, 0.06) 53.3% 53.9%, transparent 54.2%),
    conic-gradient(from 0deg, transparent 0 68%, rgba(45, 212, 191, 0.04) 74%, rgba(229, 163, 54, 0.35) 82%, transparent 90% 100%);
  mix-blend-mode: screen;
  animation: radarSpin 9.5s linear infinite;
}
.radar-sweep::after {
  content: "";
  position: absolute;
  z-index: 3;
  left: calc(100% - 18px);
  top: calc(50% - 18px);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 32%, rgba(255,255,255,0.95) 0 10%, transparent 18%),
    radial-gradient(circle, rgba(106, 250, 213, 0.95) 0 18%, rgba(229, 163, 54, 0.92) 28%, rgba(229, 163, 54, 0.2) 58%, transparent 70%);
  box-shadow:
    0 0 0 14px rgba(106, 250, 213, 0.07),
    0 0 34px rgba(106, 250, 213, 0.78),
    0 0 58px rgba(229, 163, 54, 0.5);
  mix-blend-mode: normal;
}
.cpu-glow {
  position: absolute;
  left: var(--cpu-x);
  top: var(--cpu-y);
  width: var(--cpu-size);
  height: var(--cpu-size);
  border-radius: 18px;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle, rgba(255, 226, 116, 0.5), rgba(229, 163, 54, 0.13) 45%, transparent 72%);
  box-shadow: 0 0 42px rgba(229, 163, 54, 0.38), 0 0 68px rgba(45, 212, 191, 0.16);
  mix-blend-mode: screen;
  animation: cpuPulse 2.6s ease-in-out infinite;
}
.collar-signal-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: screen;
}
.collar-circuit {
  display: none;
  position: absolute;
  left: var(--cpu-x);
  top: var(--cpu-y);
  width: var(--circuit-width);
  height: calc(var(--circuit-width) * 0.967);
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  overflow: hidden;
  opacity: 0.72;
  clip-path: inset(0 round 10%);
}
.circuit-lines {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.circuit-base {
  stroke: rgba(255, 184, 51, 0.11);
  stroke-width: 1.05;
  filter: drop-shadow(0 0 3px rgba(229, 163, 54, 0.12));
}
.circuit-flow {
  stroke: rgba(255, 215, 106, 0.95);
  stroke-width: 1.7;
  stroke-dasharray: 4 96;
  stroke-dashoffset: 100;
  filter: drop-shadow(0 0 7px rgba(255, 215, 106, 0.78));
  animation: circuitFlow 2.4s cubic-bezier(0.34, 0, 0.2, 1) infinite;
}
.flow-two { animation-delay: -0.32s; }
.flow-three { animation-delay: -0.58s; }
.flow-four { animation-delay: -0.86s; }
.flow-five { animation-delay: -1.12s; }
.flow-six { animation-delay: -1.38s; }
.flow-seven { animation-delay: -1.64s; }
.flow-eight { animation-delay: -1.9s; }
.flow-nine { animation-delay: -2.16s; }
.flow-ten { animation-delay: -2.34s; }
.signal-node {
  position: absolute;
  display: none;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--amber);
  box-shadow: 0 0 0 6px rgba(229, 163, 54, 0.1), 0 0 24px rgba(229, 163, 54, 0.7);
  animation: nodeFlicker 2.8s ease-in-out infinite;
}
.node-one { left: 22%; top: 24%; }
.node-two { left: 43%; top: 36%; animation-delay: -0.9s; background: var(--green); box-shadow: 0 0 0 6px rgba(77, 214, 126, 0.1), 0 0 24px rgba(77, 214, 126, 0.65); }
.node-three { left: 32%; top: 66%; animation-delay: -1.8s; }
.node-four { left: 58%; top: 58%; animation-delay: -1.2s; width: 7px; height: 7px; }
.login-wordmark {
  position: absolute;
  right: clamp(34px, 6vw, 92px);
  top: clamp(40px, 8vh, 94px);
  z-index: 3;
  display: block;
  width: min(390px, 30vw);
  aspect-ratio: 560 / 176;
  overflow: visible;
  padding: 0;
  pointer-events: none;
}
.login-logo-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  transform: none;
  transform-origin: right center;
  filter: drop-shadow(0 12px 34px rgba(0,0,0,0.62)) drop-shadow(0 0 20px rgba(229, 163, 54, 0.16));
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.login-panel {
  position: absolute;
  z-index: 4;
  right: clamp(34px, 6vw, 112px);
  top: 50%;
  transform: translateY(-50%);
  width: min(470px, calc(100vw - 72px));
  margin: 0;
  border: 1px solid rgba(244, 240, 232, 0.18);
  border-radius: 18px;
  padding: clamp(28px, 4vw, 48px);
  background:
    radial-gradient(circle at 22% 0%, rgba(229, 163, 54, 0.18), transparent 36%),
    linear-gradient(145deg, rgba(255,255,255,0.13), rgba(255,255,255,0.035) 42%, rgba(255,255,255,0.07)),
    rgba(7, 12, 13, 0.62);
  box-shadow: 0 34px 130px rgba(0,0,0,0.62), inset 0 1px 0 rgba(255,255,255,0.16), inset 0 -1px 0 rgba(229, 163, 54, 0.08);
  backdrop-filter: blur(26px) saturate(1.3);
  overflow: hidden;
}
.login-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 24% 0%, rgba(229, 163, 54, 0.2), transparent 32%),
    linear-gradient(120deg, rgba(255,255,255,0.12), transparent 34%);
  opacity: 0.75;
}
.login-panel::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,0.045);
}
.login-panel > * {
  position: relative;
}
.login-panel h2 {
  margin: 0 0 34px;
  font-size: clamp(34px, 2.8vw, 42px);
  line-height: 1;
  letter-spacing: 0;
  color: #fff6e8;
  white-space: nowrap;
}
.login-panel form {
  display: grid;
  gap: 18px;
}
.login-panel label {
  color: rgba(244, 240, 232, 0.76);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.login-panel input {
  min-height: 56px;
  border-radius: 14px;
  border-color: rgba(244, 240, 232, 0.18);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.015)),
    rgba(3, 8, 9, 0.62);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), inset 0 -16px 34px rgba(0,0,0,0.22), 0 10px 28px rgba(0,0,0,0.2);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.login-panel input:focus {
  outline: 2px solid rgba(229, 163, 54, 0.54);
  border-color: rgba(229, 163, 54, 0.72);
  box-shadow: 0 0 0 5px rgba(229, 163, 54, 0.1), 0 0 34px rgba(229, 163, 54, 0.18), inset 0 1px 0 rgba(255,255,255,0.08);
  transform: translateY(-1px);
}
.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: -2px;
}
.login-options a,
.login-back {
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}
.login-options a:hover,
.login-back:hover {
  text-decoration: underline;
}
.login-panel .login-check {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(244, 240, 232, 0.8);
  font-size: 12px;
  font-weight: 850;
  text-transform: none;
}
.login-panel .login-check input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  accent-color: var(--amber);
}
.login-copy {
  margin: -14px 0 2px;
  color: rgba(244, 240, 232, 0.72);
  font-size: 14px;
  line-height: 1.5;
}
.login-back {
  justify-self: center;
}
.portal-button {
  position: relative;
  width: 100%;
  min-height: 60px;
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 219, 138, 0.66);
  border-radius: 15px;
  color: #170f07;
  cursor: pointer;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.42), rgba(255,255,255,0) 42%),
    linear-gradient(135deg, #ffd166 0%, #e5a336 48%, #9fff9a 130%);
  box-shadow: 0 18px 48px rgba(229, 163, 54, 0.36), 0 0 38px rgba(77, 214, 126, 0.08), inset 0 1px 0 rgba(255,255,255,0.55);
  font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 950;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}
.portal-button::before {
  content: "";
  position: absolute;
  inset: -80% auto -80% -35%;
  width: 34%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.62), transparent);
  animation: portalShine 2.8s ease-in-out infinite;
}
.portal-button::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 11px;
  border: 1px solid rgba(255,255,255,0.24);
  pointer-events: none;
}
.portal-button span {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.portal-button i {
  position: absolute;
  right: 18px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  border-radius: 999px;
  background:
    radial-gradient(circle, #fff7d4 0 18%, transparent 22%),
    conic-gradient(from 0deg, rgba(255,255,255,0.95), rgba(77,214,126,0.65), rgba(229,163,54,0.95), rgba(255,255,255,0.95));
  box-shadow: 0 0 16px rgba(255, 222, 129, 0.65);
  animation: buttonCoreSpin 2.4s linear infinite;
}
.portal-button:hover {
  transform: translateY(-2px);
  filter: saturate(1.05);
  box-shadow: 0 22px 66px rgba(229, 163, 54, 0.48), 0 0 52px rgba(77, 214, 126, 0.16), inset 0 1px 0 rgba(255,255,255,0.62);
}
.portal-button:disabled {
  opacity: 0.68;
  cursor: wait;
  transform: none;
}
.login-error {
  display: none;
  min-height: 0;
  margin: 0;
  color: #ffb6aa;
  font-size: 13px;
}
.login-error:not(:empty) {
  display: block;
  min-height: 18px;
}
.login-error.success {
  color: #9fff9a;
}
@keyframes radarSpin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes radarPulse {
  0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(0.96); }
  50% { opacity: 0.95; transform: translate(-50%, -50%) scale(1.03); }
}
@keyframes nodeFlicker {
  0%, 100% { opacity: 0.58; transform: scale(0.88); }
  35% { opacity: 1; transform: scale(1.1); }
  62% { opacity: 0.78; transform: scale(0.96); }
}
@keyframes cpuPulse {
  0%, 100% { opacity: 0.45; transform: translate(-50%, -50%) scale(0.94); }
  48% { opacity: 0.92; transform: translate(-50%, -50%) scale(1.08); }
}
@keyframes circuitFlow {
  0% { opacity: 0; stroke-dashoffset: 100; }
  14% { opacity: 0.95; }
  62% { opacity: 0.84; }
  100% { opacity: 0; stroke-dashoffset: 0; }
}
@keyframes gridDrift {
  to { background-position: 54px 54px; }
}
@keyframes portalShine {
  0% { left: -40%; opacity: 0; }
  22% { opacity: 0.8; }
  48% { left: 116%; opacity: 0; }
  100% { left: 116%; opacity: 0; }
}
@keyframes buttonCoreSpin {
  to { transform: translateY(-50%) rotate(360deg); }
}
@media (max-width: 980px) {
  #app { grid-template-columns: 1fr; }
  .sidebar { position: relative; height: auto; }
  #app.client-session {
    display: block;
  }
  #app.client-session .sidebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  #app.client-session .brand {
    margin-bottom: 0;
  }
  #app.client-session nav {
    display: none;
  }
  #app.client-session #sideSummary {
    display: grid;
    grid-template-columns: auto auto;
    gap: 8px;
    align-items: center;
  }
  #app.client-session #sideSummary .eyebrow,
  #app.client-session .side-client-logo,
  #app.client-session .side-client img,
  #app.client-session .side-client span {
    display: none;
  }
  #app.client-session .side-client {
    display: block;
    min-width: 0;
  }
  #app.client-session .side-client strong {
    display: block;
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  #app.client-session .mini-stat {
    min-width: 112px;
    padding: 8px 10px;
    border: 1px solid rgba(244, 200, 100, 0.2);
    border-radius: 10px;
    background: rgba(255,255,255,0.02);
  }
  .stats, .two, .form-grid, .client-grid, .segment-row, .ops-row, .opportunity-row, .client-hero, .preview-control { grid-template-columns: 1fr; }
  .drawer:has(.lead-profile) {
    width: 100vw;
    padding: 24px 20px 28px;
  }
  .lead-profile-hero,
  .lead-profile-actions,
  .lead-profile-facts,
  .lead-profile-grid,
  .lead-timing-card,
  .lead-timing-grid,
  .lead-profile-save-row {
    grid-template-columns: 1fr;
  }
  .lead-profile-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lead-quick-actions,
  .outcome-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lead-profile-actions .contact-actions.profile {
    grid-template-columns: 1fr 1fr;
  }
  .action-plan-grid,
  .action-lead,
  .action-rhythm {
    grid-template-columns: 1fr;
  }
  .action-lead-buttons {
    grid-auto-flow: row;
    grid-template-columns: 1fr;
  }
  .action-lead-buttons .contact-actions.action {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .evidence-list {
    grid-template-columns: 1fr;
  }
  .prospect-main {
    grid-template-columns: 54px minmax(0, 1fr);
  }
  .prospect-reason,
  .prospect-value {
    grid-column: 2;
  }
  .prospect-value small {
    max-width: none;
  }
  .lead-decision-card,
  .lead-timing-card { grid-template-columns: 1fr; }
  .preview-actions { justify-content: flex-start; }
  .preview-stage.full { margin-left: 0; margin-right: 0; padding: 0; }
  .preview-client-workspace,
  .mobile-preview-workspace {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .preview-client-menu {
    position: static;
  }
  .preview-menu-shell {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }
  .preview-menu-shell::-webkit-scrollbar {
    display: none;
  }
  .preview-menu-shell .client-menu-button {
    flex: 0 0 auto;
    grid-template-columns: 30px auto;
    min-width: 132px;
    min-height: 42px;
    padding: 6px 9px;
  }
  .preview-menu-shell .client-menu-button span {
    width: 30px;
    height: 28px;
  }
  .topbar { align-items: flex-start; flex-direction: column; }
  .login-page {
    height: 100dvh;
    min-height: 100dvh;
    overflow: hidden;
  }
  .login-shell {
    position: relative;
    height: 100dvh;
    min-height: 0;
    display: block;
    padding: 0;
    overflow: hidden;
  }
  .login-hero {
    position: absolute;
    inset: 0;
    min-height: 100%;
    padding: 0;
    border: 0;
  }
  .login-hero::before {
    background:
      radial-gradient(circle at 24% 28%, rgba(229, 163, 54, 0.14), transparent 30%),
      linear-gradient(180deg, rgba(3, 6, 7, 0.02), rgba(3, 6, 7, 0.1) 38%, rgba(3, 6, 7, 0.66) 100%),
      linear-gradient(90deg, rgba(5, 8, 8, 0.08), rgba(5, 8, 8, 0.16), rgba(5, 8, 8, 0.1));
    opacity: 0.94;
  }
  .login-hero::after {
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.82), transparent 86%);
    opacity: 0.35;
  }
  .login-hero-visual {
    left: -28vw;
    top: -38px;
    width: max(760px, 184vw);
    transform: none;
  }
  .login-hero-art {
    --radar-orbit-x: 25.05%;
    --radar-orbit-y: 43.65%;
    --radar-orbit-size: 62%;
    --cpu-x: 24.55%;
    --cpu-y: 74.6%;
    --cpu-size: clamp(38px, 8.6vw, 58px);
    --circuit-width: 14.2%;
  }
  .radar-ring,
  .radar-sweep {
    left: var(--radar-orbit-x);
    top: var(--radar-orbit-y);
    width: var(--radar-orbit-size);
  }
  .ring-two {
    width: calc(var(--radar-orbit-size) * 0.64);
  }
  .node-one { left: 16%; top: 21%; }
  .node-two { left: 72%; top: 30%; }
  .node-three { left: 24%; top: 66%; }
  .node-four { left: 82%; top: 56%; }
  .signal-node {
    display: none;
  }
  .login-wordmark {
    width: min(250px, 62vw);
    right: 18px;
    top: max(18px, env(safe-area-inset-top));
    justify-items: end;
  }
  .login-logo-video {
    transform: none;
  }
  .login-wordmark span {
    min-height: 28px;
    padding: 5px 10px;
    font-size: 12px;
    background: rgba(4, 9, 10, 0.5);
  }
  .login-panel {
    z-index: 4;
    position: absolute;
    left: 50%;
    bottom: max(16px, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    width: min(430px, calc(100vw - 36px));
    margin: 0;
    padding: 14px 20px 12px;
    border-radius: 18px;
    background:
      radial-gradient(circle at 24% 0%, rgba(229, 163, 54, 0.24), transparent 38%),
      linear-gradient(150deg, rgba(255,255,255,0.17), rgba(255,255,255,0.045) 48%, rgba(255,255,255,0.1)),
      rgba(7, 12, 13, 0.28);
    box-shadow: 0 18px 54px rgba(0,0,0,0.46), inset 0 1px 0 rgba(255,255,255,0.18);
  }
  .login-panel h2 {
    margin-bottom: 10px;
    white-space: normal;
    font-size: clamp(27px, 7.8vw, 32px);
  }
  .login-panel form {
    gap: 8px;
  }
  .login-options {
    align-items: center;
    flex-direction: row;
    gap: 10px;
  }
  .login-panel input {
    min-height: 38px;
  }
  .portal-button {
    min-height: 42px;
  }
}
@media (max-width: 560px) {
  #app.client-session .sidebar {
    padding: 8px 12px;
  }
  #app.client-session .brand {
    gap: 8px;
  }
  #app.client-session .mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }
  #app.client-session .brand strong {
    font-size: 16px;
    line-height: 1.1;
  }
  #app.client-session .brand span {
    font-size: 11px;
  }
  #app.client-session #sideSummary {
    display: none;
  }
  #app.client-session main {
    padding: 10px;
  }
  #app.client-session .topbar {
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 6px;
  }
  #app.client-session .topbar > div:first-child {
    display: none;
  }
  #app.client-session .topbar h1 {
    font-size: 28px;
    line-height: 1.12;
  }
  #app.client-session .actions {
    width: 100%;
    justify-content: flex-end;
  }
  #app.client-session .icon-button {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }
  #app.client-session .logout-button {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 12px;
  }
  #app.client-session .product-nav {
    scrollbar-width: none;
  }
  #app.client-session .product-nav::-webkit-scrollbar {
    display: none;
  }
  #app.client-session .client-dashboard {
    margin-top: 8px;
    padding: 9px;
    border-radius: 16px;
  }
  #app.client-session .lead-product-header {
    padding-bottom: 10px;
    margin-bottom: 10px;
  }
  #app.client-session .lead-brand-row,
  #app.client-session .lead-title-row,
  #app.client-session .lead-actions {
    display: grid;
    gap: 10px;
  }
  #app.client-session .lead-brand-row {
    grid-template-columns: 1fr;
  }
  #app.client-session .client-logo-main {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    padding: 5px;
  }
  #app.client-session .lead-radar-lockup strong {
    font-size: 20px;
  }
  #app.client-session .lead-radar-lockup small {
    font-size: 10px;
  }
  #app.client-session .lead-actions {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 34px;
    align-items: center;
  }
  #app.client-session .lead-actions .ghost,
  #app.client-session .lead-actions .button-link {
    min-height: 34px;
    padding: 7px 8px;
    border-radius: 9px;
    font-size: 12px;
    line-height: 1.2;
  }
  #app.client-session .client-avatar {
    width: 34px;
    height: 34px;
    padding: 3px;
  }
  #app.client-session .lead-title-row {
    margin-top: 8px;
  }
  #app.client-session .lead-title-row h2 {
    font-size: clamp(23px, 7vw, 29px);
    line-height: 1.08;
    margin-bottom: 5px;
  }
  #app.client-session .lead-title-row p {
    margin-bottom: 6px;
    font-size: 13px;
    line-height: 1.3;
  }
  #app.client-session .lead-meta {
    gap: 7px;
    font-size: 11px;
    line-height: 1.35;
  }
  #app.client-session .lead-meta span:nth-child(3) {
    display: none;
  }
  #app.client-session .lead-meta span + span {
    padding-left: 7px;
  }
  #app.client-session .lead-health {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 1px 10px;
    min-width: 0;
    padding: 8px 10px;
  }
  #app.client-session .lead-health span {
    grid-column: 2;
    grid-row: 1;
  }
  #app.client-session .lead-health strong {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin: 0;
    font-size: 34px;
  }
  #app.client-session .lead-health em {
    grid-column: 2;
    grid-row: 2;
    font-size: 12px;
    line-height: 1.3;
  }
  #app.client-session .client-tabs.product-nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 10px;
    padding: 0 0 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  #app.client-session .client-tabs.product-nav button {
    flex: 0 0 auto;
    min-height: 40px;
    max-width: 132px;
    padding: 8px 10px;
    font-size: 12px;
    line-height: 1.15;
    white-space: normal;
  }
  #app.client-session .client-value-alert {
    margin: 10px 0 14px;
    padding: 12px;
    gap: 12px;
  }
  #app.client-session .client-value-alert p {
    font-size: 13px;
    line-height: 1.36;
  }
  #app.client-session .client-value-alert .primary,
  #app.client-session .client-value-alert .ghost {
    min-height: 40px;
    width: 100%;
  }
  #app.client-session .value-alert-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
  #app.client-session .value-alert-stats em {
    padding: 8px;
  }
  .lead-quality-panel {
    grid-template-columns: 1fr;
  }
  .lead-brief-grid,
  .lead-profile-command,
  .lead-timing-grid,
  .lead-process-map {
    grid-template-columns: 1fr;
  }
  .lead-intelligence-summary,
  .lead-intel-timeline {
    grid-template-columns: 1fr;
  }
  .lead-intelligence-metrics {
    grid-template-columns: 1fr;
  }
  .pipeline-process {
    grid-template-columns: 1fr;
  }
  .drawer:has(.email-composer) {
    padding: 20px 16px 24px;
  }
  .email-composer {
    padding: 18px;
    border-radius: 14px;
  }
  .email-composer-header {
    display: grid;
    gap: 14px;
    padding-right: 0;
  }
  .email-composer h2 {
    font-size: 24px;
  }
  .email-editor-shell {
    padding: 12px;
  }
  .email-score-badge {
    width: 100%;
    text-align: left;
  }
  .email-actions-stack {
    grid-template-columns: 1fr;
  }
  .email-copy-box {
    min-height: 250px;
  }
  .login-shell {
    padding: 0;
  }
  .login-hero::before {
    background:
      radial-gradient(circle at 24% 27%, rgba(229, 163, 54, 0.16), transparent 31%),
      linear-gradient(180deg, rgba(3, 6, 7, 0.02), rgba(3, 6, 7, 0.1) 38%, rgba(3, 6, 7, 0.68) 100%);
  }
  .login-hero-visual {
    left: -34vw;
    top: -62px;
    width: max(710px, 190vw);
  }
  .login-hero-art {
    --radar-orbit-x: 25.05%;
    --radar-orbit-y: 43.65%;
    --radar-orbit-size: 62%;
    --cpu-x: 24.55%;
    --cpu-y: 74.6%;
    --cpu-size: clamp(36px, 8.5vw, 50px);
    --circuit-width: 14.8%;
  }
  .collar-circuit {
    opacity: 0.88;
  }
  .login-hero .circuit-base {
    opacity: 0.6;
    stroke-width: 1.1;
  }
  .login-hero .circuit-flow {
    stroke-width: 1.85;
    stroke-dasharray: 5 95;
    filter: drop-shadow(0 0 6px rgba(255, 215, 106, 0.66));
  }
  .radar-sweep::after {
    left: calc(100% - 7px);
    top: calc(50% - 7px);
    width: 14px;
    height: 14px;
    box-shadow:
      0 0 0 4px rgba(106, 250, 213, 0.045),
      0 0 13px rgba(106, 250, 213, 0.45),
      0 0 22px rgba(229, 163, 54, 0.26);
  }
  .login-wordmark {
    width: min(210px, 55vw);
    right: 16px;
    top: max(14px, env(safe-area-inset-top));
    gap: 6px;
  }
  .login-logo-video {
    transform: none;
  }
  .login-panel {
    top: min(48dvh, calc(100dvh - 314px));
    bottom: auto;
    width: calc(100vw - 28px);
    height: 300px;
    min-height: 0;
    max-height: none;
    padding: 13px 16px 11px;
    background:
      radial-gradient(circle at 24% 0%, rgba(229, 163, 54, 0.16), transparent 38%),
      linear-gradient(150deg, rgba(255,255,255,0.14), rgba(255,255,255,0.026) 48%, rgba(255,255,255,0.06)),
      rgba(7, 12, 13, 0.26);
  }
  .login-panel h2 {
    margin-bottom: 9px;
    font-size: clamp(26px, 7.8vw, 31px);
  }
  .login-panel form {
    gap: 7px;
  }
  .login-panel label {
    font-size: 11px;
  }
  .login-panel .login-check,
  .login-options a,
  .login-back {
    font-size: 11px;
  }
  .login-panel .login-check {
    gap: 7px;
    white-space: nowrap;
  }
  .login-panel .login-check input {
    width: 16px;
    height: 16px;
    min-height: 16px;
  }
  .login-options a {
    white-space: nowrap;
  }
  .portal-button {
    font-size: 13px;
    min-height: 40px;
  }
  .portal-button span {
    padding-right: 18px;
  }
.portal-button i {
  right: 14px;
  width: 16px;
  height: 16px;
}

}
@media (max-width: 380px), (max-height: 720px) and (max-width: 560px) {
  .login-wordmark {
    width: min(178px, 52vw);
  }
  .login-logo-video {
    transform: none;
  }
  .login-wordmark span {
    min-height: 24px;
    font-size: 10px;
  }
  .login-panel {
    top: min(47dvh, calc(100dvh - 292px));
    padding: 12px 14px 10px;
    height: 278px;
    min-height: 0;
    max-height: none;
  }
  .login-panel h2 {
    margin-bottom: 8px;
    font-size: clamp(24px, 7.4vw, 29px);
  }
  .login-panel form {
    gap: 7px;
  }
  .login-panel input,
  .portal-button {
    min-height: 38px;
  }
  .login-error {
    font-size: 12px;
  }
  .login-error:not(:empty) {
    min-height: 14px;
  }
}

/* Lead Radar signal button system.
   Keep this late in the file so it normalises legacy action buttons. */
:root {
  --lr-btn-radius: 8px;
  --lr-btn-accent: #54e4d2;
  --lr-btn-accent-soft: rgba(84, 228, 210, 0.16);
  --lr-btn-accent-line: rgba(84, 228, 210, 0.48);
  --lr-btn-ink: #eefbf7;
  --lr-btn-base: rgba(9, 18, 19, 0.88);
  --lr-btn-base-2: rgba(21, 31, 32, 0.72);
}

@keyframes leadRadarButtonSweep {
  0% { transform: translateX(-120%) skewX(-18deg); opacity: 0; }
  22% { opacity: 0.8; }
  54% { opacity: 0.32; }
  100% { transform: translateX(142%) skewX(-18deg); opacity: 0; }
}

.tool-button,
.compact-action,
.call-button,
.email-button,
.open-profile-button,
.lead-quick-actions button,
.lead-profile-open,
.proof-action,
.lead-drawer-sticky-actions > button,
.outcome-actions button,
.hunter-command-grid button,
.hunter-search button,
.hunter-chat-form button,
.money-move-actions .tool-button,
button.primary,
a.primary {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 38px;
  max-width: 100%;
  padding: 9px 15px;
  border: 1px solid var(--lr-btn-accent-line);
  border-radius: var(--lr-btn-radius) !important;
  color: var(--lr-btn-ink);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.105), rgba(255,255,255,0.012) 46%, rgba(0,0,0,0.1)),
    radial-gradient(circle at 18% 0%, var(--lr-btn-accent-soft), transparent 48%),
    linear-gradient(135deg, var(--lr-btn-base-2), var(--lr-btn-base));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    inset 0 -1px 0 rgba(0,0,0,0.34),
    0 0 0 1px rgba(255,255,255,0.018),
    0 10px 26px rgba(0,0,0,0.2);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  text-overflow: ellipsis;
  user-select: none;
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    filter 0.16s ease,
    background 0.16s ease;
}

.tool-button::before,
.compact-action::before,
.call-button::before,
.email-button::before,
.open-profile-button::before,
.lead-quick-actions button::before,
.lead-profile-open::before,
.proof-action::before,
.lead-drawer-sticky-actions > button::before,
.outcome-actions button::before,
.hunter-command-grid button::before,
.hunter-search button::before,
.hunter-chat-form button::before,
.money-move-actions .tool-button::before,
button.primary::before,
a.primary::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -24% auto -24% -42%;
  width: 44%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.24), transparent);
  opacity: 0;
  pointer-events: none;
}

.tool-button::after,
.compact-action::after,
.call-button::after,
.email-button::after,
.open-profile-button::after,
.lead-quick-actions button::after,
.lead-profile-open::after,
.proof-action::after,
.lead-drawer-sticky-actions > button::after,
.outcome-actions button::after,
.hunter-command-grid button::after,
.hunter-search button::after,
.hunter-chat-form button::after,
.money-move-actions .tool-button::after,
button.primary::after,
a.primary::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 5px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lr-btn-accent), transparent);
  opacity: 0.36;
  pointer-events: none;
}

.tool-button:hover,
.compact-action:hover,
.call-button:not(.disabled):hover,
.email-button:hover,
.open-profile-button:hover,
.lead-quick-actions button:hover,
.lead-profile-open:hover,
.proof-action:hover,
.lead-drawer-sticky-actions > button:hover,
.outcome-actions button:hover,
.hunter-command-grid button:hover,
.hunter-search button:hover,
.hunter-chat-form button:hover,
.money-move-actions .tool-button:hover,
button.primary:hover,
a.primary:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--lr-btn-accent) 76%, white 8%);
  filter: brightness(1.06);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.17),
    inset 0 -1px 0 rgba(0,0,0,0.34),
    0 0 0 1px rgba(255,255,255,0.025),
    0 13px 30px rgba(0,0,0,0.28),
    0 0 22px color-mix(in srgb, var(--lr-btn-accent) 24%, transparent);
}

.tool-button:hover::before,
.compact-action:hover::before,
.call-button:not(.disabled):hover::before,
.email-button:hover::before,
.open-profile-button:hover::before,
.lead-quick-actions button:hover::before,
.lead-profile-open:hover::before,
.proof-action:hover::before,
.lead-drawer-sticky-actions > button:hover::before,
.outcome-actions button:hover::before,
.hunter-command-grid button:hover::before,
.hunter-search button:hover::before,
.hunter-chat-form button:hover::before,
.money-move-actions .tool-button:hover::before,
button.primary:hover::before,
a.primary:hover::before {
  animation: leadRadarButtonSweep 0.9s ease-out;
}

.tool-button:active,
.compact-action:active,
.call-button:not(.disabled):active,
.email-button:active,
.open-profile-button:active,
.lead-quick-actions button:active,
.lead-profile-open:active,
.proof-action:active,
.lead-drawer-sticky-actions > button:active,
.outcome-actions button:active,
.hunter-command-grid button:active,
.hunter-search button:active,
.hunter-chat-form button:active,
.money-move-actions .tool-button:active,
button.primary:active,
a.primary:active {
  transform: translateY(0);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 2px 12px rgba(0,0,0,0.32),
    0 7px 18px rgba(0,0,0,0.18);
}

.tool-button:focus-visible,
.compact-action:focus-visible,
.call-button:focus-visible,
.email-button:focus-visible,
.open-profile-button:focus-visible,
.lead-quick-actions button:focus-visible,
.lead-profile-open:focus-visible,
.proof-action:focus-visible,
.lead-drawer-sticky-actions > button:focus-visible,
.outcome-actions button:focus-visible,
.hunter-command-grid button:focus-visible,
.hunter-search button:focus-visible,
.hunter-chat-form button:focus-visible,
.money-move-actions .tool-button:focus-visible,
button.primary:focus-visible,
a.primary:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--lr-btn-accent) 64%, white 12%);
  outline-offset: 3px;
}

.call-button {
  --lr-btn-accent: #45ead8;
  --lr-btn-accent-soft: rgba(45, 212, 191, 0.18);
  --lr-btn-accent-line: rgba(45, 212, 191, 0.58);
  --lr-btn-ink: #eafffb;
}

.email-button {
  --lr-btn-accent: #f3c45c;
  --lr-btn-accent-soft: rgba(244, 200, 100, 0.18);
  --lr-btn-accent-line: rgba(244, 200, 100, 0.58);
  --lr-btn-ink: #fff1cc;
}

.tool-button,
.open-profile-button,
.lead-profile-open,
.proof-action,
.lead-drawer-sticky-actions > button {
  --lr-btn-accent: #88d2e6;
  --lr-btn-accent-soft: rgba(111, 182, 214, 0.13);
  --lr-btn-accent-line: rgba(111, 182, 214, 0.32);
  --lr-btn-ink: #e7f0ec;
}

.tool-button.strong,
button.primary,
a.primary,
.client-value-alert .primary {
  --lr-btn-accent: #f5cd67;
  --lr-btn-accent-soft: rgba(244, 200, 100, 0.2);
  --lr-btn-accent-line: rgba(244, 200, 100, 0.62);
  --lr-btn-ink: #17110a;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.34), rgba(255,255,255,0.04) 48%, rgba(0,0,0,0.1)),
    radial-gradient(circle at 18% 0%, rgba(255,255,255,0.24), transparent 44%),
    linear-gradient(135deg, #f4be4f 0%, #f5cf71 54%, #8bd4c9 100%);
}

.lead-quick-actions .callback,
.lead-profile-open.callback {
  --lr-btn-accent: #78cfee;
  --lr-btn-accent-soft: rgba(111, 182, 214, 0.18);
  --lr-btn-accent-line: rgba(111, 182, 214, 0.52);
  --lr-btn-ink: #e7f8ff;
}

.lead-quick-actions .lost,
.lead-profile-open.lost {
  --lr-btn-accent: #ff9f91;
  --lr-btn-accent-soft: rgba(255, 154, 142, 0.15);
  --lr-btn-accent-line: rgba(255, 154, 142, 0.44);
  --lr-btn-ink: #ffe1dd;
}

.lead-quick-actions .win,
.lead-profile-open.win,
.lead-drawer-sticky-actions .win,
.outcome-actions .win {
  --lr-btn-accent: #f6d46b;
  --lr-btn-accent-soft: rgba(244, 200, 100, 0.22);
  --lr-btn-accent-line: rgba(244, 200, 100, 0.72);
  --lr-btn-ink: #17110a;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.31), rgba(255,255,255,0.035) 48%, rgba(0,0,0,0.08)),
    linear-gradient(135deg, #f2b84a, #f6d56f 54%, #d9ee8a);
}

.call-button.disabled,
.tool-button:disabled,
.compact-action:disabled,
.lead-quick-actions button:disabled,
.lead-profile-open:disabled,
.proof-action:disabled,
.lead-drawer-sticky-actions > button:disabled,
.outcome-actions button:disabled {
  opacity: 0.46;
  cursor: not-allowed;
  filter: grayscale(0.18);
  transform: none;
}

.call-button.disabled::before,
.tool-button:disabled::before,
.compact-action:disabled::before,
.lead-quick-actions button:disabled::before,
.lead-profile-open:disabled::before,
.proof-action:disabled::before,
.lead-drawer-sticky-actions > button:disabled::before,
.outcome-actions button:disabled::before {
  display: none;
}

.hot-lead-actions,
.contact-actions.lead-list,
.lead-quick-actions,
.lead-profile-actions .contact-actions.profile,
.action-lead-buttons .contact-actions.action,
.money-move-actions .contact-actions.money,
.outcome-actions {
  gap: 8px;
}

.hot-lead-actions .tool-button,
.hot-lead-actions .call-button,
.hot-lead-actions .email-button,
.contact-actions.lead-list > *,
.lead-quick-actions button,
.lead-profile-actions .call-button,
.lead-profile-actions .email-button,
.lead-profile-open,
.action-lead-buttons .call-button,
.action-lead-buttons .email-button {
  width: 100%;
}

.rich-table .hot-lead-actions {
  min-width: 0;
}

.rich-table .hot-lead-actions .tool-button,
.rich-table .hot-lead-actions .call-button,
.rich-table .hot-lead-actions .email-button {
  min-height: 39px;
}

.open-profile-button,
.proof-action {
  min-height: 34px;
}

.proof-action {
  width: fit-content;
  padding-inline: 13px;
}

@media (prefers-reduced-motion: reduce) {
  .tool-button,
  .compact-action,
  .call-button,
  .email-button,
  .open-profile-button,
  .lead-quick-actions button,
  .lead-profile-open,
  .proof-action,
  .lead-drawer-sticky-actions > button,
  .outcome-actions button,
  .hunter-command-grid button,
  .hunter-search button,
  .hunter-chat-form button,
  .money-move-actions .tool-button,
  button.primary,
  a.primary {
    transition: none;
  }

  .tool-button:hover::before,
  .compact-action:hover::before,
  .call-button:hover::before,
  .email-button:hover::before,
  .open-profile-button:hover::before,
  .lead-quick-actions button:hover::before,
  .lead-profile-open:hover::before,
  .proof-action:hover::before,
  .lead-drawer-sticky-actions > button:hover::before,
  .outcome-actions button:hover::before,
  .hunter-command-grid button:hover::before,
  .hunter-search button:hover::before,
  .hunter-chat-form button:hover::before,
  .money-move-actions .tool-button:hover::before,
  button.primary:hover::before,
  a.primary:hover::before {
    animation: none;
  }
}

/* Client app shell navigation and settings */
#app.client-session {
  grid-template-columns: 288px minmax(0, 1fr);
}

#app.client-session .sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px 14px;
  border-right-color: rgba(125, 142, 181, 0.16);
  background: linear-gradient(180deg, #070c16, #0a111e 72%, #090d17);
}

#app.client-session .topbar .actions {
  display: none;
}

.client-menu-shell {
  display: grid;
  gap: 3px;
}

.client-menu-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 7px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #b9c2d8;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  text-align: left;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.client-menu-button span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 32px;
  border: 0;
  border-radius: 6px;
  color: #b2a9ff;
  background:
    rgba(128, 111, 255, 0.08);
  font-weight: 900;
}

.client-menu-button strong {
  min-width: 0;
  overflow: hidden;
  color: inherit;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.client-menu-button::after {
  content: none;
}

.client-menu-button:hover {
  transform: none;
  border-color: transparent;
  background: rgba(113, 95, 230, 0.08);
  box-shadow: none;
}

.client-menu-button.active {
  color: #f4f2ff;
  border-color: rgba(130, 111, 255, 0.22);
  background: linear-gradient(90deg, rgba(97, 78, 213, 0.42), rgba(97, 78, 213, 0.18));
  box-shadow: inset 3px 0 0 #8d7bff;
}

.client-menu-button.active span {
  color: #f4f2ff;
  background: rgba(255,255,255,0.1);
}

.client-menu-button.signout {
  margin-top: 8px;
  color: #ffc8c1;
  border-color: rgba(255, 154, 142, 0.28);
}

.client-menu-button.signout span {
  color: #ffb1a7;
  border-color: rgba(255, 154, 142, 0.3);
  background: rgba(255, 154, 142, 0.07);
}

.client-settings-grid {
  align-items: stretch;
}

.settings-panel {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 100%;
}

.settings-action-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(128px, 184px));
  gap: 10px;
  align-items: center;
  justify-content: start;
  margin-top: 2px;
}

.settings-action {
  display: inline-grid;
  place-items: center;
  width: 100%;
  min-height: 42px;
  padding-inline: 14px;
  justify-self: start;
  text-align: center;
}

#app .settings-page .settings-action,
#drawer .password-form .settings-action {
  min-height: 44px;
  line-height: 1.1;
}

.settings-detail-list {
  display: grid;
  gap: 8px;
}

.settings-detail-list span {
  display: flex;
  align-items: center;
  min-height: 34px;
  width: fit-content;
  max-width: 100%;
  padding: 7px 11px;
  border: 1px solid rgba(111, 182, 214, 0.16);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255,255,255,0.022);
  font-size: 12px;
}

.session-panel {
  max-width: 520px;
}

.theme-choice-grid {
  display: grid;
  gap: 12px;
}

.theme-choice {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 4px 12px;
  align-items: center;
  min-height: 82px;
  padding: 12px;
  border: 1px solid rgba(111, 182, 214, 0.2);
  border-radius: 8px;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.012)),
    rgba(255,255,255,0.024);
  cursor: pointer;
  text-align: left;
}

.theme-choice span {
  grid-row: 1 / span 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(244, 200, 100, 0.35);
  background:
    radial-gradient(circle at 34% 32%, #f4c864, transparent 20%),
    linear-gradient(135deg, #081011 0 50%, #e8eee8 50% 100%);
}

.theme-choice strong,
.theme-choice small {
  min-width: 0;
}

.theme-choice small {
  color: var(--muted);
}

.theme-choice.active {
  border-color: rgba(244, 200, 100, 0.66);
  box-shadow: 0 0 0 1px rgba(244, 200, 100, 0.14), 0 14px 26px rgba(0,0,0,0.18);
}

.settings-toggle-list {
  display: grid;
  gap: 10px;
}

.settings-toggle-list label {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: flex-start;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(111, 182, 214, 0.16);
  border-radius: 8px;
  background: rgba(255,255,255,0.022);
  color: var(--muted);
  cursor: pointer;
}

.settings-toggle-list b,
.settings-toggle-list small {
  display: block;
}

.settings-toggle-list b {
  color: var(--text);
  font-size: 0.92rem;
}

.settings-toggle-list small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.settings-email-field {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--muted);
  font-weight: 800;
}

.settings-email-field input {
  width: 100%;
  min-height: 44px;
}

.compact-notification-list {
  margin-top: 8px;
}

.compact-notification-list label {
  min-height: 38px;
  padding: 8px 10px;
}

.settings-toggle-list input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #54e4d2;
  cursor: pointer;
}

.password-prompt {
  display: grid;
  gap: 14px;
}

.password-form {
  gap: 12px;
}

.password-form input {
  width: 100%;
  min-height: 44px;
}

.password-form .settings-action {
  min-height: 44px;
}

.client-light-theme {
  --bg: #f3f5f1;
  --panel: #ffffff;
  --panel-2: #edf2ed;
  --text: #14201d;
  --muted: #5f6e68;
  --line: rgba(22, 43, 39, 0.14);
}

.client-light-theme .sidebar,
.client-light-theme .client-dashboard,
.client-light-theme .card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.86), rgba(255,255,255,0.72)),
    #f8faf6;
}

.client-light-theme .client-menu-button {
  color: #1d302b;
  background: rgba(255,255,255,0.72);
}

.client-light-theme .lead-profile,
.client-light-theme .drawer {
  color: #14201d;
}

.hot-lead-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hot-lead-actions .contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.hot-lead-actions .tool-button {
  grid-column: auto;
}

.prospect-action-panel {
  grid-template-columns: minmax(0, 1fr);
}

.lead-primary-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.lead-primary-actions .contact-actions.lead-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.contact-actions.lead-list + .lead-quick-actions {
  margin-top: 0;
}

.lead-primary-actions .open-profile-button,
.lead-primary-actions .call-button,
.lead-primary-actions .email-button {
  width: 100%;
  min-height: 40px;
}

.rich-table .hot-lead-actions .tool-button,
.rich-table .hot-lead-actions .call-button,
.rich-table .hot-lead-actions .email-button {
  min-height: 40px;
}

@media (max-width: 980px) {
  #app.client-session .sidebar {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  #app.client-session nav {
    display: block;
    order: 3;
    width: 100%;
  }
  #app.client-session .client-menu-shell {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }
  #app.client-session .client-menu-shell::-webkit-scrollbar {
    display: none;
  }
  #app.client-session .client-menu-button {
    flex: 0 0 auto;
    grid-template-columns: 30px auto;
    min-height: 42px;
    min-width: 128px;
    padding: 6px 9px;
  }
  #app.client-session .client-menu-button span {
    width: 30px;
    height: 28px;
  }
}

@media (max-width: 560px) {
  #app.client-session .client-menu-button {
    min-width: 112px;
  }
  #app.client-session .client-menu-button strong {
    font-size: 12px;
  }
  .settings-action-row,
  .money-move-actions,
  .lead-action-row,
  .lead-primary-actions,
  .hot-lead-actions {
    grid-template-columns: 1fr;
  }
  .hot-lead-actions .tool-button {
    grid-column: auto;
  }
}

/* Resolution-safe action matrices for client dashboard lead buttons */
.money-move-actions,
.lead-action-row,
.hot-lead-actions {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
  justify-items: stretch;
}

.rich-table .hot-lead-actions {
  width: 100%;
  min-width: 0;
  align-items: stretch;
}

.money-move-actions .contact-actions.money,
.lead-action-row .contact-actions.featured,
.hot-lead-actions .contact-actions.row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.money-move-actions .call-button,
.money-move-actions .email-button,
.money-move-actions .tool-button,
.lead-action-row .call-button,
.lead-action-row .email-button,
.lead-action-row .primary,
.lead-action-row .tool-button,
.hot-lead-actions .call-button,
.hot-lead-actions .email-button,
.hot-lead-actions .tool-button {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 38px;
  padding-block: 9px;
  padding-inline: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1;
}

.money-move-actions .call-button,
.money-move-actions .email-button,
.money-move-actions .tool-button,
.lead-action-row .call-button,
.lead-action-row .email-button,
.lead-action-row .tool-button,
.lead-action-row .primary,
.hot-lead-actions .call-button,
.hot-lead-actions .email-button,
.hot-lead-actions .tool-button {
  grid-column: auto !important;
}

.money-move-actions .contact-actions.money,
.lead-action-row .contact-actions.featured,
.hot-lead-actions .contact-actions.row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

.rich-table .hot-lead-actions .tool-button,
.rich-table .hot-lead-actions .call-button,
.rich-table .hot-lead-actions .email-button {
  grid-column: auto !important;
}

.money-move-actions .tool-button,
.lead-action-row .primary,
.hot-lead-actions .tool-button {
  font-size: 12px;
  font-weight: 900;
}

.rich-table .opportunity-row {
  grid-template-columns:
    44px
    minmax(150px, 1.16fr)
    minmax(96px, 0.58fr)
    minmax(130px, 0.76fr)
    minmax(72px, 0.38fr)
    minmax(78px, 0.42fr)
    minmax(230px, 0.98fr);
}

.rich-table .table-head {
  grid-template-columns:
    44px
    minmax(150px, 1.16fr)
    minmax(96px, 0.58fr)
    minmax(130px, 0.76fr)
    minmax(72px, 0.38fr)
    minmax(78px, 0.42fr)
    minmax(230px, 0.98fr);
}

@container (max-width: 1180px) {
  .rich-table .table-head,
  .rich-table .opportunity-row {
    grid-template-columns:
      40px
      minmax(136px, 1.05fr)
      minmax(82px, 0.5fr)
      minmax(104px, 0.58fr)
      minmax(64px, 0.34fr)
      minmax(68px, 0.34fr)
      minmax(172px, 0.7fr);
  }
}

@media (max-width: 560px) {
  .money-move-actions,
  .lead-action-row,
  .hot-lead-actions,
  .rich-table .hot-lead-actions {
    grid-template-columns: 1fr !important;
  }
}

@media (min-width: 561px) {
  .money-move-actions,
  .lead-action-row,
  .hot-lead-actions,
  .rich-table .hot-lead-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .hot-lead-actions .tool-button,
  .money-move-actions .tool-button,
  .lead-action-row .primary,
  .hot-lead-actions .call-button,
  .hot-lead-actions .email-button,
  .money-move-actions .call-button,
  .money-move-actions .email-button,
  .lead-action-row .call-button,
  .lead-action-row .email-button {
    grid-column: auto !important;
  }
}

/* Final action-button consistency guard (admin + client dashboard). */
.lead-action-row,
.money-move-actions,
.hot-lead-actions {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.lead-action-row .contact-actions,
.money-move-actions .contact-actions,
.hot-lead-actions .contact-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

.lead-action-row .call-button,
.lead-action-row .email-button,
.lead-action-row .primary,
.lead-action-row .tool-button,
.money-move-actions .call-button,
.money-move-actions .email-button,
.money-move-actions .tool-button,
.hot-lead-actions .call-button,
.hot-lead-actions .email-button,
.hot-lead-actions .tool-button {
  display: inline-flex;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  min-height: 40px !important;
  justify-self: stretch;
  align-self: stretch;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 560px) {
  .lead-action-row,
  .money-move-actions,
  .hot-lead-actions,
  .rich-table .hot-lead-actions {
    grid-template-columns: 1fr !important;
  }

  .lead-action-row .contact-actions,
  .money-move-actions .contact-actions,
  .hot-lead-actions .contact-actions {
    display: block !important;
  }
}

/* Client-facing lead clarity pass. */
.rich-table .table-head,
.rich-table .opportunity-row {
  grid-template-columns: 44px minmax(150px, 1.05fr) minmax(104px, 0.55fr) minmax(220px, 1.5fr) minmax(76px, 0.38fr) minmax(74px, 0.38fr) minmax(188px, 0.68fr);
}

.lead-evidence-summary {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 2px 0;
}

.opportunity-row .lead-evidence-summary b {
  color: #fff3dd;
  font-size: 12px;
  line-height: 1.25;
}

.opportunity-row .lead-evidence-summary small {
  max-width: 100%;
  color: #c9d7d1;
  font-size: 12px;
  line-height: 1.42;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.lead-profile-hero > div:first-child p {
  max-width: 820px;
  color: #d7e2dd;
  font-size: 15px;
  line-height: 1.5;
}

.lead-profile-card.primary-card strong {
  color: #fff5dc;
}

.lead-profile-card p,
.next-step-focus p,
.evidence-proof-intro p {
  color: #d2ddd8;
}

.evidence-list article.proof-card {
  min-height: 152px;
}

.evidence-list article.proof-card strong {
  display: block;
  margin-bottom: 7px;
  color: #fff6e4;
  font-size: 14px;
  line-height: 1.25;
}

.evidence-list article.proof-card div > a:first-of-type,
.evidence-list article.proof-card div > p:first-of-type {
  margin-top: 7px;
}

.evidence-list article.proof-card div > a:not(.proof-action) {
  display: inline;
}

.timing-stage-tracker {
  display: grid;
  gap: 12px;
  padding: 15px;
  border: 1px solid rgba(45, 212, 191, 0.2);
  border-radius: 12px;
  background:
    radial-gradient(circle at 0 0, rgba(45, 212, 191, 0.1), transparent 42%),
    rgba(8, 15, 16, 0.72);
}

.timing-progress-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.timing-progress-head span {
  color: var(--amber);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.timing-progress-head strong {
  color: #fff2d3;
  font-size: 14px;
}

.timing-progress-bar {
  height: 8px;
  overflow: hidden;
  border: 1px solid rgba(45, 212, 191, 0.2);
  border-radius: 999px;
  background: rgba(255,255,255,0.045);
}

.timing-progress-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--action-teal), var(--value-gold));
  box-shadow: 0 0 18px rgba(45, 212, 191, 0.24);
}

.timing-stage-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 10px;
}

.timing-stage-steps article {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 11px;
  border: 1px solid rgba(111, 182, 214, 0.18);
  border-radius: 8px;
  background: rgba(255,255,255,0.018);
}

.timing-stage-steps b {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(111, 182, 214, 0.36);
  box-shadow: 0 0 0 4px rgba(111, 182, 214, 0.08);
}

.timing-stage-steps article.done b {
  background: var(--action-teal);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.1), 0 0 18px rgba(45, 212, 191, 0.22);
}

.timing-stage-steps span {
  color: #fff3dc;
  font-size: 12px;
  font-weight: 950;
}

.timing-stage-steps small {
  color: #bfcac5;
  font-size: 11px;
  line-height: 1.35;
}

@container (max-width: 1180px) {
  .rich-table .table-head,
  .rich-table .opportunity-row {
    grid-template-columns: 42px minmax(136px, 0.95fr) minmax(92px, 0.5fr) minmax(196px, 1.42fr) minmax(70px, 0.36fr) minmax(70px, 0.36fr) minmax(178px, 0.66fr);
  }
}

@container (max-width: 1040px) {
  .rich-table .table-head,
  .rich-table .opportunity-row {
    grid-template-columns: 40px minmax(132px, 0.95fr) minmax(86px, 0.48fr) minmax(178px, 1.32fr) minmax(68px, 0.34fr) minmax(68px, 0.34fr) minmax(166px, 0.64fr);
  }
}

@container (max-width: 940px) {
  .rich-table .opportunity-row {
    grid-template-columns: 38px minmax(0, 1fr) minmax(74px, auto);
  }

  .rich-table .opportunity-row > span:nth-child(4) {
    grid-column: 2 / -1;
    grid-row: 3;
  }
}

/* Lead action button stability (admin + client dashboard).
   Keeps call / email / open buttons matched and in-bounds across widths. */
.money-move-actions,
.lead-action-row,
.lead-primary-actions,
.hot-lead-actions,
.lead-action-grid,
.action-lead-buttons {
  box-sizing: border-box;
  width: min(100%, var(--lead-action-width, 100%));
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
  justify-items: stretch;
}

.money-move-actions .contact-actions.money,
.lead-action-row .contact-actions.featured,
.lead-primary-actions .contact-actions.lead-list,
.hot-lead-actions .contact-actions.row,
.lead-action-grid .contact-actions.action,
.action-lead-buttons .contact-actions.action {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  min-width: 0;
  width: 100%;
  align-items: stretch;
  justify-items: stretch;
  grid-column: 1 / span 2;
}

.money-move-actions .call-button,
.money-move-actions .email-button,
.money-move-actions .tool-button,
.lead-action-row .call-button,
.lead-action-row .email-button,
.lead-action-row .tool-button,
.lead-action-row .primary,
.lead-primary-actions .call-button,
.lead-primary-actions .email-button,
.lead-primary-actions .open-profile-button,
.lead-primary-actions .tool-button,
.hot-lead-actions .call-button,
.hot-lead-actions .email-button,
.hot-lead-actions .tool-button,
.lead-action-grid .call-button,
.lead-action-grid .email-button,
.lead-action-grid .tool-button,
.lead-action-grid .open-profile-button,
.lead-action-grid .lead-profile-open,
.action-lead-buttons .call-button,
.action-lead-buttons .email-button,
.action-lead-buttons .tool-button,
.action-lead-buttons .open-profile-button,
.money-move-actions .open-profile-button {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 38px;
  padding-inline: 10px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  justify-self: stretch;
  align-self: stretch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  text-align: center;
}

.money-move-actions > .call-button,
.money-move-actions > .email-button,
.money-move-actions > .tool-button,
.money-move-actions > .open-profile-button,
.lead-action-row > .call-button,
.lead-action-row > .email-button,
.lead-action-row > .tool-button,
.lead-action-row > .primary,
.lead-action-row > .open-profile-button,
.lead-primary-actions > .call-button,
.lead-primary-actions > .email-button,
.lead-primary-actions > .open-profile-button,
.lead-primary-actions > .tool-button,
.hot-lead-actions > .call-button,
.hot-lead-actions > .email-button,
.hot-lead-actions > .tool-button,
.lead-action-grid > .call-button,
.lead-action-grid > .email-button,
.lead-action-grid > .tool-button,
.lead-action-grid > .open-profile-button,
.action-lead-buttons > .call-button,
.action-lead-buttons > .email-button,
.action-lead-buttons > .tool-button,
.action-lead-buttons > .open-profile-button {
  grid-column: 3 / 4;
}

.action-lead-buttons.action-lead-no-contact {
  grid-template-columns: 1fr;
}

.action-lead-buttons.action-lead-no-contact > .tool-button,
.action-lead-buttons.action-lead-no-contact > .open-profile-button {
  grid-column: 1 / -1;
}

.rich-table .opportunity-row > .hot-lead-actions {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  align-self: stretch;
  justify-self: stretch;
}

.rich-table .opportunity-row > .hot-lead-actions .contact-actions.row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-column: 1 / span 2;
  width: 100%;
  min-width: 0;
}

@container (max-width: 940px) {
  .rich-table .hot-lead-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(100%, 100%);
  }
}

@media (max-width: 640px) {
  .money-move-actions,
  .lead-action-row,
  .lead-primary-actions,
  .hot-lead-actions,
  .lead-action-grid,
  .action-lead-buttons,
  .money-move-actions .contact-actions.money,
  .lead-action-row .contact-actions.featured,
  .lead-primary-actions .contact-actions.lead-list,
  .hot-lead-actions .contact-actions.row,
  .lead-action-grid .contact-actions.action,
  .action-lead-buttons .contact-actions.action {
    grid-template-columns: 1fr;
  }

  .money-move-actions > .call-button,
  .money-move-actions > .email-button,
  .money-move-actions > .tool-button,
  .money-move-actions > .open-profile-button,
  .lead-action-row > .call-button,
  .lead-action-row > .email-button,
  .lead-action-row > .tool-button,
  .lead-action-row > .primary,
  .lead-action-row > .open-profile-button,
  .lead-primary-actions > .call-button,
  .lead-primary-actions > .email-button,
  .lead-primary-actions > .open-profile-button,
  .lead-primary-actions > .tool-button,
  .hot-lead-actions > .call-button,
  .hot-lead-actions > .email-button,
  .hot-lead-actions > .tool-button,
  .lead-action-grid > .call-button,
  .lead-action-grid > .email-button,
  .lead-action-grid > .tool-button,
  .lead-action-grid > .open-profile-button,
  .action-lead-buttons > .call-button,
  .action-lead-buttons > .email-button,
  .action-lead-buttons > .tool-button,
  .action-lead-buttons > .open-profile-button {
    grid-column: 1 / -1;
  }
}

/* Hardline action controls clamp.
   Prevent any call / email / open button from escaping its card at any width. */
#app .lead-action-row,
#app .money-move-actions,
#app .lead-primary-actions,
#app .hot-lead-actions,
#app .lead-action-grid,
#app .action-lead-buttons,
#app .rich-table .hot-lead-actions {
  display: grid !important;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.3fr) minmax(0, 1fr) !important;
  grid-auto-flow: row dense !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  gap: 8px !important;
  align-items: stretch !important;
  justify-items: stretch !important;
}

#app .lead-action-row > *,
#app .money-move-actions > *,
#app .lead-primary-actions > *,
#app .hot-lead-actions > *,
#app .lead-action-grid > *,
#app .action-lead-buttons > *,
#app .rich-table .hot-lead-actions > * {
  min-width: 0 !important;
}

#app .money-move-actions .contact-actions.money,
#app .lead-action-row .contact-actions.featured,
#app .lead-primary-actions .contact-actions.lead-list,
#app .hot-lead-actions .contact-actions.row,
#app .lead-action-grid .contact-actions.action,
#app .action-lead-buttons .contact-actions.action {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 7px !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  align-items: stretch !important;
  justify-items: stretch !important;
  margin: 0 !important;
}

#app .money-move-actions .call-button,
#app .money-move-actions .email-button,
#app .money-move-actions .tool-button,
#app .money-move-actions .open-profile-button,
#app .lead-action-row .call-button,
#app .lead-action-row .email-button,
#app .lead-action-row .tool-button,
#app .lead-action-row .primary,
#app .lead-primary-actions .call-button,
#app .lead-primary-actions .email-button,
#app .lead-primary-actions .open-profile-button,
#app .lead-primary-actions .tool-button,
#app .hot-lead-actions .call-button,
#app .hot-lead-actions .email-button,
#app .hot-lead-actions .tool-button,
#app .lead-action-grid .call-button,
#app .lead-action-grid .email-button,
#app .lead-action-grid .tool-button,
#app .lead-action-grid .open-profile-button,
#app .lead-action-grid .lead-profile-open,
#app .action-lead-buttons .call-button,
#app .action-lead-buttons .email-button,
#app .action-lead-buttons .tool-button,
#app .action-lead-buttons .open-profile-button {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  min-height: 40px !important;
  padding-inline: 10px !important;
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: normal !important;
  word-break: break-word !important;
  text-align: center !important;
  justify-self: stretch !important;
  align-self: stretch !important;
}

#app .money-move-actions > .call-button,
#app .money-move-actions > .email-button,
#app .money-move-actions > .tool-button,
#app .money-move-actions > .open-profile-button,
#app .lead-action-row > .call-button,
#app .lead-action-row > .email-button,
#app .lead-action-row > .tool-button,
#app .lead-action-row > .primary,
#app .lead-action-row > .open-profile-button,
#app .lead-primary-actions > .call-button,
#app .lead-primary-actions > .email-button,
#app .lead-primary-actions > .open-profile-button,
#app .lead-primary-actions > .tool-button,
#app .hot-lead-actions > .call-button,
#app .hot-lead-actions > .email-button,
#app .hot-lead-actions > .tool-button,
#app .lead-action-grid > .call-button,
#app .lead-action-grid > .email-button,
#app .lead-action-grid > .tool-button,
#app .lead-action-grid > .open-profile-button,
#app .action-lead-buttons > .call-button,
#app .action-lead-buttons > .email-button,
#app .action-lead-buttons > .tool-button,
#app .action-lead-buttons > .open-profile-button {
  grid-column: 3 / 4 !important;
}

#app .action-lead-buttons.action-lead-no-contact {
  grid-template-columns: 1fr !important;
}

#app .action-lead-buttons.action-lead-no-contact > .tool-button,
#app .action-lead-buttons.action-lead-no-contact > .open-profile-button {
  grid-column: 1 / -1 !important;
}

#app .action-lead {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr) !important;
}

#app .action-lead .action-lead-main,
#app .action-lead .action-lead-detail {
  min-width: 0 !important;
}

#app .action-lead .action-lead-buttons {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  align-self: stretch !important;
}

#app .action-lead-buttons {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

#app .action-lead-buttons.action-lead-no-contact > .tool-button,
#app .action-lead-buttons.action-lead-no-contact > .open-profile-button {
  grid-column: 1 / -1 !important;
}

@media (max-width: 1024px) {
  #app .lead-action-row,
  #app .money-move-actions,
  #app .lead-primary-actions,
  #app .hot-lead-actions,
  #app .lead-action-grid,
  #app .action-lead-buttons {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 1fr) !important;
  }
}

@media (max-width: 780px) {
  #app .money-move-actions,
  #app .lead-action-row,
  #app .lead-primary-actions,
  #app .hot-lead-actions,
  #app .lead-action-grid,
  #app .action-lead-buttons,
  #app .action-lead .action-lead-buttons,
  #app .money-move-actions .contact-actions.money,
  #app .lead-action-row .contact-actions.featured,
  #app .lead-primary-actions .contact-actions.lead-list,
  #app .hot-lead-actions .contact-actions.row,
  #app .lead-action-grid .contact-actions.action,
  #app .action-lead-buttons .contact-actions.action {
    grid-template-columns: 1fr !important;
  }

  #app .action-lead {
    grid-template-columns: 1fr !important;
  }

  #app .money-move-actions > .call-button,
  #app .money-move-actions > .email-button,
  #app .money-move-actions > .tool-button,
  #app .money-move-actions > .open-profile-button,
  #app .lead-action-row > .call-button,
  #app .lead-action-row > .email-button,
  #app .lead-action-row > .tool-button,
  #app .lead-action-row > .primary,
  #app .lead-action-row > .open-profile-button,
  #app .lead-primary-actions > .call-button,
  #app .lead-primary-actions > .email-button,
  #app .lead-primary-actions > .open-profile-button,
  #app .lead-primary-actions > .tool-button,
  #app .hot-lead-actions > .call-button,
  #app .hot-lead-actions > .email-button,
  #app .hot-lead-actions > .tool-button,
  #app .lead-action-grid > .call-button,
  #app .lead-action-grid > .email-button,
  #app .lead-action-grid > .tool-button,
  #app .lead-action-grid > .open-profile-button,
  #app .action-lead-buttons > .call-button,
  #app .action-lead-buttons > .email-button,
  #app .action-lead-buttons > .tool-button,
  #app .action-lead-buttons > .open-profile-button {
    grid-column: 1 / -1 !important;
  }
}

/* Action rail hardening for lead cards, table rows, and prospect action lanes.
   This keeps call/email/open controls aligned at equal sizes across desktop/tablet/mobile.
   It is intentionally broad to override earlier variants and avoid regressions. */
#app .money-move-actions,
#app .lead-action-row,
#app .lead-primary-actions,
#app .lead-action-grid,
#app .hot-lead-actions,
#app .action-lead-buttons,
#app .rich-table .hot-lead-actions,
#app .lead-profile-actions {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 8px !important;
  align-items: stretch !important;
  justify-items: stretch !important;
  overflow: clip !important;
}

#app .money-move-actions .contact-actions.money,
#app .lead-action-row .contact-actions.featured,
#app .lead-primary-actions .contact-actions.lead-list,
#app .hot-lead-actions .contact-actions.row,
#app .lead-action-grid .contact-actions.action,
#app .action-lead-buttons .contact-actions.action,
#app .lead-profile-actions .contact-actions.profile {
  grid-column: 1 / span 2 !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  align-items: stretch !important;
  justify-items: stretch !important;
}

#app .money-move-actions .call-button,
#app .money-move-actions .email-button,
#app .money-move-actions .tool-button,
#app .money-move-actions .open-profile-button,
#app .money-move-actions .lead-profile-open,
#app .lead-action-row .call-button,
#app .lead-action-row .email-button,
#app .lead-action-row .tool-button,
#app .lead-action-row .open-profile-button,
#app .lead-action-row .lead-profile-open,
#app .lead-primary-actions .call-button,
#app .lead-primary-actions .email-button,
#app .lead-primary-actions .open-profile-button,
#app .lead-primary-actions .tool-button,
#app .lead-primary-actions .lead-profile-open,
#app .hot-lead-actions .call-button,
#app .hot-lead-actions .email-button,
#app .hot-lead-actions .tool-button,
#app .hot-lead-actions .open-profile-button,
#app .lead-action-grid .call-button,
#app .lead-action-grid .email-button,
#app .lead-action-grid .tool-button,
#app .lead-action-grid .open-profile-button,
#app .lead-action-grid .lead-profile-open,
#app .action-lead-buttons .call-button,
#app .action-lead-buttons .email-button,
#app .action-lead-buttons .tool-button,
#app .action-lead-buttons .open-profile-button,
#app .rich-table .hot-lead-actions .call-button,
#app .rich-table .hot-lead-actions .email-button,
#app .rich-table .hot-lead-actions .tool-button,
#app .lead-profile-actions .call-button,
#app .lead-profile-actions .email-button,
#app .lead-profile-actions .lead-profile-open {
  display: inline-flex !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  min-height: 38px !important;
  padding-inline: 10px !important;
  padding-block: 8px !important;
  align-items: center !important;
  justify-content: center !important;
  text-overflow: ellipsis !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}

#app .money-move-actions .contact-actions.money *,
#app .lead-action-row .contact-actions.featured *,
#app .lead-primary-actions .contact-actions.lead-list *,
#app .hot-lead-actions .contact-actions.row *,
#app .lead-action-grid .contact-actions.action *,
#app .action-lead-buttons .contact-actions.action *,
#app .lead-profile-actions .contact-actions.profile * {
  width: 100% !important;
}

#app .money-move-actions > .call-button,
#app .money-move-actions > .email-button,
#app .money-move-actions > .tool-button,
#app .money-move-actions > .open-profile-button,
#app .money-move-actions > .lead-profile-open,
#app .lead-action-row > .call-button,
#app .lead-action-row > .email-button,
#app .lead-action-row > .tool-button,
#app .lead-action-row > .open-profile-button,
#app .lead-action-row > .lead-profile-open,
#app .lead-primary-actions > .call-button,
#app .lead-primary-actions > .email-button,
#app .lead-primary-actions > .open-profile-button,
#app .lead-primary-actions > .tool-button,
#app .lead-primary-actions > .lead-profile-open,
#app .hot-lead-actions > .call-button,
#app .hot-lead-actions > .email-button,
#app .hot-lead-actions > .tool-button,
#app .hot-lead-actions > .open-profile-button,
#app .lead-action-grid > .call-button,
#app .lead-action-grid > .email-button,
#app .lead-action-grid > .tool-button,
#app .lead-action-grid > .open-profile-button,
#app .lead-action-grid > .lead-profile-open,
#app .action-lead-buttons > .call-button,
#app .action-lead-buttons > .email-button,
#app .action-lead-buttons > .tool-button,
#app .action-lead-buttons > .open-profile-button,
#app .rich-table .hot-lead-actions > .call-button,
#app .rich-table .hot-lead-actions > .email-button,
#app .rich-table .hot-lead-actions > .tool-button,
#app .lead-profile-actions > .call-button,
#app .lead-profile-actions > .email-button,
#app .lead-profile-actions > .lead-profile-open {
  grid-column: 3 !important;
}

#app .money-move-actions.action-lead-no-contact > .open-profile-button:only-child,
#app .lead-action-row.action-lead-no-contact > .open-profile-button:only-child,
#app .lead-primary-actions.action-lead-no-contact > .open-profile-button:only-child,
#app .lead-action-grid.action-lead-no-contact > .open-profile-button:only-child,
#app .action-lead-buttons.action-lead-no-contact > .tool-button,
#app .action-lead-buttons.action-lead-no-contact > .open-profile-button,
#app .money-move-actions > .open-profile-button:only-child,
#app .lead-action-row > .open-profile-button:only-child,
#app .lead-primary-actions > .open-profile-button:only-child,
#app .hot-lead-actions > .tool-button:only-child,
#app .lead-action-grid > .tool-button:only-child,
#app .action-lead-buttons > .tool-button:only-child,
#app .lead-action-grid > .open-profile-button:only-child,
#app .action-lead-buttons > .open-profile-button:only-child {
  grid-column: 1 / -1 !important;
}

@media (max-width: 860px) {
  #app .money-move-actions,
  #app .lead-action-row,
  #app .lead-primary-actions,
  #app .lead-action-grid,
  #app .hot-lead-actions,
  #app .action-lead-buttons,
  #app .rich-table .hot-lead-actions,
  #app .lead-profile-actions,
  #app .money-move-actions .contact-actions.money,
  #app .lead-action-row .contact-actions.featured,
  #app .lead-primary-actions .contact-actions.lead-list,
  #app .hot-lead-actions .contact-actions.row,
  #app .lead-action-grid .contact-actions.action,
  #app .action-lead-buttons .contact-actions.action,
  #app .lead-profile-actions .contact-actions.profile {
    grid-template-columns: 1fr !important;
  }

  #app .money-move-actions > .call-button,
  #app .money-move-actions > .email-button,
  #app .money-move-actions > .tool-button,
  #app .money-move-actions > .open-profile-button,
  #app .money-move-actions > .lead-profile-open,
  #app .lead-action-row > .call-button,
  #app .lead-action-row > .email-button,
  #app .lead-action-row > .tool-button,
  #app .lead-action-row > .open-profile-button,
  #app .lead-action-row > .lead-profile-open,
  #app .lead-primary-actions > .call-button,
  #app .lead-primary-actions > .email-button,
  #app .lead-primary-actions > .open-profile-button,
  #app .lead-primary-actions > .tool-button,
  #app .lead-primary-actions > .lead-profile-open,
  #app .hot-lead-actions > .call-button,
  #app .hot-lead-actions > .email-button,
  #app .hot-lead-actions > .tool-button,
  #app .hot-lead-actions > .open-profile-button,
  #app .lead-action-grid > .call-button,
  #app .lead-action-grid > .email-button,
  #app .lead-action-grid > .tool-button,
  #app .lead-action-grid > .open-profile-button,
  #app .lead-action-grid > .lead-profile-open,
  #app .action-lead-buttons > .call-button,
  #app .action-lead-buttons > .email-button,
  #app .action-lead-buttons > .tool-button,
  #app .action-lead-buttons > .open-profile-button,
  #app .rich-table .hot-lead-actions > .call-button,
  #app .rich-table .hot-lead-actions > .email-button,
  #app .rich-table .hot-lead-actions > .tool-button {
    grid-column: 1 / -1 !important;
  }
}

/* Final client-shell authority. Kept last so obsolete responsive/card rules above
   cannot turn the approved rail back into a grid of raised buttons. */
#app.client-session { grid-template-columns: 286px minmax(0,1fr); }
#app.client-session .sidebar { display:flex; flex-direction:column; padding:26px 14px 18px; background:linear-gradient(180deg,#080e18,#070b13) !important; border-right:1px solid #202a3a; }
#app.client-session #mainNav, #app.client-session .client-menu-shell { display:flex; flex:1; flex-direction:column; }
#app.client-session .client-nav-primary { display:grid; gap:3px; }
#app.client-session .client-nav-secondary { margin-top:auto; padding-top:14px; border-top:1px solid rgba(132,148,178,.14); }
#app.client-session .client-menu-button { display:grid !important; grid-template-columns:28px minmax(0,1fr) !important; min-height:46px !important; gap:11px !important; padding:6px 11px !important; border:0 !important; border-radius:7px !important; color:#aeb9ce !important; background:transparent !important; box-shadow:none !important; text-align:left !important; }
#app.client-session .client-menu-button span { display:grid !important; width:28px !important; height:28px !important; place-items:center; border:0 !important; border-radius:7px !important; color:#95a3be; background:transparent !important; }
#app.client-session .client-menu-button span svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round; }
#app.client-session .client-menu-button.active { color:#f6f5ff !important; background:linear-gradient(90deg,rgba(102,83,219,.54),rgba(94,76,194,.26)) !important; box-shadow:inset 3px 0 0 #927dff !important; }
#app.client-session .client-menu-button.active span { color:#e8e4ff; background:rgba(255,255,255,.09) !important; }
#app.client-session .client-menu-button.signout { margin:12px 0 0 !important; color:#c4a4aa !important; }
#app.client-session .client-card { margin:18px 2px 0 !important; padding:14px !important; border:1px solid rgba(121,139,174,.16) !important; border-radius:11px !important; background:rgba(13,21,35,.62) !important; }
#app.client-session main { padding:0 !important; background:radial-gradient(circle at 57% -8%,rgba(94,77,224,.11),transparent 34%),#050a14 !important; }
#app.client-session .client-dashboard { max-width:1560px !important; margin:0 auto; padding:30px 28px 50px !important; }
#app.client-session .timing-command-surface { min-height:0 !important; border:1px solid rgba(128,144,183,.16); border-radius:16px; background:linear-gradient(145deg,rgba(10,17,33,.98),rgba(5,11,22,.98)) !important; }
#app.client-session .timing-command-workspace { min-height:0 !important; background:transparent !important; }
#app.client-session .timing-command-main { padding:16px 16px 20px !important; }
#app.client-session .timing-lanes { min-height:514px !important; }
#app.client-session .client-lead-drawer { position:fixed !important; z-index:50; top:0; right:0; width:min(520px,100vw); height:100dvh; padding:20px; overflow-y:auto; border-left:1px solid rgba(132,148,187,.22); background:rgba(5,10,20,.96); box-shadow:-24px 0 70px rgba(0,0,0,.43); animation:client-drawer-in .22s ease both; }
#app.client-session .client-lead-drawer .compact-lead-context { min-height:calc(100dvh - 40px); border:1px solid rgba(133,148,187,.2); border-radius:14px; background:#0b1425; }
@media (max-width: 980px) { #app.client-session { grid-template-columns:76px minmax(0,1fr); } #app.client-session .sidebar { padding:18px 10px !important; } #app.client-session .brand { justify-content:center; margin:0 0 25px; } #app.client-session .brand>div:last-child,#app.client-session .client-menu-button strong,#app.client-session .client-card { display:none; } #app.client-session .client-menu-button { grid-template-columns:1fr !important; justify-items:center; padding:6px !important; } }
@media (max-width: 680px) { #app.client-session { display:block; } #app.client-session .sidebar { position:relative; height:auto; min-height:66px; padding:12px 16px !important; border-right:0; border-bottom:1px solid #202a3a; } #app.client-session .brand { justify-content:flex-start; margin:0; } #app.client-session .brand>div:last-child { display:block; } #app.client-session #mainNav,#app.client-session .client-card { display:none; } #app.client-session .client-dashboard { padding:14px !important; } #app.client-session .timing-lanes { grid-template-columns:1fr !important; min-height:0 !important; } }

/* Client portal redesign: dense, timing-led workflows that keep the live data model intact. */
#app .work-queue-page,
#app .opportunity-areas-page {
  max-width: 1540px;
  margin: 0 auto;
}

#app .work-queue-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

#app .work-queue-head h2,
#app .opportunity-areas-page h2 {
  margin: 0;
  color: #f6f7ff;
  letter-spacing: -0.035em;
}

#app .work-queue-head p:not(.eyebrow) {
  max-width: 660px;
  margin: 8px 0 0;
  color: #9ca8c3;
}

#app .timing-spectrum {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(92px, 1fr));
  gap: 1px;
  min-width: 450px;
  overflow: hidden;
  border: 1px solid rgba(130, 144, 190, 0.22);
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(245, 73, 83, 0.2), rgba(246, 165, 55, 0.16), rgba(100, 221, 156, 0.15), rgba(73, 207, 232, 0.14));
  box-shadow: inset 0 1px rgba(255,255,255,0.05), 0 0 34px rgba(103, 89, 255, 0.08);
}

#app .timing-spectrum::after {
  position: absolute;
  right: 5%; bottom: 4px; left: 5%;
  height: 3px;
  content: "";
  border-radius: 99px;
  background: linear-gradient(90deg, #f44d59, #ffad3d 34%, #7be46a 64%, #43d8e6);
  box-shadow: 0 0 14px rgba(91, 220, 168, 0.5);
}

#app .timing-spectrum span {
  min-height: 59px;
  padding: 13px 14px 14px;
  color: #d9def4;
  font-size: 12px;
  font-weight: 750;
}

#app .timing-spectrum .hot { color: #ff737c; }
#app .timing-spectrum .active { color: #ffc65e; }
#app .timing-spectrum .warm { color: #79e7a6; }
#app .timing-spectrum .watch { color: #71e4ee; }

#app .work-queue-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 14px;
}

#app .work-queue-filters,
#app .work-queue-list,
#app .growth-corridors,
#app .area-signal-feed {
  border: 1px solid rgba(132, 147, 197, 0.2);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(13, 22, 42, 0.94), rgba(7, 14, 28, 0.95));
  box-shadow: inset 0 1px rgba(255,255,255,0.035), 0 16px 40px rgba(0,0,0,0.15);
}

#app .work-queue-filters { padding: 12px; }
#app .work-queue-filters label { display: grid; gap: 7px; margin-bottom: 12px; color: #93a2c2; font-size: 11px; font-weight: 700; }
#app .work-queue-filters input { width: 100%; min-width: 0; padding: 10px; border: 1px solid rgba(135, 147, 193, 0.24); border-radius: 9px; background: #091326; color: #f5f6ff; }
#app .work-queue-filter,
#app .growth-corridor {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
  padding: 11px 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #c7d0e7;
  background: transparent;
  text-align: left;
}

#app .work-queue-filter:hover,
#app .work-queue-filter.active,
#app .growth-corridor:hover,
#app .growth-corridor.primary {
  border-color: rgba(109, 91, 255, 0.68);
  background: linear-gradient(90deg, rgba(92, 73, 235, 0.26), rgba(56, 43, 132, 0.12));
  color: #fff;
}

#app .work-queue-filter b { min-width: 26px; padding: 3px 6px; border-radius: 99px; background: rgba(145, 155, 199, 0.14); color: #e2e6f6; text-align: center; }
#app .work-queue-filters > small { display: block; margin: 14px 4px 2px; color: #687797; font-size: 11px; }

#app .work-queue-list { min-width: 0; padding: 10px; }
#app .work-queue-columns,
#app .work-queue-row {
  display: grid;
  grid-template-columns: 54px minmax(190px, 1.4fr) minmax(105px, .72fr) minmax(150px, 1.1fr) minmax(70px, .52fr) minmax(78px, .5fr) 62px;
  align-items: center;
  gap: 10px;
}

#app .work-queue-columns { padding: 6px 10px 10px; color: #667493; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
#app .work-queue-group h3 { display: flex; align-items: center; gap: 8px; margin: 12px 3px 6px; color: #abb6d3; font-size: 12px; }
#app .work-queue-group h3::before { width: 7px; height: 7px; content: ""; border-radius: 50%; background: #6f82ff; box-shadow: 0 0 12px #6f82ff; }
#app .work-queue-group h3 span { color: #607090; font-size: 11px; }

#app .work-queue-row {
  width: 100%;
  min-height: 64px;
  margin-bottom: 5px;
  padding: 7px 10px;
  border: 1px solid rgba(131, 147, 190, 0.16);
  border-left: 3px solid #46d9e6;
  border-radius: 10px;
  background: rgba(12, 23, 43, 0.68);
  color: #ced6e9;
  text-align: left;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

#app .work-queue-row:hover { border-color: rgba(128, 108, 255, 0.7); background: rgba(31, 38, 81, 0.73); transform: translateX(2px); }
#app .work-queue-row.hot { border-left-color: #ff525e; box-shadow: inset 12px 0 20px rgba(255, 64, 76, 0.06); }
#app .work-queue-row.active { border-left-color: #ffb84d; }
#app .work-queue-row.warm { border-left-color: #6ee5a0; }
#app .work-queue-score { display: grid; width: 36px; height: 36px; place-items: center; border: 2px solid currentColor; border-radius: 50%; color: #e7ecff; font-weight: 800; }
#app .work-queue-row.hot .work-queue-score { color: #ff7078; box-shadow: 0 0 13px rgba(255,82,94,.32); }
#app .work-queue-row.active .work-queue-score { color: #ffc25d; }
#app .work-queue-row.warm .work-queue-score { color: #78e9ad; }
#app .work-queue-lead,
#app .work-queue-lead b,
#app .work-queue-lead small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#app .work-queue-lead b { color: #f3f5ff; font-size: 13px; }
#app .work-queue-lead small,
#app .work-queue-stage { color: #8795b5; font-size: 11px; }
#app .work-queue-action { overflow: hidden; color: #b8c3de; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
#app .work-queue-due { color: #d9e0f3; font-size: 11px; font-weight: 700; }
#app .work-queue-timing { justify-self: start; padding: 5px 7px; border: 1px solid rgba(104, 225, 158, 0.36); border-radius: 7px; color: #76e9a7; font-size: 10px; font-weight: 800; }
#app .work-queue-timing.hot { border-color: rgba(255, 81, 93, .55); color: #ff747c; }
#app .work-queue-timing.active { border-color: rgba(255, 181, 70, .5); color: #ffc25b; }
#app .work-queue-ready { color: #79dfdf; font-size: 14px; letter-spacing: 3px; white-space: nowrap; }
#app .queue-load-more { display: block; margin: 14px auto 4px; }

#app .opportunity-area-command { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(330px, .95fr); gap: 14px; }
#app .territory-map { position: relative; min-height: 360px; overflow: hidden; border: 1px solid rgba(131, 148, 199, .24); border-radius: 16px; background: radial-gradient(circle at 50% 48%, rgba(54, 77, 137, .28), transparent 42%), linear-gradient(135deg, #0c1830, #071020 72%); }
#app .territory-map::before { position: absolute; inset: 0; content: ""; opacity: .42; background-image: linear-gradient(rgba(96, 116, 177, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(96, 116, 177, .1) 1px, transparent 1px); background-size: 35px 35px; transform: rotate(-7deg) scale(1.2); }
#app .territory-map-label { position: absolute; top: 18px; left: 20px; color: #8795bc; font-size: 11px; font-weight: 800; letter-spacing: .24em; }
#app .territory-pin { position: absolute; top: var(--y); left: var(--x); z-index: 3; display: flex; align-items: center; gap: 7px; max-width: 160px; padding: 7px 9px; border: 1px solid rgba(77, 215, 227, .45); border-radius: 9px; color: #cceffa; background: rgba(7, 25, 44, .92); transform: translate(-50%, -50%); text-align: left; }
#app .territory-pin b { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; color: #0a1424; background: #46dbe6; font-size: 11px; }
#app .territory-pin.primary { border-color: rgba(255, 89, 100, .75); box-shadow: 0 0 28px rgba(255, 65, 78, .35); }
#app .territory-pin.primary b { color: #fff; background: #f65460; }
#app .territory-pin span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#app .territory-line { position: absolute; z-index: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(110, 228, 230, .6), transparent); transform-origin: left; }
#app .territory-line.one { top: 40%; left: 24%; width: 55%; transform: rotate(20deg); }
#app .territory-line.two { top: 63%; left: 27%; width: 48%; transform: rotate(-35deg); }
#app .territory-line.three { top: 49%; left: 38%; width: 36%; transform: rotate(61deg); }
#app .growth-corridors { padding: 14px; }
#app .growth-corridors h2 { font-size: 18px; }
#app .growth-corridor b { display: grid; flex: 0 0 25px; width: 25px; height: 25px; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 11px; }
#app .growth-corridor span { min-width: 0; flex: 1; }
#app .growth-corridor strong,
#app .growth-corridor small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#app .growth-corridor small { margin-top: 3px; color: #7e8bab; font-size: 10px; }
#app .growth-corridor em { color: #f0f3ff; font-size: 15px; font-style: normal; font-weight: 800; }
#app .area-spectrum { width: 100%; min-width: 0; margin: 14px 0; }
#app .area-signal-feed { padding: 14px; }
#app .area-signal-feed article + article { border-top: 1px solid rgba(130, 146, 195, .12); }
#app .area-signal-feed button { display: grid; width: 100%; grid-template-columns: minmax(150px, .8fr) minmax(0, 2fr) 100px 100px; gap: 14px; align-items: center; padding: 13px 4px; color: #aab6d2; background: transparent; text-align: left; }
#app .area-signal-feed button:hover strong { color: #8e7dff; }
#app .area-signal-feed strong { color: #eff2ff; }
#app .area-signal-feed span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#app .area-signal-feed em { color: #75e6a7; font-style: normal; font-weight: 700; }
#app .area-signal-feed i { color: #9384ff; font-style: normal; font-weight: 700; }

/* Lead drawer defaults to an action brief: timing, proof and contact ahead of raw fields. */
#app .drawer:has(.lead-profile) { width: min(480px, calc(100vw - 20px)); background: #07101f; }
#app .lead-profile-hero { padding-bottom: 16px; border-bottom: 1px solid rgba(131, 147, 190, .18); }
#app .lead-profile-score { border-radius: 50%; box-shadow: 0 0 28px rgba(255, 82, 94, .28); }
#app .lead-profile .lead-profile-facts,
#app .lead-profile .lead-profile-tabs,
#app .lead-profile .lead-profile-panel[data-profile-panel="outcome"] { display: none !important; }
#app .lead-profile .lead-profile-panel[data-profile-panel="overview"],
#app .lead-profile .lead-profile-panel[data-profile-panel="evidence"],
#app .lead-profile .lead-profile-panel[data-profile-panel="timing"] { display: block !important; margin-top: 12px; }
#app .lead-profile-actions { grid-template-columns: 1fr 1fr; }
#app .lead-profile-actions .outcome-group { display: none; }
#app .lead-profile-command { grid-template-columns: 1fr 1fr; }
#app .lead-profile-command article:last-child { display: none; }
#app .lead-profile-panel[data-profile-panel="evidence"]::before { display: block; margin: 2px 0 8px; color: #a79cff; content: "PROOF TO OPEN"; font-size: 10px; font-weight: 850; letter-spacing: .14em; }

@media (max-width: 980px) {
  #app .work-queue-head,
  #app .opportunity-area-command { display: grid; grid-template-columns: 1fr; }
  #app .compact-spectrum { min-width: 0; }
  #app .work-queue-layout { grid-template-columns: 1fr; }
  #app .work-queue-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  #app .work-queue-filters label { grid-column: 1 / -1; }
  #app .work-queue-filter { margin: 0; }
}

@media (max-width: 720px) {
  #app .work-queue-columns { display: none; }
  #app .work-queue-row { grid-template-columns: 42px minmax(0, 1fr) auto; gap: 8px; }
  #app .work-queue-score { width: 32px; height: 32px; }
  #app .work-queue-stage,
  #app .work-queue-action,
  #app .work-queue-due,
  #app .work-queue-ready { display: none; }
  #app .work-queue-timing { justify-self: end; }
  #app .work-queue-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #app .territory-map { min-height: 300px; }
  #app .area-signal-feed button { grid-template-columns: 1fr auto; }
  #app .area-signal-feed span,
  #app .area-signal-feed i { display: none; }
  #app .area-signal-feed em { grid-column: 2; }
}

/* Last-pass dashboard action alignment (desktop/tablet/mobile):
   Call / Email / Open must always stay aligned and within card bounds. */
#app .money-move-actions.lead-action-grid,
#app .lead-action-row.lead-action-grid,
#app .lead-primary-actions.lead-action-grid,
#app .hot-lead-actions.lead-action-grid,
#app .action-lead-buttons.lead-action-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1.18fr) minmax(0, 1fr) !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  align-items: stretch !important;
  justify-items: stretch !important;
}

#app .money-move-actions.lead-action-grid .contact-actions.money,
#app .lead-action-row.lead-action-grid .contact-actions.featured,
#app .lead-primary-actions.lead-action-grid .contact-actions.lead-list,
#app .hot-lead-actions.lead-action-grid .contact-actions.row,
#app .action-lead-buttons.lead-action-grid .contact-actions.action {
  grid-column: 1 / span 2 !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  align-items: stretch !important;
  justify-items: stretch !important;
}

#app .money-move-actions.lead-action-grid .call-button,
#app .money-move-actions.lead-action-grid .email-button,
#app .money-move-actions.lead-action-grid .tool-button,
#app .money-move-actions.lead-action-grid .open-profile-button,
#app .lead-action-row.lead-action-grid .call-button,
#app .lead-action-row.lead-action-grid .email-button,
#app .lead-action-row.lead-action-grid .tool-button,
#app .lead-action-row.lead-action-grid .open-profile-button,
#app .lead-primary-actions.lead-action-grid .call-button,
#app .lead-primary-actions.lead-action-grid .email-button,
#app .lead-primary-actions.lead-action-grid .tool-button,
#app .lead-primary-actions.lead-action-grid .open-profile-button,
#app .hot-lead-actions.lead-action-grid .call-button,
#app .hot-lead-actions.lead-action-grid .email-button,
#app .hot-lead-actions.lead-action-grid .tool-button,
#app .hot-lead-actions.lead-action-grid .open-profile-button,
#app .action-lead-buttons.lead-action-grid .call-button,
#app .action-lead-buttons.lead-action-grid .email-button,
#app .action-lead-buttons.lead-action-grid .tool-button,
#app .action-lead-buttons.lead-action-grid .open-profile-button {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  min-height: 39px !important;
  padding-inline: 10px !important;
  padding-block: 8px !important;
  text-overflow: ellipsis !important;
  overflow: hidden !important;
  white-space: normal !important;
}

#app .money-move-actions.lead-action-grid > .tool-button,
#app .money-move-actions.lead-action-grid > .open-profile-button,
#app .lead-action-row.lead-action-grid > .tool-button,
#app .lead-action-row.lead-action-grid > .open-profile-button,
#app .lead-primary-actions.lead-action-grid > .tool-button,
#app .lead-primary-actions.lead-action-grid > .open-profile-button,
#app .hot-lead-actions.lead-action-grid > .tool-button,
#app .hot-lead-actions.lead-action-grid > .open-profile-button,
#app .action-lead-buttons.lead-action-grid > .tool-button,
#app .action-lead-buttons.lead-action-grid > .open-profile-button {
  grid-column: 3 !important;
}

#app .money-move-actions.lead-action-grid .contact-actions.money *,
#app .lead-action-row.lead-action-grid .contact-actions.featured *,
#app .lead-primary-actions.lead-action-grid .contact-actions.lead-list *,
#app .hot-lead-actions.lead-action-grid .contact-actions.row *,
#app .action-lead-buttons.lead-action-grid .contact-actions.action * {
  width: 100% !important;
  min-width: 0 !important;
}

@media (max-width: 920px) {
  #app .money-move-actions.lead-action-grid,
  #app .lead-action-row.lead-action-grid,
  #app .lead-primary-actions.lead-action-grid,
  #app .hot-lead-actions.lead-action-grid,
  #app .action-lead-buttons.lead-action-grid {
    grid-template-columns: 1fr !important;
  }

  #app .money-move-actions.lead-action-grid .contact-actions.money,
  #app .lead-action-row.lead-action-grid .contact-actions.featured,
  #app .lead-primary-actions.lead-action-grid .contact-actions.lead-list,
  #app .hot-lead-actions.lead-action-grid .contact-actions.row,
  #app .action-lead-buttons.lead-action-grid .contact-actions.action {
    grid-template-columns: 1fr !important;
  }

  #app .money-move-actions.lead-action-grid > .tool-button,
  #app .money-move-actions.lead-action-grid > .open-profile-button,
  #app .lead-action-row.lead-action-grid > .tool-button,
  #app .lead-action-row.lead-action-grid > .open-profile-button,
  #app .lead-primary-actions.lead-action-grid > .tool-button,
  #app .lead-primary-actions.lead-action-grid > .open-profile-button,
  #app .hot-lead-actions.lead-action-grid > .tool-button,
  #app .hot-lead-actions.lead-action-grid > .open-profile-button,
  #app .action-lead-buttons.lead-action-grid > .tool-button,
  #app .action-lead-buttons.lead-action-grid > .open-profile-button {
    grid-column: 1 / -1 !important;
  }

  #app .money-move-actions.lead-action-grid .call-button,
  #app .money-move-actions.lead-action-grid .email-button,
  #app .lead-action-row.lead-action-grid .call-button,
  #app .lead-action-row.lead-action-grid .email-button,
  #app .lead-primary-actions.lead-action-grid .call-button,
  #app .lead-primary-actions.lead-action-grid .email-button,
  #app .hot-lead-actions.lead-action-grid .call-button,
  #app .hot-lead-actions.lead-action-grid .email-button,
  #app .action-lead-buttons.lead-action-grid .call-button,
  #app .action-lead-buttons.lead-action-grid .email-button {
    grid-column: 1 !important;
  }
}

/* Hard action-fit override for dashboard lead rows:
   guarantee identical controls and prevent bleed at any container width.
   Targets: "Your best moves this week" and "Best leads to work now". */
#app .lead-action-grid {
  container-type: normal !important;
}

#app .money-move-actions.lead-action-grid,
#app .hot-lead-actions.lead-action-grid,
#app .lead-action-row.lead-action-grid,
#app .lead-primary-actions.lead-action-grid,
#app .action-lead-buttons.lead-action-grid {
  box-sizing: border-box !important;
  width: min(100%, 100%) !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

#app .money-move-actions.lead-action-grid,
#app .hot-lead-actions.lead-action-grid,
#app .lead-action-row.lead-action-grid,
#app .lead-primary-actions.lead-action-grid,
#app .action-lead-buttons.lead-action-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 8px !important;
  align-items: stretch !important;
  justify-content: stretch !important;
}

#app .money-move-actions.lead-action-grid .contact-actions.money,
#app .lead-action-row.lead-action-grid .contact-actions.featured,
#app .lead-primary-actions.lead-action-grid .contact-actions.lead-list,
#app .hot-lead-actions.lead-action-grid .contact-actions.row,
#app .action-lead-buttons.lead-action-grid .contact-actions.action {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  align-items: stretch !important;
  justify-items: stretch !important;
  align-self: stretch !important;
}

#app .money-move-actions.lead-action-grid > .tool-button,
#app .money-move-actions.lead-action-grid > .open-profile-button,
#app .hot-lead-actions.lead-action-grid > .tool-button,
#app .hot-lead-actions.lead-action-grid > .open-profile-button,
#app .lead-action-row.lead-action-grid > .tool-button,
#app .lead-action-row.lead-action-grid > .open-profile-button,
#app .lead-primary-actions.lead-action-grid > .tool-button,
#app .lead-primary-actions.lead-action-grid > .open-profile-button,
#app .action-lead-buttons.lead-action-grid > .tool-button,
#app .action-lead-buttons.lead-action-grid > .open-profile-button {
  grid-column: 3 / 4 !important;
}

#app .money-move-actions.lead-action-grid .call-button,
#app .money-move-actions.lead-action-grid .email-button,
#app .lead-action-row.lead-action-grid .call-button,
#app .lead-action-row.lead-action-grid .email-button,
#app .lead-primary-actions.lead-action-grid .call-button,
#app .lead-primary-actions.lead-action-grid .email-button,
#app .hot-lead-actions.lead-action-grid .call-button,
#app .hot-lead-actions.lead-action-grid .email-button,
#app .action-lead-buttons.lead-action-grid .call-button,
#app .action-lead-buttons.lead-action-grid .email-button {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  grid-column: auto !important;
  text-align: center !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  line-height: 1.05 !important;
}

#app .money-move-actions.lead-action-grid .tool-button,
#app .money-move-actions.lead-action-grid .open-profile-button,
#app .lead-action-row.lead-action-grid .tool-button,
#app .lead-action-row.lead-action-grid .open-profile-button,
#app .lead-primary-actions.lead-action-grid .tool-button,
#app .lead-primary-actions.lead-action-grid .open-profile-button,
#app .hot-lead-actions.lead-action-grid .tool-button,
#app .hot-lead-actions.lead-action-grid .open-profile-button,
#app .action-lead-buttons.lead-action-grid .tool-button,
#app .action-lead-buttons.lead-action-grid .open-profile-button {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}

#app .money-move-actions.lead-action-grid .contact-actions.money *,
#app .lead-action-row.lead-action-grid .contact-actions.featured *,
#app .lead-primary-actions.lead-action-grid .contact-actions.lead-list *,
#app .hot-lead-actions.lead-action-grid .contact-actions.row *,
#app .action-lead-buttons.lead-action-grid .contact-actions.action * {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

#app .mobile-dashboard .money-move-actions.lead-action-grid,
#app .mobile-dashboard .hot-lead-actions.lead-action-grid,
#app .mobile-dashboard .lead-action-row.lead-action-grid,
#app .mobile-dashboard .lead-primary-actions.lead-action-grid,
#app .mobile-dashboard .action-lead-buttons.lead-action-grid {
  grid-template-columns: 1fr !important;
  gap: 8px !important;
}

#app .mobile-dashboard .money-move-actions.lead-action-grid .contact-actions.money,
#app .mobile-dashboard .lead-action-row.lead-action-grid .contact-actions.featured,
#app .mobile-dashboard .lead-primary-actions.lead-action-grid .contact-actions.lead-list,
#app .mobile-dashboard .hot-lead-actions.lead-action-grid .contact-actions.row,
#app .mobile-dashboard .action-lead-buttons.lead-action-grid .contact-actions.action {
  grid-template-columns: 1fr 1fr !important;
}

#app .mobile-dashboard .money-move-actions.lead-action-grid > .tool-button,
#app .mobile-dashboard .money-move-actions.lead-action-grid > .open-profile-button,
#app .mobile-dashboard .lead-action-row.lead-action-grid > .tool-button,
#app .mobile-dashboard .lead-action-row.lead-action-grid > .open-profile-button,
#app .mobile-dashboard .lead-primary-actions.lead-action-grid > .tool-button,
#app .mobile-dashboard .lead-primary-actions.lead-action-grid > .open-profile-button,
#app .mobile-dashboard .hot-lead-actions.lead-action-grid > .tool-button,
#app .mobile-dashboard .hot-lead-actions.lead-action-grid > .open-profile-button,
#app .mobile-dashboard .action-lead-buttons.lead-action-grid > .tool-button,
#app .mobile-dashboard .action-lead-buttons.lead-action-grid > .open-profile-button {
  grid-column: 1 / -1 !important;
}

@media (max-width: 980px) {
  .area-command-card {
    grid-template-columns: 42px minmax(0, 1fr);
  }
  .area-command-next {
    grid-column: 1 / -1;
    padding-left: 56px;
  }
  .finance-outcomes-grid,
  .action-plan-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .finance-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .finance-entry,
  .area-command-card,
  .action-lead {
    grid-template-columns: 1fr;
  }
  .area-command-next {
    padding-left: 0;
  }
  .hunter-nudge {
    display: none;
  }
}

#app .client-action-plan .action-lead-buttons.lead-action-grid {
  grid-template-columns: repeat(3, minmax(74px, 92px)) !important;
  justify-content: start !important;
  align-items: center !important;
  gap: 7px !important;
}

#app .client-action-plan .action-lead-buttons.lead-action-grid.action-lead-no-contact {
  grid-template-columns: minmax(74px, 92px) !important;
}

#app .client-action-plan .action-lead-buttons.lead-action-grid .contact-actions.action {
  display: contents !important;
}

#app .client-action-plan .action-lead-buttons.lead-action-grid .call-button,
#app .client-action-plan .action-lead-buttons.lead-action-grid .email-button,
#app .client-action-plan .action-lead-buttons.lead-action-grid .tool-button {
  min-height: 34px !important;
  height: 34px !important;
  padding: 7px 9px !important;
  border-radius: 8px !important;
  font-size: 11px !important;
}

@media (max-width: 680px) {
  #app .client-action-plan .action-lead-buttons.lead-action-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* Client dashboard redesign pass: put value first, remove empty lanes, and keep lead actions compact. */
#app .client-page-content[data-client-page="dashboard"] {
  display: grid;
  gap: 16px;
}

#app .client-page-content[data-client-page="dashboard"] .product-stats {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
  gap: 12px;
  margin: 4px 0 2px;
  min-width: 0;
}

#app .client-page-content[data-client-page="dashboard"] .product-stats .metric {
  min-width: 0;
  min-height: 116px;
  padding: 16px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.018)),
    rgba(7, 17, 18, 0.92);
}

#app .client-page-content[data-client-page="dashboard"] .product-stats .metric strong {
  font-size: clamp(27px, 2.15vw, 38px);
  letter-spacing: 0;
}

#app .client-page-content[data-client-page="dashboard"] .product-stats .fit-metric strong {
  color: var(--green);
}

#app .client-page-content[data-client-page="dashboard"] .client-value-alert {
  display: none !important;
}

#app .client-page-content[data-client-page="dashboard"] .demo-value-front {
  grid-template-columns: minmax(240px, 0.7fr) minmax(360px, 1.18fr) minmax(360px, 1.18fr);
  min-height: 0;
  align-items: stretch;
}

#app .client-page-content[data-client-page="dashboard"] .demo-value-front.no-future {
  grid-template-columns: minmax(240px, 0.72fr) minmax(520px, 1.7fr);
}

#app .client-page-content[data-client-page="dashboard"] .demo-value-copy {
  align-content: start;
}

#app .client-page-content[data-client-page="dashboard"] .demo-value-copy h2 {
  max-width: 10ch;
}

#app .client-page-content[data-client-page="dashboard"] .demo-lead-stack.future {
  min-height: 100%;
}

#app .client-page-content[data-client-page="dashboard"] .money-move-card {
  gap: 8px;
  padding: 12px;
}

#app .client-page-content[data-client-page="dashboard"] .money-move-proof {
  flex-wrap: wrap;
}

#app .client-page-content[data-client-page="dashboard"] .money-move-actions.lead-action-grid {
  grid-template-columns: repeat(3, minmax(74px, 1fr)) !important;
  gap: 7px !important;
}

#app .client-page-content[data-client-page="dashboard"] .money-move-actions.lead-action-grid .contact-actions.money {
  display: contents !important;
}

#app .client-page-content[data-client-page="dashboard"] .money-move-actions.lead-action-grid .call-button,
#app .client-page-content[data-client-page="dashboard"] .money-move-actions.lead-action-grid .email-button,
#app .client-page-content[data-client-page="dashboard"] .money-move-actions.lead-action-grid .tool-button {
  min-height: 32px !important;
  height: 32px !important;
  padding: 6px 10px !important;
  border-radius: 8px !important;
  font-size: 11px !important;
  line-height: 1 !important;
}

#app .rich-table .opportunity-row .hot-lead-actions.lead-action-grid {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 6px !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  justify-content: flex-start !important;
  align-items: center !important;
  overflow: visible !important;
}

#app .rich-table .opportunity-row .hot-lead-actions.lead-action-grid .contact-actions.row {
  display: contents !important;
  grid-column: auto !important;
  width: auto !important;
}

#app .rich-table .opportunity-row .hot-lead-actions.lead-action-grid .call-button,
#app .rich-table .opportunity-row .hot-lead-actions.lead-action-grid .email-button,
#app .rich-table .opportunity-row .hot-lead-actions.lead-action-grid .tool-button {
  flex: 0 1 72px !important;
  width: auto !important;
  min-width: 62px !important;
  max-width: 82px !important;
  min-height: 30px !important;
  height: 30px !important;
  padding: 6px 9px !important;
  border-radius: 8px !important;
  font-size: 11px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

@container (max-width: 1180px) {
  #app .client-page-content[data-client-page="dashboard"] .product-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  #app .client-page-content[data-client-page="dashboard"] .demo-value-front,
  #app .client-page-content[data-client-page="dashboard"] .demo-value-front.no-future {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  #app .client-page-content[data-client-page="dashboard"] .product-stats {
    grid-template-columns: 1fr 1fr;
  }
  #app .client-page-content[data-client-page="dashboard"] .demo-value-copy h2 {
    max-width: none;
  }
  #app .rich-table .opportunity-row .hot-lead-actions.lead-action-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    width: 100% !important;
  }
  #app .rich-table .opportunity-row .hot-lead-actions.lead-action-grid .call-button,
  #app .rich-table .opportunity-row .hot-lead-actions.lead-action-grid .email-button,
  #app .rich-table .opportunity-row .hot-lead-actions.lead-action-grid .tool-button {
    max-width: none !important;
    width: 100% !important;
  }
}

/* Strike Map redesign: replace score-widget hero with a visual timing horizon. */
#app .strike-command-center.strike-map-hero {
  grid-template-columns: minmax(0, 1fr) minmax(330px, 410px);
  min-height: 470px;
  gap: 20px;
  padding: 20px;
  border-color: rgba(108, 228, 207, 0.26);
  border-radius: 16px;
  background:
    radial-gradient(circle at 18% 24%, rgba(108, 228, 207, 0.12), transparent 32%),
    radial-gradient(circle at 88% 8%, rgba(255, 215, 110, 0.12), transparent 28%),
    linear-gradient(112deg, rgba(3, 16, 18, 0.98), rgba(7, 13, 15, 0.96) 52%, rgba(22, 22, 15, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.07),
    0 34px 90px rgba(0,0,0,0.34);
  overflow: visible;
}

#app .strike-command-center.strike-map-hero::before {
  opacity: 0.18;
}

#app .strike-map-board,
#app .strike-next-brief {
  position: relative;
  z-index: 1;
  min-width: 0;
}

#app .strike-map-board {
  display: grid;
  grid-template-rows: auto minmax(560px, 1fr) auto;
  gap: 16px;
}

#app .strike-map-head {
  display: grid;
  max-width: 920px;
  gap: 8px;
}

#app .strike-system-label {
  display: inline-flex;
  width: fit-content;
  min-height: 22px;
  align-items: center;
  padding-left: 10px;
  border-left: 3px solid #6ce4cf;
  color: #8ff2e4;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .02em;
  text-transform: uppercase;
}

#app .strike-map-head h2 {
  margin: 0;
  color: #fff7e7;
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1.05;
}

#app .strike-map-head p {
  max-width: 850px;
  margin: 0;
  color: #b8d7d1;
  font-size: 14px;
  line-height: 1.55;
}

#app .strike-map-rail {
  --bar-y: 51%;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  min-height: 560px;
  padding: 26px 30px 30px;
  border: 1px solid rgba(108, 228, 207, 0.11);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(108, 228, 207, 0.07), transparent 26%, rgba(255, 215, 110, 0.06) 62%, transparent),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 90px),
    rgba(0,0,0,0.22);
  overflow: visible;
}

#app .strike-map-rail::before {
  content: "";
  position: absolute;
  left: 44px;
  right: 44px;
  top: var(--bar-y);
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff735f 0 23%, #ffd76e 23% 48%, #6ce4cf 48% 74%, rgba(255,255,255,0.22) 74% 100%);
  box-shadow:
    0 0 30px rgba(108, 228, 207, 0.18),
    0 0 44px rgba(255, 215, 110, 0.08);
}

#app .strike-map-segment {
  position: relative;
  min-width: 0;
  min-height: 104px;
  padding: 4px 16px;
  border-right: 1px solid rgba(255,255,255,0.055);
  border-radius: 0;
  background: transparent;
}

#app .strike-map-segment.hot {
  border-color: rgba(255,255,255,0.055);
  background: linear-gradient(180deg, rgba(255, 115, 95, 0.08), transparent 78%);
}

#app .strike-map-segment.active {
  border-color: rgba(255,255,255,0.055);
}

#app .strike-map-segment.warm {
  border-color: rgba(255,255,255,0.055);
}

#app .strike-map-segment strong {
  display: block;
  color: #fff7e7;
  font-size: 17px;
}

#app .strike-map-segment span {
  display: block;
  margin-top: 6px;
  color: #ffd76e;
  font-size: 28px;
  font-weight: 950;
}

#app .strike-map-segment small {
  display: block;
  max-width: 150px;
  margin-top: 9px;
  color: #96bcb6;
  font-size: 11.5px;
  line-height: 1.35;
}

#app .strike-map-sweep {
  position: absolute;
  left: 44px;
  right: 44px;
  top: calc(var(--bar-y) - 16px);
  height: 42px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(108, 228, 207, 0.24), rgba(255, 215, 110, 0.16), transparent);
  transform: translateX(-65%);
  animation: strikeMapSweep 6.4s ease-in-out infinite;
  mix-blend-mode: screen;
}

#app .strike-map-lead {
  position: absolute;
  left: var(--x);
  z-index: 3;
  display: grid;
  gap: 5px;
  width: 176px;
  min-height: 82px;
  padding: 11px 12px 12px;
  border: 1px solid rgba(108, 228, 207, 0.28);
  border-radius: 14px;
  color: #f4fff9;
  background:
    linear-gradient(135deg, rgba(108, 228, 207, 0.14), rgba(255, 215, 110, 0.055)),
    rgba(2, 12, 13, 0.95);
  box-shadow:
    0 16px 34px rgba(0,0,0,0.34),
    inset 0 1px 0 rgba(255,255,255,0.07);
  text-align: left;
  overflow: visible;
  transform: translateX(-50%);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

#app .strike-map-lead.above-far {
  top: calc(var(--bar-y) - 235px);
}

#app .strike-map-lead.above {
  top: calc(var(--bar-y) - 125px);
}

#app .strike-map-lead.below {
  top: calc(var(--bar-y) + 35px);
}

#app .strike-map-lead.below-far {
  top: calc(var(--bar-y) + 165px);
}

#app .strike-map-lead::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 13px;
  height: 13px;
  border: 3px solid #071011;
  border-radius: 999px;
  background: #6ce4cf;
  box-shadow: 0 0 18px rgba(108, 228, 207, 0.7);
  transform: translate(-50%, 0);
}

#app .strike-map-lead.above::after,
#app .strike-map-lead.above-far::after {
  top: 119px;
}

#app .strike-map-lead.above-far::after {
  top: 229px;
}

#app .strike-map-lead.below::after,
#app .strike-map-lead.below-far::after {
  top: -41px;
}

#app .strike-map-lead.below-far::after {
  top: -171px;
}

#app .strike-map-lead.primary {
  width: 188px;
  min-height: 88px;
  border-color: rgba(255, 215, 110, 0.48);
  background:
    linear-gradient(135deg, rgba(255, 215, 110, 0.16), rgba(108, 228, 207, 0.11)),
    rgba(5, 18, 17, 0.96);
}

#app .strike-map-lead::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  height: 20px;
  background: linear-gradient(180deg, rgba(108, 228, 207, 0.7), transparent);
  transform: translateX(-50%);
}

#app .strike-map-lead.above::before,
#app .strike-map-lead.above-far::before {
  bottom: -22px;
}

#app .strike-map-lead.above-far::before {
  bottom: -147px;
  height: 145px;
}

#app .strike-map-lead.below::before,
#app .strike-map-lead.below-far::before {
  top: -22px;
  background: linear-gradient(0deg, rgba(108, 228, 207, 0.7), transparent);
}

#app .strike-map-lead.below-far::before {
  top: -167px;
  height: 165px;
}

#app .strike-map-lead:focus {
  outline: 2px solid rgba(255, 215, 110, 0.62);
  outline-offset: 3px;
}

#app .strike-map-lead.primary::after {
  background: #ffd76e;
  box-shadow: 0 0 22px rgba(255, 215, 110, 0.85);
}

#app .strike-map-lead:hover,
#app .strike-map-lead:focus-visible {
  z-index: 18;
  border-color: rgba(255, 215, 110, 0.56);
  box-shadow: 0 18px 44px rgba(0,0,0,0.34), 0 0 32px rgba(108, 228, 207, 0.13);
  transform: translateX(-50%) translateY(-4px) scale(1.02);
}

#app .strike-map-lead.below:hover,
#app .strike-map-lead.below:focus-visible,
#app .strike-map-lead.below-far:hover,
#app .strike-map-lead.below-far:focus-visible {
  transform: translateX(-50%) translateY(4px) scale(1.02);
}

#app .strike-map-lead span {
  color: #ffd76e;
  font-size: 9.5px;
  font-weight: 950;
  text-transform: uppercase;
}

#app .strike-map-lead b {
  overflow: visible;
  color: #fff7e7;
  font-size: 14px;
  line-height: 1.15;
  text-overflow: clip;
  white-space: normal;
}

#app .strike-map-lead em,
#app .strike-map-lead i {
  color: #aacdc7;
  font-size: 10.5px;
  font-style: normal;
  line-height: 1.3;
  white-space: normal;
}

#app .strike-map-lead i {
  display: block;
  color: #dff8f1;
}

#app .strike-map-footer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

#app .strike-map-footer button {
  min-width: 0;
  min-height: 62px;
  padding: 11px 13px;
  border: 1px solid rgba(108, 228, 207, 0.12);
  border-radius: 13px;
  color: #9fbbb6;
  background:
    linear-gradient(135deg, rgba(108, 228, 207, 0.07), rgba(255, 215, 110, 0.035)),
    rgba(0,0,0,0.24);
  font-size: 11px;
  font-weight: 900;
  text-align: left;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

#app .strike-map-footer button:hover {
  border-color: rgba(255, 215, 110, 0.34);
  background:
    linear-gradient(135deg, rgba(108, 228, 207, 0.11), rgba(255, 215, 110, 0.08)),
    rgba(0,0,0,0.24);
  transform: translateY(-2px);
}

#app .strike-map-footer b {
  display: block;
  color: #ffe079;
  font-size: 24px;
  line-height: 1;
}

#app .strike-map-footer span {
  display: block;
  margin-top: 5px;
}

#app .strike-next-brief {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(255, 215, 110, 0.22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 215, 110, 0.15), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)),
    rgba(0,0,0,0.31);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.065);
}

#app .strike-brief-tag {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 28px;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(255, 215, 110, 0.3);
  border-radius: 999px;
  color: #ffe079;
  background: rgba(255, 215, 110, 0.055);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
  line-height: 1.25;
}

#app .strike-next-brief h3 {
  margin: 0;
  color: #fff7e7;
  font-size: clamp(25px, 2.1vw, 34px);
  line-height: 1.05;
}

#app .strike-next-brief p {
  margin: 0;
  color: #c5ded8;
  line-height: 1.55;
}

#app .strike-next-brief dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

#app .strike-next-brief dl div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(108, 228, 207, 0.14);
  border-radius: 12px;
  background: rgba(0,0,0,0.22);
}

#app .strike-next-brief dt {
  color: #8ee7dc;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

#app .strike-next-brief dd {
  margin: 0;
  color: #f4fff9;
  font-size: 12px;
  line-height: 1.42;
}

#app .strike-next-brief .tool-button.strong {
  min-height: 48px;
  border-radius: 13px !important;
}

@keyframes strikeMapSweep {
  0%, 40% { transform: translateX(-65%); }
  75%, 100% { transform: translateX(65%); }
}

/* Strike map v7: cards live inside timing windows; the animation belongs to the rail. */
#app .strike-map-board {
  grid-template-rows: auto minmax(360px, auto) auto;
}

#app .strike-map-rail {
  --bar-y: auto;
  position: relative;
  align-items: stretch;
  min-height: 360px;
  padding: 18px 22px 62px;
  overflow: hidden;
}

#app .strike-map-rail::before {
  left: 34px;
  right: 34px;
  top: auto;
  bottom: 31px;
  height: 6px;
}

#app .strike-map-sweep {
  left: 34px;
  right: 34px;
  top: auto;
  bottom: 17px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(108, 228, 207, 0.2), rgba(255, 215, 110, 0.24), transparent);
}

#app .strike-map-segment {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
  min-height: 280px;
  padding: 14px 16px 28px;
  border-right: 1px solid rgba(255,255,255,0.055);
}

#app .strike-map-segment-head {
  display: grid;
  gap: 5px;
  min-height: 106px;
  align-content: start;
}

#app .strike-map-segment > strong,
#app .strike-map-segment > span,
#app .strike-map-segment > small {
  display: none;
}

#app .strike-map-segment-head strong {
  display: block;
  color: #fff7e7;
  font-size: 18px;
}

#app .strike-map-segment-head span {
  display: block;
  color: #ffd76e;
  font-size: 29px;
  font-weight: 950;
  line-height: 1;
}

#app .strike-map-segment-head small {
  display: block;
  max-width: 155px;
  color: #9dcac3;
  font-size: 12px;
  line-height: 1.28;
}

#app .strike-map-segment-leads {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
}

#app .strike-map-segment-leads > em {
  align-self: start;
  max-width: 160px;
  color: rgba(157, 202, 195, 0.52);
  font-size: 11px;
  font-style: normal;
  line-height: 1.35;
}

#app .strike-map-lead {
  position: relative;
  left: auto;
  top: auto;
  width: min(100%, 218px);
  min-height: 0;
  padding: 12px 12px;
  transform: none;
}

#app .strike-map-lead.primary {
  width: min(100%, 228px);
  min-height: 0;
}

#app .strike-map-lead::before,
#app .strike-map-lead::after {
  display: none;
}

#app .strike-map-lead:hover,
#app .strike-map-lead:focus-visible,
#app .strike-map-lead.below:hover,
#app .strike-map-lead.below:focus-visible,
#app .strike-map-lead.below-far:hover,
#app .strike-map-lead.below-far:focus-visible {
  transform: translateY(-2px);
}

#app .strike-map-lead span {
  font-size: 9px;
}

#app .strike-map-lead b {
  font-size: 14px;
  max-width: 100%;
}

#app .strike-map-lead em,
#app .strike-map-lead i {
  color: #bde1da;
  font-size: 10.5px;
  font-weight: 850;
}

#app .strike-map-lead i {
  color: #f6fff9;
}

#app .strike-brief-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

#app .strike-brief-metrics article {
  display: grid;
  gap: 4px;
  padding: 11px 12px;
  border: 1px solid rgba(108, 228, 207, 0.14);
  border-radius: 12px;
  background: rgba(0,0,0,0.23);
}

#app .strike-brief-metrics span {
  color: #8ee7dc;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

#app .strike-brief-metrics strong {
  color: #fff7e7;
  font-size: 13.5px;
  line-height: 1.28;
}

#app .strike-next-brief .tool-button.strong {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 215, 110, 0.5) !important;
  color: #071110 !important;
  background:
    linear-gradient(135deg, #ffd76e 0%, #dff29b 48%, #75e5d5 100%) !important;
  box-shadow:
    0 18px 36px rgba(0,0,0,0.28),
    0 0 28px rgba(108, 228, 207, 0.16),
    inset 0 1px 0 rgba(255,255,255,0.48) !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  text-transform: uppercase;
}

#app .strike-next-brief .tool-button.strong::after {
  content: "→";
  margin-left: 10px;
  font-size: 14px;
}

/* Strike map v9: premium decision board, no floating tooltip markers. */
#app .strike-command-center.strike-map-hero {
  grid-template-columns: minmax(760px, 1fr) minmax(320px, 370px);
  align-items: stretch;
}

#app .strike-map-board {
  grid-template-rows: auto minmax(390px, auto) auto;
  gap: 14px;
}

#app .strike-map-head h2 {
  max-width: 760px;
  font-size: clamp(32px, 2.55vw, 44px);
  line-height: 1.06;
}

#app .strike-map-head p {
  max-width: 760px;
}

#app .strike-map-rail {
  min-height: 390px;
  padding: 18px 20px 64px;
  border-color: rgba(108, 228, 207, 0.18);
  background:
    linear-gradient(90deg, rgba(108, 228, 207, 0.08), transparent 25%, rgba(255, 215, 110, 0.07) 60%, transparent),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.045) 0 1px, transparent 1px 94px),
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.01)),
    rgba(0,0,0,0.28);
}

#app .strike-map-rail::before {
  bottom: 32px;
  height: 7px;
  box-shadow:
    0 0 18px rgba(255, 215, 110, 0.14),
    0 0 36px rgba(108, 228, 207, 0.2);
}

#app .strike-map-sweep {
  bottom: 19px;
  height: 32px;
  opacity: 0.72;
  transform: translateX(-42%);
  animation: strikeMapSweepV9 5.6s cubic-bezier(.45,0,.2,1) infinite;
}

@keyframes strikeMapSweepV9 {
  0% { transform: translateX(-42%); opacity: 0.18; }
  16% { opacity: 0.78; }
  62% { opacity: 0.82; }
  100% { transform: translateX(42%); opacity: 0.22; }
}

#app .strike-map-segment {
  min-height: 306px;
  padding: 14px 14px 30px;
}

#app .strike-map-segment-head {
  min-height: 94px;
  padding: 0 2px;
}

#app .strike-map-segment-head strong {
  font-size: 17px;
}

#app .strike-map-segment-head span {
  font-size: 28px;
}

#app .strike-map-segment-head small {
  max-width: 180px;
  color: #b3d7d1;
}

#app .strike-map-segment-leads {
  gap: 9px;
}

#app .strike-map-lead,
#app .strike-map-lead.primary {
  width: 100%;
  max-width: 238px;
  border-radius: 12px;
  padding: 11px 12px;
  background:
    linear-gradient(135deg, rgba(108, 228, 207, 0.11), rgba(255, 215, 110, 0.05)),
    rgba(2, 13, 14, 0.94);
}

#app .strike-map-lead span {
  color: #ffe079;
}

#app .strike-map-lead b {
  font-size: 13px;
  line-height: 1.12;
}

#app .strike-map-lead em {
  color: #d4f2ec;
  font-size: 10.2px;
  line-height: 1.18;
}

#app .strike-map-lead i {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin-top: 1px;
  padding: 4px 7px;
  border: 1px solid rgba(108, 228, 207, 0.18);
  border-radius: 999px;
  color: #f8fff9;
  background: rgba(108, 228, 207, 0.08);
  font-size: 9.3px;
  line-height: 1.2;
}

#app .strike-next-brief {
  grid-template-rows: auto auto auto 1fr auto;
  align-content: stretch;
  gap: 10px;
  padding: 16px;
}

#app .strike-next-brief h3 {
  font-size: clamp(23px, 1.55vw, 28px);
  line-height: 1.06;
}

#app .strike-brief-summary {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  color: #d6eee8 !important;
  font-size: 12.8px;
  line-height: 1.44 !important;
}

#app .strike-brief-insights {
  display: grid;
  gap: 10px;
}

#app .strike-brief-insights article {
  display: grid;
  gap: 4px;
  padding: 10px 11px;
  border: 1px solid rgba(108, 228, 207, 0.15);
  border-radius: 13px;
  background:
    linear-gradient(135deg, rgba(108, 228, 207, 0.07), rgba(255, 215, 110, 0.035)),
    rgba(0,0,0,0.24);
}

#app .strike-brief-insights span {
  color: #8ff2e4;
  font-size: 9.8px;
  font-weight: 950;
  letter-spacing: .02em;
  text-transform: uppercase;
}

#app .strike-brief-insights strong {
  color: #fff7e7;
  font-size: 12.8px;
  line-height: 1.22;
}

#app .strike-brief-insights p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin: 0;
  color: #bfd9d3;
  font-size: 11.8px;
  line-height: 1.32;
}

#app .strike-next-brief .tool-button.strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  height: auto;
  padding: 14px 16px !important;
  line-height: 1.2;
  align-self: end;
}

/* Strike map v13: desktop restores the animated timeline; mobile keeps the stacked board. */
#app .client-plan-badge.premium {
  min-height: 0;
  padding: 0 0 0 10px;
  border: 0;
  border-left: 2px solid rgba(255, 215, 110, 0.9);
  border-radius: 0;
  color: #ffe079;
  background: transparent;
  box-shadow: none;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

#app .strike-brief-tag {
  min-height: 0;
  padding: 0 0 0 10px;
  border: 0;
  border-left: 2px solid rgba(255, 215, 110, 0.9);
  border-radius: 0;
  background: transparent;
}

#app .strike-map-lead i,
#app .strike-map-lead.primary i {
  display: block;
  width: auto;
  max-width: 100%;
  margin-top: 2px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #dff8f1;
  background: transparent;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.2;
}

@media (min-width: 861px) {
  #app .strike-map-board {
    grid-template-rows: auto minmax(430px, auto) auto;
  }

  #app .strike-map-rail {
    --bar-y: 66%;
    min-height: 430px;
    padding: 18px 24px 44px;
    overflow: hidden;
  }

  #app .strike-map-rail::before {
    left: 44px;
    right: 44px;
    top: var(--bar-y);
    bottom: auto;
    height: 6px;
  }

  #app .strike-map-sweep {
    left: 44px;
    right: 44px;
    top: calc(var(--bar-y) - 15px);
    bottom: auto;
    height: 36px;
    border-radius: 0;
  }

  #app .strike-map-segment {
    position: relative;
    display: block;
    min-height: 360px;
    padding: 18px 20px 34px;
  }

  #app .strike-map-segment-head {
    min-height: 0;
    max-width: 178px;
    padding: 0;
  }

  #app .strike-map-segment-head strong {
    font-size: 18px;
  }

  #app .strike-map-segment-head span {
    font-size: 30px;
  }

  #app .strike-map-segment-leads {
    position: absolute;
    inset: 0;
    display: block;
    pointer-events: none;
  }

  #app .strike-map-segment-leads > em {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(var(--bar-y) - 12px);
    max-width: 170px;
  }

  #app .strike-map-lead,
  #app .strike-map-lead.primary {
    position: absolute;
    width: min(88%, 214px);
    max-width: 214px;
    min-height: 0;
    padding: 12px 13px;
    pointer-events: auto;
    transform: translateX(-50%);
  }

  #app .strike-map-lead:nth-child(1) {
    left: 43%;
    top: calc(var(--bar-y) - 105px);
  }

  #app .strike-map-lead:nth-child(2) {
    left: 57%;
    top: calc(var(--bar-y) + 34px);
  }

  #app .strike-map-segment.active .strike-map-lead:nth-child(1),
  #app .strike-map-segment.watch .strike-map-lead:nth-child(1) {
    left: 46%;
  }

  #app .strike-map-segment.active .strike-map-lead:nth-child(2),
  #app .strike-map-segment.watch .strike-map-lead:nth-child(2) {
    left: 54%;
  }

  #app .strike-map-lead::before,
  #app .strike-map-lead::after {
    display: block;
    content: "";
    position: absolute;
    left: 50%;
    pointer-events: none;
    transform: translateX(-50%);
  }

  #app .strike-map-lead::before {
    bottom: -32px;
    width: 1px;
    height: 30px;
    background: linear-gradient(180deg, rgba(108, 228, 207, 0.76), transparent);
  }

  #app .strike-map-lead::after {
    bottom: -40px;
    width: 13px;
    height: 13px;
    border: 3px solid #071011;
    border-radius: 999px;
    background: #6ce4cf;
    box-shadow: 0 0 18px rgba(108, 228, 207, 0.7);
  }

  #app .strike-map-lead.primary::after {
    background: #ffd76e;
    box-shadow: 0 0 22px rgba(255, 215, 110, 0.85);
  }

  #app .strike-map-lead:nth-child(2)::before {
    top: -32px;
    bottom: auto;
    background: linear-gradient(0deg, rgba(108, 228, 207, 0.76), transparent);
  }

  #app .strike-map-lead:nth-child(2)::after {
    top: -40px;
    bottom: auto;
  }

  #app .strike-map-lead:hover,
  #app .strike-map-lead:focus-visible {
    transform: translateX(-50%) translateY(-4px);
  }
}

@media (max-width: 1320px) {
  #app .strike-command-center.strike-map-hero {
    grid-template-columns: 1fr;
  }
  #app .strike-map-lead {
    width: clamp(140px, 19vw, 220px);
  }
}

@media (max-width: 860px) {
  #app .strike-command-center.strike-map-hero {
    min-height: 0;
    padding: 14px;
  }
  #app .strike-map-board {
    grid-template-rows: auto auto auto;
  }
  #app .strike-map-head,
  #app .strike-map-footer {
    display: grid;
  }
  #app .strike-map-head h2 {
    font-size: clamp(32px, 9vw, 42px);
  }
  #app .strike-map-head p {
    display: none;
  }
  #app .strike-map-rail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: 0;
    padding: 10px;
  }
  #app .strike-map-rail::before,
  #app .strike-map-sweep {
    display: none;
  }
  #app .strike-map-segment {
    display: grid;
    grid-template-columns: minmax(88px, 118px) minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    min-height: 0;
    padding: 11px;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    background: rgba(0,0,0,0.19);
  }
  #app .strike-map-segment-head {
    min-height: 0;
    gap: 4px;
    padding: 0;
  }
  #app .strike-map-segment-head strong {
    font-size: 16px;
    line-height: 1.1;
  }
  #app .strike-map-segment-head span {
    font-size: 22px;
    line-height: 1;
  }
  #app .strike-map-segment-head small {
    display: block;
    max-width: 100%;
    font-size: 10.5px;
    line-height: 1.25;
  }
  #app .strike-map-segment-leads {
    gap: 7px;
    align-content: start;
  }
  #app .strike-map-lead {
    grid-column: auto;
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
    min-height: 0;
    margin-top: 0;
    padding: 9px 10px;
    transform: none;
  }
  #app .strike-map-lead span {
    display: block;
    margin: 0 0 3px;
    color: #ffe079;
    font-size: 8.5px !important;
    font-weight: 950;
    line-height: 1.1;
    letter-spacing: .01em;
    text-transform: uppercase;
    white-space: normal;
  }
  #app .strike-map-lead b {
    display: block;
    color: #fff7e7;
    font-size: 13px !important;
    line-height: 1.12;
    white-space: normal;
  }
  #app .strike-map-lead em {
    display: block;
    margin-top: 3px;
    color: #d4f2ec;
    font-size: 10.2px !important;
    font-style: normal;
    font-weight: 850;
    line-height: 1.18;
    white-space: normal;
  }
  #app .strike-map-lead i,
  #app .strike-map-lead.primary i {
    display: block;
    width: auto;
    max-width: 100%;
    margin-top: 6px;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: #f8fff9;
    background: transparent;
    font-size: 9.2px !important;
    font-style: normal;
    font-weight: 900;
    line-height: 1.15;
    white-space: normal;
  }
  #app .strike-map-lead:hover {
    width: 100%;
    min-height: 0;
    transform: translateY(-2px);
  }
  #app .strike-map-lead::after {
    display: none;
  }
  #app .strike-map-lead::before {
    display: none;
  }
  #app .strike-map-footer {
    display: none;
  }
  #app .strike-next-brief {
    padding: 16px;
  }
  #app .strike-next-brief h3 {
    font-size: 26px;
  }
  #app .strike-next-brief p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
  }
  #app .strike-next-brief dl div:nth-child(n+3) {
    display: none;
  }
}

/* Strike map v17: clean two-lane timing board. Keep this after prior strike-map experiments. */
#app .strike-map-head h2 {
  max-width: 820px;
  text-wrap: balance;
  letter-spacing: 0;
}

#app .strike-map-head p {
  max-width: 780px;
  color: #c7ded8;
}

#app .strike-map-lead span {
  color: #ffe079;
  font-size: 9px !important;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

#app .strike-map-lead i,
#app .strike-map-lead.primary i {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

@media (min-width: 861px) {
  #app .strike-map-board {
    grid-template-rows: auto minmax(470px, auto) auto;
  }

  #app .strike-map-rail {
    --bar-y: 58%;
    min-height: 470px;
    padding: 20px 24px 46px;
    overflow: hidden;
  }

  #app .strike-map-segment {
    min-height: 400px;
    padding: 20px 20px 38px;
  }

  #app .strike-map-segment-head {
    max-width: 190px;
  }

  #app .strike-map-segment-head strong {
    font-size: 18px;
  }

  #app .strike-map-segment-head span {
    font-size: 31px;
  }

  #app .strike-map-segment-leads {
    position: absolute;
    inset: 0;
    display: block;
    pointer-events: none;
  }

  #app .strike-map-lead,
  #app .strike-map-lead.primary {
    position: absolute;
    width: min(88%, 222px);
    max-width: 222px;
    padding: 12px 13px;
    pointer-events: auto;
    transform: translateX(-50%);
  }

  #app .strike-map-lead:nth-child(1) {
    left: 38%;
    top: calc(var(--bar-y) - 78px);
  }

  #app .strike-map-lead:nth-child(2) {
    left: 64%;
    top: calc(var(--bar-y) + 58px);
  }

  #app .strike-map-segment.active .strike-map-lead:nth-child(1),
  #app .strike-map-segment.watch .strike-map-lead:nth-child(1) {
    left: 42%;
  }

  #app .strike-map-segment.active .strike-map-lead:nth-child(2),
  #app .strike-map-segment.watch .strike-map-lead:nth-child(2) {
    left: 66%;
  }

  #app .strike-map-lead::before,
  #app .strike-map-lead::after {
    display: block;
    content: "";
    position: absolute;
    left: 50%;
    pointer-events: none;
    transform: translateX(-50%);
  }

  #app .strike-map-lead::before {
    bottom: -16px;
    width: 1px;
    height: 14px;
    background: linear-gradient(180deg, rgba(108, 228, 207, 0.8), transparent);
  }

  #app .strike-map-lead::after {
    bottom: -27px;
    width: 14px;
    height: 14px;
    border: 3px solid #071011;
    border-radius: 999px;
    background: #6ce4cf;
    box-shadow: 0 0 18px rgba(108, 228, 207, 0.72);
  }

  #app .strike-map-lead:nth-child(2)::before {
    top: -52px;
    bottom: auto;
    height: 50px;
    background: linear-gradient(0deg, rgba(108, 228, 207, 0.8), transparent);
  }

  #app .strike-map-lead:nth-child(2)::after {
    top: -63px;
    bottom: auto;
  }

  #app .strike-map-lead.primary::after {
    background: #ffd76e;
    box-shadow: 0 0 22px rgba(255, 215, 110, 0.86);
  }
}

@media (max-width: 860px) {
  #app .strike-map-head h2 {
    font-size: clamp(30px, 8.4vw, 38px);
    line-height: 1.04;
  }

  #app .strike-map-segment-leads {
    display: grid;
    gap: 8px;
  }
}

/* Premium Timing Command Centre: the client dashboard is a focused work surface. */
#app.client-session main:has(.client-page-content[data-client-page="dashboard"]) .topbar,
#app.client-session .client-dashboard:has(.client-page-content[data-client-page="dashboard"]) .lead-product-header { display: none !important; }
#app.client-session .topbar,
#app.client-session .lead-product-header { display: none !important; }
#app.client-session main:has(.client-page-content[data-client-page="dashboard"]) { padding: 0 !important; background: #060c16; }
#app.client-session main:has(.client-page-content[data-client-page="dashboard"]) .view.active { padding: 0 !important; }
#app.client-session .client-dashboard:has(.client-page-content[data-client-page="dashboard"]) { max-width: none; padding: 0; }
#app.client-session .client-page-content[data-client-page="dashboard"] { padding: 0; }
#app .timing-command-surface { min-height: 100vh; padding: 0; background: radial-gradient(circle at 35% 0%, rgba(95, 76, 220, .13), transparent 34%), #070d18; color: #edf1ff; }
#app .timing-command-toolbar { display: flex; min-height: 86px; align-items: center; justify-content: space-between; gap: 24px; margin: 0; padding: 18px 24px; border-bottom: 1px solid rgba(120, 137, 177, .16); }
#app .timing-command-title { display: flex; align-items: center; gap: 13px; }
#app .timing-command-title > span { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(147, 129, 255, .32); border-radius: 13px; color: #b1a5ff; font-size: 28px; background: linear-gradient(145deg, rgba(133, 112, 255, .2), rgba(255,255,255,.03)); box-shadow: 0 0 28px rgba(113, 94, 255, .18); }
#app .timing-command-title h2 { margin: 0; color: #f4f5ff; font-size: 28px; letter-spacing: -.04em; }
#app .timing-command-title p { margin: 4px 0 0; color: #8f9ab4; font-size: 14px; }
#app .timing-command-tools { display: flex; gap: 10px; }
#app .timing-command-tools button,
#app .timing-command-tools label { display: flex; min-height: 44px; align-items: center; gap: 9px; padding: 0 14px; border: 1px solid rgba(128, 145, 185, .2); border-radius: 10px; color: #abb5cd; background: rgba(10, 18, 31, .86); font: inherit; }
#app .timing-command-tools button b { display: grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; color: #c4bbff; background: rgba(125, 102, 252, .17); font-size: 11px; }
#app .timing-filter { position: relative; cursor: pointer; }
#app .timing-filter::after { content: "⌄"; margin-left: 2px; color: #8490aa; font-size: 15px; }
#app .timing-filter select { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
#app .timing-command-tools input { width: 230px; border: 0; outline: 0; color: #edf1ff; background: transparent; font: inherit; }
#app .timing-search kbd { margin-left: 14px; padding: 3px 5px; border: 1px solid rgba(135, 147, 182, .22); border-radius: 5px; color: #77839d; font-size: 10px; font-family: inherit; }
#app .timing-command-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 550px; min-height: calc(100vh - 86px); margin: 0; overflow: hidden; background: rgba(8, 15, 28, .82); }
#app .timing-command-workspace.no-focus { grid-template-columns: minmax(0, 1fr); }
#app .timing-command-main { min-width: 0; padding: 24px; }
#app .timing-lanes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); min-height: 664px; overflow: hidden; border: 1px solid rgba(120, 137, 177, .13); border-radius: 13px 13px 0 0; }
#app .timing-lane { min-width: 0; padding: 17px 12px; border-right: 1px solid rgba(120, 137, 177, .11); background: linear-gradient(180deg, rgba(255,255,255,.018), transparent 42%); }
#app .timing-lane:last-child { border-right: 0; }
#app .timing-lane.hot { background: linear-gradient(180deg, rgba(255, 69, 86, .09), transparent 48%); }
#app .timing-lane.active { background: linear-gradient(180deg, rgba(255, 177, 43, .075), transparent 48%); }
#app .timing-lane.warm { background: linear-gradient(180deg, rgba(35, 215, 186, .07), transparent 48%); }
#app .timing-lane header { display: flex; justify-content: space-between; gap: 8px; min-height: 62px; padding: 0 4px; }
#app .timing-lane h3 { margin: 0; color: #d9e0f3; font-size: 17px; }
#app .timing-lane p { margin: 6px 0 0; color: #8995ae; font-size: 12px; line-height: 1.35; }
#app .timing-lane header > b { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid rgba(139, 151, 185, .2); border-radius: 50%; color: #cdd5eb; font-size: 13px; }
#app .timing-lane.hot header > b { color: #ff717b; border-color: rgba(255, 82, 94, .36); box-shadow: 0 0 18px rgba(255, 63, 83, .16); }
#app .timing-lane.active header > b { color: #ffbb45; border-color: rgba(255, 184, 57, .34); }
#app .timing-lane.warm header > b { color: #5ce3cb; border-color: rgba(55, 220, 190, .35); }
#app .timing-lane-list { display: grid; gap: 12px; margin-top: 16px; }
#app .timing-lane-lead { display: grid; grid-template-columns: 34px minmax(0, 1fr) 34px; align-items: start; gap: 9px; width: 100%; min-height: 108px; padding: 14px 12px; border: 1px solid rgba(121, 138, 177, .2); border-radius: 10px; color: inherit; background: rgba(11, 20, 35, .82); text-align: left; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
#app .timing-lane-lead:hover { transform: translateY(-2px); border-color: rgba(157, 142, 255, .65); box-shadow: 0 9px 28px rgba(0,0,0,.23), 0 0 22px rgba(117, 99, 255, .12); }
#app .timing-lane-lead.hot { border-color: rgba(255, 83, 96, .4); background: linear-gradient(135deg, rgba(114, 23, 36, .37), rgba(11, 20, 35, .86)); }
#app .timing-lane-lead.active { border-color: rgba(255, 182, 54, .3); background: linear-gradient(135deg, rgba(99, 69, 22, .3), rgba(11, 20, 35, .86)); }
#app .timing-lane-lead.warm { border-color: rgba(54, 216, 186, .3); background: linear-gradient(135deg, rgba(14, 83, 79, .28), rgba(11, 20, 35, .86)); }
#app .timing-lane-mark { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 9px; color: #f4f5ff; background: linear-gradient(145deg, #4b5b78, #202a3e); font-size: 13px; font-weight: 900; }
#app .timing-lane-copy { display: grid; gap: 3px; min-width: 0; }
#app .timing-lane-copy b { overflow: hidden; color: #edf1ff; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
#app .timing-lane-copy small { display: -webkit-box; overflow: hidden; color: #aab5cb; font-size: 11px; line-height: 1.3; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
#app .timing-lane-copy .timing-lane-signal { display: block; color: #d3d9ec; font-size: 10px; font-weight: 700; -webkit-line-clamp: 1; }
#app .timing-lane-copy em { color: #8491ab; font-size: 10px; font-style: normal; }
#app .timing-lane-copy em { display: flex; justify-content: space-between; gap: 4px; margin-top: auto; color: #7e8aa4; }
#app .timing-lane-lead > strong { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: #ccd4e9; background: rgba(121, 139, 177, .11); font-size: 12px; }
#app .timing-lane.hot .timing-lane-lead > strong { color: #ff737d; background: rgba(255, 69, 84, .13); }
#app .timing-lane.active .timing-lane-lead > strong { color: #ffc458; background: rgba(255, 180, 47, .12); }
#app .timing-lane.warm .timing-lane-lead > strong { color: #65e2cb; background: rgba(45, 219, 186, .12); }
#app .timing-empty { padding: 10px 4px; color: #6f7b94; }
#app .timing-more { margin: 14px 3px 0; border: 0; color: #a79cff; background: transparent; font: inherit; text-align: left; }
#app .timing-horizon { position: relative; display: flex; justify-content: space-between; padding: 19px 8px 0; color: #8c99b4; font-size: 12px; }
#app .timing-horizon i { position: absolute; top: 0; right: 8px; left: 8px; height: 16px; overflow: hidden; border-radius: 999px; background: linear-gradient(90deg, #ff4d59 0%, #ff6146 14%, #ffbf3f 39%, #b9e453 55%, #2ad7a9 100%); box-shadow: 0 0 20px rgba(255, 187, 59, .24); }
#app .timing-horizon i::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, rgba(255,255,255,.85) 0 1px, transparent 2px) 0 50% / 16px 16px repeat-x, linear-gradient(90deg, transparent, rgba(255,255,255,.52), transparent); mix-blend-mode: screen; animation: timing-horizon-shimmer 3.2s linear infinite; }
@keyframes timing-horizon-shimmer { from { background-position: 0 50%, -180px 0; } to { background-position: 16px 50%, 180px 0; } }
#app .timing-horizon b { color: #e7c14c; font-weight: 700; }
#app .timing-horizon em { color: #4bd1ad; font-style: normal; }
#app .timing-command-metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
#app .timing-command-metrics button { min-height: 150px; padding: 18px; border: 1px solid rgba(126, 143, 181, .17); border-radius: 12px; color: #94a0bb; background: linear-gradient(145deg, rgba(19, 29, 49, .72), rgba(8, 15, 27, .78)); text-align: left; }
#app .timing-command-metrics span { display: block; font-size: 12px; }
#app .timing-command-metrics .timing-metric-icon { display: grid; width: 32px; height: 32px; place-items: center; margin-bottom: 12px; border-radius: 10px; color: #a99dff; background: rgba(130, 111, 255, .12); font-size: 17px; }
#app .timing-command-metrics .hot .timing-metric-icon { color: #ff7580; background: rgba(255, 73, 87, .12); }
#app .timing-command-metrics .conversations .timing-metric-icon { color: #5de2b8; background: rgba(40, 211, 158, .12); }
#app .timing-command-metrics .meetings .timing-metric-icon { color: #ffbd4e; background: rgba(255, 182, 49, .12); }
#app .timing-command-metrics .win .timing-metric-icon { color: #55b9ff; background: rgba(65, 157, 255, .12); }
#app .timing-command-metrics b { display: block; margin-top: 16px; color: #f1f3fc; font-size: 25px; }
#app .timing-command-metrics small { display: block; margin-top: 8px; color: #50d5a4; font-size: 11px; }
#app .timing-focus-panel { display: flex; flex-direction: column; min-width: 0; padding: 24px; border-left: 1px solid rgba(123, 140, 181, .18); background: linear-gradient(180deg, rgba(8, 15, 29, .98), rgba(6, 11, 22, .98)); }
#app .timing-focus-panel > header { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; }
#app .timing-focus-close { display: grid; width: 30px; height: 30px; place-items: center; border: 0; color: #a2adc4; background: transparent; font-size: 26px; line-height: 1; }
#app .timing-panel-controls { display: flex; justify-content: flex-end; gap: 6px; }
#app .timing-panel-controls button { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid rgba(129, 144, 179, .2); border-radius: 8px; color: #a8b2c9; background: rgba(13, 23, 40, .72); font-size: 17px; }
#app .timing-panel-close { justify-self: end; grid-column: 2; width: 30px; height: 30px; border: 0; color: #9aa6c2; background: transparent; font-size: 28px; line-height: 1; }
#app .timing-focus-identity { display: flex; grid-column: 1 / span 2; align-items: center; gap: 12px; }
#app .timing-focus-identity > span { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 15px; color: #dcd8ff; background: linear-gradient(145deg, #6349c7, #1c5790); font-size: 22px; font-weight: 900; }
#app .timing-focus-identity h3 { margin: 0; color: #f2f4ff; font-size: 18px; }
#app .timing-focus-identity p { margin: 4px 0; color: #a7b1c9; font-size: 12px; }
#app .timing-focus-identity small { color: #7e89a5; font-size: 11px; }
#app .timing-focus-score { display: grid; width: 56px; height: 56px; place-items: center; border: 4px solid rgba(255, 83, 96, .66); border-radius: 50%; color: #ff7a86; box-shadow: 0 0 24px rgba(255, 59, 78, .17); font-size: 22px; }
#app .timing-focus-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; margin: 22px 0; padding: 13px 0; border-top: 1px solid rgba(124, 141, 181, .15); border-bottom: 1px solid rgba(124, 141, 181, .15); }
#app .timing-focus-facts span { color: #e4e8f7; font-size: 12px; text-align: center; }
#app .timing-focus-facts small { display: block; margin-top: 5px; color: #77849d; font-size: 10px; }
#app .timing-focus-panel nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-bottom: 1px solid rgba(124, 141, 181, .17); }
#app .timing-focus-panel nav button { padding: 0 0 12px; border: 0; border-bottom: 2px solid transparent; color: #8793ae; background: transparent; font: inherit; font-size: 11px; }
#app .timing-focus-panel nav button.active { border-color: #8274ff; color: #d0caff; }
#app .timing-focus-why { margin-top: 22px; padding: 16px; border: 1px solid rgba(124, 141, 181, .16); border-radius: 12px; background: rgba(19, 30, 51, .54); }
#app .timing-focus-why > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
#app .timing-focus-why > div span { color: #dce2f7; font-weight: 800; }
#app .timing-focus-why > div b { padding: 5px 8px; border-radius: 999px; color: #ff858f; background: rgba(255, 81, 95, .13); font-size: 10px; }
#app .timing-focus-why article { display: flex; gap: 10px; margin-top: 12px; }
#app .timing-focus-why i { display: grid; flex: 0 0 19px; width: 19px; height: 19px; place-items: center; border-radius: 50%; color: #52dcac; background: rgba(38, 206, 154, .13); font-size: 11px; font-style: normal; }
#app .timing-focus-why strong { color: #e4e8f5; font-size: 12px; }
#app .timing-focus-why p { margin: 4px 0 0; color: #8e9ab3; font-size: 11px; line-height: 1.35; }
#app .timing-focus-proof { margin-top: 12px; padding: 14px; border: 1px solid rgba(144, 119, 243, .18); border-radius: 12px; background: linear-gradient(135deg, rgba(83, 49, 133, .18), rgba(19, 28, 49, .44)); }
#app .timing-focus-proof > span { display: block; color: #bcaeff; font-size: 11px; font-weight: 800; text-transform: uppercase; }
#app .timing-focus-proof strong { display: block; margin-top: 8px; color: #edf0fb; font-size: 13px; }
#app .timing-focus-proof p { margin: 6px 0 0; color: #9da9c1; font-size: 11px; line-height: 1.4; }
#app .timing-proof-attachment { display: flex; gap: 10px; margin-top: 9px; padding: 10px; border: 1px solid rgba(155, 133, 251, .2); border-radius: 9px; background: rgba(77, 48, 126, .12); }
#app .timing-proof-attachment i { display: grid; flex: 0 0 28px; width: 28px; height: 28px; place-items: center; border-radius: 7px; color: #c2b8ff; background: rgba(163, 143, 255, .13); font-style: normal; }
#app .timing-proof-attachment strong { margin: 0; }
#app .timing-focus-panel footer { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; padding-top: 18px; }
#app .timing-focus-panel footer .timing-call,
#app .timing-focus-panel footer .timing-open { display: grid; min-height: 46px; place-items: center; border-radius: 9px; font: inherit; font-weight: 800; text-decoration: none; }
#app .timing-call { border: 0; color: white; background: linear-gradient(135deg, #df3138, #b8202b); box-shadow: 0 8px 22px rgba(216, 39, 49, .22); }
#app .timing-open { border: 1px solid rgba(127, 143, 181, .35); color: #d8dff1; background: transparent; }
@media (max-width: 1180px) { #app .timing-command-workspace { grid-template-columns: 1fr; } #app .timing-focus-panel { border-top: 1px solid rgba(123, 140, 181, .18); border-left: 0; } }
@media (max-width: 760px) { #app .timing-command-surface { padding: 0; } #app .timing-command-toolbar { align-items: flex-start; flex-direction: column; gap: 12px; padding: 14px; } #app .timing-command-title h2 { font-size: 22px; } #app .timing-command-tools { width: 100%; } #app .timing-command-main { padding: 12px; } #app .timing-lanes { grid-template-columns: 1fr 1fr; min-height: 0; } #app .timing-lane { min-height: 260px; border-bottom: 1px solid rgba(120, 137, 177, .11); } #app .timing-lane:nth-child(2) { border-right: 0; } #app .timing-lane-lead { min-height: 82px; } #app .timing-command-metrics { grid-template-columns: 1fr 1fr; } #app .timing-focus-panel { padding: 16px; } }

/* Client workspace: a deliberately quiet rail and inset product canvas.  These
   rules supersede the old raised-button navigation rather than recolouring it. */
#app.client-session { grid-template-columns: 286px minmax(0, 1fr); background: #050a14; }
#app.client-session .sidebar { gap: 0; padding: 26px 14px 18px; border-right: 1px solid #202a3a; background: linear-gradient(180deg, #080e18 0%, #090f19 68%, #070b13 100%); box-shadow: none; }
#app.client-session .brand { margin: 0 10px 30px; }
#app.client-session .mark { width: 42px; height: 42px; border-radius: 13px; border-color: rgba(122, 116, 255, .35); background: radial-gradient(circle, rgba(83, 208, 195, .22), transparent 62%), #101827; }
#app.client-session .brand strong { color: #f0f3ff; font-size: 17px; letter-spacing: -.02em; }
#app.client-session .brand span { margin-top: 3px; color: #8390a7; }
#app.client-session #mainNav { display: flex; min-height: 0; flex: 1; flex-direction: column; gap: 0; }
#app.client-session .client-menu-shell { display: flex; height: 100%; flex: 1; flex-direction: column; gap: 0; }
#app.client-session .client-nav-primary { display: grid; gap: 3px; }
#app.client-session .client-nav-secondary { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(132, 148, 178, .14); }
#app.client-session .client-menu-button { grid-template-columns: 28px minmax(0, 1fr); min-height: 46px; gap: 11px; padding: 6px 11px; border: 0; border-radius: 7px; color: #aeb9ce; background: transparent; }
#app.client-session .client-menu-button span { width: 28px; height: 28px; border-radius: 7px; color: #95a3be; background: transparent; }
#app.client-session .client-menu-button span svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.65; }
#app.client-session .client-menu-button strong { font-size: 13px; font-weight: 650; }
#app.client-session .client-menu-button:hover { border: 0; background: rgba(119, 111, 232, .08); }
#app.client-session .client-menu-button.active { border: 0; color: #f6f5ff; background: linear-gradient(90deg, rgba(102, 83, 219, .54), rgba(94, 76, 194, .26)); box-shadow: inset 3px 0 0 #927dff; }
#app.client-session .client-menu-button.active span { color: #e8e4ff; background: rgba(255,255,255,.09); }
#app.client-session .client-menu-button.signout { margin: 12px 0 0; border: 0; color: #c4a4aa; }
#app.client-session .client-menu-button.signout span { color: #d2949c; border: 0; background: transparent; }
#app.client-session .client-card { margin: 18px 2px 0; padding: 14px; border: 1px solid rgba(121, 139, 174, .16); border-radius: 11px; background: rgba(13, 21, 35, .62); }
#app.client-session .side-client { display: grid; gap: 5px; }
#app.client-session .side-client-logo { width: 100%; height: 122px; margin: 8px 0 9px; border: 1px solid rgba(136, 117, 255, .16); border-radius: 10px; background: radial-gradient(circle at 50% 42%, rgba(105, 89, 236, .13), transparent 62%), #0a111d; }
#app.client-session .side-client-logo img { width: 100%; height: 100%; object-fit: contain; padding: 15px; }
#app.client-session .side-client strong { color: #edf1fb; font-size: 13px; }.client-session .side-client span { color: #8794aa; font-size: 11px; }
#app.client-session .mini-stat { margin-top: 12px; padding-top: 11px; border-top-color: rgba(132, 148, 178, .15); }.client-session .mini-stat strong { color: #f2c55c; font-size: 20px; }

#app.client-session main { min-width: 0; padding: 0; background: radial-gradient(circle at 57% -8%, rgba(94, 77, 224, .11), transparent 34%), #050a14; }
#app.client-session .client-dashboard { max-width: 1560px; margin: 0 auto; padding: 30px 28px 50px; }
#app.client-session .client-page-content[data-client-page="dashboard"] { padding: 0; }
#app.client-session .timing-command-surface { min-height: 0; overflow: hidden; border: 1px solid rgba(128, 144, 183, .16); border-radius: 16px; background: linear-gradient(145deg, rgba(10, 17, 33, .98), rgba(5, 11, 22, .98)); box-shadow: 0 20px 55px rgba(0, 0, 0, .22); }
#app.client-session .timing-command-toolbar { min-height: 94px; padding: 21px 24px; background: rgba(7, 14, 27, .68); }
#app.client-session .timing-command-title > span { width: 43px; height: 43px; font-size: 23px; }
#app.client-session .timing-command-title h2 { font-size: 25px; }
#app.client-session .timing-command-workspace { min-height: 0; background: transparent; }
#app.client-session .timing-command-main { padding: 16px 16px 20px; }
#app.client-session .timing-lanes { min-height: 514px; border-radius: 11px 11px 0 0; }
#app.client-session .timing-lane { padding: 15px 11px; }
#app.client-session .timing-lane header { min-height: 57px; }
#app.client-session .timing-lane h3 { font-size: 16px; }
#app.client-session .timing-lane-list { gap: 10px; margin-top: 13px; }
#app.client-session .timing-lane-lead { grid-template-columns: 31px minmax(0, 1fr) 30px; min-height: 96px; padding: 11px 10px; border-radius: 9px; }
#app.client-session .timing-lane-mark, #app.client-session .timing-lane-lead > strong { width: 30px; height: 30px; }
#app.client-session .timing-command-metrics { gap: 10px; margin-top: 19px; }
#app.client-session .timing-command-metrics button { min-height: 120px; padding: 14px; border-radius: 10px; }
#app.client-session .timing-command-metrics b { margin-top: 10px; font-size: 23px; }

/* Context is an intentional right-hand drawer, never a reserved dashboard column. */
#app.client-session .client-lead-drawer { position: fixed; z-index: 30; top: 0; right: 0; width: min(520px, 100vw); height: 100dvh; padding: 20px; overflow-y: auto; border-left: 1px solid rgba(132, 148, 187, .22); background: rgba(5, 10, 20, .96); box-shadow: -24px 0 70px rgba(0, 0, 0, .43); animation: client-drawer-in .22s ease both; }
@keyframes client-drawer-in { from { transform: translateX(28px); opacity: .2; } to { transform: translateX(0); opacity: 1; } }
#app.client-session .client-lead-drawer .compact-lead-context { min-height: calc(100dvh - 40px); border: 1px solid rgba(133, 148, 187, .2); border-radius: 14px; background: #0b1425; }
#app.client-session .client-data-workspace { grid-template-columns: minmax(0, 1fr); }

/* Strike Windows is a separate planning workspace: horizon, timing matrix, territory and sequence. */
#app.client-session .strike-windows-workspace { color: #eaf0ff; }
#app.client-session .strike-windows-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 4px 2px 24px; }
#app.client-session .strike-windows-toolbar p, #app.client-session .strike-territory-grid p, #app.client-session .strike-outlook p { margin: 0 0 7px; color: #a99dff; font-size: 10px; font-weight: 800; letter-spacing: .11em; }
#app.client-session .strike-windows-toolbar h2 { max-width: 660px; margin: 0; color: #f1f4ff; font-size: 29px; letter-spacing: -.045em; }.strike-windows-toolbar span { display: block; margin-top: 8px; color: #8492ad; font-size: 13px; }
#app.client-session .strike-toolbar-actions { display: flex; gap: 9px; }.strike-toolbar-actions button, .strike-corridors header button { min-height: 40px; padding: 0 13px; border: 1px solid rgba(132, 149, 188, .22); border-radius: 8px; color: #cfd7ed; background: #0c1627; font: inherit; font-size: 12px; font-weight: 700; }
#app.client-session .strike-horizon-panel, #app.client-session .strike-matrix, #app.client-session .strike-territory-grid, #app.client-session .strike-outlook { border: 1px solid rgba(128, 146, 184, .16); border-radius: 14px; background: linear-gradient(145deg, rgba(12, 22, 40, .92), rgba(7, 14, 27, .92)); }
#app.client-session .strike-horizon-panel { display: grid; grid-template-columns: 210px minmax(0, 1fr); margin-bottom: 16px; overflow: hidden; }
#app.client-session .strike-horizon-label { display: grid; align-content: center; gap: 7px; padding: 21px; border-right: 1px solid rgba(128, 146, 184, .16); }.strike-horizon-label span { color: #8492ad; font-size: 11px; }.strike-horizon-label strong { color: #eaf0ff; font-size: 14px; }
#app.client-session .strike-horizon-steps { display: grid; grid-template-columns: repeat(4, 1fr); }.strike-horizon-steps > div { position: relative; display: grid; min-height: 94px; align-content: center; gap: 3px; padding: 16px 18px; border-right: 1px solid rgba(128, 146, 184, .13); }.strike-horizon-steps > div:last-child { border: 0; }.strike-horizon-steps b { position: absolute; top: 14px; right: 14px; display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; font-size: 10px; }.strike-horizon-steps strong { font-size: 14px; }.strike-horizon-steps small { color: #8290aa; font-size: 11px; }.strike-horizon-steps em { color: #bbc5da; font-size: 10px; font-style: normal; }.strike-horizon-steps .hot { background: linear-gradient(120deg, rgba(255,74,91,.13), transparent); }.strike-horizon-steps .hot b { color: #ff8791; background: rgba(255,74,91,.14); }.strike-horizon-steps .active { background: linear-gradient(120deg, rgba(255,184,57,.11), transparent); }.strike-horizon-steps .active b { color: #ffd076; background: rgba(255,184,57,.14); }.strike-horizon-steps .warm { background: linear-gradient(120deg, rgba(39,212,181,.1), transparent); }.strike-horizon-steps .warm b { color: #66e1c8; background: rgba(39,212,181,.13); }.strike-horizon-steps .watch b { color: #9eacc7; background: rgba(148,164,193,.12); }
#app.client-session .strike-matrix { overflow: hidden; }.strike-matrix-head, .strike-matrix-row { display: grid; grid-template-columns: 190px repeat(4, minmax(0, 1fr)); }.strike-matrix-head { min-height: 43px; align-items: center; color: #8190ac; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }.strike-matrix-head span { padding: 0 15px; }.strike-matrix-row { min-height: 142px; border-top: 1px solid rgba(128, 146, 184, .14); }.strike-matrix-row > header { display: grid; align-content: center; gap: 6px; padding: 16px; border-right: 1px solid rgba(128, 146, 184, .14); background: rgba(255,255,255,.015); }.strike-matrix-row header strong { color: #e7edfb; font-size: 13px; }.strike-matrix-row header small { color: #7c8ba6; font-size: 11px; line-height: 1.35; }.strike-matrix-cell { display: grid; align-content: start; gap: 7px; padding: 10px; border-right: 1px solid rgba(128, 146, 184, .12); }.strike-matrix-cell:last-child { border: 0; }.strike-matrix-cell button { position: relative; display: grid; gap: 3px; width: 100%; padding: 9px 28px 9px 10px; border: 1px solid rgba(130, 146, 184, .19); border-radius: 8px; color: #deebf9; background: #0d192c; text-align: left; }.strike-matrix-cell button:hover { transform: translateY(-1px); border-color: rgba(153, 137, 255, .6); }.strike-matrix-cell button b { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }.strike-matrix-cell button small { overflow: hidden; color: #91a0bb; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.strike-matrix-cell button em { position: absolute; top: 9px; right: 8px; color: #c5cce0; font-size: 10px; font-style: normal; }.strike-matrix-cell.hot button { border-color: rgba(255, 86, 102, .35); background: rgba(92, 25, 44, .28); }.strike-matrix-cell.active button { border-color: rgba(255, 187, 59, .31); background: rgba(87, 62, 22, .26); }.strike-matrix-cell.warm button { border-color: rgba(45, 213, 181, .3); background: rgba(12, 78, 74, .24); }.strike-cell-empty { align-self: center; color: #62718b; font-size: 11px; }
#app.client-session .strike-territory-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 0; margin-top: 16px; overflow: hidden; }.strike-territory-map { position: relative; min-height: 286px; overflow: hidden; padding: 25px; border-right: 1px solid rgba(128, 146, 184, .16); background: linear-gradient(120deg, rgba(33, 80, 110, .25), rgba(8, 17, 32, .25)), repeating-linear-gradient(90deg, transparent 0 58px, rgba(145, 167, 209, .05) 59px 60px), repeating-linear-gradient(0deg, transparent 0 48px, rgba(145, 167, 209, .04) 49px 50px); }.strike-territory-map h3 { position: relative; margin: 0; font-size: 19px; }.strike-map-aura { position: absolute; width: 260px; height: 220px; top: 38px; left: 31%; border: 1px solid rgba(64, 222, 192, .18); border-radius: 46% 54% 58% 42% / 35% 49% 51% 65%; background: radial-gradient(circle at 62% 42%, rgba(62, 227, 192, .18), transparent 6%), radial-gradient(circle at 42% 56%, rgba(119, 99, 255, .19), transparent 7%), radial-gradient(circle at 72% 68%, rgba(255, 193, 65, .13), transparent 6%); transform: rotate(-9deg); }.strike-map-pin { position: absolute; z-index: 1; display: flex; align-items: center; gap: 6px; padding: 4px 7px 4px 4px; border: 1px solid rgba(95, 225, 197, .38); border-radius: 999px; color: #e5f8f2; background: rgba(8, 39, 47, .86); font: inherit; font-size: 10px; }.strike-map-pin b { display: grid; width: 18px; height: 18px; place-items: center; border-radius: 50%; color: #05150f; background: #57e0bd; font-size: 10px; }.strike-map-pin.pin-1 { top: 36%; left: 45%; }.strike-map-pin.pin-2 { top: 53%; left: 66%; }.strike-map-pin.pin-3 { top: 67%; left: 30%; }.strike-map-pin.pin-4 { top: 72%; left: 52%; }.strike-map-pin.pin-5 { top: 22%; left: 64%; }.strike-territory-map footer { position: absolute; bottom: 18px; left: 25px; display: flex; align-items: center; gap: 7px; color: #8592ab; font-size: 10px; }.strike-territory-map footer i { width: 7px; height: 7px; border-radius: 50%; background: #61e1be; box-shadow: 0 0 12px #61e1be; }.strike-territory-map footer i:last-of-type { background: #bd9cff; box-shadow: 0 0 12px #bd9cff; }
#app.client-session .strike-corridors { padding: 20px; }.strike-corridors header { display: flex; align-items: start; justify-content: space-between; gap: 12px; margin-bottom: 9px; }.strike-corridors h3 { margin: 0; font-size: 17px; }.strike-corridors header button { min-height: 30px; font-size: 10px; }.strike-corridor { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 9px; width: 100%; padding: 10px 0; border: 0; border-top: 1px solid rgba(128, 146, 184, .13); color: #e4eafa; background: transparent; text-align: left; }.strike-corridor > b { color: #9b91ff; font-size: 11px; }.strike-corridor span { display: grid; gap: 3px; }.strike-corridor strong { font-size: 12px; }.strike-corridor small { overflow: hidden; color: #8290aa; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.strike-corridor em { padding: 4px 6px; border: 1px solid rgba(74, 222, 188, .22); border-radius: 5px; color: #63dfc1; font-size: 9px; font-style: normal; }
#app.client-session .strike-outlook { display: grid; grid-template-columns: 1fr 1.3fr auto; align-items: center; gap: 24px; margin-top: 16px; padding: 19px 22px; }.strike-outlook p { margin-bottom: 5px; }.strike-outlook h3 { margin: 0; color: #e7edf9; font-size: 13px; line-height: 1.4; }.strike-outlook button { min-height: 40px; padding: 0 13px; border: 0; border-radius: 8px; color: #fff; background: linear-gradient(135deg, #7257e8, #5640c3); font: inherit; font-size: 12px; font-weight: 800; }

@media (max-width: 980px) { #app.client-session { grid-template-columns: 76px minmax(0,1fr); } #app.client-session .sidebar { padding: 18px 10px; } #app.client-session .brand { justify-content: center; margin: 0 0 25px; } #app.client-session .brand > div:last-child, #app.client-session .client-menu-button strong, #app.client-session .client-card { display: none; } #app.client-session .client-menu-button { grid-template-columns: 1fr; justify-items: center; padding: 6px; } #app.client-session .client-nav-secondary { margin-top: auto; } #app.client-session .client-dashboard { padding: 20px; } #app.client-session .strike-horizon-panel { grid-template-columns: 1fr; }.strike-horizon-label { border-right: 0; border-bottom: 1px solid rgba(128,146,184,.16); }.strike-matrix-head, .strike-matrix-row { grid-template-columns: 145px repeat(4,minmax(150px,1fr)); min-width: 740px; }.strike-matrix { overflow-x: auto !important; }.strike-territory-grid { grid-template-columns: 1fr !important; }.strike-territory-map { border-right: 0; border-bottom: 1px solid rgba(128,146,184,.16); } }
@media (max-width: 680px) { #app.client-session { display: block; } #app.client-session .sidebar { position: relative; height: auto; min-height: 66px; padding: 12px 16px; border-right: 0; border-bottom: 1px solid #202a3a; } #app.client-session .brand { justify-content: flex-start; margin: 0; } #app.client-session .brand > div:last-child { display: block; } #app.client-session #mainNav, #app.client-session .client-card { display: none; } #app.client-session .client-dashboard { padding: 14px; } #app.client-session .timing-command-toolbar { padding: 15px; } #app.client-session .timing-command-tools { flex-wrap: wrap; } #app.client-session .timing-search { flex: 1; } #app.client-session .timing-command-tools input { width: 100%; min-width: 130px; } #app.client-session .timing-lanes { grid-template-columns: 1fr; min-height: 0; } #app.client-session .timing-lane { min-height: 0; border-right: 0; border-bottom: 1px solid rgba(120,137,177,.11); } #app.client-session .timing-lane-list { grid-template-columns: 1fr; } #app.client-session .timing-command-metrics { grid-template-columns: 1fr 1fr; }.strike-windows-toolbar { align-items: start !important; flex-direction: column; }.strike-toolbar-actions { width: 100%; }.strike-toolbar-actions button { flex: 1; }.strike-horizon-steps { grid-template-columns: 1fr 1fr !important; }.strike-horizon-steps > div:nth-child(2) { border-right: 0; }.strike-horizon-steps > div:nth-child(-n+2) { border-bottom: 1px solid rgba(128,146,184,.13); }.strike-outlook { grid-template-columns: 1fr !important; gap: 15px; }.strike-outlook button { width: 100%; }.client-lead-drawer { padding: 10px !important; } }

/* Shared premium list workspace for Leads and Work Queue. */
#app .client-data-page { min-height: 100vh; padding: 24px; background: #070d18; color: #edf1ff; }
#app .client-data-toolbar { display: flex; min-height: 86px; align-items: center; justify-content: space-between; gap: 20px; padding: 0 0 18px; border-bottom: 1px solid rgba(120, 137, 177, .16); }
#app .client-data-toolbar p { margin: 0 0 5px; color: #a99dff; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
#app .client-data-toolbar h2 { margin: 0; color: #f3f5ff; font-size: 28px; letter-spacing: -.03em; }
#app .client-data-toolbar small { display: block; margin-top: 5px; color: #8794af; }
#app .client-data-toolbar > button { min-height: 42px; padding: 0 14px; border: 1px solid rgba(130, 143, 181, .25); border-radius: 9px; color: #d6dcef; background: rgba(14, 24, 41, .8); font: inherit; font-weight: 700; }
#app .client-data-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 550px; min-height: calc(100vh - 128px); margin-top: 20px; overflow: hidden; border: 1px solid rgba(120, 137, 177, .17); border-radius: 14px; background: rgba(8, 15, 28, .84); }
#app .client-data-workspace.no-context { grid-template-columns: minmax(0, 1fr); }
#app .compact-lead-list { min-width: 0; padding: 16px; overflow: auto; }
#app .compact-lead-columns,
#app .compact-lead-row { display: grid; grid-template-columns: 52px minmax(180px, 1.15fr) minmax(240px, 1.7fr) 94px 88px 56px; gap: 14px; align-items: center; }
#app .compact-lead-columns { min-height: 30px; padding: 0 10px; color: #71809c; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
#app .compact-lead-row { width: 100%; min-height: 78px; padding: 11px 10px; border: 0; border-top: 1px solid rgba(120, 137, 177, .12); border-left: 3px solid #8794ad; color: #dce3f3; background: transparent; text-align: left; }
#app .compact-lead-row.hot { border-left-color: #ff5360; }
#app .compact-lead-row.active { border-left-color: #ffb83c; }
#app .compact-lead-row.warm { border-left-color: #4fdcb8; }
#app .compact-lead-row:hover { background: rgba(104, 89, 225, .08); }
#app .compact-lead-row.selected,
#app .work-queue-row.selected { background: linear-gradient(90deg, rgba(104, 82, 230, .16), rgba(17, 28, 48, .4)); box-shadow: inset 3px 0 0 #8777ff; }
#app .compact-lead-score { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(126, 143, 181, .35); border-radius: 50%; color: #dce4f6; font-weight: 850; }
#app .compact-lead-identity,
#app .compact-lead-evidence { display: grid; min-width: 0; gap: 4px; }
#app .compact-lead-identity b { overflow: hidden; color: #f0f3fb; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
#app .compact-lead-identity small,
#app .compact-lead-evidence small { overflow: hidden; color: #8794ad; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
#app .compact-lead-evidence b { overflow: hidden; color: #b5c0d6; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
#app .compact-lead-timing { display: inline-flex; width: fit-content; padding: 5px 7px; border: 1px solid rgba(129, 143, 180, .25); border-radius: 999px; color: #a9b4ca; font-size: 11px; font-weight: 800; white-space: nowrap; }
#app .compact-lead-timing.hot { color: #ff737d; border-color: rgba(255, 83, 96, .4); }
#app .compact-lead-timing.active { color: #ffc45d; border-color: rgba(255, 184, 57, .35); }
#app .compact-lead-timing.warm { color: #62e1c7; border-color: rgba(55, 220, 190, .35); }
#app .compact-lead-value { color: #e7c453; font-size: 13px; font-weight: 800; }
#app .compact-lead-open { color: #b2a8ff; font-size: 12px; font-weight: 800; text-align: right; }
#app .compact-lead-context { display: flex; flex-direction: column; min-width: 0; padding: 24px; border-left: 1px solid rgba(120, 137, 177, .17); background: #09101f; }
#app .compact-lead-context.empty { justify-content: center; color: #a4b0c8; }
#app .compact-lead-context.empty span { color: #e6eaff; font-size: 18px; font-weight: 800; }
#app .compact-lead-context header { display: grid; grid-template-columns: 1fr auto; gap: 14px; }
#app .compact-lead-context header > button { justify-self: end; grid-column: 2; width: 28px; height: 28px; border: 0; color: #8794af; background: transparent; font-size: 24px; }
#app .compact-lead-context header > div { position: relative; grid-row: 1; padding-left: 62px; }
#app .compact-context-mark { position: absolute; top: 0; left: 0; display: grid; width: 48px; height: 48px; place-items: center; border-radius: 14px; color: #e3deff; background: linear-gradient(145deg, #684de6, #2d548e); font-size: 21px; font-weight: 900; }
#app .compact-lead-context h2 { margin: 0; color: #f1f3ff; font-size: 22px; line-height: 1.08; }
#app .compact-lead-context header p { margin: 5px 0 0; color: #929fba; font-size: 12px; }
#app .compact-lead-context header > b { display: grid; width: 54px; height: 54px; place-items: center; border: 4px solid rgba(255, 83, 96, .67); border-radius: 50%; color: #ff7b86; font-size: 20px; }
#app .compact-context-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 22px 0; padding: 12px 0; border-top: 1px solid rgba(120, 137, 177, .14); border-bottom: 1px solid rgba(120, 137, 177, .14); }
#app .compact-context-facts span { color: #e2e7f3; font-size: 12px; text-align: center; }
#app .compact-context-facts small { display: block; margin-top: 5px; color: #75829c; font-size: 10px; }
#app .compact-lead-context section { margin-top: 12px; padding: 15px; border: 1px solid rgba(120, 137, 177, .17); border-radius: 11px; background: rgba(18, 29, 50, .58); }
#app .compact-context-title { display: flex; justify-content: space-between; color: #e5e9f5; font-weight: 800; }
#app .compact-context-title b { padding: 4px 7px; border-radius: 999px; color: #ff7c87; background: rgba(255, 80, 95, .13); font-size: 10px; }
#app .compact-lead-context article { display: flex; gap: 9px; margin-top: 12px; }
#app .compact-lead-context article i { display: grid; flex: 0 0 18px; width: 18px; height: 18px; place-items: center; border-radius: 50%; color: #54dbad; background: rgba(40, 211, 158, .13); font-size: 10px; font-style: normal; }
#app .compact-lead-context article strong { color: #e2e7f5; font-size: 12px; }
#app .compact-lead-context article p,
#app .compact-context-proof p { margin: 4px 0 0; color: #8e9bb5; font-size: 11px; line-height: 1.4; }
#app .compact-context-proof { background: linear-gradient(135deg, rgba(82, 50, 136, .2), rgba(17, 28, 49, .5)) !important; }
#app .compact-context-proof > span { display: block; color: #b9adff; font-size: 10px; font-weight: 850; text-transform: uppercase; }
#app .compact-context-proof strong { display: block; margin-top: 8px; color: #edf0fb; font-size: 13px; }
#app .compact-lead-context footer { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: auto; padding-top: 18px; }
#app .compact-lead-context footer > * { display: grid; min-height: 44px; place-items: center; border: 1px solid rgba(125, 142, 180, .28); border-radius: 9px; color: #dce2f1; background: transparent; font: inherit; font-size: 12px; font-weight: 800; text-decoration: none; }
#app .compact-lead-context footer > *:first-child { border: 0; color: #fff; background: linear-gradient(135deg, #df3138, #b8202b); }
#app .compact-lead-context footer > *:last-child { grid-column: 1 / -1; }
#app .client-data-workspace.work-queue-layout { grid-template-columns: 220px minmax(0, 1fr) 550px; }
#app .client-data-workspace.work-queue-layout.no-context { grid-template-columns: 220px minmax(0, 1fr); }
#app .work-queue-layout .compact-lead-context { grid-column: 3; grid-row: 1; }
#app .work-queue-layout .work-queue-list { min-width: 0; overflow: auto; }
@media (max-width: 1500px) { #app .client-data-workspace, #app .client-data-workspace.work-queue-layout { grid-template-columns: 1fr; } #app .compact-lead-context { order: -1; border-top: 0; border-bottom: 1px solid rgba(120, 137, 177, .17); border-left: 0; } #app .work-queue-layout .compact-lead-context { grid-column: 1; grid-row: auto; } }
@media (max-width: 760px) { #app .client-data-page { padding: 12px; } #app .client-data-toolbar { align-items: flex-start; flex-direction: column; min-height: 0; } #app .client-data-toolbar h2 { font-size: 23px; } #app .compact-lead-columns { display: none; } #app .compact-lead-row { grid-template-columns: 42px minmax(0, 1fr) auto; min-height: 72px; gap: 10px; } #app .compact-lead-evidence, #app .compact-lead-value, #app .compact-lead-open { display: none; } #app .compact-lead-timing { grid-column: 3; grid-row: 1; } }

/* Final client drawer guard: must follow legacy responsive layout rules. */
#app #drawer .lead-profile .lead-profile-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  overflow: hidden !important;
}

#app #drawer .lead-profile .lead-profile-actions .outcome-group,
#app #drawer .lead-profile .lead-profile-tabs,
#app #drawer .lead-profile .lead-profile-facts,
#app #drawer .lead-profile .lead-profile-panel[data-profile-panel="outcome"] {
  display: none !important;
}

#app #drawer .lead-profile .lead-profile-command {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

#app #drawer .lead-profile .lead-profile-command article:last-child {
  display: none !important;
}

#app #drawer .lead-profile .lead-profile-panel[data-profile-panel="overview"],
#app #drawer .lead-profile .lead-profile-panel[data-profile-panel="evidence"],
#app #drawer .lead-profile .lead-profile-panel[data-profile-panel="timing"] {
  display: block !important;
}

/* Keep the client drawer deliberately concise, after legacy responsive rules. */
#app #drawer .lead-profile .lead-profile-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  overflow: hidden !important;
}

#app #drawer .lead-profile .lead-profile-actions .outcome-group,
#app #drawer .lead-profile .lead-profile-tabs,
#app #drawer .lead-profile .lead-profile-facts,
#app #drawer .lead-profile .lead-profile-panel[data-profile-panel="outcome"] {
  display: none !important;
}

#app #drawer .lead-profile .lead-profile-command {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

#app #drawer .lead-profile .lead-profile-command article:last-child {
  display: none !important;
}

#app #drawer .lead-profile .lead-profile-panel[data-profile-panel="overview"],
#app #drawer .lead-profile .lead-profile-panel[data-profile-panel="evidence"],
#app #drawer .lead-profile .lead-profile-panel[data-profile-panel="timing"] {
  display: block !important;
}

/* Strike map v20 true final override: this must stay last. */
@media (min-width: 861px) {
  #app .strike-map-board {
    grid-template-rows: auto minmax(560px, auto) auto;
  }

  #app .strike-map-rail {
    --bar-y: 54%;
    min-height: 560px;
    padding: 20px 26px 50px;
  }

  #app .strike-map-rail::before {
    top: var(--bar-y);
    bottom: auto;
  }

  #app .strike-map-sweep {
    top: calc(var(--bar-y) - 15px);
    bottom: auto;
  }

  #app .strike-map-segment {
    min-height: 490px;
  }

  #app .strike-map-lead,
  #app .strike-map-lead.primary {
    height: 124px;
    min-height: 124px;
    max-height: 124px;
    display: grid;
    align-content: center;
    gap: 3px;
    overflow: hidden;
  }

  #app .strike-map-lead:nth-child(1) {
    top: calc(var(--bar-y) - 140px);
  }

  #app .strike-map-lead:nth-child(2) {
    top: calc(var(--bar-y) + 48px);
  }

  #app .strike-map-lead::before {
    bottom: -16px;
    height: 16px;
  }

  #app .strike-map-lead::after {
    bottom: -23px;
  }

  #app .strike-map-lead:nth-child(2)::before {
    top: -48px;
    height: 48px;
  }

  #app .strike-map-lead:nth-child(2)::after {
    top: -55px;
  }
}

/* Strike map v20 final override: no header collisions, branch dots centered on rail. */
@media (min-width: 861px) {
  #app .strike-map-board {
    grid-template-rows: auto minmax(560px, auto) auto;
  }

  #app .strike-map-rail {
    --bar-y: 54%;
    min-height: 560px;
    padding: 20px 26px 50px;
  }

  #app .strike-map-rail::before {
    top: var(--bar-y);
    bottom: auto;
  }

  #app .strike-map-sweep {
    top: calc(var(--bar-y) - 15px);
    bottom: auto;
  }

  #app .strike-map-segment {
    min-height: 490px;
  }

  #app .strike-map-lead,
  #app .strike-map-lead.primary {
    height: 124px;
    min-height: 124px;
    max-height: 124px;
    display: grid;
    align-content: center;
    gap: 3px;
    overflow: hidden;
  }

  #app .strike-map-lead:nth-child(1) {
    top: calc(var(--bar-y) - 140px);
  }

  #app .strike-map-lead:nth-child(2) {
    top: calc(var(--bar-y) + 48px);
  }

  #app .strike-map-lead::before {
    bottom: -16px;
    height: 16px;
  }

  #app .strike-map-lead::after {
    bottom: -23px;
  }

  #app .strike-map-lead:nth-child(2)::before {
    top: -48px;
    height: 48px;
  }

  #app .strike-map-lead:nth-child(2)::after {
    top: -55px;
  }
}

/* Strike map v20: fixed lane geometry so branch dots land on the rail. */
@media (min-width: 861px) {
  #app .strike-map-board {
    grid-template-rows: auto minmax(560px, auto) auto;
  }

  #app .strike-map-rail {
    --bar-y: 54%;
    min-height: 560px;
    padding: 20px 26px 50px;
  }

  #app .strike-map-segment {
    min-height: 490px;
  }

  #app .strike-map-lead,
  #app .strike-map-lead.primary {
    height: 124px;
    min-height: 124px;
    max-height: 124px;
    display: grid;
    align-content: center;
    gap: 3px;
    overflow: hidden;
  }

  #app .strike-map-lead:nth-child(1) {
    top: calc(var(--bar-y) - 140px);
  }

  #app .strike-map-lead:nth-child(2) {
    top: calc(var(--bar-y) + 48px);
  }

  #app .strike-map-lead::before {
    bottom: -16px;
    height: 16px;
  }

  #app .strike-map-lead::after {
    bottom: -23px;
  }

  #app .strike-map-lead:nth-child(2)::before {
    top: -48px;
    height: 48px;
  }

  #app .strike-map-lead:nth-child(2)::after {
    top: -55px;
  }
}

/* Strike Window timing intelligence */
#app .strike-command-center {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 18px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid rgba(45, 212, 191, 0.22);
  border-radius: 10px;
  background:
    radial-gradient(circle at 12% 0%, rgba(45, 212, 191, 0.15), transparent 35%),
    radial-gradient(circle at 100% 18%, rgba(255, 201, 89, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(9, 27, 26, 0.94), rgba(7, 13, 15, 0.96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.055), 0 24px 80px rgba(0,0,0,0.22);
  overflow: hidden;
}

#app .strike-command-center::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(110deg, transparent 10%, rgba(45, 212, 191, 0.12), transparent 45%, rgba(255, 201, 89, 0.12), transparent 75%);
  transform: translateX(-70%);
  animation: strikePanelSweep 7s ease-in-out infinite;
  pointer-events: none;
}

#app .strike-command-copy,
#app .strike-command-visual {
  position: relative;
  z-index: 1;
  min-width: 0;
}

#app .strike-command-copy h2 {
  margin: 4px 0 8px;
  max-width: 860px;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.05;
}

#app .strike-command-copy p {
  max-width: 900px;
  margin: 0;
  color: #b9d4ce;
  line-height: 1.55;
}

#app .strike-command-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

#app .strike-command-stats button {
  min-width: 0;
  min-height: 66px;
  padding: 12px;
  border: 1px solid rgba(45, 212, 191, 0.22);
  border-radius: 9px;
  color: var(--text);
  background: rgba(3, 12, 13, 0.58);
  text-align: left;
}

#app .strike-command-stats b {
  display: block;
  color: #ffd76e;
  font-size: 25px;
}

#app .strike-command-stats span {
  color: #9fbcb6;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

#app .strike-command-visual {
  display: grid;
  align-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  background: rgba(0,0,0,0.2);
}

#app .strike-meter {
  display: grid;
  gap: 9px;
  min-width: 0;
}

#app .strike-meter-head,
#app .strike-meter-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

#app .strike-meter-head span {
  color: #ffd76e;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

#app .strike-meter-head strong {
  color: #f8fff9;
  font-size: 18px;
}

#app .strike-meter-foot small {
  min-width: 0;
  color: #9fbcb6;
  font-size: 11px;
  font-weight: 800;
}

#app .strike-meter-foot small:first-child {
  color: #dff8f1;
}

#app .strike-meter-track {
  position: relative;
  height: 12px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(88, 111, 119, 0.32), rgba(255, 201, 89, 0.18), rgba(45, 212, 191, 0.18)),
    rgba(0,0,0,0.24);
  overflow: hidden;
}

#app .strike-meter-track i {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #1bb8a4, #ffd76e 58%, #fff4a8);
  box-shadow: 0 0 22px rgba(255, 215, 110, 0.28);
}

#app .strike-meter-track i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.42), transparent);
  transform: translateX(-80%);
  animation: strikeBarPulse 2.5s ease-in-out infinite;
}

#app .strike-meter-track b {
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  border: 2px solid #fff3a6;
  border-radius: 999px;
  background: #081314;
  box-shadow: 0 0 20px rgba(255, 215, 110, 0.42);
  transform: translate(-50%, -50%);
}

#app .strike-meter.compact {
  padding: 10px;
  border: 1px solid rgba(45, 212, 191, 0.16);
  border-radius: 8px;
  background: rgba(4, 13, 14, 0.42);
}

#app .strike-meter.compact .strike-meter-head strong {
  font-size: 13px;
}

#app .strike-meter.compact .strike-meter-foot {
  display: none;
}

#app .strike-meter.hot .strike-meter-track i,
#app .strike-lane.hot .strike-window-card .strike-meter-track i {
  background: linear-gradient(90deg, #21d6bd, #ffe06c 52%, #ff845f);
}

#app .strike-meter.warm .strike-meter-track i {
  background: linear-gradient(90deg, #5fb3d6, #ffd76e);
}

#app .strike-meter.watch .strike-meter-track i {
  background: linear-gradient(90deg, #647983, #9bb7bd);
}

#app .strike-orbit {
  position: relative;
  width: min(190px, 100%);
  aspect-ratio: 1;
  justify-self: center;
  border: 1px solid rgba(45, 212, 191, 0.22);
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(45, 212, 191, 0.14) 0 3px, transparent 4px),
    radial-gradient(circle, transparent 42%, rgba(45, 212, 191, 0.09) 43%, transparent 45%),
    radial-gradient(circle, transparent 64%, rgba(255, 201, 89, 0.16) 65%, transparent 67%);
}

#app .strike-orbit span,
#app .strike-orbit i,
#app .strike-orbit b {
  position: absolute;
  inset: 50% auto auto 50%;
  display: block;
  border-radius: 999px;
  transform-origin: 0 0;
}

#app .strike-orbit span {
  width: 44%;
  height: 2px;
  background: linear-gradient(90deg, rgba(45, 212, 191, 0.9), transparent);
  animation: strikeOrbitSpin 4.6s linear infinite;
}

#app .strike-orbit i {
  width: 10px;
  height: 10px;
  background: #ffd76e;
  box-shadow: 0 0 18px rgba(255, 215, 110, 0.65);
  animation: strikeOrbitDot 4.6s linear infinite;
}

#app .strike-orbit b {
  width: 66%;
  height: 66%;
  border: 1px dashed rgba(45, 212, 191, 0.17);
  transform: translate(-50%, -50%);
}

#app .strike-page {
  display: grid;
  gap: 16px;
}

#app .strike-timeline-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

#app .strike-lane {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.012)),
    rgba(2, 8, 9, 0.55);
}

#app .strike-lane.hot { border-color: rgba(255, 132, 95, 0.32); }
#app .strike-lane.active { border-color: rgba(45, 212, 191, 0.25); }
#app .strike-lane.warm { border-color: rgba(255, 201, 89, 0.25); }

#app .strike-lane-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
  margin-bottom: 10px;
}

#app .strike-lane-head span {
  color: #f8fff9;
  font-size: 15px;
  font-weight: 950;
}

#app .strike-lane-head strong {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: start;
  color: #ffd76e;
  font-size: 24px;
}

#app .strike-lane-head small {
  color: #9fbcb6;
  line-height: 1.35;
}

#app .strike-lane-list {
  display: grid;
  gap: 10px;
}

#app .strike-window-card {
  display: grid;
  gap: 9px;
  min-width: 0;
  padding: 11px;
  border: 1px solid rgba(45, 212, 191, 0.13);
  border-radius: 9px;
  background: rgba(4, 12, 13, 0.58);
}

#app .strike-window-card.hot {
  border-color: rgba(255, 132, 95, 0.38);
  background: linear-gradient(145deg, rgba(255, 132, 95, 0.08), rgba(4, 12, 13, 0.58));
}

#app .strike-window-card p {
  margin: 0;
  color: #b9d4ce;
  font-size: 12px;
  line-height: 1.45;
}

#app .strike-card-main {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
}

#app .strike-card-main > span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  color: #071011;
  background: #ffd76e;
  font-size: 12px;
  font-weight: 950;
}

#app .strike-card-main strong,
#app .strike-card-main small,
#app .strike-card-footer b {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#app .strike-card-main strong {
  color: var(--text);
  font-size: 13px;
}

#app .strike-card-main small {
  color: #9fbcb6;
  font-size: 11px;
}

#app .strike-card-main em {
  padding: 5px 7px;
  border: 1px solid rgba(255, 215, 110, 0.24);
  border-radius: 999px;
  color: #ffd76e;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
  white-space: nowrap;
}

#app .strike-card-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

#app .strike-card-footer b {
  color: #dff8f1;
  font-size: 11px;
}

#app .strike-deep-dive {
  display: grid;
  gap: 14px;
}

#app .strike-evidence-timeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

#app .strike-evidence-timeline article {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 9px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(45, 212, 191, 0.14);
  border-radius: 9px;
  background: rgba(255,255,255,0.018);
}

#app .strike-evidence-timeline article::after {
  content: "";
  position: absolute;
  top: 26px;
  right: -11px;
  width: 11px;
  height: 1px;
  background: rgba(45, 212, 191, 0.32);
}

#app .strike-evidence-timeline article:last-child::after {
  display: none;
}

#app .strike-evidence-timeline em {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: #071011;
  background: linear-gradient(135deg, #62e7d1, #ffd76e);
  font-style: normal;
  font-weight: 950;
}

#app .strike-evidence-timeline span {
  color: #ffd76e;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

#app .strike-evidence-timeline strong {
  display: block;
  margin-top: 3px;
  color: var(--text);
  font-size: 12px;
}

#app .strike-evidence-timeline p {
  margin: 5px 0 0;
  color: #a9c5bf;
  font-size: 11px;
  line-height: 1.38;
}

#app .strike-mini {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  width: 100%;
  min-height: 34px;
  padding: 7px 9px;
  border: 1px solid rgba(45, 212, 191, 0.22);
  border-radius: 8px;
  color: #dff8f1;
  background:
    linear-gradient(90deg, rgba(45, 212, 191, 0.12), rgba(255, 201, 89, 0.08)),
    rgba(4, 13, 14, 0.62);
  text-align: left;
}

#app .strike-mini span {
  overflow: hidden;
  font-size: 11px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#app .strike-mini b {
  color: #ffd76e;
  font-size: 13px;
}

@keyframes strikePanelSweep {
  0%, 45% { transform: translateX(-72%); }
  70%, 100% { transform: translateX(72%); }
}

@keyframes strikeBarPulse {
  0% { transform: translateX(-80%); }
  100% { transform: translateX(120%); }
}

@keyframes strikeOrbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes strikeOrbitDot {
  from { transform: rotate(0deg) translateX(78px) translate(-50%, -50%); }
  to { transform: rotate(360deg) translateX(78px) translate(-50%, -50%); }
}

@media (max-width: 1320px) {
  #app .strike-timeline-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #app .strike-evidence-timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  #app .strike-command-center,
  #app .strike-command-center.full {
    grid-template-columns: 1fr;
    padding: 14px;
  }
  #app .strike-command-copy h2 {
    font-size: 25px;
  }
  #app .strike-command-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }
  #app .strike-command-stats button {
    min-height: 54px;
    padding: 9px;
  }
  #app .strike-command-stats b {
    font-size: 20px;
  }
  #app .strike-timeline-board,
  #app .strike-evidence-timeline {
    grid-template-columns: 1fr;
  }
  #app .strike-evidence-timeline article::after,
  #app .strike-orbit {
    display: none;
  }
}

@media (max-width: 520px) {
  #app .strike-command-stats {
    grid-template-columns: 1fr;
  }
  #app .strike-meter-head,
  #app .strike-meter-foot {
    align-items: flex-start;
    flex-direction: column;
  }
  #app .strike-card-footer {
    grid-template-columns: 1fr;
  }
  #app .strike-card-main {
    grid-template-columns: 24px minmax(0, 1fr);
  }
  #app .strike-card-main em {
    grid-column: 2;
    justify-self: start;
  }
}

/* Premium Strike Window command centre pass */
#app .strike-command-center.premium-strike {
  grid-template-columns: minmax(0, 1fr) minmax(330px, 420px);
  gap: 22px;
  align-items: stretch;
  padding: 22px;
  border-color: rgba(108, 228, 207, 0.28);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(7, 32, 31, 0.92), rgba(7, 16, 18, 0.86) 48%, rgba(34, 29, 17, 0.82)),
    radial-gradient(circle at 6% 8%, rgba(108, 228, 207, 0.17), transparent 30%),
    rgba(2, 8, 9, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.07),
    inset 0 -1px 0 rgba(108, 228, 207, 0.06),
    0 26px 90px rgba(0,0,0,0.34);
}

#app .strike-command-center.premium-strike::before {
  opacity: 0.34;
}

#app .premium-strike .strike-command-copy {
  display: grid;
  grid-template-rows: auto auto auto auto 1fr;
  gap: 14px;
  align-content: start;
}

#app .strike-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(520px, 100%);
}

#app .strike-kicker span,
#app .strike-kicker b {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border: 1px solid rgba(108, 228, 207, 0.18);
  border-radius: 999px;
  color: #bdf7ed;
  background: rgba(3, 15, 16, 0.58);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

#app .strike-kicker b {
  color: #ffe29a;
  border-color: rgba(255, 215, 110, 0.22);
}

#app .strike-premium-headline {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 6px 12px;
  align-items: center;
}

#app .strike-live-dot {
  grid-row: 1 / span 2;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #6ce4cf;
  box-shadow: 0 0 0 6px rgba(108, 228, 207, 0.08), 0 0 24px rgba(108, 228, 207, 0.6);
  animation: strikeLivePulse 2.2s ease-in-out infinite;
}

#app .premium-strike .strike-premium-headline .eyebrow {
  margin: 0;
  color: #7feede;
  font-size: 10px;
}

#app .premium-strike .strike-command-copy h2 {
  margin: 0;
  color: #fff8e8;
  font-size: clamp(25px, 2.2vw, 38px);
  line-height: 1.02;
  letter-spacing: 0;
}

#app .strike-feature-lead {
  display: grid;
  gap: 8px;
  max-width: 920px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 215, 110, 0.17);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 215, 110, 0.085), rgba(108, 228, 207, 0.05)),
    rgba(0,0,0,0.18);
}

#app .strike-feature-lead span {
  color: #ffd76e;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

#app .strike-feature-lead strong {
  overflow-wrap: anywhere;
  color: #f8fff9;
  font-size: clamp(19px, 1.8vw, 29px);
  line-height: 1.15;
}

#app .strike-feature-lead p {
  max-width: 980px;
  margin: 0;
  color: #c8e1dc;
  font-size: 14px;
  line-height: 1.5;
}

#app .strike-insight-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

#app .strike-insight-row article {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(108, 228, 207, 0.14);
  border-radius: 10px;
  background: rgba(1, 9, 10, 0.34);
}

#app .strike-insight-row span {
  display: block;
  margin-bottom: 7px;
  color: #8bded3;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

#app .strike-insight-row strong {
  display: block;
  color: #f7fff9;
  font-size: 12px;
  line-height: 1.42;
}

#app .premium-strike .strike-command-stats {
  align-self: end;
  margin-top: 2px;
}

#app .premium-strike .strike-command-stats button {
  min-height: 78px;
  border-color: rgba(108, 228, 207, 0.17);
  background:
    linear-gradient(135deg, rgba(108, 228, 207, 0.075), rgba(255, 215, 110, 0.035)),
    rgba(0,0,0,0.22);
}

#app .premium-strike .strike-command-stats b {
  color: #ffe079;
  font-size: 28px;
}

#app .premium-strike .strike-command-visual {
  grid-template-rows: auto auto auto;
  align-content: stretch;
  gap: 16px;
  padding: 16px;
  border-color: rgba(255, 215, 110, 0.16);
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 215, 110, 0.14), transparent 44%),
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.018)),
    rgba(0,0,0,0.28);
}

#app .strike-premium-dial {
  --strike: 50;
  display: grid;
  grid-template-columns: 158px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

#app .strike-dial-ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 158px;
  aspect-ratio: 1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(4, 12, 13, 0.98) 0 52%, transparent 53%),
    conic-gradient(from 230deg, #6ce4cf 0 calc(var(--strike) * 1%), rgba(255, 215, 110, 0.16) 0 100%);
  box-shadow: inset 0 0 28px rgba(0,0,0,0.55), 0 0 40px rgba(108, 228, 207, 0.08);
}

#app .strike-dial-ring::before,
#app .strike-dial-ring::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  pointer-events: none;
}

#app .strike-dial-ring::before {
  inset: 11px;
  border: 1px solid rgba(108, 228, 207, 0.22);
}

#app .strike-dial-ring::after {
  inset: 26px;
  border: 1px dashed rgba(255, 215, 110, 0.24);
  animation: strikeOrbitSpin 14s linear infinite;
}

#app .strike-dial-ring span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  color: #fff6d2;
  font-size: 38px;
  font-weight: 950;
}

#app .strike-dial-ring small {
  color: #8bded3;
  font-size: 10px;
  text-transform: uppercase;
}

#app .strike-dial-meta {
  display: grid;
  gap: 7px;
  min-width: 0;
}

#app .strike-dial-meta b {
  color: #ffe079;
  font-size: 18px;
  text-transform: uppercase;
}

#app .strike-dial-meta small {
  color: #c8e1dc;
  font-size: 12px;
  line-height: 1.4;
}

#app .premium-strike .strike-meter {
  padding: 12px;
  border: 1px solid rgba(108, 228, 207, 0.13);
  border-radius: 10px;
  background: rgba(1, 9, 10, 0.42);
}

#app .premium-strike .strike-meter-track {
  height: 9px;
}

#app .premium-strike .tool-button.strong {
  min-height: 44px;
  border-radius: 10px !important;
}

@keyframes strikeLivePulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.35); opacity: 1; }
}

@media (max-width: 1100px) {
  #app .strike-command-center.premium-strike {
    grid-template-columns: 1fr;
  }
  #app .strike-premium-dial {
    grid-template-columns: 138px minmax(0, 1fr);
  }
  #app .strike-dial-ring {
    width: 138px;
  }
}

@media (max-width: 760px) {
  #app .strike-command-center.premium-strike {
    padding: 14px;
  }
  #app .strike-kicker,
  #app .strike-insight-row,
  #app .premium-strike .strike-command-stats {
    grid-template-columns: 1fr;
  }
  #app .strike-kicker {
    display: grid;
  }
  #app .strike-premium-dial {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

/* Client dashboard polish pass: clickable metrics, tighter move board, aligned lead actions. */
#app .client-page-content[data-client-page="dashboard"] .product-stats .nav-metric {
  position: relative;
  display: grid;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  appearance: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

#app .client-page-content[data-client-page="dashboard"] .product-stats .nav-metric::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 218, 124, 0.12) 42%, transparent 58%);
  transform: translateX(-115%);
  transition: transform 520ms ease;
  pointer-events: none;
}

#app .client-page-content[data-client-page="dashboard"] .product-stats .nav-metric::after {
  content: "Open";
  position: absolute;
  top: auto;
  bottom: 13px;
  right: 13px;
  min-width: 46px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 214, 112, 0.28);
  border-radius: 999px;
  color: #ffe08a;
  background: rgba(229, 163, 54, 0.08);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 160ms ease, transform 160ms ease;
}

#app .client-page-content[data-client-page="dashboard"] .product-stats .nav-metric:hover,
#app .client-page-content[data-client-page="dashboard"] .product-stats .nav-metric:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 214, 112, 0.38);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(45, 212, 191, 0.08) inset;
}

#app .client-page-content[data-client-page="dashboard"] .product-stats .nav-metric:hover::before,
#app .client-page-content[data-client-page="dashboard"] .product-stats .nav-metric:focus-visible::before {
  transform: translateX(115%);
}

#app .client-page-content[data-client-page="dashboard"] .product-stats .nav-metric:hover::after,
#app .client-page-content[data-client-page="dashboard"] .product-stats .nav-metric:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

#app .client-page-content[data-client-page="dashboard"] .product-stats .nav-metric:active {
  transform: translateY(0);
}

#app .client-page-content[data-client-page="dashboard"] .demo-value-front {
  grid-template-columns: minmax(230px, 0.66fr) minmax(360px, 500px) minmax(360px, 500px);
  gap: 26px;
  justify-content: space-between;
}

#app .client-page-content[data-client-page="dashboard"] .demo-value-front.no-future {
  grid-template-columns: minmax(230px, 0.68fr) minmax(420px, 620px);
  justify-content: start;
}

#app .client-page-content[data-client-page="dashboard"] .demo-stack-head {
  min-height: 28px;
  padding-bottom: 2px;
}

#app .client-page-content[data-client-page="dashboard"] .demo-stack-head span,
#app .client-page-content[data-client-page="dashboard"] .demo-value-copy .eyebrow {
  display: none !important;
}

#app .leads-page .page-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

#app .leads-page .page-title-row h2 {
  margin: 0;
}

#app .lead-count-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 7px 12px;
  border: 1px solid rgba(45, 212, 191, 0.26);
  border-radius: 999px;
  color: #d6f4ee;
  background: rgba(45, 212, 191, 0.075);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

#app .client-page-content[data-client-page="dashboard"] .hot-leads-first.compact-board {
  grid-template-columns: 1fr;
}

#app .client-page-content[data-client-page="dashboard"] .hot-leads-first.compact-board .opportunity-board {
  min-width: 0;
}

#app .client-page-content[data-client-page="dashboard"] .hot-leads-first.compact-board .section-head {
  align-items: center;
}

#app .client-page-content[data-client-page="dashboard"] .hot-leads-first.compact-board .section-head h2 {
  margin: 0;
}

#app .prospect-list-head {
  display: grid;
  grid-template-columns: 58px minmax(180px, 0.95fr) minmax(280px, 1.3fr) minmax(110px, 0.45fr) 248px;
  gap: 18px;
  align-items: center;
  padding: 0 16px 2px;
  color: #8fa8a2;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

#app .leads-page .refined-prospect-card {
  grid-template-columns: minmax(0, 1fr) 248px;
}

#app .leads-page .prospect-main {
  grid-template-columns: 58px minmax(180px, 0.95fr) minmax(280px, 1.3fr) minmax(110px, 0.45fr);
}

#app .leads-page .prospect-action-panel {
  width: 248px;
  justify-self: stretch;
  align-self: stretch;
  justify-content: center;
}

#app .leads-page .lead-primary-actions.lead-action-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 7px !important;
  width: 100% !important;
  align-self: center;
}

#app .leads-page .lead-primary-actions.lead-action-grid .contact-actions.lead-list {
  display: contents !important;
}

#app .leads-page .lead-primary-actions.lead-action-grid .call-button,
#app .leads-page .lead-primary-actions.lead-action-grid .email-button,
#app .leads-page .lead-primary-actions.lead-action-grid .open-profile-button {
  width: 100% !important;
  min-width: 0 !important;
  height: 34px !important;
  min-height: 34px !important;
  padding: 7px 8px !important;
  border-radius: 8px !important;
  font-size: 11px !important;
  line-height: 1 !important;
}

@container (max-width: 1180px) {
  #app .client-page-content[data-client-page="dashboard"] .demo-value-front,
  #app .client-page-content[data-client-page="dashboard"] .demo-value-front.no-future {
    grid-template-columns: 1fr;
  }
  #app .prospect-list-head {
    display: none;
  }
  #app .leads-page .refined-prospect-card,
  #app .leads-page .prospect-main {
    grid-template-columns: 1fr;
  }
  #app .leads-page .prospect-action-panel {
    width: 100%;
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 1500px) {
  #app .client-page-content[data-client-page="dashboard"] .product-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 980px) {
  #app .client-page-content[data-client-page="dashboard"] .product-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 560px) {
  #app .client-page-content[data-client-page="dashboard"] .product-stats {
    grid-template-columns: 1fr !important;
  }
}

/* Dashboard containment: keep compact dashboard modules inside the client viewport. */
#app .client-page-content[data-client-page="dashboard"] {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

#app .client-page-content[data-client-page="dashboard"] > *,
#app .client-page-content[data-client-page="dashboard"] .product-stats,
#app .client-page-content[data-client-page="dashboard"] .demo-value-front,
#app .client-page-content[data-client-page="dashboard"] .hot-leads-first.compact-board,
#app .client-page-content[data-client-page="dashboard"] .hot-leads-first.compact-board .opportunity-board {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box;
  justify-self: stretch;
}

#app .client-page-content[data-client-page="dashboard"] .product-stats {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)) !important;
}

#app .client-page-content[data-client-page="dashboard"] .demo-value-front {
  grid-template-columns: minmax(190px, 0.72fr) minmax(250px, 1fr) minmax(250px, 1fr) !important;
}

@media (max-width: 1280px) {
  #app .client-page-content[data-client-page="dashboard"] .demo-value-front,
  #app .client-page-content[data-client-page="dashboard"] .demo-value-front.no-future {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 1500px) {
  #app .prospect-list-head {
    grid-template-columns: 50px minmax(120px, 0.8fr) minmax(220px, 1.25fr) 80px 188px;
    gap: 10px;
  }

  #app .leads-page .refined-prospect-card {
    grid-template-columns: minmax(0, 1fr) 188px;
    gap: 12px;
    padding: 12px;
  }

  #app .leads-page .prospect-main {
    grid-template-columns: 50px minmax(120px, 0.8fr) minmax(220px, 1.25fr) 80px;
    gap: 10px;
  }

  #app .leads-page .prospect-action-panel {
    width: 188px;
    padding-left: 12px;
  }

  #app .leads-page .lead-primary-actions.lead-action-grid {
    gap: 6px !important;
  }

  #app .leads-page .lead-primary-actions.lead-action-grid .call-button,
  #app .leads-page .lead-primary-actions.lead-action-grid .email-button,
  #app .leads-page .lead-primary-actions.lead-action-grid .open-profile-button {
    font-size: 10px !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
  }
}

@media (max-width: 1100px) {
  #app .prospect-list-head {
    display: none;
  }

  #app .leads-page .refined-prospect-card,
  #app .leads-page .prospect-main {
    grid-template-columns: 1fr;
  }

  #app .leads-page .prospect-action-panel {
    width: 100%;
    padding-left: 0;
    border-left: 0;
  }
}

/* Compact dashboard board: keep row actions in the Action column instead of a full-width left row. */
#app .client-page-content[data-client-page="dashboard"] .hot-leads-first.compact-board .table-head,
#app .client-page-content[data-client-page="dashboard"] .hot-leads-first.compact-board .rich-table .opportunity-row {
  display: grid !important;
  grid-template-columns: 38px minmax(118px, 0.95fr) minmax(84px, 0.55fr) minmax(150px, 1.25fr) minmax(68px, 0.4fr) minmax(62px, 0.35fr) minmax(174px, 0.75fr) !important;
  grid-template-rows: auto !important;
  gap: 8px !important;
  align-items: center !important;
  width: 100% !important;
  min-width: 0 !important;
}

#app .client-page-content[data-client-page="dashboard"] .hot-leads-first.compact-board .table-head {
  padding: 10px 12px !important;
}

#app .client-page-content[data-client-page="dashboard"] .hot-leads-first.compact-board .rich-table .opportunity-row {
  padding: 10px 12px !important;
  border-radius: 0 !important;
}

#app .client-page-content[data-client-page="dashboard"] .hot-leads-first.compact-board .rich-table .opportunity-row > strong {
  grid-column: 1 !important;
  grid-row: 1 !important;
}

#app .client-page-content[data-client-page="dashboard"] .hot-leads-first.compact-board .rich-table .row-lead-open {
  grid-column: 2 !important;
  grid-row: 1 !important;
}

#app .client-page-content[data-client-page="dashboard"] .hot-leads-first.compact-board .rich-table .opportunity-row > span:nth-child(3) {
  grid-column: 3 !important;
  grid-row: 1 !important;
}

#app .client-page-content[data-client-page="dashboard"] .hot-leads-first.compact-board .rich-table .opportunity-row > span:nth-child(4) {
  grid-column: 4 !important;
  grid-row: 1 !important;
}

#app .client-page-content[data-client-page="dashboard"] .hot-leads-first.compact-board .rich-table .opportunity-row > span:nth-child(5) {
  grid-column: 5 !important;
  grid-row: 1 !important;
  justify-self: start !important;
}

#app .client-page-content[data-client-page="dashboard"] .hot-leads-first.compact-board .rich-table .opportunity-row > em {
  grid-column: 6 !important;
  grid-row: 1 !important;
  justify-self: start !important;
}

#app .client-page-content[data-client-page="dashboard"] .hot-leads-first.compact-board .rich-table .opportunity-row > .hot-lead-actions.lead-action-grid {
  grid-column: 7 !important;
  grid-row: 1 !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 6px !important;
  justify-self: stretch !important;
  align-self: center !important;
  width: 100% !important;
  max-width: 100% !important;
}

#app .client-page-content[data-client-page="dashboard"] .hot-leads-first.compact-board .rich-table .opportunity-row > .hot-lead-actions .contact-actions.row {
  display: contents !important;
}

#app .client-page-content[data-client-page="dashboard"] .hot-leads-first.compact-board .rich-table .opportunity-row > .hot-lead-actions .call-button,
#app .client-page-content[data-client-page="dashboard"] .hot-leads-first.compact-board .rich-table .opportunity-row > .hot-lead-actions .email-button,
#app .client-page-content[data-client-page="dashboard"] .hot-leads-first.compact-board .rich-table .opportunity-row > .hot-lead-actions .tool-button {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 30px !important;
  min-height: 30px !important;
  padding: 6px 5px !important;
  font-size: 10px !important;
}

/* Lead profile drawer polish: group actions by intent and keep them balanced. */
#app #drawer .lead-profile .lead-profile-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: visible !important;
}

#app #drawer .lead-profile .lead-profile-action-group.contact-group,
#app #drawer .lead-profile .lead-profile-action-group.progress-group {
  display: grid !important;
  grid-template-rows: auto 1fr !important;
  gap: 9px !important;
  min-width: 0 !important;
  padding: 12px !important;
  border: 1px solid rgba(111, 182, 214, 0.18) !important;
  border-radius: 13px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(6, 13, 14, 0.7) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045) !important;
}

#app #drawer .lead-profile .lead-profile-action-group > span {
  color: var(--muted) !important;
  font-size: 10px !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

#app #drawer .lead-profile .lead-profile-action-group.contact-group {
  border-color: rgba(45, 212, 191, 0.28) !important;
}

#app #drawer .lead-profile .lead-profile-action-group.progress-group {
  border-color: rgba(111, 182, 214, 0.25) !important;
}

#app #drawer .lead-profile .lead-profile-action-group.outcome-group {
  border-color: rgba(244, 200, 100, 0.25) !important;
}

#app #drawer .lead-profile .lead-profile-action-group .contact-actions.profile,
#app #drawer .lead-profile .lead-profile-action-buttons {
  grid-column: auto !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  align-self: stretch !important;
}

#app #drawer .lead-profile .lead-profile-action-group .contact-actions.profile > *,
#app #drawer .lead-profile .lead-profile-action-buttons > * {
  grid-column: auto !important;
}

#app #drawer .lead-profile .lead-profile-action-group .call-button,
#app #drawer .lead-profile .lead-profile-action-group .email-button,
#app #drawer .lead-profile .lead-profile-action-group .lead-profile-open {
  display: inline-flex !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 42px !important;
  height: 42px !important;
  padding: 8px 10px !important;
  border-radius: 9px !important;
  font-size: 12px !important;
  line-height: 1 !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
}

#app #drawer .lead-profile .lead-profile-command {
  gap: 12px !important;
}

#app #drawer .lead-profile .lead-profile-command article {
  min-height: 86px;
  padding: 13px 14px !important;
}

#app #drawer .lead-profile .lead-profile-command strong,
#app #drawer .lead-profile .lead-profile-card p,
#app #drawer .lead-profile .next-step-focus p {
  color: rgba(246, 249, 241, 0.92);
  font-weight: 750;
  line-height: 1.42;
}

#app #drawer .lead-profile .lead-profile-hero {
  padding: 18px !important;
}

#app #drawer .lead-profile .lead-profile-hero h2 {
  margin-bottom: 6px !important;
}

#app #drawer .lead-profile .lead-profile-hero p {
  max-width: 680px !important;
  line-height: 1.42 !important;
}

#app #drawer .lead-profile .lead-profile-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

#app #drawer .lead-profile .lead-profile-card {
  min-height: 150px;
  padding: 15px !important;
}

#app #drawer .lead-profile .lead-profile-card strong {
  font-size: 16px !important;
}

#app #drawer .lead-profile .evidence-proof-intro {
  padding: 14px 15px !important;
}

#app #drawer .lead-profile .evidence-proof-intro strong {
  font-size: 18px !important;
}

#app #drawer .lead-profile .evidence-proof-intro p {
  max-width: 640px !important;
  line-height: 1.42 !important;
}

#app #drawer .lead-profile .evidence-list {
  gap: 10px !important;
}

#app #drawer .lead-profile .evidence-list article.proof-card {
  min-height: 146px;
  padding: 14px !important;
}

#app #drawer .lead-profile .evidence-list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px !important;
  line-height: 1.25 !important;
}

#app #drawer .lead-profile .evidence-list p {
  line-height: 1.38 !important;
}

#app #drawer .lead-profile .evidence-list ul {
  margin-top: 8px !important;
}

#app #drawer .lead-profile .evidence-list li {
  line-height: 1.34 !important;
}

#app #drawer .lead-profile .lead-timing-card {
  margin: 10px 0 12px !important;
}

#app #drawer .lead-profile .lead-timing-grid strong {
  line-height: 1.34 !important;
}

#app #drawer .lead-profile .lead-brief-grid {
  margin-top: 0 !important;
}

#app #drawer .lead-profile .lead-brief-grid article p {
  line-height: 1.38 !important;
}

@media (max-width: 980px) {
  #app #drawer .lead-profile .lead-profile-actions {
    grid-template-columns: 1fr !important;
  }

  #app #drawer .lead-profile .lead-profile-grid,
  #app #drawer .lead-profile .evidence-list {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  #app #drawer .lead-profile .lead-profile-action-group .contact-actions.profile,
  #app #drawer .lead-profile .lead-profile-action-buttons {
    grid-template-columns: 1fr !important;
  }
}

/* Lead status colour system: whole cards change state without adding dashboard clutter. */
#app .opportunity-row,
#app .refined-prospect-card,
#app .action-lead,
#app .pipeline-lead-card,
#app .area-drawer-lead {
  --lead-state-line: rgba(45, 212, 191, 0.24);
  --lead-state-bg-a: rgba(45, 212, 191, 0.055);
  --lead-state-bg-b: rgba(8, 16, 17, 0.82);
  --lead-state-glow: rgba(45, 212, 191, 0.08);
}

#app .opportunity-row.status-in_progress,
#app .opportunity-row.status-contacted,
#app .opportunity-row.status-quoted,
#app .refined-prospect-card.status-in_progress,
#app .refined-prospect-card.status-contacted,
#app .refined-prospect-card.status-quoted,
#app .action-lead.status-in_progress,
#app .action-lead.status-contacted,
#app .action-lead.status-quoted,
#app .pipeline-lead-card.status-in_progress,
#app .pipeline-lead-card.status-contacted,
#app .pipeline-lead-card.status-quoted,
#app .area-drawer-lead.status-in_progress,
#app .area-drawer-lead.status-contacted,
#app .area-drawer-lead.status-quoted {
  --lead-state-line: rgba(244, 200, 100, 0.54);
  --lead-state-bg-a: rgba(244, 200, 100, 0.13);
  --lead-state-bg-b: rgba(24, 20, 12, 0.88);
  --lead-state-glow: rgba(244, 200, 100, 0.16);
}

#app .opportunity-row.status-callback_later,
#app .refined-prospect-card.status-callback_later,
#app .action-lead.status-callback_later,
#app .pipeline-lead-card.status-callback_later,
#app .area-drawer-lead.status-callback_later {
  --lead-state-line: rgba(136, 184, 255, 0.56);
  --lead-state-bg-a: rgba(111, 182, 214, 0.13);
  --lead-state-bg-b: rgba(10, 20, 28, 0.88);
  --lead-state-glow: rgba(111, 182, 214, 0.16);
}

#app .opportunity-row.status-won,
#app .refined-prospect-card.status-won,
#app .action-lead.status-won,
#app .pipeline-lead-card.status-won,
#app .area-drawer-lead.status-won {
  --lead-state-line: rgba(120, 221, 139, 0.62);
  --lead-state-bg-a: rgba(120, 221, 139, 0.15);
  --lead-state-bg-b: rgba(10, 28, 15, 0.9);
  --lead-state-glow: rgba(120, 221, 139, 0.18);
}

#app .opportunity-row.status-lost,
#app .opportunity-row.status-disqualified,
#app .refined-prospect-card.status-lost,
#app .refined-prospect-card.status-disqualified,
#app .action-lead.status-lost,
#app .action-lead.status-disqualified,
#app .pipeline-lead-card.status-lost,
#app .pipeline-lead-card.status-disqualified,
#app .area-drawer-lead.status-lost,
#app .area-drawer-lead.status-disqualified {
  --lead-state-line: rgba(255, 154, 142, 0.48);
  --lead-state-bg-a: rgba(255, 154, 142, 0.1);
  --lead-state-bg-b: rgba(31, 15, 13, 0.88);
  --lead-state-glow: rgba(255, 154, 142, 0.13);
}

#app .opportunity-row.status-in_progress,
#app .opportunity-row.status-contacted,
#app .opportunity-row.status-quoted,
#app .opportunity-row.status-callback_later,
#app .opportunity-row.status-won,
#app .opportunity-row.status-lost,
#app .opportunity-row.status-disqualified,
#app .refined-prospect-card.status-in_progress,
#app .refined-prospect-card.status-contacted,
#app .refined-prospect-card.status-quoted,
#app .refined-prospect-card.status-callback_later,
#app .refined-prospect-card.status-won,
#app .refined-prospect-card.status-lost,
#app .refined-prospect-card.status-disqualified,
#app .action-lead.status-in_progress,
#app .action-lead.status-contacted,
#app .action-lead.status-quoted,
#app .action-lead.status-callback_later,
#app .action-lead.status-won,
#app .action-lead.status-lost,
#app .action-lead.status-disqualified,
#app .area-drawer-lead.status-in_progress,
#app .area-drawer-lead.status-contacted,
#app .area-drawer-lead.status-quoted,
#app .area-drawer-lead.status-callback_later,
#app .area-drawer-lead.status-won,
#app .area-drawer-lead.status-lost,
#app .area-drawer-lead.status-disqualified {
  border-color: var(--lead-state-line) !important;
  background:
    linear-gradient(90deg, var(--lead-state-bg-a), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    var(--lead-state-bg-b) !important;
  box-shadow:
    inset 4px 0 0 var(--lead-state-line),
    0 12px 30px var(--lead-state-glow) !important;
}

#app .pipeline-lead-card.status-in_progress,
#app .pipeline-lead-card.status-contacted,
#app .pipeline-lead-card.status-quoted,
#app .pipeline-lead-card.status-callback_later,
#app .pipeline-lead-card.status-won,
#app .pipeline-lead-card.status-lost,
#app .pipeline-lead-card.status-disqualified {
  border-color: var(--lead-state-line) !important;
  background:
    linear-gradient(90deg, var(--lead-state-bg-a), transparent 50%),
    var(--lead-state-bg-b) !important;
  box-shadow: inset 3px 0 0 var(--lead-state-line) !important;
}

#app .status-in_progress .badge,
#app .status-contacted .badge,
#app .status-quoted .badge,
#app .status-callback_later .badge,
#app .status-won .badge,
#app .status-lost .badge,
#app .status-disqualified .badge,
#app .pipeline-lead-card.status-in_progress span,
#app .pipeline-lead-card.status-contacted span,
#app .pipeline-lead-card.status-quoted span,
#app .pipeline-lead-card.status-callback_later span,
#app .pipeline-lead-card.status-won span,
#app .pipeline-lead-card.status-lost span,
#app .pipeline-lead-card.status-disqualified span {
  border: 1px solid var(--lead-state-line) !important;
  background: var(--lead-state-bg-a) !important;
  color: #f7f3dd !important;
}

#app [data-status-value="in_progress"],
#app .lead-profile-open[data-status-value="in_progress"] {
  --lr-btn-accent: #f4c864;
  --lr-btn-accent-soft: rgba(244, 200, 100, 0.22);
  --lr-btn-accent-line: rgba(244, 200, 100, 0.55);
  --lr-btn-ink: #fff6d7;
  border-color: rgba(244, 200, 100, 0.55) !important;
  color: #fff6d7 !important;
  background:
    linear-gradient(180deg, rgba(244, 200, 100, 0.22), rgba(244, 200, 100, 0.045)),
    rgba(20, 16, 9, 0.82) !important;
}

#app .lead-quick-actions .callback,
#app .lead-profile-open.callback {
  border-color: rgba(136, 184, 255, 0.5) !important;
}

/* Explicit status column for client lead boards. */
#app .rich-table .table-head,
#app .rich-table .opportunity-row {
  grid-template-columns:
    44px
    minmax(140px, 0.98fr)
    minmax(96px, 0.46fr)
    minmax(92px, 0.48fr)
    minmax(190px, 1.32fr)
    minmax(70px, 0.34fr)
    minmax(64px, 0.3fr)
    minmax(176px, 0.62fr) !important;
}

#app .lead-status-chip {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 25px;
  padding: 5px 8px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(45, 212, 191, 0.34);
  border-radius: 999px;
  color: #dff8ee;
  background:
    linear-gradient(180deg, rgba(45, 212, 191, 0.15), rgba(45, 212, 191, 0.035)),
    rgba(6, 18, 16, 0.78);
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#app .lead-status-chip.status-researching,
#app .lead-status-chip.status-qualified,
#app .lead-status-chip.status-new {
  border-color: rgba(45, 212, 191, 0.36);
  color: #dcfff3;
  background:
    linear-gradient(180deg, rgba(45, 212, 191, 0.16), rgba(45, 212, 191, 0.035)),
    rgba(5, 20, 18, 0.8);
}

#app .lead-status-chip.status-in_progress,
#app .lead-status-chip.status-contacted,
#app .lead-status-chip.status-quoted {
  border-color: rgba(244, 200, 100, 0.58);
  color: #fff4cf;
  background:
    linear-gradient(180deg, rgba(244, 200, 100, 0.2), rgba(244, 200, 100, 0.045)),
    rgba(24, 18, 9, 0.84);
}

#app .lead-status-chip.status-callback_later {
  border-color: rgba(136, 184, 255, 0.56);
  color: #e2f1ff;
  background:
    linear-gradient(180deg, rgba(111, 182, 214, 0.18), rgba(111, 182, 214, 0.04)),
    rgba(8, 18, 28, 0.84);
}

#app .lead-status-chip.status-won {
  border-color: rgba(120, 221, 139, 0.6);
  color: #e7ffe8;
  background:
    linear-gradient(180deg, rgba(120, 221, 139, 0.18), rgba(120, 221, 139, 0.04)),
    rgba(9, 26, 13, 0.84);
}

#app .lead-status-chip.status-lost,
#app .lead-status-chip.status-disqualified {
  border-color: rgba(255, 154, 142, 0.5);
  color: #ffe0dc;
  background:
    linear-gradient(180deg, rgba(255, 154, 142, 0.16), rgba(255, 154, 142, 0.035)),
    rgba(30, 13, 12, 0.84);
}

#app .client-page-content[data-client-page="dashboard"] .hot-leads-first.compact-board .table-head,
#app .client-page-content[data-client-page="dashboard"] .hot-leads-first.compact-board .rich-table .opportunity-row {
  grid-template-columns:
    38px
    minmax(112px, 0.82fr)
    minmax(88px, 0.42fr)
    minmax(78px, 0.42fr)
    minmax(132px, 1.08fr)
    minmax(62px, 0.32fr)
    minmax(54px, 0.26fr)
    minmax(168px, 0.68fr) !important;
}

#app .client-page-content[data-client-page="dashboard"] .hot-leads-first.compact-board .rich-table .opportunity-row > .lead-status-chip {
  grid-column: 3 !important;
  grid-row: 1 !important;
  justify-self: start !important;
}

#app .client-page-content[data-client-page="dashboard"] .hot-leads-first.compact-board .rich-table .opportunity-row > span:nth-child(4) {
  grid-column: 4 !important;
  grid-row: 1 !important;
}

#app .client-page-content[data-client-page="dashboard"] .hot-leads-first.compact-board .rich-table .opportunity-row > span:nth-child(5) {
  grid-column: 5 !important;
  grid-row: 1 !important;
}

#app .client-page-content[data-client-page="dashboard"] .hot-leads-first.compact-board .rich-table .opportunity-row > span:nth-child(6) {
  grid-column: 6 !important;
  grid-row: 1 !important;
  justify-self: start !important;
}

#app .client-page-content[data-client-page="dashboard"] .hot-leads-first.compact-board .rich-table .opportunity-row > em {
  grid-column: 7 !important;
}

#app .client-page-content[data-client-page="dashboard"] .hot-leads-first.compact-board .rich-table .opportunity-row > .hot-lead-actions.lead-action-grid {
  grid-column: 8 !important;
}

@media (max-width: 1240px) {
  #app .rich-table .table-head {
    display: none !important;
  }

  #app .rich-table .opportunity-row,
  #app .client-page-content[data-client-page="dashboard"] .hot-leads-first.compact-board .rich-table .opportunity-row {
    grid-template-columns: 38px minmax(0, 1fr) minmax(126px, 0.6fr) !important;
    gap: 8px !important;
  }

  #app .rich-table .opportunity-row > strong {
    grid-column: 1 !important;
  }

  #app .rich-table .row-lead-open {
    grid-column: 2 !important;
  }

  #app .rich-table .opportunity-row > .lead-status-chip {
    grid-column: 3 !important;
    justify-self: end !important;
  }

  #app .rich-table .opportunity-row > span:nth-child(4),
  #app .rich-table .opportunity-row > span:nth-child(5),
  #app .rich-table .opportunity-row > span:nth-child(6),
  #app .rich-table .opportunity-row > em {
    grid-column: 2 / -1 !important;
  }

  #app .rich-table .opportunity-row > .hot-lead-actions.lead-action-grid {
    grid-column: 1 / -1 !important;
  }
}
/* Subscription tier gates and locked lead previews. */
#app .locked-lead-preview {
  position: relative;
  overflow: hidden;
  border-color: rgba(246, 211, 111, 0.38) !important;
  background:
    linear-gradient(135deg, rgba(245, 191, 72, 0.14), rgba(9, 24, 26, 0.88) 46%, rgba(7, 13, 15, 0.96)) !important;
}

#app .locked-lead-preview::after {
  content: "Plan preview";
  position: absolute;
  top: 10px;
  right: 12px;
  padding: 5px 9px;
  border: 1px solid rgba(246, 211, 111, 0.42);
  border-radius: 999px;
  color: #f6d36f;
  background: rgba(8, 12, 13, 0.72);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  pointer-events: none;
}

#app .locked-lead-preview .prospect-identity strong,
#app .locked-lead-preview .row-lead-open b {
  filter: blur(0.8px);
  color: rgba(255, 247, 218, 0.82);
}

#app .locked-actions .call-button,
#app .locked-actions .email-button,
#app .locked-action {
  opacity: 0.82;
  cursor: pointer;
}

#app .locked-actions .call-button[disabled],
#app .locked-actions .email-button[disabled] {
  cursor: not-allowed;
  color: rgba(220, 232, 228, 0.46);
  border-color: rgba(167, 186, 181, 0.2);
  background: linear-gradient(180deg, rgba(25, 37, 39, 0.65), rgba(7, 11, 12, 0.9));
}

#app .locked-action {
  color: #0b1515 !important;
  border-color: rgba(246, 211, 111, 0.9) !important;
  background: linear-gradient(135deg, #f7d96c, #70e4cb) !important;
  box-shadow: 0 12px 32px rgba(246, 211, 111, 0.16);
}

#app .area-pack-button {
  width: fit-content;
  max-width: 100%;
  margin-top: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(246, 211, 111, 0.34);
  border-radius: 9px;
  color: #f6d36f;
  background:
    linear-gradient(135deg, rgba(246, 211, 111, 0.15), rgba(12, 25, 26, 0.92)),
    radial-gradient(circle at 12% 30%, rgba(112, 228, 203, 0.24), transparent 42%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 24px rgba(0, 0, 0, 0.22);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

#app .area-pack-button:hover {
  transform: translateY(-1px);
  border-color: rgba(112, 228, 203, 0.62);
  box-shadow: 0 14px 30px rgba(112, 228, 203, 0.13), 0 10px 24px rgba(0, 0, 0, 0.24);
}

#app .area-pack-button.premium-open {
  color: #091516;
  border-color: rgba(112, 228, 203, 0.68);
  background: linear-gradient(135deg, #78ecd8, #f6d36f);
}

#app .prospect-action-panel > .area-pack-button {
  justify-self: stretch;
  width: 100%;
  text-align: center;
}

#app .locked-lead-gate,
#drawer .locked-upgrade-panel {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid rgba(246, 211, 111, 0.26);
  border-radius: 10px;
  background: rgba(246, 211, 111, 0.08);
  color: rgba(239, 248, 244, 0.86);
}

#app .locked-lead-gate strong,
#drawer .locked-upgrade-panel strong {
  color: #f6d36f;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

#drawer .plan-badge {
  justify-self: start;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #091516;
  background: linear-gradient(135deg, #f6d36f, #6ee7cf);
}

#app .lead-status-chip.status-locked {
  color: #f6d36f;
  border-color: rgba(246, 211, 111, 0.44);
  background: rgba(246, 211, 111, 0.11);
}

#app .subscription-access-strip {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) 1fr auto;
  gap: 16px;
  align-items: center;
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid rgba(108, 228, 207, 0.26);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(14, 52, 52, 0.78), rgba(9, 15, 17, 0.92));
}

#app .subscription-access-strip.trial {
  border-color: rgba(246, 211, 111, 0.34);
  background: linear-gradient(135deg, rgba(79, 58, 15, 0.58), rgba(9, 15, 17, 0.94));
}

#app .subscription-access-strip span {
  display: block;
  color: #79ead7;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

#app .subscription-access-strip.trial span {
  color: #f6d36f;
}

#app .subscription-access-strip strong {
  display: block;
  margin-top: 3px;
  color: #fff7dc;
  font-size: 1.02rem;
}

#app .subscription-access-strip p {
  margin: 0;
  color: rgba(218, 233, 229, 0.78);
  line-height: 1.45;
}

#app .rate-review-radar {
  margin: 0 0 18px;
  padding: 18px;
  border-color: rgba(112, 228, 203, 0.32);
  background:
    radial-gradient(circle at 8% 12%, rgba(112, 228, 203, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(11, 39, 41, 0.94), rgba(7, 10, 12, 0.98));
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

#app .rate-radar-head,
#app .rate-radar-grid,
#app .cargo-wise-loop {
  display: grid;
  gap: 14px;
}

#app .rate-radar-head {
  grid-template-columns: minmax(0, 1fr) 170px;
  align-items: start;
}

#app .rate-radar-head h2 {
  margin: 3px 0 7px;
  color: #fff7dc;
  font-size: clamp(1.35rem, 2vw, 2.05rem);
  letter-spacing: 0;
}

#app .rate-radar-head p {
  max-width: 900px;
  margin: 0;
  color: rgba(220, 238, 234, 0.78);
  line-height: 1.5;
}

#app .rate-radar-score {
  display: grid;
  gap: 3px;
  padding: 14px;
  border: 1px solid rgba(246, 211, 111, 0.34);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(246, 211, 111, 0.14), rgba(9, 20, 21, 0.78));
}

#app .rate-radar-score span,
#app .rate-radar-score small {
  color: rgba(220, 238, 234, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

#app .rate-radar-score strong {
  color: #f6d36f;
  font-size: 2.4rem;
  line-height: 1;
}

#app .rate-radar-grid {
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
  align-items: stretch;
  margin-top: 15px;
}

#app .rate-radar-primary,
#app .rate-radar-row,
#app .cargo-wise-loop {
  border: 1px solid rgba(112, 228, 203, 0.22);
  background: rgba(4, 14, 16, 0.74);
}

#app .rate-radar-primary {
  display: grid;
  gap: 11px;
  padding: 16px;
  border-radius: 12px;
}

#app .rate-radar-primary > span,
#app .cargo-wise-loop strong {
  color: #70e4cb;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

#app .rate-radar-primary h3 {
  margin: 0;
  color: #fff7dc;
  font-size: 1.35rem;
}

#app .rate-radar-primary p {
  margin: 0;
  color: rgba(232, 245, 241, 0.82);
  line-height: 1.45;
}

#app .rate-radar-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#app .rate-radar-badges b {
  padding: 7px 9px;
  border: 1px solid rgba(246, 211, 111, 0.3);
  border-radius: 999px;
  color: #f6d36f;
  background: rgba(246, 211, 111, 0.08);
  font-size: 0.72rem;
}

#app .rate-radar-wedge {
  border-left: 3px solid #70e4cb;
  padding-left: 10px;
}

#app .rate-radar-list {
  display: grid;
  gap: 9px;
}

#app .rate-radar-row {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 5px 12px;
  align-items: center;
  padding: 12px;
  border-radius: 11px;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

#app .rate-radar-row:hover {
  transform: translateY(-1px);
  border-color: rgba(246, 211, 111, 0.48);
  background: rgba(11, 33, 35, 0.86);
}

#app .rate-radar-row span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  color: #091516;
  background: linear-gradient(135deg, #f6d36f, #70e4cb);
  font-weight: 950;
}

#app .rate-radar-row strong {
  color: #fff7dc;
}

#app .rate-radar-row small,
#app .cargo-wise-loop span {
  color: rgba(220, 238, 234, 0.72);
  line-height: 1.35;
}

#app .logistics-signal-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 9px;
  margin-top: 14px;
}

#app .logistics-signal-grid article {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 11px;
  border: 1px solid rgba(112, 228, 203, 0.18);
  border-radius: 11px;
  background: rgba(4, 14, 16, 0.64);
}

#app .logistics-signal-grid article.hot {
  border-color: rgba(112, 228, 203, 0.34);
  background: linear-gradient(180deg, rgba(112, 228, 203, 0.1), rgba(4, 14, 16, 0.68));
}

#app .logistics-signal-grid article.warm {
  border-color: rgba(246, 211, 111, 0.28);
}

#app .logistics-signal-grid article.watch {
  opacity: 0.78;
}

#app .logistics-signal-grid span {
  color: #f6d36f;
  font-size: 1.25rem;
  font-weight: 950;
  line-height: 1;
}

#app .logistics-signal-grid strong {
  color: #fff7dc;
  font-size: 0.78rem;
}

#app .logistics-signal-grid small {
  color: rgba(220, 238, 234, 0.68);
  font-size: 0.68rem;
  line-height: 1.32;
}

#app .cargo-wise-loop {
  grid-template-columns: 170px 1fr;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 11px;
}

@media (max-width: 760px) {
  #app .subscription-access-strip {
    grid-template-columns: 1fr;
  }

  #app .rate-radar-head,
  #app .rate-radar-grid,
  #app .cargo-wise-loop {
    grid-template-columns: 1fr;
  }

  #app .logistics-signal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Real phone client portal hardening. Keep this late so it wins over legacy layout layers. */
@media (max-width: 760px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  #app.client-session {
    display: block !important;
    width: 100% !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
    grid-template-columns: 1fr !important;
  }

  #app.client-session *,
  #app.client-session *::before,
  #app.client-session *::after {
    box-sizing: border-box;
  }

  #app.client-session .sidebar,
  #app.client-session .brand,
  #app.client-session nav,
  #app.client-session .client-menu-shell,
  #app.client-session main,
  #app.client-session .topbar,
  #app.client-session .view,
  #app.client-session .client-dashboard,
  #app.client-session .client-page-content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  #app.client-session .sidebar {
    position: sticky !important;
    top: 0 !important;
    z-index: 70 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    height: auto !important;
    padding: max(8px, env(safe-area-inset-top)) 10px 8px !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(111, 235, 214, 0.16) !important;
    background: rgba(3, 11, 12, 0.94) !important;
    overflow: hidden !important;
    backdrop-filter: blur(16px);
  }

  #app.client-session .brand {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #app.client-session .brand .mark {
    flex: 0 0 34px !important;
    width: 34px !important;
    height: 34px !important;
  }

  #app.client-session .brand strong {
    font-size: 0.88rem !important;
    line-height: 1.05 !important;
  }

  #app.client-session .brand span {
    font-size: 0.66rem !important;
  }

  #app.client-session nav {
    display: block !important;
    overflow: hidden !important;
  }

  #app.client-session .client-menu-shell {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    padding: 1px 1px 5px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  #app.client-session .client-menu-shell::-webkit-scrollbar {
    display: none;
  }

  #app.client-session .client-menu-button {
    flex: 0 0 clamp(112px, 31vw, 142px) !important;
    display: grid !important;
    grid-template-columns: 28px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 7px !important;
    width: auto !important;
    max-width: clamp(112px, 31vw, 142px) !important;
    min-width: 0 !important;
    min-height: 42px !important;
    padding: 6px 8px !important;
    border-radius: 12px !important;
    scroll-snap-align: start;
  }

  #app.client-session .client-menu-button span {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.86rem !important;
  }

  #app.client-session .client-menu-button strong {
    width: 100%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #fff7dc;
    font-size: 0.7rem !important;
    line-height: 1.08 !important;
    white-space: normal !important;
  }

  #app.client-session .client-menu-button.signout {
    flex-basis: 104px !important;
    max-width: 104px !important;
  }

  #app.client-session .topbar {
    display: none !important;
  }

  #app.client-session main {
    padding: 8px 8px 88px !important;
    overflow-x: hidden !important;
  }

  #app.client-session .client-dashboard,
  #app.client-session .client-page-content {
    margin: 0 !important;
    padding: 10px !important;
    border-radius: 14px !important;
  }

  #app.client-session .lead-product-header,
  #app.client-session .lead-dashboard-hero,
  #app.client-session .client-dashboard-top,
  #app.client-session .product-stats,
  #app.client-session .demo-value-front,
  #app.client-session .metric-row,
  #app.client-session .dashboard-metric-grid,
  #app.client-session .hot-leads-first,
  #app.client-session .opportunity-board,
  #app.client-session .client-grid,
  #app.client-session .segment-row,
  #app.client-session .settings-grid,
  #app.client-session .settings-card,
  #app.client-session .finance-entry,
  #app.client-session .finance-grid,
  #app.client-session .action-plan-grid,
  #app.client-session .action-plan-card,
  #app.client-session .rate-radar-head,
  #app.client-session .rate-radar-grid,
  #app.client-session .cargo-wise-loop {
    grid-template-columns: 1fr !important;
    min-width: 0 !important;
  }

  #app.client-session .lead-product-header,
  #app.client-session .lead-dashboard-hero,
  #app.client-session .client-dashboard-top,
  #app.client-session .demo-value-front,
  #app.client-session .hot-leads-first,
  #app.client-session .opportunity-board,
  #app.client-session .settings-card,
  #app.client-session .rate-review-radar {
    padding: 12px !important;
    border-radius: 13px !important;
  }

  #app.client-session h1,
  #app.client-session h2 {
    font-size: clamp(1.32rem, 8vw, 1.82rem) !important;
    line-height: 1.05 !important;
  }

  #app.client-session h3 {
    font-size: 1.05rem !important;
    line-height: 1.15 !important;
  }

  #app.client-session p,
  #app.client-session li,
  #app.client-session small,
  #app.client-session span,
  #app.client-session strong {
    overflow-wrap: anywhere;
  }

  #app.client-session .rich-table {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  #app.client-session .rich-table .table-head {
    display: none !important;
  }

  #app.client-session .rich-table .opportunity-row,
  #app.client-session .client-page-content[data-client-page="dashboard"] .hot-leads-first.compact-board .rich-table .opportunity-row {
    display: grid !important;
    grid-template-columns: 32px minmax(0, 1fr) !important;
    gap: 7px 9px !important;
    align-items: start !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 11px !important;
    border-radius: 13px !important;
  }

  #app.client-session .rich-table .opportunity-row > strong {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
  }

  #app.client-session .rich-table .row-lead-open {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  #app.client-session .rich-table .opportunity-row > .lead-status-chip {
    grid-column: 2 !important;
    grid-row: 2 !important;
    justify-self: start !important;
    max-width: 100% !important;
  }

  #app.client-session .rich-table .opportunity-row > span:nth-child(4),
  #app.client-session .rich-table .opportunity-row > span:nth-child(5),
  #app.client-session .rich-table .opportunity-row > span:nth-child(6),
  #app.client-session .rich-table .opportunity-row > em {
    grid-column: 2 !important;
    grid-row: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  #app.client-session .rich-table .opportunity-row > .hot-lead-actions.lead-action-grid {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  #app.client-session .hot-lead-actions,
  #app.client-session .rich-table .hot-lead-actions,
  #app.client-session .hot-lead-actions.lead-action-grid,
  #app.client-session .lead-primary-actions,
  #app.client-session .lead-action-row,
  #app.client-session .money-move-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  #app.client-session .hot-lead-actions .contact-actions.row,
  #app.client-session .hot-lead-actions .contact-actions.money {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    width: 100% !important;
  }

  #app.client-session .call-button,
  #app.client-session .email-button,
  #app.client-session .tool-button,
  #app.client-session .lead-profile-open,
  #app.client-session .open-profile-button,
  #app.client-session .settings-button,
  #app.client-session .money-button {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 42px !important;
    padding-inline: 12px !important;
  }

  #app.client-session .cadence-strip {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 9px !important;
  }

  #app.client-session .cadence-step {
    width: 100% !important;
    min-width: 0 !important;
  }

  #app.client-session .cadence-step::after {
    display: none !important;
  }

  #app.client-session .drawer,
  #app.client-session #drawer,
  #app.client-session .drawer:has(.lead-profile) {
    inset: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    height: 100dvh !important;
    padding: 14px 9px 28px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  #app.client-session .drawer.open,
  #app.client-session #drawer.open {
    transform: translateX(0) !important;
  }

  #app.client-session .lead-profile {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 13px !important;
    border-radius: 16px !important;
  }

  #app.client-session .lead-profile-hero,
  #app.client-session .lead-profile-actions,
  #app.client-session .lead-profile-command,
  #app.client-session .lead-profile-facts,
  #app.client-session .lead-profile-grid,
  #app.client-session .lead-timing-grid,
  #app.client-session .lead-profile-save-row,
  #app.client-session .evidence-list {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  #app.client-session .lead-profile-actions .contact-actions.profile,
  #app.client-session .lead-profile-action-buttons {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  #app.client-session .lead-profile-tabs {
    display: none !important;
  }

  #app.client-session .lead-profile-tabs button {
    min-width: 0 !important;
    padding: 10px 7px !important;
    font-size: 0.74rem !important;
  }

  #app.client-session input,
  #app.client-session select,
  #app.client-session textarea {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  #app.client-session .hunter-assistant {
    right: 10px !important;
    bottom: 10px !important;
    transform: scale(0.86) !important;
    transform-origin: bottom right !important;
    z-index: 80 !important;
  }

  #app.client-session .hunter-nudge {
    display: none !important;
  }

  #app.client-session:has(#drawer.open) .hunter-assistant {
    display: none !important;
  }
}

@media (max-width: 420px) {
  #app.client-session .client-menu-button {
    flex-basis: 104px !important;
    max-width: 104px !important;
  }

  #app.client-session .client-menu-button strong {
    font-size: 0.66rem !important;
  }

  #app.client-session main {
    padding-inline: 6px !important;
  }

  #app.client-session .client-dashboard,
  #app.client-session .client-page-content {
    padding: 8px !important;
  }
}

/* Mobile UX pass 2: make the phone view useful, not just contained. */
@media (max-width: 760px) {
  #app.client-session .sidebar {
    gap: 7px !important;
    padding: max(7px, env(safe-area-inset-top)) 8px 7px !important;
  }

  #app.client-session .brand .mark {
    flex-basis: 28px !important;
    width: 28px !important;
    height: 28px !important;
  }

  #app.client-session .brand strong {
    font-size: 0.78rem !important;
  }

  #app.client-session .brand span {
    font-size: 0.58rem !important;
  }

  #app.client-session .client-menu-shell {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 5px !important;
    overflow: visible !important;
    padding: 0 !important;
    scroll-snap-type: none !important;
  }

  #app.client-session .client-menu-button,
  #app.client-session .client-menu-button.signout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    align-content: center !important;
    gap: 3px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    padding: 5px 4px !important;
    border-radius: 10px !important;
  }

  #app.client-session .client-menu-button span {
    width: 20px !important;
    height: 20px !important;
    font-size: 0.66rem !important;
  }

  #app.client-session .client-menu-button strong {
    max-width: 100%;
    display: block !important;
    color: rgba(255, 247, 220, 0.9);
    font-size: 0.55rem !important;
    line-height: 1.02 !important;
    text-align: center !important;
    white-space: normal !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  #app.client-session main {
    padding: 7px 7px 84px !important;
  }

  #app.client-session .client-dashboard,
  #app.client-session .client-page-content {
    padding: 8px !important;
  }

  #app.client-session .lead-product-header {
    padding: 9px !important;
  }

  #app.client-session .lead-brand-row {
    gap: 7px !important;
  }

  #app.client-session .lead-actions {
    display: none !important;
  }

  #app.client-session .lead-title-row h2 {
    font-size: 1.22rem !important;
    line-height: 1.04 !important;
  }

  #app.client-session .lead-title-row p,
  #app.client-session .lead-meta {
    display: none !important;
  }

  #app.client-session .subscription-access-strip {
    grid-template-columns: 1fr auto !important;
    gap: 9px !important;
    padding: 10px !important;
    margin-bottom: 9px !important;
  }

  #app.client-session .subscription-access-strip p {
    display: none !important;
  }

  #app.client-session .subscription-access-strip strong {
    font-size: 0.88rem !important;
    line-height: 1.15 !important;
  }

  #app.client-session .subscription-access-strip .tool-button {
    min-height: 34px !important;
    padding: 8px 10px !important;
    font-size: 0.68rem !important;
  }

  #app.client-session .client-page-content[data-client-page="dashboard"] .product-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  #app.client-session .client-page-content[data-client-page="dashboard"] .product-stats .metric {
    min-height: 76px !important;
    padding: 10px !important;
    border-radius: 11px !important;
  }

  #app.client-session .client-page-content[data-client-page="dashboard"] .product-stats .metric span {
    font-size: 0.6rem !important;
    line-height: 1.05 !important;
  }

  #app.client-session .client-page-content[data-client-page="dashboard"] .product-stats .metric strong {
    font-size: 1.22rem !important;
    line-height: 1 !important;
  }

  #app.client-session .client-page-content[data-client-page="dashboard"] .product-stats .metric small {
    display: none !important;
  }

  #app.client-session .rate-review-radar {
    padding: 11px !important;
    margin-bottom: 9px !important;
  }

  #app.client-session .rate-radar-head {
    grid-template-columns: minmax(0, 1fr) 74px !important;
    gap: 8px !important;
    align-items: center !important;
  }

  #app.client-session .rate-radar-head h2 {
    font-size: 0.98rem !important;
    line-height: 1.12 !important;
    margin: 2px 0 0 !important;
  }

  #app.client-session .rate-radar-head p {
    display: none !important;
  }

  #app.client-session .rate-radar-score {
    padding: 8px !important;
    border-radius: 10px !important;
  }

  #app.client-session .rate-radar-score strong {
    font-size: 1.45rem !important;
  }

  #app.client-session .rate-radar-score small {
    display: none !important;
  }

  #app.client-session .rate-radar-grid,
  #app.client-session .cargo-wise-loop {
    display: none !important;
  }

  #app.client-session .client-page-content[data-client-page="dashboard"] .demo-value-front {
    padding: 11px !important;
    gap: 10px !important;
    margin-bottom: 0 !important;
  }

  #app.client-session .demo-value-copy h2 {
    font-size: 1.1rem !important;
    margin-bottom: 4px !important;
  }

  #app.client-session .demo-value-copy p {
    display: none !important;
  }

  #app.client-session .demo-value-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }

  #app.client-session .demo-value-metrics span {
    min-height: 42px !important;
    padding: 7px 8px !important;
    border-radius: 9px !important;
  }

  #app.client-session .demo-value-metrics b {
    font-size: 0.93rem !important;
  }

  #app.client-session .client-page-content[data-client-page="dashboard"] .demo-lead-stack.future {
    display: none !important;
  }

  #app.client-session .client-page-content[data-client-page="dashboard"] .demo-lead-stack .money-move-card:nth-of-type(n+3) {
    display: none !important;
  }

  #app.client-session .money-move-card {
    padding: 9px !important;
    gap: 6px !important;
    border-radius: 11px !important;
  }

  #app.client-session .money-move-main {
    grid-template-columns: 26px minmax(0, 1fr) !important;
    gap: 7px !important;
  }

  #app.client-session .money-move-main strong {
    font-size: 0.78rem !important;
  }

  #app.client-session .money-move-card p {
    display: none !important;
  }

  #app.client-session .money-move-actions.lead-action-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }

  #app.client-session .money-move-actions .contact-actions.money {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
  }

  #app.client-session .money-move-actions .call-button,
  #app.client-session .money-move-actions .email-button,
  #app.client-session .money-move-actions .tool-button {
    min-height: 34px !important;
    height: 34px !important;
    border-radius: 8px !important;
    font-size: 0.68rem !important;
  }

  #app.client-session .client-page-content[data-client-page="dashboard"] .hot-leads-first.compact-board {
    display: none !important;
  }

  #app.client-session .leads-page .page-title-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 2px 0 8px !important;
  }

  #app.client-session .leads-page .page-title-row h2 {
    font-size: 1.18rem !important;
  }

  #app.client-session .leads-page .lead-count-pill {
    margin-left: auto !important;
    padding: 7px 9px !important;
    font-size: 0.58rem !important;
    white-space: nowrap !important;
  }

  #app.client-session .prospect-list-head {
    display: none !important;
  }

  #app.client-session .leads-page .refined-prospect-card {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding: 10px !important;
    border-radius: 13px !important;
  }

  #app.client-session .leads-page .prospect-main {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) !important;
    gap: 7px 9px !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
  }

  #app.client-session .leads-page .prospect-score {
    grid-column: 1 !important;
    grid-row: 1 / span 3 !important;
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    border-radius: 11px !important;
    font-size: 0.88rem !important;
  }

  #app.client-session .leads-page .prospect-identity,
  #app.client-session .leads-page .prospect-reason,
  #app.client-session .leads-page .prospect-value {
    grid-column: 2 !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  #app.client-session .leads-page .prospect-identity strong {
    font-size: 0.9rem !important;
    line-height: 1.12 !important;
  }

  #app.client-session .leads-page .prospect-reason b {
    font-size: 0.68rem !important;
  }

  #app.client-session .leads-page .prospect-reason small,
  #app.client-session .leads-page .prospect-value small {
    font-size: 0.66rem !important;
    line-height: 1.22 !important;
  }

  #app.client-session .leads-page .prospect-value {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 3px !important;
  }

  #app.client-session .leads-page .prospect-value b {
    font-size: 1.02rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  #app.client-session .leads-page .prospect-action-panel {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 7px !important;
    width: 100% !important;
    padding: 0 !important;
    border-left: 0 !important;
  }

  #app.client-session .leads-page .lead-primary-actions.lead-action-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 7px !important;
    width: 100% !important;
  }

  #app.client-session .leads-page .lead-primary-actions.lead-action-grid .contact-actions.lead-list {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 7px !important;
    width: 100% !important;
  }

  #app.client-session .leads-page .lead-primary-actions.lead-action-grid .call-button,
  #app.client-session .leads-page .lead-primary-actions.lead-action-grid .email-button,
  #app.client-session .leads-page .lead-primary-actions.lead-action-grid .open-profile-button {
    width: 100% !important;
    min-width: 0 !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 9px 10px !important;
    border-radius: 9px !important;
    font-size: 0.72rem !important;
    line-height: 1 !important;
  }

  #app.client-session .leads-page .lead-quick-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }

  #app.client-session .leads-page .lead-quick-actions button {
    min-width: 0 !important;
    min-height: 34px !important;
    padding: 8px !important;
    border-radius: 8px !important;
    font-size: 0.65rem !important;
  }

  #app.client-session:has(.client-page-content[data-client-page="leads"]) .hunter-assistant,
  #app.client-session:has(.client-page-content[data-client-page="dashboard"]) .hunter-assistant {
    right: 5px !important;
    bottom: 5px !important;
    transform: scale(0.58) !important;
  }
}

@media (max-width: 380px) {
  #app.client-session .client-menu-button strong {
    font-size: 0.5rem !important;
  }

  #app.client-session .client-menu-button {
    min-height: 42px !important;
    padding-inline: 2px !important;
  }
}

#app .plan-feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
}

#app .settings-panel {
  order: 10;
}

#app .plan-feature-list span {
  display: grid;
  gap: 3px;
  min-height: 64px;
  padding: 11px;
  border: 1px solid rgba(108, 228, 207, 0.18);
  border-radius: 10px;
  background: rgba(5, 20, 22, 0.72);
  color: rgba(218, 233, 229, 0.76);
  font-size: 0.78rem;
}

#app .plan-feature-list b {
  color: #f6d36f;
  font-size: 1rem;
}

#app .plan-upgrade-panel {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(246, 211, 111, 0.34);
  border-radius: 12px;
  background:
    radial-gradient(circle at 12% 10%, rgba(246, 211, 111, 0.16), transparent 35%),
    linear-gradient(135deg, rgba(48, 38, 14, 0.82), rgba(6, 17, 19, 0.92));
}

#app .plan-upgrade-panel.active-plan {
  border-color: rgba(108, 228, 207, 0.34);
  background:
    radial-gradient(circle at 12% 10%, rgba(108, 228, 207, 0.16), transparent 35%),
    linear-gradient(135deg, rgba(7, 45, 42, 0.86), rgba(6, 17, 19, 0.92));
}

#app .plan-upgrade-panel strong {
  color: #fff7dc;
  font-size: 1.03rem;
}

#app .plan-upgrade-panel p {
  margin: 0;
  color: rgba(218, 233, 229, 0.78);
  line-height: 1.42;
}

#app .export-panel {
  order: 2;
  border-color: rgba(108, 228, 207, 0.18);
}

#app .plan-access-panel {
  order: 1;
}

#app .security-panel {
  order: 3;
}

#app .upgrade-action-row {
  grid-template-columns: repeat(2, minmax(150px, 220px));
}

@media (max-width: 760px) {
  #app.client-session .plan-feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  #app.client-session .plan-feature-list span {
    min-height: 56px;
    padding: 9px;
    font-size: 0.68rem;
  }

  #app.client-session .plan-upgrade-panel {
    padding: 11px;
  }

  #app.client-session .upgrade-action-row,
  #app.client-session .settings-action-row {
    grid-template-columns: 1fr !important;
  }
}

/* Strike map v17 final cascade: two-card lanes per timing section. */
#app .strike-map-head h2 {
  max-width: 820px;
  font-size: clamp(34px, 2.75vw, 50px);
  line-height: 1.03;
  letter-spacing: 0;
  text-wrap: balance;
}

#app .strike-map-head p {
  max-width: 780px;
  color: #c7ded8;
}

#app .strike-map-lead span {
  color: #ffe079;
  font-size: 9px !important;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

#app .strike-map-lead i,
#app .strike-map-lead.primary i {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

@media (min-width: 861px) {
  #app .strike-map-board {
    grid-template-rows: auto minmax(560px, auto) auto;
  }

  #app .strike-map-rail {
    --bar-y: 54%;
    min-height: 560px;
    padding: 20px 26px 50px;
    overflow: hidden;
  }

  #app .strike-map-rail::before {
    top: var(--bar-y);
    bottom: auto;
  }

  #app .strike-map-sweep {
    top: calc(var(--bar-y) - 15px);
    bottom: auto;
  }

  #app .strike-map-segment {
    position: relative;
    display: block;
    min-height: 490px;
    padding: 20px 20px 38px;
  }

  #app .strike-map-segment-head {
    max-width: 190px;
  }

  #app .strike-map-segment-leads {
    position: absolute;
    inset: 0;
    display: block;
    pointer-events: none;
  }

  #app .strike-map-lead,
  #app .strike-map-lead.primary {
    position: absolute;
    width: min(88%, 222px);
    max-width: 222px;
    height: 124px;
    min-height: 124px;
    max-height: 124px;
    display: grid;
    align-content: center;
    gap: 3px;
    overflow: hidden;
    padding: 12px 13px;
    pointer-events: auto;
    transform: translateX(-50%);
  }

  #app .strike-map-lead:nth-child(1) {
    left: 38%;
    top: calc(var(--bar-y) - 126px);
  }

  #app .strike-map-lead:nth-child(2) {
    left: 64%;
    top: calc(var(--bar-y) + 48px);
  }

  #app .strike-map-segment.active .strike-map-lead:nth-child(1),
  #app .strike-map-segment.watch .strike-map-lead:nth-child(1) {
    left: 42%;
  }

  #app .strike-map-segment.active .strike-map-lead:nth-child(2),
  #app .strike-map-segment.watch .strike-map-lead:nth-child(2) {
    left: 66%;
  }

  #app .strike-map-lead::before,
  #app .strike-map-lead::after {
    display: block;
    content: "";
    position: absolute;
    left: 50%;
    pointer-events: none;
    transform: translateX(-50%);
  }

  #app .strike-map-lead::before {
    bottom: -20px;
    width: 1px;
    height: 20px;
    background: linear-gradient(180deg, rgba(108, 228, 207, 0.8), transparent);
  }

  #app .strike-map-lead::after {
    bottom: -35px;
    width: 14px;
    height: 14px;
    border: 3px solid #071011;
    border-radius: 999px;
    background: #6ce4cf;
    box-shadow: 0 0 18px rgba(108, 228, 207, 0.72);
  }

  #app .strike-map-lead:nth-child(2)::before {
    top: -30px;
    bottom: auto;
    height: 30px;
    background: linear-gradient(0deg, rgba(108, 228, 207, 0.8), transparent);
  }

  #app .strike-map-lead:nth-child(2)::after {
    top: -37px;
    bottom: auto;
  }

  #app .strike-map-lead.primary::after {
    background: #ffd76e;
    box-shadow: 0 0 22px rgba(255, 215, 110, 0.86);
  }
}

@media (max-width: 860px) {
  #app .strike-map-head h2 {
    font-size: clamp(30px, 8.4vw, 38px);
    line-height: 1.04;
  }

  #app .strike-map-segment-leads {
    display: grid;
    gap: 8px;
  }
}
