/* Lightfield member center. Scope presentation to the audited components. */
.mf-common-layout .mf-top-menu .member-shortcuts-trigger {
  width: auto;
  min-height: 36px;
  gap: 6px;
  padding-inline: 9px;
  border: 1px solid var(--member-border-light, #dce6e1);
  font-size: 14px;
}

.mf-common-layout .mf-top-menu .member-shortcuts-trigger::after {
  content: attr(aria-label);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.mf-common-layout .mf-top-menu .member-shortcuts-trigger[aria-expanded="true"] {
  color: var(--member-text-brand, #076449);
  background: var(--member-fill-hover, #eaf4ef);
}

@media (max-width: 400px) {
  .mf-common-layout .mf-top-menu .member-shortcuts-trigger > i {
    display: none;
  }
}

.member-home .member-home-account__field dd[title] {
  word-break: normal;
  overflow-wrap: anywhere;
}

/* Keep the greeting on white, then blend into the existing chip artwork. */
.member-home .member-home__head::after {
  --home-white-end: 48%;
  --home-blend-end: 64%;
  z-index: -1;
  background: linear-gradient(to right, #fff var(--home-white-end), rgb(255 255 255 / 0) var(--home-blend-end));
  mask-image: none;
}

@media (max-width: 767px) {
  .member-home .member-home__head::after {
    --home-white-end: 62%;
    --home-blend-end: 76%;
  }
}

@container (min-width: 320px) and (max-width: 419px) {
  .member-home .member-home-account:has(.member-home-account__field:only-child) {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 8px;
  }

  .member-home .member-home-account:has(.member-home-account__field:only-child) .member-home-account__fields {
    min-height: 0;
    padding: 8px 0 0;
    border-inline-start: 0;
    border-block-start: 1px solid var(--member-border-light, #dce6e1);
  }
}

:where(.member-table, .zs-ux-table, .zs-account .el-table, .security-log-table) .el-table__empty-block {
  width: 100% !important;
  min-height: 72px;
}

:where(.member-table, .zs-ux-table, .zs-account .el-table) .el-table__empty-text {
  max-width: calc(100% - 32px);
  line-height: 1.5;
}

:where(.member-table, .zs-ux-table, .zs-account .el-table):has(> .el-loading-mask:not([style*="display: none"]):not(.el-loading-fade-leave-active)) > .el-table__body-wrapper > .el-table__empty-block .el-table__empty-text {
  visibility: hidden;
}

:where(.member-table, .zs-ux-table, .zs-account .el-table).el-table--scrollable-x > .el-table__body-wrapper {
  scrollbar-width: thin;
  scrollbar-color: var(--member-border-hover, #95b0a3) var(--member-fill-hover, #edf4f0);
}

:where(.member-table, .zs-ux-table, .zs-account .el-table):has(> .el-table__body-wrapper:is(.is-scrolling-left, .is-scrolling-middle)) > .el-table__header-wrapper::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0 0 0 auto;
  width: 12px;
  pointer-events: none;
  background: linear-gradient(to left, rgba(16, 54, 43, .14), transparent);
}

.finance-records-page .finance-toolbar__actions > .finance-batch-delete.el-button {
  color: var(--member-color-danger, #ba323b);
  background: transparent;
  border: 1px solid var(--member-border-light, #dce6e1);
}

.finance-records-page .finance-toolbar__actions > .finance-batch-delete.el-button:is(:hover, :focus-visible) {
  border-color: currentColor;
  background: var(--member-fill-hover, #f2f6f4);
}

.finance-records-page .finance-order-table td:not(.finance-order-id-cell) > .cell {
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .finance-records-page .order-searchbar .finance-toolbar__filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .finance-records-page .finance-order-pane .order-searchbar .finance-toolbar__filters > :is(.order-type-select, .order-status-select) {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .finance-records-page .order-searchbar .finance-toolbar__filters > .el-input {
    width: 100%;
    grid-column: 1 / -1;
  }
}

.idcsmart-ticket-root .ticket-notice:has(.ticket-notice-content:empty) {
  display: none;
}

.idcsmart-ticket-root .ticket-query .ticket-table .el-table__empty-block {
  height: auto;
  min-height: 96px;
}

.idcsmart-ticket-root .ticket-query:has(.el-table__empty-block),
.idcsmart-ticket-root .ticket-query:has(.ticket-mobile-list .el-empty) {
  min-height: 0;
}

.idcsmart-ticket-root .ticket-query .ticket-query-control--status .el-tag {
  color: var(--member-text-primary, #18232d);
  background: var(--member-fill-hover, #edf4f0);
}

@media (max-width: 540px) {
  .idcsmart-ticket-root .ticket-query .ticket-query-controls {
    grid-template-columns: minmax(0, 1fr);
  }
}

.zs-account .zs-chart.zs-chart--empty {
  height: 0;
  margin-block: 0;
  overflow: hidden;
  visibility: hidden;
}

.zs-account .zs-ux-table .zs-op {
  white-space: nowrap;
}

/* Billing and usage share radio-based navigation. Give only keyboard focus a second cue. */
.zs-host .zs-account .zs-subtabs > .zs-account-segments .el-radio-button:focus-within .el-radio-button__inner {
  outline: none;
  box-shadow: none;
}

.zs-host .zs-account .zs-subtabs > .zs-account-segments .el-radio-button:is(:focus-visible, :has(:focus-visible)) .el-radio-button__inner {
  text-decoration: underline dotted currentColor 2px;
  text-underline-offset: 4px;
}

#zhishu-billing + .zs-subtabs {
  margin-bottom: 12px;
}

#zhishu-billing ~ .zs-account-history .content_searchbar .left_tips,
.zs-host[data-page="usage"] .zs-account .content_searchbar .left_tips:has(> .el-input) {
  gap: 8px 12px;
  min-width: 0;
}

@media (max-width: 540px) {
  #zhishu-billing ~ .zs-account-history .content_searchbar .left_tips,
  .zs-host[data-page="usage"] .zs-account .content_searchbar .left_tips:has(> .el-input) {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #zhishu-billing ~ .zs-account-history .left_tips :is(.el-select, .el-input),
  .zs-host[data-page="usage"] .zs-account .content_searchbar .left_tips :is(.el-select, .el-input),
  .zs-host[data-page="usage"] .zs-account .content_searchbar > .el-date-editor {
    width: 100%;
    min-width: 0;
  }

  #zhishu-billing ~ .zs-account-history .left_tips > .el-button,
  .zs-host[data-page="usage"] .zs-usage-logs .left_tips > .el-button {
    grid-column: 1 / -1;
  }
}

body.gx-system-shell .shopping-box .goods-list-div {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 224px), 1fr));
  justify-content: start;
  gap: 12px;
}

body.gx-system-shell .shopping-box .goods-list-div:has(> .shopping-item:only-child) {
  grid-template-columns: minmax(0, min(100%, 302px));
}

body.gx-system-shell .shopping-box .shopping-item {
  min-height: 0;
  padding-bottom: 14px;
}

body.gx-system-shell .shopping-item .goods-description:empty {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0;
  background: var(--member-fill-hover, #edf4f0);
}

body.gx-system-shell .shopping-item .price-box {
  align-items: end;
  gap: 8px 12px;
  flex-wrap: wrap;
}

body.gx-system-shell .shopping-item .price-box-left {
  flex: 1 1 128px;
  min-width: 0;
  text-align: start;
  flex-wrap: wrap;
  overflow-wrap: anywhere;
}

body.gx-system-shell .shopping-item .price-box .buy-btn {
  flex: 0 0 auto;
  min-height: 36px;
  margin-inline-start: auto;
}

@media (min-width: 761px) {
  .mf-common-layout #member-model-square .msq-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 254px), 1fr));
  }
}

.mf-common-layout #member-model-square .msq-card-head {
  align-items: flex-start;
}

.mf-common-layout #member-model-square .msq-open {
  margin-block-start: 3px;
}

.mf-common-layout #member-model-square .msq-close {
  min-width: 40px;
  min-height: 40px;
}

/* Zhishu product checkout. The cart template owns the controls and their states. */
body.gx-system-shell .goods .config-box:has(> .content > .zhishu-goods) {
  --checkout-ink: #142822;
  --checkout-muted: #4d6259;
  --checkout-green: #0b634b;
  --checkout-green-strong: #084d3c;
  --checkout-line: #dbe6df;
  --checkout-soft: #f3f7f4;
  --checkout-selected: #eaf5ee;
  --checkout-radius: 14px;
  --checkout-shadow: 0 8px 26px rgb(20 51 38 / 6%);
  --checkout-rules-columns: 2;
  width: 100%;
  max-width: 1280px;
  min-width: 0;
  margin-inline: auto;
  container: goods-checkout / inline-size;
}

body.gx-system-shell .goods .config-box:has(> .content > .zhishu-goods) .goods-item-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  margin-bottom: 14px;
  padding: 4px 11px;
  border: 1px solid var(--checkout-line);
  border-radius: 8px;
  background: #fff;
  color: var(--checkout-green);
  font-size: 13px;
  font-weight: 600;
}

body.gx-system-shell .goods .zhishu-goods:not([v-cloak]) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: clamp(16px, 2vw, 28px);
  color: var(--checkout-ink);
  --zg-selection-bg: var(--checkout-selected);
}

body.gx-system-shell .goods .zhishu-goods .zg-left {
  min-width: 0;
  margin-inline: 0;
  container-type: inline-size;
}

body.gx-system-shell .goods .zhishu-goods .zg-title {
  font-size: clamp(28px, 3.1vw, 42px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.035em;
  color: var(--checkout-ink);
  overflow-wrap: anywhere;
}

body.gx-system-shell .goods .zhishu-goods .zg-description {
  margin-top: 12px;
  padding: 10px 14px;
  border: 0;
  border-inline-start: 3px solid #8db8a4;
  border-radius: 0 8px 8px 0;
  background: var(--checkout-soft);
  color: var(--checkout-muted);
  line-height: 1.55;
}

body.gx-system-shell .goods .zhishu-goods .zg-item {
  margin-top: 16px;
  padding: clamp(15px, 2vw, 24px);
  border: 1px solid var(--checkout-line);
  border-radius: var(--checkout-radius);
  background: #fff;
}

body.gx-system-shell .goods .zhishu-goods .zg-item:has(> .zg-plans) {
  container-type: inline-size;
}

body.gx-system-shell .goods .zhishu-goods :is(.zg-head, .zg-tit) {
  margin: 0 0 14px;
}

body.gx-system-shell .goods .zhishu-goods .zg-tit {
  padding: 0;
  color: var(--checkout-ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

body.gx-system-shell .goods .zhishu-goods .zg-tit::before {
  content: none;
}

body.gx-system-shell .goods .zhishu-goods .zg-head .zg-tit {
  margin: 0;
}

body.gx-system-shell .goods .zhishu-goods :is(.zg-cat, .zg-cycle) {
  min-height: 36px;
  border-color: var(--checkout-line);
}

body.gx-system-shell .goods .zhishu-goods :is(.zg-cat, .zg-cycle).active {
  border-color: #7da994;
  background: var(--checkout-selected);
  color: var(--checkout-green);
  font-weight: 600;
}

body.gx-system-shell .goods .zhishu-goods .zg-plans {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(187px, calc((100% - 24px) / 3))), 1fr));
  gap: 12px;
}

body.gx-system-shell .goods .zhishu-goods .zg-plan {
  gap: 6px;
  padding: clamp(14px, 1.5vw, 20px);
  border-color: var(--checkout-line);
  border-radius: 11px;
}

body.gx-system-shell .goods .zhishu-goods .zg-plan.active:not(.disabled) {
  border-color: #659b82;
  background: linear-gradient(140deg, var(--checkout-selected), #f7fbf8 82%);
  box-shadow: inset 0 0 0 1px rgb(11 99 75 / 12%);
}

body.gx-system-shell .goods .zhishu-goods .zg-plan .zg-plan-head {
  min-height: 26px;
  margin: 0;
  padding: 0;
  background: transparent;
}

body.gx-system-shell .goods .zhishu-goods .zg-plan-title {
  flex-wrap: wrap;
  gap: 4px 8px;
}

body.gx-system-shell .goods .zhishu-goods .zg-plan-title :is(.name, .badge) {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

body.gx-system-shell .goods .zhishu-goods .zg-plan-title .name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

body.gx-system-shell .goods .zhishu-goods .zg-plan-title .badge {
  padding: 2px 7px;
  border-radius: 6px;
  background: #d9ecdf;
  color: #185c47;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.5;
}

body.gx-system-shell .goods .zhishu-goods .zg-plan:not(.disabled) .zg-plan-head::after {
  content: "";
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  border: 1px solid #8aa89a;
  border-radius: 50%;
  background: #fff;
}

body.gx-system-shell .goods .zhishu-goods .zg-plan.active:not(.disabled) .zg-plan-head::after {
  border-color: var(--checkout-green);
  background: radial-gradient(circle, var(--checkout-green) 0 4px, #fff 4.5px);
}

body.gx-system-shell .goods .zhishu-goods .zg-plans:has(.tagline) > .zg-plan:not(:has(.tagline)) .zg-plan-head {
  margin-bottom: 24px;
}

body.gx-system-shell .goods .zhishu-goods .zg-plan :is(.tagline, .price, .quota, .features, .total) {
  margin: 0;
}

body.gx-system-shell .goods .zhishu-goods .zg-plan :is(.tagline, .total, .foot, .price .per, .price s) {
  color: var(--checkout-muted);
}

body.gx-system-shell .goods .zhishu-goods .zg-plan:not(.disabled) .price {
  color: var(--checkout-green-strong);
}

body.gx-system-shell .goods .zhishu-goods .zg-plan .price {
  margin-block: 4px;
  font-size: clamp(24px, 2.3vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
}

body.gx-system-shell .goods .zhishu-goods .zg-plan .price :is(.per, s) {
  letter-spacing: normal;
}

body.gx-system-shell .goods .zhishu-goods .zg-plan .quota {
  padding-top: 9px;
  border-color: var(--checkout-line);
  font-weight: 650;
}

body.gx-system-shell .goods .zhishu-goods .zg-plan .foot {
  padding-top: 4px;
  font-size: 13px;
  line-height: 1.5;
}

body.gx-system-shell .goods .zhishu-goods .model-summary {
  overflow: visible;
  white-space: normal;
  overflow-wrap: anywhere;
}

body.gx-system-shell .goods .zhishu-goods .zg-link {
  color: var(--checkout-green);
  font-weight: 600;
  text-decoration-color: #7daf9e;
  text-underline-offset: 3px;
}

body.gx-system-shell .goods .zhishu-goods .zg-link.model-details {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 30px;
  margin: 5px 0 0;
  padding: 2px 0 3px;
  border: 0;
  background: transparent;
  color: var(--checkout-green);
  font-weight: 650;
  line-height: 1.4;
  white-space: normal;
}

body.gx-system-shell .goods .zhishu-goods .zg-preview-content .zg-link.model-details {
  min-height: 26px;
  margin-top: 3px;
}

body.gx-system-shell .goods .zhishu-goods .zg-pricing-line {
  margin-top: 12px;
  padding: 9px 11px;
  border-radius: 8px;
  background: var(--checkout-soft);
  color: var(--checkout-muted);
  overflow-wrap: anywhere;
}

body.gx-system-shell .goods .zhishu-goods .zg-pricing-line .el-icon-info {
  margin-inline-end: 6px;
  color: var(--checkout-green);
}

body.gx-system-shell .goods .zhishu-goods .zg-rules {
  padding: 0 0 0 18px;
  background: transparent;
  color: var(--checkout-muted);
  font-size: 13px;
  line-height: 1.6;
  column-count: 1;
  column-gap: 32px;
}

body.gx-system-shell .goods .zhishu-goods .zg-rules li {
  padding: 0 0 5px 2px;
  overflow-wrap: anywhere;
}

body.gx-system-shell .goods .zhishu-goods .zg-rules li::marker {
  color: #55836f;
}

@container (485px <= width < 650px) {
  body.gx-system-shell .goods .zhishu-goods .zg-plan:not(:only-child) {
    padding-inline: 14px;
  }

  body.gx-system-shell .goods .zhishu-goods .zg-plan:not(:only-child) .price {
    font-size: 26px;
  }
}

@container (min-width: 485px) {
  body.gx-system-shell .goods .zhishu-goods .zg-plan:only-child:has(> .zg-plan-head + .tagline + .price + .quota + .features + .foot:last-child) {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    align-content: center;
    gap: 0 18px;
  }

  body.gx-system-shell .goods .zhishu-goods .zg-plan:only-child:has(> .zg-plan-head + .tagline + .price + .quota + .features + .foot:last-child) > :is(.zg-plan-head, .tagline, .price) {
    grid-column: 1;
  }

  body.gx-system-shell .goods .zhishu-goods .zg-plan:only-child:has(> .zg-plan-head + .tagline + .price + .quota + .features + .foot:last-child) > :is(.quota, .features, .foot) {
    grid-column: 2;
    margin: 0;
    padding-inline-start: 18px;
    border-inline-start: 1px solid var(--checkout-line);
  }

  body.gx-system-shell .goods .zhishu-goods .zg-plan:only-child:has(> .zg-plan-head + .tagline + .price + .quota + .features + .foot:last-child) > .quota {
    grid-row: 1;
    padding-top: 3px;
    border-top: 0;
  }

  body.gx-system-shell .goods .zhishu-goods .zg-plan:only-child:has(> .zg-plan-head + .tagline + .price + .quota + .features + .foot:last-child) > .features {
    grid-row: 2;
  }

  body.gx-system-shell .goods .zhishu-goods .zg-plan:only-child:has(> .zg-plan-head + .tagline + .price + .quota + .features + .foot:last-child) > .foot {
    grid-row: 3;
    padding-top: 2px;
  }
}

@container (min-width: 590px) {
  body.gx-system-shell .goods .zhishu-goods .zg-rules {
    column-count: 2;
  }
}

body.gx-system-shell .goods .zhishu-goods .order-right .right-title {
  padding: 0;
  border: 0;
  color: var(--checkout-ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

body.gx-system-shell .goods .zhishu-goods .zg-preview-content .info {
  display: grid;
  gap: 7px;
  max-height: none;
  margin-block: 12px 0;
  padding: 11px 13px;
  overflow: visible;
  border: 1px solid var(--checkout-line);
  border-radius: 10px;
  background: var(--checkout-soft);
}

body.gx-system-shell .goods .zhishu-goods .zg-preview-content .info .des {
  gap: 6px;
  margin: 0;
  color: var(--checkout-ink);
  font-size: 13px;
  line-height: 1.5;
}

body.gx-system-shell .goods .zhishu-goods .zg-preview-content .info .des:first-child {
  font-size: 15px;
  font-weight: 700;
}

body.gx-system-shell .goods .zhishu-goods .zg-preview-content .info .des :is(span, .name) {
  margin-inline: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

body.gx-system-shell .goods .zhishu-goods .zg-preview-content .info .price {
  flex: 0 1 auto;
  font-weight: 650;
}

body.gx-system-shell .goods .zhishu-goods .zg-preview-content .info .des-lines ul {
  margin-top: 3px;
  padding-inline-start: 12px;
  color: var(--checkout-muted);
}

body.gx-system-shell .goods .zhishu-goods .zg-preview-content .subtotal {
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--checkout-line);
  color: var(--checkout-muted);
  font-size: 13px;
  line-height: 1.5;
}

body.gx-system-shell .goods .zhishu-goods .zg-preview-content .subtotal > :last-child {
  color: var(--checkout-ink);
  font-weight: 650;
  text-align: end;
  overflow-wrap: anywhere;
}

body.gx-system-shell .goods .zhishu-goods .order-right .order-right-item {
  padding: 10px 0;
  border-color: var(--checkout-line);
}

body.gx-system-shell .goods .zhishu-goods .order-right .order-right-item .row {
  font-size: 14px;
  font-weight: 600;
}

body.gx-system-shell .goods .zhishu-goods .order-right .del-add {
  --zg-quantity-border: #cfdcd4;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  width: 132px;
  height: 42px;
  border-radius: 8px;
}

body.gx-system-shell .goods .zhishu-goods .order-right .del-add .num .el-input__inner {
  color: var(--checkout-ink);
  font-size: 15px;
  font-weight: 650;
  line-height: 40px;
}

body.gx-system-shell .goods .zhishu-goods .order-right .del-add :is(.add, .del):not(.disabled) {
  color: var(--checkout-green);
  background: var(--checkout-soft);
  font-size: 18px;
}

body.gx-system-shell .goods .zhishu-goods .order-right .del-add .disabled {
  background: #f0f3f1;
  color: #75847d;
}

body.gx-system-shell .goods .zhishu-goods .order-right .del-add:focus-within {
  outline: 2px solid var(--checkout-green);
  outline-offset: 2px;
}

body.gx-system-shell .goods .zhishu-goods .order-right .order-right-footer {
  padding-bottom: 10px;
}

body.gx-system-shell .goods .zhishu-goods .order-right .footer-total {
  margin-top: 10px;
}

body.gx-system-shell .goods .zhishu-goods .order-right .footer-total .left {
  color: var(--checkout-ink);
  font-size: 15px;
  font-weight: 700;
}

body.gx-system-shell .goods .zhishu-goods .order-right .footer-total .right {
  color: var(--checkout-green-strong);
  font-family: inherit;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.03em;
}

body.gx-system-shell .goods .zhishu-goods :is(.price, .subtotal, .footer-total, .del-add) {
  font-variant-numeric: tabular-nums;
}

body.gx-system-shell .goods .zhishu-goods .order-right .footer-total .right > span {
  overflow-wrap: anywhere;
}

body.gx-system-shell .goods .zhishu-goods .order-right .footer-total .discount-box {
  margin-top: 3px;
  letter-spacing: normal;
}

body.gx-system-shell .goods .zhishu-goods .order-right .mf701-discount-code__trigger {
  min-height: 30px;
  padding: 3px 0;
  border-radius: 5px;
  color: var(--checkout-green);
  font-size: 13px;
  font-weight: 600;
}

body.gx-system-shell .goods .zhishu-goods .f-btn {
  gap: 8px;
}

body.gx-system-shell .goods .zhishu-goods .f-btn > .el-button {
  min-height: 44px;
  height: auto;
  padding: 8px 7px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  white-space: normal;
}

body.gx-system-shell .goods .zhishu-goods .f-btn > .cart:not(:is(:disabled, .is-disabled)) {
  border-color: #b4ccbf;
  background: #fff;
  color: var(--checkout-green);
}

body.gx-system-shell .goods .zhishu-goods .f-btn > .buy-btn:not(:is(:disabled, .is-disabled)) {
  border-color: var(--checkout-green);
  background: var(--checkout-green);
  color: #fff;
}

body.gx-system-shell .goods .zhishu-goods .f-btn > .el-button:is(:disabled, .is-disabled) {
  border-color: var(--checkout-line);
  background: var(--checkout-soft);
  color: #65756d;
  cursor: not-allowed;
}

body.gx-system-shell .goods .zhishu-goods .order-right .del-add :is(.add, .del):not(.disabled):active,
body.gx-system-shell .goods .zhishu-goods .f-btn > .cart:not(:is(:disabled, .is-disabled)):active {
  background: #d8ebe0;
}

body.gx-system-shell .goods .zhishu-goods .f-btn > .buy-btn:not(:is(:disabled, .is-disabled)):active {
  border-color: var(--checkout-green-strong);
  background: var(--checkout-green-strong);
}

@media (min-width: 769px) {
  body.gx-system-shell .goods .zhishu-goods .order-right {
    position: static;
    inset: auto;
    width: auto;
    height: auto;
    margin: 0;
    padding: clamp(16px, 1.6vw, 20px);
    overflow: visible;
    border: 1px solid var(--checkout-line);
    border-radius: var(--checkout-radius);
    background: #fff;
    box-shadow: var(--checkout-shadow);
  }
  @container goods-checkout (min-width: 660px) {
    body.gx-system-shell .goods .zhishu-goods:not([v-cloak]) {
      grid-template-columns: minmax(0, 1fr) clamp(300px, 31cqw, 390px);
      --checkout-card-inset: clamp(16px, 1.8vw, 24px);
      --checkout-section-gap: 16px;
      grid-template-rows: auto auto auto auto;
      row-gap: 0;

      > .zg-left {
        display: contents;
        container-type: normal;
      }

      > .zg-left > :is(.zg-title, .zg-description) {
        grid-column: 1 / -1;
      }

      > .zg-left > .zg-description {
        grid-row: 2;
      }

      > .zg-left > .zg-title {
        grid-row: 1;
      }

      > .zg-left > .zg-item,
      > .order-right {
        padding: var(--checkout-card-inset);
      }

      > .zg-left > .zg-item:has(> .zg-plans) {
        display: flex;
        flex-direction: column;
        grid-area: 3 / 1;
        align-self: stretch;
        margin-block-start: var(--checkout-section-gap);
      }

      > .zg-left > .zg-item:has(.zg-rules) {
        grid-area: 4 / 1 / 5 / -1;
        margin-top: 20px;
      }

      > .zg-left > .zg-item .zg-rules {
        column-count: var(--checkout-rules-columns);
      }

      > .order-right {
        display: flex;
        flex-direction: column;
        grid-area: 3 / 2;
        align-self: stretch;
        margin-block-start: var(--checkout-section-gap);
      }

      > .order-right .right-main {
        flex: 1 0 auto;
      }

      > .order-right .zg-preview-content .info {
        margin-top: 14px;
      }
    }

    body.gx-system-shell .goods .zhishu-goods .zg-preview-content .subtotal,
    body.gx-system-shell .goods .zhishu-goods .order-right .order-right-item {
      padding-block: 8px;
    }

    body.gx-system-shell .goods .zhishu-goods .footer-total .right:has(> .discount-box):not(:has(.original-price, .total-icon)) {
      display: flex;
      align-items: center;
      flex-flow: row-reverse wrap;
      gap: 2px 12px;
    }

    body.gx-system-shell .goods .zhishu-goods .footer-total .right:has(> .discount-box):not(:has(.original-price, .total-icon)) > .discount-box {
      margin-top: 0;
    }
  }

  @container goods-checkout (min-width: 1000px) {
    body.gx-system-shell .goods .zhishu-goods {
      --checkout-rules-columns: 3;
    }
  }
}

@media (max-width: 768px) {
  body.gx-system-shell .goods .zhishu-goods:not([v-cloak]) {
    gap: 0;
  }

  body.gx-system-shell .goods .zhishu-goods .zg-plans {
    grid-template-columns: minmax(0, 1fr);
  }

  body.gx-system-shell .goods .zhishu-goods .zg-plans:has(.tagline) > .zg-plan:not(:has(.tagline)) .zg-plan-head {
    margin-bottom: 0;
  }

  body.gx-system-shell .goods .zhishu-goods .zg-pricing-line .zg-link {
    margin-top: 4px;
  }

  body.gx-system-shell .goods .zhishu-goods .order-right .right-main {
    border-radius: 14px 14px 0 0;
  }

  body.gx-system-shell .goods .zhishu-goods .order-right .right-title {
    font-size: 16px;
  }

  body.gx-system-shell .goods .zhishu-goods .zg-preview-content .subtotal {
    padding-bottom: 0;
    border-bottom: 0;
  }

  body.gx-system-shell .goods .zhishu-goods .order-right .f-box {
    padding-block: 9px calc(9px + env(safe-area-inset-bottom));
    border-color: var(--checkout-line);
  }

  body.gx-system-shell .goods .zhishu-goods .order-right:not(.is-preview-open) .f-box {
    border-radius: 14px 14px 0 0;
  }

  body.gx-system-shell .goods .zhishu-goods .order-right .order-right-item {
    padding: 0 0 7px;
  }

  body.gx-system-shell .goods .zhishu-goods .order-right .footer-total {
    margin-top: 7px;
  }

  body.gx-system-shell .goods .zhishu-goods .order-right .footer-total .left {
    flex-wrap: wrap;
    flex-shrink: 1;
    gap: 3px 8px;
  }

  body.gx-system-shell .goods .zhishu-goods .order-right .zg-preview-trigger {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 4px 8px;
    border: 1px solid var(--checkout-line);
    border-radius: 7px;
    background: var(--checkout-soft);
    color: var(--checkout-green);
    font-weight: 600;
  }

  body.gx-system-shell .goods .zhishu-goods .order-right .zg-preview-trigger[aria-expanded="true"] {
    border-color: #86ad99;
    background: var(--checkout-selected);
  }
}

body.gx-system-shell .goods .config-box:has(> .content > .zhishu-goods) .goods-item-name:focus-visible,
body.gx-system-shell .goods .zhishu-goods :is(button, [tabindex], .zg-link):focus-visible {
  outline: 2px solid var(--checkout-green);
  outline-offset: 3px;
}

body.gx-system-shell .goods .zhishu-goods .zg-link.model-details:focus-visible {
  outline: 0;
  color: var(--checkout-green-strong);
  text-decoration: underline 2.5px solid;
  text-underline-offset: 5px;
}

@media (hover: hover) {
  body.gx-system-shell .goods .config-box:has(> .content > .zhishu-goods) .goods-item-name:hover,
  body.gx-system-shell .goods .zhishu-goods :is(.zg-cat, .zg-cycle):not(.active):hover {
    border-color: #87ae9a;
    background: var(--checkout-soft);
  }

  body.gx-system-shell .goods .zhishu-goods .zg-plan:not(.disabled):hover {
    border-color: var(--checkout-green);
    box-shadow: 0 3px 12px rgb(11 99 75 / 10%);
  }

  body.gx-system-shell .goods .zhishu-goods .order-right .del-add :is(.add, .del):not(.disabled):hover,
  body.gx-system-shell .goods .zhishu-goods .f-btn > .cart:not(:is(:disabled, .is-disabled)):hover {
    border-color: #7eaa94;
    background: var(--checkout-selected);
  }

  body.gx-system-shell .goods .zhishu-goods .f-btn > .buy-btn:not(:is(:disabled, .is-disabled)):hover {
    border-color: var(--checkout-green-strong);
    background: var(--checkout-green-strong);
  }

  body.gx-system-shell .goods .zhishu-goods :is(.zg-link, .mf701-discount-code__trigger):hover {
    color: var(--checkout-green-strong);
    text-decoration: underline;
    text-decoration-color: currentColor;
    text-underline-offset: 3px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  body.gx-system-shell .goods .config-box:has(> .content > .zhishu-goods) .goods-item-name,
  body.gx-system-shell .goods .zhishu-goods :is(.zg-plan, .zg-link, .f-btn > .el-button, .del-add > span, .zg-preview-trigger) {
    transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
  }
}


/* Resource center list and article layouts. */
#app:is(.news-center-root, .mf-help-center-root) :is(.news-page, .help-center-page, .news-detail-page) {
  --resource-ink: #172f27;
  --resource-muted: #50645c;
  --resource-green: #0a644b;
  --resource-line: #dbe7df;
  --resource-soft: #f3f8f5;
  --resource-selected: #e7f3ec;
  --resource-inset: clamp(15px, 2vw, 24px);
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  container: resource-center / inline-size;
}

#app:is(.news-center-root, .mf-help-center-root) :is(.news-page, .help-center-page) {
  gap: 14px;
}

#app:is(.news-center-root, .mf-help-center-root) .information-center-nav {
  min-height: 0;
  margin: 0;
  padding: 4px var(--resource-inset) 0;
  border: 1px solid var(--resource-line);
  border-radius: 12px;
  background: #fff;
}

#app:is(.news-center-root, .mf-help-center-root) .information-center-tabs .el-tabs__header {
  margin: 0;
}

#app:is(.news-center-root, .mf-help-center-root) .information-center-nav .information-center-tabs {
  --member-tabs-gap: clamp(6px, 1vw, 16px);
}

#app:is(.news-center-root, .mf-help-center-root) .information-center-tabs .information-center-link {
  min-height: 44px;
  color: var(--resource-muted);
  font-weight: 600;
}

#app:is(.news-center-root, .mf-help-center-root) .information-center-tabs .information-center-link[aria-current='page'] {
  color: var(--resource-green);
  font-weight: 700;
}

#app:is(.news-center-root, .mf-help-center-root) :is(.news-search-card, .help-search-card, .news-list-card, .help-list-card, .news-detail-card, .help-detail-card) {
  min-height: 0;
  margin: 0;
  padding: var(--resource-inset);
  border: 1px solid var(--resource-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 5px 20px rgb(25 68 49 / 5%);
}

#app:is(.news-center-root, .mf-help-center-root) :is(.news-search-card, .help-search-card) {
  background: radial-gradient(ellipse at 4% 0, #e8f4ed 0, transparent 70%), #fff;
}

#app:is(.news-center-root, .mf-help-center-root) :is(.news-search-card, .help-search-card) h1 {
  color: var(--resource-ink);
  font-size: clamp(22px, 2.35vw, 30px);
  font-weight: 700;
  line-height: 1.25;
}

#app:is(.news-center-root, .mf-help-center-root) :is(.news-search-input, .help-search-input) {
  display: block;
  width: 100%;
  max-width: none;
  margin-top: 12px;
}

#app:is(.news-center-root, .mf-help-center-root) :is(.news-search-input, .help-search-input) .el-input__inner {
  height: 44px;
  border: 1px solid #b9cfc3;
  border-radius: 9px;
  background: #fff;
  color: var(--resource-ink);
  font-size: 15px;
  line-height: 44px;
}

#app:is(.news-center-root, .mf-help-center-root) :is(.news-search-input, .help-search-input) .el-input__inner::placeholder {
  color: #596d63;
}

