/* Seller design loaded before application startup. */
/* SmartPart seller: original orange/graphite layout, shared live data. */
:root{--red:#e9642d;--seller-accent:#e9642d;--seller-bg:#f5f6f8;--seller-surface:#fff;--seller-ink:#202b37;--seller-muted:#74808e;--seller-line:#e7ebef}
html[data-theme=dark]{--seller-bg:#101820;--seller-surface:#19232e;--seller-ink:#eef4f8;--seller-muted:#a5b2c0;--seller-line:#2c3946}
html,body{background:var(--seller-bg);color:var(--seller-ink)}
.seller-top{padding:calc(17px + env(safe-area-inset-top)) 20px 15px;background:var(--seller-surface);border-bottom:1px solid var(--seller-line);gap:10px}
.seller-brand{display:flex;align-items:center;gap:9px;min-width:0}.seller-brand [data-sp-logo]{display:block;flex:none;width:34px;height:34px;overflow:hidden}.seller-brand [data-sp-logo] img{display:block;max-width:100%;max-height:100%;object-fit:contain}.seller-brand b{font-size:18px;letter-spacing:-.6px}.seller-brand small{display:block;font-size:8px;letter-spacing:1px;color:var(--seller-muted);margin-top:3px}
.seller-header-actions{display:flex;align-items:center;gap:9px;flex:none}.seller-top>.sp-theme-button{display:none!important}.seller-header-actions [data-seller-notifications]{display:flex;min-width:40px}
.seller-status{display:flex;align-items:center;gap:6px;border:1px solid var(--seller-line);background:var(--seller-bg);padding:7px 10px;font-size:11px;border-radius:22px;min-height:40px;color:var(--seller-muted)}.seller-status i{width:7px;height:7px;display:block;border-radius:50%;background:#8996a2}.seller-status.is-open{background:#e8f7ef;color:#167850;border-color:#ccebdc}.seller-status.is-open i{background:#20a46d}
.seller-header-actions .sp39-bell.sp39-inline{display:flex;align-items:center;justify-content:center;position:relative!important;border-radius:13px;background:var(--seller-surface);color:var(--seller-ink);border-color:var(--seller-line);width:40px!important;height:40px;padding:7px!important}.seller-bell-count{position:absolute;top:-4px;right:-4px;min-width:16px;height:16px;border-radius:8px;background:var(--seller-accent);color:white;font-size:9px;display:grid;place-items:center;padding:0 3px}
.content{padding:23px 18px calc(115px + env(safe-area-inset-bottom));max-width:1120px}.seller-welcome{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:21px}.seller-welcome p{font-size:9px;font-weight:700;letter-spacing:1.4px;color:var(--seller-muted);margin-bottom:7px}.seller-welcome h1{font-size:25px;line-height:1.25;overflow-wrap:anywhere}.seller-avatar{width:41px;height:41px;display:grid;place-items:center;border-radius:14px;background:#fff0e8;color:var(--seller-accent);font-weight:750;flex:none}
.seller-statistics{border-radius:23px;background:linear-gradient(125deg,#293644,#19232f);color:#fff;padding:20px;position:relative;overflow:hidden;box-shadow:0 12px 27px #19232f14}.seller-statistics:before{content:'';position:absolute;right:-52px;top:57px;width:160px;height:160px;border:28px solid #ffffff03;border-radius:50%;pointer-events:none}.seller-stat-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.seller-stat-head h2{font-size:15px;letter-spacing:-.3px}.seller-period{margin:0}.seller-period select{width:auto;min-height:33px;margin:0;border:1px solid #ffffff25;background:#ffffff09;color:#fff;border-radius:9px;font-size:11px;padding:6px 8px;max-width:92px}.seller-period option{background:#263340;color:white}.seller-revenue{display:flex;gap:12px;align-items:center;margin:21px 0 13px;position:relative}.seller-revenue-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;flex:none;background:#f8793822;color:#ffa76d}.seller-revenue small{font-size:11px;color:#b8c4d1}.seller-revenue strong{display:block;font-size:28px;letter-spacing:-.7px;line-height:1.3;margin:5px 0;overflow-wrap:anywhere}.seller-revenue div>span{font-size:10px;color:#a8b7c7}
.seller-spark{display:flex;align-items:flex-end;gap:4px;height:27px;border-bottom:1px solid #ffffff0d;margin:0 0 15px;position:relative}.seller-spark>span{height:var(--bar);flex:1;min-width:0;background:linear-gradient(#fd9c69,#e9642d);border-radius:3px 3px 0 0;opacity:.8}.seller-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding-bottom:15px;border-bottom:1px solid #ffffff1b;position:relative}.seller-metrics>div{display:flex;align-items:center;flex-direction:column;text-align:center;gap:5px;border-right:1px solid #ffffff15;padding:0 4px}.seller-metrics>div:last-child{border:0}.metric-icon{color:#bccbd9;width:31px;height:31px;display:grid;place-items:center;background:#ffffff08;border-radius:10px}.metric-icon svg{width:20px;height:20px}.seller-metrics b{font-size:23px;line-height:1.2;letter-spacing:-.5px}.seller-metrics small{font-size:9px;line-height:1.35;color:#bdc9d4;max-width:90px}.seller-stat-detail{display:flex;align-items:center;justify-content:space-between;width:100%;border:0;background:none!important;color:#edc7ad;padding:12px 0 0;min-height:36px;font-size:11px}.seller-stat-detail svg{width:17px;height:17px}
.seller-commission{display:flex;gap:10px;align-items:center;width:100%;text-align:left;border:1px solid var(--seller-line);background:var(--seller-surface);padding:15px 12px;border-radius:16px;margin:13px 0 23px}.seller-commission>span{min-width:0}.seller-commission-icon{display:grid;place-items:center;width:36px;height:36px;flex:none;border-radius:12px;color:var(--seller-accent);background:#ed642c0e}.seller-commission small{display:block;font-size:9px;color:var(--seller-muted);font-weight:500}.seller-commission b{display:block;font-size:13px;margin-top:5px;overflow-wrap:anywhere}.seller-net{margin-left:auto;text-align:right}.seller-commission>svg{width:15px;height:15px;color:var(--seller-muted)}
.section-head{margin:22px 0 13px;display:flex;align-items:center;justify-content:space-between;gap:8px}.section-head h2{font-size:16px}.section-head button{display:flex;align-items:center;gap:3px;border:0;background:transparent;padding:5px 0;font-size:10px;color:var(--seller-muted);min-height:36px}.section-head button svg{width:15px;height:15px}
.seller-recent{background:var(--seller-surface);border:1px solid var(--seller-line);border-radius:18px;overflow:hidden}.seller-order-row{display:flex;align-items:center;gap:9px;padding:15px 11px;width:100%;text-align:left;background:none;border:0;border-bottom:1px solid var(--seller-line);border-radius:0}.seller-order-row:last-child{border:0}.seller-order-photo{width:47px;height:49px;flex:none;background:var(--seller-bg);border-radius:11px;display:grid;place-items:center;overflow:hidden}.seller-order-photo img{width:100%;height:100%;object-fit:contain;padding:3px}.seller-order-main{flex:1;min-width:0}.seller-order-main b{display:block;font-size:10px;overflow-wrap:anywhere;line-height:1.4}.seller-order-main>span{display:block;font-weight:500;font-size:11px;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.seller-order-main small{display:block;font-size:9px;font-weight:400;margin-top:4px;color:var(--seller-muted)}.seller-order-end{max-width:36%;text-align:right;flex:none}.seller-order-end .pill{font-size:9px;padding:4px 7px}.seller-order-end strong{display:block;font-size:10px;margin-top:7px;overflow-wrap:anywhere}
.seller-home-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:23px}.seller-product-tile{min-width:0;text-align:left;background:var(--seller-surface);border:1px solid var(--seller-line);padding:8px;border-radius:15px;display:flex;flex-direction:column;align-items:stretch}.seller-product-photo{width:100%;height:90px;background:var(--seller-bg);border-radius:10px;display:block;overflow:hidden;margin-bottom:10px}.seller-product-photo img{display:block;width:100%;height:100%;object-fit:contain;padding:5px}.seller-product-tile b{font-size:11px;font-weight:600;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:31px}.seller-product-tile strong{font-size:11px;margin-top:7px;overflow-wrap:anywhere}.seller-product-tile small{font-size:9px;color:var(--seller-muted);margin-top:6px;font-weight:400}.seller-first-product{grid-column:1/-1;padding:20px;border:1px dashed var(--seller-line);background:var(--seller-surface);color:var(--seller-accent)}.seller-review-note{display:flex;gap:9px;align-items:center;justify-content:space-between;width:100%;font-size:11px;color:var(--seller-accent);background:#e9642d0c;border-color:#e9642d20}
.seller-nav{background:var(--seller-surface)!important;border-color:var(--seller-line);box-shadow:0 -5px 20px #18263404}.seller-nav button{color:var(--seller-muted);gap:5px;padding:10px 0;font-size:9px;font-weight:500;background:none;border:0;min-width:0}.seller-nav button.active{color:var(--seller-accent);background:none}.seller-nav button.active:before{display:none}.seller-nav .nav-icon{display:grid;place-items:center;height:23px}.seller-nav button.seller-add-nav{color:var(--seller-accent);overflow:visible}.seller-nav .seller-add-nav .nav-icon{width:45px;height:45px;background:var(--seller-accent);border-radius:15px;color:white;margin-top:-22px;margin-bottom:1px;transform:rotate(-7deg);box-shadow:0 5px 12px #e9642d30;border:3px solid var(--seller-surface)}.seller-nav .seller-add-nav svg{transform:rotate(7deg);width:25px;height:25px}
html[data-theme=dark] .seller-avatar{background:#e9642d18}html[data-theme=dark] .seller-status.is-open{background:#14392e;border-color:#255342;color:#79dbb1}html[data-theme=dark] .product,html[data-theme=dark] .search input,html[data-theme=dark] .menu-row{background:var(--seller-surface);color:var(--seller-ink)}
@media(min-width:760px){.seller-top{padding:calc(20px + env(safe-area-inset-top)) 30px 19px}.content{padding:26px 32px 60px}.seller-welcome h1{font-size:29px}.seller-statistics{padding:26px}.seller-revenue strong{font-size:36px}.seller-metrics small{font-size:12px;max-width:none}.seller-metrics b{font-size:28px}.seller-spark{height:42px}.seller-commission{padding:18px}.seller-commission small{font-size:12px}.seller-commission b{font-size:17px}.seller-nav button{padding:14px 13px;font-size:13px;margin:7px 12px}.seller-nav .nav-icon{height:24px}.seller-nav .seller-add-nav .nav-icon{margin:0;width:34px;height:34px;border:0;border-radius:10px}.seller-nav .desktop-brand{display:flex;flex-direction:column;align-items:flex-start;gap:5px}.seller-nav .desktop-brand small{font-size:11px;color:var(--seller-muted)}.seller-home-products{gap:15px}.seller-product-photo{height:150px}.seller-product-tile{padding:13px}.seller-product-tile b{font-size:14px}.seller-product-tile strong{font-size:15px}.seller-product-tile small{font-size:12px}.seller-order-row{padding:17px}.seller-order-main b,.seller-order-main>span,.seller-order-end strong{font-size:13px}.seller-order-main small{font-size:11px}.seller-order-end .pill{font-size:11px}.section-head h2{font-size:19px}.section-head button{font-size:12px}}
@media(max-width:359px){.seller-top{padding-left:13px;padding-right:13px}.seller-brand b{font-size:16px}.seller-brand small{font-size:7px}.seller-brand{gap:6px}.seller-header-actions{gap:5px}.seller-status{padding:7px 8px}.content{padding-left:13px;padding-right:13px}.seller-statistics{padding:17px 14px}.seller-stat-head h2{font-size:14px}.seller-revenue strong{font-size:24px}.seller-product-tile{padding:6px}.seller-product-photo{height:77px}.seller-commission-icon{display:none}.seller-order-photo{width:39px}.seller-order-row{gap:7px;padding:13px 9px}}
.seller-brand [data-sp-logo]{width:120px;height:29px}.seller-brand .sp-brand{display:block!important;width:120px!important;height:29px!important;max-width:120px!important}.seller-brand .sp-brand img{width:132px!important;height:auto!important;object-fit:contain!important}.seller-brand small{margin-top:4px}
.seller-header-actions .sp39-bell.sp39-inline{bottom:auto;right:auto}
html[data-theme=dark] body:has(.content) .seller-nav button{background:transparent;color:var(--seller-muted)}html[data-theme=dark] body:has(.content) .seller-nav button.active{color:var(--seller-accent)}
html[data-theme=dark] body:has(.content) .seller-status.is-open{background:#14392e;border-color:#255342;color:#79dbb1}
html[data-theme=dark] body:has(.content) .seller-statistics .seller-period select{background:#ffffff09;color:white;border-color:#ffffff25}
html[data-theme=dark] body:has(.content) .seller-statistics .seller-stat-detail{color:#edc7ad}
html[data-theme=dark] body:has(.content) .section-head button{background:transparent;color:var(--seller-muted)}

/* Equal side tracks keep the approved wordmark precisely centered. */
.seller-top{display:grid;grid-template-columns:64px minmax(0,1fr)64px;gap:6px;padding:calc(12px + env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) 12px max(14px,env(safe-area-inset-left));min-height:90px}
.seller-top>.seller-status{justify-self:start;padding:7px 8px;gap:5px;font-size:10px;min-height:44px}
.seller-brand{justify-content:center;min-width:0;text-align:center;width:100%}.seller-brand>div{width:100%}
.seller-top .seller-brand [data-sp-logo],.seller-top .seller-brand .sp-brand{width:min(100%,200px)!important;max-width:200px!important;height:auto!important;aspect-ratio:494/284;margin:auto;overflow:visible}
.seller-top .seller-brand .sp-brand img{position:absolute;inset:0!important;width:100%!important;height:100%!important;max-height:100%!important;max-width:100%!important;transform:none!important;object-fit:contain!important;image-rendering:auto;filter:none!important}
/* Do not let the old generic img rule display both theme variants together. */
.seller-brand .sp-brand .sp-brand-light{display:block!important}
.seller-brand .sp-brand .sp-brand-dark{display:none!important;mix-blend-mode:normal!important}
html[data-theme=dark] .seller-brand .sp-brand .sp-brand-light{display:none!important}
html[data-theme=dark] .seller-brand .sp-brand .sp-brand-dark{display:block!important}
.seller-brand small{margin-top:0!important;font-size:8px;letter-spacing:1.1px}
.seller-header-actions{justify-self:end;gap:0}.seller-header-actions .sp39-bell.sp39-inline{width:44px!important;height:44px;right:auto!important;bottom:auto!important}
.seller-avatar,.top-left .avatar{overflow:hidden}.seller-avatar img,.top-left .avatar img{display:block;width:100%;height:100%;object-fit:cover}
.seller-profile-photo{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px;border:1px solid var(--seller-line);border-radius:14px;margin:12px 0;background:var(--seller-surface)}
.seller-profile-photo img{width:88px;height:88px;object-fit:cover;border-radius:14px;display:block}.seller-profile-photo small{flex:1;min-width:90px}.seller-profile-photo button{font-size:12px}
html[data-theme=dark] .seller-top>.seller-status.is-open{background:#173b2d!important;color:#7ee0b0!important;border-color:#296248}
@media(min-width:760px){.seller-top{padding-left:32px;padding-right:32px}}
