/* Page-specific enhancement: preserve checkbox values and intake behavior. */
#research-attestations .check-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  box-sizing: border-box;
  min-height: 52px;
  margin: 12px 0 0;
  padding: 16px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  color: #263244;
  font-size: 15px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  cursor: pointer;
}

#research-attestations .check-row input[type="checkbox"] {
  appearance: auto;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  accent-color: #1a30d9;
  cursor: pointer;
}

#research-attestations .check-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

#research-attestations .check-row:has(input:checked) {
  border-color: #1a30d9;
  background: #f3f5ff;
}

#research-attestations .check-row:focus-within {
  outline: 3px solid #1a30d9;
  outline-offset: 3px;
}

@media (forced-colors: active) {
  #research-attestations .check-row:has(input:checked) {
    border-color: Highlight;
  }
  #research-attestations .check-row:focus-within {
    outline-color: Highlight;
  }
}

#research-attestations { min-width: 0; }
#research-attestations input[aria-invalid="true"] { outline: 2px solid #a12622; outline-offset: 2px; }
