:root {
  --v10-primary-light: var(--v10-primary-soft);
  --v10-bg: var(--v10-page);
  --v10-workspace-bg: var(--v10-workspace);
  --v10-text-secondary: var(--v10-text-desc);
  --v10-text-muted: var(--v10-muted);
}

html,
body {
  width: 100%;
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  color: var(--v10-title);
  background: var(--v10-bg) !important;
  font-size: 14px;
  line-height: var(--v10-line-height);
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-y: auto;
}

html.v10-auth-pending body {
  visibility: hidden;
}

body,
button,
input,
select,
textarea {
  font-family: var(--v10-font-family);
  letter-spacing: 0;
}

[v-cloak] {
  display: none !important;
}

.template,
.product,
.goods,
#account,
.finance,
.template > .el-container,
.product > .el-container,
.goods > .el-container {
  width: 100%;
  min-width: 0 !important;
  min-height: 100vh !important;
  background: var(--v10-bg) !important;
}

.template > .el-container > .el-container,
.product > .el-container > .el-container,
.goods > .el-container > .el-container {
  display: block;
  min-width: 0;
}

.el-header.console-header {
  position: fixed !important;
  inset: 0 0 auto 0 !important;
  z-index: var(--v10-z-header) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: var(--v10-header-height) !important;
  padding: 0 16px 0 0 !important;
  border-bottom: 1px solid var(--v10-surface-soft) !important;
  background: var(--v10-surface) !important;
  box-shadow: none !important;
}

.console-header .header-left,
.console-header .header-right {
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
  min-width: 0;
  height: var(--v10-header-height) !important;
  min-height: var(--v10-header-height) !important;
}

.console-header .header-left {
  flex: 0 0 var(--v10-aside-width);
  width: var(--v10-aside-width);
  padding: 0 16px !important;
}

.console-header .header-right {
  flex: 1 1 auto;
  justify-content: flex-start;
  gap: 0;
}

.console-brand,
.drawer-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.console-brand {
  width: 100%;
  height: var(--v10-header-height);
}

.console-brand-mark {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  width: 100%;
  height: var(--v10-header-height);
  padding: 0;
  border-radius: 0;
  background: transparent;
  overflow: hidden;
}

.console-header-logo {
  display: block;
  width: auto !important;
  max-width: 168px !important;
  height: 30px !important;
  object-fit: contain;
  object-position: left center;
}

