/* Shared workspace rules. Brand tokens are supplied by /brand-theme.css. */
body.locked-global-theme,body.admin-theme{background:var(--brand-background,#f5f7fa);font-family:'Jost','Noto Sans Devanagari',system-ui,sans-serif;line-height:1.55}
body :is(button,input,select,textarea){font:inherit}
body :is(input,select,textarea){max-width:100%;accent-color:var(--brand-primary)}
body :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--brand-primary);outline-offset:3px}
body :is(.btn.primary,button.primary,.settings-savebar button){background:var(--brand-primary)!important;border-color:var(--brand-primary)!important;color:var(--brand-on-primary)!important}
body :is(.dash-hero,.brand-preview){background:var(--brand-primary)!important;color:var(--brand-on-primary)!important}
body .dash-hero :is(h1,p,.kicker){color:inherit!important}
body :is(.dash-nav a.active,.mobile-app-dock-v224 a.active,.v2423-sidebar-nav a.active){background:var(--brand-primary-soft)!important;color:var(--brand-primary-dark)!important}
body :is(.panel,.stat-card,.feature-card,.buyer-action-grid>a){border-radius:16px;border:1px solid #e3e8ee;box-shadow:0 5px 20px #172b4d06}
body :is(.dash-main,.dash-main>* , .page-shell,.v2423-admin-content){min-width:0}
body :is(h1,h2,h3){letter-spacing:-.025em;text-wrap:balance}
body .panel-head h3{margin:0}
body .panel-head small,.order-row small{display:block;font-size:12px;font-weight:400;color:#657784}
body .account-status{margin:20px 0;padding:22px}
.account-flow{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:20px 0}
.account-flow>div{background:var(--brand-primary-soft);border-radius:12px;padding:15px}
.account-flow b{display:block;color:var(--brand-primary-dark);font-size:28px;font-variant-numeric:tabular-nums}
.account-flow span{font-size:13px}
body .brand-preview{display:flex;align-items:center;gap:18px;padding:24px;border-radius:14px;margin-top:20px}
.brand-preview b{font-size:24px}.brand-preview button{margin-left:auto;background:var(--brand-accent);color:var(--brand-on-accent);border:0;border-radius:10px;padding:12px 20px}
input[type=color]{width:100%;height:48px;padding:4px;border:1px solid #dce4eb;border-radius:10px}
.device-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0;border-bottom:1px solid #e3e8ee}.device-row small{display:block;color:#657784}
.order-row{gap:12px}.order-row>span{min-width:0;overflow-wrap:anywhere}
.table-wrap{max-width:100%;overflow-x:auto}
@media(max-width:720px){body :is(input,select,textarea){font-size:16px}body :is(.btn,button,summary){min-height:44px}.account-flow{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.account-flow>div:last-child{grid-column:1/-1}.brand-preview{flex-wrap:wrap}.brand-preview button{margin-left:0}.device-row{align-items:flex-start}.panel-head{flex-wrap:wrap;gap:12px}body .account-status{padding:16px}body .dash-hero{padding:22px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

@media print{body{background:white!important}.site-header,.trustbar,.footer,.mobile-app-dock-v222,.quick-backbar,.category-nav,.v231-invoice button,.page-shell>.btn{display:none!important}.v231-invoice{border:0!important;box-shadow:none!important;max-width:100%!important}a[href]:after{content:none!important}}
/* Customer and seller workspaces use a full-width mobile canvas. */
body.locked-global-theme.locked-v250 .dashboard-shell{display:grid!important;grid-template-columns:230px minmax(0,1fr)!important;align-items:start;gap:22px!important;max-width:1280px!important;margin:24px auto!important;padding:0 24px!important}
body.locked-global-theme.locked-v250 .dashboard-shell>.dash-main{width:100%!important;max-width:none!important;margin:0!important;min-width:0!important}
body.locked-global-theme.locked-v250 .dashboard-shell>.dash-nav{width:auto!important;min-width:0!important}
body.locked-global-theme.locked-v250 .dashboard-shell .metric-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
body.locked-global-theme.locked-v250 .dashboard-shell .buyer-action-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
@media(max-width:850px){
body.locked-global-theme.locked-v250 .dashboard-shell{display:block!important;margin:16px auto!important;padding:0 12px!important}
body.locked-global-theme.locked-v250 .dashboard-shell>.dash-nav{display:flex!important;flex-wrap:nowrap!important;position:static!important;overflow-x:auto!important;gap:7px!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;margin:0 0 16px!important;padding:10px!important;border-radius:14px!important}
body.locked-global-theme.locked-v250 .dashboard-shell>.dash-nav>:is(h3,form){display:none!important}
body.locked-global-theme.locked-v250 .dashboard-shell>.dash-nav>a{display:flex!important;align-items:center;flex:0 0 auto!important;white-space:nowrap!important;padding:10px 13px!important;margin:0!important;min-height:44px!important;font-size:14px!important}
body.locked-global-theme.locked-v250 .dashboard-shell>.dash-main{padding:0!important}
body.locked-global-theme.locked-v250 .dashboard-shell .dash-hero{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:16px!important;width:100%!important;padding:22px!important}
body.locked-global-theme.locked-v250 .dashboard-shell .dash-hero h1{font-size:27px!important;line-height:1.2!important;overflow-wrap:normal!important}
body.locked-global-theme.locked-v250 .dashboard-shell .dash-hero p{font-size:14px!important;line-height:1.6!important;max-width:none!important}
body.locked-global-theme.locked-v250 .dashboard-shell .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.locked-global-theme.locked-v250 .dashboard-shell .buyer-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.locked-global-theme.locked-v250 .dashboard-shell .kyc-review-v237{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
body.locked-global-theme.locked-v250 .dashboard-shell .order-row{display:flex!important;flex-wrap:wrap!important;padding:14px 0!important}
body.locked-global-theme.locked-v250 .dashboard-shell .panel{padding:18px!important}
}
.workspace-status-chart{display:grid;gap:13px;padding:12px 0}.workspace-status-chart>div{display:grid;grid-template-columns:85px minmax(0,1fr) 30px;align-items:center;gap:10px;font-size:13px}.workspace-status-chart>div>div{height:16px;background:var(--brand-primary-soft);border-radius:5px;overflow:hidden}.workspace-status-chart i{display:block;height:100%;background:var(--brand-primary);border-radius:5px}.workspace-status-chart b{font-variant-numeric:tabular-nums;text-align:right}body .mini-bars>div>span{min-height:0!important}
.workspace-sales-chart{display:grid;grid-template-columns:repeat(var(--days),minmax(0,1fr));gap:5px;margin-top:18px;height:205px}.workspace-sales-chart>div{min-width:0;display:flex;flex-direction:column;align-items:center}.workspace-sales-track{height:170px;width:100%;display:flex;align-items:flex-end;justify-content:center;border-bottom:1px solid #dce4ec;background:repeating-linear-gradient(to top,transparent,transparent 41px,#edf1f5 42px)}.workspace-sales-track>span{display:block;width:65%;background:var(--brand-accent);border-radius:6px 6px 0 0}.workspace-sales-chart small{font-size:11px;min-height:20px;white-space:nowrap;padding-top:5px}
@media(max-width:850px){body.locked-global-theme.locked-v250 .dashboard-shell>.dash-nav{flex-direction:row!important;align-items:center!important;max-height:none!important}body.locked-global-theme.locked-v250 .dashboard-shell>.dash-nav>a{height:auto!important;max-width:none!important;position:static!important;transform:none!important}}
.po-line{display:grid;grid-template-columns:minmax(0,2fr) minmax(100px,1fr) minmax(130px,1fr) auto;gap:12px;align-items:end;padding:16px 0;border-bottom:1px solid #e3e8ee}.po-share{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:24px}.po-share [data-qr-value] svg{width:100%;height:auto}.po-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}.receipt-row{display:flex;flex-wrap:wrap;justify-content:space-between;gap:20px;padding:18px 0;border-top:1px solid #e3e8ee}.receipt-row small{display:block;color:#657784}.receipt-row form{display:flex;flex-wrap:wrap;gap:10px;align-items:end}.page-shell details>summary{cursor:pointer;min-height:44px;padding:12px 0}.page-shell details>form{padding:10px 0}.page-shell label{display:block}.page-shell form :is(select,input,textarea){max-width:100%}@media(max-width:720px){.po-line,.po-share{grid-template-columns:1fr}.receipt-row form{display:block;width:100%}.po-share [data-qr-value]{max-width:210px}.receipt-row{display:block}}

.inventory-workspace .metric-grid{margin:18px 0}.inventory-search,.inventory-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin:12px 0}.inventory-lot{padding:22px 0;border-top:1px solid #e3e8ee}.inventory-lot h3{font-size:19px;font-weight:600;margin-bottom:6px}.inventory-lot p{font-weight:400;margin:6px 0}.inventory-alert{color:#a22c32;font-weight:600!important}.inventory-confirm{display:flex!important;align-items:center;gap:10px;margin:15px 0}.inventory-confirm input{width:22px;height:22px}.inventory-workspace .form-grid{margin:12px 0}.inventory-workspace h2{font-size:22px}.inventory-workspace summary{font-weight:500}body .page-shell .table-wrap td{font-weight:400}@media(max-width:720px){.inventory-search{display:block}.inventory-search .btn{margin:8px 4px 8px 0}.inventory-actions .btn{flex:1 1 140px}.inventory-workspace .metric-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}

.inventory-search>label{display:grid!important;gap:5px;min-width:220px}.inventory-workspace .metric-grid>div{min-width:0}
