.biz-order .robot-card:disabled,
.warehouse-app .robot-card:disabled {
  display: none !important;
}

.biz-order .robot-grid,
.warehouse-app .robot-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.warehouse-app {
  background: #f3f6f5 !important;
  color: #173a32;
}

.warehouse-app:has(> .home) > .nav {
  display: none;
}

.warehouse-app .home {
  padding: 12px 12px 22px !important;
}

.warehouse-app .home-header.warehouse-visual {
  min-height: 190px !important;
  display: grid;
  grid-template-rows: auto auto auto;
  align-content: end !important;
  overflow: hidden;
  gap: 0;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.42) !important;
  border-radius: 8px !important;
  padding: 18px !important;
  background:
    linear-gradient(180deg, rgba(10, 48, 41, 0.04) 0%, rgba(10, 48, 41, 0.24) 42%, rgba(7, 47, 39, 0.94) 100%),
    url("/mall-app/khmer-mobile/assets/module-previews/05-warehouse-preview.png") center 16% / cover no-repeat !important;
  box-shadow: 0 8px 20px rgba(27, 61, 51, 0.14) !important;
}

.warehouse-app .home-header.warehouse-visual h1 {
  margin: 0 0 5px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}

.warehouse-app .home-header.warehouse-visual p {
  margin: 0;
  overflow-wrap: anywhere;
  color: rgba(255, 255, 255, 0.94);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.32);
}

.warehouse-app .home-header.warehouse-visual .start-btn {
  width: 100%;
  min-height: 44px;
  margin-top: 14px;
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  border-radius: 7px !important;
  padding: 0 16px !important;
  background: #ffffff !important;
  color: #075c4c !important;
  box-shadow: 0 5px 14px rgba(0, 35, 28, 0.2) !important;
  font-size: 15px;
  font-weight: 850;
}

.warehouse-app .home-header.warehouse-visual .start-btn:active {
  background: #edf7f3 !important;
  transform: translateY(1px);
}

.warehouse-app .robot-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px;
}

.warehouse-app .robot-card,
.warehouse-app .robot-card.c3:not(:disabled) {
  position: relative;
  grid-column: auto !important;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 46px auto auto;
  align-content: center;
  align-items: center;
  justify-items: center;
  width: 100%;
  min-height: 126px;
  gap: 5px;
  border: 1px solid #dfe7e3 !important;
  border-radius: 12px;
  padding: 12px 9px;
  background: #ffffff !important;
  color: #173a32;
  box-shadow: 0 5px 14px rgba(27, 61, 51, .06) !important;
  text-align: center;
}

.warehouse-app .robot-card::after {
  content: none;
}

.warehouse-app .robot-card:active {
  border-color: #adc9bf !important;
  background: #f5faf8 !important;
}

.warehouse-app .robot-card .icon {
  grid-column: 1;
  grid-row: 1;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #e7f2ee !important;
  color: #0f6d59 !important;
  font-size: 21px;
}

.warehouse-app .robot-card.c2 .icon {
  background: #fff4dc !important;
  color: #9b6a12 !important;
}

.warehouse-app .robot-card.c3 .icon {
  background: #e9eff8 !important;
  color: #315f93 !important;
}

.warehouse-app .robot-card.c4 .icon {
  background: #fff0e2 !important;
  color: #a85818 !important;
}

.warehouse-app .robot-card strong {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}

.warehouse-app .robot-card small {
  grid-column: 1;
  grid-row: 3;
  min-width: 0;
  overflow-wrap: anywhere;
  color: #72807b;
  font-size: 12px;
  line-height: 1.35;
}

.biz-order .goods-row .stock-badge {
  display: none !important;
}

.biz-order .goods-row .stock {
  width: fit-content;
  margin-top: 2px;
  border-radius: 4px;
  padding: 3px 6px;
  background: #eef5f2;
  color: #6f817a !important;
  font-weight: 650;
}

.biz-order .goods-row .thumb img[role="button"] {
  cursor: zoom-in;
}

.biz-order .goods-row {
  position: relative;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 10px;
  overflow: hidden;
}

.biz-order .goods-row .thumb {
  position: relative !important;
  inset: auto !important;
  flex: 0 0 64px !important;
  width: 64px;
  height: 64px;
  max-width: 64px !important;
  max-height: 64px !important;
  margin-top: 2px;
  border-radius: 6px;
  background: #f3f5f7;
  overflow: hidden !important;
  contain: paint;
}

.biz-order .goods-row .thumb > img {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  transform: none !important;
}

.biz-order .goods-row .thumb .stock-badge {
  display: none !important;
}

.biz-order .goods-row .meta {
  min-width: 0;
  gap: 3px;
}

.biz-order .goods-row .meta .business-product-name-km {
  overflow-wrap: anywhere;
  color: #20242a;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.biz-order .goods-row .meta .business-product-name-zh {
  overflow-wrap: anywhere;
  color: #4f5963;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.biz-order .goods-row .meta .business-product-spec,
.biz-order .goods-row .meta .business-product-barcode,
.biz-order .goods-row .meta .business-product-stock {
  color: #707983;
  font-size: 11px;
  line-height: 1.4;
}

.biz-order .goods-row .meta .business-product-wholesale,
.biz-order .goods-row .meta .business-product-retail {
  color: #9a6816;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.4;
}

.biz-order .cart-summary {
  cursor: pointer;
}

html.business-order-runtime-active .biz-order .cart-bar {
  display: none !important;
}

.business-cart-launcher {
  position: fixed;
  z-index: 1500;
  width: 58px;
  height: 58px;
  min-height: 58px;
  display: grid;
  place-items: center;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 50%;
  padding: 0;
  background: linear-gradient(135deg, #14745d, #0c5748);
  box-shadow: 0 8px 24px rgba(8, 58, 47, .28), 0 2px 6px rgba(8, 58, 47, .16);
  color: #fff;
  cursor: grab;
  touch-action: none;
  user-select: none;
  transition: transform 140ms ease, box-shadow 140ms ease, opacity 140ms ease;
}

.business-cart-launcher:active,
.business-cart-launcher.is-dragging {
  cursor: grabbing;
  transform: scale(.97);
  box-shadow: 0 5px 15px rgba(8, 58, 47, .22);
}

.business-cart-launcher.is-empty {
  opacity: .86;
}

.business-cart-launcher-icon {
  width: 42px;
  height: 42px;
  display: grid;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .17);
  font-size: 24px;
}

.business-cart-launcher-copy {
  display: none;
}

.business-cart-launcher-copy strong,
.business-cart-launcher-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.business-cart-launcher-copy strong {
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
}

.business-cart-launcher-copy small {
  color: rgba(255, 255, 255, .82);
  font-size: 10px;
  line-height: 1.2;
}

.business-cart-launcher-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  padding: 0 5px;
  background: #f6b83f;
  color: #4a2c00;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
}

.business-cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: #f5f7f8;
}

.business-cart-sheet {
  width: min(480px, 100%);
  height: 100%;
  max-height: none;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border-radius: 0;
  background: #ffffff;
  box-shadow: 0 -12px 36px rgba(0, 0, 0, 0.16);
}

.business-cart-sheet > header,
.business-cart-sheet > footer,
.business-cart-sheet main article,
.business-cart-sheet main article > div,
.business-cart-sheet > footer > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.business-cart-sheet > header {
  min-height: 54px;
  padding: 8px 14px;
  border-bottom: 1px solid #e7e9ec;
}

.business-cart-sheet > header > div,
.business-cart-sheet main article > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.business-cart-sheet > header span,
.business-cart-sheet main article span,
.business-cart-sheet > footer span {
  color: #727b84;
  font-size: 12px;
}

.business-cart-sheet > header button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f0f2f4;
  color: #30363d;
  font-size: 22px;
}

.business-cart-sheet > main {
  overflow: auto;
  padding: 0 14px;
}

.business-cart-sheet main article {
  min-height: 78px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #eef0f2;
}

.business-cart-sheet main article strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.business-cart-item-main {
  min-width: 0;
  flex: 1;
  display: grid !important;
  gap: 4px;
}

.business-cart-product {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1;
  gap: 10px;
}

.business-cart-sheet main article > .business-cart-product {
  display: flex;
  align-items: center;
}

.business-cart-image {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: #f0f3f4;
  color: #176b58;
  font-size: 22px;
  font-weight: 800;
}

.business-cart-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.business-cart-item-main small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #7b848b;
  font-size: 11px;
}

.business-cart-quantity {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  color: #727b84;
  font-size: 12px;
}

.business-cart-quantity button {
  width: 28px;
  height: 28px;
  border: 1px solid #cfd8e3;
  border-radius: 50%;
  background: #f7f9fb;
  color: #176b58;
  font-size: 18px;
  line-height: 1;
  font-weight: 800;
}

.business-cart-quantity button:active {
  transform: scale(0.95);
}

.business-cart-quantity button:disabled {
  opacity: 0.45;
}

.business-cart-quantity b {
  min-width: 20px;
  color: #30363d;
  text-align: center;
}

.business-cart-remove {
  flex: 0 0 auto;
  min-width: 48px;
  min-height: 30px;
  margin: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #b42318;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
  white-space: nowrap;
}

.business-cart-item-side {
  min-width: 76px;
  display: grid;
  justify-items: end;
  align-content: start;
  gap: 8px;
  margin-left: auto;
}

.business-cart-sheet main article > .business-cart-product,
.business-cart-item-main {
  min-width: 0;
}

.business-cart-sheet main article strong,
.business-cart-sheet main article small {
  overflow-wrap: anywhere;
}