#app:is(.news-center-root, .mf-help-center-root) :is(.news-search-input, .help-search-input) .el-input__inner:focus {
  border-color: var(--resource-green);
  box-shadow: 0 0 0 2px rgb(10 100 75 / 14%);
}

#app:is(.news-center-root, .mf-help-center-root) :is(.news-search-card, .help-search-card) h2 {
  margin-top: 17px;
  color: var(--resource-ink);
  font-size: 14px;
  font-weight: 650;
  line-height: 20px;
}

#app:is(.news-center-root, .mf-help-center-root) :is(.news-category-scroller, .help-category-scroller) {
  min-height: 62px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(208px, calc((100% - 24px) / 3))), 1fr));
  gap: 10px 12px;
  margin-top: 9px;
}

#app:is(.news-center-root, .mf-help-center-root) :is(.news-category-card, .help-category-card) {
  min-height: 62px;
  height: auto;
  gap: 9px;
  padding: 9px 11px;
  border: 1px solid var(--resource-line);
  border-radius: 9px;
  background: #fff;
  color: var(--resource-ink);
}

#app:is(.news-center-root, .mf-help-center-root) :is(.news-category-card, .help-category-card).is-active {
  border-color: #72a78d;
  background: var(--resource-selected);
  color: var(--resource-green);
}

