/* Refined merchant dashboard: warm-white workspace with restrained gold accents. */
html {
  --mm-seller-center: "Seller Center";
  --mm-category: "Category · ";
  --mm-price: "Price · ";
  --mm-stock: "Stock · ";
  --mm-funds: "Funds account";
}
html[lang="id"] {
  --mm-seller-center: "Pusat Penjual";
  --mm-category: "Kategori · ";
  --mm-price: "Harga · ";
  --mm-stock: "Stok · ";
  --mm-funds: "Akun dana";
}
html[lang="es"] {
  --mm-seller-center: "Centro de vendedores";
  --mm-category: "Categoría · ";
  --mm-price: "Precio · ";
  --mm-stock: "Existencias · ";
  --mm-funds: "Cuenta de fondos";
}
html[lang="vi"] {
  --mm-seller-center: "Trung tâm người bán";
  --mm-category: "Danh mục · ";
  --mm-price: "Giá · ";
  --mm-stock: "Tồn kho · ";
  --mm-funds: "Tài khoản tiền";
}
html[lang="de"] {
  --mm-seller-center: "Verkäuferzentrum";
  --mm-category: "Kategorie · ";
  --mm-price: "Preis · ";
  --mm-stock: "Bestand · ";
  --mm-funds: "Geldkonto";
}
body.gb-mobile-merchant-dashboard .rep-wallet-host .pay-shell {
  --pay-pink: #a87927;
}

