/* HarmonyOS Sans is used on the order history and shared order panel.
   Copyright 2021 Huawei Device Co., Ltd. Original font files are unmodified.
   License: /assets/fonts/HarmonyOS-Sans-LICENSE.txt */
@font-face {
  font-family: 'Rabbit HarmonyOS Sans SC';
  src: local('HarmonyOS Sans SC'), local('HarmonyOS_Sans_SC_Regular'),
       url('/assets/fonts/HarmonyOS_Sans_SC_Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Rabbit HarmonyOS Sans SC';
  src: local('HarmonyOS Sans SC Medium'), local('HarmonyOS_Sans_SC_Medium'),
       url('/assets/fonts/HarmonyOS_Sans_SC_Medium.ttf') format('truetype');
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
}
.pc-history-page,
#sct-order-dock {
  --rabbit-ui-font: 'Rabbit HarmonyOS Sans SC', 'Microsoft YaHei', 'PingFang SC', sans-serif;
  font-family: var(--rabbit-ui-font) !important;
  font-synthesis: none;
}
.pc-history-page {
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
}
.pc-history-page :is(.type-pill, .batch-title) {
  font-size: 17px !important;
  line-height: 1.45 !important;
  font-weight: 500 !important;
}
.pc-history-page :is(.order-no-line, .meta-line) {
  font-size: 15px !important;
  line-height: 1.55 !important;
  font-weight: 400 !important;
  letter-spacing: normal !important;
}
.pc-history-page :is(.time, .summary, .charge-label, .showcase-consent-label,
  .showcase-consent-badge, .progress-line-text, .order-no-line.compact) {
  font-size: 14px !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
}
.pc-history-page :is(.toolbar-btn, .kind-tab, .filter-chip, .card-go,
  .progress-btn, .batch-child-go, .history-load-btn, .dl-btn) {
  font-size: 15px !important;
  font-weight: 500 !important;
}
.pc-history-page :is(.charge-value, .batch-child-status, .batch-child-charge) {
  font-size: 15px !important;
  line-height: 1.5 !important;
  font-weight: 500 !important;
}
.pc-history-page :is(.order-no-line, .meta-line, .time, .progress-line-text,
  .charge-value), #sct-order-dock :is(strong, small) {
  font-variant-numeric: tabular-nums;
}
html:has(.pc-shell) .pc-feature-page .pc-history-page :is(.type-pill, .batch-title) {
  color: #f3f4f6 !important;
}
html:has(.pc-shell) .pc-feature-page .pc-history-page :is(.order-no-line, .meta-line, .summary) {
  color: #e5e7eb !important;
}
html:has(.pc-shell) .pc-feature-page .pc-history-page :is(.time, .order-no-line.compact,
  .charge-label, .showcase-consent-label, .progress-line-text) {
  color: #a8adb5 !important;
}
#sct-order-dock .sct-order-body strong {
  font-size: 15px !important;
  line-height: 1.45 !important;
  font-weight: 500 !important;
}
#sct-order-dock .sct-order-body small {
  font-size: 13px !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
}
#sct-order-dock .sct-order-status {
  font-size: 12px !important;
  line-height: 1.4 !important;
  font-weight: 400 !important;
}
/* Keep the bundled typeface attribution visible in the order surfaces. */
.pc-history-page::after,
#sct-order-dock .sct-order-list::after {
  content: '本页使用 HarmonyOS Sans 字体 · © Huawei Device Co., Ltd.';
  display: block;
  margin: 16px 0 8px;
  color: #a8adb5;
  font-family: var(--rabbit-ui-font);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
}
