.system-management-page {
  min-width: 0;
  color: #173653;
  background: #fff;
}

.system-management-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 17px 22px;
  border-bottom: 1px solid #cbdceb;
  background: #f7fbff;
}

.system-management-kicker,
.system-modal-header span,
.system-role-editor-header > div > span {
  display: block;
  color: #55728f;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0;
}

.system-management-header h2 {
  margin: 4px 0 2px;
  color: #14395d;
  font-size: 24px;
  line-height: 1.15;
}

.system-management-header p {
  margin: 0;
  color: #627b93;
  font-size: 12px;
  font-weight: 700;
}

.system-management-metrics {
  display: flex;
  align-items: stretch;
  gap: 7px;
}

.system-metric {
  min-width: 72px;
  height: 51px;
  display: grid;
  place-content: center;
  padding: 0 12px;
  border: 1px solid #c8d9e8;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 3px 9px rgba(30, 67, 101, .09), inset 0 1px 0 #fff;
  text-align: center;
}

.system-metric small {
  color: #6a8198;
  font-size: 10px;
  font-weight: 800;
}

.system-metric strong {
  color: #1f5e99;
  font-size: 17px;
  line-height: 1.25;
}

.system-metric.cyan strong { color: #147a91; }
.system-metric.gold strong { color: #9b681a; }
.system-metric.green strong { color: #267760; }
.system-metric.error { color: #9d3535; }

.system-management-tabs {
  display: flex;
  align-items: flex-end;
  min-height: 47px;
  gap: 3px;
  padding: 8px 18px 0;
  border-bottom: 1px solid #c6d8e8;
  background: #eef5fb;
}

.system-management-tabs button {
  position: relative;
  min-height: 38px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
  background: transparent;
  color: #456581;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.system-management-tabs button:hover {
  color: #164f82;
  background: rgba(255, 255, 255, .65);
}

.system-management-tabs button.active {
  border-color: #b9cede;
  background: #fff;
  color: #164e80;
  box-shadow: 0 -2px 7px rgba(40, 76, 110, .06);
}

.system-management-tabs button b {
  min-width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  margin-left: 7px;
  padding: 0 4px;
  border-radius: 9px;
  background: #fff0db;
  color: #a86018;
  font-size: 10px;
}

.system-management-panel {
  min-width: 0;
  padding: 15px 18px 20px;
}

.system-management-toolbar {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 48px;
  margin-bottom: 12px;
}

.system-management-search-shell {
  width: min(480px, 48vw);
  height: 38px;
  display: flex;
  align-items: center;
  border: 1px solid #b8cee0;
  border-radius: 5px;
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(24, 65, 103, .05);
  overflow: hidden;
}

.system-management-search-shell span {
  height: 100%;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-right: 1px solid #cfdeea;
  background: #f2f7fb;
  color: #31597d;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.system-management-search-shell input {
  min-width: 0;
  flex: 1;
  height: 100%;
  border: 0;
  outline: 0;
  padding: 0 12px;
  background: transparent;
  color: #183a59;
  font-size: 13px;
  font-weight: 650;
}

.system-management-toolbar select {
  width: 122px;
  height: 38px;
  border: 1px solid #b8cee0;
  border-radius: 5px;
  padding: 0 30px 0 11px;
  background: #fff;
  color: #234b6e;
  font-size: 12px;
  font-weight: 750;
}

.system-primary-button,
.system-secondary-button,
.system-modal-primary,
.system-modal-secondary,
.system-row-actions button,
.system-role-editor-actions button,
.system-management-pagination button {
  min-height: 34px;
  border-radius: 5px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
  transition: transform .14s ease, box-shadow .14s ease, filter .14s ease;
}

.system-primary-button,
.system-modal-primary,
.system-role-editor-actions button.primary {
  border: 1px solid #21649c;
  border-bottom-color: #124a78;
  background: linear-gradient(#4f95ca, #2474ae 52%, #165d94);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 2px 0 #124b77, 0 6px 13px rgba(22, 78, 124, .16);
}

.system-secondary-button,
.system-modal-secondary,
.system-role-editor-actions button,
.system-management-pagination button {
  border: 1px solid #afc5d8;
  border-bottom-color: #7997b1;
  background: linear-gradient(#fff, #edf4f9);
  color: #315b7e;
  box-shadow: inset 0 1px 0 #fff, 0 2px 0 #9cb5c9, 0 5px 10px rgba(31, 72, 108, .09);
}

.system-primary-button:hover,
.system-secondary-button:hover,
.system-modal-primary:hover,
.system-modal-secondary:hover,
.system-role-editor-actions button:hover,
.system-management-pagination button:not(:disabled):hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 3px 0 #577f9f, 0 8px 15px rgba(22, 71, 111, .16);
}

.system-management-toolbar .system-primary-button { margin-left: auto; min-width: 118px; }

.system-management-table-wrap {
  width: 100%;
  overflow: auto;
  border: 1px solid #c8d9e7;
  border-radius: 5px;
  background: #fff;
}

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

.system-management-table th {
  height: 39px;
  padding: 0 10px;
  border-right: 1px solid #c8d9e7;
  border-bottom: 1px solid #b9cedf;
  background: #e9f2f9;
  color: #294f70;
  font-size: 11px;
  font-weight: 900;
  text-align: left;
  white-space: nowrap;
}

.system-management-table td {
  height: 51px;
  padding: 7px 10px;
  border-right: 1px solid #d4e1eb;
  border-bottom: 1px solid #d4e1eb;
  color: #264661;
  font-size: 12px;
  font-weight: 650;
  vertical-align: middle;
  overflow-wrap: anywhere;
}

.system-management-table tr:last-child td { border-bottom: 0; }
.system-management-table th:last-child,
.system-management-table td:last-child { border-right: 0; }
.system-management-table tbody tr:hover td { background: #f6fbff; }
.system-management-table tbody tr.row-disabled td { background: #f7f9fb; color: #7c8b98; }
.system-management-table th:first-child { width: 70px; }
.system-management-table th:nth-last-child(1) { width: 222px; }
.system-management-table th:nth-last-child(2) { width: 78px; }

.system-code {
  display: inline-flex;
  min-width: 43px;
  justify-content: center;
  padding: 3px 6px;
  border: 1px solid #bcd0e1;
  border-radius: 4px;
  background: #f3f8fc;
  color: #365c7c;
  font-family: Arial, sans-serif;
  font-weight: 800;
}

.system-account-name {
  color: #14568b;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-size: 12px;
}

.system-admin-mark,
.system-table-sub {
  display: block;
  margin-top: 3px;
  color: #8a6a2b;
  font-size: 9px;
  font-weight: 800;
}

.system-table-sub { color: #7a90a3; }

.system-role-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.system-role-chip {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 0 7px;
  border: 1px solid #b7d0e3;
  border-radius: 12px;
  background: #eef7fd;
  color: #245b82;
  font-size: 10px;
  font-weight: 850;
  white-space: nowrap;
}

.system-role-chip.muted { color: #8494a2; background: #f4f6f8; }

.system-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.system-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px currentColor;
  opacity: .65;
}

.system-status.enabled { color: #27765d; }
.system-status.disabled { color: #9e4c4c; }
.system-time { color: #637b91; font-family: Arial, sans-serif; font-size: 11px; white-space: nowrap; }
.system-binding-name { color: #176088; }
.system-binding-missing { color: #aa5b35; font-weight: 850; }

.system-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  white-space: nowrap;
}

.system-row-actions button {
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid #aac4d8;
  background: linear-gradient(#fff, #eaf3f9);
  color: #295f87;
  box-shadow: inset 0 1px 0 #fff, 0 1px 0 #8eaac0;
}

.system-row-actions button:hover { transform: translateY(-1px); box-shadow: 0 3px 8px rgba(25, 72, 108, .15); }
.system-row-actions button.danger { color: #965050; border-color: #d9b1b1; background: linear-gradient(#fff, #f9eded); }
.system-row-actions button.enable { color: #267158; border-color: #abd2c5; background: linear-gradient(#fff, #eaf7f2); }

.system-management-table mark {
  padding: 0 2px;
  border-radius: 2px;
  background: #ffe69a;
  color: #563a00;
}

.system-management-pagination {
  min-height: 47px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  color: #637b91;
  font-size: 11px;
}

.system-management-pagination button { min-height: 29px; padding: 0 10px; }
.system-management-pagination button:disabled { opacity: .45; cursor: default; box-shadow: none; }
.system-management-pagination strong { color: #294e6f; }

.system-management-loading,
.system-management-empty {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #70869a;
  font-size: 12px;
  font-weight: 750;
}

.system-management-loading i,
.system-button-spinner {
  width: 17px;
  height: 17px;
  border: 2px solid #bfd3e4;
  border-top-color: #246ea7;
  border-radius: 50%;
  animation: system-spin .75s linear infinite;
}

.system-button-spinner {
  width: 13px;
  height: 13px;
  border-color: rgba(255, 255, 255, .45);
  border-top-color: #fff;
}

.is-busy { display: inline-flex; align-items: center; justify-content: center; gap: 7px; cursor: wait !important; }
.system-management-empty.error { color: #a04c4c; }

.system-role-panel {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  gap: 12px;
  min-height: 610px;
}

.system-role-list-shell,
.system-role-workbench {
  min-width: 0;
  border: 1px solid #c6d8e7;
  border-radius: 5px;
  background: #fff;
  overflow: hidden;
}

.system-role-list-shell > header {
  height: 54px;
  display: flex;
  align-items: center;
  padding: 0 13px;
  border-bottom: 1px solid #cfdeea;
  background: #edf5fb;
}

.system-role-list-shell header div { width: 100%; display: flex; align-items: center; justify-content: space-between; }
.system-role-list-shell header strong { color: #234d70; font-size: 13px; }
.system-role-list-shell header span { color: #71889c; font-size: 10px; font-weight: 750; }

.system-role-list { padding: 7px; }
.system-role-list > button {
  width: 100%;
  min-height: 55px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.system-role-list > button:hover { background: #f3f8fc; }
.system-role-list > button.active { border-color: #9dbed8; background: #e7f2fa; box-shadow: inset 3px 0 0 #2677b1; }
.system-role-avatar { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 5px; background: #2f72a6; color: #fff; font-size: 13px; font-weight: 900; }
.system-role-list button strong { display: block; color: #244d70; font-size: 12px; }
.system-role-list button small { display: block; margin-top: 2px; color: #7a8fa2; font-size: 9px; font-weight: 750; }
.system-role-list button em { color: #58758e; font-size: 10px; font-style: normal; font-weight: 800; }

.system-role-editor-header {
  min-height: 73px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 15px;
  border-bottom: 1px solid #c8d9e7;
  background: #f7fbff;
}

.system-role-editor-header h3 { margin: 3px 0 1px; color: #183f63; font-size: 19px; }
.system-role-editor-header p { margin: 0; color: #71869a; font-size: 10px; font-weight: 700; }
.system-role-editor-actions { display: flex; gap: 6px; }
.system-role-editor-actions button { min-height: 31px; padding: 0 11px; }

.system-role-basic {
  display: grid;
  grid-template-columns: 190px minmax(240px, 1fr) 108px 130px;
  gap: 9px;
  padding: 13px 15px;
  border-bottom: 1px solid #d6e2ec;
}

.system-role-basic label,
.system-role-fixed {
  display: grid;
  gap: 5px;
}

.system-role-basic label span,
.system-role-fixed span,
.system-account-form > label > span,
.system-role-selector legend {
  color: #42647f;
  font-size: 10px;
  font-weight: 850;
}

.system-role-basic input,
.system-role-basic select {
  width: 100%;
  height: 34px;
  border: 1px solid #b8cee0;
  border-radius: 4px;
  padding: 0 9px;
  background: #fff;
  color: #1c425f;
  font-size: 12px;
  font-weight: 700;
}

.system-role-fixed strong { height: 34px; display: flex; align-items: center; padding: 0 9px; border: 1px solid #d0dde8; border-radius: 4px; background: #f2f6f9; color: #47647c; font-size: 11px; }

.system-permission-head {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 15px;
  border-bottom: 1px solid #d6e2ec;
}

.system-permission-head strong { color: #244f72; font-size: 12px; }
.system-permission-head span { color: #8192a1; font-size: 10px; }

.system-permission-tree { max-height: 470px; overflow: auto; }
.system-permission-row {
  min-height: 47px;
  display: grid;
  grid-template-columns: minmax(220px, 36%) minmax(0, 1fr);
  align-items: center;
  border-bottom: 1px solid #d9e4ed;
  background: #fff;
}

.system-permission-row:hover { background: #f8fbfd; }
.system-permission-row.depth-0 { background: #edf5fb; }
.system-permission-row.depth-1 .system-menu-check { padding-left: 28px; }
.system-permission-row.depth-2 .system-menu-check { padding-left: 47px; }
.system-permission-row.depth-3 .system-menu-check { padding-left: 65px; }

.system-menu-check {
  min-height: 47px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-right: 1px solid #d3e0ea;
}

.system-menu-check input,
.system-operation-checks input,
.system-role-selector input { width: 15px; height: 15px; accent-color: #2471a9; }
.system-menu-check strong { display: block; color: #294f70; font-size: 11px; }
.system-menu-check small { display: block; margin-top: 2px; color: #8193a3; font-size: 9px; font-weight: 650; }
.system-operation-checks { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; padding: 7px 10px; }
.system-operation-checks label { display: inline-flex; align-items: center; gap: 4px; min-height: 26px; padding: 0 7px; border: 1px solid #bfd3e2; border-radius: 13px; background: #f4f9fc; color: #3c627f; font-size: 10px; font-weight: 800; }
.system-directory-label { color: #8999a6; font-size: 10px; font-weight: 750; }

.system-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(14, 34, 53, .48);
  backdrop-filter: blur(3px);
}

.system-modal-dialog {
  width: min(680px, calc(100vw - 34px));
  max-height: calc(100vh - 40px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border: 1px solid #9eb9cf;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 25px 70px rgba(10, 32, 52, .35), inset 0 1px 0 #fff;
  overflow: hidden;
}

.system-modal-header {
  min-height: 78px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 13px 16px 13px 19px;
  border-bottom: 1px solid #bcd0e0;
  background: #eef6fc;
}

.system-modal-header h3 { margin: 3px 0 1px; color: #153e62; font-size: 20px; }
.system-modal-header p { margin: 0; color: #698096; font-size: 11px; font-weight: 700; }
.system-modal-header > button { width: 34px; height: 34px; border: 1px solid #aac2d5; border-radius: 5px; background: linear-gradient(#fff, #e9f1f7); color: #2c587a; font-size: 22px; line-height: 1; cursor: pointer; box-shadow: 0 2px 6px rgba(27, 67, 101, .12); }
.system-modal-body { min-height: 0; overflow: auto; padding: 17px 19px; }
.system-modal-footer { min-height: 60px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 18px; border-top: 1px solid #cbdbe7; background: #f4f8fb; }
.system-modal-footer button { min-width: 100px; }
.system-modal-primary.warning { border-color: #a56527; border-bottom-color: #744316; background: linear-gradient(#e6a456, #bc702b 53%, #99541c); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 2px 0 #784317, 0 6px 13px rgba(116, 67, 23, .17); }

.system-account-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 14px;
}

.system-account-form > label { min-width: 0; display: grid; align-content: start; gap: 6px; }
.system-account-form > label input,
.system-account-form > label select {
  width: 100%;
  height: 38px;
  border: 1px solid #b8cfe1;
  border-radius: 4px;
  padding: 0 10px;
  background: #fff;
  color: #173e5f;
  font-size: 12px;
  font-weight: 700;
  outline: 0;
}

.system-account-form input:focus,
.system-account-form select:focus { border-color: #3980b4; box-shadow: 0 0 0 3px rgba(57, 128, 180, .12); }
.system-account-form b,
.system-role-selector b { color: #bd4f4f; }
.system-account-form small { color: #788da0; font-size: 9px; font-weight: 700; }

.system-account-identity {
  grid-column: 1 / -1;
  min-height: 53px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border: 1px solid #bed1e0;
  border-left: 4px solid #2a75ad;
  border-radius: 5px;
  background: #f3f8fc;
}

.system-account-identity span { color: #5e7890; font-size: 10px; font-weight: 800; }
.system-account-identity strong { color: #194b74; font-size: 15px; }
.system-account-identity small { padding: 4px 7px; border-radius: 10px; background: #dfeef8; color: #2d648b; }

.system-password-field,
.system-binding-field,
.system-role-selector { grid-column: 1 / -1; }
.system-password-field > div { display: flex; gap: 7px; }
.system-password-field > div input { flex: 1; }
.system-password-field > div button { min-width: 88px; border: 1px solid #afc7da; border-radius: 4px; background: #edf5fa; color: #2b6088; font-size: 11px; font-weight: 850; cursor: pointer; }

.system-role-selector { margin: 2px 0 0; padding: 11px; border: 1px solid #bfd2e1; border-radius: 5px; }
.system-role-selector legend { padding: 0 6px; }
.system-role-selector > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.system-role-selector label { min-height: 45px; display: flex; align-items: center; gap: 8px; padding: 6px 8px; border: 1px solid #cbdbe7; border-radius: 4px; background: #f8fbfd; }
.system-role-selector label strong { display: block; color: #315a79; font-size: 11px; }
.system-role-selector label small { display: block; margin-top: 2px; color: #8293a2; font-size: 8px; }
.system-admin-note { margin: 0 0 8px; padding: 7px 9px; border-left: 3px solid #b98830; background: #fff8e9; color: #795c2d; font-size: 10px; font-weight: 750; }

.system-binding-field { position: relative; }
.system-binding-suggestions { position: absolute; z-index: 5; top: 65px; left: 0; right: 0; max-height: 210px; overflow: auto; border: 1px solid #9ebbd1; border-radius: 4px; background: #fff; box-shadow: 0 12px 27px rgba(15, 52, 81, .2); }
.system-binding-suggestions button { width: 100%; min-height: 48px; display: grid; grid-template-columns: minmax(100px, 32%) minmax(0, 1fr); align-items: center; gap: 10px; padding: 6px 10px; border: 0; border-bottom: 1px solid #d8e3ec; background: #fff; color: #31536e; text-align: left; cursor: pointer; }
.system-binding-suggestions button:hover,
.system-binding-suggestions button.active { background: #eaf4fb; }
.system-binding-suggestions button strong { color: #185b88; font-size: 12px; }
.system-binding-suggestions button span { font-size: 11px; }
.system-binding-suggestions p { margin: 0; padding: 18px; color: #7f91a0; font-size: 11px; text-align: center; }

.system-form-error { grid-column: 1 / -1; margin: 0; padding: 9px 11px; border: 1px solid #e3b7b7; border-radius: 4px; background: #fff1f1; color: #a23f3f; font-size: 11px; font-weight: 800; }

.system-confirm-dialog { width: min(570px, calc(100vw - 34px)); }
.system-confirm-content { display: grid; grid-template-columns: 54px minmax(0, 1fr); align-items: center; gap: 15px; min-height: 126px; padding: 13px 15px; border: 1px solid #c8d9e7; border-radius: 5px; background: #f6fbff; }
.system-confirm-content.warning { border-color: #e0c490; background: #fff9ec; }
.system-confirm-content.success { border-color: #a9d2c3; background: #f0faf6; }
.system-confirm-icon { width: 49px; height: 49px; display: grid; place-items: center; border-radius: 50%; background: #dfeef8; color: #226d9f; font-size: 25px; font-weight: 900; box-shadow: inset 0 0 0 6px rgba(255,255,255,.6); }
.system-confirm-content.warning .system-confirm-icon { background: #f3dfb7; color: #9a6427; }
.system-confirm-content.success .system-confirm-icon { background: #cfeadd; color: #237258; }
.system-confirm-content strong { color: #274d6b; font-size: 15px; }
.system-confirm-content p { margin: 7px 0 0; color: #657d91; font-size: 11px; font-weight: 650; line-height: 1.75; }

.system-password-result { display: grid; justify-items: center; gap: 10px; padding: 15px; text-align: center; }
.system-password-result > span { color: #2a765e; font-size: 13px; font-weight: 900; }
.system-password-result > strong { min-width: 270px; padding: 13px 18px; border: 1px solid #9dbbd1; border-radius: 5px; background: #eef7fd; color: #154f7a; font-family: Arial, sans-serif; font-size: 24px; letter-spacing: 0; box-shadow: inset 0 1px 3px rgba(24, 70, 105, .08); }
.system-password-result p { margin: 0; color: #71869a; font-size: 11px; }
.system-password-result button { min-height: 32px; padding: 0 14px; border: 1px solid #a9c3d7; border-radius: 4px; background: linear-gradient(#fff, #eaf3f9); color: #2b5f84; font-weight: 850; cursor: pointer; }

.system-result-dialog { width: min(480px, calc(100vw - 34px)); }
.system-result-content { min-height: 120px; display: grid; place-items: center; align-content: center; gap: 10px; text-align: center; }
.system-result-content span { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 50%; background: #f3d7d7; color: #9b4343; font-size: 23px; font-weight: 900; }
.system-result-content.success span { background: #cce9dc; color: #247259; }
.system-result-content p { margin: 0; color: #385975; font-size: 13px; font-weight: 800; }
.system-audit-table { min-width: 1080px; table-layout: fixed; }
.system-audit-table th:nth-child(1) { width: 145px; }
.system-audit-table th:nth-child(2) { width: 120px; }
.system-audit-table th:nth-child(3) { width: 220px; }
.system-audit-table th:nth-child(4) { width: 135px; }
.system-audit-table th:nth-child(5) { width: 125px; }
.system-audit-table th:nth-child(6) { width: 90px; }
.system-audit-table th:nth-child(7) { width: auto; }
.system-audit-table td { overflow-wrap: anywhere; vertical-align: top; }
.system-audit-action { color: #205f8e; font-weight: 850; }
.system-request-id { color: #638098; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; overflow-wrap: anywhere; }
.system-audit-detail-button { margin-top: 7px; min-height: 25px; padding: 0 10px; border: 1px solid #a9c5d9; border-radius: 999px; background: linear-gradient(#fff, #edf5fa); color: #276286; font-size: 10px; font-weight: 850; cursor: pointer; }
.system-audit-detail-button:hover { border-color: #6da0c4; background: #e4f1f9; }
.system-audit-detail-dialog { width: min(880px, calc(100vw - 34px)); }
.system-audit-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.system-audit-detail-grid > div { min-width: 0; padding: 10px 12px; border: 1px solid #d7e4ed; border-radius: 7px; background: #f7fbfd; }
.system-audit-detail-grid span { display: block; margin-bottom: 4px; color: #6f8598; font-size: 10px; font-weight: 800; }
.system-audit-detail-grid strong { display: block; color: #234e6d; font-size: 12px; overflow-wrap: anywhere; }
.system-audit-evidence-section { margin-top: 13px; border: 1px solid #d8e5ee; border-radius: 8px; overflow: hidden; }
.system-audit-evidence-section h4 { margin: 0; padding: 9px 12px; border-bottom: 1px solid #d8e5ee; background: #edf5fa; color: #285c7e; font-size: 12px; }
.system-audit-evidence-section p { display: grid; grid-template-columns: 155px minmax(0, 1fr); gap: 8px; margin: 0; padding: 8px 12px; border-bottom: 1px solid #edf2f6; font-size: 11px; }
.system-audit-evidence-section p:last-child { border-bottom: 0; }
.system-audit-evidence-section b { color: #315c79; }
.system-audit-evidence-section span { color: #536d80; overflow-wrap: anywhere; }
.system-audit-evidence-section small { grid-column: 2; color: #8293a1; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }
#systemAuditPanel .audit-search-shell { width: min(430px, 36vw); }
#systemAuditPanel .system-management-toolbar { flex-wrap: wrap; }

@keyframes system-spin { to { transform: rotate(360deg); } }

@media (max-width: 1100px) {
  .system-management-header { align-items: flex-start; }
  .system-management-metrics { flex-wrap: wrap; justify-content: flex-end; }
  .system-management-search-shell { width: 42vw; }
  .system-role-basic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .system-role-panel { grid-template-columns: 205px minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .system-management-header { display: grid; padding: 14px; }
  .system-management-metrics { justify-content: flex-start; }
  .system-management-tabs { overflow-x: auto; padding-left: 9px; }
  .system-management-tabs button { flex: 0 0 auto; padding: 0 12px; }
  .system-management-panel { padding: 10px; }
  .system-management-toolbar { flex-wrap: wrap; }
  .system-management-search-shell { width: 100%; }
  .system-management-toolbar .system-primary-button { margin-left: 0; }
  .system-role-panel { display: grid; grid-template-columns: 1fr; }
  .system-role-list { display: flex; overflow-x: auto; }
  .system-role-list > button { min-width: 190px; }
  .system-role-editor-header { align-items: flex-start; flex-direction: column; }
  .system-role-basic { grid-template-columns: 1fr; }
  .system-permission-row { grid-template-columns: 1fr; }
  .system-menu-check { border-right: 0; border-bottom: 1px solid #dde7ef; }
  .system-account-form { grid-template-columns: 1fr; }
  .system-account-identity,
  .system-password-field,
  .system-binding-field,
  .system-role-selector { grid-column: 1; }
  .system-role-selector > div { grid-template-columns: 1fr; }
  .system-audit-detail-grid { grid-template-columns: 1fr; }
  .system-audit-evidence-section p { grid-template-columns: 1fr; }
  .system-audit-evidence-section small { grid-column: 1; }
  #systemAuditPanel .system-management-table-wrap { overflow: visible; border: 0; background: transparent; }
  #systemAuditPanel .system-audit-table { display: block; min-width: 0; width: 100%; }
  #systemAuditPanel .system-audit-table thead { display: none; }
  #systemAuditPanel .system-audit-table tbody { display: grid; gap: 10px; }
  #systemAuditPanel .system-audit-table tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid #d4e1ea;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 4px 13px rgba(28, 72, 102, .07);
  }
  #systemAuditPanel .system-audit-table tbody td {
    display: block;
    min-width: 0;
    padding: 9px 10px;
    border: 0;
    border-bottom: 1px solid #edf2f6;
    background: transparent;
  }
  #systemAuditPanel .system-audit-table tbody td:nth-child(odd) { border-right: 1px solid #edf2f6; }
  #systemAuditPanel .system-audit-table tbody td:nth-child(3),
  #systemAuditPanel .system-audit-table tbody td:nth-child(7) { grid-column: 1 / -1; border-right: 0; }
  #systemAuditPanel .system-audit-table tbody td:last-child { border-bottom: 0; }
  #systemAuditPanel .system-audit-table tbody td::before {
    display: block;
    margin-bottom: 4px;
    color: #7890a2;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .04em;
  }
  #systemAuditPanel .system-audit-table tbody td:nth-child(1)::before { content: "时间"; }
  #systemAuditPanel .system-audit-table tbody td:nth-child(2)::before { content: "系统 / 分类"; }
  #systemAuditPanel .system-audit-table tbody td:nth-child(3)::before { content: "操作"; }
  #systemAuditPanel .system-audit-table tbody td:nth-child(4)::before { content: "业务对象"; }
  #systemAuditPanel .system-audit-table tbody td:nth-child(5)::before { content: "操作人"; }
  #systemAuditPanel .system-audit-table tbody td:nth-child(6)::before { content: "结果"; }
  #systemAuditPanel .system-audit-table tbody td:nth-child(7)::before { content: "内容 / 请求编号"; }
  #systemAuditPanel .system-audit-action { font-size: 11px; }
  #systemAuditPanel .system-audit-detail-button { min-height: 30px; padding-inline: 13px; font-size: 11px; }
}
