:root {
  color-scheme: light;
  --fx-bg: #f4f8fc;
  --fx-surface: #ffffff;
  --fx-sidebar: #071d35;
  --fx-sidebar-deep: #04172b;
  --fx-sidebar-text: #d9e7f6;
  --fx-sidebar-muted: #8fa5bd;
  --fx-primary: #087ef5;
  --fx-primary-strong: #006ee6;
  --fx-primary-soft: #eef7ff;
  --fx-text: #101b2d;
  --fx-muted: #64748b;
  --fx-border: #dbe5f0;
  --fx-border-soft: #e8eef5;
  --fx-success: #22b04b;
  --fx-warning: #e6a23c;
  --fx-danger: #e64b4b;
  --fx-radius: 7px;
  --fx-shadow: 0 5px 16px rgba(25, 54, 88, 0.055);
  --fx-sidebar-width: 262px;
  --fx-sidebar-collapsed: 78px;
  --fx-topbar-height: 80px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body,
#app {
  width: 100%;
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
  color: var(--fx-text);
  background: var(--fx-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

a {
  color: var(--fx-primary);
  text-decoration: none;
}

.fx-login {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 32px 20px;
  background:
    radial-gradient(circle at 16% 16%, rgba(8, 126, 245, 0.16), transparent 32%),
    radial-gradient(circle at 82% 80%, rgba(35, 176, 75, 0.08), transparent 30%),
    #edf5fd;
}

.fx-login::before,
.fx-login::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(8, 126, 245, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.fx-login::before {
  width: 440px;
  height: 440px;
  top: -275px;
  right: -145px;
}

.fx-login::after {
  width: 270px;
  height: 270px;
  bottom: -185px;
  left: -70px;
}

.fx-login-card {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  padding: 36px 36px 32px;
  border: 1px solid rgba(204, 219, 235, 0.95);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 70px rgba(22, 54, 92, 0.15);
}

.fx-login-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.fx-login-logo,
.fx-brand-logo {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: linear-gradient(145deg, #0ea5ff 0%, #0073ef 72%);
  font-weight: 800;
  letter-spacing: -0.04em;
  box-shadow: 0 9px 22px rgba(0, 119, 255, 0.25);
}

.fx-login-logo {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  font-size: 23px;
}

.fx-login-title {
  margin: 0;
  color: #0b1728;
  font-size: 23px;
  font-weight: 750;
  line-height: 1.25;
}

.fx-login-sub {
  margin: 5px 0 0;
  color: var(--fx-muted);
  font-size: 13px;
  line-height: 1.5;
}

.fx-login .el-form-item {
  margin-bottom: 18px;
}

.fx-login .el-input__wrapper {
  min-height: 44px;
}

.fx-login .el-button {
  min-height: 44px;
  font-size: 15px;
}

.fx-captcha-row {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px;
  gap: 10px;
}

.fx-captcha-img {
  width: 116px;
  height: 44px;
  object-fit: cover;
  border: 1px solid var(--fx-border);
  border-radius: 5px;
  background: #f6f9fc;
  cursor: pointer;
}

.fx-login-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 20px;
  color: #718096;
  font-size: 12px;
  line-height: 1.6;
}

.fx-login-note .el-icon {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--fx-primary);
}

.fx-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--fx-sidebar-width) minmax(0, 1fr);
  transition: grid-template-columns 180ms ease;
}

.fx-shell.sidebar-collapsed {
  grid-template-columns: var(--fx-sidebar-collapsed) minmax(0, 1fr);
}

.fx-sidebar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 100vh;
  min-width: 0;
  overflow: hidden auto;
  padding: 20px 10px;
  color: var(--fx-sidebar-text);
  background:
    linear-gradient(180deg, rgba(10, 43, 75, 0.2), transparent 45%),
    var(--fx-sidebar);
  box-shadow: 2px 0 12px rgba(5, 25, 46, 0.08);
}

.fx-brand {
  min-height: 66px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 9px 13px 18px;
}

.fx-brand-logo {
  width: 43px;
  height: 43px;
  border-radius: 2px;
  font-size: 22px;
}

.fx-brand-copy {
  min-width: 0;
  opacity: 1;
  transition: opacity 130ms ease;
}

