.system-users-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 auto;
  max-width: 1320px;
  padding: 18px 20px 96px;
}

.system-users-workbar {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d8e1e7;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding: 12px;
}

.system-users-summary {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
  min-width: 0;
}

.system-users-filters {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.system-users-metric {
  align-items: center;
  background: #f5f8fa;
  border: 1px solid #d8e1e7;
  border-radius: 6px;
  display: flex;
  gap: 10px;
  min-height: 40px;
  padding: 8px 12px;
}

.system-users-metric span,
.system-users-search span,
.system-users-filter span {
  color: #5b6b76;
  font-size: 12px;
  font-weight: 700;
}

.system-users-metric strong {
  color: #1d2b34;
  font-size: 15px;
  font-weight: 800;
}

.system-users-actions {
  align-items: end;
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.system-users-search,
.system-users-filter {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.system-users-search input,
.system-users-filter select {
  background: #ffffff;
  border: 1px solid #c8d3db;
  border-radius: 6px;
  color: #1f2d36;
  font-size: 14px;
  min-height: 38px;
  padding: 8px 10px;
}

.system-users-search input {
  width: 260px;
}

#organizationFilter {
  max-width: 260px;
  min-width: 220px;
}

#gradeFilter,
#employmentStatusFilter {
  min-width: 108px;
}

#roleFilter {
  max-width: 260px;
  min-width: 180px;
}

.system-users-icon-button {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 18px;
  height: 38px;
  justify-content: center;
  min-height: 38px;
  padding: 0;
  width: 38px;
}

.system-users-icon-button svg,
.system-users-row-button svg,
.system-users-work-system-remove-button svg,
.system-users-dialog-close svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.system-users-icon-button svg {
  height: 18px;
  width: 18px;
}

#addUserButton {
  background: #2c7892;
  border-color: #25677d;
  color: #ffffff;
}

#addUserButton:hover {
  background: #24677d;
  border-color: #205d72;
  color: #ffffff;
}

.system-users-search input:focus,
.system-users-filter select:focus {
  border-color: #1f7a6c;
  box-shadow: 0 0 0 3px rgba(31, 122, 108, 0.16);
  outline: none;
}

.system-users-table-section {
  background: #ffffff;
  border: 1px solid #c8d3db;
  border-radius: 8px;
  overflow: hidden;
}

.system-users-section-header {
  align-items: center;
  background: #eef6f3;
  border-bottom: 1px solid #c4d7d1;
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
}

.system-users-section-header h2 {
  align-items: center;
  color: #173f38;
  display: flex;
  font-size: 17px;
  gap: 8px;
  margin: 0;
}

.system-users-section-header h2::before {
  background: #1f7a6c;
  border-radius: 999px;
  content: "";
  display: inline-block;
  height: 18px;
  width: 4px;
}

.system-users-table-wrap {
  overflow-x: auto;
}

.system-users-table {
  border-collapse: collapse;
  min-width: 1120px;
  table-layout: fixed;
  width: 100%;
}

.system-users-table th,
.system-users-table td {
  border-bottom: 1px solid #d4dee5;
  padding: 10px 12px;
  text-align: center;
  vertical-align: middle;
}

.system-users-table th:not(:last-child),
.system-users-table td:not(:last-child) {
  border-right: 1px solid #d4dee5;
}

.system-users-table th {
  background: #f5f8fa;
  color: #4f606c;
  font-size: 12px;
  font-weight: 800;
  position: static;
  top: auto;
  white-space: nowrap;
  z-index: auto;
}

.system-users-sort-button {
  align-items: center;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: flex;
  font: inherit;
  justify-content: center;
  margin: -8px -10px;
  min-height: 34px;
  padding: 8px 10px;
  position: relative;
  width: calc(100% + 20px);
}

.system-users-sort-button:hover,
.system-users-sort-button:focus-visible {
  background: #e9f0f4;
  color: #1f2d36;
  outline: none;
}

