:root {
  --bg: #f6f8fb;
  --panel: #ffffff;
  --soft: #f7f9fc;
  --soft-blue: #edf6ff;
  --border: #e2e7ef;
  --text: #242a34;
  --muted: #657184;
  --faint: #98a2b3;
  --blue: #1677ff;
  --blue-dark: #155ec4;
  --shadow: 0 18px 46px rgba(30, 42, 65, 0.08);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  font-weight: 400;
}

body.auth-pending,
body.login-active {
  background: #f4f7fb;
}

svg {
  display: block;
  flex: 0 0 auto;
}

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

button,
select,
input[type="checkbox"] {
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 18px;
  background: linear-gradient(180deg, #fbfcfe 0%, #eef4fb 100%);
}

.login-panel {
  width: min(420px, 100%);
  display: grid;
  gap: 22px;
  padding: 38px 30px 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.login-brand-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 0;
}

.login-logo {
  width: 168px;
  height: 52px;
  flex: 0 1 168px;
  object-fit: contain;
  object-position: center;
}

.login-product-name {
  min-width: max-content;
  padding-left: 14px;
  border-left: 1px solid var(--border);
  color: var(--text);
  font-size: 21px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0;
}

.login-tagline {
  margin: -8px 0 -2px;
  color: #67738a;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
}

.login-accent {
  width: 36px;
  height: 2px;
  justify-self: center;
  margin: -4px 0 6px;
  border-radius: 999px;
  background: var(--blue);
}

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

.login-field {
  position: relative;
  display: grid;
  color: var(--muted);
  font-size: 13px;
}

.login-field input,
.login-password-field {
  width: 100%;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
}

.login-field input:focus,
.login-password-field:focus-within {
  border-color: rgba(22, 119, 255, 0.55);
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.12);
}

.login-field input:-webkit-autofill,
.login-field input:-webkit-autofill:hover,
.login-field input:-webkit-autofill:focus,
.login-password-field input:-webkit-autofill,
.login-password-field input:-webkit-autofill:hover,
.login-password-field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text);
  box-shadow: 0 0 0 1000px #fff inset;
  caret-color: var(--text);
}

.login-field input::placeholder {
  color: #747f93;
  opacity: 1;
}

.login-field > input {
  padding: 0 12px;
}

.login-password-field {
  display: flex;
  align-items: center;
  overflow: hidden;
}

.login-password-field input {
  min-width: 0;
  height: 100%;
  padding: 0 12px;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.login-password-field input:focus {
  background: #fff;
  box-shadow: none;
}

.login-password-toggle {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  margin-right: 2px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #667187;
}

.login-password-toggle:hover {
  background: #f1f5fa;
  color: var(--text);
}

.login-password-toggle svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.9;
}

.login-remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  margin-top: 2px;
  color: #4d5a71;
  font-size: 13px;
}

.login-remember input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--blue);
}

.login-error {
  margin: -2px 0 0;
  padding: 10px 12px;
  border: 1px solid #f2c7c7;
  border-radius: 8px;
  background: #fff5f5;
  color: #b42318;
  font-size: 13px;
  line-height: 1.35;
}

.login-submit {
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 6px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 650;
}

.login-submit:hover:not(:disabled) {
  background: var(--blue-dark);
}

.login-submit:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.login-submit svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.login-submit.is-loading svg {
  animation: login-spin 900ms linear infinite;
}

@keyframes login-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 520px) {
  .login-page {
    align-items: start;
    padding-top: 26px;
  }

  .login-panel {
    gap: 20px;
    padding: 30px 18px 32px;
  }

  .login-brand-lockup {
    gap: 10px;
  }

  .login-logo {
    width: 136px;
    height: 44px;
    flex-basis: 136px;
  }

  .login-product-name {
    padding-left: 10px;
    font-size: 18px;
  }

  .login-tagline {
    font-size: 13px;
  }

  .login-remember {
    font-size: 13px;
  }
}

.app-shell {
  min-height: 100vh;
  display: flex;
}

.sidebar {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 248px;
  height: 100vh;
  flex: 0 0 248px;
  display: flex;
  flex-direction: column;
  padding: 16px 14px;
  border-right: 1px solid var(--border);
  background: var(--panel);
  transition: width 180ms ease, flex-basis 180ms ease;
}

.sidebar-header {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding: 0 8px;
}

.brand {
  min-width: 0;
  display: flex;
  align-items: center;
  color: var(--text);
  text-decoration: none;
}

.brand-logo {
  width: 112px;
  height: 28px;
  object-fit: contain;
  object-position: left center;
}

.brand-mark {
  display: none;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
}

.brand-mark img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.sidebar-collapse {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
}

.sidebar-collapse:hover {
  background: var(--soft);
  color: var(--text);
}

.sidebar-collapse svg {
  width: 19px;
  height: 19px;
  stroke-width: 1.8;
}

.nav-item {
  border: 0;
  color: var(--text);
  font-weight: 400;
}

.nav-item svg {
  width: 19px;
  height: 19px;
  stroke-width: 1.8;
}

.main-nav {
  display: grid;
  gap: 4px;
}

.nav-item {
  width: 100%;
  height: 42px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 12px;
  border-radius: 8px;
  background: transparent;
  text-align: left;
}

.nav-item:hover {
  background: var(--soft);
}

.nav-item.active {
  background: var(--soft-blue);
  color: var(--blue-dark);
}

.sidebar-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 10px 8px 2px;
}

.avatar {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  border-radius: 50%;
  background: #e9edf3;
  color: var(--muted);
  font-size: 11px;
}

.profile-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.profile-copy > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-copy small {
  color: var(--muted);
}

.profile-logout {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
}

.profile-logout:hover {
  background: var(--soft);
  color: var(--text);
}

.profile-logout svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.9;
}

.projects-page {
  min-height: 100vh;
  min-width: 0;
  flex: 1;
}

.page-header {
  height: 56px;
  display: flex;
  align-items: center;
  padding: 0 28px;
  border-bottom: 1px solid var(--border);
  background: var(--panel);
}

.page-header h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: 0;
}

.workspace {
  width: min(1320px, calc(100% - 56px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.view {
  display: block;
}

.insight-filter-panel,
.insight-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.insight-filter-panel {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
  padding: 18px;
}

.filter-primary-row {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.company-search-control {
  width: 100%;
  height: 44px;
  border-radius: 8px;
  box-shadow: none;
}

.insight-search-button {
  min-width: 104px;
  margin-left: 0;
}

.insight-filter-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(140px, 1fr));
  gap: 10px;
}

.insight-select {
  width: 100%;
  height: 36px;
  padding: 0 30px 0 11px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.insight-card {
  padding: 18px;
}

.market-change-card {
  margin-bottom: 18px;
}

.insight-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.insight-section-heading.compact {
  margin-bottom: 14px;
}

.insight-section-heading h2 {
  margin: 0;
  color: var(--text);
  font-size: 17px;
  font-weight: 650;
  letter-spacing: 0;
}

.insight-section-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.data-range {
  height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--soft-blue);
  color: var(--blue-dark);
  font-size: 12px;
  white-space: nowrap;
}

.market-metric-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.market-metric {
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 14px 16px;
  border-left: 1px solid var(--border);
  background: #fbfdff;
}

.market-metric:first-child {
  border-left: 0;
}

.market-metric span {
  color: var(--muted);
  font-size: 12px;
}

.market-metric strong {
  color: var(--text);
  font-size: 24px;
  font-weight: 650;
  letter-spacing: 0;
}

.market-metric small {
  color: var(--faint);
  font-size: 12px;
}

.trend-panel {
  margin-top: 16px;
  padding: 14px 16px 10px;
  border-radius: 8px;
  background: var(--soft);
}

.trend-bars {
  height: 118px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: end;
  gap: 10px;
  padding-top: 16px;
  border-bottom: 1px solid #d8e1ed;
}

.trend-bars span {
  height: var(--height);
  min-height: 18px;
  border-radius: 6px 6px 0 0;
  background: #77b7ff;
}

.trend-bars span:nth-child(3n + 1) {
  background: var(--blue);
}

.trend-labels {
  display: flex;
  justify-content: space-between;
  padding-top: 9px;
  color: var(--faint);
  font-size: 12px;
}

.insight-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.75fr);
  gap: 18px;
  margin-bottom: 18px;
}

.segmented-control {
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--soft);
}

.segmented-control button {
  height: 28px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.segmented-control button.active {
  background: var(--panel);
  color: var(--blue-dark);
  box-shadow: 0 2px 8px rgba(29, 43, 66, 0.06);
}

.distribution-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  gap: 18px;
  align-items: stretch;
}

.market-map {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(#e8eef6 1px, transparent 1px),
    linear-gradient(90deg, #e8eef6 1px, transparent 1px),
    #f8fbff;
  background-size: 54px 54px;
}

.market-map::before {
  content: "";
  position: absolute;
  inset: 24px 32px;
  border: 1px solid #d8e2ef;
  border-radius: 42% 58% 50% 45%;
  background: #eef5ff;
}

.map-chip {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 1;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid #cfe2fb;
  border-radius: 999px;
  background: var(--panel);
  color: var(--blue-dark);
  font-size: 12px;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(24, 80, 150, 0.08);
}

.map-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.map-chip.primary {
  background: var(--blue);
  color: #fff;
}

.map-chip.primary::before {
  background: #fff;
}

.distribution-list {
  display: grid;
  align-content: start;
  gap: 8px;
}

.distribution-table-head,
.distribution-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 62px 58px;
  gap: 10px;
  align-items: center;
}

.distribution-table-head {
  color: var(--faint);
  font-size: 11px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.distribution-row {
  position: relative;
  min-height: 38px;
  overflow: hidden;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
  font-size: 13px;
}

.distribution-row span {
  position: relative;
  z-index: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.distribution-row i {
  position: absolute;
  left: 0;
  bottom: 0;
  width: var(--value);
  height: 3px;
  background: var(--blue);
}

.source-stack {
  height: 18px;
  display: flex;
  overflow: hidden;
  border-radius: 999px;
  background: var(--soft);
}

.source-stack span {
  width: var(--width);
  background: var(--color);
}

.source-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.source-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

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

.source-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.source-row i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--dot);
}

.source-row strong {
  color: var(--text);
  font-weight: 650;
}

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

.rank-panel,
.pattern-panel {
  min-width: 0;
  padding: 14px;
  border-radius: 8px;
  background: var(--soft);
}

.rank-panel h3,
.pattern-panel h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
}

.rank-list {
  display: grid;
  gap: 12px;
}

.rank-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px 42px;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

.rank-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-row i {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #dbe8f8;
}

.rank-row i::before {
  content: "";
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

.rank-row em {
  color: var(--text);
  font-style: normal;
  text-align: right;
}

.pattern-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pattern-list span {
  padding: 7px 9px;
  border-radius: 8px;
  background: var(--panel);
  color: var(--blue-dark);
  font-size: 12px;
}

.market-insights-workspace {
  width: min(1440px, calc(100% - 64px));
  padding-top: 24px;
}

.market-search-shell {
  display: grid;
  gap: 18px;
  margin-bottom: 34px;
}

.market-search-row {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(280px, 1fr) 44px auto;
  gap: 22px;
  align-items: center;
}

.market-search-input {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid #d9dee6;
  border-radius: 3px;
  background: #fff;
  color: var(--muted);
}

.market-search-input svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

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

.market-search-button {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #2f90d1;
  color: #fff;
  box-shadow: 0 8px 18px rgba(47, 144, 209, 0.18);
}

.market-search-button svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.4;
}

.clear-all-button {
  height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: #8b929e;
  white-space: nowrap;
}

.clear-all-button svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.market-filter-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.filter-group-label {
  width: 100%;
  padding-left: 18px;
  color: #2f90d1;
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
}

.market-filter-chip {
  height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid #cbd1d9;
  border-radius: 999px;
  background: #fff;
  color: #596271;
  font-size: 14px;
  font-weight: 400;
}

.market-filter-chip::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.market-filter-chip.active {
  border-color: #2f90d1;
  background: #2f90d1;
  color: #fff;
}

.market-report-panel {
  padding: 30px 28px 34px;
  border: 1px solid #dfe5ec;
  border-radius: 2px;
  background: #fff;
  box-shadow: none;
}

.market-report-panel .market-metric-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 0;
  border-radius: 0;
  background: #fff;
}

.market-report-panel .market-metric {
  min-height: 86px;
  justify-items: center;
  gap: 8px;
  padding: 18px 20px;
  border-left: 1px solid #e3e7ec;
  background: #fff;
  text-align: center;
}

.market-report-panel .market-metric:first-child {
  border-left: 0;
}

.market-report-panel .market-metric span {
  color: #a0a6ae;
  font-size: 14px;
}

.market-report-panel .market-metric strong {
  color: #111827;
  font-size: 28px;
  font-weight: 650;
}

.signal-area-chart {
  position: relative;
  height: 245px;
  margin-top: 18px;
  overflow: hidden;
  border-bottom: 1px solid #d8dee7;
  background:
    repeating-linear-gradient(90deg, transparent 0 88px, rgba(126, 145, 166, 0.2) 89px 90px),
    linear-gradient(#fff, #fff);
}

.signal-area-chart::before {
  content: "";
  position: absolute;
  inset: 52px 0 42px;
  border-top: 1px solid #edf0f3;
  border-bottom: 1px solid #edf0f3;
}

.area-fill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 42px;
  height: 160px;
  background: linear-gradient(rgba(87, 165, 210, 0.36), rgba(87, 165, 210, 0.06));
  clip-path: polygon(
    0 43%,
    6% 36%,
    12% 44%,
    18% 36%,
    24% 41%,
    30% 35%,
    36% 48%,
    43% 40%,
    50% 62%,
    56% 34%,
    63% 42%,
    70% 36%,
    78% 43%,
    86% 33%,
    94% 39%,
    100% 55%,
    100% 100%,
    0 100%
  );
}

.area-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 41px;
  height: 160px;
  clip-path: polygon(
    0 43%,
    6% 36%,
    12% 44%,
    18% 36%,
    24% 41%,
    30% 35%,
    36% 48%,
    43% 40%,
    50% 62%,
    56% 34%,
    63% 42%,
    70% 36%,
    78% 43%,
    86% 33%,
    94% 39%,
    100% 55%,
    100% 59%,
    94% 43%,
    86% 37%,
    78% 47%,
    70% 40%,
    63% 46%,
    56% 38%,
    50% 66%,
    43% 44%,
    36% 52%,
    30% 39%,
    24% 45%,
    18% 40%,
    12% 48%,
    6% 40%,
    0 47%
  );
  background: #7fb8d9;
}

.chart-months {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  color: #6f7784;
  font-size: 12px;
}

.chart-legend {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #5799bf;
  font-size: 13px;
}

.chart-legend i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2f90d1;
}

.report-distribution-section {
  position: relative;
  margin-top: 58px;
}

.report-section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.report-section-heading span {
  color: #a0a6ae;
  font-size: 15px;
}

.report-section-heading h2 {
  margin: 0;
  color: #111827;
  font-size: 24px;
  font-weight: 650;
  letter-spacing: 0;
}

.report-distribution-section .segmented-control {
  position: absolute;
  top: 0;
  right: 0;
}

.report-distribution-section .distribution-layout {
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.8fr);
  gap: 46px;
  align-items: start;
}

.report-distribution-section .market-map {
  min-height: 330px;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(#eef1f4 1px, transparent 1px),
    linear-gradient(90deg, #eef1f4 1px, transparent 1px),
    #fff;
  background-size: 72px 72px;
}

.report-distribution-section .market-map::before {
  inset: 38px 62px;
  border: 1px solid #e5dbc6;
  border-radius: 58% 42% 48% 52%;
  background: #efe3cd;
}

.report-distribution-section .market-map::after {
  content: "";
  position: absolute;
  left: 24%;
  top: 55%;
  width: 18%;
  height: 22%;
  border-radius: 55% 45% 60% 40%;
  background: #d9952d;
  opacity: 0.9;
}

.report-distribution-section .map-chip {
  border-color: #d7e6f0;
  color: #3b7fa8;
  box-shadow: none;
}

.report-distribution-section .map-chip.primary {
  background: #d9952d;
  color: #fff;
}

.report-distribution-section .distribution-list {
  gap: 0;
  max-height: 330px;
  overflow: auto;
}

.report-distribution-section .distribution-table-head,
.report-distribution-section .distribution-row {
  grid-template-columns: minmax(0, 1fr) 72px 62px;
}

.report-distribution-section .distribution-table-head {
  height: 34px;
  border-bottom: 1px solid #bfc6cf;
  color: #1f2937;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.report-distribution-section .distribution-row {
  min-height: 38px;
  padding: 0;
  border-radius: 0;
  background: #fff;
  color: #2c3340;
  font-size: 14px;
}

.report-distribution-section .distribution-row span:nth-child(2) {
  color: #5799bf;
  font-weight: 650;
}

.report-distribution-section .distribution-row i {
  display: none;
}

.report-lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.8fr);
  gap: 54px;
  margin-top: 72px;
}

