.muted { margin: 0; color: #647080; font-size: 12px; }
.control-section { border-top: 2px solid #d9dee5; padding-top: 20px; }
.control-facts { margin-top: 10px; }
.config-error { margin-top: 10px; }
.assignment-form { display: flex; align-items: flex-end; gap: 10px; margin-top: 12px; }
.assignment-form label { display: grid; gap: 4px; color: #647080; font-size: 12px; min-width: 360px; }
.assignment-form select, .assignment-form button, .button-link { height: 36px; border: 1px solid #bfc7d1; padding: 0 11px; font: inherit; }
.assignment-form button { border-color: #1768ac; }
.button-link { display: inline-flex; align-items: center; text-decoration: none; }
.config-form { background: #fff; border: 1px solid #d9dee5; padding: 20px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.form-grid label { display: grid; gap: 5px; color: #647080; font-size: 12px; }
.form-grid input:not([type=checkbox]), .form-grid select, .form-grid textarea { width: 100%; min-height: 36px; border: 1px solid #bfc7d1; padding: 7px 9px; font: inherit; color: #18202a; }
.form-grid textarea { min-height: 76px; resize: vertical; }
.form-grid .check-field { display: flex; align-items: center; gap: 8px; }
.field-error { color: #c62828; }
.form-actions { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.form-actions button { height: 36px; border: 0; padding: 0 18px; }
.bulk-toolbar { display: flex; align-items: flex-end; gap: 10px; margin: 0 0 12px; }
.bulk-toolbar label { display: grid; gap: 4px; color: #647080; font-size: 12px; }
.bulk-toolbar select, .bulk-toolbar button { height: 36px; border: 1px solid #bfc7d1; padding: 0 10px; font: inherit; }
.bulk-toolbar button { border-color: #1768ac; background: #fff; color: #1768ac; cursor: pointer; }
.head-actions { display: flex; align-items: center; gap: 12px; }
.report-filter-form {
  align-items: flex-end;
  background: #fff;
  border: 1px solid #d9dee5;
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 18px;
  padding: 12px;
}
.report-filter-form label { min-width: 170px; }
.report-filter-form select {
  background: #fff;
  border: 1px solid #bfc7d1;
  color: #18202a;
  font: inherit;
  height: 34px;
  min-width: 170px;
  padding: 0 9px;
}
.report-filter-form .button-link { height: 34px; }
.report-stats { grid-template-columns: repeat(auto-fit, minmax(105px, 1fr)); }
@media (max-width: 900px) {
  .form-grid { grid-template-columns: 1fr; }
  .assignment-form { align-items: stretch; flex-direction: column; }
  .assignment-form label { min-width: 0; }
  .bulk-toolbar { align-items: stretch; flex-direction: column; }
  .head-actions { align-items: flex-end; flex-direction: column; }
  .report-filter-form label { flex: 1 1 190px; min-width: 0; }
  .report-filter-form select { min-width: 0; width: 100%; }
}
