/* SDFOOD: desktop presentation only. This first layer wins legacy !important rules. */
@layer seller-desktop-refresh {
 @media (min-width: 900px) {
  body.is-seller {
   --pc-surface: #ffffff !important; --pc-soft: #f4f5f7 !important; --pc-line: #e2e5ea !important; --pc-order-card: #eceef1 !important;
   --pc-text: #20242a; --pc-muted: #667085;
   --pc-accent: #7136d1; --pc-accent-soft: #f0eafa;
   --pc-order-new: #dc3545 !important; --pc-order-preparing: #946500 !important;
   --pc-order-delivery: #188651 !important; --pc-order-done: #2875d6 !important;
   background: var(--pc-surface) !important;
  }
  body.is-seller :is(.seller-content,.seller-workspace,.seller-panel-topbar,.seller-layout) {
   background: var(--pc-surface) !important;
  }
    body.is-seller .seller-sidebar { flex: 0 0 260px !important; width: 260px !important; min-width: 260px !important; max-width: 260px !important; }
  body.is-seller .seller-sidebar-nav { padding: 20px 12px !important; gap: 6px !important; }
  body.is-seller .seller-sidebar-nav button[data-seller-tab] {
   min-height: 46px !important; padding: 12px !important; height: auto !important;
   font: 500 14px/1.5 var(--pc-font) !important; gap: 12px !important;
   border: 0 !important; border-radius: 8px !important; box-shadow: none !important;
   color: var(--pc-muted) !important;
  }
    body.is-seller .seller-sidebar-nav button[data-seller-tab].active { background: #f3edfc !important; color: #6d28d9 !important; -webkit-text-fill-color: #6d28d9 !important; }
  body.is-seller .seller-sidebar-nav button > span:not(.sv-count) { font-size: 14px !important; line-height: 1.5 !important; white-space: normal !important; overflow: visible !important; }
  body.is-seller .seller-sidebar-nav svg { width: 20px !important; height: 20px !important; flex: 0 0 20px !important; }
  body.is-seller .seller-panel-topbar { min-height: 64px !important; height: 64px !important; padding: 0 28px !important; }
  body.is-seller .seller-content > .seller-workspace { max-width: 1500px !important; padding: 28px 28px 48px !important; }
  body.is-seller .seller-workspace :is(h1,.ob-copy h2,.reports-heading h1) { font-size: 26px !important; line-height: 1.35 !important; letter-spacing: 0 !important; }
  body.is-seller .seller-workspace h2 { font-size: 18px !important; line-height: 1.45 !important; }
  body.is-seller .seller-workspace h3 { font-size: 14px !important; line-height: 1.5 !important; }
  body.is-seller .seller-workspace :is(p,label,small,input,select,textarea,button,td,th) { font-size: 14px !important; line-height: 1.55 !important; letter-spacing: 0 !important; }
  body.is-seller .seller-workspace :is(.sv-card,.seller-product-card,.seller-finance-kpi,.promotion-mode-card,.report-kpi,.report-card,.promotion-stat,.seller-coupon-card,.seller-settings-item,.seller-support-card,.sv-kf-item,.seller-delivery-card,.seller-account-settings) {
    background: #fff !important; border: 1px solid #e5e7eb !important; outline: 0 !important;
    border-radius: 8px !important; box-shadow: 0 1px 2px rgb(0 0 0 / 5%) !important; filter: none !important;
  }
  body.is-seller .seller-workspace :is(.sv-card,.seller-product-card,.seller-finance-kpi,.promotion-mode-card,.report-kpi,.report-card,.seller-coupon-card,.seller-settings-item) :is(h2,h3,p,strong,small) { overflow-wrap: anywhere !important; text-overflow: clip !important; -webkit-line-clamp: unset !important; }
  body.is-seller .seller-workspace :is(.seller-product-card-body,.seller-product-card-info) { background: transparent !important; height: auto !important; }
  body.is-seller .seller-workspace :is(.ob-board,.seller-finance-view,.promotions-view,.reports-view,.seller-coupons-admin,.seller-catalog-view) { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
  /* Unframed dashboard sections: no fixed-height containers or decorative media. */
  body.is-seller .seller-workspace:has(.seller-dashboard-modern) { display: block !important; }
  body.is-seller .seller-dashboard-modern { display: grid !important; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr) !important; gap: 24px !important; align-items: start !important; height: auto !important; min-height: 0 !important; }
  body.is-seller .seller-performance-combined { display: grid !important; gap: 24px !important; height: auto !important; min-width: 0 !important; }
  body.is-seller :is(.panel-recent-card,.seller-sales-line-chart,.panel-bestsellers-card,.seller-support-panel) { background: transparent !important; border: 0 !important; outline: 0 !important; border-radius: 0 !important; box-shadow: none !important; padding: 0 !important; height: auto !important; min-height: 0 !important; max-height: none !important; overflow: visible !important; }
  body.is-seller .seller-support-panel { margin-top: 32px !important; }
  body.is-seller :is(.panel-table-scroll,.panel-bestsellers-list,.seller-support-list) { max-height: none !important; height: auto !important; }
  body.is-seller .panel-table-scroll { overflow-x: auto !important; }
  body.is-seller .panel-card-head { gap: 16px !important; align-items: start !important; }
  body.is-seller .panel-recent-table :is(td,th) { padding: 12px 8px !important; font-size: 13px !important; line-height: 1.6 !important; }
  body.is-seller .panel-recent-table th { background: var(--pc-soft) !important; }
  body.is-seller .panel-recent-table td :is(strong,span) { font-size: 13px !important; }
  body.is-seller .seller-support-card { padding: 16px !important; margin: 0 0 10px !important; min-height: 0 !important; height: auto !important; }
  body.is-seller .seller-workspace:has(.seller-dashboard-modern) :is(img,svg,.learning-art-footer,.seller-overview-illustration,.panel-bestsellers-icon,.seller-support-avatar,.sv-metric-ico) { display: none !important; }
  body.is-seller .seller-workspace:has(.seller-dashboard-modern) * { background-image: none !important; }
  body.is-seller .panel-bestsellers-link { width: auto !important; padding: 8px 10px !important; min-height: 36px !important; }
  body.is-seller .seller-sales-chart-head { flex-wrap: wrap !important; gap: 12px !important; }
  body.is-seller .desktop-sales-days { display: grid !important; grid-template-columns: repeat(7,minmax(0,1fr)) !important; gap: 4px !important; margin: 16px 0 !important; }
  body.is-seller .desktop-sales-day { display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; gap: 6px !important; padding: 14px 4px !important; border: 0 !important; border-radius: 8px !important; background: var(--pc-soft) !important; color: var(--pc-text) !important; min-width: 0 !important; }
  body.is-seller .desktop-sales-day strong { font-size: 22px !important; }
  body.is-seller .desktop-sales-day.selected { background: var(--pc-accent-soft) !important; color: var(--pc-accent) !important; }
  body.is-seller .desktop-sales-day:focus-visible { outline-offset: 2px !important; }
  body.is-seller .seller-sales-day-details { padding: 12px 0 !important; height: auto !important; min-height: 0 !important; }
  body.is-seller .seller-support-heading:empty { display: none !important; }
  body.is-seller .seller-workspace:has(.seller-dashboard-modern) :is(.seller-support-item-icon,.seller-support-heading-icon,.seller-support-icon) { display: none !important; }
  /* Orders: a single aligned toolbar and text-first status tabs. */
  body.is-seller .orders-board .ob-head { display: block !important; margin-bottom: 20px !important; }
  body.is-seller .orders-board .ob-copy { min-width: 0 !important; margin-bottom: 24px !important; }
  body.is-seller .orders-board .ob-copy p { max-width: 760px !important; margin-top: 8px !important; }
  body.is-seller .orders-board .ob-tools { display: grid !important; grid-template-columns: minmax(200px,1fr) 190px auto !important; gap: 12px !important; align-items: end !important; width: 100% !important; }
  body.is-seller .orders-board .ob-search { display: flex !important; align-items: center !important; gap: 10px !important; grid-column: auto !important; min-width: 0 !important; height: 44px !important; padding: 0 12px !important; border: 1px solid var(--pc-line) !important; border-radius: 8px !important; background: var(--pc-surface) !important; }
  body.is-seller .ob-search svg { width: 18px !important; height: 18px !important; flex-shrink: 0 !important; }
  body.is-seller .ob-search input { min-width: 0 !important; width: 100% !important; min-height: 0 !important; height: 40px !important; border: 0 !important; padding: 0 !important; background: transparent !important; box-shadow: none !important; }
  body.is-seller .ob-date-picker { display: flex !important; align-items: center !important; gap: 8px !important; width: auto !important; min-width: 0 !important; height: 44px !important; padding: 0 !important; }
  body.is-seller .ob-date-picker input { flex: 1 1 0 !important; width: 145px !important; min-width: 0 !important; height: 44px !important; padding: 8px !important; border: 1px solid var(--pc-line) !important; background: var(--pc-surface) !important; }
  body.is-seller .ob-today { height: 44px !important; min-height: 44px !important; padding: 10px 14px !important; background: var(--pc-soft) !important; border: 0 !important; border-radius: 8px !important; }
  body.is-seller .orders-status-filters { display: flex !important; flex-wrap: wrap !important; justify-content: flex-start !important; gap: 8px !important; padding: 0 0 16px !important; margin: 0 !important; height: auto !important; background: transparent !important; border: 0 !important; }
  body.is-seller .orders-status-filter { display: inline-flex !important; flex: 0 0 auto !important; align-items: center !important; justify-content: center !important; gap: 8px !important; height: auto !important; min-height: 40px !important; padding: 9px 12px !important; border: 0 !important; border-radius: 8px !important; background: var(--pc-soft) !important; color: var(--pc-muted) !important; box-shadow: none !important; clip-path: none !important; overflow: visible !important; }
  body.is-seller .orders-status-filter.active { background: var(--pc-accent-soft) !important; color: var(--pc-accent) !important; }
  body.is-seller :is(.orders-status-filter,.ob-card,.ob-col)::before, body.is-seller :is(.orders-status-filter,.ob-card,.ob-col)::after { display: none !important; content: none !important; }
  body.is-seller .orders-status-filter-icon { display: none !important; }
  body.is-seller .orders-status-filter-label { padding: 0 !important; line-height: 1.5 !important; white-space: nowrap !important; overflow: visible !important; }
  body.is-seller .orders-status-filter b { margin: 0 !important; padding: 1px 6px !important; min-width: 22px !important; font-size: 12px !important; line-height: 1.6 !important; background: var(--pc-surface) !important; color: inherit !important; }
  body.is-seller .orders-clear-table { margin-left: auto !important; padding: 9px 12px !important; min-height: 40px !important; border: 0 !important; background: transparent !important; color: var(--pc-muted) !important; }
  body.is-seller .ob-kanban { display: grid !important; grid-template-columns: repeat(4,minmax(230px,1fr)) !important; align-items: start !important; gap: 16px !important; padding: 0 0 16px !important; overflow-x: auto !important; width: 100% !important; max-width: 100% !important; }
  body.is-seller .ob-col { background: var(--pc-soft) !important; border: 0 !important; box-shadow: none !important; border-radius: 8px !important; padding: 16px 12px !important; min-width: 230px !important; min-height: 260px !important; height: auto !important; max-height: none !important; overflow: visible !important; }
  body.is-seller .ob-col-head { display: flex !important; align-items: center !important; flex-wrap: nowrap !important; gap: 8px !important; margin: 0 0 10px !important; min-height: 28px !important; height: auto !important; }
  body.is-seller .ob-col-head > img { display: none !important; }
  body.is-seller .ob-col-title { -webkit-text-fill-color: currentColor !important; flex: 1 1 auto !important; min-width: 0 !important; white-space: normal !important; font: 600 14px/1.5 var(--pc-font) !important; }
  body.is-seller .ob-count { display: inline-flex !important; flex: 0 0 auto !important; align-items: center !important; justify-content: center !important; width: auto !important; min-width: 28px !important; height: 26px !important; padding: 3px 8px !important; margin: 0 !important; border: 0 !important; background: var(--pc-surface) !important; color: var(--pc-text) !important; }
  body.is-seller .ob-count-unit { display: none !important; }
  body.is-seller .ob-order-code-mobile { display: none !important; }
  body.is-seller .sv-kf-date { border: 0 !important; background: transparent !important; }
  body.is-seller .ob-col-received .ob-col-title { color: var(--pc-order-new) !important; }
  body.is-seller .ob-col-preparing .ob-col-title { color: var(--pc-order-preparing) !important; }
  body.is-seller .ob-col-out .ob-col-title { color: var(--pc-order-delivery) !important; }
  body.is-seller .ob-col-done .ob-col-title { color: var(--pc-order-done) !important; }
  body.is-seller .ob-help { min-height: 64px !important; height: auto !important; font-size: 13px !important; line-height: 1.6 !important; margin: 0 0 16px !important; }
  body.is-seller .ob-card { background: var(--pc-order-card) !important; border: 0 !important; box-shadow: none !important; border-radius: 8px !important; padding: 14px !important; margin: 0 0 12px !important; min-width: 0 !important; height: auto !important; min-height: 0 !important; max-height: none !important; overflow: visible !important; clip-path: none !important; }
  body.is-seller .ob-card :is(.ob-khead,.ob-name-row,.ob-product-row,.ob-row) { height: auto !important; min-width: 0 !important; flex-wrap: wrap !important; gap: 8px !important; }
  body.is-seller .ob-card :is(.ob-name,.ob-product-copy,.ob-product-copy strong,.ob-product-copy small,.ob-address-text,.ob-customer-copy) { min-width: 0 !important; height: auto !important; white-space: normal !important; overflow: visible !important; text-overflow: clip !important; overflow-wrap: anywhere !important; -webkit-line-clamp: unset !important; }
  body.is-seller .ob-order-meta { display: flex !important; flex-wrap: wrap !important; gap: 6px 12px !important; height: auto !important; border: 0 !important; padding: 10px 0 !important; }
  body.is-seller .ob-order-meta > span { display: inline-flex !important; gap: 5px !important; align-items: center !important; }
  body.is-seller .ob-meta-icon { display: none !important; }
  body.is-seller .ob-received-actions { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 8px !important; width: 100% !important; }
  body.is-seller .ob-received-actions button { min-width: 0 !important; min-height: 40px !important; height: auto !important; padding: 9px 6px !important; white-space: normal !important; border-radius: 8px !important; }
  body.is-seller .ob-empty { padding: 24px 8px !important; min-height: 0 !important; }
  body.is-seller .ob-empty-mark { display: none !important; }
  body.is-seller .report-card { padding: 20px !important; min-width: 0 !important; overflow: visible !important; }
  body.is-seller .report-card :is(h2,p,.report-card-title,.report-card-subtitle) { margin-left: 0 !important; margin-right: 0 !important; height: auto !important; overflow: visible !important; }
  body.is-seller .report-chart-wrap { padding: 20px 0 0 !important; }
  body.is-seller .report-kpis { margin-top: 24px !important; }
  @media (max-width: 1100px) {
   body.is-seller .seller-sidebar { flex-basis: 190px !important; width: 190px !important; min-width: 190px !important; max-width: 190px !important; }
   body.is-seller .seller-content > .seller-workspace { padding: 24px 20px 40px !important; }
   body.is-seller .seller-dashboard-modern { grid-template-columns: minmax(0,1fr) !important; }
   body.is-seller .ob-tools { grid-template-columns: minmax(150px,1fr) 180px auto !important; }
  }
 }
}