#app:is(.news-center-root, .mf-help-center-root) :is(.news-category-card, .help-category-card) > img {
  flex-basis: 32px;
  width: 32px;
  height: 32px;
}

#app:is(.news-center-root, .mf-help-center-root) :is(.news-category-card, .help-category-card) > b {
  min-width: 26px;
  margin-inline-start: auto;
  padding: 1px 6px;
  border: 1px solid #d4e6dc;
  border-radius: 6px;
  background: var(--resource-soft);
  color: var(--resource-green);
  font-size: 13px;
  line-height: 20px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

#app:is(.news-center-root, .mf-help-center-root) :is(.news-category-copy, .help-category-copy) {
  margin: 0;
}

#app:is(.news-center-root, .mf-help-center-root) :is(.news-category-copy, .help-category-copy) :is(strong, small) {
  overflow: visible;
  white-space: normal;
  overflow-wrap: anywhere;
}

#app:is(.news-center-root, .mf-help-center-root) :is(.news-category-copy, .help-category-copy) strong {
  font-size: 14px;
  font-weight: 700;
}

#app:is(.news-center-root, .mf-help-center-root) :is(.news-category-copy, .help-category-copy) small {
  color: var(--resource-muted);
  font-size: 12px;
  line-height: 1.4;
}

#app:is(.news-center-root, .mf-help-center-root) :is(.news-list-card, .help-list-card) {
  min-height: 110px;
}