.characteristics-columns {
  display: grid;
  gap: 24px;
}

.report-characteristics-panel .rank-panel {
  padding: 0;
  border-radius: 0;
  background: #fff;
}

.report-characteristics-panel .rank-panel h3 {
  color: #111827;
  font-size: 22px;
}

.report-characteristics-panel .rank-row {
  grid-template-columns: minmax(150px, 0.9fr) minmax(140px, 1fr) 56px;
}

.report-characteristics-panel .rank-row i {
  height: 6px;
  background: #d9e6ee;
}

.report-characteristics-panel .rank-row i::before {
  background: #637f91;
}

.source-panel .report-section-heading {
  grid-template-columns: auto 1fr;
  align-items: end;
}

.source-panel .report-section-heading span {
  grid-column: 1 / -1;
}

.source-donut {
  width: 230px;
  height: 230px;
  display: grid;
  place-items: center;
  margin: 10px auto 18px;
  border-radius: 50%;
  background: conic-gradient(#df8b24 0 38%, #1f2e5f 38% 64%, #3b96b8 64% 85%, #d5c454 85% 100%);
}

.donut-core {
  width: 126px;
  height: 126px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 50%;
  background: #fff;
}

.donut-core strong {
  color: #111827;
  font-size: 28px;
  font-weight: 650;
}

.donut-core span {
  color: #4b5563;
  font-size: 13px;
}

.source-panel .source-list {
  margin-top: 0;
}

.search-control svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
}

.sidebar-collapsed .sidebar {
  width: 58px;
  flex-basis: 58px;
  padding-inline: 7px;
}

.sidebar-collapsed .sidebar-header {
  justify-content: center;
  padding: 0;
}

.sidebar-collapsed .brand-logo,
.sidebar-collapsed .nav-item span,
.sidebar-collapsed .profile-copy,
.sidebar-collapsed .profile-logout {
  display: none;
}

.sidebar-collapsed .brand-mark {
  display: inline-flex;
}

.sidebar-collapsed .sidebar-collapse {
  display: none;
}

.sidebar-collapsed .nav-item {
  width: 36px;
  justify-content: center;
  padding: 0;
}

.sidebar-collapsed .main-nav {
  justify-items: center;
}

.sidebar-collapsed .sidebar-profile {
  justify-content: center;
  padding-inline: 0;
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.search-control {
  width: min(480px, 40vw);
  height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
  color: var(--muted);
}

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

.search-control input::placeholder {
  color: #7b8492;
}

.toolbar-button,
.time-select,
.primary-button,
.secondary-button,
.icon-button {
  height: 42px;
  border-radius: 8px;
  font-weight: 400;
}

.toolbar-button,
.time-select,
.secondary-button,
.icon-button {
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
}

.toolbar-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
}

.filter-wrap {
  position: relative;
}

.filter-menu {
  position: absolute;
  top: 48px;
  left: 0;
  z-index: 20;
  width: 188px;
  display: grid;
  gap: 2px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.filter-option {
  height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  text-align: left;
  font-weight: 400;
}

.filter-option:hover,
.filter-option.active {
  background: var(--soft-blue);
  color: var(--blue-dark);
}

.time-select {
  min-width: 118px;
  padding: 0 34px 0 13px;
}

.time-select,
.modal-grid select {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
}

.checkbox-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  white-space: nowrap;
}

.checkbox-control input {
  width: 17px;
  height: 17px;
  accent-color: var(--blue);
}

.primary-button {
  min-width: 164px;
  margin-left: auto;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 22px rgba(22, 119, 255, 0.14);
}

.primary-button svg {
  width: 17px;
  height: 17px;
  stroke-width: 2;
}

.primary-button:hover {
  background: var(--blue-dark);
}

.primary-button:disabled,
.primary-button:disabled:hover {
  border-color: #cfe0f8;
  background: #d9e8fb;
  color: #7c8da5;
  box-shadow: none;
  cursor: not-allowed;
}

.project-mode-tabs {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.project-mode-tab {
  position: relative;
  height: 42px;
  display: inline-flex;
  align-items: center;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0 2px;
}

.project-mode-tab span {
  color: inherit;
  font-size: 14px;
  font-weight: 500;
}

.project-mode-tab:hover {
  color: var(--text);
}

.project-mode-tab-disabled {
  display: inline-flex;
  cursor: not-allowed;
}

.project-mode-tab:disabled {
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.55;
  pointer-events: none;
}

.project-mode-tab:disabled:hover {
  color: var(--muted);
}

.project-mode-tab.active {
  color: var(--blue-dark);
}

.project-mode-tab.active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: var(--blue);
  content: "";
}

.workspace-storage-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: -4px 0 18px;
  padding: 12px 14px;
  border: 1px solid #f0c6c2;
  border-radius: 8px;
  background: #fff6f5;
  color: #8d211a;
}

.workspace-storage-alert[hidden] {
  display: none;
}

.workspace-storage-alert svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 1px;
}

.workspace-storage-alert div {
  display: grid;
  gap: 3px;
}

.workspace-storage-alert strong {
  font-size: 12px;
}

.workspace-storage-alert span {
  color: #8a4a45;
  font-size: 11px;
  line-height: 1.45;
}

.project-table {
  overflow: visible;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.project-table-head,
.project-row {
  display: grid;
  grid-template-columns:
    minmax(260px, 1.8fr)
    minmax(74px, 0.55fr)
    minmax(92px, 0.65fr)
    minmax(132px, 0.9fr)
    minmax(76px, 0.52fr)
    minmax(90px, 0.65fr)
    minmax(68px, 0.48fr)
    30px;
  align-items: center;
  column-gap: 12px;
  padding-inline: 18px;
}

.project-table.stream-mode .project-table-head,
.project-table.stream-mode .project-row {
  grid-template-columns:
    minmax(380px, 2fr) minmax(170px, 0.9fr) minmax(210px, 1.15fr)
    minmax(130px, 0.75fr) minmax(110px, 0.7fr) 34px;
  column-gap: 20px;
}

.project-table-head {
  height: 42px;
  color: var(--faint);
  font-size: 11px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.project-list {
  display: grid;
}

.project-row {
  min-height: 96px;
  padding-block: 16px;
  border-top: 1px solid var(--border);
  background: var(--panel);
}

.project-table-head > *,
.project-row > * {
  min-width: 0;
  justify-self: start;
}

.project-row:hover {
  background: #fbfdff;
}

.project-row:not(.discovery-project-row):hover {
  background: var(--panel);
}

.project-loading-row {
  pointer-events: none;
}

.project-loading-copy {
  width: 100%;
  display: grid;
  gap: 10px;
}

.project-loading-block {
  width: var(--loading-width, 72%);
  height: 12px;
  display: block;
  border-radius: 4px;
  background: #e8edf4;
  animation: progressive-skeleton-pulse 1.25s ease-in-out infinite;
}

.project-loading-block.title {
  height: 14px;
}

.project-loading-block.scope {
  height: 10px;
}

.project-loading-block.compact,
.project-loading-block.metric {
  width: 54px;
}

.project-loading-block.status {
  width: 82px;
  height: 26px;
  border-radius: 999px;
}

.project-loading-block.date {
  width: 76px;
}

.project-loading-block.owner {
  width: 66px;
}

.project-main {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.project-open-button {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.project-open-button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 5px;
}

.project-row.is-opening {
  cursor: progress;
  background: #f7faff;
}

.project-row.is-opening .project-open-button {
  pointer-events: none;
}

.project-copy {
  min-width: 0;
  max-width: 100%;
}

.project-name {
  display: block;
  overflow: hidden;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-access-label {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #edf5ff;
  color: #2f68ad;
  font-size: 9px;
  font-weight: 650;
  line-height: 1.4;
  vertical-align: 2px;
}

.project-access-label.admin {
  background: #f3efff;
  color: #6848a8;
}

.project-scope {
  display: block;
  margin-top: 6px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stream-row {
  min-height: 108px;
}

.stream-main {
  max-width: 100%;
}

.stream-metric {
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.pending-progress {
  width: min(150px, 100%);
  display: grid;
  gap: 7px;
}

.pending-progress-copy {
  display: flex;
  align-items: baseline;
  gap: 5px;
  white-space: nowrap;
}

.pending-progress-copy strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.pending-progress-copy small {
  color: var(--muted);
  font-size: 10px;
}

.pending-progress-track {
  width: 100%;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8edf4;
}

.pending-progress-track i {
  width: var(--progress);
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--blue);
}

.entity-cell {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #526174;
  font-size: 12px;
  white-space: nowrap;
}

.entity-cell svg {
  width: 15px;
  height: 15px;
  color: #718198;
  stroke-width: 1.8;
}

.status-pill {
  justify-self: start;
  width: fit-content;
  min-width: 82px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.status-pill > span {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: currentColor;
}

.status-pill.running {
  background: #e9f3ff;
  color: #1769c2;
}

.status-pill.processing {
  background: #eef4ff;
  color: #3b5ccc;
}

.status-pill.needs_attention {
  background: #fff1ed;
  color: #b54708;
}

.status-pill.review {
  background: #f1ebff;
  color: #6e45c7;
}

.status-pill.finished {
  background: #eef1f5;
  color: #667085;
}

.status-pill.completed {
  background: #e8f7ef;
  color: #157347;
}

.status-pill.completed > span {
  background: #22a06b;
}

.status-pill.system {
  background: #eef7fb;
  color: #26758a;
}

.status-pill.failed {
  background: #fef3f2;
  color: #b42318;
}

.owner-cell,
.date-cell,
.conversion-cell {
  color: var(--muted);
  white-space: nowrap;
}

.opportunity-cell {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  width: 100%;
}

.opportunity-cell strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 650;
}

.opportunity-cell small {
  font-size: 11px;
  white-space: nowrap;
}

.lead-marker {
  min-width: 34px;
  height: 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 7px;
  border-radius: 6px;
  background: #eef6ff;
  color: var(--blue-dark);
  font-size: 11px !important;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  cursor: help;
}

.lead-marker img,
.lead-marker svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.lead-marker img {
  object-fit: contain;
  mix-blend-mode: multiply;
}

.lead-marker svg {
  stroke-width: 1.9;
  color: var(--blue);
}

.conversion-cell {
  justify-self: start;
  width: 100%;
  max-width: 150px;
  display: flex;
}

.conversion-summary {
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
  gap: 4px;
}

.conversion-summary strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 650;
}

.conversion-summary small {
  color: var(--muted);
  font-size: 11px;
}

.owner-cell {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 8px;
  max-width: 100%;
}

.date-cell {
  justify-self: start;
}

.owner-avatar {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #edf2f8;
  color: #526174;
  font-size: 11px;
  font-weight: 600;
}

.owner-avatar-stack {
  display: inline-flex;
  flex: 0 0 auto;
}

.owner-avatar-stack .owner-avatar + .owner-avatar {
  margin-left: -7px;
  border: 2px solid var(--panel);
}

.owner-names {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.more-wrap {
  position: relative;
  display: inline-flex;
  justify-content: flex-end;
}

.more-button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-size: 18px;
  line-height: 1;
}

.more-button:hover,
.more-button[aria-expanded="true"] {
  background: var(--soft);
}

.more-menu {
  position: absolute;
  right: 0;
  top: 38px;
  z-index: 20;
  min-width: 154px;
  display: none;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.more-menu.open {
  display: grid;
}

.more-menu button {
  height: 32px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  text-align: left;
  font-weight: 400;
}

.more-menu button:hover {
  background: var(--soft);
}

.more-menu .danger-menu-item {
  color: var(--danger, #c72c24);
}

.more-menu .danger-menu-item:hover {
  background: #fff1f0;
}

.empty-state {
  display: grid;
  place-items: center;
  gap: 4px;
  margin-top: 14px;
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
  color: var(--muted);
}

.empty-state strong {
  color: var(--text);
  font-weight: 650;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(23, 31, 43, 0.42);
}

.modal {
  position: relative;
  width: min(720px, 100%);
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 28px 70px rgba(9, 14, 24, 0.24);
}

.close-modal {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  padding: 0;
  font-size: 22px;
}

.modal-header {
  margin-bottom: 20px;
  padding-right: 42px;
}

.modal-header h2 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 650;
}

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

.refresh-modal {
  width: min(680px, 100%);
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.refresh-modal form,
.refresh-mode-options,
.refresh-field-section,
.refresh-scope-section {
  display: grid;
  gap: 12px;
}

.refresh-mode-options,
.refresh-field-section,
.refresh-scope-section {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.refresh-mode-options legend,
.refresh-field-section legend,
.refresh-scope-section legend {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
}

.refresh-mode-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
  cursor: pointer;
}

.refresh-mode-card:has(input:checked) {
  border-color: var(--blue);
  background: var(--soft-blue);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--blue) 20%, transparent);
}

.refresh-mode-card input,
.refresh-scope-section input,
.refresh-field-option input {
  margin: 3px 0 0;
  accent-color: var(--blue);
}

.refresh-mode-card > span,
.refresh-scope-section label > span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.refresh-mode-card strong {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--text);
  font-size: 14px;
}

.refresh-mode-card strong small {
  padding: 2px 7px;
  border-radius: 999px;
  background: #e7f1ff;
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 650;
}

.refresh-mode-card > span > span,
.refresh-scope-section small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.refresh-field-section,
.refresh-scope-section {
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.refresh-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
}

.refresh-field-option,
.refresh-scope-section label {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
}

.refresh-field-option span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.refresh-form-error {
  margin: 0;
  color: #b42318;
  font-size: 12px;
}

.refresh-safety-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  margin-top: 4px;
  padding: 12px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.refresh-safety-note svg {
  width: 16px;
  height: 16px;
  color: var(--blue);
}

.refresh-actions {
  justify-content: flex-end;
  margin-top: 4px;
}

@media (max-width: 640px) {
  .refresh-field-grid {
    grid-template-columns: 1fr;
  }
}

.prompt-box,
.modal-grid label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 400;
}

.prompt-box label,
.modal-grid label {
  color: var(--muted);
  font-size: 13px;
}

textarea {
  width: 100%;
  min-height: 108px;
  resize: vertical;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  outline: none;
}

textarea:focus,
input:focus,
select:focus {
  border-color: #91bfff;
  box-shadow: 0 0 0 3px rgba(31, 111, 229, 0.12);
}

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

.modal-grid select {
  height: 40px;
  padding: 0 32px 0 12px;
  font-weight: 400;
}

.generated-preview {
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--soft);
}

.generated-preview h3 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 650;
}

.generated-preview ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.project-members-modal {
  width: min(620px, 100%);
}

.project-members-owner {
  display: block;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--soft);
}

.project-member-field {
  display: grid;
  gap: 7px;
  width: 100%;
  color: var(--text);
  font-size: 12px;
  font-weight: 650;
}

.project-member-field select {
  width: 100%;
  min-height: 42px;
  padding: 0 36px 0 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-weight: 500;
}

.project-member-add-field {
  padding: 14px;
  border-top: 1px solid var(--border);
}

.project-members-owner > .project-member-field {
  margin-top: 12px;
}

.project-members-owner strong,
.project-member-copy strong {
  display: block;
  font-size: 13px;
}

.project-members-owner span,
.project-member-copy span,
.project-members-empty,
.project-members-status {
  color: var(--muted);
  font-size: 12px;
}

.project-members-status {
  min-height: 20px;
  margin-bottom: 8px;
}

.project-members-status.is-error {
  color: #b42318;
}