.fx-brand-title {
  overflow: hidden;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
}

.fx-brand-sub {
  margin-top: 5px;
  overflow: hidden;
  color: var(--fx-sidebar-muted);
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.fx-sidebar nav {
  padding-top: 5px;
}

.fx-nav-group {
  margin: 20px 13px 8px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(218, 232, 247, 0.18);
  color: #8fa5bd;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}

.fx-nav-group:first-child {
  display: none;
}

.fx-nav-item {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 3px 0;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 5px;
  color: var(--fx-sidebar-text);
  font-size: 16px;
  font-weight: 450;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.fx-nav-item .el-icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  font-size: 22px;
}

.fx-nav-item:hover {
  color: #fff;
  background: rgba(8, 126, 245, 0.22);
}

.fx-nav-item.active {
  color: #fff;
  background: linear-gradient(135deg, #0799ff 0%, #087cf3 80%);
  border-color: rgba(255, 255, 255, 0.07);
  box-shadow: 0 8px 22px rgba(0, 114, 239, 0.24);
}

.sidebar-collapsed .fx-brand-copy,
.sidebar-collapsed .fx-nav-item span,
.sidebar-collapsed .fx-nav-group {
  display: none;
}

.sidebar-collapsed .fx-brand {
  justify-content: center;
  padding-inline: 0;
}

.sidebar-collapsed .fx-brand-logo {
  width: 42px;
  height: 42px;
}

.sidebar-collapsed .fx-nav-item {
  justify-content: center;
  gap: 0;
  padding-inline: 0;
}

.fx-main {
  min-width: 0;
}

.fx-topbar {
  position: sticky;
  top: 0;
  z-index: 15;
  height: var(--fx-topbar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 28px;
  border-bottom: 1px solid #dce5ef;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 7px rgba(40, 61, 83, 0.025);
  backdrop-filter: blur(12px);
}

.fx-menu-toggle {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 6px;
  color: #13243a;
  background: transparent;
  font-size: 21px;
  cursor: pointer;
  transition: color 140ms ease, background-color 140ms ease;
}

.fx-menu-toggle:hover {
  color: var(--fx-primary);
  background: var(--fx-primary-soft);
}

.fx-top-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.fx-account {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #182238;
  font-size: 16px;
}

.fx-logout {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  color: #17253a;
  background: transparent;
  font-size: 16px;
  cursor: pointer;
}

.fx-logout:hover {
  color: var(--fx-primary);
}

.fx-content {
  width: 100%;
  max-width: 1640px;
  margin: 0 auto;
  padding: 36px 28px 48px;
}

.fx-page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.fx-page-title {
  margin: 0;
  color: var(--fx-text);
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.fx-page-sub {
  margin-top: 5px;
  color: var(--fx-muted);
  font-size: 13px;
  line-height: 1.5;
}

.fx-stat-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

.fx-stat {
  position: relative;
  min-height: 202px;
  overflow: hidden;
  padding: 29px 22px 23px;
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius);
  background: var(--fx-surface);
  box-shadow: var(--fx-shadow);
}

.fx-stat::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: transparent;
  transition: background-color 160ms ease;
}

.fx-stat:hover::after {
  background: var(--fx-primary);
}

.fx-stat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #475569;
  font-size: 16px;
  line-height: 1.35;
}

.fx-stat-icon {
  flex: 0 0 auto;
  color: var(--fx-primary);
  font-size: 25px;
}

.fx-stat-value {
  margin-top: 63px;
  color: #0b1628;
  font-size: clamp(24px, 2vw, 34px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}

.fx-stat-value.is-date {
  margin-top: 53px;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.fx-stat-note {
  margin-top: 8px;
  color: #708097;
  font-size: 12px;
  line-height: 1.4;
}

.fx-card {
  padding: 22px;
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius);
  background: var(--fx-surface);
  box-shadow: var(--fx-shadow);
}

.fx-card + .fx-card {
  margin-top: 24px;
}

.fx-card-header {
  min-height: 40px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.fx-card-title {
  margin: 0;
  color: #101b2d;
  font-size: 18px;
  font-weight: 720;
  line-height: 1.45;
}

.fx-card-sub {
  margin-top: 4px;
  color: var(--fx-muted);
  font-size: 13px;
  line-height: 1.55;
}

.fx-separation {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 24px;
  padding: 24px 23px;
  border: 1px solid #a7d2fc;
  border-radius: var(--fx-radius);
  color: #24364d;
  background: linear-gradient(90deg, #f4faff 0%, #f8fbff 100%);
}

.fx-separation-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  margin-top: 1px;
  border-radius: 50%;
  color: #fff;
  background: var(--fx-primary);
  font-size: 25px;
}

.fx-separation-title {
  margin-bottom: 5px;
  color: #111d2f;
  font-size: 18px;
  font-weight: 750;
}

.fx-separation-copy {
  color: #354962;
  font-size: 15px;
  line-height: 1.8;
}

.fx-separation-copy strong {
  color: var(--fx-primary);
  font-weight: 650;
}

.fx-safety-line {
  margin-top: 2px;
  color: #5a6f87;
}

.fx-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.fx-toolbar:last-child {
  margin-bottom: 0;
}

.fx-toolbar-end {
  margin-left: auto;
}

.fx-muted {
  color: var(--fx-muted);
}

.fx-help {
  padding: 12px 14px;
  border-left: 3px solid #a8cff7;
  color: #53657a;
  background: #f5f9fd;
  font-size: 13px;
  line-height: 1.7;
}

.fx-help strong {
  color: #20344d;
}

.fx-form-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0 16px;
}

.fx-col-12 { grid-column: span 12; }
.fx-col-8 { grid-column: span 8; }
.fx-col-6 { grid-column: span 6; }
.fx-col-4 { grid-column: span 4; }
.fx-col-3 { grid-column: span 3; }

.fx-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 2px;
}

.fx-file-picker {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  padding: 5px 8px;
  border: 1px dashed #b9cce0;
  border-radius: 5px;
  color: #53677e;
  background: #f9fbfd;
  font-size: 13px;
}

.fx-file-picker input[type="file"] {
  max-width: 100%;
}

.fx-result {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.fx-result-item {
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--fx-border-soft);
  border-radius: 6px;
  background: #f8fbfe;
}

.fx-result-label {
  color: var(--fx-muted);
  font-size: 12px;
}

.fx-result-value {
  margin-top: 8px;
  overflow-wrap: anywhere;
  color: #15243a;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.45;
}

.fx-short-result {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fx-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #dce5ef;
  border-radius: 5px;
}

.fx-table-wrap .el-table {
  --el-table-border-color: #dce5ef;
  --el-table-header-bg-color: #fbfcfe;
  --el-table-row-hover-bg-color: #f5f9ff;
  min-width: 780px;
}

.fx-table-wrap .el-table::before {
  display: none;
}

.fx-table-wrap .el-table th.el-table__cell {
  height: 62px;
  color: #4f6178;
  background: #fbfcfe;
  font-size: 14px;
  font-weight: 600;
}

.fx-table-wrap .el-table td.el-table__cell {
  height: 62px;
  color: #26384d;
  font-size: 14px;
}

.fx-table-wrap .el-table .cell {
  line-height: 1.45;
}

.fx-table-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--fx-primary);
  font-weight: 500;
}

