.theme-harbor :is(
  .fieldMarker,
  .esafe-um-help-trigger,
  .esafe-um-online-help-link,
  .esafe-um-status-help,
  .esafe-sam-help-trigger,
  .esafe-everify-help-link
) {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 0 0 2px !important;
  padding: 0 2px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font: 900 18px/1 "Inter", system-ui, sans-serif !important;
  text-decoration: none !important;
  vertical-align: 0.12em !important;
}

.theme-harbor .fieldMarker.required,
.theme-harbor :is(.esafe-um-help-required, .esafe-sam-help-required) {
  color: #8e021c !important;
}

.theme-harbor .fieldMarker.optional,
.theme-harbor :is(.esafe-um-help-optional, .esafe-sam-help-optional, .esafe-um-online-help-link, .esafe-um-status-help) {
  color: #7a7a7a !important;
}

.theme-harbor :is(
  .fieldMarker,
  .esafe-um-help-trigger,
  .esafe-um-online-help-link,
  .esafe-um-status-help,
  .esafe-sam-help-trigger,
  .esafe-everify-help-link
):is(:hover, :focus-visible) {
  border: 0 !important;
  background: transparent !important;
  color: #d8677d !important;
  box-shadow: none !important;
  outline: 0 !important;
  text-shadow: 0 0 1px currentColor !important;
}

.theme-harbor .esafeContactTrap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.theme-harbor .policyContent {
  max-width: 860px;
}

.theme-harbor .policyContent h2 {
  margin: 32px 0 12px;
}

.theme-harbor .policyNotice {
  margin: 0 0 32px;
  padding: 20px;
}

.theme-harbor .policyNotice strong {
  display: block;
  margin-bottom: 8px;
}

.theme-harbor .policyNotice p {
  margin: 0;
}

.theme-harbor .esafeContextHeading {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.theme-harbor .elementor-widget-theme-post-content :is(p, li, div, span, a, code, pre) {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.theme-harbor .gbiResearchSection > p {
  max-width: 860px;
  margin: 0 0 20px;
  font: 400 15px/24px "Inter", system-ui, sans-serif;
}

.theme-harbor .gbiResearchActions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 720px;
  margin-top: 0;
}

.theme-harbor .gbiResearchAction {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.theme-harbor .gbiResearchAction .esafeButton {
  width: 100%;
  min-width: 0;
}

.theme-harbor .gbiResearchHelp {
  flex: 0 0 auto;
}

.theme-harbor .everifyHero {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 32px clamp(20px, 4vw, 48px);
  text-align: center;
}

.theme-harbor .everifyHero > p:not(.eyebrow) {
  max-width: 860px;
  margin: 0;
  font: 400 15px/24px "Inter", system-ui, sans-serif;
}

.theme-harbor .everifyHeroSeal,
.theme-harbor .everifyBadge {
  display: grid;
  justify-items: center;
  min-width: 0;
}

.theme-harbor .everifyHeroSeal :is(img, iframe),
.theme-harbor .everifyBadge :is(img, iframe),
.theme-harbor .everifySealFallback img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}

.theme-harbor .everifyActions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.theme-harbor .everifyContent .toolPageSection > p,
.theme-harbor .everifyContent .toolPageSection > ul,
.theme-harbor .everifyContent .toolPageSection > ol {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
}

.theme-harbor .everifyProcess {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.theme-harbor .everifyProcess li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  min-width: 0;
}

.theme-harbor .everifyProcess li > span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #1e5476;
  color: #fff;
  font: 600 14px/1 "Inter", system-ui, sans-serif;
}

.theme-harbor .everifyProcess h3,
.theme-harbor .everifyProcess p {
  margin: 0;
}

.theme-harbor .everifyProcess h3 {
  margin-bottom: 8px;
}

.theme-harbor .everifyBenefitGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 24px;
}

.theme-harbor .everifyBenefitGrid section {
  min-width: 0;
}

.theme-harbor .everifyBenefitGrid h3 {
  margin: 0 0 12px;
}

.theme-harbor .everifyBenefitGrid ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  font: 400 15px/24px "Inter", system-ui, sans-serif;
}

.theme-harbor .everifyDiligence .everifyActions,
.theme-harbor .everifyClosing .everifyActions {
  justify-content: flex-start;
}

.theme-harbor .everifyClosing {
  text-align: center;
}

.theme-harbor .everifyClosing .everifyActions {
  justify-content: center;
}

