/* Visual-only synchronization with the C administration system and source SVG.
   No routes, data, handlers, or component state are changed here. */
html:root {
  --qh-page: #faf9fa;
  --qh-surface: #fff;
  --qh-surface-subtle: #faf9fa;
  --qh-surface-selected: #eef5ff;
  --qh-ink: #1b1c1d;
  --qh-secondary: #434653;
  --qh-muted: #737784;
  --qh-brand: #007cfe;
  --qh-brand-strong: #094cb2;
  --qh-brand-soft: #eef5ff;
  --qh-link: #007cfe;
  --qh-focus: #094cb2;
  --qh-button: #303844;
  --qh-success: #15803d;
  --qh-warning: #ed6e00;
  --qh-danger: #d93025;
  --qh-border: rgba(195, 198, 213, 0.35);
  --qh-border-soft: rgba(195, 198, 213, 0.22);
  --qh-shadow: 0 18px 54px rgba(9, 76, 178, 0.12);
  --el-color-primary: #007cfe;
  --el-color-primary-light-3: #4da3ff;
  --el-color-primary-light-5: #80bdff;
  --el-color-primary-light-7: #b7d9ff;
  --el-color-primary-light-8: #d4e8ff;
  --el-color-primary-light-9: #eef5ff;
  --el-color-primary-dark-2: #094cb2;
  --el-color-success: #15803d;
  --el-color-warning: #ed6e00;
  --el-color-danger: #d93025;
  --el-text-color-primary: #1b1c1d;
  --el-text-color-regular: #434653;
  --el-text-color-secondary: #737784;
  --el-text-color-placeholder: #9297a3;
  --el-border-color: rgba(195, 198, 213, 0.35);
  --el-border-color-light: rgba(195, 198, 213, 0.26);
  --el-border-color-lighter: rgba(195, 198, 213, 0.18);
  --el-fill-color-light: #f7f8fa;
  --el-fill-color-lighter: #faf9fa;
  --el-fill-color-blank: #fff;
}

#app {
  background: #faf9fa;
  color: #1b1c1d;
  font-family: 'PingFang SC', 'Noto Sans SC', Inter, 'Microsoft YaHei', system-ui, sans-serif;
}

/* Exact enterprise wordmark crop measured from 企业端-网站系统.svg. */
#app .aside .brand {
  position: relative;
  height: 56px !important;
  flex: 0 0 56px !important;
  align-items: flex-start !important;
  overflow: hidden;
  padding: 0 16px !important;
}

#app .aside .brand-mark {
  width: 96px !important;
  height: 24px !important;
  flex: 0 0 96px !important;
  margin-top: 12px !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  background-image: url('/jianhe-brand-source.png') !important;
  background-repeat: no-repeat !important;
  background-position: -12px -7px !important;
  background-size: 205px 59px !important;
  box-shadow: none !important;
  color: transparent !important;
  mix-blend-mode: multiply;
}

#app .aside .brand-copy {
  display: none !important;
}

#app .aside .brand-menu-icon {
  position: absolute;
  top: 15px;
  right: 16px;
  display: inline-grid !important;
  width: 18px;
  height: 18px;
  margin: 0 !important;
  place-items: center;
  color: #858585;
  font-size: 14px;
}

#app .page {
  width: 100%;
  min-width: 0;
}

#app .page-header {
  gap: 24px;
  margin-bottom: 20px;
}

#app .page-header h2 {
  margin: 0;
  color: #1b1c1d;
  font-size: 22px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

#app .page-header p {
  max-width: 880px;
  margin: 7px 0 0;
  color: #737784;
  font-size: 13px;
  line-height: 1.65;
}

#app .stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}

#app .stat-card {
  position: relative;
  min-width: 0;
  min-height: 108px;
  overflow: hidden;
  border: 1px solid rgba(195, 198, 213, 0.18);
  border-radius: 22px;
  background: #fff;
  padding: 20px 68px 18px 20px;
  box-shadow: 0 20px 24px -18px rgba(9, 76, 178, 0.1);
}

#app .stat-card::after {
  top: auto;
  right: -28px;
  bottom: -36px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(0, 124, 254, 0.035);
}

#app .stat-card:hover {
  border-color: rgba(0, 124, 254, 0.16);
  box-shadow: 0 22px 30px -16px rgba(9, 76, 178, 0.15);
}

#app .stat-card--brand {
  border-color: transparent;
  background: linear-gradient(135deg, #0078ff 0%, #3f98ff 56%, #69afff 100%);
  box-shadow: 0 20px 28px -12px rgba(0, 120, 255, 0.28);
  color: #fff;
}

#app .stat-card--brand::after {
  right: -34px;
  bottom: -48px;
  width: 126px;
  height: 126px;
  border: 18px solid rgba(255, 255, 255, 0.08);
  background: transparent;
}

