/* Phoumika Kasephal v6.0.46 — Full marketplace + portal UI redesign
   CSS-first compatibility layer. No business logic changes. */
:root{
  --v46-green:#159447;
  --v46-green-strong:#0b7a38;
  --v46-green-soft:#eaf7ee;
  --v46-bg:#f7f9f7;
  --v46-surface:#fff;
  --v46-text:#17201a;
  --v46-muted:#718078;
  --v46-border:#e1e7e3;
  --v46-shadow:0 12px 34px rgba(19,55,31,.07);
  --v46-shadow-hover:0 18px 44px rgba(19,55,31,.12);
  --v46-radius:16px;
  --v46-radius-lg:22px;
  --v46-topbar:76px;
  --v46-sidebar:232px;
}
html[data-theme="dark"]{
  --v46-bg:#0d1510;
  --v46-surface:#111d16;
  --v46-text:#eef7f1;
  --v46-muted:#9fb0a5;
  --v46-border:#24352a;
  --v46-green-soft:#153823;
  --v46-shadow:0 16px 34px rgba(0,0,0,.25);
  --v46-shadow-hover:0 20px 48px rgba(0,0,0,.34);
}
body.ui-v6046{background:var(--v46-bg);color:var(--v46-text);letter-spacing:-.005em}
.ui-v6046 .portal-content{width:min(100%,1540px);margin-inline:auto;padding:24px 28px 38px}
.ui-v6046 .portal-footer{border-top:1px solid var(--v46-border);color:var(--v46-muted);background:transparent;padding:22px 28px}
.ui-v6046 .panel,.ui-v6046 .portal-card,.ui-v6046 .stat-card,.ui-v6046 .address-card{border:1px solid var(--v46-border);background:var(--v46-surface);border-radius:var(--v46-radius);box-shadow:none}
.ui-v6046 .panel:hover,.ui-v6046 .portal-card:hover{border-color:color-mix(in srgb,var(--v46-green) 26%,var(--v46-border))}
.ui-v6046 .btn{border-radius:12px;min-height:42px;gap:7px;font-weight:750}
.ui-v6046 .btn.primary{background:linear-gradient(135deg,var(--v46-green),var(--v46-green-strong));box-shadow:0 8px 18px rgba(21,148,71,.17)}
.ui-v6046 input,.ui-v6046 select,.ui-v6046 textarea{border-color:var(--v46-border)!important;background:var(--v46-surface)!important;color:var(--v46-text)!important}
.ui-v6046 input:focus,.ui-v6046 select:focus,.ui-v6046 textarea:focus{border-color:var(--v46-green)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--v46-green) 14%,transparent)!important}

