/* Shared WenaPay Business theme bridge.
   The same localStorage key (wenapay_theme) is used by Personal and Business.
   Dark keeps the approved graphite Business UI. Light mirrors the approved Personal Home palette. */
html[data-theme] body .wp-premium-business-header,
html[data-theme] body .wp-premium-business-header.wp-overflow-open{margin-bottom:10px!important}
html[data-theme] body .wp-premium-business-header .wp-business-overflow,
html[data-theme] body .wp-premium-business-header .wp-business-theme-toggle,
html[data-theme] body .wp-premium-business-header .wp-account-link,
html[data-theme] body .wp-premium-business-header .wp-signout,
html[data-theme] body .wp-premium-business-header .wp-workspace-select{min-width:44px!important;min-height:44px!important;height:44px!important}
html[data-theme] body .wp-premium-business-header .wp-business-control .wp-workspace-select{font-size:16px!important}
html[data-theme="light"] body .wp-premium-business-header .wp-business-control,
html[data-theme="light"] body .wp-premium-business-header .wp-business-overflow,
html[data-theme="light"] body .wp-premium-business-header .wp-top-actions{background:#fff!important;color:#171717!important;border-color:#dedede!important}
html[data-theme="light"] body .wp-premium-business-header .wp-business-control .wp-workspace-select{background:transparent!important;color:#171717!important}
html[data-theme="light"] body .wp-premium-business-header .wp-business-overflow span{background:#171717!important}
html[data-theme="light"] body .wp-premium-business-header .wp-workspace-select:focus-visible,
html[data-theme="light"] body .wp-premium-business-header button:focus-visible,
html[data-theme="light"] body .wp-premium-business-header a:focus-visible{outline:3px solid #9a3700!important;outline-offset:3px!important}
@media(max-width:720px){html[data-theme] body .wp-premium-business-header{grid-template-columns:88px minmax(0,1fr) 44px!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}body .spinner{animation:none!important}}
.wp-business-theme-toggle{
  display:inline-grid;place-items:center;width:42px;height:42px;min-width:42px;padding:0!important;
  border:1px solid rgba(255,255,255,.12);border-radius:14px;background:#171a20;color:#f7f7f4;
  box-shadow:none;cursor:pointer
}
.wp-business-theme-toggle svg{grid-area:1/1;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.wp-business-theme-toggle .wp-theme-sun{display:block}.wp-business-theme-toggle .wp-theme-moon{display:none}
html[data-theme="light"] .wp-business-theme-toggle{background:#fff;color:#111315;border-color:rgba(17,19,21,.10);box-shadow:0 9px 24px rgba(38,28,20,.08)}
html[data-theme="light"] .wp-business-theme-toggle .wp-theme-sun{display:none}
html[data-theme="light"] .wp-business-theme-toggle .wp-theme-moon{display:block}

/* Business Home */
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"]{
  --ink:#111315;--muted:#5e5751;--line:rgba(17,19,21,.10);
  background:radial-gradient(circle at 88% -4%,rgba(255,123,50,.11),transparent 28rem),#f7f5f2!important;
  color:#111315!important
}
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .shell{background:transparent!important}
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .topbar{border-color:rgba(17,19,21,.09)!important}
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .wp-env-chip,
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .wp-workspace-select,
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .wp-account-link,
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .wp-signout{
  background:#fff!important;color:#111315!important;border-color:rgba(17,19,21,.10)!important;
  box-shadow:0 7px 20px rgba(38,28,20,.06)!important
}
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .wp-workspace-select{color-scheme:light!important}
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] h1,
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] h2,
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] h3,
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] strong{color:#111315!important}
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .muted,
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .status-line,
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .tool-card p,
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .business-action p,
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .empty,
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .transaction small,
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .payment-url{color:#5e5751!important}
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .panel,
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .metric,
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .tool-card,
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .business-action,
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .insight,
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .setup-step{
  background:#fff!important;color:#111315!important;border-color:rgba(17,19,21,.09)!important;
  box-shadow:0 12px 30px rgba(38,28,20,.06)!important
}
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .metric-dark{
  background:linear-gradient(145deg,#ff6818,#ff913e)!important;color:#fff!important;border-color:rgba(255,123,50,.25)!important
}
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .metric-dark strong,
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .metric-dark span,
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .metric-dark small{color:#fff!important}
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .button.ghost,
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .icon-button{background:#fff!important;color:#111315!important;border-color:rgba(17,19,21,.10)!important}
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .onboarding-card{
  background:linear-gradient(115deg,#fff5ee,#fff 58%,#fff7f1)!important;color:#111315!important;
  border-color:rgba(255,123,50,.22)!important;box-shadow:0 14px 34px rgba(38,28,20,.07)!important
}
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-bottom-nav{
  background:rgba(255,255,255,.97)!important;border-color:rgba(17,19,21,.10)!important;
  box-shadow:0 18px 46px rgba(38,28,20,.14)!important
}
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-bottom-nav a{color:#6b665f!important}
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-bottom-nav a.active{color:#e9651b!important}

/* POS / Sell */
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"]{
  --wp-ink:#111315;--wp-muted:#5e5751;--wp-bg:#f7f5f2;--wp-panel:#fff;--wp-panel-2:#fbf4ed;
  --wp-line:rgba(17,19,21,.10);--wp-line-soft:rgba(17,19,21,.07);
  background:#f7f5f2!important;color:#111315!important
}
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .pos-sidebar{
  background:linear-gradient(180deg,#fff,#fbf7f2 72%,#f7f5f2)!important;border-color:rgba(17,19,21,.09)!important
}
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .pos-sidebar-label,
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .sidebar-foot{color:#6b625b!important}
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .sidebar-foot,
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .stock-shortcuts a{background:#fff!important;color:#111315!important;border-color:rgba(17,19,21,.09)!important}
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .pos-nav a{color:#625a54!important}
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .pos-nav a:hover{background:#fff7f1!important;border-color:rgba(255,123,50,.14)!important}
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .pos-nav a.active{color:#a33d00!important;background:linear-gradient(90deg,rgba(255,123,50,.16),rgba(255,123,50,.05))!important}
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .pos-main{
  background:radial-gradient(circle at 98% 0,rgba(255,123,50,.08),transparent 24rem),#f7f5f2!important
}
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .pos-topbar{border-color:rgba(17,19,21,.09)!important}
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .wp-env-chip,
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .wp-workspace-select,
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .wp-account-link,
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .wp-signout{
  background:#fff!important;color:#111315!important;border-color:rgba(17,19,21,.10)!important;box-shadow:0 7px 20px rgba(38,28,20,.06)!important
}
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .wp-workspace-select{color-scheme:light!important}
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .pos-hero h1,
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .catalogue-toolbar h2,
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .product-name,
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .product-price,
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .cart-top h2,
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .cart-line-name,
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .summary-row strong{color:#111315!important}
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .pos-hero p,
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .catalogue-toolbar p,
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .product-description,
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .product-stock,
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .summary-row{color:#6b625b!important}
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .pos-mode-card:not(.scan-mode),
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .product-card,
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .search-wrap,
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .category-button,
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .pos-cart{
  background:#fff!important;color:#111315!important;border-color:rgba(17,19,21,.09)!important;
  box-shadow:0 12px 30px rgba(38,28,20,.055)!important
}
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .pos-mode-card:not(.scan-mode) strong{color:#111315!important}
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .pos-mode-card:not(.scan-mode) small{color:#6b625b!important}
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .search-wrap input{color:#111315!important}
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .category-button{color:#4f4944!important}
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .category-button.active{color:#fff!important}
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .cart-count,
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .qty-row button,
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .secondary-button{
  background:#fff!important;color:#111315!important;border-color:rgba(17,19,21,.10)!important
}
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .checkout-panel,
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .payment-ready,
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .payment-method,
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .payment-method-view{
  background:#fff!important;color:#111315!important;border-color:rgba(17,19,21,.10)!important;
  box-shadow:0 12px 30px rgba(38,28,20,.06)!important
}
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .checkout-head p,
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .payment-method small,
html[data-theme="light"] body[data-wp-screen="BUSINESS-POS-V9"] .method-copy p{color:#6b625b!important}

@media(max-width:700px){.wp-business-theme-toggle{width:100%}}


/* Complete desktop Business Home light treatment.
   These selectors sit after the gallery/compact dark layers and therefore own both
   the container background and the matching text colour in saved light mode. */
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-product-shell{
  background:#fff!important;border-color:rgba(255,123,50,.16)!important;
  box-shadow:0 20px 54px rgba(38,28,20,.09)!important;
}
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-desktop-sidebar{
  background:linear-gradient(180deg,#fff,#fbf7f2 72%,#f7f5f2)!important;
  border-color:rgba(17,19,21,.09)!important;
}
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-side-group-label,
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-side-support small{color:#6b625b!important}
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-side-nav a{color:#625a54!important}
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-side-nav a .wp-icon{color:#756f69!important}
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-side-nav a:hover{background:#fff7f1!important;border-color:rgba(255,123,50,.14)!important}
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-side-nav a.active{
  color:#a33d00!important;background:linear-gradient(90deg,rgba(255,123,50,.16),rgba(255,123,50,.05))!important;
  border-color:rgba(255,123,50,.22)!important;
}
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-side-support{
  background:#fff!important;border-color:rgba(17,19,21,.09)!important;color:#111315!important;
}
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-side-support strong{color:#111315!important}
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-dashboard-main{
  background:radial-gradient(circle at 94% 0,rgba(255,123,50,.08),transparent 24rem),linear-gradient(180deg,#fff 0%,#f7f5f2 100%)!important;
}
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-heading h1,
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .business-command-head h2{color:#111315!important}
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-greeting,
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-tagline,
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .business-command-head p{color:#6b625b!important}
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .business-command-card{
  background:linear-gradient(180deg,#fff,#fbf4ed)!important;color:#111315!important;
  border-color:rgba(255,123,50,.13)!important;box-shadow:0 12px 28px rgba(38,28,20,.06)!important;
}
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .business-command-card:hover,
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .business-command-card:focus-visible{
  background:#fff8f2!important;border-color:rgba(255,123,50,.30)!important;
}
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .business-command-copy strong{color:#111315!important}
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .business-command-copy small{color:#6b625b!important}
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .business-command-icon{
  background:#fff7f1!important;color:#e9651b!important;border-color:rgba(255,123,50,.18)!important;
}
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .business-command-card.primary .business-command-icon{
  background:linear-gradient(135deg,#ff6818,#ff9748)!important;color:#fff!important;border-color:transparent!important;
}
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .attention{
  background:#fff!important;border-color:rgba(17,19,21,.09)!important;box-shadow:0 12px 30px rgba(38,28,20,.06)!important;
}
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .attention-heading-copy h2{color:#111315!important}
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .attention-heading-copy p,
html[data-theme="light"] body[data-wp-screen="BUSINESS-HOME-V7"] .attention-loading{color:#6b625b!important}