@media (max-width: 360px) {
  .business-cart-sheet {
    width: 100%;
  }

  .business-cart-sheet main {
    padding-inline: 10px;
  }

  .business-cart-sheet main article {
    gap: 7px;
  }

  .business-cart-image {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .business-cart-quantity {
    gap: 3px;
  }

  .business-cart-quantity button {
    width: 25px;
    height: 25px;
  }

  .business-cart-item-side {
    min-width: 66px;
  }
}

.business-cart-item-side > b {
  color: #9a6816;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.business-cart-sheet main article b,
.business-cart-sheet > footer strong {
  color: #9a6816;
  white-space: nowrap;
}

.business-cart-sheet > footer strong {
  font-size: 17px;
  font-weight: 900;
}

.business-cart-sheet > footer {
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid #e3e6e8;
}

.business-cart-sheet > footer > div {
  display: grid;
  justify-items: start;
  gap: 2px;
}

.business-cart-sheet > footer button {
  min-width: 150px;
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  padding: 0 16px;
  background: #176b58;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
}

.business-cart-sheet > footer button:disabled {
  opacity: 0.5;
}

.warehouse-app .workflow-order-meta {
  width: 100%;
  display: block;
  box-sizing: border-box;
  margin: -2px 0 8px;
  border-left: 4px solid #176b52;
  padding: 7px 9px;
  background: #edf6f2;
  color: #155d49;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
  text-align: left;
}

.warehouse-app .workflow-pick-hidden {
  display: none !important;
}

.warehouse-app .shelf,
.warehouse-app .shelf-strong {
  overflow-wrap: normal;
  word-break: keep-all;
  white-space: nowrap;
  color: #0d5e4a !important;
  font-size: 24px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
}

.warehouse-submit-success {
  position: fixed;
  top: max(18px, env(safe-area-inset-top));
  left: 50%;
  z-index: 12000;
  max-width: calc(100vw - 32px);
  transform: translate(-50%, -18px);
  border-radius: 7px;
  padding: 11px 16px;
  background: #12634f;
  box-shadow: 0 8px 22px rgba(12, 65, 52, 0.24);
  color: #ffffff;
  font-size: 14px;
  font-weight: 850;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.warehouse-submit-success.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

.warehouse-app > .role-performance-card {
  margin: 0 0 12px;
  border: 1px solid #d8e5df;
  border-radius: 12px;
  background: linear-gradient(145deg, #ffffff, #f2f8f5);
}

.warehouse-app > .role-performance-card > header small {
  color: #0f6d59;
}

.warehouse-app > .role-performance-card > header strong {
  color: #124d3f;
}

.warehouse-app > .role-performance-card .role-performance-metrics {
  border: 1px solid #e3ece8;
  border-radius: 9px;
  background: #ffffff;
}

.warehouse-app > .role-performance-card .role-performance-metrics > div:nth-child(3),
.warehouse-app > .role-performance-card .role-performance-metrics > div:nth-child(4) {
  border-top: 1px solid #e5ebe8;
}

.warehouse-app > .role-performance-card .role-performance-metrics > div:nth-child(5) {
  grid-column: 1 / -1;
  border-right: 0;
  border-top: 1px solid #e5ebe8;
  background: #f1f8f4;
}

.warehouse-app > .role-performance-card .role-performance-metrics > div:nth-child(3) strong {
  color: #ae6a12;
}

.warehouse-app > .role-performance-card .role-performance-metrics > div:nth-child(4) strong,
.warehouse-app > .role-performance-card .role-performance-metrics > div:nth-child(5) strong {
  color: #14745d;
}

.warehouse-app .workflow-claim-order {
  min-height: 44px;
  border: 1px solid #0f6d59;
  border-radius: 8px;
  background: #0f6d59;
  font-size: 14px;
  font-weight: 850;
}

.warehouse-app .item-info .shelf,
.warehouse-app .check-card .shelf-strong {
  color: #0b664f !important;
  font-size: 26px !important;
  font-weight: 950 !important;
}

.warehouse-app .item-info em,
.warehouse-app .check-card .need {
  color: #c24b25 !important;
  font-size: 18px !important;
  font-style: normal;
  font-weight: 950 !important;
}

.warehouse-app .screen.with-footer .item.checked {
  border-color: #b7d8c8 !important;
  background: #f1faf5 !important;
}

.warehouse-app .check-card .match:not(.ok) {
  color: #b33d2e !important;
  font-weight: 850;
}

.warehouse-app .check-card .pic {
  min-height: 250px !important;
  padding: 12px !important;
}

.warehouse-app .check-card .pic img {
  width: min(100%, 250px) !important;
  height: 250px !important;
  object-fit: contain !important;
}

.warehouse-app .check-card .warehouse-location-value-only {
  justify-content: flex-end !important;
}

.warehouse-app .check-card .warehouse-location-value-only span {
  display: none !important;
}

.warehouse-app .check-card .warehouse-location-value-only strong {
  width: 100% !important;
  text-align: right !important;
}

@media (max-width: 360px) {
  .warehouse-app > .role-performance-card {
    margin-right: -1px;
    margin-left: -1px;
  }

  .warehouse-app > .role-performance-card .role-performance-metrics strong {
    font-size: 18px;
  }
}

@media (max-width: 360px) {
  .warehouse-app .home-header.warehouse-visual {
    min-height: 182px !important;
    padding: 15px !important;
  }

  .warehouse-app .home-header.warehouse-visual h1 {
    font-size: 22px;
  }

  .warehouse-app .home-header.warehouse-visual p,
  .warehouse-app .robot-card small {
    font-size: 12px;
  }

  .warehouse-app .robot-card,
  .warehouse-app .robot-card.c3:not(:disabled) {
    min-height: 68px;
    padding: 10px;
  }
}

body.mall-route-checkout .mobile-shell > main > section.stack > .card.stack:first-child .mall-checkout-coordinate-grid {
  display: none;
}

.mall-checkout-google-location {
  width: 100%;
  min-height: 44px;
  border: 1px solid #2f6f60;
  border-radius: 7px;
  background: #eef8f4;
  color: #225a4e;
  font-size: 13px;
  font-weight: 800;
}

.mall-checkout-google-location:disabled {
  opacity: 0.65;
}

.mall-checkout-profile-alert {
  margin: 0;
  padding: 9px 11px;
  border-left: 3px solid #d26642;
  background: #fff4ed;
  color: #8a3d27;
  font-size: 12px;
  line-height: 1.55;
}

html.short-drama-mall-embed,
html.short-drama-mall-embed body,
html.short-drama-mall-embed #app {
  min-height: 100%;
  background: #ffffff;
}

html.mall-route-home:not(.short-drama-designer-preview) .mobile-shell > .tabs,
html.mall-route-cart:not(.short-drama-designer-preview) .mobile-shell > .tabs,
html.short-drama-mall-embed .tabs {
  display: none !important;
}

html.mall-route-home:not(.short-drama-designer-preview) .mobile-shell,
html.mall-route-cart:not(.short-drama-designer-preview) .mobile-shell,
html.short-drama-mall-embed .mobile-shell {
  min-height: 100%;
  padding-bottom: 18px !important;
}

html.short-drama-mall-embed .auth-warning {
  display: none !important;
}

html.mall-khmer-only .lang-select {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

html.short-drama-designer-preview .mobile-shell {
  padding-bottom: 82px !important;
}

html.short-drama-designer-preview .tabs.short-drama-preview-tabs {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0 !important;
  min-height: 68px;
  padding: 7px 8px calc(7px + env(safe-area-inset-bottom)) !important;
  border-top: 1px solid #eceef2;
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 -5px 18px rgba(22, 27, 38, 0.08) !important;
}

html.short-drama-designer-preview .short-drama-preview-tabs > a.short-drama-preview-hidden {
  display: none !important;
}

html.short-drama-designer-preview .short-drama-preview-tabs > a {
  min-width: 0;
  min-height: 52px;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #7a7f8b !important;
  text-decoration: none;
}

html.short-drama-designer-preview .short-drama-preview-tabs > a.short-drama-preview-active {
  color: #ff5a16 !important;
}

html.short-drama-designer-preview .tabs.short-drama-preview-tabs > a > .mall-preview-nav-icon {
  width: 22px !important;
  height: 22px !important;
  min-height: 20px;
  display: block !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  color: inherit !important;
  font-size: 17px;
  font-weight: 850;
  line-height: 20px;
  text-align: center;
}

html.short-drama-designer-preview .tabs.short-drama-preview-tabs > a > .mall-preview-nav-label {
  width: auto !important;
  height: 15px !important;
  min-height: 15px !important;
  max-width: 100%;
  overflow: hidden;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  color: inherit !important;
  box-shadow: none !important;
  font-size: 11px;
  font-weight: 750;
  line-height: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mall-banner::after {
  background: linear-gradient(
    90deg,
    #163a36 0%,
    #163a36 48%,
    rgba(22, 58, 54, 0.72) 68%,
    rgba(22, 58, 54, 0.08) 100%
  ) !important;
}

html .mall-home {
  grid-template-columns: 88px minmax(0, 1fr);
  grid-template-areas:
    "top top"
    "banner banner"
    "categories title"
    "categories products"
    "message message";
  column-gap: 12px;
  row-gap: 14px;
  align-items: start;
}

html .mall-home > .mall-top {
  grid-area: top;
}

html .mall-home > .mall-banner {
  grid-area: banner;
}

html .mall-home > .mall-category-grid {
  grid-area: categories;
  position: sticky;
  top: max(12px, env(safe-area-inset-top));
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-height: calc(100dvh - 130px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0;
  border: 0;
  border-right: 1px solid #edf0f4;
  border-radius: 0;
  background: #ffffff;
  scrollbar-width: none;
}

html .mall-home > .mall-category-grid::-webkit-scrollbar {
  display: none;
}

html .mall-home > .mall-category-grid::before {
  content: none;
}

html .mall-home .mall-category-grid > a {
  position: relative;
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 4px 0 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #222222;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.25;
  text-align: left;
  overflow-wrap: anywhere;
}

html .mall-home .mall-category-grid > a::before {
  content: none;
}

html .mall-home .mall-category-grid > a:hover,
html .mall-home .mall-category-grid > a:focus-visible {
  background: #fff7f1;
  color: #ff5a16;
  outline: none;
}

html .mall-home .mall-category-grid img {
  display: none;
}

html .mall-home .mall-category-grid > a.is-active,
html .mall-home .mall-category-grid > a[aria-current="page"],
html .mall-home .mall-category-grid > a.router-link-active {
  color: #ff5a16;
  font-weight: 850;
}

html .mall-home .mall-category-grid > a.is-active::before,
html .mall-home .mall-category-grid > a[aria-current="page"]::before,
html .mall-home .mall-category-grid > a.router-link-active::before {
  content: none;
}

html .mall-home .mall-category-grid > a > .mall-category-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  margin-left: auto;
  padding: 0 4px;
  border-radius: 999px;
  background: #e54836;
  color: #ffffff;
  font-size: 10px;
  font-weight: 850;
  line-height: 16px;
}

html .mall-home .mall-category-grid > a > .mall-category-cart-count[hidden] {
  display: none;
}

html .mall-home > .section-title {
  grid-area: title;
  min-width: 0;
  min-height: 34px;
}

html .mall-home > .product-grid {
  grid-area: products;
  min-width: 0;
  gap: 10px;
}

html .mall-home > .copy-box {
  grid-area: message;
}

html.mall-category-route,
html.mall-category-route body,
html.mall-category-route #app,
html.mall-category-route .mobile-shell {
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  background: #ffffff;
}

html.mall-category-route .mobile-shell {
  padding: 0 !important;
}

html.mall-category-route .app-head {
  display: none !important;
}

html.mall-category-route .mobile-shell > main {
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

html .mall-category-page {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  grid-template-rows: 52px 45px minmax(0, 1fr);
  grid-template-areas:
    "head head"
    "rail toolbar"
    "rail products";
  gap: 0;
  padding: 0;
  overflow: hidden;
  background: #ffffff;
}

html .mall-category-page-head {
  grid-area: head;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  align-items: center;
  border-bottom: 1px solid #edf0f4;
  background: rgba(255, 255, 255, 0.98);
}

html .mall-category-page-head strong {
  position: relative;
  justify-self: center;
  color: #171717;
  font-size: 18px;
  font-weight: 850;
}

html .mall-category-page-head strong::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 22px;
  height: 3px;
  border-radius: 99px;
  background: #ff5a16;
  transform: translateX(-50%);
}

html .mall-category-back,
html .mall-category-head-spacer {
  width: 44px;
  height: 44px;
}

html .mall-category-back {
  display: grid;
  place-items: center;
  color: #171717;
  font-size: 32px;
  line-height: 1;
}

html .mall-category-rail {
  grid-area: rail;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  border-right: 1px solid #edf0f4;
  background: #ffffff;
  scrollbar-width: none;
}

html .mall-category-rail::-webkit-scrollbar,
html .mall-category-products::-webkit-scrollbar {
  display: none;
}

html .mall-category-rail a {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 4px 0 10px;
  color: #222222;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.25;
  text-align: left;
}

html .mall-category-rail a i {
  width: 4px;
  height: 18px;
  flex: 0 0 4px;
  border-radius: 99px;
  background: transparent;
}

html .mall-category-rail a.active {
  color: #ff5a16;
  font-weight: 850;
}

html .mall-category-rail a.active i {
  background: #ff5a16;
}

html .mall-category-toolbar {
  grid-area: toolbar;
  min-width: 0;
  height: 45px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0 10px 0 12px;
  border: 0;
  border-bottom: 1px solid #f1f2f4;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
}

html .mall-category-toolbar > div {
  min-width: 0;
}

html .mall-category-toolbar strong {
  display: block;
  overflow: hidden;
  color: #171717;
  font-size: 14px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html .mall-category-toolbar p {
  margin: 1px 0 0;
  color: #8a8e96;
  font-size: 11px;
  line-height: 1.2;
}

html .mall-category-toolbar button {
  min-height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: #ff5a16;
  box-shadow: none;
  color: #ffffff;
  font-size: 12px;
  white-space: nowrap;
}

html .mall-category-products {
  grid-area: products;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  padding: 6px 12px 20px;
  background: #ffffff;
  scrollbar-width: none;
}

html .mall-category-products > article.product {
  min-width: 0;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  grid-template-rows: auto auto minmax(34px, 1fr);
  gap: 4px 10px;
  margin: 0;
  padding: 10px 0;
  border: 0 !important;
  border-bottom: 1px solid #f0f1f3 !important;
  border-radius: 0;
  background: #ffffff !important;
  box-shadow: none !important;
}

html .mall-category-products > article.product[hidden] {
  display: none;
}

html .mall-category-products .product-media {
  position: relative;
  grid-column: 1;
  grid-row: 1 / 4;
  width: 76px;
  height: 76px;
  min-height: 0 !important;
  display: block;
  overflow: hidden;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 6px;
  background: #f4f5f7;
  box-shadow: none !important;
}

html .mall-category-products .product-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

html .mall-category-products .product-media span {
  position: absolute;
  left: 4px;
  bottom: 4px;
  max-width: calc(100% - 8px);
  overflow: hidden;
  border-radius: 4px;
  padding: 2px 4px;
  background: rgba(23, 23, 23, 0.7);
  color: #ffffff;
  font-size: 10px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html .mall-category-products > article.product > strong,
html .mall-category-products > article.product > p,
html .mall-category-products > article.product > .row {
  grid-column: 2;
  min-width: 0;
}

html .mall-category-products > article.product > strong {
  align-self: end;
  overflow: hidden;
  color: #171717;
  font-size: 14px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html .mall-category-products > article.product > p {
  margin: 0;
  color: #8a8e96;
  font-size: 11px;
}

html .mall-category-products > article.product > .row {
  align-self: end;
  gap: 6px;
}

html .mall-category-products > article.product > .row .price {
  color: #ff5a16 !important;
  font-size: 16px;
}

html .mall-category-products > article.product > .row button {
  min-height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: #ff5a16;
  box-shadow: none;
  color: #ffffff;
  font-size: 12px;
}

html .mall-category-empty {
  margin: 0;
  padding: 42px 12px;
  color: #8a8e96;
  font-size: 13px;
  text-align: center;
}

@media (max-width: 390px) {
  html .mall-home {
    grid-template-columns: 82px minmax(0, 1fr);
    column-gap: 8px;
  }

  html .mall-home .mall-category-grid > a {
    min-height: 44px;
    gap: 4px;
    padding-right: 3px;
    padding-left: 9px;
    font-size: 13px;
  }

  html .mall-home > .product-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  html .mall-category-page {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  html .mall-category-rail a {
    gap: 4px;
    padding-right: 3px;
    padding-left: 9px;
  }

  html .mall-category-products {
    padding-right: 10px;
    padding-left: 10px;
  }

  html .mall-category-products > article.product {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 4px 8px;
  }

  html .mall-category-products .product-media {
    width: 68px;
    height: 68px;
  }
}

html .biz-order .business-language-switch {
  display: inline-flex !important;
  flex: 0 0 auto;
  align-items: center;
  margin-left: auto;
}

html .biz-order .business-language-switch .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html .biz-order .business-language-switch select {
  min-width: 62px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  padding: 0 8px;
  background: #ffffff !important;
  color: #153c2f !important;
  font-size: 12px;
  font-weight: 750;
}

html .biz-order .business-language-switch select:focus,
html .biz-order .business-language-switch select:hover {
  background: #ffffff !important;
  color: #153c2f !important;
}

html .biz-order .business-language-switch option {
  color: #173a32;
  background: #fff;
}

html .biz-order .sales-visual {
  display: block !important;
}

html .biz-order .sales-visual h2 {
  margin-bottom: 2px !important;
  font-size: 15px !important;
  line-height: 1.2 !important;
}

html .biz-order .sales-visual p {
  font-size: 10px !important;
  line-height: 1.2 !important;
}

html:has(.biz-order > .order-page),
html:has(.biz-order > .order-page) body,
html.business-order-runtime-active,
html.business-order-runtime-active body {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

html.business-order-runtime-active .biz-order {
  width: 100%;
  height: 100dvh;
  min-height: 0 !important;
  margin: 0 auto;
  padding-bottom: 0 !important;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  overscroll-behavior: none;
}

html.business-order-runtime-active .mobile-shell > .app-head {
  display: none !important;
}

html.business-runtime-active .mobile-shell .app-head {
  display: none !important;
}

html.business-order-runtime-active .biz-order > .business-route-picker {
  gap: 2px;
  margin-bottom: 5px;
  padding: 5px 8px;
}

html.business-order-runtime-active .biz-order > .business-route-picker select {
  min-height: 28px;
  padding: 0 8px;
}

html.business-order-runtime-active .biz-order > .business-route-picker small {
  font-size: 9px;
  line-height: 1.2;
}

html.business-order-runtime-active .biz-order > .bar,
html.business-order-runtime-active .biz-order > .business-route-picker,
html.business-order-runtime-active .biz-order > .business-route-gate {
  flex: 0 0 auto;
}

html.business-order-runtime-active .biz-order > .order-page {
  min-height: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

html.business-order-runtime-active .biz-order > .order-page > .search {
  flex: 0 0 auto;
}

html.business-order-runtime-active .biz-order > .order-page > .split {
  min-height: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

html.business-order-runtime-active .biz-order > .order-page > .split > .cats,
html.business-order-runtime-active .biz-order > .order-page > .split > .goods {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

html .biz-order .business-outstanding-compact {
  min-width: 0;
  max-width: 180px;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  flex: 0 1 auto;
  margin-left: auto;
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  white-space: nowrap;
}

html .biz-order .business-outstanding-compact span {
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 10px;
}

html .biz-order .business-outstanding-compact strong {
  color: #fff;
  font-size: 11px;
  line-height: 1.2;
}

.business-cart-sheet-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.business-cart-sheet-actions button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f0f2f4;
  color: #30363d;
  font-size: 20px;
  line-height: 1;
}

.business-cart-sheet.is-collapsed {
  max-height: none;
  grid-template-rows: auto;
}

.business-cart-sheet.is-collapsed > main,
.business-cart-sheet.is-collapsed > footer {
  display: none;
}

html.business-order-runtime-active .biz-order .split {
  min-height: calc(100dvh - 56px);
  align-items: stretch;
  overflow: hidden;
}

html.business-order-runtime-active .biz-order .split > .cats {
  position: sticky;
  top: 56px;
  align-self: flex-start;
  height: calc(100dvh - 56px);
  max-height: calc(100dvh - 56px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

html.business-order-runtime-active .biz-order .split > .cats::-webkit-scrollbar {
  display: none;
}

html.business-order-runtime-active .biz-order .split > .goods {
  min-width: 0;
  height: calc(100dvh - 56px);
  max-height: calc(100dvh - 56px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: 156px;
}

html.business-order-runtime-active .biz-order .cats > div {
  position: relative;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px 12px 8px;
}

html.business-order-runtime-active .biz-order .cats > div .business-category-cart-count {
  position: absolute;
  top: 7px;
  right: 7px;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  padding: 0 4px;
  background: #d43d30;
  color: #fff;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  box-shadow: 0 2px 5px rgba(130, 36, 28, .24);
}

html.business-order-runtime-active .biz-order .cats > div .business-category-cart-count[hidden] {
  display: none;
}

html.business-order-runtime-active .biz-order .business-cart-quick-controls {
  display: none !important;
}

html.business-order-runtime-active .biz-order .business-cart-quick-controls {
  display: none !important;
  gap: 5px;
  margin: 3px 0 6px;
}

html .biz-order .business-cart-quick-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 34px;
}

html .biz-order .business-cart-quick-control > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #4f5963;
  font-size: 12px;
}

html .biz-order .business-cart-quick-buttons {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

html .biz-order .business-cart-quick-buttons button {
  width: 28px;
  height: 28px;
  border: 1px solid #cfd8e3;
  border-radius: 50%;
  background: #f7f9fb;
  color: #176b58;
  font-size: 18px;
  line-height: 1;
  font-weight: 800;
}

html .biz-order .business-cart-quick-buttons b {
  min-width: 20px;
  color: #30363d;
  text-align: center;
  font-size: 13px;
}

.operations-today-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: #f4f6f8;
  color: #20242a;
}

.operations-today-bar {
  flex: 0 0 auto;
  min-height: 64px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 54px;
  align-items: center;
  gap: 8px;
  padding: max(8px, env(safe-area-inset-top)) 12px 8px;
  border-bottom: 1px solid #e4e7eb;
  background: #ffffff;
}

.operations-today-bar > button {
  width: 42px;
  min-width: 42px;
  height: 38px;
  padding: 0;
  border: 1px solid #dfe3e8;
  border-radius: 6px;
  background: #ffffff;
  color: #252a31;
  font-size: 14px;
}

.operations-today-bar .operations-close {
  font-size: 28px;
  line-height: 1;
}

.operations-today-bar .operations-refresh {
  width: 54px;
  min-width: 54px;
  border-color: #18794e;
  color: #18794e;
}

.operations-today-bar .operations-refresh:disabled {
  opacity: 0.45;
}

.operations-today-bar > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.operations-today-bar strong {
  overflow: hidden;
  font-size: 17px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.operations-today-bar span {
  overflow: hidden;
  color: #747b85;
  font-size: 11px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.operations-date {
  flex: 0 0 auto;
  padding: 10px 12px;
  border-bottom: 1px solid #e4e7eb;
  background: #ffffff;
}

.operations-date label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  color: #5b626c;
  font-size: 13px;
}

.operations-date input {
  min-width: 0;
  height: 38px;
  padding: 0 10px;
  border: 1px solid #d9dee4;
  border-radius: 6px;
  background: #ffffff;
  color: #20242a;
  font: inherit;
}

.operations-route-select {
  flex: 0 0 auto;
  padding: 10px 12px;
  border-bottom: 1px solid #e4e7eb;
  background: #ffffff;
}

.operations-route-select label,
.business-route-picker label,
.business-route-gate-card label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  color: #5b626c;
  font-size: 13px;
}

.operations-route-select select,
.business-route-picker select,
.business-route-gate-card select {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  border: 1px solid #d9dee4;
  border-radius: 7px;
  padding: 0 10px;
  background: #ffffff;
  color: #20242a;
  font: inherit;
}

.business-route-picker {
  display: grid;
  gap: 5px;
  margin: 0 12px 10px;
  padding: 10px 12px;
  border: 1px solid #d8e2ff;
  border-radius: 10px;
  background: #f7f9ff;
}

.business-route-picker label {
  grid-template-columns: minmax(92px, .8fr) minmax(180px, 1.5fr);
}

html.business-order-runtime-active .biz-order > .business-route-picker label {
  grid-template-columns: minmax(92px, .8fr) minmax(180px, 1.5fr);
}

html.business-order-runtime-active .biz-order > .business-route-picker select {
  min-width: 180px;
  font-size: 13px;
}

.business-route-picker small {
  color: #718096;
  font-size: 11px;
  line-height: 1.4;
}

html .biz-order .business-route-picker,
html .business-app .business-route-picker {
  color: #263238;
}

html .biz-order .business-route-picker label,
html .business-app .business-route-picker label {
  color: #37474f;
}

html .biz-order .business-route-picker select,
html .business-app .business-route-picker select {
  background: #ffffff !important;
  color: #20242a !important;
  color-scheme: light;
}

.business-route-gate {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.48);
}

.business-route-gate-card {
  width: min(420px, 100%);
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid #d8e2ff;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.2);
}

.business-route-gate-card strong {
  color: #1f3f93;
  font-size: 20px;
}

.business-route-gate-card p {
  margin: 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.5;
}

.business-route-gate-card label {
  grid-template-columns: 1fr;
  gap: 6px;
  font-weight: 800;
}

.business-route-gate-card button {
  min-height: 44px;
  border: 0;
  border-radius: 9px;
  background: #3b7dff;
  color: #ffffff;
  font-weight: 800;
}

.business-route-gate-card button:disabled {
  opacity: 0.45;
}

.business-route-gate-message {
  color: #b42318 !important;
}

.operations-today-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 12px 12px calc(24px + env(safe-area-inset-bottom));
}

.operations-loading,
.operations-error,
.operations-empty {
  margin: 0;
  padding: 28px 12px;
  color: #7b828c;
  font-size: 13px;
  text-align: center;
}

.operations-error {
  color: #b42318;
}

.operations-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 12px;
  border: 1px solid #e1e5e9;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.operations-summary > div {
  min-width: 0;
  min-height: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 10px 12px;
  border-right: 1px solid #edf0f2;
  border-bottom: 1px solid #edf0f2;
}

.operations-summary > div:nth-child(2n) {
  border-right: 0;
}

.operations-summary > div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.operations-summary span,
.operations-route-overview span {
  color: #747b85;
  font-size: 12px;
}

.operations-summary strong {
  overflow-wrap: anywhere;
  color: #1e5f42;
  font-size: 21px;
  line-height: 1.15;
}

.operations-panel {
  margin: 0 -12px 12px;
  padding: 14px 12px;
  border-top: 1px solid #e1e5e9;
  border-bottom: 1px solid #e1e5e9;
  background: #ffffff;
}

.operations-panel > header {
  min-height: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.operations-panel > header strong {
  font-size: 15px;
}

.operations-panel > header span {
  flex: 0 0 auto;
  color: #747b85;
  font-size: 11px;
}

.operations-route-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr) minmax(68px, auto);
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  padding: 9px 10px;
  border: 1px solid #e8ebee;
  border-radius: 6px;
  background: #f8faf9;
}

.operations-route-overview > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.operations-route-overview strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.operations-route-overview > i {
  color: #18794e;
  font-style: normal;
  text-align: center;
}

.operations-map {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  border: 1px solid #dce2e6;
  border-radius: 6px;
  background: #eef3f1;
}

.operations-map.is-fallback {
  background: #e8f0ec;
}

.operations-map-fallback-layer {
  position: absolute;
  inset: 0;
  transform-origin: 50% 50%;
  transition: transform .15s ease-out;
}

.operations-map-fallback-controls {
  position: absolute;
  right: 9px;
  bottom: 9px;
  z-index: 5;
  display: inline-flex;
  overflow: hidden;
  border: 1px solid #cfd8d3;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(32, 36, 42, .18);
}

.operations-map-fallback-controls button {
  width: 32px;
  height: 32px;
  border: 0;
  border-right: 1px solid #e1e7e3;
  background: #ffffff;
  color: #176b58;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.operations-map-fallback-controls button:last-child {
  border-right: 0;
}

.operations-map-fallback-controls button:nth-child(2) {
  width: 42px;
  font-size: 11px;
}

.operations-map-info {
  min-width: 190px;
  max-width: 260px;
  display: grid;
  gap: 6px;
  color: #20242a;
  font-size: 12px;
}

.operations-map-info strong {
  font-size: 14px;
}

.operations-map-info span {
  color: #68717b;
  line-height: 1.45;
}

.operations-map-info a {
  width: max-content;
  color: #176b58;
  font-weight: 800;
  text-decoration: none;
}

.operations-customers {
  display: grid;
  gap: 8px;
}

.operations-customer-row {
  display: grid;
  gap: 7px;
  padding: 11px;
  border: 1px solid #e5e9e7;
  border-radius: 8px;
  background: #fafcfb;
}

.operations-customer-row > div,
.operations-customer-row footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.operations-customer-row span,
.operations-customer-row small {
  color: #727b84;
  font-size: 11px;
  line-height: 1.45;
}

.operations-customer-row footer b {
  border-radius: 999px;
  padding: 4px 8px;
  background: #e4f5ed;
  color: #176b58;
  font-size: 10px;
}

.operations-customer-row footer b.is-unlocated {
  background: #fff1dc;
  color: #986000;
}

.operations-customer-row footer a {
  color: #176b58;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.operations-map-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  color: #727a83;
  font-size: 13px;
}

.operations-map-mode {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 2;
  padding: 4px 7px;
  border: 1px solid #d5dfda;
  border-radius: 4px;
  background: #ffffff;
  color: #4a5650;
  font-size: 10px;
}

.operations-track-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #1677ff;
  box-shadow: 0 0 0 1px rgba(22, 119, 255, 0.24);
  transform: translate(-50%, -50%);
}

.operations-track-dot.is-start {
  width: 11px;
  height: 11px;
  background: #18794e;
}

.operations-track-dot.is-last {
  width: 11px;
  height: 11px;
  background: #dc6803;
}

.operations-map-marker {
  position: absolute;
  z-index: 3;
  min-width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border: 2px solid #ffffff;
  border-radius: 12px;
  background: #dc6803;
  box-shadow: 0 2px 6px rgba(32, 36, 42, 0.24);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  transform: translate(-50%, -50%);
}

.operations-map-marker.is-delivery {
  background: #18794e;
}

.operations-list,
.operations-orders {
  display: grid;
  gap: 0;
}

.operations-list-row {
  min-width: 0;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 11px 0;
  border-bottom: 1px solid #edf0f2;
}

.operations-list-row:last-child,
.operations-order-row:last-child {
  border-bottom: 0;
}

.operations-list-row > b {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e5f2eb;
  color: #18794e;
  font-size: 11px;
}

.operations-list-row > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.operations-list-row strong,
.operations-list-row span,
.operations-list-row small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.operations-list-row strong {
  font-size: 13px;
}

.operations-list-row span,
.operations-list-row small {
  color: #747b85;
  font-size: 11px;
}

.operations-list-row > em {
  max-width: 96px;
  color: #18794e;
  font-size: 11px;
  font-style: normal;
  text-align: right;
}

.operations-list-row > em.is-muted {
  color: #8a919a;
}

.operations-order-row {
  min-width: 0;
  display: grid;
  gap: 6px;
  padding: 12px 0;
  border-bottom: 1px solid #edf0f2;
}

.operations-order-row > div,
.operations-order-row > p {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
}

.operations-order-row > div strong,
.operations-order-row > p b {
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.operations-order-row > div span {
  flex: 0 0 auto;
  padding: 3px 6px;
  border-radius: 4px;
  background: #f1f3f5;
  color: #626a74;
  font-size: 10px;
}

.operations-order-row > p em {
  flex: 0 0 auto;
  color: #dc6803;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
}

.operations-order-row > small {
  overflow-wrap: anywhere;
  color: #747b85;
  font-size: 11px;
  line-height: 1.5;
}

.operations-last-stop {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
  padding: 12px;
  border-left: 4px solid #dc6803;
  background: #ffffff;
}

.operations-last-stop span,
.operations-last-stop small {
  color: #747b85;
  font-size: 11px;
}

.operations-last-stop strong {
  font-size: 16px;
}

@media (max-width: 360px) {
  .operations-today-body {
    padding-right: 10px;
    padding-left: 10px;
  }

  .operations-panel {
    margin-right: -10px;
    margin-left: -10px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .operations-route-overview {
    grid-template-columns: minmax(0, 1fr) 16px minmax(0, 1fr);
  }

  .operations-route-overview > div:last-child {
    grid-column: 1 / -1;
  }

  .operations-list-row {
    grid-template-columns: 26px minmax(0, 1fr);
  }

  .operations-list-row > em {
    grid-column: 2;
    max-width: none;
    text-align: left;
  }
}

html .mall-home.mall-home-list-mode {
  grid-template-columns: 92px minmax(0, 1fr);
  grid-template-rows: 164px 52px 40px minmax(0, 1fr);
  grid-template-areas:
    "banner banner"
    "top top"
    "categories title"
    "categories products";
  height: 100dvh;
  max-height: 100dvh;
  column-gap: 10px;
  row-gap: 10px;
  align-items: start;
  padding: 0 8px 18px 0;
  overflow: hidden;
  background: #f7f4ec;
}

html.short-drama-mall-embed .mall-home.mall-home-list-mode {
  grid-template-rows: 164px 40px minmax(0, 1fr);
  grid-template-areas:
    "banner banner"
    "categories title"
    "categories products";
}

@media (max-height: 700px) {
  html.short-drama-mall-embed .mall-home.mall-home-list-mode {
    grid-template-rows: 112px 36px minmax(0, 1fr);
  }
  html.short-drama-mall-embed .mall-home.mall-home-list-mode > .mall-banner,
  html.short-drama-mall-embed .mall-home.mall-home-list-mode .mall-sign-slide {
    min-height: 112px;
  }
}

html.short-drama-mall-embed .mall-home.mall-home-list-mode > .mall-top {
  display: none !important;
}

html .mall-home.mall-home-list-mode > .mall-banner {
  grid-area: banner;
  position: relative;
  min-height: 164px;
  isolation: isolate;
  display: block !important;
  overflow: hidden;
  border: 0;
  border-radius: 0 0 12px 0;
  background: #eef1f5;
  box-shadow: 0 7px 18px rgba(20, 27, 35, 0.12);
  touch-action: pan-y;
}

html .mall-home.mall-home-list-mode > .mall-top {
  position: relative;
  min-height: 52px;
  padding: 7px 10px 7px 12px;
  border-bottom: 1px solid #e7dfcf;
  background: #ffffff;
}

html .mall-home.mall-home-list-mode > .mall-top.mall-store-sign::before {
  content: none;
}

html .mall-home.mall-home-list-mode > .mall-top.mall-store-sign > div > span {
  color: #7b7b7b;
  font-size: 10px;
  font-weight: 800;
}

html .mall-home.mall-home-list-mode > .mall-top h1 {
  margin-top: 1px;
  color: #202020;
  font-size: 17px;
}

html .mall-home.mall-home-list-mode > .mall-top .cart-pill {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid #242424;
  border-radius: 6px;
  background: #242424;
  color: #ffffff;
  font-size: 12px;
}

html .mall-home.mall-home-list-mode > .mall-banner.mall-store-carousel::after {
  content: none !important;
}

html .mall-home.mall-home-list-mode .mall-sign-slide {
  position: absolute;
  inset: 0;
  min-height: 164px;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 420ms ease, transform 3.6s ease;
}

html .mall-home.mall-home-list-mode .mall-sign-slide.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

html .mall-home.mall-home-list-mode .mall-sign-slide > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  background: #ffffff;
}

html .mall-home.mall-home-list-mode .mall-sign-slide::after {
  content: none;
}

html .mall-home.mall-home-list-mode .mall-sign-copy {
  display: none;
}

html .mall-home.mall-home-list-mode .mall-sign-copy small {
  width: max-content;
  border-left: 3px solid currentColor;
  padding-left: 6px;
  color: #ff9387;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.15;
}

html .mall-home.mall-home-list-mode .mall-sign-slide:nth-child(2) .mall-sign-copy small {
  color: #f4c34f;
}

html .mall-home.mall-home-list-mode .mall-sign-slide:nth-child(3) .mall-sign-copy small {
  color: #58d6c6;
}

html .mall-home.mall-home-list-mode .mall-sign-copy strong {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0;
}

html .mall-home.mall-home-list-mode .mall-sign-copy em {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.88);
  font-size: 11px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html .mall-home.mall-home-list-mode .mall-sign-dots {
  position: absolute;
  left: 50%;
  bottom: 9px;
  z-index: 3;
  display: flex;
  gap: 5px;
  border-radius: 999px;
  padding: 4px 6px;
  background: rgba(17, 24, 39, 0.26);
  backdrop-filter: blur(4px);
  transform: translateX(-50%);
}

html .mall-home.mall-home-list-mode .mall-sign-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.54);
}

html .mall-home.mall-home-list-mode .mall-sign-dot.is-active {
  width: 18px;
  border-radius: 999px;
  background: #ffffff;
}

html .mall-home.mall-home-list-mode > .mall-category-grid {
  top: 0;
  height: 100%;
  max-height: none;
  border-right: 1px solid #e6dece;
  background: #ffffff;
}

html .mall-home.mall-home-list-mode .mall-category-grid > a {
  min-height: 52px;
  padding-right: 5px;
  padding-left: 8px;
  background: #ffffff;
  color: #26332f;
  font-size: 13px;
}

html .mall-home.mall-home-list-mode .mall-category-grid > a:hover,
html .mall-home.mall-home-list-mode .mall-category-grid > a:focus-visible {
  background: #fff0ed;
  color: #c93e30;
}

html .mall-home.mall-home-list-mode .mall-category-grid > a.is-active,
html .mall-home.mall-home-list-mode .mall-category-grid > a[aria-current="page"] {
  background: #fff0ed;
  color: #c93e30;
}

html .mall-home.mall-home-list-mode .mall-category-grid > a.is-active::before,
html .mall-home.mall-home-list-mode .mall-category-grid > a[aria-current="page"]::before {
  content: none;
}

html .mall-cart-backbar {
  position: sticky;
  top: 0;
  z-index: 12;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-bottom: 1px solid #eadfce;
  background: #ffffff;
}

html .mall-cart-backbar a {
  color: #c93e30;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

html .mall-home.mall-home-list-mode > .section-title {
  min-width: 0;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 2px;
  border-bottom: 1px solid #e7dfcf;
  background: transparent;
}

html .mall-home.mall-home-list-mode > .section-title strong {
  overflow: hidden;
  color: #202020;
  font-size: 15px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html .mall-home.mall-home-list-mode > .section-title > a[hidden] {
  display: none !important;
}

html .mall-home.mall-home-list-mode .mall-list-count {
  flex: 0 0 auto;
  color: #817663;
  font-size: 11px;
}

html .mall-home.mall-home-list-mode > .product-grid {
  min-width: 0;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 8px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 2px 112px 0;
  background: transparent;
  scrollbar-width: none;
}

html .mall-home.mall-home-list-mode > .product-grid::-webkit-scrollbar {
  display: none;
}

html .mall-home.mall-home-list-mode .mall-storefront-state {
  min-height: 220px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  padding: 28px 16px;
  border: 1px solid #ece4d7;
  border-radius: 8px;
  background: #ffffff;
  color: #746c60;
  text-align: center;
}

html .mall-home.mall-home-list-mode .mall-storefront-state strong {
  color: #292620;
  font-size: 14px;
  line-height: 1.45;
}

html .mall-home.mall-home-list-mode .mall-storefront-state span {
  max-width: 190px;
  font-size: 11px;
  line-height: 1.55;
}

html .mall-home.mall-home-list-mode .mall-storefront-state button {
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  padding: 0 16px;
  background: #e54836;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

html .mall-home.mall-home-list-mode .mall-storefront-spinner {
  width: 24px;
  height: 24px;
  border: 2px solid #eadfd1;
  border-top-color: #e54836;
  border-radius: 50%;
  animation: mall-storefront-spin 0.8s linear infinite;
}

@keyframes mall-storefront-spin {
  to { transform: rotate(360deg); }
}

html .mall-home.mall-home-list-mode .mall-product-card {
  min-width: 0;
  min-height: 150px;
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  grid-template-rows: 36px 32px 54px;
  column-gap: 10px;
  row-gap: 3px;
  margin: 0;
  padding: 8px 9px 8px 8px;
  border: 1px solid #ece4d7 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  box-shadow: 0 7px 18px rgba(44, 57, 49, 0.08) !important;
  overflow: hidden !important;
  cursor: default;
}

html .mall-home.mall-home-list-mode .mall-product-card[hidden] {
  display: none !important;
}

html .mall-home.mall-home-list-mode .mall-product-card > .product-img {
  position: relative;
  grid-column: 1;
  grid-row: 1 / 4;
  width: 100px;
  height: 100px;
  display: block;
  overflow: hidden;
  align-self: start;
  border: 0;
  border-radius: 7px;
  background: #ffffff;
  cursor: zoom-in;
  pointer-events: auto;
}

html .mall-home.mall-home-list-mode .mall-product-card > .product-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #ffffff;
}

html .mall-home.mall-home-list-mode .mall-product-card > .product-img .mall-product-stock-badge {
  position: absolute;
  right: 5px;
  bottom: 5px;
  z-index: 1;
  pointer-events: none;
  white-space: nowrap;
}

html .mall-home.mall-home-list-mode .mall-product-card > strong,
html .mall-home.mall-home-list-mode .mall-product-card > p,
html .mall-home.mall-home-list-mode .mall-product-card > div {
  grid-column: 2;
  min-width: 0;
}

html .mall-home.mall-home-list-mode .mall-product-card > strong {
  grid-row: 1;
  align-self: start;
  height: 36px;
  min-height: 36px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
  color: #202020;
}

html .mall-home.mall-home-list-mode .mall-product-card .mall-product-name-km,
html .mall-home.mall-home-list-mode .mall-product-card .mall-product-name-zh {
  display: block;
  min-width: 0;
  overflow: hidden;
  overflow-wrap: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html .mall-home.mall-home-list-mode .mall-product-card .mall-product-name-km {
  color: #202020;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}

html .mall-home.mall-home-list-mode .mall-product-card .mall-product-name-zh {
  color: #777064;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
}

html .mall-home.mall-home-list-mode .mall-product-card > p {
  grid-row: 2;
  height: 32px;
  min-height: 32px;
  margin: 0;
  overflow: hidden;
  color: #7a7468;
  font-size: 11px;
  line-height: 1.35;
  display: grid;
  gap: 2px;
  overflow-wrap: normal;
  white-space: nowrap;
}

html .mall-home.mall-home-list-mode .mall-product-card > p > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html .mall-home.mall-home-list-mode .mall-product-card > div {
  grid-row: 3;
  align-self: end;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 32px;
  align-items: center;
  gap: 4px;
  overflow: visible;
}

html .mall-home.mall-home-list-mode .mall-product-card > div > .mall-effective-price {
  min-width: 0;
  overflow: visible;
  color: #d43d30;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

html .mall-home.mall-home-list-mode .mall-native-add {
  display: none !important;
}

html .mall-home.mall-home-list-mode .mall-inline-stepper {
  justify-self: end;
  width: 83px;
  max-width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 25px minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  box-sizing: border-box;
  border: 1px solid #e54836;
  border-radius: 6px;
  background: #ffffff;
}

html .mall-home.mall-home-list-mode .mall-inline-stepper > button {
  min-width: 0;
  width: 100%;
  min-height: 30px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #e54836;
  color: #ffffff;
  font-size: 16px;
  line-height: 1;
}

html .mall-home.mall-home-list-mode .mall-inline-stepper > .mall-quantity-plus {
  background: #e54836;
}

html .mall-home.mall-home-list-mode .mall-inline-stepper > button:disabled {
  background: #f7d7d2;
  color: #ad463b;
}

html .mall-home.mall-home-list-mode .mall-inline-stepper > button:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px #ffffff;
}

html .mall-home.mall-home-list-mode .mall-inline-stepper > b {
  color: #242424;
  font-size: 12px;
  text-align: center;
}

.mall-product-image-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  padding: 22px;
  background: rgba(12, 12, 12, 0.9);
  cursor: zoom-out;
}

.mall-product-image-modal > img {
  width: min(92vw, 620px);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 8px;
  background: #ffffff;
}

@media (max-width: 390px) {
  html .mall-home.mall-home-list-mode {
    grid-template-columns: 84px minmax(0, 1fr);
    column-gap: 8px;
    padding-right: 6px;
  }

  html .mall-home.mall-home-list-mode > .product-grid {
    gap: 8px;
    padding-right: 0;
    padding-left: 0;
  }

  html .mall-home.mall-home-list-mode .mall-product-card {
    min-height: 150px;
    grid-template-columns: 90px minmax(0, 1fr);
    padding: 7px;
  }

  html .mall-home.mall-home-list-mode .mall-product-card > .product-img {
    width: 90px;
    height: 90px;
  }
}

html.mall-route-cart,
html.mall-route-checkout,
html.mall-route-payment-checkout,
html.mall-route-payment-success,
html.mall-route-payment-failure,
html.mall-route-orders,
html.mall-route-order-detail,
html.mall-route-addresses,
html.mall-route-register {
  --bg: #f7f4ec;
  --card: #fffdf8;
  --ink: #173a32;
  --muted: #756f63;
  --line: #e6dcc8;
  --primary: #e54836;
  --primary-2: #d43d30;
  --green: #e54836;
  --blue: #242424;
  --cyan: #e54836;
  --yellow: #b88a2f;
  --coral: #c35c3d;
  --red: #b84235;
  --radius: 8px;
  --radius-sm: 6px;
  --shadow-sm: 0 6px 16px rgba(40, 50, 43, 0.08);
}

html.mall-route-cart body,
html.mall-route-checkout body,
html.mall-route-payment-checkout body,
html.mall-route-payment-success body,
html.mall-route-payment-failure body,
html.mall-route-orders body,
html.mall-route-order-detail body,
html.mall-route-addresses body,
html.mall-route-register body {
  background: #f7f4ec !important;
}

html.mall-route-cart .mobile-shell,
html.mall-route-checkout .mobile-shell,
html.mall-route-payment-checkout .mobile-shell,
html.mall-route-payment-success .mobile-shell,
html.mall-route-payment-failure .mobile-shell,
html.mall-route-orders .mobile-shell,
html.mall-route-order-detail .mobile-shell,
html.mall-route-addresses .mobile-shell,
html.mall-route-register .mobile-shell {
  background: #f7f4ec !important;
}

html.mall-route-cart .app-head,
html.mall-route-checkout .app-head,
html.mall-route-payment-checkout .app-head,
html.mall-route-payment-success .app-head,
html.mall-route-payment-failure .app-head,
html.mall-route-orders .app-head,
html.mall-route-order-detail .app-head,
html.mall-route-addresses .app-head,
html.mall-route-register .app-head {
  border-bottom-color: #e6dcc8;
  background: rgba(255, 253, 248, 0.96);
}

html.mall-route-cart .app-head p,
html.mall-route-checkout .app-head p,
html.mall-route-payment-checkout .app-head p,
html.mall-route-payment-success .app-head p,
html.mall-route-payment-failure .app-head p,
html.mall-route-orders .app-head p,
html.mall-route-order-detail .app-head p,
html.mall-route-addresses .app-head p,
html.mall-route-register .app-head p {
  color: #d43d30;
}

html.mall-route-cart .app-head h1,
html.mall-route-checkout .app-head h1,
html.mall-route-payment-checkout .app-head h1,
html.mall-route-payment-success .app-head h1,
html.mall-route-payment-failure .app-head h1,
html.mall-route-orders .app-head h1,
html.mall-route-order-detail .app-head h1,
html.mall-route-addresses .app-head h1,
html.mall-route-register .app-head h1 {
  color: #173a32;
}

html.mall-route-cart .card,
html.mall-route-checkout .card,
html.mall-route-payment-checkout .card,
html.mall-route-payment-success .card,
html.mall-route-payment-failure .card,
html.mall-route-orders .card,
html.mall-route-order-detail .card,
html.mall-route-addresses .card,
html.mall-route-register .card {
  border-color: #e6dcc8;
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 6px 16px rgba(40, 50, 43, 0.08);
}

html.mall-route-cart button,
html.mall-route-cart .button-link,
html.mall-route-checkout button,
html.mall-route-checkout .button-link,
html.mall-route-payment-checkout button,
html.mall-route-payment-success button,
html.mall-route-payment-failure button,
html.mall-route-orders button,
html.mall-route-order-detail button,
html.mall-route-order-detail .button-link,
html.mall-route-addresses button,
html.mall-route-addresses .button-link,
html.mall-route-register button,
html.mall-route-register .button-link {
  border-radius: 6px;
  background: #e54836;
  box-shadow: none;
}

html.mall-route-cart button.secondary,
html.mall-route-cart .button-link,
html.mall-route-checkout button.secondary,
html.mall-route-checkout .button-link,
html.mall-route-payment-checkout button.secondary,
html.mall-route-payment-success button.secondary,
html.mall-route-payment-failure button.secondary,
html.mall-route-orders button.secondary,
html.mall-route-order-detail button.secondary,
html.mall-route-order-detail .button-link,
html.mall-route-addresses button.secondary,
html.mall-route-addresses .button-link,
html.mall-route-register button.secondary,
html.mall-route-register .button-link {
  border: 1px solid #b9cbbf;
  background: #fffdf8;
  color: #d43d30;
}

html.mall-route-cart button.danger-btn,
html.mall-route-order-detail button.danger-btn,
html.mall-route-addresses button.danger-btn {
  border-color: #b84235;
  background: #b84235;
  color: #ffffff;
}

html.mall-route-cart input,
html.mall-route-cart select,
html.mall-route-checkout input,
html.mall-route-checkout select,
html.mall-route-payment-checkout input,
html.mall-route-orders input,
html.mall-route-addresses input,
html.mall-route-addresses select,
html.mall-route-register input,
html.mall-route-register select {
  border-color: #ddd2bd;
  border-radius: 6px;
  background: #ffffff;
}

html.mall-route-cart .mobile-shell > main > section.stack > article.card.row {
  min-height: 92px;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 6px 10px;
  padding: 10px;
}

html.mall-route-cart .mall-transaction-thumb {
  grid-column: 1;
  grid-row: 1 / 3;
  width: 68px;
  height: 68px;
  border-radius: 6px;
  background: #f0ede5;
  object-fit: cover;
}

html.mall-route-cart .mobile-shell > main > section.stack > article.card.row > div:first-of-type,
html.mall-route-cart .mobile-shell > main > section.stack > article.card.row > .mini-actions {
  grid-column: 2;
  min-width: 0;
}

html.mall-route-cart .mini-actions {
  grid-template-columns: 30px 24px 30px 38px;
  justify-content: end;
  gap: 6px;
}

html.mall-route-cart .mini-actions button {
  min-height: 30px;
  border-radius: 6px;
}

html.mall-route-checkout .mobile-shell > main > section.stack > article.card.row {
  min-height: 74px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
}

html.mall-route-checkout .mall-transaction-thumb {
  width: 58px;
  height: 58px;
  border-radius: 6px;
  background: #f0ede5;
  object-fit: cover;
}

html.mall-route-checkout .pay-method {
  border-radius: 6px;
  background: #ffffff;
  color: #173a32;
}

html.mall-route-checkout .pay-method.active {
  border-color: #e54836;
  background: #fff0ed;
  box-shadow: inset 0 0 0 1px #e54836;
}

html.mall-route-payment-success .success,
html.mall-route-payment-failure .success {
  min-height: 250px;
  padding: 28px 20px;
}

html.mall-route-payment-success .success::before,
html.mall-route-payment-failure .success::before {
  content: "\2713";
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  border-radius: 50%;
  background: #e54836;
  color: #ffffff;
  font-size: 30px;
  font-weight: 900;
}

html.mall-route-payment-failure .success::before,
html.mall-route-payment-success .success.failure::before {
  content: "!";
  background: #b84235;
}

html.mall-route-payment-success .mobile-shell > main > .stack > .actions,
html.mall-route-payment-failure .mobile-shell > main > .stack > .actions,
html.mall-route-payment-checkout .mobile-shell > main > .stack > .actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

html.mall-route-payment-success .mobile-shell > main > .stack > .actions > a,
html.mall-route-payment-success .mobile-shell > main > .stack > .actions button,
html.mall-route-payment-failure .mobile-shell > main > .stack > .actions > a,
html.mall-route-payment-failure .mobile-shell > main > .stack > .actions button,
html.mall-route-payment-checkout .mobile-shell > main > .stack > .actions > a,
html.mall-route-payment-checkout .mobile-shell > main > .stack > .actions button {
  width: 100%;
}

html.mall-route-orders .mall-order-filters {
  position: sticky;
  top: 73px;
  z-index: 7;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid #e6dcc8;
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.97);
}

html.mall-route-orders .mall-order-filters button {
  min-width: 0;
  min-height: 40px;
  padding: 0 3px;
  border: 0;
  border-right: 1px solid #ece4d5;
  border-radius: 0;
  background: transparent;
  color: #746e63;
  font-size: 11px;
  white-space: nowrap;
}

html.mall-route-orders .mall-order-filters button:last-child {
  border-right: 0;
}

html.mall-route-orders .mall-order-filters button.is-active {
  background: #e54836;
  color: #ffffff;
}

html.mall-route-orders article.card[hidden] {
  display: none !important;
}

@media (max-width: 360px) {
  html.mall-route-cart .mobile-shell > main > section.stack > article.card.row {
    grid-template-columns: 60px minmax(0, 1fr);
    column-gap: 8px;
  }

  html.mall-route-cart .mall-transaction-thumb {
    width: 60px;
    height: 60px;
  }

  html.mall-route-checkout .mobile-shell > main > section.stack > article.card.row {
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 8px;
  }

  html.mall-route-checkout .mall-transaction-thumb {
    width: 52px;
    height: 52px;
  }
}
.rider-app .map:not(.google) > .gm-style,
.rider-app .map:not(.google) > .gm-err-container {
  display: none !important;
}

.rider-app .map > .pin {
  position: absolute !important;
  z-index: 2;
  display: grid !important;
  place-items: center;
  width: 42px !important;
  min-width: 42px !important;
  max-width: 42px !important;
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  transform: translate(-50%, -50%);
  border: 2px solid #fff !important;
  border-radius: 999px !important;
  padding: 0 8px !important;
  background: #ff7a1a !important;
  color: #fff !important;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(255, 122, 26, 0.25) !important;
}

.rider-app .map > .map-empty {
  position: absolute;
  top: 10px;
  right: 12px;
  left: 12px;
  z-index: 3;
  margin: 0;
  color: #6b5d44;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.rider-app .route-lock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 2px 0 10px;
  padding: 10px 12px;
  border: 1px solid #d7e7e1;
  border-radius: 8px;
  background: #f4faf7;
  color: #245e50;
}

.rider-app .route-lock strong {
  font-size: 13px;
}

.rider-app .route-lock small {
  color: #5f746d;
  font-size: 11px;
  text-align: right;
}

.rider-app .route-lock.compact {
  justify-content: flex-start;
  margin: 8px 0 0;
  padding: 8px 10px;
}

.rider-app .tabs {
  position: static;
  left: auto;
  bottom: auto;
  z-index: auto;
  width: 100%;
  display: flex;
  grid-template-columns: none;
  transform: none;
  overflow-x: auto;
  border: 0;
  border-radius: 0;
  padding: 2px 0 10px;
  background: transparent;
  box-shadow: none;
}

.rider-app .tabs button {
  flex: 0 0 auto;
}

.rider-app .home-header.rider-visual {
  min-height: 196px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  align-content: end !important;
  align-items: end !important;
  overflow: hidden;
  gap: 0 !important;
  border: 1px solid rgba(212, 175, 55, 0.42) !important;
  border-radius: 8px !important;
  padding: 18px !important;
  background:
    linear-gradient(180deg, rgba(7, 47, 39, 0.05) 0%, rgba(7, 47, 39, 0.42) 42%, rgba(7, 47, 39, 0.96) 100%),
    url("/mall-app/khmer-mobile/assets/module-previews/06-rider-preview.png") center 20% / cover no-repeat !important;
  box-shadow: 0 8px 20px rgba(27, 61, 51, 0.14) !important;
}

.rider-app .home-header.rider-visual > div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.rider-app .home-header.rider-visual h1 {
  margin: 0 !important;
  overflow: hidden;
  color: #ffffff;
  font-size: 20px !important;
  line-height: 1.25;
  text-overflow: ellipsis;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.34);
  white-space: nowrap;
}

.rider-app .home-header.rider-visual p {
  display: -webkit-box;
  margin: 0 !important;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.94);
  font-size: 12px !important;
  line-height: 1.45;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.38);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.rider-app .home-header.rider-visual .start-btn {
  min-height: 44px;
  margin-top: 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  border-radius: 7px !important;
  background: #ffffff !important;
  color: #075c4c !important;
  box-shadow: 0 5px 14px rgba(0, 35, 28, 0.2) !important;
}

.finance-app {
  background: #f3f6f5 !important;
  color: #173a32 !important;
}

.finance-app .topbar {
  background: #075c4c !important;
  box-shadow: 0 2px 10px rgba(7, 92, 76, 0.2);
}

.finance-app .topbar > button:not(.back-btn) {
  border-radius: 7px !important;
  color: #075c4c !important;
}

.finance-app .summary div,
.finance-app .driver-card,
.finance-app .customer-card {
  border-color: #dfe7e3 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.finance-app .search input {
  border-color: #d9c47d !important;
  background: #fffaf0 !important;
}

.finance-app .search button,
.finance-app .bottom-action button {
  background: #0f6d59 !important;
}

.finance-app .search button:disabled,
.finance-app .bottom-action button:disabled {
  background: #dce4e1 !important;
  color: #ffffff !important;
}

.finance-app .bottom-action .close-btn {
  background: #e8efec !important;
  color: #334155 !important;
}

.finance-app .driver-main b,
.finance-app .customer-line b {
  color: #0f6d59 !important;
}

.finance-app .subbar button,
.finance-app .tools a {
  background: #edf7f3 !important;
  color: #0f6d59 !important;
}

.finance-app .customer-card.active {
  border-color: #0f6d59 !important;
  box-shadow: inset 3px 0 #0f6d59 !important;
}

.workflow-mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 2500;
  width: min(480px, 100vw);
  min-height: 100dvh;
  margin: 0 auto;
  overflow-y: auto;
  background: #f5f7f8;
  color: #20262d;
}

.workflow-mobile-overlay > header {
  position: sticky;
  top: 0;
  z-index: 2;
  min-height: 58px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid #dce2e5;
  padding: 8px 12px;
  background: #ffffff;
}

.workflow-mobile-overlay > header > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.workflow-mobile-overlay > header strong {
  font-size: 17px;
}

.workflow-mobile-overlay > header span {
  overflow: hidden;
  color: #727b84;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workflow-back {
  width: 34px;
  height: 34px;
  border: 1px solid #dce2e5;
  border-radius: 50%;
  background: #ffffff;
  color: #26313a;
  font-size: 25px;
  line-height: 1;
}

.workflow-form {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.business-customer-create-overlay {
  overscroll-behavior: contain;
  padding-bottom: var(--workflow-keyboard-inset, 0px);
}

.business-customer-create-overlay .workflow-form {
  padding-bottom: calc(28px + env(safe-area-inset-bottom));
}

.business-customer-create-overlay .workflow-primary {
  scroll-margin-bottom: calc(24px + var(--workflow-keyboard-inset, 0px));
}

.workflow-form label {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.workflow-form label > span {
  color: #505a63;
  font-size: 12px;
  font-weight: 800;
}

.workflow-form input,
.workflow-form textarea,
.workflow-form select {
  width: 100%;
  min-width: 0;
  border: 1px solid #ccd5da;
  border-radius: 7px;
  padding: 11px 12px;
  background: #ffffff;
  color: #20262d;
  font: inherit;
  box-sizing: border-box;
}

.workflow-form input:invalid,
.workflow-form textarea:invalid,
.workflow-form select:invalid {
  border-color: #d99a8f;
  box-shadow: 0 0 0 2px rgba(191, 72, 54, .08);
}

.workflow-form input:focus,
.workflow-form textarea:focus,
.workflow-form select:focus {
  outline: 2px solid rgba(23, 107, 88, .2);
  outline-offset: 1px;
}

.workflow-form select {
  appearance: auto;
  min-height: 43px;
}

.workflow-form input[type="file"] {
  padding: 8px;
}

.workflow-form img[data-shop-preview] {
  width: 100%;
  max-height: 190px;
  object-fit: cover;
  border: 1px solid #dce2e5;
  border-radius: 7px;
}

.workflow-coordinate-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.workflow-locate,
.workflow-primary,
.workflow-order-customer {
  min-height: 43px;
  border: 0;
  border-radius: 7px;
  padding: 9px 12px;
  font-weight: 800;
}

.workflow-locate {
  border: 1px solid #b9cbc4;
  background: #f0f7f4;
  color: #17634f;
}

.workflow-primary,
.workflow-order-customer {
  background: #0f6d59;
  color: #ffffff;
}

.workflow-form-message,
.workflow-loading,
.workflow-error,
.workflow-empty {
  margin: 0;
  padding: 12px;
  color: #727b84;
  text-align: center;
}

.workflow-error,
.workflow-form-message:not(:empty) {
  color: #a33c43;
}

.map-customer-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.map-customer-actions button,
.map-customer-actions a {
  min-height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  padding: 8px 10px;
  background: #0f6d59;
  color: #ffffff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.map-customer-actions .map-customer-navigation {
  border: 1px solid #b9cbc4;
  background: #f0f7f4;
  color: #17634f;
}

.map-customer-actions .map-customer-navigation[disabled] {
  cursor: not-allowed;
  opacity: .55;
}

.customer-map .fallback-pin.is-selected {
  border-color: #ffffff;
  background: #d92d20;
  box-shadow: 0 0 0 3px rgba(217, 45, 32, .22), 0 3px 9px rgba(103, 24, 18, .3);
  transform: translate(-50%, -50%) scale(1.12);
}

.business-customer-detail-overlay > main,
.rider-payment-overlay > main {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.workflow-customer-head {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.workflow-customer-head img,
.workflow-rider-shop-sign,
.finance-receivable-list article > img,
.workflow-shop-placeholder {
  width: 104px;
  height: 88px;
  border: 1px solid #dce2e5;
  border-radius: 7px;
  object-fit: cover;
  background: #eef2f3;
}

.workflow-shop-placeholder {
  display: grid;
  place-items: center;
  color: #758087;
  font-weight: 800;
}

.workflow-customer-head h2 {
  margin: 0 0 6px;
  font-size: 19px;
}

.workflow-customer-head a,
.workflow-customer-head p {
  display: block;
  margin: 5px 0 0;
  color: #59636b;
  font-size: 13px;
  line-height: 1.45;
}

.workflow-debt,
.business-outstanding-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: center;
  border: 1px solid #efd6ae;
  border-radius: 7px;
  padding: 11px 12px;
  background: #fff9ed;
}

.workflow-debt strong,
.business-outstanding-banner strong {
  color: #a45c15;
  font-size: 21px;
}

.business-outstanding-banner {
  margin: 8px 12px 0;
}

.business-outstanding-banner small {
  grid-column: 1 / -1;
  color: #8b704f;
}

.workflow-customer-actions {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 8px;
}

.workflow-customer-actions > a,
.workflow-customer-actions > span {
  min-height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid #cbd6da;
  border-radius: 7px;
  padding: 8px;
  background: #ffffff;
  color: #2f596c;
  text-align: center;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

.workflow-customer-actions > .workflow-primary-navigation {
  grid-column: 1 / -1;
  border-color: #0f806b;
  background: #0f806b;
  color: #ffffff;
  font-size: 14px;
}

.workflow-navigation-links {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
}

.workflow-navigation-links > a {
  flex: 1;
  min-height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid #cbd6da;
  border-radius: 7px;
  background: #ffffff;
  color: #2f596c;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.workflow-history > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.workflow-history > header span {
  color: #737d85;
  font-size: 12px;
}

.workflow-history > article {
  display: grid;
  gap: 5px;
  border-top: 1px solid #e0e5e8;
  padding: 10px 0;
}

.workflow-history article > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.workflow-history article b {
  color: #0f6d59;
}

.workflow-history article span,
.workflow-history article small {
  color: #69737b;
  line-height: 1.4;
}

.workflow-order-meta {
  border-top: 1px dashed #d7dde1;
  margin-top: 7px;
  padding-top: 7px;
  color: #17634f !important;
  font-weight: 800;
}

.workflow-rider-shop-sign {
  width: 100%;
  height: 154px;
  margin: 9px 0;
}

.workflow-rider-customer-card {
  display: grid;
  grid-template-columns: minmax(112px, 38%) minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  margin: 10px 0;
  padding: 10px;
  border: 1px solid #d7e2dd;
  border-radius: 9px;
  background: #f8fcfa;
}

.workflow-rider-shop-sign-wrap {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.workflow-rider-shop-sign-trigger {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #eef4f1;
  cursor: zoom-in;
  overflow: hidden;
}

.workflow-rider-shop-sign-trigger:focus-visible {
  outline: 2px solid #0f6d59;
  outline-offset: 2px;
}

.workflow-rider-customer-card .workflow-rider-shop-sign {
  width: 100%;
  height: 112px;
  display: block;
  margin: 0;
  object-fit: cover;
}

.workflow-rider-shop-sign-hint {
  color: #60756c;
  font-size: 10px;
  line-height: 1.3;
  text-align: center;
}

.workflow-rider-customer-info {
  min-width: 0;
  display: grid;
  gap: 6px;
  align-content: start;
  padding-top: 2px;
}

.workflow-rider-customer-info > strong {
  overflow: hidden;
  color: #1e3f35;
  font-size: 16px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workflow-rider-customer-info > a {
  width: fit-content;
  color: #0f6d59;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.workflow-rider-customer-info > small,
.workflow-rider-missing-contact {
  color: #68766f;
  font-size: 11px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.workflow-rider-missing-contact {
  color: #a15a45;
}

.workflow-rider-shop-sign-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 14px;
  box-sizing: border-box;
}

.workflow-rider-shop-sign-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 15, 0.86);
}

.workflow-rider-shop-sign-panel {
  position: relative;
  z-index: 1;
  width: min(94vw, 760px);
  max-height: 92vh;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 10px;
  overflow: hidden;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  background: #14221e;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.workflow-rider-shop-sign-large {
  width: 100%;
  max-height: 78vh;
  display: block;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 120ms ease;
  cursor: grab;
  user-select: none;
}

.workflow-rider-shop-sign-large:active {
  cursor: grabbing;
}

.workflow-rider-shop-sign-toolbar {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.workflow-rider-shop-sign-toolbar button {
  min-width: 38px;
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 7px;
  padding: 5px 9px;
  background: #203b32;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
}

.workflow-rider-shop-sign-toolbar button:focus-visible {
  outline: 2px solid #bce5d5;
  outline-offset: 2px;
}

.workflow-rider-shop-sign-toolbar span {
  min-width: 48px;
  color: #d8eee5;
  font-size: 12px;
  text-align: center;
}

.workflow-rider-shop-sign-toolbar .workflow-rider-shop-sign-close {
  margin-left: 5px;
  background: #9b443d;
  font-size: 22px;
  line-height: 1;
}

@media (max-width: 390px) {
  .workflow-rider-customer-card {
    grid-template-columns: 98px minmax(0, 1fr);
    gap: 9px;
    padding: 8px;
  }

  .workflow-rider-customer-card .workflow-rider-shop-sign {
    height: 96px;
  }

  .workflow-rider-customer-info > strong {
    font-size: 14px;
  }

  .workflow-rider-customer-info > a {
    font-size: 13px;
  }
}

.rider-payment-options {
  display: grid;
  gap: 9px;
}

.rider-payment-options button {
  min-height: 76px;
  display: grid;
  gap: 5px;
  border: 1px solid #cad5d9;
  border-radius: 7px;
  padding: 12px;
  background: #ffffff;
  color: #253039;
  text-align: left;
}

.rider-payment-options button:first-child {
  border-color: #a9cec0;
  background: #eff8f4;
}

.rider-payment-options button:last-child {
  border-color: #edcfaa;
  background: #fff8ec;
}

.rider-payment-options button span {
  color: #69737b;
  font-size: 12px;
}

.finance-workflow-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-bottom: 1px solid #dce2e5;
  padding: 8px 12px;
  background: #ffffff;
}

.finance-workflow-tabs button {
  min-height: 38px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #68727a;
  font-weight: 800;
}

.finance-workflow-tabs button.active {
  border-bottom-color: #0f6d59;
  color: #0f6d59;
}

.finance-daily-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid #dce2e5;
  background: #f7faf9;
}

.finance-daily-strip > div {
  min-width: 0;
  display: grid;
  gap: 3px;
  border-right: 1px solid #dce2e5;
  padding: 9px 6px;
  text-align: center;
}

.finance-daily-strip > div:last-child {
  border-right: 0;
}

.finance-daily-strip span {
  color: #6f7980;
  font-size: 10px;
}

.finance-daily-strip strong {
  overflow: hidden;
  color: #26313a;
  font-size: 15px;
  text-overflow: ellipsis;
}

.finance-app.finance-receivable-mode > :not(.topbar):not(.finance-workflow-tabs):not(.finance-daily-strip):not(.finance-receivables-panel) {
  display: none !important;
}

.finance-receivables-panel {
  display: grid;
  gap: 11px;
  padding: 12px;
}

.finance-receivable-list {
  display: grid;
  gap: 8px;
}

.finance-receivable-list article {
  min-width: 0;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: start;
  border: 1px solid #dce2e5;
  border-radius: 7px;
  padding: 9px;
  background: #ffffff;
}

.finance-receivable-list article > img,
.finance-receivable-list article > .workflow-shop-placeholder {
  width: 72px;
  height: 64px;
}

.finance-receivable-list article > div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.finance-receivable-list article span,
.finance-receivable-list article small {
  overflow: hidden;
  color: #707a82;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.finance-receivable-list aside {
  display: grid;
  gap: 6px;
  justify-items: end;
}

.finance-receivable-list aside b {
  color: #a45c15;
}

.finance-receivable-list aside a,
.finance-receivable-list aside button {
  border: 0;
  border-radius: 5px;
  padding: 6px 8px;
  background: #eef5f2;
  color: #0f6d59;
  text-decoration: none;
  font-size: 10px;
  font-weight: 800;
}

.mall-route-payment-checkout .payment-checkout .copy-box {
  display: grid;
  justify-items: center;
  gap: 12px;
  border-color: #d5dde0;
  background: #ffffff;
}

.mall-payment-qr {
  width: min(260px, 74vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #dce2e5;
  border-radius: 8px;
  padding: 12px;
  background: #ffffff;
}

.mall-payment-qr img,
.mall-payment-qr svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

html.mall-route-checkout .pay-methods {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

html.mall-route-payment-checkout,
html.mall-route-payment-checkout body,
html.mall-route-payment-checkout .mobile-shell {
  background: #f4f6f8 !important;
}

html.mall-route-payment-checkout .app-head {
  border-bottom-color: #e3e7ec;
  background: rgba(255, 255, 255, 0.97);
}

html.mall-route-payment-checkout .app-head p {
  color: #c51f2f;
}

html.mall-route-payment-checkout .app-head h1 {
  color: #1c2430;
}

html.mall-route-payment-checkout .payment-checkout {
  width: min(100%, 520px);
  margin: 0 auto;
}

html.mall-route-payment-checkout .payment-checkout > .card {
  border-color: #e1e6eb;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(24, 34, 48, 0.08);
}

html.mall-route-payment-checkout .pay-head span {
  width: 58px;
  height: 58px;
  border-radius: 0;
  background: transparent url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAOdEVYdFNvZnR3YXJlAEZpZ21hnrGWYwAAA7dJREFUeAHtmVtIFGEUx8/35a5Rq25RUVY65kO7QZZdKarNoIIgq32IIDSDgnwQuxERScF2wwisoHroYpnQSzcfCgpazYcQyqwejCAcxRskuLaZ953OObrrrliODcg87F9G5/vOmXN+c873jeysgKB2HrZb4235mgYbQWgKgFBgQqWpoAkVIHC/r+RCcXBW8O89JxWL1eJFJwVMIaH29fZlwKNLKgNasgvqzAMXFEJKf/okS9apHBAiB8wne4xm7ZEayH1gUuF+cEkhzNbaMAmhyInfreORRoDmVhRwLHm+VcPV2qq/2mNAp5Jn2CF7XTp8amiFsuraCFvmMicsSZodGn9uaIEa9Ktv80X40fUU5/qrd+D73c1z8QN9ML+rEwwDuhwpULBrEweelXt+BKADMpcvQvgWHpMfna8suBHhR/MESDEIUo90t5iCP/9QC/Ypk2EDwo4UAW2+eJcPz9M3WNE5EfZg9ShG5nJnaD7fuRrcyzaBIUBKFmxNxdc6hM0Y1ef2ATcfeVvXwoPKjxF2qjBdSzGoG6Pd5H8D5m1dw+vpLSYowwoQDFUyXB3Ytvq2dj7o3OVMCfnQzdEyKEFoiuFju6IntT5AumNK0nvfA1f2buPEWdiycKkI5nnm5eN46Qv2Txtqs2uoWrcPujkGXZ+3Za2e1GNvEpdD4WTHMCntYBK1mNZR+EIPtpi0NHlwR1M1SVnr03mNHit9yWOKdwdhqc1UUUOAaUmJvLDDYUoq7ZyUKuHj1nYwQPJMO9tr6lvhKMLQsgi22fPUGwGTjdfTo2ksQGHJPq2BiRX9V2dUUUCjigIaVRTQqER9alr0QW1EUUCj0v2ZhJRY/hJat++GhPxD0PXaC7GrV0B31XvowWOqO5PfldncO6C/qYn9ZVwc9De2QMe1mzC90INmDX8E+M4Vok+zrpzjruCMW0XQ+biMwUixTgeDWhc5eExwv9BOaj93GWSCjW/IX/wQfuQeYTj76RO6840LUMbH8d/wbS/ibRAzNxGrZYvwi121EibNSwyNB7Bi5EfynS8EvZL4BknV6xz46Ye23MMwDStgcS7kOapk55PhilILrWjrfPIcYhDQf680Iga1GvQ/2FTRkLrYi0E36vGmhP2NzaHzQId/ENzv5/UWlEwYPid/spHPaHH+JVyx5aJuQdpZKeAMmFC4qfZLCMgiGEebJ1Bq0vcvxTJFrfEFAjLDZJBqYEDy2wERPluXujgHJ/bh1wGKEKDABIo3q9BUTYgK6JdFVDia/wO8DHZt3++3bgAAAABJRU5ErkJggg==") center / 40px 40px no-repeat;
  color: transparent;
  font-size: 0;
  box-shadow: none;
}

html.mall-route-payment-checkout .pay-head strong,
html.mall-route-payment-checkout .pay-amount {
  color: #1c2430;
}

html.mall-route-payment-checkout .pay-amount {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

html.mall-route-payment-checkout .payment-checkout .copy-box {
  border-color: #b8d8c8;
  background: #f7fbf9;
}

html.mall-route-payment-checkout .payment-checkout .copy-box code {
  display: none !important;
}

html.mall-route-payment-checkout .mall-payment-qr {
  width: min(272px, 76vw);
  border-color: #cfd8d3;
  box-shadow: 0 6px 18px rgba(20, 65, 45, 0.08);
}

html.mall-route-payment-checkout .payment-checkout > .actions button:first-child {
  background: #c51f2f;
}

html.mall-route-payment-checkout .payment-checkout > .actions button.secondary {
  border-color: #cfd6de !important;
  background: #ffffff !important;
  color: #253143 !important;
}

@media (max-width: 380px) {
  .workflow-coordinate-row,
  .workflow-customer-actions {
    grid-template-columns: 1fr;
  }

  .workflow-customer-head {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .workflow-customer-head img,
  .workflow-customer-head .workflow-shop-placeholder {
    width: 84px;
    height: 76px;
  }

  .finance-receivable-list article {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .finance-receivable-list aside {
    grid-column: 1 / -1;
    grid-template-columns: auto auto auto;
    align-items: center;
    justify-content: end;
  }
}

.business-app .home > .home-header,
.biz-order .home > .home-header,
.warehouse-app .home > .home-header,
.rider-app .home > .home-header {
  display: none !important;
}

.role-performance-card {
  min-width: 0;
  display: grid;
  gap: 11px;
  margin: 0 0 12px;
  border: 1px solid #dce5e1;
  border-top: 3px solid #0f6d59;
  border-radius: 8px;
  padding: 13px 14px 10px;
  background: #ffffff;
  color: #1d2925;
  box-shadow: 0 7px 18px rgba(22, 55, 46, 0.08);
}

.finance-app > .role-performance-card {
  margin: 12px 12px 10px;
}

.role-performance-card > header {
  min-width: 0;
  display: flex;
  gap: 10px;
  align-items: start;
  justify-content: space-between;
}

.role-performance-card > header > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.role-performance-card > header small {
  color: #b6453d;
  font-size: 10px;
  font-weight: 800;
}

.role-performance-card > header strong {
  color: #16352d;
  font-size: 18px;
  line-height: 1.25;
}

.role-performance-card > header span {
  overflow: hidden;
  color: #74817c;
  font-size: 11px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.role-performance-refresh {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #d5dfdb;
  border-radius: 50%;
  padding: 0;
  background: #f7faf9;
  color: #0f6d59;
  font-size: 20px;
  line-height: 1;
}

.role-performance-refresh:disabled,
.role-performance-card.is-loading .role-performance-refresh {
  cursor: wait;
  opacity: 0.5;
}

.role-performance-card > nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
  border-radius: 7px;
  padding: 3px;
  background: #edf3f1;
}

.role-performance-card > nav button {
  min-height: 31px;
  border: 0;
  border-radius: 5px;
  padding: 0 8px;
  background: transparent;
  color: #66736e;
  font-size: 12px;
  font-weight: 750;
}

.role-performance-card > nav button.active {
  background: #ffffff;
  color: #0f6d59;
  box-shadow: 0 2px 6px rgba(28, 64, 54, 0.1);
}

.role-performance-metrics {
  min-height: 94px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.role-performance-metrics > div {
  min-width: 0;
  display: grid;
  gap: 3px;
  align-content: center;
  padding: 8px 10px;
}

.role-performance-metrics > div:nth-child(odd) {
  border-right: 1px solid #e5ebe8;
}

.role-performance-metrics > div:nth-child(-n + 2) {
  border-bottom: 1px solid #e5ebe8;
}

.role-performance-metrics span {
  color: #76827e;
  font-size: 11px;
}

.role-performance-metrics strong {
  overflow: hidden;
  color: #20302b;
  font-size: 20px;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.role-performance-metrics .is-primary strong {
  color: #c0443b;
}

.role-performance-status {
  grid-column: 1 / -1;
  align-self: center;
  margin: 0;
  color: #78847f;
  text-align: center;
  font-size: 12px;
}

.role-performance-status.is-error {
  color: #a33c43;
}

.role-performance-card > footer {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  border-top: 1px solid #edf1ef;
  padding-top: 8px;
  color: #87918d;
  font-size: 10px;
}

.role-performance-card > footer strong {
  color: #596761;
  font-weight: 750;
}

.role-performance-card > footer.business-route-footer {
  display: grid;
  gap: 5px;
}

.business-route-footer > .business-route-picker {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.business-route-footer > .business-route-picker label {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
}

.business-route-footer > [data-performance-range] {
  justify-self: end;
}

.workflow-customer-map {
  width: 100%;
  height: 210px;
  overflow: hidden;
  border: 1px solid #ccd8d3;
  border-radius: 8px;
  background: #e9efec;
}

.workflow-customer-map > iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.workflow-customer-map[hidden],
.workflow-customer-map-link[hidden] {
  display: none !important;
}

.workflow-customer-map-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #c7d8d1;
  border-radius: 7px;
  background: #ffffff;
  color: #17634f;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

[data-customer-location-status] {
  min-height: 17px;
  color: #67736f;
  font-size: 11px;
  line-height: 1.45;
}

@media (max-width: 360px) {
  .role-performance-card {
    padding-right: 11px;
    padding-left: 11px;
  }

  .role-performance-card > header strong {
    font-size: 17px;
  }

  .role-performance-metrics strong {
    font-size: 18px;
  }

  .workflow-customer-map {
    height: 184px;
  }
}
html .mall-product-card > strong {
  display: grid;
  gap: 2px;
  min-height: 42px;
  line-height: 1.25;
}

html .mall-product-card > strong .mall-product-name-km {
  color: #202020;
  font-size: 13px;
  font-weight: 850;
}

html .mall-product-card > strong .mall-product-name-zh {
  color: #68727a;
  font-size: 11px;
  font-weight: 650;
}

html .mall-product-card > p {
  display: grid;
  gap: 2px;
  margin-top: 6px;
  color: #6f777e;
  font-size: 10px;
  line-height: 1.35;
}

html .mall-product-card > p > span {
  display: block;
}

html .mall-product-card > p .mall-product-wholesale {
  color: #176b52;
  font-weight: 800;
}

html .mall-product-card > p .mall-product-retail {
  color: #d43d30;
  font-weight: 800;
}

html .mall-product-card > p .mall-product-barcode {
  color: #7d858c;
  font-variant-numeric: tabular-nums;
}

html .mall-transaction-metadata {
  display: block;
  margin-top: 3px;
  color: #7d858c;
  font-size: 10px;
  line-height: 1.35;
}

html .mall-product-card .mall-product-stock-badge {
  max-width: calc(100% - 10px);
  border-radius: 999px;
  padding: 3px 7px;
  background: rgba(212, 61, 48, 0.94);
  box-shadow: 0 2px 8px rgba(130, 36, 28, 0.24);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
}

html.business-order-runtime-active .biz-order > .business-catalog-header {
  display: grid;
  gap: 8px;
  padding: 10px 12px 0;
  background: #f7f4ea;
}

html.business-order-runtime-active .business-catalog-banner {
  position: relative;
  display: block;
  min-height: 116px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 12px;
  background: #176b52;
  box-shadow: 0 6px 16px rgba(23, 58, 50, .12);
  color: #fff;
}

html.business-order-runtime-active .business-catalog-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 55, 43, .88), rgba(8, 55, 43, .18));
  pointer-events: none;
}

html.business-order-runtime-active .business-catalog-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .92;
}

html.business-order-runtime-active .business-catalog-banner > div {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 4px;
  min-height: 116px;
  padding: 15px 16px;
}

html.business-order-runtime-active .business-catalog-banner small,
html.business-order-runtime-active .business-catalog-banner span {
  color: rgba(255, 255, 255, .88);
  font-size: 11px;
  line-height: 1.35;
}

html.business-order-runtime-active .business-catalog-banner strong {
  color: #fff;
  font-size: 21px;
  line-height: 1.2;
}

html.business-order-runtime-active .business-catalog-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 34px;
  color: #68756f;
  font-size: 11px;
}

html.business-order-runtime-active .business-catalog-context b {
  color: #176b52;
  font-size: 12px;
}

html.business-order-runtime-active .biz-order > .order-page {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
  background: #f7f4ea;
}

html.business-order-runtime-active .biz-order > .order-page > .search {
  margin: 0 12px 8px;
  min-height: 40px;
  border-color: #decf9d;
  background: #fffdf8;
}

html.business-order-runtime-active .biz-order > .order-page > .split {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
  height: auto;
  overflow: hidden;
  border-top: 1px solid #eadfbd;
}

html.business-order-runtime-active .biz-order > .order-page > .split > .cats {
  display: flex;
  width: 100%;
  height: auto;
  max-height: none;
  overflow-x: auto;
  overflow-y: hidden;
  border-right: 0;
  border-bottom: 1px solid #e5d9b5;
  background: #f8f0d8;
  scrollbar-width: none;
}

html.business-order-runtime-active .biz-order > .order-page > .split > .cats::-webkit-scrollbar {
  display: none;
}

html.business-order-runtime-active .biz-order > .order-page > .split > .cats > div {
  flex: 0 0 auto;
  min-width: 76px;
  min-height: 42px;
  border-right: 1px solid #e5d9b5;
  border-bottom: 3px solid transparent;
  padding: 0 12px;
  color: #554f42;
  white-space: nowrap;
}

html.business-order-runtime-active .biz-order > .order-page > .split > .cats > div.active,
html.business-order-runtime-active .biz-order > .order-page > .split > .cats > div[aria-selected="true"] {
  border-bottom-color: #176b52;
  background: #fffdf8;
  color: #176b52;
  font-weight: 850;
}

html.business-order-runtime-active .biz-order > .order-page > .split > .goods {
  width: 100%;
  height: auto;
  max-height: none;
  overflow-y: auto;
  padding: 10px 12px 160px;
  background: #f7f4ea;
}

html.business-order-runtime-active .biz-order .goods-row {
  min-height: 124px;
  margin-bottom: 8px;
  border: 1px solid #e7dcbf;
  border-radius: 10px;
  background: #fffdf8;
  box-shadow: 0 3px 10px rgba(100, 77, 26, .06);
}

@media (min-width: 700px) {
  html.business-order-runtime-active .biz-order > .business-catalog-header,
  html.business-order-runtime-active .biz-order > .order-page > .search {
    padding-right: 18px;
    padding-left: 18px;
  }
}
/* Workflow controls added outside the compiled mall bundle. */
.business-runtime-active .mobile-shell > .app-head .lang-select {
  display: none !important;
}

.business-language-switch {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 30;
  display: inline-flex;
  flex: 0 0 auto;
  margin-left: auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .52);
  border-radius: 6px;
  background: rgba(255, 255, 255, .12);
}
.business-language-switch-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.biz-order {
  position: relative;
}
.business-language-switch select {
  min-width: 96px;
  height: 32px;
  padding: 0 26px 0 10px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
}
.business-language-switch select:focus {
  outline: 0;
}
.business-language-switch button {
  min-width: 48px;
  height: 32px;
  padding: 0 9px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, .3);
  background: transparent;
  color: inherit;
  font: inherit;
}
.business-language-switch button:last-child { border-right: 0; }
.business-language-switch button.active { background: #fff; color: #153c2f; font-weight: 700; }
.business-location-status { display: block; margin: 4px 14px 0; color: #176b52; font-size: 11px; line-height: 1.4; }
.business-location-status[data-state="loading"] { color: #8a6100; }
.business-location-status[data-state="error"] { color: #b42318; }

html.business-runtime-active .mobile-shell > .app-head {
  display: none !important;
}

html.business-runtime-active .mobile-shell > .app-head > div:first-child > p {
  display: none !important;
}

html.business-runtime-active .mobile-shell > .app-head .lang-select {
  display: none !important;
}

html.business-runtime-active .biz-order > .business-language-switch {
  display: none !important;
}

.business-cart-launcher .business-cart-launcher-icon {
  line-height: 1;
}
.workflow-claim-order {
  width: 100%;
  min-height: 40px;
  margin-top: 10px;
  border: 0;
  border-radius: 6px;
  background: #176b52;
  color: #fff;
  font-weight: 700;
}
.workflow-claim-order:disabled { opacity: .55; }

.warehouse-location-main {
  display: grid;
  gap: 12px;
  padding: 12px;
}

.warehouse-location-toolbar {
  position: sticky;
  top: 58px;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(120px, .8fr) minmax(0, 1.2fr);
  gap: 8px;
  padding: 10px;
  border: 1px solid #dce5e1;
  border-radius: 7px;
  background: #f7faf9;
}

.warehouse-location-toolbar select,
.warehouse-location-toolbar input,
.warehouse-location-editor input,
.warehouse-product-fields input,
.warehouse-loading-toolbar input,
.warehouse-loading-toolbar select {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  box-sizing: border-box;
  border: 1px solid #c8d5cf;
  border-radius: 6px;
  padding: 9px 10px;
  background: #fff;
  color: #20332c;
  font: inherit;
}

[data-warehouse-location-list] {
  display: grid;
  gap: 9px;
}

.warehouse-location-item {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #d7e1dc;
  border-radius: 7px;
  background: #fff;
}

.warehouse-location-head {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px;
}

.warehouse-location-head img,
.warehouse-location-image {
  width: 64px;
  height: 64px;
  border: 1px solid #d7e1dc;
  border-radius: 6px;
  object-fit: cover;
  background: #edf4f1;
}

.warehouse-location-image {
  display: grid;
  place-items: center;
  color: #176b52;
  font-weight: 800;
}

.warehouse-location-head > div {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 3px;
}

.warehouse-location-head strong,
.warehouse-location-head span,
.warehouse-location-head small {
  overflow-wrap: anywhere;
}

.warehouse-location-head span,
.warehouse-location-head small,
.warehouse-location-stock {
  color: #6f7d77;
  font-size: 11px;
}

.warehouse-product-editor {
  border: 1px solid #dce5e1;
  border-radius: 7px;
  background: #f8fbfa;
}

.warehouse-product-editor summary {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 11px;
  color: #176b52;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  list-style: none;
}

.warehouse-product-editor summary::-webkit-details-marker { display: none; }
.warehouse-product-editor summary::after { content: "＋"; margin-left: auto; font-size: 16px; }
.warehouse-product-editor[open] summary::after { content: "－"; }

.warehouse-product-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  padding: 0 10px 10px;
}

.warehouse-product-fields label {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.warehouse-product-fields label span {
  color: #43534c;
  font-size: 11px;
  font-weight: 800;
}

.warehouse-product-save {
  grid-column: 1 / -1;
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  background: #176b52;
  color: #fff;
  font-weight: 800;
}

.warehouse-product-save:disabled { opacity: .55; }

.warehouse-location-editor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px;
}

.warehouse-location-editor label {
  display: grid;
  gap: 5px;
}

.warehouse-location-editor label span {
  color: #43534c;
  font-size: 12px;
  font-weight: 800;
}

.warehouse-location-editor button {
  min-width: 72px;
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  background: #176b52;
  color: #fff;
  font-weight: 800;
}

.warehouse-location-editor button:disabled { opacity: .55; }
.warehouse-image-upload {
  grid-column: 1 / -1;
  display: grid;
  gap: 5px;
  cursor: pointer;
}
.warehouse-image-upload input[type="file"] {
  min-height: 40px;
  padding: 8px;
}
.warehouse-card-count {
  display: block;
  margin-top: 7px;
  color: #176b52;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}
.warehouse-location-item [data-location-message] { min-height: 16px; margin: 0; color: #176b52; font-size: 11px; }

.warehouse-loading-main {
  display: grid;
  gap: 12px;
  padding: 12px;
}

.warehouse-loading-toolbar {
  position: sticky;
  top: 58px;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(135px, .8fr) auto minmax(125px, .8fr) minmax(0, 1.2fr);
  align-items: end;
  gap: 8px;
  padding: 10px;
  border: 1px solid #dce5e1;
  border-radius: 7px;
  background: #f7faf9;
}

.warehouse-loading-toolbar label {
  display: grid;
  gap: 5px;
}

.warehouse-loading-toolbar label span {
  color: #43534c;
  font-size: 11px;
  font-weight: 800;
}

.warehouse-loading-clear {
  min-height: 42px;
  border: 1px solid #c8d5cf;
  border-radius: 6px;
  padding: 0 12px;
  background: #fff;
  color: #176b52;
  font-weight: 800;
}

[data-warehouse-loading-list] {
  display: grid;
  gap: 9px;
}

.warehouse-loading-item {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid #d7e1dc;
  border-radius: 7px;
  background: #fff;
}

.warehouse-loading-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.warehouse-loading-head strong { overflow-wrap: anywhere; }
.warehouse-loading-head b { flex: 0 0 auto; color: #176b52; }
.warehouse-loading-item p { margin: 0; color: #43534c; font-size: 12px; line-height: 1.5; }
.warehouse-loading-item small { color: #6f7d77; line-height: 1.5; overflow-wrap: anywhere; }

@media (max-width: 680px) {
  .warehouse-loading-toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .warehouse-loading-toolbar > input { grid-column: 1 / -1; }
}

@media (max-width: 420px) {
  .warehouse-location-toolbar,
  .warehouse-product-fields,
  .warehouse-loading-toolbar { grid-template-columns: 1fr; }
  .warehouse-product-save,
  .warehouse-loading-toolbar > input { grid-column: auto; }
}

/* Final mobile product-card layout: let every text row keep its line box. */
html .mall-home.mall-home-list-mode > .product-grid {
  grid-auto-rows: max-content;
  padding-bottom: 188px;
}

html .mall-home.mall-home-list-mode .mall-product-card {
  min-height: 164px;
  height: auto;
  grid-template-rows: auto auto auto;
  row-gap: 6px;
  align-items: start;
  overflow: hidden !important;
}

html .mall-home.mall-home-list-mode .mall-product-card > .product-img {
  grid-row: 1 / -1;
  align-self: start;
  aspect-ratio: 1 / 1;
  height: auto;
  min-height: 0;
}

html .mall-home.mall-home-list-mode .mall-product-card > strong {
  height: auto;
  min-height: 0;
  max-height: 52px;
  display: grid;
  grid-template-rows: auto auto;
  align-content: start;
  gap: 3px;
  line-height: 1.3;
}

html .mall-home.mall-home-list-mode .mall-product-card .mall-product-name-km {
  display: -webkit-box;
  max-height: 36px;
  overflow: hidden;
  overflow-wrap: anywhere;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.3;
}

html .mall-home.mall-home-list-mode .mall-product-card .mall-product-name-zh {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html .mall-home.mall-home-list-mode .mall-product-card > p {
  height: auto;
  min-height: 0;
  display: grid;
  grid-template-rows: repeat(4, minmax(0, auto));
  align-content: start;
  gap: 3px;
  overflow: visible;
  white-space: normal;
  line-height: 1.35;
}

html .mall-home.mall-home-list-mode .mall-product-card > p > span {
  min-height: 14px;
  overflow: hidden;
  overflow-wrap: anywhere;
  text-overflow: ellipsis;
  white-space: normal;
  line-height: 1.35;
}

html .mall-home.mall-home-list-mode .mall-product-card > div {
  min-height: 0;
  align-self: end;
  grid-template-rows: auto 34px;
  gap: 6px;
  overflow: visible;
}

html .mall-home.mall-home-list-mode .mall-product-card > div > .mall-effective-price {
  max-width: 100%;
  overflow: hidden;
  overflow-wrap: anywhere;
  text-overflow: ellipsis;
  white-space: normal;
  line-height: 1.35;
}

html .mall-home.mall-home-list-mode .mall-product-card > div > .mall-effective-price {
  display: none !important;
}

html .mall-home.mall-home-list-mode .mall-product-card > div {
  grid-template-rows: 34px;
  gap: 0;
  align-items: end;
}

html .mall-home.mall-home-list-mode .mall-inline-stepper {
  width: 90px;
  min-height: 34px;
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
}

html .mall-home.mall-home-list-mode .mall-inline-stepper > button {
  min-height: 32px;
  font-size: 17px;
}

@media (max-width: 390px) {
  html .mall-home.mall-home-list-mode .mall-product-card {
    grid-template-columns: 78px minmax(0, 1fr);
    column-gap: 8px;
    padding: 8px;
  }

  html .mall-home.mall-home-list-mode .mall-product-card > .product-img {
    width: 78px;
  }
}

html body {
  background: #f5f7f6;
  color: #173a32;
  text-rendering: optimizeLegibility;
}

html .app-head {
  border-bottom: 1px solid #e3ebe7;
  background: rgba(255, 252, 245, 0.96);
  box-shadow: 0 3px 14px rgba(23, 58, 50, 0.06);
  backdrop-filter: blur(10px);
}

html .app-head .head-actions {
  gap: 8px;
}

html button,
html a,
html input,
html select,
html textarea {
  -webkit-tap-highlight-color: transparent;
}

html button:not(:disabled):active {
  transform: translateY(1px);
}

html input:focus,
html select:focus,
html textarea:focus {
  border-color: #3c9b82 !important;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(60, 155, 130, 0.14) !important;
}

html .role-performance-card,
html .workflow-mobile-overlay > header,
html .workflow-mobile-overlay > main,
html .operations-today-overlay > section {
  box-shadow: 0 8px 22px rgba(23, 58, 50, 0.07);
}

html .role-performance-card > header {
  align-items: center;
}

html .role-performance-card > header strong,
html .role-performance-card > header span {
  overflow-wrap: anywhere;
}

html .mall-product-card,
html .goods-row,
html .order-card,
html .robot-card {
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

html .mall-product-card:hover,
html .goods-row:hover,
html .order-card:hover,
html .robot-card:hover {
  border-color: #b9d4ca !important;
  box-shadow: 0 8px 18px rgba(23, 58, 50, 0.08) !important;
}

html .workflow-mobile-overlay {
  background: #f5f7f6;
}

html .workflow-mobile-overlay > header {
  border-bottom: 1px solid #dfe9e4;
  background: rgba(255, 252, 245, 0.98);
}

@media (max-width: 600px) {
  html .app-head {
    min-height: 58px;
    padding: 8px 12px;
  }

  html .role-performance-card {
    margin-bottom: 10px;
    border-radius: 12px;
    padding: 12px;
  }

  html .role-performance-card > nav {
    gap: 4px;
  }

  html .role-performance-card > nav button {
    min-height: 34px;
  }

  html .workflow-mobile-overlay > header {
    min-height: 58px;
    padding: 10px 12px;
  }

  html .workflow-mobile-overlay > main {
    padding: 12px;
  }

  html .mall-home.mall-home-list-mode .mall-product-card:hover,
  html .goods-row:hover,
  html .order-card:hover,
  html .robot-card:hover {
    box-shadow: none !important;
  }
}

html .biz-order .home > .business-route-picker,
html .business-app .home > .business-route-picker {
  width: auto;
  margin: 0 0 12px;
}

html .biz-order .list-tools:has(.business-customer-map-entry),
html .business-app .list-tools:has(.business-customer-map-entry) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 7px;
}

html .biz-order .list-tools:has(.business-customer-list-route-picker),
html .business-app .list-tools:has(.business-customer-list-route-picker) {
  display: block;
}

html .business-customer-list-route-picker {
  margin: 0 0 8px;
}

html .business-customer-map-entry {
  min-height: 38px;
  border: 1px solid #176b58 !important;
  border-radius: 8px;
  padding: 0 11px;
  background: #edf8f4 !important;
  color: #176b58 !important;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

html .business-customer-list-meta {
  display: block;
  margin-top: 3px;
  color: #176b58 !important;
  font-size: 10px !important;
  font-weight: 750;
}

html .biz-order .business-current-route,
html .business-app .business-current-route {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin-left: 7px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  padding: 0 8px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  vertical-align: middle;
}

html .biz-order .business-attendance-card,
html .business-app .business-attendance-card {
  border-color: #b8d7cc !important;
  background: linear-gradient(145deg, #f6fcf9, #edf8f4) !important;
}

html .biz-order .business-attendance-card.is-working,
html .business-app .business-attendance-card.is-working {
  border-color: #efc0bc !important;
  background: linear-gradient(145deg, #fff8f7, #fff0ee) !important;
}

html .biz-order .business-attendance-card .icon,
html .business-app .business-attendance-card .icon {
  color: #176b58;
}

html .biz-order .business-attendance-card.is-working .icon,
html .business-app .business-attendance-card.is-working .icon {
  color: #c0443b;
}

html.business-order-runtime-active .biz-order > .business-route-picker,
html.business-order-runtime-active .business-app > .business-route-picker {
  display: none !important;
}

html.business-order-runtime-active .biz-order .split {
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  flex: 1 1 auto;
}

html.business-order-runtime-active .biz-order .split > .cats,
html.business-order-runtime-active .biz-order .split > .goods {
  top: auto !important;
  height: 100% !important;
  max-height: 100% !important;
}

html.business-order-runtime-active .biz-order .split > .cats {
  position: relative !important;
}

html.business-order-runtime-active .biz-order > .order-page {
  position: relative !important;
  isolation: isolate;
  overflow: hidden !important;
}

html.business-order-runtime-active .biz-order > .order-page > .search {
  position: relative !important;
  z-index: 2;
  display: block !important;
  flex: 0 0 auto !important;
}

html.business-order-runtime-active .biz-order > .bar {
  position: relative !important;
  top: auto !important;
}

html.business-order-runtime-active .biz-order > .order-page > .split {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  height: auto !important;
  overflow: hidden !important;
}

html.business-order-runtime-active .biz-order > .order-page > .split > .cats,
html.business-order-runtime-active .biz-order > .order-page > .split > .goods {
  position: relative !important;
  top: auto !important;
  height: auto !important;
  max-height: none !important;
}

html.business-order-runtime-active .biz-order > .order-page > .split > .cats {
  flex: 0 0 96px !important;
  align-self: stretch !important;
  overflow-y: auto !important;
}

html.business-order-runtime-active .biz-order > .order-page > .split > .goods {
  flex: 1 1 auto !important;
  overflow-y: auto !important;
}

html.business-order-runtime-active .biz-order > .order-page,
html.business-order-runtime-active .biz-order > .order-page > .search,
html.business-order-runtime-active .biz-order > .order-page > .split,
html.business-order-runtime-active .biz-order > .order-page > .split > .cats,
html.business-order-runtime-active .biz-order > .order-page > .split > .goods,
html.business-order-runtime-active .biz-order .goods-row {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  transform: none !important;
}

html.business-order-runtime-active .biz-order > .order-page > .search {
  margin: 8px 12px 12px !important;
}

html.business-order-runtime-active .biz-order .goods-row > .thumb,
html.business-order-runtime-active .biz-order .goods-row > .meta,
html.business-order-runtime-active .biz-order .goods-row > .add,
html.business-order-runtime-active .biz-order .goods-row > .qty-box {
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
}

html.business-order-runtime-active .biz-order .split {
  position: relative !important;
  display: flex !important;
  align-items: stretch !important;
  box-sizing: border-box;
}

html.business-order-runtime-active .biz-order .split > .goods {
  position: relative !important;
  z-index: 1;
  min-width: 0 !important;
  flex: 1 1 auto !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

html.business-order-runtime-active .biz-order .goods-row {
  position: relative !important;
  z-index: 0;
  display: flex !important;
  align-items: flex-start !important;
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
}

html.business-order-runtime-active .biz-order .goods-row > .thumb {
  position: relative !important;
  inset: auto !important;
  flex: 0 0 64px !important;
  width: 64px !important;
  height: 64px !important;
  max-width: 64px !important;
  max-height: 64px !important;
  overflow: hidden !important;
  transform: none !important;
}

html.business-order-runtime-active .biz-order .goods-row > .thumb > img {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  transform: none !important;
}

html.business-order-runtime-active .biz-order .goods-row > .meta {
  position: static !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
  width: auto !important;
  transform: none !important;
}

html.business-order-runtime-active .biz-order .goods-row {
  overflow: hidden !important;
}

html.business-order-runtime-active .biz-order .goods-row img {
  flex: 0 0 64px !important;
  width: 64px !important;
  height: 64px !important;
  max-width: 64px !important;
  max-height: 64px !important;
  object-fit: cover !important;
}

html:has(.biz-order > .order-page) .biz-order {
  min-height: 100dvh !important;
  height: 100dvh !important;
  display: flex !important;
  flex-direction: column !important;
  padding-bottom: 0 !important;
  overflow: hidden !important;
}

html:has(.biz-order > .order-page) .biz-order > .order-page {
  min-height: 0 !important;
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  padding: 0 !important;
}

html:has(.biz-order > .order-page) .biz-order > .order-page > .search {
  position: relative !important;
  top: auto !important;
  order: 0 !important;
  flex: 0 0 auto !important;
  margin: 8px 12px 12px !important;
  width: calc(100% - 24px) !important;
}

html:has(.biz-order > .order-page) .biz-order > .order-page > .split {
  min-height: 0 !important;
  height: auto !important;
  flex: 1 1 auto !important;
  order: 1 !important;
  display: flex !important;
  overflow: hidden !important;
}

html:has(.biz-order > .order-page) .biz-order > .order-page > .split > .cats,
html:has(.biz-order > .order-page) .biz-order > .order-page > .split > .goods {
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
}

html:has(.biz-order > .order-page) .biz-order > .order-page > .split > .cats {
  flex: 0 0 96px !important;
}

html:has(.biz-order > .order-page) .biz-order > .order-page > .split > .goods {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow-x: hidden !important;
}

html .business-customer-create-overlay .workflow-coordinate-row {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

html .business-customer-map-overlay > header {
  grid-template-columns: 38px minmax(0, 1fr) 38px;
}

html .business-customer-map-refresh {
  width: 36px;
  height: 36px;
  border: 1px solid #cfdcd6;
  border-radius: 50%;
  background: #ffffff;
  color: #176b58;
  font-size: 21px;
  font-weight: 800;
}

html .business-customer-map-toolbar {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid #dfe8e4;
  background: #ffffff;
}

html .business-customer-map-toolbar label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  color: #5c6762;
  font-size: 11px;
  font-weight: 750;
}

html .business-customer-map-toolbar select,
html .business-customer-map-toolbar input {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  border: 1px solid #d5dfdb;
  border-radius: 8px;
  padding: 0 9px;
  background: #ffffff;
  color: #202a26;
  font: inherit;
}

html .business-customer-map-toolbar > div {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 7px;
  color: #6c7873;
  font-size: 10px;
}

html .business-customer-map-toolbar > div span {
  min-width: 0;
  flex: 1;
  border-radius: 999px;
  padding: 5px 7px;
  background: #f1f6f4;
  text-align: center;
}

html .business-customer-map-toolbar > div b {
  color: #176b58;
}

html .business-customer-map-main {
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 10px;
  overflow-y: auto;
  padding: 10px 12px calc(24px + env(safe-area-inset-bottom));
  overscroll-behavior: contain;
}

html .business-customer-map-canvas {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid #d6e1dc;
  border-radius: 12px;
  background: #e9f0ed;
  touch-action: none;
}

html .business-customer-map-canvas .operations-map-fallback-layer {
  transform-origin: center;
  transition: transform 80ms linear;
}

html .business-customer-map-canvas .operations-map-marker {
  appearance: none;
  border: 2px solid #ffffff;
}

html .business-customer-map-canvas .operations-map-marker.is-selected {
  z-index: 5;
  width: 34px;
  height: 34px;
  background: #d92d20;
  box-shadow: 0 0 0 4px rgba(217, 45, 32, .2), 0 5px 12px rgba(90, 28, 22, .28);
}

html .business-customer-map-selection {
  display: grid;
  gap: 10px;
  border: 1px solid #d9e5e0;
  border-radius: 12px;
  padding: 12px;
  background: #ffffff;
  box-shadow: 0 7px 18px rgba(23, 58, 50, .07);
}

html .business-customer-map-selection.is-empty {
  min-height: 58px;
  place-items: center;
  color: #77827d;
  text-align: center;
}

html .business-customer-map-selection.is-empty p {
  margin: 0;
  font-size: 12px;
}

html .business-customer-map-customer {
  min-width: 0;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

html .business-customer-map-customer > img,
html .business-customer-map-customer > span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid #d7e1dd;
  border-radius: 10px;
  object-fit: cover;
  background: #eef5f2;
  color: #176b58;
  font-size: 12px;
  font-weight: 800;
}

html .business-customer-map-customer > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

html .business-customer-map-customer strong,
html .business-customer-map-customer small,
html .business-customer-map-customer em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html .business-customer-map-customer strong {
  color: #1f2c27;
  font-size: 15px;
}

html .business-customer-map-customer small {
  color: #6d7974;
  font-size: 11px;
}

html .business-customer-map-customer em {
  width: max-content;
  max-width: 100%;
  border-radius: 999px;
  padding: 3px 7px;
  background: #eef7f3;
  color: #176b58;
  font-size: 10px;
  font-style: normal;
  font-weight: 750;
}

html .business-customer-map-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid #e2e9e6;
  border-radius: 9px;
  background: #e2e9e6;
}

html .business-customer-map-metrics > div {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 8px;
  background: #fafcfc;
}

html .business-customer-map-metrics span {
  color: #75807b;
  font-size: 9px;
}

html .business-customer-map-metrics strong {
  overflow: hidden;
  color: #26342e;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html .business-customer-map-metrics small {
  overflow: hidden;
  color: #7a8580;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html .business-customer-map-address {
  margin: 0;
  color: #59645f;
  font-size: 11px;
  line-height: 1.5;
}

html .business-customer-map-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

html .business-customer-map-actions > button,
html .business-customer-map-actions > a {
  min-height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #cbd9d3;
  border-radius: 8px;
  padding: 6px;
  background: #ffffff;
  color: #176b58;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

html .business-customer-map-actions > .is-primary {
  border-color: #176b58;
  background: #176b58;
  color: #ffffff;
}

html .business-customer-map-actions > button:disabled {
  color: #99a39f;
  background: #f4f6f5;
}

html .business-customer-map-list {
  display: grid;
  gap: 7px;
}

html .business-customer-map-row {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  border: 1px solid #dfe7e3;
  border-radius: 10px;
  padding: 9px;
  background: #ffffff;
  color: #26312c;
  text-align: left;
}

html .business-customer-map-row.is-selected {
  border-color: #d92d20;
  box-shadow: 0 0 0 2px rgba(217, 45, 32, .1);
}

html .business-customer-map-row-pin {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #176b58;
  color: #ffffff;
  font-size: 11px;
  font-weight: 850;
}

html .business-customer-map-row.is-selected .business-customer-map-row-pin {
  background: #d92d20;
}

html .business-customer-map-row > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

html .business-customer-map-row strong,
html .business-customer-map-row small,
html .business-customer-map-row em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html .business-customer-map-row strong {
  font-size: 13px;
}

html .business-customer-map-row small {
  color: #717c77;
  font-size: 10px;
}

html .business-customer-map-row em {
  color: #176b58;
  font-size: 10px;
  font-style: normal;
}

html .business-customer-map-row .business-customer-map-last-order {
  color: #9a5b13;
}

html .business-customer-map-row > b {
  color: #8b9691;
  font-size: 22px;
  font-weight: 400;
}

html .workflow-customer-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid #e5e9e7;
  border-radius: 9px;
  background: #e5e9e7;
}

html .workflow-customer-summary > div {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 10px 8px;
  background: #ffffff;
}

html .workflow-customer-summary span {
  color: #77817d;
  font-size: 9px;
}

html .workflow-customer-summary strong {
  overflow: hidden;
  color: #24312c;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 360px) {
  html .business-customer-map-toolbar {
    grid-template-columns: 1fr;
  }

  html .business-customer-map-toolbar > div {
    grid-column: auto;
  }

  html .business-customer-map-canvas {
    min-height: 280px;
  }

  html .business-customer-map-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html .business-customer-map-actions > .is-primary {
    grid-column: 1 / -1;
  }
}
.mall-expense-home-entry { text-decoration: none; text-align: center; padding: 2px 6px; font: inherit; }
.mall-expense-entry { margin: 12px 14px; padding: 16px; border: 1px solid rgba(20,91,71,.12); border-radius: 16px; background: linear-gradient(135deg,#ffffff,#edf8f3); box-shadow: 0 8px 24px rgba(21,72,56,.08); }
.mall-expense-entry header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mall-expense-entry header div { display: grid; gap: 3px; }
.mall-expense-entry header small { color: #6c8178; font-size: 11px; }
.mall-expense-entry header strong { color: #164f3d; font-size: 17px; }
.mall-expense-entry header > span { color: #6c8178; font-size: 11px; }
.mall-expense-entry-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-top: 12px; }
.mall-expense-entry-actions a { display: grid; gap: 4px; min-height: 78px; padding: 11px; border-radius: 11px; background: #e2f3eb; color: #176b52; text-decoration: none; }
.mall-expense-entry-actions a b { font-size: 20px; line-height: 1; }
.mall-expense-entry-actions a span { font-size: 13px; font-weight: 800; }
.mall-expense-entry-actions a small { color: #5e796d; font-size: 10px; }
@media (max-width: 420px) { .mall-expense-entry-actions { grid-template-columns: 1fr; } }

html.business-order-runtime-active .biz-order > .bar h1,
html:has(.biz-order > .order-page) .biz-order > .bar h1 {
  min-width: 0 !important;
  max-height: 36px !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  overflow: hidden !important;
}

html.business-order-runtime-active .biz-order > .bar h1 > img,
html:has(.biz-order > .order-page) .biz-order > .bar h1 > img {
  position: static !important;
  flex: 0 0 32px !important;
  width: 32px !important;
  height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  border-radius: 6px !important;
  object-fit: cover !important;
  transform: none !important;
}

html.business-order-runtime-active .mobile-shell > .app-head {
  display: flex !important;
  flex: 0 0 auto !important;
  min-height: 58px !important;
  box-sizing: border-box;
}

html.business-order-runtime-active .biz-order {
  height: auto !important;
  min-height: 0 !important;
  flex: 1 1 auto !important;
  margin: 0 12px !important;
  border-radius: 0 !important;
}

html.business-order-runtime-active .biz-order > .bar {
  min-height: 62px !important;
  box-sizing: border-box;
  border-radius: 0 !important;
  background: #005b48 !important;
}

html.business-order-runtime-active .biz-order > .price,
html.business-order-runtime-active .biz-order > .goods-row {
  display: none !important;
}

html.business-order-runtime-active .biz-order > .order-page {
  background: #fbf7eb !important;
}

html.business-order-runtime-active .biz-order > .order-page > .search {
  min-height: 46px !important;
  box-sizing: border-box;
  border: 1px solid #ead7a5 !important;
  border-radius: 10px !important;
  background: #fffdf6 !important;
  color: #283630 !important;
}

html.business-order-runtime-active .biz-order > .order-page > .split > .cats {
  flex-basis: 112px !important;
  background: #f5edda !important;
  border-right: 1px solid #ead9ae;
}

html.business-order-runtime-active .biz-order .cats > div {
  min-height: 56px !important;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(234, 217, 174, .6);
  color: #28332e;
  font-size: 14px;
}

html.business-order-runtime-active .biz-order .cats > div.active {
  border-left: 3px solid #4b83f1;
  background: #fffef9 !important;
  color: #3878e9;
  font-weight: 800;
}

html.business-order-runtime-active .biz-order > .order-page > .split > .goods {
  background: #fffaf0 !important;
}

html.business-order-runtime-active .biz-order .goods-row {
  min-height: 148px !important;
  padding: 12px 10px !important;
  border-bottom: 1px solid #e8d6a7 !important;
  background: #fffaf0 !important;
}

html.business-order-runtime-active .biz-order .goods-row > .thumb,
html.business-order-runtime-active .biz-order .goods-row > .thumb > img {
  flex-basis: 56px !important;
  width: 56px !important;
  height: 56px !important;
  max-width: 56px !important;
  max-height: 56px !important;
}

html.business-order-runtime-active .biz-order .goods-row > .meta {
  gap: 3px !important;
  padding-left: 4px !important;
}

html.business-order-runtime-active .biz-order .goods-row > .add {
  flex: 0 0 42px !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  border-radius: 50% !important;
  background: #4b83f1 !important;
  color: #fff !important;
  box-shadow: 0 4px 10px rgba(44, 103, 212, .24);
}


/* ===== v10 business order page cleanup (2026-09-15) =====================
   Appended last on purpose: several earlier blocks in this file already
   carry !important on the same selectors, so source order is the only
   thing that can win. Do not move this block up. */

/* 1. app-head removed. L1511/L1515/L4965 already said display:none, but
   L6254 re-showed it with display:flex !important on an identical
   selector. */
html.business-order-runtime-active .mobile-shell > .app-head,
html.business-order-runtime-active .mobile-shell .app-head,
html:has(.biz-order > .order-page) .mobile-shell > .app-head,
html:has(.biz-order > .order-page) .mobile-shell .app-head {
  display: none !important;
}

/* 2. decorative catalog banner + context line removed (image + static
   text only, nothing interactive). */
html.business-order-runtime-active .biz-order > .business-catalog-header,
html:has(.biz-order > .order-page) .biz-order > .business-catalog-header {
  display: none !important;
}

/* 3. full-bleed the shell on this page. Its 10px/12px/18px padding was
   costing 24px of width that .cats and .goods needed, and it pushed the
   bottom 10px of .biz-order (which is 100dvh tall) below the fold.
   Same treatment html.mall-category-route already gets at L1093. */
html.business-order-runtime-active .mobile-shell,
html:has(.biz-order > .order-page) .mobile-shell {
  padding: 0 !important;
}

html.business-order-runtime-active .biz-order,
html:has(.biz-order > .order-page) .biz-order {
  margin: 0 !important;
}

/* 4. the category column. .cats was authored twice: once as a top
   horizontal scroller (display:flex, width:100%, children min-width:76px
   white-space:nowrap) and once as a 96/112px side column. Nothing ever
   set flex-direction, so the side column kept laying its children out in
   a row and clipped everything past the second one. */
html.business-order-runtime-active .biz-order > .order-page > .split > .cats,
html:has(.biz-order > .order-page) .biz-order > .order-page > .split > .cats {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  flex: 0 0 106px !important;
  align-self: stretch !important;
  box-sizing: border-box !important;
  width: 106px !important;
  min-width: 106px !important;
  max-width: 106px !important;
  height: auto !important;
  max-height: none !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  border-right: 1px solid #ead9ae !important;
  border-bottom: 0 !important;
  background: #f5edda !important;
  scrollbar-width: none;
}

html.business-order-runtime-active .biz-order > .order-page > .split > .cats::-webkit-scrollbar,
html:has(.biz-order > .order-page) .biz-order > .order-page > .split > .cats::-webkit-scrollbar {
  display: none;
}

html.business-order-runtime-active .biz-order .cats > div,
html:has(.biz-order > .order-page) .biz-order .cats > div {
  position: relative !important;
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 46px !important;
  padding: 9px 8px 9px 8px !important;
  border-right: 0 !important;
  border-left: 3px solid transparent !important;
  border-bottom: 1px solid rgba(234, 217, 174, .6) !important;
  background: transparent !important;
  color: #3c4b44 !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  line-height: 1.28 !important;
  text-align: left !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

/* keep room for the cart badge only on the rows that actually have one */
html.business-order-runtime-active .biz-order .cats > div:has(.business-category-cart-count),
html:has(.biz-order > .order-page) .biz-order .cats > div:has(.business-category-cart-count) {
  padding-right: 22px !important;
}

html.business-order-runtime-active .biz-order .cats > div .business-category-cart-count,
html:has(.biz-order > .order-page) .biz-order .cats > div .business-category-cart-count {
  top: 4px !important;
  right: 4px !important;
}

/* active marker moves to the left edge; the transparent border above keeps
   the text from shifting 3px when selection changes. */
html.business-order-runtime-active .biz-order .cats > div.active,
html.business-order-runtime-active .biz-order .cats > div[aria-selected="true"],
html:has(.biz-order > .order-page) .biz-order .cats > div.active,
html:has(.biz-order > .order-page) .biz-order .cats > div[aria-selected="true"] {
  border-left-color: #176b52 !important;
  border-bottom-color: rgba(234, 217, 174, .6) !important;
  background: #fffdf8 !important;
  color: #10513f !important;
  font-weight: 800 !important;
}

/* 5. goods column gets the width that .cats no longer wastes. */
html.business-order-runtime-active .biz-order > .order-page > .split > .goods,
html:has(.biz-order > .order-page) .biz-order > .order-page > .split > .goods {
  flex: 1 1 auto !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
  width: auto !important;
  height: auto !important;
  max-height: none !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  padding: 8px 8px 152px 8px !important;
  background: #f7f4ea !important;
}

/* 6. density: with the two headers gone the rows no longer need to be
   148px tall to fill the viewport. */
html.business-order-runtime-active .biz-order > .order-page > .search,
html:has(.biz-order > .order-page) .biz-order > .order-page > .search {
  margin: 8px 10px !important;
  min-height: 42px !important;
}

/* rows read as separate cards again: L4890 gives them a radius + border,
   but L5660 forces margin-bottom:0, which stacked them into one slab. */
html.business-order-runtime-active .biz-order .goods-row,
html:has(.biz-order > .order-page) .biz-order .goods-row {
  min-height: 0 !important;
  height: auto !important;
  align-items: flex-start !important;
  gap: 8px !important;
  padding: 10px !important;
  margin-bottom: 8px !important;
  border: 1px solid #e7dcbf !important;
  border-radius: 10px !important;
  background: #fffdf8 !important;
}

html.business-order-runtime-active .biz-order .goods-row > .meta,
html:has(.biz-order > .order-page) .biz-order .goods-row > .meta {
  min-width: 0 !important;
  gap: 2px !important;
  padding-left: 2px !important;
  overflow-wrap: anywhere !important;
}

html.business-order-runtime-active .biz-order .goods-row > .meta > *,
html:has(.biz-order > .order-page) .biz-order .goods-row > .meta > * {
  min-width: 0 !important;
  line-height: 1.3 !important;
}

.workflow-rider-customer-edit-overlay > main {
  display: grid;
  gap: 9px;
  align-content: start;
  overflow-y: auto;
}

.workflow-rider-edit-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
  align-items: end;
  padding: 10px;
  border: 1px solid #d7e2dd;
  border-radius: 8px;
  background: #f8fcfa;
}

.workflow-rider-edit-row > div,
.workflow-rider-edit-row > label {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.workflow-rider-edit-row strong,
.workflow-rider-edit-row label > span {
  color: #1e3f35;
  font-size: 14px;
  font-weight: 800;
}

.workflow-rider-edit-row small {
  color: #68766f;
  font-size: 11px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.workflow-rider-edit-row input[type="text"],
.workflow-rider-edit-row input[type="tel"] {
  width: 100%;
  min-width: 0;
  height: 40px;
  box-sizing: border-box;
  border: 1px solid #cbd8d2;
  border-radius: 6px;
  padding: 7px 9px;
  background: #ffffff;
  color: #203b32;
  font-size: 14px;
}

.workflow-rider-edit-row > button {
  min-width: 82px;
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  padding: 7px 10px;
  background: #176e50;
  color: #ffffff;
  font-weight: 800;
}

.workflow-rider-edit-row > button:disabled {
  opacity: 0.55;
}

.workflow-rider-edit-image {
  grid-template-columns: minmax(0, 1fr) 70px auto;
}

.workflow-rider-edit-image input[type="file"] {
  width: 100%;
  min-width: 0;
  color: #52655d;
  font-size: 11px;
}

.workflow-rider-edit-image img {
  width: 70px;
  height: 56px;
  border-radius: 6px;
  object-fit: cover;
}

@media (max-width: 390px) {
  .workflow-rider-edit-row,
  .workflow-rider-edit-image {
    grid-template-columns: minmax(0, 1fr) 78px;
  }

  .workflow-rider-edit-image img {
    grid-column: 1 / -1;
    width: 100%;
    height: 110px;
  }
}

.order-stock-feedback {
  position: fixed;
  z-index: 16000;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: max-content;
  max-width: min(280px, calc(100vw - 48px));
  box-sizing: border-box;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(31, 41, 55, 0.94);
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  overflow-wrap: anywhere;
  pointer-events: none;
}
.order-stock-invalid .business-cart-item-main > strong,
.order-stock-invalid .business-product-name-km,
.order-stock-invalid .business-product-name-zh,
.order-stock-invalid > div > strong { color: #b42332 !important; }
html.mall-route-home:not(.short-drama-mall-embed):not(.short-drama-designer-preview) .mall-home.mall-home-list-mode > .mall-top .cart-pill {
  position: fixed;
  right: max(16px, calc((100vw - 420px) / 2 + 16px));
  bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: 88;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border-radius: 50%;
  font-size: 0;
  box-shadow: 0 5px 18px rgba(20, 27, 35, 0.24);
}

html.mall-route-home:not(.short-drama-mall-embed):not(.short-drama-designer-preview) .mall-home.mall-home-list-mode > .mall-top .cart-pill::before {
  content: "";
  width: 30px;
  height: 30px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m8 3-4 6m12-6 4 6M2 9h20l-2.4 10a2 2 0 0 1-2 1.5H6.4a2 2 0 0 1-2-1.5L2 9Z'/%3E%3Cpath d='M9 13v4m6-4v4'/%3E%3C/svg%3E");
}

html.mall-route-home:not(.short-drama-mall-embed):not(.short-drama-designer-preview) .mall-home.mall-home-list-mode > .mall-top .cart-pill::after {
  content: attr(data-mall-cart-quantity);
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border: 2px solid #ffffff;
  border-radius: 14px;
  background: #e84b33;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

html.mall-route-home:not(.short-drama-mall-embed):not(.short-drama-designer-preview) .mall-home.mall-home-list-mode > .mall-top .cart-pill[data-mall-cart-quantity="0"]::after {
  display: none;
}

html.mall-route-home:not(.short-drama-mall-embed):not(.short-drama-designer-preview) .mall-home.mall-home-list-mode > .mall-top .cart-pill:focus-visible {
  outline: 3px solid #e84b33;
  outline-offset: 3px;
}

