/* ═══════════════════════════════════════════════════
   HCP Integration — audience-specific overrides
   Shared base: assets/css/integration.css
   ═══════════════════════════════════════════════════ */

/* ── OVERVIEW: section-title spacing ── */
.intg-overview .section-title {
  margin-bottom: 16px;
}

/* ── EHR STATUS TABLE: HCP uses --bg header ── */
.step-ehr-table-wrap {
  margin-top: 24px;
  margin-bottom: 0;
}

.step-ehr-table thead tr {
  background: var(--bg);
}

/* ── EHR STATUS BADGES (HCP version with dot indicator) ── */
.ehr-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

.ehr-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ehr-status.ready {
  background: oklch(93% 0.07 145);
  color: oklch(38% 0.14 145);
}

.ehr-status.ready::before {
  background: oklch(55% 0.18 145);
}

.ehr-status.tested {
  background: var(--teal-light);
  color: var(--teal-dark);
}

.ehr-status.tested::before {
  background: var(--teal);
}

.ehr-status.mixed {
  background: oklch(96% 0.04 75);
  color: oklch(48% 0.14 75);
}

.ehr-status.mixed::before {
  background: var(--orange);
}

/* ── PORTAL CONFIGURATION ── */
.intg-portal {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 96px 0;
}

.intg-portal .section-sub {
  margin-bottom: 48px;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.portal-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 26px;
  transition: border-color 0.15s;
}

.portal-card:hover {
  border-color: var(--teal-mid);
}

.portal-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.35;
}

.portal-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ── SCOPE: HCP uses --bg background ── */
.intg-scope {
  background: var(--bg);
}

/* ── CTA: single-column centered override ── */
.cta-inner {
  display: block;
}

.cta-content {
  text-align: center;
}

.cta-actions {
  justify-content: center;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .portal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .intg-hero-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: min(100%, 420px);
    margin: 0 auto;
  }

  .intg-hero-actions .tmp-btn-primary,
  .intg-hero-actions .tmp-btn-outline {
    width: 100%;
    justify-content: center;
    padding: 10px 22px;
    font-size: 14px;
  }

  .step-ehr-table {
    font-size: 12px;
  }

  .step-ehr-table th {
    padding: 8px 10px;
    font-size: 9px;
  }

  .step-ehr-table td {
    padding: 8px 10px;
    line-height: 1.3;
  }

  .step-ehr-table td:last-child {
    display: none;
  }

  .step-ehr-table th:last-child {
    display: none;
  }

  .ehr-status {
    font-size: 10px;
    padding: 2px 8px;
    gap: 4px;
  }

  .step-ehr-note {
    margin-top: 10px;
    padding: 10px 12px;
    font-size: 12px;
    line-height: 1.5;
  }
}
