/* SaleEarn CSS part 01 */


:root{
  --ink:#101a33;--muted:#748096;--line:#e4e8f0;--bg:#f7f8fc;--card:#fff;
  --brand:#5146e5;--brand2:#6d63f5;--soft:#eeecff;--green:#17b77d;--orange:#f3a51a;
  --red:#ef5b67;--shadow:0 14px 38px rgba(21,31,61,.08);--radius:18px;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--ink);background:var(--bg)}
button,input,textarea,select{font:inherit}button{cursor:pointer;border:0}a{text-decoration:none;color:inherit}
.hidden{display:none!important}.muted{color:var(--muted)}.small{font-size:12px}.container{max-width:1240px;margin:auto;padding:0 24px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);background:#fff;color:var(--ink);padding:11px 16px;border-radius:12px;font-weight:700;transition:.2s}
.btn:hover{transform:translateY(-2px);box-shadow:0 7px 18px rgba(21,31,61,.10);border-color:#bfc5d8}
.btn.primary{background:linear-gradient(135deg,var(--brand),var(--brand2));color:#fff;border-color:transparent}
.btn.danger{color:var(--red);background:#fff5f6;border-color:#ffd9dd}.btn.green{color:#fff;background:var(--green)}
.iconbtn{width:42px;height:42px;padding:0;border-radius:12px}
.pill{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);background:#fff;padding:7px 11px;border-radius:999px;font-size:12px;font-weight:800}
.tag{display:inline-flex;padding:6px 9px;border-radius:999px;background:#f0efff;color:#5146e5;font-size:11px;font-weight:800;margin:3px}
.badge-dot{display:inline-flex;min-width:18px;height:18px;padding:0 5px;border-radius:99px;background:#f04d5b;color:#fff;font-size:10px;align-items:center;justify-content:center;font-weight:900}
.toast{position:fixed;right:22px;bottom:22px;background:#111a2d;color:#fff;padding:13px 16px;border-radius:12px;box-shadow:var(--shadow);z-index:10000;animation:toast .25s ease}
@keyframes toast{from{transform:translateY(10px);opacity:0}to{transform:none;opacity:1}}
.topbar{height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;position:sticky;top:0;z-index:50}
.nav{display:flex;align-items:center;gap:18px;width:100%}.logo{display:flex;align-items:center;gap:10px;font-weight:900;font-size:20px;min-width:150px}
.logo-mark{width:34px;height:34px;border-radius:10px;background:linear-gradient(135deg,#111a33,#5146e5);color:#fff;display:grid;place-items:center;font-weight:900}
.search{height:42px;flex:1;max-width:540px;position:relative}.search input{width:100%;height:100%;border:1px solid var(--line);border-radius:12px;padding:0 16px 0 42px;outline:none;background:#fafbfe}.search input:focus{border-color:#8d85f7;box-shadow:0 0 0 3px #eeecff}
.search span{position:absolute;left:14px;top:10px;color:var(--muted)}.nav-actions{margin-left:auto;display:flex;align-items:center;gap:9px}.cart-btn{position:relative}.cart-count{position:absolute;right:-3px;top:-5px}
.hero{padding:54px 0 34px;background:radial-gradient(circle at 80% 20%,#e8e6ff 0,transparent 32%),linear-gradient(180deg,#fff 0,#f8f8ff 100%)}
.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:30px;align-items:center}.eyebrow{color:var(--brand);font-size:12px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.hero h1{font-size:52px;line-height:1.03;margin:12px 0 15px;letter-spacing:-.04em}.hero p{font-size:17px;color:var(--muted);line-height:1.7;max-width:650px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}
.hero-art{background:#121b30;border-radius:28px;padding:18px;box-shadow:0 30px 70px rgba(33,41,78,.2);min-height:300px;overflow:hidden}
.hero-track{display:flex;gap:15px;animation:drift 22s linear infinite;width:max-content}.hero-art:hover .hero-track{animation-play-state:paused}
@keyframes drift{from{transform:translateX(0)}to{transform:translateX(-42%)}}
.pick-card{width:245px;background:#fff;border-radius:18px;overflow:hidden;flex:0 0 auto}.pick-card .thumb{height:150px}.pick-card .body{padding:12px}.pick-card h4{margin:0 0 6px;font-size:14px}.price{font-weight:900}.old{text-decoration:line-through;color:#a0a8b8;font-size:12px;margin-left:6px}.thumb{background:#e9ecf5;overflow:hidden;display:flex;align-items:center;justify-content:center}.thumb img{width:100%;height:100%;object-fit:cover;display:block}.thumb-fallback{font-size:35px}
.section{padding:34px 0}.section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:17px}.section-head h2{margin:0;font-size:23px}.section-head p{margin:4px 0 0;color:var(--muted);font-size:13px}
.ad-strip{overflow:hidden;background:#111a30;color:#fff;padding:13px 0} .home-ad-strip{margin:8px auto 0;border-radius:14px;max-width:1180px}.hero .home-ad-strip{max-width:1180px}.ad-track{display:flex;gap:15px;width:max-content;animation:adscroll 28s linear infinite}.ad-track:hover{animation-play-state:paused}@keyframes adscroll{to{transform:translateX(-50%)}}
.ad-card{width:310px;border:1px solid rgba(255,255,255,.12);background:#1c2740;border-radius:13px;padding:12px;display:flex;align-items:center;gap:12px}.ad-card .ad-thumb{width:52px;height:52px;border-radius:10px;background:#fff2;display:grid;place-items:center;overflow:hidden}.ad-card img{width:100%;height:100%;object-fit:cover}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}.product-card{background:#fff;border:1px solid var(--line);border-radius:17px;overflow:hidden;transition:.2s;position:relative}.product-card:hover{transform:translateY(-5px) scale(1.01);border-color:#7d75ee;box-shadow:0 14px 30px rgba(62,53,174,.11)}.product-card .thumb{height:175px;position:relative}.product-card .body{padding:14px}.product-card h3{font-size:15px;line-height:1.35;margin:5px 0 7px}.seller-line{display:flex;align-items:center;gap:7px;margin-top:12px;color:var(--muted);font-size:11px;font-weight:800}.seller-avatar{width:27px;height:27px;border-radius:50%;overflow:hidden;background:#101a33;color:#fff;display:grid;place-items:center}.seller-avatar img{width:100%;height:100%;object-fit:cover}.plus{position:absolute;right:10px;bottom:10px;width:40px;height:40px;border-radius:50%;background:#fff;color:var(--brand);box-shadow:0 7px 18px rgba(0,0,0,.12);font-size:25px;transition:transform .2s ease,box-shadow .2s}.plus:hover{transform:rotate(45deg) scale(1.09);box-shadow:0 9px 20px rgba(81,70,229,.2)}
.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.category-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px;min-height:130px;transition:.2s}.category-card:hover{border-color:#8077ef;transform:translateY(-3px)}.category-card .cat-icon{font-size:28px}.category-card h3{margin:12px 0 5px}.category-card p{margin:0;color:var(--muted);font-size:12px}
.meet-seller-search{margin-bottom:14px;max-width:380px}.meet-seller-search input{width:100%;height:44px;border:1px solid var(--line);border-radius:12px;padding:0 16px;outline:none;background:#fafbfe}.meet-seller-search input:focus{border-color:#8d85f7;box-shadow:0 0 0 3px #eeecff}
.meet-seller-track{display:flex;gap:15px;overflow-x:auto;scroll-behavior:smooth;padding-bottom:10px;scroll-snap-type:x proximity}.meet-seller-track::-webkit-scrollbar{height:7px}.meet-seller-track::-webkit-scrollbar-thumb{background:#cfd4e0;border-radius:99px}.meet-seller-track .category-card{flex:0 0 250px;scroll-snap-align:start}.meet-seller-empty{padding:20px;color:var(--muted)}
.footer{margin-top:30px;background:#10192c;color:#fff;padding:38px 0}.footer-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr 1.15fr 1fr;gap:26px}.footer a{color:#cbd3e4;display:block;margin:8px 0;font-size:13px}

.page{min-height:calc(100vh - 72px)}.page-title{padding:30px 0 16px}.page-title h1{margin:0;font-size:30px}.market-layout{display:grid;grid-template-columns:250px 1fr;gap:22px;padding-bottom:40px}.sidebar-filter{background:#fff;border:1px solid var(--line);border-radius:17px;padding:16px;height:max-content;position:sticky;top:88px}.sidebar-filter h4{margin:3px 0 10px}.filter-cat{padding:10px;border-radius:10px;display:flex;justify-content:space-between;align-items:center;font-weight:700;font-size:13px}.filter-cat.active,.filter-cat:hover{background:var(--soft);color:var(--brand)}.subcats{padding:0 0 8px 12px}.subcats button{display:block;background:none;padding:6px 8px;color:var(--muted);font-size:12px;width:100%;text-align:left}.subcats button:hover,.subcats button.active{color:var(--brand);font-weight:800}
.market-tools{display:flex;gap:9px;align-items:center;margin-bottom:15px}.market-tools .searchbox{flex:1}.searchbox input{width:100%;height:42px;border:1px solid var(--line);border-radius:11px;padding:0 13px}.view-toggle{display:flex;border:1px solid var(--line);border-radius:11px;overflow:hidden}.view-toggle button{background:#fff;padding:10px 13px}.view-toggle button.active{background:var(--soft);color:var(--brand)}
.list-view .product-card{display:grid;grid-template-columns:220px 1fr}.list-view .product-card .thumb{height:100%;min-height:190px}.list-view{grid-template-columns:1fr}
.detail-wrap{padding:35px 0 60px}.detail-main{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);gap:30px;background:#fff;border:1px solid var(--line);border-radius:22px;padding:22px;box-shadow:var(--shadow);align-items:start}.detail-main.ratio-landscape{grid-template-columns:minmax(0,1.22fr) minmax(330px,.78fr)}.detail-main.ratio-portrait{grid-template-columns:minmax(320px,.78fr) minmax(0,1.22fr)}.detail-main.ratio-square{grid-template-columns:minmax(0,1fr) minmax(350px,1fr)}.detail-image{width:100%;min-height:320px;max-height:720px;border-radius:18px;overflow:hidden;background:#eef0f7;display:flex;align-items:center;justify-content:center;position:relative}.detail-image img{width:100%;height:auto;max-width:100%;max-height:720px;object-fit:contain;display:block}.detail-main.ratio-landscape .detail-image{min-height:340px}.detail-main.ratio-portrait .detail-image{min-height:480px}.detail-main.ratio-square .detail-image{min-height:420px}.detail-info{min-width:0}.detail-info h1{font-size:34px;line-height:1.15;margin:12px 0}.detail-info .desc{color:var(--muted);line-height:1.8;white-space:pre-wrap}.detail-price{font-size:31px;font-weight:950;margin:17px 0}.detail-actions{display:flex;gap:10px;margin:18px 0}.seller-box{display:flex;align-items:center;gap:12px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:15px 0}.seller-box .seller-avatar{width:48px;height:48px}.faq{border:1px solid var(--line);border-radius:14px;margin-top:15px;overflow:hidden}.faq button{width:100%;text-align:left;background:#fff;padding:16px;font-weight:800;display:flex;justify-content:space-between}.faq-content{padding:0 16px 16px;color:var(--muted);line-height:1.6;display:none}.faq.open .faq-content{display:block}.faq.open .chev{transform:rotate(180deg)}
.review-box,.bundle-box{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px;margin-top:22px}.review-item{padding:14px 0;border-bottom:1px solid var(--line)}.review-item:last-child{border-bottom:0}.stars{color:#f5a719;letter-spacing:2px}.star-picker{display:flex;gap:4px;margin:8px 0}.star-picker button{background:none;font-size:25px;color:#cbd0dc;padding:0}.star-picker button.on{color:#f5a719}
.modal-bg{position:fixed;inset:0;background:rgba(10,16,32,.46);backdrop-filter:blur(7px);display:flex;align-items:center;justify-content:center;padding:20px;z-index:500}.modal{width:min(620px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:22px;box-shadow:0 30px 90px rgba(0,0,0,.24);padding:22px;position:relative}.modal .close{position:absolute;right:14px;top:14px;z-index:50!important;display:grid!important;place-items:center!important;pointer-events:auto!important}.modal h2{margin:4px 0 8px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.field{margin:10px 0}.field label{display:block;font-size:12px;font-weight:800;margin-bottom:6px}.field input,.field textarea,.field select{width:100%;border:1px solid var(--line);border-radius:11px;padding:11px 12px;outline:none;background:#fbfcfe}.field textarea{min-height:110px;resize:vertical}.field input:focus,.field textarea:focus,.field select:focus{border-color:#8d85f7;box-shadow:0 0 0 3px #efedff}.modal-footer{display:flex;justify-content:flex-end;gap:9px;margin-top:15px}
.payment-options{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.pay-opt{padding:13px;border:1px solid var(--line);border-radius:12px;background:#fff;text-align:center;font-weight:800}.pay-opt.active{border-color:var(--brand);background:var(--soft);color:var(--brand)}.pay-form{margin-top:15px}
.success-card{text-align:center;max-width:640px;margin:60px auto;background:#fff;border:1px solid var(--line);border-radius:22px;padding:38px;box-shadow:var(--shadow)}.success-icon{width:70px;height:70px;border-radius:50%;background:#e8fff5;color:var(--green);display:grid;place-items:center;font-size:35px;margin:auto}.link-box{background:#f6f7fb;border:1px dashed #cfd4e0;padding:12px;border-radius:12px;word-break:break-all;text-align:left}
.seller-profile{padding:30px 0}.seller-tools{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.seller-product-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:9px}.seller-sales{font-size:12px;font-weight:900;color:#5d6679}.featured-badge{font-size:10px;font-weight:900;color:#b06a00;background:#fff3cd;padding:5px 8px;border-radius:999px}.share-btn{margin-left:auto}.sticky-buy{position:fixed;right:22px;bottom:22px;z-index:100;box-shadow:0 14px 30px rgba(81,70,229,.25)}.ad-premium{background:#10192c;color:#fff;padding:14px 0;overflow:hidden}.ad-premium-track{display:flex;gap:14px;width:max-content;animation:adscroll 30s linear infinite}.ad-premium:hover .ad-premium-track{animation-play-state:paused}.ad-premium-card{width:420px;min-height:92px;background:#1b2741;border:1px solid rgba(255,255,255,.1);border-radius:15px;padding:10px;display:flex;align-items:center;gap:12px;transition:.2s}.ad-premium-card:hover{transform:scale(1.02);border-color:#6f66ee}.ad-premium-card .ad-thumb{width:72px;height:72px;border-radius:11px;overflow:hidden;flex:0 0 auto}.ad-premium-card .ad-thumb img{width:100%;height:100%;object-fit:cover}.ad-premium-card .ad-info{flex:1;min-width:0}.ad-premium-card .ad-info b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ad-price{color:#ffd84a;font-weight:950}.ad-boost{padding:9px 12px;border-radius:10px;background:#ffd84a;color:#141a2b;font-weight:900}.payment-timer{display:flex;align-items:center;justify-content:space-between;background:#fff5dc;border:1px solid #ffe2a0;color:#8a5b00;border-radius:12px;padding:10px 12px;margin:12px 0;font-weight:900}.security-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.account-profile-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px;margin-bottom:18px}.success-card.cancelled{background:#fffaf9}.featured-card{outline:2px solid #ffd86b}.profile-head{background:#fff;border:1px solid var(--line);border-radius:22px;padding:24px;display:flex;gap:18px;align-items:center}.profile-logo{width:90px;height:90px;border-radius:22px;overflow:hidden;background:#111a33;color:#fff;display:grid;place-items:center;font-size:30px;font-weight:900}.profile-logo img{width:100%;height:100%;object-fit:cover}.profile-meta{flex:1}.profile-meta h1{margin:0 0 5px}.stats{display:flex;gap:20px;color:var(--muted);font-size:13px}.stats b{color:var(--ink)}
.auth-box{max-width:480px;margin:60px auto;background:#fff;border:1px solid var(--line);border-radius:22px;padding:28px;box-shadow:var(--shadow)}.tabs{display:flex;background:#f1f3f8;border-radius:12px;padding:4px;margin-bottom:15px}.tabs button{flex:1;background:transparent;padding:10px;border-radius:9px;font-weight:800}.tabs button.active{background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.06);color:var(--brand)}
.dashboard-shell{display:flex;min-height:100vh;background:#f7f8fc}.dash-side{width:252px;background:#fff;border-right:1px solid #dfe3eb;position:fixed;left:0;top:0;bottom:0;overflow-y:auto;padding:20px 14px 14px;z-index:80}.dash-brand{display:flex;align-items:center;gap:10px;padding:8px 8px 22px;font-size:17px;font-weight:900}.dash-nav-title{font-size:10px;letter-spacing:.12em;font-weight:900;color:#738096;margin:18px 10px 8px}.dash-link{width:100%;display:flex;align-items:center;gap:13px;padding:12px 14px;border-radius:11px;background:transparent;color:#39455b;font-weight:700;font-size:14px;margin:3px 0;text-align:left}.dash-link:hover{background:#f4f3ff}.dash-link.active{background:#e7e4ff;color:#5146e5}.store-mini{margin-top:16px;border:1px solid var(--line);border-radius:14px;padding:12px;display:flex;gap:10px;align-items:center}.store-mini .seller-avatar{width:36px;height:36px}.upgrade{width:100%;margin-top:10px}.dash-main{margin-left:252px;flex:1}.dash-top{height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 36px;position:sticky;top:0;z-index:40}.dash-top h1{font-size:22px;margin:0}.plan-badge{border:1px solid var(--line);border-radius:999px;padding:9px 15px;font-size:11px;font-weight:900;background:#fff}.dash-content{padding:36px}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.metric{background:#fff;border:1px solid var(--line);border-bottom:4px solid var(--brand2);border-radius:17px;padding:18px;min-height:130px}.metric .metric-top{display:flex;justify-content:space-between;color:var(--muted);font-size:11px}.metric h2{font-size:26px;margin:17px 0 4px}.metric.green{border-bottom-color:#18b97d}.metric.orange{border-bottom-color:#f2a619}.metric.pink{border-bottom-color:#e64f9b}.dash-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px;margin-top:18px}.chart{height:240px;display:flex;align-items:flex-end;gap:20px;padding:20px 10px 0}.bar-wrap{flex:1;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:7px}.bar{width:70%;max-width:70px;background:linear-gradient(180deg,#7b73ef,#5146e5);border-radius:9px 9px 0 0;min-height:3px}.bar-label{font-size:10px;color:var(--muted)}.power-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.power{border:1px solid var(--line);background:#fbfcff;border-radius:14px;padding:16px;display:flex;align-items:center;gap:13px}.power .picon{width:42px;height:42px;background:#fff;border-radius:12px;display:grid;place-items:center;box-shadow:0 5px 14px rgba(0,0,0,.06);color:var(--brand);font-size:21px}
.dash-table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff}.dash-table th{background:#f8f9fc;color:#66748b;font-size:11px;letter-spacing:.08em;text-transform:uppercase;text-align:left;padding:14px 16px;border-bottom:1px solid var(--line)}.dash-table td{padding:15px 16px;border-bottom:1px solid var(--line);font-size:13px}.dash-table tr:last-child td{border-bottom:0}.product-row{display:flex;gap:12px;align-items:center}.mini-thumb{width:48px;height:48px;border-radius:11px;overflow:hidden;background:#eef0f6;flex:0 0 auto}.mini-thumb img{width:100%;height:100%;object-fit:cover}.action-row{display:flex;gap:7px}.status{font-size:10px;font-weight:900}.status.success{color:#159f6f;background:#eafaf4;padding:6px 9px;border-radius:999px}.status.pending{color:#a26a00;background:#fff5dc;padding:6px 9px;border-radius:999px}.status.cancelled{color:#333;background:#f2f3f6;padding:6px 9px;border-radius:999px}
/* Semantic label/badge colors — labels only, never action buttons */
.metric-label,.status,.account-badge,.admin-pill{border-radius:999px}
.metric-label{display:inline-flex;align-items:center;gap:5px;padding:6px 10px;font-size:10px;font-weight:900;border:1px solid transparent}
.metric-label.total{background:#eef2ff;color:#4b55b8;border-color:#dfe3ff}
.metric-label.receive{background:#fff4cc;color:#9a6800;border-color:#ffe4a0}
.metric-label.received{background:#e8f9f1;color:#13835d;border-color:#c9efdd}
.metric-label.sales{background:#f1ecff;color:#6553c8;border-color:#e1d9ff}
.status.pending,.account-badge.pending,.admin-pill.warn{background:#fff4cc;color:#9a6800;border-color:#ffe4a0}
.status.success,.account-badge.success,.admin-pill.success{background:#e8f9f1;color:#13835d;border-color:#c9efdd}
.status.cancelled,.account-badge.cancelled,.admin-pill.danger{background:#ffe9ec;color:#c43e4c;border-color:#ffd0d6}
/* Keep left navigation stable while only the content column scrolls */
.dashboard-shell{align-items:stretch}
.dash-side{position:fixed!important;top:0;bottom:0;left:0;height:100vh;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;transform:none!important}
.dash-main{min-width:0}
.admin-shell{align-items:flex-start}
.admin-side{position:sticky!important;top:72px!important;height:calc(100vh - 72px)!important;align-self:flex-start;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;transform:none!important}
.admin-link:hover{transform:none}

.dash-form{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px}.stepper{display:flex;gap:8px;margin-bottom:20px}.step{padding:9px 12px;border-radius:999px;background:#f1f2f7;color:#7c879a;font-size:11px;font-weight:900}.step.active{background:var(--soft);color:var(--brand)}.repeat-row{display:flex;gap:8px;margin-bottom:8px}.repeat-row input{flex:1}.tag-suggest{display:flex;gap:7px;flex-wrap:wrap;margin-top:8px}.tag-suggest button{border:1px dashed #c8c3ff;background:#faf9ff;color:var(--brand);padding:7px 9px;border-radius:9px;font-size:11px;font-weight:800}
.plans{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.plan{background:#fff;border:1px solid var(--line);border-radius:22px;padding:22px;min-height:420px;position:relative}.plan.current{border-color:#8178ee;box-shadow:0 15px 45px rgba(81,70,229,.12)}.popular{position:absolute;right:14px;top:-10px;background:linear-gradient(90deg,#f4a619,#ef5a65);color:#fff;padding:6px 10px;border-radius:999px;font-size:10px;font-weight:900}.plan h2{text-align:center}.plan .plan-price{text-align:center;font-size:24px;font-weight:950;color:var(--brand);margin:12px}.plan ul{list-style:none;padding:0;line-height:2.4;color:#4b566b;font-size:13px}.plan li:before{content:"✓";color:#1ab883;font-weight:900;margin-right:9px}
.ad-table,.ref-grid{display:grid;grid-template-columns:1fr;gap:16px}.ad-banner{background:linear-gradient(135deg,#5146e5,#7068f6);color:#fff;border-radius:20px;padding:28px;display:flex;justify-content:space-between;align-items:center}.ref-top{display:grid;grid-template-columns:1fr 1fr;gap:18px}.ref-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.ref-stat{background:#fff;border:1px solid var(--line);border-radius:17px;padding:18px;border-bottom:4px solid var(--brand)}.settings-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:20px}.logo-upload{width:160px;height:160px;border-radius:20px;overflow:hidden;background:#111a33;display:grid;place-items:center;color:#fff;font-size:40px}.logo-upload img{width:100%;height:100%;object-fit:cover}.dash-form #productPreview{background:#f4f6fb;border:1px solid var(--line);border-radius:16px;overflow:hidden;display:flex;align-items:center;justify-content:center}.dash-form #productPreview img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;display:block}
.account-shell{padding:34px 0 70px}.account-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.account-user{display:flex;align-items:center;gap:15px}.account-avatar{width:52px;height:52px;border-radius:15px;background:#27355f;color:#fff;display:grid;place-items:center;font-weight:900;font-size:22px}.account-layout{display:grid;grid-template-columns:180px 1fr;gap:35px}.account-nav{display:flex;flex-direction:column;gap:5px}.account-nav button{background:#fff;color:#596579;text-align:left;padding:12px 14px;border-radius:11px;font-weight:800;transition:.2s}.account-nav button:hover{background:#f2f1ff;color:var(--brand);transform:translateX(2px)}
@media(min-width:761px){
  .account-layout>.account-nav{
    max-height:calc(100vh - 190px);
    overflow-y:auto;
    overflow-x:hidden;
    scrollbar-width:thin;
    scrollbar-color:rgba(81,70,229,.45) transparent;
    border-radius:18px;
    padding:14px 10px;
    overscroll-behavior:contain;
  }
  .account-layout>.account-nav::-webkit-scrollbar{width:6px}
  .account-layout>.account-nav::-webkit-scrollbar-track{background:transparent}
  .account-layout>.account-nav::-webkit-scrollbar-thumb{
    background:rgba(81,70,229,.45);
    border-radius:999px;
  }
  .account-layout>.account-nav::-webkit-scrollbar-thumb:hover{
    background:rgba(81,70,229,.7);
  }
}
.account-nav button.active{background:linear-gradient(135deg,var(--brand),var(--brand2));color:#fff;box-shadow:0 8px 20px rgba(81,70,229,.18)}.account-panel{background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px;min-height:310px}.account-help{background:linear-gradient(135deg,#202c53,#2c3865);color:#fff;border-radius:20px;padding:22px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.account-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-bottom:20px}.account-stat{border:1px solid var(--line);border-radius:15px;padding:18px;background:#fbfcff}.account-stat b{display:block;font-size:30px;color:#5c55e8}.account-empty{text-align:center;padding:65px 20px}.account-empty .empty-icon{font-size:48px;color:#a79ff2;margin-bottom:12px}.account-order{display:flex;align-items:center;gap:15px;padding:17px 0;border-bottom:1px solid var(--line);cursor:pointer;transition:.18s}.account-order:last-child{border-bottom:0}.account-order:hover{transform:translateX(3px);background:#fafaff}.account-order-main{flex:1}.account-order-price{text-align:right;font-weight:900}.account-badge{font-size:10px;font-weight:900;padding:5px 8px;border-radius:999px}.account-badge.success{color:#159d6d;background:#eaf9f3}.account-badge.pending{color:#a26a00;background:#fff5dc}.account-badge.cancelled{color:#646b79;background:#f0f1f5}.asset-card{display:flex;align-items:center;gap:14px;border:1px solid var(--line);border-radius:15px;padding:13px;margin-bottom:10px;transition:.2s}.asset-card:hover{border-color:#8178ee;box-shadow:0 8px 22px rgba(81,70,229,.08);transform:translateY(-2px)}.asset-card .asset-main{flex:1}.asset-actions{display:flex;gap:7px}.security-row{display:flex;align-items:center;justify-content:space-between;padding:16px 0;border-bottom:1px solid var(--line)}.security-row:last-child{border-bottom:0}@media(max-width:900px){.policy-layout{grid-template-columns:1fr}.policy-sidebar{position:relative;top:auto}.policy-sidebar-list{grid-template-columns:repeat(2,minmax(0,1fr))}.policy-sidebar-foot{display:none}}@media(max-width:760px){.account-layout{grid-template-columns:1fr}.account-nav{display:grid;grid-template-columns:repeat(2,1fr)}.account-help{align-items:flex-start;flex-direction:column}.account-stats{grid-template-columns:1fr}.policy-sidebar-list{grid-template-columns:1fr}.policy-contact-grid{grid-template-columns:1fr}}

@media(max-width:1050px){.grid{grid-template-columns:repeat(3,1fr)}.hero-grid{grid-template-columns:1fr}.metric-grid{grid-template-columns:repeat(2,1fr)}.category-grid{grid-template-columns:repeat(2,1fr)}.plans{grid-template-columns:1fr}.ref-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.topbar{height:auto;padding:10px 0}.nav{flex-wrap:wrap}.logo{min-width:auto}.search{order:3;flex-basis:100%;max-width:none}.hero h1{font-size:38px}.grid{grid-template-columns:repeat(2,1fr)}.market-layout{grid-template-columns:1fr}.sidebar-filter{position:static}.detail-main,.detail-main.ratio-landscape,.detail-main.ratio-portrait,.detail-main.ratio-square{grid-template-columns:1fr}.detail-image,.detail-main.ratio-landscape .detail-image,.detail-main.ratio-portrait .detail-image,.detail-main.ratio-square .detail-image{min-height:300px;max-height:560px}.detail-image img{max-height:560px}.dash-side{width:76px;padding:12px 8px}.dash-brand span,.dash-link span,.dash-nav-title,.store-mini,.upgrade{display:none}.dash-link{justify-content:center;padding:12px}.dash-main{margin-left:76px}.dash-top{padding:0 15px}.dash-content{padding:18px}.metric-grid{grid-template-columns:1fr}.power-grid{grid-template-columns:1fr}.ref-top{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.payment-options{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr}.profile-head{align-items:flex-start;flex-wrap:wrap}.stats{flex-wrap:wrap}.list-view .product-card{display:block}.list-view .product-card .thumb{height:180px}}
@media(max-width:480px){.container{padding:0 15px}.grid{grid-template-columns:1fr}.category-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.hero{padding-top:35px}.hero-actions .btn{width:100%}.dash-top h1{font-size:18px}.dash-top{height:62px}.dash-content{padding:12px}.dash-table{font-size:11px;display:block;overflow-x:auto;white-space:nowrap}.detail-info h1{font-size:27px}}
.save-product{position:absolute;right:58px;bottom:10px;width:40px;height:40px;border-radius:50%;background:#fff;color:#6b7280;box-shadow:0 7px 18px rgba(0,0,0,.12);font-size:22px;transition:.2s;z-index:3}.save-product:hover,.save-product.saved{color:#ef5b67;transform:scale(1.08)}.seller-warning-badge{display:inline-flex;min-width:20px;height:20px;padding:0 6px;border-radius:50%;background:#ef5b67;color:#fff;align-items:center;justify-content:center;font-size:10px;font-weight:900;margin-left:5px}.warning-card{border:1px solid #ffd9dd;background:#fff7f8;border-radius:16px;padding:18px;margin-bottom:14px}.warning-item{padding:14px 0;border-bottom:1px solid #ffdfe2}.warning-item:last-child{border-bottom:0}
/* Admin panel enhancements */
.admin-shell{display:flex;min-height:calc(100vh - 72px);background:linear-gradient(135deg,#f7f8fc,#eef1f8)}
.admin-side{width:270px;background:#0c1326;color:#dbe4ff;position:sticky;top:0;height:calc(100vh - 72px);overflow-y:auto;padding:18px 14px;box-shadow:10px 0 35px rgba(12,19,38,.14);z-index:30}
.admin-brand{display:flex;align-items:center;gap:11px;padding:8px 10px 20px;font-weight:900;font-size:17px}.admin-brand .logo-mark{box-shadow:0 8px 22px rgba(124,105,255,.35)}
.admin-side small{color:#7f8cab}.admin-nav-title{font-size:10px;text-transform:uppercase;letter-spacing:.13em;color:#73809f;font-weight:900;margin:18px 10px 7px}
.admin-link{width:100%;display:flex;align-items:center;gap:11px;border:0;background:transparent;color:#b9c5df;padding:11px 12px;border-radius:12px;margin:3px 0;text-align:left;font-weight:800;cursor:pointer;transition:.22s;position:relative}.admin-link:hover{background:#17213b;color:#fff;transform:translateX(3px);box-shadow:0 8px 18px rgba(0,0,0,.12)}.admin-link.active{background:linear-gradient(135deg,#6558ef,#7d5cff);color:#fff;box-shadow:0 10px 24px rgba(101,88,239,.28)}.admin-link .count{margin-left:auto;min-width:22px;height:22px;border-radius:999px;display:grid;place-items:center;background:#ef5b68;color:#fff;font-size:10px}.admin-main{flex:1;min-width:0}.admin-top{position:sticky;top:72px;z-index:20;background:rgba(255,255,255,.9);backdrop-filter:blur(14px);border-bottom:1px solid #e1e5ef;padding:17px 28px;display:flex;align-items:center;justify-content:space-between;gap:18px}.admin-top h1{margin:0;font-size:24px}.admin-top .admin-search{min-width:260px;max-width:430px;flex:1}.admin-content{padding:26px}.admin-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.admin-kpi{background:#fff;border:1px solid #e0e5ef;border-radius:18px;padding:18px;cursor:pointer;transition:.25s;box-shadow:0 8px 22px rgba(20,30,60,.05)}.admin-kpi:hover{transform:translateY(-4px) scale(1.01);box-shadow:0 18px 34px rgba(20,30,60,.11);border-color:#8b82f5}.admin-kpi .kpi-icon{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;background:#f0edff;font-size:21px}.admin-kpi b{display:block;font-size:28px;margin-top:12px}.admin-kpi span{color:#7a8599;font-size:12px;font-weight:800}.admin-grid2{display:grid;grid-template-columns:1.45fr 1fr;gap:18px;margin-top:18px}.admin-card{background:#fff;border:1px solid #e0e5ef;border-radius:18px;padding:18px;box-shadow:0 8px 24px rgba(20,30,60,.045);transition:.25s}.admin-card:hover{box-shadow:0 16px 34px rgba(20,30,60,.09);transform:translateY(-2px)}.admin-card h2{margin:0 0 5px}.admin-card .sub{color:#7a8599;font-size:12px;margin-bottom:14px}.admin-table{width:100%;border-collapse:collapse}.admin-table th,.admin-table td{padding:13px 10px;border-bottom:1px solid #edf0f5;text-align:left;font-size:12px}.admin-table th{color:#758198;font-size:10px;text-transform:uppercase;letter-spacing:.07em}.admin-table tr.data-row{cursor:pointer;transition:.18s}.admin-table tr.data-row:hover{background:#f8f8ff;transform:translateX(2px)}.admin-pill{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:5px 9px;font-size:10px;font-weight:900;background:#eef1f6;color:#596579}.admin-pill.success{background:#e8faf2;color:#12865e}.admin-pill.warn{background:#fff4d8;color:#a56a00}.admin-pill.danger{background:#ffebed;color:#c63c4a}.admin-actions{display:flex;gap:7px;flex-wrap:wrap}.admin-detail{display:grid;grid-template-columns:1fr 1fr;gap:18px}.admin-detail-box{background:#fff;border:1px solid #e0e5ef;border-radius:18px;padding:18px;box-shadow:0 8px 24px rgba(20,30,60,.045)}.admin-stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.admin-stat{padding:13px;border:1px solid #e7eaf1;border-radius:13px;background:#fafbfe}.admin-stat b{font-size:20px;display:block}.admin-back{margin-bottom:16px}.admin-empty{text-align:center;padding:45px 20px;color:#7a8599}.admin-product-preview{display:grid;grid-template-columns:150px 1fr;gap:18px}.admin-product-preview img{width:150px;height:120px;object-fit:cover;border-radius:14px}.admin-confirm-bg{position:fixed;inset:0;background:rgba(5,10,24,.62);display:grid;place-items:center;z-index:999}.admin-confirm{width:min(470px,calc(100vw - 30px));background:#fff;border-radius:20px;padding:23px;box-shadow:0 30px 80px rgba(0,0,0,.3);animation:adminPop .2s ease}@keyframes adminPop{from{opacity:0;transform:scale(.96) translateY(8px)}to{opacity:1;transform:scale(1) translateY(0)}}
.payment-modal-wide{width:min(1050px,calc(100vw - 28px));padding:0;overflow:hidden}.payment-layout{display:grid;grid-template-columns:340px 1fr;min-height:560px;background:#eef1f7}.payment-left{background:#fff;border-right:1px solid #e1e4ec;padding:24px 18px;display:flex;flex-direction:column}.payment-left-title{display:flex;align-items:center;gap:10px;font-weight:900;margin-bottom:25px}.payment-total{border:1px solid #e2e5ec;border-radius:15px;padding:15px 16px;display:flex;align-items:center;justify-content:space-between;font-size:18px;font-weight:900}.payment-methods{margin-top:28px}.payment-methods h4{font-size:12px;color:#20283a;margin:0 0 8px}.pay-opt{width:100%;border:0;background:transparent;border-radius:12px;padding:14px;text-align:left;display:flex;align-items:center;gap:12px;font-weight:800;color:#30394d;cursor:pointer;transition:.2s}.pay-opt:hover{background:#f3f5fb;transform:translateX(2px)}.pay-opt.active{background:#dce4f6;box-shadow:inset 3px 0 #5146e5}.payment-right{padding:20px 18px;position:relative}.payment-right-inner{background:#fff;border-radius:18px;height:100%;padding:22px;overflow:auto}.payment-qr{text-align:center;padding:18px}.payment-qr img{width:270px;height:270px;max-width:75%;border-radius:8px;border:1px solid #e6e8ee}.payment-expire{display:inline-block;background:#edf0f4;border-radius:999px;padding:9px 13px;font-size:12px;color:#667085;margin-top:12px}.payment-footer-time{position:absolute;right:18px;bottom:18px;background:#fff0df;color:#8b5a19;border-radius:999px;padding:9px 13px;font-size:11px;font-weight:800}@media(max-width:900px){.admin-side{width:82px}.admin-brand span:not(.logo-mark),.admin-nav-title,.admin-link span.label,.admin-link .count{display:none}.admin-link{justify-content:center}.admin-main{margin-left:0}.admin-kpis{grid-template-columns:repeat(2,1fr)}.admin-grid2,.admin-detail{grid-template-columns:1fr}.payment-layout{grid-template-columns:1fr}.payment-left{border-right:0;border-bottom:1px solid #e1e4ec}.payment-right{min-height:430px}}@media(max-width:600px){.admin-top{top:0;padding:13px 14px}.admin-top .admin-search{display:none}.admin-content{padding:14px}.admin-kpis{grid-template-columns:1fr}.admin-side{position:fixed;top:0;height:100vh}.admin-table{min-width:760px}.admin-card{overflow:auto}.payment-left{padding:18px}.payment-right{padding:12px}.payment-right-inner{padding:12px}}

/* Per-user theme preferences */
:root[data-theme="dark"] body{background:#080d1b;color:#e8ecf7}:root[data-theme="dark"] .topbar,:root[data-theme="dark"] .card,:root[data-theme="dark"] .product-card,:root[data-theme="dark"] .dash-card,:root[data-theme="dark"] .metric,:root[data-theme="dark"] .account-panel,:root[data-theme="dark"] .account-profile-card,:root[data-theme="dark"] .asset-card,:root[data-theme="dark"] .auth-box,:root[data-theme="dark"] .modal,:root[data-theme="dark"] .admin-card,:root[data-theme="dark"] .admin-kpi,:root[data-theme="dark"] .admin-detail-box{background:#11192c!important;color:#e8ecf7;border-color:#27324a}:root[data-theme="dark"] .muted,:root[data-theme="dark"] .small{color:#9ba8c1}:root[data-theme="dark"] .btn{background:#151e33;color:#e8ecf7;border-color:#2d3851}:root[data-theme="dark"] .field input,:root[data-theme="dark"] .field textarea,:root[data-theme="dark"] .field select,:root[data-theme="dark"] .input{background:#0d1425;color:#e8ecf7;border-color:#2d3851}:root[data-theme="dark"] .footer{background:#060b16}:root[data-theme="dark"] .account-nav button{background:#11192c;color:#bac5dc}:root[data-theme="dark"] .admin-top{background:rgba(10,15,29,.9);border-color:#27324a;color:#e8ecf7}:root[data-theme="dark"] .admin-shell{background:#080d1b}:root[data-theme="dark"] .admin-table th,:root[data-theme="dark"] .admin-table td{border-color:#27324a}:root[data-theme="dark"] .admin-table tr.data-row:hover{background:#151e33}:root[data-theme="dark"] .payment-layout{background:#0d1425}:root[data-theme="dark"] .payment-left,:root[data-theme="dark"] .payment-right-inner{background:#11192c;color:#e8ecf7;border-color:#27324a}:root[data-theme="dark"] .payment-total{border-color:#2d3851}:root[data-theme="dark"] .pay-opt{color:#dce4f5}:root[data-theme="dark"] .pay-opt:hover{background:#18223a}:root[data-theme="dark"] .pay-opt.active{background:#242d49}

/* Theme system v2: complete Light/Dark surfaces */
:root[data-theme="light"]{
  --ink:#101a33;--muted:#748096;--line:#e4e8f0;--bg:#f7f8fc;--card:#ffffff;
  --soft:#eeecff;--input:#fafbfe;--surface:#ffffff;--surface2:#f4f6fb;
  color-scheme:light;
}
:root[data-theme="dark"]{
  --ink:#eef3ff;--muted:#9aa8c1;--line:#26334d;--bg:#070c18;--card:#10182a;
  --soft:#241e4d;--input:#0b1324;--surface:#10182a;--surface2:#151f34;
  color-scheme:dark;
}
html,body,#app{transition:background-color .28s ease,color .28s ease}
body{background:var(--bg);color:var(--ink)}
.topbar,.card,.product-card,.dash-card,.metric,.account-panel,.account-profile-card,.asset-card,.auth-box,.modal,.sidebar-filter,.detail-main,.review-box,.bundle-box,.category-card,.faq,.account-nav,.security-box,.profile-card,.order-card,.library-card,.store-card,.stat-card,.setting-card{background:var(--surface);color:var(--ink);border-color:var(--line)}
.field input,.field textarea,.field select,.input,.search input,.searchbox input{background:var(--input);color:var(--ink);border-color:var(--line)}
.btn,.pill,.view-toggle button,.faq button{background:var(--surface);color:var(--ink);border-color:var(--line)}
.btn:hover,.pill:hover{border-color:#8b82f5}
.tag{background:var(--soft);color:var(--brand)}
.hero{background:radial-gradient(circle at 80% 20%,rgba(122,108,255,.20) 0,transparent 32%),linear-gradient(180deg,var(--surface) 0,var(--bg) 100%)}
.pick-card{background:var(--surface);color:var(--ink)}
.market-tools .searchbox,.searchbox{color:var(--ink)}
.filter-cat.active,.filter-cat:hover,.view-toggle button.active{background:var(--soft);color:var(--brand)}
.detail-image,.thumb{background:var(--surface2)}
.footer{background:#0b1222;color:#fff}
/* Dark mode: deliberately dark everywhere, including secondary surfaces */
:root[data-theme="dark"] .topbar{background:#090f1d!important;border-color:#202d46}
:root[data-theme="dark"] .nav-actions .btn{background:#10182a!important}
:root[data-theme="dark"] .search input{background:#0c1425!important;border-color:#26334d;color:#eef3ff}
:root[data-theme="dark"] .hero{background:radial-gradient(circle at 78% 18%,rgba(101,82,235,.22),transparent 34%),linear-gradient(180deg,#0b1120 0,#070c18 100%)}
:root[data-theme="dark"] .ad-strip{background:#050a14}
:root[data-theme="dark"] .ad-card{background:#111b30;border-color:#2a3752}
:root[data-theme="dark"] .sidebar-filter{background:#0e1628!important}
:root[data-theme="dark"] .product-card:hover,.product-card:hover{box-shadow:0 18px 38px rgba(0,0,0,.22)}
:root[data-theme="dark"] .faq button{background:#10182a;color:#eef3ff}
:root[data-theme="dark"] .faq-content,.faq-content{color:var(--muted)}
:root[data-theme="dark"] .account-nav button{background:#10182a!important;color:#cbd5ea;border-color:#26334d}
:root[data-theme="dark"] .account-nav button.active{background:linear-gradient(135deg,#5f51e8,#7b61ff)!important;color:#fff}
:root[data-theme="dark"] .field label{color:#dbe4f5}
:root[data-theme="dark"] .field input:focus,:root[data-theme="dark"] .field textarea:focus,:root[data-theme="dark"] .field select:focus{border-color:#7769f4;box-shadow:0 0 0 3px rgba(119,105,244,.16)}
:root[data-theme="dark"] .tabs{background:#0d1425!important}:root[data-theme="dark"] .tabs button{color:#9ba8c1}:root[data-theme="dark"] .tabs button.active{background:#1c2740!important;color:#fff!important;box-shadow:none}
:root[data-theme="dark"] .security-row,:root[data-theme="dark"] .order-row,:root[data-theme="dark"] .activity-row{border-color:#26334d}
:root[data-theme="dark"] .pick-card,:root[data-theme="dark"] .category-card,:root[data-theme="dark"] .detail-main,:root[data-theme="dark"] .review-box,:root[data-theme="dark"] .bundle-box,:root[data-theme="dark"] .success-card,:root[data-theme="dark"] .sales-seller-card,:root[data-theme="dark"] .warning-card,:root[data-theme="dark"] 
:root[data-theme="dark"] .thumb,:root[data-theme="dark"] .detail-image,:root[data-theme="dark"] .badge-stage{background:#1c2740!important}
:root[data-theme="dark"] .faq button,:root[data-theme="dark"] .faq{background:#11192c!important;color:#e8ecf7;border-color:#27324a!important}
:root[data-theme="dark"] .faq-content{color:#9ba8c1}
:root[data-theme="dark"] .category-card h3,:root[data-theme="dark"] .pick-card h4,:root[data-theme="dark"] .detail-info h1,:root[data-theme="dark"] .success-card h2{color:#e8ecf7}
:root[data-theme="dark"] .link-box,:root[data-theme="dark"] .char-count{color:#9ba8c1}
:root[data-theme="dark"] 
:root[data-theme="dark"] .old{color:#5f6b85}
:root[data-theme="dark"] .warning-message.seller-message{background:#151e33!important;border-color:#27324a!important}
:root[data-theme="dark"] .warning-message.admin-reply{background:#1c2740!important;border-color:#27324a!important}
:root[data-theme="dark"] .meet-seller-search input{background:#0d1425!important;border-color:#2d3851!important;color:#e8ecf7}
/* Admin panel always follows the polished dark dashboard visual */
.admin-shell{background:#080d1b!important;color:#e8ecf7}
.admin-side{background:linear-gradient(180deg,#0b1222 0%,#0a1020 100%)!important;border-right:1px solid #202d46;scrollbar-width:thin}
.admin-main{background:#080d1b}
.admin-top{background:rgba(9,15,29,.94)!important;border-color:#202d46!important;color:#eef3ff}
.admin-top h1{color:#f5f7ff}
.admin-content{background:#080d1b}
.admin-card,.admin-kpi,.admin-detail-box{background:linear-gradient(180deg,#111a2c,#0f1728)!important;border-color:#26334d!important;color:#e8ecf7}
.admin-card .sub,.admin-empty,.admin-kpi span,.admin-table th,.admin-stat .small{color:#8f9db7!important}
.admin-kpi .kpi-icon{background:#211d48;color:#b9b0ff}
.admin-stat{background:#0c1425;border-color:#26334d}
.admin-table th,.admin-table td{border-color:#26334d!important}
.admin-table tr.data-row:hover{background:#18233b!important}
.admin-confirm{background:#111a2c!important;color:#eef3ff;border:1px solid #2a3854}
.admin-search{background:#0d1527!important;color:#eef3ff!important;border-color:#2a3854!important}
.admin-side::-webkit-scrollbar{width:8px}.admin-side::-webkit-scrollbar-track{background:#090f1c}.admin-side::-webkit-scrollbar-thumb{background:#293752;border-radius:99px}
.admin-link{transition:transform .22s ease,background .22s ease,box-shadow .22s ease,color .22s ease}
.admin-link:hover{background:#17233c!important}
.admin-link.active{background:linear-gradient(135deg,#6255ee,#7b61ff)!important}
.admin-kpi:hover{transform:translateY(-5px) scale(1.012)!important;box-shadow:0 20px 40px rgba(0,0,0,.28)!important}
.admin-card:hover,.admin-detail-box:hover{box-shadow:0 18px 40px rgba(0,0,0,.22)!important}
.admin-actions .btn,.admin-top .btn{background:#151f34;color:#eef3ff;border-color:#2a3854}
.admin-actions .btn.primary,.admin-top .btn.primary{background:linear-gradient(135deg,#6255ee,#7b61ff);color:#fff;border-color:transparent}
.admin-actions .btn.danger{background:#28151b;color:#ff8995;border-color:#56303a}

/* Universal dashboard interaction polish: clear boundaries + subtle lift/zoom */
.dash-content .dash-card,
.dash-content .metric,
.dash-content .power,
.dash-content .dash-form,
.dash-content .dash-table,
.dash-content .stat-card,
.dash-content .setting-card,
.dash-content .security-box,
.dash-content .order-card,
.dash-content .library-card,
.dash-content .store-card,
.dash-content .account-panel,
.dash-content .account-profile-card,
.dash-content .profile-card,
.dash-content .ref-card,
.dash-content .ad-card,
.dash-content .payment-card,
.dash-content .balance-card,
.dash-content .history-card,
.dash-content .warning-card,
.dash-content .service-card,
.dash-content .summary-card,
.dash-content .earning-card,
.dash-content .payout-card,
.dash-content .product-row,
.dash-content .action-row .btn,
.dash-content .field input,
.dash-content .field textarea,
.dash-content .field select,
.dash-content .input,
.dash-content .repeat-row input,
.dash-content .searchbox input,
.dash-content .dash-link,
.dash-content .btn,
.dash-content button,
.dash-content .pill,
.dash-content .tag,
.dash-content .status,
.dash-content .step {
  transition: transform .20s ease, border-color .20s ease, box-shadow .20s ease, background-color .20s ease;
}

/* Small dashboard columns/cards should react independently, not only the outer panel. */
.dash-content .metric:hover,
.dash-content .power:hover,
.dash-content .stat-card:hover,
.dash-content .setting-card:hover,
.dash-content .security-box:hover,
.dash-content .order-card:hover,
.dash-content .library-card:hover,
.dash-content .store-card:hover,
.dash-content .account-panel:hover,
.dash-content .account-profile-card:hover,
.dash-content .profile-card:hover,
.dash-content .ref-card:hover,
.dash-content .ad-card:hover,
.dash-content .payment-card:hover,
.dash-content .balance-card:hover,
.dash-content .history-card:hover,
.dash-content .warning-card:hover,
.dash-content .service-card:hover,
.dash-content .summary-card:hover,
.dash-content .earning-card:hover,
.dash-content .payout-card:hover {
  transform: translateY(-3px) scale(1.008);
  border-color: #8176f2 !important;
  box-shadow: 0 12px 28px rgba(81,70,229,.12);
}

/* Keep the main panel calm while giving its inner blocks their own boundary. */
.dash-content .dash-card:hover,
.dash-content .dash-form:hover {
  border-color: #a39cf5;
  box-shadow: 0 10px 26px rgba(81,70,229,.08);
}

/* Form controls: boundary appears as soon as the pointer enters; focus is stronger. */
.dash-content .field input:hover,
.dash-content .field textarea:hover,
.dash-content .field select:hover,
.dash-content .input:hover,
.dash-content .repeat-row input:hover,
.dash-content .searchbox input:hover {
  border-color: #8b82f5 !important;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(81,70,229,.08);
}

.dash-content .field input:focus,
.dash-content .field textarea:focus,
.dash-content .field select:focus,
.dash-content .input:focus,
.dash-content .repeat-row input:focus,
.dash-content .searchbox input:focus {
  border-color: #6f63ea !important;
  transform: translateY(-1px);
  box-shadow: 0 0 0 3px rgba(111,99,234,.14), 0 7px 18px rgba(81,70,229,.10) !important;
}

/* Buttons/chips get a small, clean zoom instead of a heavy glow. */
.dash-content .btn:hover,
.dash-content button:hover,
.dash-content .pill:hover,
.dash-content .tag:hover,
.dash-content .step:hover {
  transform: translateY(-2px) scale(1.018);
  border-color: #8176f2 !important;
}

.dash-content .btn:active,
.dash-content button:active {
  transform: translateY(0) scale(.985);
}

/* Table columns/cells: clear vertical boundaries and row hover. */
.dash-content .dash-table th,
.dash-content .dash-table td {
  border-right: 1px solid var(--line);
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.dash-content .dash-table th:last-child,
.dash-content .dash-table td:last-child { border-right: 0; }
.dash-content .dash-table tbody tr:hover td {
  background: rgba(129,118,242,.045);
  border-color: #b9b3f8;
}
.dash-content .dash-table td:hover {
  background: rgba(129,118,242,.08);
  border-right-color: #8176f2;
}

/* Action icons / compact controls should have their own hit-area boundary. */
.dash-content .action-row .btn,
.dash-content .iconbtn,
.dash-content .view-toggle button,
.dash-content .dash-link {
  border: 1px solid var(--line) !important;
}
.dash-content .action-row .btn:hover,
.dash-content .iconbtn:hover,
.dash-content .view-toggle button:hover,
.dash-content .dash-link:hover {
  transform: translateY(-2px) scale(1.025);
  border-color: #8176f2 !important;
  box-shadow: 0 8px 18px rgba(81,70,229,.10);
}

/* Dark theme: same motion, with crisp dark boundaries and no white glow. */
:root[data-theme="dark"] .dash-content .metric:hover,
:root[data-theme="dark"] .dash-content .power:hover,
:root[data-theme="dark"] .dash-content .stat-card:hover,
:root[data-theme="dark"] .dash-content .setting-card:hover,
:root[data-theme="dark"] .dash-content .security-box:hover,
:root[data-theme="dark"] .dash-content .order-card:hover,
:root[data-theme="dark"] .dash-content .library-card:hover,
:root[data-theme="dark"] .dash-content .store-card:hover,
:root[data-theme="dark"] .dash-content .account-panel:hover,
:root[data-theme="dark"] .dash-content .account-profile-card:hover,
:root[data-theme="dark"] .dash-content .profile-card:hover,
:root[data-theme="dark"] .dash-content .ref-card:hover,
:root[data-theme="dark"] .dash-content .ad-card:hover,
:root[data-theme="dark"] .dash-content .payment-card:hover,
:root[data-theme="dark"] .dash-content .balance-card:hover,
:root[data-theme="dark"] .dash-content .history-card:hover,
:root[data-theme="dark"] .dash-content .warning-card:hover,
:root[data-theme="dark"] .dash-content .service-card:hover,
:root[data-theme="dark"] .dash-content .summary-card:hover,
:root[data-theme="dark"] .dash-content .earning-card:hover,
:root[data-theme="dark"] .dash-content .payout-card:hover {
  border-color: #7769f4 !important;
  box-shadow: 0 14px 30px rgba(0,0,0,.22), 0 0 0 1px rgba(119,105,244,.08);
}

:root[data-theme="dark"] .dash-content .field input:hover,
:root[data-theme="dark"] .dash-content .field textarea:hover,
:root[data-theme="dark"] .dash-content .field select:hover,
:root[data-theme="dark"] .dash-content .input:hover,
:root[data-theme="dark"] .dash-content .repeat-row input:hover,
:root[data-theme="dark"] .dash-content .searchbox input:hover {
  border-color: #7769f4 !important;
  box-shadow: 0 6px 16px rgba(0,0,0,.22);
}

:root[data-theme="dark"] .dash-content .dash-table tbody tr:hover td {
  background: rgba(119,105,244,.07);
  border-color: #39456a;
}

@media (prefers-reduced-motion: reduce) {
  .dash-content .dash-card,
  .dash-content .metric,
  .dash-content .power,
  .dash-content .dash-form,
  .dash-content button,
  .dash-content .btn,
  .dash-content input,
  .dash-content textarea,
  .dash-content select,
  .dash-content .dash-table th,
  .dash-content .dash-table td { transition: none !important; }
}

/* Appearance chooser */
.appearance-choice{position:relative;text-align:left;min-height:145px;overflow:hidden}
.appearance-choice .theme-preview{height:58px;border-radius:12px;margin-top:12px;border:1px solid var(--line);display:flex;gap:6px;padding:8px;align-items:flex-end}
.appearance-choice .theme-preview i{display:block;border-radius:5px;height:12px;flex:1;background:#d7ddea}
.appearance-choice.active{border-color:#786cf4!important;box-shadow:0 0 0 2px rgba(120,108,244,.16),0 18px 34px rgba(60,50,150,.12)}
.appearance-choice.active:after{content:'✓';position:absolute;right:12px;top:12px;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#6b5bf0;color:#fff;font-weight:900}
:root[data-theme="dark"] .appearance-choice .theme-preview{border-color:#2a3854;background:#0b1324}
:root[data-theme="dark"] .appearance-choice .theme-preview i{background:#26344e}
:root[data-theme="dark"] .appearance-choice{background:#111a2c!important}


/* FINAL THEME + ADMIN POLISH */
:root[data-theme="light"] body{background:#f7f8fc;color:#1d2433}
:root[data-theme="light"] .dashboard-shell{background:#f6f7fb}
:root[data-theme="light"] .dash-side{background:#fff;border-color:#e3e7ef;box-shadow:8px 0 28px rgba(30,40,70,.04)}
:root[data-theme="light"] .dash-top{background:rgba(255,255,255,.94);border-color:#e3e7ef;backdrop-filter:blur(14px)}
:root[data-theme="light"] .metric,:root[data-theme="light"] .dash-card,:root[data-theme="light"] .dash-form,:root[data-theme="light"] .power,:root[data-theme="light"] .plan,:root[data-theme="light"] .settings-card{background:#fff;color:#1d2433}
:root[data-theme="light"] .dash-table{background:#fff;color:#1d2433}
:root[data-theme="light"] .dash-table th{background:#f7f8fc;color:#657189}
:root[data-theme="light"] .account-panel,:root[data-theme="light"] .account-stat,:root[data-theme="light"] .asset-card{background:#fff;color:#1d2433}
:root[data-theme="light"] .account-nav button{background:#fff;color:#596579;border:1px solid #e5e8ef}

:root[data-theme="dark"] body{background:#070b16!important;color:#eaf0ff!important}
:root[data-theme="dark"] .dashboard-shell{background:#070b16!important;color:#eaf0ff}
:root[data-theme="dark"] .dash-side{background:#0b1221!important;border-color:#202d45!important;box-shadow:10px 0 30px rgba(0,0,0,.22)}
:root[data-theme="dark"] .dash-brand{color:#f5f7ff}
:root[data-theme="dark"] .dash-nav-title{color:#7887a2}
:root[data-theme="dark"] .dash-link{color:#aebbd2!important}
:root[data-theme="dark"] .dash-link:hover{background:#141f34!important;color:#fff!important;box-shadow:0 8px 20px rgba(0,0,0,.18)}
:root[data-theme="dark"] .dash-link.active{background:linear-gradient(135deg,#5e52e8,#765cf5)!important;color:#fff!important;box-shadow:0 10px 25px rgba(91,78,220,.28)}
:root[data-theme="dark"] .store-mini{background:#10192b!important;border-color:#263650!important}
:root[data-theme="dark"] .dash-top{background:rgba(8,14,27,.96)!important;border-color:#202d45!important;color:#f5f7ff;box-shadow:0 8px 25px rgba(0,0,0,.18)}
:root[data-theme="dark"] .dash-top h1{color:#f7f9ff}
:root[data-theme="dark"] .plan-badge{background:#111b2e!important;color:#dce5f7!important;border-color:#2b3a56!important}
:root[data-theme="dark"] .metric,:root[data-theme="dark"] .dash-card,:root[data-theme="dark"] .dash-form,:root[data-theme="dark"] .power,:root[data-theme="dark"] .plan,:root[data-theme="dark"] .settings-card{background:#10192b!important;color:#eaf0ff!important;border-color:#273750!important;box-shadow:0 10px 28px rgba(0,0,0,.18)}
:root[data-theme="dark"] .metric:hover,:root[data-theme="dark"] .dash-card:hover,:root[data-theme="dark"] .power:hover,:root[data-theme="dark"] .plan:hover{border-color:#6258e8!important;box-shadow:0 18px 36px rgba(0,0,0,.3)}
:root[data-theme="dark"] .power{background:#0f182a!important}
:root[data-theme="dark"] .power .picon{background:#18243a!important;color:#a9a1ff;box-shadow:none}
:root[data-theme="dark"] .dash-table{background:#0f182a!important;color:#eaf0ff;border-color:#273750!important}
:root[data-theme="dark"] .dash-table th{background:#0b1322!important;color:#8796b0;border-color:#273750!important}
:root[data-theme="dark"] .dash-table td{border-color:#24334c!important;color:#dce5f5}
:root[data-theme="dark"] .dash-table tr:hover td{background:#151f34!important}
:root[data-theme="dark"] .dash-form input,:root[data-theme="dark"] .dash-form textarea,:root[data-theme="dark"] .dash-form select,:root[data-theme="dark"] .settings-card input,:root[data-theme="dark"] .settings-card textarea,:root[data-theme="dark"] .settings-card select{background:#0a1221!important;color:#edf2ff!important;border-color:#293955!important}
:root[data-theme="dark"] .account-panel,:root[data-theme="dark"] .account-stat,:root[data-theme="dark"] .asset-card{background:#10192b!important;color:#eaf0ff!important;border-color:#273750!important}
:root[data-theme="dark"] .account-nav button{background:#10192b!important;color:#aebbd2!important;border-color:#273750!important}
:root[data-theme="dark"] .account-nav button:hover{background:#18243a!important;color:#fff!important}
:root[data-theme="dark"] .account-order:hover{background:#151f34!important}
:root[data-theme="dark"] .ref-stat{background:#10192b!important;color:#eaf0ff;border-color:#273750}
:root[data-theme="dark"] .tag-suggest button{background:#111a2d;color:#aaa2ff;border-color:#3a3d70}
:root[data-theme="dark"] .step{background:#18243a;color:#95a3bb}
:root[data-theme="dark"] .step.active{background:#25264c;color:#b8b1ff}

/* Admin dashboard: fixed header + premium dark visual system */
.admin-shell{background:#f5f7fb!important;color:#1d2433}
.admin-side{width:255px;position:fixed;left:0;top:72px;bottom:0;overflow-y:auto;overflow-x:hidden;padding:18px 13px 28px;background:#0b1221!important;border-right:1px solid #202d45;z-index:60;box-shadow:10px 0 28px rgba(0,0,0,.08)}
.admin-brand{position:sticky;top:0;z-index:2;background:#0b1221;padding:8px 8px 20px;color:#f7f9ff}
.admin-nav-title{color:#74839d!important}
.admin-main{margin-left:255px}
.admin-top{position:sticky!important;top:72px!important;height:76px;box-sizing:border-box;background:rgba(255,255,255,.96)!important;backdrop-filter:blur(16px);border-bottom:1px solid #e1e6ef!important;z-index:55;box-shadow:0 6px 22px rgba(20,30,60,.05)}
.admin-content{min-height:calc(100vh - 148px)}
.admin-kpi,.admin-card,.admin-detail-box{border-radius:18px;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.admin-kpi:hover,.admin-card:hover,.admin-detail-box:hover{transform:translateY(-3px);box-shadow:0 18px 38px rgba(20,30,60,.10)}
.admin-link{transition:all .2s ease}
.admin-link:active,.admin-top .btn:active,.admin-card .btn:active{transform:scale(.97)}
:root[data-theme="dark"] .admin-shell{background:#070b16!important;color:#eaf0ff}
:root[data-theme="dark"] .admin-side{background:#0a1120!important;border-color:#202d45!important;box-shadow:10px 0 32px rgba(0,0,0,.28)}
:root[data-theme="dark"] .admin-brand{background:#0a1120!important;color:#f7f9ff}
:root[data-theme="dark"] .admin-top{background:rgba(8,14,27,.97)!important;border-color:#202d45!important;color:#f2f6ff;box-shadow:0 8px 28px rgba(0,0,0,.25)}
:root[data-theme="dark"] .admin-top h1{color:#f7f9ff}
:root[data-theme="dark"] .admin-kpi,:root[data-theme="dark"] .admin-card,:root[data-theme="dark"] .admin-detail-box{background:#10192b!important;color:#eaf0ff!important;border-color:#273750!important;box-shadow:0 10px 28px rgba(0,0,0,.18)}
:root[data-theme="dark"] .admin-kpi:hover,:root[data-theme="dark"] .admin-card:hover,:root[data-theme="dark"] .admin-detail-box:hover{box-shadow:0 20px 42px rgba(0,0,0,.32);border-color:#6258e8!important}
:root[data-theme="dark"] .admin-table th{background:#0b1322;color:#8796b0}
:root[data-theme="dark"] .admin-table td{color:#dce5f5;border-color:#273750}
:root[data-theme="dark"] .admin-table tr.data-row:hover{background:#151f34}
:root[data-theme="dark"] .admin-stat{background:#0c1525;border-color:#273750;color:#eaf0ff}
:root[data-theme="dark"] .admin-search{background:#0c1425!important;color:#eef3ff!important;border-color:#293955!important}
:root[data-theme="dark"] .admin-actions .btn,:root[data-theme="dark"] .admin-top .btn{background:#151f34;color:#eef3ff;border-color:#2a3955}

@media(max-width:900px){.admin-side{width:82px}.admin-main{margin-left:82px}.admin-brand span:not(.logo-mark),.admin-nav-title,.admin-link span.label,.admin-link .count{display:none}.admin-link{justify-content:center}.admin-top{top:72px!important}}
@media(max-width:600px){.admin-side{top:0;width:72px}.admin-main{margin-left:72px}.admin-top{top:0!important;height:66px;padding:12px 14px}.admin-content{padding:18px 12px}.admin-top h1{font-size:18px}}


/* FINAL GLOBAL THEME FIXES */
:root{--radius:18px}
*,*::before,*::after{box-sizing:border-box}
button,.btn,input,textarea,select,.card,.product-card,.detail-main,.detail-image,.profile-head,.profile-card,.seller-card,.seller-box,.faq,.modal,.auth-box,.account-panel,.account-profile-card,.asset-card,.account-stat,.security-box,.order-card,.library-card,.store-card,.stat-card,.setting-card,.dash-card,.metric,.dash-form,.power,.plan,.settings-card,.admin-card,.admin-kpi,.admin-detail-box,.admin-confirm,.admin-search,.payment-left,.payment-right-inner,.payment-total,.pay-opt,.category-card,.sidebar-filter{border-radius:var(--radius)}
button,.btn,.product-card,.card,.metric,.dash-card,.admin-card,.admin-kpi,.admin-detail-box,.asset-card,.account-order,.admin-link,.category-card,.pay-opt{transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease,background-color .2s ease,color .2s ease}
button:hover,.btn:hover{transform:translateY(-1px)}button:active,.btn:active{transform:translateY(0) scale(.98)}
:root[data-theme="light"] body{background:#f6f8fc!important;color:#172033!important}
:root[data-theme="light"] .topbar,:root[data-theme="light"] .card,:root[data-theme="light"] .product-card,:root[data-theme="light"] .detail-main,:root[data-theme="light"] .profile-head,:root[data-theme="light"] .profile-card,:root[data-theme="light"] .seller-card,:root[data-theme="light"] .seller-box,:root[data-theme="light"] .account-panel,:root[data-theme="light"] .account-profile-card,:root[data-theme="light"] .asset-card,:root[data-theme="light"] .account-stat,:root[data-theme="light"] .dash-card,:root[data-theme="light"] .metric,:root[data-theme="light"] .power,:root[data-theme="light"] .plan,:root[data-theme="light"] .settings-card,:root[data-theme="light"] .admin-card,:root[data-theme="light"] .admin-kpi,:root[data-theme="light"] .admin-detail-box,:root[data-theme="light"] .faq{background:#fff!important;color:#172033!important;border-color:#e3e8f1!important}
:root[data-theme="light"] .field input,:root[data-theme="light"] .field textarea,:root[data-theme="light"] .field select,:root[data-theme="light"] .search input,:root[data-theme="light"] .searchbox input,:root[data-theme="light"] .admin-search{background:#fbfcff!important;color:#172033!important;border-color:#dfe5ef!important}
:root[data-theme="light"] .muted,:root[data-theme="light"] .small,:root[data-theme="light"] .seller-sales{color:#718096!important}
:root[data-theme="dark"] body{background:#060a14!important;color:#edf3ff!important}
:root[data-theme="dark"] main{background:#060a14!important}
:root[data-theme="dark"] .topbar,:root[data-theme="dark"] .card,:root[data-theme="dark"] .product-card,:root[data-theme="dark"] .detail-main,:root[data-theme="dark"] .profile-head,:root[data-theme="dark"] .profile-card,:root[data-theme="dark"] .seller-card,:root[data-theme="dark"] .seller-box,:root[data-theme="dark"] .account-panel,:root[data-theme="dark"] .account-profile-card,:root[data-theme="dark"] .asset-card,:root[data-theme="dark"] .account-stat,:root[data-theme="dark"] .security-box,:root[data-theme="dark"] .order-card,:root[data-theme="dark"] .library-card,:root[data-theme="dark"] .store-card,:root[data-theme="dark"] .stat-card,:root[data-theme="dark"] .setting-card,:root[data-theme="dark"] .dash-card,:root[data-theme="dark"] .metric,:root[data-theme="dark"] .dash-form,:root[data-theme="dark"] .power,:root[data-theme="dark"] .plan,:root[data-theme="dark"] .settings-card,:root[data-theme="dark"] .admin-card,:root[data-theme="dark"] .admin-kpi,:root[data-theme="dark"] .admin-detail-box,:root[data-theme="dark"] .faq{background:#101827!important;color:#edf3ff!important;border-color:#263650!important}
:root[data-theme="dark"] .detail-image,:root[data-theme="dark"] .thumb,:root[data-theme="dark"] .sidebar-filter{background:#0c1322!important}
:root[data-theme="dark"] .field input,:root[data-theme="dark"] .field textarea,:root[data-theme="dark"] .field select,:root[data-theme="dark"] .input,:root[data-theme="dark"] .search input,:root[data-theme="dark"] .searchbox input,:root[data-theme="dark"] .admin-search{background:#080f1d!important;color:#f0f5ff!important;border-color:#2a3b59!important}
:root[data-theme="dark"] .field label,:root[data-theme="dark"] .detail-info h1,:root[data-theme="dark"] .detail-info h2,:root[data-theme="dark"] .profile-meta h1,:root[data-theme="dark"] .profile-meta h2,:root[data-theme="dark"] .admin-card h2{color:#f5f8ff!important}
:root[data-theme="dark"] .muted,:root[data-theme="dark"] .small,:root[data-theme="dark"] .seller-sales{color:#9aa9c2!important}
:root[data-theme="dark"] .btn,:root[data-theme="dark"] .pill,:root[data-theme="dark"] .view-toggle button,:root[data-theme="dark"] .faq button{background:#121d30!important;color:#eaf1ff!important;border-color:#2a3b59!important}
:root[data-theme="dark"] .btn:hover,:root[data-theme="dark"] .pill:hover{background:#18243a!important;border-color:#7168ef!important}
:root[data-theme="dark"] .faq-content{background:#101827!important;color:#aab7cb!important}
:root[data-theme="dark"] .category-card,:root[data-theme="dark"] .view-toggle button{background:#0f1929!important;color:#dbe5f5!important;border-color:#283953!important}
:root[data-theme="dark"] .view-toggle button.active{background:#27224e!important;color:#bdb7ff!important;border-color:#665bea!important}
:root[data-theme="dark"] .save-product,:root[data-theme="dark"] .plus{background:#162238!important;color:#e7eaff!important;border:1px solid #2a3b59!important}
:root[data-theme="dark"] .warning-card{background:#24151b!important;border-color:#57303b!important;color:#ffe7eb!important}
:root[data-theme="dark"] .account-order:hover{background:#162238!important}
:root[data-theme="dark"] .dashboard-shell{background:#060a14!important}
:root[data-theme="dark"] .dash-side{background:#0a1120!important}
:root[data-theme="dark"] .dash-top{background:rgba(7,12,23,.98)!important}
:root[data-theme="dark"] .dash-content{background:#060a14!important}
:root[data-theme="dark"] .dash-table{background:#0c1423!important;color:#edf3ff!important}
:root[data-theme="dark"] .dash-table td{background:#0c1423!important;color:#dce6f5!important}
:root[data-theme="dark"] .dash-table tr:hover td{background:#17243a!important}
.admin-shell{background:#eef2f8!important}.admin-side{background:linear-gradient(180deg,#0a1020 0%,#0d1730 100%)!important}.admin-brand{width:100%;border:0;text-align:left;cursor:pointer;border-radius:14px}.admin-brand:hover{background:#151f36;transform:translateY(-1px)}.admin-main{background:#f4f6fb!important}.admin-top{box-shadow:0 8px 28px rgba(20,30,60,.08)!important}.admin-side{position:fixed!important;top:72px!important;bottom:0!important}.admin-top{position:sticky!important;top:72px!important}
:root[data-theme="dark"] .admin-shell,:root[data-theme="dark"] .admin-main{background:#060a14!important}
:root[data-theme="dark"] .admin-top{background:rgba(8,13,25,.98)!important}
:root[data-theme="dark"] .admin-kpi,:root[data-theme="dark"] .admin-card,:root[data-theme="dark"] .admin-detail-box{background:linear-gradient(145deg,#111b2d,#0e1727)!important;border-color:#263750!important}
:root[data-theme="dark"] .admin-kpi .kpi-icon{background:#1d2850!important;color:#bdb7ff!important}
:root[data-theme="dark"] .admin-table th{background:#0b1322!important;color:#8393ae!important}
:root[data-theme="dark"] .admin-table td{background:#101827!important;color:#dce6f5!important}
:root[data-theme="dark"] .admin-table tr.data-row:hover td{background:#17243a!important}
:root[data-theme="dark"] .admin-stat{background:#0b1424!important;border-color:#273852!important}

/* Final polish: dedicated scrolling + improved lighting for Admin Dashboard and Payment */
.admin-shell{height:calc(100vh - 72px);min-height:0;overflow:hidden}
.admin-side{height:100%;max-height:none;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#405174 #0a1020}
.admin-main{height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden}
.admin-top{flex:0 0 auto;box-shadow:0 8px 28px rgba(0,0,0,.12)}
.admin-content{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#465a80 #0a1020}
.admin-content::-webkit-scrollbar,.admin-side::-webkit-scrollbar{width:9px;height:9px}
.admin-content::-webkit-scrollbar-track,.admin-side::-webkit-scrollbar-track{background:#0a1020;border-radius:999px}
.admin-content::-webkit-scrollbar-thumb,.admin-side::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#5f6f95,#303f5e);border:2px solid #0a1020;border-radius:999px}
.admin-content::-webkit-scrollbar-thumb:hover,.admin-side::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#7d6cff,#4e61a0)}
.admin-card,.admin-kpi,.admin-detail-box{box-shadow:0 10px 30px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.035)!important}
.admin-kpi:hover,.admin-card:hover,.admin-detail-box:hover{box-shadow:0 18px 42px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.055)!important}
.payment-modal-wide{max-height:calc(100vh - 34px);overflow:hidden}
.payment-layout{height:min(680px,calc(100vh - 34px));max-height:calc(100vh - 34px)}
.payment-left{min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#8a94aa #eef1f7}
.payment-right{min-height:0;overflow:hidden}
.payment-right-inner{min-height:0;max-height:100%;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#7b6ff2 #edf0f7;box-shadow:inset 0 0 0 1px rgba(81,70,229,.04)}
.payment-left::-webkit-scrollbar,.payment-right-inner::-webkit-scrollbar{width:9px}
.payment-left::-webkit-scrollbar-track,.payment-right-inner::-webkit-scrollbar-track{background:#edf0f7;border-radius:999px}
.payment-left::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#a5aec0,#737e97);border:2px solid #edf0f7;border-radius:999px}
.payment-right-inner::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#8a80f2,#5146e5);border:2px solid #edf0f7;border-radius:999px}
.payment-left::-webkit-scrollbar-thumb:hover,.payment-right-inner::-webkit-scrollbar-thumb:hover{filter:brightness(1.08)}
:root[data-theme="dark"] .payment-left{background:#0f1729;color:#edf2ff;scrollbar-color:#46567a #0a1020}
:root[data-theme="dark"] .payment-right{background:#0a1020}
:root[data-theme="dark"] .payment-right-inner{background:linear-gradient(180deg,#121c31,#0f1728);border:1px solid #263650;box-shadow:0 18px 45px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.035);scrollbar-color:#665de0 #0d1526}
:root[data-theme="dark"] .payment-left::-webkit-scrollbar-track,:root[data-theme="dark"] .payment-right-inner::-webkit-scrollbar-track{background:#0a1020}
:root[data-theme="dark"] .payment-left::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#4e5f84,#303e5d);border-color:#0a1020}
:root[data-theme="dark"] .payment-right-inner::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#756bf0,#4f45c9);border-color:#0d1526}
:root[data-theme="dark"] .payment-total{background:#0d1527;box-shadow:inset 0 1px 0 rgba(255,255,255,.035)}
:root[data-theme="dark"] .payment-expire{background:#1c2437;color:#cbd5ea}
:root[data-theme="dark"] .link-box{background:#0d1425!important;border-color:#2d3851!important;color:#e8ecf7!important}
:root[data-theme="dark"] .star-picker button{color:#3a4767}
@media(max-width:900px){.admin-shell{height:calc(100vh - 72px)}.payment-layout{height:auto;max-height:calc(100vh - 34px);overflow:auto}.payment-left{max-height:260px}.payment-right{min-height:430px;overflow:visible}.payment-right-inner{max-height:calc(100vh - 320px)}}
@media(max-width:600px){.admin-shell{height:calc(100vh - 56px)}.admin-content{padding-bottom:28px}.payment-modal-wide{max-height:calc(100vh - 18px)}.payment-layout{max-height:calc(100vh - 18px)}.payment-left{max-height:220px}.payment-right-inner{max-height:calc(100vh - 275px)}}

/* FINAL PREMIUM SURFACE + SCROLL + ADMIN LIGHTING */
html{scrollbar-width:thin;scrollbar-color:#7a6cf6 #e9ecf5}
body{background:
 radial-gradient(circle at 15% 10%,rgba(110,92,246,.10),transparent 26%),
 radial-gradient(circle at 88% 18%,rgba(38,166,154,.07),transparent 24%),
 linear-gradient(135deg,#fafbff 0%,#f4f6fb 48%,#fbfbfe 100%);}
body::before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;opacity:.38;background-image:radial-gradient(rgba(65,75,105,.10) .7px,transparent .7px);background-size:13px 13px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.55),transparent 88%)}
.admin-shell{height:calc(100vh - 72px);min-height:0;overflow:hidden;background:linear-gradient(135deg,#eef1f8,#e7ebf3)}
.admin-side{height:100%;max-height:none;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#6f63dc #11192b}
.admin-main{height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden}
.admin-top{top:0;flex:0 0 auto;min-height:74px;box-sizing:border-box;background:rgba(255,255,255,.97)!important;box-shadow:0 8px 28px rgba(25,32,55,.08);z-index:50}
.admin-search-wrap{position:relative;flex:1;max-width:520px;min-width:240px}
.admin-search{width:100%;box-sizing:border-box}
.admin-search-results{position:absolute;left:0;right:0;top:calc(100% + 8px);background:#fff;border:1px solid #dce2ee;border-radius:16px;box-shadow:0 22px 50px rgba(24,34,60,.16);overflow:hidden;z-index:100;max-height:330px;overflow-y:auto;scrollbar-width:thin}
.admin-search-result{display:flex;align-items:center;gap:10px;padding:12px 14px;cursor:pointer;border-bottom:1px solid #edf0f5;transition:.18s}
.admin-search-result:hover{background:#f3f1ff;transform:translateX(2px)}
.admin-content{flex:1;min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#7a6cf6 #e9ecf5}
.admin-content::-webkit-scrollbar,.admin-side::-webkit-scrollbar,.payment-right-inner::-webkit-scrollbar,.payment-left::-webkit-scrollbar{width:9px;height:9px}
.admin-content::-webkit-scrollbar-track,.admin-side::-webkit-scrollbar-track,.payment-right-inner::-webkit-scrollbar-track,.payment-left::-webkit-scrollbar-track{background:rgba(110,120,150,.12);border-radius:999px}
.admin-content::-webkit-scrollbar-thumb,.admin-side::-webkit-scrollbar-thumb,.payment-right-inner::-webkit-scrollbar-thumb,.payment-left::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#8074f5,#5548d8);border-radius:999px;border:2px solid transparent;background-clip:padding-box}
.admin-content::-webkit-scrollbar-thumb:hover,.admin-side::-webkit-scrollbar-thumb:hover,.payment-right-inner::-webkit-scrollbar-thumb:hover,.payment-left::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#968cff,#5f52e9);background-clip:padding-box}
:root[data-theme="dark"] body{background:radial-gradient(circle at 12% 8%,rgba(102,88,239,.16),transparent 28%),radial-gradient(circle at 88% 20%,rgba(0,188,174,.08),transparent 22%),linear-gradient(135deg,#070b16,#0b1120 48%,#080d18)}
:root[data-theme="dark"] body::before{opacity:.20;background-image:radial-gradient(rgba(210,220,255,.10) .7px,transparent .7px)}
:root[data-theme="dark"] .admin-shell{background:linear-gradient(135deg,#070c18,#0c1324)}
:root[data-theme="dark"] .admin-top{background:rgba(9,14,27,.97)!important;border-color:#25314a;box-shadow:0 10px 30px rgba(0,0,0,.28)}
:root[data-theme="dark"] .admin-search-results{background:#11192c;border-color:#2b3854;box-shadow:0 24px 60px rgba(0,0,0,.42)}
:root[data-theme="dark"] .admin-search-result{border-color:#26334d}
:root[data-theme="dark"] .admin-search-result:hover{background:#1a2440}
:root[data-theme="dark"] .admin-content{scrollbar-color:#7065e9 #0d1424}
:root[data-theme="dark"] .payment-layout{background:#080f1d}
:root[data-theme="dark"] .payment-left{background:#0e1729!important;border-color:#293650!important}
:root[data-theme="dark"] .payment-right{background:#080f1d}
:root[data-theme="dark"] .payment-right-inner{background:#111a2d!important;border-color:#293650}
:root[data-theme="dark"] .payment-methods h4{color:#b9c5dc}
:root[data-theme="dark"] .payment-total{background:#101a2d;border-color:#2c3955}
:root[data-theme="dark"] .payment-footer-time{background:#2b2113;color:#ffd89b}
.payment-left{overflow-y:auto;min-height:0;scrollbar-width:thin;scrollbar-color:#7a6cf6 #e9ecf5}
.payment-right-inner{overflow:auto;min-height:0;scrollbar-width:thin;scrollbar-color:#7a6cf6 #e9ecf5}
.payment-methods{overflow:auto;max-height:calc(100vh - 300px);padding-right:4px;scrollbar-width:thin}
.cart-btn.cart-pulse{animation:cartPulse .55s ease}
@keyframes cartPulse{0%{transform:scale(1)}45%{transform:scale(1.16) rotate(-4deg)}100%{transform:scale(1)}}
.cart-notice{position:fixed;right:22px;top:88px;width:min(390px,calc(100vw - 28px));background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:20px;padding:13px;box-shadow:0 24px 60px rgba(20,30,60,.20);z-index:1200;display:flex;gap:12px;align-items:center;animation:noticeIn .28s ease}
.cart-notice img{width:62px;height:62px;object-fit:cover;border-radius:14px;background:var(--surface2)}
.cart-notice .notice-body{min-width:0;flex:1}.cart-notice .notice-title{font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cart-notice .notice-meta{font-size:11px;color:var(--muted);margin-top:3px}.cart-notice .notice-actions{display:flex;gap:6px;margin-top:8px}.cart-notice .notice-actions .btn{padding:7px 10px;font-size:11px}
@keyframes noticeIn{from{opacity:0;transform:translateY(-12px) scale(.97)}to{opacity:1;transform:none}}
:root[data-theme="dark"] .cart-notice{box-shadow:0 28px 70px rgba(0,0,0,.42)}
.review-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:8px}.review-replies{margin:10px 0 0 24px;padding-left:14px;border-left:2px solid var(--line)}.review-reply{padding:9px 0;border-bottom:1px solid var(--line)}.review-reply:last-child{border-bottom:0}
.account-danger{margin-top:18px;border:1px solid #f1c9cf;background:rgba(239,91,104,.06);border-radius:18px;padding:18px}
@media(max-width:700px){.admin-top{flex-wrap:wrap;padding:12px 14px}.admin-top>div:first-child{width:100%}.admin-search-wrap{order:3;width:100%;max-width:none;min-width:0}.admin-top>div:last-child{position:absolute;right:14px;top:12px}.admin-top .admin-back-btn{display:none}.admin-content{padding:16px}.cart-notice{right:12px;top:76px}}

/* ADMIN LIGHTING - clearer depth and softer studio glow */
.admin-top{box-shadow:0 10px 30px rgba(78,66,160,.10),0 1px 0 rgba(255,255,255,.05)!important}
.admin-card,.admin-kpi,.admin-detail-box{box-shadow:0 14px 34px rgba(35,45,75,.10),inset 0 1px 0 rgba(255,255,255,.55)!important}
.admin-card:hover,.admin-kpi:hover,.admin-detail-box:hover{box-shadow:0 20px 44px rgba(65,54,145,.14),inset 0 1px 0 rgba(255,255,255,.72)!important}
.admin-table thead th{background:rgba(10,16,30,.96)!important}
.admin-table tbody tr.data-row{background:transparent!important}
.admin-table tbody tr.data-row:hover{background:rgba(111,96,235,.06)!important}
/* FINAL OVERRIDES - premium texture + balanced admin light/dark */
body{background-color:var(--bg);background-image:radial-gradient(circle at 8% 8%,rgba(99,88,239,.10),transparent 24%),radial-gradient(circle at 92% 12%,rgba(19,154,143,.07),transparent 22%),repeating-radial-gradient(circle at 50% 50%,rgba(80,90,120,.035) 0 1px,transparent 1px 7px),linear-gradient(135deg,#fbfcff,#f4f6fb 52%,#fafbff)}
:root[data-theme="dark"] body{background-image:radial-gradient(circle at 8% 8%,rgba(108,94,246,.17),transparent 25%),radial-gradient(circle at 92% 12%,rgba(20,183,171,.08),transparent 23%),repeating-radial-gradient(circle at 50% 50%,rgba(220,230,255,.025) 0 1px,transparent 1px 8px),linear-gradient(135deg,#070b16,#0b1221 52%,#080d18)}
:root[data-theme="light"] .admin-shell{background:linear-gradient(135deg,#f0f3f9,#e9edf5)!important}
:root[data-theme="light"] .admin-card,:root[data-theme="light"] .admin-kpi,:root[data-theme="light"] .admin-detail-box{background:#ffffff!important;color:#111a30!important;border-color:#dfe4ee!important;box-shadow:0 10px 26px rgba(31,42,70,.07)}
:root[data-theme="light"] .admin-card .sub,:root[data-theme="light"] .admin-kpi span,:root[data-theme="light"] .admin-table th{color:#6d7890!important}
:root[data-theme="light"] .admin-stat{background:#f7f9fc!important;border-color:#e2e7f0!important}
:root[data-theme="light"] .admin-table td{color:#1b2438!important;border-color:#edf0f5!important}
:root[data-theme="dark"] .admin-card,:root[data-theme="dark"] .admin-kpi,:root[data-theme="dark"] .admin-detail-box{background:#111a2d!important;color:#edf2ff!important;border-color:#293650!important;box-shadow:0 14px 34px rgba(0,0,0,.24)}
:root[data-theme="dark"] .admin-stat{background:#0c1526!important;border-color:#2a3853!important}
:root[data-theme="dark"] .admin-table td{color:#dbe4f6!important}
:root[data-theme="light"] .payment-left,:root[data-theme="light"] .payment-right-inner{background:#ffffff!important;color:#111a30!important}
:root[data-theme="light"] .payment-layout{background:#eef2f8!important}
:root[data-theme="light"] .pay-opt{color:#2b3448!important}
:root[data-theme="light"] .pay-opt.active{background:#e7e9ff!important}

/* ADMIN LIGHT MODE + VIEWPORT/SCROLL FIX v3 */
.admin-shell{
  height:100vh!important;
  min-height:100vh!important;
  overflow:hidden!important;
  background:#f4f6fb!important;
}
.admin-side{
  position:fixed!important;
  left:0!important;
  top:0!important;
  bottom:0!important;
  height:100vh!important;
  width:255px!important;
  padding:18px 13px 28px!important;
  background:#ffffff!important;
  color:#1b2438!important;
  border-right:1px solid #e5e9f2!important;
  box-shadow:8px 0 24px rgba(39,52,84,.06)!important;
  scrollbar-color:#b9b2ff #f3f5fa!important;
  z-index:70!important;
}
.admin-brand{
  background:#ffffff!important;
  color:#182238!important;
  border:1px solid #edf0f6!important;
  border-radius:18px!important;
  padding:10px 9px 16px!important;
}
.admin-brand:hover{background:#f7f7ff!important;border-color:#ddd9ff!important}
.admin-brand small{color:#6f7890!important}
.admin-nav-title{color:#8b95a9!important}
.admin-link{
  color:#47536b!important;
  background:transparent!important;
  border:1px solid transparent!important;
  border-radius:14px!important;
}
.admin-link:hover{background:#f4f2ff!important;color:#5146d8!important;border-color:#e6e2ff!important}
.admin-link.active{
  background:linear-gradient(135deg,#eeeaff,#e4e0ff)!important;
  color:#5146d8!important;
  border-color:#d8d2ff!important;
  box-shadow:0 8px 22px rgba(81,70,216,.10)!important;
}
.admin-link .count{background:#fff0f2!important;color:#c63c4a!important;border-radius:999px!important}
.admin-main{
  margin-left:255px!important;
  height:100vh!important;
  min-height:0!important;
  background:#f4f6fb!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
}
.admin-top{
  position:relative!important;
  top:auto!important;
  flex:0 0 76px!important;
  height:76px!important;
  min-height:76px!important;
  background:rgba(255,255,255,.98)!important;
  color:#182238!important;
  border-bottom:1px solid #e4e8f0!important;
  box-shadow:0 7px 24px rgba(35,48,80,.07)!important;
  backdrop-filter:blur(14px);
  z-index:60!important;
  transition:box-shadow .22s ease,background .22s ease;
}
.admin-top h1{color:#182238!important}
.admin-top .small,.admin-top .muted{color:#7b8599!important}
.admin-search-wrap{transition:opacity .22s ease,transform .22s ease,max-width .22s ease;overflow:visible}
.admin-search-wrap.admin-search-hidden{opacity:0;transform:translateY(-8px) scale(.98);max-width:0!important;min-width:0!important;pointer-events:none;overflow:hidden}
.admin-search{background:#fbfcff!important;color:#182238!important;border-color:#dfe4ee!important;box-shadow:0 4px 14px rgba(34,47,78,.04)!important}
.admin-top .admin-pill.success{background:#e9fbf3!important;color:#14835f!important;border:1px solid #ccefe0!important}
.admin-top .admin-back-btn{background:#182238!important;color:#fff!important;border-color:#182238!important}
.admin-content{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding:22px 26px 32px!important;
  background:#f4f6fb!important;
  scrollbar-color:#aaa2f4 #e9edf5!important;
}
.admin-content::-webkit-scrollbar{width:9px}
.admin-content::-webkit-scrollbar-track{background:#e9edf5;border-radius:999px}
.admin-content::-webkit-scrollbar-thumb{background:#aaa2f4;border:2px solid #e9edf5;border-radius:999px}
.admin-content::-webkit-scrollbar-thumb:hover{background:#8074e8}
.admin-kpi,.admin-card,.admin-detail-box{
  background:#ffffff!important;
  color:#182238!important;
  border-color:#e0e5ef!important;
  box-shadow:0 9px 26px rgba(37,49,80,.065)!important;
}
.admin-kpi:hover,.admin-card:hover,.admin-detail-box:hover{box-shadow:0 16px 34px rgba(37,49,80,.10)!important}
.admin-kpi span,.admin-card .sub,.admin-table th{color:#6f7b91!important}
.admin-table td{background:#fff!important;color:#1b2438!important;border-color:#edf0f5!important}
.admin-table tr.data-row:hover td{background:#f8f7ff!important}
.admin-stat{background:#f7f9fc!important;border-color:#e3e7ef!important;color:#182238!important}
.admin-empty{color:#7d879a!important}
/* All compact badges/labels/status chips use soft rounded corners. */
.admin-pill,.badge,.tag,.pill,.plan-badge,.status,.label,.chip,.category-chip,.warning-badge,.count,.badge-dot{border-radius:999px!important}
@media(max-width:900px){
  .admin-side{width:82px!important}
  .admin-main{margin-left:82px!important}
  .admin-content{padding:18px!important}
}
@media(max-width:600px){
  .admin-side{width:72px!important;padding:12px 8px 20px!important}
  .admin-main{margin-left:72px!important}
  .admin-top{height:66px!important;min-height:66px!important;flex-basis:66px!important;padding:12px 14px!important}
  .admin-content{padding:16px 12px 28px!important}
}
/* Keep dark mode intentionally dark; these light rules apply only when theme is light/system-light. */
:root[data-theme="dark"] .admin-shell{background:#070c18!important}
:root[data-theme="dark"] .admin-side{background:#0a1120!important;color:#eaf0ff!important;border-color:#202d45!important;box-shadow:10px 0 32px rgba(0,0,0,.28)!important}
:root[data-theme="dark"] .admin-brand{background:#0a1120!important;color:#f7f9ff!important;border-color:#263650!important}
:root[data-theme="dark"] .admin-brand small{color:#aab6cc!important}
:root[data-theme="dark"] .admin-nav-title{color:#74839d!important}
:root[data-theme="dark"] .admin-link{color:#b8c4d8!important;background:transparent!important;border-color:transparent!important}
:root[data-theme="dark"] .admin-link:hover{background:#151f34!important;color:#fff!important;border-color:#2a3955!important}
:root[data-theme="dark"] .admin-link.active{background:linear-gradient(135deg,#5e52e8,#765cf5)!important;color:#fff!important;border-color:transparent!important}
:root[data-theme="dark"] .admin-main,:root[data-theme="dark"] .admin-content{background:#070c18!important}
:root[data-theme="dark"] .admin-top{background:rgba(9,14,27,.98)!important;color:#f2f6ff!important;border-color:#25314a!important;box-shadow:0 10px 30px rgba(0,0,0,.28)!important}
:root[data-theme="dark"] .admin-top h1{color:#f7f9ff!important}
:root[data-theme="dark"] .admin-top .small,:root[data-theme="dark"] .admin-top .muted{color:#9aa8c1!important}
:root[data-theme="dark"] .admin-search{background:#0c1425!important;color:#eef3ff!important;border-color:#293955!important}
:root[data-theme="dark"] .admin-content{scrollbar-color:#7065e9 #0d1424!important}
:root[data-theme="dark"] .admin-content::-webkit-scrollbar-track{background:#0d1424}
:root[data-theme="dark"] .admin-content::-webkit-scrollbar-thumb{background:#7065e9;border-color:#0d1424}
:root[data-theme="dark"] .admin-kpi,:root[data-theme="dark"] .admin-card,:root[data-theme="dark"] .admin-detail-box{background:#111a2d!important;color:#edf2ff!important;border-color:#293650!important}
:root[data-theme="dark"] .admin-table td{background:#101827!important;color:#dbe4f6!important;border-color:#273750!important}
:root[data-theme="dark"] .admin-table tr.data-row:hover td{background:#17243a!important}
:root[data-theme="dark"] .admin-stat{background:#0c1526!important;border-color:#2a3853!important;color:#eaf0ff!important}


/* Premium global loading screen + interactive texture/effects */
body::before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;opacity:.22;background-image:radial-gradient(circle at 15% 20%,rgba(81,70,229,.08) 0 1px,transparent 1.5px),radial-gradient(circle at 80% 70%,rgba(23,183,125,.06) 0 1px,transparent 1.5px);background-size:28px 28px,34px 34px}
.site-loader{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;background:rgba(247,248,252,.97);backdrop-filter:blur(10px);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .22s ease,visibility .22s ease}.site-loader.show{opacity:1;visibility:visible;pointer-events:auto}
.site-loader.hidden{opacity:0;visibility:hidden;pointer-events:none}
.loader-rings{width:76px;height:76px;position:relative;display:grid;place-items:center}
.loader-ring{position:absolute;border:3px solid transparent;border-radius:50%;border-top-color:#5146e5;border-right-color:#5146e5;animation:loaderSpin 1.05s linear infinite;will-change:transform}
.loader-ring-big{width:68px;height:68px;transform:rotate(20deg)}
.loader-ring-small{width:42px;height:42px;border-top-color:#5146e5;border-left-color:#5146e5;animation-direction:reverse;animation-duration:.78s}
@keyframes loaderSpin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
.btn,.dash-card,.metric,.plan,.admin-kpi,.admin-card,.admin-detail-box,.product-card,.asset-card,.pay-opt,.security-row{transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease,background .22s ease}
.btn:hover,.dash-card:hover,.metric:hover,.plan:hover,.admin-kpi:hover,.admin-card:hover,.admin-detail-box:hover,.product-card:hover{transform:translateY(-2px)}
.product-card:hover,.dash-card:hover,.metric:hover,.plan:hover{box-shadow:0 16px 38px rgba(21,31,61,.11)}
:root[data-theme="dark"] .site-loader{background:rgba(7,12,24,.97)}
:root[data-theme="dark"] body::before{opacity:.12}

:root[data-theme="light"] .admin-card,:root[data-theme="light"] .admin-kpi,:root[data-theme="light"] .admin-detail-box,:root[data-theme="light"] .admin-top .btn,:root[data-theme="light"] .admin-actions .btn{border:1px solid #dfe4ef;box-shadow:0 8px 24px rgba(20,30,60,.06)}
:root[data-theme="light"] .admin-card:hover,:root[data-theme="light"] .admin-kpi:hover,:root[data-theme="light"] .admin-detail-box:hover{border-color:#8177ef;box-shadow:0 18px 40px rgba(81,70,229,.14)}
:root[data-theme="light"] .dash-card:hover,:root[data-theme="light"] .metric:hover,:root[data-theme="light"] .dash-form:hover,.dash-form .btn:hover{border-color:#8177ef;box-shadow:0 16px 36px rgba(81,70,229,.12)}

/* v4 visual redesign: bright dashboards + premium texture */
:root{--se-purple:#5b4fe8;--se-purple2:#7a6df5;--se-blue:#3b82f6;--se-green:#16b982;--se-orange:#f3a51b;--se-pink:#e85b98}
body::before{opacity:.34;background-image:radial-gradient(circle at 10% 12%,rgba(91,79,232,.075) 0 1px,transparent 1.6px),radial-gradient(circle at 78% 28%,rgba(59,130,246,.055) 0 1px,transparent 1.6px),radial-gradient(circle at 48% 84%,rgba(22,185,130,.045) 0 1px,transparent 1.6px);background-size:26px 26px,34px 34px,42px 42px}

/* Seller dashboard - Bright mode */
:root[data-theme="light"] .dashboard-shell{background:radial-gradient(circle at 90% 10%,rgba(124,108,245,.10),transparent 28%),radial-gradient(circle at 10% 88%,rgba(59,130,246,.08),transparent 25%),linear-gradient(135deg,#f8faff 0%,#f3f6fc 55%,#f8f7ff 100%)!important}
:root[data-theme="light"] .dash-side{background:rgba(255,255,255,.94)!important;border-right:1px solid #dfe5f0!important;box-shadow:10px 0 35px rgba(45,55,95,.07)!important;backdrop-filter:blur(16px)}
:root[data-theme="light"] .dash-brand{color:#172033}
:root[data-theme="light"] .dash-link{border:1px solid transparent;box-shadow:0 2px 8px rgba(35,45,80,.025)}
:root[data-theme="light"] .dash-link:hover{background:#fff!important;border-color:#d8d3ff!important;color:#4f46d8!important;box-shadow:0 10px 24px rgba(81,70,229,.10);transform:translateX(3px)}
:root[data-theme="light"] .dash-link.active{background:linear-gradient(135deg,#eeecff,#e6e3ff)!important;border-color:#d4ceff!important;color:#5146e5!important;box-shadow:0 10px 26px rgba(81,70,229,.13)}
:root[data-theme="light"] .store-mini{background:#fff;border-color:#dfe5f0;box-shadow:0 8px 22px rgba(35,45,80,.055)}
:root[data-theme="light"] .dash-top{background:rgba(255,255,255,.88)!important;border-color:#e0e5ef!important;box-shadow:0 8px 28px rgba(30,40,70,.055);backdrop-filter:blur(18px)}
:root[data-theme="light"] .plan-badge{background:#fff;border-color:#dfe4ef;box-shadow:0 5px 15px rgba(35,45,80,.05)}
:root[data-theme="light"] .dash-content{background:transparent}
:root[data-theme="light"] .metric,:root[data-theme="light"] .dash-card,:root[data-theme="light"] .dash-form,:root[data-theme="light"] .power,:root[data-theme="light"] .plan,:root[data-theme="light"] .settings-card{border:1px solid #dfe5ef!important;box-shadow:0 8px 24px rgba(30,40,70,.055)!important;position:relative;overflow:hidden}
:root[data-theme="light"] .metric::after,:root[data-theme="light"] .dash-card::after,:root[data-theme="light"] .dash-form::after,:root[data-theme="light"] .power::after,:root[data-theme="light"] .plan::after,:root[data-theme="light"] .settings-card::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(120deg,rgba(255,255,255,.55),transparent 38%,rgba(91,79,232,.025));opacity:.9}
:root[data-theme="light"] .metric:hover,:root[data-theme="light"] .dash-card:hover,:root[data-theme="light"] .dash-form:hover,:root[data-theme="light"] .power:hover,:root[data-theme="light"] .plan:hover,:root[data-theme="light"] .settings-card:hover{transform:translateY(-4px);border-color:#9a91f5!important;box-shadow:0 18px 40px rgba(81,70,229,.13)!important}
:root[data-theme="light"] .metric{background:linear-gradient(145deg,#fff,#fbfbff)!important}
:root[data-theme="light"] .metric:nth-child(1){border-top:3px solid #6d63ef!important}
:root[data-theme="light"] .metric:nth-child(2){border-top:3px solid #25b989!important}
:root[data-theme="light"] .metric:nth-child(3){border-top:3px solid #f0a51b!important}
:root[data-theme="light"] .metric:nth-child(4){border-top:3px solid #e75d99!important}
:root[data-theme="light"] .dash-table{border-color:#dfe5ef!important;box-shadow:0 8px 24px rgba(30,40,70,.045)}
:root[data-theme="light"] .dash-table th{background:#f6f8fc!important}
:root[data-theme="light"] .dash-table tr:hover td{background:#f7f7ff!important}
:root[data-theme="light"] .dash-form .step.active{box-shadow:0 7px 18px rgba(81,70,229,.12)}

/* Admin dashboard - Bright mode inspired by the approved mockup */
:root[data-theme="light"] .admin-shell{background:radial-gradient(circle at 92% 6%,rgba(122,109,245,.13),transparent 25%),radial-gradient(circle at 5% 92%,rgba(59,130,246,.10),transparent 23%),linear-gradient(135deg,#f9fbff,#f2f5fb 58%,#f8f7ff)!important}
:root[data-theme="light"] .admin-side{background:rgba(255,255,255,.96)!important;color:#34415a!important;border-right:1px solid #dfe5ef!important;box-shadow:10px 0 34px rgba(30,40,70,.075)!important;backdrop-filter:blur(18px)}
:root[data-theme="light"] .admin-brand{background:transparent!important;color:#172033!important;border:1px solid transparent!important}
:root[data-theme="light"] .admin-brand:hover{background:#f7f8ff!important;border-color:#e0dcff!important;box-shadow:0 10px 24px rgba(81,70,229,.08)}
:root[data-theme="light"] .admin-side small{color:#7a879b!important}
:root[data-theme="light"] .admin-nav-title{color:#7c879a!important}
:root[data-theme="light"] .admin-link{color:#415069!important;border:1px solid transparent!important;box-shadow:0 2px 7px rgba(30,40,70,.02)}
:root[data-theme="light"] .admin-link:hover{background:#fff!important;color:#5146e5!important;border-color:#dcd8ff!important;box-shadow:0 10px 24px rgba(81,70,229,.10);transform:translateX(3px)}
:root[data-theme="light"] .admin-link.active{background:linear-gradient(135deg,#eeeaff,#e4e0ff)!important;color:#5146e5!important;border-color:#d5d0ff!important;box-shadow:0 10px 26px rgba(81,70,229,.14)}
:root[data-theme="light"] .admin-main{background:transparent!important}
:root[data-theme="light"] .admin-top{background:rgba(255,255,255,.90)!important;border-bottom:1px solid #dfe5ef!important;box-shadow:0 8px 28px rgba(30,40,70,.07)!important;backdrop-filter:blur(18px)}
:root[data-theme="light"] .admin-top h1{color:#172033!important}
:root[data-theme="light"] .admin-content{background:transparent!important}
:root[data-theme="light"] .admin-kpi,:root[data-theme="light"] .admin-card,:root[data-theme="light"] .admin-detail-box{background:rgba(255,255,255,.94)!important;color:#172033!important;border:1px solid #dfe5ef!important;box-shadow:0 9px 28px rgba(30,40,70,.065)!important;position:relative;overflow:hidden}
:root[data-theme="light"] .admin-kpi::after,:root[data-theme="light"] .admin-card::after,:root[data-theme="light"] .admin-detail-box::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(120deg,rgba(255,255,255,.60),transparent 42%,rgba(91,79,232,.025))}
:root[data-theme="light"] .admin-kpi:hover,:root[data-theme="light"] .admin-card:hover,:root[data-theme="light"] .admin-detail-box:hover{transform:translateY(-4px);border-color:#9b92f4!important;box-shadow:0 19px 42px rgba(81,70,229,.13)!important}
:root[data-theme="light"] .admin-kpi:nth-child(1){border-top:3px solid #5f55e9!important}
:root[data-theme="light"] .admin-kpi:nth-child(2){border-top:3px solid #20b986!important}
:root[data-theme="light"] .admin-kpi:nth-child(3){border-top:3px solid #f2a31a!important}
:root[data-theme="light"] .admin-kpi:nth-child(4){border-top:3px solid #e45b96!important}
:root[data-theme="light"] .admin-kpi:nth-child(5){border-top:3px solid #7b63e8!important}
:root[data-theme="light"] .admin-kpi .kpi-icon{box-shadow:0 8px 18px rgba(81,70,229,.08)}
:root[data-theme="light"] .admin-stat{background:#f8faff!important;border-color:#e1e6f0!important}
:root[data-theme="light"] .admin-table th{background:#f6f8fc!important;color:#718097!important;border-color:#e4e8f0!important}
:root[data-theme="light"] .admin-table td{background:transparent!important;color:#34415a!important;border-color:#e7ebf2!important}
:root[data-theme="light"] .admin-table tr.data-row:hover td{background:#f8f7ff!important}
:root[data-theme="light"] .admin-search{background:#fbfcff!important;border-color:#dfe5ef!important;color:#172033!important;box-shadow:inset 0 1px 0 #fff,0 5px 14px rgba(30,40,70,.04)}
:root[data-theme="light"] .admin-actions .btn,:root[data-theme="light"] .admin-top .btn{border:1px solid #d9dfeb!important;box-shadow:0 6px 16px rgba(30,40,70,.045)}
:root[data-theme="light"] .admin-actions .btn:hover,:root[data-theme="light"] .admin-top .btn:hover{border-color:#9389f2!important;box-shadow:0 10px 22px rgba(81,70,229,.10)}
:root[data-theme="light"] .admin-actions .btn.primary,:root[data-theme="light"] .admin-top .btn.primary{border-color:#5f55e9!important;box-shadow:0 10px 24px rgba(81,70,229,.18)}

/* Dark mode stays deep, but keeps the same component language */
:root[data-theme="dark"] .dashboard-shell{background:radial-gradient(circle at 92% 8%,rgba(91,79,232,.12),transparent 26%),linear-gradient(135deg,#070c18,#0a1020 55%,#090d19)!important}
:root[data-theme="dark"] .dash-side{box-shadow:10px 0 35px rgba(0,0,0,.30)!important}
:root[data-theme="dark"] .metric,:root[data-theme="dark"] .dash-card,:root[data-theme="dark"] .dash-form,:root[data-theme="dark"] .power,:root[data-theme="dark"] .plan,:root[data-theme="dark"] .settings-card{box-shadow:0 10px 30px rgba(0,0,0,.18)!important}
:root[data-theme="dark"] .metric:hover,:root[data-theme="dark"] .dash-card:hover,:root[data-theme="dark"] .dash-form:hover,:root[data-theme="dark"] .power:hover,:root[data-theme="dark"] .plan:hover,:root[data-theme="dark"] .settings-card:hover{border-color:#6258e8!important;box-shadow:0 18px 40px rgba(0,0,0,.28)!important}

/* Bright mode: every interactive boundary gets a visible but premium edge */
:root[data-theme="light"] button,:root[data-theme="light"] .btn,:root[data-theme="light"] input,:root[data-theme="light"] textarea,:root[data-theme="light"] select,:root[data-theme="light"] .pay-opt,:root[data-theme="light"] .category-card,:root[data-theme="light"] .filter-cat,:root[data-theme="light"] .view-toggle button{border-color:#dce2ed}
:root[data-theme="light"] button:hover,:root[data-theme="light"] .btn:hover,:root[data-theme="light"] input:focus,:root[data-theme="light"] textarea:focus,:root[data-theme="light"] select:focus,:root[data-theme="light"] .pay-opt:hover,:root[data-theme="light"] .category-card:hover{border-color:#948bf2!important;box-shadow:0 9px 22px rgba(81,70,229,.10)}
.login-header-btn{margin-left:auto}

/* Smooth loader: single purple tone and immediate completion hide */
.site-loader{background:rgba(248,249,253,.97)!important;backdrop-filter:blur(12px);transition:opacity .16s ease,visibility .16s ease}
.loader-ring{border-top-color:#5146e5!important;border-right-color:#5146e5!important}
.loader-ring-small{border-top-color:#5146e5!important;border-left-color:#5146e5!important}
.loader-ring-big{animation:loaderSpinBig .9s linear infinite!important}
.loader-ring-small{animation:loaderSpinSmall .68s linear infinite!important}
@keyframes loaderSpinBig{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
@keyframes loaderSpinSmall{from{transform:rotate(360deg)}to{transform:rotate(0deg)}}
:root[data-theme="dark"] .site-loader{background:rgba(7,12,24,.97)!important}


/* FINAL TEXT CLARITY FIX - SELLER DASHBOARD BRIGHT MODE */
:root[data-theme="light"] .dashboard-shell{
  background:linear-gradient(135deg,#f7f9fd 0%,#eef2f8 55%,#f8f9fd 100%)!important;
}
:root[data-theme="light"] .dash-side{
  background:#ffffff!important;
  border-right:1px solid #d7deea!important;
  box-shadow:6px 0 18px rgba(30,45,75,.05)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
:root[data-theme="light"] .dash-top{
  background:#ffffff!important;
  border-bottom:1px solid #d7deea!important;
  box-shadow:0 4px 14px rgba(30,45,75,.05)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
:root[data-theme="light"] .dash-card,
:root[data-theme="light"] .metric,
:root[data-theme="light"] .dash-form,
:root[data-theme="light"] .power,
:root[data-theme="light"] .plan,
:root[data-theme="light"] .settings-card{
  background:#ffffff!important;
  color:#172033!important;
  border:1px solid #cfd7e5!important;
  box-shadow:0 7px 18px rgba(31,45,72,.055)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
/* Remove the decorative overlay that was washing text out. */
:root[data-theme="light"] .metric::after,
:root[data-theme="light"] .dash-card::after,
:root[data-theme="light"] .dash-form::after,
:root[data-theme="light"] .power::after,
:root[data-theme="light"] .plan::after,
:root[data-theme="light"] .settings-card::after{
  display:none!important;
  content:none!important;
}
:root[data-theme="light"] .dash-card h1,
:root[data-theme="light"] .dash-card h2,
:root[data-theme="light"] .dash-card h3,
:root[data-theme="light"] .dash-card b,
:root[data-theme="light"] .metric h1,
:root[data-theme="light"] .metric h2,
:root[data-theme="light"] .metric h3,
:root[data-theme="light"] .metric b,
:root[data-theme="light"] .power b,
:root[data-theme="light"] .plan h2{
  color:#162038!important;
  text-shadow:none!important;
}
:root[data-theme="light"] .dash-card p,
:root[data-theme="light"] .dash-card .muted,
:root[data-theme="light"] .dash-card .small,
:root[data-theme="light"] .metric .muted,
:root[data-theme="light"] .metric .small,
:root[data-theme="light"] .power .muted,
:root[data-theme="light"] .power small,
:root[data-theme="light"] .plan li{
  color:#59677d!important;
  opacity:1!important;
  text-shadow:none!important;
}
:root[data-theme="light"] .dash-table{
  background:#ffffff!important;
  border:1px solid #cfd7e5!important;
  box-shadow:none!important;
  color:#182238!important;
}
:root[data-theme="light"] .dash-table th{
  background:#f5f7fb!important;
  color:#53627a!important;
  border-bottom:1px solid #cfd7e5!important;
  border-right:1px solid #e0e5ed!important;
  font-weight:900!important;
  opacity:1!important;
}
:root[data-theme="light"] .dash-table th:last-child{border-right:0}
:root[data-theme="light"] .dash-table td{
  background:#ffffff!important;
  color:#1b263b!important;
  border-bottom:1px solid #e0e5ed!important;
  border-right:1px solid #e0e5ed!important;
  opacity:1!important;
  text-shadow:none!important;
  vertical-align:middle!important;
}
:root[data-theme="light"] .dash-table td:last-child{border-right:0}
:root[data-theme="light"] .dash-table tr:last-child td{border-bottom:0}
:root[data-theme="light"] .dash-table tr:hover td{background:#fafbff!important}
:root[data-theme="light"] .dash-table td b{color:#162038!important}
:root[data-theme="light"] .dash-table .small.muted{color:#627087!important}
:root[data-theme="light"] .dash-link{
  color:#334159!important;
  box-shadow:none!important;
}
:root[data-theme="light"] .dash-link:hover{
  color:#4f46d8!important;
  box-shadow:0 5px 14px rgba(81,70,229,.07)!important;
}
:root[data-theme="light"] .dash-link.active{
  color:#5146e5!important;
  box-shadow:0 6px 16px rgba(81,70,229,.09)!important;
}
:root[data-theme="light"] .plan-badge{
  background:#ffffff!important;
  color:#26334a!important;
  border:1px solid #cfd7e5!important;
  box-shadow:none!important;
}
:root[data-theme="light"] .section-head p{color:#68758a!important;opacity:1!important}
:root[data-theme="light"] .action-row .btn{
  background:#ffffff!important;
  color:#26334a!important;
  border:1px solid #cfd7e5!important;
  box-shadow:none!important;
}
:root[data-theme="light"] .action-row .btn:hover{
  border-color:#8e84ef!important;
  box-shadow:0 7px 16px rgba(81,70,229,.09)!important;
}
/* Keep the premium feel, but only as a clean boundary + small lift. */
:root[data-theme="light"] .dash-card:hover,
:root[data-theme="light"] .metric:hover,
:root[data-theme="light"] .dash-form:hover,
:root[data-theme="light"] .power:hover,
:root[data-theme="light"] .plan:hover,
:root[data-theme="light"] .settings-card:hover{
  transform:translateY(-2px)!important;
  border-color:#aaa2f1!important;
  box-shadow:0 12px 24px rgba(48,61,91,.09)!important;
}

/* Product manager / drafts / recycle */
.pm-back{margin:0 0 10px}.pm-view .icon-view{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:88px}.pm-view .icon-view>span:first-child{font-size:18px;line-height:1}.pm-view .view-label{font-size:12px;font-weight:900}

.pm-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.pm-tab{border:1px solid var(--line);background:var(--surface);padding:11px 16px;border-radius:12px;font-weight:800;cursor:pointer}.pm-tab.active{background:var(--brand);color:#fff;border-color:var(--brand)}.pm-badge{display:inline-flex;margin-left:7px;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#ef3340;color:#fff;align-items:center;justify-content:center;font-size:12px}.pm-available{font-weight:800;margin-bottom:12px}.pm-controls{display:grid;grid-template-columns:minmax(180px,1fr) 150px 150px auto;gap:8px;margin:12px 0}.pm-view{display:flex;gap:6px}.pm-bulk{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:11px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:12px}.pm-bulk label{font-weight:800}.pm-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-height:560px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-gutter:stable;border:1px solid var(--line);border-radius:14px;padding:10px;background:rgba(255,255,255,.35)}
.pm-list::-webkit-scrollbar{width:8px;height:8px}
.pm-list::-webkit-scrollbar-track{background:transparent;border-radius:99px}
.pm-list::-webkit-scrollbar-thumb{background:#394863;border-radius:99px}
.pm-list::-webkit-scrollbar-thumb:hover{background:#566785}.pm-list.list-view{display:grid;grid-template-columns:1fr}.pm-card{display:grid;grid-template-columns:24px 82px 1fr auto;gap:14px;align-items:center;border:1px solid var(--line);border-radius:16px;padding:13px;background:var(--surface);transition:.2s}.pm-card:hover{transform:translateY(-2px);box-shadow:0 12px 25px rgba(0,0,0,.08)}.pm-draft{border:2px solid #e34a55;background:linear-gradient(180deg,rgba(239,51,64,.045),var(--surface))}.pm-image{width:82px;height:62px;border-radius:11px;overflow:hidden;display:flex;align-items:center;justify-content:center;background:var(--soft);font-size:24px}.pm-image img{width:100%;height:100%;object-fit:cover}.pm-top{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.pm-status{font-size:11px;font-weight:900;padding:5px 8px;border-radius:999px}.pm-status.live{background:#dff8ec;color:#087c4d}.pm-status.drafts{background:#ffe2e5;color:#c51f31}.pm-status.recycle{background:#ececf1;color:#555}.pm-info h3{margin:5px 0}.pm-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.pm-empty{padding:35px;text-align:center;border:1px dashed var(--line);border-radius:15px;color:var(--muted)}.pm-recycle-notice{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:12px;border:1px solid #efc7cb;border-radius:13px;margin:12px 0;background:rgba(239,51,64,.04)}.pm-recycle-notice span{color:var(--muted);flex:1}.modal-bg{position:fixed;inset:0;background:rgba(0,0,0,.45);display:flex;align-items:center;justify-content:center;z-index:9999;padding:20px}.modal-card{width:min(560px,100%);background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:18px;padding:22px;box-shadow:0 24px 70px rgba(0,0,0,.25)}
@media(max-width:900px){.pm-list{grid-template-columns:1fr;max-height:520px}}@media(max-width:760px){.pm-controls{grid-template-columns:1fr 1fr}.pm-view{grid-column:1/-1}.pm-card{grid-template-columns:24px 64px 1fr}.pm-image{width:64px;height:55px}.pm-actions{grid-column:2/-1;justify-content:flex-start}}

.ref-upgrade-card{border:1px solid var(--line);border-radius:18px;padding:22px;margin:18px 0;background:linear-gradient(135deg,rgba(111,99,234,.08),rgba(255,193,7,.06));box-shadow:0 10px 30px rgba(0,0,0,.04)}
.ref-upgrade-head{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.ref-rate-badge{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(111,99,234,.35);background:rgba(111,99,234,.10);padding:9px 13px;border-radius:999px;font-weight:800}.ref-level-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:10px;margin-top:16px}.ref-level{border:1px solid var(--line);border-radius:14px;padding:13px;text-align:center;background:var(--card);transition:.2s}.ref-level:hover{transform:translateY(-2px);border-color:#8176f2}.ref-level.current{border-color:#6f63ea;box-shadow:0 0 0 2px rgba(111,99,234,.10)}.ref-level.next{border-color:#f0b429;background:rgba(240,180,41,.08)}.ref-upgrade-modal{max-width:720px}.ref-upgrade-option{border:1px solid var(--line);border-radius:15px;padding:15px;cursor:pointer;transition:.2s}.ref-upgrade-option:hover{transform:translateY(-2px);border-color:#8176f2}.ref-upgrade-option.active{border-color:#6f63ea;box-shadow:0 0 0 2px rgba(111,99,234,.12);background:rgba(111,99,234,.06)}
@media(max-width:650px){.ref-upgrade-card{padding:16px}.ref-level-grid{grid-template-columns:repeat(2,1fr)}}

/* Dedicated mobile experience */
.mobile-only{display:none}
.mobile-topbar,.mobile-bottom-nav{display:none}
@media (max-width:767px){
  body{background:#f6f7fb;padding-bottom:72px}
  .desktop-only,.topbar{display:none!important}
  .mobile-only{display:block}
  .mobile-topbar{display:flex;position:sticky;top:0;z-index:80;height:62px;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid var(--line);align-items:center}
  .mobile-topbar-inner{width:100%;display:flex;align-items:center;gap:9px;padding:0 12px}
  .mobile-logo{display:flex;align-items:center;gap:7px;font-weight:900;font-size:17px;min-width:0}
  .mobile-logo .logo-mark{width:30px;height:30px;border-radius:9px;font-size:12px}
  .mobile-search{flex:1;min-width:0;position:relative}
  .mobile-search input{width:100%;height:39px;border:1px solid var(--line);border-radius:11px;padding:0 10px 0 34px;background:#fafbfe;outline:none}
  .mobile-search span{position:absolute;left:11px;top:9px;color:var(--muted);font-size:14px}
  .mobile-account{width:38px;height:38px;border:1px solid var(--line);border-radius:11px;background:#fff;display:grid;place-items:center;font-weight:900}
  .mobile-bottom-nav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;left:0;right:0;bottom:0;height:68px;background:rgba(255,255,255,.98);border-top:1px solid var(--line);z-index:90;padding:6px 6px calc(6px + env(safe-area-inset-bottom));box-shadow:0 -8px 25px rgba(21,31,61,.08)}
  .mobile-bottom-nav button{background:transparent;border:1px solid transparent;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:10px;font-weight:800;color:var(--muted);transition:.2s}
  .mobile-bottom-nav button:hover,.mobile-bottom-nav button.active{background:var(--soft);border-color:#dcd8ff;color:var(--brand);transform:translateY(-2px)}
  .mobile-bottom-nav .micon{font-size:18px;line-height:1}
  .container{padding-left:13px;padding-right:13px}
  .page{min-height:calc(100vh - 62px)}
  .hero{padding:28px 0 20px}
  .hero-grid{grid-template-columns:1fr;gap:18px}
  .hero h1{font-size:34px}
  .hero p{font-size:14px;line-height:1.6}
  .hero-art{min-height:205px;padding:12px;border-radius:20px}
  .pick-card{width:205px}.pick-card .thumb{height:120px}
  .section{padding:24px 0}.section-head{margin-bottom:12px}.section-head h2{font-size:19px}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .product-card{border-radius:14px}.product-card .thumb{height:135px}.product-card .body{padding:10px}.product-card h3{font-size:13px}.seller-line{font-size:10px}
  .plus{width:34px;height:34px;right:7px;bottom:7px;font-size:21px}
  .category-grid{grid-template-columns:repeat(2,1fr);gap:10px}.category-card{min-height:110px;padding:14px;border-radius:14px}
  .market-layout{grid-template-columns:1fr;gap:12px}.sidebar-filter{position:static}.market-tools{flex-wrap:wrap}.market-tools .searchbox{min-width:100%}.view-toggle{margin-left:auto}
  .list-view .product-card{grid-template-columns:110px 1fr}.list-view .product-card .thumb{min-height:145px}
  .detail-wrap{padding:18px 0 35px}.detail-main,.detail-main.ratio-landscape,.detail-main.ratio-portrait,.detail-main.ratio-square{grid-template-columns:1fr;gap:15px;padding:13px;border-radius:18px}
  .detail-image,.detail-main.ratio-landscape .detail-image,.detail-main.ratio-portrait .detail-image,.detail-main.ratio-square .detail-image{min-height:220px;max-height:430px}
  .detail-info h1{font-size:25px}.detail-price{font-size:26px}.detail-actions{display:grid;grid-template-columns:1fr 1fr}.detail-actions .primary{grid-column:1/-1}
  .footer-grid{grid-template-columns:1fr 1fr;gap:18px}.footer{padding:28px 0}.footer a{font-size:12px}
  .dash-layout,.account-layout{grid-template-columns:1fr!important}.dash-sidebar{position:static!important}.dash-main{min-width:0}.form-grid{grid-template-columns:1fr!important}.payment-layout{grid-template-columns:1fr!important}.payment-methods{display:flex;overflow:auto;gap:7px}.payment-methods .pay-opt{min-width:max-content}
  .modal{width:calc(100vw - 20px)!important;max-height:92vh;overflow:auto;border-radius:18px}.payment-modal-wide{width:calc(100vw - 10px)!important}.payment-right{min-height:0}.admin-shell{display:block}.admin-sidebar{display:none}.admin-main{width:100%}.admin-content{padding:10px!important}
  table{display:block;overflow-x:auto;white-space:nowrap}
  .success-card{margin:18px 0;padding:20px!important}.auth-box{padding:18px!important}
  .mobile-bottom-nav~*{max-width:100%}
}
@media (min-width:768px){.mobile-only,.mobile-topbar,.mobile-bottom-nav{display:none!important}}



.referral-panel,.referral-card,.referral-level-card,.referral-upgrade-card,.referral-option,
.referral-friends-card,.referral-summary,.referral-history-card{
  border:1px solid rgba(127,127,127,.28)!important;
  border-radius:16px!important;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease!important;
}
.referral-panel:hover,.referral-card:hover,.referral-level-card:hover,.referral-upgrade-card:hover,
.referral-option:hover,.referral-friends-card:hover,.referral-summary:hover,.referral-history-card:hover{
  transform:translateY(-2px) scale(1.012);
  box-shadow:0 10px 26px rgba(0,0,0,.10);
}
.referral-panel button,.referral-card button,.referral-level-card button,.referral-upgrade-card button,
.referral-option button{
  border:1px solid rgba(127,127,127,.30)!important;
  border-radius:12px!important;
  transition:transform .18s ease,box-shadow .18s ease!important;
}
.referral-panel button:hover,.referral-card button:hover,.referral-level-card button:hover,
.referral-upgrade-card button:hover,.referral-option button:hover{
  transform:scale(1.035);
}
.referral-level-card.referral-locked,.referral-option.referral-locked{
  opacity:.58;
  filter:saturate(.65);
  cursor:not-allowed;
}
.referral-level-card.referral-next,.referral-option.referral-next{
  box-shadow:0 0 0 2px rgba(245,180,0,.22),0 8px 22px rgba(0,0,0,.08);
}


.referral-level-card,.referral-upgrade-card,.referral-option,.referral-panel,
.referral-summary,.referral-history-card{
  border:1px solid rgba(127,127,127,.30)!important;
  border-radius:16px!important;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease!important;
}
.referral-level-card:hover,.referral-upgrade-card:hover,.referral-option:hover,
.referral-panel:hover,.referral-summary:hover,.referral-history-card:hover{
  transform:translateY(-2px) scale(1.012);
  box-shadow:0 10px 26px rgba(0,0,0,.10);
}
.referral-level-card.referral-locked,.referral-option.referral-locked{
  opacity:.48!important;
  cursor:not-allowed!important;
}
.referral-level-card.referral-next,.referral-option.referral-next{
  box-shadow:0 0 0 2px rgba(245,180,0,.20),0 8px 22px rgba(0,0,0,.08);
}
.referral-level-card button,.referral-upgrade-card button,.referral-option button{
  border:1px solid rgba(127,127,127,.30)!important;
  border-radius:12px!important;
  transition:transform .18s ease,box-shadow .18s ease!important;
}
.referral-level-card button:hover,.referral-upgrade-card button:hover,.referral-option button:hover{
  transform:scale(1.035);
}

.store-banner{height:190px;border:1px solid var(--line);border-radius:22px;margin-top:14px;background-size:cover;background-position:center;box-shadow:0 12px 30px rgba(20,30,60,.08);transition:transform .22s ease,box-shadow .22s ease}.store-banner:hover{transform:translateY(-2px);box-shadow:0 18px 38px rgba(20,30,60,.12)}
:root[data-theme="dark"] .store-banner{border-color:#293650;box-shadow:0 14px 34px rgba(0,0,0,.28)}


button,.btn,.panel,.card,.dash-card,.admin-card,.security-row,.category-card,.admin-kpi,.admin-detail-box,.data-row{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
button:hover,.btn:hover,.panel:hover,.card:hover,.dash-card:hover,.admin-card:hover,.security-row:hover,.category-card:hover,.admin-kpi:hover,.admin-detail-box:hover{transform:translateY(-2px)}


.status-cancelled{
  background:rgba(220,38,38,.14)!important;
  color:#b91c1c!important;
  border:1px solid rgba(220,38,38,.35)!important;
  border-radius:999px!important;
}
.status-pending{
  background:rgba(250,204,21,.20)!important;
  color:#854d0e!important;
  border:1px solid rgba(234,179,8,.38)!important;
  border-radius:999px!important;
}
.status-success{
  background:rgba(34,197,94,.14)!important;
  color:#166534!important;
  border:1px solid rgba(34,197,94,.32)!important;
  border-radius:999px!important;
}
.status-neutral{
  border-radius:999px!important;
}


/* Final theme consistency: every storefront/admin surface follows the selected mode. */
:root[data-theme="light"]{
  --theme-bg:#f7f8fc;--theme-surface:#ffffff;--theme-surface2:#f2f4f8;--theme-text:#101a33;--theme-muted:#748096;--theme-line:#e4e8f0;--theme-input:#ffffff;--theme-hover:#f1f3f8;
}
:root[data-theme="dark"]{
  --theme-bg:#070c18;--theme-surface:#10182a;--theme-surface2:#151f34;--theme-text:#eef3ff;--theme-muted:#9aa8c1;--theme-line:#26334d;--theme-input:#0b1324;--theme-hover:#18233b;
}
html[data-theme],html[data-theme] body{background:var(--theme-bg)!important;color:var(--theme-text)!important}
:root[data-theme="dark"] body{background:var(--theme-bg)!important;color:var(--theme-text)!important}
/* Common surfaces */
:root[data-theme="dark"] .topbar,:root[data-theme="dark"] .card,:root[data-theme="dark"] .product-card,:root[data-theme="dark"] .dash-card,:root[data-theme="dark"] .metric,:root[data-theme="dark"] .account-panel,:root[data-theme="dark"] .account-profile-card,:root[data-theme="dark"] .asset-card,:root[data-theme="dark"] .auth-box,:root[data-theme="dark"] .modal,:root[data-theme="dark"] .sidebar-filter,:root[data-theme="dark"] .detail-main,:root[data-theme="dark"] .review-box,:root[data-theme="dark"] .bundle-box,:root[data-theme="dark"] .category-card,:root[data-theme="dark"] .faq,:root[data-theme="dark"] .account-nav,:root[data-theme="dark"] .security-box,:root[data-theme="dark"] .profile-card,:root[data-theme="dark"] .order-card,:root[data-theme="dark"] .library-card,:root[data-theme="dark"] .store-card,:root[data-theme="dark"] .stat-card,:root[data-theme="dark"] .setting-card{background:var(--theme-surface)!important;color:var(--theme-text)!important;border-color:var(--theme-line)!important}
:root[data-theme="dark"] .field input,:root[data-theme="dark"] .field textarea,:root[data-theme="dark"] .field select,:root[data-theme="dark"] .input,:root[data-theme="dark"] .search input,:root[data-theme="dark"] .searchbox input,:root[data-theme="dark"] input,:root[data-theme="dark"] textarea,:root[data-theme="dark"] select{background:var(--theme-input)!important;color:var(--theme-text)!important;border-color:var(--theme-line)!important}
:root[data-theme="dark"] .muted,:root[data-theme="dark"] .small,:root[data-theme="dark"] .sub,:root[data-theme="dark"] .help,:root[data-theme="dark"] .hint{color:var(--theme-muted)!important}
:root[data-theme="dark"] .btn,:root[data-theme="dark"] .pill,:root[data-theme="dark"] .view-toggle button,:root[data-theme="dark"] .faq button{background:var(--theme-surface)!important;color:var(--theme-text)!important;border-color:var(--theme-line)!important}
:root[data-theme="dark"] .btn:hover,:root[data-theme="dark"] .pill:hover,:root[data-theme="dark"] .view-toggle button:hover{background:var(--theme-hover)!important}
:root[data-theme="dark"] .security-row,:root[data-theme="dark"] .order-row,:root[data-theme="dark"] .activity-row,:root[data-theme="dark"] .list-row{border-color:var(--theme-line)!important}
/* Admin: no hard-coded light/dark surfaces; variables switch with mode. */
.se-admin.se-admin{--ad-bg:#f5f6fa;--ad-surface:#fff;--ad-text:#202331;--ad-muted:#677084;--ad-line:#e5e7ef;--ad-accent:#6354da;--ad-soft:#eeebfc;--ad-green:#188263;}
:root[data-theme="dark"] .se-admin.se-admin{--ad-bg:#080d18;--ad-surface:#111a2c;--ad-text:#eef3ff;--ad-muted:#9aa8c1;--ad-line:#293752;--ad-accent:#a99cff;--ad-soft:#282143;--ad-green:#79d9b4;}
.se-admin.se-admin .admin-shell,.se-admin.se-admin .admin-main,.se-admin.se-admin .admin-content{background:var(--ad-bg)!important;color:var(--ad-text)!important}
.se-admin.se-admin .admin-side,.se-admin.se-admin .admin-top,.se-admin.se-admin .admin-card,.se-admin.se-admin .admin-kpi,.se-admin.se-admin .admin-detail-box,.se-admin.se-admin .as-shortcut,.se-admin.se-admin .as-settings-tabs,.se-admin.se-admin .mail-sidebar,.se-admin.se-admin .mail-list{background:var(--ad-surface)!important;color:var(--ad-text)!important;border-color:var(--ad-line)!important}
.se-admin.se-admin .admin-link:hover,.se-admin.se-admin .admin-table tr.data-row:hover td{background:var(--ad-bg)!important;color:var(--ad-text)!important}
.se-admin.se-admin .admin-link.active,.se-admin.se-admin .as-settings-tabs button.active{background:var(--ad-soft)!important;color:var(--ad-accent)!important}
.se-admin.se-admin .admin-search,.se-admin.se-admin .admin-confirm,.se-admin.se-admin .admin-stat,.se-admin.se-admin .as-count,.se-admin.se-admin .mail-info-card,.se-admin.se-admin .mail-nav span{background:var(--ad-bg)!important;color:var(--ad-text)!important;border-color:var(--ad-line)!important}
.se-admin.se-admin .admin-table th{background:var(--ad-bg)!important;color:var(--ad-muted)!important;border-color:var(--ad-line)!important}
.se-admin.se-admin .admin-table td{background:transparent!important;color:var(--ad-text)!important;border-color:var(--ad-line)!important}
.se-admin.se-admin .admin-card h2,.se-admin.se-admin .admin-card h3,.se-admin.se-admin .admin-kpi b,.se-admin.se-admin .as-page-title h1,.se-admin.se-admin .as-logo,.se-admin.se-admin .as-account strong{color:var(--ad-text)!important}
.se-admin.se-admin .admin-card .sub,.se-admin.se-admin .muted,.se-admin.se-admin .small,.se-admin.se-admin .as-page-title p,.se-admin.se-admin .as-date,.se-admin.se-admin .as-breadcrumb,.se-admin.se-admin .as-breadcrumb b,.se-admin.se-admin .as-nav,.se-admin.se-admin .admin-nav-title,.se-admin.se-admin .as-account small{color:var(--ad-muted)!important}
:root[data-theme="dark"] .se-admin.se-admin .admin-search::placeholder,:root[data-theme="dark"] input::placeholder,:root[data-theme="dark"] textarea::placeholder{color:#71809a!important}
:root[data-theme="dark"] .se-admin.se-admin .btn.danger{background:#3a1e27!important;color:#ffb3c0!important;border-color:#63303d!important}
:root[data-theme="dark"] .se-admin.se-admin .as-status.good,:root[data-theme="dark"] .se-admin.se-admin .admin-pill.success{background:#17372e!important;color:#91e2c4!important}
:root[data-theme="dark"] .se-admin.se-admin .as-status.wait,:root[data-theme="dark"] .se-admin.se-admin .admin-pill.warn{background:#3a301b!important;color:#f0ca76!important}
:root[data-theme="dark"] .se-admin.se-admin .as-status.bad,:root[data-theme="dark"] .se-admin.se-admin .admin-pill.danger{background:#3b2028!important;color:#ffb3c0!important}
.mail-open-btn{padding:6px 9px!important;font-size:10px!important;font-weight:850!important;border:1px solid var(--ad-line,var(--line))!important;background:var(--ad-bg,var(--soft))!important;color:var(--ad-text,var(--ink))!important;border-radius:8px!important;cursor:pointer}.mail-open-btn:hover{border-color:var(--brand)!important;color:var(--brand)!important}
/* Mail Center follows the same admin mode. */
:root[data-theme="dark"] .mail-compose-btn{background:#6d5ce7;color:#fff}
:root[data-theme="dark"] .mail-nav{color:var(--ad-muted)}
:root[data-theme="dark"] .mail-nav:hover{background:var(--ad-bg);color:var(--ad-text)}
:root[data-theme="dark"] .mail-nav.active{background:var(--ad-soft);color:var(--ad-accent)}
:root[data-theme="dark"] .mail-info-card p,:root[data-theme="dark"] .mail-info-card small{color:var(--ad-muted)}


/* Device-isolated editor feedback */
.se-studio-device-note b{color:var(--brand,#6558d9)}
.se-studio-scope-badge{text-transform:uppercase}
@media(max-width:600px){.se-studio-breakpoints button[data-view="mobile"]{box-shadow:0 0 0 2px rgba(101,88,217,.28)}}


/* Mobile drawer chrome must never render in desktop sidebars. */
@media(min-width:901px){
 .se-mobile-drawer-head,
 .se-mobile-drawer-close,
 .se-mobile-side-trigger,
 .se-mobile-drawer-shade{display:none!important;visibility:hidden!important;pointer-events:none!important}
 [data-se-drawer-panel]{visibility:visible!important;transform:none!important}
}


/* Restore complete icon + text navigation inside expanded mobile drawers. */
@media(max-width:900px){
 [data-se-drawer-panel="dashboard"] .dash-brand span,
 [data-se-drawer-panel="dashboard"] .dash-link span{display:inline!important;visibility:visible!important;opacity:1!important}
 [data-se-drawer-panel="dashboard"] .dash-brand{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;width:100%!important;min-height:52px!important;padding:8px 10px 14px!important;text-align:left!important}
 [data-se-drawer-panel="dashboard"] .dash-brand .logo-mark{display:grid!important;place-items:center!important;flex:0 0 auto!important}
 [data-se-drawer-panel="dashboard"] .dash-link{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:13px!important;width:100%!important;min-height:46px!important;padding:11px 13px!important;text-align:left!important;font-size:14px!important}
 [data-se-drawer-panel="dashboard"] .dash-link span{flex:1!important;min-width:0!important;white-space:normal!important;line-height:1.25!important}
 [data-se-drawer-panel="dashboard"] .dash-nav-title{display:block!important;margin:16px 10px 7px!important;font-size:10px!important;letter-spacing:.12em!important}
 [data-se-drawer-panel="dashboard"] .store-mini{display:flex!important;width:100%!important}
 [data-se-drawer-panel="dashboard"] .upgrade{display:inline-flex!important;width:100%!important}

 [data-se-drawer-panel="admin"] .admin-link span.label{display:inline!important;visibility:visible!important;opacity:1!important;flex:1!important;min-width:0!important;white-space:normal!important;line-height:1.25!important}
 [data-se-drawer-panel="admin"] .admin-link{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:11px!important;width:100%!important;min-height:45px!important;padding:10px 12px!important;text-align:left!important}
 [data-se-drawer-panel="admin"] .admin-nav-title{display:block!important;margin:16px 10px 7px!important}
 [data-se-drawer-panel="admin"] .admin-link .count,
 [data-se-drawer-panel="admin"] .admin-link .as-count{display:inline-flex!important;margin-left:auto!important}
 [data-se-drawer-panel="admin"] .as-logo>span:not(.logo-mark),
 [data-se-drawer-panel="admin"] .admin-brand>span:not(.logo-mark){display:inline!important;visibility:visible!important;opacity:1!important}

 [data-se-drawer-panel="account"] button,
 [data-se-drawer-panel="market"] button,
 [data-se-drawer-panel="mail"] button{font-size:14px!important;line-height:1.3!important}
}


/* Precise, reusable close-button geometry for every mobile drawer. */
@media(max-width:900px){
 [data-se-drawer-panel]>.se-mobile-drawer-head{display:flex!important;align-items:center!important;gap:10px!important;width:100%!important;min-height:58px!important;padding:4px 2px 13px!important;position:sticky!important;top:-16px!important;z-index:30!important}
 [data-se-drawer-panel]>.se-mobile-drawer-head>div{flex:1 1 auto!important;min-width:0!important;padding-right:2px!important}
 [data-se-drawer-panel]>.se-mobile-drawer-head>div b,[data-se-drawer-panel]>.se-mobile-drawer-head>div small{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
 [data-se-drawer-panel]>.se-mobile-drawer-head>.se-mobile-drawer-close{display:grid!important;place-items:center!important;flex:0 0 40px!important;width:40px!important;min-width:40px!important;max-width:40px!important;height:40px!important;min-height:40px!important;max-height:40px!important;margin:0 0 0 auto!important;padding:0!important;align-self:center!important;text-align:center!important;line-height:1!important;font-size:21px!important;border-radius:12px!important;transform:none!important}
 [data-se-drawer-panel]>.se-mobile-drawer-head>.se-mobile-drawer-close:hover{transform:none!important}
 .account-layout>.account-nav:before,.market-layout>.sidebar-filter:before{display:none!important;content:none!important}
}

/* Professional Website Studio v4 visual system. */
#seWebsiteStudio{--studio-accent:#6758ed;--studio-accent2:#8b5cf6;--studio-ink:#172033;--studio-muted:#6f7b91;--studio-line:#e3e7f0;--studio-panel:#f7f8fc;font-family:Inter,Arial,sans-serif!important}
#seWebsiteStudio .se-studio-top{min-height:66px!important;padding:9px 14px!important;background:rgba(255,255,255,.96)!important;border-bottom:1px solid var(--studio-line)!important;box-shadow:0 12px 34px rgba(26,35,70,.10)!important;backdrop-filter:blur(18px)!important;gap:9px!important}
#seWebsiteStudio .se-studio-brand{padding-right:12px!important}#seWebsiteStudio .se-studio-brand i{width:38px!important;height:38px!important;border-radius:12px!important;background:linear-gradient(135deg,var(--studio-accent),var(--studio-accent2))!important;box-shadow:0 9px 22px rgba(103,88,237,.28)!important}
#seWebsiteStudio .se-studio-brand span{font-weight:900!important;color:var(--studio-ink)!important}#seWebsiteStudio .se-studio-brand small{color:#8791a5!important;letter-spacing:.10em!important}
#seWebsiteStudio .se-studio-mode,#seWebsiteStudio .se-studio-breakpoints{padding:4px!important;border:1px solid var(--studio-line)!important;border-radius:13px!important;background:#f3f5f9!important;box-shadow:inset 0 1px 2px rgba(25,35,60,.04)!important}
#seWebsiteStudio .se-studio-mode button,#seWebsiteStudio .se-studio-breakpoints button{min-height:36px!important;padding:8px 13px!important;border-radius:9px!important;color:#647087!important;font-weight:850!important}
#seWebsiteStudio .se-studio-mode button.active,#seWebsiteStudio .se-studio-breakpoints button.active{background:#fff!important;color:#5748df!important;box-shadow:0 5px 14px rgba(35,45,80,.12)!important}
#seWebsiteStudio .se-studio-status{display:flex!important;flex-direction:column!important;justify-content:center!important;min-width:135px!important;padding:7px 11px!important;border:1px solid #dfe4ee!important;border-radius:12px!important;background:#fafbfe!important;line-height:1.15!important}#seWebsiteStudio .se-studio-status b{font-size:11px!important;color:#16845f!important}#seWebsiteStudio .se-studio-status[data-dirty=true] b{color:#b86a00!important}#seWebsiteStudio .se-studio-status small{font-size:9px!important;color:#8993a7!important;margin-top:3px!important;letter-spacing:.08em!important}
#seWebsiteStudio .se-studio-top>[data-action]{min-height:38px!important;padding:8px 12px!important;border:1px solid #dfe4ee!important;border-radius:10px!important;background:#fff!important;color:#455168!important;font-weight:800!important;box-shadow:0 3px 10px rgba(30,40,70,.04)!important}#seWebsiteStudio .se-studio-top>[data-action]:hover{border-color:#a99ff4!important;color:#5548df!important;transform:translateY(-1px)!important}#seWebsiteStudio .se-studio-top>[data-action=publish]{background:linear-gradient(135deg,var(--studio-accent),var(--studio-accent2))!important;color:#fff!important;border-color:transparent!important;box-shadow:0 9px 22px rgba(103,88,237,.24)!important}
#seWebsiteStudio .se-studio-panel{width:min(400px,calc(100vw - 18px))!important;background:var(--studio-panel)!important;border:1px solid #dde3ed!important;border-radius:18px!important;box-shadow:0 26px 70px rgba(20,30,60,.22)!important;overflow:hidden!important}
#seWebsiteStudio .se-studio-panel-head{padding:18px!important;background:linear-gradient(145deg,#fff,#f6f4ff)!important;border-bottom:1px solid #e2e6ef!important}#seWebsiteStudio .se-studio-panel-head h2{font-size:18px!important;color:var(--studio-ink)!important;margin:0 0 5px!important}#seWebsiteStudio .se-studio-panel-head p{color:var(--studio-muted)!important;line-height:1.4!important}
#seWebsiteStudio .se-studio-tabs{padding:8px!important;background:#fff!important;border-bottom:1px solid #e5e8ef!important;gap:5px!important}#seWebsiteStudio .se-studio-tabs button{min-height:39px!important;border-radius:10px!important;font-weight:800!important}#seWebsiteStudio .se-studio-tabs button.active{background:#ece9ff!important;color:#594be1!important}
#seWebsiteStudio .se-studio-card{margin:12px!important;padding:15px!important;border:1px solid #e0e5ee!important;border-radius:15px!important;background:#fff!important;box-shadow:0 7px 20px rgba(25,35,70,.045)!important}#seWebsiteStudio .se-studio-card h3{color:#202a3f!important;font-size:13px!important;letter-spacing:.01em!important}
#seWebsiteStudio .se-studio-field input,#seWebsiteStudio .se-studio-field textarea,#seWebsiteStudio .se-studio-field select{min-height:42px!important;border:1px solid #dce2ec!important;border-radius:10px!important;background:#fbfcff!important;color:#1f293d!important}#seWebsiteStudio .se-studio-field input:focus,#seWebsiteStudio .se-studio-field textarea:focus,#seWebsiteStudio .se-studio-field select:focus{border-color:#7769ef!important;box-shadow:0 0 0 3px rgba(103,88,237,.13)!important;outline:0!important}
#seWebsiteStudio .se-studio-device-note{border-radius:11px!important;padding:10px 11px!important;background:#f0eeff!important;color:#534a78!important;border:1px solid #ded9ff!important}
#seWebsiteStudio .se-studio-confirm-backdrop{position:fixed!important;inset:0!important;z-index:2147483647!important;display:grid!important;place-items:center!important;padding:18px!important;background:rgba(8,12,24,.58)!important;backdrop-filter:blur(7px)!important;animation:seConfirmFade .16s ease both!important}
#seWebsiteStudio .se-studio-confirm{width:min(470px,calc(100vw - 28px))!important;padding:24px!important;border-radius:22px!important;border:1px solid rgba(255,255,255,.8)!important;background:#fff!important;box-shadow:0 32px 95px rgba(0,0,0,.32)!important;animation:seConfirmPop .19s ease both!important}
#seWebsiteStudio .se-studio-confirm-icon{width:50px!important;height:50px!important;display:grid!important;place-items:center!important;border-radius:15px!important;margin-bottom:15px!important;background:#eeebff!important;color:#5d4ce7!important;font-size:24px!important;font-weight:950!important}#seWebsiteStudio .se-studio-confirm-icon.danger{background:#fff0f1!important;color:#cf4554!important}
#seWebsiteStudio .se-studio-confirm-copy>span{font-size:10px!important;letter-spacing:.14em!important;font-weight:950!important;color:#8073df!important}#seWebsiteStudio .se-studio-confirm-copy h2{margin:7px 0 8px!important;font-size:22px!important;color:#172033!important}#seWebsiteStudio .se-studio-confirm-copy p{margin:0!important;color:#68748a!important;line-height:1.65!important;font-size:13px!important}
#seWebsiteStudio .se-studio-confirm-actions{display:flex!important;justify-content:flex-end!important;gap:9px!important;margin-top:22px!important}#seWebsiteStudio .se-studio-confirm-actions button{min-height:43px!important;padding:10px 16px!important;border-radius:11px!important;border:1px solid #dfe4ed!important;background:#fff!important;color:#445168!important;font-weight:850!important}#seWebsiteStudio .se-studio-confirm-actions button.primary{background:linear-gradient(135deg,var(--studio-accent),var(--studio-accent2))!important;color:#fff!important;border-color:transparent!important}#seWebsiteStudio .se-studio-confirm-actions button.danger{background:#d94857!important;color:#fff!important;border-color:#d94857!important}
@keyframes seConfirmFade{from{opacity:0}to{opacity:1}}@keyframes seConfirmPop{from{opacity:0;transform:translateY(8px) scale(.97)}to{opacity:1;transform:none}}
@media(max-width:760px){#seWebsiteStudio .se-studio-top{overflow-x:auto!important;flex-wrap:nowrap!important}#seWebsiteStudio .se-studio-brand span,#seWebsiteStudio .se-studio-status{display:none!important}#seWebsiteStudio .se-studio-panel{left:9px!important;right:9px!important;bottom:9px!important;max-height:calc(100dvh - 84px)!important}#seWebsiteStudio .se-studio-confirm{padding:20px!important}#seWebsiteStudio .se-studio-confirm-actions{flex-direction:column-reverse!important}#seWebsiteStudio .se-studio-confirm-actions button{width:100%!important}}

#seWebsiteStudio .se-studio-confirm-backdrop,#seWebsiteStudio .se-studio-confirm,#seWebsiteStudio .se-studio-confirm *{pointer-events:auto!important}

/* Structured sortable movement: valid sibling slots only. */
body.se-studio-structured-sort{cursor:grabbing!important;user-select:none!important}
body.se-studio-structured-sort [data-se-editable=true]{transition:transform .16s ease,box-shadow .16s ease,margin .16s ease!important}
body.se-studio-structured-sort .se-studio-sort-dragging{opacity:.42!important;pointer-events:none!important;outline:2px dashed #6758ed!important;outline-offset:3px!important;box-shadow:0 18px 45px rgba(103,88,237,.22)!important}
body.se-studio-structured-sort [data-se-drop-position=before]{box-shadow:inset 0 4px 0 #6758ed,0 -8px 20px rgba(103,88,237,.12)!important}
body.se-studio-structured-sort [data-se-drop-position=after]{box-shadow:inset 0 -4px 0 #6758ed,0 8px 20px rgba(103,88,237,.12)!important}
body.se-studio-structured-sort [data-se-drop-position=before]::before,body.se-studio-structured-sort [data-se-drop-position=after]::after{content:'DROP HERE';position:absolute!important;z-index:2147483000!important;right:8px!important;padding:3px 7px!important;border-radius:6px!important;background:#6758ed!important;color:#fff!important;font:800 9px/1.2 Inter,Arial,sans-serif!important;letter-spacing:.08em!important;pointer-events:none!important}
body.se-studio-structured-sort [data-se-drop-position=before]::before{top:-7px!important}body.se-studio-structured-sort [data-se-drop-position=after]::after{bottom:-7px!important}
#seWebsiteStudio .se-studio-status[data-secure=true]{border-color:#ccebdd!important;background:#f2fbf7!important}
#seWebsiteStudio .se-studio-secure-note{margin:10px 12px!important;padding:11px 12px!important;border:1px solid #cfe9dc!important;border-radius:12px!important;background:#f1faf6!important;color:#27684f!important;font-size:11px!important;line-height:1.5!important}


/* Sale Earn v14 — calm, accessible mode lighting across every device. */
html:root[data-theme="light"]{
 --se-page:#f4f6fa;--se-page-2:#eef2f7;--se-surface:#ffffff;--se-surface-2:#f8fafd;--se-surface-3:#f1f4f8;
 --se-text:#172033;--se-heading:#111a2d;--se-muted:#667085;--se-line:#dce3ed;--se-line-strong:#cbd5e2;
 --se-accent:#5a50d2;--se-accent-2:#6b5bd7;--se-accent-soft:#eeecff;--se-input:#fbfcfe;
 --se-shadow:0 12px 32px rgba(25,38,68,.075);--se-shadow-soft:0 6px 18px rgba(25,38,68,.055);
 color-scheme:light;
}
html:root[data-theme="dark"]{
 --se-page:#070b12;--se-page-2:#0a101a;--se-surface:#0f1724;--se-surface-2:#131d2b;--se-surface-3:#182334;
 --se-text:#e4eaf3;--se-heading:#f0f3f8;--se-muted:#9aa8ba;--se-line:#263246;--se-line-strong:#344258;
 --se-accent:#7770d8;--se-accent-2:#655fc1;--se-accent-soft:#24213f;--se-input:#0b121d;
 --se-shadow:0 16px 38px rgba(0,0,0,.30);--se-shadow-soft:0 8px 22px rgba(0,0,0,.22);
 color-scheme:dark;
}
html:root[data-theme] body{color:var(--se-text)!important;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
html:root[data-theme="light"] body{background:radial-gradient(circle at 8% 0%,rgba(91,80,210,.055),transparent 28%),linear-gradient(145deg,var(--se-page),var(--se-page-2))!important}
html:root[data-theme="dark"] body{background:radial-gradient(circle at 12% 0%,rgba(102,94,190,.09),transparent 28%),linear-gradient(145deg,var(--se-page),var(--se-page-2))!important}
html:root[data-theme] body::before{opacity:.16!important;filter:none!important}
html:root[data-theme] h1,html:root[data-theme] h2,html:root[data-theme] h3,html:root[data-theme] h4,html:root[data-theme] strong,html:root[data-theme] b{color:var(--se-heading)}
html:root[data-theme] .muted,html:root[data-theme] .small,html:root[data-theme] .sub,html:root[data-theme] small{color:var(--se-muted)}

/* Global chrome and calm surfaces. */
html:root[data-theme] .topbar,html:root[data-theme] .mobile-topbar,html:root[data-theme] .mobile-bottom-nav,html:root[data-theme] .sticky-mobile-actions{background:color-mix(in srgb,var(--se-surface) 94%,transparent)!important;color:var(--se-text)!important;border-color:var(--se-line)!important;box-shadow:var(--se-shadow-soft)!important;backdrop-filter:blur(16px)!important}
html:root[data-theme="dark"] .topbar,html:root[data-theme="dark"] .mobile-topbar,html:root[data-theme="dark"] .mobile-bottom-nav{background:rgba(10,16,26,.94)!important}
html:root[data-theme] .logo,html:root[data-theme] .brand{color:var(--se-heading)!important}
html:root[data-theme] .nav a,html:root[data-theme] .nav button,html:root[data-theme] .mobile-bottom-nav button{color:var(--se-muted)!important}
html:root[data-theme] .mobile-bottom-nav button.active{background:var(--se-accent-soft)!important;color:var(--se-accent)!important;box-shadow:none!important}
html:root[data-theme] .search,html:root[data-theme] .searchbox,html:root[data-theme] .search input,html:root[data-theme] .searchbox input{background:var(--se-input)!important;color:var(--se-text)!important;border-color:var(--se-line)!important}
html:root[data-theme] input::placeholder,html:root[data-theme] textarea::placeholder{color:color-mix(in srgb,var(--se-muted) 82%,transparent)!important}

/* Hero: strong hierarchy without glare. */
html:root[data-theme="light"] .hero{background:radial-gradient(circle at 82% 18%,rgba(104,91,215,.12),transparent 31%),linear-gradient(180deg,#ffffff 0%,#f3f5fa 100%)!important;border-color:var(--se-line)!important}
html:root[data-theme="dark"] .hero{background:radial-gradient(circle at 82% 14%,rgba(105,94,190,.14),transparent 34%),linear-gradient(155deg,#0b111d 0%,#11182a 54%,#0a101a 100%)!important;border-color:var(--se-line)!important}
html:root[data-theme] .hero h1{color:var(--se-heading)!important;text-shadow:none!important}
html:root[data-theme] .hero p{color:var(--se-muted)!important}
html:root[data-theme="dark"] .eyebrow{color:#aaa4e6!important}
html:root[data-theme="light"] .eyebrow{color:#5b50c8!important}
html:root[data-theme] .hero-art,html:root[data-theme] .pick-card,html:root[data-theme] .ad-premium-card{background:var(--se-surface-2)!important;color:var(--se-text)!important;border-color:var(--se-line)!important;box-shadow:var(--se-shadow-soft)!important}
html:root[data-theme="dark"] .hero-art{background:#111a29!important}

/* Reusable content surfaces. */
html:root[data-theme] .card,html:root[data-theme] .product-card,html:root[data-theme] .category-card,html:root[data-theme] .detail-main,html:root[data-theme] .review-box,html:root[data-theme] .bundle-box,html:root[data-theme] .faq,html:root[data-theme] .profile-head,html:root[data-theme] .profile-card,html:root[data-theme] .seller-card,html:root[data-theme] .seller-box,html:root[data-theme] .auth-box,html:root[data-theme] .modal,html:root[data-theme] .success-card{background:var(--se-surface)!important;color:var(--se-text)!important;border-color:var(--se-line)!important;box-shadow:var(--se-shadow-soft)!important}
html:root[data-theme] .thumb,html:root[data-theme] .detail-image,html:root[data-theme] .mini-thumb{background:var(--se-surface-3)!important}
html:root[data-theme] .product-card:hover,html:root[data-theme] .category-card:hover,html:root[data-theme] .asset-card:hover{border-color:color-mix(in srgb,var(--se-accent) 55%,var(--se-line))!important;box-shadow:var(--se-shadow)!important}
html:root[data-theme] .tag,html:root[data-theme] .pill,html:root[data-theme] .featured-badge{background:var(--se-accent-soft)!important;color:color-mix(in srgb,var(--se-accent) 88%,var(--se-heading))!important;border-color:color-mix(in srgb,var(--se-accent) 25%,var(--se-line))!important}

/* Forms, buttons and focus lighting. */
html:root[data-theme] .field input,html:root[data-theme] .field textarea,html:root[data-theme] .field select,html:root[data-theme] .input,html:root[data-theme] .admin-search{background:var(--se-input)!important;color:var(--se-text)!important;border-color:var(--se-line)!important;box-shadow:none!important}
html:root[data-theme] .field input:focus,html:root[data-theme] .field textarea:focus,html:root[data-theme] .field select:focus,html:root[data-theme] .search input:focus,html:root[data-theme] .searchbox input:focus{border-color:var(--se-accent)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--se-accent) 18%,transparent)!important;outline:none!important}
html:root[data-theme] .btn:not(.primary):not(.danger):not(.green),html:root[data-theme] .view-toggle button,html:root[data-theme] .faq button{background:var(--se-surface-2)!important;color:var(--se-text)!important;border-color:var(--se-line)!important;box-shadow:none!important}
html:root[data-theme] .btn:not(.primary):not(.danger):not(.green):hover,html:root[data-theme] .view-toggle button:hover{background:var(--se-surface-3)!important;border-color:var(--se-line-strong)!important;box-shadow:var(--se-shadow-soft)!important}
html:root[data-theme] .btn.primary{background:linear-gradient(135deg,#5b52cf,#6b5bd7)!important;color:#f8f9ff!important;border-color:transparent!important;box-shadow:0 10px 24px rgba(75,65,165,.22)!important}
html:root[data-theme="dark"] .btn.primary{background:linear-gradient(135deg,#5751b6,#665dc0)!important;color:#f1f2fa!important;box-shadow:0 9px 22px rgba(0,0,0,.24)!important}
html:root[data-theme] .btn.danger{background:color-mix(in srgb,#b94856 14%,var(--se-surface))!important;color:color-mix(in srgb,#e06a76 78%,var(--se-text))!important;border-color:color-mix(in srgb,#b94856 38%,var(--se-line))!important}

/* Marketplace, Account and Mail. */
html:root[data-theme] .sidebar-filter,html:root[data-theme] .account-nav,html:root[data-theme] .account-panel,html:root[data-theme] .account-profile-card,html:root[data-theme] .account-stat,html:root[data-theme] .asset-card,html:root[data-theme] .mail-sidebar,html:root[data-theme] .mail-main,html:root[data-theme] .mail-list,html:root[data-theme] .mail-detail,html:root[data-theme] .mail-info-card{background:var(--se-surface)!important;color:var(--se-text)!important;border-color:var(--se-line)!important;box-shadow:var(--se-shadow-soft)!important}
html:root[data-theme] .filter-cat,html:root[data-theme] .account-nav button,html:root[data-theme] .mail-nav{background:transparent!important;color:var(--se-muted)!important;border-color:transparent!important}
html:root[data-theme] .filter-cat:hover,html:root[data-theme] .filter-cat.active,html:root[data-theme] .account-nav button:hover,html:root[data-theme] .mail-nav:hover{background:var(--se-surface-3)!important;color:var(--se-text)!important}
html:root[data-theme] .account-nav button.active,html:root[data-theme] .mail-nav.active{background:var(--se-accent-soft)!important;color:color-mix(in srgb,var(--se-accent) 85%,var(--se-heading))!important;box-shadow:inset 3px 0 var(--se-accent)!important}
html:root[data-theme] .account-order,html:root[data-theme] .mail-row,html:root[data-theme] .security-row{border-color:var(--se-line)!important;color:var(--se-text)!important}
html:root[data-theme] .account-order:hover,html:root[data-theme] .mail-row:hover{background:var(--se-surface-2)!important}

/* Seller dashboard. */
html:root[data-theme] .dashboard-shell,html:root[data-theme] .dash-content{background:transparent!important;color:var(--se-text)!important}
html:root[data-theme] .dash-side,html:root[data-theme] .dash-top,html:root[data-theme] .metric,html:root[data-theme] .dash-card,html:root[data-theme] .dash-form,html:root[data-theme] .power,html:root[data-theme] .plan,html:root[data-theme] .settings-card,html:root[data-theme] .store-mini{background:var(--se-surface)!important;color:var(--se-text)!important;border-color:var(--se-line)!important;box-shadow:var(--se-shadow-soft)!important}
html:root[data-theme="dark"] .dash-top{background:rgba(12,19,30,.95)!important}
html:root[data-theme] .dash-link{background:transparent!important;color:var(--se-muted)!important;border-color:transparent!important;box-shadow:none!important}
html:root[data-theme] .dash-link:hover{background:var(--se-surface-3)!important;color:var(--se-text)!important;border-color:var(--se-line)!important;box-shadow:none!important}
html:root[data-theme] .dash-link.active{background:var(--se-accent-soft)!important;color:color-mix(in srgb,var(--se-accent) 85%,var(--se-heading))!important;border-color:color-mix(in srgb,var(--se-accent) 28%,var(--se-line))!important;box-shadow:inset 3px 0 var(--se-accent)!important}
html:root[data-theme] .dash-table,html:root[data-theme] .admin-table{background:var(--se-surface)!important;color:var(--se-text)!important;border-color:var(--se-line)!important}
html:root[data-theme] .dash-table th,html:root[data-theme] .admin-table th{background:var(--se-surface-2)!important;color:var(--se-muted)!important;border-color:var(--se-line)!important}
html:root[data-theme] .dash-table td,html:root[data-theme] .admin-table td{background:transparent!important;color:var(--se-text)!important;border-color:var(--se-line)!important}
html:root[data-theme] .dash-table tr:hover td,html:root[data-theme] .admin-table tr:hover td{background:var(--se-surface-2)!important}

/* Admin Studio. */
html:root[data-theme] body.se-admin .admin-shell,html:root[data-theme] .admin-shell{background:transparent!important;color:var(--se-text)!important}
html:root[data-theme] .admin-side{background:var(--se-surface)!important;color:var(--se-text)!important;border-color:var(--se-line)!important;box-shadow:var(--se-shadow)!important}
html:root[data-theme] .admin-main,html:root[data-theme] .admin-content{background:transparent!important;color:var(--se-text)!important}
html:root[data-theme] .admin-top{background:color-mix(in srgb,var(--se-surface) 95%,transparent)!important;color:var(--se-text)!important;border-color:var(--se-line)!important;box-shadow:var(--se-shadow-soft)!important}
html:root[data-theme="dark"] .admin-top{background:rgba(12,19,30,.96)!important}
html:root[data-theme] .admin-card,html:root[data-theme] .admin-kpi,html:root[data-theme] .admin-detail-box,html:root[data-theme] .admin-stat,html:root[data-theme] .admin-confirm{background:var(--se-surface)!important;color:var(--se-text)!important;border-color:var(--se-line)!important;box-shadow:var(--se-shadow-soft)!important}
html:root[data-theme] .admin-link{background:transparent!important;color:var(--se-muted)!important;border-color:transparent!important;box-shadow:none!important}
html:root[data-theme] .admin-link:hover{background:var(--se-surface-3)!important;color:var(--se-text)!important;border-color:var(--se-line)!important;box-shadow:none!important}
html:root[data-theme] .admin-link.active{background:var(--se-accent-soft)!important;color:color-mix(in srgb,var(--se-accent) 86%,var(--se-heading))!important;border-color:color-mix(in srgb,var(--se-accent) 28%,var(--se-line))!important;box-shadow:inset 3px 0 var(--se-accent)!important}
html:root[data-theme] .as-eyebrow,html:root[data-theme] .admin-nav-title,html:root[data-theme] .dash-nav-title{color:var(--se-muted)!important}

/* Modals, payment, notifications and overlays. */
html:root[data-theme] .modal-bg,html:root[data-theme] .admin-confirm-bg{background:rgba(3,7,13,.62)!important;backdrop-filter:blur(5px)!important}
html:root[data-theme] .payment-layout,html:root[data-theme] .payment-right{background:var(--se-page-2)!important;color:var(--se-text)!important}
html:root[data-theme] .payment-left,html:root[data-theme] .payment-right-inner,html:root[data-theme] .payment-total,html:root[data-theme] .pay-opt{background:var(--se-surface)!important;color:var(--se-text)!important;border-color:var(--se-line)!important}
html:root[data-theme] .pay-opt:hover{background:var(--se-surface-2)!important}.pay-opt.active{background:var(--se-accent-soft)!important;color:var(--se-text)!important}
html:root[data-theme] .toast{background:var(--se-surface-3)!important;color:var(--se-text)!important;border:1px solid var(--se-line)!important;box-shadow:var(--se-shadow)!important}
html:root[data-theme] .footer{background:#0c121d!important;color:#e1e7f0!important;border-color:#232f41!important}
html:root[data-theme] .footer a{color:#aab6c8!important}

/* Mobile drawer lighting and safe device behavior. */
@media(max-width:900px){
 html:root[data-theme] [data-se-drawer-panel]{background:var(--se-surface)!important;color:var(--se-text)!important;border-color:var(--se-line)!important;box-shadow:22px 0 58px rgba(0,0,0,.28)!important}
 html:root[data-theme] .se-mobile-drawer-head{background:var(--se-surface)!important;border-color:var(--se-line)!important}
 html:root[data-theme] .se-mobile-drawer-head b{color:var(--se-heading)!important}html:root[data-theme] .se-mobile-drawer-head small{color:var(--se-muted)!important}
 html:root[data-theme] .se-mobile-drawer-close,html:root[data-theme] .se-mobile-side-trigger{background:var(--se-surface-2)!important;color:var(--se-text)!important;border-color:var(--se-line)!important;box-shadow:none!important}
 html:root[data-theme] .se-mobile-drawer-shade{background:rgba(3,7,13,.67)!important;backdrop-filter:blur(4px)!important}
 html:root[data-theme] .dashboard-shell>.dash-main>.dash-top,html:root[data-theme] .admin-top.se-has-side-trigger,html:root[data-theme] .market-tools.se-has-side-trigger,html:root[data-theme] .account-head{background:color-mix(in srgb,var(--se-surface) 95%,transparent)!important;border-color:var(--se-line)!important}
}

/* Website Studio follows the selected theme without harsh white panels. */
html:root[data-theme="dark"] #seWebsiteStudio{--studio-ink:var(--se-text)!important;--studio-muted:var(--se-muted)!important;--studio-line:var(--se-line)!important;--studio-panel:var(--se-page-2)!important}
html:root[data-theme="dark"] #seWebsiteStudio .se-studio-top,html:root[data-theme="dark"] #seWebsiteStudio .se-studio-panel,html:root[data-theme="dark"] #seWebsiteStudio .se-studio-panel-head,html:root[data-theme="dark"] #seWebsiteStudio .se-studio-tabs,html:root[data-theme="dark"] #seWebsiteStudio .se-studio-card,html:root[data-theme="dark"] #seWebsiteStudio .se-studio-confirm{background:var(--se-surface)!important;color:var(--se-text)!important;border-color:var(--se-line)!important;box-shadow:var(--se-shadow)!important}
html:root[data-theme="dark"] #seWebsiteStudio .se-studio-card h3,html:root[data-theme="dark"] #seWebsiteStudio .se-studio-panel-head h2,html:root[data-theme="dark"] #seWebsiteStudio .se-studio-confirm-copy h2{color:var(--se-heading)!important}
html:root[data-theme="dark"] #seWebsiteStudio .se-studio-panel-head p,html:root[data-theme="dark"] #seWebsiteStudio .se-studio-confirm-copy p{color:var(--se-muted)!important}
html:root[data-theme="dark"] #seWebsiteStudio .se-studio-field input,html:root[data-theme="dark"] #seWebsiteStudio .se-studio-field textarea,html:root[data-theme="dark"] #seWebsiteStudio .se-studio-field select{background:var(--se-input)!important;color:var(--se-text)!important;border-color:var(--se-line)!important}
html:root[data-theme="dark"] #seWebsiteStudio .se-studio-top>[data-action],html:root[data-theme="dark"] #seWebsiteStudio .se-studio-confirm-actions button{background:var(--se-surface-2)!important;color:var(--se-text)!important;border-color:var(--se-line)!important}
html:root[data-theme="dark"] #seWebsiteStudio .se-studio-top>[data-action=publish],html:root[data-theme="dark"] #seWebsiteStudio .se-studio-confirm-actions button.primary{background:linear-gradient(135deg,#5751b6,#665dc0)!important;color:#f2f3fa!important;border-color:transparent!important}

/* Scrollbars and selection are intentionally muted. */
html:root[data-theme] *{scrollbar-color:var(--se-line-strong) transparent}
html:root[data-theme] ::selection{background:color-mix(in srgb,var(--se-accent) 32%,transparent);color:var(--se-heading)}


/* V15: targeted hierarchy, spacing and component repair after full rendered-page audit. */
html:root[data-theme]{--se-radius-sm:12px;--se-radius:16px;--se-radius-lg:22px}
html:root[data-theme] body{letter-spacing:-.005em}
html:root[data-theme] h1,html:root[data-theme] h2,html:root[data-theme] h3{letter-spacing:-.025em}
html:root[data-theme] .page-title{padding-top:34px;padding-bottom:24px}
html:root[data-theme] .page-title h1{font-size:clamp(28px,4vw,40px);line-height:1.08;margin-bottom:8px}
html:root[data-theme] .section{padding-top:44px;padding-bottom:44px}
html:root[data-theme] .section-head{margin-bottom:20px}
html:root[data-theme] .is-empty-section{display:none!important}

/* Stable vector icons */
.mobile-search-glyph svg,.search>span svg,.mobile-account svg,.mobile-bottom-nav svg,.se-mobile-side-trigger svg{width:100%;height:100%;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mobile-search-glyph,.search>span{width:18px!important;height:18px!important;display:grid;place-items:center}
.mobile-account svg{width:20px;height:20px}
.se-mobile-side-trigger span{width:24px;height:24px;display:block!important;transform:none!important}.se-mobile-side-trigger svg{fill:currentColor;stroke:none}

/* Hero: readable and intentionally composed in both themes. */
html:root[data-theme] .hero{padding:68px 0 56px!important;border-bottom:1px solid color-mix(in srgb,var(--se-line) 70%,transparent)}
html:root[data-theme] .hero-grid{gap:42px}
html:root[data-theme] .hero h1{max-width:690px;font-size:clamp(42px,5vw,64px);line-height:1.02;margin:14px 0 18px}
html:root[data-theme] .hero p{max-width:610px;font-size:16px;line-height:1.72}
html:root[data-theme] .hero-art{border:1px solid var(--se-line)!important;border-radius:26px!important;min-height:310px;overflow:hidden}
html:root[data-theme] .hero-kicker{color:var(--se-muted);font-size:10px;font-weight:900;letter-spacing:.11em;margin:2px 4px 15px}
html:root[data-theme] .hero-empty{display:flex;flex-direction:column;justify-content:space-between;padding:28px!important;background:linear-gradient(145deg,var(--se-surface),var(--se-surface-2))!important}
html:root[data-theme] .hero-empty-mark{width:52px;height:52px;border-radius:15px;display:grid;place-items:center;color:#fff;font-weight:950;background:linear-gradient(135deg,var(--brand),var(--brand2));box-shadow:0 12px 32px rgba(81,70,229,.24)}
html:root[data-theme] .hero-empty h3{font-size:24px;line-height:1.2;margin:8px 0}
html:root[data-theme] .hero-empty p{font-size:13px;line-height:1.55;margin:0}
html:root[data-theme] .hero-empty-tags{display:flex;gap:7px;flex-wrap:wrap}.hero-empty-tags span{font-size:11px;font-weight:800;padding:7px 10px;border:1px solid var(--se-line);border-radius:999px;color:var(--se-muted);background:var(--se-surface)}
html:root[data-theme="dark"] .hero-empty{background:linear-gradient(145deg,#111a29,#0d1522)!important}

/* Cards and content hierarchy */
html:root[data-theme] .category-card,html:root[data-theme] .product-card,html:root[data-theme] .dash-card,html:root[data-theme] .admin-card{border-radius:var(--se-radius)!important}
html:root[data-theme] .category-card{min-height:142px;padding:22px!important;display:flex;flex-direction:column;align-items:flex-start;text-align:left}
html:root[data-theme] .category-card .cat-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:var(--se-accent-soft);font-size:22px}
html:root[data-theme] .category-card h3{margin:14px 0 6px;font-size:17px}
html:root[data-theme] .category-card:hover{border-color:color-mix(in srgb,var(--se-accent) 55%,var(--se-line))!important;box-shadow:var(--se-shadow)!important}
html:root[data-theme] #home-categories{background:color-mix(in srgb,var(--se-page-2) 64%,transparent)}
html:root[data-theme] #home-subscriptions{background:color-mix(in srgb,var(--se-page-2) 58%,transparent);border-block:1px solid var(--se-line)}

/* Marketplace toolbar becomes a real control card, not a floating/blank row. */
html:root[data-theme] .market-layout{gap:24px;padding-bottom:56px}
html:root[data-theme] .market-tools{padding:12px;background:var(--se-surface);border:1px solid var(--se-line);border-radius:var(--se-radius);box-shadow:var(--se-shadow-soft);margin-bottom:22px}
html:root[data-theme] .market-tools .searchbox input{height:46px!important;border-radius:12px!important}
html:root[data-theme] .market-tools>.btn{height:46px!important}
html:root[data-theme] .view-toggle{height:46px;border-radius:12px!important}.view-toggle button{min-width:52px}
html:root[data-theme] #marketResults>.dash-card{grid-column:1/-1;min-height:170px;padding:28px!important;display:flex;flex-direction:column;justify-content:center}
html:root[data-theme] #marketResults>.dash-card h3{font-size:20px;margin:0 0 8px}

/* Footer is deliberately dark, with explicit readable typography in both modes. */
html:root[data-theme] .footer{margin-top:0!important;padding:52px 0 46px!important;background:#101827!important;color:#e9eef7!important;border-top:1px solid #273449!important}
html:root[data-theme="dark"] .footer{background:#080e18!important;border-color:#1e2a3b!important}
html:root[data-theme] .footer .logo,html:root[data-theme] .footer .logo span:last-child,html:root[data-theme] .footer b,html:root[data-theme] .footer h1,html:root[data-theme] .footer h2,html:root[data-theme] .footer h3{color:#f4f7fb!important}
html:root[data-theme] .footer-description,html:root[data-theme] .footer .muted{color:#aab6c8!important;line-height:1.72!important;max-width:430px}
html:root[data-theme] .footer-col b{display:block;font-size:12px;letter-spacing:.08em;text-transform:uppercase;margin:3px 0 14px}
html:root[data-theme] .footer a{color:#b9c4d5!important;margin:10px 0!important;text-decoration:none;cursor:pointer}
html:root[data-theme] .footer a:hover{color:#fff!important}
html:root[data-theme] .footer .studio-footer{color:#aab6c8!important;border-top:1px solid #263247;margin-top:30px;padding-top:22px!important}

/* Mobile application shell */
@media(max-width:767px){
 html:root[data-theme] body{padding-bottom:0!important}
 html:root[data-theme] .mobile-topbar{height:calc(64px + env(safe-area-inset-top))!important;padding-top:env(safe-area-inset-top)!important;border-bottom:1px solid var(--se-line)!important}
 html:root[data-theme] .mobile-topbar-inner{height:64px;padding:0 12px!important;gap:9px}
 html:root[data-theme] .mobile-logo{font-size:15px;letter-spacing:-.02em;flex:0 1 auto}
 html:root[data-theme] .mobile-logo .logo-mark{flex:0 0 32px;width:32px;height:32px}
 html:root[data-theme] .mobile-search input{height:42px!important;padding-left:37px!important;font-size:14px!important;background:var(--se-input)!important}
 html:root[data-theme] .mobile-search-glyph{left:11px!important;top:12px!important;color:var(--se-muted)!important}
 html:root[data-theme] .mobile-account{flex:0 0 42px;width:42px;height:42px;border-radius:13px;background:var(--se-surface)!important;color:var(--se-text)!important;border-color:var(--se-line)!important}
 html:root[data-theme] .mobile-bottom-nav{left:8px!important;right:8px!important;bottom:calc(8px + env(safe-area-inset-bottom))!important;width:auto!important;height:64px!important;padding:5px!important;border:1px solid var(--se-line)!important;border-radius:18px!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;box-shadow:0 14px 38px rgba(9,16,30,.18)!important;overflow:visible}
 html:root[data-theme="dark"] .mobile-bottom-nav{box-shadow:0 18px 45px rgba(0,0,0,.52)!important}
 html:root[data-theme] .mobile-bottom-nav button{position:relative;min-width:0!important;min-height:52px!important;padding:5px 2px!important;border:0!important;border-radius:13px!important;gap:3px!important;font-size:9.5px!important;line-height:1!important;transform:none!important}
 html:root[data-theme] .mobile-bottom-nav .micon{width:20px;height:20px;font-size:0!important}.mobile-bottom-nav .micon svg{stroke-width:1.9}
 html:root[data-theme] .mobile-bottom-nav button.active{background:var(--se-accent-soft)!important;color:var(--se-accent)!important}
 html:root[data-theme] .mobile-bottom-nav button.active:before{content:'';position:absolute;top:-1px;left:50%;width:20px;height:3px;border-radius:0 0 5px 5px;transform:translateX(-50%);background:var(--se-accent)}
 html:root[data-theme] .mobile-bottom-nav .nav-count{position:absolute;top:1px;left:calc(50% + 6px);min-width:15px;height:15px;font-size:8px;padding:0 4px}
 html:root[data-theme] .page{padding-bottom:26px!important;min-height:calc(100dvh - 64px)!important}
 html:root[data-theme] .footer{padding:38px 0 calc(92px + env(safe-area-inset-bottom))!important}
 html:root[data-theme] .footer-grid{grid-template-columns:1fr 1fr!important;gap:30px 22px!important}.footer-brand{grid-column:1/-1}
 html:root[data-theme] .toast{left:50%!important;right:auto!important;bottom:calc(84px + env(safe-area-inset-bottom))!important;width:max-content;max-width:calc(100vw - 28px);transform:translateX(-50%)!important;text-align:center;padding:11px 14px!important;font-size:12px}
 html:root[data-theme] .hero{padding:38px 0 32px!important}
 html:root[data-theme] .hero-grid{gap:24px!important}
 html:root[data-theme] .hero h1{font-size:clamp(34px,10.5vw,44px)!important;line-height:1.04!important;margin:12px 0 14px!important}
 html:root[data-theme] .hero p{font-size:14px!important;line-height:1.62!important}
 html:root[data-theme] .hero-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px!important;margin-top:20px!important}.hero-actions .btn{width:100%!important;padding:12px 10px!important;font-size:12px!important}
 html:root[data-theme] .hero-art{min-height:220px!important;border-radius:20px!important}
 html:root[data-theme] .hero-empty{padding:20px!important;min-height:225px!important}.hero-empty-mark{width:44px;height:44px}.hero-empty h3{font-size:20px}.hero-empty p{font-size:12px}
 html:root[data-theme] .section{padding-top:34px!important;padding-bottom:34px!important}.section-head{margin-bottom:16px!important}
 html:root[data-theme] .category-card{min-height:124px!important;padding:18px!important}.category-card .cat-icon{width:38px;height:38px}.category-card h3{font-size:16px;margin-top:11px}
 html:root[data-theme] .page-title{padding:24px 16px 18px!important}.page-title h1{font-size:28px!important}
 html:root[data-theme] .market-layout{padding:0 12px 34px!important;gap:18px!important}
 html:root[data-theme] .market-tools.se-has-side-trigger{display:grid!important;grid-template-columns:44px minmax(0,1fr) auto!important;grid-template-rows:46px 46px!important;gap:9px!important;padding:10px!important;position:sticky!important;top:calc(64px + env(safe-area-inset-top))!important;z-index:74!important}
 html:root[data-theme] .market-tools.se-has-side-trigger>.se-mobile-side-trigger{grid-column:1;grid-row:1;width:44px!important;height:46px!important;min-height:46px!important}
 html:root[data-theme] .market-tools.se-has-side-trigger>.searchbox{grid-column:2/4!important;grid-row:1!important;min-width:0!important}
 html:root[data-theme] .market-tools.se-has-side-trigger>.btn{grid-column:1/3!important;grid-row:2!important;width:100%!important;padding:7px 11px!important;font-size:12px!important;text-align:left!important}
 html:root[data-theme] .market-tools.se-has-side-trigger>.view-toggle{grid-column:3!important;grid-row:2!important;display:grid!important;grid-template-columns:1fr 1fr!important}.market-tools .view-toggle button{padding:8px!important}
 html:root[data-theme] #marketResults>.dash-card{min-height:160px!important;padding:22px!important}
 html:root[data-theme] .se-mobile-side-trigger{background:var(--se-surface-2)!important;color:var(--se-text)!important;border-color:var(--se-line)!important;box-shadow:none!important}
}
@media(max-width:420px){
 html:root[data-theme] .footer-grid{grid-template-columns:1fr!important}.footer-brand{grid-column:auto}
 html:root[data-theme] .hero-actions{grid-template-columns:1fr!important}
}
@media(max-width:340px){html:root[data-theme] .mobile-logo span:last-child{display:none}}
@media(min-width:768px) and (max-width:1100px){
 html:root[data-theme] .hero{padding:52px 0 44px!important}.hero-grid{grid-template-columns:1fr 1fr!important}.hero h1{font-size:46px!important}.hero-art{min-height:280px}
 html:root[data-theme] .grid,html:root[data-theme] .category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}


/* Seller storefront view and image integrity */
.seller-products.grid-view .product-card .thumb{height:auto!important;aspect-ratio:16/10}.seller-products .product-card .thumb img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important}.seller-products.list-view{grid-template-columns:minmax(0,1fr)!important}.seller-products.list-view .product-card{display:grid!important;grid-template-columns:220px minmax(0,1fr)!important;align-items:stretch}.seller-products.list-view .product-card .thumb{height:100%!important;min-height:190px!important;aspect-ratio:auto!important}
/* Three-zone seller score */
.seller-profile-actions{width:min(330px,100%);display:flex;flex-direction:column;gap:10px}.seller-action-buttons{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}.seller-score-card{background:var(--se-surface,var(--card,#fff));color:var(--se-text,var(--ink,#172033));border:1px solid var(--se-line,var(--line,#dde3ed));border-radius:18px;padding:16px;box-shadow:var(--se-shadow-soft,0 8px 22px rgba(20,32,60,.06));margin-bottom:16px}.seller-score-card.compact{padding:12px;margin:0;width:100%}.seller-score-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.seller-score-head>div{display:flex;flex-direction:column;gap:3px}.seller-score-head span{font-size:10px;font-weight:950;letter-spacing:.11em;color:var(--se-muted,var(--muted))}.seller-score-head b{font-size:13px}.seller-score-head strong{font-size:28px;line-height:1}.seller-score-head strong small{font-size:11px;color:var(--se-muted,var(--muted));margin-left:2px}.seller-score-card.red .seller-score-head strong{color:#dc3545}.seller-score-card.yellow .seller-score-head strong{color:#c78600}.seller-score-card.green .seller-score-head strong{color:#159563}.seller-score-track{height:12px;display:flex;position:relative;margin-top:12px;border-radius:999px;box-shadow:inset 0 0 0 2px rgba(255,255,255,.65);background:#e8ebf1}.seller-score-track .zone{height:100%;display:block}.seller-score-track .zone.red{width:30%;background:#e14c58;border-radius:999px 0 0 999px}.seller-score-track .zone.yellow{width:30%;background:#e5ad2c}.seller-score-track .zone.green{width:40%;background:#25a96f;border-radius:0 999px 999px 0}.seller-score-track em{position:absolute;top:50%;width:18px;height:18px;background:#fff;border:3px solid #172033;border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 2px 7px rgba(0,0,0,.25)}.seller-score-scale{display:flex;justify-content:space-between;margin-top:5px;color:var(--se-muted,var(--muted));font-size:9px;font-weight:800}.score-admin-row{display:grid;grid-template-columns:90px minmax(150px,1fr) auto;gap:8px}.score-admin-row input{width:100%}
:root[data-theme=dark] .seller-score-track{box-shadow:inset 0 0 0 2px rgba(4,8,15,.7)}:root[data-theme=dark] .seller-score-track em{background:#f3f5fa;border-color:#090e18}
@media(max-width:760px){.profile-head{align-items:stretch!important}.seller-profile-actions{width:100%}.seller-action-buttons .btn{flex:1}.seller-products.list-view .product-card{display:grid!important;grid-template-columns:112px minmax(0,1fr)!important}.seller-products.list-view .product-card .thumb{height:100%!important;min-height:158px!important}.seller-products.list-view .product-card .body{min-width:0}.score-admin-row{grid-template-columns:1fr}.seller-score-card{border-radius:16px}}


.file-link-row{align-items:flex-end!important;padding:14px;border:1px solid var(--line,#dde3ed);border-radius:14px;background:color-mix(in srgb,var(--card,#fff) 96%,var(--brand,#5146e5) 4%)}.file-link-fields{flex:1;min-width:0;display:grid;grid-template-columns:minmax(160px,.65fr) minmax(240px,1.35fr);gap:10px}.file-link-fields>div{min-width:0}.file-link-fields input{width:100%}.delivery-links{display:grid;gap:10px;margin:18px 0}.delivery-link-item{display:flex;align-items:center;justify-content:space-between;gap:14px;text-align:left}.delivery-link-item>div{min-width:0}.delivery-link-item b,.delivery-link-item small{display:block}.delivery-link-item small{margin-top:4px;color:var(--muted,#6d788b);overflow:hidden;text-overflow:ellipsis}.dash-form:after{content:'Details auto-saved while you type';display:block;margin-top:12px;text-align:center;color:var(--muted,#6d788b);font-size:11px;font-weight:700}
@media(max-width:700px){.file-link-fields{grid-template-columns:minmax(0,1fr)}.file-link-row{align-items:stretch!important}.file-link-row>.btn{width:100%}.delivery-link-item{align-items:stretch;flex-direction:column}.delivery-link-item .btn{width:100%}}


.warning-support-card{border-color:color-mix(in srgb,var(--brand,#5146e5) 35%,var(--line,#dde3ed))!important;background:linear-gradient(145deg,color-mix(in srgb,var(--card,#fff) 96%,var(--brand,#5146e5) 4%),var(--card,#fff))!important}.warning-resolution-check{display:flex;align-items:flex-start;gap:10px;margin:12px 0 16px;padding:12px;border:1px solid var(--line,#dde3ed);border-radius:12px;cursor:pointer}.warning-resolution-check input{margin-top:3px}.warning-resolution-check span,.warning-resolution-check small{display:block}.warning-resolution-check small{margin-top:3px;color:var(--muted,#6d788b)}.warning-message{padding:14px;margin-bottom:10px;border:1px solid var(--line,#dde3ed);border-radius:14px;background:var(--card,#fff)}.warning-message.admin-reply{border-left:4px solid var(--brand,#5146e5)}.warning-message.seller-message{border-left:4px solid #25a96f}.warning-message>div{display:flex;justify-content:space-between;gap:10px;margin-bottom:6px}.warning-message>div span,.warning-message small{font-size:10px;color:var(--muted,#6d788b)}.warning-message p{margin:6px 0;white-space:pre-wrap}.mail-context{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0 0 14px;padding:12px;border:1px solid var(--ad-line,var(--line));border-radius:12px;background:var(--ad-bg,var(--soft))}.mail-context span{font-size:11px;color:var(--ad-muted,var(--muted))}
@media(max-width:640px){.warning-message>div{flex-direction:column}.mail-detail-actions{flex-wrap:wrap}.mail-context .btn{width:100%}}


.product-card{position:relative}.product-badge{position:absolute;z-index:8;top:10px;left:10px;padding:6px 11px;font-weight:900;font-size:11px;line-height:1;border:2px solid var(--badge-border,#fff);background:var(--badge-bg,#5146e5);color:var(--badge-text,#fff);box-shadow:0 5px 14px rgba(0,0,0,.18);font-family:var(--badge-font,Inter)}.product-badge.pill{border-radius:999px}.product-badge.rounded{border-radius:8px}.product-badge.square{border-radius:2px}.product-badge.ribbon{border-radius:3px 3px 3px 0;clip-path:polygon(0 0,100% 0,90% 100%,0 100%)}.badge-library{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;max-height:260px;overflow:auto}.badge-choice{padding:10px;border:1px solid var(--line);border-radius:12px;background:var(--card);text-align:left}.badge-choice.active{outline:2px solid var(--brand)}.badge-preview{min-height:70px;display:grid;place-items:center;border:1px dashed var(--line);border-radius:14px;margin:12px 0}.badge-designer{margin-top:18px}.badge-credit-bar,.trust-grid,.store-socials{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.trust-item{border:1px solid var(--line);border-radius:13px;padding:12px;background:var(--card)}.trust-item b{display:block;font-size:17px}.trust-item small{color:var(--muted)}.store-about,.store-video,.store-policies{margin-top:18px;padding:20px;border:1px solid var(--line);border-radius:18px;background:var(--card)}
.seller-guideline-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.seller-guideline-item{padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--card)}.seller-guideline-item b{display:block;margin-bottom:5px}.product-trust-row{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.product-trust-pill{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid var(--line);border-radius:999px;background:var(--soft);font-size:11px;font-weight:800}.broken-link-box{margin-top:12px;padding:12px;border:1px dashed var(--line);border-radius:13px;background:var(--soft)}.store-video iframe{width:100%;aspect-ratio:16/9;border:0;border-radius:14px}.admin-user-tabs{display:flex;gap:8px;flex-wrap:wrap}.control-list{display:grid;gap:9px}.control-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:12px}.risk-score{font-size:26px;font-weight:950}.verified-seller{display:inline-flex;gap:5px;align-items:center;color:#14885f;background:#e8f8f1;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:900}
@media(max-width:760px){.badge-library{grid-template-columns:repeat(2,minmax(0,1fr))}.badge-credit-bar,.trust-grid,.store-socials{grid-template-columns:repeat(2,minmax(0,1fr))}.control-row{align-items:flex-start;flex-direction:column}.control-row .btn{width:100%}}
@media(max-width:420px){.badge-library,.badge-credit-bar,.trust-grid,.store-socials{grid-template-columns:1fr}}


.discount-product-badge{display:inline-flex;align-items:center;width:max-content;margin:0 0 8px;padding:5px 9px;border-radius:7px;background:linear-gradient(135deg,#e32339,#ff6a3d);color:#fff;font:900 11px/1 Inter,Arial,sans-serif;letter-spacing:.035em;box-shadow:0 5px 13px rgba(227,35,57,.22)}.product-card .body>.discount-product-badge{position:relative;z-index:1}.seller-admin-preview-bar{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:99000;display:flex;gap:10px;align-items:center;padding:10px 12px;border-radius:14px;background:#171d2d;color:#fff;box-shadow:0 16px 45px #0005}.seller-admin-preview-bar button{min-height:36px}.finance-adjust-grid{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:9px;align-items:end}.finance-ledger{max-height:260px;overflow:auto}#seWebsiteStudio.se-studio-root .se-studio-panel{overflow-y:auto!important;overflow-x:hidden!important;scrollbar-width:auto!important;scrollbar-color:#7568ed #e8eaf2!important}.se-studio-panel::-webkit-scrollbar{width:12px}.se-studio-panel::-webkit-scrollbar-track{background:#e8eaf2;border-radius:12px}.se-studio-panel::-webkit-scrollbar-thumb{background:#7568ed;border:3px solid #e8eaf2;border-radius:12px}.se-studio-toolbar-hidden .se-studio-top{display:none!important}.se-studio-toolbar-hidden.se-studio-editing{padding-top:0!important}.se-studio-toolbar-restore{display:none;pointer-events:auto;position:fixed;left:0;top:18px;z-index:100003;width:42px;height:48px;border:0;border-radius:0 14px 14px 0;background:#6354da;color:#fff;font-size:25px;box-shadow:0 10px 28px #392b9866;cursor:pointer}.se-studio-toolbar-hidden .se-studio-toolbar-restore{display:block}.se-studio-toolbar-hidden .se-studio-panel{top:16px!important}.se-studio-card .se-studio-actions button{min-height:38px}
@media(max-width:760px){.finance-adjust-grid{grid-template-columns:1fr}.seller-admin-preview-bar{bottom:78px;width:calc(100% - 20px);justify-content:space-between}.discount-product-badge{font-size:10px}.se-studio-toolbar-restore{top:8px}}


/* Sale Earn legal / seller-information page presentation */
.se-legal-hero-note{display:flex;gap:16px;align-items:flex-start;padding:24px 26px;border:1px solid var(--line,#e7e8ef);border-radius:20px;background:#fff;box-shadow:0 8px 24px rgba(16,24,40,.04);margin-bottom:14px}.se-legal-hero-note.accent{border-left:4px solid var(--brand,#5146e5)}.se-legal-icon{width:42px;height:42px;flex:0 0 42px;border-radius:12px;display:grid;place-items:center;background:#293866;color:#fff;font-size:18px;font-weight:950}.se-legal-hero-note b{display:block;font-size:16px;margin:2px 0 6px}.se-legal-hero-note p{margin:0;color:var(--muted,#667085);line-height:1.7;font-size:13px}.se-legal-section{padding:22px 24px;border:1px solid var(--line,#e7e8ef);border-radius:20px;background:#fff;box-shadow:0 8px 24px rgba(16,24,40,.045)}.se-legal-section.compact{min-height:0}.se-legal-section-title{display:flex;align-items:center;gap:12px;margin-bottom:10px}.se-legal-section-title>span{width:38px;height:38px;flex:0 0 38px;border-radius:11px;background:#293866;color:#fff;display:grid;place-items:center;font-size:11px;font-weight:950}.se-legal-section h2{margin:0;font-size:19px;letter-spacing:-.02em}.se-legal-section p{margin:0;color:var(--muted,#667085);line-height:1.75;font-size:12px}.se-refund-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}.se-refund-box{padding:22px;border:1px solid var(--line,#e7e8ef);border-radius:20px;background:#fff}.se-refund-box.positive{border-top:3px solid #24b887}.se-refund-box.negative{border-top:3px solid #ef6666}.se-refund-box h3{margin:0 0 12px;font-size:16px}.se-refund-box.positive h3{color:#16966f}.se-refund-box.negative h3{color:#df5656}.se-refund-box ul,.se-legal-bullets{padding-left:18px;margin:0;display:grid;gap:10px}.se-refund-box li,.se-legal-bullets li{font-size:12px;color:var(--muted,#667085);line-height:1.55}.se-legal-mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.se-legal-mini{display:flex;gap:12px;padding:18px;border:1px solid var(--line,#e7e8ef);border-radius:17px;background:#fff}.se-legal-mini>span{width:30px;height:30px;flex:0 0 30px;border-radius:9px;background:rgba(81,70,229,.10);color:var(--brand,#5146e5);display:grid;place-items:center;font-weight:950;font-size:11px}.se-legal-mini h3{margin:1px 0 5px;font-size:14px}.se-legal-mini p{margin:0;color:var(--muted,#667085);font-size:11px;line-height:1.6}.se-legal-contact-card{display:grid;grid-template-columns:1.15fr .85fr;gap:14px}.se-legal-contact-card>div{padding:22px;border:1px solid var(--line,#e7e8ef);border-radius:19px;background:#f8f9fc}.se-legal-contact-icon{width:36px;height:36px;border-radius:10px;background:#fff;border:1px solid var(--line,#e7e8ef);display:grid;place-items:center;color:var(--brand,#5146e5);font-weight:900}.se-legal-contact-card h3{margin:10px 0 6px;font-size:16px}.se-legal-contact-card p{margin:0 0 8px;color:var(--muted,#667085);font-size:11px;line-height:1.6}.se-legal-contact-card b{font-size:12px}.se-legal-contact-card small{display:block;color:var(--muted,#667085);font-size:10px;margin-top:7px}.se-legal-dark-note,.se-legal-dark-contact{background:#293866!important;color:#fff!important;border-color:#293866!important}.se-legal-dark-note p,.se-legal-dark-contact p{color:rgba(255,255,255,.78)}.se-legal-dark-contact{text-align:center;padding:28px!important;border-radius:20px}.se-legal-dark-contact>span{display:grid;place-items:center;width:40px;height:40px;margin:0 auto 10px;border-radius:50%;background:rgba(255,255,255,.10)}.se-legal-dark-contact h3{font-size:18px}.se-legal-dark-contact b{color:#fff;font-size:13px;text-decoration:underline}.se-info-list{display:grid;grid-template-columns:1fr 1fr;gap:10px}.se-info-list>div{padding:15px;border:1px solid var(--line,#e7e8ef);border-radius:14px;background:#fafbfe}.se-info-list b{font-size:12px;color:var(--brand,#5146e5)}.se-info-list p{margin:5px 0 0;font-size:11px;line-height:1.6}.se-info-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px}.se-info-panel{padding:20px;border:1px solid var(--line,#e7e8ef);border-radius:18px;background:#fff}.se-info-panel h3{margin:0 0 8px;color:var(--brand,#5146e5);font-size:15px}.se-info-panel p{margin:0;color:var(--muted,#667085);font-size:11px;line-height:1.65}.se-terms-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.se-guidelines-hero{display:flex;gap:16px;align-items:center;padding:20px 22px;border:1px solid var(--line,#e7e8ef);border-radius:20px;background:#f8f9fc;margin-bottom:18px}.se-guidelines-check{width:42px;height:42px;flex:0 0 42px;border-radius:11px;background:#1f9d62;color:#fff;display:grid;place-items:center;font-size:22px;font-weight:950}.se-guidelines-hero b{font-size:17px}.se-guidelines-hero p{margin:5px 0 0;color:var(--muted,#667085);font-size:12px;line-height:1.6}.se-guide-block{padding:4px 0 10px}.se-guide-heading{display:flex;align-items:center;gap:10px;margin:12px 0 14px}.se-guide-heading span{width:36px;height:36px;border-radius:10px;background:#293866;color:#fff;display:grid;place-items:center;font-weight:950}.se-guide-heading h2{margin:0;font-size:22px;letter-spacing:-.025em}.se-guide-heading.standalone{margin-top:26px}.se-guide-sub{color:var(--muted,#667085);font-size:12px;margin:-4px 0 13px}.se-guide-product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.se-guide-product-grid>div{padding:18px;border:1px solid var(--line,#e7e8ef);border-radius:17px;background:#fff;box-shadow:0 7px 20px rgba(16,24,40,.035)}.se-guide-product-grid b{display:block;font-size:13px;margin-bottom:6px}.se-guide-product-grid span{display:block;color:var(--muted,#667085);font-size:10px;line-height:1.55}.se-guide-two{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px}.se-guide-rule{padding:20px;border:1px solid var(--line,#e7e8ef);border-radius:18px;background:#fff}.se-guide-rule.blue{border-left:3px solid var(--brand,#5146e5)}.se-guide-rule.red{border-left:3px solid #ef6666}.se-guide-rule h3{margin:0 0 10px;font-size:15px}.se-guide-rule.red h3{color:#dc5555}.se-guide-rule ul{padding-left:18px;margin:0;display:grid;gap:8px}.se-guide-rule li{font-size:11px;color:var(--muted,#667085);line-height:1.5}.se-guide-callout{display:grid;grid-template-columns:1.2fr .8fr;gap:16px;margin-top:18px;padding:22px;border:1px solid #f0d4d4;border-radius:19px;background:#fffafa}.se-guide-callout>div:first-child{display:flex;gap:12px}.se-guide-callout>div:first-child>span{width:32px;height:32px;flex:0 0 32px;border-radius:9px;background:#ffeaea;color:#d95151;display:grid;place-items:center;font-weight:950}.se-guide-callout h3{margin:0 0 7px;font-size:15px}.se-guide-callout p{margin:0;color:var(--muted,#667085);font-size:11px;line-height:1.65}.se-guide-check-list{display:grid;gap:7px;padding:14px;border-radius:15px;background:#fff;border:1px solid var(--line,#e7e8ef)}.se-guide-check-list b{font-size:12px}.se-guide-check-list span{font-size:10px;color:var(--muted,#667085)}.se-guide-practices{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.se-guide-practices>div{padding:16px;border:1px solid var(--line,#e7e8ef);border-radius:15px;background:#fff}.se-guide-practices b{display:block;font-size:12px;margin-bottom:5px}.se-guide-practices span{font-size:10px;color:var(--muted,#667085);line-height:1.5}.se-guide-dark{margin-top:18px;padding:22px;border-radius:19px;background:#293866;color:#fff}.se-guide-dark h3{margin:0 0 13px;font-size:16px}.se-guide-dark>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}.se-guide-dark span{font-size:11px;color:rgba(255,255,255,.9)}
@media(max-width:760px){.se-refund-columns,.se-legal-mini-grid,.se-legal-contact-card,.se-info-list,.se-info-columns,.se-terms-grid,.se-guide-two,.se-guide-callout{grid-template-columns:1fr}.se-guide-product-grid,.se-guide-practices{grid-template-columns:1fr 1fr}.se-legal-hero-note,.se-guidelines-hero{align-items:flex-start}.se-legal-section{padding:18px}.se-guide-dark>div{grid-template-columns:1fr}}
@media(max-width:480px){.se-guide-product-grid,.se-guide-practices{grid-template-columns:1fr}.se-legal-hero-note{padding:18px}.se-legal-section-title h2{font-size:17px}}


/* Sale Earn: pricing / FAQ / contact / sitemap presentation */
.se-pricing-page{padding:4px 0 8px}.se-pricing-hero{text-align:center;padding:30px 18px 26px}.se-pricing-hero .eyebrow,.se-faq-hero .eyebrow,.se-contact-copy .eyebrow,.se-sitemap-hero .eyebrow{display:block;font-size:10px;letter-spacing:.2em;font-weight:950;color:var(--brand,#5146e5);margin-bottom:10px}.se-pricing-hero h2,.se-faq-hero h2,.se-sitemap-hero h2{font-size:48px;line-height:1.08;letter-spacing:-.045em;margin:0 0 12px;color:var(--ink,#172033)}.se-pricing-hero h2 span,.se-faq-hero h2 span{color:#344272}.se-pricing-hero p,.se-faq-hero p,.se-sitemap-hero p{max-width:650px;margin:0 auto;color:var(--muted,#667085);line-height:1.7;font-size:14px}.se-pricing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:20px;align-items:stretch}.se-plan-card{position:relative;border:1px solid var(--line,#e7e8ef);border-radius:24px;background:#fff;padding:38px 28px 30px;box-shadow:0 10px 28px rgba(16,24,40,.04);display:flex;flex-direction:column;min-height:470px}.se-plan-card.popular{border-color:#6659e9;box-shadow:0 14px 36px rgba(81,70,229,.11)}.se-plan-badge{position:absolute;left:50%;top:-15px;transform:translateX(-50%);padding:7px 18px;border-radius:999px;background:#293866;color:#fff;font-size:10px;font-weight:950;white-space:nowrap}.se-plan-icon{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:rgba(81,70,229,.09);color:#6659e9;font-size:22px;font-weight:900;margin-bottom:22px}.se-plan-card:nth-child(2) .se-plan-icon{background:rgba(176,91,239,.10);color:#b05bef}.se-plan-card:nth-child(3) .se-plan-icon{background:rgba(34,184,136,.10);color:#20ae83}.se-plan-card h3{font-size:20px;margin:0 0 12px}.se-plan-price{font-size:34px;font-weight:950;letter-spacing:-.04em;color:#111827;margin-bottom:8px}.se-plan-price small{font-size:13px;color:var(--muted,#667085);font-weight:800;letter-spacing:0}.se-plan-desc{font-size:12px;line-height:1.65;color:var(--muted,#667085);min-height:40px}.se-plan-features{list-style:none;padding:0;margin:22px 0 0;display:grid;gap:13px}.se-plan-features li{display:flex;gap:9px;align-items:flex-start;font-size:12px;color:#4b5565;line-height:1.5}.se-plan-features i{font-style:normal;color:#6659e9;font-weight:950}.se-plan-card:nth-child(3) .se-plan-features i{color:#20ae83}.se-plan-note{text-align:center;color:var(--muted,#667085);font-size:11px;margin:18px 0 0}.se-pricing-foot{margin-top:20px;text-align:center;padding:17px 20px;border:1px solid var(--line,#e7e8ef);border-radius:16px;background:#f8f9fc;color:var(--muted,#667085);font-size:11px;line-height:1.6}
.se-faq-page{padding-top:2px}.se-faq-hero{text-align:center;padding:28px 18px 24px}.se-faq-search{max-width:540px;margin:20px auto 0;position:relative}.se-faq-search span{position:absolute;left:15px;top:50%;transform:translateY(-50%);color:#7b8495}.se-faq-search input{width:100%;border:1px solid var(--line,#e7e8ef);background:#f8f9fc;border-radius:15px;padding:14px 16px 14px 42px;outline:none;font-size:13px}.se-faq-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:24px;align-items:start}.se-faq-side{position:sticky;top:82px;border:1px solid var(--line,#e7e8ef);border-radius:18px;background:#fff;padding:18px;box-shadow:0 8px 24px rgba(16,24,40,.04)}.se-faq-side h4{margin:0 0 14px;font-size:13px}.se-faq-side a{display:block;padding:9px 0;color:var(--muted,#667085);font-size:11px;font-weight:750;cursor:pointer}.se-faq-side a:hover{color:var(--brand,#5146e5)}.se-faq-side .se-faq-support{margin-top:14px;border-top:1px solid var(--line,#e7e8ef);padding-top:14px}.se-faq-support b{display:block;font-size:11px;margin-bottom:5px}.se-faq-support span{display:block;font-size:10px;color:var(--muted,#667085);line-height:1.5;margin-bottom:10px}.se-faq-support button{width:100%;border:0;background:var(--brand,#5146e5);color:#fff;border-radius:10px;padding:10px;font-size:11px;font-weight:900;cursor:pointer}.se-faq-group{margin-bottom:28px}.se-faq-heading{display:flex;align-items:center;gap:10px;margin:0 0 12px;font-size:19px}.se-faq-heading span{width:34px;height:34px;border-radius:10px;background:#293866;color:#fff;display:grid;place-items:center;font-size:14px}.se-faq-item{border:1px solid var(--line,#e7e8ef);border-radius:14px;background:#fff;margin-bottom:8px;overflow:hidden}.se-faq-item summary{list-style:none;cursor:pointer;padding:14px 16px;font-size:12px;font-weight:850;display:flex;justify-content:space-between;gap:14px;align-items:center}.se-faq-item summary::-webkit-details-marker{display:none}.se-faq-item summary:after{content:'+';font-size:18px;font-weight:500;color:#7b8495}.se-faq-item[open] summary{color:var(--brand,#5146e5);background:#fafaff}.se-faq-item[open] summary:after{content:'−'}.se-faq-answer{padding:0 16px 15px;color:var(--muted,#667085);font-size:11px;line-height:1.7}.se-faq-empty{display:none;text-align:center;padding:22px;color:var(--muted,#667085);border:1px dashed var(--line,#e7e8ef);border-radius:14px}
.se-contact-page{display:grid;grid-template-columns:.85fr 1.15fr;gap:42px;align-items:start;padding:28px 0 4px}.se-contact-copy{padding:18px 8px}.se-contact-copy h2{font-size:34px;line-height:1.15;letter-spacing:-.035em;margin:0 0 15px}.se-contact-copy p{color:var(--muted,#667085);line-height:1.75;font-size:14px;max-width:530px}.se-contact-details{display:grid;gap:17px;margin-top:28px}.se-contact-detail{display:flex;gap:13px;align-items:center}.se-contact-detail .icon{width:42px;height:42px;border:1px solid var(--line,#e7e8ef);border-radius:14px;display:grid;place-items:center;font-size:18px;background:#fff}.se-contact-detail b{display:block;font-size:11px;color:var(--muted,#667085);margin-bottom:3px}.se-contact-detail strong,.se-contact-detail a{font-size:13px;color:var(--ink,#172033);font-weight:850}.se-contact-detail a{color:var(--brand,#5146e5);text-decoration:none}.se-contact-social{margin-top:28px}.se-contact-social small{display:block;color:var(--muted,#667085);margin-bottom:10px}.se-contact-social div{display:flex;gap:9px}.se-contact-social button{width:36px;height:36px;border:1px solid var(--line,#e7e8ef);border-radius:50%;background:#fff;cursor:pointer}.se-contact-form{border:1px solid var(--line,#e7e8ef);border-radius:24px;background:#fff;padding:28px;box-shadow:0 18px 36px rgba(16,24,40,.08)}.se-contact-form h3{margin:0 0 20px;font-size:21px}.se-contact-form .form-grid{gap:14px}.se-contact-form .field label{font-size:11px}.se-contact-form input,.se-contact-form select,.se-contact-form textarea{border-radius:12px}.se-contact-form textarea{min-height:130px}.se-contact-form .btn{width:100%;margin-top:4px}.se-contact-note{margin-top:12px;font-size:10px;color:var(--muted,#667085);line-height:1.55}.se-contact-trust{margin-top:28px;padding:18px 10px;border-top:1px solid var(--line,#e7e8ef);display:grid;grid-template-columns:repeat(3,1fr);text-align:center;gap:10px}.se-contact-trust strong{display:block;font-size:13px}.se-contact-trust span{display:block;font-size:9px;color:var(--muted,#667085);margin-top:3px}
.se-sitemap-hero{text-align:center;padding:28px 18px 22px}.se-sitemap-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.se-sitemap-card{border:1px solid var(--line,#e7e8ef);border-radius:18px;background:#fff;padding:20px;box-shadow:0 8px 24px rgba(16,24,40,.035)}.se-sitemap-card h3{font-size:15px;margin:0 0 12px}.se-sitemap-card a{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 0;color:var(--muted,#667085);font-size:11px;text-decoration:none;border-bottom:1px solid #f0f1f4;cursor:pointer}.se-sitemap-card a:last-child{border-bottom:0}.se-sitemap-card a:hover{color:var(--brand,#5146e5)}.se-sitemap-card a:after{content:'›';color:#9aa1ae;font-size:16px}
@media(max-width:850px){.se-pricing-grid{grid-template-columns:1fr}.se-plan-card{min-height:auto}.se-faq-layout,.se-contact-page{grid-template-columns:1fr}.se-faq-side{position:static}.se-contact-page{gap:22px}.se-sitemap-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.se-pricing-hero h2,.se-faq-hero h2,.se-sitemap-hero h2{font-size:35px}.se-pricing-grid{gap:16px}.se-plan-card{padding:32px 20px 24px}.se-faq-heading{font-size:17px}.se-contact-copy h2{font-size:29px}.se-contact-form{padding:20px;border-radius:18px}.se-contact-trust{grid-template-columns:1fr}.se-sitemap-grid{grid-template-columns:1fr}}


.policy-page{padding-top:28px;padding-bottom:48px}.policy-layout{display:grid;grid-template-columns:250px minmax(0,900px);gap:22px;align-items:start;max-width:1180px;margin:0 auto}.policy-sidebar{position:sticky;top:82px;border:1px solid var(--line,#e7e8ef);border-radius:20px;background:var(--card,#fff);padding:12px;box-shadow:0 10px 28px rgba(16,24,40,.06)}
.policy-mobile-bar{display:none}.policy-sidebar-backdrop{display:none}.policy-sidebar-head{display:flex;align-items:center;gap:10px;padding:10px 8px 14px;border-bottom:1px solid var(--line,#e7e8ef)}.policy-sidebar-icon{width:36px;height:36px;border-radius:11px;background:linear-gradient(135deg,var(--brand,#5146e5),#7b61ff);color:#fff;display:grid;place-items:center;font-weight:900;font-size:12px}.policy-sidebar-head b{display:block;font-size:13px}.policy-sidebar-head small{display:block;color:var(--muted,#667085);font-size:11px;margin-top:2px}.policy-sidebar-list{display:grid;gap:4px;padding:10px 0}.policy-side-link{width:100%;border:0;background:transparent;color:var(--muted,#667085);display:flex;align-items:center;gap:10px;text-align:left;padding:11px 10px;border-radius:12px;cursor:pointer;font-size:13px}.policy-side-link>span{width:22px;text-align:center;font-weight:900}.policy-side-link b{flex:1}.policy-side-link i{font-style:normal;font-size:18px}.policy-side-link:hover{background:var(--surface-3,#f4f3ff);color:var(--ink,#172033)}.policy-side-link.active{background:rgba(81,70,229,.10);color:var(--brand,#5146e5);box-shadow:inset 3px 0 var(--brand,#5146e5)}.policy-sidebar-foot{border-top:1px solid var(--line,#e7e8ef);padding:12px 8px 4px;margin-top:2px}.policy-sidebar-foot span{display:block;font-size:11px;color:var(--muted,#667085);margin-bottom:7px}.policy-sidebar-foot button{width:100%;border:0;background:var(--surface-3,#f4f3ff);color:var(--brand,#5146e5);font-weight:800;border-radius:10px;padding:9px;cursor:pointer}.policy-main{min-width:0}.policy-main .policy-hero{max-width:none;margin:0 0 18px}.policy-main .policy-content{max-width:none}.policy-nav{display:none}.policy-hero{max-width:900px;margin:0 auto 18px;padding:28px;border:1px solid var(--line,#e7e8ef);border-radius:22px;background:linear-gradient(135deg,rgba(81,70,229,.08),rgba(255,255,255,.75))}.policy-kicker{display:inline-flex;padding:6px 10px;border-radius:999px;background:rgba(81,70,229,.10);color:var(--brand,#5146e5);font-size:12px;font-weight:800}.policy-hero h1{margin:12px 0 8px;font-size:34px}.policy-hero p{margin:0;line-height:1.7;color:var(--muted,#667085)}.policy-updated{margin-top:14px;font-size:12px;color:var(--muted,#667085)}.policy-nav{max-width:900px;margin:0 auto 18px;display:flex;gap:8px;flex-wrap:wrap}.policy-content{max-width:900px;margin:0 auto;display:grid;gap:14px}.policy-card{padding:22px;border:1px solid var(--line,#e7e8ef);border-radius:18px;background:var(--card,#fff);box-shadow:0 8px 24px rgba(16,24,40,.05)}.policy-card h2{margin:0 0 8px;font-size:19px}.policy-card p{margin:0;line-height:1.75;color:var(--muted,#667085)}.policy-card a{color:var(--brand,#5146e5);font-weight:700}.policy-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px}.policy-contact-grid>div{padding:15px;border:1px solid var(--line,#e7e8ef);border-radius:14px}.policy-contact-grid p{margin-top:5px}.account-nav-divider{margin:14px 8px 6px;padding-top:12px;border-top:1px solid var(--line,#e7e8ef);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:var(--muted,#667085)}
@media(max-width:700px){
.policy-page{padding-top:14px}.policy-layout{display:block;max-width:100%}.policy-mobile-bar{position:sticky;top:8px;z-index:1200;display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px;padding:8px 10px;border:1px solid var(--line,#e7e8ef);border-radius:15px;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);box-shadow:0 8px 24px rgba(16,24,40,.08)}.policy-mobile-bar button{border:0;cursor:pointer}.policy-menu-btn{display:inline-flex;align-items:center;gap:8px;padding:10px 13px;border-radius:11px;background:linear-gradient(135deg,var(--brand,#5146e5),#7b61ff);color:#fff;font-weight:900;font-size:13px}.policy-mobile-title{min-width:0;flex:1;font-size:12px;font-weight:900;color:var(--ink,#172033);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.policy-mobile-close{display:none;padding:7px 9px;border-radius:9px;background:#f1f2f6;color:var(--ink,#172033);font-weight:900}.policy-sidebar{position:fixed;left:0;top:0;bottom:0;width:min(310px,86vw);z-index:1400;border-radius:0 20px 20px 0;padding:14px;overflow-y:auto;transform:translateX(-105%);transition:transform .25s ease;box-shadow:18px 0 45px rgba(16,24,40,.18)}.policy-sidebar.mobile-open{transform:translateX(0)}.policy-sidebar-backdrop{position:fixed;inset:0;z-index:1300;background:rgba(12,18,34,.42);backdrop-filter:blur(2px)}body.policy-menu-open{overflow:hidden}.policy-sidebar.mobile-open + .policy-main{}.policy-sidebar-foot{display:block}.policy-mobile-close{display:inline-flex}.policy-hero{padding:20px}.policy-hero h1{font-size:28px}.policy-contact-grid{grid-template-columns:1fr}.policy-nav .btn{font-size:12px;padding:8px 10px}}
@media(min-width:701px){.policy-sidebar{transform:none!important}.policy-mobile-bar{display:none!important}.policy-sidebar-backdrop{display:none!important}}


.se-about-page{display:grid;gap:24px;margin-top:2px}.se-about-hero{text-align:center;padding:54px 28px 48px;background:radial-gradient(circle at 50% 0,rgba(81,70,229,.12),transparent 52%),linear-gradient(180deg,rgba(248,249,253,.9),rgba(255,255,255,.96));border-radius:28px;border:1px solid var(--line,#e7e8ef)}.se-about-eyebrow{font-size:10px;letter-spacing:.24em;font-weight:950;color:var(--brand,#5146e5)}.se-about-hero h2{font-size:54px;line-height:1.05;margin:18px 0 14px;letter-spacing:-.045em;color:var(--ink,#172033)}.se-about-hero h2 span,.se-about-copy h3 strong,.se-about-section h3 strong,.se-about-core h3 strong{color:#344272}.se-about-hero p{max-width:760px;margin:0 auto;color:var(--muted,#667085);font-size:16px;line-height:1.75}.se-about-hero small{display:block;max-width:680px;margin:15px auto 0;color:var(--muted,#667085);line-height:1.6}.se-about-hero-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:24px}.se-about-split{display:grid;grid-template-columns:.95fr 1.25fr;gap:34px;padding:38px 28px;background:#f8f9fc;border-radius:28px}.se-about-copy{padding:10px 8px}.se-about-tag{display:inline-flex;padding:6px 11px;border-radius:999px;background:rgba(81,70,229,.10);color:var(--brand,#5146e5);font-size:10px;font-weight:950;letter-spacing:.08em}.se-about-tag.center{display:flex;width:max-content;margin:0 auto}.se-about-copy h3,.se-about-section h3,.se-about-core h3{font-size:31px;line-height:1.22;margin:18px 0 12px;letter-spacing:-.025em}.se-about-copy p,.se-about-core p{color:var(--muted,#667085);line-height:1.7}.se-about-checks{display:grid;gap:13px;padding:0;margin:22px 0 0;list-style:none}.se-about-checks li{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:750;color:var(--ink,#172033)}.se-about-checks i{font-style:normal;width:23px;height:23px;border-radius:50%;display:grid;place-items:center;background:#293866;color:#fff;font-size:12px}.se-about-feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.se-about-feature{padding:22px 18px;border:1px solid var(--line,#e7e8ef);border-radius:17px;background:var(--card,#fff);box-shadow:0 7px 20px rgba(16,24,40,.04);min-height:108px}.se-about-feature-wide{grid-column:1/-1}.se-about-feature:before{content:'✦';display:block;color:#6659e9;font-size:17px;margin-bottom:9px}.se-about-feature b,.se-about-mini b,.se-about-step b{display:block;font-size:13px;margin-bottom:6px}.se-about-feature span,.se-about-mini span,.se-about-step span{display:block;color:var(--muted,#667085);font-size:11px;line-height:1.55}.se-about-section{text-align:center;padding:30px 0}.se-about-section h3{margin-top:17px}.se-about-four-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:24px}.se-about-mini,.se-about-step{padding:25px 16px;border:1px solid var(--line,#e7e8ef);border-radius:18px;background:var(--card,#fff);box-shadow:0 7px 20px rgba(16,24,40,.035)}.se-about-mini em,.se-about-step em{font-style:normal;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;margin:0 auto 13px;background:rgba(81,70,229,.08);color:var(--brand,#5146e5);font-size:19px}.se-about-mini b,.se-about-step b{margin-bottom:7px}.se-about-categories{text-align:center;padding:22px 10px}.se-about-categories>span{font-size:10px;letter-spacing:.18em;font-weight:950;color:var(--muted,#667085)}.se-about-categories>div{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;margin-top:14px}.se-about-categories button{border:1px solid var(--line,#e1e4eb);background:var(--card,#fff);color:var(--ink,#172033);padding:9px 14px;border-radius:999px;font-weight:750;font-size:11px;cursor:pointer}.se-about-categories button:hover{border-color:var(--brand,#5146e5);color:var(--brand,#5146e5)}.se-about-core{display:grid;grid-template-columns:1fr 1fr;gap:35px;align-items:center;padding:42px;border:1px solid var(--line,#e7e8ef);border-radius:22px;background:var(--card,#fff);box-shadow:0 8px 25px rgba(16,24,40,.04)}.se-about-core-list{display:grid;gap:9px}.se-about-core-list b{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:11px;background:#f7f8fb;font-size:12px}.se-about-core-list i{width:6px;height:6px;border-radius:50%;background:#6659e9;display:block}.se-about-quote{max-width:610px;margin:0 auto;padding:27px 30px;border-radius:18px;background:#293866;color:#fff;text-align:center;font-size:14px;font-weight:800;line-height:1.55;box-shadow:0 14px 30px rgba(41,56,102,.16)}.se-about-path{background:#f8f9fc;border-radius:28px;padding:40px 28px}.se-about-section-sub{text-align:center;color:var(--muted,#667085);font-size:12px;margin:0}.se-about-step{position:relative;text-align:left;padding:24px 18px;overflow:hidden}.se-about-step>strong{position:absolute;right:10px;top:3px;font-size:43px;color:rgba(81,70,229,.06);letter-spacing:-.06em}.se-about-step em{margin:0 0 14px}.se-about-trust-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:12px 0 2px}.se-about-trust-stats>div{text-align:center;padding:18px 8px}.se-about-trust-stats strong{display:block;color:var(--brand,#5146e5);font-size:21px;font-weight:950}.se-about-trust-stats span{display:block;color:var(--muted,#667085);font-size:9px;font-weight:900;letter-spacing:.08em;margin-top:4px}.se-about-final{text-align:center;padding:30px 20px 8px}.se-about-final h3{margin:0 0 7px;font-size:25px}.se-about-final p{margin:0;color:var(--muted,#667085);font-size:12px}.se-about-final>div{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;margin-top:16px}
@media(max-width:760px){.se-about-hero{padding:38px 18px 34px;border-radius:20px}.se-about-hero h2{font-size:39px}.se-about-hero p{font-size:14px}.se-about-split,.se-about-core{grid-template-columns:1fr;gap:20px;padding:24px 18px;border-radius:20px}.se-about-feature-grid,.se-about-four-grid,.se-about-trust-stats{grid-template-columns:1fr 1fr}.se-about-feature-wide{grid-column:1/-1}.se-about-copy h3,.se-about-section h3,.se-about-core h3{font-size:27px}.se-about-path{padding:30px 16px;border-radius:20px}.se-about-quote{padding:22px 18px}.se-about-trust-stats{gap:4px}}
@media(max-width:430px){.se-about-feature-grid,.se-about-four-grid,.se-about-trust-stats{grid-template-columns:1fr}.se-about-feature-wide{grid-column:auto}.se-about-hero h2{font-size:34px}.se-about-hero-actions .btn{width:100%}.se-about-core{padding:22px 15px}}


/* Sale Earn dark-mode readability pass: keep the night theme while restoring strong text contrast. */
:root[data-theme="dark"] .se-pricing-hero,
:root[data-theme="dark"] .se-faq-hero,
:root[data-theme="dark"] .se-sitemap-hero{background:transparent!important}
:root[data-theme="dark"] .se-pricing-hero h2,
:root[data-theme="dark"] .se-faq-hero h2,
:root[data-theme="dark"] .se-sitemap-hero h2,
:root[data-theme="dark"] .se-contact-copy h2,
:root[data-theme="dark"] .se-about-hero h2,
:root[data-theme="dark"] .se-about-copy h3,
:root[data-theme="dark"] .se-about-section h3,
:root[data-theme="dark"] .se-about-core h3,
:root[data-theme="dark"] .se-pricing-hero h2 span,
:root[data-theme="dark"] .se-faq-hero h2 span{color:#f3f6ff!important}
:root[data-theme="dark"] .se-pricing-hero p,
:root[data-theme="dark"] .se-faq-hero p,
:root[data-theme="dark"] .se-sitemap-hero p,
:root[data-theme="dark"] .se-contact-copy p,
:root[data-theme="dark"] .se-about-hero p,
:root[data-theme="dark"] .se-about-hero small,
:root[data-theme="dark"] .se-about-copy p,
:root[data-theme="dark"] .se-about-core p{color:#b9c5db!important}
:root[data-theme="dark"] .se-plan-card,
:root[data-theme="dark"] .se-faq-side,
:root[data-theme="dark"] .se-faq-item,
:root[data-theme="dark"] .se-contact-form,
:root[data-theme="dark"] .se-sitemap-card,
:root[data-theme="dark"] .se-about-feature,
:root[data-theme="dark"] .se-about-mini,
:root[data-theme="dark"] .se-about-step,
:root[data-theme="dark"] .se-about-core,
:root[data-theme="dark"] .se-guide-product-grid>div,
:root[data-theme="dark"] .se-guide-rule,
:root[data-theme="dark"] .se-guide-check-list,
:root[data-theme="dark"] .se-guide-practices>div,
:root[data-theme="dark"] .se-refund-box,
:root[data-theme="dark"] .se-legal-mini,
:root[data-theme="dark"] .se-legal-section,
:root[data-theme="dark"] .se-legal-hero-note,
:root[data-theme="dark"] .se-info-panel,
:root[data-theme="dark"] .se-info-list>div{background:#111a2c!important;color:#edf2ff!important;border-color:#2a3854!important;box-shadow:0 10px 28px rgba(0,0,0,.16)}
:root[data-theme="dark"] .se-pricing-foot,
:root[data-theme="dark"] .se-guidelines-hero,
:root[data-theme="dark"] .se-about-split,
:root[data-theme="dark"] .se-about-path,
:root[data-theme="dark"] .se-legal-contact-card>div:not(.se-legal-dark-note),
:root[data-theme="dark"] .se-guide-callout{background:#0d1527!important;color:#edf2ff!important;border-color:#2a3854!important}
:root[data-theme="dark"] .se-plan-card h3,
:root[data-theme="dark"] .se-plan-price,
:root[data-theme="dark"] .se-plan-features li,
:root[data-theme="dark"] .se-faq-side h4,
:root[data-theme="dark"] .se-faq-item summary,
:root[data-theme="dark"] .se-contact-form h3,
:root[data-theme="dark"] .se-contact-detail strong,
:root[data-theme="dark"] .se-sitemap-card h3,
:root[data-theme="dark"] .se-about-feature b,
:root[data-theme="dark"] .se-about-mini b,
:root[data-theme="dark"] .se-about-step b,
:root[data-theme="dark"] .se-about-checks li,
:root[data-theme="dark"] .se-about-core-list b,
:root[data-theme="dark"] .se-guide-product-grid b,
:root[data-theme="dark"] .se-guide-rule h3,
:root[data-theme="dark"] .se-guide-check-list b,
:root[data-theme="dark"] .se-guide-practices b,
:root[data-theme="dark"] .se-legal-section h2,
:root[data-theme="dark"] .se-legal-section-title h2,
:root[data-theme="dark"] .se-legal-mini h3,
:root[data-theme="dark"] .se-refund-box h3,
:root[data-theme="dark"] .se-info-panel h3,
:root[data-theme="dark"] .se-terms-grid h3{color:#f0f4ff!important}
:root[data-theme="dark"] .se-plan-price small,
:root[data-theme="dark"] .se-plan-desc,
:root[data-theme="dark"] .se-plan-note,
:root[data-theme="dark"] .se-plan-features li,
:root[data-theme="dark"] .se-pricing-foot,
:root[data-theme="dark"] .se-faq-side a,
:root[data-theme="dark"] .se-faq-support span,
:root[data-theme="dark"] .se-faq-answer,
:root[data-theme="dark"] .se-contact-detail b,
:root[data-theme="dark"] .se-contact-note,
:root[data-theme="dark"] .se-contact-trust span,
:root[data-theme="dark"] .se-sitemap-card a,
:root[data-theme="dark"] .se-about-feature span,
:root[data-theme="dark"] .se-about-mini span,
:root[data-theme="dark"] .se-about-step span,
:root[data-theme="dark"] .se-about-section-sub,
:root[data-theme="dark"] .se-about-categories>span,
:root[data-theme="dark"] .se-about-categories button,
:root[data-theme="dark"] .se-legal-hero-note p,
:root[data-theme="dark"] .se-legal-section p,
:root[data-theme="dark"] .se-legal-mini p,
:root[data-theme="dark"] .se-refund-box li,
:root[data-theme="dark"] .se-info-panel p,
:root[data-theme="dark"] .se-info-list p,
:root[data-theme="dark"] .se-guide-sub,
:root[data-theme="dark"] .se-guide-product-grid span,
:root[data-theme="dark"] .se-guide-rule li,
:root[data-theme="dark"] .se-guide-callout p,
:root[data-theme="dark"] .se-guide-check-list span,
:root[data-theme="dark"] .se-guide-practices span,
:root[data-theme="dark"] .se-legal-contact-card p,
:root[data-theme="dark"] .se-legal-contact-card small{color:#aebbd2!important}
:root[data-theme="dark"] .se-faq-search input,
:root[data-theme="dark"] .se-contact-form input,
:root[data-theme="dark"] .se-contact-form select,
:root[data-theme="dark"] .se-contact-form textarea{background:#0b1324!important;color:#eef3ff!important;border-color:#2b3955!important}
:root[data-theme="dark"] .se-faq-search input::placeholder,
:root[data-theme="dark"] .se-contact-form input::placeholder,
:root[data-theme="dark"] .se-contact-form textarea::placeholder{color:#7f8da7!important}
:root[data-theme="dark"] .se-faq-item[open] summary{background:#171f36!important;color:#9e93ff!important}
:root[data-theme="dark"] .se-faq-item summary:after{color:#9eabc1!important}
:root[data-theme="dark"] .se-faq-side .se-faq-support{border-color:#2a3854!important}
:root[data-theme="dark"] .se-contact-detail .icon,
:root[data-theme="dark"] .se-contact-social button{background:#111a2c!important;color:#dfe7f6!important;border-color:#2a3854!important}
:root[data-theme="dark"] .se-contact-detail strong{color:#edf2ff!important}
:root[data-theme="dark"] .se-about-categories button{background:#111a2c!important;color:#dfe7f6!important;border-color:#2a3854!important}
:root[data-theme="dark"] .se-about-core-list b{background:#0d1527!important}
:root[data-theme="dark"] .se-info-list b{color:#a99fff!important}
:root[data-theme="dark"] .se-legal-icon,
:root[data-theme="dark"] .se-legal-section-title>span,
:root[data-theme="dark"] .se-guide-heading span{background:#303d68!important;color:#fff!important}
:root[data-theme="dark"] .se-guidelines-check{background:#1f9d62!important;color:#fff!important}
:root[data-theme="dark"] .se-guide-callout{background:#171320!important;border-color:#4a3340!important}
:root[data-theme="dark"] .se-guide-check-list{background:#111a2c!important}
:root[data-theme="dark"] .policy-sidebar{background:#10182a!important;border-color:#2a3854!important;box-shadow:0 10px 30px rgba(0,0,0,.28)}
:root[data-theme="dark"] .policy-sidebar-head{border-color:#2a3854!important}
:root[data-theme="dark"] .policy-sidebar-head b{color:#eef3ff!important}
:root[data-theme="dark"] .policy-side-link{color:#aebbd2!important}
:root[data-theme="dark"] .policy-side-link:hover{background:#18233b!important;color:#f0f4ff!important}
:root[data-theme="dark"] .policy-side-link.active{background:rgba(101,88,238,.20)!important;color:#b9b1ff!important}
:root[data-theme="dark"] .policy-sidebar-foot{border-color:#2a3854!important}
:root[data-theme="dark"] .policy-sidebar-foot span{color:#aebbd2!important}
:root[data-theme="dark"] .policy-hero{background:linear-gradient(135deg,rgba(81,70,229,.18),rgba(17,26,44,.96))!important;border-color:#2a3854!important}
:root[data-theme="dark"] .policy-hero h1{color:#f2f5ff!important}
:root[data-theme="dark"] .policy-hero p,
:root[data-theme="dark"] .policy-updated{color:#aebbd2!important}
:root[data-theme="dark"] .policy-card{background:#111a2c!important;color:#edf2ff!important;border-color:#2a3854!important}
:root[data-theme="dark"] .policy-card h2{color:#f0f4ff!important}
:root[data-theme="dark"] .policy-card p{color:#aebbd2!important}
:root[data-theme="dark"] .policy-mobile-bar{background:rgba(12,19,34,.96)!important;border-color:#2a3854!important}
:root[data-theme="dark"] .policy-mobile-title{color:#eef3ff!important}
:root[data-theme="dark"] .policy-mobile-close{background:#1b2640!important;color:#eef3ff!important}
:root[data-theme="dark"] .policy-kicker{background:rgba(101,88,238,.20)!important;color:#b9b1ff!important}
:root[data-theme="dark"] .se-legal-dark-note,
:root[data-theme="dark"] .se-legal-dark-contact,
:root[data-theme="dark"] .se-guide-dark{background:#26345f!important;color:#fff!important;border-color:#344574!important}
:root[data-theme="dark"] .se-legal-dark-note p,
:root[data-theme="dark"] .se-legal-dark-contact p,
:root[data-theme="dark"] .se-guide-dark span{color:rgba(255,255,255,.86)!important}


/* Sale Earn — polished interaction + dark-mode readability pass */
:root{--se-hover-border:#8b80f4;--se-hover-glow:rgba(108,95,235,.16);--se-hover-lift:-3px;--se-hover-scale:1.018}

/* Public/policy pages: every meaningful card feels interactive on hover. */
.policy-card,.se-about-feature,.se-about-step,.se-sitemap-card,.se-plan-card,
.se-faq-support,.se-faq-group,.se-faq-item,.se-refund-box,.se-legal-contact-card,
.se-terms-grid > *, .se-contact-detail,.se-contact-trust,
.se-legal-dark-contact,.se-about-trust-stats > *, .se-faq-heading,
.se-faq-hero > *, .se-contact-copy > *, .se-contact-form,
.se-sitemap-hero > *, .se-contact-social,
.seller-box,.sales-seller-card,.seller-score-card,.seller-tools > *,
.product-card,.ad-card,.payment-card,.balance-card,.history-card,
.metric,.dash-card,.setting-card,.security-box,.order-card,.library-card,
.store-card,.account-panel,.account-profile-card,.profile-card,.ref-card,
.warning-card,.service-card,.summary-card,.earning-card,.payout-card,
.auth-box,.admin-card,.admin-kpi,.admin-detail-box {
  transition:transform .22s cubic-bezier(.2,.75,.25,1),
             box-shadow .22s ease,border-color .22s ease,
             background-color .22s ease;
}

.policy-card:hover,.se-about-feature:hover,.se-about-step:hover,.se-sitemap-card:hover,
.se-plan-card:hover,.se-faq-support:hover,.se-faq-group:hover,.se-refund-box:hover,
.se-legal-contact-card:hover,.se-terms-grid > *:hover,.se-contact-detail:hover,
.se-contact-trust:hover,.se-legal-dark-contact:hover,.se-about-trust-stats > *:hover,
.se-faq-heading:hover,.se-contact-copy > *:hover,.se-contact-form:hover,
.se-sitemap-hero > *:hover,.se-contact-social:hover,
.seller-box:hover,.sales-seller-card:hover,.seller-score-card:hover,.seller-tools > *:hover,
.product-card:hover,.ad-card:hover,.payment-card:hover,.balance-card:hover,
.history-card:hover,.metric:hover,.dash-card:hover,.setting-card:hover,
.security-box:hover,.order-card:hover,.library-card:hover,.store-card:hover,
.account-panel:hover,.account-profile-card:hover,.profile-card:hover,.ref-card:hover,
.warning-card:hover,.service-card:hover,.summary-card:hover,.earning-card:hover,
.payout-card:hover,.auth-box:hover,.admin-card:hover,.admin-kpi:hover,
.admin-detail-box:hover {
  transform:translateY(var(--se-hover-lift)) scale(var(--se-hover-scale));
  border-color:var(--se-hover-border)!important;
  box-shadow:0 12px 30px rgba(31,35,55,.11),0 0 0 1px var(--se-hover-glow);
}

/* FAQ rows get a clearer hit area and a gentle accent when hovered/focused. */
.se-faq-item{border:1px solid transparent;border-radius:16px;overflow:hidden}
.se-faq-item:hover,.se-faq-item:focus-within{
  border-color:var(--se-hover-border)!important;
  box-shadow:0 10px 26px rgba(31,35,55,.10),0 0 0 3px rgba(108,95,235,.07);
  transform:translateY(-2px) scale(1.012);
}
.se-faq-item summary,.se-faq-item button{cursor:pointer}

/* Any actual clickable element gets a crisp boundary without changing layout. */
.policy-card a,.se-sitemap-card a,.se-about-feature a,.se-about-step a,
.se-faq-item a,.se-plan-card a,.se-contact-detail a,
.policy-card button,.se-sitemap-card button,.se-about-feature button,
.se-about-step button,.se-faq-item button,.se-plan-card button {
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.policy-card a:hover,.se-sitemap-card a:hover,.se-about-feature a:hover,
.se-about-step a:hover,.se-faq-item a:hover,.se-plan-card a:hover,
.se-contact-detail a:hover,.policy-card button:hover,.se-sitemap-card button:hover,
.se-about-feature button:hover,.se-about-step button:hover,.se-faq-item button:hover,
.se-plan-card button:hover{transform:translateY(-1px)}

/* Dark-mode lighting: readable text + visible boundaries on secondary surfaces. */
:root[data-theme="dark"] .policy-card,
:root[data-theme="dark"] .se-about-feature,
:root[data-theme="dark"] .se-about-step,
:root[data-theme="dark"] .se-sitemap-card,
:root[data-theme="dark"] .se-plan-card,
:root[data-theme="dark"] .se-faq-support,
:root[data-theme="dark"] .se-faq-group,
:root[data-theme="dark"] .se-faq-item,
:root[data-theme="dark"] .se-refund-box,
:root[data-theme="dark"] .se-legal-contact-card,
:root[data-theme="dark"] .se-terms-grid > *,
:root[data-theme="dark"] .se-contact-detail,
:root[data-theme="dark"] .se-contact-trust,
:root[data-theme="dark"] .se-contact-form,
:root[data-theme="dark"] .seller-box,
:root[data-theme="dark"] .sales-seller-card,
:root[data-theme="dark"] .seller-score-card {
  background:#11192c!important;color:#e8ecf7;border-color:#293652!important;
}
:root[data-theme="dark"] .policy-card:hover,
:root[data-theme="dark"] .se-about-feature:hover,
:root[data-theme="dark"] .se-about-step:hover,
:root[data-theme="dark"] .se-sitemap-card:hover,
:root[data-theme="dark"] .se-plan-card:hover,
:root[data-theme="dark"] .se-faq-support:hover,
:root[data-theme="dark"] .se-faq-group:hover,
:root[data-theme="dark"] .se-faq-item:hover,
:root[data-theme="dark"] .se-refund-box:hover,
:root[data-theme="dark"] .se-legal-contact-card:hover,
:root[data-theme="dark"] .se-terms-grid > *:hover,
:root[data-theme="dark"] .se-contact-detail:hover,
:root[data-theme="dark"] .se-contact-trust:hover,
:root[data-theme="dark"] .se-contact-form:hover,
:root[data-theme="dark"] .seller-box:hover,
:root[data-theme="dark"] .sales-seller-card:hover,
:root[data-theme="dark"] .seller-score-card:hover {
  background:#151f35!important;border-color:#786cf5!important;
  box-shadow:0 16px 34px rgba(0,0,0,.30),0 0 0 1px rgba(120,108,245,.12);
}
:root[data-theme="dark"] .policy-card p,
:root[data-theme="dark"] .policy-card li,
:root[data-theme="dark"] .se-about-feature p,
:root[data-theme="dark"] .se-about-step p,
:root[data-theme="dark"] .se-sitemap-card p,
:root[data-theme="dark"] .se-faq-answer,
:root[data-theme="dark"] .se-faq-answer p,
:root[data-theme="dark"] .se-contact-detail p,
:root[data-theme="dark"] .se-contact-trust p,
:root[data-theme="dark"] .se-refund-box p,
:root[data-theme="dark"] .se-terms-grid p,
:root[data-theme="dark"] .se-terms-grid li {
  color:#b9c5dc!important;
}
:root[data-theme="dark"] .policy-card h1,
:root[data-theme="dark"] .policy-card h2,
:root[data-theme="dark"] .policy-card h3,
:root[data-theme="dark"] .se-about-feature h3,
:root[data-theme="dark"] .se-about-step h3,
:root[data-theme="dark"] .se-sitemap-card h3,
:root[data-theme="dark"] .se-faq-item summary,
:root[data-theme="dark"] .se-faq-heading,
:root[data-theme="dark"] .se-contact-detail h3,
:root[data-theme="dark"] .se-refund-box h3,
:root[data-theme="dark"] .se-terms-grid h3 {
  color:#f1f5ff!important;
}

/* Keyboard accessibility mirrors mouse interaction. */
.policy-card:focus-within,.se-about-feature:focus-within,.se-about-step:focus-within,
.se-sitemap-card:focus-within,.se-plan-card:focus-within,.se-contact-detail:focus-within,
.se-faq-support:focus-within,.se-refund-box:focus-within,.se-legal-contact-card:focus-within{
  outline:2px solid rgba(108,95,235,.45);outline-offset:2px;
}

@media (hover:none){
  .policy-card:hover,.se-about-feature:hover,.se-about-step:hover,.se-sitemap-card:hover,
  .se-plan-card:hover,.se-faq-support:hover,.se-faq-group:hover,.se-refund-box:hover,
  .se-legal-contact-card:hover,.se-terms-grid > *:hover,.se-contact-detail:hover,
  .se-contact-trust:hover,.se-contact-form:hover,.seller-box:hover,.sales-seller-card:hover,
  .seller-score-card:hover,.product-card:hover,.ad-card:hover,.metric:hover,.dash-card:hover{
    transform:none;box-shadow:none;
  }
}
@media (prefers-reduced-motion:reduce){
  .policy-card,.se-about-feature,.se-about-step,.se-sitemap-card,.se-plan-card,
  .se-faq-item,.se-contact-detail,.product-card,.dash-card,.metric{transition:none!important}
}


/* Universal interaction polish: subtle lift, boundary and lighting across the whole app. */
:root{
  --se-int-border:#8d83f5;
  --se-int-glow:rgba(108,95,235,.18);
  --se-int-shadow:0 14px 34px rgba(31,35,55,.12);
}

/* Common surfaces / cards throughout marketplace, seller, account and admin screens. */
.card,.product-card,.category-card,.plan,.power,.settings-card,.admin-card,.admin-kpi,
.admin-detail-box,.admin-confirm,.admin-search,.dash-card,.metric,.setting-card,
.security-box,.order-card,.library-card,.store-card,.stat-card,.profile-card,
.account-profile-card,.account-panel,.account-stat,.asset-card,.review-box,.bundle-box,
.ref-card,.warning-card,.service-card,.summary-card,.earning-card,.payout-card,
.ad-card,.payment-card,.balance-card,.history-card,.sales-seller-card,.seller-score-card,
.seller-box,.seller-tools>*,.auth-box,.modal,.sidebar-filter,.detail-main,.payment-left,
.payment-right-inner,.payment-total,.pay-opt,.se-info-panel,.se-info-list>div,
.se-guide-rule,.se-guide-check-list,.se-guide-practices>div,.se-refund-box,
.se-legal-section,.se-legal-mini,.se-legal-contact-card>div,.se-contact-detail,
.se-contact-trust,.se-sitemap-card,.se-about-feature,.se-about-mini,.se-about-step,
.se-about-core,.se-faq-side,.se-faq-support,.se-plan-card,.se-faq-group,.se-faq-item,
.se-contact-form,.se-terms-grid>*{
  transition:transform .24s cubic-bezier(.2,.75,.25,1),
             box-shadow .24s ease,border-color .24s ease,background-color .24s ease,
             filter .24s ease;
}

.card:hover,.product-card:hover,.category-card:hover,.plan:hover,.power:hover,
.settings-card:hover,.admin-card:hover,.admin-kpi:hover,.admin-detail-box:hover,
.admin-confirm:hover,.admin-search:hover,.dash-card:hover,.metric:hover,.setting-card:hover,
.security-box:hover,.order-card:hover,.library-card:hover,.store-card:hover,.stat-card:hover,
.profile-card:hover,.account-profile-card:hover,.account-panel:hover,.account-stat:hover,
.asset-card:hover,.review-box:hover,.bundle-box:hover,.ref-card:hover,.warning-card:hover,
.service-card:hover,.summary-card:hover,.earning-card:hover,.payout-card:hover,.ad-card:hover,
.payment-card:hover,.balance-card:hover,.history-card:hover,.sales-seller-card:hover,
.seller-score-card:hover,.seller-box:hover,.seller-tools>*:hover,.auth-box:hover,
.modal:hover,.sidebar-filter:hover,.detail-main:hover,.payment-left:hover,.payment-right-inner:hover,
.payment-total:hover,.pay-opt:hover,.se-info-panel:hover,.se-info-list>div:hover,
.se-guide-rule:hover,.se-guide-check-list:hover,.se-guide-practices>div:hover,
.se-refund-box:hover,.se-legal-section:hover,.se-legal-mini:hover,.se-legal-contact-card>div:hover,
.se-contact-detail:hover,.se-contact-trust:hover,.se-sitemap-card:hover,
.se-about-feature:hover,.se-about-mini:hover,.se-about-step:hover,.se-about-core:hover,
.se-faq-side:hover,.se-faq-support:hover,.se-plan-card:hover,.se-faq-group:hover,
.se-faq-item:hover,.se-contact-form:hover,.se-terms-grid>*:hover{
  transform:translateY(-3px) scale(1.012);
  border-color:var(--se-int-border)!important;
  box-shadow:var(--se-int-shadow),0 0 0 1px var(--se-int-glow);
}

/* Interactive controls: clear hit-area feedback. */
button,.btn,a.pill,.pill,.view-toggle button,select,input,textarea,
.policy-side-link,.se-about-categories button,.faq button,.se-faq-item summary{
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,
             background-color .18s ease,color .18s ease,filter .18s ease;
}
button:hover,.btn:hover,.pill:hover,.view-toggle button:hover,.policy-side-link:hover,
.se-about-categories button:hover,.faq button:hover,.se-faq-item summary:hover{
  filter:brightness(1.025);
}

/* Focus = same visible boundary for keyboard users. */
.card:focus-within,.product-card:focus-within,.category-card:focus-within,
.plan:focus-within,.power:focus-within,.settings-card:focus-within,
.admin-card:focus-within,.dash-card:focus-within,.metric:focus-within,
.policy-card:focus-within,.se-legal-section:focus-within,.se-faq-item:focus-within{
  outline:2px solid rgba(108,95,235,.46);outline-offset:2px;
}

/* Night mode: stronger but soft neon boundary and readable hover state. */
:root[data-theme="dark"] .card:hover,:root[data-theme="dark"] .product-card:hover,
:root[data-theme="dark"] .category-card:hover,:root[data-theme="dark"] .plan:hover,
:root[data-theme="dark"] .power:hover,:root[data-theme="dark"] .settings-card:hover,
:root[data-theme="dark"] .admin-card:hover,:root[data-theme="dark"] .admin-kpi:hover,
:root[data-theme="dark"] .admin-detail-box:hover,:root[data-theme="dark"] .dash-card:hover,
:root[data-theme="dark"] .metric:hover,:root[data-theme="dark"] .setting-card:hover,
:root[data-theme="dark"] .security-box:hover,:root[data-theme="dark"] .order-card:hover,
:root[data-theme="dark"] .library-card:hover,:root[data-theme="dark"] .store-card:hover,
:root[data-theme="dark"] .stat-card:hover,:root[data-theme="dark"] .profile-card:hover,
:root[data-theme="dark"] .account-profile-card:hover,:root[data-theme="dark"] .account-panel:hover,
:root[data-theme="dark"] .account-stat:hover,:root[data-theme="dark"] .asset-card:hover,
:root[data-theme="dark"] .review-box:hover,:root[data-theme="dark"] .bundle-box:hover,
:root[data-theme="dark"] .ref-card:hover,:root[data-theme="dark"] .warning-card:hover,
:root[data-theme="dark"] .service-card:hover,:root[data-theme="dark"] .summary-card:hover,
:root[data-theme="dark"] .earning-card:hover,:root[data-theme="dark"] .payout-card:hover,
:root[data-theme="dark"] .ad-card:hover,:root[data-theme="dark"] .payment-card:hover,
:root[data-theme="dark"] .balance-card:hover,:root[data-theme="dark"] .history-card:hover,
:root[data-theme="dark"] .sales-seller-card:hover,:root[data-theme="dark"] .seller-score-card:hover,
:root[data-theme="dark"] .seller-box:hover,:root[data-theme="dark"] .auth-box:hover,
:root[data-theme="dark"] .modal:hover,:root[data-theme="dark"] .detail-main:hover,
:root[data-theme="dark"] .se-info-panel:hover,:root[data-theme="dark"] .se-info-list>div:hover,
:root[data-theme="dark"] .se-guide-rule:hover,:root[data-theme="dark"] .se-guide-check-list:hover,
:root[data-theme="dark"] .se-guide-practices>div:hover,:root[data-theme="dark"] .se-refund-box:hover,
:root[data-theme="dark"] .se-legal-section:hover,:root[data-theme="dark"] .se-legal-mini:hover,
:root[data-theme="dark"] .se-legal-contact-card>div:hover,:root[data-theme="dark"] .se-contact-detail:hover,
:root[data-theme="dark"] .se-contact-trust:hover,:root[data-theme="dark"] .se-sitemap-card:hover,
:root[data-theme="dark"] .se-about-feature:hover,:root[data-theme="dark"] .se-about-mini:hover,
:root[data-theme="dark"] .se-about-step:hover,:root[data-theme="dark"] .se-about-core:hover,
:root[data-theme="dark"] .se-faq-side:hover,:root[data-theme="dark"] .se-faq-support:hover,
:root[data-theme="dark"] .se-plan-card:hover,:root[data-theme="dark"] .se-faq-group:hover,
:root[data-theme="dark"] .se-faq-item:hover,:root[data-theme="dark"] .se-contact-form:hover,
:root[data-theme="dark"] .se-terms-grid>*:hover{
  background-color:#151f35!important;
  border-color:#786cf5!important;
  box-shadow:0 16px 38px rgba(0,0,0,.32),0 0 0 1px rgba(120,108,245,.18),0 0 22px rgba(93,80,220,.08);
}

/* Keep touch devices stable: no accidental zoom while tapping. */
@media (hover:none){
  .card:hover,.product-card:hover,.category-card:hover,.plan:hover,.power:hover,
  .settings-card:hover,.admin-card:hover,.admin-kpi:hover,.admin-detail-box:hover,
  .dash-card:hover,.metric:hover,.setting-card:hover,.security-box:hover,.order-card:hover,
  .library-card:hover,.store-card:hover,.stat-card:hover,.profile-card:hover,
  .account-profile-card:hover,.account-panel:hover,.account-stat:hover,.asset-card:hover,
  .review-box:hover,.bundle-box:hover,.ref-card:hover,.warning-card:hover,.service-card:hover,
  .summary-card:hover,.earning-card:hover,.payout-card:hover,.ad-card:hover,.payment-card:hover,
  .balance-card:hover,.history-card:hover,.sales-seller-card:hover,.seller-score-card:hover,
  .seller-box:hover,.auth-box:hover,.modal:hover,.detail-main:hover,.se-info-panel:hover,
  .se-info-list>div:hover,.se-guide-rule:hover,.se-guide-check-list:hover,
  .se-guide-practices>div:hover,.se-refund-box:hover,.se-legal-section:hover,
  .se-legal-mini:hover,.se-legal-contact-card>div:hover,.se-contact-detail:hover,
  .se-contact-trust:hover,.se-sitemap-card:hover,.se-about-feature:hover,.se-about-mini:hover,
  .se-about-step:hover,.se-about-core:hover,.se-faq-side:hover,.se-faq-support:hover,
  .se-plan-card:hover,.se-faq-group:hover,.se-faq-item:hover,.se-contact-form:hover,
  .se-terms-grid>*:hover{transform:none}
}
@media (prefers-reduced-motion:reduce){
  .card,.product-card,.category-card,.plan,.power,.settings-card,.admin-card,.dash-card,
  .metric,.policy-card,.se-legal-section,.se-faq-item{transition:none!important}
}


/* Long lists scroll inside their own panel so page height stays stable. */
.se-scroll-panel{
  max-height:560px;
  overflow:auto;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-gutter:stable;
  border:1px solid var(--line);
  border-radius:14px;
}
.se-scroll-panel::-webkit-scrollbar{width:7px;height:7px}
.se-scroll-panel::-webkit-scrollbar-track{background:transparent}
.se-scroll-panel::-webkit-scrollbar-thumb{background:#394863;border-radius:99px}
.se-scroll-panel::-webkit-scrollbar-thumb:hover{background:#566785}
.se-scroll-panel .admin-table,.se-scroll-panel .dash-table{min-width:760px}
.se-scroll-panel thead th{position:sticky;top:0;z-index:2}
.se-scroll-panel .admin-table thead th{background:#111a2c}
.se-scroll-panel .dash-table thead th{background:var(--surface2)}
.se-scroll-panel .data-row{cursor:pointer}
.se-admin-detail-list{max-height:360px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.se-admin-detail-list::-webkit-scrollbar{width:6px}
.se-admin-detail-list::-webkit-scrollbar-thumb{background:#394863;border-radius:99px}
@media(max-width:760px){.se-scroll-panel{max-height:500px}.se-scroll-panel .admin-table,.se-scroll-panel .dash-table{min-width:700px}}


@media(max-width:760px){
  .admin-seller-control-card{padding:12px!important;overflow:hidden}
  .admin-seller-control-table{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:12px}
  .admin-seller-control-table .admin-table{min-width:720px}
  .admin-seller-control-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
  .admin-seller-control-actions .btn:last-child{grid-column:1 / -1}
  .admin-seller-control-grid{grid-template-columns:1fr 1fr!important}
  .dashboard-shell .dash-card:has(.dash-table){overflow:hidden!important}
  .dashboard-shell .dash-card .dash-table{min-width:760px}
  .dashboard-shell .dash-card:has(.dash-table)>div{overflow-x:auto;-webkit-overflow-scrolling:touch}
  .dashboard-shell .dash-card:has(.dash-table)>table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
}
@media(max-width:420px){
  .admin-seller-control-grid{grid-template-columns:1fr!important}
  .admin-seller-control-actions{grid-template-columns:1fr!important}
  .admin-seller-control-actions .btn:last-child{grid-column:auto}
}


/* Mobile Cart v8: product image first, title/price below, actions last. */
@media(max-width:600px){
  main.cart .cart-product-row{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important;padding:16px 0 18px!important;}
  main.cart .cart-product-media{width:100%!important;height:210px!important;border-radius:14px!important;order:1!important;}
  main.cart .cart-product-media .mini-thumb{width:100%!important;height:100%!important;}
  main.cart .cart-product-info{order:2!important;width:100%!important;min-width:0!important;}
  main.cart .cart-product-title{font-size:16px!important;line-height:1.35!important;display:block!important;overflow-wrap:anywhere!important;word-break:break-word!important;}
  main.cart .cart-product-price{font-size:13px!important;margin-top:5px!important;}
  main.cart .cart-product-actions{order:3!important;width:100%!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px!important;padding-top:3px!important;}
  main.cart .cart-product-actions .btn{width:100%!important;max-width:none!important;min-height:44px!important;}
}
@media(max-width:380px){
  main.cart .cart-product-media{height:180px!important;}
  main.cart .cart-product-title{font-size:15px!important;}
}


/* Messages: restore a proper full-width, responsive chat layout. */
.message-shell{
  width:100%;
  max-width:100%;
  min-width:0;
  display:grid;
  grid-template-columns:minmax(250px,300px) minmax(0,1fr);
  min-height:620px;
  border:1px solid var(--line,#e1e5ee);
  border-radius:18px;
  overflow:hidden;
  background:var(--card,#fff);
  box-sizing:border-box;
}
.message-list{
  min-width:0;
  min-height:0;
  border-right:1px solid var(--line,#e1e5ee);
  padding:14px;
  overflow:auto;
  box-sizing:border-box;
}
.message-list-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}
.message-list-head .btn{flex:0 0 auto;white-space:nowrap}
@media(max-width:640px){.message-list-head .btn{font-size:10px;padding:7px 9px}}
.message-thread-row{
  width:100%;
  min-width:0;
  display:flex;
  align-items:center;
  gap:10px;
  text-align:left;
  padding:12px;
  margin:4px 0;
  border:1px solid transparent;
  border-radius:13px;
  background:transparent;
  color:var(--ink,#172033);
  box-sizing:border-box;
}
.message-thread-row:hover,.message-thread-row.active{background:var(--soft,#f5f4ff);border-color:var(--line,#e1e5ee)}
.message-thread-main{min-width:0;flex:1;overflow:hidden}
.message-thread-main b,.message-thread-main small{display:block;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.message-chat{min-width:0;min-height:0;display:flex;flex-direction:column;background:var(--card,#fff);overflow:hidden}
.message-chat-head{display:flex;align-items:center;gap:10px;min-width:0;padding:14px 17px;border-bottom:1px solid var(--line,#e1e5ee);background:var(--card,#fff);box-sizing:border-box}
.message-chat-head>div:first-of-type{flex:1;min-width:0}
.message-chat-head .btn{flex:0 0 auto}
.message-bubbles{flex:1;min-height:240px;padding:18px;overflow:auto;max-height:500px;box-sizing:border-box}
.message-bubble{width:max-content;max-width:min(76%,620px);padding:10px 13px;border-radius:15px 15px 15px 4px;background:var(--card,#fff);border:1px solid var(--line,#e1e5ee);margin:7px 0;white-space:pre-wrap;overflow-wrap:anywhere;box-sizing:border-box}
.message-bubble.mine{margin-left:auto;border-radius:15px 15px 4px 15px;background:#6558ef;color:#fff;border-color:#6558ef}
.message-bubble small{display:block;margin-top:5px;opacity:.72;font-size:9px;text-align:right}
.message-compose{padding:13px;border-top:1px solid var(--line,#e1e5ee);background:var(--card,#fff);box-sizing:border-box}
.message-compose textarea{width:100%;min-height:72px!important;max-height:160px;box-sizing:border-box;resize:vertical}
.message-compose-actions{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap;margin-top:8px}
.message-limit{font-size:11px;color:var(--muted,#7a8599)}
.message-empty{display:grid;place-items:center;text-align:center;min-height:360px;padding:30px;box-sizing:border-box}
/* Seller dashboard message page */
.dashboard-shell .message-shell{margin:0;width:100%}
.dashboard-shell .message-list{background:var(--card,#fff)}
.dashboard-shell .message-chat{min-height:620px}
/* Admin message page */
.admin-content .message-shell{margin-top:18px;width:100%}
.admin-content .message-shell .message-list{background:var(--ad-surface)!important;color:var(--ad-text)!important;border-color:var(--ad-line)!important}
.se-admin .message-shell{background:var(--ad-surface)!important;color:var(--ad-text)!important;border-color:var(--ad-line)!important}
.se-admin .message-list,.se-admin .message-chat,.se-admin .message-chat-head,.se-admin .message-compose{background:var(--ad-surface)!important;color:var(--ad-text)!important;border-color:var(--ad-line)!important}
.se-admin .message-bubbles{background:var(--ad-bg)!important;color:var(--ad-text)!important}
.se-admin .message-thread-row{color:var(--ad-text)!important}
.se-admin .message-thread-row:hover,.se-admin .message-thread-row.active{background:var(--ad-soft)!important;border-color:var(--ad-line)!important;color:var(--ad-text)!important}
.se-admin .message-bubble:not(.mine){background:var(--ad-surface)!important;color:var(--ad-text)!important;border-color:var(--ad-line)!important}
.se-admin .message-limit{color:var(--ad-muted)!important}
.admin-content>.admin-card:has(#msgDaily){width:100%;box-sizing:border-box}
.admin-content>.admin-card:has(#msgDaily) .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.admin-content>.admin-card:has(#msgDaily) .section-head{margin-bottom:14px}
@media(max-width:900px){
  .message-shell{grid-template-columns:1fr;min-height:0;border-radius:15px}
  .message-list{border-right:0;border-bottom:1px solid var(--line,#e1e5ee);max-height:235px;padding:10px}
  .message-chat{min-height:520px}
  .dashboard-shell .message-chat,.admin-content .message-chat{min-height:520px}
  .message-bubbles{max-height:none;min-height:250px;padding:12px}
  .message-bubble{max-width:88%}
  .message-chat-head{padding:11px 12px;flex-wrap:wrap}
  .message-chat-head .btn{font-size:11px;padding:8px 10px}
  .admin-content>.admin-card:has(#msgDaily) .form-grid{grid-template-columns:1fr}
}
@media(max-width:560px){
  .message-shell{border-radius:12px}
  .message-list{max-height:205px}
  .message-thread-row{padding:10px}
  .message-chat-head{gap:7px}
  .message-chat-head .account-avatar{width:38px;height:38px;flex:0 0 38px}
  .message-bubbles{min-height:230px;padding:10px}
  .message-bubble{max-width:92%;padding:9px 11px}
  .message-compose{padding:10px}
  .message-compose-actions{align-items:stretch}
  .message-compose-actions .btn{width:100%}
  .message-limit{width:100%;text-align:right}
  .admin-content>.admin-card:has(#msgDaily){padding:13px}
}


/* v44: product detail description is presentation-only; source text/data is untouched. */
.product-description-wrap{margin:12px 0 0}
.product-description-wrap .product-description-text{
  margin:0;
  white-space:pre-wrap;
  overflow:hidden;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:4;
  line-clamp:4;
  overflow-wrap:anywhere;
  word-break:break-word;
}
.product-description-wrap .product-description-text.expanded{
  display:block;
  overflow:visible;
  -webkit-line-clamp:unset;
  line-clamp:unset;
}
.product-description-toggle{
  margin-top:8px;
  border:0;
  background:transparent;
  color:var(--primary,#635bff);
  font:inherit;
  font-weight:800;
  padding:3px 0;
  cursor:pointer;
}
.product-description-toggle:hover{text-decoration:underline}
@media (max-width:700px){
  .product-description-wrap .product-description-text{
    -webkit-line-clamp:3;
    line-clamp:3;
  }
}


/* Mail Center: keep the message column independently scrollable as messages grow. */
.se-admin.se-admin .mail-main{min-height:0;min-width:0;display:flex;flex-direction:column;overflow:hidden}
.se-admin.se-admin .mail-list{min-height:0;max-height:calc(100dvh - 300px);overflow:auto;overflow-x:auto;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.se-admin.se-admin .mail-list-head{position:sticky;top:0;z-index:3;background:var(--ad-surface,#fff)}
.se-admin.se-admin .mail-row{min-width:560px}
:root[data-theme="dark"] .se-admin.se-admin .mail-list-head{background:#101827}
@media(max-width:800px){
  .se-admin.se-admin .mail-list{max-height:calc(100dvh - 360px)}
  .se-admin.se-admin .mail-row{min-width:0}
}


/* v82 mobile compatibility pass */
html,body{width:100%;max-width:100%;overflow-x:hidden}
#app{width:100%;max-width:100%;overflow-x:hidden}
img,video,iframe{max-width:100%;height:auto}
.container{width:100%;max-width:1240px;margin-left:auto;margin-right:auto}
.page,.section,.detail-wrap{min-width:0}
.detail-main,.detail-info,.detail-image,.bundle-box,.review-box{min-width:0}
.detail-info{overflow-wrap:anywhere}
.detail-info h1,.product-card h3{overflow-wrap:anywhere}
.detail-actions{min-width:0}
.detail-actions .btn{min-width:0;white-space:normal}
.detail-sales-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 0 2px;padding:9px 11px;border:1px solid var(--line);border-radius:11px;background:var(--soft);color:var(--muted);font-size:12px;font-weight:800}
.detail-sales-line b{font-size:16px;color:var(--brand)}
.product-description-wrap{min-width:0}
.product-description-text{overflow-wrap:anywhere}
.bundle-box .grid,.review-box{min-width:0}
.sticky-buy{max-width:calc(100vw - 24px);white-space:normal}
@media (max-width:900px){
 .topbar{height:auto;min-height:62px}
 .nav{min-width:0;flex-wrap:wrap;padding:8px 0}
 .logo{min-width:0;flex:0 0 auto}
 .search{order:3;flex:1 1 100%;max-width:none}
 .nav-actions{min-width:0;overflow-x:auto}
 .nav-actions .btn,.nav-actions button{flex:0 0 auto}
 .hero-grid,.market-layout,.detail-main,.detail-main.ratio-landscape,.detail-main.ratio-portrait,.detail-main.ratio-square{grid-template-columns:minmax(0,1fr)!important}
 .detail-main{gap:16px;padding:14px;margin-top:12px!important}
 .detail-image,.detail-main.ratio-landscape .detail-image,.detail-main.ratio-portrait .detail-image,.detail-main.ratio-square .detail-image{width:100%;min-height:210px;max-height:55vh;height:auto}
 .detail-image img{width:100%;height:auto;max-height:55vh;object-fit:contain}
 .detail-info{width:100%}
 .detail-info h1{font-size:clamp(22px,6vw,28px);line-height:1.18;margin:9px 0}
 .detail-price{font-size:clamp(24px,7vw,30px);margin:12px 0}
 .detail-actions{grid-template-columns:1fr 1fr!important;gap:8px}
 .detail-actions .primary{grid-column:1/-1}
 .detail-actions .btn{width:100%;min-height:44px}
 .seller-box{min-width:0}
 .seller-box>div{min-width:0;overflow-wrap:anywhere}
 .faq button{min-height:48px}
 .bundle-box .grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .review-box .section-head{align-items:flex-start}
 .review-box .section-head .btn{width:100%}
 .sticky-buy{right:12px;left:12px;bottom:calc(74px + env(safe-area-inset-bottom));width:auto;z-index:95}
 .mobile-bottom-nav{z-index:96}
}
@media (max-width:560px){
 .container{padding-left:12px!important;padding-right:12px!important}
 .grid,.bundle-box .grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .product-card .thumb{height:128px}
 .product-card .body{padding:9px}
 .product-card h3{font-size:12px}
 .detail-wrap{padding:12px 0 110px}
 .detail-main{border-radius:15px;padding:10px;gap:12px}
 .detail-image,.detail-main.ratio-landscape .detail-image,.detail-main.ratio-portrait .detail-image,.detail-main.ratio-square .detail-image{min-height:190px;max-height:48vh}
 .detail-sales-line{font-size:11px}
 .detail-sales-line b{font-size:15px}
 .product-trust-row{display:grid!important;grid-template-columns:1fr 1fr;gap:6px!important}
 .product-trust-pill{min-width:0;text-align:center}
 .footer-grid{grid-template-columns:1fr 1fr!important}
 .modal{width:calc(100vw - 16px)!important;max-width:none!important}
 table{max-width:100%}
}
@media (max-width:380px){
 .grid,.bundle-box .grid{grid-template-columns:1fr!important}
 .detail-actions{grid-template-columns:1fr!important}
 .detail-actions .primary{grid-column:auto}
 .product-trust-row{grid-template-columns:1fr!important}
}


.se-otp-help{display:block;width:100%;margin:0 0 16px;padding:13px 14px;border:1px solid #cfcaff;border-radius:12px;background:linear-gradient(180deg,#f8f7ff 0%,#f1efff 100%);color:#20263a;box-shadow:0 5px 16px rgba(81,70,229,.08);text-align:left;line-height:1.45;overflow-wrap:anywhere}
.se-otp-help-title{display:block;font-size:14px;line-height:1.3;font-weight:900;color:#3f35b8;margin:0 0 5px}
.se-otp-help-text{display:block;font-size:12px;line-height:1.5;color:#596579}
.se-otp-help b{font-weight:900;color:#252b3d}
@media(max-width:600px){
  .auth-box{padding:18px!important;margin:28px auto!important;width:calc(100% - 20px)!important;max-width:480px!important}
  .se-otp-help{margin:0 0 15px;padding:12px 13px;border-radius:11px}
  .se-otp-help-title{font-size:13px}
  .se-otp-help-text{font-size:12px;line-height:1.55}
}
@media(max-width:360px){
  .auth-box{padding:15px!important;width:calc(100% - 16px)!important}
  .se-otp-help{padding:11px 12px}
  .se-otp-help-title{font-size:12.5px}
  .se-otp-help-text{font-size:11.5px}
}
:root[data-theme="dark"] .se-otp-help{background:#18213a;border-color:#39446b;color:#eef3ff}
:root[data-theme="dark"] .se-otp-help-title{color:#bcb5ff}
:root[data-theme="dark"] .se-otp-help-text{color:#c3cce0}
:root[data-theme="dark"] .se-otp-help b{color:#f2f5ff}


.password-field{display:flex;gap:8px;align-items:stretch}.password-field input{flex:1;min-width:0}.password-toggle{border:1px solid var(--line);background:var(--surface2);border-radius:10px;padding:0 12px;font-weight:700;cursor:pointer}@media(max-width:520px){.password-field{gap:6px}.password-toggle{padding:0 10px}.modal-footer{flex-direction:column}.modal-footer .btn{width:100%}}


.ac-checks{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.ac-check{display:flex;align-items:center;gap:7px;border:1px solid var(--line);padding:9px 11px;border-radius:12px;background:var(--card);font-size:12px;font-weight:700}.ac-check input{accent-color:var(--brand)}
.admin-card h2,.admin-card h3{letter-spacing:-.01em}.admin-card .section-head{margin-bottom:14px}.admin-card textarea{min-height:110px}
@media(max-width:900px){.ac-checks{gap:7px}.admin-card .form-grid{grid-template-columns:1fr}.admin-main{min-width:0}}


.mail-shell{display:grid;grid-template-columns:220px minmax(0,1fr);gap:18px;min-height:620px}
.mail-sidebar{background:var(--ad-surface,#fff);border:1px solid var(--ad-line,#e5e7ef);border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:5px}
.mail-compose-btn{border:0;border-radius:9px;background:#6654d9;color:#fff;padding:12px 14px;font-weight:700;text-align:left;cursor:pointer;margin-bottom:10px}.mail-compose-btn:hover{background:#5846c9}
.mail-nav{border:1px solid transparent;background:transparent;color:var(--ad-muted,#677084);border-radius:8px;padding:11px 12px;text-align:left;font-weight:650;display:flex;align-items:center;gap:9px;cursor:pointer}.mail-nav:hover{background:var(--ad-bg,#f5f6fa);color:var(--ad-text,#202331)}.mail-nav.active{background:var(--ad-soft,#eeebfc);color:var(--ad-accent,#6354da)}.mail-nav span{margin-left:auto;font-size:10px;padding:3px 7px;border-radius:99px;background:var(--ad-bg,#f5f6fa)}
.mail-info-card{margin-top:auto;background:var(--ad-bg,#f5f6fa);border:1px solid var(--ad-line,#e5e7ef);border-radius:10px;padding:12px}.mail-info-card strong{font-size:12px}.mail-info-card p{font-size:11px;line-height:1.5;color:var(--ad-muted,#677084);margin:7px 0}.mail-info-card small{font-size:10px;color:var(--ad-muted,#677084)}
.mail-main,.mail-list,.mail-detail{min-width:0}.mail-list{background:var(--ad-surface,#fff);border:1px solid var(--ad-line,#e5e7ef);border-radius:14px;overflow:hidden}.mail-list-head{display:flex;align-items:center;justify-content:space-between;padding:15px 17px;border-bottom:1px solid var(--ad-line,#e5e7ef)}.mail-count{margin-left:7px;background:var(--ad-bg,#f5f6fa);padding:4px 7px;border-radius:99px;font-size:10px;color:var(--ad-muted,#677084)}
.mail-row{width:100%;border:0;border-bottom:1px solid var(--ad-line,#e5e7ef);background:transparent;color:var(--ad-text,#202331);display:flex;align-items:center;gap:12px;padding:14px 16px;text-align:left;cursor:pointer}.mail-row:hover,.mail-row.selected{background:var(--ad-bg,#f5f6fa)}.mail-row.unread{background:#faf9ff}.mail-avatar{width:36px;height:36px;flex:0 0 36px;border-radius:10px;background:var(--ad-soft,#eeebfc);color:var(--ad-accent,#6354da);display:grid;place-items:center;font-size:11px;font-weight:800}.mail-avatar.large{width:46px;height:46px;flex-basis:46px}.mail-row-main{min-width:0;flex:1;display:flex;flex-direction:column;gap:3px}.mail-row-main strong{font-size:12px}.mail-row-main span{font-size:12px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mail-row-main small{font-size:10px;color:var(--ad-muted,#677084);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mail-row-side{display:flex;flex-direction:column;align-items:flex-end;gap:6px}.mail-row-side small{font-size:10px;color:var(--ad-muted,#677084)}.mail-star{background:transparent;border:0;color:#a0a6b4;font-size:18px;padding:0}.mail-star.on{color:#d19b20}.mail-empty{text-align:center;padding:90px 20px;color:var(--ad-muted,#677084)}.mail-read-modal{width:min(900px,96vw);max-height:90vh;overflow:auto;padding:26px}.mail-read-head{display:flex;align-items:center;gap:14px;padding-right:38px}.mail-read-meta{min-width:0}.mail-read-kicker{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:var(--ad-accent,#6354da);margin-bottom:4px}.mail-read-meta h2{margin:0 0 5px;font-size:22px;overflow-wrap:anywhere}.mail-read-info{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0;padding:14px;border:1px solid var(--ad-line,#e5e7ef);border-radius:14px;background:var(--ad-bg,#f7f8fb)}.mail-read-info>div{min-width:0}.mail-read-info b{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--ad-muted,#677084);margin-bottom:4px}.mail-read-info span{display:block;font-size:12px;overflow-wrap:anywhere}.mail-read-body{font-size:14px;line-height:1.75;min-height:160px;padding:20px;border:1px solid var(--ad-line,#e5e7ef);border-radius:14px;background:var(--ad-surface,#fff);overflow-wrap:anywhere;word-break:break-word}.mail-read-actions{flex-wrap:wrap}.mail-read-actions .danger{margin-left:auto}:root[data-theme="dark"] .mail-read-info,:root[data-theme="dark"] .mail-read-body{background:#0c1423;border-color:#263650;color:#edf3ff}:root[data-theme="dark"] .mail-read-info{background:#101827}@media(max-width:640px){.mail-read-modal{width:96vw;padding:18px}.mail-read-info{grid-template-columns:1fr}.mail-read-actions .danger{margin-left:0}.mail-read-meta h2{font-size:18px}}.mail-empty h3{margin:12px 0 5px;color:var(--ad-text,#202331)}.mail-empty p{margin:0;font-size:12px}.mail-empty-icon{font-size:42px;opacity:.55}
.mail-detail{background:var(--ad-surface,#fff);border:1px solid var(--ad-line,#e5e7ef);border-radius:14px;padding:20px}.mail-detail-head{display:flex;justify-content:space-between;gap:10px;margin-bottom:28px}.mail-detail-actions{display:flex;gap:7px}.mail-detail-title{display:flex;align-items:center;gap:13px;padding-bottom:20px;border-bottom:1px solid var(--ad-line,#e5e7ef)}.mail-detail-title h2{margin:0 0 6px;font-size:20px}.mail-detail-body{padding:24px 8px;font-size:13px;line-height:1.85;white-space:normal;overflow-wrap:anywhere}.mail-compose-modal{width:min(680px,100%)}.mail-compose-head{display:flex;gap:12px;align-items:center;margin-bottom:18px}.mail-big-icon{width:42px;height:42px;border-radius:11px;display:grid;place-items:center;background:#eeebfc;color:#6654d9;font-size:20px}.mail-compose-note{font-size:11px;line-height:1.6;color:var(--muted);background:#f7f8fc;border:1px solid var(--line);border-radius:10px;padding:10px 12px;margin-top:12px}
:root[data-theme="dark"] .mail-list,:root[data-theme="dark"] .mail-detail,:root[data-theme="dark"] .mail-sidebar{background:#101827;border-color:#263650;color:#edf3ff}:root[data-theme="dark"] .mail-row{color:#edf3ff;border-color:#263650}:root[data-theme="dark"] .mail-row:hover,:root[data-theme="dark"] .mail-row.selected{background:#17233a}:root[data-theme="dark"] .mail-row.unread{background:#151b30}:root[data-theme="dark"] .mail-compose-note{background:#0c1423;border-color:#263650}:root[data-theme="dark"] .mail-info-card{background:#0c1423;border-color:#263650}
@media(max-width:800px){.mail-shell{grid-template-columns:1fr}.mail-sidebar{min-height:auto}.mail-info-card{margin-top:12px}.mail-detail-head{align-items:flex-start}.mail-row-side{display:none}}

/* Admin Studio: scoped redesign; storefront CSS is preserved. */
body.se-admin.se-admin{padding:0!important;overflow:hidden;background:#f5f6fa!important}
body.se-admin.se-admin::before{display:none!important}
body.se-admin.se-admin .mobile-bottom-nav,body.se-admin.se-admin>.platform-announcement{display:none!important}
.se-admin.se-admin{--ad-bg:#f5f6fa;--ad-surface:#fff;--ad-text:#202331;--ad-muted:#677084;--ad-line:#e5e7ef;--ad-accent:#6354da;--ad-soft:#eeebfc;--ad-green:#188263}
:root[data-theme="dark"] .se-admin.se-admin{--ad-bg:#11131c;--ad-surface:#1a1d29;--ad-text:#f2f3fb;--ad-muted:#a8aec1;--ad-line:#303447;--ad-accent:#aa9cff;--ad-soft:#30294c;--ad-green:#8ce0bf}
.se-admin.se-admin .admin-shell{height:100dvh!important;min-height:0!important;background:var(--ad-bg)!important;color:var(--ad-text)!important;display:flex!important;overflow:hidden!important;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif!important}
.se-admin.se-admin .admin-side{width:246px!important;position:relative!important;inset:auto!important;flex:0 0 246px!important;height:100dvh!important;padding:26px 17px 16px!important;border-right:1px solid var(--ad-line)!important;background:var(--ad-surface)!important;box-shadow:none!important;display:flex;flex-direction:column;overflow:hidden!important}
.se-admin.se-admin .as-logo{display:flex;gap:11px;align-items:center;padding:0 9px 23px;color:var(--ad-text);font-size:18px;font-weight:800;letter-spacing:-.5px}
.se-admin.se-admin .as-logo .logo-mark{background:#6654d9!important;border-radius:11px!important;width:35px;height:35px;color:white;font-size:14px;letter-spacing:-1px;box-shadow:none!important}
.se-admin.se-admin .as-logo small{display:block;font-size:10px;letter-spacing:1.6px;font-weight:700;color:var(--ad-muted)!important;margin-top:3px}
.se-admin.se-admin .as-nav{flex:1;overflow:auto;min-height:0;scrollbar-width:thin;padding-right:2px}
.se-admin.se-admin .admin-nav-title{margin:23px 12px 8px!important;font-size:10px!important;letter-spacing:1.2px!important;color:var(--ad-muted)!important;font-weight:700!important}
.se-admin.se-admin .admin-link{display:flex!important;gap:12px!important;min-height:43px!important;padding:10px 12px!important;font-size:13px!important;font-weight:550!important;line-height:1.4!important;border:0!important;border-radius:8px!important;color:var(--ad-muted)!important;background:transparent!important;box-shadow:none!important;transform:none!important;margin:2px 0!important}
.se-admin.se-admin .admin-link .label{display:block!important;text-align:left;flex:1}
.se-admin.se-admin .admin-link:hover{background:var(--ad-bg)!important;color:var(--ad-text)!important}
.se-admin.se-admin .admin-link.active{background:var(--ad-soft)!important;color:var(--ad-accent)!important;font-weight:700!important}
.se-admin.se-admin .as-icon{width:18px;height:18px;flex-shrink:0;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}
.se-admin.se-admin .as-side-footer{border-top:1px solid var(--ad-line);padding-top:15px;margin-top:14px}
.se-admin.se-admin .as-account{display:flex;align-items:center;gap:10px;padding:8px;border-radius:8px}
.se-admin.se-admin .as-avatar{width:34px;height:34px;border-radius:50%;background:var(--ad-soft);color:var(--ad-accent);display:grid;place-items:center;font-weight:750;font-size:12px;flex-shrink:0}
.se-admin.se-admin .as-account strong{font-size:12px;color:var(--ad-text)}.se-admin.se-admin .as-account small{display:block;font-size:11px;color:var(--ad-muted)!important;margin-top:3px}
.se-admin.se-admin .admin-main{margin:0!important;min-width:0!important;height:100dvh!important;flex:1!important;background:var(--ad-bg)!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
.se-admin.se-admin .admin-top{position:relative!important;inset:auto!important;height:82px!important;min-height:82px!important;flex:0 0 82px!important;padding:0 36px!important;background:var(--ad-surface)!important;color:var(--ad-text)!important;border-bottom:1px solid var(--ad-line)!important;box-shadow:none!important;display:flex!important;align-items:center!important;gap:24px!important;z-index:65!important;backdrop-filter:none!important}
.se-admin.se-admin .as-breadcrumb{font-size:12px;color:var(--ad-muted);white-space:nowrap;display:flex;align-items:center;gap:12px}
.se-admin.se-admin .as-breadcrumb b{font-weight:600;color:var(--ad-text)}
.se-admin.se-admin .as-top-actions{margin-left:auto;display:flex;align-items:center;gap:12px}
.se-admin.se-admin .admin-search-wrap{min-width:150px!important;max-width:280px!important;flex:1!important;position:relative!important;order:initial!important}
.se-admin.se-admin .admin-search{height:38px!important;border:1px solid var(--ad-line)!important;background:var(--ad-bg)!important;color:var(--ad-text)!important;border-radius:8px!important;padding:0 12px!important;box-shadow:none!important;font-size:12px!important;width:100%!important;min-width:0!important}
.se-admin.se-admin .admin-search-results{background:var(--ad-surface)!important;color:var(--ad-text)!important;border:1px solid var(--ad-line)!important;box-shadow:0 14px 40px #0002!important}
.se-admin.se-admin .as-sync{font-size:11px;font-weight:600;display:flex;align-items:center;gap:7px;max-width:175px;color:var(--ad-muted)}
.se-admin.se-admin .as-dot{width:6px;height:6px;border-radius:50%;background:#e5a22e;flex-shrink:0}.se-admin.se-admin .as-sync[data-state="live"] .as-dot{background:#23a47e}.se-admin.se-admin .as-sync[data-state="error"] .as-dot{background:#de5866}
.se-admin.se-admin .as-menu{display:none!important}
.se-admin.se-admin .admin-content{background:var(--ad-bg)!important;flex:1!important;min-height:0!important;overflow:auto!important;padding:30px 36px 44px!important;scrollbar-color:#cbc6e6 transparent!important}
.se-admin.se-admin .as-page-title{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:25px}
.se-admin.se-admin .as-eyebrow{font-size:10px;letter-spacing:1.3px;color:var(--ad-accent);font-weight:750;text-transform:uppercase;margin-bottom:9px}
.se-admin.se-admin .as-page-title h1{font-size:29px;letter-spacing:-1px;line-height:1.15;margin:0 0 9px;font-weight:750;color:var(--ad-text)}
.se-admin.se-admin .as-page-title p{font-size:13px;line-height:1.6;margin:0;color:var(--ad-muted)}
.se-admin.se-admin .as-date{font-size:12px;white-space:nowrap;color:var(--ad-muted);margin-top:23px}
.se-admin.se-admin .btn{border-radius:8px!important;min-height:38px;padding:9px 13px!important;font-size:12px!important;font-weight:650!important;gap:8px!important;background:var(--ad-surface)!important;color:var(--ad-text)!important;border:1px solid var(--ad-line)!important;box-shadow:none!important;transform:none!important}
.se-admin.se-admin .btn:hover{border-color:#b3a8eb!important;background:var(--ad-soft)!important}
.se-admin.se-admin .btn.primary{background:#6654d9!important;border-color:#6654d9!important;color:#fff!important}.se-admin.se-admin .btn.primary:hover{background:#5846c9!important}
.se-admin.se-admin .btn.danger{background:#fff0f2!important;color:#b1334c!important;border-color:#f1ccd4!important}
.se-admin.se-admin :focus-visible{outline:3px solid #b8aafa!important;outline-offset:3px!important}
.se-admin.se-admin .admin-kpis{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;margin:0 0 24px!important}
.se-admin.se-admin .admin-kpi,.se-admin.se-admin .admin-card,.se-admin.se-admin .admin-detail-box{background:var(--ad-surface)!important;border:1px solid var(--ad-line)!important;box-shadow:0 2px 3px #17193402!important;border-radius:12px!important;color:var(--ad-text)!important;overflow:visible!important;transform:none!important}
.se-admin.se-admin .admin-kpi{padding:21px!important;min-width:0;cursor:pointer;position:relative!important;border-top:1px solid var(--ad-line)!important}
.se-admin.se-admin .admin-kpi:after,.se-admin.se-admin .admin-card:after,.se-admin.se-admin .admin-detail-box:after{display:none!important}
.se-admin.se-admin .admin-kpi:hover,.se-admin.se-admin .admin-card:hover,.se-admin.se-admin .admin-detail-box:hover{box-shadow:0 2px 3px #17193402!important;transform:none!important;border-color:var(--ad-line)!important}
.se-admin.se-admin .as-metric-top{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--ad-muted);font-size:12px}
.se-admin.se-admin .as-metric-top .as-icon{width:16px;height:16px}
.se-admin.se-admin .admin-kpi b{display:block!important;font-size:29px!important;font-weight:750!important;letter-spacing:-.9px;margin:18px 0 10px!important;color:var(--ad-text)!important}
.se-admin.se-admin .as-metric-note{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--ad-muted);line-height:1.5}.se-admin.se-admin .as-metric-note i{font-style:normal;color:var(--ad-green);font-weight:650}
.se-admin.se-admin .admin-card{padding:23px!important;margin-top:18px!important}.se-admin.se-admin .admin-card .admin-card{background:var(--ad-bg)!important;padding:18px!important;box-shadow:none!important}
.se-admin.se-admin .admin-card h2,.se-admin.se-admin .admin-card h3{color:var(--ad-text)!important;letter-spacing:-.3px!important;font-size:16px!important;margin:0 0 7px!important;font-weight:700!important}
.se-admin.se-admin .admin-card .sub,.se-admin.se-admin .muted,.se-admin.se-admin .small{color:var(--ad-muted)!important}
.se-admin.se-admin .sub{font-size:12px!important;line-height:1.6!important;margin-bottom:18px!important}
.se-admin.se-admin .section-head{margin-bottom:16px!important;gap:12px}
.se-admin.se-admin .as-cols{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(265px,1fr);gap:22px;align-items:start}
.se-admin.se-admin .as-cols>.admin-card{margin-top:0!important;min-width:0}
.se-admin.se-admin .as-list-row{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid var(--ad-line);font-size:13px;color:var(--ad-text)}
.se-admin.se-admin .as-list-row:last-child{border-bottom:0}.se-admin.se-admin .as-list-row>div{flex:1;min-width:0}.se-admin.se-admin .as-list-row strong{font-weight:650;font-size:12px}.se-admin.se-admin .as-list-row p{margin:4px 0 0;font-size:11px;line-height:1.5;color:var(--ad-muted)}
.se-admin.se-admin .as-queue-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:9px;background:var(--ad-soft);color:var(--ad-accent)}
.se-admin.se-admin .as-count{font-size:12px!important;font-weight:700;display:grid;place-items:center;min-width:27px;height:27px;padding:0 7px;background:var(--ad-bg);border:1px solid var(--ad-line);border-radius:7px;color:var(--ad-text)}
.se-admin.se-admin .as-note{background:var(--ad-soft);border:1px solid #9c8ee633;border-radius:10px;padding:16px;font-size:12px;line-height:1.7;color:var(--ad-text);margin:20px 0}
.se-admin.se-admin .as-note strong{display:block;margin-bottom:4px;font-weight:700}.se-admin.se-admin .as-note a{color:var(--ad-accent)}
.se-admin.se-admin .as-table-wrap{overflow-x:auto;width:100%;border-radius:8px}
.se-admin.se-admin .admin-table{width:100%!important;border-collapse:collapse!important;min-width:560px;font-size:12px;color:var(--ad-text)}
.se-admin.se-admin .admin-table th{background:var(--ad-bg)!important;font-size:10px!important;color:var(--ad-muted)!important;letter-spacing:.6px!important;padding:12px!important;border-bottom:1px solid var(--ad-line)!important;font-weight:650}
.se-admin.se-admin .admin-table td{font-size:12px!important;background:transparent!important;color:var(--ad-text)!important;padding:15px 12px!important;border-color:var(--ad-line)!important;max-width:320px;overflow-wrap:anywhere}
.se-admin.se-admin .admin-table td b{font-weight:600!important}.se-admin.se-admin .admin-table tr.data-row:hover td{background:var(--ad-bg)!important}.se-admin.se-admin .admin-table tr{transform:none!important}
.se-admin.se-admin .as-status,.se-admin.se-admin .admin-pill{display:inline-flex;align-items:center;gap:5px;font-size:10px!important;font-weight:650;border:0!important;padding:5px 8px!important;border-radius:5px!important;background:var(--ad-bg);color:var(--ad-muted)}
.se-admin.se-admin .as-status.good,.se-admin.se-admin .admin-pill.success{background:#e6f5ef!important;color:#1c795d!important}.se-admin.se-admin .as-status.wait,.se-admin.se-admin .admin-pill.warn{background:#fff4df!important;color:#946417!important}.se-admin.se-admin .as-status.bad,.se-admin.se-admin .admin-pill.danger{background:#ffedf0!important;color:#b1354a!important}
.se-admin.se-admin .as-title-cell{display:flex;align-items:center;gap:10px}.se-admin.se-admin .as-title-cell .as-avatar{width:30px;height:30px;font-size:10px;border-radius:8px}.se-admin.se-admin .as-title-cell small{display:block;font-size:10px;color:var(--ad-muted);margin-top:4px}
.se-admin.se-admin .as-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:20px}.se-admin.se-admin .as-shortcut{min-height:90px;background:var(--ad-surface);color:var(--ad-text);border:1px solid var(--ad-line);border-radius:10px;padding:17px;text-align:left;display:flex;gap:12px;align-items:flex-start;transform:none!important}
.se-admin.se-admin .as-shortcut>div{min-width:0}.se-admin.se-admin .as-shortcut strong{display:block;font-size:12px;margin:0 0 6px}.se-admin.se-admin .as-shortcut small{font-size:11px;color:var(--ad-muted);line-height:1.5;display:block}.se-admin.se-admin .as-shortcut:hover{border-color:#aa9bef}
.se-admin.se-admin .as-settings-tabs{display:flex;gap:5px;padding:5px;background:var(--ad-surface);border:1px solid var(--ad-line);border-radius:10px;overflow-x:auto;margin-bottom:20px;scrollbar-width:thin}
.se-admin.se-admin .as-settings-tabs button{white-space:nowrap;min-height:38px;padding:9px 14px;border-radius:7px;border:0;background:transparent;color:var(--ad-muted);font-size:12px;font-weight:600;transform:none!important}.se-admin.se-admin .as-settings-tabs button.active{background:var(--ad-soft);color:var(--ad-accent)}
.se-admin.se-admin .as-settings-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.se-admin.se-admin .as-settings-heading p{margin:0;font-size:12px;line-height:1.7;color:var(--ad-muted)}
.se-admin.se-admin .field label{font-size:12px!important;font-weight:650!important;color:var(--ad-text)!important;margin-bottom:7px!important}.se-admin.se-admin .field input,.se-admin.se-admin .field select,.se-admin.se-admin .field textarea{border:1px solid var(--ad-line)!important;background:var(--ad-surface)!important;color:var(--ad-text)!important;border-radius:7px!important;min-height:42px!important;font-size:13px!important;padding:10px 12px!important;box-shadow:none!important;transform:none!important;width:100%;box-sizing:border-box}
.se-admin.se-admin .field textarea{min-height:105px!important}.se-admin.se-admin .form-grid{gap:8px 24px!important;grid-template-columns:1fr 1fr!important}.se-admin.se-admin .field{margin:10px 0!important;min-width:0}
.se-admin.se-admin .security-row{gap:20px;border-color:var(--ad-line)!important;font-size:12px;align-items:center;overflow-wrap:anywhere}.se-admin.se-admin .security-row b{font-size:13px;font-weight:600}.se-admin.se-admin .security-row .small{font-size:11px!important;margin-top:5px}
.se-admin.se-admin .ac-checks{gap:8px!important}.se-admin.se-admin .ac-check{font-size:12px!important;font-weight:550!important;background:var(--ad-bg)!important;color:var(--ad-text)!important;border:1px solid var(--ad-line)!important;border-radius:7px!important;padding:10px 12px!important;min-height:40px}.se-admin.se-admin .ac-check input{accent-color:#6654d9;width:16px;height:16px}
.se-admin.se-admin .as-toggle{position:relative;width:38px;height:23px;background:#d2d6e0;border:0;border-radius:20px!important;padding:0;flex-shrink:0;transform:none!important;min-height:23px!important}.se-admin.se-admin .as-toggle:after{content:'';position:absolute;top:3px;left:3px;width:17px;height:17px;background:white;border-radius:50%;transition:transform .15s}.se-admin.se-admin .as-toggle[aria-checked="true"]{background:#6654d9}.se-admin.se-admin .as-toggle[aria-checked="true"]:after{transform:translateX(15px)}
.se-admin.se-admin .as-audit{display:flex;gap:12px;font-size:12px;padding:14px 0;border-bottom:1px solid var(--ad-line)}.se-admin.se-admin .as-audit:last-child{border:0}.se-admin.se-admin .as-audit .as-dot{margin-top:5px;background:#9487df}.se-admin.se-admin .as-audit strong{font-size:12px;font-weight:600;display:block}.se-admin.se-admin .as-audit small{color:var(--ad-muted);font-size:11px;display:block;margin-top:5px}
.se-admin.se-admin .admin-stat{background:var(--ad-bg)!important;color:var(--ad-text)!important;border-color:var(--ad-line)!important}.se-admin.se-admin .admin-confirm{background:var(--ad-surface)!important;color:var(--ad-text)!important;border:1px solid var(--ad-line)!important;border-radius:14px!important;padding:26px!important;max-height:90dvh;overflow:auto}
.se-admin.se-admin .admin-empty{padding:32px 16px!important;color:var(--ad-muted)!important;font-size:13px}
.se-admin.se-admin .as-mobile-shade{display:none}.se-admin.se-admin .as-section-card{scroll-margin-top:20px}.se-admin.se-admin .as-no-support{opacity:.65}.se-admin.se-admin .admin-top>div:last-child{position:static!important}
@media(min-width:1600px){.se-admin.se-admin .admin-content{padding-left:48px!important;padding-right:48px!important}.se-admin.se-admin .admin-top{padding-left:48px!important;padding-right:48px!important}}
@media(max-width:1190px){.se-admin.se-admin .admin-side{width:220px!important;flex-basis:220px!important;padding:22px 12px!important}.se-admin.se-admin .admin-content{padding:25px!important}.se-admin.se-admin .admin-top{padding:0 25px!important;gap:16px!important}.se-admin.se-admin .admin-search-wrap{display:none!important}.se-admin.se-admin .as-cols{grid-template-columns:1fr}.se-admin.se-admin .admin-kpis{gap:12px!important}.se-admin.se-admin .admin-kpi{padding:17px!important}.se-admin.se-admin .admin-kpi b{font-size:25px!important}.se-admin.se-admin .as-cols>.admin-card{margin-top:0!important}}
@media(max-width:760px){.se-admin.se-admin .admin-side{position:fixed!important;top:0!important;left:0!important;bottom:0!important;width:246px!important;z-index:200!important;transform:translateX(-100%)!important;transition:transform .2s!important}.se-admin.se-admin.as-menu-open .admin-side{transform:translateX(0)!important}.se-admin.se-admin.as-menu-open .as-mobile-shade{display:block;position:fixed;inset:0;background:#12172c80;z-index:190;backdrop-filter:blur(2px)}.se-admin.se-admin .admin-main{margin:0!important;width:100%}.se-admin.se-admin .as-menu{display:inline-flex!important;min-width:38px;padding:8px!important}.se-admin.se-admin .admin-top{height:66px!important;min-height:66px!important;flex-basis:66px!important;padding:0 16px!important;gap:12px!important;flex-wrap:nowrap!important}.se-admin.se-admin .as-breadcrumb{font-size:11px;gap:7px;min-width:0;overflow:hidden;white-space:nowrap}.se-admin.se-admin .as-breadcrumb>span{display:none}.se-admin.se-admin .as-top-actions{gap:8px}.se-admin.se-admin .as-top-actions>.as-avatar{display:none}.se-admin.se-admin .as-sync{font-size:10px;max-width:110px}.se-admin.se-admin .as-preview-label{display:none}.se-admin.se-admin .admin-content{padding:22px 16px 32px!important}.se-admin.se-admin .as-page-title{margin-bottom:20px}.se-admin.se-admin .as-page-title h1{font-size:25px}.se-admin.se-admin .as-page-title p{font-size:12px}.se-admin.se-admin .as-date{display:none}.se-admin.se-admin .admin-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin-bottom:18px!important}.se-admin.se-admin .admin-kpi{padding:15px!important}.se-admin.se-admin .admin-kpi b{font-size:24px!important;margin:12px 0 7px!important}.se-admin.se-admin .as-metric-top{font-size:11px}.se-admin.se-admin .as-metric-note{font-size:10px}.se-admin.se-admin .as-cols{gap:16px}.se-admin.se-admin .admin-card{padding:18px!important}.se-admin.se-admin .as-shortcuts{grid-template-columns:1fr!important;gap:10px}.se-admin.se-admin .as-shortcut{min-height:75px}.se-admin.se-admin .form-grid{grid-template-columns:1fr!important;gap:0!important}.se-admin.se-admin .as-settings-heading{align-items:flex-start;flex-direction:column;gap:12px}.se-admin.se-admin .admin-detail,.se-admin.se-admin .admin-grid2{grid-template-columns:1fr!important}.se-admin.se-admin .admin-stat-row{grid-template-columns:1fr!important}.se-admin.se-admin .section-head{flex-wrap:wrap}.se-admin.se-admin .as-table-wrap{margin:0;max-width:100%}.se-admin.se-admin .admin-product-preview{grid-template-columns:1fr}.se-admin.se-admin .security-row{gap:12px}.se-admin.se-admin .security-row>.admin-actions{flex-wrap:nowrap}.se-admin.se-admin .security-row>.admin-actions>.btn{padding:8px!important}}
@media(prefers-reduced-motion:reduce){.se-admin.se-admin *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

:root body:not(.se-admin) .btn.primary{background:linear-gradient(135deg,var(--brand),var(--brand2))!important;color:#fff!important}

/* Marketplace-only layout. Homepage and admin cards are intentionally unchanged. */
.market-layout{grid-template-columns:210px minmax(0,1fr);gap:24px;align-items:start}
.market-layout>section,.market-tools,.market-tools .searchbox{min-width:0}
.market-layout .market-tools{flex-wrap:wrap}
.market-layout .market-tools .searchbox{flex:1 1 220px}
#marketResults{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:20px;align-items:stretch;min-width:0}
#marketResults>.product-card{display:flex;flex-direction:column;min-width:0;width:100%;height:100%;border-radius:16px;cursor:pointer;transform:none}
#marketResults>.product-card:hover{transform:translateY(-2px)}
#marketResults .thumb{flex:none;width:100%;height:auto!important;min-height:0;aspect-ratio:4/3;position:relative;border-bottom:1px solid var(--line)}
#marketResults .thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center;padding:8px}
#marketResults .body{flex:1;display:flex;flex-direction:column;gap:10px;min-width:0;padding:16px}
#marketResults .market-card-tags{display:flex;gap:6px;min-height:24px;overflow:hidden}
#marketResults .tag{margin:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;flex:0 1 auto}
#marketResults h3{font-size:16px;line-height:1.4;margin:0;min-height:2.8em;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#marketResults .market-card-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px;min-width:0;line-height:1.4}
#marketResults .price{font-size:19px;overflow-wrap:anywhere}
#marketResults .old{font-size:13px;margin:0;overflow-wrap:anywhere}
#marketResults .seller-product-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0;min-height:20px;font-size:12px}
#marketResults .seller-line{font-size:13px;margin:0;min-width:0;gap:8px}
#marketResults .seller-avatar{flex:0 0 28px;width:28px;height:28px}
#marketResults .seller-line>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#marketResults .market-card-actions{display:flex;gap:10px;padding-top:6px;margin-top:auto!important;align-items:stretch}
#marketResults .market-card-actions>.btn{flex:1;min-height:44px;min-width:0;font-size:14px}
#marketResults .plus{position:static!important;inset:auto!important;flex:0 0 44px;width:44px;height:44px;border:1px solid var(--line);border-radius:10px;box-shadow:none;font-size:23px;display:grid;place-items:center;background:var(--surface);color:var(--brand);transform:none!important}
#marketResults .save-product{top:12px;right:12px;bottom:auto;left:auto;width:44px;height:44px;z-index:2;display:grid;place-items:center;line-height:1;font-size:22px;border:1px solid var(--line);background:var(--surface);color:var(--ink);box-shadow:0 2px 8px #00000012}
#marketResults .save-product.saved{color:#c92b60}
#marketResults button:focus-visible{outline:3px solid var(--brand);outline-offset:3px}
#marketResults>.dash-card{grid-column:1/-1;margin:0}
#marketResults.list-view{grid-template-columns:minmax(0,1fr)}
#marketResults.list-view>.product-card{display:grid;grid-template-columns:220px minmax(0,1fr)}
#marketResults.list-view .thumb{height:100%!important;min-height:220px;aspect-ratio:auto;border-bottom:0;border-right:1px solid var(--line)}
#marketResults.list-view .save-product{left:12px;right:auto}
#marketResults.list-view h3{min-height:0}
#marketResults.list-view .market-card-actions{max-width:360px}
.se-admin.se-admin .as-nav{scroll-behavior:auto!important;overflow-anchor:none;overscroll-behavior:contain;scrollbar-gutter:stable}
@media(max-width:900px){
 .market-layout{grid-template-columns:minmax(0,1fr);gap:20px}
 .market-layout .sidebar-filter{position:static;display:flex;flex-wrap:wrap;gap:6px;padding:12px}
 .market-layout .sidebar-filter h4{flex:0 0 100%;margin:0 0 6px}
 .market-layout .sidebar-filter .filter-cat{min-height:44px;width:auto}
 .market-layout .sidebar-filter .subcats{flex:0 0 100%;display:flex;flex-wrap:wrap;padding:0;gap:4px}
 .market-layout .sidebar-filter .subcats button{width:auto;min-height:40px}
 #marketResults{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
}
@media(max-width:520px){
 #marketResults{grid-template-columns:minmax(0,1fr);gap:20px}
 .market-layout .market-tools .searchbox{flex:0 0 100%;min-width:0}
 .market-layout .market-tools select,.market-layout .view-toggle button{min-height:44px}
 #marketResults.list-view>.product-card{display:flex;flex-direction:column}
 #marketResults.list-view .thumb{height:auto!important;aspect-ratio:4/3;min-height:0;border-right:0;border-bottom:1px solid var(--line)}
 #marketResults.list-view .market-card-actions{max-width:none}
 #marketResults .body{padding:16px}
}
@media(prefers-reduced-motion:reduce){#marketResults .product-card,#marketResults button{transition:none!important;transform:none!important}}
.market-layout .view-toggle button{min-width:48px;min-height:44px;font-size:13px;color:var(--ink)}
.market-layout .view-toggle button.active{color:var(--brand)}
@media(min-width:761px) and (max-width:1050px){
 body.se-market .topbar{height:auto}
 body.se-market .topbar .nav{height:auto;min-height:72px;flex-wrap:wrap;gap:12px;padding-top:12px;padding-bottom:12px}
 body.se-market .topbar .nav-actions{flex:1 1 100%;min-width:0;display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-start}
 body.se-market .topbar .search{flex:1;min-width:0}
}


.dash-brand-link{width:100%;border:1px solid transparent;background:transparent;color:inherit;text-align:left;cursor:pointer;border-radius:12px;transition:.2s}
.dash-brand-link:hover{border-color:#8176f2;background:var(--soft);transform:translateY(-1px) scale(1.01);box-shadow:0 7px 18px rgba(81,70,229,.08)}
.product-card,.category-card,.dash-card,.metric,.power,.account-panel,.account-profile-card,.asset-card,.settings-card,.warning-card{transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease,background-color .2s ease}
.product-card:hover,.category-card:hover,.dash-card:hover,.metric:hover,.power:hover,.account-panel:hover,.account-profile-card:hover,.asset-card:hover,.settings-card:hover,.warning-card:hover{border-color:#8176f2;transform:translateY(-3px) scale(1.008);box-shadow:0 12px 28px rgba(81,70,229,.10)}
.se-admin.se-admin{--ad-bg:#f4f6fa;--ad-surface:#fff;--ad-text:#1f2430;--ad-muted:#687287;--ad-line:#dfe4ee;--ad-accent:#5d50d7}
.se-admin.se-admin .admin-kpi,.se-admin.se-admin .admin-card,.se-admin.se-admin .admin-detail-box,.se-admin.se-admin .as-shortcut{transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease,background-color .2s ease!important}
.se-admin.se-admin .admin-kpi:hover,.se-admin.se-admin .as-shortcut:hover{transform:translateY(-4px) scale(1.012)!important;border-color:#9b91ef!important;box-shadow:0 14px 30px rgba(35,43,75,.10)!important}
.se-admin.se-admin .admin-card:hover,.se-admin.se-admin .admin-detail-box:hover{transform:translateY(-2px) scale(1.004)!important;border-color:#b0a8e9!important;box-shadow:0 12px 28px rgba(35,43,75,.08)!important}
.se-admin.se-admin .admin-link:hover{transform:translateX(3px) scale(1.008)!important;border:1px solid #ddd8f7!important;box-shadow:0 7px 16px rgba(35,43,75,.06)!important}
.se-admin.se-admin .btn:hover,.se-admin.se-admin .field input:hover,.se-admin.se-admin .field select:hover,.se-admin.se-admin .field textarea:hover{transform:translateY(-1px) scale(1.008)!important;border-color:#9b91ef!important;box-shadow:0 7px 18px rgba(35,43,75,.07)!important}
.se-admin.se-admin .admin-table tr.data-row:hover td{background:#f5f3ff!important;border-color:#d9d4f4!important}
@media(prefers-reduced-motion:reduce){.dash-brand-link,.product-card,.category-card,.dash-card,.metric,.power,.account-panel,.account-profile-card,.asset-card,.se-admin.se-admin *{transition:none!important;transform:none!important}}


html,body{max-width:100%;overflow-x:hidden}img,video,iframe{max-width:100%;height:auto}.page,.container,.admin-shell,.admin-main,.admin-content{max-width:100%;box-sizing:border-box}.btn,input,select,textarea,button{max-width:100%;box-sizing:border-box}.table-wrap,.admin-table-wrap,.as-table-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.admin-table{min-width:720px}.admin-actions{flex-wrap:wrap}.plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.subscription-feature-editor{margin:14px 0;padding:14px;border:1px solid var(--line,#e6e8ef);border-radius:14px;background:var(--card,#fff)}.subscription-feature-editor>.field{margin-top:9px}.subscription-feature-editor input{width:100%}
@media(max-width:900px){.page{padding-left:12px;padding-right:12px}.hero,.section,.dash-shell,.dash-content{min-width:0}.grid,.grid-3,.grid-4,.admin-grid2,.as-cols,.form-grid,.mail-shell{grid-template-columns:1fr!important}.plans{grid-template-columns:1fr!important}.admin-shell{display:block!important}.admin-side{position:sticky!important;top:0;z-index:40;width:100%!important;max-height:none!important;overflow-x:auto;overflow-y:hidden;display:flex!important;align-items:center;gap:6px;padding:8px!important}.admin-side .admin-nav-title,.admin-side .as-side-footer,.admin-side .label{display:none!important}.admin-side .admin-link,.admin-side .admin-brand{flex:0 0 auto!important;min-width:44px!important;width:auto!important;padding:9px!important}.admin-main{width:100%!important}.admin-top{position:sticky;top:54px;z-index:30}.admin-content{padding:12px!important}.admin-kpis{grid-template-columns:1fr 1fr!important}.admin-kpi{min-width:0}.section-head{align-items:flex-start;flex-wrap:wrap}.as-table-wrap,.admin-table-wrap{border-radius:12px}.admin-card{padding:14px!important}.subscription-admin-plan .form-grid{grid-template-columns:1fr!important}.mail-shell{min-height:0}.mail-sidebar{min-height:0}.modal{width:min(96vw,680px)!important;max-height:92vh;overflow:auto}.dash-table{min-width:680px}.dash-card{min-width:0;overflow-x:auto}.header-inner{gap:8px}.nav{overflow-x:auto}.nav a{white-space:nowrap}}
@media(max-width:560px){.admin-kpis{grid-template-columns:1fr!important}.admin-top{top:52px}.hero{padding:22px 0}.hero h1{font-size:30px;line-height:1.08}.btn{min-height:42px}.field input,.field select,.field textarea{font-size:16px}.admin-side .admin-brand{display:flex!important}.admin-side .admin-brand span:last-child{display:none!important}.admin-side .admin-brand{min-width:46px!important}.admin-top .admin-top-actions{flex-wrap:wrap}.as-shortcuts{grid-template-columns:1fr!important}}


/* Sale Earn Visual Website Studio v1 */
:root{--se-studio-panel:380px}
.se-studio-launch{display:inline-flex!important;align-items:center;gap:8px;min-height:42px;padding:9px 14px!important;border-radius:12px!important;background:linear-gradient(135deg,#6354da,#8068ff)!important;color:#fff!important;border:0!important;box-shadow:0 10px 24px rgba(99,84,218,.25);font-weight:800;cursor:pointer}
.se-studio-launch:hover{transform:translateY(-1px);box-shadow:0 14px 30px rgba(99,84,218,.35)}
.se-studio-root{position:fixed;inset:0;z-index:100000;pointer-events:none;font-family:Inter,Arial,sans-serif;color:#172033}
.se-studio-root *{box-sizing:border-box}
.se-studio-top{pointer-events:auto;position:fixed;left:16px;right:16px;top:12px;height:58px;border:1px solid rgba(255,255,255,.65);border-radius:17px;background:rgba(255,255,255,.94);backdrop-filter:blur(18px);box-shadow:0 20px 55px rgba(24,32,65,.18);display:flex;align-items:center;gap:10px;padding:8px 10px;z-index:3}
.se-studio-brand{display:flex;align-items:center;gap:9px;font-weight:900;white-space:nowrap}.se-studio-brand i{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(135deg,#6354da,#8a70ff);color:#fff;font-style:normal}.se-studio-brand small{display:block;color:#7b8497;font-size:10px;letter-spacing:.12em}.se-studio-sep{width:1px;height:30px;background:#e6e9f1}.se-studio-top button,.se-studio-top select{pointer-events:auto;min-height:38px;border:1px solid #dfe4ee;background:#fff;color:#252d3f;border-radius:10px;padding:7px 11px;font:inherit;font-weight:700;cursor:pointer}.se-studio-top button:hover{border-color:#7568ed;background:#f6f4ff}.se-studio-top button.primary{background:#6354da;border-color:#6354da;color:#fff}.se-studio-top button.danger{color:#b42318;background:#fff6f5;border-color:#f4c7c2}.se-studio-top button:disabled{opacity:.45;cursor:not-allowed}.se-studio-mode{display:flex;padding:3px;background:#eef1f7;border-radius:12px}.se-studio-mode button{border:0;min-height:32px;background:transparent;padding:5px 12px}.se-studio-mode button.active{background:#fff;color:#5848d7;box-shadow:0 4px 12px rgba(36,42,70,.1)}.se-studio-grow{flex:1}.se-studio-status{font-size:12px;color:#667085;white-space:nowrap}.se-studio-status b{color:#198754}.se-studio-panel{pointer-events:auto;position:fixed;right:16px;top:82px;bottom:16px;width:var(--se-studio-panel);overflow:auto;border:1px solid rgba(255,255,255,.7);border-radius:18px;background:rgba(250,251,255,.97);backdrop-filter:blur(18px);box-shadow:0 28px 70px rgba(24,32,65,.2);padding:14px;z-index:2;scrollbar-width:thin}.se-studio-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:4px 2px 12px}.se-studio-panel-head h2{font-size:19px;margin:0}.se-studio-panel-head p{font-size:12px;color:#697386;margin:4px 0 0}.se-studio-close{border:1px solid #e1e5ee;background:#fff;width:34px;height:34px;border-radius:10px;cursor:pointer}.se-studio-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;padding:4px;background:#edf0f6;border-radius:12px;margin-bottom:12px}.se-studio-tabs button{border:0;background:transparent;padding:8px 5px;border-radius:9px;font-weight:800;color:#667085;cursor:pointer}.se-studio-tabs button.active{background:#fff;color:#5848d7;box-shadow:0 3px 10px rgba(29,37,61,.1)}.se-studio-card{background:#fff;border:1px solid #e4e8f0;border-radius:14px;padding:13px;margin:0 0 10px}.se-studio-card h3{font-size:13px;margin:0 0 11px;color:#323a4d;text-transform:uppercase;letter-spacing:.06em}.se-studio-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.se-studio-field{display:flex;flex-direction:column;gap:5px;margin-bottom:9px}.se-studio-field.wide{grid-column:1/-1}.se-studio-field label{font-size:11px;color:#667085;font-weight:800}.se-studio-field input,.se-studio-field textarea,.se-studio-field select{width:100%;border:1px solid #dfe4ed;border-radius:9px;background:#fbfcff;color:#20283a;padding:9px;font:inherit;font-size:13px;outline:none}.se-studio-field textarea{min-height:78px;resize:vertical}.se-studio-field input:focus,.se-studio-field textarea:focus,.se-studio-field select:focus{border-color:#7768ef;box-shadow:0 0 0 3px rgba(119,104,239,.12)}.se-studio-field input[type=color]{height:40px;padding:4px}.se-studio-actions{display:flex;flex-wrap:wrap;gap:7px}.se-studio-actions button,.se-studio-list button{border:1px solid #dfe4ed;background:#fff;color:#30384b;border-radius:9px;padding:8px 10px;font-weight:750;cursor:pointer}.se-studio-actions button.primary{background:#6354da;color:#fff;border-color:#6354da}.se-studio-actions button.danger{color:#b42318;background:#fff5f4;border-color:#f2c5c0}.se-studio-tip{font-size:12px;line-height:1.5;color:#667085;padding:11px;border-radius:11px;background:#f6f7fb}.se-studio-selected-label{padding:9px;border-radius:10px;background:#f3f1ff;color:#4e42bf;font-size:12px;font-weight:800;word-break:break-all}.se-studio-list{display:grid;gap:7px}.se-studio-list-item{display:flex;align-items:center;gap:8px;padding:8px;border:1px solid #e5e8ef;background:#fff;border-radius:10px}.se-studio-list-item span{min-width:0;flex:1;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.se-studio-list-item button{padding:5px 8px;font-size:11px}.se-studio-empty{font-size:12px;color:#7a8497;text-align:center;padding:14px}.se-studio-breakpoints{display:flex;gap:4px}.se-studio-breakpoints button.active{background:#eae7ff;color:#5546ce;border-color:#bbb3ff}.se-studio-root[data-mode="edit"]~* [data-se-editable="true"]{cursor:crosshair!important}.se-studio-editing [data-se-editable="true"]:hover{outline:2px dashed #7768ef!important;outline-offset:3px}.se-studio-editing [data-se-selected="true"]{outline:3px solid #6354da!important;outline-offset:4px;box-shadow:0 0 0 7px rgba(99,84,218,.14)!important}.se-studio-editing{padding-top:82px!important;padding-right:calc(var(--se-studio-panel) + 30px)!important;transition:padding .22s ease}.se-studio-preview-mobile{max-width:390px!important;margin-left:auto!important;margin-right:calc(var(--se-studio-panel) + 46px)!important;box-shadow:0 0 0 1px #d8ddea,0 25px 80px rgba(27,35,65,.18);min-height:100vh}.se-studio-preview-tablet{max-width:768px!important;margin-left:auto!important;margin-right:calc(var(--se-studio-panel) + 46px)!important;box-shadow:0 0 0 1px #d8ddea,0 25px 80px rgba(27,35,65,.18);min-height:100vh}.se-studio-hidden-preview{opacity:.22!important;filter:grayscale(1);position:relative!important}.se-studio-hidden-preview:after{content:'Hidden after publish';position:absolute;inset:0;display:grid;place-items:center;background:rgba(180,35,24,.12);color:#b42318;font-weight:900;pointer-events:none}.se-studio-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:5;background:#172033;color:#fff;border-radius:12px;padding:11px 16px;box-shadow:0 15px 40px rgba(0,0,0,.2);font-size:13px;font-weight:750;pointer-events:none}
:root[data-theme="dark"] .se-studio-top,:root[data-theme="dark"] .se-studio-panel{background:rgba(13,20,35,.96);border-color:#2c3850;color:#edf2ff}.se-studio-root.dark .se-studio-top,.se-studio-root.dark .se-studio-panel{background:rgba(13,20,35,.96);border-color:#2c3850;color:#edf2ff}:root[data-theme="dark"] .se-studio-card{background:#111b2e;border-color:#2a3851}:root[data-theme="dark"] .se-studio-card h3{color:#e6ecf8}:root[data-theme="dark"] .se-studio-top button,:root[data-theme="dark"] .se-studio-top select,:root[data-theme="dark"] .se-studio-field input,:root[data-theme="dark"] .se-studio-field textarea,:root[data-theme="dark"] .se-studio-field select,:root[data-theme="dark"] .se-studio-list-item,:root[data-theme="dark"] .se-studio-actions button{background:#0b1425;color:#e7edf8;border-color:#30405c}:root[data-theme="dark"] .se-studio-tabs,:root[data-theme="dark"] .se-studio-mode{background:#08101f}:root[data-theme="dark"] .se-studio-tabs button.active,:root[data-theme="dark"] .se-studio-mode button.active{background:#18243a;color:#c8c1ff}:root[data-theme="dark"] .se-studio-tip{background:#0b1425;color:#9eacc2}:root[data-theme="dark"] .se-studio-selected-label{background:#211f43;color:#c8c1ff}
@media(max-width:900px){:root{--se-studio-panel:min(360px,calc(100vw - 20px))}.se-studio-top{left:8px;right:8px;top:7px;height:auto;min-height:54px;flex-wrap:wrap}.se-studio-brand small,.se-studio-sep,.se-studio-status{display:none}.se-studio-grow{display:none}.se-studio-panel{right:8px;left:8px;top:112px;width:auto;bottom:8px}.se-studio-editing{padding-top:115px!important;padding-right:0!important}.se-studio-preview-mobile,.se-studio-preview-tablet{margin:0 auto!important}.se-studio-top button,.se-studio-top select{padding:6px 8px}.se-studio-mode button{padding:4px 8px}}
@media(max-width:520px){.se-studio-top{gap:5px}.se-studio-brand span{display:none}.se-studio-breakpoints{display:none}.se-studio-panel{top:106px}.se-studio-grid{grid-template-columns:1fr}.se-studio-editing{padding-top:108px!important}.se-studio-top button{font-size:12px}.se-studio-mode button{font-size:11px}}

/* Visual Studio v2 responsive builder additions */
.se-studio-device-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;padding:4px;background:#edf0f6;border-radius:11px;margin:0 0 10px}.se-studio-device-tabs button{border:0;border-radius:8px;padding:7px 5px;background:transparent;color:#667085;font-size:11px;font-weight:850;cursor:pointer}.se-studio-device-tabs button.active{background:#fff;color:#5848d7;box-shadow:0 3px 10px rgba(29,37,61,.1)}.se-studio-device-note{font-size:11px;color:#667085;margin:-3px 0 10px}.se-studio-move-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;align-items:center}.se-studio-move-grid button{min-height:36px;border:1px solid #dfe4ed;background:#fff;border-radius:9px;font-weight:900;cursor:pointer}.se-studio-move-grid .blank{visibility:hidden}.se-studio-upload{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.se-studio-upload input{position:absolute;opacity:0;pointer-events:none}.se-studio-upload label{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 11px;border-radius:9px;background:#f1efff;color:#5546ce;border:1px solid #d5cffd;font-size:12px;font-weight:850;cursor:pointer}.se-studio-upload small{color:#738096;font-size:10px}.se-studio-lock-note{padding:10px;border-radius:10px;background:#fff4dd;color:#855900;font-size:11px;line-height:1.45}.se-studio-inline-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}.se-studio-inline-actions button{border:1px solid #dfe4ed;background:#fff;border-radius:9px;padding:8px;font-weight:800;cursor:pointer}.se-studio-dragging{cursor:grabbing!important;user-select:none!important}.se-studio-dragging [data-se-selected=true]{outline-color:#16a394!important}.se-studio-scope-badge{display:inline-flex;padding:4px 7px;border-radius:999px;background:#ebe8ff;color:#5848d7;font-size:10px;font-weight:900;text-transform:uppercase}.se-studio-panel .se-studio-grid button{border:1px solid #dfe4ed;background:#fff;border-radius:9px;padding:8px;font-weight:800;cursor:pointer}:root[data-theme=dark] .se-studio-device-tabs{background:#08101f}:root[data-theme=dark] .se-studio-device-tabs button.active,:root[data-theme=dark] .se-studio-move-grid button,:root[data-theme=dark] .se-studio-inline-actions button,:root[data-theme=dark] .se-studio-panel .se-studio-grid button{background:#18243a;color:#eaf0ff;border-color:#30405c}:root[data-theme=dark] .se-studio-upload label{background:#211f43;color:#c8c1ff;border-color:#454077}:root[data-theme=dark] .se-studio-lock-note{background:#2b2113;color:#ffd89b}



#seWebsiteSaveStatus{position:fixed;right:20px;bottom:20px;z-index:100500;max-width:min(430px,calc(100vw - 32px));padding:12px 16px;border-radius:12px;background:#172033;color:#fff;box-shadow:0 18px 50px rgba(13,22,45,.28);font:700 13px/1.45 Inter,Arial,sans-serif;opacity:0;transform:translateY(12px);pointer-events:none;transition:.2s}#seWebsiteSaveStatus.show{opacity:1;transform:none}#seWebsiteSaveStatus[data-state="live"]{background:#087a55}#seWebsiteSaveStatus[data-state="pending"]{background:#9a6700}#seWebsiteSaveStatus[data-state="error"]{background:#b42318}.se-control-save-state{display:inline-flex;margin-left:10px;padding:7px 10px;border-radius:9px;background:var(--soft,#f1efff);color:var(--muted,#667085);font-size:11px;font-weight:800;vertical-align:middle}.se-control-save-state[data-state="live"]{background:#e9f8f1;color:#087a55}.se-control-save-state[data-state="pending"]{background:#fff3d6;color:#8a5d00}.se-control-save-state[data-state="error"]{background:#ffebe9;color:#b42318}@media(max-width:600px){#seWebsiteSaveStatus{right:10px;bottom:82px}.se-control-save-state{display:flex;margin:9px 0 0}}



.se-plan-save-status{display:inline-flex;margin-left:10px;padding:7px 10px;border-radius:9px;background:var(--soft,#f1efff);color:var(--muted,#667085);font-size:11px;font-weight:850;vertical-align:middle}.se-plan-save-status[data-state="saving"]{background:#eef1f6;color:#596579}.se-plan-save-status[data-state="live"]{background:#e8f8f0;color:#087a55}.se-plan-save-status[data-state="pending"]{background:#fff3d6;color:#8a5d00}.se-plan-save-status[data-state="error"]{background:#ffebe9;color:#b42318}@media(max-width:600px){.se-plan-save-status{display:flex;margin:9px 0 0}}



/* Sale Earn Admin Hover Lighting — final theme-aware interaction layer */
.se-admin.se-admin{
 --ad-hover:#f5f3ff;--ad-hover-strong:#ece8ff;--ad-hover-text:#1f2430;
 --ad-hover-muted:#5f687b;--ad-hover-line:#d8d3f5;--ad-hover-shadow:0 10px 24px rgba(81,70,229,.10);
}
:root[data-theme="dark"] .se-admin.se-admin{
 --ad-hover:#181d2b;--ad-hover-strong:#20273a;--ad-hover-text:#f4f6ff;
 --ad-hover-muted:#b6bed0;--ad-hover-line:#4b4770;--ad-hover-shadow:0 12px 28px rgba(0,0,0,.24);
}
/* Tables: color every cell, not only the row, so old white-cell rules cannot win. */
.se-admin.se-admin .admin-table tbody tr.data-row:hover,
.se-admin.se-admin .admin-table tbody tr.data-row:focus-within{background:transparent!important;transform:none!important;filter:none!important}
.se-admin.se-admin .admin-table tbody tr.data-row:hover>td,
.se-admin.se-admin .admin-table tbody tr.data-row:focus-within>td{
 background:var(--ad-hover)!important;color:var(--ad-hover-text)!important;
 border-color:var(--ad-hover-line)!important;box-shadow:none!important;
}
.se-admin.se-admin .admin-table tbody tr.data-row:hover>td *,
.se-admin.se-admin .admin-table tbody tr.data-row:focus-within>td *{color:inherit}
.se-admin.se-admin .admin-table tbody tr.data-row:hover .muted,
.se-admin.se-admin .admin-table tbody tr.data-row:hover .small,
.se-admin.se-admin .admin-table tbody tr.data-row:focus-within .muted,
.se-admin.se-admin .admin-table tbody tr.data-row:focus-within .small{color:var(--ad-hover-muted)!important}
/* Keep badges and action buttons semantically colored on a hovered row. */
.se-admin.se-admin .admin-table tr.data-row:hover .admin-pill.success{background:#e6f5ef!important;color:#1c795d!important}
.se-admin.se-admin .admin-table tr.data-row:hover .admin-pill.warn{background:#fff4df!important;color:#946417!important}
.se-admin.se-admin .admin-table tr.data-row:hover .admin-pill.danger{background:#ffedf0!important;color:#b1354a!important}
:root[data-theme="dark"] .se-admin.se-admin .admin-table tr.data-row:hover .admin-pill.success{background:#173c31!important;color:#8ee5c1!important}
:root[data-theme="dark"] .se-admin.se-admin .admin-table tr.data-row:hover .admin-pill.warn{background:#3b2e16!important;color:#ffd58b!important}
:root[data-theme="dark"] .se-admin.se-admin .admin-table tr.data-row:hover .admin-pill.danger{background:#40212a!important;color:#ffadb9!important}
.se-admin.se-admin .admin-table tr.data-row:hover .btn{background:var(--ad-surface)!important;color:var(--ad-text)!important;border-color:var(--ad-line)!important}
.se-admin.se-admin .admin-table tr.data-row:hover .btn:hover{background:var(--ad-hover-strong)!important;color:var(--ad-hover-text)!important;border-color:var(--ad-hover-line)!important}
.se-admin.se-admin .admin-table tr.data-row:hover .btn.danger{background:#fff0f2!important;color:#b1334c!important;border-color:#f1ccd4!important}
:root[data-theme="dark"] .se-admin.se-admin .admin-table tr.data-row:hover .btn.danger{background:#381d26!important;color:#ffb1bd!important;border-color:#63313e!important}
/* Remaining admin hover surfaces use the same mode-aware lighting. */
.se-admin.se-admin .admin-link:hover,
.se-admin.se-admin .as-shortcut:hover,
.se-admin.se-admin .as-list-row:hover,
.se-admin.se-admin .security-row:hover,
.se-admin.se-admin .admin-search-result:hover,
.se-admin.se-admin .mail-row:hover,
.se-admin.se-admin .mail-row.selected{
 background:var(--ad-hover)!important;color:var(--ad-hover-text)!important;
 border-color:var(--ad-hover-line)!important;box-shadow:var(--ad-hover-shadow)!important;
}
.se-admin.se-admin .as-list-row:hover,.se-admin.se-admin .security-row:hover{border-radius:9px;padding-left:10px;padding-right:10px}
.se-admin.se-admin .admin-link:hover .label,
.se-admin.se-admin .as-shortcut:hover strong,
.se-admin.se-admin .as-list-row:hover strong,
.se-admin.se-admin .security-row:hover b,
.se-admin.se-admin .admin-search-result:hover strong,
.se-admin.se-admin .mail-row:hover strong{color:var(--ad-hover-text)!important}
.se-admin.se-admin .as-shortcut:hover small,
.se-admin.se-admin .as-list-row:hover p,
.se-admin.se-admin .security-row:hover .small,
.se-admin.se-admin .admin-search-result:hover small,
.se-admin.se-admin .mail-row:hover small{color:var(--ad-hover-muted)!important}
.se-admin.se-admin .admin-kpi:hover,
.se-admin.se-admin .admin-card:hover,
.se-admin.se-admin .admin-detail-box:hover{
 background:var(--ad-surface)!important;color:var(--ad-text)!important;
 border-color:var(--ad-hover-line)!important;box-shadow:var(--ad-hover-shadow)!important;
}
.se-admin.se-admin .field input:hover,.se-admin.se-admin .field select:hover,.se-admin.se-admin .field textarea:hover,
.se-admin.se-admin .admin-search:hover{background:var(--ad-surface)!important;color:var(--ad-text)!important;border-color:var(--ad-hover-line)!important}
.se-admin.se-admin .field input:focus,.se-admin.se-admin .field select:focus,.se-admin.se-admin .field textarea:focus,
.se-admin.se-admin .admin-search:focus{background:var(--ad-surface)!important;color:var(--ad-text)!important;border-color:var(--ad-accent)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--ad-accent) 18%,transparent)!important}
/* Seller/account tables had the same kind of fixed light hover rules. */
:root[data-theme="light"] .dash-table tbody tr:hover>td{background:#f7f6ff!important;color:#1d2433!important;border-color:#dfdcf4!important}
:root[data-theme="dark"] .dash-table tbody tr:hover>td{background:#172033!important;color:#edf3ff!important;border-color:#34425e!important}
:root[data-theme="light"] .account-order:hover,:root[data-theme="light"] .security-row:hover{background:#f7f6ff!important;color:#1d2433!important}
:root[data-theme="dark"] .account-order:hover,:root[data-theme="dark"] body:not(.se-admin) .security-row:hover{background:#172033!important;color:#edf3ff!important}
@media(hover:none){.se-admin.se-admin .admin-table tbody tr.data-row:hover>td{background:transparent!important;color:var(--ad-text)!important;border-color:var(--ad-line)!important}.se-admin.se-admin .admin-table tbody tr.data-row:focus-within>td{background:var(--ad-hover)!important;color:var(--ad-hover-text)!important}}
@media(prefers-reduced-motion:reduce){.se-admin.se-admin .admin-table tr,.se-admin.se-admin .admin-link,.se-admin.se-admin .as-shortcut,.se-admin.se-admin .as-list-row{transition:none!important;transform:none!important}}



/* Sale Earn Mobile Compatibility + block editor templates v3 */
.se-template-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.se-template{border:1px solid #dfe4ed;background:#fff;color:#263044;border-radius:11px;padding:9px;text-align:left;cursor:pointer}.se-template.active{border-color:#7568ed;box-shadow:0 0 0 3px rgba(117,104,237,.12)}.se-template>span{display:flex;height:25px;border-radius:7px;overflow:hidden;margin-bottom:7px}.se-template i{flex:1}.se-template b,.se-template small{display:block}.se-template b{font-size:12px}.se-template small{font-size:9px;color:#748096;margin-top:3px}.se-auto-mode{display:flex;align-items:center;justify-content:space-between;margin-top:10px;padding:9px;border-radius:9px;background:#ecf8f3;color:#147452;font-size:11px;font-weight:800}.se-block-order{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:8px}.se-block-order button{min-height:40px;border:1px solid #d9dfea;background:#fff;color:#30384b;border-radius:9px;font-weight:850;cursor:pointer}:root[data-theme=dark] .se-template,:root[data-theme=dark] .se-block-order button{background:#121d30;color:#edf3ff;border-color:#30405c}:root[data-theme=dark] .se-template small{color:#a2aec2}:root[data-theme=dark] .se-auto-mode{background:#15352c;color:#8ee5c1}
html,body{max-width:100%;overflow-x:hidden}img,video,canvas,svg{max-width:100%;height:auto}*,*:before,*:after{box-sizing:border-box}.container,.page,.section,.hero,.dashboard-shell,.dash-main,.dash-content,.admin-shell,.admin-main,.admin-content{min-width:0;max-width:100%}.table-wrap,.admin-table-wrap,.as-table-wrap,.dash-card:has(table){max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.btn,button,input,select,textarea{max-width:100%}
@media(max-width:900px){
 .container{width:100%!important;padding-left:16px!important;padding-right:16px!important}.page{padding-bottom:88px}.topbar{height:auto!important;min-height:64px}.header-inner,.nav{gap:8px!important;flex-wrap:wrap!important}.search{order:3!important;flex:1 0 100%!important;max-width:none!important}.nav-actions{margin-left:auto;display:flex;gap:6px;flex-wrap:wrap}.hero,.section{padding-left:0!important;padding-right:0!important}.hero-grid,.detail-main,.market-layout,.account-layout,.ref-top,.payment-layout,.admin-grid2,.admin-detail,.form-grid,.mail-shell{grid-template-columns:minmax(0,1fr)!important}.grid,.category-grid,.metric-grid,.power-grid,.ref-stats,.plans,.admin-kpis,.as-cols,.as-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))!important}.product-card,.category-card,.admin-card,.dash-card{min-width:0}.detail-image{min-height:260px!important}.detail-actions,.hero-actions,.admin-actions,.section-head{flex-wrap:wrap}.modal,.admin-confirm{width:min(94vw,680px)!important;max-height:90dvh!important;overflow:auto!important}.payment-modal-wide{width:96vw!important}.payment-left,.payment-right-inner{min-height:0!important}.dash-side{display:none!important}.dash-main{margin-left:0!important;width:100%!important}.dash-top{padding:0 16px!important}.dash-content{padding:18px!important;padding-bottom:96px!important}.dash-table,.admin-table{min-width:720px}.mobile-bottom-nav{display:grid!important}.mobile-topbar{display:flex!important}
 body.se-admin .admin-shell{display:block!important;height:100dvh!important;overflow:hidden!important}body.se-admin .admin-side{display:flex!important;position:fixed!important;left:-270px!important;top:0!important;bottom:0!important;width:260px!important;height:100dvh!important;z-index:1002!important;transition:left .22s ease!important}body.se-admin.as-menu-open .admin-side{left:0!important}body.se-admin .as-mobile-shade{display:none!important;position:fixed!important;inset:0!important;background:rgba(5,8,18,.58)!important;z-index:1001!important}body.se-admin.as-menu-open .as-mobile-shade{display:block!important}body.se-admin .admin-main{width:100%!important;height:100dvh!important;margin:0!important}body.se-admin .admin-top{height:auto!important;min-height:68px!important;padding:10px 14px!important;gap:8px!important;flex-wrap:wrap!important}body.se-admin .as-menu{display:inline-flex!important}body.se-admin .admin-search-wrap{order:5;flex-basis:100%;max-width:none!important}body.se-admin .admin-content{padding:18px 14px 96px!important}body.se-admin .as-page-title{align-items:flex-start!important;gap:12px!important}body.se-admin .as-date{display:none}.se-studio-panel{overscroll-behavior:contain}
}
@media(max-width:600px){
 .container{padding-left:12px!important;padding-right:12px!important}.grid,.category-grid,.metric-grid,.power-grid,.ref-stats,.plans,.admin-kpis,.as-cols,.as-shortcuts{grid-template-columns:minmax(0,1fr)!important}.hero h1{font-size:clamp(30px,10vw,42px)!important;line-height:1.08}.hero-actions .btn,.detail-actions .btn{width:100%}.product-card .thumb{height:190px}.market-tools{display:grid!important;grid-template-columns:1fr auto!important}.market-tools .searchbox{grid-column:1/-1}.account-nav{grid-template-columns:1fr 1fr!important}.account-help,.account-head{align-items:flex-start!important;flex-direction:column!important}.footer-grid{grid-template-columns:1fr!important}.btn,button,.field input,.field select{min-height:44px}.field input,.field select,.field textarea{font-size:16px!important}.dash-top h1{font-size:18px}.dash-content{padding:12px 12px 92px!important}body.se-admin .admin-content{padding:14px 10px 88px!important}body.se-admin .admin-card{padding:15px!important}body.se-admin .as-top-actions{margin-left:auto;gap:5px!important}body.se-admin .as-preview-label,body.se-admin .as-sync span{display:none}.se-template-grid{grid-template-columns:1fr}.se-block-order{grid-template-columns:1fr}.se-studio-top{max-height:100px;overflow-x:auto}.se-studio-panel{top:108px!important}.se-studio-field input,.se-studio-field select,.se-studio-field textarea{font-size:16px}
}
@media(max-width:360px){.container{padding-left:10px!important;padding-right:10px!important}.mobile-bottom-nav{grid-template-columns:repeat(5,minmax(0,1fr))!important}.mobile-bottom-nav button{font-size:9px!important;padding:4px 2px!important}.admin-actions .btn{width:100%}.account-nav{grid-template-columns:1fr!important}.se-studio-top{left:4px!important;right:4px!important}.se-studio-panel{left:4px!important;right:4px!important}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}



/* Sale Earn Universal Mobile 3-dot Sidebar Drawer */
.se-mobile-side-trigger,.se-mobile-drawer-shade{display:none}
@media(max-width:900px){
 body.se-mobile-drawer-open{overflow:hidden!important;touch-action:none}
 .se-mobile-side-trigger{display:inline-flex!important;flex:0 0 44px;width:44px;height:44px;min-height:44px;align-items:center;justify-content:center;border:1px solid var(--line,#dfe4ee)!important;border-radius:12px!important;background:var(--card,#fff)!important;color:var(--ink,#172033)!important;box-shadow:0 8px 22px rgba(22,31,58,.10)!important;font-size:27px!important;line-height:1!important;font-weight:900!important;letter-spacing:2px;transform:none!important;z-index:1220;cursor:pointer}
 .se-mobile-side-trigger:hover,.se-mobile-side-trigger[aria-expanded=true]{background:var(--soft,#eeebfc)!important;color:var(--brand,#5146e5)!important;border-color:#aaa1ee!important;transform:none!important}
 .se-mobile-side-trigger span{display:block;transform:translateY(-2px)}
 .se-mobile-drawer-shade{display:block;position:fixed;inset:0;z-index:1190;background:rgba(5,9,20,.58);backdrop-filter:blur(3px);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .22s ease,visibility .22s ease}
 body.se-mobile-drawer-open .se-mobile-drawer-shade{opacity:1;visibility:visible;pointer-events:auto}
 [data-se-drawer-panel]{display:flex!important;position:fixed!important;top:0!important;bottom:0!important;left:0!important;width:min(82vw,286px)!important;max-width:286px!important;height:100dvh!important;z-index:1200!important;overflow-y:auto!important;overscroll-behavior:contain;padding-top:calc(16px + env(safe-area-inset-top))!important;padding-bottom:calc(18px + env(safe-area-inset-bottom))!important;background:var(--card,#fff)!important;color:var(--ink,#172033)!important;border-right:1px solid var(--line,#dfe4ee)!important;box-shadow:22px 0 60px rgba(10,18,40,.25)!important;transform:translateX(-105%)!important;transition:transform .24s cubic-bezier(.2,.75,.25,1)!important;visibility:hidden!important}
 body[data-se-mobile-drawer=dashboard] .dashboard-shell>.dash-side,
 body[data-se-mobile-drawer=account] .account-layout>.account-nav,
 body[data-se-mobile-drawer=admin] .admin-shell>.admin-side,
 body[data-se-mobile-drawer=market] .market-layout>.sidebar-filter,
 body[data-se-mobile-drawer=mail] .mail-shell>.mail-sidebar{transform:translateX(0)!important;visibility:visible!important}
 .dashboard-shell>.dash-side{display:flex!important;flex-direction:column!important;width:min(82vw,286px)!important;padding-left:14px!important;padding-right:14px!important}
 .dashboard-shell>.dash-main{margin-left:0!important;width:100%!important}
 .dashboard-shell>.dash-main>.dash-top{justify-content:flex-start!important;gap:10px!important;padding:9px 12px!important;height:auto!important;min-height:64px!important}
 .dashboard-shell>.dash-main>.dash-top>h1{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .account-head{position:relative;display:flex!important;flex-direction:row!important;align-items:center!important;gap:10px!important;flex-wrap:wrap}.account-head>.se-mobile-side-trigger{order:-2}.account-head>.account-user{flex:1;min-width:0}.account-head>.account-user>div:last-child{min-width:0}.account-head>.account-user h1,.account-head>.account-user p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.account-layout>.account-nav{display:flex!important;flex-direction:column!important;gap:6px!important;padding:20px 14px!important}.account-layout>.account-nav:before{content:'MY ACCOUNT';padding:6px 10px 12px;color:var(--muted);font-size:11px;font-weight:900;letter-spacing:.12em}.account-layout>.account-nav button{width:100%!important;min-height:46px!important;text-align:left!important}
 body.se-admin .admin-top.se-has-side-trigger{padding-left:12px!important}.admin-top.se-has-side-trigger>.as-menu{display:none!important}.admin-top.se-has-side-trigger>.se-mobile-side-trigger{order:-5}.admin-shell>.admin-side{display:flex!important}.admin-shell>.admin-side[data-se-drawer-panel]{left:0!important;transform:translateX(-105%)!important}.se-admin.se-admin .admin-shell>.admin-side[data-se-drawer-panel]{position:fixed!important;width:min(82vw,286px)!important;max-width:286px!important;z-index:1200!important}.se-admin.se-admin[data-se-mobile-drawer=admin] .admin-shell>.admin-side[data-se-drawer-panel]{transform:translateX(0)!important}.se-admin.se-admin .as-mobile-shade{display:none!important}
 .market-tools.se-has-side-trigger{display:flex!important;align-items:center!important;gap:8px!important}.market-tools.se-has-side-trigger>.se-mobile-side-trigger{order:-5}.market-layout>.sidebar-filter{display:block!important;padding:18px 14px!important}.market-layout>.sidebar-filter:before{content:'FILTER PRODUCTS';display:block;margin:2px 8px 14px;color:var(--muted);font-size:11px;font-weight:900;letter-spacing:.12em}.market-layout>.sidebar-filter .filter-cat{width:100%!important;min-height:44px}.market-layout>.sidebar-filter .subcats{display:block!important;padding-left:10px!important}.market-layout>.sidebar-filter .subcats button{width:100%!important;text-align:left!important}
 .mail-shell>.mail-sidebar{display:flex!important;flex-direction:column!important;padding:18px 14px!important}.mail-shell.se-has-side-trigger{position:relative}.mail-shell.se-has-side-trigger>.se-mobile-side-trigger{position:sticky;top:8px;left:8px;margin:8px;z-index:80}
 :root[data-theme=dark] .se-mobile-side-trigger{background:#151d2d!important;color:#eef3ff!important;border-color:#34415a!important;box-shadow:0 10px 28px rgba(0,0,0,.28)!important}:root[data-theme=dark] .se-mobile-side-trigger:hover,:root[data-theme=dark] .se-mobile-side-trigger[aria-expanded=true]{background:#282143!important;color:#c8c0ff!important;border-color:#625a91!important}:root[data-theme=dark] [data-se-drawer-panel]{background:#111827!important;color:#edf3ff!important;border-color:#2b3850!important;box-shadow:22px 0 65px rgba(0,0,0,.48)!important}
}
@media(max-width:600px){.se-mobile-side-trigger{width:42px;height:42px;min-height:42px;border-radius:11px!important}.dashboard-shell>.dash-main>.dash-top{padding:8px 10px!important}.account-head>.account-user .account-avatar{width:44px;height:44px}.account-head>div:last-child{width:100%;justify-content:flex-end!important}.admin-top.se-has-side-trigger .as-breadcrumb{flex:1}.admin-top.se-has-side-trigger .admin-search-wrap{flex-basis:100%}}
@media(min-width:901px){body.se-mobile-drawer-open{overflow:auto!important}[data-se-drawer-panel]{visibility:visible!important}.se-mobile-side-trigger,.se-mobile-drawer-shade{display:none!important}}
@media(prefers-reduced-motion:reduce){[data-se-drawer-panel],.se-mobile-drawer-shade{transition:none!important}}



/* Sale Earn Mobile Polish v7 */
@media(max-width:900px){
 body{min-height:100dvh;-webkit-text-size-adjust:100%}.page{min-height:calc(100dvh - 62px)}
 .admin-shell,.dashboard-shell,.account-layout,.market-layout,.mail-shell{grid-template-columns:minmax(0,1fr)!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}.dashboard-shell{display:block!important}.admin-main,.dash-main,.account-layout>section,.market-layout>section,.mail-shell>section{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}.admin-top.se-has-side-trigger,.dash-top.se-has-side-trigger,.account-head.se-has-side-trigger,.market-tools.se-has-side-trigger{box-sizing:border-box!important}
 .mobile-topbar{padding-top:env(safe-area-inset-top);height:calc(62px + env(safe-area-inset-top))!important}.mobile-bottom-nav{height:calc(68px + env(safe-area-inset-bottom))!important}
 .se-mobile-side-trigger{position:relative;overflow:hidden}.se-mobile-side-trigger:after{content:'';position:absolute;inset:5px;border-radius:8px;border:1px solid transparent;pointer-events:none}.se-mobile-side-trigger[aria-expanded=true]:after{border-color:color-mix(in srgb,var(--brand,#5146e5) 35%,transparent)}
 .se-mobile-drawer-head{display:flex;align-items:center;gap:10px;width:100%;box-sizing:border-box;flex:0 0 auto;margin:-4px 0 12px;padding:4px 4px 13px;border-bottom:1px solid var(--line,#e2e6ee);position:sticky;top:-16px;background:inherit;z-index:4}.se-mobile-drawer-head .se-drawer-mark{width:35px;height:35px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(135deg,var(--brand,#5146e5),var(--brand2,#6d63f5));color:#fff;font-size:12px;font-weight:950;box-shadow:0 7px 18px rgba(81,70,229,.2)}.se-mobile-drawer-head>div{min-width:0;flex:1}.se-mobile-drawer-head b,.se-mobile-drawer-head small{display:block}.se-mobile-drawer-head b{font-size:14px;color:var(--ink,#172033)}.se-mobile-drawer-head small{font-size:10px;color:var(--muted,#6d788b);margin-top:2px}.se-mobile-drawer-close{width:40px!important;height:40px!important;min-height:40px!important;display:grid!important;place-items:center!important;margin:0!important;padding:0!important;border-radius:11px!important;border:1px solid var(--line,#e2e6ee)!important;background:var(--card,#fff)!important;color:var(--ink,#172033)!important;font-size:22px!important;line-height:1!important}
 [data-se-drawer-panel]{flex-direction:column!important;align-items:stretch!important}[data-se-drawer-panel]>button:not(.se-mobile-drawer-close),[data-se-drawer-panel]>a:not(.as-logo){width:100%;display:flex;align-items:center;text-align:left}[data-se-drawer-panel] button,[data-se-drawer-panel] a{touch-action:manipulation}[data-se-drawer-panel] .active,[data-se-drawer-panel] [aria-current=page]{box-shadow:inset 3px 0 0 var(--brand,#5146e5),0 6px 16px rgba(30,40,80,.08)!important}
 .dashboard-shell>.dash-main>.dash-top,.admin-top.se-has-side-trigger,.market-tools.se-has-side-trigger,.account-head{position:sticky!important;top:calc(62px + env(safe-area-inset-top));z-index:76;background:color-mix(in srgb,var(--card,#fff) 94%,transparent)!important;backdrop-filter:blur(14px);border-bottom:1px solid var(--line,#e2e6ee);padding-top:9px!important;padding-bottom:9px!important}
 .dashboard-shell>.dash-main>.dash-top{top:0!important}.admin-top.se-has-side-trigger{top:0!important}.account-head{margin-left:0!important;margin-right:0!important;width:100%!important;max-width:100%!important;padding-left:10px!important;padding-right:10px!important;margin-bottom:16px!important}.market-tools.se-has-side-trigger{margin-left:0!important;margin-right:0!important;width:100%!important;max-width:100%!important;padding:9px 10px!important}
 .account-layout>section,.market-layout>section,.dash-content,.admin-content{min-width:0}.account-panel,.account-profile-card,.dash-card,.admin-card{border-radius:16px!important}.account-order,.asset-card,.security-row{min-width:0}.account-order-main,.asset-main,.security-row>div:first-child{min-width:0;overflow-wrap:anywhere}
 .dash-table,.admin-table{font-size:12px}.dash-table th,.dash-table td,.admin-table th,.admin-table td{padding:12px 10px!important;white-space:nowrap}.table-wrap,.as-table-wrap,.admin-table-wrap,.dash-card:has(table){scrollbar-width:thin;scroll-snap-type:x proximity}
 .modal-bg,.admin-confirm-bg{padding:10px!important;align-items:flex-end!important}.modal,.admin-confirm,.modal-card{width:100%!important;max-width:680px!important;max-height:calc(100dvh - 20px - env(safe-area-inset-top))!important;border-radius:20px 20px 12px 12px!important;padding-bottom:calc(18px + env(safe-area-inset-bottom))!important}
 :root[data-theme=dark] .se-mobile-drawer-head{border-color:#2c3850}:root[data-theme=dark] .se-mobile-drawer-head b{color:#f0f4ff}:root[data-theme=dark] .se-mobile-drawer-close{background:#182235!important;color:#f4f6ff!important;border-color:#34425c!important}:root[data-theme=dark] .dashboard-shell>.dash-main>.dash-top,:root[data-theme=dark] .admin-top.se-has-side-trigger,:root[data-theme=dark] .market-tools.se-has-side-trigger,:root[data-theme=dark] .account-head{background:rgba(14,22,38,.94)!important}
}
@media(max-width:600px){
 .page-title{padding:20px 0 12px}.page-title h1{font-size:25px}.section{padding-top:32px!important;padding-bottom:32px!important}.section-head h2{font-size:21px}
 .mobile-topbar-inner{padding-left:10px!important;padding-right:10px!important}.mobile-search{min-width:0;flex:1}.mobile-logo span:last-child{max-width:88px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .account-head>.account-user{width:calc(100% - 54px)}.account-head>.account-user h1{font-size:20px!important}.account-head>.account-user p{font-size:11px}.account-head>div:last-child{margin-left:52px;width:calc(100% - 52px)!important}
 .product-card .body{padding:13px!important}.product-card h3{font-size:15px!important}.detail-info h1{font-size:25px}.detail-image{min-height:230px!important}
 .admin-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}.admin-kpi{min-height:112px}.admin-kpi b{font-size:22px!important}.admin-top.se-has-side-trigger .as-top-actions{gap:4px!important}.admin-top.se-has-side-trigger .as-top-actions>.btn{width:40px!important;padding:8px!important}.admin-top.se-has-side-trigger .admin-search-wrap{order:10!important}
 .form-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important}.field{min-width:0}.field input,.field textarea,.field select{width:100%!important}
}
@media(max-width:380px){
 .se-mobile-side-trigger{flex-basis:40px;width:40px;height:40px;min-height:40px;font-size:25px!important}.admin-kpis{grid-template-columns:minmax(0,1fr)!important}.admin-kpi{min-height:100px}.account-head>div:last-child{margin-left:0;width:100%!important}.mobile-bottom-nav button{font-size:8.5px!important}.mobile-bottom-nav .micon{font-size:17px}.btn{padding-left:10px!important;padding-right:10px!important}
}



/* Mobile cart: keep the product image, title and actions readable instead of squeezing one row. */
.cart-product-row{display:grid;grid-template-columns:78px minmax(0,1fr) auto;gap:13px;align-items:center;padding:15px 0;border-bottom:1px solid var(--line)}
.cart-product-row:last-of-type{border-bottom:0}
.cart-product-media{width:78px;height:78px;border-radius:13px;overflow:hidden;background:var(--surface2,#eef1f7);display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.cart-product-media .mini-thumb{width:100%;height:100%;border-radius:0}
.cart-product-info{min-width:0}
.cart-product-title{display:block;font-size:15px;line-height:1.3;overflow-wrap:anywhere}
.cart-product-price{margin-top:5px}
.cart-product-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end;flex-wrap:wrap}
.cart-product-actions .btn{min-width:70px}

/* Seller Orders: on phones each order becomes a compact readable card. No page-wide horizontal overflow. */
@media(max-width:600px){
  .cart-product-row{grid-template-columns:76px minmax(0,1fr);gap:12px;padding:15px 0}
  .cart-product-media{width:76px;height:76px}
  .cart-product-info{align-self:center}
  .cart-product-actions{grid-column:1 / -1;width:100%;justify-content:flex-end;padding-top:2px}
  .cart-product-actions .btn{flex:1;min-width:0;max-width:150px;min-height:42px}
  .cart .dash-card{padding-left:12px!important;padding-right:12px!important}

  .dash-content .dash-card:has(> table.dash-table){padding:0!important;overflow:visible!important}
  .dash-content .dash-table{display:block!important;width:100%!important;min-width:0!important;border:0!important;border-radius:0!important;background:transparent!important}
  .dash-content .dash-table thead{display:none!important}
  .dash-content .dash-table tbody{display:block!important;width:100%!important}
  .dash-content .dash-table tbody tr{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 12px!important;width:100%!important;min-width:0!important;padding:13px 12px!important;margin:0!important;border-bottom:1px solid var(--line)!important;background:var(--surface)!important;border-radius:0!important;transform:none!important}
  .dash-content .dash-table tbody tr:first-child{border-top:0!important}
  .dash-content .dash-table tbody tr:last-child{border-bottom:0!important}
  .dash-content .dash-table tbody td{display:block!important;width:auto!important;min-width:0!important;padding:5px 0!important;border:0!important;background:transparent!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important;font-size:12px!important;line-height:1.35!important;color:var(--ink)!important}
  .dash-content .dash-table tbody td:nth-child(1){grid-column:1 / -1;padding-bottom:9px!important}
  .dash-content .dash-table tbody td:nth-child(1) button{display:block!important;width:100%!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;font-size:14px!important;line-height:1.3!important;padding:0!important}
  .dash-content .dash-table tbody td:nth-child(2)::before{content:'Customer';display:block;color:var(--muted);font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;margin-bottom:3px}
  .dash-content .dash-table tbody td:nth-child(3)::before{content:'Date';display:block;color:var(--muted);font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;margin-bottom:3px}
  .dash-content .dash-table tbody td:nth-child(4)::before{content:'Amount';display:block;color:var(--muted);font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;margin-bottom:3px}
  .dash-content .dash-table tbody td:nth-child(5)::before{content:'Status';display:block;color:var(--muted);font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;margin-bottom:3px}
  .dash-content .dash-table tbody td:nth-child(4){font-size:14px!important;font-weight:900}
  .dash-content .dash-table tbody td:nth-child(5){text-align:right}
  .dash-content .dash-table tbody td[colspan]{grid-column:1 / -1;text-align:center!important;padding:28px 10px!important}

  /* Search + total in Orders */
  .dash-content .dash-card:has(> div > input[placeholder*="Search by product"]){padding:12px!important}
  .dash-content .dash-card:has(> div > input[placeholder*="Search by product"])>div{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:9px!important;align-items:center!important}
  .dash-content .dash-card:has(> div > input[placeholder*="Search by product"]) input{min-width:0!important;max-width:none!important;height:44px!important}
  .dash-content .dash-card:has(> div > input[placeholder*="Search by product"]) b{white-space:nowrap!important;font-size:12px!important}
}
@media(max-width:380px){
  .cart-product-row{grid-template-columns:68px minmax(0,1fr);gap:10px}
  .cart-product-media{width:68px;height:68px}
  .cart-product-title{font-size:14px}
  .cart-product-actions .btn{max-width:none;padding-left:9px!important;padding-right:9px!important}
}


@media(max-width:900px){
 #home-hero .hero-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;width:100%}
 #home-hero .hero-actions .btn{width:100%!important;min-width:0!important;min-height:48px!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;white-space:normal!important}
 [data-se-drawer-panel][aria-hidden=true]{pointer-events:none!important}
 .account-layout>.account-nav,.dashboard-shell>.dash-side,.admin-shell>.admin-side,.market-layout>.sidebar-filter,.mail-shell>.mail-sidebar{margin:0!important}
}
@media(max-width:430px){#home-hero .hero-actions{grid-template-columns:minmax(0,1fr)!important}#home-hero .hero-actions .btn{min-height:50px!important}}


/* Premium corner ribbon badge */
.product-card .thumb{overflow:hidden}
.product-card .thumb>.product-badge.ribbon{
  top:-3px!important;left:-46px!important;right:auto!important;bottom:auto!important;
  width:154px!important;max-width:none!important;box-sizing:border-box;
  padding:9px 12px 10px!important;margin:0!important;
  border:0!important;border-radius:0!important;
  text-align:center!important;white-space:nowrap!important;
  line-height:1!important;font-size:11px!important;font-weight:950!important;
  letter-spacing:.055em;
  transform:rotate(-45deg);transform-origin:center center;
  clip-path:polygon(0 0,100% 0,100% 78%,88% 100%,12% 100%,0 78%);
  background:linear-gradient(135deg,#b40012 0%,#f21d2f 38%,#ff5a63 52%,#d10b1d 70%,#97000e 100%)!important;
  color:#fff!important;
  box-shadow:0 5px 12px rgba(90,0,8,.42),inset 0 1px 0 rgba(255,255,255,.48),inset 0 -2px 0 rgba(70,0,0,.24);
  text-shadow:0 1px 2px rgba(70,0,0,.55);
}
.product-card .thumb>.product-badge.ribbon::before{
  content:'';position:absolute;left:10%;right:10%;top:2px;height:2px;
  background:linear-gradient(90deg,transparent,#fff9,transparent);opacity:.9;
}
.product-card .thumb>.product-badge.ribbon::after{
  content:'';position:absolute;right:-1px;bottom:0;width:14px;height:14px;
  background:linear-gradient(225deg,#72000a 0 49%,transparent 50%);
}
.badge-stage .product-badge.ribbon{
  top:-3px!important;left:-46px!important;right:auto!important;bottom:auto!important;
  width:154px!important;max-width:none!important;box-sizing:border-box;
  padding:9px 12px 10px!important;border:0!important;border-radius:0!important;
  text-align:center!important;white-space:nowrap!important;
  transform:rotate(-45deg);transform-origin:center center;
  clip-path:polygon(0 0,100% 0,100% 78%,88% 100%,12% 100%,0 78%);
  background:linear-gradient(135deg,#b40012 0%,#f21d2f 38%,#ff5a63 52%,#d10b1d 70%,#97000e 100%)!important;
  box-shadow:0 5px 12px rgba(90,0,8,.42),inset 0 1px 0 rgba(255,255,255,.48),inset 0 -2px 0 rgba(70,0,0,.24);
  text-shadow:0 1px 2px rgba(70,0,0,.55);
}
.badge-stage .product-badge.ribbon::before{content:'';position:absolute;left:10%;right:10%;top:2px;height:2px;background:linear-gradient(90deg,transparent,#fff9,transparent)}
.badge-stage .product-badge.ribbon::after{content:'';position:absolute;right:-1px;bottom:0;width:14px;height:14px;background:linear-gradient(225deg,#72000a 0 49%,transparent 50%)}


/* Sale Earn interaction layer: consistent, accessible hover/focus feedback without changing actions. */
:where(.policy-card,.se-legal-section,.se-legal-highlight,.se-legal-grid>div,.se-guide-card,.se-guide-practice,.se-guide-product-grid>div,.se-faq-item,.se-contact-card,.se-contact-trust>div,.se-about-feature,.se-about-mini,.se-about-core>div,.se-about-step,.se-about-stat,.sitemap-card,.pricing-card,.faq-card,.contact-card,.admin-card,.dash-card,.mail-row,.mail-detail,.admin-kpi,.data-card,.product-card,.seller-card,.stat-card,.settings-card,.security-row,.warning-card,.review-card,.payout-card,.order-card,.analytics-card){transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background-color .18s ease,filter .18s ease;}
:where(.policy-card,.se-legal-section,.se-legal-highlight,.se-legal-grid>div,.se-guide-card,.se-guide-practice,.se-guide-product-grid>div,.se-faq-item,.se-contact-card,.se-contact-trust>div,.se-about-feature,.se-about-mini,.se-about-core>div,.se-about-step,.se-about-stat,.sitemap-card,.pricing-card,.faq-card,.contact-card,.admin-card,.dash-card,.mail-row,.mail-detail,.admin-kpi,.data-card,.product-card,.seller-card,.stat-card,.settings-card,.security-row,.warning-card,.review-card,.payout-card,.order-card,.analytics-card):hover{transform:translateY(-3px) scale(1.012);box-shadow:0 14px 36px rgba(79,70,229,.14);border-color:color-mix(in srgb,var(--brand,#5146e5) 38%,currentColor);}
:where(.policy-card,.se-legal-section,.se-guide-card,.se-faq-item,.se-contact-card,.se-about-feature,.se-about-mini,.admin-card,.dash-card,.mail-row,.admin-kpi,.data-card,.product-card,.seller-card,.settings-card):focus-within{box-shadow:0 0 0 3px rgba(99,102,241,.18),0 14px 36px rgba(79,70,229,.12);border-color:rgba(99,102,241,.65);}
.mail-nav{cursor:pointer}
.mail-nav:hover{transform:translateX(3px)}
@media (prefers-reduced-motion:reduce){:where(.policy-card,.se-legal-section,.se-guide-card,.se-faq-item,.se-contact-card,.se-about-feature,.se-about-mini,.admin-card,.dash-card,.mail-row,.admin-kpi,.data-card,.product-card,.seller-card,.settings-card):hover{transform:none}}


/* Admin seller preview + mobile layout hardening */
.admin-seller-control-card{margin:0 0 16px;padding:14px;border:1px solid #cfc9ff;border-radius:16px;background:linear-gradient(145deg,rgba(99,83,218,.10),rgba(255,255,255,.02));}
.admin-seller-control-card h3{margin:0 0 5px}.admin-seller-control-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0}.admin-seller-control-grid .admin-kpi{cursor:default}
.admin-seller-control-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.admin-seller-control-actions .btn{min-height:38px}
.admin-seller-control-table{max-height:340px;overflow:auto;border:1px solid var(--line);border-radius:12px;margin-top:12px}.admin-seller-control-table table{min-width:720px}
.admin-seller-money-form{display:grid;grid-template-columns:150px 140px minmax(180px,1fr) auto;gap:8px;align-items:end;margin-top:10px}
.admin-seller-recycle{border-color:#ef4444!important;background:linear-gradient(145deg,#fff1f2,#fff)!important;color:#7f1d1d}.admin-seller-recycle .pm-status{background:#fee2e2!important;color:#b91c1c!important}.admin-seller-recycle .pm-actions{border-top:1px solid #fecaca;padding-top:8px}
@media(max-width:900px){.admin-seller-control-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-seller-money-form{grid-template-columns:1fr 1fr}.admin-seller-money-form .reason-field{grid-column:1/-1}.admin-seller-money-form .apply-field{grid-column:1/-1}}
@media(max-width:620px){
 .admin-seller-control-grid{grid-template-columns:1fr 1fr}.admin-seller-control-card{padding:11px;border-radius:14px}.admin-seller-control-table{max-height:300px}
 .dashboard-shell .dash-content{min-width:0}.dashboard-shell .dash-card{min-width:0;max-width:100%;overflow:hidden}
 .dashboard-shell .dash-table{display:block;width:100%;overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch}.dashboard-shell .dash-table table{min-width:680px}
 .dashboard-shell .dash-table th,.dashboard-shell .dash-table td{white-space:nowrap}
 .dashboard-shell .order-card,.dashboard-shell .product-row{min-width:0}
 .page .container .dash-card .product-row{display:grid!important;grid-template-columns:54px minmax(0,1fr) auto auto!important;gap:8px!important;align-items:center!important}.page .container .dash-card .product-row .mini-thumb{grid-column:1;grid-row:1 / span 2;width:54px!important;height:54px!important}.page .container .dash-card .product-row>div:nth-child(2){grid-column:2;min-width:0;overflow-wrap:anywhere}.page .container .dash-card .product-row .btn{padding:7px 9px;font-size:11px}.page .container .dash-card .product-row+div{flex-wrap:wrap!important;gap:10px!important}
}
@media(max-width:420px){.page .container .dash-card .product-row{grid-template-columns:48px minmax(0,1fr)!important}.page .container .dash-card .product-row .mini-thumb{width:48px!important;height:48px!important}.page .container .dash-card .product-row .btn{font-size:10px;padding:7px 8px}.page .container .dash-card .product-row .btn.danger{grid-column:2}.page .container .dash-card .product-row .btn.primary{grid-column:2}.admin-seller-money-form{grid-template-columns:1fr}.admin-seller-money-form .reason-field,.admin-seller-money-form .apply-field{grid-column:auto}}


/* Product Check layout stability: use the available admin width instead of leaving a large empty column. */
.pc-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));align-items:stretch;width:100%;}
.pc-product{min-width:0;width:100%;box-sizing:border-box;}
.pc-product-main{min-width:0;}
.pc-tabs{overflow-x:auto;overflow-y:hidden;flex-wrap:nowrap;padding-bottom:3px;scrollbar-width:thin;}
.pc-tab{flex:0 0 auto;white-space:nowrap;}
.pc-toolbar{width:100%;min-width:0;}
.pc-toolbar .input{min-width:0;width:100%;box-sizing:border-box;}
@media(max-width:850px){
  .pc-grid{grid-template-columns:1fr;}
  .pc-product{grid-template-columns:82px minmax(0,1fr);}
  .pc-product-image{width:82px;height:76px;}
}
@media(max-width:600px){
  .pc-tabs{margin-left:-2px;margin-right:-2px;padding-left:2px;}
  .pc-toolbar{grid-template-columns:1fr;gap:9px;}
  .pc-product{grid-template-columns:64px minmax(0,1fr);padding:11px;gap:10px;}
  .pc-product-image{width:64px;height:64px;}
  .pc-product-main h3{font-size:15px;line-height:1.25;white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;}
  .pc-meta{font-size:10px;line-height:1.5;}
  .pc-actions .btn{flex:1 1 auto;min-width:100px;}
}


/* V56: keep the main/right scrollbar responsive and prevent nested scroll containers from trapping it. */
html, body {
  overscroll-behavior-y: auto !important;
}
body.se-admin .admin-shell {
  min-height: 0 !important;
  height: calc(100dvh - 72px) !important;
  overflow: hidden !important;
}
body.se-admin .admin-content {
  min-height: 0 !important;
  height: 100% !important;
  max-height: 100% !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  overscroll-behavior-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-gutter: stable !important;
}
body.se-admin .admin-side {
  min-height: 0 !important;
  overscroll-behavior-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
}
@media (max-width: 760px) {
  body.se-admin .admin-shell {
    height: calc(100dvh - 56px) !important;
  }
  body.se-admin .admin-content {
    height: 100% !important;
    max-height: 100% !important;
  }
}


/* Keep the Admin Studio sidebar at the very top; the top header belongs only to the main area. */
.se-admin.se-admin .admin-shell>.admin-side{
  position:relative!important;
  top:0!important;
  left:auto!important;
  bottom:auto!important;
  height:100dvh!important;
  min-height:0!important;
  max-height:none!important;
  flex:0 0 246px!important;
  align-self:stretch!important;
  overflow:hidden!important;
}
/* The actual Admin navigation list is .as-nav, not the outer sidebar. */
.se-admin.se-admin .admin-shell>.admin-side .as-nav{
  min-height:0!important;
  flex:1 1 auto!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain!important;
  -webkit-overflow-scrolling:touch!important;
  scrollbar-gutter:stable!important;
}
@media(max-width:760px){
  .se-admin.se-admin .admin-shell>.admin-side{
    position:fixed!important;
    top:0!important;
    left:0!important;
    bottom:0!important;
    width:min(82vw,286px)!important;
    height:100dvh!important;
    flex:0 0 auto!important;
  }
}


/* V74: prevent visual scrollbar movement while Admin navigation is re-rendered. */
.se-admin.se-admin .admin-side .as-nav{
  scroll-behavior:auto!important;
  overflow-anchor:none!important;
}


.product-card .thumb{position:relative}.product-card .thumb>.product-badge{position:absolute;margin:0;max-width:calc(100% - 20px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-badge.badge-top.badge-left{top:10px;bottom:auto;left:10px;right:auto}.product-badge.badge-top.badge-right{top:10px;bottom:auto;right:10px;left:auto}.product-badge.badge-bottom.badge-left{bottom:10px;top:auto;left:10px;right:auto}.product-badge.badge-bottom.badge-right{bottom:10px;top:auto;right:10px;left:auto}
.product-badge.texture-solid{background:var(--badge-bg)}.product-badge.texture-gradient{background:linear-gradient(135deg,var(--badge-bg),color-mix(in srgb,var(--badge-bg) 44%,#fff))}.product-badge.texture-stripes{background:repeating-linear-gradient(135deg,var(--badge-bg) 0 7px,color-mix(in srgb,var(--badge-bg) 72%,#000) 7px 12px)}.product-badge.texture-dots{background-color:var(--badge-bg);background-image:radial-gradient(#ffffff55 1.2px,transparent 1.5px);background-size:6px 6px}.product-badge.texture-shine{background:linear-gradient(115deg,var(--badge-bg) 15%,#ffffff70 48%,var(--badge-bg) 70%)}
.badge-stage{position:relative;width:min(360px,100%);aspect-ratio:16/10;border-radius:15px;overflow:hidden;background:linear-gradient(145deg,#cdd7ee,#7c8eb6);box-shadow:inset 0 0 0 1px var(--line)}.badge-stage:after{content:'PRODUCT IMAGE';position:absolute;inset:0;display:grid;place-items:center;color:#fff9;font-size:11px;font-weight:950;letter-spacing:.12em}.badge-stage .product-badge{z-index:2}.badge-form-preview{display:grid;place-items:center;min-height:185px;background:var(--soft);border:1px dashed var(--line);border-radius:15px;margin:12px 0}.char-count{display:block;text-align:right;margin-top:5px;color:var(--muted);font-size:10px;font-weight:800}.game-tag-panel{padding:12px;border:1px solid var(--line);border-radius:13px;background:var(--soft);margin-top:10px}.game-tag-panel button{margin:3px}
.warning-request-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.store-links-editor{display:grid;gap:9px}.store-link-row{display:grid;grid-template-columns:minmax(120px,.55fr) minmax(200px,1.45fr) auto;gap:8px;align-items:end;padding:10px;border:1px solid var(--line);border-radius:13px}.store-about-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.seller-video-action{border-color:#ff3d58!important;color:#dc233e!important}.verification-admin{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:12px}
@media(max-width:760px){.warning-request-grid,.store-link-row{grid-template-columns:1fr}.product-badge{font-size:10px;padding:5px 8px}.badge-stage{width:100%}}


.category-filter-icon{display:inline-grid;width:25px;height:25px;place-items:center;border-radius:8px;background:var(--soft);margin-right:7px}.category-tag-panel{margin:12px 0;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--soft)}.category-tag-panel h4{margin:0 0 4px}.category-tag-buttons{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.category-tag-buttons button.active{background:var(--brand);color:#fff;border-color:var(--brand)}
.badge-quota-note{padding:10px 12px;border-radius:12px;background:color-mix(in srgb,var(--brand) 8%,var(--card));border:1px solid color-mix(in srgb,var(--brand) 28%,var(--line));font-size:11px;line-height:1.5}.badge-action-row{display:flex;gap:8px;flex-wrap:wrap}.product-card .thumb>.product-badge{display:inline-flex!important;visibility:visible!important;opacity:1!important;pointer-events:none}.badge-form-preview .product-badge{display:inline-flex!important}
#seWebsiteStudio.se-studio-root .se-studio-panel{position:fixed!important;right:16px!important;top:82px!important;bottom:16px!important;height:auto!important;max-height:calc(100dvh - 98px)!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;scrollbar-gutter:stable!important}.se-studio-panel .se-studio-panel-head{position:sticky;top:-14px;z-index:4;background:var(--card,#fff);padding-top:14px!important}
.v22-message-search{position:sticky;top:0;z-index:3;background:var(--card);padding:0 0 10px}.v22-message-search input{width:100%;min-height:42px;border:1px solid var(--line);border-radius:11px;padding:0 12px}.v22-message-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:12px}.v22-message-summary>div{padding:11px;border:1px solid var(--line);border-radius:12px;background:var(--card)}.v22-message-summary b,.v22-message-summary small{display:block}.v22-controls-bottom{margin-top:18px!important;border-top:4px solid var(--brand)!important}.warning-support-card{border-top:4px solid #f0a51b!important}.v22-admin-access{border-top:4px solid var(--brand)!important}.v22-admin-access .admin-actions{margin-top:12px}.seller-view-error{max-width:660px;margin:60px auto}.field-removed-v22{display:none!important}
@media(max-width:900px){#seWebsiteStudio.se-studio-root .se-studio-panel{left:8px!important;right:8px!important;top:112px!important;bottom:8px!important;max-height:calc(100dvh - 120px)!important}.v22-message-summary{grid-template-columns:1fr}}


/* premium badge shapes */
.product-badge.shape-pill{border-radius:999px}.product-badge.shape-soft{border-radius:12px}.product-badge.shape-square{border-radius:3px}.product-badge.shape-ticket{border-radius:4px 12px 4px 12px}.product-badge.shape-tag{border-radius:4px 14px 14px 4px;padding-left:14px}.product-badge.shape-shield{border-radius:10px 10px 18px 18px}.product-badge.shape-hex{border-radius:7px;clip-path:polygon(10% 0,90% 0,100% 50%,90% 100%,10% 100%,0 50%)}.product-badge.shape-slant{border-radius:5px;transform:skew(-8deg)}.product-badge.shape-capsule{border-radius:999px;padding-inline:18px}.product-badge.shape-ribbon{border-radius:4px 4px 4px 0}
/* NEW premium corner-ribbon badge — polished red glossy sticker style */
.product-badge.shape-corner-ribbon{top:0!important;left:0!important;right:auto!important;bottom:auto!important;width:126px;height:126px;padding:0!important;border:0!important;border-radius:0!important;display:block!important;overflow:visible;clip-path:polygon(0 0,100% 0,100% 14%,14% 100%,0 100%);box-shadow:none!important;transform:none!important;background:transparent!important;pointer-events:none}
.product-badge.shape-corner-ribbon:before{content:'';position:absolute;left:0;top:0;width:120px;height:120px;clip-path:polygon(0 0,100% 0,100% 14%,14% 100%,0 100%);background:linear-gradient(135deg,#ff5b63 0%,#f2262f 24%,var(--badge-bg,#e51b25) 52%,#b80f17 78%,#78080d 100%);box-shadow:7px 8px 12px rgba(55,0,0,.30),inset 0 1px 1px rgba(255,255,255,.75),inset -3px -4px 8px rgba(70,0,0,.20)}
.product-badge.shape-corner-ribbon:after{content:'';position:absolute;left:0;top:0;width:120px;height:120px;clip-path:polygon(0 0,100% 0,100% 14%,14% 100%,0 100%);background:linear-gradient(128deg,rgba(255,255,255,.62) 0 8%,transparent 9% 39%,rgba(255,255,255,.20) 40% 45%,transparent 46% 100%),linear-gradient(135deg,transparent 0 58%,rgba(67,0,0,.42) 59% 66%,transparent 67%);pointer-events:none}
.product-badge.shape-corner-ribbon{color:var(--badge-text,#fff);font-family:var(--badge-font,Arial);font-size:0;font-weight:950;line-height:1;letter-spacing:.06em;text-transform:uppercase;text-align:center}
.product-badge.shape-corner-ribbon .corner-ribbon-text{position:absolute;left:9px;top:31px;width:96px;display:block;transform:rotate(-45deg);transform-origin:center;font-size:21px;font-weight:950;line-height:1;letter-spacing:.045em;text-transform:uppercase;color:var(--badge-text,#fff);text-shadow:0 2px 3px rgba(65,0,0,.42),0 0 1px rgba(255,255,255,.28);z-index:3;white-space:nowrap}
.product-badge.shape-corner-ribbon .corner-ribbon-text:after{content:'';position:absolute;left:8%;right:8%;bottom:-5px;height:2px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.55),transparent);opacity:.7}
.product-badge.shape-corner-ribbon.texture-solid,.product-badge.shape-corner-ribbon.texture-gradient,.product-badge.shape-corner-ribbon.texture-shine,.product-badge.shape-corner-ribbon.texture-stripes,.product-badge.shape-corner-ribbon.texture-dots,.product-badge.shape-corner-ribbon.texture-neon,.product-badge.shape-corner-ribbon.texture-glass,.product-badge.shape-corner-ribbon.texture-carbon,.product-badge.shape-corner-ribbon.texture-metal,.product-badge.shape-corner-ribbon.texture-hologram,.product-badge.shape-corner-ribbon.texture-luxury,.product-badge.shape-corner-ribbon.texture-wave{background:transparent!important;background-image:none!important}
.product-badge.texture-neon{background:var(--badge-bg);box-shadow:0 0 7px color-mix(in srgb,var(--badge-bg) 80%,#fff),0 0 14px color-mix(in srgb,var(--badge-bg) 65%,transparent)}.product-badge.texture-glass{background:color-mix(in srgb,var(--badge-bg) 70%,transparent);backdrop-filter:blur(8px);box-shadow:inset 0 1px #ffffff70}.product-badge.texture-carbon{background-color:var(--badge-bg);background-image:linear-gradient(45deg,#0002 25%,transparent 25%,transparent 75%,#0002 75%),linear-gradient(45deg,#0002 25%,transparent 25%,transparent 75%,#0002 75%);background-size:7px 7px;background-position:0 0,3.5px 3.5px}.product-badge.texture-metal{background:linear-gradient(100deg,color-mix(in srgb,var(--badge-bg) 70%,#000),#fff9 44%,var(--badge-bg) 58%,color-mix(in srgb,var(--badge-bg) 65%,#000));box-shadow:inset 0 1px #fff8}.product-badge.texture-hologram{background:linear-gradient(120deg,var(--badge-bg),#48d9ff,#d06cff,#ffe168,var(--badge-bg));background-size:250% 250%;animation:v23Holo 5s ease infinite}.product-badge.texture-luxury{background:linear-gradient(145deg,#18120a,#7b5715 48%,#f0c35a 52%,#241a08);border-color:#ffe39a!important}.product-badge.texture-wave{background-color:var(--badge-bg);background-image:repeating-radial-gradient(ellipse at 0 100%,transparent 0 5px,#ffffff26 6px 7px,transparent 8px 12px)}@keyframes v23Holo{50%{background-position:100% 100%}}
.badge-approved-note{padding:10px 12px;background:color-mix(in srgb,var(--brand) 10%,var(--card));border:1px solid color-mix(in srgb,var(--brand) 28%,var(--line));border-radius:12px;font-size:11px}.badge-approved-note b{display:block;margin-bottom:3px}.games-always-open{display:block!important;margin-bottom:8px}.games-always-open button.active{background:var(--brand)!important;color:#fff!important;border-color:var(--brand)!important}
/* 10 appearance textures, graded separately for light and night */
:root{--v23-texture:none}:root[data-appearance-texture="smooth"]{--v23-texture:linear-gradient(145deg,transparent,transparent)}
:root[data-theme="light"][data-appearance-texture="aurora"]{--v23-texture:radial-gradient(circle at 8% 5%,rgba(111,79,255,.17),transparent 29%),radial-gradient(circle at 92% 14%,rgba(30,204,186,.13),transparent 27%),linear-gradient(145deg,#faf9ff,#f4fbff)}:root[data-theme="dark"][data-appearance-texture="aurora"]{--v23-texture:radial-gradient(circle at 8% 5%,rgba(120,91,255,.22),transparent 31%),radial-gradient(circle at 92% 14%,rgba(30,204,186,.12),transparent 29%),linear-gradient(145deg,#070916,#0b1420)}
:root[data-theme="light"][data-appearance-texture="mesh"]{--v23-texture:radial-gradient(at 20% 15%,#e7e0ff 0,transparent 34%),radial-gradient(at 78% 5%,#d9f7ff 0,transparent 32%),radial-gradient(at 70% 80%,#fff0d8 0,transparent 35%),#fafbff}:root[data-theme="dark"][data-appearance-texture="mesh"]{--v23-texture:radial-gradient(at 20% 15%,#28204e 0,transparent 35%),radial-gradient(at 78% 5%,#123447 0,transparent 34%),radial-gradient(at 70% 80%,#392817 0,transparent 36%),#080b14}
:root[data-theme="light"][data-appearance-texture="grid"]{--v23-texture:linear-gradient(#6672a30d 1px,transparent 1px),linear-gradient(90deg,#6672a30d 1px,transparent 1px),linear-gradient(145deg,#fafbff,#f5f7fd);--v23-size:28px 28px,28px 28px,auto}:root[data-theme="dark"][data-appearance-texture="grid"]{--v23-texture:linear-gradient(#9cabdf14 1px,transparent 1px),linear-gradient(90deg,#9cabdf14 1px,transparent 1px),linear-gradient(145deg,#080c15,#0e1522);--v23-size:28px 28px,28px 28px,auto}
:root[data-theme="light"][data-appearance-texture="waves"]{--v23-texture:repeating-radial-gradient(ellipse at -10% 100%,transparent 0 34px,#6e62e50e 35px 37px,transparent 38px 70px),linear-gradient(135deg,#fcfbff,#f3fbff)}:root[data-theme="dark"][data-appearance-texture="waves"]{--v23-texture:repeating-radial-gradient(ellipse at -10% 100%,transparent 0 34px,#8b80ff17 35px 37px,transparent 38px 70px),linear-gradient(135deg,#080a14,#0b1720)}
:root[data-theme="light"][data-appearance-texture="dotted"]{--v23-texture:radial-gradient(#7c72d422 1.6px,transparent 1.6px),linear-gradient(145deg,#fbfaff,#f6f7fd);--v23-size:16px 16px,auto}:root[data-theme="dark"][data-appearance-texture="dotted"]{--v23-texture:radial-gradient(#8f9dea2e 1.6px,transparent 1.6px),linear-gradient(145deg,#080b16,#0d1220);--v23-size:16px 16px,auto}
:root[data-theme="light"][data-appearance-texture="diagonal"]{--v23-texture:repeating-linear-gradient(45deg,transparent 0 11px,#6e62e512 11px 13px),linear-gradient(145deg,#fbfbff,#f6f8fd)}:root[data-theme="dark"][data-appearance-texture="diagonal"]{--v23-texture:repeating-linear-gradient(45deg,transparent 0 11px,#8b80ff1c 11px 13px),linear-gradient(145deg,#070a14,#0c111e)}
:root[data-theme="light"][data-appearance-texture="bloom"]{--v23-texture:radial-gradient(circle at 10% 12%,rgba(255,170,90,.16),transparent 33%),radial-gradient(circle at 90% 88%,rgba(140,110,255,.16),transparent 36%),linear-gradient(150deg,#fffaf5,#f7f6ff)}:root[data-theme="dark"][data-appearance-texture="bloom"]{--v23-texture:radial-gradient(circle at 10% 12%,rgba(255,150,80,.13),transparent 35%),radial-gradient(circle at 90% 88%,rgba(140,110,255,.18),transparent 38%),linear-gradient(150deg,#0a0810,#080c18)}
:root[data-theme="light"][data-appearance-texture="paper"]{--v23-texture:radial-gradient(#00000007 1px,transparent 1px),radial-gradient(#00000005 1px,transparent 1px),linear-gradient(145deg,#fbfaf7,#f6f5f1);--v23-size:3px 3px,7px 7px,auto}:root[data-theme="dark"][data-appearance-texture="paper"]{--v23-texture:radial-gradient(#ffffff08 1px,transparent 1px),radial-gradient(#ffffff05 1px,transparent 1px),linear-gradient(145deg,#0a0a0c,#0e0e11);--v23-size:3px 3px,7px 7px,auto}
:root[data-theme="light"][data-appearance-texture="orbit"]{--v23-texture:repeating-radial-gradient(circle at 50% 40%,#6e62e51a 0 5px,transparent 6px 17px),linear-gradient(150deg,#faf9ff,#f5f8ff)}:root[data-theme="dark"][data-appearance-texture="orbit"]{--v23-texture:repeating-radial-gradient(circle at 50% 40%,#8b80ff22 0 5px,transparent 6px 17px),linear-gradient(150deg,#070914,#0b0f1c)}
:root[data-theme] body:not(.se-admin){background-image:var(--v23-texture)!important;background-size:var(--v23-size,auto)!important;background-attachment:fixed!important}
.v23-texture-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(128px,1fr));gap:12px;margin-top:12px}
.v23-texture-card{min-height:120px;border:1px solid var(--line);border-radius:16px;padding:11px;background:var(--card);color:var(--text);cursor:pointer;text-align:left;transition:.2s ease;box-shadow:0 2px 8px rgba(20,25,50,.04)}
.v23-texture-card:hover{transform:translateY(-3px);box-shadow:0 10px 22px rgba(20,25,50,.1);border-color:color-mix(in srgb,var(--brand) 40%,var(--line))}
.v23-texture-card.active{border-color:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 18%,transparent)}
.v23-texture-card.active b::after{content:" ✓";color:var(--brand)}
.v23-texture-preview{height:62px;border-radius:11px;margin-bottom:9px;border:1px solid var(--line)}
.v23-texture-card b,.v23-texture-card small{display:block}
.v23-texture-card small{margin-top:3px;color:var(--muted)}
.v23-texture-preview[data-tx="smooth"]{background:linear-gradient(145deg,var(--card),var(--soft))}
.v23-texture-preview[data-tx="aurora"]{background:radial-gradient(circle at 15% 20%,#9a80ff88,transparent 35%),radial-gradient(circle at 85% 15%,#45dec088,transparent 32%),#eef0ff}
.v23-texture-preview[data-tx="mesh"]{background:radial-gradient(at 20% 20%,#bba9ff,transparent 35%),radial-gradient(at 80% 10%,#9eeeff,transparent 35%),radial-gradient(at 70% 85%,#ffd69c,transparent 38%),#fff}
.v23-texture-preview[data-tx="grid"]{background-color:#f7f8ff;background-image:linear-gradient(#7780aa22 1px,transparent 1px),linear-gradient(90deg,#7780aa22 1px,transparent 1px);background-size:12px 12px}
.v23-texture-preview[data-tx="waves"]{background:repeating-radial-gradient(ellipse at 0 100%,#f5f3ff 0 14px,#8f82ef33 15px 16px,#fafcff 17px 30px)}
.v23-texture-preview[data-tx="dotted"]{background-color:#fbfaff;background-image:radial-gradient(#7c72d455 1.6px,transparent 1.6px);background-size:12px 12px}
.v23-texture-preview[data-tx="diagonal"]{background:repeating-linear-gradient(45deg,#fbfbff 0 9px,#e3e0fb 9px 11px)}
.v23-texture-preview[data-tx="bloom"]{background:radial-gradient(circle at 12% 15%,#ffb46e88,transparent 40%),radial-gradient(circle at 88% 85%,#a78bff88,transparent 42%),#fffaf5}
.v23-texture-preview[data-tx="paper"]{background-color:#fbfaf7;background-image:radial-gradient(#00000012 1px,transparent 1px),radial-gradient(#0000000a 1px,transparent 1px);background-size:3px 3px,7px 7px;background-position:0 0,2px 3px}
.v23-texture-preview[data-tx="orbit"]{background:repeating-radial-gradient(circle at 50% 45%,#6e62e533 0 5px,transparent 6px 15px),#f8f8ff}
:root[data-theme="dark"] .v23-texture-preview[data-tx="grid"]{background-color:#0e1420;background-image:linear-gradient(#9cabdf2e 1px,transparent 1px),linear-gradient(90deg,#9cabdf2e 1px,transparent 1px)}
:root[data-theme="dark"] .v23-texture-preview[data-tx="waves"]{background:repeating-radial-gradient(ellipse at 0 100%,#0b1017 0 14px,#8b80ff33 15px 16px,#0e1420 17px 30px)}
:root[data-theme="dark"] .v23-texture-preview[data-tx="dotted"]{background-color:#0d1220;background-image:radial-gradient(#8f9dea66 1.6px,transparent 1.6px)}
:root[data-theme="dark"] .v23-texture-preview[data-tx="diagonal"]{background:repeating-linear-gradient(45deg,#0c111e 0 9px,#232a44 9px 11px)}
:root[data-theme="dark"] .v23-texture-preview[data-tx="bloom"]{background:radial-gradient(circle at 12% 15%,#ff965088,transparent 40%),radial-gradient(circle at 88% 85%,#8b6bff99,transparent 42%),#0a0810}
:root[data-theme="dark"] .v23-texture-preview[data-tx="paper"]{background-color:#0e0e11;background-image:radial-gradient(#ffffff1a 1px,transparent 1px),radial-gradient(#ffffff10 1px,transparent 1px);background-size:3px 3px,7px 7px;background-position:0 0,2px 3px}
:root[data-theme="dark"] .v23-texture-preview[data-tx="orbit"]{background:repeating-radial-gradient(circle at 50% 45%,#8b80ff44 0 5px,transparent 6px 15px),#0b0f1c}
:root[data-theme="dark"] .v23-texture-preview[data-tx="aurora"]{background:radial-gradient(circle at 15% 20%,#7a5cffb0,transparent 35%),radial-gradient(circle at 85% 15%,#1ecca9a0,transparent 32%),#0a0e1c}
:root[data-theme="dark"] .v23-texture-preview[data-tx="mesh"]{background:radial-gradient(at 20% 20%,#4d3fa0,transparent 35%),radial-gradient(at 80% 10%,#1c5266,transparent 35%),radial-gradient(at 70% 85%,#5a3f1e,transparent 38%),#0a0d16}
@media(max-width:760px){.v23-texture-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){.v23-texture-grid{grid-template-columns:1fr}}


.product-check-badge{display:inline-flex;align-items:center;gap:4px;margin:3px 3px 0 0;padding:5px 9px;border-radius:999px;font-size:10px;font-weight:900;line-height:1;border:1px solid transparent}
.product-check-badge.checked{background:#fff4cc;color:#966400;border-color:#ffe09a}
.product-check-badge.verified{background:#e8f9f1;color:#12835d;border-color:#bfead5}
.pc-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}.pc-tab{border:1px solid var(--line);background:var(--surface);color:var(--text);padding:10px 15px;border-radius:12px;font-weight:900;cursor:pointer}.pc-tab.active{background:var(--brand);color:#fff;border-color:var(--brand)}.pc-tab span{display:inline-flex;min-width:22px;justify-content:center;margin-left:5px;padding:3px 6px;border-radius:999px;background:#ffffff44;font-size:11px}
.pc-toolbar{display:grid;grid-template-columns:minmax(190px,1fr) 190px;gap:10px;margin:14px 0}.pc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.pc-product{border:1px solid var(--line);border-radius:16px;background:var(--surface);padding:13px;display:grid;grid-template-columns:94px 1fr;gap:13px}.pc-product-image{width:94px;height:86px;border-radius:12px;overflow:hidden;background:var(--soft);display:grid;place-items:center;font-size:29px}.pc-product-image img{width:100%;height:100%;object-fit:cover}.pc-product-main{min-width:0}.pc-product-main h3{margin:0 0 5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pc-meta{font-size:11px;color:var(--muted);line-height:1.55}.pc-badges{min-height:25px;margin:6px 0}.pc-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:8px}.pc-actions .btn{padding:8px 10px;font-size:11px}.pc-empty{padding:45px 20px;text-align:center;border:1px dashed var(--line);border-radius:15px;color:var(--muted);grid-column:1/-1}
@media(max-width:850px){.pc-grid{grid-template-columns:1fr}}@media(max-width:600px){.pc-toolbar{grid-template-columns:1fr}.pc-product{grid-template-columns:72px 1fr}.pc-product-image{width:72px;height:70px}}


/* Product manager: give the title and metadata real width; keep actions below. */
.pm-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
.pm-card{grid-template-columns:24px 100px minmax(0,1fr);grid-template-rows:auto auto;gap:11px 13px;align-items:start;min-width:0;padding:14px}
.pm-check{grid-column:1;grid-row:1 / span 2;padding-top:3px}
.pm-image{grid-column:2;grid-row:1;width:100px;height:82px;min-width:0;border-radius:12px}
.pm-info{grid-column:3;grid-row:1;min-width:0;padding-right:2px}
.pm-info h3{font-size:17px;line-height:1.18;margin:5px 0 6px;white-space:normal;overflow-wrap:anywhere;word-break:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}
.pm-top{gap:7px;min-width:0}.pm-top .small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pm-actions{grid-column:2 / -1;grid-row:2;display:flex;justify-content:flex-start;align-items:center;gap:7px;min-width:0;margin-top:1px}
.pm-actions .btn{padding:8px 12px;white-space:nowrap}
@media(max-width:1050px){.pm-list{grid-template-columns:1fr}}
@media(min-width:1051px){.pm-list.list-view{grid-template-columns:1fr}.pm-list.list-view .pm-card{grid-template-columns:24px 100px minmax(0,1fr) auto;grid-template-rows:auto;align-items:center}.pm-list.list-view .pm-check{grid-row:1}.pm-list.list-view .pm-actions{grid-column:4;grid-row:1;justify-content:flex-end}.pm-list.list-view .pm-info{grid-row:1}}
@media(max-width:760px){.pm-card{grid-template-columns:22px 78px minmax(0,1fr);gap:9px}.pm-image{width:78px;height:72px}.pm-info h3{font-size:15px;-webkit-line-clamp:4}.pm-actions{grid-column:2 / -1}.pm-actions .btn{padding:7px 9px;font-size:11px}}


.admin-preview-exit{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px;padding:12px 14px;border:1px solid #cfc9ff;border-radius:14px;background:#f2f0ff;color:#3e35a8;font-size:12px;font-weight:800}.admin-preview-exit .btn{padding:8px 11px}

.product-check-badge.pending{background:#fff7ed;color:#b45309}.product-check-badge.rejected{background:#fef2f2;color:#b42318}.product-check-badge.approved{background:#ecfdf3;color:#027a48}

.sales-seller-grid{display:grid;gap:16px;margin-top:16px}.sales-seller-card{border:1px solid var(--line);border-radius:16px;background:var(--surface);padding:15px;min-width:0}.sales-seller-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-bottom:13px;border-bottom:1px solid var(--line)}.sales-seller-name{min-width:0}.sales-seller-name h3{margin:0 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sales-seller-stats{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.sales-seller-stat{border:1px solid var(--line);border-radius:10px;padding:7px 10px;min-width:92px;background:var(--card);text-align:right}.sales-seller-stat small,.sales-seller-stat b{display:block}.sales-seller-stat small{font-size:10px;color:var(--muted);margin-bottom:2px}.sales-seller-stat b{font-size:13px}.sales-products-title{font-size:12px;font-weight:900;margin:14px 0 9px;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}.sales-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.sales-product-row{display:grid;grid-template-columns:62px minmax(0,1fr);gap:10px;align-items:center;border:1px solid var(--line);border-radius:13px;padding:9px;background:var(--card);min-width:0}.sales-product-thumb{width:62px;height:58px;border-radius:9px;overflow:hidden;background:var(--soft);display:grid;place-items:center;font-size:23px}.sales-product-thumb img{width:100%;height:100%;object-fit:cover}.sales-product-info{min-width:0}.sales-product-info h4{margin:0 0 4px;font-size:13px;line-height:1.25;white-space:normal;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.sales-product-info .small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sales-product-money{display:flex;gap:8px;flex-wrap:wrap;margin-top:5px;font-size:11px}.sales-product-money span{color:var(--muted)}.sales-product-money b{color:var(--text)}.sales-product-open{margin-top:7px;padding:6px 9px;font-size:10px}.sales-empty{padding:24px;text-align:center;border:1px dashed var(--line);border-radius:12px;color:var(--muted)}
@media(max-width:900px){.sales-products{grid-template-columns:1fr}}@media(max-width:620px){.sales-seller-head{align-items:flex-start;flex-direction:column}.sales-seller-stats{justify-content:flex-start;width:100%}.sales-seller-stat{text-align:left;flex:1}.sales-product-row{grid-template-columns:56px minmax(0,1fr)}.sales-product-thumb{width:56px;height:54px}}


.se-admin-profile-editor{border-top:4px solid var(--brand)!important}.se-admin-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.se-admin-profile-grid .field{min-width:0}.se-admin-profile-wide{grid-column:1/-1}.se-admin-profile-links{display:grid;gap:9px}.se-admin-profile-link{display:grid;grid-template-columns:minmax(130px,.7fr) minmax(200px,1.3fr) auto;gap:8px;align-items:end;padding:10px;border:1px solid var(--line);border-radius:12px;background:var(--card)}.se-admin-profile-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:14px}.se-admin-profile-note{padding:10px 12px;border-radius:11px;background:color-mix(in srgb,var(--brand) 9%,var(--card));color:var(--muted);font-size:11px;margin:10px 0 14px}.pc-grid .pc-product[hidden],.dash-table tbody tr[hidden]{display:none!important}
@media(max-width:700px){.se-admin-profile-grid{grid-template-columns:1fr}.se-admin-profile-wide{grid-column:auto}.se-admin-profile-link{grid-template-columns:1fr}.se-admin-profile-link .btn{width:100%}}


/* Keep Games subcategories collapsed until Games is selected. */
.games-always-open{display:block!important}


.product-card .product-tags{display:flex;align-items:center;gap:6px;flex-wrap:nowrap;min-width:0;width:100%;height:30px;overflow:hidden;white-space:nowrap}
.product-card .product-tags .tag{display:inline-flex;flex:0 1 auto;min-width:0;max-width:48%;margin:0;padding:6px 9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}


/* Final layout safety: prevent accidental horizontal scroll and clipped controls. */
html,body{max-width:100%;overflow-x:hidden}
img,svg,video,canvas,iframe{max-width:100%}
input,select,textarea{max-width:100%}
button,.btn{touch-action:manipulation}

@media (max-width:900px){
  .container{padding-left:18px;padding-right:18px}
  .hero-grid{grid-template-columns:1fr}
  .hero-art{min-height:230px}
  .admin-grid2,.admin-detail{grid-template-columns:1fr}
  .payment-layout{grid-template-columns:1fr!important;height:auto!important;max-height:calc(100dvh - 20px)!important;overflow:auto}
  .payment-left{max-height:245px;border-right:0;border-bottom:1px solid var(--line,#e4e8f0)}
  .payment-right{min-height:430px;overflow:visible}
  .payment-right-inner{max-height:none}
  .finance-adjust-grid{grid-template-columns:1fr}
}

@media (max-width:760px){
  .topbar{height:auto;min-height:64px;padding:10px 0}
  .nav{gap:9px;flex-wrap:wrap}
  .logo{min-width:0;flex:0 0 auto;font-size:18px}
  .nav-actions{gap:6px;min-width:0}
  .nav-actions .btn{padding:9px 10px}
  .search{order:3;flex:1 1 100%;max-width:none}
  .hero{padding:34px 0 26px}
  .hero h1{font-size:clamp(32px,9vw,44px);line-height:1.08}
  .hero p{font-size:15px;line-height:1.55}
  .hero-actions{width:100%}
  .hero-actions .btn{flex:1 1 145px;min-height:44px}
  .section{padding:26px 0}
  .section-head{align-items:flex-start;flex-direction:column}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .product-card{min-width:0}
  .product-card .thumb{height:170px}
  .product-card .body{min-width:0;padding:12px}
  .product-card h3,.product-card h4{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;word-break:break-word}
  .product-tags{max-width:100%;overflow:hidden}
  .tag{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .ad-premium-card{width:min(86vw,420px)}
  .ad-banner{align-items:stretch;flex-direction:column;gap:14px;padding:20px}
  .ad-banner .btn{width:100%}
  .profile-head{align-items:flex-start;flex-wrap:wrap;padding:18px}
  .profile-meta{min-width:0;width:calc(100% - 108px)}
  .profile-meta h1{font-size:22px;overflow-wrap:anywhere}
  .stats{gap:12px;flex-wrap:wrap}
  .form-grid,.security-form-grid{grid-template-columns:1fr!important}
  .payment-options{grid-template-columns:repeat(2,minmax(0,1fr))}
  .payment-modal-wide{width:calc(100vw - 16px)!important}
  .modal-bg{padding:8px}
  .modal{width:100%;max-height:calc(100dvh - 16px);padding:18px}
  .modal-footer{flex-direction:column}
  .modal-footer .btn{width:100%;min-height:44px}
  .dash-content,.admin-content{min-width:0}
  .dash-content{padding:14px}
  .dash-top{padding-left:14px;padding-right:14px}
  .dash-table,.admin-table{display:block;max-width:100%;overflow-x:auto;white-space:nowrap}
  .dash-table{min-width:620px}
  .admin-table{min-width:700px}
  .table-wrap,.admin-table-wrap{max-width:100%;overflow-x:auto}
  .control-row{align-items:stretch;flex-direction:column}
  .control-row .btn{width:100%}
  .footer-grid{grid-template-columns:1fr 1fr}
  .sticky-buy{left:12px;right:12px;bottom:12px;width:auto}
  .seller-admin-preview-bar{left:10px;right:10px;bottom:12px;width:auto;transform:none;justify-content:space-between}
  .toast{left:12px;right:12px;bottom:12px;text-align:center;max-width:none}
  .se-studio-root{max-width:100vw!important}
}

@media (max-width:480px){
  .container{padding-left:13px;padding-right:13px}
  .nav-actions .btn:not(.iconbtn){font-size:12px;padding:9px 8px}
  .grid{grid-template-columns:1fr}
  .product-card .thumb{height:215px}
  .category-grid,.footer-grid,.trust-grid,.store-socials,.badge-credit-bar{grid-template-columns:1fr}
  .hero h1{font-size:32px}
  .hero-actions .btn{flex-basis:100%;width:100%}
  .payment-options{grid-template-columns:1fr}
  .profile-head{padding:15px}
  .profile-logo{width:72px;height:72px;font-size:24px}
  .profile-meta{width:calc(100% - 88px)}
  .dash-top h1{font-size:18px}
  .dash-content{padding:11px}
  .detail-info h1{font-size:27px;overflow-wrap:anywhere}
  .ad-premium-card{width:calc(100vw - 32px)}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
}


/* Premium ads are a responsive collection, not an endlessly clipped marquee. */
.ad-premium{padding:16px 0 18px;overflow:hidden}
.ad-premium-track{width:min(1240px,calc(100% - 32px));margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:14px;animation:none!important;transform:none!important}
.ad-premium-card{width:100%;min-width:0;min-height:92px;box-sizing:border-box}
.ad-premium-card .ad-info{min-width:0;overflow:hidden}
.ad-premium-card .ad-info b{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ad-premium-card .ad-boost{flex:0 0 auto;white-space:nowrap}
html:root[data-theme="light"] .ad-premium{background:linear-gradient(135deg,#eef1ff,#f8f9ff);color:#172033;border-top:1px solid #dfe4f4;border-bottom:1px solid #dfe4f4}
html:root[data-theme="light"] .ad-premium-card{background:#fff!important;color:#172033!important;border-color:#dfe4f0!important;box-shadow:0 10px 24px rgba(31,42,78,.07)!important}
html:root[data-theme="light"] .ad-premium-card .small{color:#69758b!important}
html:root[data-theme="light"] .ad-premium-card .small span{color:#3f4d67!important}
html:root[data-theme="light"] .ad-premium-card .ad-price{color:#9a6500!important}
html:root[data-theme="light"] .ad-premium-card .ad-boost{background:#f5c83d;color:#2c2609}
html:root[data-theme="dark"] .ad-premium{background:linear-gradient(135deg,#0f192d,#121e35);border-top:1px solid #25334e;border-bottom:1px solid #25334e}
@media(max-width:760px){
  .ad-premium{padding:13px 0 15px}
  .ad-premium-track{width:calc(100% - 24px);grid-template-columns:1fr;gap:10px}
  .ad-premium-card{min-height:80px;padding:9px;gap:9px;border-radius:13px}
  .ad-premium-card .ad-thumb{width:58px;height:58px;border-radius:9px}
  .ad-premium-card .ad-boost{padding:8px 9px;font-size:11px}
}
@media(max-width:420px){
  .ad-premium-card .ad-info .small{font-size:10px}
  .ad-premium-card .ad-info b{font-size:13px}
  .ad-premium-card .ad-boost{font-size:10px;padding:8px 8px}
}


/* Seller storefront: compact, readable mobile detail hierarchy. */
.seller-profile{padding-bottom:110px}
.store-banner{min-height:170px;background-position:center;background-size:cover;background-repeat:no-repeat;border-radius:20px;margin-top:15px;border:1px solid var(--line);box-shadow:var(--shadow-soft,0 10px 26px rgba(20,32,60,.08))}
.seller-profile .profile-head{min-width:0}
.seller-profile .profile-meta{min-width:0;overflow-wrap:anywhere}
.seller-profile .profile-meta h1{overflow-wrap:anywhere;word-break:break-word}
.seller-profile .stats span{min-width:0}
.seller-profile .seller-tools{align-items:stretch}
.seller-profile .seller-tools .pill{justify-content:center;min-width:0;white-space:normal;text-align:center;overflow-wrap:anywhere}
.trust-grid{min-width:0}
.trust-item{min-width:0;overflow:hidden}
.trust-item small,.trust-item b{overflow-wrap:anywhere;word-break:break-word}
.store-about,.store-video,.store-policies{overflow-wrap:anywhere}
.store-socials .btn{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

@media(max-width:760px){
  .seller-profile{padding-top:14px;padding-bottom:calc(116px + env(safe-area-inset-bottom))}
  .seller-profile>.container{padding-left:12px!important;padding-right:12px!important}
  .seller-profile>.container>button:first-child{min-height:40px;margin-bottom:2px}
  .seller-profile .store-banner{min-height:130px;margin-top:10px;border-radius:16px}
  .seller-profile .profile-head{display:grid!important;grid-template-columns:76px minmax(0,1fr)!important;gap:12px!important;align-items:start!important;padding:14px!important;margin-top:12px!important;border-radius:18px!important}
  .seller-profile .profile-logo{width:76px!important;height:76px!important;border-radius:18px!important;font-size:25px!important;grid-column:1;grid-row:1}
  .seller-profile .profile-meta{grid-column:2;grid-row:1;align-self:start;width:auto!important}
  .seller-profile .profile-meta h1{font-size:20px!important;line-height:1.12!important;margin:1px 0 5px!important}
  .seller-profile .profile-meta>p{font-size:11px!important;line-height:1.35!important;margin:0 0 8px!important}
  .seller-profile .profile-meta .pill{display:block;width:100%;font-size:10px;line-height:1.25;padding:6px 8px;white-space:normal;overflow-wrap:anywhere}
  .seller-profile .stats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px!important;margin-top:10px!important;font-size:10px!important;line-height:1.25!important}
  .seller-profile .stats span{text-align:center;display:block;overflow-wrap:anywhere}
  .seller-profile .stats b{display:block;font-size:14px;line-height:1.1;margin-bottom:2px}
  .seller-profile .seller-profile-actions{grid-column:1/-1;grid-row:2;width:100%!important;gap:9px!important}
  .seller-profile .seller-score-card.compact{padding:11px!important;margin:0!important;border-radius:14px!important}
  .seller-profile .seller-score-head{gap:8px!important}
  .seller-profile .seller-score-head strong{font-size:24px!important}
  .seller-profile .seller-score-track{height:10px;margin-top:9px}
  .seller-profile .seller-action-buttons{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important;width:100%}
  .seller-profile .seller-action-buttons .btn{width:100%!important;min-height:44px!important;margin:0!important}
  .seller-profile .seller-tools{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important;margin-top:12px!important}
  .seller-profile .seller-tools .btn,.seller-profile .seller-tools .pill{width:100%!important;min-height:42px;display:flex;align-items:center;justify-content:center}
  .seller-profile .seller-tools .pill{grid-column:span 1;padding:8px 7px;font-size:10px}
  .seller-profile .section-head{margin-top:20px!important;margin-bottom:12px!important}
  .seller-profile .section-head h2{font-size:20px!important;margin-bottom:4px!important}
  .seller-profile .section-head p{font-size:12px!important;line-height:1.5!important;margin:0!important;overflow-wrap:anywhere}
  .seller-profile .seller-products{gap:10px!important}
  .seller-profile .seller-products .product-card .thumb{height:190px!important}
  .seller-profile .trust-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;margin-top:14px!important}
  .seller-profile .trust-item{padding:11px 10px!important;border-radius:13px!important;min-height:70px}
  .seller-profile .trust-item small{font-size:10px!important;line-height:1.25!important;display:block}
  .seller-profile .trust-item b{font-size:16px!important;line-height:1.15!important;margin-top:5px;display:block}
  .seller-profile .store-about,.seller-profile .store-video,.seller-profile .store-policies{padding:15px!important;border-radius:16px!important;margin-top:14px!important}
  .seller-profile .store-about h2,.seller-profile .store-video h2,.seller-profile .store-policies h2{font-size:19px!important}
  .seller-profile .store-socials{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin-top:14px}
  .seller-profile .store-socials .btn{width:100%!important;min-height:42px!important;padding:9px 7px!important;font-size:11px!important}
}
@media(max-width:360px){
  .seller-profile>.container{padding-left:10px!important;padding-right:10px!important}
  .seller-profile .profile-head{grid-template-columns:68px minmax(0,1fr)!important;gap:10px!important;padding:12px!important}
  .seller-profile .profile-logo{width:68px!important;height:68px!important;border-radius:16px!important}
  .seller-profile .profile-meta h1{font-size:18px!important}
  .seller-profile .stats{font-size:9px!important}
  .seller-profile .stats b{font-size:13px!important}
  .seller-profile .seller-score-head b{font-size:12px!important}
  .seller-profile .seller-score-head strong{font-size:22px!important}
  .seller-profile .seller-tools .pill{font-size:9px!important}
}


/* Seller product switcher: distinct, touch-friendly grid and list modes. */
.seller-products.grid-view{align-items:stretch}
.seller-products.grid-view .product-card{min-width:0;display:flex;flex-direction:column}
.seller-products.grid-view .product-card .thumb{aspect-ratio:16/10;height:auto!important;min-height:0!important}
.seller-products.grid-view .product-card .body{display:flex;flex:1;min-width:0;flex-direction:column}
.seller-products.grid-view .product-card .body>div:last-child{margin-top:auto}
.seller-products.list-view{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
.seller-products.list-view .product-card{display:grid!important;grid-template-columns:180px minmax(0,1fr)!important;min-width:0;align-items:stretch}
.seller-products.list-view .product-card .thumb{height:100%!important;min-height:170px!important;aspect-ratio:auto!important}
.seller-products.list-view .product-card .body{min-width:0;display:flex;flex-direction:column;justify-content:center}
.seller-products.list-view .product-card h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}
.seller-products.list-view .product-card .product-tags{max-width:100%;overflow:hidden}

@media(max-width:760px){
  .seller-products.grid-view{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .seller-products.grid-view .product-card{border-radius:14px!important}
  .seller-products.grid-view .product-card .thumb{aspect-ratio:1/1!important}
  .seller-products.grid-view .product-card .body{padding:10px!important}
  .seller-products.grid-view .product-card h3{font-size:13px!important;line-height:1.25!important;min-height:33px}
  .seller-products.grid-view .product-card .seller-line{font-size:10px!important;margin-top:8px!important}
  .seller-products.grid-view .product-card .btn{min-height:40px!important;padding:8px 9px!important;font-size:11px!important}
  .seller-products.list-view{gap:10px!important}
  .seller-products.list-view .product-card{grid-template-columns:104px minmax(0,1fr)!important;min-height:126px!important;border-radius:14px!important}
  .seller-products.list-view .product-card .thumb{min-height:126px!important}
  .seller-products.list-view .product-card .body{padding:10px!important}
  .seller-products.list-view .product-card h3{font-size:14px!important;line-height:1.25!important;margin:3px 0 5px!important}
  .seller-products.list-view .product-card .seller-line{font-size:10px!important;margin-top:6px!important}
  .seller-products.list-view .product-card .btn{min-height:38px!important;padding:7px 9px!important;font-size:11px!important}
  .seller-products.list-view .product-card .product-tags{display:flex;flex-wrap:nowrap;gap:3px}
  .seller-products.list-view .product-card .tag{font-size:9px!important;padding:4px 6px!important;margin:0!important}
}
@media(max-width:360px){
  .seller-products.grid-view{grid-template-columns:1fr!important;gap:12px!important}
  .seller-products.grid-view .product-card .thumb{aspect-ratio:16/10!important}
  .seller-products.grid-view .product-card h3{font-size:14px!important}
  .seller-products.list-view .product-card{grid-template-columns:88px minmax(0,1fr)!important}
  .seller-products.list-view .product-card .thumb{min-height:112px!important}
  .seller-products.list-view .product-card .body{padding:9px!important}
}


.featured-product-picker{position:relative;width:100%}
.featured-product-selectbar{width:100%;min-height:46px;padding:11px 14px;border:1px solid var(--border,#d9dce5);border-radius:12px;background:var(--card,#fff);color:var(--text,#172033);display:flex;align-items:center;justify-content:space-between;text-align:left;font:inherit;cursor:pointer;box-sizing:border-box}
.featured-product-selectbar:hover{border-color:#8b80ef}
.featured-product-chevron{font-size:18px;line-height:1;opacity:.65;margin-left:10px}
.featured-product-menu{position:absolute;z-index:1000;left:0;right:0;top:calc(100% + 6px);background:var(--card,#fff);border:1px solid var(--border,#d9dce5);border-radius:12px;box-shadow:0 14px 35px rgba(0,0,0,.14);overflow:hidden}
.featured-product-menu-head{padding:11px 14px;font-weight:700;border-bottom:1px solid var(--border,#e5e7eb)}
.featured-product-options{max-height:260px;overflow:auto;padding:6px}
.featured-product-option{display:flex;align-items:center;gap:10px;padding:10px 9px;border-radius:8px;cursor:pointer;font-weight:500}
.featured-product-option:hover{background:rgba(81,70,229,.08)}
.featured-product-option input{width:17px;height:17px;flex:0 0 auto}
.featured-product-option span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}


.dash-link .count,.admin-link .count{margin-left:auto;min-width:20px;height:20px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#ef5b68!important;color:#fff!important;font-size:10px;font-weight:900;padding:0 5px}
.pm-approval-status .product-check-badge{margin-top:2px}


.se-tag-chip-wrap{margin-top:6px}
.se-tag-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px;min-height:0}
.se-tag-chip{display:inline-flex;align-items:center;gap:6px;background:var(--soft);border:1px solid var(--line);color:var(--text);border-radius:999px;padding:6px 8px 6px 12px;font-size:12px;font-weight:700}
.se-tag-chip button{background:none;border:0;color:var(--muted);font-size:15px;line-height:1;cursor:pointer;padding:0 2px}
.se-tag-chip button:hover{color:var(--red,#c63c4a)}
#seTagTypeInput:disabled{opacity:.6;cursor:not-allowed}
.msg-mini-btn{background:none;border:0;cursor:pointer;padding:0 2px;font-size:11px;opacity:.75;color:inherit}
.msg-mini-btn:hover{opacity:1}


.se-admin-product-tabs{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0 0 20px;padding:0 0 2px;overflow-x:auto;scrollbar-width:thin}
.se-admin-product-tab{appearance:none;border:1px solid var(--ad-line,#dfe4ef)!important;background:var(--ad-surface,#fff)!important;color:var(--ad-text,#17213b)!important;border-radius:12px!important;padding:11px 15px!important;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:92px;font-weight:800!important;cursor:pointer;box-shadow:none!important;transform:none!important;transition:.18s ease!important}
.se-admin-product-tab:hover{border-color:#8b82f5!important;background:var(--ad-soft,#f4f1ff)!important;transform:translateY(-1px)!important}
.se-admin-product-tab.active{background:linear-gradient(135deg,#5b4ee8,#765cf6)!important;color:#fff!important;border-color:#5b4ee8!important;box-shadow:0 8px 18px rgba(91,78,232,.20)!important}
.se-admin-product-tab b{font-size:10px;min-width:21px;height:21px;padding:0 6px;border-radius:999px;display:inline-grid;place-items:center;background:#edf0f7;color:#536078}
.se-admin-product-tab.active b{background:rgba(255,255,255,.2);color:#fff}
.se-admin-product-tabs+.se-admin-list-scroll{max-height:620px}
.se-admin.se-admin .admin-side{scroll-behavior:auto!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;position:sticky!important;top:72px!important;height:calc(100vh - 72px)!important;align-self:flex-start!important}
@media(max-width:760px){.se-admin-product-tabs{flex-wrap:nowrap;margin-left:-2px;margin-right:-2px;padding:0 2px 4px}.se-admin-product-tab{flex:0 0 auto;min-width:88px;padding:10px 13px!important}.se-admin.se-admin .admin-side{position:fixed!important;top:0!important;height:100vh!important}}


.se-admin-list-scroll{max-height:620px;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-gutter:stable;border:1px solid var(--ad-line,var(--line));border-radius:14px}
.se-admin-list-scroll::-webkit-scrollbar{width:8px;height:8px}.se-admin-list-scroll::-webkit-scrollbar-track{background:transparent}.se-admin-list-scroll::-webkit-scrollbar-thumb{background:#8d95aa;border-radius:99px}.se-admin-list-scroll::-webkit-scrollbar-thumb:hover{background:#69728b}
.se-admin-list-scroll .admin-table{min-width:900px;margin:0}.se-admin-list-scroll .admin-table thead th{position:sticky;top:0;z-index:5;background:var(--ad-surface,#fff)}
.se-admin-coupon-list .se-admin-list-scroll{max-height:560px}.se-admin-coupon-row{cursor:pointer}.se-admin-coupon-row:hover{background:var(--ad-soft,#eeebfc)}
.se-admin-coupon-product{display:flex;align-items:center;gap:10px;min-width:210px}.se-admin-coupon-thumb{width:38px;height:38px;flex:0 0 38px;border-radius:9px;overflow:hidden;display:grid;place-items:center;background:var(--ad-soft,#eeebfc);border:1px solid var(--ad-line,var(--line));font-size:17px}.se-admin-coupon-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.se-admin-coupon-meta{min-width:0}.se-admin-coupon-meta b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.se-admin-coupon-meta small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.se-admin-coupon-click-note{font-size:10px;color:var(--ad-muted,var(--muted));margin-top:2px}
.se-admin-coupon-detail{width:min(680px,calc(100vw - 28px));max-height:min(760px,calc(100vh - 36px));overflow:auto}.se-admin-coupon-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.se-admin-coupon-detail-item{border:1px solid var(--ad-line,var(--line));border-radius:12px;padding:11px 12px;background:var(--ad-surface,var(--surface))}.se-admin-coupon-detail-item small{display:block;color:var(--ad-muted,var(--muted));margin-bottom:3px}.se-admin-coupon-detail-item b{overflow-wrap:anywhere}
@media(max-width:760px){.se-admin-list-scroll{max-height:520px}.se-admin-list-scroll .admin-table{min-width:820px}.se-admin-coupon-detail-grid{grid-template-columns:1fr}}



/* SaleEarn CSS part 02 */

/* My Products: keep the scrolling products area consistent with the dark dashboard. */
:root[data-theme="dark"] .pm-list {
  background: #0c1423 !important;
  border-color: #263650 !important;
}
:root[data-theme="dark"] .pm-card {
  background: #101a2d !important;
  border-color: #2a3954 !important;
}
:root[data-theme="dark"] .pm-card:hover {
  background: #142139 !important;
  border-color: #46597a !important;
}

/* Admin product filters: make every count badge readable, including zero counts. */
.se-admin-product-tab > b {
  min-width: 22px !important;
  width: auto !important;
  height: 22px !important;
  padding: 0 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  line-height: 1 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  color: #26324a !important;
  background: #eef2f8 !important;
  border: 1px solid #d8deea !important;
  font-variant-numeric: tabular-nums;
  opacity: 1 !important;
  visibility: visible !important;
}
.se-admin-product-tab.active > b {
  color: #ffffff !important;
  background: rgba(255,255,255,.22) !important;
  border-color: rgba(255,255,255,.28) !important;
}


/* SaleEarn CSS part 03 */

@media (max-width:760px){
  .product-card .thumb{height:190px!important;min-height:190px!important;background:#101a2d!important;padding:8px!important;box-sizing:border-box!important;}
  .product-card .thumb img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;display:block!important;}
}
@media (max-width:420px){
  .product-card .thumb{height:185px!important;min-height:185px!important;padding:7px!important;}
}


/* SaleEarn CSS part 04 */

/* Explicit tag action works with every mobile keyboard. */
.se-tag-entry{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:stretch}
.se-tag-entry #seTagTypeInput{min-width:0;width:100%}
.se-tag-entry #seTagAddButton{min-width:92px;white-space:nowrap}
.se-tag-entry #seTagAddButton:disabled{opacity:.55;cursor:not-allowed}

@media(max-width:767px){
  /* Clear, touch-friendly seller confirmation. */
  #pfRights{appearance:auto!important;-webkit-appearance:checkbox!important;width:26px!important;height:26px!important;min-width:26px!important;min-height:26px!important;flex:0 0 26px!important;margin:1px 0 0!important;accent-color:#6c5ce7!important;cursor:pointer}
  #pfRights+span{line-height:1.35!important}
  #pfRights+span b{font-size:16px!important;display:inline-block;margin-bottom:5px}

  /* File size number stays wide; unit stays compact. */
  .file-link-row{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important}
  .file-link-row .file-link-fields{width:100%!important;flex:0 0 auto!important;grid-template-columns:1fr!important}
  .file-link-row>.btn{width:100%!important;min-height:48px!important}
  #pfSizeValue{display:block!important;min-width:0!important;width:auto!important;flex:1 1 0!important}
  #pfSizeUnit{display:block!important;width:96px!important;min-width:96px!important;max-width:96px!important;flex:0 0 96px!important}

  /* Store cards use a simple full-width mobile layout without cropped thumbnails. */
  .seller-products.grid-view,.seller-products.list-view{grid-template-columns:1fr!important;gap:14px!important}
  .seller-products.grid-view .product-card,.seller-products.list-view .product-card{display:block!important;grid-template-columns:none!important;width:100%!important;min-height:0!important;border-radius:16px!important}
  .seller-products.grid-view .product-card .thumb,.seller-products.list-view .product-card .thumb{width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:16/9!important;border-right:0!important;border-bottom:1px solid var(--line)!important}
  .seller-products .product-card .thumb img{width:100%!important;height:100%!important;object-fit:cover!important}
  .seller-products .product-card .body{padding:14px 14px 66px!important}
  .seller-products .product-card h3{font-size:16px!important;line-height:1.35!important;margin:7px 0!important}
  .seller-products .product-card .tag{font-size:10px!important;padding:5px 8px!important}
  .seller-products .product-card .plus,.seller-products .product-card .save-product{width:44px!important;height:44px!important;bottom:12px!important;top:auto!important}
  .seller-products .product-card .plus{right:12px!important}
  .seller-products .product-card .save-product{right:64px!important;left:auto!important}
  .seller-products .product-card .body>div:last-child{position:absolute!important;left:14px!important;right:118px!important;bottom:12px!important;margin:0!important}
  .seller-products .product-card .body>div:last-child .btn{width:100%!important;min-height:44px!important}
}

@media(max-width:420px){
  .se-tag-entry{grid-template-columns:minmax(0,1fr) 88px;gap:7px}
  .se-tag-entry #seTagAddButton{min-width:88px;padding-left:10px!important;padding-right:10px!important}
}


/* SaleEarn CSS part 05 */

/* Sale Earn — complete mobile usability pass. Layout/interaction only; desktop remains unchanged. */
@media (max-width: 767px){
  html{scroll-behavior:auto;-webkit-text-size-adjust:100%}
  body{overflow-x:hidden}
  .container{width:100%;max-width:none;padding-left:14px;padding-right:14px}
  button,.btn,.pill,.admin-link,.dash-link,.pay-opt,.pm-tab,.view-toggle button{min-height:44px;touch-action:manipulation}
  input,textarea,select{font-size:16px!important;min-height:44px}
  .topbar{position:sticky;top:0;z-index:200;padding:8px 0;background:var(--surface)!important}
  .nav{gap:8px}.logo{font-size:17px;gap:7px}.logo-mark{width:32px;height:32px;border-radius:9px}
  .nav-actions{gap:5px}.nav-actions .btn{padding:9px 10px;font-size:12px}.search{flex-basis:100%;order:5}.search input{height:44px}
  .hero{padding:30px 0 24px}.hero-grid{gap:20px}.hero h1{font-size:34px;line-height:1.08}.hero p{font-size:14px;line-height:1.6}.hero-art{min-height:210px;padding:12px;border-radius:20px}.pick-card{width:210px}.pick-card .thumb{height:125px}
  .hero-actions{gap:8px}.hero-actions .btn{width:100%;min-height:46px}
  .section{padding:24px 0}.section-head{align-items:flex-start;flex-direction:column;gap:10px}.section-head h2{font-size:20px}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-card{border-radius:14px}.product-card .thumb{height:auto;aspect-ratio:1/1}.product-card .body{padding:11px}.product-card h3{font-size:13px}.seller-line{font-size:10px;gap:5px}.plus{width:36px;height:36px;right:8px;bottom:8px}.save-product{width:36px;height:36px;right:50px;bottom:8px}
  .category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.category-card{min-height:110px;padding:14px}.category-card h3{font-size:14px;margin:8px 0 4px}
  .meet-seller-track{gap:10px}.meet-seller-track .category-card{flex-basis:220px}
  .market-layout{display:block;padding-bottom:24px}.sidebar-filter{position:relative;top:auto;margin-bottom:12px;padding:12px}.market-tools{flex-wrap:wrap;gap:7px}.market-tools .searchbox{flex:1 1 100%;order:0}.view-toggle{width:100%}.view-toggle button{flex:1}.filter-cat{padding:12px 10px}
  .list-view .product-card{grid-template-columns:112px minmax(0,1fr)!important}.list-view .product-card .thumb{min-height:112px!important;height:100%!important}.list-view .product-card .body{min-width:0}
  .detail-wrap{padding:18px 0 36px}.detail-main,.detail-main.ratio-landscape,.detail-main.ratio-portrait,.detail-main.ratio-square{grid-template-columns:1fr;gap:16px;padding:12px;border-radius:18px}.detail-image,.detail-main.ratio-landscape .detail-image,.detail-main.ratio-portrait .detail-image,.detail-main.ratio-square .detail-image{min-height:240px;max-height:65vh;border-radius:14px}.detail-image img{max-height:65vh}.detail-info h1{font-size:25px}.detail-price{font-size:27px}.detail-actions{flex-direction:column;margin:14px 0}.detail-actions .btn{width:100%}.seller-box{align-items:flex-start}
  .modal-bg{padding:8px;align-items:flex-end}.modal{width:100%;max-width:none;max-height:92dvh;border-radius:20px 20px 12px 12px;padding:16px}.modal .close{right:10px;top:10px}.form-grid,.security-form-grid{grid-template-columns:1fr}.modal-footer{flex-direction:column-reverse}.modal-footer .btn{width:100%}.payment-options{grid-template-columns:1fr 1fr}.payment-layout{min-height:0}.payment-left{padding:14px}.payment-right{min-height:420px;padding:8px}.payment-right-inner{padding:12px}.payment-qr img{width:220px;height:220px;max-width:85%}
  .dashboard-shell{min-height:100dvh}.dash-side{width:68px!important;padding:10px 6px!important}.dash-main{margin-left:68px!important;min-width:0}.dash-top{height:60px;padding:0 10px;gap:8px}.dash-top h1{font-size:16px;max-width:58vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.plan-badge{padding:7px 9px}.dash-content{padding:12px}.metric-grid{grid-template-columns:1fr 1fr;gap:9px}.metric{min-height:105px;padding:13px}.metric h2{font-size:21px;margin:12px 0 3px}.metric .metric-top{font-size:9px}.power-grid{grid-template-columns:1fr}.power{padding:13px}.dash-card,.dash-form{padding:13px;border-radius:15px}.dash-table{display:block;overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch;white-space:nowrap}.dash-table th,.dash-table td{padding:11px 10px}.action-row{flex-wrap:wrap}.action-row .btn{flex:1 1 auto}
  .admin-shell{min-height:100dvh}.admin-side{width:66px!important;position:fixed!important;top:0!important;bottom:0!important;height:100dvh!important;padding:10px 6px!important}.admin-main{margin-left:0;min-width:0}.admin-top{top:0;padding:10px 10px;min-height:60px}.admin-top h1{font-size:17px}.admin-content{padding:10px}.admin-kpis{grid-template-columns:1fr 1fr;gap:9px}.admin-kpi{padding:13px;border-radius:14px}.admin-kpi b{font-size:22px}.admin-grid2,.admin-detail{grid-template-columns:1fr;gap:12px}.admin-card,.admin-detail-box{padding:13px;border-radius:15px}.admin-card{overflow-x:auto}.admin-table{min-width:700px}.admin-product-preview{grid-template-columns:1fr}.admin-product-preview img{width:100%;height:auto;max-height:240px}.admin-actions{display:grid;grid-template-columns:1fr 1fr}.admin-actions .btn{width:100%}
  .pm-controls{grid-template-columns:1fr!important}.pm-view{grid-column:auto!important}.pm-card{grid-template-columns:22px 60px minmax(0,1fr);gap:9px;padding:10px}.pm-image{width:60px;height:55px}.pm-actions{grid-column:2/-1;display:grid;grid-template-columns:1fr 1fr}.pm-actions .btn{width:100%}.pm-list{max-height:58dvh}
  .account-shell{padding:20px 0 40px}.account-head{align-items:flex-start;flex-direction:column;gap:12px}.account-layout{grid-template-columns:1fr;gap:12px}.account-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.account-nav button{padding:11px 9px;font-size:12px}.account-panel{padding:14px}.account-help{padding:16px}.account-stats{grid-template-columns:1fr 1fr}.account-stat{padding:13px}.account-stat b{font-size:24px}.account-order{gap:9px;padding:13px 0}.asset-card{align-items:flex-start;flex-wrap:wrap;padding:11px}.asset-actions{width:100%}.asset-actions .btn{flex:1}
  .profile-head{padding:15px;border-radius:17px;flex-direction:column}.profile-logo{width:72px;height:72px;border-radius:18px}.seller-profile-actions{width:100%}.seller-action-buttons{display:grid;grid-template-columns:1fr 1fr}.seller-action-buttons .btn{width:100%}.stats{gap:10px}.seller-products.list-view .product-card{grid-template-columns:100px minmax(0,1fr)!important}.seller-products.list-view .product-card .thumb{min-height:145px!important}
  .plans,.se-pricing-grid{grid-template-columns:1fr}.plan,.se-plan-card{min-height:0;padding:22px}.se-pricing-hero{padding:22px 10px}.se-pricing-hero h2,.se-faq-hero h2,.se-sitemap-hero h2{font-size:34px}
  .ref-top,.ref-stats{grid-template-columns:1fr}.ref-upgrade-card{padding:14px}.ref-level-grid{grid-template-columns:1fr 1fr}.finance-adjust-grid{grid-template-columns:1fr}.file-link-fields{grid-template-columns:1fr}.file-link-row{align-items:stretch!important}.file-link-row>.btn{width:100%}
  .badge-library,.badge-credit-bar,.trust-grid,.store-socials{grid-template-columns:1fr 1fr}.control-row{flex-direction:column;align-items:stretch}.control-row .btn{width:100%}.seller-guideline-grid,.se-guide-two,.se-info-columns,.se-terms-grid{grid-template-columns:1fr}.se-guide-product-grid,.se-guide-practices{grid-template-columns:1fr}.se-legal-contact-card,.se-refund-columns,.se-info-list,.se-legal-mini-grid{grid-template-columns:1fr}.se-about-split,.se-about-core{grid-template-columns:1fr;padding:20px 14px}.se-about-feature-grid,.se-about-four-grid,.se-about-trust-stats{grid-template-columns:1fr 1fr}.se-about-feature-wide{grid-column:1/-1}
  .footer{padding:28px 0}.footer-grid{grid-template-columns:1fr 1fr;gap:18px}.footer a{font-size:12px}
  .ad-card{width:260px}.ad-premium-card{width:310px}.seller-admin-preview-bar{width:calc(100% - 16px);bottom:12px}.se-studio-panel{left:7px!important;right:7px!important;max-height:calc(100dvh - 76px)!important}
  .se-scroll-panel,.se-admin-list-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.se-scroll-panel .admin-table,.se-scroll-panel .dash-table,.se-admin-list-scroll .admin-table{min-width:700px}
}
@media (max-width: 430px){
  .container{padding-left:11px;padding-right:11px}.grid{grid-template-columns:1fr 1fr;gap:8px}.product-card .body{padding:9px}.product-card h3{font-size:12px}.seller-avatar{width:24px;height:24px}.metric-grid,.admin-kpis{grid-template-columns:1fr 1fr}.metric h2{font-size:19px}.admin-kpi b{font-size:19px}.admin-actions,.pm-actions,.seller-action-buttons{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.account-stats{grid-template-columns:1fr}.payment-options{grid-template-columns:1fr}.hero h1{font-size:31px}.detail-info h1{font-size:23px}.detail-price{font-size:25px}.se-about-feature-grid,.se-about-four-grid,.se-about-trust-stats,.badge-library,.badge-credit-bar,.trust-grid,.store-socials{grid-template-columns:1fr}.se-about-feature-wide{grid-column:auto}
}
@media (hover:none){
  .btn:hover,.product-card:hover,.admin-card:hover,.admin-kpi:hover,.dash-content button:hover,.dash-content .metric:hover,.dash-content .power:hover,.dash-content .dash-card:hover{transform:none!important;box-shadow:none!important}
}


/* SaleEarn CSS part 06 */

/* Home/mobile product image: preserve the source image aspect ratio and use the available card width. */
@media (max-width:760px){
  #marketResults>.product-card .thumb{height:auto!important;min-height:0!important;aspect-ratio:auto!important;display:block!important;}
  #marketResults>.product-card .thumb img{position:static!important;inset:auto!important;width:100%!important;height:auto!important;max-width:100%!important;max-height:none!important;object-fit:contain!important;object-position:center!important;padding:0!important;display:block!important;}
}
@media (max-width:430px){
  #marketResults>.product-card .thumb{height:auto!important;min-height:0!important;}
}


/* SaleEarn CSS part 07 */

/* Frequently Bought Together: make related-product images large, centered and fully visible. */
@media (max-width:760px){
  .bundle-box .grid{gap:12px!important;align-items:stretch!important}
  .bundle-box .product-card{min-width:0!important;overflow:hidden!important}
  .bundle-box .product-card .thumb{
    width:100%!important;
    height:180px!important;
    min-height:180px!important;
    max-height:none!important;
    padding:7px!important;
    box-sizing:border-box!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    overflow:hidden!important;
    background:var(--soft,#eef2f8)!important;
  }
  .bundle-box .product-card .thumb img{
    position:static!important;
    inset:auto!important;
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    max-height:100%!important;
    padding:0!important;
    object-fit:contain!important;
    object-position:center!important;
  }
  .bundle-box .product-card .body{padding:10px!important;min-width:0!important}
  .bundle-box .product-card h3{font-size:13px!important;line-height:1.25!important}
}
@media (max-width:430px){
  .bundle-box .grid{gap:10px!important}
  .bundle-box .product-card .thumb{height:170px!important;min-height:170px!important;padding:6px!important}
  .bundle-box .product-card .body{padding:9px!important}
}
@media (max-width:380px){
  .bundle-box .product-card .thumb{height:210px!important;min-height:210px!important}
}


/* SaleEarn CSS part 08 */

@media (max-width:900px){
  .message-shell{width:100%!important;display:grid!important;grid-template-columns:1fr!important;gap:0!important;min-height:0!important;border:1px solid var(--line,#dfe4ee)!important;border-radius:18px!important;overflow:hidden!important;background:var(--card,#fff)!important;box-shadow:0 10px 28px rgba(10,20,40,.08)!important}
  .message-list{width:100%!important;max-height:210px!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;padding:10px!important;box-sizing:border-box!important;border:0!important;border-bottom:1px solid var(--line,#dfe4ee)!important}
  .message-list-head{position:sticky!important;top:0!important;z-index:4!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;padding:4px 2px 9px!important;background:var(--card,#fff)!important}
  .message-thread-row{width:100%!important;min-height:62px!important;display:grid!important;grid-template-columns:42px minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;padding:10px!important;margin:4px 0!important;border:1px solid var(--line,#dfe4ee)!important;border-radius:13px!important;box-sizing:border-box!important;text-align:left!important;overflow:hidden!important}
  .message-thread-main{min-width:0!important;overflow:hidden!important}.message-thread-main b,.message-thread-main small{display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.message-thread-main small{margin-top:3px!important}
  .message-chat{width:100%!important;min-height:0!important;height:auto!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;background:var(--card,#fff)!important}
  .message-chat-head{min-height:62px!important;padding:10px 12px!important;display:flex!important;align-items:center!important;gap:9px!important;flex-wrap:nowrap!important;border-bottom:1px solid var(--line,#dfe4ee)!important;background:var(--card,#fff)!important}
  .message-chat-head>div{min-width:0!important;flex:1!important}.message-chat-head b{font-size:14px!important}.message-chat-head .small{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.message-chat-head .btn{min-height:38px!important;padding:7px 10px!important;font-size:11px!important;white-space:nowrap!important}
  .message-bubbles{width:100%!important;min-height:330px!important;max-height:none!important;padding:14px 11px!important;box-sizing:border-box!important;overflow-y:auto!important;overflow-x:hidden!important;display:flex!important;flex-direction:column!important;gap:2px!important;background:var(--bg,#f7f8fb)!important;-webkit-overflow-scrolling:touch!important}
  .message-bubble{max-width:88%!important;width:max-content!important;padding:10px 12px!important;margin:4px 0!important;border-radius:15px 15px 15px 5px!important;line-height:1.42!important;font-size:13px!important;overflow-wrap:anywhere!important;word-break:break-word!important;box-sizing:border-box!important}.message-bubble.mine{margin-left:auto!important;border-radius:15px 15px 5px 15px!important}.message-bubble small{font-size:9px!important;margin-top:5px!important}
  .message-empty{min-height:300px!important;padding:30px 18px!important}.message-empty h2{font-size:19px!important;margin:0 0 7px!important}
  .message-compose{width:100%!important;padding:10px!important;border-top:1px solid var(--line,#dfe4ee)!important;box-sizing:border-box!important;background:var(--card,#fff)!important}.message-compose textarea{width:100%!important;min-height:76px!important;max-height:150px!important;resize:vertical!important;border-radius:13px!important;padding:11px!important;box-sizing:border-box!important}
  .message-compose-actions{width:100%!important;display:flex!important;align-items:center!important;gap:8px!important;margin-top:8px!important}.message-compose-actions .btn{min-height:43px!important}.message-limit{font-size:10px!important;margin-left:auto!important;white-space:nowrap!important}.dashboard-shell .message-shell{margin:0!important}.dashboard-shell .message-chat{min-height:0!important}
}
@media (max-width:600px){
  .dashboard-shell .message-list{display:none!important}.dashboard-shell .message-shell{border-radius:16px!important}.dashboard-shell .message-chat-head{min-height:66px!important;padding:10px!important}
  .dashboard-shell .message-bubbles{min-height:calc(100dvh - 350px)!important;max-height:calc(100dvh - 350px)!important}.dashboard-shell .message-compose-actions{flex-wrap:wrap!important}.dashboard-shell .message-compose-actions .btn{flex:1 1 130px!important}.dashboard-shell .message-limit{flex:1 0 100%!important;text-align:right!important;margin-left:0!important}
  .admin-content .message-list{max-height:190px!important}.admin-content .message-bubbles{min-height:320px!important;max-height:48dvh!important}
}
@media (max-width:380px){.message-chat-head .btn{padding:7px 8px!important;font-size:10px!important}.message-bubble{max-width:93%!important;font-size:12.5px!important}.message-compose-actions .btn{flex-basis:100%!important;width:100%!important}}


/* SaleEarn CSS part 09 */

/* Mobile chat: own messages always sit on the right; received messages on the left. */
.message-bubbles{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
}
.message-bubbles .message-bubble{
  align-self:flex-start!important;
  margin-right:auto!important;
  margin-left:0!important;
}
.message-bubbles .message-bubble.mine{
  align-self:flex-end!important;
  margin-left:auto!important;
  margin-right:0!important;
}
@media(max-width:600px){
  .message-bubbles{width:100%!important;box-sizing:border-box!important;}
  .message-bubbles .message-bubble{max-width:82%!important;}
  .message-bubbles .message-bubble.mine{max-width:82%!important;}
}


/* SaleEarn CSS part 10 */

.public-file-name-list{display:grid;gap:7px;margin:14px 0 4px;padding-top:12px;border-top:1px solid var(--line,#2a3850)}
.public-file-name-heading{font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.public-file-name{display:flex;align-items:center;gap:9px;min-width:0;padding:9px 10px;border:1px solid var(--line,#2a3850);border-radius:10px;background:var(--soft,#111c2f)}
.public-file-name span{flex:0 0 auto}.public-file-name b{min-width:0;overflow-wrap:anywhere;font-size:12px}


/* SaleEarn CSS part 11 */

@media(max-width:767px){
  .se-mobile-collapsible{position:relative}
  .se-mobile-collapsible:not(.is-expanded):not(ul):not(ol){
    display:-webkit-box!important;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:4;
    overflow:hidden!important;
  }
  .se-mobile-collapsible:not(.is-expanded):is(ul,ol){
    max-height:8.2em!important;
    overflow:hidden!important;
  }
  .se-mobile-collapsible:not(.is-expanded):is(ul,ol)::after{
    content:'…';
    position:absolute;
    right:2px;
    bottom:0;
    padding-left:18px;
    background:linear-gradient(90deg,transparent,var(--surface,#fff) 45%);
    color:var(--muted,#667085);
    font-weight:900;
  }
  .se-mobile-more-btn{
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
    min-height:42px;
    margin-top:8px;
    padding:8px 13px;
    border:1px solid var(--line,#d9deea);
    border-radius:11px;
    background:var(--surface,#fff);
    color:var(--brand,#5146e5);
    font:inherit;
    font-size:13px;
    font-weight:900;
    cursor:pointer;
  }
  :root[data-theme="dark"] .se-mobile-more-btn{
    background:#121d31;
    border-color:#30415f;
    color:#aaa4ff;
  }
}
@media(min-width:768px){.se-mobile-more-btn{display:none!important}}


/* SaleEarn CSS part 12 */

/* Mobile product detail: keep the full product image visible and match the compact card layout. */
@media (max-width:760px){
  .detail-wrap{padding:12px 0 92px!important}
  .detail-main,
  .detail-main.ratio-landscape,
  .detail-main.ratio-portrait,
  .detail-main.ratio-square{
    display:block!important;
    width:100%!important;
    box-sizing:border-box!important;
    padding:14px!important;
    margin:0!important;
    border-radius:18px!important;
    overflow:hidden!important;
  }
  .detail-image,
  .detail-main.ratio-landscape .detail-image,
  .detail-main.ratio-portrait .detail-image,
  .detail-main.ratio-square .detail-image{
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    aspect-ratio:16/10!important;
    padding:10px!important;
    box-sizing:border-box!important;
    border-radius:15px!important;
    overflow:hidden!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
  .detail-image img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    max-height:100%!important;
    object-fit:contain!important;
    object-position:center!important;
  }
  .detail-info{padding:4px 0 0!important}
  .detail-info h1{font-size:25px!important;line-height:1.18!important;margin:12px 0 8px!important}
  .detail-price{font-size:29px!important;margin:14px 0!important}
  .detail-actions{margin:14px 0!important;gap:9px!important}
}
@media (max-width:430px){
  .detail-main,
  .detail-main.ratio-landscape,
  .detail-main.ratio-portrait,
  .detail-main.ratio-square{padding:12px!important;border-radius:17px!important}
  .detail-image,
  .detail-main.ratio-landscape .detail-image,
  .detail-main.ratio-portrait .detail-image,
  .detail-main.ratio-square .detail-image{aspect-ratio:16/10!important;padding:8px!important;border-radius:14px!important}
  .detail-info h1{font-size:23px!important}
}


/* SaleEarn CSS part 13 */

/* Home page product cards: show the complete image at its natural aspect ratio.
   Do not crop or force a fixed-height thumbnail on mobile. */
@media (max-width:760px){
  #home-trending .product-card .thumb,
  #home-trending .product-card .thumb img{
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
  }
  #home-trending .product-card .thumb{
    width:100%!important;
    aspect-ratio:auto!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    overflow:hidden!important;
  }
  #home-trending .product-card .thumb img{
    position:static!important;
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    object-fit:contain!important;
    object-position:center!important;
    padding:0!important;
  }
}


/* SaleEarn CSS part 14 */

@media (max-width:760px){
  .pm-shell{padding:12px!important;overflow:hidden!important}
  .pm-list{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;max-height:none!important;overflow:visible!important;padding:0 0 28px!important}
  .pm-card{width:100%!important;box-sizing:border-box!important;grid-template-columns:20px 68px minmax(0,1fr)!important;grid-template-rows:auto auto!important;gap:8px 9px!important;padding:10px!important;border-radius:15px!important;min-height:0!important;align-items:start!important}
  .pm-check{grid-column:1!important;grid-row:1!important;padding-top:3px!important}
  .pm-image{grid-column:2!important;grid-row:1!important;width:68px!important;height:68px!important;min-width:68px!important;border-radius:10px!important;overflow:hidden!important}
  .pm-image img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;display:block!important}
  .pm-info{grid-column:3!important;grid-row:1!important;min-width:0!important;padding:0!important}
  .pm-info h3{font-size:13px!important;line-height:1.16!important;margin:1px 0 4px!important;-webkit-line-clamp:3!important;max-height:45px!important;overflow:hidden!important}
  .pm-top{gap:4px!important;margin-bottom:3px!important}.pm-top .small{font-size:9px!important;line-height:1.2!important}.pm-info .small{font-size:10px!important;line-height:1.25!important}
  .pm-actions{grid-column:2 / -1!important;grid-row:2!important;width:100%!important;display:grid!important;grid-template-columns:1fr!important;gap:6px!important;margin:0!important;padding:0!important}
  .pm-actions .btn{width:100%!important;min-height:40px!important;padding:8px 10px!important;font-size:11px!important;box-sizing:border-box!important}
  .pm-card .product-check-badge{font-size:9px!important;padding:4px 7px!important}
}
@media (max-width:430px){
  .pm-shell{padding:10px!important}.pm-card{grid-template-columns:19px 64px minmax(0,1fr)!important;gap:7px 8px!important;padding:9px!important}.pm-image{width:64px!important;height:64px!important;min-width:64px!important}.pm-info h3{font-size:12.5px!important;max-height:43px!important}.pm-actions .btn{min-height:39px!important}.pm-list{padding-bottom:34px!important}
}


/* SaleEarn CSS part 15 */

/* Mobile dashboard polish: prevent inner order/table panels from escaping rounded cards. */
@media (max-width:760px){
  .dash-content{overflow-x:hidden}
  .dash-content .dash-card{
    border-radius:18px!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }
  .dash-content .dash-card:has(> div > input[placeholder*="Search by product"]){
    border-radius:18px!important;
    padding:12px!important;
  }
  .dash-content .dash-card:has(.dash-table){
    border-radius:18px!important;
    overflow:hidden!important;
    padding:0!important;
    background:var(--surface)!important;
  }
  .dash-content .dash-table{
    width:100%!important;
    min-width:0!important;
    border:0!important;
    border-radius:18px!important;
    overflow:hidden!important;
    background:transparent!important;
  }
  .dash-content .dash-table tbody tr:last-child td:only-child,
  .dash-content .dash-table tbody tr td[colspan]{
    padding:42px 18px!important;
    text-align:center!important;
    border:0!important;
    border-radius:0 0 18px 18px!important;
    background:var(--surface)!important;
    color:var(--muted)!important;
    font-size:13px!important;
  }
  .dash-content .dash-table th:first-child{border-radius:18px 0 0 0}
  .dash-content .dash-table th:last-child{border-radius:0 18px 0 0}

  /* Consistent soft corners for dashboard panels/controls instead of sharp rectangles. */
  .dash-content .metric,
  .dash-content .power,
  .dash-content .dash-form,
  .dash-content .stat-card,
  .dash-content .setting-card,
  .dash-content .security-box,
  .dash-content .order-card,
  .dash-content .library-card,
  .dash-content .store-card,
  .dash-content .account-panel,
  .dash-content .profile-card,
  .dash-content .ref-card,
  .dash-content .payment-card,
  .dash-content .balance-card,
  .dash-content .history-card,
  .dash-content .warning-card,
  .dash-content .service-card,
  .dash-content .summary-card,
  .dash-content .earning-card,
  .dash-content .payout-card{
    border-radius:18px!important;
  }
  .dash-content input,
  .dash-content textarea,
  .dash-content select,
  .dash-content .btn,
  .dash-content button,
  .dash-content .pill,
  .dash-content .tag{
    border-radius:12px!important;
  }
}


/* SaleEarn CSS part 16 */

/* Seller Dashboard > Payout Requests — mobile-first history layout. */
@media (max-width:760px){
  .dash-content .payout-history-card{
    padding:0!important;
    border-radius:18px!important;
    overflow:hidden!important;
    background:var(--surface)!important;
  }
  .dash-content .payout-history-card>h3{
    margin:0!important;
    padding:15px 16px!important;
    font-size:16px!important;
    line-height:1.25!important;
    border-bottom:1px solid var(--line)!important;
  }
  .dash-content .payout-history-panel{
    width:100%!important;
    max-width:100%!important;
    overflow:visible!important;
    padding:10px!important;
    box-sizing:border-box!important;
  }
  .dash-content .payout-history-table{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    white-space:normal!important;
    overflow:visible!important;
    border:0!important;
    border-collapse:separate!important;
    background:transparent!important;
  }
  .dash-content .payout-history-table thead{display:none!important}
  .dash-content .payout-history-table tbody{display:grid!important;gap:9px!important}
  .dash-content .payout-history-table tbody tr{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:0!important;
    width:100%!important;
    margin:0!important;
    padding:10px 11px!important;
    box-sizing:border-box!important;
    border:1px solid var(--line)!important;
    border-radius:14px!important;
    background:color-mix(in srgb,var(--card) 92%,var(--surface))!important;
    overflow:hidden!important;
  }
  .dash-content .payout-history-table tbody tr td{
    display:block!important;
    min-width:0!important;
    padding:8px 7px!important;
    border:0!important;
    border-bottom:1px solid color-mix(in srgb,var(--line) 55%,transparent)!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    font-size:12px!important;
    line-height:1.4!important;
    text-align:left!important;
    background:transparent!important;
  }
  .dash-content .payout-history-table tbody tr td:nth-child(1){font-weight:800}
  .dash-content .payout-history-table tbody tr td:nth-child(2){text-align:right!important}
  .dash-content .payout-history-table tbody tr td:nth-child(3){display:flex!important;align-items:center!important}
  .dash-content .payout-history-table tbody tr td:nth-child(4){font-size:11px!important;color:var(--muted)!important}
  .dash-content .payout-history-table tbody tr td:nth-child(5){grid-column:1/-1!important;border-bottom:0!important;color:var(--muted)!important}
  .dash-content .payout-history-table tbody tr td:nth-child(1)::before,
  .dash-content .payout-history-table tbody tr td:nth-child(2)::before,
  .dash-content .payout-history-table tbody tr td:nth-child(3)::before,
  .dash-content .payout-history-table tbody tr td:nth-child(4)::before,
  .dash-content .payout-history-table tbody tr td:nth-child(5)::before{
    display:block!important;
    margin-bottom:3px!important;
    font-size:9px!important;
    font-weight:900!important;
    letter-spacing:.06em!important;
    text-transform:uppercase!important;
    color:var(--muted)!important;
  }
  .dash-content .payout-history-table tbody tr td:nth-child(1)::before{content:'Requested'}
  .dash-content .payout-history-table tbody tr td:nth-child(2)::before{content:'Approved / Paid'}
  .dash-content .payout-history-table tbody tr td:nth-child(3)::before{content:'Status'}
  .dash-content .payout-history-table tbody tr td:nth-child(4)::before{content:'Date'}
  .dash-content .payout-history-table tbody tr td:nth-child(5)::before{content:'Note / Reference'}
  .dash-content .payout-history-table tbody tr td[colspan]{
    grid-column:1/-1!important;
    min-height:90px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    padding:24px 12px!important;
    border:0!important;
    border-radius:12px!important;
  }
}
@media (max-width:430px){
  .dash-content .payout-history-card>h3{padding:14px 14px!important;font-size:15px!important}
  .dash-content .payout-history-panel{padding:8px!important}
  .dash-content .payout-history-table tbody tr{grid-template-columns:1fr 1fr!important;padding:8px!important;border-radius:13px!important}
  .dash-content .payout-history-table tbody tr td{padding:7px 6px!important;font-size:11.5px!important}
}


/* SaleEarn CSS part 17 */

@media (max-width:760px){
  .payment-service-modal{
    padding:18px!important;
    border-radius:20px!important;
    box-sizing:border-box!important;
  }
  .payment-service-modal > div:first-child{
    margin-bottom:18px!important;
    padding-right:38px!important;
  }
  .payment-service-modal > div:first-child h2{
    font-size:23px!important;
    line-height:1.15!important;
  }
  .payment-service-modal .dash-card{
    margin-bottom:16px!important;
    padding:15px!important;
    border-radius:16px!important;
  }
  .payment-service-modal .field{
    margin-bottom:16px!important;
  }
  .payment-service-modal .field > div{
    gap:9px!important;
  }
  .payment-service-modal #serviceCoupon{
    min-width:0!important;
    width:100%!important;
    box-sizing:border-box!important;
  }
  .payment-service-modal .service-pay-options{
    display:flex!important;
    flex-direction:column!important;
    gap:12px!important;
    margin:18px 0 16px!important;
  }
  .payment-service-modal .service-pay-options .btn{
    width:100%!important;
    min-height:48px!important;
    padding:12px 14px!important;
    border-radius:12px!important;
    white-space:normal!important;
    line-height:1.25!important;
  }
  .payment-service-modal > p.small{
    margin-top:10px!important;
    line-height:1.45!important;
  }
}


/* SaleEarn CSS part 18 */

/* Seller Dashboard > My Products — mobile-first layout polish */
@media (max-width:760px){
  .pm-shell{
    width:100%!important;max-width:100%!important;box-sizing:border-box!important;
    padding:13px!important;border-radius:18px!important;overflow:hidden!important;
  }
  .pm-shell>.section-head{
    display:flex!important;align-items:center!important;justify-content:space-between!important;
    gap:10px!important;margin-bottom:12px!important;
  }
  .pm-shell>.section-head>div{min-width:0!important}.pm-shell>.section-head h2{font-size:20px!important;margin:0!important}.pm-shell>.section-head p{font-size:11px!important;line-height:1.4!important;margin:3px 0 0!important}
  .pm-shell>.section-head>.btn{flex:0 0 auto!important;min-height:42px!important;padding:9px 11px!important;font-size:12px!important}

  .pm-tabs{
    display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;gap:7px!important;
    padding:2px 1px 7px!important;margin:8px 0 10px!important;scrollbar-width:none!important;
  }
  .pm-tabs::-webkit-scrollbar{display:none!important}
  .pm-tab{flex:0 0 auto!important;min-height:40px!important;padding:9px 12px!important;border-radius:11px!important;font-size:11px!important;white-space:nowrap!important}
  .pm-available{font-size:11px!important;margin:0 0 9px!important;opacity:.85}

  .pm-controls{
    display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:7px!important;margin:9px 0!important;
  }
  .pm-controls>.input{width:100%!important;min-width:0!important;min-height:43px!important;box-sizing:border-box!important;font-size:13px!important}
  .pm-controls>.input:first-child{grid-column:1/-1!important}
  .pm-view{grid-column:1/-1!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important}
  .pm-view .btn{width:100%!important;min-height:40px!important}

  .pm-bulk{
    display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important;
    align-items:center!important;padding:10px 0!important;margin:9px 0 11px!important;
  }
  .pm-bulk label{font-size:12px!important;min-height:40px;display:flex;align-items:center;gap:6px}
  .pm-bulk label input{width:18px;height:18px}
  .pm-bulk>span{font-size:11px!important;grid-column:1/-1!important;order:3;opacity:.8}
  .pm-bulk>.btn{width:100%!important;min-height:40px!important;padding:8px 7px!important;font-size:10.5px!important}

  .pm-list{
    display:grid!important;grid-template-columns:1fr!important;gap:10px!important;
    max-height:none!important;overflow:visible!important;padding:0 0 24px!important;
    border:0!important;background:transparent!important;
  }
  .pm-card{
    width:100%!important;box-sizing:border-box!important;display:grid!important;
    grid-template-columns:20px 82px minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;gap:9px 10px!important;
    padding:11px!important;border-radius:15px!important;min-height:0!important;
    overflow:hidden!important;
  }
  .pm-check{grid-column:1!important;grid-row:1!important;padding-top:3px!important}
  .pm-image{grid-column:2!important;grid-row:1!important;width:82px!important;height:76px!important;min-width:82px!important;border-radius:11px!important;overflow:hidden!important}
  .pm-image img{width:100%!important;height:100%!important;display:block!important;object-fit:contain!important;object-position:center!important}
  .pm-info{grid-column:3!important;grid-row:1!important;min-width:0!important}
  .pm-top{gap:4px!important;margin-bottom:3px!important;min-width:0!important}
  .pm-status{font-size:9px!important;padding:4px 7px!important;white-space:nowrap!important}
  .pm-top .small{font-size:9px!important;line-height:1.2!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
  .pm-info h3{
    font-size:14px!important;line-height:1.18!important;margin:2px 0 5px!important;
    display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:3!important;
    overflow:hidden!important;overflow-wrap:anywhere!important;max-height:50px!important;
  }
  .pm-info>.small{font-size:10px!important;line-height:1.25!important;overflow-wrap:anywhere!important}
  .pm-actions{
    grid-column:2/-1!important;grid-row:2!important;width:100%!important;
    display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:7px!important;margin:0!important;padding-top:1px!important;
  }
  .pm-actions .btn{
    width:100%!important;min-height:40px!important;padding:8px 5px!important;
    font-size:11px!important;box-sizing:border-box!important;white-space:nowrap!important;
  }
  .pm-empty{padding:28px 14px!important;border-radius:15px!important}
  .pm-recycle-notice{border-radius:14px!important;padding:11px!important;gap:8px!important;font-size:11px!important}
  .pm-recycle-notice span{font-size:10px!important;line-height:1.4!important}
  .pm-recycle-notice .btn{width:100%!important}
}
@media (max-width:430px){
  .pm-shell{padding:10px!important}
  .pm-shell>.section-head{align-items:flex-start!important}
  .pm-shell>.section-head h2{font-size:19px!important}
  .pm-shell>.section-head>.btn{min-height:40px!important;font-size:11px!important;padding:8px 9px!important}
  .pm-card{grid-template-columns:19px 72px minmax(0,1fr)!important;gap:8px!important;padding:9px!important}
  .pm-image{width:72px!important;height:68px!important;min-width:72px!important}
  .pm-info h3{font-size:13px!important;line-height:1.17!important;max-height:46px!important}
  .pm-actions{gap:6px!important}
  .pm-actions .btn{min-height:39px!important;font-size:10px!important;padding:7px 4px!important}
}
@media (max-width:350px){
  .pm-actions{grid-template-columns:1fr 1fr!important}
  .pm-actions .btn:last-child{grid-column:1/-1}
}


/* SaleEarn CSS part 19 */

/* Seller Dashboard > Overview: mobile metric cards */
@media (max-width:760px){
  .dashboard-shell .dash-content{padding:12px 12px 92px!important;}
  .dashboard-shell .metric-grid{grid-template-columns:1fr!important;gap:10px!important;margin:0!important;}
  .dashboard-shell .metric-grid .metric{
    width:100%!important;box-sizing:border-box!important;min-height:0!important;
    padding:15px 14px 16px!important;border-radius:18px!important;
    border:1px solid rgba(124,145,181,.22)!important;
    border-bottom:4px solid var(--brand2)!important;
    background:linear-gradient(145deg,#111a2b,#0f1726)!important;
    box-shadow:0 5px 14px rgba(0,0,0,.16)!important;
    overflow:hidden!important;
  }
  .dashboard-shell .metric-grid .metric.orange{border-bottom-color:#f2a619!important;}
  .dashboard-shell .metric-grid .metric.green{border-bottom-color:#18b97d!important;}
  .dashboard-shell .metric-grid .metric.pink{border-bottom-color:#e64f9b!important;}
  .dashboard-shell .metric .metric-top{
    display:flex!important;align-items:center!important;justify-content:space-between!important;
    gap:10px!important;min-height:34px!important;color:#9aa8be!important;
  }
  .dashboard-shell .metric .metric-top>span:first-child{
    width:30px!important;height:30px!important;flex:0 0 30px!important;
    display:grid!important;place-items:center!important;border-radius:10px!important;
    background:#18243a!important;border:1px solid rgba(150,170,205,.16)!important;
    color:#cbd7e8!important;font-size:13px!important;font-weight:900!important;
  }
  .dashboard-shell .metric .metric-label{
    min-height:28px!important;padding:6px 11px!important;border-radius:999px!important;
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    font-size:10px!important;font-weight:900!important;line-height:1!important;
    white-space:nowrap!important;border:1px solid rgba(255,255,255,.08)!important;
  }
  .dashboard-shell .metric .metric-label.total{background:#e8edff!important;color:#5367bd!important;}
  .dashboard-shell .metric .metric-label.receive{background:#fff0b8!important;color:#8c6810!important;}
  .dashboard-shell .metric .metric-label.received{background:#d9f5e9!important;color:#147253!important;}
  .dashboard-shell .metric .metric-label.sales{background:#eee2ff!important;color:#7651ae!important;}
  .dashboard-shell .metric h2{
    margin:13px 0 4px!important;font-size:23px!important;line-height:1.12!important;
    letter-spacing:-.02em!important;color:#f5f8ff!important;
  }
  .dashboard-shell .metric>div:last-child{
    font-size:13px!important;line-height:1.28!important;color:#e2e7f0!important;
    max-width:100%!important;overflow-wrap:anywhere!important;
  }
  .dashboard-shell .dash-card{margin-top:12px!important;border-radius:18px!important;}
  .dashboard-shell .dash-card .section-head{gap:10px!important;}
  .dashboard-shell .dash-card .section-head h3{font-size:16px!important;}
  .dashboard-shell .dash-card .section-head p{font-size:11px!important;line-height:1.35!important;}
}


/* SaleEarn CSS part 20 */

/* Seller Dashboard pages — unified mobile redesign for Payouts, Subscription, Ads, Orders and related panels. */
@media (max-width:760px){
  .dashboard-shell .dash-content{padding:12px 12px 88px!important;}
  .dashboard-shell .dash-card{border-radius:18px!important;padding:14px!important;margin-top:11px!important;overflow:hidden!important;}
  .dashboard-shell .dash-card h2,.dashboard-shell .dash-card h3{line-height:1.2!important;}
  .dashboard-shell .section-head{gap:9px!important;}
  .dashboard-shell .section-head h2{font-size:19px!important;margin:0!important;}
  .dashboard-shell .section-head h3{font-size:16px!important;margin:0!important;}
  .dashboard-shell .section-head p{font-size:11px!important;line-height:1.45!important;margin:3px 0 0!important;}

  /* Payouts / wallet */
  .dashboard-shell .dash-content .dash-card[style*="background:#111a2d"]{
    padding:15px!important;border-radius:20px!important;background:linear-gradient(145deg,#111d33,#0d1525)!important;
    border:1px solid rgba(125,150,190,.18)!important;box-shadow:0 12px 28px rgba(0,0,0,.18)!important;
  }
  .dashboard-shell .dash-content .dash-card[style*="background:#111a2d"]>div:first-child{
    align-items:center!important;gap:8px!important;
  }
  .dashboard-shell .dash-content .dash-card[style*="background:#111a2d"] h3{font-size:17px!important;}
  .dashboard-shell .dash-content .dash-card[style*="background:#111a2d"] .metric-grid{
    display:grid!important;grid-template-columns:1fr!important;gap:8px!important;margin-top:12px!important;
  }
  .dashboard-shell .dash-content .dash-card[style*="background:#111a2d"] .metric-grid .metric{
    min-height:0!important;padding:12px!important;border-radius:13px!important;background:#18243a!important;
    border:1px solid rgba(145,165,205,.12)!important;box-shadow:none!important;
  }
  .dashboard-shell .dash-content .dash-card[style*="background:#111a2d"] .metric h2{font-size:23px!important;margin:8px 0 0!important;}
  .dashboard-shell .dash-content .warning-card{border-radius:15px!important;margin-top:10px!important;padding:12px!important;font-size:12px!important;}
  .dashboard-shell .dash-content .field{margin-bottom:12px!important;}
  .dashboard-shell .dash-content .field label{font-size:11px!important;font-weight:850!important;margin-bottom:5px!important;display:block!important;}
  .dashboard-shell .dash-content .field input,
  .dashboard-shell .dash-content .field select,
  .dashboard-shell .dash-content .field textarea{width:100%!important;box-sizing:border-box!important;min-height:44px!important;border-radius:11px!important;}

  /* Payout history */
  .dashboard-shell .dash-content .payout-history-card{border-radius:18px!important;overflow:hidden!important;padding:0!important;}
  .dashboard-shell .dash-content .payout-history-card>h3{padding:14px 15px!important;margin:0!important;border-bottom:1px solid var(--line)!important;}
  .dashboard-shell .dash-content .payout-history-panel{padding:8px!important;}

  /* Subscription / Plans */
  .dashboard-shell .plans{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;}
  .dashboard-shell .plan{
    width:100%!important;box-sizing:border-box!important;min-height:0!important;padding:17px 15px!important;
    border-radius:19px!important;background:linear-gradient(145deg,#111b2d,#0e1626)!important;
    border:1px solid rgba(130,150,190,.18)!important;box-shadow:0 8px 22px rgba(0,0,0,.14)!important;
    overflow:hidden!important;
  }
  .dashboard-shell .plan.current{border-color:rgba(124,108,245,.65)!important;box-shadow:0 10px 28px rgba(81,70,229,.16)!important;}
  .dashboard-shell .plan h2{font-size:22px!important;margin:0 0 7px!important;}
  .dashboard-shell .plan .plan-price{font-size:26px!important;font-weight:950!important;margin-bottom:8px!important;}
  .dashboard-shell .plan .pill{display:inline-flex!important;font-size:10px!important;margin-bottom:10px!important;}
  .dashboard-shell .plan ul{margin:8px 0 0!important;padding-left:20px!important;}
  .dashboard-shell .plan li{font-size:12px!important;line-height:1.45!important;margin:7px 0!important;}
  .dashboard-shell .plan .btn{margin-top:13px!important;min-height:45px!important;border-radius:11px!important;}

  /* Ads / My Ads */
  .dashboard-shell .dash-content> .dash-table,
  .dashboard-shell .dash-content>.se-scroll-panel>.dash-table{display:block!important;width:100%!important;min-width:0!important;white-space:normal!important;overflow:visible!important;}
  .dashboard-shell .dash-content> .dash-table thead,
  .dashboard-shell .dash-content>.se-scroll-panel>.dash-table thead{display:none!important;}
  .dashboard-shell .dash-content> .dash-table tbody,
  .dashboard-shell .dash-content>.se-scroll-panel>.dash-table tbody{display:grid!important;gap:9px!important;}
  .dashboard-shell .dash-content> .dash-table tbody tr,
  .dashboard-shell .dash-content>.se-scroll-panel>.dash-table tbody tr{
    display:grid!important;grid-template-columns:1fr 1fr!important;gap:0!important;
    padding:10px!important;border:1px solid var(--line)!important;border-radius:15px!important;
    background:color-mix(in srgb,var(--card) 92%,var(--surface))!important;overflow:hidden!important;
  }
  .dashboard-shell .dash-content> .dash-table tbody td,
  .dashboard-shell .dash-content>.se-scroll-panel>.dash-table tbody td{
    display:block!important;padding:7px 6px!important;border:0!important;border-bottom:1px solid color-mix(in srgb,var(--line) 50%,transparent)!important;
    white-space:normal!important;overflow-wrap:anywhere!important;font-size:11px!important;line-height:1.35!important;
  }
  .dashboard-shell .dash-content> .dash-table tbody td:last-child,
  .dashboard-shell .dash-content>.se-scroll-panel>.dash-table tbody td:last-child{border-bottom:0!important;}
  .dashboard-shell .dash-content> .dash-table tbody td:nth-child(odd){text-align:left!important;}
  .dashboard-shell .dash-content> .dash-table tbody td:nth-child(even){text-align:right!important;}
  .dashboard-shell .dash-content> .dash-table tbody td[colspan]{grid-column:1/-1!important;min-height:80px!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;border:0!important;}
  .dashboard-shell .dash-content .status{font-size:9px!important;padding:5px 7px!important;border-radius:999px!important;display:inline-flex!important;}
  .dashboard-shell .dash-content .btn.primary{border-radius:11px!important;}
  .dashboard-shell .dash-content>h3{font-size:14px!important;margin:15px 2px 8px!important;letter-spacing:.02em!important;}
  .dashboard-shell .dash-content> .btn.primary:first-child{width:100%!important;min-height:46px!important;font-size:12px!important;border-radius:12px!important;}

  /* Orders */
  .dashboard-shell .dash-content .dash-card:has(input[placeholder*="Search by product"]){padding:10px!important;border-radius:17px!important;}
  .dashboard-shell .dash-content .dash-card:has(input[placeholder*="Search by product"])>div:first-child{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:7px!important;align-items:center!important;}
  .dashboard-shell .dash-content .dash-card:has(input[placeholder*="Search by product"]) input{min-width:0!important;height:43px!important;}
  .dashboard-shell .dash-content .dash-card:has(input[placeholder*="Search by product"]) b{font-size:10px!important;white-space:nowrap!important;}

  /* Followers / referral / warnings / settings cards get the same spacing rhythm. */
  .dashboard-shell .security-row,.dashboard-shell .warning-card,.dashboard-shell .warning-message,
  .dashboard-shell .power,.dashboard-shell .control-row,.dashboard-shell .payout-card,.dashboard-shell .earning-card{
    border-radius:14px!important;
  }
  .dashboard-shell .power-grid{grid-template-columns:1fr!important;gap:8px!important;}
  .dashboard-shell .power{padding:12px!important;min-height:58px!important;}
}
@media (max-width:430px){
  .dashboard-shell .dash-content{padding:10px 9px 86px!important;}
  .dashboard-shell .dash-card{padding:12px!important;border-radius:16px!important;}
  .dashboard-shell .plan{padding:15px 13px!important;}
  .dashboard-shell .plan h2{font-size:20px!important;}
  .dashboard-shell .plan .plan-price{font-size:24px!important;}
  .dashboard-shell .dash-content> .dash-table tbody tr{padding:8px!important;border-radius:13px!important;}
  .dashboard-shell .dash-content> .dash-table tbody td{padding:6px 5px!important;font-size:10.5px!important;}
}


/* SaleEarn CSS part 21 */

/* Keep tiny edit/delete controls inside chat metadata from inheriting the global mobile 44px button size. */
.message-bubble .msg-mini-btn{
  min-height:0!important;
  min-width:0!important;
  width:auto!important;
  height:18px!important;
  padding:0 2px!important;
  margin:0 0 0 3px!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  font-size:10px!important;
  line-height:18px!important;
  vertical-align:middle!important;
}
.message-bubble small{
  min-height:0!important;
  line-height:12px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:2px!important;
}
@media(max-width:600px){
  .dashboard-shell .message-bubble,
  .admin-content .message-bubble{
    width:max-content!important;
    min-width:0!important;
    min-height:0!important;
    padding:7px 9px!important;
    margin:3px 0!important;
    line-height:1.3!important;
    font-size:12px!important;
  }
  .dashboard-shell .message-bubble small,
  .admin-content .message-bubble small{font-size:8px!important;margin-top:3px!important;line-height:11px!important}
  .dashboard-shell .message-bubble .msg-mini-btn,
  .admin-content .message-bubble .msg-mini-btn{height:16px!important;line-height:16px!important;font-size:9px!important}
}

/* Mobile Security layout fix: keep Change User ID text readable and controls side-by-side. */
@media (max-width:600px){
  .dashboard-shell .security-row{align-items:flex-start!important;gap:12px!important;}
  .dashboard-shell .security-row > div:nth-child(2){width:100%!important;min-width:0!important;display:flex!important;align-items:center!important;gap:8px!important;}
  .dashboard-shell .security-row > div:nth-child(2) input{flex:1 1 auto!important;width:0!important;min-width:0!important;max-width:none!important;}
  .dashboard-shell .security-row > div:nth-child(2) .btn{flex:0 0 auto!important;white-space:nowrap!important;}
}

/* Mobile Security layout fix: readable labels and properly spaced controls. */
@media (max-width:600px){
  .account-shell .security-row{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    align-items:start!important;
    gap:10px!important;
    padding:14px 0!important;
  }
  .account-shell .security-row > div:first-child{
    width:100%!important;
    min-width:0!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
  }
  .account-shell .security-row > div:first-child b{
    display:block!important;
    white-space:nowrap!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
    font-size:15px!important;
    line-height:1.35!important;
  }
  .account-shell .security-row > div:first-child .small{
    display:block!important;
    white-space:normal!important;
    word-break:normal!important;
    line-height:1.35!important;
    margin-top:3px!important;
  }
  .account-shell .security-row > div:nth-child(2){
    width:100%!important;
    min-width:0!important;
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    box-sizing:border-box!important;
  }
  .account-shell .security-row > div:nth-child(2) input{
    flex:1 1 auto!important;
    width:0!important;
    min-width:0!important;
    max-width:none!important;
    box-sizing:border-box!important;
  }
  .account-shell .security-row > div:nth-child(2) .btn{
    flex:0 0 auto!important;
    width:auto!important;
    min-width:76px!important;
    white-space:nowrap!important;
    box-sizing:border-box!important;
  }
  .account-shell .security-row > .account-badge{
    justify-self:start!important;
  }
}

/* Live Admin pricing page */
.se-pricing-page .se-plan-card{cursor:pointer;position:relative;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.se-pricing-page .se-plan-card:hover{transform:translateY(-3px);box-shadow:0 16px 40px rgba(0,0,0,.18)}
.se-plan-view-btn{width:100%;margin-top:18px}
.se-pricing-detail-modal{max-width:620px!important}
.se-pricing-detail-head{display:flex;align-items:center;gap:14px;padding-right:28px}
.se-pricing-detail-head h2{margin:2px 0 4px}
.se-pricing-detail-price{display:flex;align-items:baseline;gap:7px;margin:20px 0 8px;padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--panel2)}
.se-pricing-detail-price span{font-size:34px;font-weight:950}
.se-pricing-detail-price small{color:var(--muted)}
.se-pricing-alt{display:flex;gap:12px;flex-wrap:wrap;margin:10px 0 18px}
.se-pricing-alt span{padding:8px 11px;border:1px solid var(--line);border-radius:10px;font-size:13px}
.se-pricing-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0 20px}
.se-pricing-detail-grid>div{padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--panel2);display:flex;flex-direction:column;gap:4px}
.se-pricing-detail-grid b{font-size:12px;color:var(--muted)}
.se-pricing-detail-grid span{font-weight:850}
.se-pricing-detail-features{padding-left:0;list-style:none;display:grid;gap:9px;margin:10px 0 4px}
.se-pricing-detail-features li{display:flex;gap:9px;align-items:flex-start}
.se-pricing-detail-features i{font-style:normal;font-weight:900}
@media(max-width:640px){.se-pricing-detail-modal{width:min(94vw,620px)!important}.se-pricing-detail-grid{grid-template-columns:1fr}.se-pricing-detail-price span{font-size:29px}.se-pricing-page .se-plan-card{padding:18px}}
