/* HikmahMatrix v4.0 — Step 56 Hadiyya Waqf Charter & Public Errata Styles */
.hm-charter-auditor-box {
  background: #ffffff;
  border: 1px solid #e7e2d8;
  border-radius: 12px;
  padding: 1.35rem;
}

.hm-audit-select {
  padding: 0.55rem 0.85rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.88rem;
  background: #faf8f5;
  min-width: 260px;
  max-width: 100%;
}

.hm-audit-checks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.hm-audit-check-card {
  background: #faf8f5;
  border: 1px solid #e7e2d8;
  border-radius: 8px;
  padding: 0.85rem;
}

.hm-audit-check-card h4 {
  margin: 0.35rem 0 0.25rem;
  font-size: 0.88rem;
  color: #1c1917;
}

.hm-audit-check-card p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #44403c;
}

.hm-check-pass {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  background: #dcfce7;
  color: #166534;
}

.hm-code-block {
  background: #1c1917;
  color: #f5f5f4;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-size: 0.8rem;
  line-height: 1.5;
  overflow-x: auto;
  margin-bottom: 0.75rem;
}

.hm-errata-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.85rem;
  margin-top: 0.65rem;
}

.hm-errata-form-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.85rem;
}

.hm-errata-textarea {
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.88rem;
  font-family: inherit;
}
