.actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.actions.end { justify-content: flex-end; }
.actions.between { justify-content: space-between; }
.stack { display: grid; gap: 16px; align-content: start; }
.row { display: flex; gap: 12px; flex-wrap: wrap; }
.row > .field { flex: 1 1 140px; }
.row > .grow { flex: 3 1 220px; }
.field { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > span, .field > legend { font-weight: 600; font-size: .875rem; padding: 0; color: var(--text); }
.field > legend { margin-bottom: 6px; }
input, select, textarea {
  font: inherit; color: var(--text); background: var(--surface); width: 100%;
  border: 1px solid var(--border-strong); border-radius: var(--r-sm); padding: 9px 12px;
  transition: border-color .15s, box-shadow .15s;
}
input::placeholder, textarea::placeholder { color: var(--text-3); }
input:hover, select:hover, textarea:hover { border-color: var(--text-3); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: var(--ring); }
input:disabled { background: var(--surface-2); color: var(--text-2); }
input[aria-invalid='true'] { border-color: var(--danger); }
textarea { resize: vertical; line-height: 1.5; }
select[multiple] { padding: 4px; }
input[type=range] { padding: 0; border: 0; accent-color: var(--primary); box-shadow: none; }
input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--primary); padding: 0; flex: none; }
.check { display: flex; gap: 10px; align-items: center; font-size: .95rem; }
.search { max-width: 280px; }
.handle-input { display: flex; align-items: stretch; }
.handle-input > span { display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--border-strong); border-right: 0; border-radius: var(--r-sm) 0 0 var(--r-sm); background: var(--surface-2); color: var(--text-2); font-weight: 600; }
.handle-input input { flex: 1; min-width: 0; border-top-left-radius: 0; border-bottom-left-radius: 0; }
.field-status { font-size: .85rem; }
.field-status.is-ok { color: var(--success); }
.field-status.is-bad { color: var(--danger); }
.field-status.is-muted { color: var(--text-2); }
