/* Slightly deeper neutral palette for every seller cabinet section. */
html:has(.seller-dashboard-reference),
html:has(.sell-page){
  --ui-bg:#07090b;
  --ui-panel:#101316;
  --ui-raised:#171b20;
  --ui-input:#0b0e11;
  --ui-line:#20262c;
  --ui-text:#e8ebee;
  --ui-muted:#969da6;
  --ui-accent-soft:#292219;
  background:var(--ui-bg)!important;
}
html:has(.seller-dashboard-reference) body,
html:has(.sell-page) body{
  --ui-bg:#07090b!important;
  --ui-panel:#101316!important;
  --ui-raised:#171b20!important;
  --ui-input:#0b0e11!important;
  --ui-line:#20262c!important;
  --ui-text:#e8ebee!important;
  --ui-muted:#969da6!important;
  --ui-accent-soft:#292219!important;
  background:#07090b!important;
  color:#e8ebee!important;
}
html:has(.seller-dashboard-reference) .seller-dashboard-reference,
html:has(.seller-dashboard-reference) .seller-workspace,
html:has(.seller-dashboard-reference) .seller-dashboard-content,
html:has(.sell-page) .seller-workspace,
html:has(.sell-page) .sell-page{background:var(--ui-bg)!important}
html:has(.seller-dashboard-reference) .seller-rail{background:#0c0f12!important;border-color:#20262c!important}
html:has(.seller-dashboard-reference) .seller-topbar{background:#090c0f!important;border-color:#20262c!important}
html:has(.seller-dashboard-reference) :is(.seller-kpis article,.seller-chart-card,.seller-finance-card,.seller-ledger-card,.seller-orders-card,.seller-api-card),
html:has(.seller-dashboard-reference) :is(.seller-chat-list,.seller-chat-thread,.seller-chat-order-info),
html:has(.sell-page) .spw-card{background-color:#101316!important;border-color:#20262c!important}
html:has(.seller-dashboard-reference) .seller-chat-list{background:#0c0f12!important}
html:has(.seller-dashboard-reference) .seller-chat-thread{background:#07090b!important}
html:has(.seller-dashboard-reference) .seller-chat-item{background:#13171b!important}
html:has(.seller-dashboard-reference) .seller-chat-item:hover{background:#181d22!important}
html:has(.seller-dashboard-reference) .seller-chat-item.active{background:#1c2126!important}
html:has(.seller-dashboard-reference) .seller-chat-thread-head,
html:has(.seller-dashboard-reference) .seller-chat-order-info{background:#0e1114!important}
html:has(.seller-dashboard-reference) .seller-chat-messages{background:#07090b!important}
html:has(.seller-dashboard-reference) .seller-chat-bubble{background:#15191d!important;border-color:#252c32!important}
html:has(.seller-dashboard-reference) .seller-chat-bubble.mine{background:#211d17!important;border-color:#342d22!important}
html:has(.seller-dashboard-reference) .seller-chat-compose{background:#0e1114!important;border-color:#252c32!important}
html:has(.seller-dashboard-reference) .seller-help-page{color:#e5e9ec!important}
html:has(.seller-dashboard-reference) .seller-help-page p{color:#bac1c8!important}
html:has(.sell-page) .seller-product-wizard{--spw-border:#20262c;--spw-panel:#101316;--spw-field:#0b0e11}
html:has(.sell-page) .seller-product-wizard .spw-card{background:#101316!important;box-shadow:none!important}
html:has(.sell-page) .seller-product-wizard .spw-aside-card{background:#0d1013!important}
html:has(.sell-page) .seller-product-wizard .spw-setting,
html:has(.sell-page) .seller-product-wizard .spw-upload-box,
html:has(.sell-page) .seller-product-wizard .spw-upload-pair label{background:#0b0e11!important;border-color:#20262c!important}
html:has(.sell-page) .seller-product-wizard .spw-footer{background:#0d1013!important;border-color:#20262c!important}
html:has(.sell-page) .seller-product-wizard .spw-buyer-price,
html:has(.sell-page) .seller-product-wizard .spw-income{background:#111518!important;border-color:#252c32!important}

/* Direct component overrides: they remain effective even before UI scripts run. */
.seller-dashboard-reference{--ui-bg:#050709!important;--ui-panel:#0d1013!important;--ui-raised:#15191d!important;--ui-input:#080b0e!important;--ui-line:#1d242a!important;background:#050709!important;color:#e8ebee!important}
.seller-dashboard-reference .seller-rail{background:#090c0f!important;border-color:#1d242a!important}
.seller-dashboard-reference .seller-workspace,.seller-dashboard-reference .seller-dashboard-content{background:#050709!important}
.seller-dashboard-reference .seller-topbar{background:#080b0e!important;border-color:#1d242a!important}
.seller-dashboard-reference .seller-dashboard-content :is(.seller-kpis article,.seller-chart-card,.seller-finance-card,.seller-ledger-card,.seller-orders-card,.seller-api-card){background:#0d1013!important;background-image:none!important;border-color:#1d242a!important}
.seller-dashboard-reference .seller-chat-list,.seller-dashboard-reference .seller-chat-order-info{background:#090c0f!important;border-color:#1d242a!important}
.seller-dashboard-reference .seller-chat-thread,.seller-dashboard-reference .seller-chat-messages{background:#050709!important;border-color:#1d242a!important}
.seller-dashboard-reference .seller-chat-thread-head,.seller-dashboard-reference .seller-chat-compose{background:#0b0e11!important;border-color:#1d242a!important}
.seller-dashboard-reference .seller-chat-item{background:#101418!important}
.seller-dashboard-reference .seller-chat-item:hover{background:#161b20!important}
.seller-dashboard-reference .seller-chat-item.active{background:#1a2025!important}
.seller-dashboard-reference .seller-chat-bubble{background:#13171b!important;border-color:#242b31!important}
.seller-dashboard-reference .seller-chat-bubble.mine{background:#211c15!important;border-color:#352b20!important}
.sell-page{--ui-bg:#050709!important;--ui-panel:#0d1013!important;--ui-raised:#15191d!important;--ui-input:#080b0e!important;--ui-line:#1d242a!important;background:#050709!important;color:#e8ebee!important}
.sell-page .seller-product-wizard .spw-card{background:#0d1013!important;background-image:none!important;border-color:#1d242a!important;box-shadow:none!important}
.sell-page .seller-product-wizard .spw-aside-card{background:#090c0f!important}
.sell-page .seller-product-wizard :is(.spw-setting,.spw-upload-box,.spw-upload-pair label,.spw-footer){background:#080b0e!important;border-color:#1d242a!important}
.sell-page .seller-product-wizard :is(input,select,textarea,.field){background-color:#080b0e!important;border-color:#1d242a!important;color:#e8ebee!important}
