:root {
  --bg: #060708;
  --bg-soft: #0e1013;
  --bg-panel: #101215;
  --bg-panel-2: #13161b;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 239, 0, 0.14);
  --text: #f4f4f2;
  --muted: #9a9ea5;
  --yellow: #f2e500;
  --yellow-soft: rgba(242, 229, 0, 0.16);
  --green: #4fc85d;
  --cyan: #22b9d6;
  --purple: #7758ff;
  --blue: #2f87ff;
  --orange: #ff9f1a;
  --danger: #7c848f;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow: 0 22px 50px rgba(0, 0, 0, 0.3);
  --ease-fluid: cubic-bezier(0.22, 1, 0.36, 1);
}

.login-body {
  min-height: 100vh;
  color: var(--text);
  background:
    linear-gradient(115deg, rgba(242, 229, 0, 0.12), transparent 32%),
    linear-gradient(245deg, rgba(34, 185, 214, 0.08), transparent 30%),
    linear-gradient(180deg, #050607, #0a0b0d 78%, #07080a);
  overflow-x: hidden;
  overflow-y: auto;
}

.login-shell {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}

.login-shell::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(255, 255, 255, 0.045);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.52), transparent 82%);
  pointer-events: none;
}

.login-panel {
  position: relative;
  width: min(460px, 100%);
  display: grid;
  justify-items: stretch;
  gap: 26px;
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(18, 20, 24, 0.96), rgba(10, 12, 15, 0.98));
  box-shadow:
    0 0 0 1px rgba(242, 229, 0, 0.04),
    0 18px 0 rgba(0, 0, 0, 0.14);
  isolation: isolate;
}

.login-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(242, 229, 0, 0.12), transparent 38%);
  opacity: 0.62;
  pointer-events: none;
  z-index: -1;
}

.login-logo {
  justify-self: center;
  width: min(286px, 78%);
  height: auto;
  filter: none;
}

.login-copy {
  text-align: center;
}

.login-copy h1 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.05;
  color: var(--text);
  letter-spacing: 0;
}

.login-copy p,
.login-feedback {
  margin: 6px 0 0;
  color: #a8adb6;
}

.login-form {
  display: grid;
  gap: 14px;
}

.login-form label {
  display: grid;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #e4e7ec;
}

.login-form input {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0 14px;
  font: inherit;
  color: var(--text);
  background: rgba(6, 7, 8, 0.72);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.login-form input:focus {
  outline: 0;
  border-color: rgba(242, 229, 0, 0.62);
  background: rgba(8, 10, 12, 0.94);
  box-shadow: 0 0 0 4px rgba(242, 229, 0, 0.12);
}

.login-feedback {
  min-height: 20px;
  color: #ffb4a8;
  font-weight: 700;
  text-align: center;
}

.login-feedback[data-tone="info"] {
  color: #d8dce4;
}

.login-recovery-row {
  display: flex;
  justify-content: center;
  margin-top: -2px;
}

.login-recovery-button {
  border: 0;
  background: transparent;
  color: var(--yellow);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 4px 6px;
  text-decoration: underline;
  text-decoration-color: rgba(242, 229, 0, 0.36);
  text-underline-offset: 4px;
}

.login-recovery-button:hover,
.login-recovery-button:focus-visible {
  color: #fff56b;
  outline: none;
  text-decoration-color: currentColor;
}

.pipeline-new-lead-button.login-button {
  width: 100%;
  min-height: 52px;
  justify-content: center;
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.pipeline-new-lead-button.login-button:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
  filter: brightness(1.02);
}

.pipeline-new-lead-button.login-button:disabled {
  cursor: wait;
  filter: saturate(0.8);
  opacity: 0.76;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(242, 229, 0, 0.06), transparent 18%),
    radial-gradient(circle at top right, rgba(34, 185, 214, 0.05), transparent 18%),
    linear-gradient(180deg, #050607, #0a0b0d 80%);
}

body.mobile-menu-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

.mobile-appbar,
.mobile-menu-overlay {
  display: none;
}

.shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar,
.detail-sidebar {
  background: rgba(8, 9, 11, 0.96);
  border-right: 1px solid var(--line);
}

.detail-sidebar {
  border-right: 0;
  border-left: 1px solid var(--line);
  padding: 28px 22px;
  display: none;
}

.sidebar {
  display: flex;
  flex-direction: column;
  padding: 26px 16px;
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
}

.brand {
  display: block;
  margin-bottom: 30px;
  padding: 4px 6px;
}

.brand-logo {
  display: block;
  width: 164px;
  max-width: 100%;
  height: auto;
}

.menu {
  display: grid;
  gap: 6px;
}

.menu-item {
  position: relative;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: #c6c8cb;
  text-align: left;
  padding: 14px 18px;
  border-radius: 14px;
  cursor: pointer;
  transition:
    color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease,
    transform 220ms var(--ease-fluid);
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-item::before {
  content: "";
  position: absolute;
  inset: 8px auto 8px 8px;
  width: 3px;
  border-radius: 999px;
  background: var(--yellow);
  opacity: 0;
  transform: scaleY(0.4);
  transform-origin: center;
  transition:
    opacity 220ms ease,
    transform 280ms var(--ease-fluid);
}

.menu-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  transform: translateX(2px);
}

.menu-item.active {
  background: rgba(86, 93, 0, 0.42);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(242, 229, 0, 0.08);
}

.menu-item.active::before {
  opacity: 1;
  transform: scaleY(1);
}

.menu-item-icon {
  position: relative;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 20px;
  color: inherit;
}

.menu-item-icon svg {
  width: 18px;
  height: 18px;
}

.menu-item-label {
  position: relative;
  line-height: 1.2;
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 22px;
}

.workspace-card,
.panel,
.detail-card,
.profile-card,
.search-bar,
.stat-card,
.pipeline-column,
.pipeline-card {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.workspace-card {
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #0d0f12, #101318);
}

.workspace-card strong {
  display: block;
  margin-bottom: 6px;
}

.workspace-card span,
.subtle-copy,
.detail-subtitle,
.detail-kicker,
.detail-card p,
dd,
.activity-item p,
.task-item span,
.stat-card p,
.legend-row span,
.profile-card span,
.search-bar span {
  color: var(--muted);
}

.main {
  position: relative;
  overflow-x: clip;
  padding: 26px 30px 30px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
  transition:
    margin 280ms var(--ease-fluid),
    opacity 240ms ease,
    transform 280ms var(--ease-fluid);
}

.topbar h1 {
  margin: 0 0 10px;
  font-size: 2.2rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
  transition:
    font-size 280ms var(--ease-fluid),
    margin 280ms var(--ease-fluid);
}

.topbar p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 56ch;
  transition:
    font-size 280ms var(--ease-fluid),
    opacity 220ms ease;
}

.topbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-left: auto;
}

.topbar-pipeline-actions {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.topbar-pipeline-actions .topbar-actions {
  display: flex;
}

body[data-active-section="dashboard"] .topbar,
body[data-active-section="reports"] .topbar {
  margin-bottom: 18px;
}

body[data-active-section="dashboard"] .topbar h1,
body[data-active-section="reports"] .topbar h1 {
  margin-bottom: 6px;
  font-size: 1.8rem;
  line-height: 1.05;
}

body[data-active-section="dashboard"] .topbar p,
body[data-active-section="reports"] .topbar p {
  font-size: 0.98rem;
  line-height: 1.45;
}

body[data-active-section="reports"] .topbar > div:first-child {
  display: none;
}

body[data-active-section="reports"] .topbar {
  justify-content: flex-end;
}

.search-bar {
  width: 350px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #0c0d10;
}

.search-bar input {
  width: 100%;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.notification-menu {
  position: relative;
}

.notification-menu-legacy {
  display: none !important;
}

.topbar-admin-link,
.notification-button {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0c0d10;
  color: #e7ebf1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  text-decoration: none;
}

.topbar-admin-link:hover,
.notification-button:hover {
  border-color: rgba(242, 229, 0, 0.18);
}

.topbar-admin-link svg,
.notification-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  color: #0a0b0d;
  font-size: 0.75rem;
  font-weight: 800;
  border: 2px solid #090b0e;
}

.notification-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(340px, calc(100vw - 48px));
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, #111419, #0c0f13);
  box-shadow: var(--shadow);
  z-index: 25;
}

.notification-panel.hidden {
  display: none;
}

.notification-panel-head,
.notification-item {
  display: grid;
  gap: 6px;
}