.console-brand-name {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: var(--v10-title);
  font-size: 15px;
  font-weight: var(--v10-weight-semibold);
  line-height: 32px;
  letter-spacing: 0;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.console-header-link,
.console-icon-button,
.console-login,
.console-user-menu {
  box-sizing: border-box;
  height: 32px;
  min-height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: var(--v10-radius);
  color: var(--v10-text);
  background: transparent;
  font-size: 13px;
  font-weight: var(--v10-weight-medium);
  line-height: 32px;
  white-space: nowrap;
  cursor: pointer;
}

.console-header-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.console-header-link > i {
  font-size: 16px;
}

.console-header-link:hover,
.console-header-link:focus-visible,
.console-icon-button:hover,
.console-icon-button:focus-visible,
.console-login:hover,
.console-login:focus-visible,
.console-user-menu:hover,
.console-user-menu:focus-visible {
  color: var(--v10-primary);
  background: var(--v10-surface-soft);
  outline: 0;
}

.console-icon-button {
  display: inline-grid;
  flex: 0 0 34px;
  width: 34px;
  padding: 0;
  font-size: 17px;
  place-items: center;
}

.console-icon-button .el-badge {
  line-height: 1;
}

.console-cart-button {
  display: inline-flex;
  width: auto;
  min-width: 78px;
  padding: 0 10px;
  flex: 0 0 auto;
  justify-content: center;
}

.console-cart-button .el-badge,
.console-cart-button .el-icon-shopping-cart-2 {
  line-height: 1;
}

.console-cart-label {
  display: inline-block;
}

.console-icon-button .el-badge__content,
.console-header .el-badge__content {
  height: 15px;
  min-width: 15px;
  padding: 0 4px;
  border: 1px solid #fff;
  font-size: 10px;
  line-height: 13px;
}

.menu-trigger {
  display: none;
}

.console-language {
  flex: 0 0 auto;
  margin-right: 2px;
  margin-left: 16px;
}

.console-language .el-dropdown {
  display: block;
}

.console-header-spacer {
  flex: 1 1 auto;
  min-width: 8px;
}

.console-language-trigger img {
  width: 18px !important;
  height: 12px !important;
  object-fit: cover;
}

.console-language-trigger {
  height: 26px;
  min-height: 26px;
  padding: 0 8px;
  border: 1px solid var(--v10-surface-soft);
  color: var(--v10-text-desc);
  background: var(--v10-surface-soft);
  line-height: 24px;
}

.console-user-menu {
  display: flex;
  align-items: center;
  height: var(--v10-header-height);
  min-height: var(--v10-header-height);
  margin-left: 18px;
  padding: 0;
  max-width: 174px;
  gap: 6px;
}

.console-user-menu .head-box {
  display: grid !important;
  flex: 0 0 24px;
  box-sizing: border-box;
  width: 24px !important;
  height: 24px !important;
  border-radius: 1px !important;
  color: #fff;
  background: var(--v10-primary) !important;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px !important;
  place-items: center;
  text-align: center;
}

.console-user-name {
  min-width: 0;
  max-width: 160px;
  overflow: hidden;
  color: var(--v10-title);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.console-user-arrow {
  display: none;
}

.console-page-titlebar {
  position: fixed;
  z-index: var(--v10-z-sticky);
  top: var(--v10-header-height);
  right: 0;
  left: var(--v10-aside-width);
  display: flex;
  align-items: center;
  box-sizing: border-box;
  height: var(--v10-pagebar-height);
  padding: 0 20px;
  border-bottom: 0;
  background: var(--v10-surface);
  box-shadow: 0 2px 4px rgba(5, 17, 71, 0.05);
}

.console-page-titlebar h1 {
  position: relative;
  height: var(--v10-pagebar-height);
  margin: 0;
  color: var(--v10-title);
  font-size: 16px;
  font-weight: var(--v10-weight-bold);
  line-height: var(--v10-pagebar-height);
  letter-spacing: 0;
}

.console-page-titlebar h1::after {
  position: absolute;
  right: auto;
  bottom: -1px;
  left: 0;
  width: 50%;
  height: 2px;
  background: var(--v10-primary);
  content: "";
}

.console-aside.el-aside {
  position: fixed !important;
  z-index: calc(var(--v10-z-sticky) + 1);
  inset: var(--v10-header-height) auto 0 0 !important;
  display: block;
  box-sizing: border-box;
  width: var(--v10-aside-width) !important;
  height: calc(100vh - var(--v10-header-height)) !important;
  padding: 20px 0 88px !important;
  border-right: 0 !important;
  background: var(--v10-surface) !important;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}

.console-aside.el-aside::-webkit-scrollbar {
  width: 6px;
}

.console-aside.el-aside::-webkit-scrollbar-track,
.console-aside.el-aside::-webkit-scrollbar-thumb {
  background: transparent;
}

.console-aside.el-aside:hover::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.console-aside.el-aside:hover::-webkit-scrollbar-thumb {
  background: #c9cdd4;
}

.console-nav {
  width: calc(100% - 6px);
}

.console-nav-group + .console-nav-group {
  margin-top: 8px;
}

.console-menu-divider {
  box-sizing: border-box;
  height: 24px;
  margin: 0 16px;
  border: 0;
  background: transparent;
  pointer-events: none;
}

.console-menu-heading {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 40px;
  margin: 0;
  padding: 8px 16px;
  color: rgba(0, 0, 0, 0.5);
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
  text-align: left;
}

.console-menu-tree.level-1 > .console-menu-heading {
  padding-left: 16px;
}

.console-nav-heading {
  box-sizing: border-box;
  height: 28px;
  padding: 0 16px;
  color: var(--v10-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 28px;
}

.console-nav .menu-top,
.drawer-menu-list-top .menu-top,
.console-menu-tree {
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
}

.console-nav .el-menu-item,
.console-nav .el-submenu__title,
.drawer-menu-list-top .el-menu-item,
.drawer-menu-list-top .el-submenu__title {
  position: relative;
  box-sizing: border-box;
  width: 100% !important;
  min-width: 0 !important;
  height: 40px !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 8px 16px !important;
  border-radius: 1px !important;
  color: rgba(0, 0, 0, 0.9) !important;
  font-size: 14px !important;
  font-weight: var(--v10-weight-medium) !important;
  line-height: normal !important;
}

.console-nav .el-menu-item:hover,
.console-nav .el-submenu__title:hover,
.drawer-menu-list-top .el-menu-item:hover,
.drawer-menu-list-top .el-submenu__title:hover {
  color: rgba(0, 0, 0, 0.9) !important;
  background: var(--v10-surface-hover) !important;
}

.console-nav .el-menu-item.is-active,
.drawer-menu-list-top .el-menu-item.is-active {
  color: #fff !important;
  background: var(--v10-primary) !important;
  font-weight: var(--v10-weight-semibold) !important;
}

.console-aside .console-nav .el-menu-item.is-active,
.drawer-menu .drawer-menu-list-top .el-menu-item.is-active {
  border-radius: 1px !important;
}

.console-nav .el-menu-item.is-active::before,
.drawer-menu-list-top .el-menu-item.is-active::before {
  content: none;
}

.console-nav .el-menu-item.is-disabled,
.drawer-menu-list-top .el-menu-item.is-disabled {
  opacity: 0.45;
}

.console-nav .el-submenu .el-menu-item,
.drawer-menu-list-top .el-submenu .el-menu-item {
  padding-left: 42px !important;
}

.console-nav .console-menu-tree.level-1 .el-submenu .el-menu-item,
.drawer-menu-list-top .console-menu-tree.level-1 .el-submenu .el-menu-item {
  padding-left: 56px !important;
}

.console-nav .el-menu-item i,
.console-nav .el-submenu__title i,
.drawer-menu-list-top .el-menu-item i,
.drawer-menu-list-top .el-submenu__title i {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  color: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: normal;
  text-align: center;
}

.console-aside .console-nav .el-menu-item i,
.console-aside .console-nav .el-submenu__title i,
.drawer-menu .drawer-menu-list-top .el-menu-item i,
.drawer-menu .drawer-menu-list-top .el-submenu__title i {
  color: #050505 !important;
}

.console-aside .console-nav .el-menu-item.is-active i,
.console-aside .console-nav .el-submenu.is-active > .el-submenu__title i,
.drawer-menu .drawer-menu-list-top .el-menu-item.is-active i,
.drawer-menu .drawer-menu-list-top .el-submenu.is-active > .el-submenu__title i {
  color: #fff !important;
}

.aside-menu-text {
  display: inline-block;
  margin-left: 0 !important;
  max-width: calc(100% - 28px);
  overflow: hidden;
  line-height: 20px;
  text-overflow: ellipsis;
  vertical-align: middle;
  white-space: nowrap;
}

.el-main,
.order-console-main.el-main {
  box-sizing: border-box !important;
  width: calc(100% - var(--v10-aside-width)) !important;
  min-width: 0 !important;
  min-height: 100vh !important;
  margin-left: var(--v10-aside-width) !important;
  padding: calc(var(--v10-header-height) + var(--v10-pagebar-height) + 20px) 20px 28px !important;
  background: var(--v10-workspace-bg) !important;
  overflow: visible !important;
}

.main-card {
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: 20px !important;
  border: 0 !important;
  border-radius: 1px !important;
  color: var(--v10-text) !important;
  background: var(--v10-surface) !important;
  font-family: var(--v10-font-family) !important;
  font-size: 14px !important;
  line-height: var(--v10-line-height) !important;
  box-shadow: var(--v10-panel-shadow) !important;
}

.main-card.console-dashboard,
.main-card.product-console-page,
.main-card.finance {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.main-card-title {
  box-sizing: border-box;
  min-height: 50px;
  margin: -20px -20px 18px !important;
  padding: 13px 20px !important;
  border-bottom: 1px solid var(--v10-border);
  color: var(--v10-title) !important;
  background: linear-gradient(90deg, #f2f7ff 0%, #ffffff 72%);
  font-size: 16px !important;
  font-weight: var(--v10-weight-semibold);
  line-height: 24px !important;
  box-shadow: inset 3px 0 0 var(--v10-primary);
}

.console-page-header {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin: 0 0 16px;
}

.console-breadcrumb {
  display: none;
}

.console-page-head-row,
.console-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-width: 0;
  gap: 16px;
}

.console-page-title {
  margin: 0;
  color: var(--v10-title);
  font-size: 18px;
  font-weight: var(--v10-weight-bold);
  line-height: var(--v10-line-height-page-title);
}

.console-page-description {
  margin: 2px 0 0;
  color: var(--v10-text-desc);
  font-size: 12px;
  line-height: 20px;
}

.resource-console-page {
  width: 100%;
  max-width: none !important;
}

.resource-console-page .product-resource-count {
  display: inline-flex;
  min-width: 24px;
  height: 20px;
  margin-left: 6px;
  padding: 0 7px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--v10-primary);
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
  vertical-align: 2px;
  background: var(--v10-primary-soft);
}

.resource-console-page > .resource-data-panel {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 220px !important;
  height: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  overflow: visible;
}

.resource-console-page .product-info-strip {
  min-height: 40px;
  margin-bottom: 12px;
  padding: 9px 20px;
  border-color: #d5e7ff;
  border-radius: 0;
  color: #244a89;
  background: #d5e7ff;
}

.resource-console-page .product-info-strip .product-info-content {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  gap: 16px;
}

.resource-console-page .product-info-strip .product-info-action {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  color: var(--v10-primary);
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.resource-console-page .product-info-strip .product-info-action:hover {
  color: var(--v10-primary-hover);
  text-decoration: underline;
}

.resource-console-page .product-category-tabs {
  box-sizing: border-box;
  min-height: 45px;
  margin: 0;
  padding: 0;
  gap: 0;
  border: 0;
  border-radius: 0;
  background: #e7eaef;
  overflow-x: auto;
}

.resource-console-page .product-category-tabs button {
  flex: 0 0 150px;
  min-width: 120px;
  height: 45px;
  padding: 0 12px;
  color: rgba(0, 0, 0, 0.55);
  font-size: 14px;
  line-height: 45px;
  text-align: center;
}

.resource-console-page .product-category-tabs button:hover {
  color: var(--v10-title);
  background: rgba(255, 255, 255, 0.58);
}

.resource-console-page .product-category-tabs button.is-active {
  color: var(--v10-title);
  background: #fff;
}

.resource-console-page .product-category-tabs button.is-active::after {
  content: none;
}

.resource-console-page .resource-data-panel > .content {
  height: auto !important;
  min-height: 220px;
}

.resource-console-page .resource-data-panel .common_product_lists {
  height: auto !important;
  min-height: 0 !important;
  color: var(--v10-title);
  font-family: var(--v10-font-family);
  font-size: 14px;
  line-height: 22px;
}

.resource-console-page .resource-data-panel .common_product_lists > .main-card {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--v10-title);
  font-size: 14px !important;
  line-height: 22px !important;
}

.resource-console-page .resource-data-panel .common_product_lists .main-card-title {
  display: none !important;
}

.resource-console-page .resource-data-panel .common_product_lists .main-card-table {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  box-sizing: border-box;
  width: 100%;
  margin: 0 !important;
  padding: 0;
  background: transparent;
  font-size: 14px !important;
  line-height: 22px !important;
}

.resource-console-page .resource-data-panel .common_product_lists .product-tab-list {
  box-sizing: border-box;
  width: 100%;
  height: 45px !important;
  margin: 0 !important;
  padding: 0 12px;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  overflow-x: auto;
}

.resource-console-page .resource-data-panel .common_product_lists .product-tab-list .el-tabs,
.resource-console-page .resource-data-panel .common_product_lists .product-tab-list .el-tabs__header,
.resource-console-page .resource-data-panel .common_product_lists .product-tab-list .el-tabs__nav-wrap {
  height: 45px !important;
  margin: 0 !important;
}

.resource-console-page .resource-data-panel .common_product_lists .product-tab-list .el-tabs__item {
  box-sizing: border-box;
  height: 45px !important;
  padding: 0 18px !important;
  color: var(--v10-text);
  font-size: 14px !important;
  line-height: 45px !important;
}

.resource-console-page .resource-data-panel .common_product_lists .product-tab-list .el-tabs__item.is-active {
  color: var(--v10-primary);
}

.resource-console-page .resource-data-panel .common_product_lists .main-card-search {
  display: flex !important;
  box-sizing: border-box;
  width: 100%;
  min-height: 58px;
  margin: 0 !important;
  padding: 12px 0 !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: transparent;
}

.resource-console-page .resource-data-panel .common_product_lists .main-card-search .right-search {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 12px !important;
}

.resource-console-page .resource-data-panel .common_product_lists .main-card-search .el-input,
.resource-console-page .resource-data-panel .common_product_lists .main-card-search .el-select {
  min-width: 180px;
  font-size: 14px;
}

.resource-console-page .resource-data-panel .common_product_lists .main-card-search .el-input__inner,
.resource-console-page .resource-data-panel .common_product_lists .main-card-search .el-button {
  height: 34px !important;
  border-radius: 1px !important;
  font-size: 14px !important;
  line-height: 32px !important;
}

.resource-console-page .resource-data-panel .common_product_lists .main-card-search .el-button {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.resource-console-page .resource-data-panel .common_product_lists .table {
  width: 100%;
  margin: 0 !important;
  border: 0;
  border-radius: 0;
  background: #fff;
  overflow: hidden;
}

.resource-console-page .resource-data-panel .common_product_lists .el-table {
  color: var(--v10-title);
  font-size: 14px !important;
}

.resource-console-page .resource-data-panel .common_product_lists .el-table th.el-table__cell {
  height: 47px;
  padding: 0 !important;
  color: var(--v10-title);
  font-size: 14px !important;
  font-weight: 500;
  background: #f7f8fa !important;
}

.resource-console-page .resource-data-panel .common_product_lists .el-table td.el-table__cell {
  height: 52px;
  padding: 0 !important;
  font-size: 14px !important;
}

.resource-console-page .resource-data-panel .common_product_lists .el-table .cell {
  padding-right: 12px !important;
  padding-left: 12px !important;
  line-height: 22px !important;
}

.resource-console-page .resource-data-panel .common_product_lists .myPage.custom-pagination {
  box-sizing: border-box;
  width: 100%;
  min-height: 68px;
  margin: 0 !important;
  padding: 16px 20px !important;
  border-top: 1px solid var(--v10-border);
  background: #fff;
  font-size: 14px;
}

.account-page-header {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--v10-border);
}

.console-panel {
  box-sizing: border-box;
  min-width: 0;
  border: 0;
  border-radius: 1px;
  background: var(--v10-surface);
  box-shadow: var(--v10-panel-shadow);
}

.console-panel-head {
  box-sizing: border-box;
  min-height: 52px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--v10-border);
}

.console-panel-head h2 {
  margin: 0;
  color: var(--v10-title);
  font-size: 15px;
  font-weight: 500;
  line-height: 24px;
}

.console-panel-head p {
  margin: 0;
  color: var(--v10-text-desc);
  font-size: 12px;
  line-height: 18px;
}

.console-text-action,
.console-link,
.a-text,
.bule-text {
  padding: 0;
  border: 0;
  color: var(--v10-primary) !important;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.console-text-action:hover,
.console-link:hover,
.a-text:hover,
.bule-text:hover {
  color: var(--v10-primary-hover) !important;
}

.console-status {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 7px;
  border-radius: 2px !important;
  font-size: 12px;
  line-height: 20px;
  white-space: nowrap;
}

.console-status-green { color: #389e0d; background: #f6ffed; }
.console-status-blue { color: var(--v10-primary); background: var(--v10-primary-soft); }
.console-status-orange { color: #d46b08; background: #fff7e6; }
.console-status-red { color: var(--v10-danger); background: #fff1f0; }
.console-status-gray { color: var(--v10-text); background: #f3f4f6; }

.template .el-button,
.product .el-button,
.account .el-button,
.finance .el-button {
  min-height: 36px;
  border-radius: var(--v10-radius) !important;
}

.template .el-button--small,
.template .el-button--mini,
.product .el-button--small,
.product .el-button--mini,
.account .el-button--small,
.finance .el-button--small {
  min-height: 32px;
}

.template .el-button--primary,
.product .el-button--primary,
.account .el-button--primary,
.finance .el-button--primary,
.btn-ok,
.btn-save,
.all-pay {
  border-color: var(--v10-primary) !important;
  color: #fff !important;
  background: var(--v10-primary) !important;
  box-shadow: none !important;
}

.template .el-button--primary:hover,
.product .el-button--primary:hover,
.account .el-button--primary:hover,
.finance .el-button--primary:hover,
.btn-ok:hover,
.btn-save:hover,
.all-pay:hover {
  border-color: var(--v10-primary-hover) !important;
  background: var(--v10-primary-hover) !important;
}

.template .el-input__inner,
.template .el-textarea__inner,
.template .el-range-editor.el-input__inner,
.product .el-input__inner,
.product .el-textarea__inner,
.account .el-input__inner,
.account .el-textarea__inner,
.finance .el-input__inner,
.finance .el-textarea__inner {
  box-sizing: border-box;
  min-height: 36px;
  padding-right: 12px !important;
  padding-left: 12px !important;
  border: 1px solid var(--v10-border-strong) !important;
  border-radius: var(--v10-radius) !important;
  color: var(--v10-title);
  background: #fff;
}

.template .el-input__inner:focus,
.template .el-textarea__inner:focus,
.template .el-select .el-input.is-focus .el-input__inner,
.template .el-range-editor.is-active,
.product .el-input__inner:focus,
.account .el-input__inner:focus,
.finance .el-input__inner:focus {
  border-color: var(--v10-primary) !important;
  box-shadow: 0 0 0 2px rgba(22, 93, 255, 0.1) !important;
}

.template .el-tabs__nav-wrap::after,
.product .el-tabs__nav-wrap::after,
.account .el-tabs__nav-wrap::after,
.finance .el-tabs__nav-wrap::after {
  height: 1px !important;
  background: var(--v10-border) !important;
}

.template .el-tabs__item,
.product .el-tabs__item,
.account .el-tabs__item,
.finance .el-tabs__item {
  height: 42px !important;
  color: var(--v10-text) !important;
  font-size: 14px;
  line-height: 42px !important;
}

.template .el-tabs__item.is-active,
.template .el-tabs__item:hover,
.product .el-tabs__item.is-active,
.product .el-tabs__item:hover,
.account .el-tabs__item.is-active,
.finance .el-tabs__item.is-active {
  color: var(--v10-primary) !important;
}

.template .el-tabs__active-bar,
.product .el-tabs__active-bar,
.account .el-tabs__active-bar,
.finance .el-tabs__active-bar {
  height: 2px !important;
  background: var(--v10-primary) !important;
}

.template .el-table,
.product .el-table,
.account .el-table,
.finance .el-table {
  color: var(--v10-text) !important;
  font-size: 13px;
}

.template .el-table th.el-table__cell,
.product .el-table th.el-table__cell,
.account .el-table th.el-table__cell,
.finance .el-table th.el-table__cell,
.template .el-table th,
.product .el-table th,
.account .el-table th,
.finance .el-table th {
  height: 44px;
  padding: 8px 0 !important;
  color: var(--v10-text) !important;
  background: var(--v10-workspace) !important;
  font-weight: 500;
}

.template .el-table td.el-table__cell,
.product .el-table td.el-table__cell,
.account .el-table td.el-table__cell,
.finance .el-table td.el-table__cell {
  height: 50px;
  padding: 9px 0 !important;
}

.template .el-table .cell,
.product .el-table .cell,
.account .el-table .cell,
.finance .el-table .cell {
  box-sizing: border-box;
  padding-right: 12px !important;
  padding-left: 12px !important;
  line-height: 22px !important;
}

.template .el-table--enable-row-hover .el-table__body tr:hover > td.el-table__cell,
.product .el-table--enable-row-hover .el-table__body tr:hover > td.el-table__cell,
.account .el-table--enable-row-hover .el-table__body tr:hover > td.el-table__cell,
.finance .el-table--enable-row-hover .el-table__body tr:hover > td.el-table__cell {
  background: var(--v10-surface-hover) !important;
}

.tabledata {
  box-sizing: border-box;
  width: 100%;
  padding: 0 !important;
  border: 1px solid var(--v10-border) !important;
  border-radius: var(--v10-radius);
  overflow: hidden;
}

.content_searchbar,
.main-card-search,
.searchbar {
  box-sizing: border-box;
  gap: 12px;
}

.el-pagination {
  box-sizing: border-box;
  padding: 16px 0 !important;
  color: var(--v10-text);
}

.console-page-error {
  margin: 0 0 16px;
  border-radius: var(--v10-radius) !important;
}

.console-page-error .el-alert__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
}

.console-async-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 176px;
  max-height: 320px;
  padding: 24px;
  color: var(--v10-muted);
  text-align: center;
}

.console-async-state i {
  margin-bottom: 10px;
  color: var(--v10-muted);
  font-size: 30px;
}

.console-async-state strong {
  margin-bottom: 3px;
  color: var(--v10-title);
  font-size: 14px;
  font-weight: 500;
}

.console-async-state p {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 20px;
}

.console-skeleton {
  min-height: 176px;
  padding: 20px;
}

.console-skeleton-line {
  height: 13px;
  margin-bottom: 13px;
  border-radius: 2px;
  background: #edf0f5;
  animation: v10-console-skeleton 1.35s ease-in-out infinite;
}

@keyframes v10-console-skeleton {
  50% { opacity: 0.45; }
}

.console-popover-empty {
  padding: 24px 16px;
  color: var(--v10-muted);
  text-align: center;
}

.console-message-popover {
  width: 320px;
  padding: 0 !important;
  border-radius: var(--v10-radius-lg) !important;
}

.console-finance-hover {
  position: relative;
  display: flex;
  align-self: stretch;
  align-items: center;
}

.console-finance-hover::after {
  position: absolute;
  z-index: 3000;
  top: 100%;
  right: 0;
  width: 280px;
  height: 10px;
  content: "";
}

.console-finance-popover,
.console-finance-hover > .console-finance-panel {
  box-sizing: border-box;
  width: 280px;
  padding: 0 !important;
  border: 1px solid var(--v10-border) !important;
  border-radius: 1px !important;
  background: var(--v10-surface) !important;
  box-shadow: 0 12px 28px rgba(5, 17, 71, 0.16) !important;
}

.console-finance-hover > .console-finance-panel {
  position: absolute;
  z-index: 3001;
  top: calc(100% + 8px);
  right: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.console-finance-hover:hover > .console-finance-panel,
.console-finance-hover:focus-within > .console-finance-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.console-finance-panel,
.console-finance-panel * {
  box-sizing: border-box;
}

.console-finance-panel {
  width: 100%;
  color: var(--v10-title);
  background: var(--v10-surface);
}

.console-finance-balance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 112px;
  padding: 18px 20px;
  gap: 16px;
}

.console-finance-balance > div {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.console-finance-balance span {
  color: var(--v10-text-desc);
  font-size: 13px;
  line-height: 20px;
}

.console-finance-balance strong {
  max-width: 142px;
  overflow: hidden;
  color: var(--v10-title);
  font-size: 30px;
  font-weight: 600;
  line-height: 36px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.console-finance-recharge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  height: 36px;
  padding: 0 14px;
  gap: 6px;
  border: 1px solid var(--v10-primary);
  border-radius: 1px;
  color: #fff;
  background: var(--v10-primary);
  font: inherit;
  cursor: pointer;
}

.console-finance-recharge span,
.console-finance-recharge i {
  color: inherit;
  font-size: 14px;
}

.console-finance-recharge:hover,
.console-finance-recharge:focus-visible {
  border-color: var(--v10-primary-hover);
  background: var(--v10-primary-hover);
  outline: 0;
}

.console-finance-links {
  padding: 8px 0;
  border-top: 1px solid var(--v10-border);
  border-bottom: 1px solid var(--v10-border);
}

.console-finance-links button,
.console-finance-overview {
  display: grid;
  align-items: center;
  width: 100%;
  min-height: 42px;
  margin: 0;
  padding: 0 20px;
  grid-template-columns: 22px minmax(0, 1fr) 16px;
  gap: 8px;
  border: 0;
  color: var(--v10-title);
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.console-finance-links button:hover,
.console-finance-links button:focus-visible,
.console-finance-overview:hover,
.console-finance-overview:focus-visible {
  color: var(--v10-primary);
  background: var(--v10-surface-hover);
  outline: 0;
}

.console-finance-links button > i:first-child,
.console-finance-overview > i:first-child {
  color: inherit;
  font-size: 17px;
}

.console-finance-links button > i:last-child {
  justify-self: end;
  color: var(--v10-primary);
  font-size: 13px;
}

.console-finance-overview {
  min-height: 50px;
  grid-template-columns: 22px minmax(0, 1fr);
  color: var(--v10-text-desc);
}

.top-msg-box {
  max-height: 360px;
  overflow: auto;
}

.msg-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  padding: 0 14px;
  border-bottom: 1px solid var(--v10-border);
}

.msg-top strong {
  color: var(--v10-title);
  font-size: 14px;
  font-weight: 500;
}

.msg-top button {
  padding: 0;
  border: 0;
  color: var(--v10-primary);
  background: transparent;
  font-size: 12px;
  cursor: pointer;
}

.msg-item {
  display: flex;
  align-items: flex-start;
  width: 100%;
  gap: 10px;
  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid var(--v10-border);
  color: var(--v10-text);
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.msg-item:hover {
  background: var(--v10-surface-hover);
}

.msg-item > i {
  margin-top: 2px;
  color: var(--v10-primary);
}

.msg-item > span {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.msg-item strong {
  overflow: hidden;
  color: var(--v10-title);
  font-size: 13px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.msg-item small {
  color: var(--v10-muted);
  font-size: 11px;
}

.mobel,
.mobile-resource-list {
  display: none;
}

.drawer-menu {
  width: 280px !important;
  max-width: calc(100vw - 40px);
  background: #fff;
}

.drawer-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  width: 100% !important;
  height: 52px !important;
  min-height: 52px;
  padding: 0 12px;
  border-bottom: 1px solid var(--v10-border);
}

.drawer-brand {
  flex: 0 0 148px;
  box-sizing: border-box;
  width: 148px;
  height: 36px;
  padding: 2px;
  border-radius: 0;
  background: transparent;
}

.drawer-menu .drawer-menu-logo {
  display: block;
  width: 144px !important;
  height: 32px;
  max-width: 100%;
  max-height: 32px;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  object-fit: contain;
  object-position: left center;
}

.drawer-close {
  display: grid;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: var(--v10-radius);
  color: var(--v10-text);
  background: transparent;
  cursor: pointer;
  place-items: center;
}

.drawer-menu-list-top {
  box-sizing: border-box;
  height: calc(100dvh - 52px) !important;
  margin-top: 0 !important;
  padding: 8px 0 calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto;
}

@media (max-width: 1180px) {
  .console-header-secondary {
    display: none !important;
  }
  .console-user-name {
    max-width: 104px;
  }
}

@media (max-width: 1023px) {
  :root {
    --v10-aside-width: 176px;
  }

  .console-header .header-left {
    padding: 0 10px;
  }

  .console-brand-mark {
    width: 132px;
  }

  .console-header-logo {
    width: 128px !important;
  }

  .console-language,
  .console-header .console-message-button {
    display: none !important;
  }

  .el-main,
  .order-console-main.el-main {
    padding-right: 16px !important;
    padding-left: 16px !important;
  }
}

@media (max-width: 900px) {
  .console-finance-hover,
  .console-desktop-tool {
    display: none !important;
  }

  .console-user-name,
  .console-user-arrow {
    display: none;
  }
}

@media (max-width: 767px) {
  :root {
    --v10-header-height: 52px;
    --v10-pagebar-height: 44px;
    --v10-aside-width: 0px;
  }

  .el-header.console-header {
    height: var(--v10-header-height) !important;
    padding: 0 8px !important;
  }

  .console-header .header-left,
  .console-header .header-right {
    height: var(--v10-header-height) !important;
  }

  .console-header .header-left {
    flex: 1 1 auto;
    width: auto;
    padding: 0;
    gap: 6px;
  }

  .console-header .header-right {
    flex: 0 0 auto;
  }

  .menu-trigger {
    display: inline-grid !important;
  }

  .console-brand-mark {
    width: 112px;
    height: 30px;
    padding: 1px;
  }

  .console-header-logo {
    width: 108px !important;
    height: 28px !important;
  }

  .console-desktop-tool {
    display: none !important;
  }

  .console-cart-button {
    display: inline-grid !important;
    width: 34px;
    min-width: 34px;
    padding: 0;
  }

  .console-cart-label {
    display: none;
  }

  .console-user-menu {
    width: 34px;
    margin-left: 4px;
    padding: 0;
  }

  .console-user-name,
  .console-user-arrow {
    display: none;
  }

  .console-aside.el-aside {
    display: none !important;
  }

  .console-page-titlebar {
    left: 0;
    height: var(--v10-pagebar-height);
    padding: 0 12px;
  }

  .console-page-titlebar h1 {
    height: var(--v10-pagebar-height);
    font-size: 15px;
    line-height: var(--v10-pagebar-height);
  }

  .el-main,
  .order-console-main.el-main {
    width: 100% !important;
    min-height: 100dvh !important;
    margin-left: 0 !important;
    padding: calc(var(--v10-header-height) + var(--v10-pagebar-height) + 12px) 12px calc(24px + env(safe-area-inset-bottom)) !important;
  }

  .main-card {
    padding: 14px !important;
    border-radius: var(--v10-radius-lg) !important;
  }

  .main-card.console-dashboard,
  .main-card.product-console-page,
  .main-card.finance {
    padding: 0 !important;
  }

  .main-card-title {
    min-height: 48px;
    margin: -14px -14px 14px !important;
    padding: 12px 14px !important;
  }

  .console-page-header {
    margin-bottom: 14px;
  }

  .console-page-head-row {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .console-page-head-row > .el-button {
    width: 100%;
  }

  .console-page-title {
    font-size: 17px;
    line-height: 24px;
  }

  .console-panel-head {
    padding: 11px 13px;
  }

  .tabledata {
    display: none !important;
  }

  .mobel,
  .mobile-resource-list {
    display: block !important;
  }

  .mob-tabledata,
  .mobile-resource-list {
    display: grid;
    gap: 10px;
  }

  .mob-tabledata-item,
  .mobile-resource-card {
    box-sizing: border-box;
    width: 100%;
    padding: 13px !important;
    border: 1px solid var(--v10-border) !important;
    border-radius: var(--v10-radius-lg) !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  .content_searchbar,
  .main-card-search,
  .searchbar {
    flex-wrap: wrap;
  }

  .content_searchbar .com-search,
  .content_searchbar .el-input,
  .main-card-search .el-input,
  .main-card-search .el-select {
    width: 100% !important;
    margin-left: 0 !important;
  }

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

@media (max-width: 360px) {
  .el-header.console-header {
    padding: 0 6px !important;
  }

  .console-header .header-left {
    gap: 3px;
  }

  .console-brand-mark {
    width: 96px;
  }

  .console-header-logo {
    width: 92px !important;
  }

  .console-icon-button,
  .console-user-menu {
    flex-basis: 32px;
    width: 32px;
  }

  .el-main,
  .order-console-main.el-main {
    padding-right: 8px !important;
    padding-left: 8px !important;
  }
}

/* Cart configuration pages do not render the console aside. */
body .goods-list-order .purchase-main.el-main,
body .goods .order-console-main.el-main,
body .ecs-product .ecs-product-main.el-main {
  width: 100% !important;
  margin-left: 0 !important;
}

.goods-list-order .console-page-titlebar,
.goods .console-page-titlebar,
.ecs-product .console-page-titlebar {
  display: none !important;
}

/* 10.7.2 cross-module resource pages use the same console shell. */
.cross-module-page {
  min-width: 0;
  color: var(--v10-text);
  font-size: 14px;
  line-height: 22px;
}

.cross-module-page .resource-console-page > .product-info-strip {
  min-height: 40px;
  margin: 0 0 12px;
  padding: 9px 20px;
  border: 0;
  border-radius: 0;
  color: #244a89;
  background: #d5e7ff;
}

.cross-module-page .resource-data-panel {
  border: 0 !important;
  border-radius: 1px !important;
  background: #fff !important;
  box-shadow: 0 2px 4px rgba(54, 58, 80, 0.16);
  font-size: 14px !important;
  line-height: 22px !important;
  overflow: hidden;
}

.cross-module-page .main-card-table {
  min-width: 0;
  margin-top: 0;
  background: #fff;
}

.cross-module-page .product-tab-list {
  box-sizing: border-box;
  width: 100%;
  height: 45px;
  min-width: 0;
  padding: 0 12px;
  border-bottom: 1px solid var(--v10-border);
  border-radius: 0;
  background: #fff;
  overflow-x: auto;
  overflow-y: hidden;
}

.cross-module-page .product-tab-list .el-tabs {
  width: 100%;
  height: 45px;
  min-width: 0;
}

.cross-module-page .product-tab-list .el-tabs__header {
  height: 45px;
  margin: 0 !important;
}

.cross-module-page .product-tab-list .el-tabs__nav-wrap,
.cross-module-page .product-tab-list .el-tabs__nav-scroll,
.cross-module-page .product-tab-list .el-tabs__nav {
  height: 45px;
}

.cross-module-page .product-tab-list .el-tabs__nav-wrap::after {
  display: none;
}

.cross-module-page .product-tab-list .el-tabs__item {
  box-sizing: border-box;
  height: 45px;
  margin: 0 !important;
  padding: 0 18px !important;
  color: var(--v10-text);
  font-size: 14px;
  line-height: 45px;
}

.cross-module-page .product-tab-list .el-tabs__item.is-active {
  color: var(--v10-primary);
}

.cross-module-page .main-card-search {
  display: flex;
  box-sizing: border-box;
  gap: 12px;
  margin: 0;
  padding: 12px 16px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--v10-border);
  background: #fff;
}

.cross-module-page .resource-primary-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.cross-module-page .resource-primary-actions > .el-button,
.cross-module-page .resource-primary-actions .el-button,
.cross-module-page .main-card-search .el-input__inner {
  height: 34px;
  min-height: 34px;
  border-radius: 1px !important;
  font-size: 14px;
  line-height: 32px;
}

.cross-module-page .resource-primary-actions > .el-button,
.cross-module-page .resource-primary-actions .el-button {
  padding-top: 0;
  padding-bottom: 0;
}

.cross-module-page .right-search {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.cross-module-page .right-search .el-input,
.cross-module-page .right-search .el-select {
  flex: 0 1 190px;
  width: 190px;
  min-width: 150px;
}

.cross-module-page .search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 70px;
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--v10-primary);
  border-radius: 1px;
  color: #fff;
  font: 14px/32px var(--v10-font-family);
  background: var(--v10-primary);
  cursor: pointer;
}

.cross-module-page .search-btn:hover {
  border-color: var(--v10-primary-hover);
  background: var(--v10-primary-hover);
}

.cross-module-page .cross-module-table {
  min-width: 0;
  padding: 0;
  border: 0;
  background: #fff;
  overflow-x: auto;
}

.cross-module-page .cross-module-table .el-table {
  color: var(--v10-title);
  font-size: 14px;
}

.cross-module-page .cross-module-table .el-table th.el-table__cell {
  height: 47px;
  padding: 0;
  color: var(--v10-title);
  font-size: 14px;
  font-weight: 500;
  background: #f7f8fa;
}

.cross-module-page .cross-module-table .el-table td.el-table__cell {
  height: 62px;
  padding: 0;
  border-bottom-color: var(--v10-border);
}

.cross-module-page .cross-module-table .el-table .cell {
  padding-right: 12px;
  padding-left: 12px;
  line-height: 20px;
}

.cross-module-page .cross-module-table .el-table__row:hover > td.el-table__cell {
  background: #f7faff;
}

.cross-module-page .cross-module-state {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  box-sizing: border-box;
  min-height: 190px;
  margin: 0;
  padding: 28px 20px;
  border: 0;
  color: var(--v10-text-muted);
  background: #fff;
  text-align: center;
}

.cross-module-page .cross-module-state p {
  margin: 0;
}

.cross-module-page .cross-module-state-loading {
  min-height: 220px;
}

.cross-module-page .cross-module-state-error {
  color: var(--v10-danger);
}

.cross-module-page .table-link,
.cross-module-page .cross-module-resource button {
  padding: 0;
  border: 0;
  color: var(--v10-primary);
  font: inherit;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.cross-module-page .cloud-name {
  align-items: flex-start;
  gap: 2px;
  max-width: 100%;
}

.cross-module-page .cloud-name .packge-name {
  color: var(--v10-title);
  font-weight: 500;
}

.cross-module-page .cloud-name .name,
.cross-module-page .resource-row-id {
  color: var(--v10-text-muted);
  font-size: 12px;
  line-height: 18px;
}

.cross-module-page .area {
  min-width: 0;
  white-space: nowrap;
}

.cross-module-page .area-img {
  flex: 0 0 auto;
  width: 20px;
  height: 14px;
  object-fit: cover;
}

.cross-module-page .list-show-ip .cell {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cross-module-page .resource-icon-action {
  display: inline-flex;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  color: var(--v10-primary);
  background: transparent;
  cursor: pointer;
}

.cross-module-page .status {
  width: auto;
  min-width: 52px;
  height: 24px;
  padding: 0 7px;
  border-radius: 1px;
  line-height: 24px;
}

.cross-module-page .resource-detail-action {
  white-space: nowrap;
}

.cross-module-page .page {
  display: flex;
  box-sizing: border-box;
  min-height: 68px;
  justify-content: flex-end;
  padding: 16px 20px;
  border-top: 1px solid var(--v10-border);
  background: #fff;
}

.cross-module-page .cross-module-mobile-list {
  display: none;
}

@media (max-width: 767px) {
  .cross-module-page .main-card {
    padding: 0 !important;
  }

  .cross-module-page .resource-console-page > .product-info-strip {
    margin-bottom: 10px;
    padding: 9px 12px;
  }

  .cross-module-page .product-tab-list {
    height: 42px;
    padding: 0 8px;
  }

  .cross-module-page .product-tab-list .el-tabs,
  .cross-module-page .product-tab-list .el-tabs__header,
  .cross-module-page .product-tab-list .el-tabs__nav-wrap,
  .cross-module-page .product-tab-list .el-tabs__nav-scroll,
  .cross-module-page .product-tab-list .el-tabs__nav {
    height: 42px;
  }

  .cross-module-page .product-tab-list .el-tabs__item {
    height: 42px;
    margin: 0 !important;
    padding: 0 12px !important;
    line-height: 42px;
  }

  .cross-module-page .main-card-search {
    align-items: stretch;
    flex-direction: column;
    padding: 12px;
  }

  .cross-module-page .resource-primary-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .cross-module-page .resource-primary-actions > *,
  .cross-module-page .resource-primary-actions .el-button {
    width: 100%;
    min-width: 0;
    margin: 0;
  }

  .cross-module-page .right-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .cross-module-page .right-search .el-input,
  .cross-module-page .right-search .el-select,
  .cross-module-page .search-btn {
    width: 100% !important;
    min-width: 0;
  }

  .cross-module-page .cross-module-table {
    display: none;
  }

  .cross-module-page .cross-module-mobile-list {
    display: grid;
    gap: 10px;
    padding: 12px;
  }

  .cross-module-page .cross-module-resource {
    box-sizing: border-box;
    min-width: 0;
    padding: 13px;
    border: 1px solid var(--v10-border);
    border-radius: 2px;
    background: #fff;
  }

  .cross-module-page .cross-module-resource header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--v10-border);
  }

  .cross-module-page .cross-module-resource header button {
    min-width: 0;
    color: var(--v10-text);
    font-weight: 600;
    overflow-wrap: anywhere;
  }

  .cross-module-page .cross-module-resource dl {
    display: grid;
    gap: 7px;
    margin: 10px 0 0;
  }

  .cross-module-page .cross-module-resource dl > div {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 8px;
  }

  .cross-module-page .cross-module-resource dt {
    color: var(--v10-text-muted);
  }

  .cross-module-page .cross-module-resource dd {
    min-width: 0;
    margin: 0;
    color: var(--v10-text);
    overflow-wrap: anywhere;
  }

  .cross-module-page .cross-module-resource footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 12px;
  }

  .cross-module-page .page {
    justify-content: center;
    min-height: 60px;
    padding: 12px;
    overflow-x: auto;
  }
}
.recharge-dialog .recharge-range-hint {
  margin: 8px 0 0;
  color: var(--v10-muted);
  font-size: 12px;
  line-height: 20px;
}

@media (max-width: 1023px) {
  .resource-console-page .resource-data-panel .common_product_lists .main-card-search {
    align-items: stretch;
    flex-direction: column;
  }

  .resource-console-page .resource-data-panel .common_product_lists .main-card-search .right-search {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 767px) {
  .console-menu-divider {
    height: 20px;
    margin: 0 16px;
  }

  .resource-console-page .product-info-strip {
    padding: 10px 12px;
  }

  .resource-console-page .product-info-strip .product-info-content {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .resource-console-page .product-category-tabs {
    width: 100%;
    min-height: 42px;
  }

  .resource-console-page .product-category-tabs button {
    flex-basis: auto;
    min-width: 112px;
    height: 42px;
    padding: 0 14px;
    line-height: 42px;
  }

  .resource-console-page .resource-data-panel.has-mobile-resources > .content {
    display: none !important;
  }

  .resource-console-page .resource-data-panel .common_product_lists .product-tab-list {
    height: 42px !important;
    padding: 0 8px;
  }

  .resource-console-page .resource-data-panel .common_product_lists .product-tab-list .el-tabs,
  .resource-console-page .resource-data-panel .common_product_lists .product-tab-list .el-tabs__header,
  .resource-console-page .resource-data-panel .common_product_lists .product-tab-list .el-tabs__nav-wrap,
  .resource-console-page .resource-data-panel .common_product_lists .product-tab-list .el-tabs__item {
    height: 42px !important;
  }

  .resource-console-page .resource-data-panel .common_product_lists .product-tab-list .el-tabs__item {
    padding: 0 12px !important;
    line-height: 42px !important;
  }

  .resource-console-page .resource-data-panel .common_product_lists .main-card-search {
    padding: 10px 0 !important;
  }

  .resource-console-page .resource-data-panel .common_product_lists .main-card-search .right-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .resource-console-page .resource-data-panel .common_product_lists .main-card-search .el-input,
  .resource-console-page .resource-data-panel .common_product_lists .main-card-search .el-select,
  .resource-console-page .resource-data-panel .common_product_lists .main-card-search .el-button {
    width: 100% !important;
    min-width: 0 !important;
  }

  .resource-console-page .product-mobile-resource-list {
    padding: 12px 0 0;
  }
}

/* Recharge and payment dialogs shared by the console and home themes. */
.el-dialog.recharge-dialog,
.el-dialog.new-pay-dialog {
  width: 720px !important;
  max-width: calc(100vw - 32px);
  margin-top: 6vh !important;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 12px 36px rgba(4, 15, 67, 0.18);
}

.recharge-dialog .el-dialog__header,
.new-pay-dialog .el-dialog__header {
  display: none;
}

.recharge-dialog .el-dialog__body,
.new-pay-dialog .el-dialog__body {
  padding: 0 !important;
  color: var(--v10-text, #4e5969);
  font-size: 14px;
  text-align: left;
}

.recharge-dialog .recharge-content,
.new-pay-dialog {
  box-sizing: border-box;
}

.recharge-dialog .recharge-title,
.new-pay-dialog .pay-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  height: 52px;
  padding: 0 20px;
  border-bottom: 1px solid var(--v10-border, #e5e8ef);
  background: #fff;
}

.recharge-dialog .title-text,
.new-pay-dialog .title-text {
  color: var(--v10-text-strong, #040f43);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.recharge-dialog .close-btn,
.new-pay-dialog .close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--v10-text-muted, #86909c);
  cursor: pointer;
}

.recharge-dialog .close-btn:hover,
.new-pay-dialog .close-btn:hover {
  color: var(--v10-text-strong, #040f43);
  background: #f5f7fa;
}

.recharge-dialog .recharge-box {
  box-sizing: border-box;
  max-height: calc(88vh - 52px);
  padding: 24px;
  overflow-y: auto;
}

.recharge-dialog .recharge-input {
  display: grid;
  align-items: stretch;
  grid-template-columns: minmax(0, 1fr) 104px;
  gap: 12px;
}

.recharge-dialog .recharge-input .el-input-number,
.recharge-dialog .recharge-input .el-input,
.recharge-dialog .recharge-input .el-input__inner {
  width: 100%;
  box-sizing: border-box;
}

.recharge-dialog .recharge-input .el-input__inner {
  height: 40px;
  padding: 0 12px;
  border-radius: 2px;
  font-size: 14px;
  text-align: left;
}

.recharge-dialog .recharge-input .el-button {
  width: 104px;
  height: 40px;
  margin: 0;
  border-radius: 2px;
}

.recharge-dialog .recharge-range-hint {
  margin: 10px 0 0;
  color: var(--v10-text-muted, #86909c);
  font-size: 12px;
  line-height: 20px;
}

.recharge-dialog .recharge-tip,
.recharge-dialog .cz-notice {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid #ffd8bf;
  border-radius: 2px;
  background: #fff7e8;
  color: #ad4e00;
  font-size: 13px;
  line-height: 22px;
  overflow-wrap: anywhere;
}

.recharge-dialog .cz-notice > :first-child {
  margin-top: 0;
}

.recharge-dialog .cz-notice > :last-child {
  margin-bottom: 0;
}

.recharge-dialog .recharge-active {
  margin-top: 20px;
}

.recharge-dialog .active-title {
  margin-bottom: 12px;
  color: var(--v10-text-strong, #040f43);
  font-weight: 500;
}

.recharge-dialog .gradient-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.recharge-dialog .gradient-item {
  position: relative;
  box-sizing: border-box;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--v10-border, #e5e8ef);
  border-radius: 2px;
  background: #fff;
  cursor: pointer;
}

.recharge-dialog .gradient-item:hover,
.recharge-dialog .gradient-item.active {
  border-color: var(--v10-primary, #165dff);
  background: #f2f7ff;
}

.recharge-dialog .gradient-money {
  color: var(--v10-text-strong, #040f43);
  font-size: 18px;
  font-weight: 600;
}

.recharge-dialog .gradient-award {
  margin-top: 4px;
  color: var(--v10-text-muted, #86909c);
  font-size: 12px;
  line-height: 18px;
}

.recharge-dialog .gradient-item .active-icon {
  position: absolute;
  right: 6px;
  bottom: 6px;
  color: var(--v10-primary, #165dff);
}

.el-dialog.new-pay-dialog {
  width: 820px !important;
}

.new-pay-dialog .pay-content {
  box-sizing: border-box;
  max-height: calc(88vh - 116px);
  padding: 20px 24px;
  overflow-y: auto;
}

.new-pay-dialog .pay-order-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--v10-border, #e5e8ef);
}

.new-pay-dialog .pay-order-top-left {
  display: flex;
  align-items: flex-start;
  min-width: 0;
  gap: 12px;
}

.new-pay-dialog .pay-order-icon {
  color: var(--v10-success, #00a870);
  font-size: 24px;
}

.new-pay-dialog .pay-order-tip-text {
  color: var(--v10-text-strong, #040f43);
  font-size: 15px;
  font-weight: 500;
  line-height: 22px;
}

.new-pay-dialog .pay-order-id,
.new-pay-dialog .pay-order-top-right > div:last-child {
  margin-top: 4px;
  color: var(--v10-text-muted, #86909c);
  font-size: 12px;
  line-height: 20px;
}

.new-pay-dialog .pay-order-top-right {
  flex: 0 0 auto;
  text-align: right;
}

.new-pay-dialog .pay-order-price,
.new-pay-dialog .pay-order-total-price {
  color: #e34d59;
  font-size: 22px;
  font-weight: 600;
}

.new-pay-dialog .pay-order-des,
.new-pay-dialog .credit-tip {
  margin-top: 16px;
  padding: 10px 12px;
  border: 1px solid #ffd8bf;
  border-radius: 2px;
  background: #fff7e8;
  color: #ad4e00;
  font-size: 13px;
  line-height: 22px;
}

.new-pay-dialog .pay-order-check {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  margin-top: 16px;
  gap: 8px;
}

.new-pay-dialog .pay-order-method {
  margin-top: 18px;
}

.new-pay-dialog .pay-method-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.new-pay-dialog .pay-method-item {
  position: relative;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  min-width: 0;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid var(--v10-border, #e5e8ef);
  border-radius: 2px;
  background: #fff;
  cursor: pointer;
  gap: 10px;
}

.new-pay-dialog .pay-method-item:hover,
.new-pay-dialog .pay-method-item.active {
  border-color: var(--v10-primary, #165dff);
  background: #f2f7ff;
}

.new-pay-dialog .pay-method-item-img {
  flex: 0 0 auto;
  width: auto;
  height: auto;
  max-width: 112px;
  max-height: 30px;
  object-fit: contain;
}

.new-pay-dialog .pay-method-item-text {
  min-width: 0;
  color: var(--v10-text-strong, #040f43);
  line-height: 20px;
  overflow-wrap: anywhere;
}

.new-pay-dialog .pay-method-item > .el-icon-check {
  position: absolute;
  right: 6px;
  bottom: 5px;
  color: var(--v10-primary, #165dff);
}

.new-pay-dialog .pay-method-box {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--v10-border, #e5e8ef);
  background: #f7f9fc;
}

.new-pay-dialog .pay-qr-content,
.new-pay-dialog .pay-method-qr,
.new-pay-dialog .pay-method-offline {
  text-align: center;
}

.new-pay-dialog .qr-content {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}

.new-pay-dialog .qr-content img {
  max-width: 180px;
  max-height: 180px;
  object-fit: contain;
}

.new-pay-dialog .pay-qr-text {
  margin-top: 10px;
  color: var(--v10-text-muted, #86909c);
  font-size: 12px;
  line-height: 20px;
}

.new-pay-dialog .pay-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  min-height: 64px;
  padding: 12px 20px;
  border-top: 1px solid var(--v10-border, #e5e8ef);
  background: #fff;
  gap: 16px;
}

.new-pay-dialog .pay-footer-left {
  display: flex;
  align-items: center;
  min-width: 0;
}

.new-pay-dialog .pay-footer-right {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.new-pay-dialog .pay-footer-right .el-button {
  min-width: 88px;
  height: 36px;
  margin: 0;
  border-radius: 2px;
}

@media (max-width: 767px) {
  .el-dialog.recharge-dialog,
  .el-dialog.new-pay-dialog {
    width: calc(100vw - 24px) !important;
    max-width: none;
    margin-top: 12px !important;
    margin-bottom: 12px;
  }

  .recharge-dialog .recharge-title,
  .new-pay-dialog .pay-title {
    height: 48px;
    padding: 0 14px;
  }

  .recharge-dialog .recharge-box {
    max-height: calc(100dvh - 72px);
    padding: 16px;
  }

  .recharge-dialog .recharge-input {
    grid-template-columns: minmax(0, 1fr) 84px;
    gap: 8px;
  }

  .recharge-dialog .recharge-input .el-button {
    width: 84px;
  }

  .recharge-dialog .gradient-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .new-pay-dialog .pay-content {
    max-height: calc(100dvh - 124px);
    padding: 16px;
  }

  .new-pay-dialog .pay-order-top {
    flex-direction: column;
    gap: 12px;
  }

  .new-pay-dialog .pay-order-top-right {
    width: 100%;
    text-align: left;
  }

  .new-pay-dialog .pay-method-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .new-pay-dialog .pay-footer {
    align-items: stretch;
    flex-direction: column;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  }

  .new-pay-dialog .pay-footer-left,
  .new-pay-dialog .pay-footer-left .el-select {
    width: 100% !important;
  }

  .new-pay-dialog .pay-footer-right,
  .new-pay-dialog .pay-footer-right .el-button {
    width: 100%;
  }
}

.console-top-shell
  :where(button, a, input, select, textarea, [role="button"], [tabindex]):focus-visible,
.template .main-card
  :where(button, a, input, select, textarea, [role="button"], [tabindex]):focus-visible,
#account
  :where(button, a, input, select, textarea, [role="button"], [tabindex]):focus-visible,
.finance
  :where(button, a, input, select, textarea, [role="button"], [tabindex]):focus-visible,
.product
  :where(button, a, input, select, textarea, [role="button"], [tabindex]):focus-visible {
  outline: 2px solid var(--v10-primary, #165dff) !important;
  outline-offset: 2px;
}

/* Stage 85: one provider-neutral button state contract for Clientarea pages. */
:root {
  --v10-button-border: var(--v10-border-strong, #c9d0dc);
  --v10-button-bg: #fff;
  --v10-button-text: var(--v10-text, #040f43);
  --v10-button-hover-bg: var(--v10-primary-soft, #f2f7ff);
  --v10-button-danger-hover: #e33e41;
  --v10-button-danger-active: #c32f33;
  --v10-button-success-hover: #3db014;
  --v10-button-success-active: #2f8c10;
  --v10-button-warning-hover: #d48806;
  --v10-button-warning-active: #b77905;
  --v10-button-disabled-bg: #f5f7fa;
  --v10-button-disabled-border: #e1e6f0;
  --v10-button-disabled-text: #a9aeb8;
}

:where(.template, .product, #account, .finance)
  .el-button:not(.el-button--text) {
  display: inline-flex;
  min-height: var(--v10-control-md, 36px);
  padding: 8px 16px;
  align-items: center;
  justify-content: center;
  border-radius: var(--v10-radius, 1px) !important;
  box-shadow: none !important;
  font-weight: 400;
  line-height: 18px;
  transition: border-color 0.15s ease, background-color 0.15s ease,
    color 0.15s ease, opacity 0.15s ease;
}

:where(.template, .product, #account, .finance)
  .el-button:not(.el-button--primary):not(.el-button--danger):not(.el-button--success):not(.el-button--warning):not(.el-button--text) {
  border-color: var(--v10-button-border) !important;
  color: var(--v10-button-text) !important;
  background: var(--v10-button-bg) !important;
}

:where(.template, .product, #account, .finance)
  .el-button:not(.el-button--primary):not(.el-button--danger):not(.el-button--success):not(.el-button--warning):not(.el-button--text):not(.is-disabled):not([disabled]):hover {
  border-color: var(--v10-primary) !important;
  color: var(--v10-primary) !important;
  background: var(--v10-button-hover-bg) !important;
}

:where(.template, .product, #account, .finance)
  .el-button:not(.el-button--primary):not(.el-button--danger):not(.el-button--success):not(.el-button--warning):not(.el-button--text):not(.is-disabled):not([disabled]):active {
  border-color: var(--v10-primary-active) !important;
  color: var(--v10-primary-active) !important;
  background: #e9f1ff !important;
}

:where(.template, .product, #account, .finance)
  :is(.el-button--primary, .btn-ok, .btn-save, .all-pay):not(.is-disabled):not([disabled]):active {
  border-color: var(--v10-primary-active) !important;
  background: var(--v10-primary-active) !important;
}

:where(.template, .product, #account, .finance)
  .el-button--danger:not(.is-disabled):not([disabled]):hover {
  border-color: var(--v10-button-danger-hover) !important;
  background: var(--v10-button-danger-hover) !important;
}

:where(.template, .product, #account, .finance)
  .el-button--danger:not(.is-disabled):not([disabled]):active {
  border-color: var(--v10-button-danger-active) !important;
  background: var(--v10-button-danger-active) !important;
}

:where(.template, .product, #account, .finance) .el-button--success {
  border-color: var(--v10-success) !important;
  color: #fff !important;
  background: var(--v10-success) !important;
}

:where(.template, .product, #account, .finance)
  .el-button--success:not(.is-disabled):not([disabled]):hover {
  border-color: var(--v10-button-success-hover) !important;
  background: var(--v10-button-success-hover) !important;
}

:where(.template, .product, #account, .finance)
  .el-button--success:not(.is-disabled):not([disabled]):active {
  border-color: var(--v10-button-success-active) !important;
  background: var(--v10-button-success-active) !important;
}

:where(.template, .product, #account, .finance) .el-button--warning {
  border-color: var(--v10-warning) !important;
  color: #fff !important;
  background: var(--v10-warning) !important;
}

:where(.template, .product, #account, .finance)
  .el-button--warning:not(.is-disabled):not([disabled]):hover {
  border-color: var(--v10-button-warning-hover) !important;
  background: var(--v10-button-warning-hover) !important;
}

:where(.template, .product, #account, .finance)
  .el-button--warning:not(.is-disabled):not([disabled]):active {
  border-color: var(--v10-button-warning-active) !important;
  background: var(--v10-button-warning-active) !important;
}

:where(.template, .product, #account, .finance) .el-button--text {
  min-height: 32px;
  padding: 5px 6px;
  border-color: transparent !important;
  color: var(--v10-primary) !important;
  background: transparent !important;
  box-shadow: none !important;
}

:where(.template, .product, #account, .finance)
  .el-button--text:not(.is-disabled):not([disabled]):hover {
  color: var(--v10-primary-hover) !important;
  background: var(--v10-primary-soft) !important;
}

:where(.template, .product, #account, .finance)
  .el-button--text:not(.is-disabled):not([disabled]):active {
  color: var(--v10-primary-active) !important;
}

:where(.template, .product, #account, .finance)
  .el-button:is(.is-circle, .v10-icon-button) {
  width: var(--v10-control-md, 36px);
  min-width: var(--v10-control-md, 36px);
  padding: 0 !important;
}

:where(.template, .product, #account, .finance)
  .el-button:is(.is-disabled, [disabled], [aria-disabled="true"]),
:where(.template, .product, #account, .finance)
  :is(.btn-ok, .btn-save, .btn-no, .btn-cz, .all-pay):is([disabled], [aria-disabled="true"]) {
  cursor: not-allowed !important;
  opacity: 0.65;
  box-shadow: none !important;
  transform: none !important;
}

:where(.template, .product, #account, .finance) .el-button.is-loading {
  cursor: wait !important;
  pointer-events: none;
}

@media (max-width: 768px) {
  :where(.template, .product, #account, .finance)
    .el-button:not(.el-button--small):not(.el-button--mini):not(.el-button--text) {
    min-height: 40px;
  }

  :where(.template, .product, #account, .finance)
    .el-button:is(.el-button--small, .el-button--mini) {
    min-height: 36px;
  }
}