.project-members-list {
  max-height: min(420px, 48vh);
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.project-member-selected-list {
  display: grid;
}

.project-member-selected {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}

.project-member-selected:last-child {
  border-bottom: 0;
}

.project-member-selected button {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 7px;
  background: #f1f4f8;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
}

.project-member-selected button:hover {
  background: #e7edf5;
  color: var(--text);
}

.project-member-selected button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.project-member-option {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-height: 58px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}

.project-member-option:last-child {
  border-bottom: 0;
}

.project-member-option:hover {
  background: #f8fbff;
}

.project-member-option input {
  width: 16px;
  height: 16px;
}

.project-member-role {
  padding: 3px 7px;
  border-radius: 999px;
  background: #f0f5fb;
  color: #60738a;
  font-size: 10px;
  text-transform: capitalize;
}

.project-members-empty {
  padding: 24px;
  text-align: center;
}

.project-members-actions[hidden],
.project-members-backdrop[hidden] {
  display: none;
}

@media (max-width: 1180px) {
  .workspace {
    width: calc(100% - 36px);
  }

  .insight-filter-grid {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
  }

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

  .market-metric:nth-child(4) {
    border-left: 0;
  }

  .insight-dashboard-grid,
  .characteristics-grid {
    grid-template-columns: 1fr;
  }

  .project-table {
    overflow-x: auto;
  }

  .project-table-head,
  .project-row {
    min-width: 1000px;
  }
}

@media (max-width: 920px) {
  .sidebar {
    width: 58px;
    flex-basis: 58px;
    padding-inline: 7px;
  }

  .sidebar-header {
    justify-content: center;
    padding: 0;
  }

  .brand-logo,
  .nav-item span,
  .profile-copy,
  .profile-logout {
    display: none;
  }

  .brand-mark {
    display: inline-flex;
  }

  .sidebar-collapse {
    display: none;
  }

  .nav-item {
    width: 36px;
    justify-content: center;
    padding: 0;
  }

  .main-nav {
    justify-items: center;
  }

  .sidebar-profile {
    justify-content: center;
    padding-inline: 0;
  }

}

@media (max-width: 820px) {
  .workspace {
    width: calc(100% - 28px);
    padding-top: 22px;
  }

  .filter-primary-row,
  .distribution-layout {
    grid-template-columns: 1fr;
  }

  .insight-filter-grid {
    grid-template-columns: 1fr;
  }

  .insight-search-button {
    width: 100%;
  }

  .market-metric-grid {
    grid-template-columns: 1fr;
  }

  .market-metric,
  .market-metric:nth-child(4) {
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .market-metric:first-child {
    border-top: 0;
  }

  .insight-section-heading,
  .insight-section-heading.compact {
    display: grid;
  }

  .segmented-control {
    width: 100%;
  }

  .segmented-control button {
    flex: 1;
  }

  .rank-row {
    grid-template-columns: minmax(0, 1fr) 70px 38px;
  }

  .toolbar {
    flex-wrap: wrap;
  }

  .search-control {
    width: 100%;
  }

  .primary-button {
    width: 100%;
    margin-left: 0;
  }

  .project-mode-tabs {
    gap: 22px;
  }

  .project-mode-tab {
    min-width: 0;
  }

  .project-table-head {
    display: none;
  }

  .project-table {
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .project-row {
    position: relative;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
    margin-bottom: 10px;
    padding: 18px 50px 18px 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .project-table.stream-mode .project-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-main,
  .entity-cell,
  .status-pill,
  .stream-main {
    grid-column: 1 / -1;
  }

  .entity-cell::before {
    content: "Entity";
    margin-right: 6px;
    color: var(--faint);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
  }

  .project-scope {
    -webkit-line-clamp: 3;
  }

  .opportunity-cell::before,
  .conversion-cell::before,
  .pending-progress::before,
  .date-cell::before,
  .owner-cell::before {
    display: block;
    margin-bottom: 4px;
    color: var(--faint);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
  }

  .opportunity-cell::before {
    content: "Leads";
  }

  .conversion-cell::before {
    content: "Outreach";
  }

  .pending-progress::before {
    display: block;
  }

  .pending-progress::before {
    content: "Follow-up Progress";
  }

  .stream-metric,
  .pending-progress {
    display: grid;
    gap: 4px;
  }

  .date-cell::before {
    content: "Last updated";
  }

  .owner-cell::before {
    content: "Owner";
  }

  .owner-cell {
    display: grid;
    grid-template-columns: 26px auto;
    justify-content: start;
  }

  .owner-cell::before {
    grid-column: 1 / -1;
  }

  .more-wrap {
    position: absolute;
    top: 12px;
    right: 10px;
  }
}

/* Lead Discovery detail workspace */
.discovery-project-row {
  cursor: pointer;
}

.discovery-project-row:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}

.project-detail-page {
  width: min(1480px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 42px;
}

.detail-breadcrumbs,
.back-to-projects {
  display: inline-flex;
  align-items: center;
}

.detail-breadcrumbs {
  gap: 8px;
  margin-bottom: 14px;
  color: var(--faint);
  font-size: 12px;
}

.back-to-projects {
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
}

.back-to-projects:hover {
  color: var(--blue-dark);
}

.back-to-projects svg {
  width: 15px;
  height: 15px;
}

.detail-project-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.detail-project-copy {
  min-width: 0;
}

.drawer-eyebrow {
  color: var(--blue-dark);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-project-copy h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: 0;
}

.detail-project-copy p {
  max-width: 900px;
  margin: 5px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-project-copy h2 {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.detail-project-copy h2.is-renaming {
  width: min(100%, 760px);
}

.detail-project-name-input {
  min-width: 280px;
  width: min(100%, 720px);
  padding: 2px 6px;
  border: 1px solid #9aa9bc;
  border-radius: 4px;
  outline: 2px solid rgba(62, 128, 230, 0.18);
  background: #fff;
  color: #26364a;
  font: inherit;
  font-weight: 650;
  letter-spacing: inherit;
}

.detail-project-rename-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #8a96a8;
  cursor: pointer;
}

.detail-project-rename-icon:hover,
.detail-project-rename-icon:focus-visible {
  background: #eef2f7;
  color: #58677b;
}

.detail-project-rename-icon svg {
  width: 14px;
  height: 14px;
}

.detail-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.detail-access-badge {
  padding: 5px 8px;
  border-radius: 999px;
  background: #f0f5fb;
  color: #53677f;
  font-size: 11px;
  font-weight: 600;
}

.detail-apn-connect-button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 11px;
  border: 1px solid #f2b675;
  border-radius: 7px;
  background: #fff7ed;
  color: #b54708;
  font-size: 11px;
  font-weight: 650;
}

.detail-apn-connect-button:hover {
  border-color: #e59a45;
  background: #ffedd5;
}

.detail-apn-connect-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.detail-icon-button {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--panel);
  color: var(--muted);
}

.detail-icon-button:hover {
  border-color: #bdd7fa;
  color: var(--blue-dark);
}

.detail-icon-button.is-stop-action,
.detail-icon-button.is-stop-action:hover {
  border-color: #efb7b2;
  background: #fff8f7;
  color: #b42318;
}

.detail-icon-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.detail-icon-button.is-loading svg {
  animation: login-spin 900ms linear infinite;
}

.detail-icon-button svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.8;
}

.project-history-list {
  padding: 0;
}

.project-history-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.project-history-item:last-child {
  border-bottom: 0;
}

.project-history-item > span {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #eef6ff;
  color: var(--blue-dark);
}

.project-history-item svg {
  width: 15px;
  height: 15px;
}

.project-history-item div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.project-history-item strong {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.project-history-item small,
.project-history-item time {
  color: var(--muted);
  font-size: 11px;
}

.detail-entity-tabs {
  display: flex;
  gap: 24px;
  margin-top: 18px;
  border-bottom: 1px solid var(--border);
}

.detail-entity-tab {
  position: relative;
  height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 500;
}

.detail-entity-tab svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.8;
}

.detail-entity-tab > span {
  min-width: 22px;
  height: 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border-radius: 999px;
  background: #eef2f7;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}

.detail-entity-tab.active {
  color: var(--blue-dark);
}

.detail-entity-tab.active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--blue);
  content: "";
}

.detail-entity-tab.planned:not(.active) {
  color: #8591a3;
}

.company-workspace {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 34px rgba(31, 43, 65, 0.06);
}

.company-toolbar {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--border);
}

.company-toolbar .detail-search-control {
  order: initial;
}

.detail-search-control {
  width: min(284px, 27vw);
  height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--faint);
}

.detail-search-control svg {
  width: 15px;
  height: 15px;
}

.detail-search-control input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 12px;
}

.detail-text-button,
.detail-primary-button {
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 11px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 500;
}

.detail-text-button {
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
}

.detail-text-button:hover {
  background: var(--soft);
}

.detail-text-button[aria-pressed="true"] {
  border-color: #b9d6fb;
  background: #eaf3ff;
  color: var(--blue-dark);
}

.detail-text-button.is-stop-action,
.detail-text-button.is-stop-action[aria-pressed="true"] {
  border-color: #efb7b2;
  background: #fff8f7;
  color: #b42318;
}

.detail-text-button.is-stop-action:hover,
.detail-text-button.is-stop-action[aria-pressed="true"]:hover {
  border-color: #e38c84;
  background: #fff0ee;
}

.detail-text-button.is-stop-action:disabled {
  border-color: #efcbc7;
  background: #fff8f7;
  color: #a14b43;
}

.toolbar-count {
  min-width: 17px;
  height: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border-radius: 9px;
  background: #eef1f5;
  color: #657286;
  font-size: 9px;
}

.detail-text-button[aria-pressed="true"] .toolbar-count {
  background: #fff;
  color: var(--blue-dark);
}

.detail-marker-button {
  min-width: 46px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 7px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--blue-dark);
}

.detail-marker-button:hover {
  background: #f3f8ff;
}

.detail-marker-button[aria-pressed="true"] {
  border-color: transparent;
  background: #eef6ff;
}

.detail-marker-button img {
  width: 19px;
  height: 19px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.detail-marker-button svg {
  width: 16px;
  height: 16px;
}

.detail-marker-button.priority {
  color: var(--blue);
}

.detail-marker-button .toolbar-count,
.detail-marker-button[aria-pressed="true"] .toolbar-count {
  background: #eef6ff;
  color: var(--blue-dark);
}

.detail-marker-button:disabled {
  cursor: default;
  opacity: 0.55;
}

.detail-marker-button:disabled:hover {
  background: transparent;
}

.detail-text-button:disabled {
  cursor: default;
  color: var(--faint);
}

.detail-primary-button {
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
}

.detail-primary-button:hover {
  background: var(--blue-dark);
}

.detail-text-button svg,
.detail-primary-button svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.8;
}

.detail-text-button.is-loading svg {
  animation: spin 0.8s linear infinite;
}

.detail-primary-button.is-loading svg,
.enrichment-cell-status.is-running svg,
.enrichment-heading.is-running svg {
  animation: spin 0.8s linear infinite;
}

.detail-primary-button.is-stop {
  background: #fff;
  border-color: #d92d20;
  color: #b42318;
}

.detail-primary-button.is-stop:hover {
  background: #fff4f2;
}

.detail-primary-button:disabled {
  cursor: default;
  opacity: 0.55;
}

.enrichment-cell-status,
.enrichment-result-value,
.enrichment-result-link {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  color: #4d596b;
  font-size: 11px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
  min-width: 0;
}

.enrichment-cell-status svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.enrichment-cell-status.is-running {
  color: var(--blue);
}

.enrichment-cell-status.is-cancelled,
.enrichment-cell-status.is-ready {
  color: var(--muted);
}

.enrichment-cell-status.is-failed {
  color: #b42318;
}

.enrichment-result-link {
  color: var(--blue);
  text-decoration: none;
}

.enrichment-result-link:hover {
  text-decoration: underline;
}

.funding-history-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  scrollbar-gutter: stable;
}

.funding-history-table-scroll:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.funding-history-table {
  width: 100%;
  min-width: 690px;
  border-collapse: collapse;
  color: var(--text);
  font-size: 10px;
  line-height: 1.4;
}

.funding-history-table th,
.funding-history-table td {
  padding: 9px 10px;
  border-right: 1px solid #e8edf3;
  border-bottom: 1px solid #e8edf3;
  text-align: left;
  vertical-align: top;
}

.funding-history-table th:last-child,
.funding-history-table td:last-child {
  border-right: 0;
}

.funding-history-table tbody tr:last-child td {
  border-bottom: 0;
}

.funding-history-table th {
  background: var(--soft);
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  white-space: nowrap;
}

.funding-history-table th:nth-child(1) { min-width: 120px; }
.funding-history-table th:nth-child(2) { min-width: 125px; }
.funding-history-table th:nth-child(3) { min-width: 110px; }
.funding-history-table th:nth-child(4) { min-width: 240px; }
.funding-history-table th:nth-child(5) { min-width: 75px; }

.funding-history-table td strong {
  font-weight: 600;
}

.funding-history-table a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--blue-dark);
  font-size: 10px;
  text-decoration: none;
  white-space: nowrap;
}

.funding-history-table a:hover {
  text-decoration: underline;
}

.funding-history-table a svg {
  width: 12px;
  height: 12px;
}

.funding-source-unavailable {
  color: var(--faint);
}

.toolbar-spacer {
  flex: 1;
}

.results-context-bar {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 14px;
  border-bottom: 1px solid var(--border);
  background: #fbfdff;
}

