/* NOVYAR v19 — final responsive stability layer.
   Loaded last so mobile layout has one predictable source of truth. */
*,*::before,*::after{box-sizing:border-box}
html,body{max-width:100%}
img,video,svg,canvas{max-width:100%}

/* ---------- Checkout V13 ---------- */
.nvCheckoutV13{padding:28px 0 60px;background:#eef2f6}
.nvCheckoutV13 .checkoutTitle{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:18px}
.nvCheckoutV13 .checkoutTitle h1{font-size:clamp(30px,4vw,48px);line-height:1;letter-spacing:-.045em;margin:4px 0 7px}
.nvCheckoutV13 .checkoutTitle p{margin:0;color:#667085}
.checkoutBack{font-weight:800;color:#475467}
.nvCheckoutTest{display:flex;gap:12px;align-items:center;background:#fff4cc;border:1px solid #f2d675;color:#694d00;border-radius:13px;padding:12px 14px;margin-bottom:14px}
.nvCheckoutTest[hidden]{display:none!important}
.nvCheckoutTest b{white-space:nowrap}
.checkoutGrid{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:18px;align-items:start}
.checkoutMain{display:grid;gap:12px;min-width:0}
.checkoutCard,.checkoutLegal,.orderSummaryCard{margin:0!important;border-radius:18px!important}
.checkoutStep{display:flex;align-items:center;gap:11px;margin-bottom:16px}
.checkoutStep>span{width:34px;height:34px;border-radius:11px;background:#101828;color:#fff;display:grid;place-items:center;font-weight:900}
.checkoutStep b,.checkoutStep small{display:block}
.checkoutStep small{color:#667085;margin-top:2px}
.nvCheckoutFields{gap:12px}
.nvCheckoutFields .field span{font-size:12px;font-weight:800;color:#475467}
.paymentChoice{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.paymentChoice label{display:flex;gap:10px;align-items:flex-start;border:1px solid #e4e7ec;border-radius:13px;padding:14px;background:#fbfcfe;cursor:pointer}
.paymentChoice input{margin-top:3px}
.paymentChoice span b,.paymentChoice span small{display:block}
.paymentChoice span small{color:#667085;margin-top:3px;font-size:11px}
.checkoutLegal a{color:#175cd3;text-decoration:underline}
.checkoutSide{position:sticky;top:86px}
.orderSummaryCard{overflow:hidden}
.summaryHead{display:flex;justify-content:space-between;gap:12px;align-items:center}
.summaryHead small{letter-spacing:.12em;color:#667085;font-weight:850}
.summaryHead h2{margin:2px 0!important}
.summaryHead>span{font-size:12px;color:#667085}
.checkoutItems{display:grid;gap:8px;margin:14px 0}
.checkoutItem{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:9px;align-items:center;border-bottom:1px solid #eef0f3;padding:8px 0}
.checkoutItemImg{width:46px;height:46px;border-radius:10px;background:#f2f4f7;display:grid;place-items:center;overflow:hidden}
.checkoutItemImg img{width:100%;height:100%;object-fit:contain}
.checkoutItem b,.checkoutItem small{display:block}
.checkoutItem b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.checkoutItem small{font-size:10px;color:#667085;margin-top:2px}
.checkoutItem strong{font-size:12px}
.deliveryQuoteState{display:grid;grid-template-columns:12px 1fr;gap:9px;border-radius:12px;background:#f8fafc;border:1px solid #e4e7ec;padding:10px;margin:12px 0}
.deliveryQuoteState .quoteDot{width:9px;height:9px;border-radius:50%;background:#98a2b3;margin-top:5px}
.deliveryQuoteState b,.deliveryQuoteState small{display:block}
.deliveryQuoteState small{color:#667085;font-size:10px;margin-top:2px}
.deliveryQuoteState.loading .quoteDot{background:#f59e0b}
.deliveryQuoteState.ok{background:#ecfdf3;border-color:#abefc6}.deliveryQuoteState.ok .quoteDot{background:#039855}
.deliveryQuoteState.error{background:#fff1f2;border-color:#fecdd3}.deliveryQuoteState.error .quoteDot{background:#e11d48}
.chargeBreakdown{display:grid;gap:0;border-top:1px solid #e4e7ec;border-bottom:1px solid #e4e7ec;padding:7px 0}
.chargeBreakdown>div{display:flex;justify-content:space-between;gap:14px;padding:7px 0;font-size:12px}
.chargeBreakdown span{color:#667085}.chargeBreakdown b{color:#101828;text-align:right}
.finalPayable{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0 8px}
.finalPayable span{font-weight:850}.finalPayable strong{font-size:25px;letter-spacing:-.04em}
.summaryMeta{font-size:10px;color:#667085;line-height:1.45;margin-bottom:12px}
.checkoutPlace{min-height:48px!important}
.checkoutFine{font-size:10px;color:#667085;text-align:center;margin:9px 0 0}

/* ---------- Seller finance / KYC / RTO ---------- */
.financeKpis{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.financeKpis article{min-width:0}
.financeKpis strong{overflow-wrap:anywhere}
.verificationSteps{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:15px}
.verificationSteps>div{display:grid;grid-template-columns:34px 1fr;column-gap:9px;align-items:center;background:#fff;border:1px solid #e3e8ef;border-radius:14px;padding:12px}
.verificationSteps span{grid-row:1/3;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#eef2f6;font-weight:900}
.verificationSteps b,.verificationSteps small{display:block}.verificationSteps small{color:#667085;font-size:10px}
.verificationSteps .active{border-color:#f3bd79;background:#fff9f2}.verificationSteps .active span{background:#ffedd5;color:#c2410c}
.verificationSteps .done{border-color:#abefc6;background:#f1fdf6}.verificationSteps .done span{background:#dcfae6;color:#067647}
.verificationMini{margin-top:14px;border-top:1px solid #eaecf0;padding-top:10px}.verificationMini p{margin:7px 0;font-size:12px}
.healthTop{margin-bottom:14px}
.healthKpis{grid-template-columns:repeat(5,minmax(0,1fr))!important;margin-bottom:14px}
.healthStatus{font-size:15px!important}
.healthStatus.ok{color:#067647}.healthStatus.error{color:#b42318}.healthStatus.configured{color:#175cd3}.healthStatus.not_configured{color:#b54708}

/* ---------- Payment page ---------- */
.nvPayPage{padding:36px 0 60px;background:#eef2f6;min-height:60vh}
.nvPayCard{max-width:650px;margin:auto!important}
.nvPayMode{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;font-size:10px;font-weight:900;letter-spacing:.08em;background:#e0f2fe;color:#075985}
.nvPayMode.test{background:#fff4cc;color:#8a6100}.nvPayMode.live{background:#dcfae6;color:#067647}
.nvPayAmount{font-size:36px;font-weight:950;letter-spacing:-.05em;margin:8px 0}
.nvPayFacts{display:grid;gap:7px;margin:14px 0}.nvPayFacts>div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #eef0f3;font-size:12px}

/* ---------- Universal mobile stability ---------- */
@media(max-width:900px){
  html,body{width:100%!important;max-width:100%!important;overflow-x:clip!important}
  body.customer-ui,body.sellerBody,.adminShell{width:100%!important;max-width:100%!important;overflow-x:clip!important}
  body.customer-ui *{min-width:0}
  body.customer-ui .container{width:calc(100% - 20px)!important;max-width:calc(100% - 20px)!important;margin-inline:auto!important}
  body.customer-ui h1,body.customer-ui h2,body.customer-ui h3,body.customer-ui h4,
  body.customer-ui p,body.customer-ui b,body.customer-ui strong,body.customer-ui span,body.customer-ui a{
    overflow-wrap:anywhere
  }
  body.customer-ui .btn{min-height:40px;display:inline-flex;align-items:center;justify-content:center;line-height:1.15;white-space:normal;text-align:center}
  body.customer-ui input,body.customer-ui select,body.customer-ui textarea{width:100%;min-width:0;max-width:100%}
  body.customer-ui .panel{max-width:100%}
  body.customer-ui .tableWrap{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  body.customer-ui .row{min-width:0;flex-wrap:wrap}

  /* Store/product/wishlist cards never leak out of viewport. */
  body.customer-ui .productPage,body.customer-ui .wishlistPage,body.customer-ui .section{max-width:100%;overflow-x:clip}
  body.customer-ui .productDetailV4{grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
  body.customer-ui .galleryShell,body.customer-ui .productSummary{width:100%!important;max-width:100%!important;min-width:0!important}
  body.customer-ui .mainStage{width:100%!important;max-width:100%!important;aspect-ratio:1/1!important;height:auto!important;max-height:none!important}
  body.customer-ui .mainStage img{object-fit:contain!important}
  body.customer-ui .productSummary h1{font-size:30px!important;line-height:1.03!important;overflow-wrap:anywhere}
  body.customer-ui .buyBox{grid-template-columns:1fr 1fr!important}
  body.customer-ui .buyBox .quantityPick{grid-column:1/-1!important;width:max-content;max-width:100%}
  body.customer-ui .buyBox .btn{width:100%!important;margin:0!important}
  body.customer-ui .reviewHead,body.customer-ui .reviewList,body.customer-ui .specGrid{grid-template-columns:1fr!important}
  body.customer-ui .reviewForm{width:100%;max-width:100%}
  body.customer-ui .nvStarPicker{max-width:100%;flex-wrap:wrap}
  body.customer-ui .reviewMedia{max-width:100%;overflow-x:auto;flex-wrap:nowrap}

  /* Customer account/orders. */
  body.account-customer-page .accountV9Grid.two{grid-template-columns:1fr!important}
  body.account-customer-page .accountListRow{align-items:flex-start;flex-wrap:wrap}
  body.account-customer-page .addressV9{flex-direction:column}
  body.account-customer-page .inlineVerify{display:grid!important;grid-template-columns:1fr!important}
  body.account-customer-page .profilePhotoEditor{flex-wrap:wrap}
  body.account-customer-page .mobileOrderActions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.account-customer-page .accountOrderCard,body.account-customer-page .accountOrdersPanel{width:100%!important;max-width:100%!important;overflow:hidden!important}

  /* Checkout. */
  .nvCheckoutV13{padding:14px 0 32px}
  .nvCheckoutV13 .checkoutTitle{display:block;margin-bottom:11px}
  .nvCheckoutV13 .checkoutTitle h1{font-size:28px}
  .checkoutBack{display:inline-block;margin-top:8px;font-size:11px}
  .nvCheckoutTest{align-items:flex-start;flex-direction:column;gap:3px;font-size:11px}
  .checkoutGrid{grid-template-columns:minmax(0,1fr)!important;gap:10px}
  .checkoutMain{gap:9px}
  .checkoutSide{position:static!important}
  .checkoutCard,.checkoutLegal,.orderSummaryCard{padding:14px!important;border-radius:14px!important}
  .paymentChoice{grid-template-columns:1fr!important}
  .nvCheckoutFields{grid-template-columns:1fr!important}
  .checkoutItem{grid-template-columns:42px minmax(0,1fr) auto}
  .orderSummaryCard{width:100%!important;max-width:100%!important}
  .finalPayable strong{font-size:23px}

  /* Seller/admin forms and dashboards. */
  body.sellerBody .sellerMain,.adminMain{width:100%!important;max-width:100%!important;min-width:0!important}
  body.sellerBody .sellerKpis,.adminMain .kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.sellerBody .sellerGridTwo,.adminMain .v5Two{grid-template-columns:1fr!important}
  body.sellerBody .sellerPanel,.adminMain .panel{width:100%;max-width:100%;overflow:hidden}
  body.sellerBody .sellerTableWrap,.adminMain .tableWrap{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  body.sellerBody .sellerFormLayout{grid-template-columns:1fr!important}
  body.sellerBody .formGrid,.adminMain .formGrid{grid-template-columns:1fr!important}
  .verificationSteps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .financeKpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .healthKpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .healthTop{align-items:flex-start}
}

@media(max-width:430px){
  body.customer-ui .productSummary h1{font-size:27px!important}
  body.customer-ui .mobileOrderActions{grid-template-columns:1fr!important}
  body.sellerBody .sellerKpis,.adminMain .kpis,.financeKpis,.healthKpis{grid-template-columns:1fr 1fr!important}
  .verificationSteps{grid-template-columns:1fr 1fr}
  .verificationSteps>div{padding:9px}
}


/* ---------- V14 Reporting ---------- */
.reportControlTop,.sellerReportTop{margin-bottom:14px;gap:12px;align-items:flex-start}
.reportKpis{grid-template-columns:repeat(5,minmax(0,1fr))!important;margin-bottom:14px}
.reportSectionPicker{margin-top:14px;padding:13px;border:1px solid #e4e7ec;border-radius:13px;background:#f8fafc}
.reportSectionPicker>b{display:block;margin-bottom:3px}
.reportChecks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}
.reportChecks label{display:flex;gap:8px;align-items:center;border:1px solid #e4e7ec;background:#fff;border-radius:10px;padding:9px;font-size:12px;font-weight:750}
.reportChecks input{width:auto!important}
.reportActions{display:flex;gap:6px;flex-wrap:wrap}
.reportActions form{margin:0}
.reportExplain{display:grid;gap:8px}
.reportExplain p{display:grid;gap:2px;margin:0;padding:10px 0;border-bottom:1px solid #eef0f3}
.reportExplain p:last-child{border-bottom:0}
.reportExplain b{font-size:12px}.reportExplain span{font-size:11px;color:#667085;line-height:1.45}
.reportFilter{margin-bottom:14px}
.reportFilter .formGrid{grid-template-columns:repeat(2,minmax(0,1fr))}
.block{display:block}

@media(max-width:900px){
  .reportKpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .reportChecks{grid-template-columns:1fr}
  .reportControlTop,.sellerReportTop{flex-direction:column}
  .reportControlTop .btn,.sellerReportTop .btn{width:100%}
  .reportFilter .formGrid{grid-template-columns:1fr}
}


/* ---------- Admin Settings Control Center ---------- */
.settingsHero{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:16px}
.settingsHero h2{margin:4px 0 5px;font-size:28px;letter-spacing:-.03em}
.settingsHeroActions{display:flex;gap:8px;flex-wrap:wrap}
.settingsHeroActions form{margin:0}
.settingsStatusGrid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:16px}
.settingsStatusCard{display:flex;flex-direction:column;gap:4px;min-height:112px;padding:13px;border:1px solid #e2e8f0;border-radius:15px;background:#fff;text-decoration:none!important;color:#0f172a!important;box-shadow:0 2px 10px rgba(15,23,42,.025)}
.settingsStatusCard:hover{border-color:#cbd5e1;transform:translateY(-1px)}
.settingsStatusTop{display:flex;justify-content:space-between;gap:8px;align-items:center}
.settingsStatusTop b{font-size:11px;color:#475569}
.settingsStatusCard strong{font-size:15px;line-height:1.2;margin-top:4px}
.settingsStatusCard small{font-size:10px;color:#64748b;line-height:1.35;overflow-wrap:anywhere}
.settingsDot{width:10px;height:10px;border-radius:50%;background:#94a3b8;box-shadow:0 0 0 3px #f1f5f9}
.settingsDot.ok{background:#16a34a;box-shadow:0 0 0 3px #dcfce7}
.settingsDot.configured{background:#2563eb;box-shadow:0 0 0 3px #dbeafe}
.settingsDot.error{background:#dc2626;box-shadow:0 0 0 3px #fee2e2}
.settingsDot.not_configured{background:#f59e0b;box-shadow:0 0 0 3px #fef3c7}

.settingsLayout{display:grid;grid-template-columns:215px minmax(0,1fr);gap:14px;align-items:start}
.settingsNav{position:sticky;top:18px;display:grid;gap:4px;background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:8px;box-shadow:0 4px 20px rgba(15,23,42,.04)}
.settingsNav button{border:0;background:transparent;text-align:left;padding:10px 11px;border-radius:10px;font-size:12px;font-weight:750;color:#475569;cursor:pointer}
.settingsNav button:hover{background:#f8fafc;color:#0f172a}
.settingsNav button.active{background:#0f1c2e;color:#fff;box-shadow:0 5px 15px rgba(15,28,46,.14)}
.settingsContent{min-width:0}
.settingsSection{display:none;background:#fff;border:1px solid #e2e8f0;border-radius:17px;padding:18px;box-shadow:0 5px 20px rgba(15,23,42,.035)}
.settingsSection.active{display:block}
.settingsSectionHead{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;padding-bottom:14px;margin-bottom:14px;border-bottom:1px solid #eef2f6}
.settingsSectionHead>div>span{display:block;font-size:9px;font-weight:900;letter-spacing:.13em;color:#ea6b23}
.settingsSectionHead h3{font-size:22px;line-height:1.15;letter-spacing:-.025em;margin:4px 0 5px}
.settingsSectionHead p{margin:0;color:#64748b;font-size:11px;line-height:1.45}
.settingsMode{display:inline-flex;padding:6px 10px;border-radius:999px;font-size:10px;font-weight:900;letter-spacing:.08em;background:#fff4cc;color:#8a6100}
.settingsMode.live{background:#dcfce7;color:#166534}
.settingsMode.test{background:#fff4cc;color:#8a6100}

.settingsForm{display:grid;gap:14px}
.settingsFields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 13px}
.settingsFields .field{margin:0}
.settingsFields .field.full{grid-column:1/-1}
.settingsFields .field>span{display:block;margin-bottom:5px;font-size:10px;font-weight:800;color:#475569}
.settingsFields .field input,.settingsFields .field select,.settingsFields .field textarea{
  width:100%;min-width:0;border:1px solid #dbe2ea;border-radius:10px;background:#fff;padding:10px 11px;font-size:12px;color:#0f172a;outline:none
}
.settingsFields .field input:focus,.settingsFields .field select:focus,.settingsFields .field textarea:focus{border-color:#8ab4f8;box-shadow:0 0 0 3px rgba(37,99,235,.08)}
.settingsFields .field small{display:block;margin-top:4px;font-size:9px;line-height:1.35;color:#64748b}
.settingsSubhead{margin-top:3px;padding:8px 10px;border-left:3px solid #f97316;background:#fff7ed;border-radius:7px;font-size:11px;font-weight:900;color:#9a3412}
.settingsButtons,.inlineTest{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.inlineTest{margin-top:12px}
.inlineTest form{margin:0}
.settingsNote{margin-top:12px;border:1px solid #dbeafe;background:#eff6ff;color:#1e3a8a;border-radius:11px;padding:10px 12px;font-size:10px;line-height:1.45}
.settingsQuickGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.settingsQuickGrid a{display:grid;gap:4px;min-height:120px;padding:13px;border:1px solid #e2e8f0;border-radius:13px;background:#fbfdff;text-decoration:none!important;color:#0f172a!important}
.settingsQuickGrid a:hover{border-color:#cbd5e1;background:#fff}
.settingsQuickGrid b{font-size:12px}.settingsQuickGrid span{font-size:10px;line-height:1.45;color:#64748b}.settingsQuickGrid strong{margin-top:auto;font-size:10px;color:#ea580c}
.settingsAttention{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:14px}
.settingsAttention>div{padding:10px;border-radius:11px;background:#f8fafc;border:1px solid #e2e8f0}
.settingsAttention b,.settingsAttention span{display:block}.settingsAttention b{font-size:10px}.settingsAttention span{font-size:12px;font-weight:850;color:#0f172a;margin-top:3px}
.verificationProviderGrid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.verificationProviderCard{padding:15px;border:1px solid #e2e8f0;border-radius:13px;background:#fbfdff}
.verificationProviderCard span,.verificationProviderCard strong,.verificationProviderCard small{display:block}
.verificationProviderCard span{font-size:10px;color:#64748b;font-weight:800}.verificationProviderCard strong{font-size:18px;margin:5px 0}.verificationProviderCard small{font-size:10px;color:#64748b}
.securityPasswordBox{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-top:15px;padding:14px;border:1px solid #e2e8f0;border-radius:13px;background:#f8fafc}
.securityPasswordBox>div b,.securityPasswordBox>div span{display:block}.securityPasswordBox>div span{font-size:10px;color:#64748b;margin-top:2px}
.securityPasswordBox form{display:flex;gap:8px;min-width:min(100%,440px)}
.securityPasswordBox input{min-width:0;flex:1;border:1px solid #dbe2ea;border-radius:10px;padding:10px 11px}

@media(max-width:1200px){
  .settingsStatusGrid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .settingsQuickGrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .settingsAttention{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
  .settingsHero{flex-direction:column}
  .settingsHeroActions{width:100%}.settingsHeroActions form,.settingsHeroActions .btn{flex:1}
  .settingsStatusGrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .settingsLayout{grid-template-columns:minmax(0,1fr)}
  .settingsNav{position:sticky;top:0;z-index:20;display:flex;overflow-x:auto;white-space:nowrap;border-radius:12px;padding:6px;scrollbar-width:none}
  .settingsNav::-webkit-scrollbar{display:none}
  .settingsNav button{flex:0 0 auto;padding:9px 10px}
  .settingsSection{padding:14px;border-radius:14px}
  .settingsSectionHead h3{font-size:20px}
  .settingsFields{grid-template-columns:minmax(0,1fr)}
  .settingsFields .field.full{grid-column:auto}
  .settingsQuickGrid{grid-template-columns:minmax(0,1fr)}
  .settingsAttention{grid-template-columns:repeat(2,minmax(0,1fr))}
  .verificationProviderGrid{grid-template-columns:minmax(0,1fr)}
  .securityPasswordBox{flex-direction:column;align-items:stretch}
  .securityPasswordBox form{min-width:0;width:100%;flex-direction:column}
  .inlineTest .btn,.settingsForm>.btn{width:100%}
}
@media(max-width:430px){
  .settingsHero h2{font-size:24px}
  .settingsStatusGrid{grid-template-columns:1fr 1fr;gap:7px}
  .settingsStatusCard{min-height:100px;padding:10px}
  .settingsAttention{grid-template-columns:1fr 1fr}
  .settingsSection{padding:12px}
}


/* ---------- Seller Mobile Workspace Final Override ---------- */
/* This block intentionally loads last and neutralizes legacy horizontal seller-nav rules. */
@media(max-width:900px){
  html,body.sellerBody{
    width:100%!important;
    max-width:100%!important;
    overflow-x:hidden!important;
  }

  body.sellerBody .sellerShell{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:100vh!important;
    overflow:visible!important;
  }

  body.sellerBody .sellerMain{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:72px 12px 24px!important;
    overflow-x:hidden!important;
  }

  body.sellerBody .sellerMain>*{
    min-width:0!important;
    max-width:100%;
  }

  body.sellerBody .sellerSidebar{
    display:flex!important;
    flex-direction:column!important;
    position:fixed!important;
    inset:0 auto 0 0!important;
    width:min(320px,84vw)!important;
    max-width:84vw!important;
    height:100dvh!important;
    min-height:100dvh!important;
    margin:0!important;
    padding:70px 14px 22px!important;
    gap:12px!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior:contain;
    background:#08111f!important;
    transform:translate3d(-105%,0,0)!important;
    transition:transform .22s ease!important;
    z-index:310!important;
    box-shadow:20px 0 55px rgba(0,0,0,.28)!important;
  }

  body.sellerBody .sellerSidebar.workspaceOpen{
    transform:translate3d(0,0,0)!important;
  }

  body.sellerBody .sellerSidebar .brand{
    display:block!important;
    position:static!important;
    flex:0 0 auto!important;
    margin:0!important;
    padding:0 8px 6px!important;
    white-space:nowrap!important;
    font-size:27px!important;
  }

  body.sellerBody .sellerStoreMini{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
  }

  body.sellerBody .sellerSidebar nav{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    width:100%!important;
    min-width:0!important;
    gap:4px!important;
    padding:0!important;
    margin:0!important;
    overflow:visible!important;
  }

  body.sellerBody .sellerSidebar nav a{
    display:flex!important;
    align-items:center!important;
    flex:0 0 auto!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    min-height:42px!important;
    margin:0!important;
    padding:10px 11px!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
    line-height:1.25!important;
    font-size:13px!important;
  }

  body.sellerBody .sellerLogout{
    display:block!important;
    width:100%!important;
    margin-top:8px!important;
    padding:11px!important;
  }

  body.sellerBody .workspaceMenuBtn{
    display:grid!important;
    place-items:center!important;
    position:fixed!important;
    left:12px!important;
    top:12px!important;
    width:44px!important;
    height:44px!important;
    z-index:330!important;
    border-radius:12px!important;
  }

  body.sellerBody .workspaceMenuBackdrop{
    display:block!important;
    position:fixed!important;
    inset:0!important;
    z-index:300!important;
    background:rgba(8,17,31,.62)!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    transition:opacity .2s ease,visibility .2s ease!important;
  }

  body.sellerBody .workspaceMenuBackdrop.show{
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }

  /* V7 / seller pages must occupy the full mobile content width. */
  body.sellerBody .metricGrid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    width:100%!important;
  }

  body.sellerBody .v7Two,
  body.sellerBody .v7Three,
  body.sellerBody .sellerGridTwo,
  body.sellerBody .sellerFormLayout{
    grid-template-columns:minmax(0,1fr)!important;
    width:100%!important;
  }

  body.sellerBody .panel,
  body.sellerBody .sellerPanel,
  body.sellerBody .actionPanel,
  body.sellerBody .featureDetails,
  body.sellerBody .integrationCard{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:hidden!important;
  }

  body.sellerBody .featureDetails summary,
  body.sellerBody .actionPanel h3,
  body.sellerBody .actionPanel p,
  body.sellerBody .featureChips,
  body.sellerBody .featureChips span,
  body.sellerBody label,
  body.sellerBody p,
  body.sellerBody h1,
  body.sellerBody h2,
  body.sellerBody h3,
  body.sellerBody h4{
    min-width:0!important;
    max-width:100%!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
  }

  body.sellerBody .featureChips{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:6px!important;
  }

  body.sellerBody .featureChips span{
    flex:0 1 auto!important;
    white-space:normal!important;
  }

  body.sellerBody .sellerTop{
    width:100%!important;
    align-items:flex-start!important;
    flex-direction:column!important;
    gap:8px!important;
    margin-bottom:14px!important;
  }

  body.sellerBody .sellerTop h1{
    font-size:24px!important;
    line-height:1.15!important;
  }

  body.sellerBody .sellerTopActions{
    width:100%!important;
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    gap:7px!important;
  }

  body.sellerBody input,
  body.sellerBody select,
  body.sellerBody textarea,
  body.sellerBody button{
    max-width:100%!important;
  }
}

@media(max-width:420px){
  body.sellerBody .sellerSidebar{
    width:min(300px,86vw)!important;
    max-width:86vw!important;
  }
  body.sellerBody .metricGrid{
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
  }
  body.sellerBody .metric{
    padding:12px!important;
  }
  body.sellerBody .metric b{
    font-size:20px!important;
  }
}

.navLogoutForm{margin:0!important;width:100%}.navLogoutBtn{display:block;width:100%;border:0;background:transparent;color:inherit;text-align:left;padding:inherit;font:inherit;cursor:pointer}.sidebar .navLogoutBtn{padding:10px 12px;color:#aeb9c8;border-radius:9px}.sidebar .navLogoutBtn:hover{background:rgba(255,255,255,.07);color:#fff}
