:root{--purple:#6d3df5;--purple-2:#8b65ff;--purple-soft:#f0ebff;--ink:#17151e;--muted:#696577;--line:#eae8ef;--surface:#fff;--bg:#faf9fc;--danger:#ef4444;--success:#10b981;--warning:#f59e0b;--shadow:0 12px 34px rgba(39,31,67,.08);--radius:22px;--sidebar:298px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:"Plus Jakarta Sans",system-ui,sans-serif;background:var(--bg);color:var(--ink);font-size:14px}button,input,textarea,select{font:inherit}button,a{color:inherit}button{cursor:pointer}a{text-decoration:none}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.brand-mark svg{fill:currentColor;stroke:none}.app-shell{min-height:100vh}.sidebar{width:var(--sidebar);height:100vh;position:fixed;inset:0 auto 0 0;background:var(--surface);border-right:1px solid var(--line);padding:28px 25px;display:flex;flex-direction:column;z-index:50}.brand{display:flex;align-items:center;gap:14px;padding:0 18px;margin-bottom:47px}.brand-mark{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;color:#fff;background:linear-gradient(145deg,var(--purple-2),var(--purple));box-shadow:0 9px 20px rgba(109,61,245,.25);flex:none}.brand-mark svg{width:27px;height:27px}.brand strong{display:block;font-size:20px;font-weight:800;letter-spacing:-.6px}.brand small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.side-nav{display:flex;flex-direction:column;gap:7px}.side-nav a{height:58px;border-radius:13px;padding:0 18px;display:flex;align-items:center;gap:17px;font-size:15px;font-weight:600;color:#3d3949;transition:.2s}.side-nav a:hover{background:var(--purple-soft);color:var(--purple)}.side-nav a.active{background:linear-gradient(90deg,#ede7ff,#f7f4ff);color:var(--purple)}.side-nav i{display:grid}.side-nav svg{width:22px;height:22px}.trust-card{margin-top:auto;border:1px solid var(--line);border-radius:16px;padding:16px;display:flex;gap:11px;background:linear-gradient(145deg,#fff,#fcfaff)}.trust-icon{width:38px;height:38px;display:grid;place-items:center;color:var(--purple);background:var(--purple-soft);border-radius:12px;flex:none}.trust-card strong{font-size:12px;color:var(--purple)}.trust-card p{font-size:10px;line-height:1.6;color:var(--muted);margin:6px 0 0}.sidebar-close{display:none}.content-shell{margin-left:var(--sidebar);min-height:100vh;display:flex;flex-direction:column}.topbar{height:92px;padding:0 clamp(22px,4vw,70px);background:color-mix(in srgb,var(--surface) 91%,transparent);backdrop-filter:blur(18px);border-bottom:1px solid var(--line);display:flex;align-items:center;gap:22px;position:sticky;top:0;z-index:40}.global-search{height:49px;max-width:638px;flex:1;border:1px solid var(--line);background:var(--surface);border-radius:14px;padding:0 17px;display:flex;align-items:center;gap:12px;box-shadow:0 2px 6px rgba(20,15,35,.02)}.global-search:focus-within{border-color:var(--purple-2);box-shadow:0 0 0 4px rgba(109,61,245,.08)}.global-search input{border:0;outline:0;background:none;color:var(--ink);min-width:0;flex:1;font-size:13px}.global-search kbd{font-size:10px;color:var(--muted);border:1px solid var(--line);padding:3px 6px;border-radius:5px}.top-actions{display:flex;align-items:center;gap:14px;margin-left:auto}.lang-btn,.theme-btn,.user-chip{height:48px;border:1px solid var(--line);background:var(--surface);border-radius:14px;display:flex;align-items:center;gap:9px;padding:0 16px;font-weight:700}.lang-btn svg{width:15px}.theme-btn{padding:0 12px;gap:8px;color:var(--muted)}.theme-btn svg{width:17px}.theme-track{width:28px;height:16px;border-radius:20px;background:#e6e2ec;padding:2px}.theme-track b{display:block;width:12px;height:12px;border-radius:50%;background:#fff;transition:.2s}.login-btn{height:48px;border:0;border-radius:13px;background:linear-gradient(145deg,var(--purple-2),var(--purple));color:#fff;padding:0 21px;display:flex;align-items:center;gap:9px;font-weight:700;box-shadow:0 9px 18px rgba(109,61,245,.2)}.user-chip{max-width:180px}.user-chip>span:not(.avatar){white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.avatar{width:30px;height:30px;border-radius:99px;background:var(--purple-soft);color:var(--purple);display:grid;place-items:center;font-size:12px;font-weight:800}main{width:min(1170px,calc(100% - 48px));margin:27px auto 70px;flex:1}.page-loading{min-height:60vh;display:grid;place-content:center;text-align:center;color:var(--muted)}.loader{width:35px;height:35px;border:3px solid var(--purple-soft);border-top-color:var(--purple);border-radius:50%;animation:spin .8s linear infinite;margin:auto}@keyframes spin{to{transform:rotate(360deg)}}.hero{width:100%;height:320px;border-radius:20px;overflow:hidden;background:#eee8ff;position:relative;padding:36px 44px;display:flex;align-items:center}.hero.hero-image-only{padding:0;height:auto;min-height:0;background:transparent;border-radius:20px;overflow:hidden}.hero-art{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:right center}.hero.hero-image-only .hero-art{position:relative;width:100%;height:auto;display:block;object-fit:contain;border-radius:20px}.hero-bg{position:absolute;inset:0;background:linear-gradient(90deg,#f4f0ff 0%,rgba(244,240,255,.96) 42%,rgba(244,240,255,.35) 68%,transparent 100%);z-index:1}.dark .hero-bg{background:linear-gradient(90deg,#1c1828 0%,rgba(28,24,40,.96) 45%,rgba(28,24,40,.35) 70%,transparent 100%)}.dark .hero{background:#211934}.hero-copy{position:relative;z-index:2;max-width:480px}.eyebrow{display:inline-flex;padding:5px 12px;border-radius:30px;background:#e6dcff;color:var(--purple);font-size:11px;font-weight:700}.hero h1{font-size:34px;line-height:1.2;letter-spacing:-1.2px;margin:12px 0 8px;max-width:440px;color:var(--ink)}.hero h1 em{font-style:normal;color:var(--purple)}.hero p{font-size:13px;line-height:1.5;color:#5e596c;max-width:420px;margin:0}.hero-benefits{display:flex;align-items:center;gap:24px;margin-top:20px}.benefit{display:flex;align-items:center;gap:8px;color:#554f62;font-size:11px;line-height:1.3}.benefit b{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#fff;color:var(--purple);box-shadow:0 4px 12px rgba(109,61,245,.12);flex:none}.benefit svg{width:16px;height:16px}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:36px 0 18px}.section-head h2{font-size:25px;letter-spacing:-.7px;margin:0}.section-head p{margin:7px 0 0;color:var(--muted);font-size:12px}.section-head button{border:0;background:none;color:var(--purple);font-weight:700}.category-row{display:flex;gap:11px;overflow:auto;padding:1px 1px 12px;scrollbar-width:none}.category-row::-webkit-scrollbar{display:none}.category-chip{height:45px;white-space:nowrap;border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:0 19px;display:flex;align-items:center;gap:9px;font-weight:700;font-size:12px}.category-chip.active{color:#fff;border-color:var(--purple);background:linear-gradient(145deg,var(--purple-2),var(--purple));box-shadow:0 8px 18px rgba(109,61,245,.16)}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:27px 25px}.product-card{background:var(--surface);border:1px solid rgba(232,230,238,.9);border-radius:20px;overflow:hidden;position:relative;box-shadow:0 10px 25px rgba(38,31,61,.06);transition:transform .2s,box-shadow .2s}.product-card:hover{transform:translateY(-4px);box-shadow:0 18px 34px rgba(38,31,61,.12)}.product-thumb{height:155px;background:linear-gradient(140deg,#27115c,#7038f5);position:relative;overflow:hidden;display:grid;place-items:center}.product-thumb img{width:100%;height:100%;object-fit:cover}.product-monogram{font-size:35px;color:#fff;font-weight:800;letter-spacing:-2px}.product-thumb:after{content:"";position:absolute;width:130px;height:130px;border:1px solid rgba(255,255,255,.15);border-radius:50%;right:-30px;bottom:-62px}.badge{position:absolute;top:13px;left:13px;padding:6px 10px;border-radius:99px;color:#fff;background:linear-gradient(145deg,#946fff,#6d3df5);font-size:10px;font-weight:700;z-index:2}.badge.sale{background:#ef476f}.badge.stock{background:#f59e0b}.favorite-btn{position:absolute;right:12px;top:12px;width:35px;height:35px;border:0;border-radius:50%;background:rgba(255,255,255,.95);color:#696577;display:grid;place-items:center;z-index:2}.favorite-btn.active{color:#ef476f}.favorite-btn.active svg{fill:#ef476f}.card-body{padding:16px}.card-body h3{font-size:14px;line-height:1.45;margin:0;min-height:41px}.card-meta{font-size:10px;color:var(--muted);margin:6px 0 16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px}.price small{display:block;color:var(--muted);font-size:9px;margin-bottom:3px}.price strong{font-size:14px;color:var(--purple)}.buy-btn{width:39px;height:39px;border-radius:11px;border:1px solid #ddd5ff;background:#fff;color:var(--purple);display:grid;place-items:center}.empty-state{grid-column:1/-1;text-align:center;padding:80px 20px;border:1px dashed var(--line);border-radius:20px;color:var(--muted)}.empty-state b{display:block;color:var(--ink);font-size:18px;margin:12px}.page-heading{margin:10px 0 28px}.page-heading h1{font-size:31px;letter-spacing:-1px;margin:0}.page-heading p{color:var(--muted)}.dashboard-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.metric-card{border:1px solid var(--line);background:var(--surface);border-radius:18px;padding:20px}.metric-card i{width:38px;height:38px;border-radius:12px;background:var(--purple-soft);color:var(--purple);display:grid;place-items:center;margin-bottom:18px}.metric-card small{color:var(--muted)}.metric-card strong{display:block;font-size:24px;margin-top:6px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:24px;margin-top:20px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.panel-head h2,.panel h2{margin:0;font-size:18px}.tabs{display:flex;gap:8px;overflow:auto;border-bottom:1px solid var(--line);padding-bottom:12px;margin-bottom:20px}.tab{border:0;background:transparent;padding:10px 14px;border-radius:10px;font-weight:700;color:var(--muted);white-space:nowrap}.tab.active{background:var(--purple-soft);color:var(--purple)}.table-wrap{overflow:auto}.data-table{width:100%;border-collapse:collapse;min-width:720px}.data-table th{text-align:left;padding:12px;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.6px}.data-table td{padding:14px 12px;border-top:1px solid var(--line);font-size:12px;vertical-align:top}.status{display:inline-flex;padding:5px 9px;border-radius:99px;font-size:9px;font-weight:800;text-transform:uppercase}.status.success,.status.active,.status.answered{background:#dff9ef;color:#07885d}.status.pending,.status.open,.status.processing{background:#fff4d6;color:#9a6500}.status.failed,.status.expired,.status.inactive{background:#ffe5e9;color:#c42d48}.order-account{background:var(--bg);border:1px solid var(--line);padding:10px;border-radius:10px;margin-top:8px;font-family:ui-monospace,monospace;white-space:pre-wrap}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.field{display:flex;flex-direction:column;gap:7px}.field.full{grid-column:1/-1}.field label{font-size:11px;font-weight:700}.field input,.field textarea,.field select{width:100%;border:1px solid var(--line);border-radius:11px;background:var(--surface);color:var(--ink);padding:12px 13px;outline:0}.field textarea{min-height:110px;resize:vertical}.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--purple)}.primary-btn,.secondary-btn,.danger-btn{border:0;border-radius:11px;padding:12px 17px;font-weight:700}.primary-btn{background:var(--purple);color:#fff}.secondary-btn{background:var(--purple-soft);color:var(--purple)}.danger-btn{background:#ffe5e9;color:#c42d48}.small-btn{padding:7px 10px;font-size:10px}.profile-layout{display:grid;grid-template-columns:270px 1fr;gap:20px}.profile-side{background:linear-gradient(145deg,#7241f7,#8f6aff);color:#fff;border-radius:20px;padding:25px}.profile-avatar{width:65px;height:65px;border-radius:19px;background:rgba(255,255,255,.2);display:grid;place-items:center;font-size:25px;font-weight:800}.profile-side h2{margin:17px 0 5px}.profile-side p{opacity:.75;font-size:11px}.balance-card{margin-top:28px;padding-top:20px;border-top:1px solid rgba(255,255,255,.2)}.balance-card small{opacity:.75}.balance-card strong{display:block;font-size:25px;margin:6px 0 14px}.modal-layer:empty{display:none}.modal-backdrop{position:fixed;inset:0;background:rgba(17,12,31,.55);backdrop-filter:blur(6px);z-index:100}.modal{position:fixed;z-index:101;background:var(--surface);border-radius:24px;box-shadow:0 30px 80px rgba(11,7,26,.25);top:50%;left:50%;transform:translate(-50%,-50%);max-height:calc(100vh - 34px);overflow:auto}.modal-close{position:absolute;right:15px;top:15px;z-index:4}.icon-btn{border:1px solid var(--line);background:var(--surface);color:var(--ink);width:40px;height:40px;border-radius:11px;display:grid;place-items:center}.auth-modal{width:min(850px,calc(100% - 30px));display:grid;grid-template-columns:.9fr 1.1fr;overflow:hidden}.auth-visual{padding:55px 38px;background:linear-gradient(145deg,#eee7ff,#dcd0ff);min-height:480px}.auth-visual .brand-mark{margin-bottom:55px}.auth-visual h2{font-size:30px;letter-spacing:-1px}.auth-visual p{color:#655b7a;line-height:1.7}.auth-form-wrap{padding:48px}.auth-tabs{display:flex;background:var(--bg);border-radius:12px;padding:4px;margin-bottom:27px}.auth-tabs button{flex:1;border:0;background:none;padding:10px;border-radius:99px;font-weight:700;color:var(--muted)}.auth-tabs button.active{background:var(--surface);color:var(--purple);box-shadow:0 3px 10px rgba(30,20,60,.08)}.auth-form h2{margin:0 0 7px}.auth-form>p{color:var(--muted);font-size:12px;margin:0 0 24px}.auth-form .field{margin-bottom:14px}.auth-form .primary-btn{width:100%;margin-top:7px}.password-input-wrap{position:relative;display:flex;align-items:center;width:100%}.password-input-wrap input{padding-right:42px!important}.toggle-password-btn{position:absolute;right:6px;top:50%;transform:translateY(-50%);background:transparent;border:0;padding:6px;display:grid;place-items:center;color:var(--muted);border-radius:8px;transition:color .2s,background-color .2s;cursor:pointer}.toggle-password-btn:hover,.toggle-password-btn.active{color:var(--purple);background:var(--purple-soft)}.toggle-password-btn svg{width:18px;height:18px}.auth-extra-row{display:flex;justify-content:flex-end;align-items:center;margin:-4px 0 16px}.forgot-password-link{background:none;border:0;padding:0;color:var(--purple);font-size:12px;font-weight:600;cursor:pointer;transition:opacity .2s;text-decoration:none}.forgot-password-link:hover{text-decoration:underline;opacity:.85}.product-modal{width:min(970px,calc(100% - 30px));padding:28px}.product-detail{display:grid;grid-template-columns:1fr 1.1fr;gap:32px}.detail-media{border-radius:18px;overflow:hidden;min-height:350px;background:linear-gradient(145deg,#20104d,#7741f7);display:grid;place-items:center;position:relative}.detail-media img{width:100%;height:100%;object-fit:cover;position:absolute}.detail-media .product-monogram{font-size:60px}.detail-content{padding:6px 5px}.detail-content h2{font-size:27px;margin:8px 0}.detail-desc{color:var(--muted);line-height:1.7}.variant-list{display:grid;gap:8px;margin:18px 0}.variant-option{border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:13px;text-align:left;display:flex;justify-content:space-between;gap:12px}.variant-option.active{border-color:var(--purple);background:var(--purple-soft)}.variant-option small{display:block;color:var(--muted);margin-top:4px}.variant-option strong{color:var(--purple);white-space:nowrap}.checkout-row{display:flex;align-items:end;gap:10px}.qty-control{display:flex;border:1px solid var(--line);border-radius:11px;overflow:hidden;height:45px}.qty-control button{width:38px;border:0;background:var(--surface)}.qty-control input{width:45px;text-align:center;border:0;background:var(--surface);color:var(--ink)}.checkout-row .primary-btn{height:45px;flex:1}.pricing-box{background:var(--bg);border-radius:13px;padding:14px;margin:13px 0}.pricing-line{display:flex;justify-content:space-between;gap:10px;margin:5px 0;font-size:11px}.pricing-line.total{font-size:14px;font-weight:800;padding-top:9px;border-top:1px solid var(--line)}.terms-box{border-left:3px solid var(--purple);padding:8px 12px;margin:14px 0;color:var(--muted);font-size:10px;white-space:pre-wrap}.payment-modal{width:min(480px,calc(100% - 30px));padding:30px;text-align:center}.payment-modal h2{margin:4px}.qr-wrap{width:220px;height:220px;margin:20px auto;padding:12px;border:1px solid var(--line);border-radius:18px;background:#fff;display:grid;place-items:center}.qr-wrap img,.qr-wrap canvas{max-width:100%;max-height:100%}.payment-amount{font-size:25px;color:var(--purple);font-weight:800}.payment-meta{background:var(--bg);border-radius:13px;padding:13px;margin:16px 0;text-align:left}.countdown{color:var(--danger);font-weight:800}.toast-stack{position:fixed;right:20px;bottom:20px;display:flex;flex-direction:column;gap:9px;z-index:200}.toast{max-width:360px;background:#211b2d;color:#fff;padding:13px 16px;border-radius:12px;box-shadow:var(--shadow);animation:toast-in .25s}.toast.success{background:#087d59}.toast.error{background:#bd3248}@keyframes toast-in{from{transform:translateY(15px);opacity:0}}footer{border-top:1px solid var(--line);padding:25px clamp(22px,4vw,70px);display:flex;justify-content:space-between;color:var(--muted);font-size:10px}footer span:last-child{display:flex;gap:20px}.menu-btn{display:none}.sidebar-overlay{display:none}.install-card{background:linear-gradient(145deg,#2d175f,#713ef2);color:#fff;border-radius:24px;padding:42px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:25px}.install-card p{opacity:.75;max-width:570px;line-height:1.7}.install-icon{font-size:65px}.content-page{line-height:1.8}.content-page h3{margin-top:25px}.admin-nav{display:flex;gap:9px;overflow:auto;padding-bottom:8px}.admin-nav button{white-space:nowrap}.asset-item{display:grid;grid-template-columns:60px 1fr auto;gap:12px;align-items:center;border-top:1px solid var(--line);padding:13px 0}.asset-thumb{width:60px;height:45px;border-radius:99px;object-fit:cover;background:var(--purple-soft)}
body.dark{--ink:#f5f2ff;--muted:#a8a2b6;--line:#302b3c;--surface:#1b1822;--bg:#131118;--purple-soft:#2d2348;--shadow:0 12px 34px rgba(0,0,0,.22);color-scheme:dark}.dark .theme-track{background:var(--purple)}.dark .theme-track b{transform:translateX(12px)}.dark .hero-bg{background-image:linear-gradient(90deg,rgba(28,24,40,.97),rgba(34,27,54,.75) 40%,rgba(22,16,36,.05) 70%),var(--hero-image,url('../images/hero-digital-store.png'))}.dark .hero{background:#211934}.dark .hero p{color:#bbb3ca}.dark .product-thumb{filter:saturate(.85)}
@media(max-width:1200px){.product-grid{grid-template-columns:repeat(3,1fr)}.dashboard-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){:root{--sidebar:278px}.sidebar{transform:translateX(-105%);transition:.25s;box-shadow:20px 0 50px rgba(14,8,30,.18)}body.drawer-open .sidebar{transform:translateX(0)}.sidebar-close{display:grid;position:absolute;right:13px;top:13px}.sidebar-overlay{display:block;position:fixed;inset:0;background:rgba(14,8,30,.45);z-index:49;opacity:0;visibility:hidden;transition:.2s}body.drawer-open .sidebar-overlay{opacity:1;visibility:visible}.content-shell{margin-left:0}.menu-btn{display:grid}.topbar{padding:0 18px;height:78px}.global-search{height:44px}.global-search kbd{display:none}main{width:min(100% - 32px,760px);margin-top:18px}.hero,.hero.hero-image-only{height:260px;padding:24px 28px}.hero h1{font-size:25px;margin:8px 0 5px}.hero p{font-size:12px}.hero-benefits{gap:16px;margin-top:14px}.product-grid{grid-template-columns:repeat(2,1fr);gap:16px}.product-detail{grid-template-columns:1fr}.detail-media{min-height:270px}.profile-layout{grid-template-columns:1fr}.profile-side{display:grid;grid-template-columns:auto 1fr;gap:0 17px}.balance-card{grid-column:1/-1}.auth-modal{grid-template-columns:1fr}.auth-visual{display:none}}
@media(max-width:640px){.topbar{gap:10px;padding:0 12px}.top-actions{gap:8px}.theme-btn{width:44px;padding:0}.theme-btn .theme-track,.theme-btn i:last-child{display:none}.login-btn{height:44px;padding:0 13px}.user-chip{width:44px;height:44px;padding:0;justify-content:center}.user-chip #userChipName,.user-chip>i{display:none}.avatar{width:28px;height:28px}}
@media(max-width:600px){.top-actions{gap:7px}.lang-btn{display:none}.theme-btn{width:42px;padding:0;justify-content:center}.theme-btn .theme-track,.theme-btn svg:last-child{display:none}.login-btn{padding:0;width:42px;justify-content:center}.login-btn span{display:none}.user-chip{padding:0 8px}.user-chip>span:not(.avatar),.user-chip>svg{display:none}.global-search{padding:0 12px}.hero,.hero.hero-image-only{height:200px;padding:16px 18px}.hero-bg{background:linear-gradient(90deg,#f4f0ff 0%,rgba(244,240,255,.94) 55%,rgba(244,240,255,.3) 85%,transparent 100%)}.dark .hero-bg{background:linear-gradient(90deg,#1c1828 0%,rgba(28,24,40,.94) 55%,rgba(28,24,40,.3) 85%,transparent 100%)}.hero-copy{max-width:78%}.eyebrow{font-size:9px;padding:3px 8px}.hero h1{font-size:17px;margin:4px 0 3px;letter-spacing:-.5px}.hero p{font-size:10px;line-height:1.3}.hero-benefits{gap:8px;margin-top:8px}.benefit{font-size:9px;gap:4px}.benefit b{width:20px;height:20px}.benefit svg{width:11px;height:11px}.product-grid{gap:12px}.product-thumb{height:112px}.card-body{padding:12px}.card-body h3{font-size:12px}.card-meta{font-size:9px;margin-bottom:12px}.product-modal{padding:16px}.detail-content h2{font-size:22px}.dashboard-grid{grid-template-columns:1fr 1fr;gap:10px}.metric-card{padding:15px}.metric-card strong{font-size:18px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.panel{padding:17px}.auth-form-wrap{padding:35px 22px}.modal{border-radius:19px}.install-card{grid-template-columns:1fr;padding:28px}.install-icon{display:none}footer{flex-direction:column;gap:12px}.section-head h2{font-size:21px}}
[hidden]{display:none!important}.sidebar-close{display:none!important}@media(max-width:900px){.sidebar-close{display:grid!important}}
.hero-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}.hero-bg{background:linear-gradient(90deg,rgba(244,240,255,.99) 0%,rgba(244,240,255,.9) 38%,rgba(244,240,255,.12) 72%,rgba(244,240,255,.03))}.dark .hero-bg{background:linear-gradient(90deg,rgba(28,24,40,.98),rgba(34,27,54,.82) 42%,rgba(22,16,36,.12) 78%)}main:focus{outline:none}@media(max-width:600px){.hero-bg{background:linear-gradient(180deg,rgba(244,240,255,.99),rgba(244,240,255,.9) 58%,rgba(244,240,255,.12))}.dark .hero-bg{background:linear-gradient(180deg,rgba(28,24,40,.99),rgba(28,24,40,.88) 58%,rgba(22,16,36,.18))}}
.global-search{min-width:0}.top-actions{flex:none}.hero-copy{min-width:0}@media(max-width:600px){.topbar{gap:8px}.theme-btn{display:none}.global-search{min-width:80px}.hero h1{max-width:100%;overflow-wrap:anywhere;font-size:27px;line-height:1.25}}
/* Dedicated SaaS admin workspace */
.admin-sidebar{height:100%;min-height:0;display:flex;flex-direction:column}.admin-brand{height:58px;display:flex;align-items:center;gap:12px;padding:0 10px;margin-bottom:27px}.admin-brand-mark{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(145deg,#7d55f7,#5b34d6);color:#fff;box-shadow:0 8px 18px rgba(109,61,245,.22)}.admin-brand-mark svg{width:21px}.admin-brand span:last-child{display:flex;flex-direction:column}.admin-brand small{font-size:8px;letter-spacing:1.3px;font-weight:800;color:var(--purple);margin-bottom:3px}.admin-brand strong{font-size:17px;letter-spacing:-.4px}.admin-workspace{border:1px solid var(--line);background:var(--bg);border-radius:13px;padding:12px 14px;margin:0 3px 20px;display:grid;grid-template-columns:1fr auto;gap:3px 8px}.admin-workspace>span{grid-column:1/-1;font-size:8px;letter-spacing:1px;color:var(--muted);font-weight:800}.admin-workspace b{font-size:11px}.admin-workspace small{font-size:9px;color:var(--success);font-weight:700}.admin-side-nav{display:flex;flex-direction:column;gap:4px;min-height:0;overflow:auto}.admin-side-nav button{width:100%;height:46px;padding:0 13px;border:0;border-radius:10px;background:transparent;color:#555061;display:flex;align-items:center;gap:13px;text-align:left;font-size:12px;font-weight:650}.admin-side-nav button:hover{background:var(--bg);color:var(--ink)}.admin-side-nav button.active{background:var(--purple-soft);color:var(--purple);font-weight:800}.admin-side-nav button i{display:grid}.admin-side-nav button svg{width:18px}.admin-side-nav button span{flex:1}.admin-side-nav button>b{min-width:20px;height:20px;border-radius:99px;background:#ffebef;color:#cc3652;display:grid;place-items:center;font-size:8px}.admin-side-bottom{margin-top:auto;border-top:1px solid var(--line);padding-top:15px}.admin-side-bottom>a{height:43px;border-radius:10px;display:flex;align-items:center;gap:12px;padding:0 13px;color:var(--muted);font-size:11px;font-weight:700}.admin-side-bottom>a:hover{background:var(--bg);color:var(--purple)}.admin-secure{display:flex;gap:10px;align-items:center;margin:12px 3px 0;padding:11px;border-radius:11px;background:#f2fbf7;color:#15805c}.admin-secure>i{display:grid}.admin-secure svg{width:17px}.admin-secure span{display:flex;flex-direction:column}.admin-secure b{font-size:9px}.admin-secure small{font-size:8px;opacity:.75;margin-top:2px}.admin-top-title{display:flex;flex-direction:column;min-width:180px}.admin-top-title small{font-size:8px;letter-spacing:1.2px;color:var(--muted);font-weight:800}.admin-top-title strong{font-size:16px;margin-top:3px}.admin-mode .content-shell{background:#f6f7fb}.admin-mode .topbar{background:rgba(255,255,255,.91)}.admin-mode main{width:min(1280px,calc(100% - 54px));margin-top:30px}.admin-mode .page-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:24px}.admin-mode .page-heading h1{font-size:26px}.admin-mode .page-heading p{margin-bottom:0}.admin-page-actions{display:flex;gap:8px}.admin-overview-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:19px}.admin-overview-title h2{margin:0;font-size:18px}.admin-overview-title p{margin:5px 0 0;color:var(--muted);font-size:10px}.admin-mode .dashboard-grid{gap:13px}.admin-mode .metric-card{border-color:#ececf2;border-radius:15px;padding:17px;box-shadow:0 4px 14px rgba(33,29,55,.035)}.admin-mode .metric-card i{width:34px;height:34px;border-radius:10px;margin:0 0 16px}.admin-mode .metric-card strong{font-size:21px}.admin-mode .panel{border-color:#ececf2;border-radius:16px;box-shadow:0 5px 17px rgba(33,29,55,.035);margin-top:16px}.admin-mode .admin-nav{display:none}.admin-loading-shell{display:grid;grid-template-columns:1fr 1fr;gap:15px}.admin-skeleton{height:150px;border-radius:15px;background:linear-gradient(100deg,#f0eff4 20%,#fafafa 40%,#f0eff4 60%);background-size:200% 100%;animation:shimmer 1.2s infinite}@keyframes shimmer{to{background-position:-200% 0}}.dark.admin-mode .content-shell{background:#111016}.dark.admin-mode .topbar{background:rgba(27,24,34,.92)}.dark .admin-secure{background:#173128;color:#6ce0af}.dark .admin-side-nav button{color:#aaa4b5}.dark .admin-side-nav button.active{color:#a98cff}.dark .admin-skeleton{background:linear-gradient(100deg,#201d28 20%,#2a2632 40%,#201d28 60%);background-size:200% 100%}
@media(max-width:900px){.admin-top-title{min-width:0}.admin-mode main{width:min(100% - 32px,760px)}.admin-sidebar{padding-top:2px}}
@media(max-width:600px){.admin-top-title small{display:none}.admin-top-title strong{font-size:13px}.admin-mode .topbar .top-actions{margin-left:auto}.admin-mode .dashboard-grid{grid-template-columns:1fr 1fr}.admin-mode main{margin-top:20px}.admin-mode .page-heading{align-items:flex-start}.admin-mode .page-heading h1{font-size:22px}}
.admin-mode footer{display:none}
.sidebar{overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#d9d3e8 transparent}.sidebar::-webkit-scrollbar{width:5px}.sidebar::-webkit-scrollbar-thumb{background:#d9d3e8;border-radius:20px}.side-nav{flex:none}.contact-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.contact-card{min-height:170px;border:1px solid var(--line);background:var(--surface);border-radius:18px;padding:22px;display:flex;flex-direction:column;align-items:flex-start;transition:.2s}.contact-card:hover{transform:translateY(-3px);border-color:#d8cefa;box-shadow:var(--shadow)}.contact-card>i{width:43px;height:43px;border-radius:13px;background:var(--purple-soft);color:var(--purple);display:grid;place-items:center;margin-bottom:20px}.contact-card h3{margin:0 0 7px;font-size:15px}.contact-card p{margin:0;color:var(--muted);font-size:11px;line-height:1.6;word-break:break-word}.contact-card strong{margin-top:auto;padding-top:14px;color:var(--purple);font-size:11px}.contact-note{margin-top:18px;padding:17px;border-radius:14px;background:var(--purple-soft);color:var(--muted);font-size:11px;line-height:1.7}.dark .sidebar{scrollbar-color:#494253 transparent}@media(max-width:700px){.contact-list{grid-template-columns:1fr}.contact-card{min-height:140px}}
.brand.custom-logo{padding:0 8px;margin-bottom:47px;justify-content:flex-start}.brand.custom-logo .brand-mark{width:210px;max-width:100%;height:68px;border-radius:0;background:transparent;box-shadow:none;display:flex;justify-content:flex-start}.brand.custom-logo .brand-mark img{display:block;width:100%;height:100%;object-fit:contain;object-position:left center;border-radius:0}.hero.hero-image-only{padding:0;min-height:355px;background:var(--surface)}.hero-image-only .hero-art{width:100%;height:100%;object-fit:cover;object-position:center}.upload-favicon{padding-top:8px;border-top:1px solid var(--line)}@media(max-width:600px){.brand.custom-logo .brand-mark{width:190px;height:60px}.hero.hero-image-only{min-height:220px}.hero-image-only .hero-art{object-fit:cover}}
.contact-list-simple{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:700px){.contact-list-simple{grid-template-columns:1fr}}
.profile-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.profile-logout-top{display:inline-flex;align-items:center;gap:8px;padding:9px 16px;font-size:13px;border-radius:10px}.profile-layout-complete{display:grid;grid-template-columns:280px minmax(0,1fr);gap:24px;align-items:start}.profile-side-complete{position:sticky;top:110px;align-self:start}.profile-side{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:24px;color:var(--ink);box-shadow:none}.profile-user-card{display:flex;flex-direction:column;align-items:center;text-align:center;padding-bottom:20px;border-bottom:1px solid var(--line)}.profile-avatar{width:72px;height:72px;border-radius:20px;background:var(--purple-soft);color:var(--purple);display:grid;place-items:center;font-size:28px;font-weight:800;border:1px solid rgba(109,61,245,.15);margin-bottom:14px}.profile-user-info h2{margin:0;font-size:17px;font-weight:700;color:var(--ink);letter-spacing:-.3px}.profile-user-info p{margin:4px 0 0;font-size:12px;color:var(--muted);word-break:break-all}.profile-role-pill{display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border-radius:99px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;background:var(--bg);color:var(--muted);border:1px solid var(--line);margin-top:10px}.profile-role-pill .status-dot{width:6px;height:6px;border-radius:50%;background:var(--success)}.balance-card{margin-top:20px;padding:16px;background:var(--bg);border:1px solid var(--line);border-radius:14px}.balance-card-header{display:flex;align-items:center;justify-content:space-between;color:var(--muted)}.balance-card small{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.balance-card strong{display:block;font-size:24px;font-weight:800;color:var(--purple);margin:6px 0 14px;letter-spacing:-.5px}.deposit-side-btn{width:100%;padding:10px 14px;font-size:13px;border-radius:10px}.profile-side-actions{display:flex;flex-direction:column;gap:8px;margin-top:20px}.profile-side-actions button{height:44px;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:12px;padding:0 14px;display:flex;align-items:center;gap:12px;font-weight:600;font-size:13px;transition:all .2s ease}.profile-side-actions button:hover{border-color:var(--purple);color:var(--purple);background:var(--purple-soft)}.profile-side-actions button i{display:grid}.profile-side-actions button svg{width:18px;height:18px}.profile-side-actions button span{flex:1;text-align:left}.profile-side-actions button b{min-width:24px;height:22px;border-radius:999px;background:var(--bg);color:var(--muted);border:1px solid var(--line);display:grid;place-items:center;font-size:11px;font-weight:700}.profile-panel{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:24px;min-width:0;box-shadow:none}.profile-tabs{display:flex;gap:6px;overflow-x:auto;border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:24px;scrollbar-width:none}.profile-tabs::-webkit-scrollbar{display:none}.profile-tabs .tab{border:1px solid transparent;background:transparent;padding:8px 16px;border-radius:10px;font-weight:600;font-size:13px;color:var(--muted);white-space:nowrap;transition:all .2s ease}.profile-tabs .tab:hover{color:var(--ink);background:var(--bg)}.profile-tabs .tab.active{background:var(--purple-soft);color:var(--purple);font-weight:700;border-color:rgba(109,61,245,.15)}.metric-card{display:flex;align-items:center;gap:14px;border:1px solid var(--line);background:var(--surface);border-radius:16px;padding:16px 18px;box-shadow:none;transition:all .2s ease;min-width:0}.metric-card:hover{border-color:var(--purple);background:var(--bg)}.metric-card i{width:42px;height:42px;border-radius:12px;background:var(--purple-soft);color:var(--purple);display:grid;place-items:center;flex:none;margin-bottom:0}.metric-card div{display:flex;flex-direction:column;min-width:0;flex:1}.metric-card small{color:var(--muted);font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.metric-card strong{font-size:18px;font-weight:800;color:var(--ink);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.profile-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:28px 0 16px}.profile-section-title h3{margin:0;font-size:16px;font-weight:700;letter-spacing:-.3px;color:var(--ink)}.profile-section-title a{color:var(--purple);font-weight:700;font-size:13px;transition:opacity .2s}.profile-section-title a:hover{opacity:.8}.profile-order-list{display:grid;gap:10px}.profile-order-card{display:grid;grid-template-columns:1.2fr 1.5fr 1fr auto;gap:14px;align-items:center;border:1px solid var(--line);border-radius:14px;padding:14px 18px;background:var(--surface);transition:all .2s ease}.profile-order-card:hover{background:var(--bg);border-color:rgba(109,61,245,.2)}.profile-order-ref b{font-family:ui-monospace,monospace;font-size:13px;color:var(--ink);display:block}.profile-order-card small{display:block;color:var(--muted);font-size:11px;margin-top:2px}.profile-order-item span{font-weight:600;color:var(--ink);display:block}.profile-order-price strong{color:var(--purple);font-weight:800;font-size:14px;white-space:nowrap}.wallet-panel{border:1px solid var(--line);border-radius:16px;padding:24px;background:var(--bg);display:flex;align-items:center;justify-content:space-between;gap:20px}.wallet-panel small{color:var(--muted);font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.wallet-panel strong{display:block;font-size:32px;font-weight:800;color:var(--purple);margin:4px 0 6px;letter-spacing:-.8px}.wallet-panel p{margin:0;color:var(--muted);font-size:13px}.quick-deposit-section{margin-top:24px}.quick-deposit-section h4{margin:0 0 12px;font-size:14px;font-weight:700;color:var(--ink)}.quick-deposit{display:flex;flex-wrap:wrap;gap:10px}.quick-deposit-btn{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:12px;padding:10px 18px;font-weight:700;font-size:13px;transition:all .2s ease}.quick-deposit-btn:hover{border-color:var(--purple);color:var(--purple);background:var(--purple-soft)}.profile-account-wrap,.profile-wallet-wrap,.profile-security-wrap{display:flex;flex-direction:column;gap:20px}.field-hint{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:12px;margin-top:8px}.field-hint i{color:var(--purple)}.profile-security-note{padding:16px;border:1px solid var(--line);border-left:4px solid var(--purple);border-radius:12px;background:var(--bg);color:var(--muted);display:flex;align-items:center;gap:12px;font-size:13px;line-height:1.5}.profile-security-note i{display:grid;color:var(--purple);flex:none}.profile-logout-area{margin-top:10px;padding-top:20px;border-top:1px solid var(--line)}.profile-contact-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.profile-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
@media(max-width:1200px){.profile-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-order-card{grid-template-columns:1fr 1fr}}
@media(max-width:900px){.profile-layout-complete{grid-template-columns:1fr}.profile-side-complete{position:static}.profile-user-card{flex-direction:row;text-align:left;gap:16px}.profile-avatar{margin-bottom:0}.profile-contact-list{grid-template-columns:1fr}.profile-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.profile-heading{flex-direction:column;align-items:flex-start}.profile-logout-top{width:100%;justify-content:center}.profile-stat-grid,.profile-product-grid{grid-template-columns:1fr}.profile-order-card{grid-template-columns:1fr;align-items:start;gap:8px}.wallet-panel{flex-direction:column;align-items:flex-start}.wallet-panel .primary-btn{width:100%}.quick-deposit-btn{flex:1 1 calc(50% - 6px);text-align:center}}

/* Connected storefront topbar */
.topbar{height:96px;padding:0 clamp(22px,4vw,58px);background:color-mix(in srgb,var(--surface) 94%,transparent);border-bottom:1px solid var(--line);backdrop-filter:blur(18px)}.topbar-card{width:100%;height:100%;margin:0 auto;display:flex;align-items:center;gap:14px}.topbar-card .global-search{height:56px;max-width:430px;border-radius:15px;background:var(--surface);box-shadow:none}.topbar-card .global-search kbd{display:none}.topbar-card .top-actions{gap:12px;margin-left:auto}.topbar-card .theme-btn,.topbar-card .login-btn,.topbar-card .user-chip,.topbar-card .wallet-pill{height:54px;border-radius:13px}.topbar-card .theme-btn{width:54px;padding:0;justify-content:center}.topbar-card .theme-btn svg{width:20px;height:20px}.topbar-card .theme-track{display:none}.wallet-pill{border:1px solid var(--line);background:var(--purple-soft);color:var(--ink);display:flex;align-items:center;gap:9px;padding:0 16px;font-weight:800}.wallet-pill svg{width:18px;color:var(--purple)}.topbar-card .login-btn{padding:0 22px;border-radius:13px;background:linear-gradient(145deg,#5d19db,#6d22e8);box-shadow:0 10px 20px rgba(92,31,218,.18)}.topbar-card .login-btn span{white-space:nowrap}.topbar-card .user-chip{max-width:210px}.dark .topbar{background:rgba(27,24,34,.92)}.dark .wallet-pill{background:var(--purple-soft)}.user-edit-modal{width:min(640px,calc(100% - 30px));padding:32px;text-align:left}.user-edit-modal h2{margin:4px 0}.input-with-button{display:flex;gap:8px;align-items:center}.input-with-button input{flex:1}.tbl-actions{display:flex;align-items:center;gap:6px;flex-wrap:nowrap}.tbl-action-btn{height:32px;padding:0 10px;border-radius:9px;font-size:11px;font-weight:700;border:1px solid var(--line);background:var(--surface);color:var(--ink);display:inline-flex;align-items:center;gap:5px;transition:all .18s ease;white-space:nowrap;box-shadow:0 2px 5px rgba(20,15,35,.02)}.tbl-action-btn svg{width:14px;height:14px}.tbl-action-btn:hover{border-color:var(--purple);color:var(--purple);background:var(--purple-soft);transform:translateY(-1px)}.tbl-action-btn.primary{background:var(--purple-soft);color:var(--purple);border-color:rgba(109,61,245,.2)}.tbl-action-btn.primary:hover{background:var(--purple);color:#fff;border-color:var(--purple)}.tbl-action-btn.danger{color:#d97706;border-color:rgba(245,158,11,.25);background:#fffbeb}.tbl-action-btn.danger:hover{background:#f59e0b;color:#fff;border-color:#f59e0b}.tbl-action-btn.success{color:#059669;border-color:rgba(16,185,129,.25);background:#ecfdf5}.tbl-action-btn.success:hover{background:#10b981;color:#fff;border-color:#10b981}.data-table td{vertical-align:middle!important}.table-controls{display:flex;gap:10px;align-items:center;margin-bottom:16px;flex-wrap:wrap}.table-search{flex:1;min-width:220px;height:42px;border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:0 14px;display:flex;align-items:center;gap:10px;box-shadow:0 2px 6px rgba(20,15,35,.02)}.table-search input{border:0;outline:0;background:none;color:var(--ink);flex:1;font-size:13px}.table-controls select{height:42px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);padding:0 12px;outline:0;font-size:12px;font-weight:600;box-shadow:0 2px 6px rgba(20,15,35,.02)}.table-pagination{display:flex;justify-content:space-between;align-items:center;padding-top:16px;border-top:1px solid var(--line);color:var(--muted);font-size:12px}
@media(max-width:1180px){.topbar-card{gap:10px}.topbar-card .global-search{max-width:none}.wallet-pill span{display:none}.wallet-pill{width:54px;padding:0;justify-content:center}}
@media(max-width:900px){.topbar{height:78px;padding:0 14px}.topbar-card .menu-btn{display:grid;flex:none}.topbar-card .global-search{height:46px}.topbar-card .theme-btn,.topbar-card .login-btn,.topbar-card .user-chip,.topbar-card .wallet-pill{height:46px}.topbar-card .login-btn{padding:0 15px}}
@media(max-width:640px){.topbar-card{gap:8px}.topbar-card .global-search{min-width:0;padding:0 12px}.topbar-card .global-search i{display:none}.wallet-pill{display:none!important}.topbar-card .login-btn{width:44px;padding:0;justify-content:center}.topbar-card .login-btn i{display:grid}.topbar-card .login-btn span{display:none}.topbar-card .user-chip{width:44px;height:44px}.topbar-card .theme-btn{display:none}}
.contact-list.contact-list-simple{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:700px){.contact-list.contact-list-simple{grid-template-columns:1fr}}
.web-id-input{font-weight:800;color:var(--purple)!important;letter-spacing:.6px;background:var(--purple-soft)!important;border-color:rgba(109,61,245,.24)!important}.web-id-code{display:inline-flex;padding:6px 10px;border-radius:9px;background:var(--purple-soft);color:var(--purple);font-family:ui-monospace,monospace;font-size:12px;letter-spacing:.4px}
.invoice-detail{display:grid;gap:18px}.invoice-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:16px;border-bottom:1px solid var(--line)}.invoice-head small,.invoice-grid small{display:block;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.5px;margin-bottom:5px}.invoice-head strong{font-size:22px;color:var(--purple)}.invoice-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.invoice-grid>div{border:1px solid var(--line);border-radius:14px;padding:14px;background:var(--bg);min-width:0}.invoice-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.invoice-payment-modal .invoice-actions .primary-btn,.invoice-payment-modal .invoice-actions .secondary-btn,.invoice-payment-modal .invoice-actions .danger-btn{flex:1;min-width:128px}.wallet-filter{display:flex;gap:10px;flex-wrap:wrap;align-items:end;margin-bottom:14px}.refined-filter{background:linear-gradient(145deg,var(--bg),var(--surface));border:1px solid var(--line);border-radius:16px;padding:14px;box-shadow:0 8px 22px rgba(39,31,67,.04)}.wallet-filter label{display:flex;flex-direction:column;gap:6px;min-width:145px;flex:1}.wallet-filter label span{font-size:10px;font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.45px}.wallet-filter input,.wallet-filter select{height:42px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);padding:0 12px;outline:none;font-size:12px;box-shadow:0 2px 8px rgba(20,15,35,.02)}.wallet-filter input:focus,.wallet-filter select:focus{border-color:var(--purple);box-shadow:0 0 0 4px rgba(109,61,245,.08)}.wallet-filter input[type=date]{min-width:150px;color:var(--ink);color-scheme:light}.dark .wallet-filter input[type=date]{color-scheme:dark}.filter-submit{height:42px;border-radius:12px;padding:0 18px;align-self:flex-end}.wallet-history-panel{margin-top:6px}.saldo-in{color:var(--success)}.saldo-out{color:var(--danger)}.page-loading.mini{min-height:130px}.analytics-grid{margin-bottom:16px}.revenue-chart{height:230px;display:flex;align-items:end;gap:8px;padding:18px 6px 4px;border:1px solid var(--line);border-radius:14px;background:var(--bg);overflow:auto}.revenue-bar{min-width:36px;height:180px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:8px}.revenue-bar span{width:100%;border-radius:10px 10px 4px 4px;background:linear-gradient(180deg,var(--purple-2),var(--purple));box-shadow:0 8px 18px rgba(109,61,245,.16)}.revenue-bar small{font-size:9px;color:var(--muted);white-space:nowrap}.analytics-columns{display:grid;grid-template-columns:1.1fr .9fr;gap:16px}.status.waiting_payment,.status.paid{background:#e9e2ff;color:var(--purple)}
@media(max-width:900px){.invoice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-columns{grid-template-columns:1fr}.wallet-filter input,.wallet-filter select,.wallet-filter button{flex:1 1 150px}}
@media(max-width:600px){.invoice-grid{grid-template-columns:1fr}.invoice-head{align-items:flex-start;flex-direction:column}.invoice-head strong{font-size:18px}.revenue-chart{height:190px}.revenue-bar{height:145px}}

/* UI polish: clean filter bar, quantity control, and install icon */
.install-icon{width:92px;height:92px;border-radius:28px;background:rgba(255,255,255,.14);display:grid;place-items:center;color:#fff;font-size:0}.install-icon svg{width:48px;height:48px;stroke-width:1.4}.qty-control{background:var(--surface);box-shadow:0 3px 10px rgba(20,15,35,.03)}.qty-control button{font-weight:800;color:var(--purple);font-size:15px;transition:.18s}.qty-control button:hover{background:var(--purple-soft)}.qty-control input{font-weight:700}.refined-filter{display:grid;grid-template-columns:repeat(2,minmax(140px,1fr)) repeat(2,minmax(150px,1fr)) auto;align-items:end}.refined-filter .filter-submit{min-width:86px}.wallet-filter input[type=date]::-webkit-calendar-picker-indicator{cursor:pointer;opacity:.65}.wallet-filter input[type=date]::-webkit-calendar-picker-indicator:hover{opacity:1}@media(max-width:980px){.refined-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.refined-filter .filter-submit{width:100%}}@media(max-width:560px){.refined-filter{grid-template-columns:1fr}.wallet-filter label{min-width:0}.wallet-filter input,.wallet-filter select,.wallet-filter button{width:100%}}

/* Profile layout: top account section, bottom tab section */
.profile-layout-complete{grid-template-columns:1fr!important;gap:18px!important}.profile-side-complete{position:static!important;top:auto!important;display:grid!important;grid-template-columns:minmax(280px,1.15fr) minmax(260px,1fr) minmax(210px,.75fr);gap:16px;align-items:stretch}.profile-side-complete .profile-user-card{flex-direction:row!important;text-align:left!important;align-items:center!important;border-bottom:0!important;padding-bottom:0!important}.profile-side-complete .profile-avatar{margin:0 14px 0 0!important;flex:none}.profile-side-complete .balance-card{margin-top:0!important;padding:18px!important;height:100%;display:flex;flex-direction:column;justify-content:center}.profile-side-complete .profile-side-actions{margin-top:0!important;display:flex;flex-direction:column;justify-content:center}.profile-side-complete .profile-side-actions button{height:52px}.profile-panel{margin-top:0!important}.profile-wallet-wrap .wallet-panel{margin-top:0}@media(max-width:1050px){.profile-side-complete{grid-template-columns:1fr 1fr}.profile-side-complete .profile-side-actions{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){.profile-side-complete{grid-template-columns:1fr}.profile-side-complete .profile-side-actions{grid-template-columns:1fr}.profile-side-complete .profile-user-card{align-items:flex-start!important}.profile-side-complete .profile-avatar{width:58px;height:58px;border-radius:17px;font-size:22px}}

/* Appearance preview cards */
.color-setting-row{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}.color-setting-row input[type=color]{height:44px;padding:5px;cursor:pointer}.theme-preview-pill{height:44px;border:1px solid var(--line);background:var(--surface);border-radius:13px;padding:0 12px;display:flex;align-items:center;gap:9px;min-width:126px}.theme-preview-pill span{width:24px;height:24px;border-radius:8px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08)}.theme-preview-pill code{font:700 12px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:var(--ink);text-transform:uppercase}.appearance-preview{border:1px solid var(--line);border-radius:18px;background:linear-gradient(145deg,var(--surface),var(--bg));padding:16px;display:grid;gap:14px}.appearance-preview-head{display:flex;align-items:center;gap:12px}.appearance-preview-logo{width:42px;height:42px;border-radius:14px;box-shadow:0 9px 18px rgba(109,61,245,.18)}.appearance-preview-head b{display:block;font-size:15px}.appearance-preview-head small{display:block;color:var(--muted);font-size:11px;margin-top:2px}.appearance-preview-hero{min-height:112px;border-radius:16px;padding:18px;color:#fff;display:flex;align-items:end;justify-content:space-between;gap:16px;overflow:hidden;position:relative}.appearance-preview-hero:before{content:"";position:absolute;inset:auto -28px -60px auto;width:180px;height:180px;border-radius:50%;background:rgba(255,255,255,.18)}.appearance-preview-hero span{position:relative;font-weight:800;font-size:18px;letter-spacing:-.4px}.appearance-preview-hero button{position:relative;border:0;border-radius:12px;background:#fff;color:var(--purple);padding:10px 15px;font-weight:800}.brand-upload-grid .field{border:1px solid var(--line);border-radius:16px;padding:14px;background:var(--bg)}.brand-preview{border:1px dashed color-mix(in srgb,var(--purple) 35%,var(--line));background:var(--surface);border-radius:14px;min-height:94px;display:grid;place-items:center;overflow:hidden;color:var(--muted);font-size:12px;text-align:center}.brand-preview img{display:block;width:100%;height:100%;object-fit:contain}.brand-preview.hero-preview{min-height:150px}.brand-preview.hero-preview img{object-fit:cover}.brand-preview.logo-preview{min-height:96px;padding:12px}.brand-preview.favicon-preview{width:96px;height:96px;min-height:96px;padding:12px}.brand-preview.has-local-preview{border-style:solid;border-color:var(--purple);box-shadow:0 0 0 4px rgba(109,61,245,.08)}
@media(max-width:700px){.color-setting-row{grid-template-columns:1fr}.theme-preview-pill{width:100%}.appearance-preview-hero{align-items:flex-start;flex-direction:column}.brand-preview.hero-preview{min-height:120px}}

/* Reusable table filters, sort, and pagination */
.table-controls{display:grid;grid-template-columns:minmax(240px,1fr) repeat(3,max-content);gap:10px;align-items:center;margin:0 0 16px}.table-controls select,.table-controls input{height:42px;border:1px solid var(--line);border-radius:13px;background:var(--surface);color:var(--ink);padding:0 12px;outline:0;font-size:12px;box-shadow:0 2px 8px rgba(20,15,35,.02)}.table-controls select:focus,.table-controls input:focus{border-color:var(--purple);box-shadow:0 0 0 4px rgba(109,61,245,.08)}.table-search{height:42px;border:1px solid var(--line);border-radius:13px;background:var(--surface);display:flex;align-items:center;gap:10px;padding:0 12px;min-width:0}.table-search:focus-within{border-color:var(--purple);box-shadow:0 0 0 4px rgba(109,61,245,.08)}.table-search i{display:grid;color:var(--muted);flex:none}.table-search svg{width:17px;height:17px}.table-search input{border:0;box-shadow:none;padding:0;min-width:0;width:100%;height:auto;background:transparent}.table-search input:focus{box-shadow:none}.table-pagination{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:15px;padding-top:14px;border-top:1px solid var(--line);color:var(--muted);font-size:12px}.table-pagination>div{display:flex;gap:8px}.table-pagination button[disabled]{opacity:.45;cursor:not-allowed}.asset-list-shell{display:grid;gap:0}.asset-item small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.asset-input-row{display:flex;gap:8px;margin-top:9px}.asset-input-row input{height:38px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);padding:0 10px;outline:0;min-width:0}.asset-input-row input:focus{border-color:var(--purple)}.asset-actions{display:flex;align-items:center;gap:10px;justify-content:flex-end;flex-wrap:wrap}.asset-actions label{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:12px}.asset-actions input[type=file]{max-width:220px;font-size:12px;color:var(--muted)}
@media(max-width:960px){.table-controls{grid-template-columns:1fr 1fr}.table-search{grid-column:1/-1}.asset-item{grid-template-columns:52px 1fr;align-items:start}.asset-actions{grid-column:1/-1;justify-content:flex-start}.asset-input-row{flex-direction:column}}
@media(max-width:560px){.table-controls{grid-template-columns:1fr}.table-pagination{align-items:flex-start;flex-direction:column}.table-pagination>div{width:100%}.table-pagination button{flex:1}.asset-item{grid-template-columns:1fr}.asset-thumb{width:72px;height:54px}.asset-actions input[type=file]{max-width:100%;width:100%}}

/* Theme neutralization: keep the chosen color as accent, remove fixed purple tints */
:root{--purple-soft:#f5f6f8;--accent-shadow:rgba(20,20,20,.10)}body.dark{--purple-soft:#25242b}.brand-mark,.category-chip.active,.login-btn,.topbar-card .login-btn,.primary-btn{background:var(--purple);box-shadow:0 10px 22px var(--accent-shadow)}.brand-mark{background:linear-gradient(145deg,var(--purple),var(--purple-2))}.side-nav a:hover,.side-nav a.active,.tab.active,.profile-tabs .tab.active,.secondary-btn,.wallet-pill,.avatar,.trust-icon,.metric-card i,.profile-avatar,.web-id-code,.web-id-input,.eyebrow,.variant-option.active,.account-terms,.contact-note{background:var(--purple-soft)!important}.side-nav a.active,.tab.active,.profile-tabs .tab.active,.secondary-btn,.wallet-pill svg,.avatar,.profile-avatar,.web-id-code,.eyebrow,.variant-option strong,.account-terms b{color:var(--purple)!important}.side-nav a.active{background:var(--bg)!important;border:1px solid var(--line)}.side-nav a:hover{background:var(--bg)!important}.trust-card,.appearance-preview,.refined-filter{background:linear-gradient(145deg,var(--surface),var(--bg))}.global-search:focus-within,.table-search:focus-within,.table-controls select:focus,.table-controls input:focus,.wallet-filter input:focus,.wallet-filter select:focus,.field input:focus,.field textarea:focus,.field select:focus{box-shadow:0 0 0 4px var(--accent-shadow)}.hero:not(.hero-image-only){background:var(--surface)}.hero-bg{background:linear-gradient(90deg,var(--surface) 0%,color-mix(in srgb,var(--surface) 92%,transparent) 45%,color-mix(in srgb,var(--surface) 55%,transparent) 70%,transparent 100%)}.benefit b{box-shadow:0 4px 12px rgba(20,20,20,.08)}.category-chip.active{border-color:var(--purple);color:#fff!important}.badge{background:var(--purple)}.buy-btn{border-color:var(--line);background:var(--surface)}.product-thumb,.detail-media{background:linear-gradient(145deg,#202124,#3b3d42)}.auth-visual{background:linear-gradient(145deg,var(--surface),var(--bg))}.install-card,.appearance-preview-hero,.revenue-bar span{background:linear-gradient(145deg,var(--purple),var(--purple-2))}.status.waiting_payment,.status.paid{background:var(--purple-soft);color:var(--purple)}.profile-avatar,.profile-tabs .tab.active,.web-id-input{border-color:var(--line)!important}.dark .hero-bg{background:linear-gradient(90deg,var(--surface) 0%,rgba(27,24,34,.88) 50%,rgba(27,24,34,.35) 78%,transparent 100%)}.dark .side-nav a.active,.dark .side-nav a:hover{background:var(--surface)!important}.dark .product-thumb,.dark .detail-media{background:linear-gradient(145deg,#09090b,#27272a)}

/* Product detail page flow and 5:4 landscape thumbnails */
.product-thumb{height:auto!important;aspect-ratio:5/4}.product-thumb img{object-fit:cover!important}.product-page-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 0 16px}.product-page-heading .secondary-btn{display:inline-flex;align-items:center;gap:7px}.product-page-heading .secondary-btn svg{width:16px;height:16px;transform:rotate(90deg)}.product-page-heading>span{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.7px;color:var(--muted)}.product-detail-page{padding:28px;margin-top:0}.product-detail-page .product-detail{grid-template-columns:minmax(280px,.9fr) minmax(0,1.1fr);align-items:start}.product-detail-page .detail-media{aspect-ratio:5/4;min-height:0!important;border:1px solid var(--line);box-shadow:0 16px 38px rgba(20,15,35,.08)}.product-detail-page .detail-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.product-detail-page .detail-content h1{font-size:34px;line-height:1.15;letter-spacing:-1px;margin:10px 0}.product-detail-stats{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.product-detail-stats span{border:1px solid var(--line);background:var(--bg);border-radius:99px;padding:7px 11px;font-size:11px;color:var(--muted);font-weight:700}.product-detail-page .variant-list{margin-top:18px}.product-detail-page .checkout-row{position:sticky;bottom:12px;background:color-mix(in srgb,var(--surface) 92%,transparent);backdrop-filter:blur(12px);padding:12px;border:1px solid var(--line);border-radius:16px;box-shadow:0 12px 28px rgba(20,15,35,.08)}@media(max-width:900px){.product-detail-page{padding:18px}.product-detail-page .product-detail{grid-template-columns:1fr}.product-detail-page .detail-media{max-width:520px;width:100%;margin:auto}.product-detail-page .detail-content h1{font-size:27px}}@media(max-width:600px){.product-detail-page{padding:14px}.product-detail-page .detail-content h1{font-size:23px}.product-detail-page .checkout-row{position:static;flex-direction:column;align-items:stretch}.product-detail-page .checkout-row>div,.product-detail-page .checkout-row .primary-btn{width:100%}}

/* Topbar user dropdown */
.user-menu{position:relative;display:flex;align-items:center}.user-menu[hidden]{display:none}.user-dropdown{position:absolute;right:0;top:calc(100% + 10px);width:210px;border:1px solid var(--line);background:var(--surface);border-radius:16px;padding:8px;box-shadow:0 18px 42px rgba(20,15,35,.14);opacity:0;visibility:hidden;transform:translateY(-6px);transition:.18s;z-index:90}.user-menu.open .user-dropdown{opacity:1;visibility:visible;transform:translateY(0)}.user-menu.open .user-chip>i{transform:rotate(180deg)}.user-dropdown:before{content:"";position:absolute;right:18px;top:-6px;width:10px;height:10px;background:var(--surface);border-left:1px solid var(--line);border-top:1px solid var(--line);transform:rotate(45deg)}.user-dropdown button{width:100%;height:42px;border:0;background:transparent;color:var(--ink);border-radius:11px;padding:0 11px;display:flex;align-items:center;gap:10px;font-weight:700;text-align:left}.user-dropdown button:hover{background:var(--bg)}.user-dropdown button i{display:grid;color:var(--muted)}.user-dropdown button svg{width:17px;height:17px}.user-dropdown button.danger{color:var(--danger)}.user-dropdown button.danger i{color:var(--danger)}@media(max-width:640px){.user-dropdown{right:-6px;width:180px}.topbar-card .user-chip{position:relative}.topbar-card .user-chip #userChipName{display:none}}

/* Order table actions and purchased account modal */
.order-actions{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:150px}.order-actions .primary-btn,.order-actions .secondary-btn{white-space:nowrap}.account-data-modal{width:min(680px,calc(100% - 30px));padding:30px;text-align:left}.account-data-modal>h2{margin:8px 0 6px;font-size:24px;letter-spacing:-.6px}.account-data-modal>p{margin:0 0 18px;color:var(--muted);font-size:12px}.account-data-list{display:grid;gap:12px;margin:18px 0}.account-data-card{border:1px solid var(--line);background:var(--bg);border-radius:16px;padding:14px;display:grid;grid-template-columns:1fr auto;gap:14px;align-items:start}.account-data-card b{display:block;margin-bottom:8px;color:var(--purple)}.account-data-card pre{margin:0;white-space:pre-wrap;word-break:break-word;font:12px/1.55 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:var(--ink)}.account-terms{border-left:4px solid var(--purple);background:var(--purple-soft);border-radius:14px;padding:15px 17px;margin-top:16px}.account-terms b{display:block;color:var(--purple);margin-bottom:7px}.account-terms p{margin:0;color:var(--muted);font-size:12px;line-height:1.7;white-space:pre-wrap}.account-data-modal .invoice-actions{margin-top:18px;justify-content:flex-end}@media(max-width:640px){.order-actions{min-width:0}.account-data-modal{padding:22px}.account-data-card{grid-template-columns:1fr}.account-data-card .small-btn{width:100%}}
