:root{--green:#0d4d35;--green2:#166044;--bg:#f5f7f8;--line:#e4e8e6;--text:#17231d;--muted:#65716b;--soft:#edf4f0;--warning:#9a6713;--danger:#a33b34;--shadow:0 4px 18px rgba(19,42,31,.06)}
*{box-sizing:border-box}.seller-body{margin:0;background:var(--bg);color:var(--text);font-family:"Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;font-size:14px}.seller-topbar{height:70px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:relative;z-index:20}.seller-logo{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--green)}.seller-logo img{width:42px;height:42px;object-fit:contain}.seller-logo strong{display:block;font-size:17px;line-height:1.2}.seller-logo small{display:block;color:#77817c;font-size:11px;margin-top:2px}.seller-back-link{color:var(--green);text-decoration:none;font-weight:650;font-size:13px}.auth-shell{min-height:calc(100vh - 70px);display:grid;grid-template-columns:minmax(0,1.05fr) minmax(380px,.72fr);gap:70px;align-items:center;max-width:1180px;margin:0 auto;padding:58px 28px}.auth-intro{padding:20px}.eyebrow{display:block;color:#9b741f;font-size:11px;font-weight:800;letter-spacing:1.4px}.auth-intro h1{font-size:50px;line-height:1.08;margin:10px 0 16px;color:var(--green);letter-spacing:-1.4px}.auth-intro p{max-width:650px;font-size:16px;line-height:1.7;color:var(--muted);margin:0}.intro-points{display:flex;gap:9px;flex-wrap:wrap;margin-top:24px}.intro-points span{background:#fff;border:1px solid var(--line);border-radius:8px;padding:9px 11px;font-size:12px;font-weight:650;color:#385247}.auth-card{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);padding:28px}.signup-card{max-width:620px}.auth-title h2,.card-head h2{margin:0;color:#1c2b23;font-size:21px;letter-spacing:-.25px}.auth-title p,.card-head p{margin:6px 0 0;color:var(--muted);font-size:12.5px;line-height:1.5}.clean-form{display:grid;gap:15px;margin-top:22px}.clean-form label{display:grid;gap:7px;color:#32433b;font-size:12.5px;font-weight:650}.clean-form label small{color:#8a938f;font-weight:500}.clean-form input,.clean-form textarea,.clean-form select{width:100%;border:1px solid #d9dfdc;border-radius:7px;background:#fff;padding:11px 12px;font:inherit;color:#18251f;outline:none}.clean-form input:focus,.clean-form textarea:focus,.clean-form select:focus{border-color:#7da18e;box-shadow:0 0 0 3px rgba(13,77,53,.08)}.primary-btn,.outline-btn,.soft-btn{border:0;border-radius:7px;padding:12px 16px;font:inherit;font-weight:700;cursor:pointer;text-decoration:none;text-align:center}.primary-btn{background:var(--green);color:#fff}.primary-btn:hover{background:#0a402d}.outline-btn{width:100%;background:#fff;border:1px solid #b9c8c0;color:var(--green)}.soft-btn{background:var(--soft);color:var(--green)}.compact{padding:10px 14px;width:auto}.inline-btn{display:inline-block;width:auto}.auth-separator{display:flex;align-items:center;gap:10px;margin:20px 0}.auth-separator:before,.auth-separator:after{content:"";height:1px;background:var(--line);flex:1}.auth-separator span{font-size:11px;color:#8b9490}.text-back{border:0;background:transparent;color:var(--green);padding:0;margin-bottom:18px;font:inherit;font-size:12px;font-weight:700;cursor:pointer}.form-status{min-height:18px;margin:3px 0 0;color:var(--warning);font-size:12px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:14px}.three-col{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.portal-shell{min-height:calc(100vh - 70px);display:grid;grid-template-columns:220px minmax(0,1fr)}.portal-sidebar{background:#fff;border-right:1px solid var(--line);padding:18px 12px;display:flex;flex-direction:column;position:sticky;top:0;height:calc(100vh - 70px)}.side-brand{display:flex;align-items:center;gap:10px;padding:7px 9px 18px;border-bottom:1px solid #eef1ef;margin-bottom:11px}.side-brand img{width:38px;height:38px;object-fit:contain}.side-brand strong{display:block;color:var(--green);font-size:14px}.side-brand small{display:block;color:#8a938f;font-size:10px;margin-top:2px;max-width:135px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.side-nav{display:grid;gap:3px}.side-nav button,.side-logout{border:0;background:transparent;color:#48564f;padding:10px 11px;border-radius:7px;text-align:left;font:inherit;font-size:13px;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:11px}.side-nav button span{width:18px;text-align:center;color:#7d8983}.side-nav button:hover{background:#f3f6f4}.side-nav button.active{background:#eaf2ee;color:var(--green)}.side-nav button.active span{color:var(--green)}.side-logout{margin-top:auto;color:#9a4039}.portal-content{padding:28px 32px 50px;min-width:0}.mobile-bar{display:none}.portal-view{display:none}.portal-view.active{display:block}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}.page-head h1{font-size:27px;letter-spacing:-.55px;margin:0 0 6px;color:#17251e}.page-head p{margin:0;color:var(--muted);font-size:13px}.status-pill,.product-status{display:inline-flex;align-items:center;padding:6px 9px;border-radius:999px;background:#f2f0e9;color:#6f612d;font-size:10.5px;font-weight:750;text-transform:capitalize}.status-pill.approved,.product-status.live{background:#e7f4ea;color:#28613e}.status-pill.rejected,.product-status.rejected{background:#fdebea;color:#973c35}.status-pill.changes_required,.product-status.changes_required{background:#fff1dc;color:#885c18}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.metric-grid article{background:#fff;border:1px solid var(--line);border-radius:10px;padding:17px 18px;box-shadow:0 1px 4px rgba(20,40,30,.025)}.metric-grid span{display:block;color:#7b8781;font-size:11.5px;margin-bottom:9px}.metric-grid strong{font-size:24px;color:#1d2a24;letter-spacing:-.4px}.dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}.content-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:19px;box-shadow:0 1px 4px rgba(20,40,30,.025)}.content-card.no-pad{padding:0;overflow:hidden}.card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px}.link-btn{border:0;background:transparent;color:var(--green);font:inherit;font-size:11.5px;font-weight:700;cursor:pointer}.action-list{display:grid;gap:9px}.seller-action{display:flex;gap:10px;padding:11px 12px;border:1px solid #edf0ee;border-radius:8px;background:#fafbfa}.seller-action b{display:block;font-size:12px;color:#314139}.seller-action small{color:#7b8781}.seller-action .dot{width:8px;height:8px;margin-top:4px;border-radius:50%;background:#d19a2d;flex:0 0 auto}.summary-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.summary-grid div{padding:12px;border-radius:8px;background:#f7f9f8}.summary-grid span{display:block;color:#7c8782;font-size:10.5px}.summary-grid strong{display:block;margin-top:3px;font-size:20px;color:#24352c}.listing-list{display:grid;gap:10px}.seller-product-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:13px;display:grid;grid-template-columns:68px 1fr auto;gap:14px;align-items:center}.seller-product-card img{width:68px;height:68px;border-radius:8px;object-fit:cover;background:#f3f5f4}.seller-product-card h3{margin:5px 0 4px;font-size:15px;color:#24352c}.seller-product-card p{margin:0;color:#738078;font-size:11.5px}.seller-product-card .note{margin-top:6px;color:#8b5f18}.seller-product-actions{display:flex;gap:7px}.seller-product-actions button{padding:8px 10px;border-radius:6px}.seller-table{width:100%;border-collapse:collapse}.seller-table th,.seller-table td{padding:13px 14px;text-align:left;border-bottom:1px solid #edf0ee;font-size:11.5px;vertical-align:middle}.seller-table th{background:#fafbfa;color:#748078;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.35px}.seller-table tbody tr:hover{background:#fcfdfc}.seller-empty{padding:34px;text-align:center;color:#7d8983}.account-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:16px}.business-form{margin-top:0}.documents-card .card-head{margin-bottom:8px}.document-list{display:grid;gap:8px;margin:13px 0 18px}.seller-doc-item{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 11px;border:1px solid #edf0ee;border-radius:7px;background:#fafbfa;font-size:11.5px}.document-form{margin-top:8px}.empty-state{text-align:center;padding:48px 24px}.empty-state h2,.support-card h2{margin:0 0 8px;font-size:20px}.empty-state p,.support-card p{color:var(--muted);line-height:1.6}.seller-modal[hidden]{display:none}.seller-modal{position:fixed;inset:0;z-index:2000;display:grid;place-items:center;padding:20px}.seller-modal-backdrop{position:absolute;inset:0;background:rgba(12,27,20,.55)}.seller-modal-card{position:relative;z-index:1;background:#fff;border-radius:12px;padding:25px;width:min(830px,100%);max-height:91vh;overflow:auto;box-shadow:0 20px 60px rgba(0,0,0,.18)}.seller-modal-close{position:absolute;right:14px;top:12px;width:34px;height:34px;border:0;border-radius:50%;background:#f2f4f3;font-size:20px;cursor:pointer}.image-preview{display:flex;gap:8px;flex-wrap:wrap}.image-preview img{width:68px;height:68px;object-fit:cover;border-radius:7px;border:1px solid var(--line)}
@media(max-width:980px){.auth-shell{grid-template-columns:1fr;gap:28px}.auth-intro{padding:0}.auth-intro h1{font-size:40px}.portal-shell{grid-template-columns:1fr}.portal-sidebar{position:fixed;top:70px;left:0;bottom:0;width:220px;height:auto;z-index:80;transform:translateX(-105%);transition:.2s ease;box-shadow:12px 0 30px rgba(0,0,0,.08)}.portal-sidebar.open{transform:translateX(0)}.portal-content{padding:18px}.mobile-bar{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:8px;padding:10px 12px;margin-bottom:18px}.mobile-bar button{border:0;background:#eef3f0;color:var(--green);width:36px;height:34px;border-radius:6px;font-size:18px}.dashboard-grid,.account-layout{grid-template-columns:1fr}}
@media(max-width:680px){.seller-topbar{padding:0 14px}.seller-logo small{display:none}.auth-shell{padding:28px 16px}.auth-intro h1{font-size:34px}.auth-card{padding:21px}.portal-content{padding:13px}.metric-grid{grid-template-columns:1fr 1fr}.two-col,.three-col{grid-template-columns:1fr}.page-head{flex-direction:column}.seller-product-card{grid-template-columns:54px 1fr}.seller-product-card img{width:54px;height:54px}.seller-product-actions{grid-column:1/-1}.content-card.no-pad{overflow:auto}.seller-table{min-width:690px}}
[hidden]{display:none!important}.form-status.is-error{color:#b42318;background:#fff0ee;border:1px solid #f1b8b2;border-radius:7px;padding:9px 10px;animation:dgSellerError .55s ease 0s 3}.form-status.is-success{color:#17633e;background:#eef8f2;border:1px solid #bde2ca;border-radius:7px;padding:9px 10px}@keyframes dgSellerError{0%,100%{opacity:1}50%{opacity:.42}}

/* === Final seller portal polish === */
.seller-body{background:#f6f7f7;font-size:14px;-webkit-font-smoothing:antialiased}
.seller-topbar{height:64px;padding:0 24px}.seller-logo img{width:38px;height:38px}
.portal-shell{min-height:calc(100vh - 64px);grid-template-columns:232px minmax(0,1fr)}
.portal-sidebar{height:calc(100vh - 64px);padding:16px 12px}.side-nav{gap:4px}.side-nav button,.side-logout{min-height:42px;padding:10px 12px;border-radius:8px;font-size:13.5px}
.portal-content{padding:30px 34px 54px;max-width:1500px;width:100%;margin:0 auto}.page-head{margin-bottom:24px}.page-head h1{font-size:29px;letter-spacing:-.7px}.page-head p{font-size:13.5px}
.metric-grid{gap:16px}.metric-grid article,.content-card{border-color:#e1e6e3;border-radius:12px;box-shadow:0 4px 18px rgba(16,44,29,.045)}.metric-grid article{padding:19px 20px}.metric-grid span{font-size:12px}.metric-grid strong{font-size:26px}
.content-card{padding:21px}.card-head h2{font-size:19px}.seller-table th,.seller-table td{padding:14px 16px;font-size:12px}.seller-table th{font-size:10.5px;background:#f8faf9}.seller-table tbody tr:last-child td{border-bottom:0}
.clean-form input,.clean-form textarea,.clean-form select{min-height:43px;border-radius:8px}.primary-btn,.outline-btn,.soft-btn{min-height:42px;border-radius:8px}.primary-btn:focus-visible,.outline-btn:focus-visible,.soft-btn:focus-visible,.side-nav button:focus-visible{outline:3px solid rgba(13,77,53,.16);outline-offset:2px}
.form-status.is-error{font-weight:700}.form-status.is-success{font-weight:700}
@media(max-width:980px){.portal-sidebar{top:64px}.portal-content{padding:20px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1fr}}
@media(max-width:600px){.metric-grid{grid-template-columns:1fr 1fr;gap:10px}.metric-grid article{padding:15px}.metric-grid strong{font-size:22px}.page-head h1{font-size:24px}}

/* DeshiGram unified typography */
html, body, button, input, select, textarea {
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}
body {
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-top: 0;
}
h1 { font-weight: 700; }
h2 { font-weight: 700; }
h3, h4 { font-weight: 600; }
nav a, .navigation a, .sidebar a, .button, button {
  font-weight: 600;
  letter-spacing: 0;
}
input, select, textarea {
  font-size: 14px;
  font-weight: 400;
}
small, .muted, .hint, .subtext {
  font-size: 13px;
  line-height: 1.45;
}
.price, .product-price, .amount, .metric-value {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}
