/* WenaPay Business dashboard — simplified V8 production layout.
   Presentation only: merchant, wallet, ledger, Books and Tax APIs remain unchanged. */
:root{
  --mp-orange:#ff7b32;
  --mp-orange-deep:#ff6416;
  --mp-orange-hot:#ff9748;
  --mp-bg:#050607;
  --mp-panel:#111318;
  --mp-panel-2:#171a20;
  --mp-panel-3:#1c2027;
  --mp-ink:#f7f7f4;
  --mp-muted:#9da19e;
  --mp-line:rgba(255,255,255,.10);
  --mp-line-soft:rgba(255,255,255,.07);
  --mp-line-orange:rgba(255,123,50,.32);
  --mp-good:#27d17f;
  --mp-shadow:0 24px 70px rgba(0,0,0,.40);
}
*{box-sizing:border-box}
html{background:var(--mp-bg)}
body[data-wp-screen="BUSINESS-HOME-V7"]{
  margin:0;
  min-height:100vh;
  color:var(--mp-ink)!important;
  background:
    radial-gradient(circle at 78% 0,rgba(255,105,24,.16),transparent 26%),
    linear-gradient(180deg,#08090b 0%,#050607 52%,#030405 100%)!important;
}
body[data-wp-screen="BUSINESS-HOME-V7"] .wp-icon-sprite{position:absolute;width:0;height:0;overflow:hidden}
body[data-wp-screen="BUSINESS-HOME-V7"] .wp-icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
body[data-wp-screen="BUSINESS-HOME-V7"] .shell{position:relative;width:min(1500px,100%);margin:0 auto;padding:10px clamp(12px,2.1vw,28px) 96px}
body[data-wp-screen="BUSINESS-HOME-V7"] .topbar{min-height:68px;margin-bottom:14px;padding:8px 2px 12px;border-bottom:1px solid var(--mp-line-soft);background:transparent!important}
body[data-wp-screen="BUSINESS-HOME-V7"] .topbar .brand{opacity:0;pointer-events:none}
body[data-wp-screen="BUSINESS-HOME-V7"] .wp-top-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-left:auto}
body[data-wp-screen="BUSINESS-HOME-V7"] .pilot-chip,
body[data-wp-screen="BUSINESS-HOME-V7"] .wp-env-chip{display:inline-flex;align-items:center;min-height:38px;padding:0 12px;border:1px solid var(--mp-line);border-radius:999px;background:#11141a!important;color:#d9dcda!important;font-size:.72rem;font-weight:800}
body[data-wp-screen="BUSINESS-HOME-V7"] .button.ghost,
body[data-wp-screen="BUSINESS-HOME-V7"] .wp-workspace-select,
body[data-wp-screen="BUSINESS-HOME-V7"] .wp-account-link,
body[data-wp-screen="BUSINESS-HOME-V7"] .wp-signout{min-height:40px;background:#15181e!important;color:#f5f6f3!important;border:1px solid var(--mp-line)!important;box-shadow:none!important}
body[data-wp-screen="BUSINESS-HOME-V7"] .wp-workspace-select{min-width:190px;color-scheme:dark}
body[data-wp-screen="BUSINESS-HOME-V7"] .wp-workspace-select[hidden]{display:inline-flex!important;visibility:hidden;pointer-events:none}
body[data-wp-screen="BUSINESS-HOME-V7"] .button.primary{background:linear-gradient(105deg,var(--mp-orange-deep),var(--mp-orange) 58%,var(--mp-orange-hot))!important;color:#fff!important;border:1px solid rgba(255,166,92,.45)!important;box-shadow:0 10px 28px rgba(255,104,22,.24),0 0 22px rgba(255,123,50,.10)!important}
body[data-wp-screen="BUSINESS-HOME-V7"] .eyebrow{color:var(--mp-orange)!important;letter-spacing:.14em}
body[data-wp-screen="BUSINESS-HOME-V7"] h1,
body[data-wp-screen="BUSINESS-HOME-V7"] h2,
body[data-wp-screen="BUSINESS-HOME-V7"] h3,
body[data-wp-screen="BUSINESS-HOME-V7"] strong{color:var(--mp-ink)}
body[data-wp-screen="BUSINESS-HOME-V7"] .muted,
body[data-wp-screen="BUSINESS-HOME-V7"] .print-note,
body[data-wp-screen="BUSINESS-HOME-V7"] .empty{color:var(--mp-muted)!important}

/* Loading and sign-in states */
body[data-wp-screen="BUSINESS-HOME-V7"] .state-panel,
body[data-wp-screen="BUSINESS-HOME-V7"] .login-panel{width:min(100%,470px);margin:8vh auto 0;padding:30px;border:1px solid var(--mp-line-orange)!important;border-radius:28px;background:linear-gradient(145deg,#171a20,#0f1115)!important;color:var(--mp-ink)!important;box-shadow:var(--mp-shadow),0 0 34px rgba(255,123,50,.08)!important}
body[data-wp-screen="BUSINESS-HOME-V7"] .login-panel input{width:100%;padding:13px 14px;border:1px solid var(--mp-line)!important;border-radius:14px;background:#0b0d11!important;color:#fff!important;outline:none}
body[data-wp-screen="BUSINESS-HOME-V7"] .login-panel input:focus{border-color:var(--mp-orange)!important;box-shadow:0 0 0 3px rgba(255,123,50,.14)!important}
body[data-wp-screen="BUSINESS-HOME-V7"] .onboarding-login-note{border-color:rgba(255,123,50,.34)!important;background:rgba(255,123,50,.09)!important;color:#ffd7c0!important}
body[data-wp-screen="BUSINESS-HOME-V7"] .spinner{border-color:rgba(255,255,255,.13)!important;border-top-color:var(--mp-orange)!important}

/* Application shell */
body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-product-shell{display:grid;grid-template-columns:214px minmax(0,1fr);min-height:760px;border:1px solid var(--mp-line-orange);border-radius:28px;overflow:hidden;background:#07090c;box-shadow:var(--mp-shadow),0 0 34px rgba(255,123,50,.07)}
body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-desktop-sidebar{display:flex;flex-direction:column;padding:22px 13px 16px;border-right:1px solid var(--mp-line-soft);background:linear-gradient(180deg,#0c0e12,#080a0d 72%,#060709)}
body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-side-brand{display:block;padding:0 10px 22px}
body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-side-brand canvas{width:132px;max-width:100%;height:auto}
body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-side-nav{display:grid;gap:16px}
body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-side-group{display:grid;gap:5px}
body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-side-group-label{display:block;padding:0 10px 4px;color:#7f8581;font-size:.62rem;font-weight:900;text-transform:uppercase;letter-spacing:.14em}
body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-side-nav a{display:grid;grid-template-columns:24px 1fr;align-items:center;gap:9px;min-height:42px;padding:0 11px;border:1px solid transparent;border-radius:12px;color:#bec2be;text-decoration:none;font-size:.78rem;font-weight:780;transition:.15s ease}
body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-side-nav a .wp-icon{width:18px;height:18px;color:#e0e2df}
body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-side-nav a:hover{background:#11141a;border-color:var(--mp-line)}
body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-side-nav a.active{color:#ff9b62;background:linear-gradient(90deg,rgba(255,105,24,.24),rgba(255,123,50,.06));border-color:rgba(255,123,50,.28);box-shadow:inset 3px 0 0 var(--mp-orange)}
body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-side-nav a.active .wp-icon{color:var(--mp-orange)}
body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-side-support{display:grid;gap:7px;margin-top:auto;padding:14px;border:1px solid var(--mp-line);border-radius:16px;background:#0e1115}
body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-side-support .support-mark{color:var(--mp-orange);font-size:1.55rem;line-height:1;font-weight:900}
body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-side-support strong{font-size:.8rem}
body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-side-support small{color:var(--mp-muted);font-size:.68rem;line-height:1.45}
body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-side-support a{display:flex;justify-content:space-between;align-items:center;margin-top:3px;padding:8px 10px;border:1px solid rgba(255,123,50,.30);border-radius:10px;color:var(--mp-orange);text-decoration:none;font-size:.72rem;font-weight:900}
body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-dashboard-main{min-width:0;padding:28px 28px 34px;background:radial-gradient(circle at 94% 0,rgba(255,106,23,.13),transparent 22%),linear-gradient(180deg,#0b0d10 0%,#07090c 100%)}

/* Heading */
body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-heading{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:0 0 18px;padding:0 0 18px;border-bottom:0}
body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-heading-copy{min-width:0}
body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-greeting{margin:0 0 4px;color:#c3c6c3;font-size:.88rem}
body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-heading h1{margin:0 0 8px;font-size:clamp(2.25rem,4.7vw,4.35rem);line-height:.94;letter-spacing:-.06em;color:#fff}
body[data-wp-screen="BUSINESS-HOME-V7"] .status-line{display:flex;align-items:center;gap:8px;margin:0;color:#b8bcb8!important;font-size:.82rem}
body[data-wp-screen="BUSINESS-HOME-V7"] .live-dot{width:9px;height:9px;border-radius:50%;background:var(--mp-good);box-shadow:0 0 0 5px rgba(39,209,127,.09)}
body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-tagline{margin:8px 0 0;color:#909591;font-size:.8rem}

/* Onboarding */
body[data-wp-screen="BUSINESS-HOME-V7"] .onboarding-card{margin:0 0 16px;padding:22px;border:1px solid rgba(255,123,50,.26)!important;border-radius:22px;background:linear-gradient(145deg,#191612,#111318)!important;color:var(--mp-ink)!important;box-shadow:0 14px 34px rgba(0,0,0,.20)!important}
body[data-wp-screen="BUSINESS-HOME-V7"] .setup-step{background:#101318!important;color:var(--mp-ink)!important;border:1px solid var(--mp-line)!important}
body[data-wp-screen="BUSINESS-HOME-V7"] .setup-step small{color:var(--mp-muted)!important}

/* Summary */
body[data-wp-screen="BUSINESS-HOME-V7"] .metrics{display:grid;grid-template-columns:1.2fr 1fr;gap:14px;margin-bottom:16px}
body[data-wp-screen="BUSINESS-HOME-V7"] .metric{display:flex;flex-direction:column;min-height:174px;padding:22px;border:1px solid var(--mp-line)!important;border-radius:22px;background:linear-gradient(145deg,#171a20,#101217)!important;color:#fff!important;box-shadow:0 14px 34px rgba(0,0,0,.20)!important}
body[data-wp-screen="BUSINESS-HOME-V7"] .metric-dark{position:relative;overflow:hidden;background:radial-gradient(circle at 86% 20%,rgba(255,217,178,.24),transparent 29%),linear-gradient(110deg,#f75f14 0%,var(--mp-orange) 60%,#ff9849 100%)!important;border-color:rgba(255,174,101,.52)!important;box-shadow:0 18px 36px rgba(255,103,22,.24),0 0 24px rgba(255,123,50,.10)!important}
body[data-wp-screen="BUSINESS-HOME-V7"] .metric-dark:before{content:"";position:absolute;right:-28px;bottom:-98px;width:220px;height:220px;border:1px solid rgba(255,255,255,.20);border-radius:50%}
body[data-wp-screen="BUSINESS-HOME-V7"] .metric-kicker{position:relative;z-index:1;display:flex;align-items:center;gap:10px;color:rgba(255,255,255,.78);font-size:.78rem;font-weight:850}
body[data-wp-screen="BUSINESS-HOME-V7"] .metric-kicker .wp-icon{width:20px;height:20px}
body[data-wp-screen="BUSINESS-HOME-V7"] .metric strong{position:relative;z-index:1;margin:auto 0 6px;font-size:clamp(2.3rem,4.4vw,3.55rem);letter-spacing:-.055em;color:#fff!important}
body[data-wp-screen="BUSINESS-HOME-V7"] .metric-foot{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px}
body[data-wp-screen="BUSINESS-HOME-V7"] .metric-foot small{color:rgba(255,255,255,.62)!important;font-size:.72rem}
body[data-wp-screen="BUSINESS-HOME-V7"] .metric-foot a{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:0 12px;border:1px solid rgba(255,255,255,.16);border-radius:12px;color:#f8f8f6;text-decoration:none;font-size:.72rem;font-weight:850;white-space:nowrap}
body[data-wp-screen="BUSINESS-HOME-V7"] .metric-dark .metric-foot a{background:rgba(255,255,255,.86);border-color:transparent;color:#351508}
body[data-wp-screen="BUSINESS-HOME-V7"] .metric-sales .metric-kicker{color:#b5b9b5}

/* Attention */
body[data-wp-screen="BUSINESS-HOME-V7"] .attention{margin:0 0 20px;padding:18px 20px 20px;border:1px solid var(--mp-line)!important;border-radius:22px;background:linear-gradient(145deg,#14171c,#0f1115)!important;box-shadow:0 14px 34px rgba(0,0,0,.18)!important}
body[data-wp-screen="BUSINESS-HOME-V7"] .attention-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
body[data-wp-screen="BUSINESS-HOME-V7"] .attention-heading-copy{display:flex;align-items:center;gap:12px;min-width:0}
body[data-wp-screen="BUSINESS-HOME-V7"] .attention-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:rgba(255,123,50,.14);color:var(--mp-orange)}
body[data-wp-screen="BUSINESS-HOME-V7"] .attention-heading-copy h2{margin:0 0 4px;font-size:1.08rem}
body[data-wp-screen="BUSINESS-HOME-V7"] .attention-heading-copy p{margin:0;color:var(--mp-muted);font-size:.75rem}
body[data-wp-screen="BUSINESS-HOME-V7"] .attention-refresh{min-height:36px!important;padding:0 12px!important;font-size:.72rem!important}
body[data-wp-screen="BUSINESS-HOME-V7"] .attention-loading{padding:14px;color:var(--mp-muted);font-size:.8rem}
body[data-wp-screen="BUSINESS-HOME-V7"] .attention-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body[data-wp-screen="BUSINESS-HOME-V7"] .insight{display:grid;min-height:118px;padding:16px;border:1px solid var(--mp-line);border-radius:18px;background:#111419;color:#fff;text-decoration:none}
body[data-wp-screen="BUSINESS-HOME-V7"] .insight>span{color:#9da19e!important;font-size:.68rem!important;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
body[data-wp-screen="BUSINESS-HOME-V7"] .insight>strong{margin:8px 0 6px;font-size:1.35rem;letter-spacing:-.03em}
body[data-wp-screen="BUSINESS-HOME-V7"] .insight>p{margin:0;color:#a8aca8!important;font-size:.72rem;line-height:1.45}
body[data-wp-screen="BUSINESS-HOME-V7"] .insight.good{background:linear-gradient(145deg,#10251a,#0e1d16);border-color:rgba(39,209,127,.25)}
body[data-wp-screen="BUSINESS-HOME-V7"] .insight.warn{background:linear-gradient(145deg,#2a190f,#18110d);border-color:rgba(255,123,50,.30)}

/* Business tools */
body[data-wp-screen="BUSINESS-HOME-V7"] .business-tools-section{margin:0 0 22px}
body[data-wp-screen="BUSINESS-HOME-V7"] .business-tools-heading{margin:0 0 12px}
body[data-wp-screen="BUSINESS-HOME-V7"] .business-tools-heading h2{margin:0 0 4px;font-size:1.2rem}
body[data-wp-screen="BUSINESS-HOME-V7"] .business-tools-heading p{margin:0;color:var(--mp-muted);font-size:.76rem}
body[data-wp-screen="BUSINESS-HOME-V7"] .business-tool-groups{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
body[data-wp-screen="BUSINESS-HOME-V7"] .business-tool-group{padding:14px;border:1px solid var(--mp-line);border-radius:20px;background:linear-gradient(145deg,#12151a,#0d1014)}
body[data-wp-screen="BUSINESS-HOME-V7"] .business-tool-group-title{display:flex;align-items:center;gap:8px;margin-bottom:10px;color:var(--mp-orange);font-size:.66rem;font-weight:950;text-transform:uppercase;letter-spacing:.07em}
body[data-wp-screen="BUSINESS-HOME-V7"] .business-tool-group-title .wp-icon{width:17px;height:17px}
body[data-wp-screen="BUSINESS-HOME-V7"] .business-tool-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}
body[data-wp-screen="BUSINESS-HOME-V7"] .business-tool-action{position:relative;display:flex;flex-direction:column;min-height:154px;padding:13px;border:1px solid var(--mp-line-soft);border-radius:16px;background:linear-gradient(145deg,#181b21,#12151a);color:#f5f6f3;text-decoration:none;transition:.15s ease}
body[data-wp-screen="BUSINESS-HOME-V7"] .business-tool-action:hover{transform:translateY(-2px);border-color:rgba(255,123,50,.34);box-shadow:0 12px 28px rgba(0,0,0,.22)}
body[data-wp-screen="BUSINESS-HOME-V7"] .tool-action-icon{display:grid;place-items:center;width:34px;height:34px;margin-bottom:12px;border-radius:10px;background:rgba(255,123,50,.12);color:var(--mp-orange)}
body[data-wp-screen="BUSINESS-HOME-V7"] .tool-action-icon .wp-icon{width:18px;height:18px}
body[data-wp-screen="BUSINESS-HOME-V7"] .business-tool-action strong{display:block;margin-bottom:5px;font-size:.79rem}
body[data-wp-screen="BUSINESS-HOME-V7"] .business-tool-action small{display:block;color:var(--mp-muted);font-size:.67rem;line-height:1.45}
body[data-wp-screen="BUSINESS-HOME-V7"] .tool-arrow{position:absolute;right:12px;bottom:12px;width:16px!important;height:16px!important;color:#b8bcb8}
body[data-wp-screen="BUSINESS-HOME-V7"] .primary-tool .tool-arrow{color:var(--mp-orange)}

/* QR and activity */
body[data-wp-screen="BUSINESS-HOME-V7"] .content-section{margin-top:4px}
body[data-wp-screen="BUSINESS-HOME-V7"] .content-section-heading{margin:0 0 12px}
body[data-wp-screen="BUSINESS-HOME-V7"] .content-section-heading h2{margin:0 0 4px;font-size:1.15rem}
body[data-wp-screen="BUSINESS-HOME-V7"] .content-section-heading p{margin:0;color:var(--mp-muted);font-size:.76rem}
body[data-wp-screen="BUSINESS-HOME-V7"] .content-grid{display:grid;grid-template-columns:minmax(300px,.85fr) minmax(0,1.15fr);gap:14px}
body[data-wp-screen="BUSINESS-HOME-V7"] .panel,
body[data-wp-screen="BUSINESS-HOME-V7"] .qr-panel,
body[data-wp-screen="BUSINESS-HOME-V7"] .transactions-panel{background:linear-gradient(145deg,#171a20,#101217)!important;color:var(--mp-ink)!important;border:1px solid var(--mp-line)!important;box-shadow:0 14px 34px rgba(0,0,0,.18)!important}
body[data-wp-screen="BUSINESS-HOME-V7"] .qr-copy p,
body[data-wp-screen="BUSINESS-HOME-V7"] .transaction small{color:var(--mp-muted)!important}
body[data-wp-screen="BUSINESS-HOME-V7"] .qr-frame{background:#fff!important;border-color:rgba(255,255,255,.14)!important}
body[data-wp-screen="BUSINESS-HOME-V7"] .payment-url{color:#9da19e!important}
body[data-wp-screen="BUSINESS-HOME-V7"] .transaction{border-color:var(--mp-line-soft)!important}
body[data-wp-screen="BUSINESS-HOME-V7"] .icon-button{background:#15181e!important;color:#e5e7e4!important;border:1px solid var(--mp-line)!important}
body[data-wp-screen="BUSINESS-HOME-V7"] .error{color:#ff9a89!important}
body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-bottom-nav{display:none}

/* Tablet */
@media(max-width:1180px){
  body[data-wp-screen="BUSINESS-HOME-V7"] .business-tool-groups{grid-template-columns:1fr 1fr}
}
@media(max-width:900px){
  body[data-wp-screen="BUSINESS-HOME-V7"] .shell{width:min(100%,760px);padding:8px 14px calc(100px + env(safe-area-inset-bottom))}
  body[data-wp-screen="BUSINESS-HOME-V7"] .topbar .brand{opacity:1;pointer-events:auto}
  body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-product-shell{grid-template-columns:1fr;border-radius:24px}
  body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-desktop-sidebar{display:none}
  body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-dashboard-main{padding:22px 18px 96px}
  body[data-wp-screen="BUSINESS-HOME-V7"] .metrics{grid-template-columns:1fr 1fr}
  body[data-wp-screen="BUSINESS-HOME-V7"] .business-tool-groups{grid-template-columns:1fr 1fr}
  body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-bottom-nav{position:fixed;z-index:40;left:50%;bottom:calc(12px + env(safe-area-inset-bottom));transform:translateX(-50%);display:grid;grid-template-columns:repeat(4,1fr);width:min(520px,calc(100% - 24px));padding:8px;border:1px solid rgba(255,255,255,.10);border-radius:24px;background:rgba(15,17,21,.96)!important;box-shadow:0 18px 48px rgba(0,0,0,.48),0 0 24px rgba(255,123,50,.07);backdrop-filter:blur(18px)}
  body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-bottom-nav a{display:grid;place-items:center;gap:4px;min-height:54px;border-radius:17px;color:#858a86!important;text-decoration:none;font-size:.66rem;font-weight:800}
  body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-bottom-nav a .wp-icon{width:19px;height:19px}
  body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-bottom-nav a.active{background:linear-gradient(105deg,#f96518,var(--mp-orange),#ff9748);color:#111!important;box-shadow:0 8px 22px rgba(255,104,22,.28)}
}

/* Mobile */
@media(max-width:680px){
  body[data-wp-screen="BUSINESS-HOME-V7"] .shell{padding-inline:10px}
  body[data-wp-screen="BUSINESS-HOME-V7"] .topbar{display:grid;grid-template-columns:1fr;gap:8px;min-height:auto}
  body[data-wp-screen="BUSINESS-HOME-V7"] .topbar .brand{max-width:128px}
  body[data-wp-screen="BUSINESS-HOME-V7"] .wp-top-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}
  body[data-wp-screen="BUSINESS-HOME-V7"] .wp-env-chip{display:none!important}
  body[data-wp-screen="BUSINESS-HOME-V7"] .wp-workspace-select{grid-column:1/-1;width:100%;min-width:0;max-width:none}
  body[data-wp-screen="BUSINESS-HOME-V7"] .wp-workspace-select[hidden]{display:block!important}
  body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-dashboard-main{padding:18px 14px 92px}
  body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-heading{align-items:flex-start}
  body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-heading h1{font-size:clamp(2.05rem,10vw,3rem)}
  body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-tagline{max-width:280px}
    body[data-wp-screen="BUSINESS-HOME-V7"] .metrics{grid-template-columns:1fr}
  body[data-wp-screen="BUSINESS-HOME-V7"] .metric{min-height:154px}
  body[data-wp-screen="BUSINESS-HOME-V7"] .attention-head{align-items:flex-start}
  body[data-wp-screen="BUSINESS-HOME-V7"] .attention-heading-copy{align-items:flex-start}
  body[data-wp-screen="BUSINESS-HOME-V7"] .attention-grid{grid-template-columns:1fr}
  body[data-wp-screen="BUSINESS-HOME-V7"] .business-tool-groups{grid-template-columns:1fr}
  body[data-wp-screen="BUSINESS-HOME-V7"] .business-tool-action{min-height:138px}
  body[data-wp-screen="BUSINESS-HOME-V7"] .content-grid{grid-template-columns:1fr}
  body[data-wp-screen="BUSINESS-HOME-V7"] .setup-progress{grid-template-columns:1fr!important}
}
@media(max-width:460px){
  body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-product-shell{border-radius:20px}
  body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-dashboard-main{padding-inline:12px}
  body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-heading{display:grid;grid-template-columns:1fr}
    body[data-wp-screen="BUSINESS-HOME-V7"] .metric-foot{align-items:flex-start;flex-direction:column}
  body[data-wp-screen="BUSINESS-HOME-V7"] .metric-foot a{width:100%;justify-content:center}
  body[data-wp-screen="BUSINESS-HOME-V7"] .attention-head{display:grid;grid-template-columns:1fr}
  body[data-wp-screen="BUSINESS-HOME-V7"] .attention-refresh{width:100%}
  body[data-wp-screen="BUSINESS-HOME-V7"] .business-tool-actions{grid-template-columns:1fr 1fr}
  body[data-wp-screen="BUSINESS-HOME-V7"] .business-tool-action{min-height:148px}
  body[data-wp-screen="BUSINESS-HOME-V7"] .wp-top-actions{grid-template-columns:1fr}
}
@media(max-width:360px){
  body[data-wp-screen="BUSINESS-HOME-V7"] .business-tool-actions{grid-template-columns:1fr}
  body[data-wp-screen="BUSINESS-HOME-V7"] .business-tool-action{min-height:118px}
}
@media print{
  body[data-wp-screen="BUSINESS-HOME-V7"]{background:#fff!important}
  body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-product-shell{display:block;border:0;box-shadow:none}
  body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-desktop-sidebar{display:none!important}
  body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-dashboard-main{padding:0;background:#fff}
}


/* V9 primary sale entry cards: same two-mode experience as the dedicated POS screen. */
body[data-wp-screen="BUSINESS-HOME-V7"] .dashboard-sale-entry{
  display:grid;
  grid-template-columns:minmax(220px,.72fr) minmax(0,1.28fr);
  gap:18px;
  align-items:stretch;
  margin:0 0 20px;
  padding:18px 20px;
  border:1px solid var(--mp-line);
  border-radius:22px;
  background:linear-gradient(145deg,#12151a,#0d1014);
  box-shadow:0 14px 34px rgba(0,0,0,.18);
}
body[data-wp-screen="BUSINESS-HOME-V7"] .dashboard-sale-entry-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
  padding:4px 4px 4px 0;
}
body[data-wp-screen="BUSINESS-HOME-V7"] .dashboard-sale-entry-copy h2{
  margin:4px 0 6px;
  font-size:1.18rem;
  letter-spacing:-.025em;
}
body[data-wp-screen="BUSINESS-HOME-V7"] .dashboard-sale-entry-copy p:last-child{
  margin:0;
  color:var(--mp-muted);
  font-size:.75rem;
  line-height:1.5;
}
body[data-wp-screen="BUSINESS-HOME-V7"] .dashboard-sale-entry-cards{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
body[data-wp-screen="BUSINESS-HOME-V7"] .dashboard-sale-card{
  position:relative;
  display:flex;
  flex-direction:column;
  min-height:176px;
  padding:16px;
  overflow:hidden;
  border:1px solid var(--mp-line);
  border-radius:20px;
  background:linear-gradient(145deg,#181b21,#111419);
  color:#fff;
  text-decoration:none;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body[data-wp-screen="BUSINESS-HOME-V7"] .dashboard-sale-card:hover{
  transform:translateY(-2px);
  border-color:rgba(255,123,50,.42);
  box-shadow:0 16px 34px rgba(0,0,0,.28);
}
body[data-wp-screen="BUSINESS-HOME-V7"] .dashboard-sale-card.scan-entry-card{
  background:
    radial-gradient(circle at 82% 18%,rgba(255,224,194,.24),transparent 30%),
    linear-gradient(135deg,#f75f14,var(--mp-orange) 62%,#ff9849);
  border-color:rgba(255,175,110,.48);
  box-shadow:0 16px 34px rgba(255,104,22,.18);
}
body[data-wp-screen="BUSINESS-HOME-V7"] .dashboard-sale-icon{
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  margin-bottom:auto;
  border-radius:13px;
  background:rgba(255,123,50,.12);
  color:var(--mp-orange);
}
body[data-wp-screen="BUSINESS-HOME-V7"] .scan-entry-card .dashboard-sale-icon{
  background:rgba(255,255,255,.18);
  color:#fff;
}
body[data-wp-screen="BUSINESS-HOME-V7"] .dashboard-sale-icon .wp-icon{
  width:23px;
  height:23px;
}
body[data-wp-screen="BUSINESS-HOME-V7"] .dashboard-sale-card strong{
  display:block;
  margin-top:18px;
  font-size:1rem;
  line-height:1.12;
}
body[data-wp-screen="BUSINESS-HOME-V7"] .dashboard-sale-card small{
  display:block;
  max-width:210px;
  margin-top:6px;
  color:#9da19e;
  font-size:.69rem;
  line-height:1.45;
}
body[data-wp-screen="BUSINESS-HOME-V7"] .scan-entry-card small{
  color:rgba(255,255,255,.82);
}
body[data-wp-screen="BUSINESS-HOME-V7"] .dashboard-sale-arrow{
  position:absolute;
  right:14px;
  bottom:14px;
  width:18px!important;
  height:18px!important;
  color:#b7bbb7;
}
body[data-wp-screen="BUSINESS-HOME-V7"] .scan-entry-card .dashboard-sale-arrow{
  color:#fff;
}
@media(max-width:900px){
  body[data-wp-screen="BUSINESS-HOME-V7"] .dashboard-sale-entry{
    grid-template-columns:1fr;
  }
  body[data-wp-screen="BUSINESS-HOME-V7"] .dashboard-sale-entry-copy{
    padding-right:0;
  }
}
@media(max-width:560px){
  body[data-wp-screen="BUSINESS-HOME-V7"] .dashboard-sale-entry{
    padding:15px;
  }
  body[data-wp-screen="BUSINESS-HOME-V7"] .dashboard-sale-entry-cards{
    grid-template-columns:1fr 1fr;
    gap:9px;
  }
  body[data-wp-screen="BUSINESS-HOME-V7"] .dashboard-sale-card{
    min-height:154px;
    padding:13px;
    border-radius:17px;
  }
  body[data-wp-screen="BUSINESS-HOME-V7"] .dashboard-sale-card strong{
    font-size:.9rem;
  }
  body[data-wp-screen="BUSINESS-HOME-V7"] .dashboard-sale-card small{
    font-size:.64rem;
  }
}
@media(max-width:380px){
  body[data-wp-screen="BUSINESS-HOME-V7"] .dashboard-sale-entry-cards{
    grid-template-columns:1fr;
  }
  body[data-wp-screen="BUSINESS-HOME-V7"] .dashboard-sale-card{
    min-height:138px;
  }
}

@media(max-width:900px){
  body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-bottom-nav{grid-template-columns:repeat(3,1fr)!important;width:min(440px,calc(100% - 24px))!important}
}


/* Exact approved Business mobile header/nav V18 */
@media(max-width:900px){
  body[data-wp-screen="BUSINESS-HOME-V7"] .shell{padding:4px 16px 96px!important}
  body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-product-shell{
    border:0!important;border-radius:0!important;overflow:visible!important;background:transparent!important;box-shadow:none!important
  }
  body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-dashboard-main{padding:16px 0 96px!important;background:transparent!important}
  body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-bottom-nav{
    grid-template-columns:repeat(3,1fr)!important;width:min(520px,calc(100% - 32px))!important;
    min-height:76px!important;padding:8px 10px!important;border:1px solid rgba(255,123,50,.30)!important;
    border-radius:24px!important;background:rgba(13,15,19,.97)!important
  }
}
@media(max-width:720px){
  body[data-wp-screen="BUSINESS-HOME-V7"] .wp-premium-business-header{
    min-height:54px!important;margin:0 0 10px!important;padding:2px 0 8px!important;border-bottom:0!important
  }
  body[data-wp-screen="BUSINESS-HOME-V7"] .wp-premium-business-header .brand{opacity:1!important;pointer-events:auto!important}
  body[data-wp-screen="BUSINESS-HOME-V7"] .wp-premium-business-header .wp-top-actions{display:none!important}
  body[data-wp-screen="BUSINESS-HOME-V7"] .wp-premium-business-header.wp-overflow-open .wp-top-actions{display:grid!important}
  body[data-wp-screen="BUSINESS-HOME-V7"] .wp-premium-business-header.wp-overflow-open{margin-bottom:108px!important}
}
@media(max-width:430px){
  body[data-wp-screen="BUSINESS-HOME-V7"] .shell{padding-inline:10px!important}
  body[data-wp-screen="BUSINESS-HOME-V7"] .merchant-bottom-nav{width:calc(100% - 20px)!important;min-height:68px!important}
}