.notification-panel-head {
  padding-bottom: 14px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.notification-panel-head strong,
.notification-item strong {
  color: var(--text);
}

.notification-panel-head span,
.notification-item p {
  color: var(--muted);
  margin: 0;
  font-size: 0.9rem;
}

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

.notification-item {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.country-toggle,
.link-button,
.status-button {
  border: 0;
  cursor: pointer;
}

.country-toggle {
  position: relative;
}

.country-toggle-button {
  min-width: 286px;
  min-height: 54px;
  padding: 0 18px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, #101a2d, #0d1526);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.country-toggle-button:hover {
  border-color: rgba(242, 229, 0, 0.12);
}

.country-toggle-button.is-open {
  border-color: rgba(242, 229, 0, 0.22);
  background: linear-gradient(180deg, #121f38, #0d1526);
}

.country-toggle-arrow {
  color: #d9dbe1;
  font-size: 1rem;
  transform: translateY(-1px);
}

.country-toggle-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 100%;
  padding: 8px;
  border-radius: 18px;
  background: linear-gradient(180deg, #101317, #0d1014);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 6px;
  z-index: 20;
}

.country-toggle-menu.hidden {
  display: none;
}

.country-toggle-option {
  width: 100%;
  padding: 13px 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #cfd3da;
  text-align: left;
  cursor: pointer;
  transition: 160ms ease;
}

.country-toggle-option:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.country-toggle-option.active {
  background: rgba(242, 229, 0, 0.12);
  color: var(--yellow);
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 16px;
  background: #0c0d10;
}

.sidebar-profile-card {
  width: 100%;
}

.sidebar-profile-trigger {
  width: 100%;
  appearance: none;
  border: 1px solid rgba(242, 229, 0, 0.34);
  background: linear-gradient(180deg, rgba(242, 229, 0, 0.96), rgba(214, 196, 0, 0.94));
  color: #0a0b0d;
  cursor: pointer;
  text-align: left;
  box-shadow:
    0 16px 34px rgba(242, 229, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.sidebar-profile-trigger:hover {
  border-color: rgba(242, 229, 0, 0.44);
  background: linear-gradient(180deg, #fff06a, #e2cf00);
}

.sidebar-profile-trigger strong {
  color: #0a0b0d;
}

.sidebar-profile-trigger span {
  color: rgba(10, 11, 13, 0.72);
}

.sidebar-profile-copy {
  flex: 1;
  min-width: 0;
}

.sidebar-profile-arrow {
  color: rgba(10, 11, 13, 0.8);
  font-size: 1.5rem;
  line-height: 1;
}

.profile-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #7a5d3d, #d1b08d);
  color: #fff;
  font-weight: 700;
}

.section {
  display: none;
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(0.992);
  transform-origin: top center;
}

.section.active,
.section.is-entering,
.section.is-leaving {
  display: block;
}

.section.active {
  position: relative;
  z-index: 1;
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.section.active:not(.is-leaving) {
  animation: sectionEnter 460ms var(--ease-fluid) both;
}

.section.is-entering {
  animation: sectionEnter 460ms var(--ease-fluid) both;
}

.section.is-leaving {
  position: absolute;
  left: 30px;
  right: 30px;
  width: calc(100% - 60px);
  z-index: 0;
  pointer-events: none;
  animation: sectionLeave 260ms ease both;
}

.section.active:not(.is-leaving) :is(
  .panel,
  .stat-card,
  .home-panel,
  .pipeline-kpi-card,
  .pipeline-column,
  .pipeline-card,
  .activity-card,
  .activity-metric-card,
  .reports-kpi-card,
  .reports-panel
),
.section.is-entering :is(
  .panel,
  .stat-card,
  .home-panel,
  .pipeline-kpi-card,
  .pipeline-column,
  .pipeline-card,
  .activity-card,
  .activity-metric-card,
  .reports-kpi-card,
  .reports-panel
) {
  animation: dashboardElementIn 520ms var(--ease-fluid) both;
}

.section.active:not(.is-leaving) :is(.stat-card, .pipeline-kpi-card, .activity-metric-card, .reports-kpi-card),
.section.is-entering :is(.stat-card, .pipeline-kpi-card, .activity-metric-card, .reports-kpi-card) {
  animation-delay: 70ms;
}

.section.active:not(.is-leaving) :is(.home-panel, .pipeline-column, .activity-card, .reports-panel),
.section.is-entering :is(.home-panel, .pipeline-column, .activity-card, .reports-panel) {
  animation-delay: 110ms;
}

@keyframes sectionEnter {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.992);
    filter: blur(8px);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@keyframes sectionLeave {
  from {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }

  to {
    opacity: 0;
    transform: translate3d(0, -10px, 0) scale(0.988);
    filter: blur(6px);
  }
}

@keyframes dashboardElementIn {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

body.is-data-refreshing .section.active,
body.is-data-refreshing .section.active:not(.is-leaving),
body.is-data-refreshing .section.active :is(
  .panel,
  .stat-card,
  .home-panel,
  .pipeline-kpi-card,
  .pipeline-column,
  .pipeline-card,
  .activity-card,
  .activity-metric-card,
  .reports-kpi-card,
  .reports-panel
) {
  animation: none !important;
  filter: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .menu-item,
  .menu-item::before,
  .topbar,
  .topbar h1,
  .topbar p {
    transition: none;
  }

  .menu-item:hover {
    transform: none;
  }

  .section,
  .section.active:not(.is-leaving),
  .section.is-entering,
  .section.is-leaving,
  .section.active:not(.is-leaving) :is(
    .panel,
    .stat-card,
    .home-panel,
    .pipeline-kpi-card,
    .pipeline-column,
    .pipeline-card,
    .activity-card,
    .activity-metric-card,
    .reports-kpi-card,
    .reports-panel
  ),
  .section.is-entering :is(
    .panel,
    .stat-card,
    .home-panel,
    .pipeline-kpi-card,
    .pipeline-column,
    .pipeline-card,
    .activity-card,
    .activity-metric-card,
    .reports-kpi-card,
    .reports-panel
  ) {
    animation: none;
    filter: none;
    transform: none;
  }
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.stat-card,
.panel,
.detail-card {
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #0f1114, #121419);
}

.stat-card {
  padding: 18px 20px;
}

.stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: rgba(242, 229, 0, 0.08);
  color: var(--yellow);
  font-size: 1.3rem;
}

.stat-card strong {
  display: block;
  margin: 4px 0 6px;
  font-size: 2rem;
}

.trend-up {
  color: var(--green);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.panel {
  padding: 18px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.panel-head h2,
.detail-card h3,
.detail-head h2 {
  margin: 0;
  font-size: 1.05rem;
}

.panel-chip,
.number-badge,
.score-chip,
.status-chip,
.country-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 600;
}

.panel-chip,
.number-badge {
  background: rgba(255, 255, 255, 0.05);
}

.donut-area {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.donut-chart {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: conic-gradient(var(--yellow) 0 62%, var(--cyan) 62% 100%);
  display: grid;
  place-items: center;
}

.donut-hole {
  width: 122px;
  height: 122px;
  border-radius: 50%;
  background: #111318;
  display: grid;
  place-items: center;
  text-align: center;
}

.donut-hole strong {
  font-size: 2rem;
}

.legend {
  display: grid;
  gap: 16px;
}

.legend-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
}

.legend-colombia {
  background: var(--yellow);
}

.legend-ecuador {
  background: var(--cyan);
}

.chart-panel,
.wide-panel {
  min-height: 320px;
  height: 100%;
}

.chart-panel,
.wide-panel,
.funnel-panel {
  display: flex;
  flex-direction: column;
}

.line-chart {
  position: relative;
  min-height: 250px;
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01)),
    #101216;
}

.chart-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 100% 42px, 74px 100%;
}

.chart-svg {
  position: relative;
  width: 100%;
  height: 220px;
  margin-top: 14px;
}

.line {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.line-yellow {
  stroke: var(--yellow);
}

.line-cyan {
  stroke: var(--cyan);
}

.line-purple {
  stroke: var(--purple);
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 0 16px 12px;
}

.legend-line {
  display: inline-block;
  width: 18px;
  height: 4px;
  border-radius: 999px;
  margin-right: 8px;
  vertical-align: middle;
}

.personal-funnel-shell {
  display: grid;
  gap: 16px;
  min-height: 250px;
  align-content: center;
}

.personal-funnel-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
  width: 100%;
}

.personal-funnel-column {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.personal-funnel-label {
  color: var(--text);
  font-size: 0.84rem;
  text-align: center;
  white-space: nowrap;
}

.personal-funnel-card {
  min-height: 60px;
  display: grid;
  place-items: center;
  padding: 0 8px;
  clip-path: polygon(0 0, 86% 0, 100% 50%, 86% 100%, 0 100%, 10% 50%);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.personal-funnel-card strong {
  font-size: 1.9rem;
}

.personal-funnel-value {
  color: var(--text);
  font-size: 0.74rem;
  text-align: center;
  white-space: nowrap;
}

.personal-funnel-neutral {
  background: linear-gradient(135deg, #737986, #4c525d);
}

.personal-funnel-blue {
  background: linear-gradient(135deg, #7d9eff, #4f73ff);
}

.personal-funnel-yellow {
  background: linear-gradient(135deg, #ffef4f, #f0d700);
  color: #101216;
}

.personal-funnel-purple {
  background: linear-gradient(135deg, #9e74ff, #6e3ef6);
}

.personal-funnel-green {
  background: linear-gradient(135deg, #71da6d, #49c551);
}

.funnel-panel {
  min-height: 320px;
}

.funnel {
  display: grid;
  gap: 6px;
  margin: 14px 0 18px;
}

.funnel-step {
  clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%);
  padding: 18px 12px;
  text-align: center;
  font-weight: 700;
}

.funnel-a {
  background: #4db74c;
  color: #fff;
}

.funnel-b {
  background: var(--yellow);
  color: #0d0d0d;
}

.funnel-c {
  background: var(--blue);
}

.funnel-d {
  background: #646a73;
}

.funnel-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.funnel-meta div {
  display: grid;
  gap: 6px;
}

.funnel-meta strong {
  font-size: 1.3rem;
}

.table-panel {
  grid-column: 1 / span 2;
}

.side-stack {
  display: grid;
  gap: 18px;
}

.compact-panel {
  min-height: 286px;
}

.table-wrap {
  overflow: auto;
}

.leads-pagination,
.leads-pagination-controls,
.leads-pagination-pages,
.leads-pagination-size {
  display: flex;
  align-items: center;
}

.leads-pagination {
  justify-content: space-between;
  gap: 18px;
  padding-top: 16px;
}

.leads-pagination-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.leads-empty-state {
  display: grid;
  gap: 10px;
  padding: 22px 12px;
  text-align: center;
  color: var(--muted);
}

.leads-empty-state strong {
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 600;
}

.leads-pagination-controls {
  gap: 14px;
  margin-left: auto;
}

.leads-pagination-pages {
  gap: 6px;
}

.leads-page-button,
.leads-page-nav {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0b0d10;
  color: #d6dbe2;
  cursor: pointer;
  transition: 160ms ease;
}

.leads-page-button:hover,
.leads-page-nav:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: #11151a;
}

.leads-page-button.active {
  background: linear-gradient(180deg, #fff15a, #f2e500 72%);
  border-color: rgba(242, 229, 0, 0.42);
  color: #111;
  font-weight: 700;
}

.leads-page-nav:disabled {
  opacity: 0.38;
  cursor: default;
}

.leads-page-ellipsis {
  min-width: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
}

.leads-pagination-size select {
  min-width: 134px;
  padding-right: 36px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  text-align: left;
}

thead th {
  color: #b6bac2;
  font-size: 0.84rem;
  font-weight: 500;
}

tbody tr {
  cursor: pointer;
}

tbody tr:hover,
tbody tr.selected {
  background: rgba(255, 255, 255, 0.03);
}

tbody tr.lead-row-selected {
  background: rgba(242, 229, 0, 0.045);
}

.lead-select-heading,
.lead-select-cell {
  width: 42px;
  min-width: 42px;
  text-align: center;
}

.lead-selection-control {
  width: 18px;
  height: 18px;
  accent-color: var(--yellow);
  cursor: pointer;
}

body:not([data-user-role="admin"]) .lead-select-heading,
body:not([data-user-role="admin"]) .lead-select-cell {
  display: none;
}

.link-button {
  background: transparent;
  color: var(--yellow);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.panel-head-wrap {
  flex-wrap: wrap;
  gap: 12px;
}

.leads-head-top,
.pipeline-header,
.activity-hero,
.reports-header {
  position: relative;
  gap: 22px;
}

.leads-head-top {
  align-items: flex-start;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.leads-head-top > div:first-child,
.pipeline-header > div:first-child,
.activity-hero-copy,
.reports-hero-copy {
  flex: 1 1 auto;
  min-width: 260px;
}

.leads-head-top h2,
.pipeline-header h2,
.activity-hero h2,
.reports-header h2 {
  margin: 0 0 6px;
  font-size: 2.05rem;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.leads-head-top .subtle-copy,
.pipeline-header p,
.activity-hero p,
.reports-header p {
  margin: 0;
  font-size: 1rem;
  color: #a8adb6;
  max-width: 56ch;
}

.leads-toolbar {
  flex: 0 1 auto;
  min-width: min(100%, 760px);
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.leads-bulk-delete {
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(255, 116, 88, 0.32);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(60, 25, 22, 0.96), rgba(32, 14, 14, 0.96));
  color: #ffd7ce;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 14px 28px rgba(255, 88, 72, 0.1);
  transition: transform 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.leads-bulk-delete span {
  min-width: 24px;
  min-height: 24px;
  border-radius: 999px;
  background: rgba(255, 116, 88, 0.16);
  color: #fff0ec;
  display: inline-grid;
  place-items: center;
  padding: 0 8px;
  font-size: 0.78rem;
}

.leads-bulk-delete:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(255, 116, 88, 0.52);
}

.leads-bulk-delete:disabled {
  cursor: not-allowed;
  opacity: 0.54;
  transform: none;
}

.hidden {
  display: none !important;
}

.export-menu {
  position: relative;
  flex: 0 0 auto;
}

.leads-export-button {
  min-height: 50px;
  padding: 0 18px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, #40d97a, #1eb65a 72%);
  color: #07110b;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 14px 28px rgba(30, 182, 90, 0.2);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.leads-export-button:hover,
.leads-export-button[aria-expanded="true"] {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 18px 32px rgba(30, 182, 90, 0.26);
}

.export-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 180px;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(18, 21, 26, 0.98), rgba(11, 13, 16, 0.98));
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
  display: grid;
  gap: 6px;
  z-index: 20;
}

.import-menu {
  position: relative;
  flex: 0 0 auto;
}

.leads-import-button {
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid rgba(95, 167, 255, 0.28);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(20, 28, 40, 0.98), rgba(14, 20, 30, 0.98));
  color: #d7e7ff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 14px 28px rgba(18, 25, 38, 0.24);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.leads-import-button:hover,
.leads-import-button[aria-expanded="true"] {
  transform: translateY(-1px);
  border-color: rgba(95, 167, 255, 0.42);
  box-shadow: 0 18px 32px rgba(24, 45, 76, 0.28);
}

.import-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 200px;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(18, 21, 26, 0.98), rgba(11, 13, 16, 0.98));
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
  display: grid;
  gap: 6px;
  z-index: 20;
}

.export-menu-item {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  text-align: left;
  font: inherit;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.export-menu-item:hover {
  background: rgba(30, 182, 90, 0.12);
  border-color: rgba(64, 217, 122, 0.2);
  color: #dfffea;
}

.import-menu-item {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  text-align: left;
  font: inherit;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.import-menu-item:hover {
  background: rgba(95, 167, 255, 0.12);
  border-color: rgba(95, 167, 255, 0.24);
  color: #e3efff;
}

.leads-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(15, 17, 21, 0.92), rgba(11, 13, 16, 0.96));
}

.date-range-fields {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.date-range-fields.hidden {
  display: none;
}

.date-range-field {
  min-width: 150px;
  padding: 8px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0d1014;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
  display: grid;
  gap: 6px;
}

.date-range-field span {
  color: var(--muted);
  font-size: 0.76rem;
}

.date-range-field input {
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.leads-search {
  order: -1;
  flex: 0 0 380px;
  min-width: 380px;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(13, 16, 20, 0.96), rgba(10, 12, 15, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.leads-search span,
.pipeline-search span {
  color: #d8dbe0;
}

.leads-search:focus-within,
.pipeline-search:focus-within,
.date-range-field:focus-within,
select:focus {
  border-color: rgba(242, 229, 0, 0.22);
  box-shadow: 0 0 0 4px rgba(242, 229, 0, 0.06);
}

.leads-search input,
.pipeline-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.leads-new-lead-button {
  flex: 0 0 auto;
}

.leads-filter-bar select {
  min-width: 180px;
}

.leads-kpis {
  margin: 18px 0;
}

.pipeline-pagination {
  margin-top: 18px;
}

.pipeline-pagination.hidden {
  display: none;
}

select {
  min-width: 190px;
  min-height: 50px;
  border-radius: 14px;
  padding: 12px 14px;
  background: linear-gradient(180deg, rgba(13, 16, 20, 0.96), rgba(10, 12, 15, 0.96));
  color: var(--text);
  color-scheme: dark;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

select option,
select optgroup {
  background: #0d1117;
  color: #f4f7fb;
}

select option:checked,
select option:hover,
select option:focus {
  background: #1f63cc;
  color: #ffffff;
}

.country-chip {
  background: rgba(34, 185, 214, 0.14);
  color: #a6eaf5;
}

.score-a {
  background: rgba(79, 200, 93, 0.15);
  color: #91f19d;
}

.score-b {
  background: rgba(242, 229, 0, 0.15);
  color: #fff581;
}

.score-c {
  background: rgba(47, 135, 255, 0.16);
  color: #9cc5ff;
}

.status-chip {
  background: rgba(255, 255, 255, 0.06);
  color: #d6d8db;
}

.task-list,
.activity-feed,
.detail-activity,
.activity-page {
  display: grid;
  gap: 12px;
}

.task-item,
.activity-item,
.detail-activity-item {
  padding: 12px 14px;
  border-radius: 14px;
  background: #0c0e11;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.task-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.task-item strong,
.activity-item strong,
.detail-activity-item strong,
.lead-primary {
  display: block;
  margin-bottom: 6px;
}

.activity-dashboard,
.activity-metrics,
.activity-grid,
.activity-hero,
.activity-hero-actions,
.reports-header,
.reports-actions,
.activity-table,
.activity-table-head,
.activity-table-row,
.activity-heatmap-grid,
.activity-hour-bars,
.activity-sla-row,
.activity-sla-copy {
  display: grid;
}

.activity-dashboard {
  gap: 18px;
}

.activity-hero,
.reports-header {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.activity-hero-actions,
.reports-actions {
  grid-auto-flow: column;
  gap: 12px;
  align-items: center;
  align-self: stretch;
}

.activity-search {
  min-width: 360px;
}

.activity-advisor-shell,
#activity-range-filter,
#activity-country-filter,
#activity-advisor-filter {
  min-width: 240px;
}

#activity-range-filter,
#activity-country-filter,
#activity-advisor-filter {
  width: 100%;
}

.activity-advisor-shell > span {
  display: none;
}

.reports-export-button {
  min-height: 50px;
  padding: 0 18px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, #40d97a, #1eb65a 72%);
  color: #07120b;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(30, 182, 90, 0.16);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.reports-export-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 18px 34px rgba(30, 182, 90, 0.22);
}

.activity-metrics {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
}

.dashboard-metric-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.dashboard-metric-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #d3d8df;
}

.dashboard-metric-icon .home-icon {
  width: 18px;
  height: 18px;
}

.pipeline-kpi-card,
.activity-metric-card {
  min-height: 146px;
  padding: 18px 18px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(17, 20, 24, 0.96), rgba(12, 14, 18, 0.98));
  position: relative;
  overflow: hidden;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.pipeline-kpi-card::before,
.activity-metric-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--metric-accent, rgba(255, 255, 255, 0.12));
}

.pipeline-kpi-card:hover,
.activity-metric-card:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.11);
}

.activity-metric-card p,
.activity-metric-card span,
.pipeline-kpi-label,
.pipeline-kpi-note {
  margin: 0;
}

.activity-metric-card p {
  color: #d3d7de;
  font-size: 0.84rem;
  max-width: 16ch;
}

.activity-metric-card strong,
.pipeline-kpi-value {
  display: block;
  margin: 18px 0 10px;
  font-size: 2.15rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.activity-metric-card span,
.pipeline-kpi-note {
  color: #84d85f;
  font-size: 0.82rem;
  font-weight: 700;
}

.activity-metric-orange span,
.activity-metric-red span {
  color: #ff6e56;
}

.activity-grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr) minmax(280px, 0.8fr);
  gap: 18px;
  align-items: start;
}

.activity-card {
  min-height: 100%;
}

.activity-live-card {
  grid-row: span 2;
}

.activity-heatmap-card {
  grid-column: 2;
}

.activity-alerts-card {
  grid-column: 3;
}

.activity-advisor-card {
  grid-column: 2 / span 2;
}

.activity-live-badge {
  color: #82d35c;
  font-size: 0.82rem;
}

.activity-live-list,
.activity-alerts-list,
.activity-inactive-list {
  display: grid;
  gap: 12px;
}

.activity-live-item,
.activity-alert-item,
.activity-inactive-item {
  display: grid;
  gap: 10px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.activity-live-item {
  grid-template-columns: 72px minmax(0, 1fr) auto;
}

.activity-live-time {
  color: var(--muted);
  font-size: 0.8rem;
}

.activity-live-copy p,
.activity-inactive-item p {
  margin: 0;
  color: var(--muted);
}

.activity-live-tag {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(242, 229, 0, 0.1);
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 700;
}

.activity-table {
  gap: 12px;
}

.activity-table-head,
.activity-table-row {
  grid-template-columns: minmax(120px, 1.6fr) repeat(3, minmax(0, 0.8fr));
  gap: 12px;
  align-items: center;
}

.activity-table-head {
  color: var(--muted);
  font-size: 0.8rem;
}

.activity-table-row {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.activity-advisor-head,
.activity-advisor-row {
  grid-template-columns: minmax(120px, 1.4fr) repeat(4, minmax(0, 0.8fr));
}

.activity-alert-item,
.activity-inactive-item {
  grid-template-columns: minmax(0, 1fr) auto;
}

.activity-alert-item span {
  color: var(--yellow);
  font-weight: 700;
}

.activity-heatmap-grid {
  grid-template-columns: 42px repeat(12, minmax(18px, 1fr));
  gap: 8px;
  align-items: center;
}

.activity-heatmap-day,
.activity-heatmap-hour {
  color: var(--muted);
  font-size: 0.76rem;
}

.activity-heatmap-cell {
  display: block;
  aspect-ratio: 1;
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(242, 229, 0, 0.32), rgba(242, 229, 0, 0.9));
}

.activity-sla-list {
  display: grid;
  gap: 14px;
}

.activity-sla-row {
  grid-template-columns: minmax(0, 1fr) minmax(120px, 1.6fr) auto;
  gap: 14px;
  align-items: center;
}

.activity-sla-copy {
  gap: 4px;
}

.activity-sla-copy span {
  color: var(--muted);
  font-size: 0.8rem;
}

.activity-sla-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.activity-sla-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #69d54f, #9ce35d);
}

.activity-hour-bars {
  grid-template-columns: repeat(24, minmax(0, 1fr));
  gap: 8px;
  align-items: end;
  min-height: 220px;
}

.activity-hour-bar {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.activity-hour-fill {
  width: 100%;
  min-height: 8px;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, rgba(242, 229, 0, 0.95), rgba(47, 135, 255, 0.75));
}

.activity-hour-bar strong {
  color: var(--muted);
  font-size: 0.72rem;
}

.pipeline-dashboard {
  display: grid;
}

.pipeline-shell {
  padding: 14px;
}

.pipeline-header,
.pipeline-toolbar,
.pipeline-toolbar-group,
.pipeline-header-actions,
.pipeline-kpis,
.pipeline-layout,
.pipeline-insights,
.pipeline-donut-layout,
.pipeline-distribution-list,
.pipeline-side-actions,
.pipeline-side-tabs {
  display: grid;
}

.pipeline-header {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  margin-bottom: 18px;
}

.pipeline-header-actions {
  grid-auto-flow: column;
  gap: 12px;
  align-items: center;
  align-self: stretch;
}

.pipeline-search {
  min-width: 380px;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(13, 16, 20, 0.96), rgba(10, 12, 15, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.pipeline-new-lead-button {
  min-height: 50px;
  padding: 0 18px;
  border-radius: 16px;
  border: 0;
  background: linear-gradient(180deg, #fff15a, #f2e500 72%);
  color: #111;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 14px 28px rgba(242, 229, 0, 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.pipeline-new-lead-button span {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 17, 17, 0.14);
  font-size: 1rem;
  line-height: 1;
}

.pipeline-new-lead-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
  box-shadow: 0 18px 32px rgba(242, 229, 0, 0.24);
}

.pipeline-new-lead-button:disabled {
  opacity: 0.7;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.pipeline-toolbar {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  margin-bottom: 18px;
}

.pipeline-filter-bar {
  margin-bottom: 18px;
}

.pipeline-toolbar-group {
  grid-auto-flow: column;
  gap: 10px;
  justify-content: start;
}

.pipeline-toolbar > .pipeline-toolbar-group {
  display: none;
}

.pipeline-toolbar-chip,
.pipeline-view-button,
.pipeline-side-close,
.pipeline-side-tab,
.pipeline-primary-action,
.pipeline-stage-button {
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.pipeline-toolbar-chip,
.pipeline-view-button {
  min-height: 42px;
  padding: 0 16px;
  cursor: pointer;
  background: #0b0d10;
  border-radius: 12px;
}

.pipeline-toolbar-chip {
  color: #c9ced7;
  min-width: 162px;
  text-align: left;
  position: relative;
}

.pipeline-toolbar-chip::after {
  content: "⌄";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-52%);
  color: #6f7680;
  font-size: 0.8rem;
}

.pipeline-toolbar-chip.active,
.pipeline-view-button.active {
  background: #0e1116;
  border-color: rgba(255, 255, 255, 0.12);
  color: #edf0f4;
}

.pipeline-kpis {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
  border: 0;
  background: none;
  overflow: visible;
}

.pipeline-kpi-card {
  box-shadow: var(--shadow);
}

.pipeline-kpi-label,
.pipeline-kpi-note,
.pipeline-side-kicker,
.pipeline-side-grid dt,
.pipeline-distribution-row p,
.pipeline-bar-copy span,
.pipeline-stage-copy span,
.pipeline-card-location,
.pipeline-card-meta,
.pipeline-side-score-copy small {
  color: var(--muted);
}

.pipeline-kpi-label {
  display: block;
  font-size: 0.8rem;
  color: #d3d7de;
  max-width: 15ch;
}

.pipeline-kpi-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.pipeline-kpi-icon {
  color: #9ca4b0;
}

.pipeline-kpi-value {
  margin-bottom: 10px;
}

.pipeline-kpi-note {
  display: block;
}

.pipeline-kpi-neutral,
.activity-metric-yellow {
  --metric-accent: rgba(242, 229, 0, 0.9);
}

.pipeline-kpi-blue,
.activity-metric-cyan {
  --metric-accent: rgba(47, 135, 255, 0.92);
}

.pipeline-kpi-yellow {
  --metric-accent: rgba(242, 229, 0, 0.9);
}

.pipeline-kpi-orange,
.activity-metric-orange,
.activity-metric-red {
  --metric-accent: rgba(255, 132, 91, 0.92);
}

.pipeline-kpi-green,
.activity-metric-green {
  --metric-accent: rgba(79, 200, 93, 0.92);
}

.pipeline-kpi-neutral .dashboard-metric-icon,
.pipeline-kpi-yellow .dashboard-metric-icon,
.activity-metric-yellow .dashboard-metric-icon {
  background: rgba(242, 229, 0, 0.09);
  border-color: rgba(242, 229, 0, 0.18);
  color: var(--yellow);
}

.pipeline-kpi-blue .dashboard-metric-icon,
.activity-metric-cyan .dashboard-metric-icon {
  background: rgba(47, 135, 255, 0.11);
  border-color: rgba(47, 135, 255, 0.2);
  color: #8db9ff;
}

.pipeline-kpi-orange .dashboard-metric-icon,
.activity-metric-orange .dashboard-metric-icon,
.activity-metric-red .dashboard-metric-icon {
  background: rgba(255, 132, 91, 0.11);
  border-color: rgba(255, 132, 91, 0.2);
  color: #ff8d70;
}

.pipeline-kpi-green .dashboard-metric-icon,
.activity-metric-green .dashboard-metric-icon {
  background: rgba(79, 200, 93, 0.1);
  border-color: rgba(79, 200, 93, 0.18);
  color: #8fe89a;
}

.pipeline-kpi-note,
.activity-metric-card span {
  color: #8ee26a;
}

.pipeline-kpi-orange .pipeline-kpi-note,
.activity-metric-orange span,
.activity-metric-red span {
  color: #ff8d70;
}

.pipeline-layout {
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  position: relative;
}

.pipeline-main {
  min-width: 0;
}

.pipeline-board-wrap {
  padding: 0;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: transparent;
  overflow: visible;
}

.pipeline-board {
  display: grid;
  grid-template-columns: repeat(8, minmax(170px, 1fr));
  gap: 8px;
  padding-bottom: 6px;
  align-items: start;
  overflow: visible;
}

.pipeline-board-grid-view {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 4px;
}

.pipeline-board-grid-view .pipeline-card {
  min-height: 180px;
}

.pipeline-board-list-view {
  display: block;
  padding: 4px 0;
}

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

.pipeline-list-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(6, minmax(0, 1fr));
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, #14171b, #101317);
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.pipeline-list-row:hover,
.pipeline-list-row.selected {
  border-color: rgba(242, 229, 0, 0.22);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.pipeline-list-primary,
.pipeline-list-meta {
  min-width: 0;
}

.pipeline-list-primary strong {
  display: block;
  margin-bottom: 4px;
}

.pipeline-list-primary span,
.pipeline-list-meta {
  color: var(--muted);
  font-size: 0.86rem;
}

.pipeline-column {
  min-height: 690px;
  padding: 0;
  background: transparent;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
}

.pipeline-column.stage-selected {
  box-shadow: none;
}

.pipeline-column-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 3;
  padding: 14px 14px 12px;
  margin-right: -4px;
  margin-left: -4px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, #111419, #0d1014);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.pipeline-column.stage-selected .pipeline-column-head {
  border-top-color: rgba(242, 229, 0, 0.34);
  border-bottom-color: rgba(242, 229, 0, 0.34);
  border-left-color: rgba(242, 229, 0, 0.34);
  box-shadow: inset 0 0 0 1px rgba(242, 229, 0, 0.04), 0 10px 24px rgba(0, 0, 0, 0.14);
}

.pipeline-column:first-child .pipeline-column-head {
  margin-left: 0;
}

.pipeline-column:last-child .pipeline-column-head {
  margin-right: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.pipeline-column:last-child.stage-selected .pipeline-column-head {
  border-right-color: rgba(242, 229, 0, 0.34);
}

.pipeline-column h3 {
  margin: 0 0 4px;
  font-size: 0.95rem;
}

.pipeline-column span {
  color: var(--muted);
  font-size: 0.82rem;
}

.pipeline-column-total {
  color: #bfc5cf;
  font-size: 0.88rem;
}

.pipeline-stack {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 2px;
  height: 100%;
  max-height: 602px;
  min-height: 0;
  width: calc(100% + 8px);
  margin-right: -8px;
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-gutter: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.pipeline-card {
  min-height: 148px;
  height: auto;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, #14171b, #101317);
  cursor: pointer;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-content: start;
  transition: transform 160ms ease, opacity 160ms ease, border-color 160ms ease,
    background 160ms ease, box-shadow 160ms ease;
}

.pipeline-stack::-webkit-scrollbar {
  width: 8px;
}

.pipeline-stack::-webkit-scrollbar-track {
  background: transparent;
}

.pipeline-stack::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.pipeline-card:hover,
.pipeline-card.selected {
  border-color: rgba(242, 229, 0, 0.22);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.pipeline-card.selected {
  background: linear-gradient(180deg, #14180f, #12151a);
}

.pipeline-card[draggable="true"] {
  cursor: grab;
}

.pipeline-card.dragging {
  opacity: 0.42;
  transform: rotate(1deg) scale(0.98);
}

.pipeline-card-top,
.pipeline-card-headline,
.pipeline-card-tags,
.pipeline-card-meta,
.pipeline-card-bottom,
.pipeline-card-source,
.pipeline-bar-copy,
.pipeline-stage-copy,
.pipeline-side-head,
.pipeline-side-grid,
.pipeline-side-breakdown-row,
.pipeline-side-score-card {
  display: flex;
}

.pipeline-card-top,
.pipeline-card-source,
.pipeline-card-bottom,
.pipeline-card-meta,
.pipeline-side-head,
.pipeline-side-breakdown-row {
  align-items: center;
  justify-content: space-between;
}

.pipeline-card-top {
  margin-bottom: 10px;
  gap: 8px;
}

.pipeline-card-headline {
  min-width: 0;
  flex: 1 1 auto;
}

.pipeline-card-headcopy {
  min-width: 0;
}

.pipeline-card-headcopy strong {
  margin: 0 0 3px;
  font-size: 0.96rem;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.pipeline-card-menu {
  border: 0;
  background: transparent;
  color: #b1b7c0;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0 2px;
  cursor: pointer;
}

.pipeline-card strong {
  display: block;
  margin-bottom: 0;
}

.pipeline-card-location {
  margin: 0;
  font-size: 0.79rem;
  line-height: 1.24;
  min-height: 1.98em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.pipeline-card-source {
  justify-content: flex-start;
  gap: 0;
  margin-bottom: 10px;
  color: #d4d8de;
  font-size: 0.8rem;
  align-self: start;
}

.pipeline-card-business {
  display: block;
  color: #c9d0d9;
  line-height: 1.24;
  min-height: 1.98em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.pipeline-card-bottom {
  gap: 12px;
  align-self: end;
  padding-bottom: 4px;
}

.pipeline-card-time {
  color: #c8cdd5;
  font-size: 0.82rem;
}

.pipeline-card-score {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid currentColor;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.02);
}

.pipeline-card-score.score-a {
  color: #78e05c;
}

.pipeline-card-score.score-b {
  color: #f2e500;
}

.pipeline-card-score.score-c {
  color: #35b6ff;
}

.pipeline-column.drag-over {
  border-radius: 18px;
  background: rgba(242, 229, 0, 0.04);
  box-shadow: inset 0 0 0 1px rgba(242, 229, 0, 0.24);
}

.pipeline-insights {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 0;
  margin-top: 14px;
  padding: 0;
  overflow: hidden;
}

.pipeline-insight-card {
  padding: 22px 24px;
  min-height: 320px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.pipeline-insight-card:last-child {
  border-right: 0;
}

.pipeline-insight-head h3,
.pipeline-side-head h3,
.pipeline-side-block h4 {
  margin: 0;
  font-size: 1.08rem;
}

.pipeline-insight-head {
  margin-bottom: 22px;
}

#pipeline-score-distribution {
  min-height: 238px;
  display: grid;
  place-items: center;
}

.pipeline-donut-layout {
  width: min(100%, 620px);
  margin: 0 auto;
  grid-template-columns: 240px minmax(260px, 1fr);
  gap: 34px;
  align-items: center;
  justify-content: center;
}

.pipeline-donut {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  justify-self: center;
}

.pipeline-donut-hole {
  width: 126px;
  height: 126px;
  border-radius: 50%;
  background: #101216;
  display: grid;
  place-items: center;
  text-align: center;
}

.pipeline-donut-hole strong {
  display: block;
  font-size: 2.35rem;
  line-height: 1;
}

.pipeline-donut-hole span {
  font-size: 1.08rem;
}

.pipeline-distribution-list {
  gap: 20px;
}

.pipeline-distribution-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.pipeline-distribution-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  margin-top: 8px;
}

.pipeline-distribution-dot.score-a {
  background: #4fc85d;
}

.pipeline-distribution-dot.score-b {
  background: #f2e500;
}

.pipeline-distribution-dot.score-c {
  background: #2f87ff;
}

.pipeline-distribution-row p {
  margin: 4px 0 0;
  font-size: 0.98rem;
}

.pipeline-distribution-row strong {
  font-size: 1.18rem;
}

.pipeline-bar-row,
.pipeline-stage-row {
  display: grid;
  gap: 8px;
}

.pipeline-bar-row + .pipeline-bar-row,
.pipeline-stage-row + .pipeline-stage-row {
  margin-top: 12px;
}

.pipeline-bar-copy,
.pipeline-stage-copy {
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.pipeline-bar-track,
.pipeline-stage-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.pipeline-bar-fill,
.pipeline-stage-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.pipeline-bar-fill {
  background: linear-gradient(90deg, #22b9d6, #2f87ff);
}

.pipeline-stage-fill {
  background: linear-gradient(90deg, rgba(242, 229, 0, 0.22), #87d25c);
}

.pipeline-funnel-layout {
  display: grid;
  grid-template-columns: 1fr minmax(190px, 230px);
  gap: 18px;
  align-items: center;
}

.pipeline-funnel {
  display: grid;
  gap: 6px;
  justify-items: center;
}

.pipeline-funnel-step {
  min-height: 30px;
  display: grid;
  place-items: center;
  clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(123, 123, 123, 0.7), rgba(88, 88, 88, 0.7));
  color: #f3f5f7;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  font-size: 0.78rem;
  font-weight: 700;
}

.pipeline-funnel-step:nth-last-child(2),
.pipeline-funnel-step:last-child {
  background: linear-gradient(180deg, rgba(126, 210, 93, 0.95), rgba(88, 182, 62, 0.95));
}

.pipeline-funnel-copy {
  display: grid;
  gap: 10px;
}

.pipeline-side-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 9, 0.56);
  backdrop-filter: blur(4px);
  z-index: 41;
}

.pipeline-side-overlay.hidden {
  display: none;
}

.pipeline-side-panel {
  padding: 22px;
  position: fixed;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  width: min(860px, calc(100vw - 40px));
  min-width: 0;
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: linear-gradient(180deg, #121418, #0d1014);
  z-index: 42;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
  transform: translate(-50%, -50%);
}

body.modal-open {
  overflow: hidden;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 9, 0.62);
  backdrop-filter: blur(6px);
  z-index: 41;
}

#profile-modal-overlay {
  backdrop-filter: none;
  background: rgba(5, 7, 9, 0.78);
}

.modal-shell {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  z-index: 42;
}

.modal-panel {
  width: min(820px, 100%);
  max-height: calc(100vh - 56px);
  overflow: auto;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, #121419, #0d1014);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
}

.modal-shell.hidden,
.modal-overlay.hidden {
  display: none;
}

.new-lead-modal {
  padding: 22px;
}

.sale-closeout-modal {
  width: min(760px, 100%);
  padding: 22px;
}

.profile-modal {
  width: min(1180px, 100%);
  padding: 24px;
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-kicker {
  margin: 0 0 8px;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 700;
}

.modal-head h3 {
  margin: 0 0 8px;
  font-size: 1.5rem;
}

.modal-copy {
  margin: 0;
  color: var(--muted);
}

.modal-close,
.ghost-button {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #101318;
  color: #d5dae1;
}

.modal-close {
  width: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.new-lead-form {
  display: grid;
  gap: 18px;
}

.sale-closeout-form {
  display: grid;
  gap: 18px;
}

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

.sale-closeout-summary {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top left, rgba(242, 229, 0, 0.06), transparent 28%),
    #101318;
}

.sale-closeout-summary strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.sale-closeout-summary p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.sale-closeout-grid .field:first-child input {
  font-weight: 700;
}

.sale-closeout-actions {
  padding-top: 4px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  color: #dce1e8;
  font-size: 0.86rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0d1014;
  color: var(--text);
}

.field textarea {
  min-height: 120px;
  padding: 14px;
  resize: vertical;
}

.field-full {
  grid-column: 1 / -1;
}

.new-lead-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
}

.new-lead-hint {
  margin: 0;
  max-width: 420px;
  color: var(--muted);
  font-size: 0.88rem;
}

.new-lead-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hidden-file-input {
  display: none;
}

.profile-modal-head {
  margin-bottom: 22px;
}

.profile-modal-title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.profile-modal-icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(242, 229, 0, 0.9);
  color: var(--yellow);
  font-size: 1.35rem;
  box-shadow: 0 0 0 6px rgba(242, 229, 0, 0.04);
}

.profile-form,
.profile-modal-layout,
.profile-modal-main,
.profile-personal-grid,
.profile-fields-grid,
.profile-summary-list {
  display: grid;
}

.profile-form,
.profile-modal-main,
.profile-fields-grid,
.profile-summary-list {
  gap: 18px;
}

.profile-modal-layout {
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 360px);
  gap: 22px;
  align-items: start;
}

.profile-block,
.profile-summary-card {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #101318;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.profile-block {
  padding: 22px;
}

.profile-block-head h4,
.profile-summary-card h4,
.profile-password-block h4 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.profile-block-head p,
.profile-password-block p,
.profile-actions-copy,
.profile-photo-hint,
.profile-field-note,
.profile-summary-card span,
.profile-summary-row p {
  margin: 0;
  color: var(--muted);
}

.profile-personal-grid {
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.profile-photo-panel {
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
}

.profile-photo-preview,
.profile-summary-avatar {
  width: 132px;
  height: 132px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #a78962, #d9c1a3);
  color: #fff;
  font-size: 3.05rem;
  font-weight: 800;
  border: 2px solid rgba(242, 229, 0, 0.75);
  box-shadow: none;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.profile-photo-hint {
  font-size: 0.84rem;
  line-height: 1.45;
}

.profile-photo-button,
.profile-secondary-button {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid rgba(242, 229, 0, 0.65);
  background: rgba(242, 229, 0, 0.04);
  color: var(--yellow);
  cursor: pointer;
}

.profile-fields-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.profile-fields-grid .field small {
  color: var(--muted);
  font-size: 0.82rem;
}

.profile-password-block,
.profile-actions-bar,
.profile-summary-card,
.profile-status-badge,
.profile-summary-row {
  display: flex;
  align-items: center;
}

.profile-password-block,
.profile-actions-bar,
.profile-summary-row {
  justify-content: space-between;
  gap: 16px;
}

.profile-password-block {
  display: grid;
  align-items: stretch;
}

.profile-password-head,
.profile-password-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.profile-password-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.profile-password-actions {
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.profile-summary-card {
  padding: 26px 24px;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
}

.profile-summary-avatar {
  margin: 10px auto 0;
}

.profile-summary-card strong,
.profile-summary-card > span,
.profile-status-badge {
  text-align: center;
}

.profile-summary-card strong {
  font-size: 1.95rem;
}

.profile-summary-card > span {
  display: block;
  font-size: 1rem;
  margin-top: -8px;
}

.profile-status-badge {
  align-self: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: #0d1014;
  color: #dfe5ea;
}

.profile-status-badge::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-right: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(79, 200, 93, 0.08);
}

.profile-status-badge[data-status="En reunion"]::before {
  background: var(--orange);
  box-shadow: 0 0 0 6px rgba(255, 159, 26, 0.08);
}

.profile-status-badge[data-status="Fuera de linea"]::before,
.profile-status-badge[data-status="Vacaciones"]::before {
  background: #7c848f;
  box-shadow: 0 0 0 6px rgba(124, 132, 143, 0.08);
}

.profile-summary-list {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-summary-row {
  align-items: flex-start;
}

.profile-summary-row span {
  width: 22px;
  color: #d7dce3;
  font-weight: 700;
}

.profile-summary-row p {
  flex: 1;
  color: #dfe4ea;
}

.profile-actions-bar {
  margin-top: 6px;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0f1216;
}

.profile-actions-copy {
  max-width: 620px;
  font-size: 0.9rem;
}

.profile-save-button {
  min-width: 190px;
}

.pipeline-side-panel.hidden {
  display: none;
}

.pipeline-side-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pipeline-side-kicker {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--yellow);
}

.pipeline-side-head h3 {
  font-size: 1.65rem;
  line-height: 1.08;
}

.pipeline-side-close {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #111419;
  color: #d9dde3;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.pipeline-side-tabs {
  grid-auto-flow: column;
  gap: 8px;
  justify-content: start;
  margin-bottom: 18px;
}

.pipeline-side-tab {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.84rem;
  border-radius: 10px;
  background: #0f1216;
  color: #bcc2cc;
}

.pipeline-side-tab.active {
  color: var(--yellow);
  border-color: rgba(242, 229, 0, 0.3);
  background: rgba(242, 229, 0, 0.08);
  box-shadow: inset 0 0 0 1px rgba(242, 229, 0, 0.08);
}

.pipeline-side-score {
  margin-bottom: 14px;
}

.pipeline-side-score-card {
  gap: 14px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  align-items: center;
}

.pipeline-side-score-card strong {
  font-size: 2rem;
  line-height: 1;
}

.pipeline-side-score-card span,
.pipeline-side-score-copy p,
.pipeline-side-score-copy small {
  display: block;
}

.pipeline-side-score-copy p {
  margin: 0 0 4px;
}

.pipeline-side-score-empty {
  padding: 14px;
  border-radius: 16px;
  background: #0d0f12;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.pipeline-side-score-empty p {
  margin: 8px 0 0;
  color: var(--muted);
}

.pipeline-side-meta {
  display: grid;
  gap: 14px;
}

.pipeline-side-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pipeline-side-block {
  padding-top: 4px;
}

.pipeline-side-grid {
  flex-wrap: wrap;
  gap: 12px 14px;
  margin-top: 12px;
}

.pipeline-side-grid div {
  width: calc(50% - 7px);
}

.pipeline-side-grid dt {
  margin-bottom: 5px;
  font-size: 0.76rem;
}

.pipeline-side-grid dd {
  margin: 0;
  font-size: 0.86rem;
}

.pipeline-side-breakdown {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.pipeline-side-breakdown-row {
  padding: 10px 12px;
  border-radius: 12px;
  background: #0d0f12;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.pipeline-side-actions {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pipeline-side-actions-copy {
  display: grid;
  gap: 6px;
}

.pipeline-side-actions-copy strong {
  color: #f1f3f5;
  font-size: 0.95rem;
  font-weight: 700;
}

.pipeline-side-actions-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.lead-activity-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.lead-activity-field-full {
  grid-column: 1 / -1;
}

.lead-activity-form textarea {
  resize: vertical;
  min-height: 112px;
}

.lead-activity-form-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.lead-activity-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.pipeline-primary-action {
  order: 3;
  min-height: 46px;
  background: var(--yellow);
  color: #111;
  border-color: transparent;
  font-weight: 700;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(242, 229, 0, 0.16);
  cursor: pointer;
}

.pipeline-primary-action:disabled {
  background: linear-gradient(180deg, #2a2f35, #1c2127);
  color: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 1;
  cursor: default;
  box-shadow: none;
}

.pipeline-danger-action {
  order: 4;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 109, 97, 0.36);
  background: rgba(255, 109, 97, 0.08);
  color: #ffb4a8;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.pipeline-danger-action:hover,
.pipeline-danger-action:focus-visible {
  border-color: rgba(255, 109, 97, 0.62);
  background: rgba(255, 109, 97, 0.14);
  color: #ffd2cb;
  outline: none;
}

.pipeline-stage-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pipeline-stage-button {
  min-height: 54px;
  padding: 0 14px;
  text-align: left;
  cursor: pointer;
  border-radius: 12px;
  background: linear-gradient(180deg, #111418, #0c0f13);
  color: #d6dae0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: 160ms ease;
}

.pipeline-stage-button:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, #14181d, #0e1116);
}

.pipeline-stage-button.current {
  color: var(--yellow);
  border-color: rgba(242, 229, 0, 0.42);
  background: linear-gradient(180deg, rgba(242, 229, 0, 0.12), rgba(242, 229, 0, 0.05));
  box-shadow: inset 0 0 0 1px rgba(242, 229, 0, 0.08);
}

body[data-active-section="pipeline"] .detail-sidebar {
  display: none;
}

body[data-active-section="pipeline"] .shell {
  grid-template-columns: 240px minmax(0, 1fr);
}

body[data-active-section="pipeline"] .topbar-pipeline-actions {
  display: flex;
}

.detail-head {
  margin-bottom: 18px;
}

.detail-kicker {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
}

.detail-head h2 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.detail-badges {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.detail-card {
  padding: 18px;
}

.detail-content.hidden {
  display: none;
}

.detail-content {
  display: grid;
  gap: 16px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin-top: 14px;
}

dt {
  color: var(--muted);
  margin-bottom: 6px;
  font-size: 0.82rem;
}

dd {
  margin: 0;
}

.score-list,
.status-actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #0b0d10;
}

.status-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.status-button {
  padding: 12px 14px;
  border-radius: 12px;
  background: #0b0d10;
  color: var(--text);
  border: 1px solid var(--line);
  text-align: left;
}

.status-button.current {
  border-color: rgba(242, 229, 0, 0.24);
  background: rgba(242, 229, 0, 0.08);
}

.reports-dashboard {
  display: grid;
  gap: 20px;
}

.reports-panel-head,
.reports-kpi-head,
.reports-bar-copy,
.reports-team-row,
.reports-top-row,
.reports-funnel-row,
.reports-funnel-stage,
.reports-summary-head,
.reports-summary-row,
.reports-legend-row {
  display: flex;
  align-items: center;
}

.reports-panel-head,
.reports-team-row,
.reports-top-row,
.reports-funnel-row,
.reports-summary-head,
.reports-summary-row {
  justify-content: space-between;
}

.reports-panel-head p,
.reports-footnote,
.reports-kpi-trend,
.reports-legend-copy span,
.reports-top-copy span,
.reports-funnel-stage span {
  color: var(--muted);
}

.reports-panel-head p,
.reports-footnote {
  margin: 6px 0 0;
  line-height: 1.45;
}

.reports-actions {
  justify-content: end;
}

.reports-action-button,
.reports-filter-select,
.reports-panel-pill {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 10, 15, 0.92);
  color: var(--text);
}

.reports-action-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 14px;
  font: inherit;
}

.reports-filter-select {
  min-width: 240px;
  min-height: 50px;
  padding: 12px 14px;
  border-radius: 14px;
  font: inherit;
  appearance: none;
  background-color: #0e1218;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.72) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.72) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.reports-filter-select:focus {
  outline: none;
  border-color: rgba(47, 143, 255, 0.9);
  box-shadow: 0 0 0 3px rgba(47, 143, 255, 0.18);
}

.reports-date-range-fields {
  margin-top: -6px;
}

.reports-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.reports-kpi,
.reports-panel {
  position: relative;
  overflow: hidden;
}

.reports-kpi {
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(180deg, #131820, #0e1218 84%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.reports-kpi::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 20px;
}

.reports-kpi-purple::before { background: #8b5cf6; }
.reports-kpi-blue::before { background: #2f8fff; }
.reports-kpi-green::before { background: #2dd36f; }
.reports-kpi-yellow::before { background: #f2e500; }
.reports-kpi-cyan::before { background: #24c8f6; }

.reports-kpi-head {
  gap: 12px;
  margin-bottom: 16px;
}

.reports-kpi-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.reports-kpi-icon .home-icon {
  width: 18px;
  height: 18px;
}

.reports-kpi-purple .reports-kpi-icon {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.22);
  color: #c6acff;
}

.reports-kpi-blue .reports-kpi-icon {
  background: rgba(47, 143, 255, 0.1);
  border-color: rgba(47, 143, 255, 0.22);
  color: #8fc0ff;
}

.reports-kpi-green .reports-kpi-icon {
  background: rgba(45, 211, 111, 0.1);
  border-color: rgba(45, 211, 111, 0.22);
  color: #8ef0b3;
}

.reports-kpi-yellow .reports-kpi-icon {
  background: rgba(242, 229, 0, 0.09);
  border-color: rgba(242, 229, 0, 0.2);
  color: var(--yellow);
}

.reports-kpi-cyan .reports-kpi-icon {
  background: rgba(36, 200, 246, 0.1);
  border-color: rgba(36, 200, 246, 0.22);
  color: #93e7ff;
}

.reports-kpi-label {
  font-size: 0.92rem;
  color: #d4d9e1;
}

.reports-kpi-value {
  display: block;
  font-size: 2.3rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.reports-kpi-trend {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.84rem;
  font-weight: 700;
}

.reports-kpi-trend.is-up,
.reports-team-trend.is-up {
  color: #2dd36f;
}

.reports-kpi-trend.is-down,
.reports-team-trend.is-down {
  color: #ff6b6b;
}

.reports-main-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.reports-main-column {
  display: contents;
}

.reports-panel-chart {
  grid-column: 1 / span 7;
  grid-row: 1;
}

.reports-panel-funnel {
  grid-column: 8 / span 5;
  grid-row: 3;
}

.reports-panel-summary {
  grid-column: 1 / span 7;
  grid-row: 2;
}

.reports-panel-country {
  grid-column: 8 / span 5;
  grid-row: 1;
}

.reports-panel-top {
  grid-column: 1 / span 7;
  grid-row: 3;
}

.reports-panel-source {
  grid-column: 8 / span 5;
  grid-row: 2;
}

.reports-panel-team {
  grid-column: 1 / span 6;
  grid-row: 4;
}

.reports-panel-health {
  grid-column: 7 / span 6;
  grid-row: 4;
}

.reports-panel {
  padding: 22px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, #131820, #0e1218 86%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  height: 100%;
}

.reports-chart-panel {
  min-height: 400px;
  display: grid;
  grid-template-rows: auto 1fr;
}

.reports-table-panel {
  min-height: 100%;
}

.reports-panel-funnel,
.reports-panel-country,
.reports-panel-source,
.reports-panel-team,
.reports-panel-health,
.reports-panel-top {
  min-height: 100%;
}

.reports-panel-head {
  gap: 16px;
  margin-bottom: 18px;
}

.reports-panel-head h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.15;
}

.reports-panel-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 14px;
  font-size: 0.84rem;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.reports-line-chart {
  min-height: 280px;
  height: 100%;
  display: flex;
  align-items: stretch;
}

.reports-chart-svg {
  width: 100%;
  height: 100%;
  min-height: 280px;
}

.reports-axis-line,
.reports-grid-line {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1;
}

.reports-grid-line {
  stroke-dasharray: 4 8;
}

.reports-chart-dot {
  fill: #f2e500;
  stroke: rgba(11, 13, 16, 0.9);
  stroke-width: 2;
}

.reports-chart-bar {
  fill: url("#reportsBarGradient");
  filter: drop-shadow(0 12px 16px rgba(242, 229, 0, 0.14));
}

.reports-chart-value {
  fill: #f5f7fb;
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
}

.reports-chart-tag {
  fill: #f2e500;
}

.reports-chart-tag-text,
.reports-axis-copy {
  fill: #f5f7fb;
  font-size: 12px;
  font-family: inherit;
}

.reports-funnel-layout,
.reports-donut-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 20px;
  align-items: center;
}

.reports-donut-layout {
  display: flex;
  width: 100%;
  margin: 18px auto 0;
  justify-content: center;
  align-items: center;
  gap: 34px;
}

.reports-funnel {
  display: grid;
  justify-items: center;
  gap: 3px;
  padding: 20px 0;
}

.reports-funnel-step {
  min-width: 78px;
  height: 34px;
  clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%);
  opacity: 0.96;
}

.reports-funnel-copy,
.reports-bars,
.reports-team-list,
.reports-health-list,
.reports-top-list,
.reports-summary-table,
.reports-legend {
  display: grid;
  gap: 14px;
}

.reports-funnel-row,
.reports-team-row,
.reports-top-row,
.reports-summary-row {
  gap: 14px;
}

.reports-funnel-dot,
.reports-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.reports-funnel-stage,
.reports-legend-row {
  gap: 12px;
}

.reports-donut {
  position: relative;
  width: 210px;
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
}

.reports-donut-hole {
  position: absolute;
  inset: 22px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 50%;
  background: #0b0d10;
  text-align: center;
}

.reports-donut-hole strong {
  font-size: 2rem;
}

.reports-legend-copy strong,
.reports-bar-copy strong,
.reports-top-copy strong,
.reports-funnel-stage strong {
  display: block;
}

.reports-bar-copy {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.reports-bar-track,
.reports-summary-share-bar {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.reports-bar-track {
  height: 10px;
}

.reports-bar-fill,
.reports-summary-share-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.reports-team-row,
.reports-top-row,
.reports-summary-row,
.reports-funnel-row {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.reports-team-row:last-child,
.reports-top-row:last-child,
.reports-summary-row:last-child,
.reports-funnel-row:last-child {
  border-bottom: 0;
}

.reports-team-row span:nth-child(2),
.reports-top-copy span {
  font-size: 0.95rem;
}

.reports-team-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.reports-team-main strong,
.reports-health-copy strong {
  display: block;
  margin-bottom: 4px;
}

.reports-team-main span,
.reports-team-share,
.reports-health-copy span {
  color: var(--muted);
  font-size: 0.9rem;
}

.reports-team-side {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.reports-health-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.reports-health-row:last-child {
  border-bottom: 0;
}

.reports-health-value {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.reports-summary-head {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.reports-summary-head,
.reports-summary-row {
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 1fr 1fr 0.7fr;
  align-items: center;
}

.reports-summary-share {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.reports-summary-share-bar {
  height: 8px;
}

.reports-summary-share-bar i {
  background: #f2e500;
}

.reports-top-rank {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-weight: 700;
}

.reports-top-copy {
  flex: 1;
}

.reports-empty {
  color: var(--muted);
  padding: 28px 0;
}

.reports-footnote {
  font-size: 0.92rem;
}

.reports-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.reports-legacy-grid,
.report-card {
  display: none;
}

.home-dashboard {
  display: grid;
  gap: 18px;
}

.home-dashboard-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(15, 17, 21, 0.94), rgba(10, 12, 15, 0.96));
}

.home-dashboard-toolbar-copy {
  display: grid;
  gap: 4px;
  min-width: 220px;
}

.home-dashboard-toolbar-copy strong {
  color: var(--text);
  font-size: 1rem;
}

.home-dashboard-toolbar-copy span {
  color: #a8adb6;
  font-size: 0.88rem;
}

.home-dashboard-filters {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.home-dashboard-filters select {
  min-width: 190px;
}

body[data-user-role="advisor"] #home-advisor-filter {
  display: none;
}

.home-filter-clear {
  min-height: 50px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(242, 229, 0, 0.28);
  background: rgba(242, 229, 0, 0.08);
  color: var(--yellow);
  font-weight: 800;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.home-filter-clear:hover {
  transform: translateY(-1px);
  border-color: rgba(242, 229, 0, 0.42);
  background: rgba(242, 229, 0, 0.13);
}

.home-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 1.28fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.home-dashboard .side-stack {
  display: grid;
  gap: 18px;
  align-self: stretch;
}

.stats-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 0;
}

.stat-card,
.home-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, #131820, #0e1218 84%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.stat-card {
  min-height: 184px;
  padding: 22px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.stat-icon {
  margin-bottom: 0;
}

.home-icon {
  width: 20px;
  height: 20px;
}

.stat-card p {
  margin: 0;
  font-size: 0.92rem;
  color: #d2d7df;
  max-width: 16ch;
}

.stat-card strong {
  display: block;
  margin: 18px 0 10px;
  font-size: 2.7rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.trend-up {
  display: inline-block;
  color: #4ccd62;
  font-size: 0.86rem;
  font-weight: 700;
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--metric-accent, rgba(242, 229, 0, 0.9));
}

.stat-card:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.11);
}

.stat-card-yellow {
  --metric-accent: rgba(242, 229, 0, 0.9);
}

.stat-card-blue {
  --metric-accent: rgba(47, 135, 255, 0.92);
}

.stat-card-green {
  --metric-accent: rgba(79, 200, 93, 0.92);
}

.stat-card-yellow .stat-icon {
  background: rgba(242, 229, 0, 0.09);
  border-color: rgba(242, 229, 0, 0.18);
  color: var(--yellow);
}

.stat-card-blue .stat-icon {
  background: rgba(47, 135, 255, 0.11);
  border-color: rgba(47, 135, 255, 0.2);
  color: #8db9ff;
}

.stat-card-green .stat-icon {
  background: rgba(79, 200, 93, 0.1);
  border-color: rgba(79, 200, 93, 0.18);
  color: #8fe89a;
}

.home-panel {
  min-height: 288px;
  padding: 22px 22px 18px;
}

.home-priorities-panel,
.home-hot-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.home-priorities-panel .donut-area,
.home-hot-panel .personal-funnel-shell {
  align-self: center;
}

.home-panel .panel-head {
  margin-bottom: 18px;
}

.home-panel .panel-head h2 {
  font-size: 1.18rem;
  line-height: 1.15;
}

.home-priorities-list,
.home-hot-leads,
.task-list,
.activity-feed,
.home-insights-list {
  display: grid;
  gap: 12px;
}

.home-priorities-list {
  grid-template-columns: 1fr;
  gap: 12px;
}

.home-priority-item,
.home-hot-row,
.home-task-panel .task-item,
.home-activity-panel .activity-item,
.home-insight-item {
  display: grid;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.home-priority-item:first-child,
.home-hot-row:first-child,
.home-task-panel .task-item:first-child,
.home-activity-panel .activity-item:first-child,
.home-insight-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.home-priorities-list .home-priority-item:first-child {
  padding-top: 0;
}

.home-priority-item {
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0;
  background: transparent;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
}

.home-priority-icon,
.activity-item-icon,
.home-insight-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--yellow);
  background: rgba(255, 255, 255, 0.04);
}

.home-priority-copy,
.home-hot-copy,
.task-item-copy,
.activity-item-copy,
.home-insight-copy {
  min-width: 0;
}

.home-priority-copy {
  display: block;
}

.home-priority-copy strong,
.home-hot-copy strong,
.task-item-copy strong,
.activity-item-copy strong,
.home-insight-copy strong {
  display: block;
  font-size: 1rem;
}

.home-priority-copy span,
.home-hot-copy span,
.task-item-copy p,
.activity-item-copy p,
.home-insight-copy p {
  display: block;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.home-priority-count {
  color: var(--yellow);
  font-size: 1.8rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.home-priority-copy > span {
  margin-top: 4px;
}

.home-priority-item .home-inline-action {
  width: auto;
  margin-top: 0;
}

.home-inline-action,
.home-panel-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  border-radius: 12px;
  border: 1px solid rgba(242, 229, 0, 0.45);
  background: rgba(242, 229, 0, 0.06);
  color: var(--yellow);
  font-weight: 700;
  cursor: pointer;
  transition: 160ms ease;
}

.home-inline-action {
  min-height: 36px;
  padding: 0 14px;
}

.home-inline-action-icon .home-icon,
.home-panel-link .home-icon {
  width: 16px;
  height: 16px;
}

.home-inline-action:hover,
.home-panel-link:hover {
  background: rgba(242, 229, 0, 0.12);
  border-color: rgba(242, 229, 0, 0.65);
}

.home-hot-row {
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  cursor: pointer;
}

.home-hot-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.home-hot-badge.score-a,
.home-hot-score.score-a,
.home-insight-green {
  background: rgba(61, 203, 99, 0.16);
  color: #75dc7a;
}

.home-hot-badge.score-b,
.home-hot-score.score-b,
.home-insight-yellow {
  background: rgba(242, 229, 0, 0.16);
  color: var(--yellow);
}

.home-hot-badge.score-c,
.home-hot-score.score-c {
  background: rgba(47, 143, 255, 0.16);
  color: #7aaeff;
}

.home-hot-score {
  min-width: 44px;
  padding: 6px 10px;
  border-radius: 10px;
  text-align: center;
  font-weight: 800;
}

.home-panel-link {
  min-height: 42px;
  padding: 0 14px;
  margin-top: 16px;
  align-self: flex-start;
}

.home-funnel-panel {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  align-content: stretch;
  justify-items: stretch;
  gap: 18px;
}

.home-funnel-panel .panel-head {
  width: 100%;
}

.home-funnel-panel .table-wrap {
  width: 100%;
  min-height: 0;
}

.home-funnel-panel table {
  min-width: 100%;
}

.home-funnel-panel th,
.home-funnel-panel td {
  padding: 14px 12px;
}

.home-funnel-panel th:first-child,
.home-funnel-panel td:first-child {
  padding-left: 0;
}

.home-funnel-panel th:last-child,
.home-funnel-panel td:last-child {
  padding-right: 0;
}

.home-advisor-performance-section {
  min-height: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.home-advisor-performance-section .panel-head {
  margin-bottom: 12px;
}

.home-advisor-performance-table {
  min-height: 0;
  overflow: auto;
}

.home-performance-table {
  gap: 0;
}

.home-performance-table .activity-table-head,
.home-performance-table .activity-table-row {
  grid-template-columns: minmax(120px, 1.25fr) repeat(4, minmax(78px, 0.75fr));
}

.home-performance-table .activity-table-row {
  padding: 11px 0;
}

.home-activity-panel .task-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  cursor: pointer;
}

.task-item-time {
  font-weight: 700;
}

.task-item-time-high {
  color: #ff6d61;
}

.task-item-time-medium {
  color: var(--yellow);
}

.task-item-time-normal {
  color: #d3d8df;
}

.home-funnel-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  width: min(100%, 1090px);
  margin: 0 auto;
}

.home-funnel-step {
  min-height: 112px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  padding: 14px 8px;
  clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%, 8% 50%);
}

.home-funnel-step:first-child {
  clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%);
}

.home-funnel-step:last-child {
  clip-path: polygon(0 0, 100% 0, 92% 50%, 100% 100%, 0 100%, 8% 50%);
}

.home-funnel-step span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}

.home-funnel-step strong {
  font-size: 2.1rem;
  letter-spacing: -0.05em;
}

.home-activity-panel .activity-item {
  grid-template-columns: auto minmax(0, 1fr) auto;
  cursor: default;
}

.activity-item-time {
  color: #c6ccd4;
  font-size: 0.92rem;
  white-space: nowrap;
}

.home-insight-item {
  grid-template-columns: auto minmax(0, 1fr);
}

.dashboard-focus-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(242, 229, 0, 0.2);
  background: linear-gradient(180deg, rgba(242, 229, 0, 0.08), rgba(242, 229, 0, 0.04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.dashboard-focus-bar.is-active {
  display: flex;
}

.dashboard-focus-copy {
  display: grid;
  gap: 4px;
}

.dashboard-focus-copy strong {
  color: var(--yellow);
  font-size: 0.92rem;
}

.dashboard-focus-copy span {
  color: #d1d6de;
  font-size: 0.84rem;
}

.dashboard-focus-clear {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(242, 229, 0, 0.36);
  background: rgba(10, 12, 15, 0.5);
  color: var(--yellow);
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 1180px) {
  .home-dashboard-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .home-dashboard-filters {
    justify-content: flex-start;
  }

  .home-panel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .home-panel-grid,
  .stats-row,
  .home-funnel-grid,
  .home-priorities-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-dashboard-filters,
  .home-dashboard-filters select,
  .home-filter-clear {
    width: 100%;
  }

  .table-panel,
  .home-dashboard .side-stack {
    grid-column: auto;
  }

  .home-priority-item,
  .home-hot-row,
  .home-task-panel .task-item,
  .home-activity-panel .activity-item {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .home-inline-action,
  .home-panel-link {
    width: 100%;
  }
}

@media (max-width: 1500px) {
  .shell {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .home-funnel-step span {
    font-size: 0.82rem;
    overflow-wrap: anywhere;
  }

  .donut-area {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .legend {
    width: 100%;
    justify-items: center;
  }

  body[data-active-section="pipeline"] .shell {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .detail-sidebar {
    grid-column: 1 / -1;
  }

  .pipeline-layout {
    grid-template-columns: 1fr;
  }

  .pipeline-side-panel {
    width: min(860px, calc(100vw - 32px));
  }

  .pipeline-kpis,
  .pipeline-insights {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .profile-modal-layout {
    grid-template-columns: 1fr;
  }

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

  .activity-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 1120px) {
  body:not(.login-body) {
    padding-top: 68px;
  }

  .mobile-appbar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 80;
    height: 68px;
    padding: 0 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(7, 8, 10, 0.92);
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(14px);
  }

  .mobile-appbar-logo {
    width: 104px;
    height: auto;
  }

  .mobile-menu-toggle {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    display: inline-grid;
    place-content: center;
    gap: 5px;
    cursor: pointer;
  }

  .mobile-menu-toggle span {
    width: 21px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  body.mobile-menu-open .mobile-menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.mobile-menu-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.mobile-menu-open .mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-menu-overlay {
    position: fixed;
    inset: 68px 0 0;
    z-index: 60;
    background: rgba(0, 0, 0, 0.58);
    opacity: 0;
    pointer-events: none;
    display: block;
    transition: opacity 180ms ease;
  }

  body.mobile-menu-open .mobile-menu-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  .shell {
    grid-template-columns: 1fr;
  }

  body[data-active-section="pipeline"] .shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: fixed;
    top: 68px;
    left: 0;
    z-index: 70;
    width: min(320px, calc(100vw - 42px));
    height: calc(100vh - 68px);
    padding: 22px 16px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    transform: translateX(-104%);
    transition: transform 220ms var(--ease-fluid);
    overflow-y: auto;
    box-shadow: 28px 0 70px rgba(0, 0, 0, 0.38);
  }

  body.mobile-menu-open .sidebar {
    transform: translateX(0);
  }

  .sidebar .brand {
    margin-bottom: 22px;
  }

  .topbar,
  .topbar-actions,
  .panel-head-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar-right {
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .topbar-pipeline-actions {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .search-bar {
    width: 100%;
  }

  .stats-row,
  .dashboard-grid,
  .reports-kpis,
  .reports-main-grid,
  .reports-grid,
  .detail-grid,
  .status-actions {
    grid-template-columns: 1fr;
  }

  .pipeline-toolbar,
  .pipeline-header-actions,
  .pipeline-kpis,
  .pipeline-insights {
    grid-template-columns: 1fr;
  }

  .main {
    padding: 18px;
  }

  .pipeline-shell {
    padding: 12px;
  }

  .pipeline-board-wrap {
    overflow-x: auto;
    overflow-y: visible;
    overscroll-behavior-x: contain;
    scrollbar-gutter: stable;
  }

  .pipeline-board {
    min-width: 1180px;
  }

  .pipeline-board-grid-view,
  .pipeline-board-list-view {
    min-width: 0;
  }

  .pipeline-header {
    grid-template-columns: 1fr;
  }

  .pipeline-header-actions {
    grid-auto-flow: row;
    justify-items: start;
  }

  .activity-hero,
  .activity-hero-actions,
  .activity-metrics {
    grid-template-columns: 1fr;
  }

  .activity-hero-actions {
    grid-auto-flow: row;
    justify-items: start;
  }

  .pipeline-search,
  .leads-search,
  .activity-search,
  .activity-advisor-shell,
  #activity-range-filter,
  #activity-country-filter,
  #activity-advisor-filter {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .leads-toolbar {
    width: 100%;
    min-width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .export-menu,
  .import-menu,
  .leads-export-button,
  .leads-import-button,
  .leads-bulk-delete {
    width: 100%;
  }

  .export-menu-panel,
  .import-menu-panel {
    left: 0;
    right: auto;
    width: 100%;
  }

  .reports-header,
  .reports-actions {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .reports-actions {
    grid-auto-flow: row;
  }

  .profile-personal-grid,
  .profile-fields-grid,
  .profile-actions-bar {
    grid-template-columns: 1fr;
  }

  .profile-password-block,
  .profile-actions-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .profile-password-head,
  .profile-password-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .profile-password-fields {
    grid-template-columns: 1fr;
  }

  .reports-filter-select,
  .reports-export-button {
    width: 100%;
  }

  .reports-funnel-layout,
  .reports-donut-layout,
  .reports-summary-head,
  .reports-summary-row {
    grid-template-columns: 1fr;
  }

  .reports-donut-layout {
    flex-direction: column;
    justify-items: center;
  }

  .reports-panel-chart,
  .reports-panel-funnel,
  .reports-panel-summary,
  .reports-panel-country,
  .reports-panel-top,
  .reports-panel-source,
  .reports-panel-team,
  .reports-panel-health {
    grid-column: auto;
    grid-row: auto;
  }

  .reports-donut {
    width: 180px;
  }

  .activity-table-head,
  .activity-table-row,
  .activity-advisor-head,
  .activity-advisor-row,
  .activity-sla-row {
    grid-template-columns: 1fr;
  }

  .activity-live-item,
  .activity-alert-item,
  .activity-inactive-item {
    grid-template-columns: 1fr;
  }

  .activity-heatmap-grid {
    grid-template-columns: 42px repeat(6, minmax(18px, 1fr));
  }

  .activity-hour-bars {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .pipeline-board-grid-view {
    grid-template-columns: 1fr;
  }

  .pipeline-list-row {
    grid-template-columns: 1fr;
  }

  .leads-toolbar {
    width: 100%;
    min-width: 0;
    flex-direction: column;
    align-items: stretch;
  }

  .pipeline-new-lead-button,
  .leads-new-lead-button {
    width: auto;
  }

  .leads-filter-bar,
  .date-range-fields {
    flex-direction: column;
    align-items: stretch;
  }

  .leads-pagination,
  .leads-pagination-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .leads-pagination-controls {
    margin-left: 0;
  }

  .leads-pagination-pages {
    flex-wrap: wrap;
  }

  .pipeline-toolbar-group {
    grid-auto-flow: row;
  }

  .reports-panel {
    padding: 18px;
  }

  .profile-modal {
    padding: 18px;
  }

  .profile-personal-grid {
    grid-template-columns: 1fr;
  }

  .profile-fields-grid {
    grid-template-columns: 1fr;
  }

  .reports-team-row,
  .reports-top-row {
    display: grid;
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .pipeline-donut-layout {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .personal-funnel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pipeline-funnel-layout {
    grid-template-columns: 1fr;
  }

  .pipeline-side-panel {
    top: 50%;
    left: 50%;
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
  }

  .pipeline-side-grid div {
    width: 100%;
  }

  .lead-activity-form {
    grid-template-columns: 1fr;
  }

  .lead-activity-form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .modal-shell {
    padding: 12px;
  }

  .new-lead-grid {
    grid-template-columns: 1fr;
  }

  .new-lead-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .new-lead-buttons {
    width: 100%;
    justify-content: stretch;
  }

  .new-lead-buttons .ghost-button,
  .new-lead-buttons .pipeline-new-lead-button {
    width: 100%;
  }

  .donut-area {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

@media (max-width: 700px) {
  .pipeline-new-lead-button,
  .leads-new-lead-button,
  .dashboard-focus-clear {
    width: 100%;
  }

  .dashboard-focus-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .personal-funnel-grid {
    grid-template-columns: 1fr;
  }

  .profile-summary-card strong {
    font-size: 1.6rem;
  }

  .profile-photo-preview,
  .profile-summary-avatar {
    width: 108px;
    height: 108px;
    font-size: 2.35rem;
  }
}


