:root{--navy:#10263f;--navy2:#173a59;--green:#0b8069;--green2:#12a681;--cream:#f4f8f6;--text:#122033;--muted:#687789;--line:#e2e9e6;--white:#fff;--danger:#b42318;--shadow:0 24px 70px rgba(16,38,63,.12)}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:#f6f9f8}body{line-height:1.5}a{text-decoration:none;color:inherit}.gateway-page{min-height:100vh;background:radial-gradient(circle at 80% 10%,rgba(18,166,129,.16),transparent 32%),linear-gradient(135deg,#f7fbfa 0%,#eef5f3 52%,#f8fafc 100%)}.gateway-shell{min-height:100vh;display:flex;flex-direction:column;padding:30px 6vw 22px;position:relative;overflow:hidden}.gateway-shell:before{content:"";position:absolute;width:520px;height:520px;border-radius:50%;right:-210px;bottom:-260px;background:rgba(16,38,63,.06)}.gateway-brand{display:flex;align-items:center;gap:13px;position:relative;z-index:1}.brand-mark{width:48px;height:48px;border-radius:15px;background:linear-gradient(145deg,var(--green),#06624f);color:#fff;display:grid;place-items:center;font-weight:900;font-size:25px;box-shadow:0 12px 25px rgba(11,128,105,.25)}.brand-name{font-weight:800;font-size:18px;color:var(--navy)}.brand-sub{font-size:13px;color:var(--muted);margin-top:1px}.gateway-card{width:min(980px,100%);margin:auto;padding:66px 0 54px;position:relative;z-index:1}.eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:12px;letter-spacing:.16em;font-weight:800;color:var(--green);margin-bottom:18px}.eyebrow:before{content:"";width:28px;height:2px;background:var(--green);border-radius:5px}.gateway-card h1{font-size:clamp(44px,7vw,76px);line-height:1.02;letter-spacing:-.055em;margin:0 0 24px;color:var(--navy);font-weight:850}.gateway-card h1 span{color:var(--green)}.gateway-card>p{max-width:720px;color:#536476;font-size:18px;margin:0 0 32px}.gateway-actions{display:flex;gap:14px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:15px;min-height:48px;padding:0 22px;border:0;border-radius:13px;background:linear-gradient(135deg,var(--green),#08705c);color:#fff;font-weight:800;cursor:pointer;box-shadow:0 12px 24px rgba(11,128,105,.2);transition:.2s transform,.2s box-shadow}.btn:hover{transform:translateY(-2px);box-shadow:0 16px 30px rgba(11,128,105,.25)}.btn.secondary{background:#fff;color:var(--navy);border:1px solid #dbe5e1;box-shadow:0 8px 22px rgba(16,38,63,.07)}.btn-large{min-height:56px;padding:0 25px;font-size:15px}.gateway-note{margin-top:25px;color:#647485;font-size:13px;display:flex;align-items:center;gap:9px}.gateway-note span{color:var(--green);font-size:12px}.gateway-shell footer{position:relative;z-index:1;color:#84909d;font-size:12px;padding-top:20px;border-top:1px solid rgba(16,38,63,.08)}
/* Authentication */.auth-page{min-height:100vh;background:#f4f7f6}.auth-layout{min-height:100vh;display:grid;grid-template-columns:minmax(340px,46%) 1fr}.auth-visual{position:relative;overflow:hidden;padding:42px 7vw;background:linear-gradient(145deg,#0e2944 0%,#123b58 54%,#075e52 100%);color:#fff;display:flex;flex-direction:column}.auth-visual:before,.auth-visual:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.12);border-radius:50%;pointer-events:none}.auth-visual:before{width:560px;height:560px;right:-310px;top:-180px}.auth-visual:after{width:400px;height:400px;left:-270px;bottom:-210px}.auth-visual .brand-name{color:#fff}.auth-visual .brand-sub{color:rgba(255,255,255,.68)}.auth-visual .brand-mark{background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.2);box-shadow:none}.visual-copy{margin:auto 0;max-width:540px;position:relative;z-index:1}.visual-copy .eyebrow{color:#9ce7d5}.visual-copy .eyebrow:before{background:#9ce7d5}.visual-copy h1{font-size:clamp(42px,5vw,68px);line-height:1.02;letter-spacing:-.05em;margin:0 0 22px}.visual-copy p{font-size:17px;line-height:1.7;color:rgba(255,255,255,.72);max-width:500px}.visual-points{display:grid;gap:13px;margin-top:28px;color:rgba(255,255,255,.88);font-size:14px}.auth-panel{display:grid;place-items:center;padding:35px;background:#f7faf9}.auth-card{width:min(480px,100%);background:#fff;border:1px solid #e4ebe8;border-radius:24px;padding:34px;box-shadow:var(--shadow)}.back-link{display:inline-flex;color:#637285;font-size:13px;font-weight:700;margin-bottom:28px}.auth-icon{width:48px;height:48px;border-radius:15px;background:#e9f7f3;color:var(--green);display:grid;place-items:center;font-size:22px;font-weight:800;margin-bottom:20px}.auth-card h1{margin:0;color:var(--navy);font-size:32px;letter-spacing:-.03em}.muted,.auth-intro{color:var(--muted)}.auth-intro{margin:7px 0 27px}.field{margin:0 0 17px}.field label{display:block;font-size:13px;font-weight:800;margin-bottom:8px;color:#314154}.input-icon{position:relative}.input-icon>span{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#7b8997;font-size:15px}.input-icon input{width:100%;height:52px;border:1px solid #dce5e1;border-radius:12px;padding:0 45px 0 40px;outline:none;background:#fbfdfc;color:var(--text);font:inherit;transition:.18s}.input-icon input:focus{border-color:#63b9a6;box-shadow:0 0 0 4px rgba(18,166,129,.10);background:#fff}.eye{position:absolute;right:9px;top:7px;height:38px;padding:0 10px;border:0;background:transparent;color:var(--green);font-weight:800;cursor:pointer}.auth-submit{width:100%;margin-top:4px}.auth-divider{display:flex;align-items:center;gap:12px;margin:25px 0 18px;color:#95a0ab;font-size:12px}.auth-divider:before,.auth-divider:after{content:"";height:1px;background:#e6ece9;flex:1}.auth-card>.secondary{width:100%;box-shadow:none}.auth-foot{font-size:11px;text-align:center;color:#8b97a3;margin:18px 0 0}.alert{border-radius:11px;padding:11px 13px;font-size:13px;margin-bottom:18px}.alert.error{background:#fff1f0;color:var(--danger);border:1px solid #ffd7d2}.alert.success{background:#eefaf6;color:#08634f;border:1px solid #c8eee2}
/* Generic/admin/partner UI */.layout{min-height:100vh;display:flex;background:#f5f8f7}.sidebar{width:250px;background:#0f273f;color:#fff;padding:25px 16px;position:fixed;inset:0 auto 0 0}.brand{font-size:19px;font-weight:900;padding:8px 13px 25px}.brand small{font-size:9px;letter-spacing:.16em;color:#8fb0bf}.nav{display:grid;gap:5px}.nav a{padding:12px 13px;border-radius:10px;color:#c8d4dc;font-size:13px;font-weight:700}.nav a:hover{background:rgba(255,255,255,.08);color:#fff}.main{margin-left:250px;width:calc(100% - 250px);padding:28px 34px}.top{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.top h1{font-size:26px;margin:0}.userpill{background:#fff;border:1px solid var(--line);padding:8px 13px;border-radius:999px;font-size:12px;font-weight:800}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card,.box,.stat{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px;box-shadow:0 8px 25px rgba(16,38,63,.05)}.stat .num{font-size:28px;font-weight:850;color:var(--navy)}.stat .muted{font-size:12px}.tablewrap{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:16px}.table{width:100%;border-collapse:collapse}.table th,.table td{padding:12px 14px;border-bottom:1px solid #edf1ef;text-align:left;font-size:13px;white-space:nowrap}.table th{background:#f8faf9;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#687789}.badge{display:inline-flex;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800;background:#eef4f2}.form{display:grid;gap:14px}.form input,.form select,.form textarea{width:100%;border:1px solid #dce5e1;border-radius:10px;padding:11px 12px;font:inherit;outline:none;background:#fff}.form input:focus,.form select:focus,.form textarea:focus{border-color:#63b9a6;box-shadow:0 0 0 4px rgba(18,166,129,.08)}.productgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.product{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px}.product .price{font-size:22px;font-weight:850;color:var(--green)}.product .mrp{color:#8995a1;text-decoration:line-through;font-size:12px}.qty{width:80px!important}.empty{text-align:center;padding:40px;color:#7b8794}
@media(max-width:900px){.auth-layout{grid-template-columns:1fr}.auth-visual{min-height:360px;padding:28px 7vw}.visual-copy{margin-top:55px}.auth-panel{padding:25px}.grid,.productgrid{grid-template-columns:1fr 1fr}.sidebar{position:static;width:100%;min-height:auto}.layout{display:block}.main{margin-left:0;width:100%;padding:22px}.nav{grid-template-columns:repeat(3,1fr)}.gateway-card{padding:55px 0}.gateway-shell{padding:24px 5vw}}
@media(max-width:600px){.gateway-card h1{font-size:46px}.gateway-card>p{font-size:16px}.gateway-actions{display:grid}.gateway-actions .btn{width:100%}.auth-visual{min-height:330px}.visual-copy h1{font-size:43px}.auth-card{padding:25px;border-radius:19px}.grid,.productgrid{grid-template-columns:1fr}.nav{grid-template-columns:1fr 1fr}.main{padding:18px}.top h1{font-size:21px}}
/* Partner Login - split screen */
.partner-login-page{background:#f7f7f4;color:#172b3a}.split-login{min-height:100vh;display:grid;grid-template-columns:51% 49%;background:#f8f8f5}.split-visual{position:relative;min-height:100vh;background:linear-gradient(145deg,#dff3ea 0%,#eff7f4 48%,#d7eee6 100%);background-size:cover;background-position:center;overflow:hidden}.split-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(246,251,249,.94) 0%,rgba(246,251,249,.72) 48%,rgba(246,251,249,.12) 100%)}.visual-overlay{position:absolute;inset:0;background:radial-gradient(circle at 82% 63%,rgba(16,180,137,.16),transparent 26%),linear-gradient(180deg,transparent,rgba(12,43,55,.03))}.visual-content{position:relative;z-index:2;min-height:100vh;padding:48px 5vw 30px;display:flex;flex-direction:column}.login-brand{display:flex;align-items:center;gap:12px}.login-brand .brand-mark,.mobile-brand .brand-mark{width:44px;height:44px;border-radius:13px;background:#0d876e;color:white;display:grid;place-items:center;font-weight:900;font-size:22px;box-shadow:0 10px 22px rgba(13,135,110,.18)}.login-brand strong,.mobile-brand strong{display:block;font-size:17px;letter-spacing:-.02em}.login-brand small,.mobile-brand small{display:block;font-size:11px;color:#687a78;margin-top:2px}.visual-message{max-width:620px;margin:auto 0}.login-eyebrow{font-size:11px;letter-spacing:.17em;color:#69807a;font-weight:850;margin-bottom:20px}.visual-message h1{font-size:clamp(48px,5vw,76px);line-height:1.02;letter-spacing:-.055em;color:#182e40;margin:0 0 20px;font-weight:850}.visual-message p{max-width:600px;font-size:17px;line-height:1.7;color:#667a78;margin:0}.login-notice{margin-top:27px;display:flex;gap:11px;align-items:flex-start;color:#21453f;font-size:13px;font-weight:700}.login-notice span{width:23px;height:23px;border-radius:50%;background:#0eb486;color:white;display:grid;place-items:center;flex:none}.login-alert{margin-top:15px;max-width:580px;border-left:3px solid #e19a35;background:rgba(255,250,238,.8);padding:12px 15px;border-radius:0 12px 12px 0;color:#684a1d;font-size:12px}.login-alert strong{font-size:10px;letter-spacing:.1em;display:block;margin-bottom:4px}.visual-footer{font-size:10px;letter-spacing:.14em;color:#748480;font-weight:800;display:flex;gap:10px;padding-top:20px;border-top:1px solid rgba(38,74,69,.12)}.split-form{display:grid;place-items:center;padding:35px 6vw;background:#fff}.form-shell{width:min(490px,100%)}.form-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:27px}.form-top .back-link{margin:0;color:#65747d}.secure-pill{font-size:10px;font-weight:850;letter-spacing:.05em;color:#198769;background:#eaf8f3;padding:8px 11px;border-radius:999px}.login-toggle{display:grid;grid-template-columns:1fr 1fr;background:#f0efe9;border:1px solid #e3e0d6;border-radius:30px;padding:4px;margin-bottom:35px}.login-toggle>*{height:43px;display:grid;place-items:center;border-radius:25px;font-size:13px;font-weight:800;color:#52636b}.login-toggle .active{background:#0c1513;color:#fff;box-shadow:0 4px 10px rgba(0,0,0,.08)}.welcome-icon{width:48px;height:48px;border-radius:15px;background:#eaf8f3;color:#0b8b6e;display:grid;place-items:center;font-weight:900;font-size:22px;margin-bottom:17px}.welcome h2{font-size:29px;line-height:1.1;margin:0;color:#173044;letter-spacing:-.035em}.welcome p{font-size:13px;color:#708087;margin:7px 0 27px}.modern-login-form .field{margin-bottom:18px}.modern-login-form .field label,.label-row label{font-size:10px;letter-spacing:.05em;color:#4d6069;font-weight:850}.label-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.label-row a{font-size:11px;color:#0b886c;font-weight:800}.modern-login-form .field>label{display:block;margin-bottom:8px}.modern-login-form input:not([type=checkbox]){width:100%;height:53px;border:1px solid #dddcd5;border-radius:12px;padding:0 14px;background:#fff;color:#172b3a;font:inherit;outline:none}.modern-login-form input:not([type=checkbox]):focus{border-color:#35aa8b;box-shadow:0 0 0 4px rgba(53,170,139,.1)}.password-wrap{position:relative}.password-wrap input{padding-right:60px!important}.password-wrap button{position:absolute;right:7px;top:7px;height:39px;border:0;background:transparent;color:#4c5d63;font-size:9px;font-weight:900;cursor:pointer}.remember{display:flex;align-items:center;gap:9px;font-size:12px;color:#62717a;margin:3px 0 20px}.remember input{accent-color:#0cae84;width:15px;height:15px}.login-submit{width:100%;height:52px;border:0;border-radius:11px;background:#0b1513;color:#fff;font:800 14px inherit;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:16px;box-shadow:0 12px 25px rgba(0,0,0,.12)}.login-submit:hover{transform:translateY(-1px);background:#14211e}.login-bottom{display:flex;justify-content:space-between;gap:10px;margin-top:22px;padding-top:20px;border-top:1px solid #ecebe6;font-size:11px;color:#78858b}.login-bottom a{font-weight:850;color:#087e64}.mobile-brand,.mobile-notice{display:none}.login-editor{max-width:1000px}.editor-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px}.editor-head h2{margin:0 0 5px}.editor-head p{margin:0}.editor-preview{display:grid;grid-template-columns:280px 1fr;gap:22px;align-items:center;border:1px solid var(--line);background:#fafcfb;border-radius:16px;padding:18px;margin-bottom:20px}.editor-image-preview{height:190px;border-radius:13px;background:linear-gradient(145deg,#e4f3ed,#f5f7f4);background-size:cover;background-position:center;display:grid;place-items:center;color:#678079;text-align:center}.editor-image-preview strong,.editor-image-preview span{display:block}.editor-image-preview span{font-size:11px;margin-top:5px}.form-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:16px}.login-editor textarea{resize:vertical}.login-editor small{display:block;margin-top:6px;font-size:11px}.login-editor .btn{margin-top:5px}
@media(max-width:900px){.split-login{grid-template-columns:1fr}.split-visual{min-height:430px}.visual-content{min-height:430px;padding:30px 7vw}.visual-message{margin:auto 0 10px}.visual-message h1{font-size:48px}.visual-footer{display:none}.split-form{padding:30px 7vw}.mobile-brand{display:flex;align-items:center;gap:10px;margin-bottom:25px}.form-top{margin-bottom:20px}.editor-preview{grid-template-columns:1fr}.form-grid-2{grid-template-columns:1fr}}
@media(max-width:600px){.split-visual{min-height:390px}.visual-content{min-height:390px}.visual-message h1{font-size:42px}.visual-message p{font-size:14px}.login-alert{font-size:11px}.split-form{padding:24px 20px}.login-bottom{display:grid;justify-content:stretch}.login-bottom a{margin-top:3px}.form-top .secure-pill{display:none}.login-toggle{margin-bottom:25px}.editor-head{display:grid}.editor-head .btn{width:100%}}

/* =========================================================
   VEDAHIT DASHBOARD SYSTEM — Material / Analytics UI
   Reference: clean B2B dashboard, fixed typography and spacing
   Primary font: Glacial Indifference
   ========================================================= */
:root{
  --vd-bg:#f6f8fb;
  --vd-surface:#ffffff;
  --vd-border:#e7ebf0;
  --vd-text:#17243a;
  --vd-muted:#748196;
  --vd-blue:#3867e8;
  --vd-blue-soft:#eef3ff;
  --vd-green:#20b486;
  --vd-green-soft:#eaf9f3;
  --vd-purple:#8a63d9;
  --vd-orange:#eea340;
  --vd-red:#e45d63;
  --vd-shadow:0 8px 28px rgba(24,39,75,.055);
  --vd-radius:16px;
}
html,body{font-family:"Glacial Indifference",Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;}
.layout{background:var(--vd-bg);min-height:100vh;color:var(--vd-text);}
.sidebar{width:258px;background:#fff;color:var(--vd-text);padding:22px 14px 18px;border-right:1px solid var(--vd-border);box-shadow:none;display:flex;flex-direction:column;z-index:20;}
.sidebar .brand{padding:5px 14px 27px;color:#17325c;font-size:21px;line-height:1.05;letter-spacing:-.025em;}
.sidebar .brand small{display:block;color:#9aa5b5;font-size:9px;letter-spacing:.16em;margin-top:7px;}
.nav{gap:4px;}
.nav-section{padding:18px 14px 7px;color:#a1a9b7;font-size:9px;font-weight:900;letter-spacing:.13em;text-transform:uppercase;}
.nav a{display:flex;align-items:center;gap:12px;min-height:43px;padding:10px 13px;border-radius:10px;color:#667287;font-size:13px;font-weight:750;transition:.18s ease;}
.nav a:hover{background:#f4f7ff;color:#2e5ddd;transform:none;}
.nav a.active{background:linear-gradient(135deg,#3f6df0,#2f5fe0);color:#fff;box-shadow:0 7px 18px rgba(56,103,232,.2);}
.nav-ico{width:18px;height:18px;display:grid;place-items:center;font-size:14px;opacity:.9;}
.sidebar-promo{margin-top:auto;background:linear-gradient(145deg,#3f68e8,#5548d8);color:#fff;border-radius:14px;padding:17px 15px;box-shadow:0 12px 25px rgba(56,103,232,.18);}
.sidebar-promo strong{display:block;font-size:14px;margin-bottom:5px;}.sidebar-promo span{display:block;font-size:11px;line-height:1.55;color:rgba(255,255,255,.82);margin-bottom:13px;}.sidebar-promo a{display:inline-flex;background:#fff;color:#2f5fdc;padding:9px 12px;border-radius:9px;font-size:11px;font-weight:900;}
.main{margin-left:258px;width:calc(100% - 258px);padding:0 28px 35px;min-width:0;}
.topbar{height:86px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--vd-border);margin:0 -28px 25px;padding:0 28px;background:rgba(255,255,255,.92);backdrop-filter:blur(12px);position:sticky;top:0;z-index:15;}
.topbar-left{min-width:180px}.topbar-title{font-size:24px;font-weight:900;letter-spacing:-.035em;margin:0;color:#17243a}.topbar-sub{font-size:11px;color:var(--vd-muted);margin-top:3px}.top-search{width:min(310px,35vw);height:44px;background:#fff;border:1px solid var(--vd-border);border-radius:12px;display:flex;align-items:center;gap:9px;padding:0 13px;color:#9aa4b3;font-size:12px}.top-search input{border:0;outline:0;background:transparent;width:100%;font:inherit;color:var(--vd-text)}.top-actions{display:flex;align-items:center;gap:9px}.top-icon{width:40px;height:40px;border:1px solid var(--vd-border);background:#fff;border-radius:11px;display:grid;place-items:center;color:#69768a;position:relative}.top-icon .dot{position:absolute;right:6px;top:5px;width:7px;height:7px;background:#e64f5d;border:2px solid #fff;border-radius:50%;}.profile-pill{display:flex;align-items:center;gap:9px;margin-left:4px;padding:4px 6px 4px 4px;border:1px solid var(--vd-border);background:#fff;border-radius:13px}.profile-avatar{width:34px;height:34px;border-radius:10px;background:linear-gradient(145deg,#d8efe7,#86cdb7);display:grid;place-items:center;color:#156b55;font-size:12px;font-weight:900}.profile-meta strong{display:block;font-size:11px}.profile-meta span{display:block;font-size:9px;color:var(--vd-muted)}
.dashboard-head{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin-bottom:18px}.dashboard-head h1{margin:0;font-size:26px;letter-spacing:-.04em}.dashboard-head p{margin:4px 0 0;color:var(--vd-muted);font-size:12px}.dashboard-actions{display:flex;gap:8px}.dashboard-actions .btn{min-height:40px;border-radius:10px;font-size:12px;padding:0 15px;box-shadow:none;}
.dashboard-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;}.metric-card{background:#fff;border:1px solid var(--vd-border);border-radius:var(--vd-radius);padding:18px 18px 14px;box-shadow:var(--vd-shadow);min-width:0}.metric-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.metric-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;font-size:17px;font-weight:900}.metric-icon.purple{background:#f1eafd;color:#8b61d9}.metric-icon.blue{background:#e9f2ff;color:#3b7be7}.metric-icon.green{background:#e6f8f1;color:#20aa7e}.metric-icon.orange{background:#fff2df;color:#e7952c}.metric-label{font-size:11px;color:#7c8798;font-weight:700}.metric-value{font-size:25px;font-weight:900;letter-spacing:-.035em;color:#17243a;margin-top:8px}.metric-change{font-size:10px;margin-top:7px;font-weight:800}.metric-change.up{color:#20a87f}.metric-change.down{color:#e35e63}.metric-change span{font-weight:600;color:#9aa3b0}.sparkline{height:30px;margin-top:7px;display:flex;align-items:end;gap:4px}.sparkline i{display:block;flex:1;max-width:10px;border-radius:5px 5px 2px 2px;background:#d8e4fb}.metric-card.purple .sparkline i{background:#d9c8f5}.metric-card.green .sparkline i{background:#c4eadc}.metric-card.orange .sparkline i{background:#f7dfb9}
.dashboard-panels{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,.88fr);gap:16px;margin-top:16px}.panel-card{background:#fff;border:1px solid var(--vd-border);border-radius:var(--vd-radius);box-shadow:var(--vd-shadow);overflow:hidden}.panel-head{padding:17px 18px 10px;display:flex;align-items:center;justify-content:space-between;gap:10px}.panel-head h2{font-size:14px;margin:0;font-weight:900}.panel-head span,.panel-head a{font-size:10px;color:var(--vd-muted)}.period-tabs{display:flex;gap:3px;background:#f6f7fa;border-radius:8px;padding:3px}.period-tabs span{padding:5px 8px;border-radius:6px;font-size:9px;color:#778296}.period-tabs span.active{background:#fff;color:#2e64df;box-shadow:0 1px 4px rgba(0,0,0,.06);font-weight:900}.sales-chart{padding:4px 18px 18px}.chart-area{height:230px;position:relative;border-bottom:1px solid #edf0f4;background:repeating-linear-gradient(to bottom,transparent 0,transparent 45px,#edf0f4 46px);overflow:hidden}.chart-labels{position:absolute;left:0;top:5px;bottom:0;width:34px;display:flex;flex-direction:column;justify-content:space-between;color:#a2aab6;font-size:8px}.chart-svg{position:absolute;left:43px;right:5px;top:7px;bottom:7px;width:calc(100% - 48px);height:calc(100% - 14px)}.chart-months{margin-left:43px;display:grid;grid-template-columns:repeat(12,1fr);color:#9ba4b1;font-size:8px;padding-top:7px}.chart-tooltip{position:absolute;left:42%;top:23%;background:#fff;border:1px solid var(--vd-border);border-radius:10px;padding:7px 10px;box-shadow:0 8px 18px rgba(24,39,75,.08);font-size:9px}.chart-tooltip strong{font-size:13px;display:block}.chart-tooltip span{color:#1faf84;font-weight:800}.channel-body{padding:10px 25px 20px}.donut{width:180px;height:180px;border-radius:50%;margin:5px auto 15px;background:conic-gradient(#3d6de4 0 42%,#20b486 42% 77%,#ee9d3b 77% 100%);display:grid;place-items:center;position:relative}.donut:after{content:"";width:112px;height:112px;border-radius:50%;background:#fff;position:absolute}.donut-center{position:relative;z-index:1;text-align:center;font-size:11px;color:#788397}.donut-center strong{display:block;font-size:14px;color:#17243a}.legend{display:grid;gap:9px}.legend-row{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#6f7a8b}.legend-row span:first-child{display:flex;align-items:center;gap:7px}.legend-dot{width:7px;height:7px;border-radius:50%}.legend-dot.blue{background:#3d6de4}.legend-dot.green{background:#20b486}.legend-dot.orange{background:#ee9d3b}
.bottom-panels{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(270px,.75fr);gap:16px;margin-top:16px}.orders-table{width:100%;border-collapse:collapse}.orders-table th,.orders-table td{padding:11px 14px;border-bottom:1px solid #edf0f3;text-align:left;font-size:10px;white-space:nowrap}.orders-table th{font-size:9px;text-transform:uppercase;letter-spacing:.05em;color:#929baa;background:#fbfcfd}.orders-table td{color:#556276}.orders-table td strong{color:#253247}.status-pill{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:8px;font-weight:900}.status-pill.received,.status-pill.delivered{background:#e9f8f2;color:#16916f}.status-pill.pending{background:#fff5e7;color:#c17a21}.status-pill.cancelled{background:#fff0f1;color:#cf5058}.top-products{padding:8px 17px 15px}.top-product{display:grid;grid-template-columns:40px 1fr auto;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #eef1f4}.top-product:last-child{border-bottom:0}.product-thumb{width:38px;height:38px;border-radius:9px;background:linear-gradient(145deg,#f0f3f5,#dce7e3);display:grid;place-items:center;font-size:12px;color:#637287;font-weight:900}.top-product strong{font-size:10px;color:#253247;display:block}.top-product small{font-size:8px;color:#8d97a6}.product-total{font-size:10px;font-weight:900;color:#253247}.progress{height:5px;background:#edf1f5;border-radius:999px;margin-top:6px;overflow:hidden}.progress span{height:100%;display:block;background:#3e6de5;border-radius:999px}
.card,.box,.stat{border-radius:14px;box-shadow:var(--vd-shadow);border-color:var(--vd-border)}.tablewrap{border-radius:14px;box-shadow:var(--vd-shadow);border-color:var(--vd-border)}.table th{background:#fbfcfd}.btn{border-radius:10px;font-family:inherit}.form input,.form select,.form textarea{border-radius:10px;font-family:inherit}.badge{padding:5px 9px}.alert{border-radius:10px}
@media(max-width:1150px){.dashboard-grid{grid-template-columns:repeat(2,1fr)}.dashboard-panels,.bottom-panels{grid-template-columns:1fr}.top-search{width:240px}}
@media(max-width:900px){.sidebar{position:static;width:100%;padding:14px}.main{margin-left:0;width:100%;padding:0 18px 25px}.topbar{margin:0 -18px 20px;padding:0 18px;height:74px}.sidebar-promo{display:none}.sidebar .nav{grid-template-columns:repeat(3,1fr)}.nav-section{display:none}.sidebar .brand{padding-bottom:12px}.topbar-title{font-size:20px}.profile-meta{display:none}.top-search{display:none}}
@media(max-width:600px){.dashboard-grid{grid-template-columns:1fr}.dashboard-head{display:block}.dashboard-actions{margin-top:12px}.topbar-left{min-width:0}.topbar-sub{display:none}.top-actions .top-icon{display:none}.profile-pill{margin-left:0}.dashboard-panels,.bottom-panels{grid-template-columns:1fr}.chart-area{height:190px}.orders-table{min-width:650px}.sidebar .nav{grid-template-columns:1fr 1fr}.nav a{font-size:11px}.main{padding:0 12px 22px}.topbar{margin:0 -12px 18px;padding:0 12px}.dashboard-head h1{font-size:22px}}

/* Partner onboarding - same premium split-screen system as login */
body.partner-login-page{font-family:"Glacial Indifference",Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;background:#f7f9f8;color:#10263f}
.partner-login-page *{font-family:inherit}
.register-split .split-visual{background-color:#e8f2ee}
.register-split .visual-message{max-width:700px}
.register-split .visual-message h1{max-width:650px}
.register-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:28px}
.register-steps>div{padding:14px 14px 13px;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.42);backdrop-filter:blur(8px);border-radius:13px}
.register-steps span{display:block;font-size:10px;font-weight:900;letter-spacing:.12em;color:#0b8069;margin-bottom:7px}
.register-steps strong{display:block;font-size:12px;color:#10263f}
.register-steps small{display:block;font-size:10px;color:#637385;margin-top:3px}
.register-form-pane{overflow-y:auto}
.register-shell{padding-bottom:36px}
.register-welcome{margin-top:24px}
.register-welcome h2{margin-bottom:5px}
.register-errors{margin:14px 0;padding:13px 15px;border-radius:12px;border:1px solid #f3c7c4;background:#fff5f4;color:#8d2c25;font-size:11px}
.register-errors strong{font-size:11px}.register-errors ul{margin:6px 0 0 18px;padding:0}.register-errors li{margin:2px 0}
.modern-register-form{margin-top:18px}
.register-section{padding:16px 0 10px;border-top:1px solid #edf0ee;margin-top:10px}
.register-section:first-child{border-top:0;padding-top:0}
.section-kicker{font-size:9px;letter-spacing:.15em;font-weight:900;color:#0b8069;margin-bottom:4px}
.register-section h3{margin:0;font-size:15px;letter-spacing:-.02em;color:#10263f}
.register-section p{margin:3px 0 0;font-size:10px;color:#788697}
.register-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 14px}
.modern-register-form .field{margin:0}
.modern-register-form .field label{display:block;font-size:9px;font-weight:900;letter-spacing:.08em;color:#45566a;margin-bottom:7px}
.modern-register-form input:not([type="checkbox"]):not([type="file"]),.modern-register-form select,.modern-register-form textarea{width:100%;border:1px solid #dfe5e1;background:#fff;border-radius:11px;outline:0;padding:12px 13px;font-size:12px;color:#1a2a3d;transition:.18s ease;box-shadow:0 2px 8px rgba(17,43,57,.02)}
.modern-register-form input:not([type="checkbox"]):not([type="file"]){height:47px}
.modern-register-form select{height:47px;appearance:auto}
.modern-register-form textarea{resize:vertical;min-height:85px;line-height:1.5}
.modern-register-form input:focus,.modern-register-form select:focus,.modern-register-form textarea:focus{border-color:#0b9c7d;box-shadow:0 0 0 3px rgba(11,156,125,.08)}
.modern-register-form .password-wrap{position:relative}.modern-register-form .password-wrap input{padding-right:60px}.modern-register-form .password-wrap button{position:absolute;right:10px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:#355264;font-size:9px;font-weight:900;cursor:pointer;padding:7px}
.modern-register-form .full{grid-column:1/-1}
.file-drop{position:relative;min-height:76px;border:1px dashed #cbd8d2;background:#fbfdfc;border-radius:11px;display:flex;align-items:center;padding:12px 14px;overflow:hidden}
.file-drop input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.file-drop strong{display:block;font-size:11px;color:#24384b}.file-drop small{display:block;font-size:9px;color:#84919e;margin-top:3px}
.register-consent{display:flex;align-items:flex-start;gap:9px;margin:17px 0;color:#657487;font-size:10px;line-height:1.55}.register-consent input{margin-top:2px;accent-color:#0b9c7d}
.modern-register-form .login-submit{width:100%;margin-top:4px}
@media(max-width:900px){.register-split{display:block}.register-split .split-visual{min-height:390px}.register-split .visual-content{padding:32px 28px}.register-steps{grid-template-columns:1fr}.register-steps>div{padding:10px 12px}.register-form-pane{overflow:visible}.register-shell{padding:28px 24px 34px}.register-grid{grid-template-columns:1fr}.modern-register-form .full{grid-column:auto}}
@media(max-width:600px){.register-split .split-visual{min-height:350px}.register-split .visual-message h1{font-size:32px}.register-shell{padding:22px 18px 30px}.form-top{gap:8px}.secure-pill{font-size:9px}.login-toggle{margin-top:20px}.modern-register-form input:not([type="checkbox"]):not([type="file"]),.modern-register-form select{height:45px}}

/* Admin partner editor */
.edit-page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:20px}.edit-page-head h2{margin:2px 0 4px;font-size:28px;color:var(--navy);letter-spacing:-.035em}.edit-page-head p{margin:0;color:var(--muted);font-size:13px}.edit-page-head .back-link{margin:0 0 8px;color:var(--green);font-size:12px}.partner-head-pill{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px 13px;box-shadow:0 8px 24px rgba(16,38,63,.06)}.partner-head-pill strong{font-size:13px;color:var(--navy)}.partner-head-pill span{font-size:10px;font-weight:900;padding:5px 8px;border-radius:999px;background:#eef8f5;color:#08765f}.edit-partner-form{padding:24px;max-width:1050px}.edit-section{padding:2px 0 14px;border-bottom:1px solid #edf1ef;margin:0 0 18px}.edit-section:not(:first-child){margin-top:26px}.edit-section .section-kicker{font-size:9px;letter-spacing:.14em;font-weight:900;color:var(--green);margin-bottom:4px}.edit-section h3{margin:0;color:var(--navy);font-size:16px}.edit-section p{margin:3px 0 0;color:#84909e;font-size:11px}.edit-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.edit-grid .field{margin:0}.edit-grid .field.full{grid-column:1/-1}.edit-grid label{display:block;font-size:11px;font-weight:900;color:#425367;margin-bottom:7px}.edit-grid input,.edit-grid select,.edit-grid textarea{width:100%;border:1px solid #dce5e1;background:#fff;border-radius:10px;padding:11px 12px;outline:0;font:inherit;font-size:12px;color:#182a3e;transition:.18s}.edit-grid input,.edit-grid select{height:46px}.edit-grid textarea{resize:vertical;min-height:90px}.edit-grid input:focus,.edit-grid select:focus,.edit-grid textarea:focus{border-color:#63b9a6;box-shadow:0 0 0 3px rgba(18,166,129,.09)}.readonly-input{background:#f4f7f6!important;color:#778594!important}.edit-grid small{display:block;color:#8995a2;font-size:9px;margin-top:5px}.file-input-wrap{border:1px dashed #cbd8d2;background:#fbfdfc;border-radius:10px;padding:10px}.file-input-wrap input{height:auto!important;border:0!important;padding:0!important;box-shadow:none!important}.kyc-link{display:inline-block;margin-top:7px;color:var(--green);font-size:10px;font-weight:800}.edit-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:28px;padding-top:18px;border-top:1px solid #edf1ef}.pricing-grid{grid-template-columns:1fr 1fr 1fr}.edit-partner-form .btn{min-height:44px;padding:0 16px}.edit-partner-form .btn.secondary{background:#fff;color:var(--navy);border:1px solid #dce5e1;box-shadow:none}
@media(max-width:700px){.edit-page-head{display:block}.partner-head-pill{margin-top:14px;width:max-content}.edit-partner-form{padding:18px}.edit-grid,.pricing-grid{grid-template-columns:1fr}.edit-grid .field.full{grid-column:auto}.edit-actions{flex-wrap:wrap;justify-content:stretch}.edit-actions .btn{flex:1}.tablewrap{overflow-x:auto}}

/* Partner detail / view page */
.partner-view-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:22px}.partner-view-head .back-link{margin:0 0 12px;color:var(--green);font-size:12px}.partner-title-row{display:flex;align-items:center;gap:14px}.partner-title-row h2{margin:0;color:var(--navy);font-size:29px;letter-spacing:-.04em}.partner-title-row p{margin:4px 0 0;color:var(--muted);font-size:12px}.partner-avatar-lg{width:54px;height:54px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(145deg,var(--green),#08634f);color:#fff;font-size:21px;font-weight:900;box-shadow:0 10px 25px rgba(11,128,105,.2)}.partner-view-actions{display:flex;gap:9px;flex-wrap:wrap}.partner-view-actions .btn{min-height:44px}.partner-summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:16px}.summary-card{background:#fff;border:1px solid var(--vd-border,#e2e9e6);border-radius:14px;padding:16px 17px;box-shadow:var(--vd-shadow,0 8px 25px rgba(16,38,63,.05))}.summary-card span:first-child{display:block;font-size:9px;letter-spacing:.1em;font-weight:900;color:#8994a1;margin-bottom:8px}.summary-card>strong{font-size:17px;color:var(--navy)}.partner-view-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.detail-card{padding:21px}.detail-card:last-child{grid-column:1/-1}.detail-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;padding-bottom:13px;border-bottom:1px solid #edf1ef;margin-bottom:2px}.detail-card-head h3{margin:0;font-size:16px;color:var(--navy)}.detail-card-head a{font-size:11px;font-weight:900;color:var(--green);padding-top:4px}.detail-list{display:grid;grid-template-columns:1fr 1fr}.detail-list>div{padding:13px 10px 13px 0;border-bottom:1px solid #f0f3f1;min-width:0}.detail-list>div:nth-child(even){padding-left:10px}.detail-list>div.full{grid-column:1/-1;padding-left:0}.detail-list span{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.07em;font-weight:900;color:#8994a1;margin-bottom:5px}.detail-list strong{display:block;font-size:12px;color:#27384b;font-weight:750;overflow-wrap:anywhere}.detail-list .badge{display:inline-flex;text-transform:none;letter-spacing:0;margin:0}.view-bottom-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:18px;padding-bottom:8px}.view-bottom-actions .btn{min-height:44px}
@media(max-width:800px){.partner-view-head{display:block}.partner-view-actions{margin-top:16px}.partner-summary-grid{grid-template-columns:1fr 1fr}.partner-view-grid{grid-template-columns:1fr}.detail-card:last-child{grid-column:auto}}
@media(max-width:600px){.partner-summary-grid{grid-template-columns:1fr}.partner-title-row h2{font-size:24px}.detail-list{grid-template-columns:1fr}.detail-list>div:nth-child(even){padding-left:0}.detail-list>div.full{grid-column:auto}.view-bottom-actions{display:grid}.view-bottom-actions .btn{width:100%}}
/* Product & stock management */
.page-head-row{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:20px}.page-head-row h2{margin:3px 0;font-size:28px;letter-spacing:-.035em;color:var(--navy)}.page-head-row p{margin:0;font-size:12px}.head-actions{display:flex;gap:9px}.product-admin-form{max-width:1100px;padding:24px;margin-bottom:18px}.product-admin-form h3{margin:0 0 18px;color:var(--navy)}.product-form{display:grid;grid-template-columns:1fr 1fr;gap:15px}.product-form .field{margin:0}.product-form .full{grid-column:1/-1}.product-form input,.product-form textarea,.product-form select,.stock-form input,.stock-form select{width:100%;border:1px solid #dce5e1;border-radius:10px;background:#fff;padding:11px 12px;font:inherit;font-size:12px;outline:none}.product-form input,.stock-form input,.stock-form select{height:46px}.product-form textarea{resize:vertical;min-height:85px}.product-form input:focus,.product-form textarea:focus,.stock-form input:focus,.stock-form select:focus{border-color:#63b9a6;box-shadow:0 0 0 3px rgba(18,166,129,.09)}.product-form label,.stock-form label{display:block;font-size:11px;font-weight:900;color:#425367;margin-bottom:7px}.image-upload{display:flex;align-items:center;gap:13px;border:1px dashed #cbd8d2;border-radius:11px;background:#fbfdfc;padding:9px}.image-upload input{height:auto;border:0;padding:0;box-shadow:none}.image-upload small{display:block;font-size:9px;color:#8995a2;margin-top:4px}.product-preview,.mini-product-img{overflow:hidden;background:#eef5f2;display:grid;place-items:center;color:var(--green);font-weight:900}.product-preview{width:70px;height:70px;border-radius:12px;flex:0 0 70px}.product-preview img,.mini-product-img img{width:100%;height:100%;object-fit:cover}.mini-product-img{width:45px;height:45px;border-radius:9px;font-size:10px}.check-field{display:flex!important;align-items:center;gap:8px;height:46px}.check-field input{width:auto!important;height:auto!important;accent-color:var(--green)}.form-actions{display:flex;justify-content:flex-end;gap:9px}.small-btn{min-height:34px!important;padding:0 12px!important;font-size:11px!important}.stock-badge{display:inline-flex;padding:5px 8px;border-radius:999px;background:#eef8f5;color:#08765f;font-weight:900;font-size:11px}.stock-badge.low{background:#fff4e5;color:#9a5a00}.stock-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:16px}.stock-form{display:grid;grid-template-columns:1.2fr .6fr 1fr auto;align-items:end;gap:14px}.stock-form .full{grid-column:auto}.stock-change{font-weight:900}.stock-change.plus{color:#08765f}.stock-change.minus{color:#b42318}.badge{display:inline-flex;padding:5px 8px;border-radius:999px;background:#eef1f3;color:#667484;font-size:10px;font-weight:900}.badge.approved{background:#eef8f5;color:#08765f}
.productgrid .product .img{height:180px;border-radius:15px;background:#f0f6f4;display:grid;place-items:center;overflow:hidden;color:#7a8a94;font-weight:800}.productgrid .product .img img{width:100%;height:100%;object-fit:cover}
@media(max-width:850px){.page-head-row{display:block}.head-actions{margin-top:14px}.product-form,.stock-form{grid-template-columns:1fr}.product-form .full,.stock-form .full{grid-column:auto}.stock-stats{grid-template-columns:1fr 1fr}.form-actions{justify-content:stretch}.form-actions .btn{flex:1}}
@media(max-width:600px){.stock-stats{grid-template-columns:1fr}.product-admin-form{padding:17px}.image-upload{align-items:flex-start}.tablewrap{overflow-x:auto}}

/* ---------- Final UI alignment / responsive polish ---------- */
.nav a{display:flex;align-items:center;gap:10px;min-height:44px;line-height:1.25}.nav a.active{background:rgba(255,255,255,.12);color:#fff;box-shadow:inset 3px 0 0 var(--green2)}.nav-ico{width:20px;flex:0 0 20px;text-align:center;opacity:.85}.nav-section{padding:17px 13px 7px;font-size:9px;letter-spacing:.14em;text-transform:uppercase;color:#718a9a;font-weight:900}.topbar{display:flex;align-items:center;gap:18px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:13px 16px;margin-bottom:24px;box-shadow:0 8px 26px rgba(16,38,63,.05)}.topbar-left{min-width:210px}.topbar-title{margin:0;font-size:20px;line-height:1.2;color:var(--navy);letter-spacing:-.025em}.topbar-sub{margin-top:3px;font-size:10px;color:#8793a0}.top-search{display:flex;align-items:center;gap:8px;flex:1;max-width:430px;margin-left:auto;background:#f6f9f8;border:1px solid #e7eeeb;border-radius:10px;padding:0 11px;height:40px;color:#8793a0}.top-search input{border:0;outline:0;background:transparent;width:100%;font:inherit;font-size:12px;color:var(--text)}.top-actions{display:flex;align-items:center;gap:10px}.top-icon{position:relative;width:38px;height:38px;border:1px solid #e6ece9;border-radius:10px;display:grid;place-items:center;color:#5f7080;background:#fff}.dot{position:absolute;width:6px;height:6px;border-radius:50%;background:#12a681;right:7px;top:6px}.profile-pill{display:flex;align-items:center;gap:9px;padding:5px 9px 5px 5px;border:1px solid #e6ece9;border-radius:12px;background:#fff}.profile-avatar{width:32px;height:32px;border-radius:9px;background:#e9f7f3;color:var(--green);display:grid;place-items:center;font-size:11px;font-weight:900}.profile-meta strong,.profile-meta span{display:block}.profile-meta strong{font-size:11px;color:var(--navy)}.profile-meta span{font-size:9px;color:#8793a0}.main>.alert{margin-bottom:18px}.page-head-row{align-items:center}.page-head-row .eyebrow{margin-bottom:5px}.head-actions,.dashboard-actions,.partner-view-actions,.edit-actions,.view-bottom-actions{align-items:center}.card>h3{font-size:17px;letter-spacing:-.02em}.form-actions{grid-column:1/-1}.form-actions .btn{min-width:125px}.stock-form{grid-template-columns:minmax(230px,1.25fr) minmax(150px,.65fr) minmax(230px,1fr)}.stock-form .full{grid-column:1/-1;display:flex;justify-content:flex-end;align-items:center}.stock-form .btn{min-width:150px}.tablewrap{box-shadow:0 8px 25px rgba(16,38,63,.04)}.table td:last-child,.table th:last-child{min-width:170px}.table td:last-child{vertical-align:middle}.table td:last-child>form{display:inline-flex;align-items:center;gap:7px;margin:3px 0;vertical-align:middle}.table td:last-child select,.table td:last-child input{height:36px;border:1px solid #dce5e1;border-radius:9px;padding:0 9px;font:inherit;font-size:11px;background:#fff;outline:0}.table td:last-child .btn{vertical-align:middle}.table .btn{min-height:36px}.badge.Pending{background:#fff7e8;color:#9a5a00}.badge.Rejected,.badge.Suspended{background:#fff1f0;color:#b42318}.badge.Confirmed{background:#edf4ff;color:#2459a8}.badge.Packed{background:#f2edff;color:#6544a7}.badge.Shipped{background:#eef5ff;color:#3c67a6}.badge.Delivered{background:#eef8f5;color:#08765f}.badge.Cancelled{background:#fff1f0;color:#b42318}.product-admin-form{width:100%}.product-form .field{min-width:0}.image-upload{min-height:90px}.image-upload>div:last-child{min-width:0;flex:1}.image-upload input[type=file]{width:100%;max-width:100%}.productgrid .product{min-width:0;display:flex;flex-direction:column;gap:8px}.productgrid .product h3{margin:0;color:var(--navy);font-size:17px}.productgrid .product form{display:flex;align-items:center;gap:8px;margin-top:auto;padding-top:6px}.productgrid .product .qty{height:44px;border:1px solid #dce5e1;border-radius:10px;padding:0 10px;font:inherit}.productgrid .product form .btn{flex:1;min-height:44px}.edit-actions .btn,.view-bottom-actions .btn,.partner-view-actions .btn{white-space:nowrap}.detail-list strong{line-height:1.45}.sidebar-promo{position:absolute;left:16px;right:16px;bottom:18px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:14px}.sidebar-promo strong,.sidebar-promo span,.sidebar-promo a{display:block}.sidebar-promo strong{font-size:12px}.sidebar-promo span{font-size:10px;line-height:1.5;color:#9eb0bc;margin:6px 0 10px}.sidebar-promo a{font-size:10px;color:#7fe1ca;font-weight:800}.sidebar{overflow-y:auto}.dashboard-head{align-items:center}.dashboard-actions{display:flex;gap:9px;flex-wrap:wrap}.metric-card,.panel-card{min-width:0}.auth-layout .back-link{margin-bottom:24px}.auth-card .field{margin-bottom:17px}.auth-card .btn{min-height:52px}.auth-card .eye{top:7px}.loginbox{width:min(480px,calc(100% - 32px));padding:34px;background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow)}
@media(max-width:1100px){.sidebar{width:220px}.main{margin-left:220px;width:calc(100% - 220px);padding:22px}.topbar{gap:12px}.top-search{max-width:300px}.profile-meta{display:none}.profile-pill{padding-right:5px}.partner-summary-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){.sidebar{position:static;width:100%;height:auto;padding:14px}.layout{display:block}.main{margin-left:0;width:100%;padding:18px}.sidebar-promo{position:static;margin:14px 2px 2px}.nav{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.nav-section{grid-column:1/-1;padding-top:8px}.topbar{flex-wrap:wrap}.topbar-left{flex:1;min-width:180px}.top-search{order:3;max-width:none;flex-basis:100%;margin:0}.top-actions{margin-left:auto}.stock-form{grid-template-columns:1fr 1fr}.stock-form .full{grid-column:1/-1}.page-head-row{align-items:flex-start}.product-form{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.main{padding:14px}.sidebar{padding:10px}.brand{padding:5px 9px 12px}.nav{grid-template-columns:1fr 1fr}.nav a{min-height:42px;padding:10px}.topbar{padding:11px;border-radius:14px;margin-bottom:17px}.topbar-title{font-size:18px}.topbar-sub{font-size:9px}.top-icon{display:none}.profile-pill{margin-left:auto}.page-head-row{display:block;margin-bottom:16px}.head-actions{margin-top:12px;display:grid;grid-template-columns:1fr}.head-actions .btn{width:100%}.product-form,.stock-form,.edit-grid{grid-template-columns:1fr}.product-form .full,.stock-form .full,.edit-grid .field.full{grid-column:auto}.product-admin-form{padding:17px}.form-actions{display:grid;grid-template-columns:1fr}.form-actions .btn{width:100%}.stock-form .full{display:block}.stock-form .btn{width:100%}.table td:last-child,.table th:last-child{min-width:150px}.partner-view-actions,.edit-actions,.view-bottom-actions,.dashboard-actions{display:grid;grid-template-columns:1fr;width:100%}.partner-view-actions .btn,.edit-actions .btn,.view-bottom-actions .btn,.dashboard-actions .btn{width:100%}.partner-view-head{display:block}.partner-summary-grid{grid-template-columns:1fr}.auth-panel{padding:16px}.auth-card{padding:24px}.auth-visual{min-height:360px}.visual-copy{margin-top:60px}.visual-copy h1{font-size:40px}.gateway-brand{gap:10px}}

.table-actions{min-width:310px!important}.action-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.action-row form{display:flex!important;align-items:center;gap:6px;margin:0!important}.action-row .btn{flex:0 0 auto}.action-row select,.action-row input{height:36px!important}.btn:disabled{opacity:.52;cursor:not-allowed;transform:none!important;box-shadow:none!important}.productgrid .product form .btn:disabled{background:#9aa7ae}.action-row .btn.warning{background:#fff4e5;color:#9a5a00;border:1px solid #f0d29b;box-shadow:none}.action-row .btn.secondary{box-shadow:none}