/* --------------------------------------------------------------------------
   Top bar
----------------------------------------------------------------------------*/
.ui-v6046 .portal-topbar-v2{
  min-height:var(--v46-topbar);height:var(--v46-topbar);padding:0 26px;gap:16px;
  background:color-mix(in srgb,var(--v46-surface) 94%,transparent);border-bottom:1px solid var(--v46-border);
  box-shadow:none;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
}
.ui-v6046 .portal-brand-v2{gap:10px;min-width:205px;max-width:230px}
.ui-v6046 .portal-brand-logo{width:42px;height:42px;border-radius:12px;background:transparent;color:var(--v46-green);border:0;box-shadow:none;overflow:hidden}
.ui-v6046 .portal-brand-logo img{width:42px;height:42px;object-fit:contain}
.ui-v6046 .portal-brand-copy b{font-size:17px;color:var(--v46-green-strong);font-weight:850;line-height:1.2}
.ui-v6046 .portal-brand-copy small{font-size:9px;color:var(--v46-muted);text-transform:uppercase;letter-spacing:.08em;margin-top:2px}
.ui-v6046 .topbar-icon-button{width:40px;height:40px;border:1px solid var(--v46-border);border-radius:12px;background:var(--v46-surface);color:var(--v46-text)}
.ui-v6046 .portal-search-v2{height:44px;max-width:610px;margin-inline:auto;border:1px solid var(--v46-border);border-radius:13px;background:var(--v46-surface);box-shadow:none;padding-left:14px}
.ui-v6046 .portal-search-v2 input{border:0!important;box-shadow:none!important;background:transparent!important;padding-inline:9px;font-size:13px}
.ui-v6046 .portal-search-v2>button{width:46px;height:44px;border-radius:0 12px 12px 0;background:var(--v46-green);color:#fff}
.ui-v6046 .portal-actions-v2{gap:8px}
.ui-v6046 .portal-icon-action,.ui-v6046 .portal-theme-toggle{width:40px;height:40px;border:1px solid var(--v46-border);background:var(--v46-surface);border-radius:12px;color:var(--v46-text)}
.ui-v6046 .portal-icon-action:hover,.ui-v6046 .portal-theme-toggle:hover{border-color:#b9dbc5;background:var(--v46-green-soft);color:var(--v46-green-strong)}
.ui-v6046 .portal-action-label{display:none!important}
.ui-v6046 .portal-language{height:38px;padding:3px;border-radius:11px;border:1px solid var(--v46-border);background:var(--v46-surface)}
.ui-v6046 .portal-language a{min-width:36px;height:30px;padding:0 7px;border-radius:8px;display:grid;place-items:center;font-size:10px;font-weight:750}
.ui-v6046 .portal-language a.active{background:var(--v46-green-soft);color:var(--v46-green-strong)}
.ui-v6046 .portal-user-menu-v2>button{height:44px;padding:4px 8px 4px 4px;border:1px solid var(--v46-border);background:var(--v46-surface);border-radius:13px;gap:7px}
.ui-v6046 .portal-avatar{width:34px;height:34px;border-radius:10px;background:linear-gradient(135deg,#d9f0df,#c2e5cb);color:var(--v46-green-strong);font-size:12px}
.ui-v6046 .portal-user-name{max-width:112px;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ui-v6046 .portal-user-menu-v2>div{top:52px;width:286px;padding:10px;border-radius:16px;border:1px solid var(--v46-border);background:var(--v46-surface);box-shadow:var(--v46-shadow-hover)}
.ui-v6046 .portal-user-menu-v2>div>a,.ui-v6046 .portal-user-menu-v2>div>form>button{border-radius:10px;padding:10px 11px;font-size:12px}
.ui-v6046 .workspace-menu-label{padding:7px 8px;color:var(--v46-muted);font-size:9px;text-transform:uppercase;letter-spacing:.08em;font-weight:800}
.ui-v6046 .workspace-menu-options{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:0 0 9px;border-bottom:1px solid var(--v46-border);margin-bottom:7px}
.ui-v6046 .workspace-menu-options form{min-width:0}
.ui-v6046 .workspace-option{min-height:54px!important;padding:7px 4px!important;display:flex!important;flex-direction:column;align-items:center!important;justify-content:center;gap:3px;border:1px solid var(--v46-border)!important;border-radius:11px!important;background:var(--v46-bg)!important;font-size:9px!important;text-align:center!important}
.ui-v6046 .workspace-option.active{border-color:#a6d6b6!important;background:var(--v46-green-soft)!important;color:var(--v46-green-strong)!important}
.ui-v6046 .workspace-option em{display:none}

/* --------------------------------------------------------------------------
   Public marketplace navigation + shell
----------------------------------------------------------------------------*/
.ui-v6046.marketplace-public .portal-menu-button{display:none}
.ui-v6046.marketplace-public .portal-topbar-v2{position:sticky;top:0;z-index:1005}
.marketplace-nav-v6046{position:sticky;top:var(--v46-topbar);z-index:1000;border-bottom:1px solid var(--v46-border);background:color-mix(in srgb,var(--v46-surface) 97%,transparent);backdrop-filter:blur(16px)}
.marketplace-nav-inner{width:min(1480px,calc(100% - 48px));height:54px;margin:auto;display:flex;align-items:center;gap:24px}
.marketplace-category-trigger{height:38px;min-width:190px;padding:0 14px;border-radius:11px;background:var(--v46-green);color:#fff;display:flex;align-items:center;gap:8px;font-size:12px;font-weight:800}
.marketplace-category-trigger svg:last-child{margin-left:auto}
.marketplace-nav-links{height:100%;display:flex;align-items:stretch;gap:24px}
.marketplace-nav-links>a{position:relative;display:flex;align-items:center;font-size:12px;font-weight:700;color:var(--v46-text)}
.marketplace-nav-links>a:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;border-radius:2px;background:transparent}
.marketplace-nav-links>a:hover,.marketplace-nav-links>a.active{color:var(--v46-green-strong)}
.marketplace-nav-links>a.active:after{background:var(--v46-green)}
.marketplace-nav-cta{margin-left:auto}
.marketplace-nav-cta>a{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:750;color:var(--v46-text)}
.ui-v6046.marketplace-public .portal-shell{display:block;min-height:calc(100vh - 130px)}
.ui-v6046.marketplace-public .portal-sidebar{display:none!important}
.ui-v6046.marketplace-public .portal-main{margin:0!important;width:100%!important;min-width:0;background:var(--v46-bg)}
.ui-v6046.marketplace-public .portal-content{max-width:none;width:100%;padding:0}
.ui-v6046.marketplace-public .portal-content>.flash{width:min(1480px,calc(100% - 48px));margin:14px auto}
.ui-v6046.marketplace-public .portal-footer{width:min(1480px,calc(100% - 48px));margin:auto}

/* --------------------------------------------------------------------------
   Dashboard sidebar
----------------------------------------------------------------------------*/
.ui-v6046:not(.marketplace-public) .portal-shell{grid-template-columns:var(--v46-sidebar) minmax(0,1fr);background:var(--v46-bg)}
.ui-v6046:not(.marketplace-public) .portal-sidebar{top:var(--v46-topbar);height:calc(100dvh - var(--v46-topbar));width:var(--v46-sidebar);padding:12px 10px 16px;background:var(--v46-surface);border-right:1px solid var(--v46-border);box-shadow:none}
.ui-v6046 .sidebar-v4-head{min-height:44px;padding:4px 6px;margin:0 2px 7px;border:0;background:transparent}
.ui-v6046 .sidebar-v4-title{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--v46-muted)}
.ui-v6046 .sidebar-desktop-collapse{width:34px;height:34px;border:1px solid var(--v46-border);border-radius:10px;background:var(--v46-bg);color:var(--v46-muted)}
.ui-v6046 .sidebar-desktop-collapse:hover{background:var(--v46-green-soft);color:var(--v46-green)}
.ui-v6046 .sidebar-user-card,.ui-v6046 .sidebar-guest-card{display:none!important}
.ui-v6046 .sidebar-menu-search{height:39px;margin:5px 2px 13px;border:1px solid var(--v46-border);border-radius:11px;background:var(--v46-bg);box-shadow:none}
.ui-v6046 .sidebar-menu-search input{font-size:10px!important;background:transparent!important;border:0!important;box-shadow:none!important}
.ui-v6046 .sidebar-v4-nav{padding:0 2px 60px;gap:13px}
.ui-v6046 .sidebar-nav-group{gap:3px}
.ui-v6046 .sidebar-nav-group>small{font-size:8px;letter-spacing:.1em;text-transform:uppercase;color:var(--v46-muted);font-weight:800;padding:6px 9px 4px}
.ui-v6046 .sidebar-v4 .sidebar-nav-item{min-height:39px;padding:4px 8px;grid-template-columns:30px minmax(0,1fr) auto;border-radius:10px;color:color-mix(in srgb,var(--v46-text) 84%,var(--v46-muted));font-size:10px;font-weight:680;border:1px solid transparent}
.ui-v6046 .sidebar-nav-icon{width:28px;height:28px;border-radius:8px;color:var(--v46-muted);background:transparent}
.ui-v6046 .sidebar-v4 .sidebar-nav-item:hover{background:var(--v46-bg);border-color:var(--v46-border);color:var(--v46-text)}
.ui-v6046 .sidebar-v4 .sidebar-nav-item.active{background:linear-gradient(90deg,var(--v46-green),#1aac58);color:#fff;border-color:transparent;box-shadow:0 7px 16px rgba(21,148,71,.16)}
.ui-v6046 .sidebar-nav-item.active .sidebar-nav-icon{color:#fff;background:rgba(255,255,255,.12)}
.ui-v6046 .sidebar-count{min-width:19px;height:19px;padding:0 5px;border-radius:9px;font-size:8px;background:#eb3d3d;color:#fff}
.ui-v6046.portal-sidebar-compact .portal-shell{grid-template-columns:70px minmax(0,1fr)}
.ui-v6046.portal-sidebar-compact .portal-sidebar{width:70px;padding-inline:7px}
.ui-v6046.portal-sidebar-compact .sidebar-nav-item{grid-template-columns:1fr!important;padding:4px!important;justify-items:center}
.ui-v6046.portal-sidebar-compact .sidebar-nav-icon{width:36px;height:34px}
.ui-v6046.portal-sidebar-compact .sidebar-desktop-collapse{right:-22px;top:4px;width:32px;height:32px}

/* --------------------------------------------------------------------------
   Public home page
----------------------------------------------------------------------------*/
.ui-v6046 .market-home{width:min(1480px,calc(100% - 48px));margin:0 auto;padding:26px 0 48px}
.ui-v6046 .market-hero{min-height:440px;border-radius:22px;overflow:hidden;border:1px solid #dfe9d8;background:linear-gradient(105deg,#f0f8e4,#e7f2d5);box-shadow:none}
.ui-v6046 .market-hero-copy{padding:48px 46px}
.ui-v6046 .market-eyebrow{font-size:11px;color:var(--v46-green-strong)}
.ui-v6046 .market-hero h1{font-size:clamp(34px,4vw,56px);line-height:1.15;max-width:660px;letter-spacing:-.035em}
.ui-v6046 .market-hero-lead{font-size:15px;max-width:610px;color:#53695b}
.ui-v6046 .market-search{height:52px;max-width:620px;border-radius:13px;border:1px solid #d6e4d5;background:#fff;padding-left:12px;box-shadow:0 8px 22px rgba(30,72,40,.05)}
.ui-v6046 .market-search input{border:0!important;box-shadow:none!important;background:#fff!important}
.ui-v6046 .market-search button{height:44px;margin:3px;border-radius:10px;background:var(--v46-green)}
.ui-v6046 .market-hero-actions .market-btn{border-radius:12px}
.ui-v6046 .market-hero-visual img{object-fit:cover}
.ui-v6046 .market-shortcuts{gap:12px;margin-top:16px}
.ui-v6046 .market-shortcuts>a{border:1px solid var(--v46-border);border-radius:14px;background:var(--v46-surface);box-shadow:none;padding:15px}
.ui-v6046 .market-shortcuts>a:hover{border-color:#b4d7bf;box-shadow:var(--v46-shadow);transform:translateY(-2px)}
.ui-v6046 .market-section{padding:28px 0}
.ui-v6046 .market-section-head h2{font-size:21px}
.ui-v6046 .market-category-card{border:1px solid var(--v46-border);border-radius:15px;background:var(--v46-surface);box-shadow:none}
.ui-v6046 .market-category-card:hover{box-shadow:var(--v46-shadow);border-color:#b9dac4}

/* --------------------------------------------------------------------------
   Catalog page from preview
----------------------------------------------------------------------------*/
.catalog-v6046{width:min(1480px,calc(100% - 48px));margin:0 auto;padding:26px 0 52px;display:grid;grid-template-columns:236px minmax(0,1fr);gap:18px;align-items:start}
.catalog-filter-v6046{display:grid;gap:14px;position:sticky;top:148px}
.catalog-filter-card{background:var(--v46-surface);border:1px solid var(--v46-border);border-radius:15px;padding:14px;box-shadow:none}
.catalog-filter-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.catalog-filter-title b{font-size:13px}.catalog-filter-title a{font-size:9px;color:var(--v46-green);font-weight:750}
.catalog-category-list{display:grid;gap:3px;max-height:520px;overflow:auto;scrollbar-width:thin}
.catalog-category-list>a{min-height:38px;padding:6px 9px;border-radius:9px;display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:5px;font-size:10px;font-weight:650;color:var(--v46-text)}
.catalog-category-list>a:hover{background:var(--v46-bg)}
.catalog-category-list>a.active{background:var(--v46-green-soft);color:var(--v46-green-strong)}
.catalog-category-list svg{color:var(--v46-green)}.catalog-category-emoji{font-size:15px}
.catalog-help-card{display:flex;gap:10px;align-items:flex-start;background:linear-gradient(145deg,var(--v46-green-soft),var(--v46-surface))}
.catalog-help-card>span{width:36px;height:36px;border-radius:10px;background:var(--v46-surface);color:var(--v46-green);display:grid;place-items:center;flex:0 0 auto}
.catalog-help-card b,.catalog-help-card small{display:block}.catalog-help-card b{font-size:10px}.catalog-help-card small{font-size:8px;color:var(--v46-muted);margin-top:4px;line-height:1.55}
.catalog-main-v6046{min-width:0;display:grid;gap:16px}
.catalog-promo-v6046{min-height:245px;display:grid;grid-template-columns:1.1fr .9fr;border-radius:18px;overflow:hidden;border:1px solid #dfe9d8;background:linear-gradient(110deg,#edf7df,#dcebc8)}
.catalog-promo-copy{padding:34px 32px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.catalog-promo-copy>small{text-transform:uppercase;letter-spacing:.08em;font-size:8px;font-weight:850;color:var(--v46-green-strong)}
.catalog-promo-copy h1{font-size:31px;line-height:1.18;margin:8px 0 10px;letter-spacing:-.03em;color:#174423}
.catalog-promo-copy p{font-size:11px;line-height:1.7;max-width:480px;color:#496252;margin:0 0 18px}
.catalog-promo-art{min-width:0;position:relative;overflow:hidden}.catalog-promo-art:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#e7f2d5 0%,transparent 36%)}
.catalog-promo-art img{width:100%;height:100%;object-fit:cover}
.catalog-toolbar-v6046{display:grid;grid-template-columns:minmax(220px,1fr) 220px auto;gap:8px;padding:9px;border:1px solid var(--v46-border);border-radius:14px;background:var(--v46-surface)}
.catalog-search-v6046{height:42px;border:1px solid var(--v46-border);border-radius:10px;display:flex;align-items:center;padding:0 12px;gap:7px;background:var(--v46-bg)}
.catalog-search-v6046 svg{color:var(--v46-muted)}.catalog-search-v6046 input{height:40px;width:100%;border:0!important;box-shadow:none!important;background:transparent!important;font-size:11px}
.catalog-toolbar-v6046 select{height:42px;border-radius:10px!important;font-size:10px;padding:0 10px!important}
.catalog-toolbar-v6046 .btn{height:42px;min-height:42px;padding-inline:16px;font-size:10px}
.catalog-results-head-v6046{display:flex;align-items:end;justify-content:space-between;gap:14px;padding:5px 1px}
.catalog-results-head-v6046 small{font-size:8px;text-transform:uppercase;letter-spacing:.08em;color:var(--v46-muted);font-weight:800}
.catalog-results-head-v6046 h2{font-size:18px;margin:3px 0 0}
.catalog-query-chip{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:18px;background:var(--v46-green-soft);color:var(--v46-green-strong);font-size:9px;font-weight:750}
.catalog-product-grid-v6046{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}

/* Clean product card regardless of admin-selected standard template. Custom template remains respected. */
.ui-v6046 .product-card-v4:not(.product-template-custom){border:1px solid var(--v46-border)!important;border-radius:14px!important;background:var(--v46-surface)!important;overflow:hidden;box-shadow:none!important;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease!important;min-width:0}
.ui-v6046 .product-card-v4:not(.product-template-custom):hover{transform:translateY(-3px);border-color:#b9d8c2!important;box-shadow:var(--v46-shadow)!important}
.ui-v6046 .product-card-v4:not(.product-template-custom) .product-card-v4-media{height:auto!important;aspect-ratio:1.15/1;min-height:0!important;background:#f0f5ee;overflow:hidden;position:relative}
.ui-v6046 .product-card-v4:not(.product-template-custom) .product-card-v4-cover{position:absolute;inset:0!important}
.ui-v6046 .product-card-v4:not(.product-template-custom) .product-card-v4-cover img{width:100%;height:100%;object-fit:cover!important;transform:none!important}
.ui-v6046 .product-card-v4:not(.product-template-custom) .product-card-v4-scrim{display:none!important}
.ui-v6046 .product-card-v4:not(.product-template-custom) .product-card-v4-badges{top:8px;left:8px;right:8px;gap:5px}
.ui-v6046 .product-card-v4:not(.product-template-custom) .product-card-v4-category,.ui-v6046 .product-card-v4:not(.product-template-custom) .product-card-v4-featured,.ui-v6046 .product-card-v4:not(.product-template-custom) .product-card-discount-badge,.ui-v6046 .product-card-v4:not(.product-template-custom) .product-card-preorder-badge{border:0!important;border-radius:7px!important;padding:4px 6px!important;background:var(--v46-green)!important;color:#fff!important;font-size:7px!important;backdrop-filter:none!important;box-shadow:none!important}
.ui-v6046 .product-card-v4:not(.product-template-custom) .product-card-v4-quick-view{right:8px;bottom:8px;width:31px;height:31px;border-radius:9px;background:rgba(255,255,255,.92);color:var(--v46-green-strong);border:1px solid #dce8df}
.ui-v6046 .product-card-v4:not(.product-template-custom) .product-card-v4-body{display:flex!important;flex-direction:column!important;position:relative!important;inset:auto!important;min-height:172px!important;padding:11px!important;background:var(--v46-surface)!important;color:var(--v46-text)!important;backdrop-filter:none!important}
.ui-v6046 .product-card-v4:not(.product-template-custom) .product-card-v4-store{order:2;margin:4px 0 0;gap:4px;color:var(--v46-muted)!important;font-size:8px!important;min-width:0}
.ui-v6046 .product-card-v4:not(.product-template-custom) .product-card-v4-store-icon{display:none}
.ui-v6046 .product-card-v4:not(.product-template-custom) .product-card-v4-store i{color:var(--v46-green)}
.ui-v6046 .product-card-v4:not(.product-template-custom) .product-card-v4-title{order:1;color:var(--v46-text)!important;font-size:11px!important;line-height:1.45!important;min-height:33px!important;font-weight:800!important;margin:0!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ui-v6046 .product-card-v4:not(.product-template-custom) .product-card-v4-price-row{order:4;margin:7px 0 0;align-items:end}
.ui-v6046 .product-card-v4:not(.product-template-custom) .product-card-v4-price b{font-size:13px!important;color:var(--v46-text)!important}.ui-v6046 .product-card-v4:not(.product-template-custom) .product-card-v4-price small{font-size:8px!important;color:var(--v46-muted)!important}
.ui-v6046 .product-card-v4:not(.product-template-custom) .product-card-v4-price-row>em{font-size:7px!important;color:var(--v46-muted)!important}
.ui-v6046 .product-card-v4:not(.product-template-custom) .product-card-v4-meta{order:3;margin-top:7px;font-size:7px!important;color:var(--v46-muted)!important;gap:6px}
.ui-v6046 .product-card-v4:not(.product-template-custom) .product-card-v4-rating{color:#e59a00!important}.ui-v6046 .product-card-v4:not(.product-template-custom) .product-card-v4-rating svg{fill:#f3b31f;stroke:#f3b31f}
.ui-v6046 .product-card-v4:not(.product-template-custom) .product-card-v4-meta>span:last-child{margin-left:auto;max-width:75px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ui-v6046 .product-card-v4:not(.product-template-custom) .product-card-v4-targets{display:none!important}
.ui-v6046 .product-card-v4:not(.product-template-custom) .product-card-v4-actions{order:5;display:grid!important;grid-template-columns:1fr 34px!important;gap:6px;margin-top:auto;padding-top:8px;border-top:1px solid var(--v46-border)}
.ui-v6046 .product-card-v4:not(.product-template-custom) .product-card-v4-view{height:32px;border:1px solid var(--v46-border)!important;border-radius:9px;background:var(--v46-bg)!important;color:var(--v46-text)!important;font-size:8px!important}
.ui-v6046 .product-card-v4:not(.product-template-custom) .product-card-v4-view svg{display:none}
.ui-v6046 .product-card-v4:not(.product-template-custom) .product-card-v4-add{width:34px;height:32px!important;padding:0!important;border:1px solid #b8d9c2!important;border-radius:9px!important;background:#fff!important;color:var(--v46-green)!important;box-shadow:none!important}
.ui-v6046 .product-card-v4:not(.product-template-custom) .product-card-v4-add span{display:none!important}

/* --------------------------------------------------------------------------
   Product/store/news detail surfaces
----------------------------------------------------------------------------*/
.ui-v6046.marketplace-public .section.container,.ui-v6046.marketplace-public .product-detail.container,.ui-v6046.marketplace-public .cart-layout.container,.ui-v6046.marketplace-public .checkout-layout.container{width:min(1320px,calc(100% - 48px));margin-inline:auto}
.ui-v6046 .page-hero{background:linear-gradient(120deg,#edf7e4,#f9fbf7);border-bottom:1px solid var(--v46-border);padding:36px 0}
.ui-v6046 .page-hero h1{font-size:32px;letter-spacing:-.025em}
.ui-v6046 .detail-image{border-radius:18px;border:1px solid var(--v46-border);background:var(--v46-surface)}
.ui-v6046 .detail-info h1{font-size:34px;letter-spacing:-.025em}.ui-v6046 .detail-price{font-size:28px;color:var(--v46-text)}
.ui-v6046 .seller-chip{background:var(--v46-surface);border:1px solid var(--v46-border);border-radius:13px}
.ui-v6046 .store-card,.ui-v6046 .news-card{border:1px solid var(--v46-border);border-radius:15px;background:var(--v46-surface);box-shadow:none}
.ui-v6046 .store-card:hover,.ui-v6046 .news-card:hover{box-shadow:var(--v46-shadow);transform:translateY(-2px)}

/* --------------------------------------------------------------------------
   Dashboard titles and common cards
----------------------------------------------------------------------------*/
.ui-v6046.dashboard-body .portal-content{padding:22px 24px 42px}
.ui-v6046 .pro-titlebar{margin:0 0 18px;padding:0 2px 15px;border-bottom:1px solid var(--v46-border);background:transparent;border-radius:0;box-shadow:none}
.ui-v6046 .pro-titlebar>div:first-child>span{font-size:8px;letter-spacing:.11em;text-transform:uppercase;color:var(--v46-muted);font-weight:800}
.ui-v6046 .pro-titlebar h1{font-size:24px;letter-spacing:-.025em;margin:3px 0 0;color:var(--v46-text)}
.ui-v6046 .pro-titlebar-meta{font-size:9px;color:var(--v46-muted)}
.ui-v6046 .pro-security-dot{padding:5px 8px;border-radius:12px;background:var(--v46-green-soft);color:var(--v46-green-strong)}
.ui-v6046 .stats-grid{gap:12px}
.ui-v6046 .stat-card{padding:16px;min-height:112px;box-shadow:none}
.ui-v6046 .stat-card span{font-size:9px;color:var(--v46-muted);font-weight:700}.ui-v6046 .stat-card b{font-size:24px;letter-spacing:-.03em;color:var(--v46-text)}.ui-v6046 .stat-card small{font-size:8px;color:var(--v46-muted)}
.ui-v6046 .stat-card.accent{background:linear-gradient(145deg,#edf8ef,var(--v46-surface));border-color:#cfe7d6}
.ui-v6046 .panel{padding:16px}.ui-v6046 .panel-head{margin-bottom:12px}.ui-v6046 .panel-head h2{font-size:15px}.ui-v6046 .panel-head a{font-size:9px;color:var(--v46-green);font-weight:750}
.ui-v6046 .table-wrap{border:1px solid var(--v46-border);border-radius:12px;overflow:auto}.ui-v6046 table{font-size:9px}.ui-v6046 th{font-size:8px;text-transform:uppercase;letter-spacing:.06em;color:var(--v46-muted);background:var(--v46-bg)}.ui-v6046 th,.ui-v6046 td{padding:10px 11px;border-color:var(--v46-border)}

/* Admin dashboard — visual match to supplied concept */
.ui-v6046 .cc-hero{padding:0 2px 18px;margin:0 0 14px;border:0;border-bottom:1px solid var(--v46-border);background:transparent;border-radius:0;box-shadow:none;min-height:0}
.ui-v6046 .cc-live-label{font-size:8px;text-transform:uppercase;letter-spacing:.09em;color:var(--v46-green)}
.ui-v6046 .cc-hero h2{font-size:25px;letter-spacing:-.03em;margin:4px 0}.ui-v6046 .cc-hero p{font-size:10px;color:var(--v46-muted);margin:0;max-width:720px}
.ui-v6046 .cc-hero-status{margin-top:10px;gap:6px}.ui-v6046 .cc-status-chip{font-size:8px;padding:5px 8px;border-radius:12px;border:1px solid var(--v46-border);background:var(--v46-surface)}
.ui-v6046 .cc-hero-actions{gap:7px}.ui-v6046 .cc-hero-actions .btn{min-height:36px;padding:7px 10px;font-size:9px}
.ui-v6046 .cc-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-bottom:14px}
.ui-v6046 .cc-kpi-card{min-height:116px;padding:15px;border:1px solid var(--v46-border);border-radius:14px;background:var(--v46-surface);box-shadow:none;gap:10px}
.ui-v6046 .cc-kpi-card:hover{transform:translateY(-2px);box-shadow:var(--v46-shadow);border-color:#b8d9c2}
.ui-v6046 .cc-kpi-icon{width:34px;height:34px;border-radius:10px;background:var(--v46-green-soft);color:var(--v46-green);font-size:14px}
.ui-v6046 .cc-kpi-card small{font-size:8px;color:var(--v46-muted)}.ui-v6046 .cc-kpi-card strong{font-size:23px;letter-spacing:-.035em}.ui-v6046 .cc-kpi-card em{font-size:7px;color:var(--v46-muted)}
.ui-v6046 .cc-command-section{border:0;background:transparent;padding:3px 0;margin:0 0 14px}.ui-v6046 .cc-section-head{margin-bottom:9px}.ui-v6046 .cc-section-head small{font-size:7px}.ui-v6046 .cc-section-head h2{font-size:15px}.ui-v6046 .cc-section-head p{font-size:8px}.ui-v6046 .cc-section-head>a{font-size:8px}
.ui-v6046 .cc-module-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.ui-v6046 .cc-module-card{min-height:72px;border:1px solid var(--v46-border);border-radius:12px;background:var(--v46-surface);box-shadow:none;padding:10px}.ui-v6046 .cc-module-card>span{width:32px;height:32px;border-radius:9px;background:var(--v46-bg);font-size:14px}.ui-v6046 .cc-module-card b{font-size:9px}.ui-v6046 .cc-module-card small{font-size:7px}
.ui-v6046 .cc-attention-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:0 0 14px}.ui-v6046 .cc-attention-grid>a{min-height:68px;padding:10px;border:1px solid var(--v46-border);border-radius:12px;background:var(--v46-surface);box-shadow:none}.ui-v6046 .cc-attention-grid b{font-size:15px}.ui-v6046 .cc-attention-grid small{font-size:7px}
.ui-v6046 .cc-insight-grid,.ui-v6046 .cc-activity-grid{gap:12px;margin-top:12px}.ui-v6046 .cc-chart-panel,.ui-v6046 .cc-quick-panel,.ui-v6046 .cc-table-panel,.ui-v6046 .cc-payment-panel{border-radius:14px;padding:15px}
.ui-v6046 .cc-panel-head small{font-size:7px}.ui-v6046 .cc-panel-head h2{font-size:14px}.ui-v6046 .cc-live-pill{font-size:7px;padding:5px 7px}.ui-v6046 .cc-bar-chart{min-height:220px;padding-top:22px}.ui-v6046 .cc-bar-value{font-size:7px}.ui-v6046 .cc-quick-list>a,.ui-v6046 .cc-payment-list>a{min-height:56px;border-radius:10px;padding:9px}.ui-v6046 .cc-quick-list b,.ui-v6046 .cc-payment-list b{font-size:9px}.ui-v6046 .cc-quick-list small,.ui-v6046 .cc-payment-list small{font-size:7px}

/* Forms and admin settings */
.ui-v6046 .form-grid,.ui-v6046 .settings-grid,.ui-v6046 .admin-grid{gap:12px}
.ui-v6046 .form-panel,.ui-v6046 .settings-card{border:1px solid var(--v46-border);border-radius:14px;background:var(--v46-surface);box-shadow:none}
.ui-v6046 .form-grid label,.ui-v6046 .form-panel label{font-size:9px;color:var(--v46-muted);font-weight:750}
.ui-v6046 .form-grid input,.ui-v6046 .form-grid select,.ui-v6046 .form-grid textarea,.ui-v6046 .form-panel input,.ui-v6046 .form-panel select,.ui-v6046 .form-panel textarea{border-radius:10px!important;padding:10px 11px!important;font-size:10px}

/* --------------------------------------------------------------------------
   Authentication
----------------------------------------------------------------------------*/
.ui-v6046 .auth-page{min-height:calc(100dvh - 132px);background:radial-gradient(circle at 25% 10%,#e6f4db,transparent 32%),var(--v46-bg);padding:50px 18px}
.ui-v6046 .auth-card{width:min(420px,100%);border:1px solid var(--v46-border);border-radius:20px;background:var(--v46-surface);box-shadow:var(--v46-shadow);padding:30px}
.ui-v6046 .auth-icon{width:62px;height:62px;border-radius:18px;background:var(--v46-green-soft);color:var(--v46-green)}
.ui-v6046 .auth-card h1{font-size:24px}.ui-v6046 .auth-card>p{font-size:10px}.ui-v6046 .auth-card form{gap:12px}.ui-v6046 .auth-card label{font-size:9px}.ui-v6046 .auth-card input{height:44px;border-radius:11px!important}

/* --------------------------------------------------------------------------
   Dark mode polish
----------------------------------------------------------------------------*/
html[data-theme="dark"] .marketplace-nav-v6046,html[data-theme="dark"] .ui-v6046 .portal-topbar-v2{background:rgba(17,29,22,.94)}
html[data-theme="dark"] .ui-v6046 .market-hero,html[data-theme="dark"] .catalog-promo-v6046{background:linear-gradient(120deg,#13281a,#17311f);border-color:#2a4331}
html[data-theme="dark"] .catalog-promo-copy h1,html[data-theme="dark"] .ui-v6046 .market-hero h1{color:#eaf8ef}
html[data-theme="dark"] .catalog-promo-copy p,html[data-theme="dark"] .ui-v6046 .market-hero-lead{color:#afc2b5}
html[data-theme="dark"] .catalog-promo-art:after{background:linear-gradient(90deg,#17311f 0%,transparent 36%)}
html[data-theme="dark"] .ui-v6046 .product-card-v4:not(.product-template-custom) .product-card-v4-add{background:#14231a!important}

/* --------------------------------------------------------------------------
   Tablet
----------------------------------------------------------------------------*/
@media(max-width:1200px){
  .catalog-product-grid-v6046{grid-template-columns:repeat(4,minmax(0,1fr))}
  .ui-v6046 .cc-module-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ui-v6046 .cc-attention-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .marketplace-nav-links{gap:15px}
  .marketplace-category-trigger{min-width:166px}
  .ui-v6046 .portal-brand-v2{min-width:178px}
}
@media(max-width:980px){
  .ui-v6046 .portal-brand-copy small{display:none}.ui-v6046 .portal-brand-v2{min-width:145px}
  .ui-v6046 .portal-language{display:none}
  .marketplace-nav-cta{display:none}
  .catalog-v6046{grid-template-columns:200px minmax(0,1fr)}
  .catalog-product-grid-v6046{grid-template-columns:repeat(3,minmax(0,1fr))}
  .catalog-toolbar-v6046{grid-template-columns:1fr 180px auto}
  .ui-v6046 .cc-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* --------------------------------------------------------------------------
   Mobile — follows preview navigation and stacked cards
----------------------------------------------------------------------------*/
@media(max-width:780px){
  :root{--v46-topbar:62px}
  body.ui-v6046{padding-bottom:72px}
  .ui-v6046 .portal-topbar-v2{height:62px;min-height:62px;padding:0 12px;gap:8px}
  .ui-v6046 .portal-brand-v2{min-width:0;max-width:none;flex:1;gap:7px}
  .ui-v6046 .portal-brand-logo,.ui-v6046 .portal-brand-logo img{width:34px;height:34px;border-radius:9px}
  .ui-v6046 .portal-brand-copy b{font-size:13px;max-width:160px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .ui-v6046 .portal-brand-copy small{display:none}
  .ui-v6046.marketplace-public .portal-menu-button{display:grid;order:-1}
  .ui-v6046 .topbar-icon-button{width:36px;height:36px;border-radius:10px}
  .ui-v6046 .portal-search-v2{display:none}
  .ui-v6046 .portal-actions-v2{gap:5px;margin-left:auto}
  .ui-v6046 .portal-theme-toggle,.ui-v6046 .chat-top-action,.ui-v6046 .wallet-top-action,.ui-v6046 .portal-language{display:none!important}
  .ui-v6046 .portal-icon-action{width:35px;height:35px;border-radius:10px}
  .ui-v6046 .portal-user-menu-v2>button{width:36px;height:36px;padding:2px;border-radius:10px}
  .ui-v6046 .portal-avatar{width:30px;height:30px;border-radius:8px}.ui-v6046 .portal-user-name,.ui-v6046 .portal-user-menu-v2>button>svg{display:none}
  .ui-v6046 .portal-user-menu-v2>div{position:fixed;top:66px;right:10px;width:min(310px,calc(100vw - 20px))}
  .marketplace-nav-v6046{display:none}
  .ui-v6046.marketplace-public .portal-shell{min-height:calc(100vh - 62px)}
  .ui-v6046.marketplace-public .portal-content>.flash{width:calc(100% - 24px)}
  .ui-v6046.marketplace-public .portal-footer{width:calc(100% - 24px);padding:20px 0 12px}
  .ui-v6046:not(.marketplace-public) .portal-shell{display:block!important}
  .ui-v6046:not(.marketplace-public) .portal-sidebar{position:fixed!important;top:62px!important;height:calc(100dvh - 62px)!important;width:min(300px,86vw)!important;z-index:1100;box-shadow:0 18px 50px rgba(0,0,0,.25)}
  .ui-v6046 .portal-content,.ui-v6046.dashboard-body .portal-content{padding:14px 12px 24px}
  .ui-v6046 .pro-titlebar{margin-bottom:12px;padding-bottom:10px}.ui-v6046 .pro-titlebar h1{font-size:19px}.ui-v6046 .pro-titlebar-meta small{display:none}
  .ui-v6046 .market-home{width:calc(100% - 24px);padding:12px 0 24px}
  .ui-v6046 .market-hero{display:block;min-height:0;border-radius:17px}
  .ui-v6046 .market-hero-copy{padding:23px 19px}.ui-v6046 .market-hero h1{font-size:29px;line-height:1.2}.ui-v6046 .market-hero-lead{font-size:12px}
  .ui-v6046 .market-search{height:46px}.ui-v6046 .market-search button{height:38px;font-size:0;width:42px}.ui-v6046 .market-search button span{font-size:16px}
  .ui-v6046 .market-popular{display:none}.ui-v6046 .market-hero-actions{gap:7px;flex-wrap:wrap}.ui-v6046 .market-hero-actions .market-btn{font-size:10px;min-height:38px;padding:8px 12px}
  .ui-v6046 .market-trust-row{gap:8px;font-size:8px}.ui-v6046 .market-hero-visual{height:190px}.ui-v6046 .market-hero-stats{display:none}
  .ui-v6046 .market-shortcuts{grid-template-columns:repeat(2,1fr);gap:8px}.ui-v6046 .market-shortcuts>a{padding:10px}.ui-v6046 .market-shortcuts>a>span{width:32px;height:32px;font-size:14px}.ui-v6046 .market-shortcuts b{font-size:9px}.ui-v6046 .market-shortcuts small{font-size:7px}
  .ui-v6046 .market-section{padding:20px 0}.ui-v6046 .market-section-head h2{font-size:17px}.ui-v6046 .market-section-head small{font-size:7px}
  .catalog-v6046{width:calc(100% - 24px);padding:12px 0 26px;display:block}
  .catalog-filter-v6046{display:none}
  .catalog-main-v6046{gap:11px}
  .catalog-promo-v6046{min-height:178px;grid-template-columns:1.15fr .85fr;border-radius:16px}
  .catalog-promo-copy{padding:20px 16px}.catalog-promo-copy>small{font-size:7px}.catalog-promo-copy h1{font-size:20px;margin:5px 0 7px}.catalog-promo-copy p{font-size:8px;line-height:1.55;margin-bottom:12px}.catalog-promo-copy .btn{min-height:34px;padding:6px 10px;font-size:8px}
  .catalog-toolbar-v6046{grid-template-columns:1fr 42px;padding:6px;gap:6px}.catalog-search-v6046{height:40px}.catalog-toolbar-v6046 select{display:none}.catalog-toolbar-v6046 .btn{width:42px;height:40px;min-height:40px;padding:0;font-size:0}.catalog-toolbar-v6046 .btn svg{margin:0}
  .catalog-results-head-v6046{align-items:center}.catalog-results-head-v6046 h2{font-size:14px}.catalog-results-head-v6046 small{font-size:7px}.catalog-query-chip{font-size:7px;padding:5px 7px}
  .catalog-product-grid-v6046,.ui-v6046 .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .ui-v6046 .product-card-v4:not(.product-template-custom){border-radius:12px!important}
  .ui-v6046 .product-card-v4:not(.product-template-custom) .product-card-v4-media{aspect-ratio:1/1}
  .ui-v6046 .product-card-v4:not(.product-template-custom) .product-card-v4-body{min-height:150px!important;padding:9px!important}
  .ui-v6046 .product-card-v4:not(.product-template-custom) .product-card-v4-title{font-size:10px!important;min-height:29px!important}.ui-v6046 .product-card-v4:not(.product-template-custom) .product-card-v4-store{font-size:7px!important}.ui-v6046 .product-card-v4:not(.product-template-custom) .product-card-v4-meta{font-size:6px!important}.ui-v6046 .product-card-v4:not(.product-template-custom) .product-card-v4-price b{font-size:12px!important}
  .ui-v6046 .product-card-v4:not(.product-template-custom) .product-card-v4-view{display:none}.ui-v6046 .product-card-v4:not(.product-template-custom) .product-card-v4-actions{grid-template-columns:1fr!important}.ui-v6046 .product-card-v4:not(.product-template-custom) .product-card-v4-add{width:100%;height:31px!important}.ui-v6046 .product-card-v4:not(.product-template-custom) .product-card-v4-add span{display:inline!important;font-size:7px}
  .ui-v6046.marketplace-public .section.container,.ui-v6046.marketplace-public .product-detail.container,.ui-v6046.marketplace-public .cart-layout.container,.ui-v6046.marketplace-public .checkout-layout.container{width:calc(100% - 24px)}
  .ui-v6046 .page-hero{padding:24px 0}.ui-v6046 .page-hero h1{font-size:24px}
  .ui-v6046 .product-detail{grid-template-columns:1fr!important;gap:16px!important}.ui-v6046 .detail-image{border-radius:15px}.ui-v6046 .detail-info{padding:0}.ui-v6046 .detail-info h1{font-size:24px}.ui-v6046 .detail-price{font-size:24px}
  .ui-v6046 .cart-layout,.ui-v6046 .checkout-layout{grid-template-columns:1fr!important;gap:12px!important}
  .ui-v6046 .stats-grid,.ui-v6046 .portal-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px}.ui-v6046 .stat-card{min-height:96px;padding:12px}.ui-v6046 .stat-card b{font-size:19px}
  .ui-v6046 .cc-hero{display:block}.ui-v6046 .cc-hero h2{font-size:20px}.ui-v6046 .cc-hero p{font-size:8px}.ui-v6046 .cc-hero-actions{margin-top:10px;display:flex;overflow:auto}.ui-v6046 .cc-hero-status{overflow:auto;flex-wrap:nowrap}.ui-v6046 .cc-status-chip{white-space:nowrap}
  .ui-v6046 .cc-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ui-v6046 .cc-kpi-card{min-height:100px;padding:11px;display:block}.ui-v6046 .cc-kpi-icon{width:28px;height:28px;margin-bottom:7px}.ui-v6046 .cc-kpi-card strong{font-size:19px}.ui-v6046 .cc-kpi-card>i{display:none}
  .ui-v6046 .cc-module-grid{display:flex;overflow-x:auto;gap:8px;padding-bottom:4px}.ui-v6046 .cc-module-card{min-width:180px}.ui-v6046 .cc-attention-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .ui-v6046 .cc-insight-grid,.ui-v6046 .cc-activity-grid{grid-template-columns:1fr!important;gap:8px}.ui-v6046 .cc-bar-chart{min-height:180px;overflow-x:auto}
  .ui-v6046 .panel{padding:12px;border-radius:13px}.ui-v6046 .table-wrap{border:0}.ui-v6046 .table-wrap table{min-width:620px}
  .ui-v6046 .auth-page{min-height:calc(100dvh - 62px);padding:24px 12px}.ui-v6046 .auth-card{padding:24px 18px;border-radius:17px}
  .ui-v6046 .mobile-app-nav-v2{position:fixed;left:0;right:0;bottom:0;z-index:1200;height:68px;min-height:68px;padding:4px max(7px,env(safe-area-inset-right)) max(5px,env(safe-area-inset-bottom)) max(7px,env(safe-area-inset-left));border-top:1px solid var(--v46-border);background:color-mix(in srgb,var(--v46-surface) 97%,transparent);box-shadow:0 -8px 28px rgba(20,52,30,.08);backdrop-filter:blur(16px)}
  .ui-v6046 .mobile-app-nav-v2>a{min-width:0;border-radius:10px;padding:4px 3px;color:var(--v46-muted)}.ui-v6046 .mobile-app-nav-v2>a.active{background:transparent;color:var(--v46-green)}.ui-v6046 .mobile-app-nav-v2>a .ui-icon{width:18px;height:18px}.ui-v6046 .mobile-app-nav-v2>a b{font-size:7px;font-weight:750}
}
@media(max-width:420px){
  .ui-v6046 .portal-brand-copy b{max-width:120px}.ui-v6046 .notification-menu{display:block}.ui-v6046 .topbar-cart{display:none}
  .catalog-promo-v6046{grid-template-columns:1fr}.catalog-promo-art{display:none}
  .catalog-promo-copy{min-height:155px}
  .ui-v6046 .cc-attention-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:780px){
  .ui-v6046 .mobile-nav-sell-v6046{position:relative;color:var(--v46-green)!important;overflow:visible}
  .ui-v6046 .mobile-nav-sell-v6046>.ui-icon{width:42px!important;height:42px!important;padding:10px;border-radius:50%;background:var(--v46-green);color:#fff;margin-top:-18px;box-shadow:0 8px 20px rgba(21,148,71,.25)}
  .ui-v6046 .mobile-nav-sell-v6046 b{margin-top:1px;color:var(--v46-green)}
}
.ui-v6046 .account-popover-v6046{display:none!important;padding:0!important}.ui-v6046 .portal-user-menu-v2.open>.account-popover-v6046{display:block!important}
.ui-v6046 .account-popover-profile{display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px;align-items:center;padding:9px 9px 11px;border-bottom:1px solid var(--v46-border)}
.ui-v6046 .account-popover-avatar{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,#d9f0df,#bfe3c9);color:var(--v46-green-strong);font-size:13px;font-weight:850}
.ui-v6046 .account-popover-profile b,.ui-v6046 .account-popover-profile small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-v6046 .account-popover-profile b{font-size:11px}.ui-v6046 .account-popover-profile small{font-size:8px;color:var(--v46-muted);margin-top:2px}
.ui-v6046 .account-popover-links{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:9px 0}
.ui-v6046 .account-popover-links>a{display:flex!important;align-items:center;gap:7px!important;padding:8px 9px!important;border:1px solid var(--v46-border);border-radius:10px!important;background:var(--v46-bg);font-size:9px!important;font-weight:700}
.ui-v6046 .account-popover-links>a:hover{background:var(--v46-green-soft)!important;color:var(--v46-green-strong)}
.ui-v6046 .account-popover-footer{display:grid;grid-template-columns:1fr 1fr;gap:5px;border-top:1px solid var(--v46-border);padding-top:8px;margin-top:2px}
.ui-v6046 .account-popover-footer>a,.ui-v6046 .account-popover-footer form>button{width:100%;min-height:36px;display:flex!important;align-items:center;justify-content:center;gap:6px!important;border:1px solid var(--v46-border)!important;border-radius:10px!important;background:var(--v46-surface)!important;color:var(--v46-text);font-size:9px!important;font-weight:700}
.ui-v6046 .account-popover-footer form>button{color:#c0392b!important}.ui-v6046 .account-popover-footer>a:hover{background:var(--v46-green-soft)!important;color:var(--v46-green-strong)}
