:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #17283a;
  background: #f5f7fa;
  font-synthesis: none;
  --nav: #101e2d;
  --yellow: #ddfa57;
  --line: #e4e9ee;
  --muted: #687887;
  --blue: #244fab;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.5;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #558eff;
}
a {
  color: var(--blue);
}
button {
  border: 0;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(25px, 2.6vw, 36px);
  letter-spacing: -1.1px;
  line-height: 1.2;
  margin-bottom: 12px;
}
h2 {
  font-size: 20px;
  letter-spacing: -0.4px;
  margin-bottom: 6px;
}
h3 {
  font-size: 17px;
}
p {
  color: var(--muted);
}
small {
  font-size: 12px;
}
.hidden {
  display: none !important;
}
.shell {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: var(--nav);
  color: #dae5ee;
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 32px 18px 22px;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  color: white;
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -0.7px;
  padding: 0 7px;
}
.brand-icon {
  display: inline-grid;
  place-items: center;
  background: var(--yellow);
  color: #172536;
  border-radius: 12px;
  min-width: 39px;
  height: 39px;
  font-weight: 850;
  font-size: 27px;
  letter-spacing: -2px;
}
.brand-light {
  font-weight: 400;
}
.brand small {
  display: block;
  letter-spacing: 1.4px;
  font-size: 8px;
  color: #95a5b7;
  margin-top: 3px;
}
.workspace-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #8596a7;
  margin: 49px 13px 15px;
}
.nav {
  width: 100%;
  display: flex;
  gap: 12px;
  align-items: center;
  text-align: left;
  background: none;
  color: #aebdca;
  font-size: 14px;
  padding: 12px 14px;
  border-radius: 7px;
  margin-bottom: 6px;
}
.nav > span:first-child {
  font-size: 22px;
  width: 23px;
  line-height: 1;
}
.nav.active {
  background: #293a35;
  color: var(--yellow);
}
.nav:hover {
  background: #213142;
}
.count {
  margin-left: auto;
  background: #405147;
  font-size: 11px;
  border-radius: 4px;
  padding: 0 6px;
}
.sidebar-bottom {
  margin-top: auto;
  display: flex;
  gap: 10px;
  align-items: center;
  border-top: 1px solid #2a3644;
  padding: 24px 5px 0;
  font-size: 14px;
}
.sidebar-bottom small {
  display: block;
  color: #90a1b1;
}
.sidebar-bottom button {
  margin-left: auto;
  background: none;
  color: #9badbd;
  font-size: 23px;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: #2e4153;
  color: #d8e5f1;
  font-size: 12px;
}
.avatar.small {
  background: #e7edf4;
  color: #37546d;
  width: 31px;
  height: 31px;
}
.topbar {
  height: 76px;
  background: white;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  font-size: 13px;
}
.breadcrumb {
  color: #8b98a5;
}
.separator {
  margin: 0 14px;
  color: #c2ccd5;
}
.top-actions {
  display: flex;
  gap: 20px;
  align-items: center;
}
.edition {
  font-size: 11px;
  color: #7a8795;
  letter-spacing: 1.2px;
}
.page {
  padding: 38px;
  max-width: 1650px;
  margin: auto;
}
.page-heading {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 27px;
}
.page-heading p {
  font-size: 14px;
  margin: 0;
}
.eyebrow {
  font-size: 10px;
  color: #708094;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.primary,
.secondary {
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.primary {
  background: var(--nav);
  color: white;
}
.primary:hover {
  background: #304964;
}
.secondary {
  border: 1px solid #d9e1e8;
  background: white;
  color: #33495b;
}
.secondary:hover {
  background: #f1f5fa;
}
.campaign {
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  margin-bottom: 24px;
  gap: 15px;
}
.campaign > div:first-child {
  display: flex;
  gap: 15px;
  align-items: center;
}
.campaign-icon {
  color: #527146;
  background: #f0f7dd;
  border: 1px solid #dfebbd;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 24px;
  border-radius: 8px;
}
.campaign label {
  font-size: 11px;
  color: #7c8896;
}
.campaign select {
  display: block;
  border: 0;
  background: white;
  padding: 0 25px 0 0;
  font-size: 15px;
  color: #24354a;
  font-weight: 600;
}
.mode-switch {
  display: flex;
  background: #f1f4f7;
  border-radius: 7px;
  padding: 4px;
}
.mode-switch button {
  background: transparent;
  color: #6b7a8a;
  padding: 7px 11px;
  border-radius: 5px;
  font-size: 12px;
}
.mode-switch button.selected {
  background: white;
  color: #263b52;
  box-shadow: 0 1px 4px #23354b13;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.stats article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 18px 20px;
}
.stats span {
  display: block;
  font-size: 12px;
  color: #657588;
}
.stats strong {
  display: block;
  font-size: 34px;
  line-height: 1.4;
  letter-spacing: -1px;
  font-weight: 650;
}
.stats small {
  color: #85929f;
  font-size: 11px;
}
.search-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
  gap: 20px;
}
.search-panel p {
  font-size: 12px;
  margin: 5px 0 0;
}
.search-panel form {
  display: flex;
  gap: 8px;
}
.search-panel .primary {
  background: var(--yellow);
  color: #233228;
  border: 1px solid #c8e744;
}
.pill {
  display: inline-block;
  background: #ecf1f5;
  border-radius: 5px;
  font-size: 11px;
  padding: 2px 7px;
  margin-left: 5px;
  color: #6b7c8d;
  vertical-align: middle;
  letter-spacing: 0;
}
select,
input,
textarea {
  border: 1px solid #dce3ea;
  border-radius: 6px;
  background: white;
  padding: 9px 11px;
  color: #31455b;
  max-width: 100%;
  font-size: 14px;
}
textarea {
  width: 100%;
  resize: vertical;
  line-height: 1.5;
}
.table-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
}
.filters {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 17px;
}
.filters select {
  font-size: 12px;
  min-width: 0;
}
.search-input {
  position: relative;
  flex: 1;
  min-width: 160px;
}
.search-input span {
  position: absolute;
  top: 1px;
  left: 12px;
  font-size: 28px;
  color: #8c9ba9;
}
.search-input input {
  padding-left: 37px;
  width: 100%;
  font-size: 12px;
}
.filters .secondary {
  font-size: 12px;
  padding: 9px 12px;
}
.table-scroll {
  overflow: auto;
}
table {
  border-collapse: collapse;
  text-align: left;
  width: 100%;
}
th {
  font-size: 9px;
  letter-spacing: 1px;
  font-weight: 600;
  color: #8b97a3;
  background: #fafbfc;
  padding: 13px 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
td {
  padding: 20px;
  border-bottom: 1px solid #edf0f3;
  font-size: 13px;
}
tr:last-child td {
  border-bottom: none;
}
tbody tr:hover {
  background: #fafcff;
}
.company {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 190px;
}
.company-mark {
  min-width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #456388;
  background: #edf2f7;
  border-radius: 8px;
  border: 1px solid #e1e8ef;
}
.company button {
  padding: 0;
  background: transparent;
  text-align: left;
  font-weight: 650;
  color: #253b52;
  line-height: 1.4;
}
.company small {
  display: block;
  font-size: 11px;
  margin-top: 4px;
  color: #8c98a4;
}
.score-group {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.score-badge {
  font-size: 14px;
  font-weight: 750;
  border-radius: 7px;
  padding: 5px 9px;
  background: #f0f3f6;
  color: #62778b;
  min-width: 38px;
  text-align: center;
}
.score-badge.high {
  background: #edf6d9;
  color: #426922;
}
.score-badge.medium {
  background: #eaf1fc;
  color: #3a65a1;
}
.score-group small {
  font-size: 10px;
  color: #8a98a4;
}
.signal-chip {
  font-size: 10px;
  padding: 4px 7px;
  background: #f4f6f8;
  color: #647589;
  border-radius: 4px;
  display: inline-block;
  margin: 2px 3px 2px 0;
}
.status {
  font-size: 10px;
  border-radius: 20px;
  padding: 5px 9px;
  background: #f3f5f8;
  color: #748296;
  white-space: nowrap;
}
.status.selected {
  background: #edf1fc;
  color: #4f66a8;
}
.status.meeting {
  background: #edf7ed;
  color: #397b52;
}
.row-open {
  background: none;
  color: #9ba9b6;
  font-size: 20px;
}
.table-footer {
  padding: 13px 20px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  background: #fcfdfe;
  border-top: 1px solid var(--line);
  color: #8a98a4;
  font-size: 11px;
}
.bottom-note {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
  color: #8b9da4;
}
.bottom-note > span {
  font-size: 24px;
}
.bottom-note p {
  font-size: 11px;
  margin: 0;
  color: #8b98a4;
}
.bottom-note strong {
  font-weight: 600;
  color: #6e7f8e;
}
.empty {
  padding: 65px 25px;
  text-align: center;
}
.empty-icon {
  font-size: 40px;
  color: #829587;
}
.empty h3 {
  margin: 12px 0 7px;
}
.empty p {
  font-size: 14px;
  max-width: 470px;
  margin: 0 auto 22px;
}
.notice {
  border: 1px solid #e6dba9;
  background: #fff9e7;
  color: #84702f;
  padding: 12px 16px;
  border-radius: 6px;
  margin: 0 0 20px;
  font-size: 13px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin: 28px 0 10px;
}
.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 20px;
  margin-top: 25px;
}
.profile-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 25px;
}
.profile-card p {
  font-size: 14px;
}
.profile-card .secondary {
  margin-top: 12px;
}
.job {
  padding: 18px 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 12px;
}
.job-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.job p {
  font-size: 13px;
  margin: 8px 0 0;
}
.job small {
  color: var(--muted);
}
.activity-bar {
  margin-top: 20px;
  border: 1px solid #dce5f7;
  background: #eef4fe;
  color: #48618f;
  border-radius: 7px;
  padding: 12px 16px;
  font-size: 13px;
}
.login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--nav);
}
.login-card {
  width: min(430px, 92vw);
  padding: 35px;
  background: white;
  border-radius: 15px;
}
.login-card .brand-icon {
  margin-bottom: 20px;
}
.login-card button {
  width: 100%;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 500;
}
label > input,
label > select,
label > textarea {
  display: block;
  width: 100%;
  margin: 6px 0 16px;
}
dialog {
  border: 1px solid var(--line);
  padding: 28px;
  border-radius: 13px;
  width: min(520px, calc(100% - 24px));
  max-height: 90vh;
  box-shadow: 0 20px 90px #07132535;
  color: #243a4e;
}
dialog::backdrop {
  background: #09182975;
  backdrop-filter: blur(3px);
}
.dialog-heading {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
}
.dialog-heading h2 {
  font-size: 24px;
}
.icon-button {
  background: transparent;
  font-size: 25px;
  line-height: 1;
  color: #7b8c9d;
  padding: 3px 5px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.form-error {
  color: #b33838;
  font-size: 14px;
  margin-top: 12px;
}
.detail-dialog {
  width: min(960px, calc(100% - 24px));
}
.detail-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  margin: 12px 0 25px;
  color: #6a7e91;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 27px;
}
.detail-summary {
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 9px;
  background: #f8fafc;
  margin-bottom: 20px;
}
.detail-summary strong {
  font-size: 38px;
}
.detail-summary p {
  font-size: 13px;
  margin: 6px 0;
}
.signal-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  margin: 10px 0;
}
.signal-card h3 {
  font-size: 14px;
  margin: 0;
}
.signal-card p {
  font-size: 13px;
  margin: 10px 0;
  overflow-wrap: anywhere;
}
.signal-card .signal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.signal-card label {
  font-size: 12px;
}
.signal-card input {
  margin-bottom: 8px;
}
.signal-card textarea {
  font-size: 13px;
  margin: 8px 0;
}
.signal-card .secondary {
  font-size: 12px;
  padding: 6px 9px;
}
.verified {
  color: #3e792e;
}
.candidate {
  color: #aa791c;
}
.muted {
  font-size: 13px;
  color: var(--muted);
}
.brief {
  font-size: 14px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #4d6377;
  line-height: 1.7;
}
.detail-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 15px 0;
}
.profile-dialog {
  width: min(780px, calc(100% - 24px));
}
.rule-row {
  display: grid;
  grid-template-columns: 1.2fr 70px 1.4fr 26px;
  gap: 8px;
  margin: 10px 0;
  align-items: end;
}
.rule-row label {
  font-size: 11px;
}
.rule-row input {
  margin-bottom: 0;
  font-size: 13px;
}
.dialog-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  padding: 14px 22px;
  background: #1c3447;
  color: white;
  border-radius: 8px;
  box-shadow: 0 7px 30px #0002;
  z-index: 100;
  max-width: calc(100vw - 30px);
  font-size: 14px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (min-width: 1500px) {
  .page {
    padding: 46px 50px;
  }
  td {
    padding-top: 23px;
    padding-bottom: 23px;
  }
}
@media (max-width: 1150px) {
  .shell {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .sidebar {
    padding: 28px 12px;
  }
  .brand {
    font-size: 17px;
  }
  .brand-icon {
    min-width: 33px;
    height: 33px;
    font-size: 24px;
  }
  .brand small {
    font-size: 7px;
  }
  .page {
    padding: 27px;
  }
  .topbar {
    padding: 0 27px;
  }
  .filters {
    flex-wrap: wrap;
  }
  .search-input {
    flex-basis: 100%;
  }
  .stats {
    gap: 10px;
  }
  .stats article {
    padding: 14px;
  }
  .stats small {
    font-size: 10px;
  }
  .search-panel {
    align-items: flex-start;
  }
  .search-panel form {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  td,
  th {
    padding-left: 15px;
    padding-right: 15px;
  }
}
@media (max-width: 760px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: static;
    width: 100%;
    height: auto;
    padding: 15px;
    display: block;
  }
  .brand {
    font-size: 21px;
  }
  .brand small,
  .workspace-label,
  .sidebar-bottom {
    display: none;
  }
  .sidebar nav {
    display: flex;
    margin-top: 15px;
    overflow: auto;
    gap: 5px;
  }
  .nav {
    width: auto;
    white-space: nowrap;
    padding: 8px;
    font-size: 12px;
    margin: 0;
  }
  .nav > span:first-child {
    display: none;
  }
  .count {
    display: none;
  }
  .topbar {
    height: 49px;
    padding: 0 18px;
  }
  .page {
    padding: 24px 16px;
  }
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .page-heading .primary {
    align-self: stretch;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 23px;
  }
  .stats small {
    font-size: 11px;
  }
  .stats span {
    font-size: 12px;
  }
  .campaign {
    flex-direction: column;
    align-items: stretch;
  }
  .mode-switch {
    justify-content: center;
  }
  .mode-switch button {
    flex: 1;
  }
  .search-panel {
    display: block;
  }
  .search-panel form {
    justify-content: flex-start;
    margin-top: 15px;
  }
  .filters {
    padding: 12px;
    gap: 7px;
  }
  .filters select {
    flex: 1;
    font-size: 12px;
  }
  .filters select:last-of-type {
    flex-basis: 38%;
  }
  .table-footer {
    font-size: 10px;
  }
  .table-footer span:last-child {
    display: none;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .detail-dialog {
    padding: 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .rule-row {
    grid-template-columns: 1fr 65px 26px;
  }
  .rule-row label:nth-child(3) {
    grid-column: 1/3;
    grid-row: 2;
  }
  .rule-row button {
    grid-column: 3;
    grid-row: 1;
  }
  .profile-grid {
    grid-template-columns: 1fr;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .bottom-note p {
    font-size: 12px;
  }
  .table-scroll table {
    min-width: 680px;
  }
}

.pagination {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pagination button {
  background: transparent;
  color: #37516b;
  font-size: 18px;
}
.pagination button:disabled {
  opacity: 0.3;
  cursor: default;
}
.pagination span {
  display: inline !important;
}
.brand small,
.workspace-label,
.eyebrow,
.edition {
  font-size: 12px;
  letter-spacing: 0.7px;
}
.stats span,
.stats small,
.search-panel p,
.filters select,
.search-input input,
.filters .secondary,
.campaign label,
.mode-switch button,
.table-footer,
.bottom-note p,
.signal-chip,
.company small,
.score-group small,
.status {
  font-size: 14px;
}
.stats article {
  padding: 18px;
}
.stats strong {
  font-size: 36px;
}
th {
  font-size: 12px;
  letter-spacing: 0.5px;
}
td {
  font-size: 14px;
}
.signal-form label,
.rule-row label,
.signal-card .secondary {
  font-size: 14px;
}
.signal-card textarea {
  font-size: 14px;
}
.company-mark {
  font-size: 14px;
}

/* Research workspace: calm surface, contact-first reports, explicit source coverage. */
:root {
  --nav: #163c35;
  --yellow: #d6ef9d;
  --blue: #245f50;
  --line: #dfe4dc;
  --muted: #627169;
  color: #263d34;
  background: #f7f8f2;
}
body {
  background: #f7f8f2;
}
.sidebar {
  background: #163c35;
}
.page {
  max-width: 1600px;
  margin: auto;
}
.page-heading h1 {
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -1.1px;
  font-weight: 650;
  max-width: 760px;
}
.page-heading .eyebrow {
  color: #547464;
  letter-spacing: 2px;
}
.primary {
  background: #235b48;
  color: white;
  border-color: #235b48;
  border-radius: 10px;
}
.primary:hover {
  background: #174a39;
}
.secondary {
  border-radius: 9px;
  background: #fff;
}
.campaign {
  background: #ecf1e6;
  border: 0;
  border-radius: 14px;
}
.search-panel {
  margin-top: 26px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 16px;
}
.source-health {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  background: #fff6e3;
  border: 1px solid #eddfbb;
  padding: 14px 18px;
  margin: 16px 0;
  border-radius: 12px;
  font-size: 14px;
  color: #615337;
}
.source-health span {
  flex: 1;
  min-width: 180px;
}
.research-toolbar {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
}
.research-toolbar p {
  font-size: 14px;
  color: var(--muted);
}
.stats {
  gap: 12px;
}
.stats article {
  box-shadow: none;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.table-card {
  border-radius: 16px;
  box-shadow: 0 6px 24px #173c3505;
}
table td {
  vertical-align: top;
  padding-top: 23px;
  padding-bottom: 23px;
}
table td:nth-child(1) {
  min-width: 210px;
  max-width: 280px;
}
table td:nth-child(2) {
  min-width: 240px;
  max-width: 340px;
}
table td:nth-child(3) {
  min-width: 190px;
  max-width: 260px;
}
table td small {
  display: block;
  margin-top: 6px;
  line-height: 1.5;
  color: var(--muted);
  font-size: 13px;
}
table td a {
  font-size: 14px;
  color: #27684e;
  overflow-wrap: anywhere;
}
.company-name {
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0;
  color: #1d4637;
  font-size: 17px;
  font-weight: 650;
}
.signal-list {
  margin-top: 10px;
}
.signal-chip {
  background: #eef3e9;
  color: #426449;
  border: 0;
  font-size: 12px;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-wrap: anywhere;
}
.contact-links a {
  font-weight: 550;
  color: #246c50;
  text-decoration: none;
}
.contact-links a:hover {
  text-decoration: underline;
}
.detail-dialog {
  width: min(1180px, 96vw);
  max-width: 1180px;
  background: #fbfcf8;
}
.dialog-heading h2 {
  font-size: 30px;
  letter-spacing: -0.7px;
}
.dialog-heading p {
  margin: 7px 0;
  color: var(--muted);
}
.report-verdict {
  display: flex;
  gap: 28px;
  justify-content: space-between;
  background: #e8efdf;
  padding: 24px;
  border-radius: 14px;
  margin-bottom: 16px;
}
.report-verdict h3 {
  font-size: 24px;
  margin: 7px 0;
}
.report-verdict p {
  max-width: 700px;
  margin: 0;
}
.report-verdict > div:last-child {
  min-width: 160px;
  text-align: right;
}
.report-verdict strong {
  font-size: 42px;
  display: block;
  font-weight: 600;
}
.report-verdict strong small {
  font-size: 16px;
  font-weight: 400;
}
.report-verdict span {
  font-size: 12px;
}
.research-status {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px 0;
  font-size: 14px;
  color: #5c7164;
  border-bottom: 1px solid var(--line);
}
.detail-grid {
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 30px;
}
.detail-grid > aside {
  background: #f0f3eb;
  border-radius: 12px;
  padding: 20px;
  align-self: start;
}
.detail-grid > aside li {
  margin-bottom: 8px;
  font-size: 14px;
}
.detail-grid > section > h3 {
  margin-top: 28px;
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}
.facts-grid article {
  padding: 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow-wrap: anywhere;
}
.facts-grid p {
  margin: 6px 0;
}
.facts-grid small,
.facts-grid a {
  font-size: 12px;
  color: var(--muted);
}
.evidence {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.evidence > div {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}
.evidence blockquote {
  margin: 12px 0;
  padding-left: 14px;
  border-left: 3px solid #b8cc97;
  font-size: 14px;
  color: #526353;
}
.evidence a {
  font-size: 13px;
}
.coverage-note {
  background: #fff6e3;
  padding: 16px;
  border-radius: 10px;
  font-size: 14px;
  margin: 20px 0;
}
.source-list {
  padding-left: 20px;
  overflow-wrap: anywhere;
}
.source-error {
  font-size: 13px;
  color: #a05035;
  overflow-wrap: anywhere;
}
.manual-review {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 24px;
}
summary {
  cursor: pointer;
  font-weight: 600;
}
@media (max-width: 800px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .report-verdict {
    flex-direction: column;
  }
  .report-verdict > div:last-child {
    text-align: left;
  }
  .research-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .facts-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .table-scroll {
    overflow: visible;
  }
  .table-scroll table {
    display: block;
    min-width: 0;
    width: 100%;
  }
  .table-scroll thead {
    display: none;
  }
  #lead-rows {
    display: grid;
    gap: 14px;
    padding: 12px;
  }
  #lead-rows tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px;
    background: white;
  }
  #lead-rows td {
    display: block;
    width: auto;
    min-width: 0;
    padding: 8px 0;
    border: 0;
    overflow-wrap: anywhere;
  }
  #lead-rows td:nth-child(1),
  #lead-rows td:nth-child(2),
  #lead-rows td:nth-child(3) {
    grid-column: 1 / -1;
    width: auto;
  }
  #lead-rows td:nth-child(5) {
    text-align: right;
  }
  #lead-rows .company-name {
    font-size: 19px;
  }
  #lead-rows .signal-list {
    margin-top: 8px;
  }
  #lead-rows td:nth-child(3) {
    border-top: 1px solid var(--line);
    margin-top: 8px;
    padding-top: 14px;
  }
}
