.process-filter { margin-bottom: 8px; }
.process-filter-action { display: flex; align-items: flex-end; min-height: 46px; }
.processes-table { height: clamp(240px, calc(100vh - 385px), 510px); min-height: 0; max-height: none; }
.processes-table .data-table { min-width: 1450px; }
.processes-table th:nth-child(1) { width: 210px; }
.processes-table th:nth-child(2) { width: 135px; }
.processes-table th:nth-child(3) { width: 55px; }
.processes-table th:nth-child(4) { width: 125px; }
.processes-table th:nth-child(5) { width: 65px; }
.processes-table th:nth-child(6) { width: 145px; }
.processes-table th:nth-child(7) { width: 145px; }
.processes-table th:nth-child(8) { width: 115px; }
.processes-table th:nth-child(9) { width: 110px; }
.processes-table th:nth-child(10) { width: 55px; }
.processes-table th:nth-child(11) { width: 105px; }
.processes-table th:nth-child(12) { width: 135px; }

.modal-window.modal-annual-process { width: min(900px, 96vw); height: min(500px, 92vh); min-width: min(760px, 96vw); }
.annual-process-code { margin-bottom: 10px; color: var(--muted); font-size: 11px; }
.annual-process-form { display: grid; gap: 6px; }
.annual-process-row { display: grid; grid-template-columns: 145px minmax(0, 3fr) 110px minmax(0, 1fr); align-items: center; gap: 7px 9px; }
.annual-process-row label { color: #344054; font-size: 11px; font-weight: 700; }
.annual-process-row input,
.annual-process-row select,
.annual-process-row textarea { width: 100%; }
.annual-process-notes-row { align-items: start; }
.annual-process-notes-row > label { padding-top: 7px; }
.annual-process-related { min-height: 32px; padding-top: 3px; }
.annual-process-related span { display: block; color: #344054; font-size: 11px; font-weight: 700; }
.annual-process-related strong,
.annual-process-counts { color: var(--muted); font-size: 11px; font-weight: 400; line-height: 1.6; }
.annual-process-counts { padding-top: 4px; }

.modal-window.modal-process-operation { width: min(680px, 95vw); max-height: 88vh; }
.modal-process-operation form { display: grid; gap: 7px; }
.modal-process-operation textarea { min-height: 95px; }
.process-operation-hint { margin-top: 0; color: var(--muted); }

@media (max-width: 760px) {
  .process-filter-action { min-height: auto; }
  .annual-process-row { grid-template-columns: 120px minmax(0, 1fr); }
  .annual-process-row > :nth-child(3) { grid-column: 1; }
  .annual-process-row > :nth-child(4) { grid-column: 2; }
}
.annual-linked-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
