:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f7f7f4;
  color: #111111;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

main {
  margin: 0 auto;
  max-width: 1060px;
  padding: 24px;
}

a {
  color: inherit;
}

.hero {
  background: #111111;
  border-radius: 8px;
  color: #ffffff;
  min-height: 460px;
  padding: 48px;
}

.eyebrow {
  color: #06c167;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 18px;
}

.siteVerification {
  color: #b8b8b8;
  font-size: 12px;
  font-weight: 700;
  margin: -8px 0 18px;
}

h1 {
  font-size: clamp(38px, 8vw, 76px);
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0;
  max-width: 820px;
}

.lede {
  color: #d7d7d7;
  font-size: 19px;
  font-weight: 650;
  line-height: 1.5;
  margin: 26px 0 0;
  max-width: 640px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  align-items: center;
  background: #06c167;
  border-radius: 8px;
  color: #000000;
  display: inline-flex;
  font-weight: 900;
  min-height: 46px;
  padding: 0 18px;
  text-decoration: none;
}

.button.secondary {
  background: #ffffff;
}

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

article {
  background: #ffffff;
  border-radius: 8px;
  padding: 20px;
}

h2 {
  font-size: 18px;
  margin: 0 0 9px;
}

article p,
.document p,
.panel p,
.checks {
  color: #4f4f4f;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  margin: 0;
}

.panel {
  align-items: start;
  background: #ffffff;
  border-radius: 8px;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
  margin-top: 18px;
  padding: 24px;
}

.panel.compact {
  align-items: center;
}

.panel h2 {
  font-size: 28px;
  line-height: 1.1;
  margin-bottom: 12px;
  max-width: 560px;
}

.dark {
  color: #127a48;
}

.checks {
  list-style: none;
  padding: 0;
}

.checks li {
  border-bottom: 1px solid #ecece8;
  padding: 10px 0;
}

.checks li:first-child {
  padding-top: 0;
}

.statusBand {
  align-items: start;
  background: #e8f8ee;
  border: 1px solid #c7ebd5;
  border-radius: 8px;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
  margin-top: 18px;
  padding: 24px;
}

.statusBand h2 {
  font-size: 28px;
  line-height: 1.1;
  margin-bottom: 12px;
  max-width: 560px;
}

.statusBand p {
  color: #365141;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.55;
  margin: 0;
}

.statusList {
  display: grid;
  gap: 12px;
  margin: 0;
}

.statusList div {
  border-bottom: 1px solid #bfe4cd;
  padding-bottom: 12px;
}

.statusList dt {
  color: #127a48;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.statusList dd {
  color: #111111;
  font-size: 15px;
  font-weight: 900;
  margin: 0;
}

