.inspection-scroll {
  max-height: 62vh;
  overflow: auto;
}
.inspection-table {
  width: 100%;
  min-width: 850px;
  border-collapse: separate;
  border-spacing: 0;
}
.inspection-table th {
  position: sticky;
  top: 0;
  background: #f2f6fb;
  z-index: 1;
}
.inspection-table td,
.inspection-table th {
  padding: 12px;
  border-bottom: 1px solid #e3e9f0;
  text-align: left;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.inspection-table td:nth-child(3),
.inspection-table td:nth-child(4) {
  max-width: 360px;
}
.inspection-entry {
  display: grid;
  gap: 12px;
}
.inspection-entry label {
  display: grid;
  gap: 6px;
}
.inspection-entry textarea {
  width: 100%;
  padding: 10px;
}
.inspection-history {
  border-top: 1px solid #dce3ee;
  padding: 16px 0;
}
.inspection-history p {
  white-space: pre-wrap;
}
.inspection-history img,
#inspectionPhotoPreview img {
  max-width: 240px;
  max-height: 180px;
  object-fit: contain;
}

.risk-fulfillment-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.risk-fulfillment-title h2 {
  margin: 0;
}
.risk-fulfillment dl {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 12px 0;
}
.risk-fulfillment dl > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0 6px;
}
.risk-fulfillment dt {
  font-weight: 700;
}
.risk-fulfillment dd {
  margin: 0;
}
.risk-fulfillment-register {
  min-width: 1585px;
  table-layout: fixed;
}
.risk-fulfillment-register th,
.risk-fulfillment-register td {
  padding: 5px;
  border-right: 1px solid #c7d4e0;
  border-bottom: 1px solid #c7d4e0;
  word-break: keep-all;
}
.risk-fulfillment-register th {
  height: 30px;
  background: #dce9f5;
  text-align: center;
}
.risk-fulfillment-register .risk-register-groups + tr th {
  top: 30px;
}
.risk-fulfillment-register td small {
  display: block;
}