.fx-table-link:hover {
  color: var(--fx-primary-strong);
}

.fx-status-dot {
  width: 9px;
  height: 9px;
  display: inline-block;
  margin-right: 8px;
  border-radius: 50%;
  background: #b8c2ce;
}

.fx-status-dot.online {
  background: #3bbd49;
}

.fx-status-dot.danger {
  background: var(--fx-danger);
}

.fx-pagination-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  color: var(--fx-muted);
  font-size: 14px;
}

.fx-empty {
  padding: 30px 12px;
  color: var(--fx-muted);
  text-align: center;
}

.fx-mobile-list {
  display: none;
}

.fx-mobile-card {
  padding: 16px;
  border: 1px solid var(--fx-border);
  border-radius: 7px;
  background: #fff;
}

.fx-mobile-card + .fx-mobile-card {
  margin-top: 10px;
}

.fx-mobile-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
  color: #14243a;
  font-size: 14px;
  font-weight: 700;
}

.fx-mobile-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 10px;
  padding: 7px 0;
  border-top: 1px solid #edf1f6;
  font-size: 13px;
  line-height: 1.45;
}

.fx-mobile-row > span:first-child {
  color: var(--fx-muted);
}

.fx-mobile-row > span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #26384d;
}

.fx-code {
  padding: 2px 6px;
  border: 1px solid #d8e5f2;
  border-radius: 4px;
  color: #0c69c8;
  background: #f3f8fd;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 12px;
}

