/* 12.27: the safety inset has its own surface, not the signed-card text color.
   Only presentation changes; condition text, signatures and actions untouched. */
html body .user-work-order .active-safety-conditions.work-order-summary-safety {
  color: #183e31;
  background: #f0f8f5;
  border-color: #9ac9b5;
  min-width: 0;
  overflow-wrap: anywhere;
}
html body .user-work-order .active-safety-conditions.work-order-summary-safety :is(h4, ol, li, p, small, strong, b, span) {
  color: inherit;
}
html body .user-work-order .active-safety-conditions.work-order-summary-safety ol {
  margin: 0;
  padding-inline-start: 1.5em;
  line-height: 1.5;
}
html body .user-work-order .active-safety-conditions.work-order-summary-safety li + li {
  margin-block-start: .4em;
}
html[data-theme="dark"] body .user-work-order .active-safety-conditions.work-order-summary-safety,
html body:is(.theme-dark, .dark-theme, [data-theme="dark"]) .user-work-order .active-safety-conditions.work-order-summary-safety {
  color: #edf9f4;
  background: #142e2b;
  border-color: #4e9c82;
}

/* 12.57: the approved EIP summary is part of this same green safety inset. */
html body .user-work-order .work-order-summary-safety .work-order-summary-eip-r728 {
  display: grid;
  gap: 7px;
  min-width: 0;
  margin: 0;
  padding: 12px;
  border: 1px solid currentColor;
  border-radius: 10px;
  color: inherit;
  background: transparent;
  overflow-wrap: anywhere;
}
html body .user-work-order .work-order-summary-safety .work-order-summary-eip-r728.required {
  border-style: dashed;
}
html body .user-work-order .work-order-summary-safety .work-order-summary-eip-r728 :is(h5, p, strong, small) {
  margin: 0;
  color: inherit;
  line-height: 1.5;
}
html body .user-work-order .work-order-summary-safety .work-order-summary-eip-r728 h5 {
  font-size: 1rem;
  font-weight: 900;
}
