/* oem_next 控制台首页：对齐参考站的双栏云控制台布局。 */
html[data-clientarea-theme="oem_next"] .home-main {
  box-sizing: border-box;
  margin: calc(var(--oem-header-height) + 20px) 18px 20px !important;
  padding: 0 !important;
  overflow: visible;
  background: transparent;
}
html[data-clientarea-theme="oem_next"] .template > .el-container > .el-container > .home-main > .main-card {
  min-height: 0;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
html[data-clientarea-theme="oem_next"] .home-main > .main-card > .main-content {
  display: none !important;
}
html[data-clientarea-theme="oem_next"] .oem-reference-dashboard,
html[data-clientarea-theme="oem_next"] .oem-reference-dashboard * {
  box-sizing: border-box;
}
html[data-clientarea-theme="oem_next"] .oem-reference-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 1fr);
  grid-template-areas:
    "account finance"
    "statistics official"
    "resources notifications"
    "resources help"
    "footer footer";
  gap: 20px;
  align-items: stretch;
  color: #1d2129;
  font: 14px/1.5715 Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}
html[data-clientarea-theme="oem_next"] .oem-account-card { grid-area: account; }
html[data-clientarea-theme="oem_next"] .oem-finance-card { grid-area: finance; }
html[data-clientarea-theme="oem_next"] .oem-statistics-card { grid-area: statistics; }
html[data-clientarea-theme="oem_next"] .oem-official-card { grid-area: official; }
html[data-clientarea-theme="oem_next"] .oem-resource-card { grid-area: resources; }
html[data-clientarea-theme="oem_next"] .oem-announcement-card { grid-area: notifications; }
html[data-clientarea-theme="oem_next"] .oem-help-card { grid-area: help; }
html[data-clientarea-theme="oem_next"] .oem-dash-card {
  width: 100%;
  min-width: 0;
  padding: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #f2f3f5;
  border-radius: 0;
  box-shadow: none;
}
html[data-clientarea-theme="oem_next"] .oem-card-title {
  position: relative;
  min-height: 22px;
  margin: 0;
  padding: 0 0 0 8px;
  color: #1d2129;
  font-size: 15px;
  font-weight: 400;
  line-height: 22px;
}
html[data-clientarea-theme="oem_next"] .oem-card-title::before {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 0;
  width: 3px;
  background: #165dff;
  content: "";
}
html[data-clientarea-theme="oem_next"] .oem-card-heading {
  display: flex;
  min-height: 22px;
  margin-bottom: 16px;
  align-items: center;
  justify-content: space-between;
}
html[data-clientarea-theme="oem_next"] .oem-card-heading > a,
html[data-clientarea-theme="oem_next"] .oem-account-top > a {
  color: #4e5969;
  font-size: 12px;
  text-decoration: none;
}
html[data-clientarea-theme="oem_next"] .oem-card-heading > a:hover,
html[data-clientarea-theme="oem_next"] .oem-account-top > a:hover {
  color: #165dff;
}

