.check-editor, .check-block, .check-preview, .check-list, .check-work-item, .check-field, .check-result, .check-reading {
  display: grid;
  min-width: 0;
  gap: .65rem;
}

.check-editor, .check-list { gap: .9rem; }
.check-editor, .check-preview { margin-block: 1.15rem; }
.check-block, .check-card, .check-preview {
  min-width: 0;
  max-width: 100%;
  border: 1px solid #c8d4cd;
  border-radius: .65rem;
  padding: clamp(.65rem, 2.4vw, 1rem);
  margin-inline: 0;
  overflow-wrap: anywhere;
}
.check-block legend { font-weight: 650; padding-inline: .35rem; }
.check-fields {
  display: grid;
  gap: .65rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
}
.check-field { gap: .25rem; }
.check-field input, .check-field select, .check-field textarea, .check-line input { min-width: 0; width: 100%; max-width: 100%; box-sizing: border-box; }
.check-actions, .check-week { display: flex; flex-wrap: wrap; gap: .4rem; }
.check-week label { display: inline-flex; align-items: center; gap: .25rem; }
.check-week input { width: auto; min-height: 0; }
.check-actions button, .check-block button, .check-work-item button, .check-card button {
  min-height: 48px;
  min-width: 48px;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}
.check-work-item h3, .check-work-item p, .check-preview h3, .check-progress { margin: 0; }
.check-meta { color: #43584e; font-size: .92em; }
.check-state, .check-progress { font-weight: 600; }
.check-result { border-left: .25rem solid #50836c; padding-left: .7rem; gap: .2rem; }
.check-result[data-status="deviation"] { border-color: #a64b22; }
.check-result[data-status="pending"] { border-color: #8b731e; }
.check-line { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: stretch; gap: .45rem; }
.check-line input { font: inherit; font-size: max(1.05rem, 16px); }
.check-reading label { font-weight: 600; }
.check-card > .check-fields, .check-card > .check-actions { margin-top: .55rem; }
.check-work-item details summary { cursor: pointer; min-height: 48px; align-content: center; }
.check-error { color: #9c2c26; }
.check-error:empty { display: none; }
.check-preview { background: #f4f7f5; }
