/* MOONZON V116 — storefront separation + full reference palette/table finish */
:root{--v116-cream:#fff8eb;--v116-paper:#fffdf8;--v116-plum:#5b0b60;--v116-plum-deep:#390445;--v116-gold:#d7a52e;--v116-green:#07563e;--v116-mint:#b9efd2;--v116-ink:#211b27;--v116-line:#e8d8b5;--v116-shadow:0 5px 18px rgba(55,35,12,.09)}
/* Public homepage: keep marketplace visible, never render the customer account dashboard by default. */
html body.storefront #customerDashboard,html body.storefront #customerAuthSection,html body.storefront #authSection,html body.storefront #sellerSection,html body.storefront #adminSection{display:none!important}
html body.storefront #shopSection{display:block!important}
html body.storefront .mz-header{background:linear-gradient(100deg,#3d0647,#68136a 58%,#3b0647)!important;color:#fff4d2!important;border-bottom:3px solid #d7a52e!important}
html body.storefront .mz-brand h1,html body.storefront .mz-brand p,html body.storefront .mz-quick a{color:#fff4d2!important}
html body.storefront .mz-categories{background:linear-gradient(90deg,#f4d16f,#fff0bd,#e5b84e)!important;border-color:#d5a43c!important}
html body.storefront .shop-hero{background:linear-gradient(110deg,#3d0647,#67156b 52%,#8a4b18)!important;color:#fff4d2!important;border:3px solid #d8ae4a!important;border-radius:24px!important;box-shadow:0 10px 28px #4b15452a!important}
html body.storefront .shop-hero h2,html body.storefront .shop-hero p{color:#fff4d2!important}
html body.storefront .category-tile,html body.storefront .product-card,html body.storefront .deal-card{background:#fffdf7!important;border:1px solid #e5c77e!important;border-radius:16px!important;box-shadow:var(--v116-shadow)!important}
html body.storefront .product-card button,html body.storefront .mz-promo-card{background:linear-gradient(120deg,#4b0754,#771b78)!important;color:#ffedbd!important;border:1px solid #d4a642!important;border-radius:12px!important}
/* Role-specific standalone dashboards */
html body.customer-theme{background:linear-gradient(135deg,#fffaf1,#f7efdf)!important;color:var(--v116-ink)!important}
html body.seller-theme{background:linear-gradient(135deg,#f4fbf5,#e9f5ed)!important;color:var(--v116-ink)!important}
html body.admin-theme{background:linear-gradient(135deg,#fffaf1,#f4eddf)!important;color:var(--v116-ink)!important}
html body.customer-theme .profile{background:linear-gradient(120deg,#650d68,#3f084b)!important;color:white!important;border-bottom:2px solid var(--v116-gold)!important}
html body.seller-theme .profile{background:linear-gradient(120deg,#07563e,#063a2c)!important;color:white!important;border-bottom:2px solid #9bd9b3!important}
html body.admin-theme .profile,html body.admin-theme .layout>aside{background:linear-gradient(180deg,#650d68,#350642)!important;color:white!important;border-bottom:2px solid var(--v116-gold)!important}
html body.customer-theme .hero,html body.admin-theme .hero{background:linear-gradient(110deg,#fff0c8,#fffaf0 60%,#e8c978)!important;border:1px solid #dfbd70!important;border-radius:18px!important;color:#321b39!important;box-shadow:var(--v116-shadow)!important}
html body.seller-theme .hero{background:linear-gradient(110deg,#e2f5e7,#fffdf8 58%,#b7dfc4)!important;border:1px solid #cfe4d4!important;border-radius:18px!important;color:#173b2e!important;box-shadow:var(--v116-shadow)!important}
html body.customer-theme .hero h1,html body.admin-theme .hero h1{color:var(--v116-plum)!important}html body.seller-theme .hero h1{color:var(--v116-green)!important}
html body.customer-theme .metric,html body.customer-theme .quick,html body.customer-theme .module,html body.customer-theme .dashboard-panel,html body.admin-theme .metric,html body.admin-theme .quick,html body.admin-theme .module,html body.admin-theme .dashboard-panel{background:var(--v116-paper)!important;border:1px solid var(--v116-line)!important;border-radius:16px!important;box-shadow:var(--v116-shadow)!important}
html body.seller-theme .metric,html body.seller-theme .quick,html body.seller-theme .module,html body.seller-theme .dashboard-panel{background:#fffefa!important;border:1px solid #cfe4d4!important;border-radius:16px!important;box-shadow:0 5px 18px #17452b12!important}
html body.customer-theme .sectionhead h2,html body.admin-theme .sectionhead h2{color:var(--v116-plum)!important}html body.seller-theme .sectionhead h2{color:var(--v116-green)!important}
html body.customer-theme .side a:hover,html body.customer-theme .side a.active,html body.admin-theme .side a:hover,html body.admin-theme .side a.active{background:linear-gradient(120deg,#ffe8a5,#d6a43a)!important;color:#35113d!important}
html body.seller-theme .side a:hover,html body.seller-theme .side a.active{background:linear-gradient(120deg,#c9f2d8,#80d2a5)!important;color:#073d2d!important}
/* Reference-style tables: gold header, cream rows, status-friendly spacing and responsive horizontal scrolling. */
html body.customer-theme table,html body.seller-theme table,html body.admin-theme table{width:100%!important;min-width:640px;border-collapse:separate!important;border-spacing:0!important;background:#fffdf8!important;border:1px solid var(--v116-line)!important;border-radius:14px!important;overflow:hidden!important;box-shadow:var(--v116-shadow)!important;color:var(--v116-ink)!important}
html body.customer-theme thead th,html body.seller-theme thead th,html body.admin-theme thead th{background:linear-gradient(120deg,#fff0c8,#efd99e)!important;color:#38213b!important;font-weight:850!important;padding:13px 14px!important;border-bottom:1px solid #ddc58e!important;white-space:nowrap!important}
html body.customer-theme tbody td,html body.seller-theme tbody td,html body.admin-theme tbody td{padding:12px 14px!important;border-bottom:1px solid #f0e6d4!important;vertical-align:middle!important}
html body.customer-theme tbody tr:nth-child(even),html body.seller-theme tbody tr:nth-child(even),html body.admin-theme tbody tr:nth-child(even){background:#fff9ef!important}
html body.customer-theme tbody tr:hover,html body.seller-theme tbody tr:hover,html body.admin-theme tbody tr:hover{background:#fff0d0!important}
html body.customer-theme .dashboard-panel,html body.seller-theme .dashboard-panel,html body.admin-theme .dashboard-panel{max-width:100%!important;overflow-x:auto!important;overscroll-behavior-x:contain!important}
@media(max-width:900px){html body.customer-theme .layout,html body.seller-theme .layout,html body.admin-theme .layout{grid-template-columns:1fr!important}html body.customer-theme .layout>aside,html body.seller-theme .layout>aside,html body.admin-theme .layout>aside{position:static!important;width:100%!important;max-height:none!important}}
@media(max-width:640px){html body.customer-theme table,html body.seller-theme table,html body.admin-theme table{min-width:640px!important}html body.customer-theme .layout,html body.seller-theme .layout,html body.admin-theme .layout{padding:0 8px!important;margin:8px auto!important}html body.storefront .category-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