#app .stat-card .label {
  overflow: hidden;
  color: #737784;
  font-size: 12px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#app .stat-card .value {
  margin-top: 13px;
  overflow: hidden;
  color: #1b1c1d;
  font-size: 25px;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.6px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#app .stat-card--brand .label,
#app .stat-card--brand .value {
  color: #fff;
}

#app .stat-card--brand .label {
  opacity: 0.78;
}

#app .stat-card-icon {
  position: absolute;
  top: 19px;
  right: 19px;
  z-index: 1;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: #eef5ff;
  color: #007cfe;
  font-size: 19px;
}

#app .stat-card--brand .stat-card-icon {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  color: #fff;
}

#app .card-panel {
  border-color: rgba(195, 198, 213, 0.22);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 28px -18px rgba(9, 76, 178, 0.12);
}

#app .card-panel:has(> .filter-bar) {
  overflow: hidden;
  padding: 0;
}

#app .card-panel > .filter-bar {
  min-height: 68px;
  margin: 0;
  border-bottom: 1px solid rgba(195, 198, 213, 0.16);
  background: rgba(250, 249, 250, 0.42);
  padding: 16px 20px;
}

#app .card-panel:has(> .filter-bar) > .el-table,
#app .recent-panel > .el-table {
  border-radius: 0;
  box-shadow: none;
}

#app .el-button {
  min-height: 36px;
  border-radius: 8px;
  font-size: 13px;
}

#app .el-button--primary:not(.is-link):not(.is-plain) {
  --el-button-bg-color: #303844;
  --el-button-border-color: #303844;
  --el-button-hover-bg-color: #252c35;
  --el-button-hover-border-color: #252c35;
  --el-button-active-bg-color: #1e242c;
  --el-button-active-border-color: #1e242c;
  box-shadow: 0 5px 14px rgba(48, 56, 68, 0.13);
}

#app .el-input__wrapper,
#app .el-select__wrapper,
#app .el-date-editor.el-input__wrapper {
  min-height: 36px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(195, 198, 213, 0.35) inset;
}

#app .el-input__wrapper.is-focus,
#app .el-select__wrapper.is-focused,
#app .el-date-editor.el-input__wrapper.is-focus {
  box-shadow: 0 0 0 1px #094cb2 inset !important;
}

#app .el-table {
  width: 100% !important;
  max-width: 100%;
  --el-table-header-bg-color: #faf9fa;
  --el-table-row-hover-bg-color: #fbfdff;
  --el-table-current-row-bg-color: #eef5ff;
  --el-table-border-color: rgba(195, 198, 213, 0.14);
  color: #434653;
  font-size: 13px;
}

#app .el-table th.el-table__cell {
  height: 48px;
  background: #faf9fa;
  color: #737784;
  font-size: 12px;
  font-weight: 550;
}

#app .el-table td.el-table__cell {
  height: 56px;
  border-bottom-color: rgba(195, 198, 213, 0.13);
  color: #434653;
}

#app .el-table .cell {
  padding-right: 16px;
  padding-left: 16px;
  line-height: 20px;
}

#app .el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell {
  background: #fdfdfe;
}

#app .el-tag {
  min-height: 23px;
  border: 0;
  border-radius: 999px;
  padding: 1px 9px;
  font-size: 11px;
  font-weight: 450;
}

#app .el-tabs__item.is-active,
#app .el-tabs__item:hover {
  color: #007cfe;
}

#app .el-tabs__active-bar {
  background: #007cfe;
}

#app .el-radio-button__original-radio:checked + .el-radio-button__inner {
  border-color: #007cfe;
  background: #007cfe;
  box-shadow: -1px 0 0 0 #007cfe;
}

#app .el-switch {
  --el-switch-on-color: #007cfe;
}

@media (max-width: 1260px) and (min-width: 821px) {
  #app .aside {
    width: 240px !important;
    flex-basis: 240px !important;
  }

  #app .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  #app .aside {
    width: 100% !important;
    flex-basis: auto !important;
  }

  #app .aside .brand {
    width: 128px !important;
    min-width: 128px !important;
    padding-right: 12px !important;
    padding-left: 12px !important;
  }

  #app .aside .brand-menu-icon {
    display: none !important;
  }

  #app .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 600px) {
  #app .page-header {
    margin-bottom: 16px;
  }

  #app .page-header h2 {
    font-size: 20px;
  }

  #app .page-header p {
    font-size: 12px;
  }

  #app .stat-grid {
    grid-template-columns: 1fr;
  }

  #app .stat-card {
    min-height: 100px;
    border-radius: 18px;
  }

  #app .card-panel > .filter-bar {
    padding: 14px;
  }
}