#app:is(.news-center-root, .mf-help-center-root) :is(.news-list-heading, .help-list-heading) {
  height: auto;
  min-height: 32px;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--resource-line);
}

#app:is(.news-center-root, .mf-help-center-root) :is(.news-list-heading, .help-list-heading) h2 {
  color: var(--resource-ink);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
}

#app.news-center-root .news-list-heading > i[aria-hidden='true'] {
  display: none;
}

#app:is(.news-center-root, .mf-help-center-root) :is(.news-list-grid, .help-list-grid) {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(300px, calc((100% - 12px) / 2))), 1fr));
  gap: 8px 12px;
  margin-top: 10px;
}

#app:is(.news-center-root, .mf-help-center-root) :is(.news-list-item, .help-list-item) {
  min-height: 56px;
  height: auto;
  align-items: center;
  gap: 8px 12px;
  padding: 8px 10px 8px 12px;
  border: 1px solid #e3ebe6;
  border-radius: 9px;
  background: #f8fbf9;
}

#app.news-center-root .news-list-thumb {
  flex-basis: 64px;
  width: 64px;
  height: 44px;
  border-radius: 6px;
}

#app.news-center-root .news-list-thumb:not(:has(> img)) {
  display: none;
}

#app:is(.news-center-root, .mf-help-center-root) :is(.news-list-copy, .help-list-copy) h3 {
  overflow: visible;
  color: var(--resource-ink);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.45;
  white-space: normal;
  overflow-wrap: anywhere;
}