.contactBox {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contactBox p {
  color: #111111;
  font-weight: 900;
}

.emailCard {
  background: #ffffff;
  border-radius: 8px;
  margin-top: 22px;
  padding: 18px;
}

.emailLabel {
  color: #4f4f4f;
  font-size: 13px;
  font-weight: 900;
  margin: 0;
}

.emailRow {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.emailAddress {
  color: #111111;
  font-size: 18px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.iconButton {
  align-items: center;
  background: #06c167;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.iconButton svg {
  fill: none;
  height: 19px;
  stroke: #000000;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 19px;
}

.gmailButton {
  background: #ffffff;
  border: 1px solid #d8d8d2;
}

.gmailButton svg {
  stroke: #c5221f;
}

.copyStatus {
  color: #127a48;
  font-size: 13px;
  font-weight: 900;
  min-height: 18px;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 22px;
}

.links a,
.back {
  color: #111111;
  font-size: 14px;
  font-weight: 900;
}

.document {
  max-width: 760px;
  padding-top: 48px;
}

.document h1 {
  font-size: 44px;
  line-height: 1.05;
  margin-top: 28px;
}

.document h2 {
  margin-top: 26px;
}

.document p {
  margin-top: 12px;
}

.reviewApp {
  max-width: 1280px;
}

.reviewHeader {
  align-items: end;
  background: #ffffff;
  border-radius: 8px;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 24px;
}

.reviewHeader h1 {
  color: #111111;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.darkLede {
  color: #4f4f4f;
  max-width: 680px;
}

.reviewStats {
  display: flex;
  gap: 10px;
}

.reviewStats div {
  background: #e8f8ee;
  border: 1px solid #c7ebd5;
  border-radius: 8px;
  min-width: 104px;
  padding: 12px;
}

.reviewStats span {
  display: block;
  font-size: 26px;
  font-weight: 900;
}

.reviewStats small {
  color: #365141;
  font-size: 12px;
  font-weight: 900;
}

.reviewToolbar {
  background: #111111;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(220px, 1fr) 180px 180px;
  margin-top: 14px;
  padding: 14px;
}

.pastePromoteBar {
  background: #06c167;
  border-radius: 8px;
  margin-top: 14px;
  padding: 14px;
}

.pastePromoteLabel {
  color: #000000;
  display: grid;
  font-size: 13px;
  font-weight: 900;
  gap: 8px;
}

.pastePromoteRow {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.pastePromoteBar input {
  border-color: #000000;
}

.pastePromoteBar .button {
  background: #000000;
  color: #ffffff;
  white-space: nowrap;
}

.pastePromoteHint {
  color: #053b22;
  font-size: 12px;
  font-weight: 700;
  margin: 8px 0 0;
}

.reviewToolbar label,
.verifyForm label {
  color: #4f4f4f;
  display: grid;
  font-size: 12px;
  font-weight: 900;
  gap: 6px;
}

.reviewToolbar label {
  color: #ffffff;
}

input,
select,
textarea {
  background: #ffffff;
  border: 1px solid #d8d8d2;
  border-radius: 8px;
  color: #111111;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  min-height: 42px;
  padding: 9px 10px;
  width: 100%;
}

.reviewGrid {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  margin-top: 18px;
}

.candidatePane,
.verifyPane {
  background: #ffffff;
  border-radius: 8px;
  padding: 14px;
}

.reviewTabs {
  background: #f7f7f4;
  border: 1px solid #ecece8;
  border-radius: 8px;
  display: grid;
  gap: 6px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 12px;
  padding: 5px;
}

.reviewTab {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: #4f4f4f;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  min-height: 34px;
}

.reviewTab.active {
  background: #111111;
  color: #ffffff;
}

.candidateList {
  display: grid;
  gap: 10px;
}

.candidateCard {
  background: #ffffff;
  border: 1px solid #e2e2dc;
  border-radius: 8px;
  cursor: pointer;
  display: grid;
  gap: 6px;
  padding: 12px;
  text-align: left;
}

.candidateCard button,
.candidateCard a {
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  min-height: 30px;
  padding: 0 10px;
}

.candidateCard a {
  align-items: center;
  background: #111111;
  color: #ffffff;
  display: inline-flex;
  text-decoration: none;
}

.candidateCard button {
  background: #e8f8ee;
  color: #111111;
}

.candidateCard button:disabled {
  background: #eeeeee;
  color: #777777;
  cursor: not-allowed;
}

.candidateCard.selected {
  border-color: #06c167;
  box-shadow: 0 0 0 2px #d7f4e4;
}

.candidateTopline,
.verifyHeader,
.exportHeader {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.candidateTopline strong {
  color: #127a48;
  font-size: 13px;
}

.candidateTopline span {
  background: #111111;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  padding: 4px 8px;
}

.candidateTitle {
  color: #111111;
  font-size: 15px;
  font-weight: 900;
}

.candidateMeta,
.candidateQuery,
.emptyCandidate {
  color: #4f4f4f;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.4;
}

.candidateQuery {
  overflow-wrap: anywhere;
}

.candidateActions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
}

.candidateActions span {
  color: #4f4f4f;
  font-size: 12px;
  font-weight: 900;
}

.hidden {
  display: none;
}

.verifyPane {
  position: sticky;
  top: 14px;
}

.verifyPane.collapsed {
  background: #f7f7f4;
}

.emptySelection {
  border: 1px dashed #d8d8d2;
  border-radius: 8px;
  padding: 18px;
}

.emptySelection h2 {
  color: #111111;
  font-size: 22px;
  margin-bottom: 6px;
}

.emptySelection p {
  color: #4f4f4f;
  font-weight: 750;
  line-height: 1.4;
}

.selectedLeadMeta {
  color: #4f4f4f;
  font-size: 13px;
  font-weight: 800;
  margin-top: 6px;
}

.verifyForm {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.aiFillBox {
  background: #f7f7f4;
  border: 1px solid #ecece8;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.aiFillBox textarea {
  min-height: 96px;
}

.formGrid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}

.smallButton {
  align-items: center;
  background: #111111;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  min-height: 36px;
  padding: 0 12px;
  text-decoration: none;
}

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

.promotePrimaryActions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.promotePrimaryActions .button {
  width: 100%;
}

.textAction {
  background: transparent;
  border: 0;
  color: #4f4f4f;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  padding: 0;
  text-align: left;
  text-decoration: underline;
}

.manualEditHint {
  color: #4f4f4f;
  font-size: 13px;
  font-weight: 700;
  margin: 0;
}

.manualSaveActions {
  grid-template-columns: 1.4fr 0.8fr;
}

.advancedFields {
  background: #f7f7f4;
  border: 1px solid #ecece8;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 12px;
}

.advancedFields summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.advancedFields[open] summary {
  margin-bottom: 4px;
}

.publishActions .button {
  border: 0;
  cursor: pointer;
  justify-content: center;
}

.publishActions .button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.qualityPanel {
  background: #ffffff;
  border: 1px solid #ecece8;
  border-radius: 8px;
  margin-top: 14px;
  padding: 12px;
}

.qualityHeader {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.qualityHeader h2 {
  margin: 0;
}

.qualityHeader span {
  background: #111111;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  padding: 5px 9px;
}

.qualityList {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.qualityItem {
  align-items: center;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
}

.qualityItem.ok {
  background: #e8f8ee;
  border-color: #c7ebd5;
}

.qualityItem span {
  color: #9a3412;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.qualityItem.ok span {
  color: #127a48;
}

.qualityItem strong {
  color: #111111;
  font-size: 12px;
  font-weight: 900;
  text-align: right;
}

@media (max-width: 760px) {
  main {
    padding: 14px;
  }

  .hero {
    min-height: auto;
    padding: 28px;
  }

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

  .panel,
  .statusBand,
  .reviewHeader,
  .reviewToolbar,
  .pastePromoteRow,
  .reviewGrid,
  .formGrid,
  .publishActions {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .reviewStats {
    flex-wrap: wrap;
  }

  .verifyPane {
    position: static;
  }

  .emailRow {
    align-items: stretch;
    flex-direction: column;
  }

  .iconButton {
    height: 42px;
    width: 42px;
  }
}