/* 四项运营统计 */
html[data-clientarea-theme="oem_next"] .oem-statistics-card { min-height: 174px; }
html[data-clientarea-theme="oem_next"] .oem-dash-stat-grid {
  display: grid;
  height: 140px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
html[data-clientarea-theme="oem_next"] .oem-dash-stat {
  display: flex;
  min-width: 0;
  padding: 16px 12px;
  flex-direction: column;
  background: #fff;
  border: 1px solid #f2f3f5;
}
html[data-clientarea-theme="oem_next"] .oem-dash-stat-head {
  position: relative;
  display: flex;
  margin-bottom: 3px;
  padding-bottom: 8px;
  align-items: center;
  justify-content: space-between;
  color: #86909c;
  font-size: 13px;
  line-height: 20px;
}
html[data-clientarea-theme="oem_next"] .oem-dash-stat-head i { color: #c9cdd4; font-size: 17px; }
html[data-clientarea-theme="oem_next"] .oem-dash-stat-head::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 22px;
  height: 3px;
  content: "";
}
html[data-clientarea-theme="oem_next"] .oem-dash-stat:nth-child(1) .oem-dash-stat-head::after { background: #165dff; }
html[data-clientarea-theme="oem_next"] .oem-dash-stat:nth-child(2) .oem-dash-stat-head::after { background: #ff7d00; }
html[data-clientarea-theme="oem_next"] .oem-dash-stat:nth-child(3) .oem-dash-stat-head::after { background: #00b42a; }
html[data-clientarea-theme="oem_next"] .oem-dash-stat:nth-child(4) .oem-dash-stat-head::after { background: #f53f3f; }
html[data-clientarea-theme="oem_next"] .oem-dash-stat-value {
  height: 38px;
  color: #1d2129;
  font-size: 28px;
  font-weight: 600;
  line-height: 38px;
}
html[data-clientarea-theme="oem_next"] .oem-dash-stat-value small {
  margin-left: 4px;
  color: #86909c;
  font-size: 12px;
  font-weight: 400;
}
html[data-clientarea-theme="oem_next"] .oem-dash-stat-links {
  display: flex;
  min-height: 28px;
  margin-top: auto;
  padding-top: 8px;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 12px;
  border-top: 1px solid #f2f3f5;
}
html[data-clientarea-theme="oem_next"] .oem-dash-stat-links a {
  color: #4e5969;
  font-size: 12px;
  white-space: nowrap;
  text-decoration: none;
}
html[data-clientarea-theme="oem_next"] .oem-dash-stat-links a:hover { color: #165dff; }

html[data-clientarea-theme="oem_next"] .oem-empty-block {
  display: flex;
  height: 168px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #86909c;
  font-size: 13px;
}
html[data-clientarea-theme="oem_next"] .oem-empty-box { color: #e5e6eb; font-size: 48px; line-height: 48px; }
html[data-clientarea-theme="oem_next"] .oem-primary-link {
  display: inline-flex;
  min-width: 74px;
  height: 32px;
  padding: 0 14px;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  text-decoration: none;
  background: #165dff;
}
html[data-clientarea-theme="oem_next"] .oem-primary-link:hover { background: #4080ff; }

/* 资源列表 */
html[data-clientarea-theme="oem_next"] .oem-resource-card {
  display: flex;
  min-height: 525px;
  flex-direction: column;
}
html[data-clientarea-theme="oem_next"] .oem-resource-table {
  flex: 1;
  margin-top: 16px;
  overflow-x: auto;
}
html[data-clientarea-theme="oem_next"] .oem-resource-row {
  display: grid;
  min-height: 44px;
  min-width: 700px;
  padding: 0 12px;
  grid-template-columns: 1.15fr .9fr 1fr .9fr .8fr 1.1fr 1.1fr;
  align-items: center;
  color: #4e5969;
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px solid #f2f3f5;
}
html[data-clientarea-theme="oem_next"] .oem-resource-row > span {
  min-width: 0;
  padding-right: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
html[data-clientarea-theme="oem_next"] .oem-resource-row:not(.oem-resource-head):hover { background: #f7f8fa; }
html[data-clientarea-theme="oem_next"] .oem-resource-head {
  min-height: 42px;
  color: #1d2129;
  font-weight: 500;
  background: #f2f3f5;
  border: 0;
}
html[data-clientarea-theme="oem_next"] .oem-status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  vertical-align: 1px;
  background: #00b42a;
  border-radius: 50%;
}
html[data-clientarea-theme="oem_next"] .oem-resource-notes {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
html[data-clientarea-theme="oem_next"] .oem-resource-empty { height: 132px; }
html[data-clientarea-theme="oem_next"] .oem-resource-footer {
  display: flex;
  min-height: 44px;
  margin-top: 12px;
  align-items: center;
  justify-content: space-between;
  color: #4e5969;
  font-size: 12px;
}
html[data-clientarea-theme="oem_next"] .oem-mini-pagination { display: flex; gap: 6px; }
html[data-clientarea-theme="oem_next"] .oem-mini-pagination button {
  width: 28px;
  height: 28px;
  color: #c9cdd4;
  background: #fff;
  border: 0;
  cursor: pointer;
}
html[data-clientarea-theme="oem_next"] .oem-mini-pagination button.active { color: #165dff; background: #e8f3ff; }
html[data-clientarea-theme="oem_next"] .oem-mini-pagination button:disabled { color: #c9cdd4; cursor: not-allowed; }

/* 账户摘要 */
html[data-clientarea-theme="oem_next"] .oem-account-card {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: space-between;
}
html[data-clientarea-theme="oem_next"] .oem-account-top {
  display: grid;
  min-height: 72px;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
}
html[data-clientarea-theme="oem_next"] .oem-account-avatar {
  display: flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  background: #165dff !important;
}
html[data-clientarea-theme="oem_next"] .oem-account-name {
  max-width: 150px;
  overflow: hidden;
  color: #4e5969;
  font-size: 13px;
  line-height: 22px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
html[data-clientarea-theme="oem_next"] .oem-account-tags { display: flex; margin-top: 6px; flex-wrap: wrap; gap: 6px; }
html[data-clientarea-theme="oem_next"] .oem-account-tag {
  display: inline-flex;
  padding: 2px 7px;
  align-items: center;
  gap: 3px;
  color: #86909c;
  font-size: 11px;
  line-height: 18px;
  background: #f2f3f5;
  cursor: help;
  outline: none;
}
html[data-clientarea-theme="oem_next"] .oem-account-tag i { font-size: 12px; }
html[data-clientarea-theme="oem_next"] .oem-account-tag.success { color: #00b42a; background: #e8ffea; }
html[data-clientarea-theme="oem_next"] .oem-account-tag.warning,
html[data-clientarea-theme="oem_next"] .oem-account-tag.pending { color: #ff7d00; background: #fff7e8; }
html[data-clientarea-theme="oem_next"] .oem-account-tag.danger { color: #f53f3f; background: #ffece8; }
html[data-clientarea-theme="oem_next"] .oem-account-tag:focus-visible { box-shadow: 0 0 0 2px rgba(22, 93, 255, .2); }
html[data-clientarea-theme="oem_next"] .oem-account-counts {
  display: grid;
  min-height: 64px;
  padding-top: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #f2f3f5;
}
html[data-clientarea-theme="oem_next"] .oem-account-counts a {
  display: flex;
  align-items: center;
  flex-direction: column;
  color: #86909c;
  font-size: 12px;
  text-decoration: none;
}
html[data-clientarea-theme="oem_next"] .oem-account-counts b { color: #1d2129; font-size: 18px; line-height: 26px; }

/* 费用信息 */
html[data-clientarea-theme="oem_next"] .oem-finance-card { min-height: 190px; }
html[data-clientarea-theme="oem_next"] .oem-finance-card .oem-card-heading { margin-bottom: 8px; }
html[data-clientarea-theme="oem_next"] .oem-balance-label { color: #86909c; font-size: 12px; }
html[data-clientarea-theme="oem_next"] .oem-balance-row {
  display: flex;
  height: 48px;
  align-items: center;
  justify-content: space-between;
}
html[data-clientarea-theme="oem_next"] .oem-balance-row strong { color: #1d2129; font-size: 22px; font-weight: 600; }
html[data-clientarea-theme="oem_next"] .oem-balance-row button {
  height: 30px;
  padding: 0 14px;
  color: #fff;
  font-size: 13px;
  background: #165dff;
  border: 0;
  cursor: pointer;
}
html[data-clientarea-theme="oem_next"] .oem-finance-grid {
  display: grid;
  margin-top: 4px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
html[data-clientarea-theme="oem_next"] .oem-finance-grid a {
  display: flex;
  min-height: 54px;
  padding: 10px 12px;
  flex-direction: column;
  color: #86909c;
  font-size: 12px;
  text-decoration: none;
  background: #f7f8fa;
}
html[data-clientarea-theme="oem_next"] .oem-finance-grid b { margin-top: 5px; color: #4e5969; font-size: 14px; font-weight: 400; }

/* 公告和帮助文档 */
html[data-clientarea-theme="oem_next"] .oem-announcement-card { min-height: 230px; }
html[data-clientarea-theme="oem_next"] .oem-official-card { min-height: 174px; }
html[data-clientarea-theme="oem_next"] .oem-official-empty {
  display: flex;
  min-height: 116px;
  align-items: center;
  justify-content: center;
  color: #86909c;
  font-size: 13px;
}
html[data-clientarea-theme="oem_next"] .oem-announcement-list a {
  display: grid;
  min-height: 40px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  color: #4e5969;
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px solid #f2f3f5;
}
html[data-clientarea-theme="oem_next"] .oem-announcement-type {
  padding: 1px 7px;
  color: #86909c;
  font-size: 11px;
  background: #f2f3f5;
}
html[data-clientarea-theme="oem_next"] .oem-announcement-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
html[data-clientarea-theme="oem_next"] .oem-announcement-list time { color: #86909c; font-size: 12px; }
html[data-clientarea-theme="oem_next"] .oem-help-card { min-height: 275px; }
html[data-clientarea-theme="oem_next"] .oem-help-list a {
  display: grid;
  min-height: 42px;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  color: #4e5969;
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px solid #f2f3f5;
}
html[data-clientarea-theme="oem_next"] .oem-help-list a:hover,
html[data-clientarea-theme="oem_next"] .oem-announcement-list a:hover { color: #165dff; }
html[data-clientarea-theme="oem_next"] .oem-help-list i { color: #165dff; }
html[data-clientarea-theme="oem_next"] .oem-help-list em {
  padding: 2px 8px;
  color: #168cff;
  font-size: 11px;
  font-style: normal;
  background: #e8f3ff;
}
html[data-clientarea-theme="oem_next"] .oem-dashboard-footer {
  grid-area: footer;
  min-height: 36px;
  padding-top: 8px;
  color: #86909c;
  font-size: 12px;
  text-align: right;
}

@media screen and (max-width: 1280px) {
  html[data-clientarea-theme="oem_next"] .oem-reference-dashboard {
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 1fr);
    gap: 16px;
  }
  html[data-clientarea-theme="oem_next"] .oem-dash-stat-grid {
    height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  html[data-clientarea-theme="oem_next"] .oem-account-top {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
  }
  html[data-clientarea-theme="oem_next"] .oem-account-avatar { width: 48px; height: 48px; }
  html[data-clientarea-theme="oem_next"] .oem-account-top > a { grid-column: 2; justify-self: end; }
}
@media screen and (max-width: 960px) {
  html[data-clientarea-theme="oem_next"] .oem-reference-dashboard {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "account" "finance" "statistics" "official" "resources" "notifications" "help" "footer";
  }
  html[data-clientarea-theme="oem_next"] .oem-resource-card { min-height: 326px; }
}
@media screen and (max-width: 750px) {
  html[data-clientarea-theme="oem_next"] .home-main {
    margin: calc(var(--oem-header-height) + 16px) 16px 16px !important;
  }
  html[data-clientarea-theme="oem_next"] .oem-dash-card { padding: 14px; }
  html[data-clientarea-theme="oem_next"] .oem-dash-stat { padding: 12px; }
  html[data-clientarea-theme="oem_next"] .oem-help-list em { display: none; }
}


.oem-site-announcement { padding: 0 16px 16px; max-height: 280px; overflow-y: auto; line-height: 1.8; color: #606266; overflow-wrap: anywhere; }
.oem-site-announcement > :first-child { margin-top: 0; }
.oem-site-announcement > :last-child { margin-bottom: 0; }