#app.news-center-root .news-list-meta {
  color: var(--resource-muted);
}

#app:is(.news-center-root, .mf-help-center-root) :is(.news-detail-link, .help-detail-link, .help-list-heading a) {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 4px 8px;
  border-radius: 6px;
  color: var(--resource-green);
  font-size: 13px;
  font-weight: 650;
  text-underline-offset: 3px;
}

#app:is(.news-center-root, .mf-help-center-root) :is(.news-list-card, .help-list-card) > .el-empty {
  --resource-empty-space: clamp(30px, 3.6vw, 52px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-block: var(--resource-empty-space) calc(var(--resource-empty-space) - var(--resource-inset));
  text-align: center;
}

#app:is(.news-center-root, .mf-help-center-root) :is(.news-list-card, .help-list-card) .el-empty__image {
  width: 80px;
}

#app:is(.news-center-root, .mf-help-center-root) :is(.news-list-card, .help-list-card) .el-empty__description {
  margin-top: 10px;
}

#app:is(.news-center-root, .mf-help-center-root) :is(.news-detail-card, .help-detail-card) {
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;
}

#app.mf-help-center-root .help-center-page:has(.help-detail-card) .information-center-nav {
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;
}

#app:is(.news-center-root, .mf-help-center-root) :is(.news-detail-header, .help-detail-header) {
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-bottom: 12px;
  border-color: var(--resource-line);
}

