/* Public Health panel (ONC (f)(1) immunization registry + (f)(5) electronic case reporting).
   Scoped entirely under .wp-ph-* classes — does not touch any shared/global class. */
.wp-ph-fab {
  position: fixed; right: 20px; bottom: 84px; z-index: 9400;
  background: #0e5c4a; color: #fff; border: none; border-radius: 999px;
  padding: 10px 16px; font: 600 12.5px system-ui, sans-serif; cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.22);
}
.wp-ph-fab:hover { background: #0a7a5f; }

.wp-ph-overlay {
  position: fixed; inset: 0; background: rgba(15,20,25,.45); z-index: 9500;
  display: flex; align-items: flex-start; justify-content: center; padding: 4vh 16px;
}
.wp-ph-modal {
  background: #fff; width: min(920px, 96vw); max-height: 92vh; overflow: auto;
  border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.35); font: 13px/1.4 system-ui, sans-serif; color: #1c2430;
}
.wp-ph-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-bottom: 1px solid #e4e8ec; position: sticky; top: 0; background: #fff;
}
.wp-ph-head h2 { margin: 0; font-size: 16px; }
.wp-ph-close { background: none; border: none; font-size: 18px; cursor: pointer; color: #667; }
.wp-ph-tabs { display: flex; gap: 6px; padding: 10px 18px 0; border-bottom: 1px solid #e4e8ec; }
.wp-ph-tab { padding: 8px 12px; border: none; background: none; cursor: pointer; font: 600 12.5px system-ui; color: #667; border-bottom: 2px solid transparent; }
.wp-ph-tab.active { color: #0e5c4a; border-bottom-color: #0e5c4a; }
.wp-ph-body { padding: 16px 18px 22px; }

.wp-ph-row { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.wp-ph-row input { flex: 1; padding: 7px 10px; border: 1px solid #d5dbe1; border-radius: 6px; font: 13px system-ui; }
.wp-ph-btn { padding: 7px 12px; border-radius: 6px; border: 1px solid #0e5c4a; background: #0e5c4a; color: #fff; cursor: pointer; font: 600 12px system-ui; }
.wp-ph-btn.secondary { background: #fff; color: #0e5c4a; }
.wp-ph-btn:disabled { opacity: .5; cursor: default; }

.wp-ph-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.wp-ph-table th, .wp-ph-table td { text-align: left; padding: 7px 8px; border-bottom: 1px solid #eef1f4; font-size: 12.5px; }
.wp-ph-table th { color: #667; font-weight: 600; text-transform: uppercase; font-size: 10.5px; letter-spacing: .03em; }

.wp-ph-pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font: 600 10.5px system-ui; text-transform: uppercase; letter-spacing: .02em; }
.wp-ph-pill.pending { background: #fff3d6; color: #8a5c00; }
.wp-ph-pill.sent { background: #dbeafe; color: #1d4ed8; }
.wp-ph-pill.acked { background: #dcfce7; color: #166534; }
.wp-ph-pill.nacked { background: #ffe4e6; color: #9f1239; }
.wp-ph-pill.error { background: #fee2e2; color: #991b1b; }

.wp-ph-empty { color: #8a95a1; padding: 18px 0; text-align: center; font-size: 12.5px; }
.wp-ph-hint { color: #8a95a1; font-size: 11.5px; margin: -4px 0 10px; }