.results-context-bar > div {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.results-context-bar strong {
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.results-context-bar span {
  color: var(--muted);
  font-size: 11px;
}

.live-search-progress[hidden] {
  display: none;
}

.results-context-bar > .live-search-progress {
  width: min(330px, 42%);
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  grid-template-rows: auto 3px;
  align-items: center;
  column-gap: 9px;
  row-gap: 5px;
}

.live-search-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  animation: live-search-pulse 1.2s ease-in-out infinite;
}

.live-search-copy {
  min-width: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.live-search-copy strong,
.live-search-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-search-track {
  grid-column: 2;
  height: 3px;
  overflow: hidden;
  border-radius: 2px;
  background: #e7edf5;
}

.live-search-track > span {
  display: block;
  width: 6%;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
  transition: width 240ms ease;
}

.company-table-shell {
  max-height: calc(100vh - 285px);
  min-height: 460px;
  overflow: auto;
}

.company-results-table {
  --flag-column-width: 47px;
  --company-data-column-width: 200px;
  width: max-content;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 11px;
}

.company-results-table th,
.company-results-table td {
  min-width: 0;
  padding: 9px 10px;
  border-right: 1px solid #e8edf3;
  border-bottom: 1px solid #e8edf3;
  color: #4d596b;
  text-align: left;
  vertical-align: middle;
}

.company-results-table td,
.company-results-table .enrichment-result-value,
.company-results-table .table-value,
.company-results-table .field-status-value,
.company-results-table .enrichment-cell-status {
  font-weight: 400;
}

.company-results-table th {
  position: sticky;
  top: 0;
  z-index: 3;
  height: 38px;
  background: #f7f9fc;
  color: #697588;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.column-name-tooltip-trigger {
  cursor: help;
}

.column-name-tooltip-trigger:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}

.table-value-tooltip-trigger {
  cursor: help;
}

.table-value-tooltip-trigger:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.column-heading-content {
  min-width: 0;
  max-width: 100%;
  display: flex;
  align-items: center;
}

.column-heading-label {
  min-width: 0;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.column-heading-progress {
  flex: 0 0 auto;
}

.company-results-table tbody tr:hover td {
  background: #fbfdff;
}

.progressive-result-row td {
  animation: progressive-row-enter 240ms ease-out both;
}

.progressive-skeleton-row td {
  height: 54px;
  background: var(--panel);
}

.progressive-skeleton-row:hover td {
  background: var(--panel) !important;
}

.detail-hydration-row td {
  padding: 18px 20px 8px;
  border-bottom: 0;
  background: var(--panel);
}

.detail-hydration-message {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.detail-hydration-message svg {
  width: 15px;
  height: 15px;
  animation: spin 0.9s linear infinite;
}

.detail-load-error-row td {
  padding: 18px 20px;
  background: #fffaf7;
}

.detail-load-error {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #7c3e21;
  font-size: 12px;
}

.detail-load-error button {
  flex: 0 0 auto;
  border: 1px solid #efb28e;
  border-radius: 7px;
  padding: 7px 12px;
  color: #8b3f1f;
  background: #fff;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.detail-load-error button:hover {
  background: #fff3eb;
}

.progressive-skeleton-block {
  display: block;
  width: var(--skeleton-width, 52%);
  max-width: 150px;
  height: 9px;
  border-radius: 3px;
  background: #e8edf4;
  animation: progressive-skeleton-pulse 1.25s ease-in-out infinite;
}

.progressive-skeleton-block.compact {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}

.pending-table-value {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8a96a8;
  font-size: 10px;
  white-space: nowrap;
}

.pending-table-value > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #aeb7c4;
  animation: live-search-pulse 1.2s ease-in-out infinite;
}

@keyframes live-search-pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

@keyframes progressive-skeleton-pulse {
  0%, 100% { opacity: 0.48; }
  50% { opacity: 0.92; }
}

@keyframes progressive-row-enter {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.company-results-table .person-data-row td {
  height: 54px;
  max-height: 54px;
  overflow: hidden;
}

.company-column,
.company-name-cell {
  width: 320px;
  min-width: 320px;
  max-width: 320px;
}
.job-title-column,
.job-title-cell {
  width: 387px;
  min-width: 387px;
  max-width: 387px;
}

.job-results-table th.job-title-column,
.job-results-table td.job-title-cell {
  left: 0;
  overflow: hidden;
}

.job-results-table td.column-company {
  position: static;
  left: auto;
  z-index: auto;
}

.job-results-table th.column-company {
  left: auto;
}
.person-name-column,
.person-name-cell { width: 300px; }
.column-linkedin { width: 120px; }
.column-linkedinPeople {
  width: 220px;
  min-width: 220px;
  max-width: 220px;
}
.column-linkedinInsight { width: 165px; }
.column-website { width: 165px; }
.column-product { width: 360px; }
.column-founded { width: 105px; }
.column-size { width: 180px; }
.column-eventLocation { width: 285px; }
.column-eventPhone { width: 145px; }
.column-exhibitorUrls { width: 130px; }
.column-localOffice,
.column-localEntity { width: 220px; }
.column-localTeam { width: 145px; }
.column-localFounded { width: 150px; }
.column-localRegisteredLocation { width: 220px; }
.column-contacts { width: 250px; }
.column-jobPostings { width: 150px; }
.column-activeHiring {
  width: 240px;
  min-width: 240px;
  max-width: 240px;
  overflow: hidden;
}
.column-intelligenceBundle {
  width: 220px;
  min-width: 220px;
  max-width: 220px;
  overflow: hidden;
}
.column-activeHiring .enrichment-result-value,
.column-activeHiring .active-hiring-table-summary {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.company-results-table:not(.job-results-table) .column-website,
.company-results-table:not(.job-results-table) .column-location,
.company-results-table:not(.job-results-table) .column-industry,
.company-results-table:not(.job-results-table) .column-product,
.company-results-table:not(.job-results-table) .column-eventLocation,
.company-results-table:not(.job-results-table) .column-localEntity,
.company-results-table:not(.job-results-table) .column-localOffice,
.company-results-table:not(.job-results-table) .column-localTeam,
.company-results-table:not(.job-results-table) .column-localRegisteredLocation,
.company-results-table:not(.job-results-table) .column-contacts,
.company-results-table:not(.job-results-table) .column-contactLabels {
  width: var(--company-data-column-width);
  min-width: var(--company-data-column-width);
  max-width: var(--company-data-column-width);
}

.column-company { width: 280px; }
.column-userLabels { width: 210px; }
.column-description { width: 260px; }
.column-function { width: 170px; }
.column-location { width: 230px; }
.column-employmentType { width: 175px; }
.column-postingDate { width: 125px; }
.column-language { width: 260px; }
.column-sourceLink { width: 105px; }
.column-status { width: 120px; }
.column-contactName { width: 165px; }
.column-contactTitle { width: 220px; }
.column-email { width: 220px; }
.column-phone { width: 150px; }
.column-currentCompany { width: 210px; }
.column-jobTitle { width: 280px; }
.column-contact { width: 230px; }
.column-languages { width: 170px; }
.column-bdSignal { width: 300px; }
.column-sourceType { width: 120px; }
.column-recordStatus { width: 170px; }
.column-custom { width: 160px; }

.flag-column {
  width: var(--flag-column-width);
  min-width: var(--flag-column-width) !important;
  max-width: var(--flag-column-width);
  text-align: center !important;
}

.company-results-table th.flag-column,
.company-results-table td.flag-column {
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--panel);
}

.company-results-table td.flag-column {
  padding: 0;
}

.company-results-table td.review-action-cell {
  cursor: pointer;
}

.company-results-table td.review-action-cell:hover,
.company-results-table td.review-action-cell:focus-visible {
  background: #f5f9ff;
  outline: none;
}

.company-results-table td.review-action-cell > .company-flag-button {
  width: 30px;
  min-height: 30px;
  margin: 0 auto;
  border-radius: 6px;
}

.company-results-table th.flag-column {
  z-index: 5;
  background: #f7f9fc;
}

.company-results-table th.company-column,
.company-results-table td.company-name-cell {
  position: sticky;
  left: var(--flag-column-width);
  z-index: 2;
  background: var(--panel);
  box-shadow: 1px 0 0 #e8edf3, 8px 0 15px rgba(31, 43, 65, 0.025);
}

.company-results-table th.company-column {
  z-index: 5;
  background: #f7f9fc;
}

.company-results-table.job-results-table th.job-title-column {
  left: 0;
  z-index: 7;
  isolation: isolate;
  background: #f7f9fc;
}

.company-results-table.job-results-table td.job-title-cell {
  left: 0;
  z-index: 4;
  isolation: isolate;
  background: var(--panel);
}

.company-results-table.job-results-table td.column-company {
  isolation: isolate;
  overflow: hidden;
}

.flag-column > svg {
  width: 13px;
  height: 13px;
  color: #8b96a7;
}

.company-flag-button {
  width: 100%;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #9aa5b5;
}

.company-flag-button:hover {
  background: #eef5ff;
  color: var(--blue-dark);
}

.company-flag-button.flagged {
  color: var(--blue);
}

.company-flag-button.flagged svg {
  fill: currentColor;
}

.company-flag-button svg {
  width: 15px;
  height: 15px;
}

.company-cell-layout {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
}

.company-profile-trigger {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.job-profile-trigger {
  width: 100%;
  min-width: 0;
  display: block;
  align-items: center;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.job-profile-trigger > span {
  width: 100%;
  min-width: 0;
  display: block;
  overflow: hidden;
}

.job-title-cell-layout {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  overflow: hidden;
}

.job-title-cell-layout > .job-review-action-area {
  flex: 0 0 44px;
  min-height: 38px;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  cursor: pointer;
}

.job-title-cell-layout > .job-review-action-area:hover,
.job-title-cell-layout > .job-review-action-area:focus-visible {
  background: #f5f9ff;
  outline: none;
}

.job-review-action-area > .company-flag-button {
  width: 30px;
  min-height: 30px;
  border-radius: 6px;
}

.job-title-cell-layout > .job-profile-trigger {
  flex: 1 1 auto;
}

.job-profile-trigger small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.job-company-trigger {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.job-company-trigger > span:last-child {
  min-width: 0;
}

.person-profile-trigger {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.person-profile-trigger:hover strong,
.person-profile-trigger:focus-visible strong {
  color: var(--blue-dark);
}

.person-profile-trigger > span:last-child {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.job-company-trigger strong {
  display: block;
  overflow: hidden;
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.job-source-icon-link {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: var(--soft-blue);
  color: var(--blue-dark);
  text-decoration: none;
}

.job-source-icon-link:hover,
.job-source-icon-link:focus-visible {
  background: #dcebff;
  outline: none;
}

.company-profile-trigger > span:last-child {
  min-width: 0;
  overflow: hidden;
}

.company-name-line {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.company-name-line > strong {
  min-width: 0;
}

.entity-tag-markers {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.entity-marker {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.entity-marker-link {
  display: inline-flex;
  color: inherit;
  text-decoration: none;
}

.entity-marker.apn {
  background: #eaf7fc;
}

.entity-marker.apn img {
  width: 13px;
  height: 13px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.entity-marker.crm {
  background: #eef1f5;
  color: #526174;
}

.entity-marker.cross-project-history {
  background: #eef1f5;
  color: #64748b;
}

.entity-marker.cross-project-history.is-reached {
  background: #eaf4ff;
  color: #2563eb;
}

.entity-marker.cross-project-history svg {
  width: 12px;
  height: 12px;
}

.entity-marker.crm svg {
  width: 12px;
  height: 12px;
  stroke-width: 2;
}

.entity-marker.delivery {
  background: #eef4ff;
  color: #2f6fd6;
}

.entity-marker.insight {
  background: #eef4ff;
  color: #2f6fd6;
}

.entity-marker.insight.owned {
  background: #fff0e3;
  color: #db7a18;
}

.entity-marker.insight.company {
  background: #eef4ff;
  color: #2f6fd6;
}

.entity-marker.insight svg {
  width: 12px;
  height: 12px;
  stroke-width: 2;
}

.insight-evidence-trigger {
  cursor: pointer;
}

.insight-evidence-trigger:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.entity-marker.delivery svg {
  width: 12px;
  height: 12px;
  stroke-width: 2;
}

.company-contact-count {
  flex: 0 0 auto;
  padding: 2px 5px;
  border-radius: 4px;
  background: #edf5ff;
  color: var(--blue-dark);
  font-size: 8px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}

.company-name-cell strong,
.company-name-cell small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.company-name-cell strong {
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
}

.job-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #eaf3ff;
  color: var(--blue-dark);
}

.job-icon svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.9;
}

.job-icon.drawer {
  width: 42px;
  height: 42px;
}

.job-icon.drawer svg {
  width: 20px;
  height: 20px;
}

.company-name-cell small,
.cell-secondary {
  margin-top: 3px;
  color: var(--faint);
  font-size: 9px;
}

.person-avatar {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 50%;
  overflow: hidden;
  background: #eaf3ff;
  color: var(--blue-dark);
  font-size: 10px;
  font-weight: 600;
}

.person-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-summary-card .person-avatar {
  width: 42px;
  height: 42px;
  font-size: 13px;
}

.company-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 6px;
  overflow: hidden;
  background: #eaf3ff;
  color: var(--blue-dark);
  font-weight: 600;
}

.company-logo.table {
  width: 28px;
  height: 28px;
  font-size: 11px;
}

.company-logo.drawer {
  width: 42px;
  height: 42px;
  font-size: 14px;
}

.company-logo-image,
.company-logo-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.company-logo-image {
  z-index: 2;
  object-fit: contain;
  padding: 3px;
  background: #fff;
}

.company-logo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.company-logo.logo-error .company-logo-image {
  display: none;
}

.single-contact-summary {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.single-contact-summary:hover .contact-name-with-marker > strong {
  color: var(--blue-dark);
}

.contact-avatar {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #eaf3ff;
  color: var(--blue-dark);
  font-size: 10px;
  font-weight: 600;
}

.single-contact-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.single-contact-copy .contact-summary-heading,
.single-contact-copy > small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.single-contact-copy .contact-name-with-marker > strong {
  color: var(--text);
  font-size: 10px;
  font-weight: 500;
}

.contact-summary-heading {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.contact-summary-heading .contact-name-with-marker {
  flex: 1 1 auto;
  overflow: hidden;
}

.contact-candidate-count {
  min-width: 22px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0 6px;
  border-radius: 5px;
  background: #eaf3ff;
  color: var(--blue-dark);
  font-size: 9px;
  font-weight: 600;
}

.contact-name-with-marker {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.contact-name-with-marker > strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-name-with-marker .linkedin-icon-link {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.contact-name-with-marker .linkedin-icon-link img {
  width: 15px;
  height: 15px;
}

.contact-action-icons {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
}

.contact-action-icon {
  width: 18px;
  height: 18px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  position: relative;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--blue-dark);
  text-decoration: none;
  font: inherit;
  cursor: pointer;
}

.contact-action-icon:hover,
.contact-action-icon:focus-visible {
  background: #eaf3ff;
  outline: none;
}

.contact-action-icon svg {
  width: 14px;
  height: 14px;
}

.contact-outreach-button {
  width: 22px;
  height: 22px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--blue-dark);
  cursor: pointer;
}

.contact-outreach-button:hover,
.contact-outreach-button:focus-visible {
  background: #eaf3ff;
  outline: none;
}

.contact-outreach-button.is-generated {
  background: transparent;
  color: var(--blue);
}

.contact-outreach-button.is-generated svg {
  fill: currentColor;
}

.contact-outreach-button svg {
  width: 13px;
  height: 13px;
}

.contact-detail-trigger::after {
  content: attr(data-contact-detail-label) ": " attr(data-contact-detail-value);
  position: absolute;
  z-index: 30;
  top: calc(100% + 7px);
  left: 50%;
  max-width: min(320px, 72vw);
  padding: 7px 9px;
  border: 0;
  border-radius: 6px;
  background: rgba(17, 24, 39, 0.9);
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.2);
  color: #fff;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -3px);
  transition: opacity 120ms ease, transform 120ms ease, visibility 120ms ease;
  visibility: hidden;
  white-space: nowrap;
}

.contact-detail-trigger:hover::after,
.contact-detail-trigger:focus-visible::after,
.contact-detail-trigger.is-open::after {
  opacity: 1;
  transform: translate(-50%, 0);
  visibility: visible;
}

.drawer-contact-list.is-recommended:not(.is-expanded) {
  overflow-y: visible;
}

.contact-apn-marker-wrap,
.contact-apn-link {
  flex: 0 0 auto;
}

.contact-apn-marker {
  width: 17px;
  height: 17px;
}

.single-contact-copy > small {
  color: var(--faint);
  font-size: 9px;
}

.contact-method {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--blue-dark);
  font-size: 9px;
}

.contact-method > svg {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
}

.contact-method .source-link {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-method.unavailable {
  color: var(--faint);
}

.contact-empty-state {
  color: var(--faint);
  font-size: 9px;
  white-space: nowrap;
}

.pinned-contact-list {
  width: 100%;
  max-height: 104px;
  display: grid;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  overflow-y: auto;
  scrollbar-gutter: stable;
}

.pinned-contact-list:hover strong {
  color: var(--blue-dark);
}

.pinned-contact-row {
  min-width: 0;
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 6px;
  align-items: start;
  color: var(--blue-dark);
}

.pinned-contact-row > svg {
  width: 12px;
  height: 12px;
  margin-top: 3px;
  fill: currentColor;
}

.pinned-contact-row > span {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.pinned-contact-row strong,
.pinned-contact-row small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pinned-contact-row strong {
  color: var(--text);
  font-size: 9px;
  font-weight: 500;
}

.pinned-contact-row .contact-name-with-marker {
  display: flex;
}

.pinned-contact-row small,
.pinned-contact-row .contact-method {
  font-size: 8px;
}

.person-contact-cell {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.person-seniority-badge,
.person-source-badge,
.person-record-status {
  width: fit-content;
  min-height: 21px;
  display: inline-flex;
  align-items: center;
  padding: 0 7px;
  border-radius: 5px;
  font-size: 10px;
  white-space: nowrap;
}

.person-seniority-badge {
  background: #eef5ff;
  color: var(--blue-dark);
}

.person-source-badge.apn {
  background: #eaf7fc;
  color: #1480b4;
}

.person-source-badge.new {
  background: #eef5ff;
  color: var(--blue-dark);
}

.person-record-status {
  background: #f0f2f5;
  color: #697588;
}

.person-record-status.duplicate {
  background: #eef5ff;
  color: var(--blue-dark);
}

.table-value,
.empty-table-value {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.field-status-value {
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #a4adba;
  font-size: inherit;
  line-height: inherit;
  white-space: nowrap;
}

.field-status-unverified,
.field-status-source_unavailable {
  color: #8a5a13;
}

.field-status-retry_needed {
  color: #b54708;
}

.product-cell-trigger {
  width: 100%;
  min-width: 0;
  display: block;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.product-cell-trigger span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-cell-trigger:hover span,
.product-cell-trigger:focus-visible span {
  color: var(--blue-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.empty-table-value {
  color: #a4adba;
}

.has-review-tooltip {
  cursor: help;
  text-decoration: underline dotted rgba(84, 96, 112, 0.58);
  text-underline-offset: 3px;
}

.has-review-tooltip:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.review-tooltip {
  position: fixed;
  z-index: 220;
  width: max-content;
  max-width: min(520px, calc(100vw - 24px));
  max-height: min(460px, calc(100vh - 24px));
  overflow: auto;
  padding: 10px 12px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.84);
  color: #fff;
  box-shadow: 0 12px 28px rgba(20, 27, 39, 0.22);
  font-size: 12px;
  line-height: 1.48;
  white-space: pre-line;
  pointer-events: none;
}

.review-tooltip[hidden] {
  display: none;
}

.insight-evidence-popover {
  position: fixed;
  z-index: 230;
  width: min(520px, calc(100vw - 24px));
  max-height: min(620px, calc(100vh - 24px));
  overflow: auto;
  padding: 14px;
  border: 1px solid #d9e1ec;
  border-radius: 7px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(28, 43, 62, 0.18);
  color: var(--text);
}

.insight-evidence-popover[hidden] {
  display: none;
}

.insight-evidence-header {
  display: grid;
  gap: 3px;
}

.insight-evidence-header span,
.insight-evidence-label {
  color: #2f6fd6;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.3;
  text-transform: uppercase;
}

.insight-evidence-header strong {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
}

.insight-evidence-period {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.insight-evidence-section {
  display: grid;
  gap: 7px;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid #e9edf3;
}

.insight-reference-list {
  display: grid;
  gap: 8px;
}

.insight-reference-row {
  display: grid;
  gap: 6px;
  padding: 10px 0;
  border-bottom: 1px solid #eef1f5;
}

.insight-reference-row:first-child {
  padding-top: 0;
}

.insight-reference-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.insight-reference-customer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 7px;
}

.insight-reference-am {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
}

.insight-match-strength {
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.3;
}

.insight-match-strength.strong {
  background: #e7f6ed;
  color: #247a47;
}

.insight-match-strength.potential {
  background: #eef4ff;
  color: #2f6fd6;
}

.insight-reference-row a {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 5px;
  color: var(--blue-dark);
  font-size: 12px;
  line-height: 1.35;
  text-decoration: none;
}

.insight-reference-row a:hover strong,
.insight-reference-row a:focus-visible strong {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.insight-reference-row a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.insight-reference-row a svg {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  stroke-width: 2;
}

.insight-reference-row small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.insight-reference-explanation {
  margin: 2px 0 0;
  color: #3d4857;
  font-size: 11px;
  line-height: 1.48;
}

.insight-reference-detail {
  display: grid;
  gap: 3px;
  color: #526075;
  font-size: 11px;
  line-height: 1.42;
}

.insight-reference-detail > strong {
  color: #344054;
  font-size: 10px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.insight-evidence-items {
  display: grid;
  gap: 2px;
  margin: 0;
  padding-left: 16px;
}

.insight-evidence-items.differences {
  color: #7a5b25;
}

.insight-evidence-items.reusable {
  color: #2f5f44;
}

.insight-evidence-rationale {
  margin: 0;
  color: #3d4857;
  font-size: 12px;
  line-height: 1.52;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.company-results-table .icon-link {
  max-width: 100%;
  min-width: 0;
}

.company-results-table .icon-link > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.icon-link svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
}

.compact-contact-value {
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  white-space: nowrap;
}

.compact-contact-value .source-link {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.company-website-inline {
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.company-website-inline svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
}

.company-website-inline span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-overflow-trigger {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 18px;
  padding: 0 5px;
  border: 0;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--blue-dark);
  font: inherit;
  font-size: 9px;
  line-height: 1;
  cursor: help;
}

.context-filter-link {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--blue-dark);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.context-filter-link:hover,
.context-filter-link:focus-visible {
  color: var(--blue);
  outline: none;
}

.event-links-cell .icon-link + .icon-link {
  margin-left: 8px;
}

.evidence-status,
.contact-value,
.queued-value {
  width: fit-content;
  min-height: 21px;
  display: inline-flex;
  align-items: center;
  padding: 0 7px;
  border-radius: 5px;
  font-size: 10px;
  white-space: nowrap;
}

.evidence-status.match,
.contact-value.available {
  background: #e9f7ef;
  color: #278454;
}

.evidence-status.unknown,
.contact-value.missing {
  background: #f0f2f5;
  color: #7a8494;
}

.source-link {
  color: var(--blue-dark);
  text-decoration: none;
}

.source-link:hover {
  text-decoration: underline;
}

.linkedin-icon-link {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: var(--blue-dark);
  vertical-align: middle;
}

.linkedin-icon-link:hover,
.linkedin-icon-link:focus-visible {
  text-decoration: none;
}

.linkedin-icon-link img {
  width: 16px;
  height: 16px;
  display: block;
  object-fit: contain;
}

.local-presence-display {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
}

.local-presence-value-trigger {
  min-width: 0;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.local-presence-value-trigger:hover .table-value,
.local-presence-value-trigger:focus-visible .table-value {
  color: var(--blue-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.local-presence-value-trigger:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.local-presence-validation-note {
  color: #9a6700;
  white-space: nowrap;
}

.legal-entity-status-yes {
  font-weight: 600;
}

.legal-entity-status-no,
.legal-entity-status-unknown {
  color: #5c6b7a;
}

.local-presence-source-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-dark);
  flex: 0 0 auto;
}

.local-presence-source-link svg {
  width: 14px;
  height: 14px;
}

.company-local-evidence-section .drawer-help {
  margin: 7px 0 12px;
}

.local-evidence-list {
  display: grid;
  gap: 8px;
}

.local-evidence-row {
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--panel);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.local-evidence-row.is-focused {
  border-color: #85b9ff;
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.1);
}

.local-evidence-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.local-evidence-heading > span {
  color: var(--faint);
  font-size: 10px;
}

.local-evidence-state {
  flex: 0 0 auto;
  color: #677489;
  font-size: 9px;
  font-weight: 600;
}

.local-evidence-state.is-verified {
  color: #278454;
}

.local-evidence-state.is-to_validate,
.local-evidence-state.is-retry_needed {
  color: #9a6700;
}

.local-evidence-row > strong,
.local-evidence-value {
  display: block;
  margin-top: 5px;
  color: var(--text);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.45;
}

.local-evidence-details {
  margin-top: 8px;
}

.local-evidence-details summary {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--blue-dark);
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.local-evidence-details summary::-webkit-details-marker {
  display: none;
}

.local-evidence-details summary:hover,
.local-evidence-details summary:focus-visible {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.local-evidence-details summary svg {
  width: 12px;
  height: 12px;
  transition: transform 160ms ease;
}

.local-evidence-details[open] summary svg {
  transform: rotate(180deg);
}

.local-evidence-detail-content {
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px solid var(--border);
}

.local-evidence-detail-content > p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
  white-space: pre-line;
}

.local-evidence-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.local-evidence-sources a {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--blue-dark);
  font-size: 10px;
  font-weight: 600;
  text-decoration: none;
}

.local-evidence-sources a:hover,
.local-evidence-sources a:focus-visible {
  text-decoration: underline;
}

.local-evidence-sources svg {
  width: 12px;
  height: 12px;
}

.why-selected-compact {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
}

.enrichment-heading {
  width: 160px;
  color: #697588 !important;
}

.enrichment-heading svg {
  width: 13px;
  height: 13px;
  display: inline;
  margin-right: 5px;
  vertical-align: -2px;
}

.enrichment-heading-dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  margin-right: 6px;
  border-radius: 50%;
  background: #aeb7c4;
  vertical-align: 1px;
  animation: live-search-pulse 1.2s ease-in-out infinite;
}

.queued-value {
  background: #eef5ff;
  color: #3e6f9f;
}

.job-status-badge {
  width: fit-content;
  min-height: 21px;
  display: inline-flex;
  align-items: center;
  padding: 0 7px;
  border-radius: 5px;
  font-size: 10px;
  white-space: nowrap;
}

.job-status-badge.active {
  background: #e9f7ef;
  color: #278454;
}

.job-status-badge.unknown {
  background: #f0f2f5;
  color: #7a8494;
}

.sff-multi-value {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.sff-sponsor-tier {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #f8fafc;
  color: #334155;
  line-height: 1.2;
  white-space: nowrap;
}

.source-category-list {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px;
  color: #64748b;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.35;
}

.source-category-separator {
  color: #a8b1bd;
}

.contact-label-list {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px;
  font-size: 10px;
  line-height: 1.35;
}

.contact-label-tag {
  font-weight: 500;
  white-space: nowrap;
}

.contact-label-separator {
  color: #a8b1bd;
}

.contact-label-speaker,
.contact-label-confirmed {
  color: #16724a;
}

.contact-label-engaged,
.contact-label-strong {
  color: #2563a6;
}

.contact-label-potential,
.contact-label-other {
  color: #64748b;
}

.sff-sponsor-tier {
  min-height: 22px;
  padding: 2px 8px;
  border-color: #f1c46d;
  background: #fff8e7;
  color: #8a5700;
  font-size: 11px;
  font-weight: 650;
}

.company-result-tier {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 2px 7px;
  border: 1px solid #d8e2ef;
  border-radius: 999px;
  color: #53657a;
  background: #f7f9fc;
  font-size: 11px;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
}

.company-result-tier.is-strong-match {
  border-color: #bce6cc;
  color: #187746;
  background: #effaf3;
}

.company-result-tier.is-potential-match {
  border-color: #f2d49b;
  color: #8a5b09;
  background: #fff8e8;
}

.company-result-tier.is-needs-review {
  border-color: #d8e2ef;
  color: #53657a;
  background: #f7f9fc;
}

.job-source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.job-source-links.compact {
  margin-top: 0;
}

.drawer-open-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue-dark);
  font-size: 12px;
  text-decoration: none;
}

.drawer-open-link:hover,
.drawer-open-link:focus-visible {
  text-decoration: underline;
  outline: none;
}

.drawer-open-link svg {
  width: 13px;
  height: 13px;
}

.workflow-step-list,
.source-assessment-list {
  display: grid;
  gap: 8px;
}

.workflow-step-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  padding: 9px;
  border: 1px solid #e7eef7;
  border-radius: 7px;
  background: #fbfdff;
}

.workflow-step-item > span {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eaf3ff;
  color: var(--blue-dark);
  font-size: 10px;
  font-weight: 600;
}

.workflow-step-item div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.workflow-step-item strong,
.source-assessment-list strong,
.dedupe-demo-list strong {
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
}

.workflow-step-item small,
.workflow-step-item em,
.source-assessment-list span,
.source-assessment-list small,
.dedupe-demo-list span {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.workflow-step-item em {
  font-style: normal;
}

.source-assessment-list article {
  display: grid;
  gap: 4px;
  padding: 9px;
  border-radius: 7px;
  background: #f7f9fc;
}

.dedupe-demo-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.dedupe-demo-list div {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 9px;
  border-radius: 7px;
  background: #f7f9fc;
}

.add-column-heading {
  width: 42px;
  padding: 0 !important;
  text-align: center !important;
}

.add-column-heading button {
  width: 100%;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
}

.add-column-heading svg {
  width: 15px;
  height: 15px;
}

.table-empty {
  height: 300px;
  color: var(--muted) !important;
  padding: 0 !important;
}

.table-empty-message {
  position: sticky;
  left: 0;
  width: min(calc(100vw - 150px), 1100px);
  height: 300px;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
}

.entity-empty-state {
  min-height: 460px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  margin-top: 14px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
  text-align: center;
}

.entity-empty-state > svg {
  width: 28px;
  height: 28px;
  color: var(--blue);
}

.entity-empty-state h3 {
  margin: 2px 0 0;
  font-size: 16px;
  font-weight: 600;
}

.entity-empty-state p {
  max-width: 560px;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.detail-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  width: min(440px, 92vw);
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border);
  background: var(--panel);
  box-shadow: -20px 0 48px rgba(26, 36, 55, 0.14);
  transform: translateX(105%);
  transition: transform 200ms ease;
}

.detail-drawer.open {
  transform: translateX(0);
}

.detail-drawer.outreach-open {
  width: min(460px, 94vw);
}

.detail-drawer-header {
  min-height: 72px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 18px;
  border-bottom: 1px solid var(--border);
}

.detail-drawer-title-group {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.detail-drawer-back {
  width: 26px;
  height: 26px;
  margin-top: 1px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--blue-dark);
  cursor: pointer;
}

.detail-drawer-back:hover,
.detail-drawer-back:focus-visible {
  background: #eaf3ff;
  outline: none;
}

.detail-drawer-back svg {
  width: 16px;
  height: 16px;
}

.detail-drawer-header h2 {
  margin: 4px 0 0;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.3;
}

.detail-drawer-body {
  min-height: 0;
  overflow: auto;
  padding: 18px;
}

.drawer-section {
  padding: 0 0 18px;
  border-bottom: 1px solid var(--border);
}

.drawer-section + .drawer-section {
  padding-top: 18px;
}

.drawer-section h3,
.drawer-section-heading h3 {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.drawer-field-label {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
}

.drawer-prompt,
.criterion-input,
.criterion-priority,
.enrichment-form input,
.enrichment-form select,
.enrichment-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 7px;
  outline: 0;
  background: var(--panel);
  color: var(--text);
}

.drawer-prompt {
  padding: 10px;
  resize: vertical;
  font-size: 12px;
  line-height: 1.55;
}

.drawer-prompt:focus,
.criterion-input:focus,
.criterion-priority:focus,
.enrichment-form input:focus,
.enrichment-form select:focus,
.enrichment-form textarea:focus {
  border-color: #85b9ff;
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.1);
}

.outreach-simple {
  display: grid;
  gap: 28px;
}

.outreach-action-section {
  display: grid;
  gap: 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.outreach-action-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.outreach-action-heading h3 {
  margin: 0;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
}

.outreach-action-stack {
  display: grid;
  gap: 10px;
}

.outreach-step {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 8px;
  background: #f7f9fc;
}

.outreach-step-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.outreach-step-heading span {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e7f1ff;
  color: var(--blue-dark);
  font-size: 10px;
  font-weight: 600;
}

.outreach-step-heading h3 {
  margin: 0;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
}

.outreach-step-heading em {
  margin-left: auto;
  padding: 3px 7px;
  border-radius: 999px;
  background: #eef3fa;
  color: var(--muted);
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.outreach-personalized.ready .outreach-step-heading em {
  background: #e7f1ff;
  color: var(--blue-dark);
}

.outreach-inline-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.outreach-method-group {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.outreach-method-button {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #fff;
  color: #64748b;
}

.outreach-method-button svg {
  width: 14px;
  height: 14px;
}

.outreach-method-button.active {
  border-color: #9cc3ff;
  background: #eaf3ff;
  color: var(--blue-dark);
}

.outreach-method-button:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.outreach-disabled-note {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.outreach-logic-strip {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  padding: 10px;
  border-radius: 8px;
  background: #f5f8fc;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.2;
  overflow-x: auto;
}

.outreach-flow-chip {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 6px;
  background: #fff;
  color: #445166;
  white-space: nowrap;
}

.outreach-arrow {
  flex: 0 0 auto;
  color: #8da2c0;
}

.outreach-section-card {
  display: grid;
  gap: 9px;
  padding: 13px;
  border-radius: 8px;
  background: #f7f9fc;
}

.outreach-section-card + .outreach-section-card {
  margin-top: 12px;
}

.outreach-section-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
}

.outreach-section-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.outreach-select {
  width: 100%;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 7px;
  outline: 0;
  background: #fff;
  color: var(--text);
  font-size: 11px;
}

.outreach-select:focus {
  border-color: #85b9ff;
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.1);
}

.outreach-note-input {
  width: 100%;
  min-height: 104px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: 0;
  resize: vertical;
  background: #f8fafc;
  color: var(--text);
  font: inherit;
  font-size: 11px;
  line-height: 1.55;
}

.outreach-note-input:focus {
  border-color: #85b9ff;
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.1);
  background: #fff;
}

.outreach-note-status {
  margin: 0;
  color: var(--faint);
  font-size: 10px;
}

.outreach-label-control {
  display: grid;
  gap: 7px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.outreach-label-heading {
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
}

.multi-select-dropdown {
  position: relative;
}

.multi-select-dropdown > summary {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #fff;
  color: var(--text);
  font-size: 11px;
  cursor: pointer;
  list-style: none;
}

.multi-select-dropdown > summary::-webkit-details-marker,
.compact-filter-dropdown > summary::-webkit-details-marker {
  display: none;
}

.multi-select-dropdown > summary svg,
.compact-filter-dropdown > summary svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  color: var(--muted);
  transition: transform 160ms ease;
}

.multi-select-dropdown[open] > summary svg,
.compact-filter-dropdown[open] > summary svg {
  transform: rotate(180deg);
}

.multi-select-dropdown-menu {
  display: grid;
  gap: 9px;
  margin-top: 6px;
  padding: 9px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(31, 43, 65, 0.09);
}

.multi-select-options {
  max-height: 190px;
  display: grid;
  gap: 4px;
  overflow: auto;
}

.multi-select-option {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 6px;
  color: var(--text);
  font-size: 11px;
  cursor: pointer;
}

.multi-select-option:hover,
.multi-select-option:has(input:checked) {
  background: #f1f7ff;
}

.multi-select-option input {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  accent-color: var(--blue);
}

.multi-select-option span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.multi-select-option.label-picker-option {
  justify-content: space-between;
}

.label-picker-option > label {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.label-option-name {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.label-option-name i {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--label-color, var(--blue));
  box-shadow: 0 0 0 1px rgba(31, 43, 65, 0.12);
}

.label-color-choice-group {
  min-width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.label-color-choice {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.label-color-choice:hover,
.label-color-choice:focus-visible,
.label-color-choice.selected,
.label-color-choice:has(input:checked) {
  border-color: #85b9ff;
  background: #f2f7ff;
  outline: none;
}

.label-color-choice > span:not(.sr-only) {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  display: block;
  overflow: visible;
  border-radius: 50%;
  background: var(--label-color, var(--blue));
  box-shadow: 0 0 0 1px rgba(31, 43, 65, 0.14);
}

.multi-select-empty,
.compact-filter-help {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.create-label-help {
  margin: 0;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.create-label-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 6px;
}

.create-label-palette {
  min-width: 0;
  min-height: 31px;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 1px 5px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
}

.create-label-palette:focus-within {
  border-color: #85b9ff;
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.1);
}

.create-label-palette legend {
  padding: 0 3px;
  color: var(--muted);
  font-size: 9px;
}

.create-label-form input[type="text"] {
  min-width: 0;
  height: 31px;
  padding: 0 9px;
  border: 1px solid var(--border);
  border-radius: 6px;
  outline: 0;
  color: var(--text);
  font: inherit;
  font-size: 11px;
}

.create-label-form input[type="text"]:focus {
  border-color: #85b9ff;
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.1);
}

.create-label-form button {
  height: 31px;
  padding: 0 11px;
  border: 0;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
}

.selected-label-preview:empty {
  display: none;
}

.record-user-labels {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  overflow: hidden;
  vertical-align: middle;
}

.record-user-label,
.record-user-label-overflow {
  min-width: 0;
  max-width: 118px;
  padding: 3px 7px;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid var(--label-border, #bfdbfe);
  background: var(--label-bg, #eff6ff);
  color: var(--label-text, #1d4ed8);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.record-user-label-overflow {
  flex: 0 0 auto;
  border-color: #e2e8f0;
  background: #f0f2f5;
  color: var(--muted);
}

.column-userLabels .record-user-labels {
  max-width: 100%;
}

.outreach-clear-note {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue-dark);
  font-size: 10px;
  cursor: pointer;
}

.outreach-clear-note:hover {
  text-decoration: underline;
}

.outreach-contact-meta {
  display: grid;
  gap: 5px;
  padding: 9px;
  border-radius: 7px;
  background: #fff;
}

.outreach-contact-meta span {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.outreach-contact-meta svg {
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  color: var(--blue);
}

.outreach-channel-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.outreach-channel-button {
  min-width: 0;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #fff;
  color: #56647a;
  font-size: 10px;
}

.outreach-channel-button svg {
  width: 13px;
  height: 13px;
}

.outreach-channel-button.active {
  border-color: #9cc3ff;
  background: #eaf3ff;
  color: var(--blue-dark);
}

.outreach-channel-button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.outreach-candidate-note {
  display: flex;
  align-items: center;
  gap: 7px;
}

.outreach-candidate-badge {
  flex: 0 0 auto;
  padding: 4px 7px;
  border-radius: 6px;
  background: #eaf3ff;
  color: var(--blue-dark);
  font-size: 10px;
}

.outreach-message-preview {
  position: relative;
  display: grid;
  gap: 9px;
  padding: 10px;
  border: 1px solid #e3ebf7;
  border-radius: 8px;
  background: #fff;
}

.outreach-copy-button {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--blue-dark);
  cursor: pointer;
}

.outreach-copy-button:hover,
.outreach-copy-button:focus-visible,
.outreach-copy-button.is-copied {
  background: #eaf3ff;
  color: var(--blue);
  outline: none;
}

.outreach-copy-button:disabled {
  cursor: default;
}

.outreach-copy-button svg {
  width: 14px;
  height: 14px;
}

.outreach-language-toggle {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #d7e2f0;
  border-radius: 6px;
  background: #ffffff;
  color: #1769d2;
  cursor: pointer;
}

.outreach-language-toggle:hover,
.outreach-language-toggle:focus-visible {
  border-color: #9fc1ef;
  background: #edf5ff;
  outline: none;
}

.outreach-language-toggle svg {
  width: 15px;
  height: 15px;
}

.outreach-language-toggle:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.outreach-message-origin {
  padding-right: 26px;
  color: var(--blue-dark);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.outreach-message-subject {
  display: grid;
  gap: 3px;
}

.outreach-message-subject span {
  color: var(--faint);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.outreach-message-subject strong {
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
}

.outreach-message-body {
  display: grid;
  gap: 7px;
}

.outreach-message-body p {
  color: #49566a;
  font-size: 11px;
  line-height: 1.55;
}

.outreach-generate-button {
  width: 100%;
  margin-top: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.outreach-generate-button svg {
  width: 14px;
  height: 14px;
}

.outreach-generation-error {
  margin: 0;
  color: #b42318;
  font-size: 10px;
  line-height: 1.45;
}

.outreach-secondary-action {
  width: 100%;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
}

.outreach-secondary-action:hover {
  background: #eef3fa;
  color: var(--text);
}

.outreach-secondary-action svg {
  width: 13px;
  height: 13px;
}

.drawer-help {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.active-hiring-block {
  margin-top: 10px;
}

.active-hiring-reference-list {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.active-hiring-reference {
  display: grid;
  gap: 2px;
}

.active-hiring-reference strong {
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
}

.active-hiring-reference a {
  font-size: 11px;
  overflow-wrap: anywhere;
}

.active-hiring-reference .company-description {
  margin: 0;
}

.drawer-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.drawer-section-count {
  min-width: 24px;
  height: 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
  border-radius: 10px;
  background: #edf5ff;
  color: var(--blue-dark);
  font-size: 9px;
  font-weight: 500;
}

.drawer-inline-action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue-dark);
  font-size: 11px;
}

.drawer-inline-action svg {
  width: 13px;
  height: 13px;
}

.webset-people-assessment .drawer-section-heading {
  align-items: flex-start;
}

.webset-people-detail {
  display: grid;
  gap: 3px;
  margin-top: 10px;
  color: var(--text);
  font-size: 12px;
  line-height: 1.45;
}

.webset-people-detail strong {
  font-size: 11px;
  font-weight: 650;
}

.webset-people-detail span,
.webset-people-detail small {
  color: var(--muted);
}

.webset-people-detail a {
  color: var(--blue-dark);
}

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

.criterion-card {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 24px;
  gap: 8px;
  align-items: start;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #fbfdff;
}

.criterion-index {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eaf3ff;
  color: var(--blue-dark);
  font-size: 9px;
  font-weight: 600;
}

.criterion-input {
  height: 30px;
  padding: 0 7px;
  font-size: 11px;
}

.criterion-priority {
  width: auto;
  height: 26px;
  margin-top: 6px;
  padding: 0 24px 0 7px;
  color: var(--muted);
  font-size: 10px;
}

.remove-criterion {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--faint);
}

.remove-criterion svg {
  width: 14px;
  height: 14px;
}

.active-enrichment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.active-enrichment-list span {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 5px;
  background: #eef5ff;
  color: var(--blue-dark);
  font-size: 10px;
}

.column-manager-intro {
  display: grid;
  gap: 12px;
}

.column-manager-actions {
  display: flex;
  gap: 8px;
}

.column-manager-groups {
  display: grid;
  gap: 18px;
}

.column-manager-group {
  display: grid;
  gap: 6px;
}

.column-manager-group > span {
  color: var(--faint);
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
}

.column-visibility-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  align-items: stretch;
}

.column-visibility-option {
  min-height: 38px;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 10px;
  padding: 7px 9px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
}

.column-visibility-row .column-visibility-option {
  grid-template-columns: 16px minmax(0, 1fr);
}

.delete-custom-column {
  width: 38px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: #9a4a42;
}

.delete-custom-column:hover:not(:disabled) {
  border-color: #e7b7b0;
  background: #fff6f5;
  color: #b42318;
}

.delete-custom-column:disabled {
  cursor: not-allowed;
  color: var(--faint);
  opacity: 0.55;
}

.delete-custom-column svg {
  width: 13px;
  height: 13px;
}

.column-visibility-option:hover:not(.locked) {
  border-color: #bed8fa;
  background: #fbfdff;
}

.column-visibility-option.locked {
  background: #f7f9fc;
}

.column-visibility-option input {
  width: 14px;
  height: 14px;
  accent-color: var(--blue);
}

.column-visibility-option span,
.column-visibility-option strong,
.column-visibility-option small {
  min-width: 0;
  display: block;
}

.column-visibility-option strong {
  color: var(--text);
  font-size: 10px;
  font-weight: 500;
}

.column-visibility-option small {
  margin-top: 2px;
  color: var(--faint);
  font-size: 9px;
}

.column-visibility-option svg {
  width: 13px;
  height: 13px;
  color: var(--faint);
}

.drawer-save-button {
  width: 100%;
  margin-top: 18px;
}

.compact-filter-dropdown {
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

.compact-filter-dropdown > summary {
  min-height: 43px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 11px;
  cursor: pointer;
  list-style: none;
}

.compact-filter-dropdown > summary > span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.compact-filter-dropdown > summary strong {
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
}

.compact-filter-dropdown > summary small {
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-filter-dropdown[open] > summary {
  border-bottom: 1px solid var(--border);
  background: #f8fbff;
}

.compact-filter-dropdown-body {
  padding: 10px;
}

.compact-filter-dropdown-body .drawer-filter-list,
.compact-filter-dropdown-body .drawer-radio-list,
.compact-filter-dropdown-body .job-company-filter-list,
.compact-filter-dropdown-body .linkedin-people-filter-options,
.compact-filter-dropdown-body .cross-project-history-filter-options,
.compact-filter-dropdown-body .tag-filter-list {
  margin-top: 0;
}

.user-label-filter-options {
  max-height: 240px;
}

.compact-filter-help {
  margin-top: 8px;
}

.filter-context-note {
  margin: 10px 0 0;
  padding: 8px 10px;
  border-radius: 7px;
  background: #f7f9fc;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.drawer-filter-list {
  display: grid;
  gap: 8px;
  margin-top: 9px;
}

.drawer-filter-group {
  margin-top: 18px;
}

.drawer-filter-group + .drawer-filter-group {
  padding-top: 17px;
  border-top: 1px solid var(--border);
}

.job-filter-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.job-filter-summary span {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 10px 11px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f7faff;
}

.job-filter-summary strong {
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}

.job-filter-summary small {
  color: var(--muted);
  font-size: 10px;
}

.job-company-filter-list {
  display: grid;
  gap: 6px;
  margin-top: 9px;
  max-height: 280px;
  overflow: auto;
  padding-right: 2px;
}

.job-company-filter-option {
  min-width: 0;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--panel);
}

.job-company-filter-option:has(input:checked) {
  border-color: #9ac3ff;
  background: #f1f7ff;
}

.job-company-filter-option input {
  width: 14px;
  height: 14px;
  accent-color: var(--blue);
}

.job-company-filter-option span {
  overflow: hidden;
  color: var(--text);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.job-company-filter-option strong {
  min-width: 26px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #eaf3ff;
  color: var(--blue-dark);
  font-size: 10px;
  font-weight: 600;
  text-align: center;
}

.drawer-filter-group-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.tag-filter-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.tag-filter-card {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 11px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fbfdff;
}

.tag-filter-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
}

.tag-filter-icon.apn {
  background: #eaf7fc;
}

.tag-filter-icon.apn img {
  width: 25px;
  height: 25px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.tag-filter-icon.delivery {
  background: #eaf3ff;
  color: var(--blue-dark);
}

.tag-filter-icon.target {
  background: #fff1e3;
  color: #d66a0b;
}

.tag-filter-icon.similar {
  background: #eaf3ff;
  color: var(--blue-dark);
}

.tag-filter-icon.delivery svg {
  width: 19px;
  height: 19px;
}

.tag-filter-card > div {
  min-width: 0;
}

.tag-filter-card strong {
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
}

.tag-filter-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.tag-mode-control {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  padding: 3px;
  border-radius: 7px;
  background: #eef2f7;
}

.tag-mode-control label {
  cursor: pointer;
}

.tag-mode-control input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tag-mode-control span {
  min-height: 29px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  color: var(--muted);
  font-size: 10px;
}

.tag-mode-control input:checked + span {
  background: #fff;
  color: var(--blue-dark);
  box-shadow: 0 1px 4px rgba(31, 43, 65, 0.09);
}

.drawer-filter-group-heading strong {
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
}

.drawer-filter-group-heading small {
  color: var(--faint);
  font-size: 10px;
}

.drawer-radio-list {
  display: grid;
  gap: 0;
  margin-top: 9px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--panel);
}

.drawer-radio-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 11px;
  cursor: pointer;
}

.drawer-radio-option + .drawer-radio-option {
  border-top: 1px solid var(--border);
}

.drawer-radio-option:has(input:checked) {
  background: #f1f7ff;
}

.drawer-radio-option input {
  width: 15px;
  height: 15px;
  margin: 2px 0 0;
  accent-color: var(--blue);
}

.drawer-radio-option span {
  display: grid;
  gap: 3px;
}

.drawer-radio-option strong {
  color: var(--text);
  font-size: 11px;
  font-weight: 500;
}

.drawer-radio-option small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.european-presence-filter-option span {
  min-width: 0;
  flex: 1;
}

.european-presence-filter-option .drawer-filter-count {
  min-width: 32px;
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eaf3ff;
  color: var(--blue-dark);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

.drawer-filter-option {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 7px;
}

.drawer-filter-option input {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  accent-color: var(--blue);
}

.drawer-filter-option span {
  display: grid;
  gap: 3px;
}

.drawer-filter-option strong {
  font-size: 11px;
  font-weight: 600;
}

.drawer-filter-option small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.linkedin-people-filter-options,
.cross-project-history-filter-options {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--panel);
}

.linkedin-people-filter-option,
.cross-project-history-filter-option {
  min-width: 0;
  display: grid;
  grid-template-columns: 15px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  cursor: pointer;
}

.linkedin-people-filter-option + .linkedin-people-filter-option,
.cross-project-history-filter-option + .cross-project-history-filter-option {
  border-top: 1px solid var(--border);
}

.linkedin-people-filter-option:has(input:checked),
.cross-project-history-filter-option:has(input:checked) {
  background: #f1f7ff;
}

.linkedin-people-filter-option input,
.cross-project-history-filter-option input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--blue);
}

.linkedin-people-filter-option span,
.cross-project-history-filter-option span {
  color: var(--text);
  font-size: 11px;
  font-weight: 500;
}

.linkedin-people-filter-option strong,
.cross-project-history-filter-option strong {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
}

.company-summary-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 30px;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}

.company-summary-card strong,
.company-summary-card > div > span {
  display: block;
}

.company-summary-card strong {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.company-summary-card > div > span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.company-summary-card > a {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-dark);
}

.company-summary-card svg {
  width: 15px;
  height: 15px;
}

.company-description {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.linkedin-people-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
}

.linkedin-people-trigger,
.linkedin-insight-trigger {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.linkedin-people-trigger {
  display: flex;
  flex: 1;
  align-items: baseline;
  gap: 7px;
  cursor: pointer;
}

.linkedin-people-trigger strong {
  flex: none;
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
}

.linkedin-people-trigger small {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.linkedin-people-source,
.linkedin-drawer-source {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 4px;
  color: #0a66c2;
  font-size: 10px;
  font-weight: 600;
  text-decoration: none;
}

.linkedin-people-source > span,
.linkedin-drawer-source > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 2px;
  background: #0a66c2;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.linkedin-people-source svg,
.linkedin-drawer-source svg {
  width: 11px;
  height: 11px;
}

.linkedin-people-unavailable,
.linkedin-insight-empty,
.linkedin-capability-pending {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.linkedin-supplied-source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.linkedin-supplied-source > span {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.linkedin-supplied-source strong {
  color: var(--text);
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.linkedin-supplied-source small {
  color: var(--muted);
  font-size: 9px;
  white-space: nowrap;
}

.linkedin-insight-empty,
.linkedin-capability-pending,
.linkedin-insight-trigger {
  display: grid;
  gap: 4px;
}

.linkedin-insight-empty strong,
.linkedin-capability-pending strong {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.linkedin-insight-empty small,
.linkedin-capability-pending small,
.linkedin-insight-trigger small {
  color: var(--muted);
  font-size: 9px;
}

.linkedin-insight-trigger {
  cursor: pointer;
}

.linkedin-insight-badge {
  width: max-content;
  padding: 3px 7px;
  border-radius: 10px;
  background: #eaf3ff;
  color: #155da7;
  font-size: 9px;
  font-weight: 650;
}

.linkedin-insight-badge.is-unavailable {
  background: #f0f2f5;
  color: var(--muted);
}

.linkedin-insight-badge.is-change,
.linkedin-insight-badge.is-growing {
  background: #e9f7ef;
  color: #23764b;
}

.linkedin-insight-badge.is-declining {
  background: #fff0f0;
  color: #ad3a3a;
}

.linkedin-insight-badge.is-stable,
.linkedin-insight-badge.is-guarded {
  background: #f0f2f5;
  color: #596576;
}

.linkedin-people-overview {
  display: grid;
  grid-template-columns: minmax(105px, auto) 1fr;
  gap: 14px;
  align-items: center;
  margin-top: 10px;
  padding: 13px;
  border: 1px solid #dce8f5;
  border-radius: 8px;
  background: #f7fbff;
}

.linkedin-people-overview > div {
  display: grid;
  gap: 1px;
}

.linkedin-people-overview strong {
  color: #12395f;
  font-size: 24px;
  line-height: 1;
}

.linkedin-people-overview span,
.linkedin-people-overview p,
.linkedin-function-heading span {
  color: var(--muted);
  font-size: 9px;
}

.linkedin-people-overview p {
  margin: 0;
  line-height: 1.5;
}

.linkedin-function-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
}

.linkedin-function-heading strong {
  font-size: 11px;
  font-weight: 650;
}

.linkedin-function-distribution {
  display: grid;
  grid-template-columns: minmax(150px, 0.72fr) minmax(190px, 1fr);
  gap: 12px 18px;
  align-items: center;
  margin-top: 9px;
  padding: 13px;
  border: 1px solid #e4e9ef;
  border-radius: 8px;
  background: #fbfcfe;
}

.linkedin-function-donut-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 180px);
  aspect-ratio: 1;
  margin: 0 auto;
}

.linkedin-function-donut {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: rotate(-90deg);
}

.linkedin-function-donut-track,
.linkedin-function-donut-segment {
  fill: none;
  stroke-width: 18;
}

.linkedin-function-donut-track {
  stroke: #e8edf3;
}

.linkedin-function-donut-segment {
  transition: opacity 160ms ease, stroke-width 160ms ease;
}

.linkedin-function-donut-segment:hover {
  opacity: 0.82;
  stroke-width: 20;
}

.linkedin-function-donut-center {
  position: absolute;
  inset: 27%;
  display: grid;
  place-content: center;
  gap: 2px;
  border-radius: 50%;
  text-align: center;
  background: #fbfcfe;
}

.linkedin-function-donut-center strong {
  color: #12395f;
  font-size: 22px;
  line-height: 1;
}

.linkedin-function-donut-center span {
  color: var(--muted);
  font-size: 8px;
  line-height: 1.25;
}

.linkedin-function-legend {
  display: grid;
  align-content: center;
}

.linkedin-function-legend-item {
  display: grid;
  grid-template-columns: 9px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid #e8edf3;
}

.linkedin-function-legend-item:last-child {
  border-bottom: 0;
}

.linkedin-function-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.linkedin-function-legend-item > div {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.linkedin-function-legend-item strong {
  overflow: hidden;
  color: var(--text);
  font-size: 10px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.linkedin-function-legend-item small {
  color: var(--muted);
  font-size: 8px;
}

.linkedin-function-legend-count {
  color: var(--text);
  font-size: 10px;
  font-weight: 650;
}

.linkedin-function-distribution-note {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 9px;
  border-top: 1px solid #e8edf3;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.45;
}

.linkedin-function-empty {
  margin-top: 9px;
}

@media (max-width: 680px) {
  .linkedin-function-distribution {
    grid-template-columns: 1fr;
  }

  .linkedin-function-donut-wrap {
    width: min(100%, 165px);
  }
}

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

.linkedin-people-facts > div {
  display: grid;
  gap: 4px;
  padding: 10px;
  border-radius: 7px;
  background: var(--soft);
}

.linkedin-people-facts span,
.linkedin-people-facts small {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
}

.linkedin-people-facts strong {
  font-size: 10px;
  line-height: 1.4;
}

.linkedin-insight-panel {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 11px;
  border: 1px solid #e4e9ef;
  border-radius: 7px;
}

.linkedin-insight-panel > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.linkedin-insight-panel > div:first-child strong {
  font-size: 10px;
}

.linkedin-insight-panel dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 0;
}

.linkedin-insight-panel dl > div {
  display: grid;
  gap: 3px;
}

.linkedin-insight-panel dt,
.linkedin-insight-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

.linkedin-insight-panel dd {
  margin: 0;
  color: var(--text);
  font-size: 10px;
  font-weight: 600;
}

.linkedin-insight-chart {
  display: grid;
  gap: 8px;
  margin: 2px 0 0;
  padding: 9px 8px 3px;
  border-radius: 6px;
  background: #f8fafc;
}

.linkedin-insight-chart figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 0 4px;
}

.linkedin-insight-chart figcaption strong {
  font-size: 10px;
}

.linkedin-insight-chart figcaption span,
.linkedin-insight-chart-empty {
  color: var(--muted);
  font-size: 9px;
}

.linkedin-insight-chart svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.linkedin-insight-chart-axis {
  stroke: #cbd5e1;
  stroke-width: 1;
}

.linkedin-insight-chart-area {
  fill: #dbe9f6;
}

.linkedin-insight-chart-line {
  fill: none;
  stroke: #55728f;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.linkedin-insight-chart-points circle {
  fill: #fff;
  stroke: #55728f;
  stroke-width: 3;
}

.linkedin-insight-chart-value {
  fill: var(--text);
  font-size: 9px;
  font-weight: 650;
}

.linkedin-insight-chart-month {
  fill: var(--muted);
  font-size: 9px;
}

.linkedin-data-quality-note {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 6px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

.linkedin-data-quality-note svg {
  width: 12px;
  height: 12px;
  margin-top: 1px;
}

.drawer-contact-list {
  display: grid;
  gap: 8px;
  max-height: min(430px, 52vh);
  margin-top: 10px;
  overflow-y: auto;
  scrollbar-gutter: stable;
}

.contact-section-heading {
  justify-content: flex-start;
  gap: 8px;
}

.contact-section-summary {
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  white-space: nowrap;
}

.contact-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0;
}

.contact-list-heading.is-filter-only {
  justify-content: flex-end;
}

.contact-list-label {
  margin: 0;
  color: var(--text);
  font-size: 12px;
  font-weight: 650;
}

.drawer-contact-list.is-recommended {
  max-height: none;
  gap: 0;
  margin-top: 0;
}

.drawer-contact-list.is-recommended .drawer-contact-record {
  border-radius: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  padding: 12px 0;
}

.drawer-contact-list.is-recommended .drawer-contact-record:first-child {
  border-top: 1px solid var(--border);
}

.drawer-contact-list.is-recommended.is-expanded {
  max-height: min(430px, 52vh);
  overflow-y: auto;
  scrollbar-gutter: stable;
}

.drawer-contact-record.is-recommended {
  grid-template-columns: 30px minmax(0, 1fr) 170px;
}

#drawerContactsSection + .drawer-section {
  border-top: 0;
}

.contact-function-select {
  max-width: 150px;
  min-width: 0;
  padding: 5px 24px 5px 8px;
  border: 1px solid #cfd7e3;
  border-radius: 6px;
  background: #fff;
  color: #536273;
  font: inherit;
  font-size: 9px;
  line-height: 1;
  cursor: pointer;
}

.contact-record-actions {
  width: 170px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 22px;
  align-items: center;
  gap: 7px;
  min-height: 26px;
}

.contact-record-secondary-action,
.contact-record-primary-action {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
}

.contact-record-secondary-action {
  grid-column: 2;
}

.contact-record-primary-action {
  grid-column: 3;
}

.contact-unlock-button {
  width: 22px;
  height: 22px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--blue-dark);
  font: inherit;
  cursor: pointer;
}

.contact-unlock-button:hover {
  background: #eaf3ff;
}

.contact-unlock-button:disabled,
.contact-unlock-button:disabled:hover {
  background: transparent;
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.58;
}

.contact-unlock-button svg {
  width: 14px;
  height: 14px;
}

.contact-unlock-button.is-retry {
  border-color: transparent;
  color: var(--danger, #b42318);
}

.contact-unlock-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 9px;
  white-space: nowrap;
}

.contact-unlock-status.is-success { color: #16794b; }
.contact-unlock-status.is-error { color: var(--danger, #b42318); }
.contact-unlock-status i { width: 12px; height: 12px; }
.contact-unlock-status.is-loading i { animation: spin 1s linear infinite; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

.contact-pool-toggle {
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue-dark);
  font: inherit;
  font-size: 10px;
  font-weight: 600;
}

.contact-pool-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 10px;
}

.contact-pool-toggle:hover {
  color: var(--blue);
  text-decoration: underline;
}

.contact-pool-toggle.secondary {
  margin: 0;
}

.drawer-contact-record {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: start;
  padding: 11px;
  border-radius: 6px;
  background: var(--soft);
}

.drawer-contact-record.is-pinned {
  background: #f7fbff;
}

.drawer-contact-record + .drawer-contact-record {
  border-top: 0;
}

.drawer-contact-record-body {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.drawer-contact-record-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.drawer-contact-record-heading span {
  flex: 0 0 auto;
  color: var(--faint);
  font-size: 8px;
}

.drawer-contact-record-heading .contact-name-with-marker {
  flex: 1 1 auto;
}

.drawer-contact-record strong,
.drawer-contact-record small {
  display: block;
}

.drawer-contact-record strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
  font-size: 11px;
  font-weight: 500;
}

.drawer-contact-record small {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
}

.drawer-contact-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  font-size: 10px;
}

.drawer-contact-methods .source-link {
  overflow-wrap: anywhere;
}

.contact-attendance-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border-radius: 999px;
  background: #e8eef5;
  color: #40566d;
  font-size: 8px;
  line-height: 1.2;
  font-weight: 600;
}

.contact-attendance-badge.attendance-speaker,
.contact-attendance-badge.attendance-confirmed-attendee {
  background: #dff3e7;
  color: #17643a;
}

.contact-attendance-badge.attendance-strong-match,
.contact-attendance-badge.attendance-potential-match {
  background: #fff1d6;
  color: #805d16;
}

.contact-reason {
  color: var(--muted);
  font-size: 9px;
}

.contact-reason summary {
  cursor: pointer;
  color: var(--muted);
}

.contact-reason small {
  margin-top: 4px;
}

.job-postings-cell-trigger {
  width: fit-content;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  border: 0;
  border-radius: 6px;
  background: #eef6ff;
  color: var(--blue-dark);
  font-size: 10px;
  white-space: nowrap;
}

.job-postings-cell-trigger:hover {
  background: #e2f0ff;
}

.active-hiring-table-summary {
  display: block;
  max-width: 100%;
  min-width: 0;
  cursor: pointer;
}

.active-hiring-table-summary .enrichment-result-value {
  display: inline-flex;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #4d596b;
  font-weight: 400;
}

.active-hiring-table-summary:hover .enrichment-result-value {
  color: #26364a;
}

.intelligence-bundle-cell-trigger {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #4d596b;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.intelligence-bundle-cell-trigger .enrichment-result-value {
  color: #4d596b;
  font-size: 11px;
  font-weight: 400;
}

.intelligence-bundle-cell-trigger:hover .enrichment-result-value {
  color: #26364a;
}

.bd-signal-list {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.bd-signal-record {
  padding-top: 10px;
  border-top: 1px solid #e6ebf2;
}

.bd-signal-record h4 {
  margin: 0;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.bd-signal-record.is-verified .bd-signal-summary {
  color: var(--text);
}

.bd-signal-record.is-unverified h4,
.bd-signal-record.is-unverified .bd-signal-summary {
  color: var(--faint);
}

.bd-signal-summary {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
}

.bd-signal-sources {
  margin-top: 6px;
}

.bd-signal-sources summary {
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 400;
  cursor: pointer;
}

.bd-signal-source-list {
  display: grid;
  gap: 4px;
  margin-top: 6px;
}

.bd-signal-source-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: baseline;
}

.bd-signal-source-link,
.bd-signal-source {
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 400;
}

.bd-signal-sources time {
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
}

.company-profile-founded {
  margin-top: 6px;
}

.company-summary-card .company-profile-founded span {
  display: block;
  margin-top: 0;
  color: var(--faint);
  font-size: 9px;
}

.company-summary-card .company-profile-founded strong {
  display: block;
  margin-top: 2px;
  color: var(--text);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.45;
}

.job-posting-count {
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #d8eaff;
  color: var(--blue-dark);
  font-size: 10px;
  font-weight: 650;
}

.drawer-job-posting-list {
  max-height: min(320px, 42vh);
  margin-top: 10px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #fff;
  scrollbar-gutter: stable;
}

.drawer-job-posting-record {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  gap: 10px;
  align-items: center;
  padding: 11px;
}

.drawer-job-posting-record + .drawer-job-posting-record {
  border-top: 1px solid var(--border);
}

.drawer-job-posting-record strong {
  display: block;
  overflow: hidden;
  color: var(--text);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.job-posting-source-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  color: var(--blue-dark);
  font-size: 10px;
  text-decoration: none;
}

.job-posting-title-link {
  display: block;
  max-width: 100%;
  color: inherit;
  text-decoration: none;
}

.job-posting-title-link:hover strong {
  color: var(--blue-dark);
  text-decoration: underline;
}

.job-source-mark {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 3px;
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
}

.job-source-mark.linkedin {
  background: #0a66c2;
  color: #fff;
}

.job-source-mark.official {
  color: var(--blue-dark);
  background: #eaf3ff;
}

.job-source-mark.official svg {
  width: 11px;
  height: 11px;
}

.drawer-source-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.company-evidence-source-list {
  display: grid;
  gap: 8px;
}

.company-evidence-source-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16px;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--text);
  text-decoration: none;
}

.company-evidence-source-row:hover {
  border-color: rgba(37, 99, 235, 0.28);
  background: #f1f6ff;
}

.company-evidence-source-row.is-primary {
  border-color: rgba(37, 99, 235, 0.34);
  background: #eef5ff;
}

.company-evidence-source-row span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.company-evidence-source-row strong,
.company-evidence-source-row em,
.company-evidence-source-row small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.company-evidence-source-row strong {
  font-size: 12px;
  font-weight: 400;
}

.company-evidence-source-row em {
  color: var(--blue-dark);
  font-size: 11px;
  font-style: normal;
}

.company-evidence-source-row small {
  color: var(--muted);
  font-size: 10px;
}

.company-evidence-source-row svg {
  width: 15px;
  height: 15px;
  color: var(--blue-dark);
}

.company-evidence-source-inline {
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.company-evidence-source-inline-link {
  color: var(--blue-dark);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.company-evidence-source-inline-link:hover,
.company-evidence-source-inline-link:focus-visible {
  text-decoration: underline;
}

.company-evidence-source-inline-separator {
  color: var(--muted);
}

.recommended-similar-list {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.recommended-similar-row {
  width: 100%;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 16px;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border: 0;
  border-radius: 6px;
  background: #f5f8fd;
  color: var(--text);
  text-align: left;
}

.recommended-similar-row:hover {
  background: #edf4ff;
}

.recommended-similar-row > span {
  min-width: 0;
}

.recommended-similar-row strong,
.recommended-similar-row small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recommended-similar-row strong {
  font-size: 10px;
  font-weight: 600;
}

.recommended-similar-row small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.recommended-similar-row > svg {
  width: 13px;
  height: 13px;
  color: var(--blue-dark);
}

.job-posting-source-link:hover {
  text-decoration: underline;
}

.job-posting-source-link svg {
  width: 13px;
  height: 13px;
  stroke-width: 1.9;
}

.contact-pin-button {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font-size: 9px;
  white-space: nowrap;
}

.contact-pin-button:hover {
  background: #eef5ff;
  color: var(--blue-dark);
}

.contact-pin-button.pinned {
  background: transparent;
  color: var(--blue-dark);
}

.contact-pin-button svg {
  width: 12px;
  height: 12px;
}

.contact-pin-button.pinned svg {
  fill: currentColor;
}

.contact-value-separator {
  margin: 0 5px;
  color: #a3adbc;
}

.data-quality-state {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 10px;
}

.data-quality-state.complete {
  color: var(--blue-dark);
}

.data-quality-state svg {
  width: 12px;
  height: 12px;
}

.evaluation-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.evaluation-item {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 8px;
}

.evaluation-item > svg {
  width: 17px;
  height: 17px;
  padding: 3px;
  border-radius: 4px;
}

.evaluation-item.match > svg {
  background: #e9f7ef;
  color: #278454;
}

.evaluation-item.unclear > svg {
  background: #f0f2f5;
  color: #7a8494;
}

.evaluation-item strong {
  font-size: 11px;
  font-weight: 600;
}

.evaluation-item p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

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

.company-facts-grid > div {
  padding: 9px;
  border-radius: 6px;
  background: var(--soft);
}

.company-facts-grid span,
.company-facts-grid strong {
  display: block;
}

.company-facts-grid span {
  color: var(--faint);
  font-size: 9px;
}

.company-facts-grid strong {
  margin-top: 4px;
  color: var(--text);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.45;
}

.enrichment-backdrop {
  z-index: 110;
}

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

.enrichment-category-tabs {
  display: inline-flex;
  gap: 4px;
  margin-top: 18px;
  padding: 3px;
  border-radius: 7px;
  background: var(--soft);
}

.enrichment-category-tabs button {
  height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
}

.enrichment-category-tabs button.active {
  background: #fff;
  color: var(--blue-dark);
  box-shadow: 0 1px 3px rgba(23, 38, 64, 0.12);
}

.enrichment-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.enrichment-suggestions > span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.enrichment-suggestions > div {
  display: grid;
  gap: 5px;
}

.enrichment-suggestions button {
  min-height: 42px;
  display: grid;
  gap: 3px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  text-align: left;
}

.enrichment-suggestions button:hover,
.enrichment-suggestions button.active {
  border-color: #cfe2fb;
  background: #eef5ff;
}

.enrichment-suggestions strong {
  font-size: 11px;
  font-weight: 500;
}

.enrichment-suggestions small {
  color: var(--faint);
  font-size: 9px;
}

.enrichment-suggestions em {
  color: #8a5a16;
  font-size: 8px;
  font-style: normal;
  line-height: 1.35;
}

.enrichment-form {
  display: grid;
  gap: 12px;
}

.enrichment-form label {
  display: grid;
  gap: 6px;
  color: var(--text);
  font-size: 11px;
  font-weight: 500;
}

.enrichment-form input,
.enrichment-form select {
  height: 36px;
  padding: 0 10px;
}

.enrichment-form textarea {
  padding: 9px 10px;
  resize: vertical;
  line-height: 1.5;
}

.enrichment-capability-notice {
  margin: 0;
  padding: 9px 10px;
  border: 1px solid #ead8b4;
  border-radius: 6px;
  background: #fffbf3;
  color: #76531d;
  font-size: 9px;
  line-height: 1.5;
}

.enrichment-form .detail-primary-button {
  justify-self: end;
  min-width: 134px;
}

.detail-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 130;
  min-width: 220px;
  padding: 10px 14px;
  border-radius: 7px;
  background: #1f2937;
  color: #fff;
  font-size: 11px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(18, 28, 45, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.detail-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1080px) {
  .project-detail-page {
    width: calc(100% - 28px);
  }

  .company-toolbar {
    flex-wrap: wrap;
  }

  .detail-search-control {
    width: min(320px, 42vw);
  }
}

@media (max-width: 720px) {
  .project-detail-page {
    width: calc(100% - 20px);
    padding-top: 12px;
  }

  .detail-project-header,
  .results-context-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .results-context-bar > .live-search-progress {
    width: 100%;
  }

  .detail-project-copy p {
    white-space: normal;
  }

  .detail-search-control {
    width: 100%;
    flex-basis: 100%;
  }

  .toolbar-spacer {
    display: none;
  }

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

@media (prefers-reduced-motion: reduce) {
  .live-search-indicator,
  .pending-table-value > span,
  .progressive-skeleton-block,
  .progressive-result-row td {
    animation: none;
  }

  .live-search-track > span {
    transition: none;
  }
}

/* Market Insights visual refinement */
.world-map-image {
  opacity: 0.49;
  filter: sepia(1) hue-rotate(174deg) saturate(0.82) brightness(0.98);
}

.report-distribution-section .distribution-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.report-distribution-section .market-map {
  height: 262px;
  min-height: 262px;
}

.report-distribution-section .distribution-list {
  counter-reset: distribution-rank;
  height: 262px;
  max-height: 262px;
  align-content: start;
  gap: 7px;
  padding: 10px;
  border: 1px solid #e2ebf6;
  border-radius: 8px;
  background: #f7faff;
}

.report-distribution-section .distribution-table-head,
.report-distribution-section .distribution-row {
  grid-template-columns: 24px minmax(0, 1fr) 62px 52px;
}

.report-distribution-section .distribution-table-head {
  height: 28px;
  padding-inline: 8px;
  border-bottom: 0;
  color: #6d7c91;
}

.report-distribution-section .distribution-table-head::before {
  content: "#";
  color: #9aa7b8;
}

.report-distribution-section .distribution-row {
  counter-increment: distribution-rank;
  min-height: 38px;
  padding-inline: 8px;
  border: 1px solid #e7eef7;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 7px rgba(37, 73, 118, 0.035);
}

.report-distribution-section .distribution-row::before {
  content: counter(distribution-rank, decimal-leading-zero);
  color: #9aa7b8;
  font-size: 10px;
}

.report-distribution-section .distribution-row:hover {
  border-color: #cfe0f5;
  background: #fbfdff;
}

.report-characteristics-panel .rank-list {
  gap: 16px;
}

.report-characteristics-panel .rank-row {
  min-height: 24px;
}

.report-characteristics-panel .rank-row i {
  background: #e4edf8;
}

.report-characteristics-panel .rank-row i::before {
  background: var(--blue);
}

.source-distribution-layout {
  display: grid;
  grid-template-columns: 216px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin-top: 14px;
}

.source-panel .source-donut {
  width: 194px;
  height: 194px;
  margin: 0;
  background: conic-gradient(
    #1677ff 0 31%,
    #4a96f4 31% 50%,
    #75b1f2 50% 65%,
    #9bc8f2 65% 76%,
    #bddaf2 76% 85%,
    #d7dee9 85% 92%,
    #6d8fba 92% 100%
  );
}

.source-panel .donut-core {
  width: 116px;
  height: 116px;
}

.source-panel .donut-core strong {
  font-size: 22px;
  font-weight: 600;
}

.source-panel .donut-core span {
  font-size: 11px;
}

.source-panel .source-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 14px;
  margin-top: 0;
}

.source-panel .source-row {
  min-height: 29px;
  padding: 0 8px;
  border: 1px solid #e7eef7;
  border-radius: 6px;
  background: #fbfdff;
  font-size: 11px;
}

.source-panel .source-row i {
  width: 7px;
  height: 7px;
}

@media (max-width: 820px) {
  .source-distribution-layout {
    grid-template-columns: 1fr;
  }

  .source-panel .source-donut {
    margin-inline: auto;
  }

  .report-distribution-section .distribution-layout {
    grid-template-columns: 1fr;
  }

  .report-distribution-section .distribution-list {
    height: auto;
    max-height: none;
  }
}

/* Market Insights density and hierarchy */
.sidebar {
  width: 228px;
  flex-basis: 228px;
}

@media (max-width: 920px) {
  .sidebar {
    width: 58px;
    flex-basis: 58px;
    padding-inline: 7px;
  }
}

.page-header {
  height: 50px;
  padding-inline: 22px;
}

.page-header h1 {
  font-size: 18px;
}

.market-insights-workspace {
  width: min(1540px, calc(100% - 28px));
  padding: 16px 0 36px;
}

.market-search-shell {
  gap: 12px;
  margin-bottom: 20px;
}

.market-search-row {
  grid-template-columns: minmax(260px, 1.15fr) minmax(220px, 0.85fr) 40px auto;
  gap: 12px;
}

.market-search-input {
  height: 40px;
  padding-inline: 12px;
}

.market-search-button {
  width: 40px;
  height: 40px;
  background: var(--blue);
  box-shadow: 0 6px 14px rgba(22, 119, 255, 0.16);
}

.market-filter-strip {
  gap: 7px;
}

.filter-group-label {
  padding-left: 10px;
  font-size: 10px;
}

.market-filter-chip {
  height: 30px;
  padding: 0 12px;
  font-size: 12px;
}

.market-filter-chip.active {
  border-color: var(--blue);
  background: var(--blue);
}

.market-report-panel {
  padding: 20px 22px 26px;
  border-color: var(--border);
  border-radius: 6px;
}

.market-report-panel .market-metric {
  min-height: 66px;
  gap: 5px;
  padding: 10px 14px;
}

.market-report-panel .market-metric span {
  font-size: 12px;
}

.market-report-panel .market-metric strong {
  font-size: 23px;
  font-weight: 600;
}

.signal-area-chart {
  height: 174px;
  margin-top: 6px;
  border-bottom: 0;
  background: transparent;
}

.signal-area-chart::before {
  display: none;
}

.area-fill,
.area-line {
  bottom: 43px;
  height: 112px;
}

.area-fill {
  background: linear-gradient(rgba(22, 119, 255, 0.18), rgba(22, 119, 255, 0.015));
}

.area-line {
  bottom: 42px;
  background: var(--blue);
}

.chart-months {
  bottom: 20px;
  color: #8a94a5;
  font-size: 10px;
}

.chart-legend {
  bottom: 0;
  color: var(--blue-dark);
  font-size: 11px;
}

.chart-legend i {
  width: 7px;
  height: 7px;
  background: var(--blue);
}

.report-distribution-section {
  margin-top: 34px;
}

.report-section-heading {
  gap: 4px;
  margin-bottom: 12px;
}

.report-section-heading span {
  font-size: 12px;
}

.report-section-heading h2 {
  font-size: 19px;
  font-weight: 600;
}

.report-distribution-section .segmented-control {
  top: -2px;
}

.report-distribution-section .distribution-layout {
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 28px;
}

.report-distribution-section .market-map {
  min-height: 262px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #e6eef8;
  border-radius: 6px;
  background: #f8fbff;
}

.report-distribution-section .market-map::before,
.report-distribution-section .market-map::after {
  display: none;
}

.world-map-image {
  width: 92%;
  height: 88%;
  object-fit: contain;
  opacity: 0.48;
  filter: sepia(1) hue-rotate(176deg) saturate(2.6) brightness(1.08);
}

.map-activity {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 2;
  width: var(--size);
  height: var(--size);
  transform: translate(-50%, -50%);
  border: 3px solid rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  background: #67a8f7;
  box-shadow: 0 0 0 5px rgba(22, 119, 255, 0.13);
}

.map-activity.primary {
  background: var(--blue);
  box-shadow: 0 0 0 7px rgba(22, 119, 255, 0.16);
}

.map-activity > span {
  position: absolute;
  left: 50%;
  top: calc(100% + 9px);
  transform: translateX(-50%);
  padding: 4px 7px;
  border: 1px solid #dce8f7;
  border-radius: 4px;
  background: #fff;
  color: var(--blue-dark);
  font-size: 10px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(33, 74, 122, 0.08);
}

.map-key {
  position: absolute;
  left: 12px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 10px;
}

.map-key i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(22, 119, 255, 0.12);
}

.report-distribution-section .distribution-list {
  max-height: 262px;
  padding-left: 20px;
  border-left: 1px solid var(--border);
}

.report-distribution-section .distribution-table-head,
.report-distribution-section .distribution-row {
  grid-template-columns: minmax(0, 1fr) 62px 54px;
  gap: 8px;
}

.report-distribution-section .distribution-table-head {
  height: 32px;
  padding-inline: 8px;
  font-size: 11px;
  font-weight: 500;
}

.report-distribution-section .distribution-row {
  min-height: 40px;
  padding-inline: 8px;
  border-bottom: 1px solid #edf1f6;
  font-size: 12px;
}

.report-distribution-section .distribution-row span:nth-child(2) {
  color: var(--blue-dark);
  font-weight: 500;
}

.report-lower-grid {
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 42px;
}

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

.report-characteristics-panel .rank-panel {
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.report-characteristics-panel .rank-panel h3 {
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 500;
}

.report-characteristics-panel .rank-list {
  gap: 10px;
}

.report-characteristics-panel .rank-row {
  grid-template-columns: minmax(150px, 0.9fr) minmax(120px, 1fr) 48px;
  font-size: 12px;
}

.report-characteristics-panel .rank-row i {
  height: 5px;
  background: #e3edf8;
}

.report-characteristics-panel .rank-row i::before {
  background: #6da8eb;
}

.source-panel {
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.source-panel .report-section-heading {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
}

.source-stack {
  width: 100%;
  height: 8px;
  margin-top: 4px;
  border-radius: 999px;
}

.source-panel .source-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 14px;
}

.source-panel .source-row {
  padding: 0;
  border-bottom: 0;
  color: var(--muted);
  font-size: 12px;
}

.source-panel .source-row strong {
  font-weight: 500;
}

@media (max-width: 1100px) {
  .market-insights-workspace {
    width: calc(100% - 20px);
  }

  .market-search-row {
    grid-template-columns: minmax(220px, 1fr) minmax(190px, 0.75fr) 40px auto;
  }

  .market-report-panel {
    padding-inline: 16px;
  }

  .report-distribution-section .distribution-layout {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 20px;
  }
}

@media (max-width: 820px) {
  .market-search-row,
  .report-distribution-section .distribution-layout,
  .characteristics-columns {
    grid-template-columns: 1fr;
  }

  .market-search-button,
  .clear-all-button {
    display: none;
  }

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

  .market-report-panel .market-metric,
  .market-report-panel .market-metric:nth-child(4) {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .report-distribution-section .segmented-control {
    position: static;
    margin-bottom: 12px;
  }

  .report-distribution-section .distribution-list {
    padding: 0;
    border-left: 0;
  }

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

/* Natural-language monitoring project creation */
.create-project-modal {
  width: min(720px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 26px;
}

.create-project-modal .modal-header {
  margin-bottom: 22px;
}

.create-project-modal .modal-header h2 {
  font-size: 22px;
  font-weight: 600;
}

.create-project-modal .modal-header p {
  max-width: 660px;
  font-size: 13px;
  line-height: 1.5;
}

.project-entity-selector {
  display: grid;
  gap: 9px;
  margin-bottom: 20px;
}

.project-field-label {
  color: var(--muted);
  font-size: 12px;
}

.project-entity-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.project-entity-tab {
  width: 100%;
  min-width: 0;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 15px;
  border: 1px solid #d7e0eb;
  border-radius: 7px;
  background: #fff;
  color: #526174;
  font-size: 13px;
}

.project-entity-tab:hover {
  border-color: #9fc7f7;
  background: #f7fbff;
}

.project-entity-tab.active {
  border-color: #8bbcf5;
  background: #eaf3ff;
  color: #1769c2;
}

.project-entity-tab svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.8;
}

.project-prompt-section {
  display: grid;
  gap: 11px;
}

.project-prompt-control {
  position: relative;
}

.project-prompt-control textarea {
  min-height: 122px;
  max-height: 260px;
  resize: vertical;
  padding: 16px;
  border-color: #d7e0eb;
  border-radius: 7px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
  box-shadow: 0 5px 14px rgba(34, 56, 88, 0.05);
}

.project-prompt-control textarea::placeholder {
  color: #8a95a6;
}

.project-prompt-control textarea[aria-invalid="true"] {
  border-color: #d84d4d;
  box-shadow: 0 0 0 3px rgba(216, 77, 77, 0.1);
}

.project-prompt-control textarea[readonly] {
  cursor: default;
}

.prompt-hints {
  padding-top: 1px;
}

.prompt-hints > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.prompt-hints > div span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 4px;
  background: #f3f6fa;
  color: #657184;
  font-size: 12px;
  line-height: 1.25;
}

.create-project-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
}

.create-project-actions .primary-button {
  width: auto;
  min-width: 170px;
  margin-left: auto;
}

@media (max-width: 680px) {
  .create-project-modal {
    padding: 22px 18px;
  }

  .create-project-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .create-project-actions .primary-button {
    width: 100%;
  }

}

/* Final Market Insights polish */
.world-map-image {
  opacity: 0.49;
  filter: sepia(1) hue-rotate(174deg) saturate(0.82) brightness(0.98);
}

.report-distribution-section .distribution-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.report-distribution-section .market-map {
  height: 262px;
  min-height: 262px;
}

.report-distribution-section .distribution-list {
  counter-reset: distribution-rank;
  height: 262px;
  max-height: 262px;
  align-content: start;
  gap: 7px;
  padding: 10px;
  border: 1px solid #e2ebf6;
  border-radius: 8px;
  background: #f7faff;
}

.report-distribution-section .distribution-table-head,
.report-distribution-section .distribution-row {
  grid-template-columns: 24px minmax(0, 1fr) 62px 52px;
}

.report-distribution-section .distribution-table-head {
  height: 28px;
  padding-inline: 8px;
  border-bottom: 0;
  color: #6d7c91;
}

.report-distribution-section .distribution-table-head::before {
  content: "#";
  color: #9aa7b8;
}

.report-distribution-section .distribution-row {
  counter-increment: distribution-rank;
  min-height: 38px;
  padding-inline: 8px;
  border: 1px solid #e7eef7;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 7px rgba(37, 73, 118, 0.035);
}

.report-distribution-section .distribution-row::before {
  content: counter(distribution-rank, decimal-leading-zero);
  color: #9aa7b8;
  font-size: 10px;
}

.report-distribution-section .distribution-row:hover {
  border-color: #cfe0f5;
  background: #fbfdff;
}

.report-characteristics-panel .rank-list {
  gap: 16px;
}

.report-characteristics-panel .rank-row {
  min-height: 24px;
}

.report-characteristics-panel .rank-row i {
  background: #e4edf8;
}

.report-characteristics-panel .rank-row i::before {
  background: var(--blue);
}

.source-distribution-layout {
  display: grid;
  grid-template-columns: 216px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin-top: 14px;
}

.source-panel .source-donut {
  width: 194px;
  height: 194px;
  margin: 0;
  background: conic-gradient(
    #1677ff 0 31%,
    #4a96f4 31% 50%,
    #75b1f2 50% 65%,
    #9bc8f2 65% 76%,
    #bddaf2 76% 85%,
    #d7dee9 85% 92%,
    #6d8fba 92% 100%
  );
}

.source-panel .donut-core {
  width: 116px;
  height: 116px;
}

.source-panel .donut-core strong {
  font-size: 22px;
  font-weight: 600;
}

.source-panel .donut-core span {
  font-size: 11px;
}

.source-panel .source-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 14px;
  margin-top: 0;
}

.source-panel .source-row {
  min-height: 29px;
  padding: 0 8px;
  border: 1px solid #e7eef7;
  border-radius: 6px;
  background: #fbfdff;
  font-size: 11px;
}

.source-panel .source-row i {
  width: 7px;
  height: 7px;
}

@media (max-width: 820px) {
  .source-distribution-layout {
    grid-template-columns: 1fr;
  }

  .source-panel .source-donut {
    margin-inline: auto;
  }

  .report-distribution-section .distribution-layout {
    grid-template-columns: 1fr;
  }

  .report-distribution-section .distribution-list {
    height: auto;
    max-height: none;
  }
}