.system-users-sort-button:focus-visible {
  box-shadow: inset 0 0 0 2px #2c7892;
}

.system-users-sort-icon {
  color: #7b8a95;
  font-size: 12px;
  line-height: 1;
  opacity: 0;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
}

.system-users-sort-button:hover .system-users-sort-icon,
.system-users-sort-button:focus-visible .system-users-sort-icon,
.system-users-sort-button.is-active .system-users-sort-icon {
  opacity: 1;
}

.system-users-sort-button.is-active {
  color: #173f38;
}

.system-users-sort-button.is-active .system-users-sort-icon {
  color: #1f7a6c;
}

.system-users-table td {
  color: #22313b;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.system-users-table th:nth-child(1),
.system-users-table td:nth-child(1) {
  width: 110px;
}

.system-users-table th:nth-child(2),
.system-users-table td:nth-child(2) {
  width: 170px;
}

.system-users-table th:nth-child(3),
.system-users-table td:nth-child(3) {
  width: 112px;
}

.system-users-table th:nth-child(4),
.system-users-table td:nth-child(4) {
  width: 112px;
}

.system-users-table th:nth-child(5),
.system-users-table td:nth-child(5) {
  width: 260px;
}

.system-users-table th:nth-child(6),
.system-users-table td:nth-child(6) {
  width: 88px;
}

.system-users-table th:nth-child(7),
.system-users-table td:nth-child(7) {
  width: 88px;
}

.system-users-table th:nth-child(8),
.system-users-table td:nth-child(8) {
  width: 104px;
}

.system-auth-roles-table {
  min-width: 1120px;
}

.system-auth-roles-table th:nth-child(1),
.system-auth-roles-table td:nth-child(1) {
  width: 96px;
}

.system-auth-roles-table th:nth-child(2),
.system-auth-roles-table td:nth-child(2) {
  width: 150px;
}

.system-auth-roles-table th:nth-child(3),
.system-auth-roles-table td:nth-child(3) {
  width: 280px;
}

.system-auth-roles-table th:nth-child(4),
.system-auth-roles-table td:nth-child(4) {
  width: 140px;
}

.system-auth-roles-table th:nth-child(5),
.system-auth-roles-table td:nth-child(5) {
  width: 250px;
}

.system-auth-roles-table th:nth-child(6),
.system-auth-roles-table td:nth-child(6) {
  width: 160px;
}

.system-auth-roles-table th:nth-child(7),
.system-auth-roles-table td:nth-child(7) {
  width: 110px;
}

.system-auth-roles-role-list {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
  justify-content: center;
}

.system-auth-roles-role-item {
  color: #22313b;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.system-work-conditions-table {
  min-width: 1120px;
}

.system-work-conditions-table th:nth-child(1),
.system-work-conditions-table td:nth-child(1) {
  width: 94px;
}

.system-work-conditions-table th:nth-child(2),
.system-work-conditions-table td:nth-child(2) {
  width: 126px;
}

.system-work-conditions-table th:nth-child(3),
.system-work-conditions-table td:nth-child(3) {
  width: 160px;
}

.system-work-conditions-table th:nth-child(4),
.system-work-conditions-table td:nth-child(4) {
  width: 76px;
}

.system-work-conditions-table th:nth-child(5),
.system-work-conditions-table td:nth-child(5) {
  width: 92px;
}

.system-work-conditions-table th:nth-child(6),
.system-work-conditions-table td:nth-child(6) {
  width: 280px;
}

.system-work-conditions-table th:nth-child(7),
.system-work-conditions-table td:nth-child(7) {
  width: 92px;
}

.system-work-conditions-table th:nth-child(8),
.system-work-conditions-table td:nth-child(8) {
  width: 92px;
}

.system-work-conditions-table th:nth-child(9),
.system-work-conditions-table td:nth-child(9) {
  width: 72px;
}

.system-work-conditions-table th:nth-child(10),
.system-work-conditions-table td:nth-child(10) {
  width: 56px;
}

.system-work-conditions-table th,
.system-work-conditions-table td {
  padding-left: 8px;
  padding-right: 8px;
}

.system-work-conditions-table th:nth-child(1),
.system-work-conditions-table td:nth-child(1),
.system-work-conditions-table th:nth-child(4),
.system-work-conditions-table td:nth-child(4),
.system-work-conditions-table th:nth-child(5),
.system-work-conditions-table td:nth-child(5),
.system-work-conditions-table th:nth-child(7),
.system-work-conditions-table td:nth-child(7),
.system-work-conditions-table th:nth-child(8),
.system-work-conditions-table td:nth-child(8),
.system-work-conditions-table th:nth-child(9),
.system-work-conditions-table td:nth-child(9),
.system-work-conditions-table th:nth-child(10),
.system-work-conditions-table td:nth-child(10) {
  overflow-wrap: normal;
  white-space: nowrap;
}

.system-work-conditions-table th:nth-child(6),
.system-work-conditions-table td:nth-child(6) {
  text-align: left;
}

.system-work-conditions-table td:nth-child(6) {
  overflow: hidden;
  overflow-wrap: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.system-work-conditions-condition-cell span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.system-users-badge.is-work-type {
  background: #eaf2fb;
  border-color: #b7cfe8;
  color: #275b7e;
}

.system-users-table td strong {
  display: block;
  font-weight: 800;
}

.system-users-table td strong + span {
  color: #5b6b76;
  display: block;
  margin-top: 2px;
}

.system-users-chip-list {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
}

.system-users-chip,
.system-users-badge {
  background: #eef3f6;
  border: 1px solid #cfdbe3;
  border-radius: 999px;
  color: #41525e;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 5px 8px;
}

.system-users-chip.is-primary {
  background: #e8f5f1;
  border-color: #9ccfc0;
  color: #166657;
}

.system-users-chip.is-concurrent {
  background: #fff6df;
  border-color: #e7cf8e;
  color: #7c5b11;
}

.system-users-chip.is-auth-active {
  background: #e8f5f1;
  border-color: #9ccfc0;
  color: #166657;
}

.system-users-chip.is-auth-inactive {
  background: #f6eeee;
  border-color: #e1bcbc;
  color: #8b3434;
}

.system-users-chip.is-auth-warning {
  background: #fff6df;
  border-color: #e7cf8e;
  color: #7c5b11;
}

.system-users-badge.is-active,
.system-users-badge.is-grade {
  background: #e8f5f1;
  border-color: #9ccfc0;
  color: #166657;
}

.system-users-badge.is-retired,
.system-users-badge.is-inactive {
  background: #f6eeee;
  border-color: #e1bcbc;
  color: #8b3434;
}

.system-users-empty {
  color: #6a7882;
  height: 80px;
  text-align: center;
  vertical-align: middle;
}

.system-users-row-button {
  align-items: center;
  background: #2c7892;
  border: 1px solid #25677d;
  border-radius: 6px;
  color: #ffffff;
  display: inline-flex;
  height: 30px;
  justify-content: center;
  min-height: 30px;
  padding: 0;
  width: 30px;
}

.system-users-row-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.system-users-row-button svg {
  height: 15px;
  width: 15px;
}

.system-users-row-button:hover:not(:disabled) {
  background: #24677d;
  border-color: #205d72;
  color: #ffffff;
}

.system-users-row-button.is-danger {
  color: #ffffff;
}

.system-users-row-button.is-danger:hover:not(:disabled) {
  background: #24677d;
  border-color: #205d72;
  color: #ffffff;
}

.system-users-row-button:disabled {
  background: #f5f8fa;
  border-color: #e0e7ec;
  color: #9aa8b1;
  cursor: not-allowed;
}

.system-users-dialog {
  border: 1px solid #c8d3db;
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(24, 36, 44, 0.28);
  color: #22313b;
  max-width: 760px;
  padding: 0;
  width: min(760px, calc(100vw - 28px));
}

.system-users-work-system-dialog {
  max-width: 1280px;
  width: min(1280px, calc(100vw - 28px));
}

.system-work-conditions-page .system-users-work-system-dialog {
  max-width: 980px;
  width: min(980px, calc(100vw - 28px));
}

.system-users-dialog::backdrop {
  background: rgba(18, 28, 35, 0.42);
}

.system-users-dialog form {
  display: flex;
  flex-direction: column;
  max-height: min(720px, calc(100vh - 40px));
}

.system-users-dialog-header,
.system-users-dialog-footer {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 14px 16px;
}

.system-users-dialog-header {
  background: #eef6f3;
  border-bottom: 1px solid #d3e4df;
  border-radius: 8px 8px 0 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.system-users-dialog-header h2 {
  align-items: center;
  color: #173f38;
  display: flex;
  font-size: 17px;
  gap: 8px;
  margin: 0;
}

.system-users-dialog-header h2::before {
  background: #1f7a6c;
  border-radius: 999px;
  content: "";
  display: inline-block;
  height: 18px;
  width: 4px;
}

.system-users-dialog-header p {
  color: #5b6b76;
  font-size: 13px;
  margin: 4px 0 0;
}

.system-users-dialog-footer {
  border-top: 1px solid #edf1f4;
  justify-content: flex-end;
}

.system-users-dialog-close {
  align-items: center;
  background: #2c7892;
  border: 1px solid #25677d;
  border-radius: 6px;
  color: #ffffff;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  min-height: 34px;
  padding: 0;
  width: 34px;
}

.system-users-dialog-close svg {
  height: 17px;
  width: 17px;
}

.system-users-dialog-close:hover {
  background: #24677d;
  border-color: #205d72;
  color: #ffffff;
}

.system-users-dialog-close:focus {
  border-color: #205d72;
  outline: 2px solid #205d72;
  outline-offset: 2px;
}

.system-users-dialog-footer .status {
  align-items: center;
  background: #eef3f6;
  border: 1px solid #cfdbe3;
  border-radius: 999px;
  color: #41525e;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  margin: 0;
  max-width: min(360px, 58vw);
  min-height: 28px;
  overflow: hidden;
  padding: 6px 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.system-users-dialog-footer .status.error {
  background: #fff0ed;
  border-color: #e0aaa2;
  color: #9a3027;
}

.system-users-role-options {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: auto;
  padding: 14px 16px;
}

.system-users-concurrent-options {
  background: #ffffff;
  border: 1px solid #c8d3db;
  border-radius: 6px;
  display: grid;
  gap: 6px;
  max-height: 176px;
  min-height: 38px;
  overflow: auto;
  padding: 8px;
}

.system-users-organization-editor {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: auto;
  padding: 14px 16px;
}

.system-users-work-system-editor {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: auto;
  padding: 12px 14px;
}

.system-users-work-system-actions {
  display: flex;
  justify-content: flex-end;
}

.system-users-work-system-rows {
  display: grid;
  gap: 10px;
}

.system-users-work-system-row {
  align-items: end;
  background: #f8fafb;
  border: 1px solid #d8e1e7;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns:
    minmax(180px, 1.3fr)
    repeat(2, minmax(126px, 0.7fr))
    repeat(3, minmax(108px, 0.6fr))
    repeat(2, minmax(118px, 0.65fr))
    minmax(160px, 1fr)
    auto;
  padding: 10px;
}

.system-work-conditions-page .system-users-work-system-row {
  align-items: stretch;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 8px;
}

.system-work-conditions-page .system-users-work-system-row-line {
  align-items: end;
  display: grid;
  gap: 8px;
  min-width: 0;
}

.system-work-conditions-page .system-users-work-system-row-line.is-primary {
  grid-template-columns:
    minmax(0, 1.2fr)
    repeat(2, minmax(0, 0.75fr))
    repeat(2, minmax(0, 0.62fr))
    minmax(0, 0.76fr);
}

.system-work-conditions-page .system-users-work-system-row-line.is-detail {
  border-top: 1px solid #e2e9ee;
  grid-template-columns:
    repeat(2, minmax(0, 0.72fr))
    minmax(0, 1.9fr)
    38px;
  padding-top: 8px;
}

.system-work-conditions-page .system-users-work-system-row-line .system-users-field {
  min-width: 0;
}

.system-work-conditions-page .system-users-work-system-row-line .system-users-field input,
.system-work-conditions-page .system-users-work-system-row-line .system-users-field select {
  box-sizing: border-box;
  width: 100%;
}

.system-work-conditions-page .system-users-work-system-remove-button {
  align-items: center;
  align-self: end;
  background: #465563;
  border: 1px solid #5e6c78;
  border-radius: 6px;
  color: #ffffff;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  min-height: 38px;
  padding: 0;
  width: 38px;
}

.system-work-conditions-page .system-users-work-system-remove-button:hover {
  background: #3b4854;
  border-color: #55616d;
}

.system-work-conditions-page .system-users-work-system-remove-button svg {
  height: 17px;
  width: 17px;
}

.system-work-conditions-page .system-users-dialog-footer {
  justify-content: space-between;
}

.system-work-conditions-page .system-users-dialog-actions {
  align-items: center;
  display: flex;
  gap: 8px;
}

.system-work-conditions-page #addWorkSystemAssignmentButton,
.system-work-conditions-page #saveWorkSystemAssignmentDialogButton {
  background: #2c7892;
  border-color: #25677d;
  color: #ffffff;
}

.system-work-conditions-page #addWorkSystemAssignmentButton:hover,
.system-work-conditions-page #saveWorkSystemAssignmentDialogButton:hover {
  background: #24677d;
  border-color: #205d72;
}

.system-work-conditions-page #addWorkSystemAssignmentButton:disabled,
.system-work-conditions-page #saveWorkSystemAssignmentDialogButton:disabled,
.system-work-conditions-page .system-users-work-system-remove-button:disabled {
  background: #a7b2bc;
  border-color: #98a4ae;
  color: #ffffff;
  cursor: not-allowed;
}

.system-users-auth-editor {
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: auto;
  padding: 14px 16px;
}

.system-users-account-editor {
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: auto;
  padding: 14px 16px;
}

.system-users-account-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.system-users-account-section h3 {
  color: #173f38;
  font-size: 14px;
  font-weight: 800;
  margin: 0;
}

.system-users-account-role-options {
  border: 1px solid #d8e1e7;
  border-radius: 8px;
  max-height: 240px;
  padding: 10px;
}

.system-users-auth-summary {
  border: 1px solid #d8e1e7;
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  overflow: hidden;
}

.system-users-auth-summary div {
  border-bottom: 1px solid #edf1f4;
  display: grid;
  gap: 4px;
  padding: 10px 12px;
}

.system-users-auth-summary div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.system-users-auth-summary dt {
  color: #50616d;
  font-size: 12px;
  font-weight: 700;
}

.system-users-auth-summary dd {
  color: #22313b;
  font-size: 13px;
  font-weight: 800;
  margin: 0;
  overflow-wrap: anywhere;
}

.system-users-auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.system-users-issued-password {
  background: #f8fafb;
  border: 1px solid #d8e1e7;
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 12px;
}

.system-users-issued-password p {
  color: #5b6b76;
  font-size: 12px;
  margin: 0;
}

.system-users-profile-editor {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: auto;
  padding: 14px 16px;
}

.system-users-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.system-users-field-wide {
  grid-column: 1 / -1;
}

.system-users-field span,
.system-users-option-section h3 {
  color: #50616d;
  font-size: 12px;
  font-weight: 700;
}

.system-users-field input,
.system-users-field select {
  background: #ffffff;
  border: 1px solid #c8d3db;
  border-radius: 6px;
  color: #1f2d36;
  font-size: 14px;
  min-height: 38px;
  padding: 8px 10px;
}

.system-users-field input[readonly] {
  background: #f5f8fa;
  color: #63727d;
}

.system-users-field input:focus,
.system-users-field select:focus {
  border-color: #1f7a6c;
  box-shadow: 0 0 0 3px rgba(31, 122, 108, 0.16);
  outline: none;
}

.system-users-field input:invalid {
  border-color: #d25555;
}

.system-users-option-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.system-users-option-section h3 {
  margin: 0;
}

.system-users-profile-editor .system-users-concurrent-options,
.system-users-organization-editor .system-users-concurrent-options {
  max-height: 176px;
}

.system-users-concurrent-option {
  align-items: center;
  border-radius: 6px;
  display: flex;
  gap: 8px;
  min-height: 30px;
  padding: 4px 6px;
}

.system-users-concurrent-option:hover {
  background: #f5f8fa;
}

.system-users-concurrent-option input {
  flex: 0 0 auto;
  height: 16px;
  margin: 0;
  width: 16px;
}

.system-users-concurrent-option span {
  color: #41525e;
  font-size: 12px;
  font-weight: 700;
  min-width: 0;
  overflow-wrap: anywhere;
}

.system-users-concurrent-empty {
  color: #41525e;
  font-size: 12px;
  font-weight: 700;
  margin: 0;
  padding: 4px 6px;
}

.system-users-role-option {
  align-items: flex-start;
  background: #f8fafb;
  border: 1px solid #d8e1e7;
  border-radius: 6px;
  display: flex;
  gap: 10px;
  min-height: 58px;
  padding: 10px;
}

.system-users-role-option input {
  height: 16px;
  margin: 2px 0 0;
  width: 16px;
}

.system-users-role-option span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.system-users-role-option strong {
  font-size: 13px;
  overflow-wrap: anywhere;
}

.system-users-role-option small {
  color: #62737e;
  font-size: 12px;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .system-users-workbar {
    align-items: stretch;
    flex-direction: column;
  }

  .system-users-actions {
    align-items: stretch;
    flex-wrap: wrap;
    margin-left: 0;
  }

  .system-users-summary {
    flex-wrap: wrap;
  }

  .system-users-filters {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .system-users-search {
    flex: 1 1 260px;
  }

  .system-users-search input {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .system-users-main {
    padding: 12px 12px 84px;
  }

  .system-users-actions button,
  .system-users-filter {
    flex: 1 1 140px;
  }

  .system-users-metric {
    flex: 1 1 120px;
  }

  .system-users-role-options {
    grid-template-columns: 1fr;
  }

  .system-users-profile-editor,
  .system-users-organization-editor {
    grid-template-columns: 1fr;
  }

  .system-users-auth-summary {
    grid-template-columns: 1fr;
  }

  .system-users-work-system-row {
    grid-template-columns: 1fr;
  }

  .system-work-conditions-page .system-users-work-system-row-line.is-primary,
  .system-work-conditions-page .system-users-work-system-row-line.is-detail {
    grid-template-columns: 1fr;
  }

  .system-work-conditions-page .system-users-work-system-remove-button {
    justify-self: end;
  }

  .system-work-conditions-page .system-users-dialog-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .system-work-conditions-page .system-users-dialog-footer .status {
    max-width: none;
  }

  .system-work-conditions-page .system-users-dialog-actions {
    justify-content: flex-end;
  }

  .system-users-auth-summary div:nth-last-child(-n + 2) {
    border-bottom: 1px solid #edf1f4;
  }

  .system-users-auth-summary div:last-child {
    border-bottom: 0;
  }
}