.fx-readonly-banner {
  margin-bottom: 16px;
}

.fx-domain-health {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.fx-health-item {
  min-height: 88px;
  padding: 15px;
  border: 1px solid var(--fx-border-soft);
  border-radius: 6px;
  background: #fafcfe;
}

.fx-health-label {
  color: var(--fx-muted);
  font-size: 12px;
}

.fx-health-value {
  margin-top: 8px;
  color: #1c3049;
  font-size: 15px;
  font-weight: 650;
}

.fx-ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.fx-break {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.fx-dialog-warning {
  margin: -2px 0 18px;
  color: #6d7f93;
  font-size: 13px;
  line-height: 1.6;
}

.fx-policy {
  color: #687a90;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 12px;
}

.el-button {
  font-size: 14px;
}

.el-button--primary {
  --el-button-bg-color: var(--fx-primary);
  --el-button-border-color: var(--fx-primary);
  --el-button-hover-bg-color: var(--fx-primary-strong);
  --el-button-hover-border-color: var(--fx-primary-strong);
}

.el-input__inner,
.el-textarea__inner,
.el-select__placeholder,
.el-date-editor .el-range-input,
.el-date-editor .el-range-separator {
  font-size: 14px;
}

.el-pagination {
  justify-content: flex-end;
}

@media (max-width: 1380px) {
  .fx-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fx-stat {
    min-height: 160px;
  }

  .fx-stat-value,
  .fx-stat-value.is-date {
    margin-top: 38px;
  }
}

@media (max-width: 1080px) {
  .fx-shell {
    grid-template-columns: var(--fx-sidebar-collapsed) minmax(0, 1fr);
  }

  .fx-shell .fx-brand-copy,
  .fx-shell .fx-nav-item span,
  .fx-shell .fx-nav-group {
    display: none;
  }

  .fx-shell .fx-brand {
    justify-content: center;
    padding-inline: 0;
  }

  .fx-shell .fx-nav-item {
    justify-content: center;
    gap: 0;
    padding-inline: 0;
  }

  .fx-shell:not(.sidebar-collapsed) {
    grid-template-columns: var(--fx-sidebar-width) minmax(0, 1fr);
  }

  .fx-shell:not(.sidebar-collapsed) .fx-brand-copy,
  .fx-shell:not(.sidebar-collapsed) .fx-nav-item span,
  .fx-shell:not(.sidebar-collapsed) .fx-nav-group:not(:first-child) {
    display: block;
  }

  .fx-shell:not(.sidebar-collapsed) .fx-brand {
    justify-content: flex-start;
    padding-inline: 13px;
  }

  .fx-shell:not(.sidebar-collapsed) .fx-nav-item {
    justify-content: flex-start;
    gap: 18px;
    padding-inline: 19px;
  }

  .fx-col-3 {
    grid-column: span 6;
  }

  .fx-result {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  :root {
    --fx-topbar-height: 62px;
  }

  .fx-shell,
  .fx-shell.sidebar-collapsed,
  .fx-shell:not(.sidebar-collapsed) {
    display: block;
  }

  .fx-sidebar {
    position: static;
    width: 100%;
    height: auto;
    overflow: hidden;
    padding: 10px 10px 8px;
  }

  .fx-shell .fx-brand,
  .fx-shell.sidebar-collapsed .fx-brand,
  .fx-shell:not(.sidebar-collapsed) .fx-brand {
    min-height: 54px;
    justify-content: flex-start;
    gap: 12px;
    padding: 3px 8px 8px;
  }

  .fx-shell .fx-brand-logo,
  .fx-shell.sidebar-collapsed .fx-brand-logo {
    width: 38px;
    height: 38px;
    font-size: 19px;
  }

  .fx-shell .fx-brand-copy,
  .fx-shell.sidebar-collapsed .fx-brand-copy {
    display: block;
  }

  .fx-brand-title {
    font-size: 16px;
  }

  .fx-brand-sub {
    margin-top: 2px;
    font-size: 12px;
  }

  .fx-sidebar nav {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 4px 0 2px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .fx-shell .fx-nav-group,
  .fx-shell:not(.sidebar-collapsed) .fx-nav-group:not(:first-child) {
    display: none;
  }

  .fx-shell .fx-nav-item,
  .fx-shell.sidebar-collapsed .fx-nav-item,
  .fx-shell:not(.sidebar-collapsed) .fx-nav-item {
    min-height: 38px;
    flex: 0 0 auto;
    justify-content: center;
    gap: 7px;
    margin: 0;
    padding: 0 12px;
    border-radius: 5px;
    font-size: 13px;
  }

  .fx-shell .fx-nav-item span,
  .fx-shell.sidebar-collapsed .fx-nav-item span {
    display: inline;
  }

  .fx-nav-item .el-icon {
    width: 17px;
    height: 17px;
    font-size: 17px;
  }

  .fx-topbar {
    position: static;
    height: var(--fx-topbar-height);
    padding: 0 15px;
  }

  .fx-menu-toggle {
    display: none;
  }

  .fx-top-actions {
    width: 100%;
    justify-content: flex-end;
    gap: 14px;
  }

  .fx-account,
  .fx-logout {
    font-size: 14px;
  }

  .fx-content {
    padding: 20px 14px 36px;
  }

  .fx-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
  }

  .fx-stat {
    min-height: 132px;
    padding: 18px 16px;
  }

  .fx-stat-head {
    font-size: 14px;
  }

  .fx-stat-icon {
    font-size: 21px;
  }

  .fx-stat-value,
  .fx-stat-value.is-date {
    margin-top: 26px;
    font-size: 24px;
  }

  .fx-stat-value.is-date {
    font-size: 17px;
  }

  .fx-card {
    padding: 16px;
  }

  .fx-card + .fx-card {
    margin-top: 16px;
  }

  .fx-card-header {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 14px;
  }

  .fx-card-header > .el-button,
  .fx-card-header > div:last-child {
    width: 100%;
  }

  .fx-card-header > .el-button {
    margin-left: 0;
  }

  .fx-separation {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    padding: 18px 15px;
  }

  .fx-separation-icon {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .fx-separation-title {
    font-size: 16px;
  }

  .fx-separation-copy {
    font-size: 13px;
  }

  .fx-toolbar {
    align-items: stretch;
  }

  .fx-toolbar > .el-input,
  .fx-toolbar > .el-select,
  .fx-toolbar > .el-date-editor,
  .fx-toolbar > .el-button,
  .fx-toolbar > .fx-file-picker {
    width: 100% !important;
    margin-left: 0;
  }

  .fx-toolbar-end {
    margin-left: 0;
  }

  .fx-form-grid {
    display: block;
  }

  .fx-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .fx-form-actions .el-button {
    width: 100%;
    margin-left: 0;
  }

  .fx-result {
    grid-template-columns: minmax(0, 1fr);
  }

  .fx-desktop-only {
    display: none;
  }

  .fx-mobile-list {
    display: block;
  }

  .fx-pagination-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .fx-pagination-row .el-pagination {
    max-width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .fx-domain-health {
    grid-template-columns: minmax(0, 1fr);
  }

  .el-dialog {
    width: calc(100vw - 24px) !important;
    max-width: 640px;
    margin-top: 6vh !important;
  }

  .el-dialog__body {
    padding-inline: 16px;
  }
}

@media (max-width: 480px) {
  .fx-login {
    padding: 16px 12px;
  }

  .fx-login-card {
    padding: 26px 20px 22px;
  }

  .fx-login-title {
    font-size: 20px;
  }

  .fx-captcha-row {
    grid-template-columns: minmax(0, 1fr) 104px;
  }

  .fx-captcha-img {
    width: 104px;
  }

  .fx-stat-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .fx-stat {
    min-height: 118px;
  }

  .fx-stat-value,
  .fx-stat-value.is-date {
    margin-top: 20px;
  }

  .fx-account {
    max-width: 150px;
  }

  .fx-account span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
