/* MOONZON reference-image implementation: visual layer only; no JS/backend changes */
:root{--mz-cream:#fff8e9;--mz-gold:#d9a52b;--mz-deepgold:#9b5b08;--mz-purple:#5b075f;--mz-ink:#24152a;--mz-line:#ead9b4}
html{scroll-behavior:smooth}body{font-family:Arial,'Noto Sans Devanagari',sans-serif}
/* Main marketplace homepage */
body.portal-customer{background:#fffaf0!important;color:#241b20!important}
.portal-customer .mz-topline{background:#f6e8c9!important;color:#442b16!important;border-bottom:1px solid #e5c77d}
.portal-customer .mz-header{background:linear-gradient(90deg,#fffdf7,#fff3d9)!important;color:#2b1430!important;box-shadow:0 4px 18px #6b450d18!important}
.portal-customer .mz-brand h1{color:#57085f!important;font-weight:950;letter-spacing:-1.5px}
.portal-customer .mz-brand p{color:#39233a!important}
.portal-customer .mz-bag{background:linear-gradient(145deg,#6c0c70,#35013d)!important;color:#ffd76b!important;border-radius:12px;box-shadow:0 5px 14px #4a0b4c30}
.portal-customer .mz-search{border:2px solid #d6a12b!important;border-radius:12px;overflow:hidden;background:#fff}
.portal-customer .mz-search button,.portal-customer .mz-categories button{background:linear-gradient(135deg,#f7d978,#b77a12)!important;color:#351a06!important;font-weight:900}
.portal-customer .mz-quick a,.portal-customer .mz-quick button{color:#351a2d!important}
.portal-customer .mz-categories{background:#fff8e9!important;border-top:1px solid #f0dfbb;border-bottom:1px solid #e7d3a7;box-shadow:0 3px 12px #5b390d10}
.portal-customer .mz-categories a{color:#24162a!important;font-weight:800}
.portal-customer main{max-width:1540px!important}
.portal-customer .mz-message{border:1px solid #e8d6ae!important;background:#fffdf8!important}
.portal-customer .mz-shop{background:#fffaf0!important;border:0!important;box-shadow:none!important}
.portal-customer .shop-hero{background:linear-gradient(110deg,#fff0c8 0%,#fffaf0 48%,#f5df9e 100%)!important;border:1px solid #e4bd60!important;border-radius:22px!important;box-shadow:0 12px 30px #79500d18!important;overflow:hidden}
.portal-customer .shop-hero h2{color:#4d153e!important;font-weight:950}
.portal-customer .shop-hero h2 em{color:#9c5b08!important}
.portal-customer .shop-hero button,.portal-customer .mz-promo-card b{background:linear-gradient(100deg,#6a086b,#400143)!important;color:#fff!important;border-radius:30px!important}
.portal-customer .mz-portal-cards{gap:14px!important}
.portal-customer .mz-portal-card{border-radius:18px!important;min-height:142px!important;box-shadow:0 8px 20px #30102b20!important;border:1px solid #e8d9b9!important}
.portal-customer .mz-portal-customer{background:linear-gradient(120deg,#68086c,#39003d)!important}
.portal-customer .mz-portal-seller{background:linear-gradient(120deg,#087449,#06432e)!important}
.portal-customer .mz-portal-admin{background:linear-gradient(120deg,#123d68,#071d3b)!important}
.portal-customer .mz-portal-card b{background:linear-gradient(100deg,#ffe9a3,#d9a52b)!important;color:#2c1830!important;border-radius:30px!important}
.portal-customer .category-tile,.portal-customer .deal-card,.portal-customer .mz-promo-card,.portal-customer .mz-featured-block{border:1px solid #ead9b4!important;border-radius:16px!important;box-shadow:0 5px 15px #4c351010!important;background:#fffdf8!important}
.portal-customer .shop-heading h2,.portal-customer .mz-featured-heading h2{color:#4d153e!important}
.portal-customer .product-card,.portal-customer .product-item{border:1px solid #e8d9be!important;border-radius:15px!important;background:#fff!important;box-shadow:0 5px 16px #56380d12!important}
/* Shared premium portal dashboard shell */
body:has(.layout){background:linear-gradient(135deg,#fffaf0,#f7f0e2)!important;color:#241b20!important}
body:has(.layout) .top{background:linear-gradient(90deg,#fffdf7,#fff0d0)!important;color:#29172b!important;border-bottom:1px solid #e8d2a0;box-shadow:0 4px 18px #40220e12!important;padding:12px clamp(14px,3vw,38px)!important}
body:has(.layout) .brand{color:#5c0b61!important;font-size:30px!important}
body:has(.layout) .brand small{color:#39233a!important}
body:has(.layout) .topnav a{color:#302033!important}
body:has(.layout) .layout{max-width:1600px!important;margin:16px auto!important;gap:16px!important}
body:has(.layout) aside{border-radius:18px!important;padding:14px!important;background:#fffdf8!important;border:1px solid #e9d9b9!important;box-shadow:0 8px 24px #49310d12!important}
body:has(.layout) .side a{border-radius:10px!important;padding:13px 11px!important;color:#2b1c2c!important;transition:.18s ease}
body:has(.layout) .side a:hover{background:#f7e8c1!important;color:#5b075f!important;transform:translateX(2px)}
body:has(.layout) .hero{background:linear-gradient(105deg,#fff0c8,#fffaf0 60%,#f3dfad)!important;color:#351b32!important;border:1px solid #e4c77e!important;border-radius:20px!important;box-shadow:0 8px 24px #593d1015!important}
body:has(.layout) .hero p{color:#4a3947!important;opacity:1!important}
body:has(.layout) .eyebrow{color:#98620d!important;font-weight:900;letter-spacing:1.2px}
body:has(.layout) .sectionhead h2,body:has(.layout) .panel-head h3{color:#4c1745!important}
body:has(.layout) .metric,body:has(.layout) .dashboard-panel,body:has(.layout) .module,body:has(.layout) .notice{background:#fffdf8!important;border:1px solid #e8d9b9!important;border-radius:16px!important;box-shadow:0 5px 16px #4c35100d!important}
body:has(.layout) .metric strong{color:var(--p)!important}
body:has(.layout) .quick{border:1px solid #e3c46f!important;border-radius:14px!important;box-shadow:0 5px 14px #4b310d12!important}
body:has(.layout) .data-table{border-collapse:separate!important;border-spacing:0!important;width:100%!important}
body:has(.layout) .data-table th{background:#f6ead0!important;color:#342033!important}
body:has(.layout) .data-table td,body:has(.layout) .data-table th{border-bottom:1px solid #eadfc9!important;padding:11px 12px!important}
/* Customer: purple/gold dashboard */
body:has(.layout) .profile{background:linear-gradient(145deg,#640b68,#37003d)!important;color:#fff!important;border-radius:14px!important}
body:has(.layout) .profile small{color:#ffdf78!important}
body:has(.layout) .login{background:linear-gradient(110deg,#ffe9a1,#d8a12a)!important;color:#39133e!important}
body:has(.layout) .quick{background:linear-gradient(140deg,#fff0c4,#f5dda0)!important;color:#590b60!important}
/* Seller: dark green/mint */
body:has(.layout) .seller-theme .profile,body:has(.layout) .profile.seller{background:linear-gradient(145deg,#07533c,#032f25)!important}
body:has(.layout) .seller-theme .login,body:has(.layout) .seller-theme .quick{background:linear-gradient(110deg,#d4ffeb,#83d8b1)!important;color:#064331!important}
/* Admin: navy/gold */
body:has(.layout) .admin-theme .profile,body:has(.layout) .profile.admin{background:linear-gradient(145deg,#142d55,#07152e)!important}
body:has(.layout) .admin-theme .login,body:has(.layout) .admin-theme .quick{background:linear-gradient(110deg,#ffe7a0,#d6a32d)!important;color:#122344!important}
@media(max-width:900px){body:has(.layout) .layout{grid-template-columns:minmax(0,1fr)!important;padding:10px!important}body:has(.layout) .side{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){.portal-customer .mz-topline{flex-wrap:wrap!important}.portal-customer .mz-header{display:flex!important;flex-wrap:wrap!important;gap:10px!important;padding:12px!important}.portal-customer .mz-search{order:3;width:100%!important}.portal-customer .mz-quick{width:100%;justify-content:space-around}.portal-customer .mz-categories{overflow-x:auto!important;white-space:nowrap!important}.portal-customer .mz-portal-cards{grid-template-columns:1fr!important}.portal-customer .shop-hero{padding:18px!important}.portal-customer .category-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}body:has(.layout) .topnav{gap:6px!important}body:has(.layout) .topnav a{font-size:11px!important}body:has(.layout) .hero{padding:20px!important}body:has(.layout) .metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* Explicit portal-specific color systems */
body.seller-theme .profile{background:linear-gradient(145deg,#07533c,#032f25)!important;color:#fff!important}
body.seller-theme .profile small{color:#aaf0d4!important}
body.seller-theme .brand{color:#08704f!important}
body.seller-theme .login,body.seller-theme .quick{background:linear-gradient(110deg,#d4ffeb,#83d8b1)!important;color:#064331!important}
body.seller-theme .side a:hover{background:#dff8eb!important;color:#064331!important}
body.admin-theme .profile{background:linear-gradient(145deg,#142d55,#07152e)!important;color:#fff!important}
body.admin-theme .profile small{color:#f1ca70!important}
body.admin-theme .brand{color:#a77a18!important}
body.admin-theme .login,body.admin-theme .quick{background:linear-gradient(110deg,#ffe7a0,#d6a32d)!important;color:#122344!important}
body.admin-theme .side a:hover{background:#f8edcf!important;color:#142d55!important}
body.customer-theme .profile{background:linear-gradient(145deg,#640b68,#37003d)!important}
body.customer-theme .profile small{color:#ffdf78!important}

/* V87: target the real unified portal sections (not mockup-only .layout selectors). */
:root{--mz-cream:#fff8e9;--mz-gold:#d9a52b;--mz-purple:#5b075f;--mz-green:#07533c;--mz-navy:#142d55}
body.portal-customer #shopSection{background:transparent!important}
body.portal-customer #shopSection>.shop-hero{min-height:265px;padding:clamp(22px,4vw,48px)!important;display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(220px,.85fr)!important;align-items:center!important;background:linear-gradient(112deg,#fff0c5 0%,#fffaf0 52%,#efd28a 100%)!important}
body.portal-customer #shopSection>.shop-hero .hero-art{min-height:205px;border-radius:20px;background:radial-gradient(circle at 50% 35%,#fff 0 12%,transparent 13%),linear-gradient(145deg,#f9e8b8,#fffdf6 55%,#e6c16b);display:grid;place-items:center}
body.portal-customer #shopSection>.shop-hero .hero-products{border:2px solid #d6a12b;border-radius:18px;padding:24px;background:#fffdf7;text-align:center;box-shadow:0 12px 28px #603d171c;color:#5b075f;min-width:180px}
body.portal-customer #shopSection>.shop-hero .hero-products strong{display:block;font-size:clamp(25px,4vw,42px);font-weight:950}
body.portal-customer #shopSection>.shop-hero .hero-products span,body.portal-customer #shopSection>.shop-hero .hero-products small{display:block;font-weight:800;letter-spacing:1px}
body.portal-customer #shopSection>.mz-portal-cards{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;margin:18px 0!important}
body.portal-customer #shopSection>.mz-portal-cards .mz-portal-card{min-height:142px!important;padding:18px!important;display:flex!important;align-items:center!important;gap:14px!important}
body.portal-customer #shopSection>.mz-portal-cards .mz-portal-card strong{font-size:clamp(18px,2vw,25px)!important}
body.portal-customer #shopSection>.category-strip{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important;margin:18px 0!important}
body.portal-customer #shopSection>.category-strip .category-tile{min-height:96px!important;padding:12px 8px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:5px!important;font-size:26px!important}
body.portal-customer #shopSection>.category-strip .category-tile b{font-size:14px!important;color:#321b2f!important}
body.portal-customer #shopSection>.deal-grid{gap:12px!important}
body.portal-customer #shopSection .shop-heading{border-left:5px solid var(--mz-gold);padding-left:12px}
/* Customer account: purple/gold portal treatment on actual dashboard content. */
body.portal-customer #customerDashboard{max-width:1500px!important;margin:18px auto!important;padding:18px!important;background:#fffaf3!important;border:1px solid #ead7ac!important;border-radius:20px!important;box-shadow:0 12px 32px #3a103a12!important}
body.portal-customer #customerDashboard>.shop-heading{padding:22px!important;border-radius:16px!important;background:linear-gradient(110deg,#5b075f,#300039)!important;color:#fff!important}
body.portal-customer #customerDashboard>.shop-heading h2,body.portal-customer #customerDashboard>.shop-heading .hint{color:#fff!important}
body.portal-customer #customerDashboard>.panel{background:#fffdf8!important;border:1px solid #ead9b4!important;border-radius:15px!important;padding:18px!important;margin:14px 0!important}
body.portal-customer #customerDashboard .customer-actions{display:flex!important;flex-wrap:wrap!important;gap:10px!important}
body.portal-customer #customerDashboard .customer-actions button{background:linear-gradient(110deg,#ffe9a1,#d8a12a)!important;color:#39133e!important;border-radius:12px!important;font-weight:800!important}
/* Seller portal: deep green/mint, scoped to real #sellerSection. */
body.portal-seller{background:linear-gradient(135deg,#f0faf4,#e3f3e9)!important;color:#153b30!important}
body.portal-seller #sellerSection>.panel:first-child{background:linear-gradient(120deg,#064431,#0b684d)!important;color:#fff!important;border:0!important;border-radius:18px!important;padding:22px!important;box-shadow:0 10px 28px #063d311c!important}
body.portal-seller #sellerSection>.panel:first-child h2,body.portal-seller #sellerSection>.panel:first-child p,body.portal-seller #sellerSection>.panel:first-child .muted{color:#fff!important}
body.portal-seller #sellerSection .seller-hub-nav{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin:16px 0!important}
body.portal-seller #sellerSection .seller-hub-nav a{background:#d9f7e8!important;color:#064331!important;border:1px solid #9bd8bb!important;border-radius:10px!important;padding:10px 13px!important;font-weight:800!important}
body.portal-seller #sellerSection>.row{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;margin:14px 0!important}
body.portal-seller #sellerSection .stat{background:#fff!important;border:1px solid #cde9dc!important;border-radius:15px!important;padding:18px!important;box-shadow:0 5px 18px #063d3110!important}
body.portal-seller #sellerSection>.panel:not(:first-child){background:#fff!important;border:1px solid #cde9dc!important;border-radius:16px!important;padding:20px!important;margin:14px 0!important;box-shadow:0 6px 20px #063d310d!important}
body.portal-seller #sellerSection>.panel h2,body.portal-seller #sellerSection>.panel h3{color:#07513d!important}
body.portal-seller #sellerSection button:not(.danger){background:linear-gradient(110deg,#d4ffeb,#83d8b1)!important;color:#064331!important;border:1px solid #9bd8bb!important;font-weight:800!important}
body.portal-seller #sellerSection .workflow-step{background:#f2fcf6!important;border:1px solid #b9e3ce!important;border-radius:12px!important;padding:12px!important;color:#174a38!important}
/* Admin portal: navy/gold, scoped to real #adminSection. */
body.portal-admin{background:linear-gradient(135deg,#f4f6fb,#e9eef7)!important;color:#1b2e4e!important}
body.portal-admin #adminSection>.panel:first-child{background:linear-gradient(120deg,#10294f,#071a35)!important;color:#fff!important;border:0!important;border-radius:18px!important;padding:22px!important;box-shadow:0 10px 28px #10294f22!important}
body.portal-admin #adminSection>.panel:first-child h2,body.portal-admin #adminSection>.panel:first-child p{color:#fff!important}
body.portal-admin #adminSection .admin-nav{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin:16px 0!important}
body.portal-admin #adminSection .admin-nav a{background:linear-gradient(110deg,#fff0bb,#d9aa3b)!important;color:#172b4c!important;border:1px solid #c89b34!important;border-radius:10px!important;padding:10px 13px!important;font-weight:800!important}
body.portal-admin #adminSection>.panel:not(:first-child){background:#fff!important;border:1px solid #d9e0ed!important;border-radius:16px!important;padding:20px!important;margin:14px 0!important;box-shadow:0 6px 20px #10294f10!important}
body.portal-admin #adminSection>.panel h2,body.portal-admin #adminSection>.panel h3{color:#142d55!important}
body.portal-admin #adminSection button:not(.danger){background:linear-gradient(110deg,#ffe7a0,#d6a32d)!important;color:#122344!important;border:1px solid #c69a36!important;font-weight:800!important}
/* Auth cards adapt to selected portal palette without changing authentication logic. */
body.portal-seller #authSection .panel{border-top:5px solid #087451!important;background:#fbfffc!important}
body.portal-seller #authSection button{background:#087451!important;color:#fff!important}
body.portal-admin #authSection .panel{border-top:5px solid #d2a43a!important;background:#fbfcff!important}
body.portal-admin #authSection button{background:#17365f!important;color:#fff!important}
body.portal-customer #customerAuthSection .panel{border-top:5px solid #d5a12e!important;background:#fffdf8!important}
@media(max-width:900px){body.portal-customer #shopSection>.shop-hero{grid-template-columns:1fr!important}body.portal-customer #shopSection>.mz-portal-cards{grid-template-columns:1fr!important}body.portal-customer #shopSection>.category-strip{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:600px){body.portal-seller #sellerSection>.row{grid-template-columns:1fr!important}body.portal-seller #sellerSection .seller-hub-nav a,body.portal-admin #adminSection .admin-nav a{flex:1 1 42%!important;text-align:center!important}body.portal-customer #shopSection>.category-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.portal-customer #customerDashboard{padding:10px!important}}

/* V88: portal-specific dashboard layouts matching the supplied reference boards. */
body.customer-theme{--p:#54105f;--a:#e9bd50;--bg:#f8f2fb;--ink:#2b1733;background:linear-gradient(135deg,#faf5fc,#f1e8f5)!important;color:#2b1733!important}
body.customer-theme .top{background:linear-gradient(100deg,#31003d,#68136e)!important;color:#fff!important;border-bottom:3px solid #e7bd52!important}
body.customer-theme .brand{color:#f4d77f!important}body.customer-theme .brand small,body.customer-theme .topnav a{color:#fff!important}
body.customer-theme .layout{grid-template-columns:260px minmax(0,1fr)!important;gap:22px!important;max-width:1580px!important}
body.customer-theme .layout>aside{background:linear-gradient(180deg,#4b0757,#2c0638)!important;border:0!important;border-radius:20px!important;color:#fff!important;box-shadow:0 14px 34px #3d064322!important}
body.customer-theme .profile{background:linear-gradient(135deg,#7c2c83,#42104e)!important;border:1px solid #9c5ca2!important}
body.customer-theme .profile small{color:#f7d87d!important}body.customer-theme .side a{color:#fff!important;border-radius:12px!important}
body.customer-theme .side a:hover,body.customer-theme .side a.active{background:linear-gradient(100deg,#f4d982,#d7a83d)!important;color:#35103d!important}
body.customer-theme .hero{background:linear-gradient(110deg,#4d0759,#792b80)!important;color:#fff!important;border:1px solid #9b65a2!important}
body.customer-theme .hero h1,body.customer-theme .sectionhead h2{color:#5a1264!important}
body.customer-theme .metric,body.customer-theme .quick,body.customer-theme .module,body.customer-theme .dashboard-panel,body.customer-theme .notice{background:#fff!important;border:1px solid #e4d1e9!important;border-radius:16px!important;box-shadow:0 8px 22px #48134e12!important}
body.customer-theme .metric strong,body.customer-theme .module i,body.customer-theme .module .ico{color:#68136e!important}
body.customer-theme .quick{background:linear-gradient(145deg,#fff0bd,#e7bf55)!important;color:#4b1254!important}
body.customer-theme .workflow-step{background:#fff9e9!important;border-color:#ead9a8!important}

body.seller-theme{--p:#07533c;--a:#9ce4c1;--bg:#edf8f2;--ink:#123d30;background:linear-gradient(135deg,#f1faf5,#e4f3eb)!important;color:#123d30!important}
body.seller-theme .top{background:linear-gradient(100deg,#032f25,#086246)!important;color:#fff!important;border-bottom:3px solid #9ce4c1!important}
body.seller-theme .brand{color:#baf5d8!important}body.seller-theme .brand small,body.seller-theme .topnav a{color:#fff!important}
body.seller-theme .layout{grid-template-columns:260px minmax(0,1fr)!important;gap:22px!important;max-width:1580px!important}
body.seller-theme .layout>aside{background:linear-gradient(180deg,#064b37,#022d23)!important;border:0!important;border-radius:20px!important;color:#fff!important;box-shadow:0 14px 34px #063c2c22!important}
body.seller-theme .profile{background:linear-gradient(135deg,#087653,#03412f)!important;border:1px solid #238b68!important}
body.seller-theme .profile small{color:#baf5d8!important}body.seller-theme .side a{color:#eafff4!important;border-radius:12px!important}
body.seller-theme .side a:hover,body.seller-theme .side a.active{background:#baf2d5!important;color:#06412f!important}
body.seller-theme .hero{background:linear-gradient(110deg,#064330,#0b7955)!important;color:#fff!important;border:1px solid #258b69!important}
body.seller-theme .hero h1,body.seller-theme .sectionhead h2{color:#07533c!important}
body.seller-theme .metric,body.seller-theme .quick,body.seller-theme .module,body.seller-theme .dashboard-panel,body.seller-theme .notice{background:#fff!important;border:1px solid #cce9d9!important;border-radius:16px!important;box-shadow:0 8px 22px #063c2c10!important}
body.seller-theme .metric strong,body.seller-theme .module i,body.seller-theme .module .ico{color:#087653!important}
body.seller-theme .quick{background:linear-gradient(145deg,#e2fff0,#9ce4c1)!important;color:#06412f!important}
body.seller-theme .workflow-step{background:#f1fff7!important;border-color:#bde5cf!important}

body.admin-theme{--p:#10294f;--a:#e5bd58;--bg:#f0f3f9;--ink:#172b49;background:linear-gradient(135deg,#f4f6fb,#e8edf6)!important;color:#172b49!important}
body.admin-theme .top{background:linear-gradient(100deg,#071a35,#173b69)!important;color:#fff!important;border-bottom:3px solid #d9ad45!important}
body.admin-theme .brand{color:#f2d27d!important}body.admin-theme .brand small,body.admin-theme .topnav a{color:#fff!important}
body.admin-theme .layout{grid-template-columns:260px minmax(0,1fr)!important;gap:22px!important;max-width:1580px!important}
body.admin-theme .layout>aside{background:linear-gradient(180deg,#10294f,#07172f)!important;border:0!important;border-radius:20px!important;color:#fff!important;box-shadow:0 14px 34px #10294f22!important}
body.admin-theme .profile{background:linear-gradient(135deg,#1d477a,#0b2243)!important;border:1px solid #426a9d!important}
body.admin-theme .profile small{color:#f2d27d!important}body.admin-theme .side a{color:#f5f7fc!important;border-radius:12px!important}
body.admin-theme .side a:hover,body.admin-theme .side a.active{background:linear-gradient(100deg,#ffedb1,#d7a83d)!important;color:#10294f!important}
body.admin-theme .hero{background:linear-gradient(110deg,#10294f,#1b477a)!important;color:#fff!important;border:1px solid #315985!important}
body.admin-theme .hero h1{color:#fff!important}body.admin-theme .sectionhead h2{color:#142d55!important}
body.admin-theme .metric,body.admin-theme .quick,body.admin-theme .module,body.admin-theme .dashboard-panel,body.admin-theme .notice{background:#fff!important;border:1px solid #d9e0ec!important;border-radius:16px!important;box-shadow:0 8px 22px #10294f10!important}
body.admin-theme .metric strong,body.admin-theme .module i,body.admin-theme .module .ico{color:#173b69!important}
body.admin-theme .quick{background:linear-gradient(145deg,#fff1c7,#e5bd58)!important;color:#10294f!important}
body.admin-theme .workflow-step{background:#fffaf0!important;border-color:#e8d9b5!important}
@media(max-width:900px){body.customer-theme .layout,body.seller-theme .layout,body.admin-theme .layout{grid-template-columns:1fr!important}body.customer-theme .layout>aside,body.seller-theme .layout>aside,body.admin-theme .layout>aside{position:static!important;max-height:none!important}body.customer-theme .metrics,body.seller-theme .metrics,body.admin-theme .metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:560px){body.customer-theme .layout,body.seller-theme .layout,body.admin-theme .layout{padding:10px!important;margin:10px auto!important}body.customer-theme .quickgrid,body.seller-theme .quickgrid,body.admin-theme .quickgrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* V92: consolidated approved-reference finish for the real portal pages. */
:root{--mz-radius:18px;--mz-shadow:0 8px 24px rgba(45,28,12,.10)}
body.customer-theme,body.seller-theme,body.admin-theme{min-height:100vh;font-family:Arial,'Noto Sans Devanagari',sans-serif}
.layout{width:min(100% - 28px,1580px)!important;display:grid!important;grid-template-columns:250px minmax(0,1fr)!important;align-items:start!important;gap:18px!important;margin:18px auto!important}
.layout>aside{position:sticky;top:88px;min-width:0;max-height:calc(100vh - 104px);overflow:auto;border-radius:18px!important;padding:14px!important}
.layout>main{min-width:0;display:block!important}
.top{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;flex-wrap:wrap!important;min-height:72px!important;padding:10px clamp(14px,3vw,34px)!important}
.topnav{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important}
.topnav a{font-weight:800!important;text-decoration:none!important;border-radius:10px!important;padding:9px 12px!important}
.profile{padding:18px!important;margin-bottom:14px!important;min-height:76px;display:flex;flex-direction:column;justify-content:center;gap:5px}
.side{display:flex!important;flex-direction:column!important;gap:5px!important}
.side a{display:flex!important;align-items:center!important;gap:11px!important;padding:12px 11px!important;text-decoration:none!important;font-weight:750!important}
.hero{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:22px!important;padding:clamp(22px,3vw,38px)!important;min-height:150px!important}
.hero h1{margin:7px 0!important;line-height:1.2!important}
.hero .art{font-size:clamp(42px,6vw,76px)!important;flex:0 0 auto}
.sectionhead{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:22px 0 12px!important}
.metrics{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
.metric{min-width:0!important;padding:16px!important;display:flex!important;flex-direction:column!important;gap:8px!important}
.metric strong{font-size:clamp(22px,2.3vw,32px)!important;line-height:1.1!important}
.quickgrid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
.modules{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
.module,.quick{min-width:0!important;text-decoration:none!important}
.dashboard-panel{min-width:0!important;overflow:hidden!important}
.dashboard-panel table,.data-table{width:100%!important}
/* Reference palettes: customer purple/gold, seller forest/mint, admin navy/gold. */
body.customer-theme{--p:#5b075f;--a:#e5b943;--line:#ead9b4;background:#fbf6fc!important;color:#2b1733!important}
body.customer-theme .layout>aside{background:linear-gradient(180deg,#5b075f,#31003c)!important;color:#fff!important}
body.customer-theme .profile{background:linear-gradient(135deg,#7b2c83,#390044)!important;color:#fff!important}
body.customer-theme .side a{color:#fff!important}
body.customer-theme .side a:hover,body.customer-theme .side a.active{background:linear-gradient(100deg,#f5df9c,#d8a93e)!important;color:#35103d!important}
body.customer-theme .hero{background:linear-gradient(110deg,#fff0c8,#fffaf0 55%,#efd58e)!important;border:1px solid #e5c36e!important;color:#451044!important}
body.customer-theme .metric,body.customer-theme .quick,body.customer-theme .module,body.customer-theme .dashboard-panel{background:#fffdf9!important;border:1px solid #ead9b4!important;color:#321b35!important;border-radius:16px!important;box-shadow:var(--mz-shadow)!important}
body.seller-theme{--p:#07533c;--a:#8ed7b4;--line:#cde9dc;background:#f0faf4!important;color:#173d31!important}
body.seller-theme .layout>aside{background:linear-gradient(180deg,#07533c,#032f25)!important;color:#fff!important}
body.seller-theme .profile{background:linear-gradient(135deg,#0b7654,#043a2b)!important;color:#fff!important}
body.seller-theme .side a{color:#f3fff8!important}
body.seller-theme .side a:hover,body.seller-theme .side a.active{background:linear-gradient(100deg,#d7f9e8,#8ed7b4)!important;color:#064331!important}
body.seller-theme .hero{background:linear-gradient(110deg,#d9f6e7,#f8fffb 58%,#b7e7ce)!important;border:1px solid #a8d9bf!important;color:#064331!important}
body.seller-theme .metric,body.seller-theme .quick,body.seller-theme .module,body.seller-theme .dashboard-panel{background:#fff!important;border:1px solid #cde9dc!important;color:#173d31!important;border-radius:16px!important;box-shadow:var(--mz-shadow)!important}
body.admin-theme{--p:#142d55;--a:#e4bf68;--line:#d9e0ed;background:#f3f6fc!important;color:#1b2e4e!important}
body.admin-theme .layout>aside{background:linear-gradient(180deg,#142d55,#071a35)!important;color:#fff!important}
body.admin-theme .profile{background:linear-gradient(135deg,#203e6a,#0b1c38)!important;color:#fff!important}
body.admin-theme .side a{color:#fff!important}
body.admin-theme .side a:hover,body.admin-theme .side a.active{background:linear-gradient(100deg,#ffe8a4,#d6a32d)!important;color:#142746!important}
body.admin-theme .hero{background:linear-gradient(110deg,#e8eef8,#fffdf8 55%,#f2e2bc)!important;border:1px solid #d6bd82!important;color:#142d55!important}
body.admin-theme .metric,body.admin-theme .quick,body.admin-theme .module,body.admin-theme .dashboard-panel{background:#fff!important;border:1px solid #d9e0ed!important;color:#1b2e4e!important;border-radius:16px!important;box-shadow:var(--mz-shadow)!important}
body.customer-theme button,body.seller-theme button,body.admin-theme button{border-radius:10px!important;font-weight:800!important}
@media(max-width:980px){.layout{grid-template-columns:1fr!important}.layout>aside{position:static;max-height:none}.side{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){.layout{width:calc(100% - 16px)!important;margin:8px auto!important;padding:0!important}.top{align-items:flex-start!important}.topnav{width:100%!important;overflow-x:auto!important;flex-wrap:nowrap!important}.topnav a{white-space:nowrap!important;font-size:12px!important}.side{grid-template-columns:repeat(2,minmax(0,1fr))!important}.side a{font-size:12px!important;padding:10px 8px!important}.hero{align-items:flex-start!important;padding:18px!important}.hero .art{font-size:42px!important}.metrics,.quickgrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.modules{grid-template-columns:1fr!important}.dashboard-panel{overflow-x:auto!important}.data-table{min-width:560px!important}}