#app:is(.news-center-root, .mf-help-center-root) :is(.news-detail-title, .help-detail-title) {
  padding-block: 20px 15px;
  text-align: start;
}

#app:is(.news-center-root, .mf-help-center-root) :is(.news-detail-title, .help-detail-title) h1 {
  color: var(--resource-ink);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.3;
}

#app:is(.news-center-root, .mf-help-center-root) :is(.news-detail-title, .help-detail-title) > div {
  justify-content: start;
  flex-wrap: wrap;
  gap: 6px 20px;
  color: var(--resource-muted);
}

#app:is(.news-center-root, .mf-help-center-root) :is(.news-detail-content, .help-detail-content) {
  min-height: 0;
  padding-block: 18px 21px;
  border-color: var(--resource-line);
}

#app:is(.news-center-root, .mf-help-center-root) :is(.news-detail-navigation, .help-detail-navigation) {
  gap: 8px 12px;
  padding-top: 12px;
  border-color: var(--resource-line);
}

#app:is(.news-center-root, .mf-help-center-root) :is(.news-detail-navigation, .help-detail-navigation) > :is(a, span) {
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--resource-soft);
}

#app:is(.news-center-root, .mf-help-center-root) :is(.news-detail-navigation, .help-detail-navigation) > :is(a, span) > span {
  white-space: normal;
  overflow-wrap: anywhere;
}

