/* Header: labels above, all controls on the same baseline. */
.topbar .top-actions{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}
.topbar .top-actions form.inline{display:flex;align-items:flex-end;gap:10px;margin:0}
.topbar .top-actions form.inline label{display:flex;flex-direction:column;gap:6px;margin:0}
.topbar .top-actions select,.topbar .top-actions button,.topbar .top-actions .user-chip,.topbar .top-actions>.pill{box-sizing:border-box;height:44px;min-height:44px;max-height:44px;margin:0}
.topbar .top-actions select{min-width:120px;padding:0 12px}
.topbar .top-actions button{display:inline-flex;align-items:center;justify-content:center;padding:0 16px}
.topbar .top-actions .user-chip,.topbar .top-actions>.pill{display:inline-flex;align-items:center;padding:0 12px;white-space:nowrap}
form.report-filter{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}
form.report-filter label{display:flex;flex-direction:column;gap:8px;margin:0;min-width:160px}
form.report-filter .field-control-wrap{display:block}
form.report-filter input,form.report-filter button{box-sizing:border-box;height:44px;min-height:44px;max-height:44px;margin:0}
form.report-filter input{width:100%;padding:0 12px}
form.report-filter button{display:inline-flex;align-items:center;justify-content:center;padding:0 20px}
form.user-editor>.grid.three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 20px}
form.user-editor>.grid.three>label{min-width:0;display:flex;flex-direction:column;gap:8px;margin:0}
form.user-editor>.grid.three .field-control-wrap{display:block}
form.user-editor>.grid.three input,form.user-editor>.grid.three select{box-sizing:border-box;width:100%;height:44px;min-height:44px;max-height:44px;margin:0;padding:0 12px}
.user-permissions{margin:28px 0}
.permission-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.permission-groups fieldset{min-width:0;margin:0;padding:16px;border:1px solid #2c4246;border-radius:12px}
.permission-groups legend{font-weight:700;padding:0 6px}
.permission-groups label.check{display:flex;align-items:flex-start;gap:10px;margin:12px 0;line-height:1.5}
.permission-groups input[type=checkbox]{width:18px;height:18px;min-height:18px;flex:0 0 18px;margin:3px 0 0}
@media(max-width:900px){.permission-groups{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){form.user-editor>.grid.three,.permission-groups{grid-template-columns:1fr}form.report-filter label{flex:1 1 140px}.topbar .top-actions{gap:8px}.topbar .top-actions select{min-width:100px}}
