admin-center {
  position: absolute;
  z-index: 1350;
  inset: 0;
  display: block;
  overflow: hidden;
  pointer-events: none;
}

.admin-center__panel {
  position: absolute;
  inset: 0 0 0 auto;
  display: flex;
  width: min(1080px, 92vw);
  min-width: 760px;
  overflow: hidden;
  border-left: 1px solid #cbd9e3;
  color: #1b3448;
  background: #f5f8fa;
  box-shadow: -18px 0 44px rgba(8, 39, 65, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateX(102%);
  transition: transform 220ms cubic-bezier(0.2, 0.76, 0.3, 1), opacity 180ms ease, width 200ms ease;
}

admin-center.is-open .admin-center__panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.admin-center__header {
  position: absolute;
  z-index: 3;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  padding: 12px 14px 12px 16px;
  border-bottom: 1px solid #d6e1e8;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.admin-center__identity {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.admin-center__mark {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid #9dbbce;
  border-radius: 12px;
  background: linear-gradient(145deg, #edf6fb, #dcebf3);
}

.admin-center__mark::before,
.admin-center__mark::after,
.admin-center__mark span {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border: 1.5px solid #33789f;
  border-radius: 2px;
}

.admin-center__mark::before {
  transform: translate(-5px, -5px);
}

.admin-center__mark::after {
  transform: translate(5px, -5px);
}

.admin-center__mark span {
  transform: translate(0, 6px);
}

.admin-center__heading {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.admin-center__heading strong {
  overflow: hidden;
  color: #163f5e;
  font-family: "Sora", sans-serif;
  font-size: 15px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-center__heading small {
  color: #687f8f;
  font-size: 12px;
  font-weight: 600;
}

.admin-center__header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.admin-center__action-wrap {
  position: relative;
}

.admin-center__header-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #cfdae2;
  border-radius: 10px;
  color: #496375;
  background: #f7fafc;
  font: 600 21px/1 "Source Sans 3", sans-serif;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.admin-center__header-button:hover {
  border-color: #a9bfce;
  color: #1e567b;
  background: #eaf3f8;
  transform: translateY(-1px);
}

.admin-center__header-button:active {
  transform: scale(0.97);
}

.admin-center__header-button:focus-visible,
.admin-center__nav-button:focus-visible,
.admin-center__primary-action:focus-visible,
.admin-center__search input:focus-visible {
  outline: 3px solid rgba(47, 125, 168, 0.3);
  outline-offset: 2px;
}

.admin-center__tooltip {
  position: absolute;
  z-index: 8;
  top: calc(100% + 7px);
  left: 50%;
  padding: 5px 8px;
  border: 1px solid #bdcdd8;
  border-radius: 7px;
  color: #2b4558;
  background: #fff;
  box-shadow: 0 6px 14px rgba(6, 39, 65, 0.16);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -3px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.admin-center__header-button:hover + .admin-center__tooltip,
.admin-center__header-button:focus-visible + .admin-center__tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.admin-center__action-wrap:last-child .admin-center__tooltip {
  right: 0;
  left: auto;
  transform: translateY(-3px);
}

.admin-center__action-wrap:last-child .admin-center__header-button:hover + .admin-center__tooltip,
.admin-center__action-wrap:last-child .admin-center__header-button:focus-visible + .admin-center__tooltip {
  transform: translateY(0);
}

.admin-center__workspace {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  width: 100%;
  min-width: 0;
  padding-top: 76px;
  overflow: hidden;
}

.admin-center__navigation {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  padding: 14px 9px;
  border-right: 1px solid #dbe4ea;
  background: #edf2f5;
}

.admin-center__nav-button {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 8px 9px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #536b7c;
  background: transparent;
  font: 700 12px/1.2 "Source Sans 3", sans-serif;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.admin-center__nav-button:hover {
  color: #235f86;
  background: #e0ebf1;
  transform: translateX(1px);
}

.admin-center__nav-button.is-active {
  border-color: #b6cfde;
  color: #174f76;
  background: #fff;
  box-shadow: 0 4px 12px rgba(12, 60, 91, 0.1);
}

.admin-center__nav-icon {
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  color: #47718c;
  background: rgba(98, 148, 178, 0.13);
  font-family: "Sora", sans-serif;
  font-size: 14px;
}

.admin-center__nav-button.is-active .admin-center__nav-icon {
  color: #fff;
  background: #367fa8;
}

.admin-center__content {
  min-width: 0;
  padding: 30px 34px;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.admin-center__content:focus {
  outline: none;
}

.admin-center__view[hidden] {
  display: none;
}

.admin-center__view {
  animation: admin-center-view-in 170ms ease-out both;
}

.admin-center__eyebrow {
  margin: 0 0 6px;
  color: #3b789c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.admin-center__view h2 {
  margin: 0;
  color: #153b58;
  font-family: "Sora", sans-serif;
  font-size: 24px;
  line-height: 1.2;
}

.admin-center__view h2:focus {
  outline: none;
}

.admin-center__description {
  margin: 8px 0 22px;
  color: #667d8d;
  font-size: 14px;
  line-height: 1.5;
}

.admin-center__section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.admin-center__primary-action {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #7ba6bf;
  border-radius: 9px;
  color: #fff;
  background: #347ca4;
  font: 700 12px/1.2 "Source Sans 3", sans-serif;
}

.admin-center__primary-action:disabled {
  border-color: #c5d1d8;
  color: #8b9aa4;
  background: #e3e9ed;
  cursor: not-allowed;
}

.admin-center__search {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
  color: #405d70;
  font-size: 12px;
  font-weight: 700;
}

.admin-center__search input {
  width: 100%;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid #cbd7df;
  border-radius: 9px;
  color: #667b89;
  background: #eef2f4;
  font: 400 14px/1.3 "Source Sans 3", sans-serif;
  cursor: not-allowed;
}

.admin-center__empty-state {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 34px 24px;
  border: 1px dashed #b9cad5;
  border-radius: 14px;
  color: #607786;
  background: rgba(255, 255, 255, 0.62);
  text-align: center;
}

.admin-center__empty-state--compact {
  padding-block: 26px;
}

.admin-center__empty-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 3px;
  border-radius: 12px;
  color: #3c7ea4;
  background: #e1eef5;
  font-family: "Sora", sans-serif;
  font-size: 20px;
}

.admin-center__empty-state strong {
  color: #345368;
  font-size: 14px;
}

.admin-center__empty-state p {
  max-width: 310px;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.admin-center__info-grid {
  display: grid;
  gap: 12px;
}

.admin-center__info-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 3px 12px;
  padding: 15px;
  border: 1px solid #d4dfe6;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(10, 51, 79, 0.06);
}

.admin-center__info-card > span {
  display: grid;
  grid-row: 1 / 4;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: #286b93;
  background: #e2eff6;
  font: 700 13px/1 "Sora", sans-serif;
}

.admin-center__info-card strong {
  color: #294b61;
  font-size: 14px;
}

.admin-center__info-card p {
  margin: 0;
  color: #6a7e8c;
  font-size: 12px;
  line-height: 1.4;
}

.admin-center__info-card small {
  margin-top: 4px;
  color: #8b9ba5;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.admin-dashboard {
  display: grid;
  gap: 22px;
}

.admin-dashboard__intro .admin-center__description {
  margin-bottom: 0;
}

.admin-dashboard__section {
  display: grid;
  gap: 12px;
}

.admin-dashboard__section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.admin-dashboard__section-heading h3 {
  margin: 0;
  color: #294b61;
  font-family: "Sora", sans-serif;
  font-size: 14px;
  line-height: 1.3;
}

.admin-dashboard__section-heading p {
  margin: 3px 0 0;
  color: #788b98;
  font-size: 11px;
  line-height: 1.35;
}

.admin-dashboard__pending-badge {
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 1px solid #c7d6df;
  border-radius: 999px;
  color: #697f8e;
  background: #f1f5f7;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.admin-dashboard__metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-dashboard__metric {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
  padding: 13px;
  border: 1px solid #d3dfe6;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(10, 51, 79, 0.06);
}

.admin-dashboard__metric-icon,
.admin-dashboard__quick-icon,
.admin-dashboard__activity-icon,
.admin-dashboard__security-list > div > span {
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #2f7198;
  background: #e5f0f6;
  font-family: "Sora", sans-serif;
  font-weight: 700;
}

.admin-dashboard__metric-icon {
  width: 36px;
  height: 36px;
  font-size: 12px;
}

.admin-dashboard__metric-copy {
  display: grid;
  min-width: 0;
}

.admin-dashboard__metric-copy > strong {
  overflow: hidden;
  color: #3d596b;
  font-size: 11px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-dashboard__metric-value {
  margin-top: 3px;
  color: #183e5a;
  font-family: "Sora", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.admin-dashboard__metric-copy small {
  margin-top: 5px;
  color: #84949f;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
}

.admin-dashboard__quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.admin-dashboard__quick-action {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 12px;
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 60px;
  padding: 10px;
  border: 1px solid #cfdae2;
  border-radius: 11px;
  color: #38566a;
  background: #fff;
  font-family: "Source Sans 3", sans-serif;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.admin-dashboard__quick-action:hover:not(:disabled) {
  border-color: #9fbccc;
  background: #f5fafc;
  box-shadow: 0 6px 14px rgba(10, 53, 82, 0.1);
  transform: translateY(-1px);
}

.admin-dashboard__quick-action:active:not(:disabled) {
  transform: scale(0.985);
}

.admin-dashboard__quick-action:focus-visible,
.admin-dashboard__section-link:focus-visible {
  outline: 3px solid rgba(47, 125, 168, 0.3);
  outline-offset: 2px;
}

.admin-dashboard__quick-action:disabled {
  color: #82929c;
  background: #eef2f4;
  cursor: not-allowed;
}

.admin-dashboard__quick-icon {
  width: 32px;
  height: 32px;
  font-size: 11px;
}

.admin-dashboard__quick-action:disabled .admin-dashboard__quick-icon {
  color: #8296a2;
  background: #dfe7eb;
}

.admin-dashboard__quick-action strong,
.admin-dashboard__quick-action small {
  display: block;
}

.admin-dashboard__quick-action strong {
  color: #2f5268;
  font-size: 12px;
  line-height: 1.25;
}

.admin-dashboard__quick-action small {
  margin-top: 2px;
  color: #7b8d98;
  font-size: 9px;
  line-height: 1.25;
}

.admin-dashboard__quick-action:disabled strong {
  color: #778b97;
}

.admin-dashboard__quick-arrow {
  color: #6e899a;
  font-size: 18px;
}

.admin-dashboard__quick-action:disabled .admin-dashboard__quick-arrow {
  visibility: hidden;
}

.admin-dashboard__disabled-note {
  margin: -2px 0 0;
  color: #7a8d99;
  font-size: 10px;
  line-height: 1.35;
}

.admin-dashboard__activity-empty {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px dashed #b9cbd6;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
}

.admin-dashboard__activity-icon {
  width: 38px;
  height: 38px;
  font-size: 15px;
}

.admin-dashboard__activity-empty strong {
  color: #3b586b;
  font-size: 12px;
}

.admin-dashboard__activity-empty p {
  margin: 3px 0 0;
  color: #728691;
  font-size: 10px;
  line-height: 1.35;
}

.admin-dashboard__activity-empty button {
  min-height: 34px;
  padding: 6px 9px;
  border: 1px solid #cbd6dd;
  border-radius: 8px;
  color: #8997a0;
  background: #e9eef1;
  font: 700 10px/1.2 "Source Sans 3", sans-serif;
  cursor: not-allowed;
}

.admin-dashboard__security-list {
  display: grid;
  border: 1px solid #d4dfe6;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.admin-dashboard__security-list > div {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 9px 12px;
  border-bottom: 1px solid #e6ecef;
}

.admin-dashboard__security-list > div:last-child {
  border-bottom: 0;
}

.admin-dashboard__security-list > div > span {
  width: 30px;
  height: 30px;
  font-size: 10px;
}

.admin-dashboard__security-list strong {
  color: #3b586b;
  font-size: 11px;
}

.admin-dashboard__security-list small {
  color: #83949f;
  font-size: 9px;
  font-weight: 700;
  text-align: right;
}

.admin-dashboard__section-link {
  justify-self: end;
  padding: 6px 2px;
  border: 0;
  color: #2b6e96;
  background: transparent;
  font: 700 11px/1.2 "Source Sans 3", sans-serif;
  cursor: pointer;
}

.admin-dashboard__section-link:hover {
  color: #164f74;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.audit-view__table-wrap {
  overflow: auto;
  border: 1px solid #d7e2e7;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(22, 58, 81, .07);
}

.audit-view__table {
  width: 100%;
  min-width: 840px;
  border-collapse: collapse;
  table-layout: auto;
  color: #405e71;
  font-size: 12px;
}

.audit-view__table th,
.audit-view__table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e7edef;
  text-align: left;
  overflow-wrap: normal;
}

.audit-view__table td {
  height: 70px;
  color: #506c7c;
  vertical-align: middle;
}

.audit-view__table th:first-child,
.audit-view__table td:first-child {
  min-width: 120px;
}

.audit-view__table th:nth-child(2),
.audit-view__table td:nth-child(2) {
  min-width: 140px;
}

.audit-view__table th:nth-child(4),
.audit-view__table td:nth-child(4),
.audit-view__table th:nth-child(5),
.audit-view__table td:nth-child(5) {
  min-width: 125px;
}

.audit-view__table th:last-child,
.audit-view__table td:last-child {
  min-width: 190px;
}

.audit-view__table th {
  height: 48px;
  padding-block: 12px;
  color: #66808f;
  background: #f1f6f8;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .085em;
  text-transform: uppercase;
}

.audit-view__table tbody tr:last-child td {
  border-bottom: 0;
}

.audit-view__table tbody tr:hover {
  background: #f5f9fb;
}

.audit-view__table td strong {
  color: #1e475f;
  font-size: 13px;
  font-weight: 800;
}

admin-center[data-minimized="true"] .admin-center__panel {
  bottom: auto;
  width: 64px;
  min-width: 64px;
  height: 116px;
  border-bottom-left-radius: 14px;
}

admin-center[data-minimized="true"] .admin-center__header {
  position: static;
  flex-direction: column;
  min-height: 116px;
  padding: 10px;
  border: 0;
}

admin-center[data-minimized="true"] .admin-center__identity,
admin-center[data-minimized="true"] .admin-center__workspace {
  display: none;
}

admin-center[data-minimized="true"] .admin-center__header-actions {
  flex-direction: column;
}

admin-center[data-minimized="true"] .admin-center__header-button {
  width: 40px;
  height: 40px;
}

html[data-theme="dark"] .admin-center__panel {
  border-color: #344a5b;
  color: #dce7ee;
  background: #15212b;
  box-shadow: -18px 0 44px rgba(0, 0, 0, 0.38);
  color-scheme: dark;
}

html[data-theme="dark"] .admin-center__header {
  border-color: #344958;
  background: rgba(25, 38, 49, 0.97);
}

html[data-theme="dark"] .admin-center__mark {
  border-color: #4e7188;
  background: linear-gradient(145deg, #263d4e, #1b2e3c);
}

html[data-theme="dark"] .admin-center__mark::before,
html[data-theme="dark"] .admin-center__mark::after,
html[data-theme="dark"] .admin-center__mark span {
  border-color: #7fb6d4;
}

html[data-theme="dark"] .admin-center__heading strong,
html[data-theme="dark"] .admin-center__view h2 {
  color: #edf5fa;
}

html[data-theme="dark"] .admin-center__heading small,
html[data-theme="dark"] .admin-center__description {
  color: #9fb2bf;
}

html[data-theme="dark"] .admin-center__header-button {
  border-color: #42596a;
  color: #b8cad6;
  background: #21323f;
}

html[data-theme="dark"] .admin-center__header-button:hover {
  border-color: #608299;
  color: #e8f3f9;
  background: #293f50;
}

html[data-theme="dark"] .admin-center__tooltip {
  border-color: #465e70;
  color: #dce9f0;
  background: #1c2c38;
}

html[data-theme="dark"] .admin-center__navigation {
  border-color: #314553;
  background: #192731;
}

html[data-theme="dark"] .admin-center__nav-button {
  color: #9eb2c0;
}

html[data-theme="dark"] .admin-center__nav-button:hover {
  color: #cbe1ed;
  background: #243946;
}

html[data-theme="dark"] .admin-center__nav-button.is-active {
  border-color: #46677c;
  color: #e4f1f7;
  background: #263b49;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

html[data-theme="dark"] .admin-center__nav-icon {
  color: #9bc5dc;
  background: rgba(112, 170, 201, 0.12);
}

html[data-theme="dark"] .admin-center__nav-button.is-active .admin-center__nav-icon {
  color: #fff;
  background: #3d83aa;
}

html[data-theme="dark"] .admin-center__eyebrow {
  color: #78b6d8;
}

html[data-theme="dark"] .admin-center__primary-action:disabled {
  border-color: #415461;
  color: #718591;
  background: #273844;
}

html[data-theme="dark"] .admin-center__search {
  color: #c4d4de;
}

html[data-theme="dark"] .admin-center__search input {
  border-color: #3e5362;
  color: #8195a2;
  background: #111c24;
}

html[data-theme="dark"] .admin-center__empty-state {
  border-color: #435b6b;
  color: #9db0bd;
  background: rgba(29, 44, 56, 0.72);
}

html[data-theme="dark"] .admin-center__empty-icon,
html[data-theme="dark"] .admin-center__info-card > span {
  color: #91c5df;
  background: #263e4e;
}

html[data-theme="dark"] .admin-center__empty-state strong,
html[data-theme="dark"] .admin-center__info-card strong {
  color: #d4e4ec;
}

html[data-theme="dark"] .admin-center__info-card {
  border-color: #344a59;
  background: #1c2c37;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

html[data-theme="dark"] .admin-center__info-card p {
  color: #9aadb9;
}

html[data-theme="dark"] .admin-center__info-card small {
  color: #718794;
}

html[data-theme="dark"] .admin-dashboard__section-heading h3,
html[data-theme="dark"] .admin-dashboard__metric-value,
html[data-theme="dark"] .admin-dashboard__quick-action strong,
html[data-theme="dark"] .admin-dashboard__activity-empty strong,
html[data-theme="dark"] .admin-dashboard__security-list strong {
  color: #d6e6ee;
}

html[data-theme="dark"] .admin-dashboard__section-heading p,
html[data-theme="dark"] .admin-dashboard__metric-copy small,
html[data-theme="dark"] .admin-dashboard__quick-action small,
html[data-theme="dark"] .admin-dashboard__disabled-note,
html[data-theme="dark"] .admin-dashboard__activity-empty p,
html[data-theme="dark"] .admin-dashboard__security-list small {
  color: #8fa4b1;
}

html[data-theme="dark"] .admin-dashboard__pending-badge {
  border-color: #425969;
  color: #9bb0bd;
  background: #22333f;
}

html[data-theme="dark"] .admin-dashboard__metric,
html[data-theme="dark"] .admin-dashboard__quick-action,
html[data-theme="dark"] .admin-dashboard__security-list {
  border-color: #344a59;
  background: #1c2c37;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

html[data-theme="dark"] .admin-dashboard__metric-icon,
html[data-theme="dark"] .admin-dashboard__quick-icon,
html[data-theme="dark"] .admin-dashboard__activity-icon,
html[data-theme="dark"] .admin-dashboard__security-list > div > span {
  color: #91c5df;
  background: #263e4e;
}

html[data-theme="dark"] .admin-dashboard__metric-copy > strong {
  color: #b9ccd7;
}

html[data-theme="dark"] .admin-dashboard__quick-action:hover:not(:disabled) {
  border-color: #527085;
  background: #243946;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] .admin-dashboard__quick-action:disabled {
  border-color: #344753;
  color: #738894;
  background: #1a2832;
}

html[data-theme="dark"] .admin-dashboard__quick-action:disabled strong {
  color: #7f939f;
}

html[data-theme="dark"] .admin-dashboard__quick-action:disabled .admin-dashboard__quick-icon {
  color: #7892a1;
  background: #253743;
}

html[data-theme="dark"] .admin-dashboard__quick-arrow {
  color: #8ca7b7;
}

html[data-theme="dark"] .admin-dashboard__activity-empty {
  border-color: #425a6a;
  background: rgba(29, 44, 56, 0.72);
}

html[data-theme="dark"] .admin-dashboard__activity-empty button {
  border-color: #3b4f5c;
  color: #71848f;
  background: #263641;
}

html[data-theme="dark"] .admin-dashboard__security-list > div {
  border-color: #30434f;
}

html[data-theme="dark"] .admin-dashboard__section-link {
  color: #83bedc;
}

html[data-theme="dark"] .admin-dashboard__section-link:hover {
  color: #b6dbed;
}

html[data-theme="dark"] .audit-view__table-wrap,
html[data-theme="dark"] .audit-view__table {
  border-color: #344a59;
  color: #a9bdc8;
  background: #112734;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .2);
}

html[data-theme="dark"] .audit-view__table th {
  color: #87a0ae;
  background: #1a3442;
}

html[data-theme="dark"] .audit-view__table th,
html[data-theme="dark"] .audit-view__table td {
  border-color: #30434f;
}

html[data-theme="dark"] .audit-view__table tbody tr:hover {
  background: #18313e;
}

html[data-theme="dark"] .audit-view__table td strong {
  color: #eef7fb;
}

@keyframes admin-center-view-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
}

@media (max-width: 1100px){
  .admin-center__panel {
    width: calc(100% - 16px);
    min-width: 0;
  }
}

@media (min-width: 768px) and (max-width: 900px){
  .admin-center__panel {
    width: calc(100% - 8px);
    min-width: 0;
  }

  .admin-center__workspace {
    grid-template-columns: 126px minmax(0, 1fr);
  }

  .admin-center__content {
    padding: 24px;
  }
}

@media (max-width: 767px){
  admin-center {
    position: fixed;
    inset: 60px 0 0;
  }

  .admin-center__panel {
    width: calc(100% - 8px);
    min-width: 0;
    border-radius: 16px 0 0;
  }

  .admin-center__header {
    min-height: 68px;
    padding: 9px 8px 9px 12px;
  }

  .admin-center__mark {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .admin-center__heading strong {
    font-size: 14px;
  }

  .admin-center__heading small {
    font-size: 11px;
  }

  .admin-center__header-button {
    width: 44px;
    height: 44px;
  }

  .admin-center__workspace {
    display: flex;
    flex-direction: column;
    padding-top: 68px;
  }

  .admin-center__navigation {
    z-index: 2;
    display: flex;
    flex: 0 0 auto;
    flex-direction: row;
    gap: 5px;
    padding: 8px;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid #dbe4ea;
    scrollbar-width: none;
  }

  .admin-center__navigation::-webkit-scrollbar {
    display: none;
  }

  .admin-center__nav-button {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 7px 10px;
  }

  .admin-center__nav-button[data-section="home"] { order: 1; }
  .admin-center__nav-button[data-section="users"] { order: 2; }
  .admin-center__nav-button[data-section="audit"] { order: 3; }
  .admin-center__nav-button[data-section="layers"] { order: 4; }
  .admin-center__nav-button[data-section="maintenance"] { order: 5; }

  .admin-center__nav-icon {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }

  .admin-center__content {
    padding: 20px 16px calc(22px + env(safe-area-inset-bottom));
  }

  .admin-center__view h2 {
    font-size: 22px;
  }

  .admin-center__section-heading {
    align-items: flex-start;
  }

  .admin-dashboard__metrics,
.admin-dashboard__quick-grid {
    grid-template-columns: 1fr;
  }

  .audit-view__table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

.audit-view__table,
.audit-view__table tbody,
.audit-view__table tr,
.audit-view__table td {
    display: block;
    width: 100%;
  }

  .audit-view__table {
    min-width: 0;
    background: transparent;
  }

  .audit-view__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .audit-view__table tr {
    margin-bottom: 10px;
    padding: 10px 13px;
    border: 1px solid #d7e2e7;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(24, 59, 82, 0.05);
  }

  .audit-view__table td {
    display: grid;
    height: auto;
    grid-template-columns: minmax(86px, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #e7edef;
  }

  .audit-view__table td::before {
    content: attr(data-label);
    color: #718692;
    font-size: 10px;
    font-weight: 800;
  }

  .audit-view__table tbody tr:last-child td {
    border-bottom: 1px solid #e7edef;
  }

  .audit-view__table td:last-child,
.audit-view__table tbody tr:last-child td:last-child {
    border-bottom: 0;
  }

  html[data-theme="dark"] .audit-view__table tr {
    border-color: #344a59;
    background: #1c2c37;
  }

  html[data-theme="dark"] .audit-view__table td,
html[data-theme="dark"] .audit-view__table tbody tr:last-child td {
    border-color: #30434f;
  }

  html[data-theme="dark"] .audit-view__table td:last-child,
html[data-theme="dark"] .audit-view__table tbody tr:last-child td:last-child {
    border-bottom: 0;
  }

  html[data-theme="dark"] .audit-view__table td::before {
    color: #8fa4b1;
  }

  .admin-dashboard__quick-action {
    min-height: 64px;
  }

  .admin-dashboard__activity-empty {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .admin-dashboard__activity-empty button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .admin-center__tooltip {
    display: none;
  }

  admin-center[data-minimized="true"] .admin-center__panel {
    width: 60px;
    min-width: 60px;
    height: 116px;
  }
}

@media (max-width: 420px){
  .admin-center__identity {
    gap: 8px;
  }

  .admin-center__heading strong {
    max-width: 145px;
  }

  .admin-center__content {
    padding-inline: 14px;
  }

  .admin-center__description {
    margin-bottom: 18px;
  }

}

@media (max-width: 767px) and (orientation: landscape){
  admin-center {
    top: 56px;
  }

  .admin-center__content {
    padding-block: 16px;
  }
}

@media (prefers-reduced-motion: reduce){
  .admin-center__panel,
.admin-center__header-button,
.admin-center__tooltip,
.admin-center__nav-button,
.admin-center__view,
.admin-dashboard__quick-action {
    transition: none;
    animation: none;
  }
}

.audit-view__heading,
.audit-view__filters {
  display: flex;
  gap: 12px;
  align-items: center;
}
.audit-view__heading { justify-content: space-between; }
.audit-view__filters { flex-wrap: wrap; margin: 18px 0; }
.audit-view__filters label {
  display: grid; gap: 5px; min-width: 150px; color: #607784; font-size: 12px; font-weight: 700;
}
.audit-view__filters input,
.audit-view__filters select {
  min-height: 40px; padding: 8px 10px; border: 1px solid #cbd9df;
  border-radius: 8px; background: #fff; color: #183b52;
}
.audit-view__refresh {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #9eb6c4;
  border-radius: 10px;
  color: #365b70;
  background: transparent;
  font: 700 12px/1.2 "Source Sans 3", sans-serif;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease, transform 150ms ease;
}
.audit-view__refresh:hover {
  border-color: #6e96ac;
  background: rgba(69, 128, 160, .1);
  transform: translateY(-1px);
}
.audit-view__message { min-height: 22px; color: #607784; }
html[data-theme="dark"] .audit-view__filters input,
html[data-theme="dark"] .audit-view__filters select {
  border-color: #3b5260; background: #1c2c37; color: #e6eef2;
}
@media (max-width: 767px){
  .audit-view__heading {
    align-items: stretch; flex-direction: column;
  }
  .audit-view__filters {
    display: grid; grid-template-columns: 1fr;
  }
}
