/* V247: seller workspace, scoped so login and the public shop keep their layout. */
body.seller-dashboard{background:linear-gradient(180deg,#f2f9f2 0,#f7faf5 420px,#fbfcfa 100%)}
body.seller-dashboard .market-wrap{width:min(1160px,calc(100% - 36px));padding-top:24px;padding-bottom:36px}
body.seller-dashboard .market-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 32px;margin:18px 0 14px;border-radius:28px;background:linear-gradient(110deg,#e2f5e6 0%,#f5fbf2 70%,#fff 100%);border:1px solid #cde8d2;box-shadow:0 16px 36px rgba(28,82,44,.07)}
.seller-hero-kicker{display:none}
body.seller-dashboard .seller-hero-kicker{display:block;margin-bottom:8px;font-size:12px;font-weight:900;letter-spacing:.12em;color:#42835a}
body.seller-dashboard .market-hero h1{font-size:clamp(30px,3vw,42px);color:#133f25;letter-spacing:-.03em}
body.seller-dashboard .market-hero p{font-size:15px;max-width:540px}
body.seller-dashboard .seller-hero-add{flex:none;min-height:52px;padding:12px 22px;white-space:nowrap}
body.seller-dashboard .market-toolbar{margin:10px 0 12px;padding:0 2px}
body.seller-dashboard .market-toolbar .market-small{color:#6b7e70}
body.seller-dashboard .profile-warning{margin:12px 0;border-color:#f1dfae;border-radius:18px;background:#fffbef;padding:16px 20px;color:#775819}
body.seller-dashboard .profile-warning strong{font-size:16px;margin-bottom:3px}
body.seller-dashboard .seller-limit-info{margin:0 0 14px!important;padding:11px 16px;border-radius:14px;font-size:13px}
body.seller-dashboard .seller-stats{gap:14px;margin:14px 0 18px}
body.seller-dashboard .seller-stat{min-height:90px;display:flex;flex-direction:column;justify-content:space-between;padding:16px 18px;border-radius:20px;box-shadow:0 8px 22px rgba(29,77,41,.045)}
body.seller-dashboard .seller-stat span{font-size:13px;color:#607367;font-weight:750}
body.seller-dashboard .seller-stat b{font-size:29px;line-height:1;color:#0d7238}
body.seller-dashboard .market-card{border-color:#dce9dd;border-radius:22px;box-shadow:0 12px 28px rgba(22,66,32,.05)}
body.seller-dashboard .seller-products-section{padding:24px;margin-top:0}
body.seller-dashboard .seller-section-title{align-items:start;gap:14px}
body.seller-dashboard .seller-section-title h2{font-size:23px;line-height:1.2;color:#173822}
body.seller-dashboard .seller-section-title .market-small{font-size:13px;line-height:1.45;margin-top:4px}
body.seller-dashboard .seller-products-section .add-product-note{font-size:12px;text-align:right}
/* The first product state already has a clear action in its empty card. */
body.seller-dashboard.seller-no-products .seller-products-section .seller-section-title>div:last-child{display:none}
body.seller-dashboard .seller-tabs{margin:18px 0 16px;gap:8px}
body.seller-dashboard .seller-tabs[hidden]{display:none!important}
body.seller-dashboard .seller-tabs .market-btn{border-radius:999px;padding:9px 15px;font-size:13px;min-height:40px}
body.seller-dashboard .seller-tabs .market-btn.active{background:#087c3b;color:#fff;border-color:#087c3b}
body.seller-dashboard .seller-empty{min-height:260px;gap:12px;padding:36px;background:radial-gradient(circle at top,#eaf7eb,#fbfefb 70%);border-color:#c8e4ce}
body.seller-dashboard .seller-empty-icon{display:grid;place-items:center;width:60px;height:60px;border-radius:20px;background:#e2f4e5;font-size:28px}
body.seller-dashboard .seller-empty strong{font-size:23px;color:#16462b}
body.seller-dashboard .seller-empty>span:not(.seller-empty-icon){max-width:470px;font-size:15px;line-height:1.5}
body.seller-dashboard .seller-bottom-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(290px,1fr);gap:16px;align-items:start}
body.seller-dashboard .seller-bottom-grid>.market-card{margin-top:16px!important;padding:22px;min-width:0}
body.seller-dashboard .seller-bottom-grid:has(#profileForm:not(.market-hidden)){grid-template-columns:1fr}
body.seller-dashboard .profile-summary-card{background:#f7fbf7;margin-top:16px}
body.seller-dashboard .seller-reviews-section #sellerReviewSummary{margin-top:12px}
@media(min-width:901px){body.seller-dashboard .ps-app-bottom-nav{display:none!important}body.seller-dashboard{padding-bottom:0!important}}
@media(max-width:900px){body.seller-dashboard .seller-bottom-grid{grid-template-columns:1fr}}
@media(max-width:640px){
  body.seller-dashboard .market-wrap{width:calc(100% - 20px);padding-top:10px}
  body.seller-dashboard .market-hero{padding:20px;display:block;margin:12px 0;border-radius:22px}
  body.seller-dashboard .market-hero h1{font-size:30px}
  body.seller-dashboard .seller-hero-add{margin-top:16px;width:100%}
  body.seller-dashboard .seller-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  body.seller-dashboard .seller-stat{min-height:76px;padding:13px}
  body.seller-dashboard .seller-stat b{font-size:25px}
  body.seller-dashboard .seller-products-section,.seller-dashboard .seller-bottom-grid>.market-card{padding:16px}
  body.seller-dashboard .seller-products-section .seller-section-title>div:last-child{width:100%}
  body.seller-dashboard .seller-products-section #scrollAdd{width:100%}
  body.seller-dashboard .seller-products-section .add-product-note{text-align:center}
  body.seller-dashboard .seller-section-title h2{font-size:20px}
  body.seller-dashboard .seller-empty{min-height:210px;padding:22px 14px}
  body.seller-dashboard .seller-empty strong{font-size:19px}
}