#app:is(.news-center-root, .mf-help-center-root) :is(.news-category-card, .help-category-card, .information-center-link, .news-detail-link, .help-detail-link):focus-visible {
  outline: 2px solid var(--resource-green);
  outline-offset: 2px;
  box-shadow: none;
}

@media (hover: hover) {
  #app:is(.news-center-root, .mf-help-center-root) :is(.news-category-card, .help-category-card):not(.is-active):hover {
    border-color: #90b6a3;
    background: var(--resource-soft);
  }

  #app:is(.news-center-root, .mf-help-center-root) :is(.news-detail-link, .help-detail-link, .help-list-heading a):hover {
    background: var(--resource-selected);
    color: var(--resource-green);
    text-decoration: underline;
  }
}

@container resource-center (max-width: 460px) {
  #app:is(.news-center-root, .mf-help-center-root) :is(.news-category-scroller, .help-category-scroller) {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
  }

  #app:is(.news-center-root, .mf-help-center-root) :is(.news-category-card, .help-category-card) {
    min-height: 53px;
    padding-block: 6px;
  }

  #app:is(.news-center-root, .mf-help-center-root) :is(.news-list-item, .help-list-item) {
    gap: 6px;
  }

  #app.news-center-root .news-list-thumb {
    flex-basis: 44px;
    width: 44px;
    height: 39px;
  }
}

@container resource-center (350px <= width <= 460px) {
  #app.mf-help-center-root .help-category-scroller {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #app.mf-help-center-root .help-category-card {
    display: grid;
    grid-template-columns: 23px minmax(0, 1fr) auto;
    gap: 3px 5px;
    padding: 6px 7px;
  }

  #app.mf-help-center-root .help-category-card > img {
    width: 23px;
    height: 23px;
  }

  #app.mf-help-center-root .help-category-copy {
    display: contents;
  }

  #app.mf-help-center-root .help-category-copy small {
    grid-area: 2 / 1 / 3 / -1;
  }

  #app.mf-help-center-root .help-category-card > b {
    min-width: 19px;
    padding-inline: 3px;
    line-height: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #app:is(.news-center-root, .mf-help-center-root) :is(.news-category-card, .help-category-card) {
    transition: none;
  }
}