@media (max-width: 900px) {
  .theme-harbor .everifyProcess {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .theme-harbor .gbiResearchActions,
  .theme-harbor .everifyProcess,
  .theme-harbor .everifyBenefitGrid {
    grid-template-columns: 1fr;
  }

  .theme-harbor .everifyActions {
    align-items: stretch;
    flex-direction: column;
  }

  .theme-harbor .everifyActions .esafeButton {
    width: 100%;
  }
}

/* E-Verify staging completion: bounded imagery, consistent rhythm, and framed workflows. */
.theme-harbor .toolCard--e-verify .featureVisual {
  display: block !important;
  overflow: hidden !important;
  background: #dce6ed !important;
}

.theme-harbor .everifyPage img,
.theme-harbor .everifySection img,
.theme-harbor .everifyBadge img,
.theme-harbor .everifyHeroSeal img {
  display: block !important;
  width: auto !important;
  max-width: min(250px, 100%) !important;
  height: auto !important;
  max-height: 100% !important;
  margin-inline: auto !important;
  object-fit: contain !important;
  object-position: center !important;
}

.theme-harbor .elementor .toolCard--e-verify .featureVisual img,
.theme-harbor .toolCard--e-verify .featureVisual img {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
}

.theme-harbor .esafe-everify-public-seal {
  display: block !important;
  width: auto !important;
  max-width: min(250px, 100%) !important;
  height: auto !important;
  margin-inline: auto !important;
  object-fit: contain !important;
}

.theme-harbor .toolCard--e-verify .featureVisual img {
  transition: transform .25s ease !important;
}

.theme-harbor .toolCard--e-verify:is(:hover, :focus-within) .featureVisual img {
  transform: scale(1.03) !important;
}

.theme-harbor .everifyContent > .toolPageSection {
  padding: 32px clamp(20px, 4vw, 48px);
}

.theme-harbor .everifyContent > .toolPageSection + .toolPageSection {
  border-top: 1px solid #d4dee6;
}

.theme-harbor .everifyContent .eyebrow + h2 {
  margin-top: 4px;
}

.theme-harbor .everifyContent h2 {
  margin-bottom: 16px;
}

.theme-harbor .everifyContent h3 {
  margin-bottom: 12px;
}

.theme-harbor .everifyContent :is(p, ul, ol) + :is(p, ul, ol) {
  margin-top: 16px;
}

.theme-harbor .everifyProcess {
  align-items: stretch;
}

.theme-harbor .everifyProcess li {
  align-content: start;
  min-height: 176px;
  margin: 0 !important;
  padding: 16px;
  border: 1px solid #d4dee6;
  border-radius: 8px;
  background: #f5f8fb;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}

.theme-harbor .everifyProcess li:is(:hover, :focus-within) {
  transform: translateY(-2px);
  border-color: rgba(142, 2, 28, .28);
  background: #fff;
  box-shadow: 0 0 8px rgba(142, 2, 28, .2);
}

.theme-harbor .everifyProcess li > span {
  align-self: start;
}

.esafePageFrameOverlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483647 !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  padding: var(--esafe-page-modal-top, 16px) 16px 8px !important;
  background: rgba(15, 35, 48, .52) !important;
  overflow: hidden !important;
}

.esafePageFrameOverlay[hidden] {
  display: none !important;
}

.esafePageFrameModal {
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
  width: min(1040px, calc(100vw - 32px)) !important;
  max-width: calc(100vw - 32px) !important;
  height: min(820px, var(--esafe-page-modal-height, calc(100vh - 32px))) !important;
  max-height: var(--esafe-page-modal-height, calc(100vh - 32px)) !important;
  margin: 0 auto !important;
  overflow: hidden !important;
  border: 1px solid #d4dee6 !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 18px 52px rgba(15, 35, 48, .28) !important;
}

.esafePageFrameOverlay.esafeConsumerDiligenceFrame .esafePageFrameModal {
  width: min(720px, calc(100vw - 32px)) !important;
}

.esafePageFrameModal > header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  min-height: 52px !important;
  padding: 10px 12px 10px 20px !important;
  border-bottom: 1px solid #d4dee6 !important;
  background: #fff !important;
}

.esafePageFrameModal > header h2 {
  margin: 0 !important;
  color: #1e5476 !important;
  font: 600 18px/1.25 "Source Sans 3", "Inter", system-ui, sans-serif !important;
}

.esafePageFrameModal .popupClose {
  display: inline-grid !important;
  place-items: center !important;
  width: 32px !important;
  min-width: 32px !important;
  height: 32px !important;
  min-height: 32px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #dadada !important;
  border-radius: 8px !important;
  background: #f5f5f5 !important;
  color: #7a7a7a !important;
  font: 400 20px/1 "Inter", system-ui, sans-serif !important;
  cursor: pointer !important;
}

.esafePageFrame {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  border: 0 !important;
  background: #f5f8fb !important;
}

html.esafeModalOpen {
  overflow: hidden !important;
}

@media (max-width: 767px) {
  .theme-harbor .everifyContent > .toolPageSection {
    padding: 24px 16px;
  }

  .theme-harbor .everifyProcess li {
    min-height: 0;
  }

  .esafePageFrameOverlay {
    padding-right: 8px !important;
    padding-left: 8px !important;
  }

  .esafePageFrameModal {
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
  }

  .esafePageFrameModal > header {
    padding-left: 14px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .theme-harbor .toolCard--e-verify .featureVisual img,
  .theme-harbor .everifyProcess li {
    transition: none !important;
    transform: none !important;
  }
}