/* Focused merchant subpages hide the dashboard menu and must use the full row. */
@media (min-width: 768px) {
  body.gb-mobile-merchant-dashboard.gb-merchant-content-page ._wbarc {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.gb-mobile-merchant-dashboard.gb-merchant-content-page ._wbarr {
    width: 100% !important;
    min-width: 0 !important;
  }
}

/* Inner merchant pages are focused workspaces: the dashboard navigation does not repeat. */
body.gb-merchant-content-page ._wbarl {
  display: none !important;
}

@media (min-width: 768px) {
  body.gb-merchant-content-page ._wbarc {
    width: min(1100px, calc(100% - 48px)) !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.gb-mobile-merchant-dashboard {
    --md-bg: #f4f3ef;
    --md-card: #ffffff;
    --md-ink: #171815;
    --md-muted: #737872;
    --md-line: #e8e4dc;
    --md-gold: #a87927;
    --md-gold-soft: #f7f0df;
    background: var(--md-bg) !important;
    color: var(--md-ink) !important;
  }

  body.gb-mobile-merchant-dashboard ._main,
  body.gb-mobile-merchant-dashboard ._wbarc,
  body.gb-mobile-merchant-dashboard ._wbarr {
    background: var(--md-bg) !important;
  }

  body.gb-mobile-merchant-dashboard ._wbarr > .rep-merchant {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    padding: 0 !important;
    background: transparent !important;
  }

  body.gb-mobile-merchant-dashboard .rep-wallet-host {
    min-width: 0 !important;
    padding: 28px 30px !important;
    border: 1px solid var(--md-line) !important;
    border-radius: 20px !important;
    background: var(--md-card) !important;
    box-shadow: 0 12px 34px rgba(47, 42, 30, .045) !important;
  }

  body.gb-mobile-merchant-dashboard .rep-wallet-host .pay-shell,
  body.gb-mobile-merchant-dashboard .rep-wallet-host .pay-main {
    min-width: 0 !important;
    background: transparent !important;
  }

  body.gb-mobile-merchant-dashboard .rep-wallet-host .pay-tabs button.active {
    color: var(--md-gold) !important;
    border-bottom-color: var(--md-gold) !important;
  }

  body.gb-mobile-merchant-dashboard .rep-wallet-host .pay-button.pay-primary {
    border-color: #171815 !important;
    background: #171815 !important;
  }

  body.gb-mobile-merchant-dashboard ._wbarc {
    display: grid !important;
    width: min(1320px, calc(100% - 48px)) !important;
    min-width: 0 !important;
    grid-template-columns: 252px minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 22px !important;
    margin: 0 auto !important;
    padding: 28px 0 52px !important;
    box-sizing: border-box !important;
  }

  body.gb-mobile-merchant-dashboard ._wbarl {
    position: sticky !important;
    top: 18px !important;
    width: 252px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 14px 15px !important;
    overflow: hidden !important;
    border: 1px solid var(--md-line) !important;
    border-radius: 20px !important;
    background: var(--md-card) !important;
    color: var(--md-ink) !important;
    box-shadow: 0 14px 38px rgba(47, 42, 30, .055) !important;
    box-sizing: border-box !important;
  }

  body.gb-mobile-merchant-dashboard ._wbarl .a {
    display: flex !important;
    min-height: 88px !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 16px 5px !important;
    border-bottom: 1px solid #eeeae3 !important;
    background: transparent !important;
  }

  body.gb-mobile-merchant-dashboard ._wbarl .f {
    width: 50px !important;
    height: 50px !important;
    flex: 0 0 50px !important;
    margin: 0 !important;
    border: 2px solid #d8ba7a !important;
    border-radius: 50% !important;
    background-color: #f1eee7 !important;
    background-size: cover !important;
    box-shadow: 0 0 0 4px #faf7f0 !important;
  }

  body.gb-mobile-merchant-dashboard ._wbarl .e {
    display: flex !important;
    min-width: 0 !important;
    flex: 1 !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 5px !important;
    margin: 0 !important;
    color: var(--md-ink) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
  }

  body.gb-mobile-merchant-dashboard ._wbarl .e::before {
    width: 100%;
    content: var(--mm-seller-center);
    color: var(--md-gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
  }

  body.gb-mobile-merchant-dashboard ._wbarl .e i {
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    background-size: contain !important;
  }

  body.gb-mobile-merchant-dashboard ._wbarl > ul {
    display: grid !important;
    gap: 5px !important;
    margin: 0 !important;
    padding: 13px 0 0 !important;
  }

  body.gb-mobile-merchant-dashboard ._wbarl > ul > li {
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 45px !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    border: 1px solid transparent !important;
    border-radius: 11px !important;
    background: transparent !important;
    color: #515650 !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    box-sizing: border-box !important;
  }

  body.gb-mobile-merchant-dashboard ._wbarl > ul > li::before {
    min-width: 20px !important;
    margin: 0 !important;
    color: #9b8a68 !important;
    font-size: 19px !important;
    text-align: center !important;
  }

  body.gb-mobile-merchant-dashboard ._wbarl > ul > li:hover {
    border-color: #e8dfce !important;
    background: #faf8f3 !important;
    color: #5f4518 !important;
  }

  body.gb-mobile-merchant-dashboard ._wbarl > ul > li:first-child {
    border-color: #e6d2a8 !important;
    background: var(--md-gold-soft) !important;
    color: #70511c !important;
    font-weight: 650 !important;
  }

  body.gb-mobile-merchant-dashboard ._wbarr {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.gb-mobile-merchant-dashboard ._wbarr > .mc {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
  }

  body.gb-mobile-merchant-dashboard .rep-merchant-wallet-entry {
    min-height: 82px !important;
    gap: 14px !important;
    margin: 0 0 16px !important;
    padding: 15px 18px !important;
    border: 1px solid #e4d4b3 !important;
    border-radius: 18px !important;
    background: linear-gradient(135deg, #fff 0%, #fbf7ed 100%) !important;
    color: var(--md-ink) !important;
    box-shadow: 0 10px 30px rgba(92, 67, 25, .06) !important;
  }

  body.gb-mobile-merchant-dashboard .rep-wallet-entry-icon {
    display: grid !important;
    width: 46px !important;
    height: 46px !important;
    flex: 0 0 46px !important;
    place-items: center !important;
    border-radius: 13px !important;
    background: #171815 !important;
    color: #d3a652 !important;
  }

  body.gb-mobile-merchant-dashboard .rep-wallet-entry-icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
  }

  body.gb-mobile-merchant-dashboard .rep-merchant-wallet-entry b { color: var(--md-ink) !important; font-size: 16px !important; }
  body.gb-mobile-merchant-dashboard .rep-merchant-wallet-entry small { color: var(--md-muted) !important; font-size: 12px !important; }
  body.gb-mobile-merchant-dashboard .rep-merchant-wallet-entry strong { color: var(--md-gold) !important; font-size: 12px !important; }
  body.gb-mobile-merchant-dashboard .rep-merchant-wallet-entry strong::after { content: none !important; }

  body.gb-mobile-merchant-dashboard ._wbarr .dx,
  body.gb-mobile-merchant-dashboard ._wbarr .js,
  body.gb-mobile-merchant-dashboard ._wbarr .cb,
  body.gb-mobile-merchant-dashboard ._wbarr .ic,
  body.gb-mobile-merchant-dashboard ._wbarr .fl,
  body.gb-mobile-merchant-dashboard ._wbarr .ds {
    border: 1px solid var(--md-line) !important;
    border-radius: 18px !important;
    background: var(--md-card) !important;
    box-shadow: 0 10px 30px rgba(47, 42, 30, .045) !important;
  }

  body.gb-mobile-merchant-dashboard ._wbarr .dx {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    overflow: hidden !important;
  }

  body.gb-mobile-merchant-dashboard ._wbarr .dx > li {
    width: auto !important;
    min-height: 104px !important;
    margin: 0 !important;
    padding: 25px 12px 18px !important;
    border-right: 1px solid #eeeae3 !important;
  }
  body.gb-mobile-merchant-dashboard ._wbarr .dx > li:last-child { border-right: 0 !important; }
  body.gb-mobile-merchant-dashboard ._wbarr .dx > li::before { display: none !important; }
  body.gb-mobile-merchant-dashboard ._wbarr .dx p { color: var(--md-ink) !important; font-size: 23px !important; }
  body.gb-mobile-merchant-dashboard ._wbarr .dx p::before { color: var(--md-gold) !important; }
  body.gb-mobile-merchant-dashboard ._wbarr .dx p.rep-profit-unknown::before { display: none !important; }
  body.gb-mobile-merchant-dashboard ._wbarr .dx i { margin-top: 8px !important; color: var(--md-muted) !important; font-size: 12px !important; }

  body.gb-mobile-merchant-dashboard ._wbarr .js,
  body.gb-mobile-merchant-dashboard ._wbarr .cb,
  body.gb-mobile-merchant-dashboard ._wbarr .ic,
  body.gb-mobile-merchant-dashboard ._wbarr .fl,
  body.gb-mobile-merchant-dashboard ._wbarr .ds { margin-top: 16px !important; }

  body.gb-mobile-merchant-dashboard ._wbarr .js { padding: 20px !important; }
  body.gb-mobile-merchant-dashboard ._wbarr .js .t { padding-bottom: 15px !important; color: var(--md-ink) !important; font-size: 16px !important; }
  body.gb-mobile-merchant-dashboard ._wbarr .js > ul { display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)) !important; gap: 8px !important; padding: 0 !important; }
  body.gb-mobile-merchant-dashboard ._wbarr .js li { width: auto !important; min-width: 0 !important; margin: 0 !important; padding: 13px 8px !important; border-radius: 11px !important; background: #f8f7f4 !important; }
  body.gb-mobile-merchant-dashboard ._wbarr .js li::before { display: none !important; }
  body.gb-mobile-merchant-dashboard ._wbarr .js li p { color: var(--md-muted) !important; font-size: 11px !important; }
  body.gb-mobile-merchant-dashboard ._wbarr .js li b { display: block !important; margin-bottom: 5px !important; color: var(--md-ink) !important; font-size: 17px !important; }

  body.gb-mobile-merchant-dashboard ._wbarr .cb { padding: 20px !important; }
  body.gb-mobile-merchant-dashboard ._wbarr .cb .a ul li { border-radius: 999px !important; }
  body.gb-mobile-merchant-dashboard ._wbarr .cb .a ul .o { background: #171815 !important; color: #fff !important; }
  body.gb-mobile-merchant-dashboard ._wbarr .cb .a p i:first-child::before { background: var(--md-gold) !important; }

  body.gb-mobile-merchant-dashboard ._wbarr .ic { padding: 18px 10px !important; }
  body.gb-mobile-merchant-dashboard ._wbarr .ic > li { color: #4f544e !important; }
  body.gb-mobile-merchant-dashboard ._wbarr .fl { padding: 18px !important; }
  body.gb-mobile-merchant-dashboard ._wbarr .ds { padding: 18px !important; }
  body.gb-mobile-merchant-dashboard ._wbarr .ds p { color: #515650 !important; }
  body.gb-mobile-merchant-dashboard ._wbarr .ds b { color: var(--md-gold) !important; }
}

@media (max-width: 767px) {
  body:not(.sidebar-mini) .rep-table tbody tr:hover,
  body:not(.sidebar-mini) .rep-table tbody tr:active,
  body:not(.sidebar-mini) .rep-table tbody tr:focus-within {
    background: #fff !important;
    color: #171815 !important;
  }

  body:not(.sidebar-mini) .rep-table tbody tr:hover td,
  body:not(.sidebar-mini) .rep-table tbody tr:active td,
  body:not(.sidebar-mini) .rep-table tbody tr:focus-within td {
    color: inherit !important;
  }

  body.gb-merchant-content-page ._wbarc {
    padding-top: 14px !important;
  }

  body.gb-merchant-content-page ._wbarr {
    padding-top: 0 !important;
  }

  body.gb-merchant-catalog-page .rep-merchant > h1 {
    margin: 0 0 16px !important;
    font-size: 25px !important;
  }

  body.gb-merchant-catalog-page .rep-toolbar {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    gap: 9px !important;
    margin-bottom: 16px !important;
  }

  body.gb-merchant-catalog-page .rep-toolbar .rep-field {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 46px !important;
    grid-column: 1 / -1 !important;
    box-sizing: border-box !important;
  }

  body.gb-merchant-catalog-page .rep-toolbar .rep-button {
    min-width: 82px !important;
    min-height: 44px !important;
    border-color: #171815 !important;
    border-radius: 12px !important;
    background: #171815 !important;
    color: #fff !important;
  }

  body.gb-merchant-catalog-page .rep-toolbar .rep-spacer { display: none !important; }
  body.gb-merchant-catalog-page .rep-toolbar .rep-muted {
    align-self: center !important;
    justify-self: end !important;
    font-size: 12px !important;
  }

  body.gb-merchant-catalog-page .rep-table-wrap {
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.gb-merchant-catalog-page .rep-table {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    border: 0 !important;
  }

  body.gb-merchant-catalog-page .rep-table thead { display: none !important; }
  body.gb-merchant-catalog-page .rep-table tbody {
    display: grid !important;
    gap: 11px !important;
  }

  body.gb-merchant-catalog-page .rep-table tbody tr {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 8px 10px !important;
    padding: 12px !important;
    overflow: hidden !important;
    border: 1px solid #e7e3da !important;
    border-radius: 15px !important;
    background: #fff !important;
    color: #171815 !important;
    box-shadow: 0 7px 20px rgba(44, 39, 27, .04) !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  body.gb-merchant-catalog-page .rep-table td {
    display: block !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    color: #626760 !important;
    font-size: 11px !important;
    line-height: 1.45 !important;
  }

  body.gb-merchant-catalog-page .rep-table td:first-child,
  body.gb-merchant-catalog-page .rep-table td:nth-child(2),
  body.gb-merchant-catalog-page .rep-table td:last-child { grid-column: 1 / -1 !important; }

  body.gb-merchant-catalog-page .rep-table .rep-item {
    display: grid !important;
    grid-template-columns: 88px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 12px !important;
    max-width: none !important;
  }

  body.gb-merchant-catalog-page .rep-table .rep-item img {
    width: 88px !important;
    height: 88px !important;
    border: 0 !important;
    border-radius: 11px !important;
    background: #f7f7f5 !important;
    object-fit: contain !important;
  }

  body.gb-merchant-catalog-page .rep-table .rep-item span {
    -webkit-line-clamp: 3 !important;
    color: #1d201d !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.55 !important;
  }

  body.gb-merchant-catalog-page .rep-table td:nth-child(2) {
    overflow: hidden !important;
    color: #8a8e88 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body.gb-merchant-catalog-page .rep-table td:nth-child(2)::before { content: var(--mm-category); }
  body.gb-merchant-catalog-page .rep-table td:nth-child(3)::before { content: var(--mm-price); color: #8a8e88; }
  body.gb-merchant-catalog-page .rep-table td:nth-child(4)::before { content: var(--mm-stock); color: #8a8e88; }
  body.gb-merchant-catalog-page .rep-table td:nth-child(3) { color: #8a631f !important; font-size: 13px !important; font-weight: 700 !important; }
  body.gb-merchant-catalog-page .rep-table td:nth-child(4) { text-align: right !important; }

  body.gb-merchant-catalog-page .rep-table td:last-child .rep-button {
    width: 100% !important;
    min-height: 40px !important;
    border-color: #ddc38d !important;
    border-radius: 10px !important;
    background: #f7f0df !important;
    color: #75541c !important;
    font-weight: 650 !important;
  }


  body.gb-mobile-merchant-dashboard {
    --mm-bg: #f4f3ef;
    --mm-card: #fff;
    --mm-ink: #171815;
    --mm-muted: #777a75;
    --mm-line: #e7e3da;
    --mm-gold: #a87927;
    --mm-gold-soft: #f7f0df;
    background: var(--mm-bg) !important;
    color: var(--mm-ink) !important;
  }

  body.gb-mobile-merchant-dashboard ._main,
  body.gb-mobile-merchant-dashboard ._wbarc,
  body.gb-mobile-merchant-dashboard ._wbarr,
  body.gb-mobile-merchant-dashboard ._wbarr > .mc {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.gb-mobile-merchant-dashboard ._main { background: var(--mm-bg) !important; }
  body.gb-mobile-merchant-dashboard ._wbarc {
    display: block !important;
    padding: 14px 14px 0 !important;
    background: var(--mm-bg) !important;
  }

  body.gb-mobile-merchant-dashboard ._wbarl {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 14px 14px !important;
    overflow: hidden !important;
    border: 1px solid var(--mm-line) !important;
    border-radius: 18px !important;
    background: var(--mm-card) !important;
    color: var(--mm-ink) !important;
    box-shadow: 0 12px 34px rgba(44, 39, 27, .06) !important;
  }

  body.gb-mobile-merchant-dashboard ._wbarl .a {
    min-height: 82px !important;
    gap: 13px !important;
    padding: 15px 2px 14px !important;
    border-bottom: 1px solid #eeeae2 !important;
    background: transparent !important;
  }

  body.gb-mobile-merchant-dashboard ._wbarr > .rep-merchant,
  body.gb-mobile-merchant-dashboard .rep-wallet-host,
  body.gb-mobile-merchant-dashboard .rep-wallet-host .pay-shell,
  body.gb-mobile-merchant-dashboard .rep-wallet-host .pay-main {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body.gb-mobile-merchant-dashboard ._wbarr > .rep-merchant { padding: 0 !important; background: transparent !important; }

  body.gb-mobile-merchant-dashboard .rep-wallet-host {
    overflow: hidden !important;
    padding: 17px 15px 20px !important;
    border: 1px solid var(--mm-line) !important;
    border-radius: 17px !important;
    background: var(--mm-card) !important;
    box-shadow: 0 9px 26px rgba(44, 39, 27, .045) !important;
  }

  body.gb-mobile-merchant-dashboard .rep-wallet-host .pay-shell,
  body.gb-mobile-merchant-dashboard .rep-wallet-host .pay-main { background: transparent !important; }
  body.gb-mobile-merchant-dashboard .rep-wallet-host .pay-heading { margin-bottom: 12px !important; }
  body.gb-mobile-merchant-dashboard .rep-wallet-host .pay-heading h1 { color: var(--mm-ink) !important; font-size: 23px !important; font-weight: 700 !important; }
  body.gb-mobile-merchant-dashboard .rep-wallet-host .pay-tabs {
    max-width: 100% !important;
    gap: 20px !important;
    margin-bottom: 22px !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
  }
  body.gb-mobile-merchant-dashboard .rep-wallet-host .pay-tabs::-webkit-scrollbar { display: none !important; }
  body.gb-mobile-merchant-dashboard .rep-wallet-host .pay-tabs button.active {
    color: var(--mm-gold) !important;
    border-bottom-color: var(--mm-gold) !important;
  }
  body.gb-mobile-merchant-dashboard .rep-wallet-host .pay-balance-row { align-items: flex-start !important; }
  body.gb-mobile-merchant-dashboard .rep-wallet-host .pay-wallet-icon { border-color: #d9bd83 !important; background: #faf7ef !important; }
  body.gb-mobile-merchant-dashboard .rep-wallet-host .pay-balance-actions .pay-primary {
    border-color: #171815 !important;
    background: #171815 !important;
  }
  body.gb-mobile-merchant-dashboard .rep-wallet-host .pay-overview-links button > span { color: var(--mm-gold) !important; }

  body.gb-mobile-merchant-dashboard ._wbarl .f {
    width: 52px !important;
    height: 52px !important;
    flex: 0 0 52px !important;
    margin: 0 !important;
    border: 2px solid #d9bd83 !important;
    border-radius: 50% !important;
    background-color: #f2efe8 !important;
    background-size: cover !important;
    box-shadow: 0 0 0 4px #faf7f0 !important;
  }

  body.gb-mobile-merchant-dashboard ._wbarl .e {
    display: flex !important;
    min-width: 0 !important;
    flex: 1 !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
    color: var(--mm-ink) !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
  }

  body.gb-mobile-merchant-dashboard ._wbarl .e::before {
    width: 100%;
    content: var(--mm-seller-center);
    color: var(--mm-gold);
    font-size: 11px;
    font-weight: 650;
    letter-spacing: .12em;
  }

  body.gb-mobile-merchant-dashboard ._wbarl .e i {
    width: 19px !important;
    height: 19px !important;
    margin: 0 !important;
    background-size: contain !important;
  }

  body.gb-mobile-merchant-dashboard ._wbarl > ul {
    display: grid !important;
    width: 100% !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 14px 0 0 !important;
  }

  body.gb-mobile-merchant-dashboard ._wbarl > ul > li {
    display: flex !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 48px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 8px 11px !important;
    border: 1px solid #ebe8e1 !important;
    border-radius: 12px !important;
    background: #f8f7f4 !important;
    color: #4c514d !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    text-align: left !important;
    box-sizing: border-box !important;
  }

  body.gb-mobile-merchant-dashboard ._wbarl > ul > li::before {
    flex: 0 0 auto;
    margin: 0 !important;
    color: var(--mm-gold) !important;
    font-size: 18px !important;
  }

  body.gb-mobile-merchant-dashboard ._wbarl > ul > li:first-child {
    border-color: #e5d2aa !important;
    background: var(--mm-gold-soft) !important;
    color: #76551c !important;
  }

  body.gb-mobile-merchant-dashboard ._wbarl > ul > li:last-child { grid-column: 1 / -1 !important; }

  body.gb-mobile-merchant-dashboard ._wbarr {
    margin: 0 !important;
    padding: 16px 0 calc(96px + env(safe-area-inset-bottom)) !important;
    background: transparent !important;
  }

  body.gb-mobile-merchant-dashboard .rep-merchant-wallet-entry {
    min-height: 82px !important;
    gap: 12px !important;
    margin: 0 0 14px !important;
    padding: 15px 16px !important;
    border: 1px solid #e4d4b3 !important;
    border-radius: 17px !important;
    background: linear-gradient(135deg, #fff 0%, #fbf7ed 100%) !important;
    color: var(--mm-ink) !important;
    box-shadow: 0 10px 28px rgba(92, 67, 25, .07) !important;
  }

  body.gb-mobile-merchant-dashboard .rep-wallet-entry-icon {
    display: grid !important;
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 44px !important;
    place-items: center !important;
    border-radius: 13px !important;
    background: #171815 !important;
    color: #d3a652 !important;
  }

  body.gb-mobile-merchant-dashboard .rep-wallet-entry-icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
  }

  body.gb-mobile-merchant-dashboard .rep-merchant-wallet-entry b {
    color: var(--mm-ink) !important;
    font-size: 16px !important;
  }
  body.gb-mobile-merchant-dashboard .rep-merchant-wallet-entry small {
    color: var(--mm-muted) !important;
    font-size: 12px !important;
  }
  body.gb-mobile-merchant-dashboard .rep-merchant-wallet-entry strong {
    color: var(--mm-gold) !important;
    font-size: 12px !important;
    white-space: nowrap !important;
  }
  body.gb-mobile-merchant-dashboard .rep-merchant-wallet-entry strong::after { content: none !important; }

  body.gb-mobile-merchant-dashboard ._wbarr > .mc { padding: 0 !important; }
  body.gb-mobile-merchant-dashboard ._wbarr .dx,
  body.gb-mobile-merchant-dashboard ._wbarr .js,
  body.gb-mobile-merchant-dashboard ._wbarr .cb,
  body.gb-mobile-merchant-dashboard ._wbarr .ic,
  body.gb-mobile-merchant-dashboard ._wbarr .fl,
  body.gb-mobile-merchant-dashboard ._wbarr .ds {
    border: 1px solid var(--mm-line) !important;
    border-radius: 17px !important;
    background: var(--mm-card) !important;
    box-shadow: 0 9px 26px rgba(44, 39, 27, .045) !important;
  }

  body.gb-mobile-merchant-dashboard ._wbarr .dx {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 !important;
    overflow: hidden !important;
  }
  body.gb-mobile-merchant-dashboard ._wbarr .dx > li {
    width: auto !important;
    min-height: 88px !important;
    padding: 18px 8px 14px !important;
    border: 0 !important;
  }
  body.gb-mobile-merchant-dashboard ._wbarr .dx > li::before { display: none !important; }
  body.gb-mobile-merchant-dashboard ._wbarr .dx > li:nth-child(odd) { border-right: 1px solid #eeeae2 !important; }
  body.gb-mobile-merchant-dashboard ._wbarr .dx > li:nth-child(-n+2) { border-bottom: 1px solid #eeeae2 !important; }
  body.gb-mobile-merchant-dashboard ._wbarr .dx p {
    color: var(--mm-ink) !important;
    font-size: 20px !important;
    letter-spacing: -.03em !important;
  }
  body.gb-mobile-merchant-dashboard ._wbarr .dx p::before { color: var(--mm-gold) !important; }
  body.gb-mobile-merchant-dashboard ._wbarr .dx p.rep-profit-unknown::before { display: none !important; }
  body.gb-mobile-merchant-dashboard ._wbarr .dx i { margin-top: 7px !important; color: var(--mm-muted) !important; font-size: 12px !important; }

  body.gb-mobile-merchant-dashboard ._wbarr .js,
  body.gb-mobile-merchant-dashboard ._wbarr .cb,
  body.gb-mobile-merchant-dashboard ._wbarr .ic,
  body.gb-mobile-merchant-dashboard ._wbarr .fl,
  body.gb-mobile-merchant-dashboard ._wbarr .ds { margin: 14px 0 0 !important; }

  body.gb-mobile-merchant-dashboard ._wbarr .js { padding: 16px !important; }
  body.gb-mobile-merchant-dashboard ._wbarr .js .t { padding: 0 0 13px !important; color: var(--mm-ink) !important; font-size: 15px !important; }
  body.gb-mobile-merchant-dashboard ._wbarr .js > ul {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 0 !important;
  }
  body.gb-mobile-merchant-dashboard ._wbarr .js li {
    width: auto !important;
    min-width: 0 !important;
    min-height: 66px !important;
    margin: 0 !important;
    padding: 10px 6px !important;
    border-radius: 11px !important;
    background: #f8f7f4 !important;
    text-align: center !important;
  }
  body.gb-mobile-merchant-dashboard ._wbarr .js li::before { display: none !important; }
  body.gb-mobile-merchant-dashboard ._wbarr .js li p { color: var(--mm-muted) !important; font-size: 10px !important; line-height: 1.35 !important; }
  body.gb-mobile-merchant-dashboard ._wbarr .js li b { display: block !important; margin-bottom: 4px !important; color: var(--mm-ink) !important; font-size: 15px !important; }

  body.gb-mobile-merchant-dashboard ._wbarr .cb { padding: 15px 12px 8px !important; }
  body.gb-mobile-merchant-dashboard ._wbarr .cb .a { padding: 0 3px 8px !important; }
  body.gb-mobile-merchant-dashboard ._wbarr .cb .a ul li { padding: 4px 7px !important; border-radius: 999px !important; }
  body.gb-mobile-merchant-dashboard ._wbarr .cb .a ul .o { background: #171815 !important; color: #fff !important; }
  body.gb-mobile-merchant-dashboard ._wbarr .cb .a p i:first-child::before { background: var(--mm-gold) !important; }
  body.gb-mobile-merchant-dashboard ._wbarr .cb .c { height: 160px !important; }

  body.gb-mobile-merchant-dashboard ._wbarr .ic {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 12px !important;
  }
  body.gb-mobile-merchant-dashboard ._wbarr .ic > li {
    width: auto !important;
    min-width: 0 !important;
    min-height: 76px !important;
    margin: 0 !important;
    padding: 47px 4px 9px !important;
    border-radius: 11px !important;
    background-color: #f8f7f4 !important;
    background-position: center 12px !important;
    background-size: 27px 27px !important;
    color: #4c514d !important;
    font-size: 11px !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  body.gb-mobile-merchant-dashboard ._wbarr .fl {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
  body.gb-mobile-merchant-dashboard ._wbarr .fl > li {
    display: block !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 14px 6px !important;
    border-right: 1px solid #eeeae2 !important;
    border-radius: 0 !important;
    background: none !important;
    text-align: center !important;
  }
  body.gb-mobile-merchant-dashboard ._wbarr .fl > li:last-child { border-right: 0 !important; }
  body.gb-mobile-merchant-dashboard ._wbarr .fl p { margin-bottom: 5px !important; color: var(--mm-muted) !important; font-size: 10px !important; }
  body.gb-mobile-merchant-dashboard ._wbarr .fl b { color: var(--mm-ink) !important; font-size: 16px !important; }

  body.gb-mobile-merchant-dashboard ._wbarr .ds {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 12px !important;
  }
  body.gb-mobile-merchant-dashboard ._wbarr .ds > li { width: auto !important; margin: 0 !important; padding: 0 !important; color: var(--mm-ink) !important; }
  body.gb-mobile-merchant-dashboard ._wbarr .ds > li p {
    min-height: 66px !important;
    padding: 12px !important;
    border: 1px solid #ebe8e1 !important;
    border-radius: 11px !important;
    background: #f8f7f4 !important;
    color: #555a55 !important;
    box-sizing: border-box !important;
  }
  body.gb-mobile-merchant-dashboard ._wbarr .ds > li p::before { display: none !important; }
  body.gb-mobile-merchant-dashboard ._wbarr .ds b { margin-top: 10px !important; color: var(--mm-gold) !important; }

  body.gb-mobile-merchant-dashboard ._wbarr .rx { margin-top: 14px !important; }
  body.gb-mobile-merchant-dashboard ._wfoot { display: none !important; }
}

@media (max-width: 380px) {
  body.gb-mobile-merchant-dashboard ._wbarl > ul > li { padding-inline: 8px !important; font-size: 11px !important; }
  body.gb-mobile-merchant-dashboard .rep-merchant-wallet-entry strong { display: none !important; }
}

/* Make the merchant wallet the primary financial action without using a dark panel. */
body.gb-mobile-merchant-dashboard .rep-merchant-wallet-entry {
  position: relative !important;
  min-height: 108px !important;
  gap: 17px !important;
  padding: 20px 22px !important;
  border: 1px solid #d2bb8b !important;
  background: linear-gradient(110deg, #fff 0%, #fffdf8 58%, #f3e7ce 100%) !important;
  box-shadow: 0 14px 34px rgba(93, 70, 31, .11) !important;
}
body.gb-mobile-merchant-dashboard .rep-merchant-wallet-entry::before {
  content: var(--mm-funds);
  position: absolute;
  top: 13px;
  left: 93px;
  color: #8a6a34;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}
body.gb-mobile-merchant-dashboard .rep-wallet-entry-icon { width: 56px !important; height: 56px !important; flex-basis: 56px !important; background: #a27c3b !important; color: #fff !important; box-shadow: 0 8px 20px rgba(130,94,36,.2) !important; }
body.gb-mobile-merchant-dashboard .rep-merchant-wallet-entry span:nth-child(2) { padding-top: 12px; }
body.gb-mobile-merchant-dashboard .rep-merchant-wallet-entry b { font-size: 20px !important; }
body.gb-mobile-merchant-dashboard .rep-merchant-wallet-entry strong { display: inline-flex !important; padding: 10px 13px; border: 1px solid #b99a61; border-radius: 10px; color: #765a2d !important; }

@media(max-width:767px){
  body.gb-mobile-merchant-dashboard .rep-merchant-wallet-entry { min-height: 96px !important; gap: 12px !important; padding: 15px 14px !important; }
  body.gb-mobile-merchant-dashboard .rep-merchant-wallet-entry::before { top: 10px; left: 76px; }
  body.gb-mobile-merchant-dashboard .rep-wallet-entry-icon { width: 48px !important; height: 48px !important; flex-basis: 48px !important; }
  body.gb-mobile-merchant-dashboard .rep-merchant-wallet-entry span:nth-child(2) { padding-top: 10px; }
  body.gb-mobile-merchant-dashboard .rep-merchant-wallet-entry b { font-size: 18px !important; }
  body.gb-mobile-merchant-dashboard .rep-merchant-wallet-entry strong { display: inline-flex !important; padding: 8px 9px; font-size: 0 !important; }
  body.gb-mobile-merchant-dashboard .rep-merchant-wallet-entry strong::after { content: '›' !important; font-size: 23px !important; }
}
