:root{--wine:#8b4529;--wine-dark:#63301e;--saffron:#eb0a1e;--cream:#f3f3f3;--ink:#272727;--muted:#746354;--line:#e6d3bc;--white:#fdfdfd;--green:#4e4e4e;--shadow:0 24px 60px rgba(63,63,63,.12);--brand-primary:#8b4529;--brand-copper:#b40013;--brand-gold:#eb0a1e;--brand-soft:#f3e4d1;--brand-surface:#fdfdfd;--brand-olive:#4e4e4e}
*{box-sizing:border-box}html{font-family:"DM Sans",system-ui,sans-serif;color:var(--ink);background:var(--cream)}body{margin:0}a{color:inherit}.auth-page{min-height:100vh;background:#fff}.auth-shell{display:grid;grid-template-columns:minmax(420px,1.05fr) minmax(480px,.95fr);min-height:100vh}.brand-panel{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;padding:clamp(44px,6vw,88px);background:radial-gradient(circle at 80% 15%,#eb0a1e 0,transparent 35%),linear-gradient(145deg,#eb0a1e,#eb0a1e 60%,#eb0a1e)}.brand-panel:before{content:"";position:absolute;width:420px;height:420px;border:1px solid rgba(255,255,255,.35);border-radius:50%;right:-120px;top:-80px}.brand-copy{position:relative;z-index:2;max-width:620px}.eyebrow{font-size:.74rem;letter-spacing:.16em;font-weight:700;color:var(--wine)}.brand-copy h1,.welcome h2,.setup-card h1,.admin-main h1{font-family:"Playfair Display",Georgia,serif}.brand-copy h1{font-size:clamp(2.8rem,5vw,5.8rem);line-height:.96;margin:20px 0;color:#401713}.brand-copy h1 em{color:var(--wine);font-style:normal}.brand-copy p{font-size:1.08rem;line-height:1.7;max-width:540px}.brand-pills{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}.brand-pills span{border:1px solid rgba(80,29,20,.2);background:rgba(255,255,255,.35);padding:10px 14px;border-radius:999px;font-size:.82rem;font-weight:600}.hero-product{position:relative;z-index:1;width:min(520px,88%);aspect-ratio:1;object-fit:cover;align-self:center;border-radius:44% 44% 16% 16%;box-shadow:0 30px 70px rgba(48,48,48,.28)}.form-panel{display:flex;align-items:center;justify-content:center;padding:48px 7vw;background:linear-gradient(#fff,#fcfcfc)}.form-wrap{width:min(100%,560px)}.wordmark{display:inline-flex;gap:12px;align-items:center;text-decoration:none}.wordmark img{width:54px;height:54px;border-radius:16px;object-fit:cover}.wordmark span{display:flex;flex-direction:column}.wordmark strong{font-family:"Playfair Display",Georgia,serif;font-size:1.42rem;color:var(--wine)}.wordmark small{font-size:.54rem;letter-spacing:.13em;color:var(--muted)}.welcome{margin:48px 0 26px}.welcome h2{font-size:clamp(2.25rem,4vw,3.55rem);margin:10px 0}.welcome p{color:var(--muted);margin:0}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--line);margin-bottom:24px}.auth-tabs a{text-align:center;text-decoration:none;padding:14px;font-weight:700;color:#8a8a8a;position:relative}.auth-tabs a.active{color:var(--wine)}.auth-tabs a.active:after{content:"";position:absolute;height:3px;background:var(--wine);left:18%;right:18%;bottom:-1px;border-radius:4px}.auth-form{display:grid;gap:18px}.auth-form label{font-size:.84rem;font-weight:700;display:grid;gap:8px}.auth-form label small{font-weight:400;color:var(--muted);margin-left:5px}.auth-form input{width:100%;border:1px solid var(--line);background:#fdfdfd;border-radius:12px;padding:15px 16px;font:inherit;outline:none;transition:.2s}.auth-form input:focus{border-color:var(--saffron);box-shadow:0 0 0 4px rgba(235,10,30,.13)}.auth-form input[readonly]{background:#efefef;color:#646464}.phone-field,.password-field{position:relative;display:flex;align-items:center}.phone-field b{position:absolute;left:16px;color:var(--wine)}.phone-field input{padding-left:57px}.toggle-password{position:absolute;right:10px;border:0;background:transparent;color:var(--wine);font-weight:700;cursor:pointer;padding:8px}.password-field input{padding-right:60px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.primary-button{border:0;border-radius:14px;padding:16px 22px;background:linear-gradient(135deg,var(--wine),#b83c2d);color:#fff;font:700 1rem inherit;cursor:pointer;display:flex;justify-content:center;gap:12px;box-shadow:0 12px 26px rgba(143,37,29,.22);transition:.2s}.primary-button:hover{transform:translateY(-2px);box-shadow:0 16px 30px rgba(143,37,29,.28)}.switch-copy{text-align:center;color:var(--muted);font-size:.9rem}.switch-copy a{font-weight:700;color:var(--wine)}.alert{padding:13px 15px;border-radius:12px;margin:0 0 18px;font-size:.88rem;line-height:1.5}.alert.error{background:#f3f3f3;color:#9b251a;border:1px solid #f1cac5}.alert.success{background:#f5f5f5;color:#b40013;border:1px solid #e1e1e1}.setup-link{display:block;text-align:center;margin:12px 0;color:var(--wine);font-size:.82rem}.secure-note{text-align:center;color:#868686;font-size:.76rem;margin-top:22px}.setup-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(135deg,#fff7e3,#eb0a1e)}.setup-card{width:min(520px,100%);padding:38px;background:#fff;border-radius:24px;box-shadow:var(--shadow)}.setup-card h1{font-size:2.2rem;margin:10px 0}.setup-card>p{color:var(--muted)}.dash-header{height:84px;padding:14px clamp(22px,6vw,80px);display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--line)}.outline-button{border:1px solid var(--wine);color:var(--wine);padding:10px 16px;border-radius:10px;text-decoration:none;font-weight:700}.dashboard-page{background:#f2f2f2;min-height:100vh}.dashboard{max-width:1100px;margin:auto;padding:50px 24px;display:grid;grid-template-columns:1.2fr .8fr;gap:24px}.account-card,.invite-card{background:#fff;border-radius:24px;padding:32px;box-shadow:0 12px 40px rgba(79,45,26,.08)}.account-card{display:flex;align-items:center;justify-content:space-between;overflow:hidden}.account-card h1{font-family:"Playfair Display",Georgia,serif;font-size:2.2rem;margin:10px 0}.account-card p,.invite-url{color:var(--muted)}.account-card img{width:190px;height:190px;object-fit:cover;border-radius:50%}.invite-card h2{margin:8px 0 24px}.code-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px;background:var(--cream);border-radius:14px}.code-row strong{font-size:1.35rem;letter-spacing:.12em;color:var(--wine)}.copy-button{border:0;background:var(--wine);color:white;padding:10px 14px;border-radius:9px;font-weight:700;cursor:pointer}.invite-url{font-size:.78rem;overflow-wrap:anywhere}.admin-page{background:#f4f4f4;min-height:100vh}.admin-sidebar{position:fixed;inset:0 auto 0 0;width:250px;padding:28px;background:#1d1d1d;color:white}.admin-sidebar .wordmark strong{color:#eb0a1e}.admin-sidebar nav{display:grid;gap:8px;margin-top:50px}.admin-sidebar nav a{padding:13px 14px;text-decoration:none;color:#cecece;border-radius:10px}.admin-sidebar nav a.active,.admin-sidebar nav a:hover{background:#8f251d;color:white}.admin-main{margin-left:250px;padding:38px;max-width:1500px}.admin-main header{display:flex;justify-content:space-between;align-items:center}.admin-main h1{font-size:2.5rem;margin:8px 0}.admin-badge{background:#f0f0f0;color:#b40013;padding:9px 13px;border-radius:999px;font-size:.8rem;font-weight:700}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:34px 0}.stat-grid article,.table-card{background:#fff;padding:24px;border-radius:18px;box-shadow:0 8px 28px rgba(62,40,26,.06)}.stat-grid article{display:grid;gap:14px}.stat-grid span{color:var(--muted)}.stat-grid strong{font-size:2.4rem;color:var(--wine)}.table-card{padding:0;overflow:hidden}.section-title{padding:24px}.section-title h2{margin:0}.section-title p{margin:5px 0 0;color:var(--muted)}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:680px}th,td{text-align:left;padding:15px 24px;border-top:1px solid var(--line);font-size:.88rem}th{color:var(--muted);font-size:.75rem;text-transform:uppercase;letter-spacing:.07em}code{color:var(--wine);font-weight:700}.status{padding:6px 9px;border-radius:999px;font-size:.75rem;font-weight:700}.status.active{background:#f2f2f2;color:#b40013}.status.blocked{background:#efefef;color:#a1261c}
@media(max-width:900px){.auth-shell{display:block}.brand-panel{min-height:360px;padding:36px 28px}.brand-copy h1{font-size:2.8rem}.brand-copy p,.brand-pills{display:none}.hero-product{position:absolute;width:220px;right:-22px;bottom:-28px;border-radius:50%}.form-panel{padding:38px 24px}.welcome{margin:34px 0 22px}.dashboard{grid-template-columns:1fr}.admin-sidebar{position:static;width:auto;padding:16px 22px;display:flex;justify-content:space-between;align-items:center}.admin-sidebar nav{display:flex;margin:0;overflow:auto}.admin-main{margin:0;padding:24px}.stat-grid{grid-template-columns:1fr 1fr}.admin-page .wordmark small{display:none}}
@media(max-width:560px){.auth-shell{background:linear-gradient(#eb0a1e 0 245px,#fff 245px)}.brand-panel{min-height:245px;padding:28px 22px;background:transparent}.brand-copy h1{font-size:2.15rem;max-width:330px}.hero-product{width:160px;opacity:.82}.form-panel{position:relative;border-radius:28px 28px 0 0;padding:28px 20px;align-items:flex-start}.form-wrap>.wordmark{display:none}.welcome{margin:0 0 18px}.welcome h2{font-size:2rem}.field-grid{grid-template-columns:1fr}.auth-form{gap:14px}.dashboard{padding:24px 16px}.account-card{padding:24px;display:block}.account-card img{width:110px;height:110px;margin-top:20px}.code-row{align-items:flex-start;flex-direction:column}.dash-header{height:72px}.dash-header .wordmark img{width:44px;height:44px}.stat-grid{grid-template-columns:1fr}.admin-sidebar{align-items:flex-start}.admin-sidebar nav a{padding:10px}.admin-main{padding:20px 14px}.admin-main header{align-items:flex-start}.admin-badge{display:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.auth-page{overflow-x:hidden}.form-wrap{min-width:0;max-width:100%}.auth-tabs a,.auth-form label,.phone-field,.password-field{min-width:0}

/* Storefront */
.store-page{background:#f3f3f3;min-height:100vh;padding-bottom:78px}.desktop-nav{display:flex;gap:30px}.desktop-nav a{text-decoration:none;color:var(--muted);font-weight:700}.desktop-nav a.active{color:var(--wine)}.cart-link{text-decoration:none;font-weight:700;color:var(--wine)}.cart-link b{display:inline-grid;place-items:center;background:var(--wine);color:#fff;border-radius:50%;min-width:22px;height:22px;font-size:.75rem}.store-main,.page-main{max-width:1180px;margin:auto;padding:34px 24px}.store-hero{min-height:430px;border-radius:28px;background:linear-gradient(120deg,#eb0a1e,#eb0a1e);display:grid;grid-template-columns:1fr 1fr;align-items:center;overflow:hidden;padding:50px}.store-hero h1{font:700 clamp(2.5rem,5vw,5rem)/1 "Playfair Display",Georgia,serif;color:#5e1b14;margin:14px 0}.store-hero p{max-width:500px;font-size:1.05rem}.store-hero img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:22px;box-shadow:var(--shadow)}.hero-button{display:inline-flex;width:max-content;text-decoration:none;margin-top:18px}.benefits{display:flex;justify-content:center;gap:40px;padding:26px;color:var(--green);font-weight:700}.store-title{display:flex;justify-content:space-between;align-items:end;margin:35px 0 20px}.store-title h1,.store-title h2{font:700 2.2rem "Playfair Display",Georgia,serif;margin:6px 0}.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.product-card{background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 7px 24px rgba(64,38,23,.07)}.product-card>a{display:block}.product-card img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}.product-info{padding:18px}.category{color:var(--wine);font-size:.72rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.product-info h3{margin:7px 0}.product-info h3 a{text-decoration:none}.weight{color:var(--muted);font-size:.82rem}.price-row{display:flex;align-items:center;gap:8px}.price-row strong{font-size:1.25rem;color:var(--wine)}.price-row del{color:#939393}.add-button{margin-left:auto;background:var(--wine);color:#fff;text-decoration:none;padding:9px 13px;border-radius:9px;font-weight:700}.product-detail{max-width:1100px;margin:50px auto;padding:24px;display:grid;grid-template-columns:1.1fr .9fr;gap:50px;align-items:center}.detail-image{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:24px}.product-detail h1{font:700 3.2rem "Playfair Display",Georgia,serif;margin:10px 0}.detail-price{font-size:1.6rem;font-weight:800;color:var(--wine);margin:15px 0}.detail-price del{font-size:1rem;color:var(--muted)}.product-detail p{line-height:1.75;color:var(--muted)}.product-facts{display:flex;gap:15px;margin:24px 0}.product-facts span{display:grid;background:#fff;padding:14px;border-radius:12px;flex:1;color:var(--muted)}.product-facts b{color:var(--ink)}.cart-layout{display:grid;grid-template-columns:1fr 340px;gap:24px}.cart-list,.order-summary,.empty-card{background:#fff;padding:24px;border-radius:18px}.cart-item{display:grid;grid-template-columns:150px 1fr auto;gap:18px;padding:18px 0;border-bottom:1px solid var(--line);align-items:center}.cart-item img{width:150px;aspect-ratio:16/9;object-fit:cover;border-radius:12px}.cart-item h3{margin:0}.cart-item input{width:65px;padding:8px}.order-summary{height:max-content}.order-summary>div{display:flex;justify-content:space-between;font-size:1.2rem;margin:24px 0}.bottom-nav{display:none}.referral-shell,.share-shell{max-width:720px;margin:auto;padding:28px 18px}.referral-hero,.share-shell>header{background:linear-gradient(135deg,#b40013,#eb0a1e);color:#fff;padding:28px;border-radius:22px 22px 0 0;text-align:center}.referral-hero .eyebrow{color:#eb0a1e}.referral-hero h1,.share-shell h1{font:700 2.2rem "Playfair Display",Georgia,serif;margin:8px}.member-summary{position:relative;margin-top:-2px;background:#fff;padding:25px;border-radius:0 0 22px 22px;display:grid;grid-template-columns:auto 1fr;gap:16px;box-shadow:var(--shadow)}.member-avatar img{width:80px;height:80px;border-radius:50%;object-fit:cover}.member-summary h2{margin:4px 0}.member-summary code{color:var(--green)}.summary-stats{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;background:#efefef;border-radius:14px}.summary-stats span{display:grid;text-align:center;padding:14px;color:var(--muted)}.summary-stats strong{font-size:1.35rem;color:var(--green)}.referral-cards{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:18px 0}.referral-cards article{background:#fff;padding:22px;border-radius:16px;text-align:center;display:grid;gap:5px}.referral-cards strong{font-size:1.6rem;color:var(--green)}.referral-cards span{color:var(--muted);font-size:.85rem}.section-action{display:flex;justify-content:space-between;align-items:center}.section-action a{background:var(--green);color:white;text-decoration:none;padding:10px 14px;border-radius:10px}.referral-list article{background:#fff;display:flex;align-items:center;gap:12px;padding:14px;border-radius:13px;margin-bottom:10px}.list-avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#ededed;color:var(--green);font-weight:800}.referral-list article div{display:grid;flex:1}.referral-list small{color:var(--muted)}.share-page{background:#f0f0f0}.share-shell>header{border-radius:22px;margin-bottom:14px}.qr-card,.share-card{background:#fff;padding:25px;border-radius:18px;margin:14px 0;text-align:center}.qr-card img{max-width:100%;height:auto;margin:10px auto;display:block}.qr-card small{color:var(--muted)}.share-card{text-align:left}.share-card label{display:block;font-size:.76rem;color:var(--muted);font-weight:700;margin:14px 0 6px}.share-card>div{display:flex;align-items:center;justify-content:space-between;background:#f4f4f4;padding:10px;border-radius:10px;gap:10px}.share-card>div span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--green);font-weight:700}.share-card>p{background:#efefef;padding:16px;border-radius:10px;line-height:1.6;font-size:.85rem;color:#595959}
@media(max-width:800px){.desktop-nav{display:none}.product-grid{grid-template-columns:repeat(2,1fr)}.store-hero{grid-template-columns:1fr;padding:28px;min-height:auto}.store-hero img{margin-top:24px}.product-detail,.cart-layout{grid-template-columns:1fr}.bottom-nav{position:fixed;z-index:20;bottom:0;left:0;right:0;height:68px;background:#fff;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(4,1fr)}.bottom-nav a{display:grid;place-items:center;text-decoration:none;color:#898989;font-size:.72rem;padding:7px}.bottom-nav a span{font-size:1.35rem}.bottom-nav a.active{color:var(--green)}.benefits{gap:10px;justify-content:flex-start;overflow:auto;font-size:.8rem;white-space:nowrap}.dash-header{padding:12px 18px}}
@media(max-width:520px){.product-grid{grid-template-columns:1fr}.store-main,.page-main{padding:16px}.store-hero h1{font-size:2.5rem}.store-hero{padding:24px}.store-title h1,.store-title h2{font-size:1.8rem}.cart-item{grid-template-columns:95px 1fr}.cart-item img{width:95px}.cart-item>strong{grid-column:2}.product-detail{margin:15px auto;padding:16px;gap:24px}.product-detail h1{font-size:2.3rem}.referral-shell,.share-shell{padding:0 12px 20px}.referral-cards{grid-template-columns:1fr 1fr}}
.checkout-form,.settings-card{background:#fff;padding:26px;border-radius:18px}.auth-form textarea,.admin-form input,.admin-form textarea,.admin-form select,.status-form select{width:100%;border:1px solid var(--line);border-radius:10px;padding:12px;font:inherit;background:#fff}.orders-list{display:grid;gap:12px}.orders-list article{background:#fff;padding:20px;border-radius:15px;display:flex;justify-content:space-between;align-items:center}.orders-list h3{margin:6px 0}.orders-list small,.orders-list span{color:var(--muted)}.status.pending{background:#f2f2f2;color:#b40013}.status.confirmed,.status.shipped{background:#f0f0f0;color:#b40013}.status.delivered{background:#f2f2f2;color:#b40013}.status.cancelled{background:#efefef;color:#a1261c}.profile-main{max-width:720px;margin:auto;padding:35px 18px}.profile-head{background:linear-gradient(135deg,#8f251d,#d65e35);color:#fff;padding:32px;border-radius:22px;display:flex;align-items:center;gap:20px}.profile-head img{width:100px;height:100px;object-fit:cover;border-radius:50%;border:4px solid rgba(255,255,255,.7)}.profile-head h1{margin:6px 0}.profile-head code{color:#eb0a1e}.profile-menu{display:grid;gap:10px;margin-top:18px}.profile-menu a{display:flex;align-items:center;gap:15px;background:#fff;padding:18px;border-radius:14px;text-decoration:none}.profile-menu a>span{font-size:1.6rem;color:var(--wine)}.profile-menu div{display:grid;flex:1}.profile-menu small{color:var(--muted)}.profile-menu i{font-size:1.8rem;color:#aaa}.admin-product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:28px}.admin-product-grid article{background:#fff;border-radius:16px;overflow:hidden}.admin-product-grid img{width:100%;aspect-ratio:16/9;object-fit:cover}.admin-product-grid article>div{padding:17px}.admin-product-grid h3{margin:10px 0 5px}.admin-product-grid p{color:var(--muted)}.admin-actions{display:flex;gap:10px;margin-top:15px}.admin-actions a,.admin-actions button,.status-form button{border:0;background:#e8e8e8;color:var(--wine);padding:8px 12px;border-radius:8px;text-decoration:none;font-weight:700;cursor:pointer}.admin-actions form{margin:0}.admin-form-main{max-width:900px;margin:40px auto;padding:22px}.admin-form{display:grid;grid-template-columns:1fr 1fr;gap:18px;background:#fff;padding:28px;border-radius:18px}.admin-form label{display:grid;gap:7px;font-size:.84rem;font-weight:700}.admin-form .full{grid-column:1/-1}.settings-card{max-width:700px}.settings-card>p{color:var(--muted);line-height:1.6}.check-label{display:flex!important;grid-column:1/-1;align-items:center}.check-label input{width:auto}.status-form{display:flex;gap:6px}.status-form select{min-width:120px}.status-form button{background:var(--wine);color:#fff}
@media(max-width:900px){.admin-product-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.admin-product-grid{grid-template-columns:1fr}.admin-form{grid-template-columns:1fr;padding:18px}.admin-form .full{grid-column:auto}.profile-head{padding:24px}.profile-head img{width:75px;height:75px}}

/* Reference app layout: one centered 500px column on every screen. */
.store-page{--app-green:#b40013;background:#eee;padding-bottom:calc(86px + env(safe-area-inset-bottom));font-family:Arial,system-ui,sans-serif}
.store-page .store-main,.store-page .page-main,.store-page .referral-shell,.store-page .share-shell,.store-page .profile-main,.store-page .product-detail{width:100%;max-width:500px;margin:0 auto;padding:20px;min-width:0}
.store-page .app-page-header{width:100%;max-width:500px;margin:auto;height:62px;background:var(--app-green);color:white;display:flex;align-items:center;justify-content:space-between;padding:0 20px;font-size:20px}
.app-page-header>a{display:flex;align-items:center;color:inherit;text-decoration:none;font-size:36px}.app-page-header svg{width:25px;height:25px}
.store-page .bottom-nav{position:fixed;z-index:50;bottom:0;left:50%;right:auto;transform:translateX(-50%);width:100%;max-width:500px;height:calc(66px + env(safe-area-inset-bottom));padding:0 4px env(safe-area-inset-bottom);background:#fff;border-top:1px solid #ddd;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));overflow:visible}
.store-page .bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;padding:3px 0;font-size:14px;color:#909090;text-decoration:none;position:relative}
.store-page .bottom-nav a>span{height:34px;width:46px;display:grid;place-items:center;position:relative;z-index:1}.bottom-nav svg{width:28px;height:28px}
.store-page .bottom-nav a.active{color:var(--app-green)}.store-page .bottom-nav a.active:before{content:'';position:absolute;top:-18px;width:64px;height:48px;border-radius:50% 50% 0 0;background:white;border-top:1px solid #ddd}.store-page .bottom-nav a.active>span{transform:translateY(-5px)}
.app-banner{position:relative;height:180px;border-radius:5px;overflow:hidden;background:#eb0a1e}.app-banner>img{width:100%;height:100%;object-fit:cover;object-position:center 54%}.app-banner>div{position:absolute;top:10px;left:10px;display:grid;gap:4px;background:rgba(255,255,255,.92);padding:9px 12px;border-radius:5px;color:#76251a}.app-banner strong{font-family:Georgia,serif;font-size:20px}.app-banner>div>span{font-size:11px}.banner-marker{position:absolute;bottom:8px;left:calc(50% - 13px);width:26px;height:4px;border-radius:4px;background:white}
.quick-actions{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;background:#fff;border-radius:14px;margin:14px 0;padding:14px 7px}.quick-actions>a{display:flex;flex-direction:column;align-items:center;gap:10px;text-decoration:none;color:var(--app-green);font-size:13px;min-width:0}.quick-actions svg{width:30px;height:30px;color:#eb0a1e}
.plan-list{display:grid;gap:14px}.plan-card{padding:13px;background:white;border-radius:14px;overflow:hidden}.plan-image{display:block;position:relative;border-radius:5px;overflow:hidden;aspect-ratio:16/9;background:#d7d7d7;color:white}.plan-image>img{display:block;width:100%;height:100%;object-fit:cover}.plan-image:after{content:'';position:absolute;inset:55% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.65))}.plan-image h2{position:absolute;bottom:10px;left:12px;right:12px;margin:0;font-size:18px;font-weight:500;z-index:1}.stock-tag{position:absolute;right:0;top:0;background:var(--app-green);color:white;border-radius:0 0 0 6px;padding:9px 12px;font-size:11px}
.plan-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}.plan-stats>div{min-height:82px;background:#fafafa;border-radius:6px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:10px 6px;gap:7px;min-width:0}.plan-stats strong{font-size:21px;color:var(--app-green);overflow-wrap:anywhere}.plan-stats span{color:#929292;font-size:12px}.plan-buy{display:flex;align-items:center;justify-content:center;gap:8px;background:var(--app-green);border-radius:5px;color:white;text-decoration:none;padding:14px;font-size:14px}.plan-buy svg{width:17px;height:17px}
.floating-bonus{position:fixed;right:14px;bottom:142px;width:66px;height:66px;border:2px solid var(--app-green);border-radius:50%;background:#fff2df;color:#e62234;display:grid;place-items:center;box-shadow:0 1px 5px #888;z-index:40}.floating-bonus svg{width:39px;height:39px}
.store-page .cart-layout,.store-page .product-detail{display:grid;grid-template-columns:minmax(0,1fr);gap:20px}.store-page .detail-image{border-radius:6px}.store-page .product-detail h1{font-size:28px}.store-page .referral-hero,.store-page .share-shell>header{background:var(--app-green)}.store-page .referral-shell,.store-page .share-shell{padding-top:14px}.store-page .profile-head{padding:20px;gap:14px}.store-page .profile-head h1{font-size:21px}.store-page .orders-list{margin-top:14px}.store-page .orders-list article{gap:12px}.store-page .primary-button,.store-page .copy-button{background:var(--app-green)}
@media(max-width:500px){.store-page .store-main,.store-page .page-main,.store-page .profile-main,.store-page .product-detail{padding:14px}.store-page .bottom-nav a{font-size:12px}.app-banner{height:auto;aspect-ratio:23/9}.floating-bonus{width:52px;height:52px;right:8px;bottom:105px}.floating-bonus svg{width:31px;height:31px}.plan-stats strong{font-size:19px}}

/* Recharge, bank binding and withdrawal */
.wallet-page{color:#282828}.wallet-page button,.wallet-page input{font-family:Arial,system-ui,sans-serif}.wallet-main>*{min-width:0}.wallet-page input:focus-visible,.wallet-page button:focus-visible,.wallet-page a:focus-visible{outline:3px solid #eb0a1e;outline-offset:3px}.wallet-page .wallet-box label.money-input{display:flex;gap:0}.wallet-page .money-input input{min-height:60px}.wallet-page .wallet-submit{width:100%;min-height:62px}.wallet-page .wallet-submit:hover{filter:brightness(.96)}.wallet-page .bank-summary p{gap:15px;overflow-wrap:anywhere}.wallet-page .wallet-history article{gap:12px;overflow-wrap:anywhere}.wallet-page .wallet-history article>div{min-width:0}.wallet-page .bind-form{gap:32px}.wallet-page .bind-form .wallet-submit{margin-top:32px}.store-page .profile-head{background:linear-gradient(120deg,rgba(66,66,66,.86),rgba(180,0,19,.72)),url('../images/dal-makhani.webp') center/cover}.store-page .profile-menu a{background:#f6f6f6}.store-page .profile-menu a>span{color:var(--app-green)}
.header-spacer{width:25px}.wallet-main{width:100%;max-width:500px;margin:auto;padding:20px;display:grid;gap:18px}.wallet-form{display:grid;gap:18px}.amount-options,.wallet-box,.pay-method,.bank-summary,.wallet-history,.bind-form{background:#fff;border-radius:14px;padding:20px}.amount-options{display:grid;grid-template-columns:1fr 1fr;gap:14px}.amount-options button{border:0;border-radius:12px;background:#f5f5f5;padding:19px 8px;font:bold 23px Arial;cursor:pointer}.amount-options button.selected{background:var(--app-green);color:#fff}.wallet-box{display:grid;gap:15px}.wallet-box p{margin:0;color:#555}.wallet-box label{display:grid;gap:10px}.money-input{display:flex;align-items:center;background:#f7f7f7;border-radius:11px;padding:0 14px;min-height:62px}.money-input span{font-size:21px;margin-right:15px}.money-input input{width:100%;border:0;outline:0;background:transparent;font:24px Arial;min-width:0}.pay-method{display:grid;gap:4px}.pay-method strong{background:var(--app-green);color:#fff;padding:18px;border-radius:11px;font-size:21px;width:58%}.pay-method small{color:#777;margin-top:6px}.wallet-submit{border:0;border-radius:999px;padding:18px;background:linear-gradient(90deg,#b40013,#eb0a1e);color:#fff;font:21px Arial;cursor:pointer}.availability{font-weight:bold;font-size:18px}.wallet-alert{padding:13px 15px;border-radius:10px}.wallet-alert.error{background:#ffe9e5;color:#98261c}.wallet-alert.success{background:#f1f1f1;color:#b40013}.withdraw-form .wallet-box{gap:20px}.pin input{font-size:20px}.bank-summary p{display:flex;justify-content:space-between;border-bottom:1px solid #eee;padding:12px 5px;margin:0}.bank-summary b{font-weight:500}.bind-button{display:block;text-align:center;text-decoration:none;color:var(--app-green);border:1px solid #ddd;border-radius:10px;padding:16px;font-size:20px;margin-top:15px}.wallet-history h2{font-size:18px}.wallet-history article{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eee;padding:13px 0}.wallet-history article div,.wallet-history article span{display:grid;gap:4px}.wallet-history small{color:#888}.state{font-size:11px;font-style:normal;padding:4px 8px;border-radius:10px;text-transform:capitalize}.state.pending,.state.processing{background:#f1f1f1;color:#b40013}.state.approved{background:#f0f0f0;color:#b40013}.state.rejected{background:#ffe5e1;color:#9b2117}.bind-form{min-height:620px;display:flex;flex-direction:column;gap:26px;padding-top:210px}.bind-form label{position:relative;border:2px solid var(--app-green);border-radius:8px}.bind-form label span{position:absolute;top:-10px;left:10px;background:#fff;padding:0 4px;color:var(--app-green);font-weight:bold}.bind-form input{width:100%;border:0;outline:0;padding:19px 15px;font:16px Arial;border-radius:8px}.bind-form .wallet-submit{margin-top:auto}
@media(max-width:500px){.wallet-main{padding:14px}.amount-options,.wallet-box,.pay-method,.bank-summary,.wallet-history{padding:18px}.bind-form{padding:180px 20px 20px}}

/* Shared Dal Makhani palette: caramel, terracotta, cream and olive. */
/* Global density controls: adjust these once for every screen. */
:root{--ui-font:14px;--ui-title:18px;--ui-gap:12px;--ui-padding:14px;--ui-radius:12px;--ui-control:44px;--ui-width:480px}
html{background:var(--cream);color:var(--ink);accent-color:var(--brand-primary)}
body.auth-page,.admin-page,.dashboard-page,.store-page,.store-page.share-page{background:var(--cream);color:var(--ink)}
.store-page{--app-green:var(--brand-primary)}
.brand-panel{background:radial-gradient(circle at 80% 15%,#dadada 0,transparent 40%),linear-gradient(145deg,var(--brand-gold),#eb0a1e)}
.brand-copy h1,.store-hero h1{color:var(--ink)}
.brand-copy h1 em{color:var(--wine)}
.form-panel{background:linear-gradient(var(--brand-surface),var(--cream))}
.setup-page,.store-hero{background:linear-gradient(135deg,var(--brand-soft),var(--brand-gold))}
.primary-button,.store-page .primary-button,.wallet-submit,.store-page .copy-button{background:linear-gradient(115deg,var(--wine-dark),var(--brand-primary) 55%,var(--brand-copper));color:#fdfdfd;box-shadow:0 8px 20px rgba(99,48,30,.15)}
.primary-button:hover{box-shadow:0 12px 26px rgba(99,48,30,.22)}
.auth-form input:focus{border-color:var(--brand-copper);box-shadow:0 0 0 4px rgba(180,0,19,.12)}
.auth-form input,.auth-form textarea,.admin-form input,.admin-form textarea,.admin-form select,.status-form select{background:var(--brand-surface);color:var(--ink);border-color:var(--line)}
.auth-form input[readonly]{background:var(--brand-soft);color:var(--muted)}
.setup-card,.dash-header,.account-card,.invite-card,.stat-grid article,.table-card,.product-card,.cart-list,.order-summary,.empty-card,.member-summary,.referral-cards article,.referral-list article,.qr-card,.share-card,.checkout-form,.settings-card,.orders-list article,.admin-product-grid article,.admin-form,.quick-actions,.plan-card,.amount-options,.wallet-box,.pay-method,.bank-summary,.wallet-history,.bind-form{background:var(--brand-surface)}
.admin-sidebar{background:#272727}
.admin-sidebar .wordmark strong{color:#eb0a1e}
.admin-sidebar .wordmark small,.admin-sidebar nav a{color:#e3cfb9}
.admin-sidebar nav a.active,.admin-sidebar nav a:hover{background:var(--brand-primary);color:#fdfdfd}
.admin-actions a,.admin-actions button{background:var(--brand-soft);color:var(--wine-dark)}
.store-page .app-page-header,.store-page .referral-hero,.store-page .share-shell>header{background:linear-gradient(110deg,var(--wine-dark),var(--brand-primary));color:#fdfdfd}
.store-page .profile-head{background:linear-gradient(110deg,rgba(74,37,22,.94),rgba(139,69,41,.84)),url('../images/dal-makhani-pack.webp') center/cover}
.profile-head code,.referral-hero .eyebrow{color:#dadada}
.store-page .profile-menu a,.summary-stats,.list-avatar,.share-card>div,.share-card>p{background:var(--brand-soft)}
.share-card>p{color:var(--muted)}
.quick-actions svg{color:var(--brand-copper)}
.app-banner{background:var(--brand-gold)}
.app-banner>div{background:rgba(253,253,253,.94);color:var(--wine-dark)}
.plan-image{background:var(--brand-soft)}
.plan-stats>div,.money-input,.bind-button,.amount-options button{background:#ededed}
.plan-stats span,.wallet-history small,.pay-method small,.wallet-box p{color:var(--muted)}
.amount-options button{color:var(--ink)}
.amount-options button.selected,.pay-method strong{background:var(--brand-primary);color:#fdfdfd}
.wallet-page,.money-input input,.bind-form input{color:var(--ink)}
.bind-form input,.bind-form label span{background:var(--brand-surface)}
.bind-form label,.bind-button{border-color:var(--brand-primary)}
.bank-summary p,.wallet-history article{border-color:var(--line)}
.wallet-page input:focus-visible,.wallet-page button:focus-visible,.wallet-page a:focus-visible{outline-color:var(--brand-copper)}
.store-page .bottom-nav,.store-page .bottom-nav a.active:before{background:var(--brand-surface);border-color:var(--line)}
.store-page .bottom-nav a{color:var(--muted)}
.store-page .bottom-nav a.active{color:var(--brand-primary)}
.floating-bonus{background:var(--brand-soft);color:var(--wine);border-color:var(--brand-copper);box-shadow:0 3px 12px rgba(63,63,63,.18)}
.alert.success,.wallet-alert.success,.state.approved,.status.active,.status.delivered,.admin-badge{background:#ebebeb;color:#464646;border-color:#d3d3d3}
.state.pending,.state.processing,.status.pending{background:#e5e5e5;color:#b40013}
.status.confirmed,.status.shipped{background:#e4e4e4;color:#67452d}
.alert.error,.wallet-alert.error,.state.rejected,.status.blocked,.status.cancelled{background:#e8e8e8;color:#8a3023;border-color:#e5bfb4}
@media(max-width:560px){.auth-shell{background:linear-gradient(var(--brand-gold) 0 245px,var(--brand-surface) 245px)}.brand-panel{background:transparent}}

/* Compact responsive layout. Keep touch controls and input text readable. */
.catalog-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:14px 0}
.catalog-heading h1{font-size:18px;margin:3px 0;color:var(--ink)}
.catalog-heading .eyebrow{font-size:9px;letter-spacing:.12em}
.wallet-chip{padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:var(--brand-surface);display:grid;gap:2px;text-align:right;flex-shrink:0}
.wallet-chip span{font-size:10px;color:var(--muted)}.wallet-chip b{font-size:13px;color:var(--wine)}
.is-locked{position:relative;overflow:hidden}.is-locked>img{filter:blur(5px) saturate(.65);transform:scale(1.06)}
.coming-soon{position:absolute;z-index:3;top:50%;left:50%;transform:translate(-50%,-50%);padding:10px 18px;border:1px solid #d9d9d9;border-radius:999px;background:rgba(39,39,39,.88);color:#f8f8f8;font-weight:700;font-size:14px;white-space:nowrap}
.purchase-limit{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:var(--muted);margin:8px 0 12px}
.purchase-limit b{color:var(--wine)}.plan-buy.muted-action{background:var(--brand-soft);color:var(--wine-dark)}
.purchase-page{display:grid;gap:12px}.purchase-card{background:var(--brand-surface);padding:var(--ui-padding);border:1px solid var(--line);border-radius:var(--ui-radius)}
.purchase-card h1{font-size:22px;margin:4px 0 8px}.purchase-card h2{font-size:17px;margin:0 0 4px}
.product-description{font-size:13px;color:var(--muted);margin:6px 0 12px}
.purchase-summary{margin:12px 0}.purchase-summary>div{display:flex;justify-content:space-between;gap:14px;padding:8px 0;border-bottom:1px solid var(--line);font-size:13px}.purchase-summary dt{color:var(--muted)}.purchase-summary dd{margin:0;font-weight:600}
.purchase-note{font-size:12px;line-height:1.6;color:var(--muted);background:var(--brand-soft);border-radius:8px;padding:10px;margin:10px 0}
.purchase-confirm-form .wallet-submit{width:100%;min-height:44px;padding:12px;font-size:15px;border-radius:10px}
.back-link{display:block;text-align:center;font-size:12px;margin-top:14px}
.collection-head{display:flex;gap:12px;align-items:center}.collection-head img{width:82px;height:62px;object-fit:cover;border-radius:8px}.collection-head small{display:block;font-size:11px;color:var(--muted);margin-bottom:5px}
.admin-product-grid .admin-image{padding:0;position:relative;overflow:hidden}.admin-image img{display:block}
.admin-plan-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:10px;background:var(--brand-soft);border-radius:10px}.admin-plan-stats span{display:grid;font-size:12px;gap:3px;color:var(--muted)}.admin-plan-stats b{font-size:15px;color:var(--wine)}
.admin-actions{flex-wrap:wrap}.admin-help{font-size:13px;line-height:1.6;color:var(--muted)}.admin-current-image{display:flex;align-items:center;gap:16px;font-size:12px;color:var(--muted)}.admin-current-image img{width:160px;max-width:45%;height:90px;object-fit:cover;border-radius:10px}
body{font-size:var(--ui-font);line-height:1.45}
button,input,select,textarea{font-family:inherit}
.reference-home .plan-buy.muted-action{background:var(--brand-soft);color:var(--wine-dark);border-color:transparent;box-shadow:none;animation:none}
.store-page{padding-bottom:calc(72px + env(safe-area-inset-bottom))}
.store-page .store-main,.store-page .page-main,.store-page .profile-main,.store-page .product-detail,.store-page .referral-shell,.store-page .share-shell,.wallet-main{max-width:var(--ui-width);padding:var(--ui-padding);gap:var(--ui-gap)}
.store-page .app-page-header{max-width:var(--ui-width);height:48px;padding:0 var(--ui-padding);font-size:var(--ui-title)}
.store-page .app-page-header>a{font-size:28px;min-width:36px;min-height:44px}
.store-page .bottom-nav{max-width:var(--ui-width);height:calc(58px + env(safe-area-inset-bottom))}
.store-page .bottom-nav a{font-size:11px;gap:1px}
.store-page .bottom-nav a>span{height:27px;width:38px}
.bottom-nav svg{width:23px;height:23px}
.store-page .bottom-nav a.active:before{top:-9px;height:32px;width:50px}
.store-page .bottom-nav a.active>span{transform:translateY(-2px)}
.wallet-form,.wallet-box,.withdraw-form .wallet-box{gap:var(--ui-gap)}
.amount-options,.wallet-box,.pay-method,.bank-summary,.wallet-history,.bind-form,.empty-card,.cart-list,.order-summary,.checkout-form,.qr-card,.share-card{padding:var(--ui-padding);border-radius:var(--ui-radius)}
.wallet-box label{gap:6px}
.wallet-page .money-input,.wallet-page .money-input input{min-height:var(--ui-control)}
.money-input{padding:0 12px;border:1px solid var(--line);border-radius:9px}
.money-input input,.pin input{font-size:16px}
.money-input span{font-size:17px;margin-right:10px}
.wallet-page .wallet-submit,.primary-button,.store-page .primary-button{min-height:var(--ui-control);padding:11px 16px;font-size:15px;font-weight:600;border-radius:10px}
.amount-options{gap:8px;grid-template-columns:repeat(3,minmax(0,1fr))}
.amount-options button{min-height:var(--ui-control);font-size:16px;padding:10px 4px;border-radius:8px}
.pay-method{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.pay-method strong{width:auto;padding:9px 16px;font-size:15px;border-radius:8px}
.pay-method small{margin:0;font-size:12px}
.availability{font-size:13px;margin:0}
.wallet-history h2,.wallet-box h2{font-size:16px;margin:0 0 8px}
.wallet-history>p{margin:0;color:var(--muted)}
.wallet-history article{padding:9px 0;font-size:13px}
.wallet-alert{padding:10px 12px;font-size:13px}
.bank-summary p{padding:8px 0;font-size:13px}
.bind-button{margin-top:10px;padding:10px;font-size:15px;min-height:var(--ui-control);border-radius:9px}
.wallet-page .bind-form{min-height:0;padding:24px var(--ui-padding) var(--ui-padding);gap:22px}
.bind-form input{min-height:var(--ui-control);padding:12px;font-size:16px}
.bind-form label span{font-size:12px}
.wallet-page .bind-form .wallet-submit{margin-top:0}
.app-banner{height:auto;aspect-ratio:3/1}
.app-banner strong{font-size:17px}
.app-banner>div{padding:6px 9px}
.quick-actions{margin:10px 0;padding:10px 5px;border-radius:var(--ui-radius)}
.quick-actions>a{font-size:11px;gap:5px;min-height:44px}
.quick-actions svg{width:24px;height:24px}
.plan-list{gap:var(--ui-gap)}
.plan-card{padding:10px;border-radius:var(--ui-radius)}
.plan-image{aspect-ratio:2.15/1}
.plan-image h2{font-size:16px}
.plan-stats{gap:8px;margin:8px 0}
.plan-stats>div{min-height:58px;padding:7px;gap:3px}
.plan-stats strong{font-size:17px}
.plan-stats span{font-size:11px}
.plan-buy{min-height:44px;padding:10px}
.floating-bonus{width:42px;height:42px;bottom:88px}
.floating-bonus svg{width:25px;height:25px}
.store-page .profile-head{padding:16px;border-radius:var(--ui-radius);gap:12px}
.profile-head img{width:58px;height:58px}
.store-page .profile-head h1{font-size:18px}
.profile-menu{gap:8px;margin-top:12px}
.profile-menu a{padding:11px 13px;border-radius:10px;gap:12px}
.profile-menu small{font-size:11px}
.profile-menu a>span{font-size:21px}
.store-title{margin:12px 0}
.store-title h1,.store-title h2,.store-page .product-detail h1{font-size:23px}
.store-page .orders-list{margin-top:10px;gap:10px}
.orders-list article{padding:13px;border-radius:var(--ui-radius)}
.orders-list h3{font-size:17px;margin:4px 0}
.orders-list p{margin:5px 0}
.referral-hero,.share-shell>header{padding:18px}
.referral-hero h1,.share-shell h1{font-size:24px}
.member-summary{padding:14px;gap:10px}
.member-avatar img{width:58px;height:58px}
.member-summary h2{font-size:18px}
.summary-stats span{padding:10px}
.referral-cards{gap:10px;margin:12px 0}
.referral-cards article{padding:14px}
.referral-cards strong{font-size:22px}
.section-action h2{font-size:18px}
.qr-card img{max-width:180px;width:100%;height:auto}
.qr-card,.share-card{margin:10px 0}
.share-card h2,.qr-card h2{font-size:18px;margin:0}
.share-card>p{padding:10px;margin-bottom:0}
.admin-main{padding:24px}
.admin-main h1{font-size:28px}
.stat-grid{gap:12px;margin:20px 0}
.stat-grid article{padding:18px;gap:8px}
.stat-grid strong{font-size:28px}
.section-title{padding:18px}
th,td{padding:12px 16px}
.admin-form,.settings-card{padding:20px;gap:14px}
.auth-form{gap:12px}
.auth-form label{gap:6px}
.auth-form input{padding-top:11px;padding-bottom:11px;font-size:16px;min-height:44px}
.welcome{margin:24px 0 18px}
.welcome h2{font-size:30px}
.auth-tabs{margin-bottom:16px}
.auth-tabs a{padding:10px}
.switch-copy,.secure-note{margin:8px 0}
.setup-card{padding:24px}
@media(max-width:600px){.admin-main{padding:16px 12px}.admin-form{padding:14px}.form-panel{padding:20px 16px}.auth-shell{background:var(--brand-surface)}.brand-panel{min-height:130px;padding:18px 20px;background:linear-gradient(120deg,var(--brand-gold),var(--brand-soft))}.brand-copy h1{font-size:24px;max-width:260px;margin:8px 0}.hero-product{width:100px;right:8px;bottom:8px}.welcome{margin:0 0 14px}.welcome h2{font-size:26px;margin:4px 0}.field-grid{gap:12px}.setup-card h1{font-size:26px}.brand-copy .eyebrow{font-size:10px}}
.pay-method select{width:100%;margin-top:7px;padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--brand-surface);font:inherit;color:var(--ink)}
.table-card .status-form{min-width:270px;flex-wrap:wrap}.table-card .status-form input{flex:1 1 100%;min-width:180px;border:1px solid var(--line);border-radius:8px;padding:8px;font:inherit}.status.approved{background:#f2f2f2;color:#b40013}.status.rejected{background:#efefef;color:#a1261c}.status.processing{background:#f0f0f0;color:#b40013}
.profile-head p{margin:3px 0 7px;opacity:.85;font-size:12px}.profile-wallets{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px}.profile-wallets article{display:grid;gap:5px;padding:12px;background:var(--brand-surface);border-radius:10px;text-align:center}.profile-wallets span{font-size:10px;color:var(--muted)}.profile-wallets strong{font-size:15px;color:var(--app-green)}.profile-menu a>span svg{width:23px;height:23px}.profile-menu em{background:#dc3047;color:#fff;border-radius:50%;min-width:21px;height:21px;display:grid;place-items:center;font:700 11px system-ui}.account-form{display:grid;gap:13px}.account-form label{display:grid;gap:6px;font-size:12px;font-weight:700}.account-form input{width:100%;padding:12px;border:1px solid var(--line);border-radius:9px;background:var(--brand-surface);font:inherit}.account-form small{font-weight:400;color:var(--muted)}.settings-card+.settings-card{margin-top:14px}.message-list{display:grid;gap:10px}.message-list article{background:var(--brand-surface);padding:16px;border-radius:12px;border-left:4px solid transparent}.message-list article.unread{border-left-color:var(--app-green)}.message-list h3,.message-list p{margin:0}.message-list p{margin-top:9px;line-height:1.5;color:var(--muted)}.message-list small{color:var(--muted)}.text-button{border:0;background:transparent;color:var(--app-green);font-weight:700;cursor:pointer}.about-card,.install-card{max-width:520px;margin:auto;background:var(--brand-surface);padding:24px;border-radius:16px;text-align:center}.about-card img,.install-card img{width:110px;height:110px;object-fit:cover;border-radius:24px}.about-card p,.install-card p{color:var(--muted);line-height:1.6}.language-choice{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center}.language-choice input{width:auto}
@media(max-width:420px){.profile-wallets{grid-template-columns:1fr 1fr}.profile-wallets article:last-child{grid-column:1/-1}}
.uid-row{display:flex;align-items:center;gap:7px;margin:4px 0 7px}.uid-row code{font-size:12px}.uid-row button{width:27px;height:27px;padding:5px;border:1px solid rgba(255,255,255,.45);border-radius:7px;background:rgba(255,255,255,.14);color:#fff;cursor:pointer}.uid-row button svg{width:100%;height:100%}.uid-row em{font-size:10px;font-style:normal;color:#fff}.profile-menu div{align-items:center}.profile-menu b{font-size:13px}.history-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;background:var(--brand-surface);padding:16px 18px;border-radius:13px}.history-heading h2,.history-heading p{margin:0}.history-heading p{font-size:11px;color:var(--muted);margin-top:3px}.history-heading a{background:var(--app-green);color:#fff;text-decoration:none;border-radius:9px;padding:9px 11px;font-size:12px;font-weight:700}

/* Premium user authentication */
.auth-page{background:#1b1b1b}.auth-shell{grid-template-columns:minmax(480px,1.08fr) minmax(440px,.92fr)}
.auth-page .brand-panel{min-height:100vh;padding:clamp(40px,5vw,72px);justify-content:flex-end;background:#1e1e1e;isolation:isolate}
.auth-page .brand-panel:before{content:"";position:absolute;inset:0;width:auto;height:auto;border:0;border-radius:0;background:linear-gradient(180deg,rgba(20,20,20,.12) 0%,rgba(20,20,20,.22) 35%,rgba(17,17,17,.9) 100%);z-index:1}
.auth-page .hero-product{position:absolute;inset:0;width:100%;height:100%;max-width:none;aspect-ratio:auto;object-fit:cover;object-position:center;border-radius:0;box-shadow:none;z-index:0}
.auth-page .brand-copy{z-index:2;max-width:630px;color:#fafafa;text-shadow:0 2px 18px rgba(0,0,0,.25)}
.auth-page .brand-copy .eyebrow{color:#eb0a1e}.auth-page .brand-copy h1{color:#fafafa;font-size:clamp(2.8rem,5vw,5rem);margin:13px 0}.auth-page .brand-copy h1 em{color:#eb0a1e}.auth-page .brand-copy p{color:#eee2cf;margin:0}
.auth-page .brand-pills{margin-top:20px}.auth-page .brand-pills span{border-color:rgba(255,255,255,.32);background:rgba(29,29,29,.48);backdrop-filter:blur(8px)}
.auth-page .form-panel{background:linear-gradient(145deg,#fdfdfd,#ededed);padding:34px clamp(28px,6vw,78px)}.auth-page .form-wrap{max-width:500px}.auth-page .wordmark img{width:48px;height:48px;border-radius:14px}.auth-page .welcome{margin:28px 0 18px}.auth-page .welcome h2{font-size:clamp(2rem,3.2vw,3rem);margin:6px 0}.auth-page .auth-tabs{margin-bottom:18px}.auth-page .auth-form{gap:14px}.auth-page .auth-form input{min-height:48px;border-color:#d9c7b4;background:#fff}.auth-page .primary-button{min-height:50px;background:linear-gradient(135deg,#76351f,#a95531)}
@media(max-width:900px){.auth-page .brand-panel{min-height:300px;padding:30px}.auth-page .brand-copy h1{font-size:2.6rem;max-width:600px}.auth-page .hero-product{position:absolute;width:100%;height:100%;right:auto;bottom:auto;border-radius:0;opacity:1}.auth-page .form-panel{padding:30px 22px}}
@media(max-width:560px){.auth-page .auth-shell{background:#ededed}.auth-page .brand-panel{min-height:210px;padding:20px}.auth-page .brand-copy h1{font-size:1.75rem;max-width:290px;margin:7px 0}.auth-page .brand-copy .eyebrow{font-size:9px}.auth-page .brand-copy p,.auth-page .brand-pills{display:none}.auth-page .form-panel{margin-top:-1px;border-radius:22px 22px 0 0;padding:22px 18px}.auth-page .form-wrap>.wordmark{display:none}.auth-page .welcome h2{font-size:1.75rem}.auth-page .welcome{margin:0 0 14px}}

/* Compact reference-inspired login and registration */
body.auth-page{background:#e9e9e9;display:flex;justify-content:center;min-height:100vh}
.auth-page .auth-shell{display:flex;flex-direction:column;width:min(100%,430px);min-height:100vh;background:#e6e6e6;box-shadow:0 0 30px rgba(38,38,38,.08)}
.auth-page .brand-panel{min-height:270px;height:270px;padding:0;background:#d8c8bd;display:block;overflow:hidden}
.auth-page .brand-panel:before{background:linear-gradient(180deg,transparent 48%,#e6e6e6 100%);z-index:1}
.auth-page .hero-product{inset:0;width:100%;height:100%;object-fit:cover;object-position:center 42%;opacity:1}
.auth-floating-logo{position:absolute;z-index:3;left:50%;bottom:8px;transform:translateX(-50%);width:70px;height:70px;object-fit:cover;border-radius:50%;border:3px solid #fff;box-shadow:0 5px 14px rgba(30,30,30,.3)}
.auth-page .form-panel{display:block;padding:0 22px 55px;background:transparent;margin:0;border-radius:0}
.auth-page .form-wrap{position:relative;z-index:4;width:100%;max-width:none;margin-top:-2px;padding:22px 25px 18px;background:#fff;border-radius:14px;box-shadow:0 10px 24px rgba(99,48,30,.24)}
.auth-page .auth-tabs{margin:0 0 16px;border-bottom:0}.auth-page .auth-tabs a{padding:8px;font:700 14px Georgia,serif;color:#1b1b1b}.auth-page .auth-tabs a.active{color:var(--wine)}.auth-page .auth-tabs a.active:after{height:2px;background:var(--wine);left:24%;right:24%}
.auth-page .auth-form{gap:10px}.auth-page .auth-form label{font-size:11px;gap:4px}.auth-page .auth-form label>small{font-size:9px}.auth-page .auth-form input{min-height:43px;padding:10px 12px;border:0;border-bottom:1px solid #eee;border-radius:0;background:#fff;font-size:14px;box-shadow:none}.auth-page .auth-form input:focus{border-color:var(--wine);box-shadow:none}.auth-page .phone-field b{left:10px;font-size:13px;color:#222}.auth-page .phone-field input{padding-left:48px}.auth-page .password-field input{padding-right:42px}.auth-page .toggle-password{right:3px;width:36px;height:36px;padding:8px;color:#9e9e9e;display:grid;place-items:center}.auth-page .toggle-password svg{width:19px;height:19px}.auth-page .toggle-password.revealed{color:var(--wine)}.auth-page .field-grid{grid-template-columns:1fr;gap:10px}.auth-page .primary-button{min-height:42px;margin-top:5px;padding:11px;border-radius:999px;background:linear-gradient(180deg,var(--brand-copper),var(--wine-dark));box-shadow:0 8px 16px rgba(99,48,30,.28);font:700 13px Georgia,serif}.auth-page .switch-copy{font:13px Georgia,serif;color:#131313}.auth-page .switch-copy a{color:var(--wine);}.auth-page .secure-note{font-size:9px;margin:11px 0 0}.auth-page .alert{font-size:11px;padding:9px 11px;margin-bottom:12px}.auth-page .welcome,.auth-page .wordmark{display:none}
@media(max-width:460px){.auth-page .auth-shell{width:100%}.auth-page .brand-panel{min-height:235px;height:235px}.auth-page .form-panel{padding:0 14px 42px}.auth-page .form-wrap{padding:19px 18px 16px;border-radius:13px}.auth-floating-logo{width:62px;height:62px;bottom:6px}}

/* Premium finishing layer */
body.auth-page{background:radial-gradient(circle at 50% 0,#f5f5f5 0,#dbdbdb 48%,#c7c7c7 100%)}
.auth-page .auth-shell{position:relative;background:linear-gradient(180deg,#dcdcdc 0,#f1f1f1 62%);box-shadow:0 24px 70px rgba(67,38,25,.22),0 0 0 1px rgba(180,0,19,.08)}
.auth-page .brand-panel:after{content:"";position:absolute;z-index:2;inset:0;background:linear-gradient(115deg,rgba(99,48,30,.16),transparent 46%),linear-gradient(180deg,transparent 62%,rgba(241,241,241,.42) 84%,#f1f1f1 100%);pointer-events:none}
.auth-page .hero-product{filter:saturate(.92) contrast(1.04)}
.auth-floating-logo{bottom:6px;width:74px;height:74px;padding:3px;background:linear-gradient(145deg,#fff,#d7d7d7);border:1px solid rgba(255,255,255,.92);box-shadow:0 9px 24px rgba(99,48,30,.3),0 0 0 5px rgba(255,255,255,.3)}
.auth-page .form-panel{padding-left:20px;padding-right:20px}
.auth-page .form-wrap{border:1px solid rgba(235,10,30,.28);border-radius:18px;background:linear-gradient(150deg,rgba(255,255,255,.98),rgba(252,252,252,.96));box-shadow:0 18px 38px rgba(99,48,30,.18),0 4px 12px rgba(60,60,60,.08)}
.auth-page .form-wrap:before{content:"";position:absolute;left:20%;right:20%;top:0;height:1px;background:linear-gradient(90deg,transparent,#eb0a1e,transparent)}
.auth-page .auth-tabs{position:relative}.auth-page .auth-tabs:after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:linear-gradient(90deg,transparent,#e3d7c7,transparent)}
.auth-page .auth-tabs a{font-family:"DM Sans",system-ui,sans-serif;font-size:13px;letter-spacing:.02em}.auth-page .auth-tabs a.active{color:var(--wine)}.auth-page .auth-tabs a.active:after{z-index:2;background:linear-gradient(90deg,var(--brand-gold),var(--wine));border-radius:99px}
.auth-page .auth-form label{color:#494949;font-weight:600;letter-spacing:.015em}.auth-page .auth-form input{color:#202020;border-bottom-color:#dfdfdf;transition:border-color .2s,background .2s}.auth-page .auth-form input::placeholder{color:#9e9e9e}.auth-page .auth-form input:focus{border-bottom-color:var(--wine);background:#fefefe}.auth-page .phone-field b{color:#b40013;font-weight:700}
.auth-page .toggle-password{border-radius:50%;transition:background .2s,color .2s}.auth-page .toggle-password:hover,.auth-page .toggle-password:focus-visible{background:#ebebeb;color:var(--wine);outline:0}
.auth-page .primary-button{position:relative;overflow:hidden;background:linear-gradient(135deg,var(--brand-copper) 0,var(--wine) 68%,var(--wine-dark) 100%);border:1px solid rgba(99,48,30,.28);box-shadow:0 10px 22px rgba(99,48,30,.3),inset 0 1px rgba(255,255,255,.35);font-family:"DM Sans",system-ui,sans-serif;letter-spacing:.02em}.auth-page .primary-button:after{content:"";position:absolute;inset:0;background:linear-gradient(105deg,transparent 30%,rgba(255,255,255,.22) 48%,transparent 66%);transform:translateX(-120%);transition:transform .55s}.auth-page .primary-button:hover:after{transform:translateX(120%)}
.auth-page .switch-copy{font-family:"DM Sans",system-ui,sans-serif;font-size:12px}.auth-page .switch-copy a{color:var(--wine);text-underline-offset:3px}
@media(max-width:460px){.auth-page .form-panel{padding-left:13px;padding-right:13px}.auth-page .form-wrap{border-radius:17px;padding:20px 19px 17px}.auth-floating-logo{width:64px;height:64px}.auth-page .auth-form input{font-size:16px}}

/* Premium dashboard home */
.reference-home{background:linear-gradient(180deg,#efefef 0,#f7f7f7 45%,#f0f0f0 100%)}
.reference-home .store-main{padding-top:14px}
.premium-banner{aspect-ratio:16/7;height:auto;border-radius:16px;background:#222222;box-shadow:0 14px 30px rgba(41,41,41,.2);border:1px solid rgba(235,10,30,.25)}
.premium-banner:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(21,21,21,.9) 0,rgba(21,21,21,.65) 38%,rgba(21,21,21,.05) 72%);pointer-events:none}
.premium-banner>img{object-position:center;width:100%;height:100%;filter:saturate(.94) contrast(1.04)}
.premium-banner>div.banner-content{z-index:2;inset:0 auto 0 0;top:0;left:0;width:56%;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;padding:18px;background:transparent;color:#f8f8f8;border-radius:0}
.premium-banner .banner-kicker{font-size:8px;letter-spacing:.18em;color:#eb0a1e;font-weight:800}.premium-banner strong{font:700 21px/1.1 Georgia,serif;color:#fafafa}.premium-banner .banner-content>span:not(.banner-kicker){font-size:10px;color:#e5dac9}.premium-banner small{margin-top:7px;padding:4px 7px;border:1px solid rgba(235,10,30,.4);border-radius:99px;color:#eb0a1e;font-size:8px;letter-spacing:.08em}
.reference-home .quick-actions{gap:7px;margin:11px 0 15px;padding:10px 7px;border:1px solid rgba(235,10,30,.18);border-radius:15px;box-shadow:0 8px 20px rgba(76,54,34,.07)}
.reference-home .quick-actions>a{gap:6px;color:#3d3d3d;font-weight:600;font-size:10px}.reference-home .quick-actions>a svg{width:21px;height:21px;color:#b40013}.reference-home .quick-actions>a:before{content:"";position:absolute}.reference-home .quick-actions>a>svg{box-sizing:content-box;padding:7px;border-radius:50%;background:linear-gradient(145deg,#f9f9f9,#eadbc9);border:1px solid rgba(235,10,30,.2)}
.reference-home .catalog-heading{margin:16px 1px 11px}.reference-home .catalog-heading .eyebrow{color:#b40013}.reference-home .catalog-heading h1{font:700 19px Georgia,serif}.reference-home .wallet-chip{border-color:rgba(180,0,19,.25);background:linear-gradient(145deg,#fdfdfd,#f2e5d6);box-shadow:0 5px 13px rgba(78,55,33,.06)}
.reference-home .plan-card{border:1px solid rgba(235,10,30,.16);box-shadow:0 10px 25px rgba(70,48,29,.08)}.reference-home .plan-image{border-radius:11px}.reference-home .plan-buy{position:relative;isolation:isolate;overflow:hidden;border-radius:10px;background:linear-gradient(135deg,#eb0a1e 0,#b40013 52%,#6d351f 100%);border:1px solid rgba(105,51,29,.28);box-shadow:0 8px 18px rgba(180,0,19,.25),inset 0 1px rgba(255,255,255,.3);transition:transform .22s ease,box-shadow .22s ease,filter .22s ease;animation:bronze-button-breathe 2.8s ease-in-out infinite}.reference-home .plan-buy:before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(110deg,transparent 28%,rgba(245,245,245,.38) 48%,transparent 68%);transform:translateX(-125%);animation:bronze-button-shine 3.4s ease-in-out infinite}.reference-home .plan-buy:hover{transform:translateY(-2px) scale(1.015);filter:saturate(1.08);box-shadow:0 12px 23px rgba(105,53,29,.32),inset 0 1px rgba(255,255,255,.35)}.reference-home .plan-buy:active{transform:translateY(0) scale(.985)}.reference-home .plan-buy.muted-action{animation:none}.reference-home .plan-buy.muted-action:before{display:none}@keyframes bronze-button-shine{0%,58%{transform:translateX(-125%)}82%,100%{transform:translateX(125%)}}@keyframes bronze-button-breathe{0%,100%{box-shadow:0 8px 18px rgba(180,0,19,.24),inset 0 1px rgba(255,255,255,.3)}50%{box-shadow:0 10px 24px rgba(180,0,19,.38),0 0 0 3px rgba(235,10,30,.08),inset 0 1px rgba(255,255,255,.34)}}@media(prefers-reduced-motion:reduce){.reference-home .plan-buy,.reference-home .plan-buy:before{animation:none}.reference-home .plan-buy{transition:none}}
@media(max-width:420px){.premium-banner>div.banner-content{padding:14px;width:59%}.premium-banner strong{font-size:18px}.premium-banner .banner-content>span:not(.banner-kicker){font-size:9px}.reference-home .quick-actions{gap:3px;padding-left:4px;padding-right:4px}.reference-home .quick-actions>a{font-size:9px}.reference-home .quick-actions>a>svg{padding:6px}}
.profile-wallets{grid-template-columns:repeat(2,1fr)}
@media(max-width:420px){.profile-wallets{grid-template-columns:repeat(2,1fr)}.profile-wallets article:last-child{grid-column:auto}}

/* Editable Home information popup */
body.popup-open{overflow:hidden}.login-popup{position:fixed;z-index:1000;inset:0;display:grid;place-items:center;padding:22px;background:rgba(20,20,20,.72);backdrop-filter:blur(3px)}
.login-popup-card{position:relative;width:min(100%,390px);max-height:min(82vh,620px);overflow:auto;padding:30px 25px 0;text-align:center;background:linear-gradient(155deg,#fdfdfd,#f7ecdd);border:1px solid rgba(235,10,30,.45);border-radius:20px;box-shadow:0 28px 70px rgba(0,0,0,.34)}
.login-popup-card:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,#b40013,#eb0a1e,#b40013)}
.login-popup-card>img{width:72px;height:72px;object-fit:cover;border-radius:50%;border:3px solid #fff;box-shadow:0 7px 17px rgba(55,43,28,.2)}.login-popup-card .eyebrow{display:block;margin-top:12px;color:#b40013}.login-popup-card h2{margin:7px 0 12px;font:700 24px Georgia,serif;color:#43271b}.login-popup-card p{white-space:normal;margin:0 0 23px;color:#4f4f4f;font-size:13px;line-height:1.75}.login-popup-card>a{display:block;margin:0 -25px;padding:14px;background:linear-gradient(135deg,#b40013,#4e4e4e);color:#fff;text-decoration:none;font-weight:700;border-radius:0 0 19px 19px}.login-popup-close{position:absolute;z-index:2;top:10px;right:10px;width:38px;height:38px;border:2px solid #fff;border-radius:50%;background:#b73528;color:#fff;font:300 28px/30px Arial;cursor:pointer;box-shadow:0 5px 12px rgba(112,34,25,.28)}
@media(max-width:420px){.login-popup{padding:16px}.login-popup-card{padding:26px 19px 0;border-radius:17px}.login-popup-card>a{margin:0 -19px;border-radius:0 0 16px 16px}.login-popup-card h2{font-size:21px}.login-popup-card p{font-size:12px}}
.popup-information{display:grid;gap:12px;margin:0 0 22px;text-align:left}.popup-section-title{display:flex;align-items:center;justify-content:center;gap:7px;color:#b40013;font-size:13px}.popup-section-title span{width:21px;height:21px}.popup-section-title svg{width:100%;height:100%}.popup-levels{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.popup-levels article{position:relative;display:grid;gap:4px;padding:11px 5px;text-align:center;background:linear-gradient(145deg,#fafafa,#eee0ca);border:1px solid rgba(235,10,30,.25);border-radius:11px}.popup-levels article:before{content:"";position:absolute;left:25%;right:25%;top:0;height:2px;background:#eb0a1e;border-radius:5px}.popup-levels small,.popup-limits small{color:#857466;font-size:9px}.popup-levels strong{color:#b40013;font-size:16px}.popup-limits{display:grid;grid-template-columns:1fr 1fr;gap:8px}.popup-limits article{display:flex;align-items:center;gap:9px;padding:11px;background:#f0f0f0;border:1px solid rgba(180,0,19,.16);border-radius:11px}.popup-limits article>span{width:28px;height:28px;padding:6px;border-radius:50%;background:#eaeaea;color:#b40013;flex:0 0 auto}.popup-limits svg{width:100%;height:100%}.popup-limits article>div{display:grid;gap:2px}.popup-limits strong{color:#b40013;font-size:14px}.login-popup-card>p{margin-bottom:16px}
@media(max-width:360px){.popup-limits{grid-template-columns:1fr}.popup-levels article{padding:9px 3px}}

/* Premium brown popup theme matching the Spice Up Foods palette. */
.login-popup-card:before{background:linear-gradient(90deg,#6f3824,#eb0a1e,#6f3824)}
.popup-section-title{color:#75472f}
.popup-levels strong{color:#b40013}
.popup-limits article{border-color:rgba(180,0,19,.18);background:#eeeeee}
.popup-limits article>span{background:#ead9c7;color:#b40013}
.popup-limits strong{color:#74402a}
.popup-daily{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.popup-daily>span{display:grid;gap:3px;padding:10px 7px;text-align:center;border:1px solid rgba(180,0,19,.18);border-radius:10px;background:linear-gradient(145deg,#f3e4d3,#ead4bd)}
.popup-daily b{font-size:11px;color:#714129}
.popup-daily small{font-size:8px;color:#8d7867}
.login-popup-card>a.popup-join{position:relative;overflow:hidden;background:linear-gradient(135deg,#b40013,#71341f);box-shadow:0 8px 18px rgba(104,50,30,.25);animation:popupButtonPulse 2.2s ease-in-out infinite}
.login-popup-card>a.popup-join:after{content:"";position:absolute;inset:0;background:linear-gradient(105deg,transparent 28%,rgba(255,255,255,.32) 48%,transparent 68%);transform:translateX(-120%);animation:popupButtonShine 2.6s ease-in-out infinite}
@keyframes popupButtonPulse{0%,100%{box-shadow:0 8px 18px rgba(104,50,30,.22)}50%{box-shadow:0 10px 25px rgba(104,50,30,.4)}}
@keyframes popupButtonShine{0%,45%{transform:translateX(-120%)}70%,100%{transform:translateX(120%)}}
@media(prefers-reduced-motion:reduce){.login-popup-card>a.popup-join,.login-popup-card>a.popup-join:after{animation:none}}

/* Unified responsive admin panel */
body.admin-page{--admin-brown:#713b27;--admin-dark:#43261d;--admin-gold:#eb0a1e;--admin-cream:#f3f3f3;--admin-line:#e5d6c4;min-height:100vh;background:linear-gradient(145deg,#f0f0f0,#f8f8f8);color:#2a2a2a;font-family:"DM Sans",system-ui,sans-serif}
.admin-page .admin-sidebar{position:fixed;z-index:30;inset:0 auto 0 0;width:238px;padding:22px 14px;background:linear-gradient(180deg,#43261d,#6f3825);box-shadow:10px 0 30px rgba(58,32,22,.12);overflow-y:auto}
.admin-sidebar .wordmark{display:flex;align-items:center;gap:11px;padding:5px 7px 19px;color:#fff;text-decoration:none}.admin-sidebar .wordmark img{width:43px;height:43px;object-fit:cover;border-radius:12px;border:2px solid rgba(255,255,255,.7)}.admin-sidebar .wordmark span{display:grid}.admin-sidebar .wordmark strong{font:700 18px Georgia,serif}.admin-sidebar .wordmark small{font-size:9px;letter-spacing:.14em;color:#eb0a1e}
.admin-sidebar nav{display:grid;gap:4px}.admin-sidebar nav a{padding:10px 12px;border-radius:9px;color:#e0e0e0;text-decoration:none;font-size:12px;font-weight:600;transition:.2s}.admin-sidebar nav a:hover,.admin-sidebar nav a.active{color:#4d2b20;background:linear-gradient(135deg,#f9f9f9,#d2d2d2);transform:translateX(2px)}
.admin-page .admin-main{width:auto;max-width:none;margin-left:238px;padding:28px clamp(18px,3vw,42px)}.admin-main>header,.admin-editor-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px}.admin-main header h1,.admin-form-main h1{margin:3px 0;font:700 clamp(24px,3vw,34px) Georgia,serif;color:var(--admin-dark)}.admin-main header p,.admin-editor-head p{margin:4px 0;color:#7e6e61;font-size:12px}.admin-head-actions{display:flex;align-items:center;gap:10px}.admin-badge{padding:8px 11px;border:1px solid #cacaca;border-radius:99px;background:#fafafa;color:#795139;font-size:11px;font-weight:700}
.admin-page .primary-button,.admin-filter button,.admin-row-actions a,.admin-row-actions button{border:0;border-radius:9px;background:linear-gradient(135deg,#b40013,#65301f);color:#fff;text-decoration:none;font:700 12px inherit;cursor:pointer;box-shadow:0 6px 14px rgba(91,46,29,.16)}
.admin-page .primary-button{display:inline-flex;align-items:center;justify-content:center;padding:11px 16px}.admin-page .stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 20px}.admin-page .stat-grid article{padding:20px;border:1px solid var(--admin-line);border-radius:15px;background:rgba(255,255,255,.82);box-shadow:0 9px 24px rgba(76,52,34,.06)}.admin-page .stat-grid span{color:#8c7767;font-size:11px}.admin-page .stat-grid strong{color:var(--admin-brown);font:700 30px Georgia,serif}
.admin-page .table-card,.admin-page .settings-card,.admin-page .admin-form{border:1px solid var(--admin-line);border-radius:15px;background:rgba(255,255,255,.9);box-shadow:0 10px 28px rgba(72,48,30,.07)}.admin-page .section-title{display:flex;align-items:center;justify-content:space-between;padding:17px 19px;border-bottom:1px solid #e4e4e4}.admin-page .section-title h2,.admin-form h2{margin:0;color:var(--admin-dark);font:700 19px Georgia,serif}.admin-page .section-title p{margin:3px 0 0;color:#8b796b;font-size:11px}.admin-page .section-title>a{color:var(--admin-brown);font-size:12px;font-weight:700;text-decoration:none}
.admin-page .table-scroll{overflow:auto}.admin-page table{width:100%;border-collapse:collapse;min-width:720px}.admin-page th{background:#ebebeb;color:#775844;font-size:10px;letter-spacing:.04em;text-transform:uppercase}.admin-page th,.admin-page td{padding:12px 14px;border-bottom:1px solid #e6e6e6;text-align:left;vertical-align:middle}.admin-page td{font-size:12px}.admin-page td small{color:#8a796d}.admin-page code{padding:3px 6px;border-radius:5px;background:#f3e7d8;color:#b40013}.admin-page .status{display:inline-flex;padding:5px 8px;border-radius:99px;font-size:10px;font-weight:800}.admin-page .status.active,.admin-page .status.approved{background:#efefef;color:#b40013}.admin-page .status.blocked,.admin-page .status.rejected{background:#eaeaea;color:#a13a2e}.admin-page .status.pending,.admin-page .status.processing{background:#f2f2f2;color:#b40013}
.admin-page .admin-form-main{width:min(100% - 28px,1050px);margin:24px auto;padding:0}.admin-form-main>a{display:inline-block;margin-bottom:12px;color:var(--admin-brown);font-size:12px;font-weight:700;text-decoration:none}.admin-page .admin-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;padding:20px;margin:14px 0}.admin-page .admin-form label{display:grid;gap:6px;color:#684b39;font-size:11px;font-weight:700}.admin-page .admin-form input,.admin-page .admin-form select,.admin-page .admin-form textarea,.admin-filter input,.admin-filter select{width:100%;min-height:43px;padding:10px 11px;border:1px solid #dfcfbd;border-radius:9px;background:#fdfdfd;color:#282828;font:inherit}.admin-page .admin-form input:focus,.admin-page .admin-form select:focus,.admin-page .admin-form textarea:focus,.admin-filter input:focus{outline:2px solid rgba(180,0,19,.18);border-color:#b40013}.admin-page .admin-form .full{grid-column:1/-1}.admin-page .check-label{display:flex!important;align-items:center;gap:9px}.admin-page .check-label input{width:18px;min-height:auto}.admin-page .settings-card{padding:20px;margin-top:14px}.admin-page .alert{border-radius:10px;padding:11px 13px;margin:12px 0;font-size:12px}
.admin-filter{display:grid;grid-template-columns:minmax(220px,1fr) 160px auto auto;gap:9px;margin:0 0 15px;padding:12px;border:1px solid var(--admin-line);border-radius:13px;background:#fff}.admin-filter button,.admin-filter a{display:grid;place-items:center;padding:10px 14px}.admin-filter a{color:var(--admin-brown);font-size:12px;font-weight:700;text-decoration:none}.admin-row-actions{display:flex;align-items:center;gap:6px;white-space:nowrap}.admin-row-actions form{margin:0}.admin-row-actions a,.admin-row-actions button{display:inline-block;padding:8px 10px}.admin-row-actions button{background:#ead8c1;color:#673722;box-shadow:none}.admin-edit-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.admin-edit-grid .admin-form{align-content:start;margin:0}.wallet-admin-balance{display:grid;grid-template-columns:1fr 1fr;gap:9px}.wallet-admin-balance span{display:grid;gap:4px;padding:12px;border-radius:10px;background:#f6eadb;color:#826650;font-size:10px}.wallet-admin-balance b{color:#6e3825;font-size:17px}.admin-current-image img{max-width:220px;border-radius:12px}
@media(max-width:850px){.admin-page .admin-sidebar{position:sticky;inset:0 0 auto;width:100%;padding:10px 12px}.admin-sidebar .wordmark{padding:0 4px 9px}.admin-sidebar .wordmark img{width:34px;height:34px}.admin-sidebar nav{display:flex;overflow-x:auto;gap:6px;padding-bottom:2px;scrollbar-width:none}.admin-sidebar nav::-webkit-scrollbar{display:none}.admin-sidebar nav a{flex:0 0 auto;padding:8px 10px;background:rgba(255,255,255,.06)}.admin-sidebar nav a:hover,.admin-sidebar nav a.active{transform:none}.admin-page .admin-main{margin-left:0;padding:18px 12px}.admin-edit-grid{grid-template-columns:1fr}.admin-page .admin-form-main{margin:16px auto}.admin-main>header,.admin-editor-head{align-items:flex-start}.admin-head-actions{flex-wrap:wrap;justify-content:flex-end}}
@media(max-width:600px){.admin-page .stat-grid{grid-template-columns:1fr 1fr;gap:9px}.admin-page .stat-grid article{padding:14px}.admin-page .stat-grid article:first-child{grid-column:1/-1}.admin-page .stat-grid strong{font-size:24px}.admin-main>header,.admin-editor-head{display:grid}.admin-head-actions{justify-content:flex-start}.admin-page .admin-form{grid-template-columns:1fr;padding:14px}.admin-page .admin-form .full{grid-column:auto}.admin-filter{grid-template-columns:1fr 1fr}.admin-filter input{grid-column:1/-1}.admin-page .table-card{border-radius:12px}.admin-page th,.admin-page td{padding:10px}.admin-row-actions{white-space:normal}.wallet-admin-balance{grid-column:auto}.admin-page .admin-form-main{width:min(100% - 20px,1050px)}}
.admin-section-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:24px 2px 12px}.admin-section-heading h2{margin:3px 0 0;color:var(--admin-dark);font:700 21px Georgia,serif}.admin-section-heading small{color:#8b7768}.finance-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:22px}.finance-card{position:relative;display:grid;gap:7px;min-height:125px;padding:17px;overflow:hidden;border:1px solid var(--admin-line);border-radius:14px;background:linear-gradient(145deg,#fff,#f1f1f1);color:#2a2a2a;text-decoration:none;box-shadow:0 9px 23px rgba(76,50,32,.07);transition:transform .2s,box-shadow .2s}.finance-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:#b40013}.finance-card:hover{transform:translateY(-2px);box-shadow:0 13px 28px rgba(76,50,32,.12)}.finance-card>span{color:#796757;font-size:11px;font-weight:700}.finance-card>strong{align-self:center;color:#663521;font:700 clamp(19px,2vw,26px) Georgia,serif;overflow-wrap:anywhere}.finance-card>small{color:#948275;font-size:9px}.finance-card.incoming:before{background:#b40013}.finance-card.incoming>strong{color:#b40013}.finance-card.outgoing:before{background:#aa5542}.finance-card.outgoing>strong{color:#8f3f31}.finance-card.wallet:before{background:#eb0a1e}.finance-card.sales:before{background:#795039}.finance-card.income:before{background:#b40013}
@media(max-width:1150px){.finance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.finance-grid{gap:9px}.finance-card{min-height:112px;padding:13px}.finance-card>strong{font-size:18px}.admin-section-heading{align-items:start}.admin-section-heading small{max-width:100px;text-align:right}}

/* User-facing payment channel selector (gateway brand intentionally private). */
.payment-channel-box{display:grid;gap:12px;padding:var(--ui-padding);border:1px solid rgba(180,0,19,.13);border-radius:var(--ui-radius);background:var(--brand-surface)}
.payment-channel-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.payment-channel-head>span{font-weight:800;color:#64351f}.payment-channel-head>small{font-size:9px;color:var(--muted)}
.payment-channels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.payment-channels label{position:relative;display:grid;place-items:center;min-height:75px;padding:10px 5px;border:1px solid #e3d4c2;border-radius:11px;background:linear-gradient(145deg,#fdfdfd,#ebebeb);text-align:center;cursor:pointer;transition:.2s}.payment-channels input{position:absolute;opacity:0;pointer-events:none}.payment-channels label>span{display:grid;gap:4px}.payment-channels b{font-size:12px;color:#523225}.payment-channels small{font-size:8px;color:#8a786a}.payment-channels em{position:absolute;top:6px;right:6px;display:none;width:16px;height:16px;border-radius:50%;background:#824328;color:#fff;font:700 10px/16px Arial}.payment-channels label:has(input:checked){border-color:#b40013;background:linear-gradient(145deg,#f9ead8,#d3d3d3);box-shadow:0 6px 15px rgba(180,0,19,.13);transform:translateY(-1px)}.payment-channels label:has(input:checked) em{display:block}.payment-channels label:focus-within{outline:3px solid rgba(180,0,19,.2);outline-offset:2px}.payment-proceed{position:relative;overflow:hidden;background:linear-gradient(135deg,#b40013,#69321f)!important}.payment-proceed:not(:disabled):after{content:"";position:absolute;inset:0;background:linear-gradient(105deg,transparent 30%,rgba(255,255,255,.24) 48%,transparent 66%);transform:translateX(-120%);animation:paymentButtonShine 2.7s ease-in-out infinite}.payment-proceed:disabled{cursor:not-allowed;opacity:.55}.payment-unavailable{color:#9c392e}.wallet-form .availability{font-size:12px;margin:0}
@keyframes paymentButtonShine{0%,45%{transform:translateX(-120%)}72%,100%{transform:translateX(120%)}}
@media(max-width:370px){.payment-channels{grid-template-columns:1fr}.payment-channels label{min-height:56px}.payment-channels label>span{display:flex;align-items:center;gap:7px}}
@media(prefers-reduced-motion:reduce){.payment-proceed:not(:disabled):after{animation:none}}

/* Balanced wallet summary on dashboard. */
.reference-home .catalog-heading{display:block;margin:12px 0}.home-wallets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%}.reference-home .home-wallets .wallet-chip{min-width:0;min-height:52px;padding:8px 9px;text-align:center;place-content:center}.reference-home .home-wallets .wallet-chip span{white-space:nowrap;font-size:9px}.reference-home .home-wallets .wallet-chip b{font-size:13px}

/* Mobile off-canvas admin navigation. */
.admin-menu-toggle,.admin-menu-close,.admin-menu-overlay{display:none}
@media(max-width:850px){body.admin-page{padding-top:58px}.admin-page .admin-sidebar{position:fixed;z-index:1002;inset:0 auto 0 0;width:min(82vw,290px);padding:18px 14px;transform:translateX(-105%);transition:transform .25s ease;box-shadow:18px 0 45px rgba(19,19,19,.28);overflow-y:auto}.admin-page .admin-sidebar .wordmark{padding-right:46px}.admin-page .admin-sidebar nav{display:grid;overflow:visible;padding:0}.admin-page .admin-sidebar nav a{width:100%;padding:11px 12px;background:transparent}.admin-page .admin-sidebar nav a.active{background:linear-gradient(135deg,#f9f9f9,#d2d2d2)}.admin-menu-toggle{position:fixed;z-index:1000;display:grid;align-content:center;gap:4px;top:10px;left:max(12px,calc((100vw - 430px)/2 + 12px));width:40px;height:38px;padding:9px;border:1px solid rgba(180,0,19,.2);border-radius:10px;background:linear-gradient(145deg,#fafafa,#ead9c4);box-shadow:0 5px 14px rgba(66,39,25,.16);cursor:pointer}.admin-menu-toggle span{display:block;width:100%;height:2px;border-radius:5px;background:#713b27}.admin-menu-close{position:absolute;z-index:2;display:grid;place-items:center;top:14px;right:13px;width:36px;height:36px;padding:0;border:1px solid rgba(255,255,255,.28);border-radius:50%;background:rgba(255,255,255,.1);color:#fff;font:300 27px/1 Arial;cursor:pointer}.admin-menu-overlay{position:fixed;z-index:1001;display:block;inset:0;width:100%;height:100%;padding:0;border:0;background:rgba(23,23,23,.55);opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s}.admin-menu-open{overflow:hidden}.admin-menu-open .admin-sidebar{transform:translateX(0)}.admin-menu-open .admin-menu-overlay{opacity:1;visibility:visible}.admin-page .admin-main{padding-top:14px}}
@media(prefers-reduced-motion:reduce){.admin-page .admin-sidebar,.admin-menu-overlay{transition:none}}

/* Refined mobile admin header and separate light navigation drawer. */
.admin-mobile-header{display:none}
@media(max-width:850px){body.admin-page{padding-top:68px;background:#f1f1f1}.admin-mobile-header{position:fixed;z-index:999;display:grid;grid-template-columns:42px 1fr 42px;align-items:center;top:0;left:0;right:0;height:58px;padding:0 12px;border-bottom:1px solid #e5d6c3;background:rgba(253,253,253,.97);box-shadow:0 5px 18px rgba(70,44,27,.08);backdrop-filter:blur(10px)}.admin-mobile-header>strong{text-align:center;color:#67351f;font:700 15px Georgia,serif}.admin-mobile-spacer{width:42px}.admin-menu-toggle{position:static;display:grid;width:40px;height:38px;background:#fafafa;box-shadow:none}.admin-page .admin-sidebar{top:10px;bottom:10px;left:10px;width:min(82vw,310px);height:auto;padding:14px 12px;border:1px solid #e4d4c0;border-radius:17px;background:linear-gradient(160deg,#fefefe,#f0f0f0);box-shadow:18px 0 50px rgba(26,26,26,.28)}.admin-page .admin-sidebar .wordmark{min-height:58px;margin:0 42px 8px 0;padding:5px 7px 13px;border-bottom:1px solid #eadccc;color:#5e321f}.admin-sidebar .wordmark img{width:40px;height:40px;border-color:#eb0a1e}.admin-sidebar .wordmark strong{font-size:17px}.admin-sidebar .wordmark small{color:#b40013}.admin-page .admin-sidebar nav{gap:0;padding:0 4px}.admin-page .admin-sidebar nav a{position:relative;display:flex;align-items:center;min-height:45px;padding:10px 11px 10px 34px;border-bottom:1px dashed #eadbca;border-radius:8px;background:transparent;color:#454545;font-size:12px}.admin-page .admin-sidebar nav a:before{content:"";position:absolute;left:13px;width:8px;height:8px;border:2px solid #b40013;border-radius:3px;transform:rotate(45deg)}.admin-page .admin-sidebar nav a:hover,.admin-page .admin-sidebar nav a.active{color:#713a23;background:linear-gradient(135deg,#f8e7d4,#dedede);transform:none}.admin-page .admin-sidebar nav a.active:after{content:"";position:absolute;left:0;top:9px;bottom:9px;width:3px;border-radius:4px;background:#b40013}.admin-menu-close{top:15px;right:14px;border:1px solid #eb0a1e;background:#fafafa;color:#b40013;box-shadow:none}.admin-menu-overlay{background:rgba(29,29,29,.5);backdrop-filter:blur(1px)}.admin-page .admin-main{padding-top:8px}}
@media(max-width:850px){.admin-page .admin-sidebar{display:block;align-items:initial;justify-content:initial}.admin-page .admin-sidebar .wordmark{display:flex;width:auto}.admin-page .admin-sidebar .wordmark small{display:block}.admin-page .admin-sidebar nav{display:grid;width:100%;margin-top:0}.admin-page .admin-sidebar nav a{width:100%}}
.admin-page.admin-shell-ready .admin-form-main{max-width:none;width:auto;margin:24px 28px 24px 266px}
@media(max-width:850px){.admin-page.admin-shell-ready .admin-form-main{width:min(100% - 20px,1050px);margin:10px auto 20px}}
@media(min-width:851px){body.admin-page.admin-shell-ready{padding-top:70px}.admin-mobile-header{position:fixed;z-index:999;display:grid;grid-template-columns:44px 1fr 44px;align-items:center;top:0;left:0;right:0;height:60px;padding:0 20px;border-bottom:1px solid #e5d6c3;background:rgba(253,253,253,.97);box-shadow:0 5px 18px rgba(70,44,27,.08)}.admin-mobile-header>strong{text-align:center;color:#67351f;font:700 16px Georgia,serif}.admin-menu-toggle{position:static;display:grid;align-content:center;gap:4px;width:40px;height:38px;padding:9px;border:1px solid rgba(180,0,19,.2);border-radius:10px;background:#fafafa;cursor:pointer}.admin-menu-toggle span{display:block;height:2px;background:#713b27}.admin-page .admin-sidebar{z-index:1002;top:10px;bottom:10px;left:10px;inset-block:10px;width:300px;padding:14px 12px;border:1px solid #e4d4c0;border-radius:17px;background:linear-gradient(160deg,#fefefe,#f0f0f0);transform:translateX(-106%);transition:transform .25s ease;box-shadow:18px 0 50px rgba(26,26,26,.28)}.admin-page .admin-sidebar .wordmark{min-height:58px;margin:0 42px 8px 0;padding:5px 7px 13px;border-bottom:1px solid #eadccc;color:#5e321f}.admin-page .admin-sidebar .wordmark strong{color:#6d3923}.admin-page .admin-sidebar .wordmark small{display:block;color:#b40013}.admin-page .admin-sidebar nav{margin-top:0;gap:1px}.admin-page .admin-sidebar nav a{position:relative;min-height:40px;padding:9px 11px 9px 32px;color:#454545}.admin-page .admin-sidebar nav a:before{content:"";position:absolute;left:12px;top:50%;width:7px;height:7px;border:2px solid #b40013;border-radius:3px;transform:translateY(-50%) rotate(45deg)}.admin-page .admin-sidebar nav a:hover,.admin-page .admin-sidebar nav a.active{color:#713a23;background:#f3dfc7;transform:none}.admin-menu-close{display:grid;place-items:center;top:15px;right:14px;border:1px solid #eb0a1e;background:#fafafa;color:#b40013}.admin-menu-overlay{position:fixed;z-index:1001;display:block;inset:0;border:0;background:rgba(29,29,29,.48);opacity:0;visibility:hidden;transition:.25s}.admin-menu-open .admin-sidebar{transform:translateX(0)}.admin-menu-open .admin-menu-overlay{opacity:1;visibility:visible}.admin-page .admin-main{margin-left:0;padding-top:18px}.admin-page.admin-shell-ready .admin-form-main{width:min(calc(100% - 48px),1100px);margin:24px auto}}
@media(min-width:851px){.admin-menu-toggle span{width:100%}.admin-menu-close{position:absolute;z-index:2;width:36px;height:36px;padding:0;border-radius:50%;font:300 27px/1 Arial;cursor:pointer}.admin-menu-overlay{width:100%;height:100%;padding:0;cursor:pointer}}
.admin-edit-grid .admin-bank-editor{grid-column:1/-1}
@media(max-width:850px){.admin-edit-grid .admin-bank-editor{grid-column:auto}}

/* Premium three-level team page. */
.premium-team-page{background:linear-gradient(180deg,#efefef,#f8f8f8)}.premium-team-page .referral-shell{display:grid;gap:11px}.team-hero{position:relative;overflow:hidden;padding:22px;border-radius:16px;background:linear-gradient(135deg,#4b291e,#b40013);color:#f8f8f8;box-shadow:0 12px 28px rgba(75,41,30,.2)}.team-hero:after{content:"";position:absolute;width:150px;height:150px;right:-60px;top:-70px;border:1px solid rgba(235,10,30,.25);border-radius:50%}.team-hero .eyebrow{color:#eb0a1e;font-size:8px}.team-hero h1{max-width:320px;margin:7px 0;font:700 25px/1.08 Georgia,serif}.team-hero p{max-width:370px;margin:0;color:#eadbd0;font-size:11px;line-height:1.55}.team-hero a{display:inline-flex;margin-top:14px;padding:9px 12px;border-radius:8px;background:#f9f9f9;color:#713a24;text-decoration:none;font-size:10px;font-weight:800}.team-rate-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.team-rate-grid article{display:grid;gap:3px;padding:12px 7px;border:1px solid #e6d5c0;border-radius:12px;background:#fdfdfd;text-align:center;box-shadow:0 6px 15px rgba(75,48,29,.05)}.team-rate-grid small{font-size:8px;color:#eb0a1e;letter-spacing:.08em}.team-rate-grid strong{color:#7d4027;font:700 20px Georgia,serif}.team-rate-grid span{font-size:8px;color:#88786c}.team-account{padding:14px;border:1px solid #e7d8c6;border-radius:14px;background:#fff;box-shadow:0 8px 22px rgba(74,50,33,.06)}.team-account-person{display:flex;align-items:center;gap:11px}.team-account-person img{width:48px;height:48px;object-fit:cover;border:2px solid #eb0a1e;border-radius:13px}.team-account-person small{font-size:8px;color:#b40013;letter-spacing:.1em}.team-account-person h2{margin:2px 0;font:700 16px Georgia,serif;color:#4a2c20}.team-account-person p{margin:0;font-size:9px;color:#88776a}.team-account-person code{font-size:9px}.team-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:12px}.team-summary span{display:grid;gap:3px;padding:9px 5px;border-radius:9px;background:#f6eadb;text-align:center}.team-summary small{font-size:8px;color:#8e7866}.team-summary b{font-size:13px;color:#713a25}.team-level{overflow:hidden;border:1px solid #e5d5c3;border-radius:14px;background:#fff}.team-level>header{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;background:linear-gradient(120deg,#f7eadb,#fbfbfb)}.team-level>header span,.team-level>header small{font-size:8px;color:#b40013}.team-level>header h2{margin:2px 0 0;font-size:14px;color:#4e3023}.team-level>header>div:last-child{display:grid;text-align:right}.team-level>header b{color:#7b3f27;font-size:13px}.team-member-list{display:grid;padding:0 12px}.team-member-list article{display:flex;align-items:center;gap:10px;padding:11px 1px;border-bottom:1px solid #e5e5e5}.team-member-list article:last-child{border-bottom:0}.team-avatar{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:50%;background:linear-gradient(145deg,#d1d1d1,#efefef);color:#b40013;font-weight:800}.team-member-list article>div{display:grid;flex:1;min-width:0}.team-member-list article b{font-size:11px;color:#48382e}.team-member-list article small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8px;color:#938277}.team-member-list .status{font-style:normal;font-size:8px}.team-empty{display:grid;place-items:center;gap:5px;padding:22px;color:#8b7b6f;text-align:center}.team-empty>span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#f2e3d1;color:#b40013;font-weight:800}.team-empty p{margin:0;font-size:10px}.team-empty a{color:#7c4028;font-size:9px;font-weight:700}
@media(max-width:370px){.team-summary{grid-template-columns:1fr 1fr}.team-summary span:last-child{grid-column:1/-1}.team-rate-grid article{padding-inline:3px}.team-rate-grid strong{font-size:18px}}
.withdraw-rules{display:grid;gap:10px;padding:14px;border:1px solid #e4d2bd;border-radius:13px;background:linear-gradient(145deg,#fdfdfd,#f4e7d7)}.withdraw-rules>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px}.withdraw-rules>div:first-child span{font-size:11px;font-weight:800;color:#6d3925}.withdraw-rules>div:first-child b{padding:5px 8px;border-radius:99px;background:#efefef;color:#b40013;font-size:9px}.withdraw-rules.is-closed>div:first-child b{background:#f9e2dd;color:#a23e31}.withdraw-rule-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.withdraw-rule-grid span{display:grid;gap:3px;padding:8px 4px;border-radius:8px;background:#fff;text-align:center}.withdraw-rule-grid small{font-size:8px;color:#8c796b}.withdraw-rule-grid b{font-size:11px;color:#713b26}.withdraw-rules p{margin:0;color:#897568;font-size:9px;line-height:1.5}.withdraw-form .wallet-submit:disabled{cursor:not-allowed;filter:grayscale(.5);opacity:.58}

/* Keep every user-panel accent aligned with the brown brand palette. */
.store-page{--app-green:var(--brand-primary);--green:var(--brand-primary)}
.store-page.wallet-page input:focus-visible,.store-page.wallet-page button:focus-visible,.store-page.wallet-page a:focus-visible{outline-color:var(--brand-copper)}
.store-page .wallet-submit{background:linear-gradient(115deg,var(--wine-dark),var(--brand-primary) 55%,var(--brand-copper))}
.store-page .profile-menu a,.store-page .amount-options button{background:var(--brand-soft)}
.store-page .alert.success,.store-page .wallet-alert.success{border-color:#c7c7c7;background:#f4e6d5;color:var(--wine-dark)}
.store-page .status.active,.store-page .status.approved,.store-page .status.delivered,.store-page .state.approved{background:#f1dfca;color:var(--wine-dark)}
.store-page .withdraw-rules>div:first-child b{background:#f1dfca;color:var(--wine-dark)}
.vip-badge{display:inline-flex;align-items:center;padding:4px 8px;border:1px solid rgba(255,255,255,.45);border-radius:99px;background:rgba(255,255,255,.16);color:#f7f7f7;font-size:10px;letter-spacing:.04em}
@media(min-width:851px){.admin-page .table-card{contain:layout paint}.admin-page .table-scroll{content-visibility:auto;contain-intrinsic-size:auto 520px}}

/* Toyota identity: electric-blue light over a deep-black performance UI. */
:root{--wine:#eb0a1e;--wine-dark:#b40013;--saffron:#eb0a1e;--cream:#0f0f0f;--ink:#f6f6f6;--muted:#a3a3a3;--line:#333333;--white:#161616;--green:#eb0a1e;--shadow:0 22px 55px rgba(235,10,30,.2);--brand-primary:#eb0a1e;--brand-copper:#eb0a1e;--brand-gold:#eb0a1e;--brand-soft:#1d1d1d;--brand-surface:#161616;--brand-olive:#eb0a1e;--app-green:#eb0a1e}
html,body{background:#080808;color:var(--ink)}
body{background-image:radial-gradient(circle at 12% 5%,rgba(235,10,30,.13),transparent 25%),radial-gradient(circle at 90% 28%,rgba(235,10,30,.08),transparent 24%)}
.store-page,.reference-home,.premium-team-page,.share-page,.dashboard-page,.wallet-page{background:linear-gradient(180deg,#080808,#111111 48%,#0a0a0a);color:var(--ink)}
.store-main,.page-main,.referral-shell,.share-shell,.profile-main,.wallet-main{position:relative}
.store-page .dash-header,.store-page .bottom-nav{background:rgba(11,11,11,.95);border-color:#333333;backdrop-filter:blur(16px)}
.store-page .bottom-nav a{color:#eb0a1e}.store-page .bottom-nav a.active{color:#eb0a1e}.store-page .bottom-nav a.active svg{filter:drop-shadow(0 0 7px #eb0a1e)}
.premium-banner{border:1px solid #eb0a1e;border-radius:18px;background:#050505;box-shadow:0 18px 45px rgba(235,10,30,.28),inset 0 0 28px rgba(235,10,30,.09)}
.premium-banner>img{object-position:center 51%;filter:saturate(1.08) contrast(1.08)}
.premium-banner:after{background:linear-gradient(90deg,rgba(7,7,7,.96),rgba(7,7,7,.62) 44%,rgba(7,7,7,.05) 78%)}
.premium-banner .banner-content{z-index:2;background:rgba(9,9,9,.72);color:#f7f7f7;border:1px solid rgba(235,10,30,.3);backdrop-filter:blur(7px)}
.premium-banner .banner-kicker,.eyebrow,.category{color:#eb0a1e}.premium-banner strong{color:#fff;text-shadow:0 0 18px rgba(235,10,30,.85)}
.quick-actions,.plan-card,.account-card,.invite-card,.cart-list,.order-summary,.empty-card,.about-card,.install-card,.settings-card,.team-account,.team-level,.referral-cards article,.referral-list article,.qr-card,.share-card{background:linear-gradient(145deg,#171717,#121212);border:1px solid #363636;box-shadow:0 10px 28px rgba(0,0,0,.25)}
.quick-actions>a,.quick-actions svg{color:#eb0a1e}.quick-actions>a:hover{color:#fff;filter:drop-shadow(0 0 7px #eb0a1e)}
.plan-card{padding:11px;border-radius:16px}.plan-image{border:1px solid #b40013;border-radius:11px;background:#0f0f0f}.plan-image:after{inset:48% 0 0;background:linear-gradient(transparent,rgba(4,4,4,.92))}.stock-tag{background:linear-gradient(135deg,#eb0a1e,#eb0a1e);box-shadow:0 5px 16px rgba(235,10,30,.35)}
.plan-stats>div,.wallet-chip,.money-input,.bind-button,.amount-options button,.team-summary span{background:#1d1d1d;border:1px solid #373737}.plan-stats strong,.wallet-chip b,.price-row strong,.detail-price,.team-summary b{color:#eb0a1e}.plan-stats span,.wallet-chip span,.weight,.product-detail p{color:#a2a2a2}
.plan-buy,.store-page .wallet-submit,.copy-button,.hero-button,.add-button,.section-action a{background:linear-gradient(115deg,#eb0a1e,#eb0a1e 55%,#eb0a1e);color:#fff;border:1px solid rgba(235,10,30,.4);box-shadow:0 8px 24px rgba(235,10,30,.32)}
.plan-buy:hover,.store-page .wallet-submit:hover{filter:brightness(1.14);transform:translateY(-1px)}
.profile-head,.referral-hero,.share-shell>header,.team-hero{background:linear-gradient(120deg,rgba(7,7,7,.96),rgba(180,0,19,.82)),url('../images/product-blue-volt.png') center/cover;border:1px solid #eb0a1e;box-shadow:var(--shadow)}
.profile-menu a,.store-page .profile-menu a,.store-page .amount-options button{background:#1b1b1b;border:1px solid #363636;color:#f6f6f6}.profile-menu a>span,.profile-head code{color:#eb0a1e}
.auth-page{background:#050505}.auth-page .auth-shell{background:#0b0b0b}.auth-page .brand-panel{background:radial-gradient(circle at 50% 42%,rgba(235,10,30,.34),transparent 38%),linear-gradient(145deg,#040404,#141414 68%,#060606)}.auth-page .brand-panel:after{background:linear-gradient(180deg,transparent 55%,rgba(7,7,7,.48) 78%,#0b0b0b 100%)}
.auth-page .hero-product{border-radius:26px;border:1px solid #eb0a1e;box-shadow:0 24px 60px rgba(235,10,30,.35)}.auth-floating-logo{background:#080808;border-color:#eb0a1e;box-shadow:0 0 30px rgba(235,10,30,.7),0 0 0 5px rgba(235,10,30,.14)}
.auth-page .form-panel{background:linear-gradient(180deg,#0b0b0b,#111111)}.auth-page .form-wrap{background:linear-gradient(150deg,rgba(23,23,23,.98),rgba(11,11,11,.98));border-color:#b40013;box-shadow:0 18px 42px rgba(0,0,0,.38),0 0 35px rgba(235,10,30,.08)}.auth-page .form-wrap:before{background:linear-gradient(90deg,transparent,#eb0a1e,transparent)}
.auth-page .auth-tabs a{color:#8d8d8d}.auth-page .auth-tabs a.active,.auth-page .switch-copy a,.auth-page .toggle-password{color:#eb0a1e}.auth-page .auth-tabs a.active:after{background:linear-gradient(90deg,#eb0a1e,#eb0a1e)}.auth-page .auth-form label{color:#d6d6d6}.auth-page .auth-form input{color:#fafafa;background:#131313;border-color:#363636}.auth-page .auth-form input::placeholder{color:#eb0a1e}.auth-page .auth-form input:focus{border-color:#eb0a1e;background:#181818}.auth-page .primary-button{background:linear-gradient(135deg,#b40013,#eb0a1e 60%,#eb0a1e);border-color:#eb0a1e;box-shadow:0 10px 25px rgba(235,10,30,.38)}
.login-popup-card{background:linear-gradient(150deg,#1a1a1a,#0c0c0c);border:1px solid #b40013;color:#f6f6f6;box-shadow:0 24px 70px rgba(0,0,0,.7),0 0 35px rgba(235,10,30,.15)}.login-popup-card>img{border-color:#eb0a1e}.popup-levels article,.popup-limits article,.popup-daily{background:#1a1a1a;border-color:#b40013}.popup-join{background:linear-gradient(120deg,#eb0a1e,#eb0a1e)}
.admin-page{--admin-dark:#f5f5f5;--admin-brown:#eb0a1e;--admin-line:#373737;background:#0a0a0a;color:#eaeaea}.admin-page .admin-main,.admin-page .admin-form-main{color:#eaeaea}.admin-page .admin-sidebar{background:linear-gradient(180deg,#070707,#191919);border-color:#b40013}.admin-page .admin-sidebar nav a{color:#b2b2b2}.admin-page .admin-sidebar nav a:hover,.admin-page .admin-sidebar nav a.active{color:#fff;background:linear-gradient(135deg,#b40013,#eb0a1e)}.admin-page .wordmark strong,.admin-sidebar .wordmark strong{color:#eb0a1e!important}
.admin-page .table-card,.admin-page .settings-card,.admin-page .admin-form,.admin-page .stat-grid article,.admin-filter,.finance-card{background:linear-gradient(145deg,#161616,#101010);border-color:#363636;color:#f6f6f6}.admin-page th{background:#212121;color:#eb0a1e}.admin-page td{border-color:#303030}.admin-page td small,.admin-main header p,.admin-editor-head p{color:#9f9f9f}.admin-page .stat-grid strong,.finance-card>strong{color:#eb0a1e}.admin-page .admin-form input,.admin-page .admin-form select,.admin-page .admin-form textarea,.admin-filter input,.admin-filter select{background:#111111;border-color:#b40013;color:#f8f8f8}.admin-page .primary-button,.admin-filter button,.admin-row-actions a{background:linear-gradient(135deg,#b40013,#eb0a1e)}
@media(max-width:560px){.auth-page .auth-shell{background:linear-gradient(#070707 0 235px,#0b0b0b 235px)}.auth-page .brand-panel{background:radial-gradient(circle at 50% 50%,rgba(235,10,30,.24),transparent 48%)}}

/* Final auth viewport guard: prevent legacy min-content sizing and light gutters. */
html:has(body.auth-page){background:#050505}
body.auth-page{width:100%;min-width:0;overflow-x:hidden;background:#050505!important;color:#f6f6f6;align-items:flex-start}
body.auth-page .auth-shell{flex:0 1 430px;width:100%;max-width:430px;min-width:0;margin:0 auto;overflow:hidden;background:#0b0b0b!important}
body.auth-page .brand-panel,body.auth-page .form-panel,body.auth-page .form-wrap,body.auth-page .auth-form{width:100%;min-width:0;max-width:100%}
body.auth-page .form-panel{padding-inline:14px}
body.auth-page .form-wrap{overflow:hidden}
body.auth-page .auth-form input{min-width:0}
@media(max-width:460px){body.auth-page .auth-shell{flex-basis:100%;max-width:none}body.auth-page .form-panel{padding-inline:12px}body.auth-page .form-wrap{padding-inline:18px}}

/* Flat blue login/register layout based on the supplied mobile references. */
html:has(body.auth-page){background:#eb0a1e!important}
body.auth-page{display:block!important;min-height:100vh;background:#eb0a1e!important;color:#272727!important}
body.auth-page .auth-shell{position:relative!important;display:flex!important;flex-direction:column!important;width:min(100%,500px)!important;max-width:500px!important;min-height:100vh!important;margin:0 auto!important;overflow:hidden!important;background:linear-gradient(180deg,#343434 0,#b40013 40%,#eb0a1e 72%,#eaeaea 100%)!important;box-shadow:none!important}
body.auth-page .auth-shell:before{content:""!important;position:absolute!important;z-index:0!important;inset:245px -55px auto!important;height:360px!important;background:radial-gradient(circle at 50% 0,rgba(235,10,30,.5),transparent 62%)!important;filter:blur(34px)!important;pointer-events:none!important}
body.auth-page .brand-panel{position:relative!important;display:block!important;width:100%!important;height:285px!important;min-height:285px!important;padding:0!important;overflow:hidden!important;background:#b40013!important}
body.auth-page .brand-panel:before,body.auth-page .brand-panel:after{display:none!important}
body.auth-page .hero-product{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;object-position:center!important;border:0!important;border-radius:0!important;filter:none!important;box-shadow:none!important}
body.auth-page .auth-floating-logo{position:absolute!important;z-index:8!important;left:50%!important;bottom:8px!important;width:70px!important;height:70px!important;padding:2px!important;transform:translateX(-50%)!important;border:3px solid #fff!important;border-radius:50%!important;background:#fff!important;object-fit:cover!important;box-shadow:0 3px 10px rgba(50,50,50,.18)!important}
body.auth-page .form-panel{position:relative!important;z-index:4!important;display:block!important;width:calc(100% - 28px)!important;margin:-20px 14px 0!important;padding:0 0 42px!important;background:transparent!important}
body.auth-page .form-wrap{width:100%!important;max-width:none!important;margin:0!important;padding:28px 24px 25px!important;overflow:visible!important;border:0!important;border-radius:20px!important;background:rgba(255,255,255,.98)!important;box-shadow:0 5px 15px rgba(49,49,49,.12)!important}
body.auth-page .form-wrap:before{display:none!important}
body.auth-page .auth-tabs{display:grid!important;grid-template-columns:1fr 1fr!important;margin:0 0 20px!important;border:0!important}
body.auth-page .auth-tabs:after{display:none!important}
body.auth-page .auth-tabs a{position:relative!important;padding:10px 8px 14px!important;color:#969696!important;font:700 18px/1.2 "DM Sans",system-ui,sans-serif!important;text-align:center!important;text-decoration:none!important}
body.auth-page .auth-tabs a.active{color:#272727!important}
body.auth-page .auth-tabs a.active:after{content:""!important;position:absolute!important;left:21%!important;right:21%!important;bottom:0!important;height:3px!important;border-radius:0!important;background:#eb0a1e!important}
body.auth-page .auth-form{display:grid!important;gap:12px!important}
body.auth-page .auth-form label{display:grid!important;gap:5px!important;color:#b40013!important;font:600 11px/1.3 "DM Sans",system-ui,sans-serif!important;letter-spacing:0!important}
body.auth-page .auth-form label>small{font-size:9px!important;color:#979797!important}
body.auth-page .field-grid{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}
body.auth-page .phone-field,body.auth-page .password-field{position:relative!important;display:flex!important;align-items:center!important;width:100%!important}
body.auth-page .auth-form input{width:100%!important;min-height:52px!important;padding:13px 14px!important;border:1px solid #dddddd!important;border-radius:8px!important;background:#fff!important;color:#272727!important;font:500 15px/1.2 "DM Sans",system-ui,sans-serif!important;box-shadow:none!important;outline:0!important}
body.auth-page .auth-form input::placeholder{color:#aaaaaa!important}
body.auth-page .auth-form input:focus{border-color:#eb0a1e!important;background:#fff!important;box-shadow:0 0 0 3px rgba(235,10,30,.1)!important}
body.auth-page .auth-form input[readonly]{background:#f6f6f6!important;color:#757575!important}
body.auth-page .phone-field b{position:absolute!important;z-index:2!important;left:14px!important;color:#616161!important;font-size:14px!important;font-weight:600!important}
body.auth-page .phone-field input{padding-left:52px!important;font-size:15px!important}
body.auth-page .phone-field input::placeholder{color:#999999!important;font-size:15px!important;font-weight:500!important;opacity:1!important}
body.auth-page .password-field input{padding-right:48px!important}
body.auth-page .toggle-password{position:absolute!important;right:7px!important;display:grid!important;place-items:center!important;width:38px!important;height:38px!important;padding:9px!important;border:0!important;border-radius:6px!important;background:#f5f5f5!important;color:#eb0a1e!important;box-shadow:none!important}
body.auth-page .toggle-password svg{width:19px!important;height:19px!important}
body.auth-page .primary-button{display:flex!important;align-items:center!important;justify-content:center!important;gap:12px!important;width:100%!important;min-height:52px!important;margin-top:4px!important;padding:13px 18px!important;border:0!important;border-radius:8px!important;background:#eb0a1e!important;color:#fff!important;font:700 16px/1.2 "DM Sans",system-ui,sans-serif!important;letter-spacing:0!important;box-shadow:none!important}
body.auth-page .primary-button:after{display:none!important}
body.auth-page .switch-copy{margin:3px 0 0!important;color:#767676!important;font:500 12px/1.5 "DM Sans",system-ui,sans-serif!important;text-align:center!important}
body.auth-page .switch-copy a{color:#eb0a1e!important;font-weight:700!important;text-underline-offset:3px!important}
body.auth-page .alert{margin:0 0 12px!important;padding:10px 12px!important;border-radius:7px!important;font-size:12px!important}
body.auth-page .welcome,body.auth-page .wordmark{display:none!important}
@media(max-width:460px){body.auth-page .brand-panel{height:245px!important;min-height:245px!important}body.auth-page .form-panel{width:calc(100% - 20px)!important;margin:-17px 10px 0!important;padding-inline:0!important}body.auth-page .form-wrap{padding:28px 18px 22px!important;border-radius:16px!important}body.auth-page .auth-floating-logo{bottom:7px!important;width:62px!important;height:62px!important}body.auth-page .auth-form input{font-size:16px!important}body.auth-page .phone-field b{font-size:14px!important}body.auth-page .phone-field input::placeholder{font-size:16px!important}}

/* 2026 light storefront redesign */
.store-page.reference-home{--page-blue:#eb0a1e;--page-blue-dark:#b00012;--page-cyan:#ff6471;--page-ink:#212121;--page-muted:#808080;--page-line:#e8e8e8;--page-soft:#f6f6f6;background:#f9f9f9;color:var(--page-ink)}
.reference-home .store-main{width:min(100% - 40px,1120px);max-width:none;margin:0 auto;padding:24px 0 110px}
.energy-topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;padding:0 3px}
.energy-brand,.energy-profile{display:flex;align-items:center;text-decoration:none}.energy-brand{gap:12px}.energy-brand img{width:52px;height:52px;border-radius:16px;object-fit:cover;box-shadow:0 7px 18px rgba(235,10,30,.18)}.energy-brand span,.energy-profile div{display:grid}.energy-brand strong{font:800 20px/1.1 system-ui,sans-serif;color:#212121}.energy-brand small{margin-top:4px;color:#b40013;font-size:8px;font-weight:800;letter-spacing:.16em}
.energy-profile{gap:10px;padding:8px 12px 8px 8px;border:1px solid var(--page-line);border-radius:15px;background:#fff;box-shadow:0 5px 16px rgba(180,0,19,.06)}.energy-profile>span{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,#eb0a1e,#ff6572);color:#fff;font-weight:800}.energy-profile small{color:var(--page-muted);font-size:9px}.energy-profile strong{color:var(--page-ink);font-size:12px}
.reference-home .premium-banner{position:relative;height:330px;aspect-ratio:auto;border:0;border-radius:26px;background:#191919;box-shadow:0 18px 42px rgba(180,0,19,.17);overflow:hidden}.reference-home .premium-banner>img{width:100%;height:100%;object-fit:cover;object-position:center 48%;filter:saturate(1.02) brightness(1.06)}.reference-home .premium-banner:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(15,15,15,.92) 0,rgba(22,22,22,.72) 37%,rgba(20,20,20,.08) 70%);pointer-events:none}.reference-home .premium-banner .banner-content{position:absolute;z-index:2;left:48px;top:50%;transform:translateY(-50%);display:grid;gap:8px;padding:0;border:0;background:transparent;backdrop-filter:none;color:#fff}.reference-home .premium-banner .banner-kicker{color:#eb0a1e;font-size:10px;font-weight:900;letter-spacing:.2em}.reference-home .premium-banner strong{font:800 clamp(34px,5vw,58px)/.95 system-ui,sans-serif;color:#fff;letter-spacing:-.05em;text-shadow:none}.reference-home .premium-banner .banner-content>span:not(.banner-kicker){font-size:14px;color:#ebebeb}.reference-home .premium-banner .banner-content>small{width:max-content;margin-top:8px;padding:7px 10px;border:1px solid rgba(255,255,255,.35);border-radius:99px;color:#fff;font-size:9px}
.reference-home .quick-actions{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:18px 0;padding:16px;border:1px solid var(--page-line);border-radius:20px;background:#fff;box-shadow:0 8px 24px rgba(180,0,19,.07)}.reference-home .quick-actions>a{gap:8px;padding:10px 5px;border-radius:13px;color:#b40013;font-weight:700;transition:.2s}.reference-home .quick-actions>a:hover{background:#f5f5f5;color:var(--page-blue);filter:none;transform:translateY(-2px)}.reference-home .quick-actions svg{width:27px;height:27px;color:var(--page-blue)}
.reference-home .catalog-heading{display:grid;grid-template-columns:1fr minmax(430px,1.15fr);gap:24px;align-items:end;margin:34px 0 24px}.catalog-heading h1,.product-heading h2{margin:5px 0 0;color:var(--page-ink);font:800 25px/1.1 system-ui,sans-serif;letter-spacing:-.025em}.catalog-kicker{color:var(--page-blue);font-size:9px;font-weight:900;letter-spacing:.16em}.reference-home .home-wallets{display:grid;grid-template-columns:1fr 1fr;gap:12px}.reference-home .wallet-chip{position:relative;display:grid;gap:6px;min-height:92px;padding:18px 20px;border:1px solid var(--page-line);border-radius:17px;background:#fff;box-shadow:0 7px 20px rgba(180,0,19,.06);overflow:hidden}.reference-home .wallet-chip:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(#eb0a1e,#ff6572)}.reference-home .wallet-chip span{color:var(--page-muted);font-size:10px}.reference-home .wallet-chip b{color:var(--page-ink);font:800 22px/1.2 system-ui,sans-serif}
.product-heading{display:flex;align-items:end;justify-content:space-between;gap:25px;margin:42px 2px 18px}.product-heading p{max-width:370px;margin:0;color:var(--page-muted);font-size:12px;line-height:1.5;text-align:right}
.reference-home .plan-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.reference-home .plan-card{padding:11px;border:1px solid var(--page-line);border-radius:20px;background:#fff;box-shadow:0 10px 28px rgba(180,0,19,.08);transition:transform .22s,box-shadow .22s}.reference-home .plan-card:hover{transform:translateY(-4px);box-shadow:0 17px 38px rgba(180,0,19,.14)}.reference-home .plan-image{aspect-ratio:16/9;border:0;border-radius:14px;background:#f6f6f6}.reference-home .plan-image:after{inset:50% 0 0;background:linear-gradient(transparent,rgba(11,11,11,.78))}.reference-home .plan-image h2{left:17px;bottom:14px;color:#fff;font-size:19px;font-weight:750}.reference-home .stock-tag{top:10px;right:10px;padding:7px 10px;border-radius:99px;background:#fff;color:#d7071b;box-shadow:0 4px 13px rgba(22,22,22,.16);font-weight:800}.reference-home .plan-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:10px 0}.reference-home .plan-stats>div{min-height:72px;padding:9px 4px;border:1px solid #eaeaea;border-radius:11px;background:#f9f9f9}.reference-home .plan-stats strong{color:#272727;font-size:15px}.reference-home .plan-stats span{color:#909090;font-size:9px}.reference-home .purchase-limit{color:#eb0a1e}.reference-home .purchase-limit b{color:#eb0a1e}.reference-home .plan-buy{min-height:46px;border:0;border-radius:12px;background:linear-gradient(100deg,#eb0a1e,#ff4b5b);box-shadow:0 8px 19px rgba(235,10,30,.21);font-weight:800}.reference-home .plan-buy:hover{transform:none;filter:brightness(1.05)}
.reference-home .bottom-nav{border-color:#e7e7e7;background:rgba(255,255,255,.96);box-shadow:0 -8px 25px rgba(180,0,19,.08);backdrop-filter:blur(16px)}.reference-home .bottom-nav a{color:#8e8e8e}.reference-home .bottom-nav a.active{color:#eb0a1e}.reference-home .bottom-nav a.active svg{filter:none}
@media(max-width:800px){.reference-home .store-main{width:min(100% - 24px,620px);padding-top:14px}.energy-topbar{margin-bottom:13px}.energy-brand img{width:44px;height:44px;border-radius:13px}.energy-brand strong{font-size:17px}.energy-profile div{display:none}.energy-profile{padding:6px;border:0;background:transparent;box-shadow:none}.reference-home .premium-banner{height:auto;aspect-ratio:16/8;border-radius:20px}.reference-home .premium-banner .banner-content{left:24px}.reference-home .premium-banner strong{font-size:32px}.reference-home .catalog-heading{grid-template-columns:1fr;margin-top:25px}.reference-home .plan-list{grid-template-columns:1fr}.product-heading{margin-top:30px}.reference-home .plan-stats{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.reference-home .store-main{width:min(100% - 18px,500px)}.energy-brand small{font-size:7px}.reference-home .premium-banner{aspect-ratio:16/9}.reference-home .premium-banner .banner-content{left:19px;gap:5px}.reference-home .premium-banner strong{font-size:27px}.reference-home .premium-banner .banner-content>span:not(.banner-kicker){font-size:10px}.reference-home .quick-actions{gap:1px;padding:11px 4px;border-radius:16px}.reference-home .quick-actions>a{font-size:10px}.reference-home .quick-actions svg{width:23px;height:23px}.reference-home .catalog-heading{gap:15px}.reference-home .home-wallets{gap:8px}.reference-home .wallet-chip{min-height:78px;padding:14px 13px}.reference-home .wallet-chip b{font-size:17px}.product-heading p{display:none}.reference-home .plan-card{border-radius:17px}.reference-home .plan-image h2{font-size:17px}}
.reference-home .login-popup{background:rgba(22,22,22,.48);backdrop-filter:blur(7px)}.reference-home .login-popup-card{border:1px solid #e8e8e8;background:#fff;color:#212121;box-shadow:0 28px 70px rgba(45,45,45,.24)}.reference-home .login-popup-card>img{border-color:#eb0a1e}.reference-home .login-popup-card .eyebrow,.reference-home .popup-section-title{color:#eb0a1e}.reference-home .login-popup-card h2{color:#212121}.reference-home .login-popup-card>p{color:#808080}.reference-home .popup-levels article,.reference-home .popup-limits article,.reference-home .popup-daily{border-color:#e8e8e8;background:#f7f7f7}.reference-home .popup-levels strong,.reference-home .popup-limits strong{color:#d7071b}.reference-home .popup-join{background:linear-gradient(100deg,#eb0a1e,#eb0a1e);color:#fff}.reference-home .login-popup-close{background:#fff;color:#ec4b4b;border-color:#f1b9b9}

/* Larger logo above the card and animated account buttons. */
body.auth-page .form-panel > .auth-floating-logo {
    top: -112px !important;
    bottom: auto !important;
    width: 100px !important;
    height: 100px !important;
    border: 4px solid #fff !important;
    box-shadow: 0 8px 24px rgba(41,41,41,.3), 0 0 0 5px rgba(255, 255, 255, .16) !important;
}
body.auth-page .auth-tabs {
    gap: 10px !important;
    padding: 5px !important;
    border-radius: 15px !important;
    background: #f4f4f4 !important;
}
body.auth-page .auth-tabs a {
    overflow: hidden;
    padding: 13px 8px !important;
    border: 1px solid #e3e3e3;
    border-radius: 11px;
    background: #fff;
    color: #b40013 !important;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
body.auth-page .auth-tabs a.active {
    color: #fff !important;
    background: linear-gradient(120deg, #eb0a1e, #eb0a1e);
    border-color: transparent;
    box-shadow: 0 5px 12px rgba(235,10,30,.25);
}
body.auth-page .auth-tabs a.active:after { display: none !important; }
body.auth-page .auth-tabs a.active:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.3) 50%, transparent 80%);
    transform: translateX(-140%);
    animation: accountButtonShine 3.6s ease-in-out infinite;
    pointer-events: none;
}
@media (hover: hover) {
    body.auth-page .auth-tabs a:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(235,10,30,.2); }
}
body.auth-page .auth-tabs a:active { transform: scale(.97); }
body.auth-page .auth-tabs a:focus-visible { outline: 3px solid #b40013; outline-offset: 3px; }
@keyframes accountButtonShine {
    0%, 55% { transform: translateX(-140%); }
    85%, 100% { transform: translateX(140%); }
}
@media (max-width: 460px) {
    body.auth-page .form-panel > .auth-floating-logo { top: -100px !important; width: 88px !important; height: 88px !important; }
}
@media (prefers-reduced-motion: reduce) {
    body.auth-page .auth-tabs a { transition: none; }
    body.auth-page .auth-tabs a.active:before { animation: none; }
}

/* Dashboard welcome popup. */
.reference-home .login-popup {
    padding: 20px;
    background: rgba(25,25,25,.55);
    backdrop-filter: blur(6px);
}
.reference-home .login-popup-card {
    width: min(100%, 420px);
    max-height: calc(100dvh - 40px);
    padding: 28px 24px 24px;
    border: 1px solid #ebebeb;
    border-radius: 26px;
    background: radial-gradient(ellipse at 50% 0, #f4f4f4, transparent 48%), #fff;
    box-shadow: 0 24px 80px rgba(26,26,26,.3);
    animation: welcomePopupIn .3s ease-out;
}
.reference-home .login-popup-card:before { height: 4px; background: linear-gradient(90deg, #eb0a1e, #ff8994, #eb0a1e); }
.reference-home .login-popup-card > img {
    width: 84px;
    height: 84px;
    border: 4px solid #fff;
    box-shadow: 0 0 0 1px #dddddd, 0 8px 22px #eb0a1e26;
}
.reference-home .login-popup-close {
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    background: #ffffffd9;
    color: #b40013;
    box-shadow: none;
    transition: background .2s, color .2s;
}
.reference-home .login-popup-close:hover { background: #f2f2f2; color: #eb0a1e; }
.reference-home .login-popup-card .eyebrow { margin-top: 16px; font-size: 10px; letter-spacing: .18em; }
.reference-home .login-popup-card h2 { margin: 8px 0; font: 750 25px/1.25 "DM Sans", system-ui, sans-serif; letter-spacing: -.7px; }
.reference-home .login-popup-card > p { margin: 0 0 22px; font-size: 13px; line-height: 1.6; color: #eb0a1e; }
.reference-home .popup-information { gap: 14px; margin-bottom: 20px; }
.reference-home .popup-section-title { justify-content: flex-start; color: #b40013; font-size: 13px; }
.reference-home .popup-levels { gap: 9px; }
.reference-home .popup-levels article { padding: 14px 6px; gap: 7px; border: 1px solid #e9e9e9; border-radius: 14px; background: #f7f7f7; }
.reference-home .popup-levels article:before { display: none; }
.reference-home .popup-levels article:first-child { background: #f1f1f1; border-color: #eb0a1e; }
.reference-home .popup-levels small { color: #eb0a1e; font-size: 11px; }
.reference-home .popup-levels strong { font-size: 21px; letter-spacing: -.5px; }
.reference-home .popup-limits { gap: 10px; }
.reference-home .popup-limits article { padding: 13px 10px; gap: 8px; border: 1px solid #e9e9e9; border-radius: 13px; background: #fff; }
.reference-home .popup-limits article > span { width: 30px; height: 30px; background: #f6f6f6; color: #eb0a1e; }
.reference-home .popup-limits small { color: #eb0a1e; font-size: 10px; line-height: 1.4; }
.reference-home .popup-limits strong { font-size: 17px; }
.reference-home .popup-daily { gap: 0; padding: 12px 0; border: 1px solid #ececec; border-radius: 13px; background: #fafafa; }
.reference-home .popup-daily > span { padding: 2px 8px; gap: 5px; border: 0; border-radius: 0; background: transparent; }
.reference-home .popup-daily > span + span { border-left: 1px solid #e6e6e6; }
.reference-home .popup-daily b { color: #b40013; font-size: 11px; }
.reference-home .popup-daily small { color: #818181; font-size: 9px; line-height: 1.5; }
.reference-home .login-popup-card > a.popup-join {
    margin: 0;
    padding: 16px 12px;
    border-radius: 13px;
    background: linear-gradient(110deg, #eb0a1e, #d7071b);
    box-shadow: 0 7px 18px #eb0a1e30;
    font-size: 14px;
    animation: none;
    transition: transform .2s, box-shadow .2s;
}
.reference-home .login-popup-card > a.popup-join:hover { transform: translateY(-2px); box-shadow: 0 10px 24px #eb0a1e45; }
.reference-home .login-popup :is(button, a):focus-visible { outline: 3px solid #eb0a1e; outline-offset: 3px; }
@keyframes welcomePopupIn { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media(max-width: 380px) {
    .reference-home .login-popup { padding: 12px; }
    .reference-home .login-popup-card { padding: 24px 16px 18px; max-height: calc(100dvh - 24px); border-radius: 22px; }
    .reference-home .login-popup-card h2 { font-size: 22px; }
    .reference-home .popup-levels strong { font-size: 19px; }
}
@media(prefers-reduced-motion: reduce) {
    .reference-home .login-popup-card { animation: none; }
    .reference-home .login-popup-card > a.popup-join { transition: none; }
}

/* Completed dashboard layout and interaction polish. */
.reference-home .energy-topbar{position:relative;z-index:3}
.reference-home .energy-brand img{border:2px solid #fff}
.reference-home .energy-profile{transition:transform .2s ease,box-shadow .2s ease}
.reference-home .energy-profile:hover{transform:translateY(-2px);box-shadow:0 9px 22px rgba(180,0,19,.12)}
.reference-home .quick-actions>a{display:flex;flex-direction:column;align-items:center;text-decoration:none}
.reference-home .quick-actions>a>svg{box-sizing:content-box;padding:9px;border-radius:14px;background:linear-gradient(145deg,#f5f5f5,#ebebeb)}
.reference-home .wallet-note{margin:7px 0 0;color:var(--page-muted);font-size:11px}
.reference-home .wallet-chip{text-decoration:none;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.reference-home .wallet-chip:hover{transform:translateY(-2px);border-color:#eb0a1e;box-shadow:0 11px 25px rgba(180,0,19,.11)}
.reference-home .wallet-chip em{position:absolute;right:14px;bottom:10px;color:var(--page-blue);font-size:9px;font-style:normal;font-weight:800}
.reference-home .purchase-progress{margin:0 2px 12px}
.reference-home .purchase-progress .purchase-limit{margin:0 0 7px}
.reference-home .progress-track{display:block;height:5px;overflow:hidden;border-radius:99px;background:#ededed}
.reference-home .progress-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#eb0a1e,#ff6572);transition:width .4s ease}
.reference-home .dashboard-empty{grid-column:1/-1;padding:54px 24px;text-align:center;border:1px dashed #d2d2d2;background:#fff}
.reference-home .dashboard-empty>span{display:grid;place-items:center;width:60px;height:60px;margin:0 auto 14px;border-radius:18px;background:#f6f6f6;color:var(--page-blue)}
.reference-home .dashboard-empty svg{width:28px;height:28px}.reference-home .dashboard-empty h2{margin:0;color:var(--page-ink);font-size:20px}.reference-home .dashboard-empty p{margin:8px 0 0;color:var(--page-muted);font-size:12px}
.reference-home :is(.energy-profile,.quick-actions a,.wallet-chip,.plan-image,.plan-buy):focus-visible{outline:3px solid #eb0a1e;outline-offset:3px}
@media(max-width:800px){.reference-home .energy-topbar{padding-inline:2px}.reference-home .premium-banner .banner-content{max-width:52%}.reference-home .premium-banner strong{font-size:clamp(25px,6vw,34px)}.reference-home .catalog-heading{align-items:stretch}}
@media(max-width:480px){.reference-home .energy-topbar{margin-bottom:12px}.reference-home .energy-brand{gap:9px}.reference-home .energy-brand img{width:42px;height:42px}.reference-home .energy-profile>span{width:38px;height:38px}.reference-home .premium-banner{min-height:190px}.reference-home .premium-banner:after{background:linear-gradient(90deg,rgba(15,15,15,.94),rgba(22,22,22,.67) 52%,rgba(20,20,20,.08) 85%)}.reference-home .premium-banner .banner-content{left:18px;max-width:58%}.reference-home .premium-banner .banner-content>small{padding:5px 7px;font-size:7px}.reference-home .quick-actions>a>svg{padding:7px}.reference-home .wallet-chip em{right:10px;bottom:8px}.reference-home .plan-card:hover{transform:none}}
@media(prefers-reduced-motion:reduce){.reference-home :is(.energy-profile,.wallet-chip,.progress-track i){transition:none}}

/* Dashboard reset from the marked screenshot: no header, no poster text overlay, clean wallet cards. */
.reference-home .premium-banner .banner-content{display:none!important}
.reference-home .premium-banner:after{display:none!important}
.reference-home .premium-banner{margin-top:0!important}
.reference-home .wallet-chip em{display:none!important}

/* Site-wide blue background to match the login/register energy theme. */
:root{
    --cream:#f4f4f4;
    --brand-soft:#f6f6f6;
    --brand-surface:#ffffff;
    --line:#e6e6e6;
    --muted:#eb0a1e;
    --ink:#252525;
}
html,
body.store-page,
body.wallet-page,
body.share-page,
body.premium-team-page,
body.dashboard-page,
body.setup-page{
    background:
        radial-gradient(circle at 50% -80px, rgba(235,10,30,.22), transparent 310px),
        linear-gradient(180deg,#f6f6f6 0,#fafafa 42%,#f3f3f3 100%)!important;
    color:#252525!important;
}
body.auth-page{
    background:
        radial-gradient(circle at 50% 0, rgba(235,10,30,.2), transparent 330px),
        linear-gradient(180deg,#343434 0,#b40013 38%,#eb0a1e 70%,#eaeaea 100%)!important;
}
.store-page.reference-home{
    background:
        radial-gradient(circle at 50% -80px, rgba(235,10,30,.2), transparent 300px),
        linear-gradient(180deg,#f5f5f5 0,#fbfbfb 45%,#f4f4f4 100%)!important;
}
.store-page .store-main,
.store-page .page-main,
.store-page .profile-main,
.store-page .product-detail,
.store-page .referral-shell,
.store-page .share-shell,
.wallet-main{
    background:transparent!important;
}
.app-page-header{
    background:linear-gradient(110deg,#eb0a1e,#ff4b5b)!important;
    border-bottom-color:#d7d7d7!important;
}
.quick-actions,
.plan-card,
.wallet-box,
.wallet-history,
.bank-summary,
.bind-form,
.settings-card,
.empty-card,
.cart-list,
.order-summary,
.checkout-form,
.qr-card,
.share-card,
.purchase-card,
.product-description,
.purchase-summary,
.purchase-confirm-form,
.profile-menu a,
.orders-list article,
.message-list article,
.account-form,
.message-compose{
    border-color:#e6e6e6!important;
    background:#ffffff!important;
    box-shadow:0 8px 22px rgba(180,0,19,.07)!important;
}
.store-page .bottom-nav,
.store-page .bottom-nav a.active:before{
    background:rgba(255,255,255,.96)!important;
    border-color:#e2e2e2!important;
}

/* Stronger blue finish for dashboard and user cards. */
html,
body.store-page,
body.wallet-page,
body.share-page,
body.premium-team-page,
body.dashboard-page,
body.setup-page{
    background:
        radial-gradient(circle at 50% -90px, rgba(235,10,30,.34), transparent 330px),
        linear-gradient(180deg,#ebebeb 0,#f4f4f4 40%,#ececec 100%)!important;
}
.store-page.reference-home{
    background:
        radial-gradient(circle at 50% -90px, rgba(235,10,30,.35), transparent 330px),
        linear-gradient(180deg,#e9e9e9 0,#f4f4f4 42%,#ebebeb 100%)!important;
}
.quick-actions,
.plan-card,
.wallet-box,
.wallet-history,
.bank-summary,
.bind-form,
.settings-card,
.empty-card,
.cart-list,
.order-summary,
.checkout-form,
.qr-card,
.share-card,
.purchase-card,
.product-description,
.purchase-summary,
.purchase-confirm-form,
.profile-menu a,
.orders-list article,
.message-list article,
.account-form,
.message-compose{
    border-color:#d7d7d7!important;
    background:linear-gradient(180deg,#fbfbfb 0,#f4f4f4 100%)!important;
    box-shadow:0 10px 28px rgba(180,0,19,.12)!important;
}

/* Keep account-service shortcuts in pairs on desktop and mobile. */
.profile-menu{
    grid-template-columns:repeat(2,minmax(0,1fr));
}
.profile-menu a{
    min-width:0;
}
.profile-menu a:last-child{
    grid-column:1/-1;
}
.profile-menu a>span{
    flex:0 0 auto;
}
.profile-menu a>div{
    min-width:0;
}
.profile-menu a>i{
    flex:0 0 auto;
    margin-left:auto;
}
@media(max-width:420px){
    .profile-menu{gap:8px}
    .profile-menu a{gap:7px;padding:10px 8px}
    .profile-menu a>span svg{width:20px;height:20px}
    .profile-menu b{font-size:10px;line-height:1.25;overflow-wrap:anywhere}
    .profile-menu i{font-size:16px}
}
.reference-home .quick-actions{
    background:linear-gradient(180deg,#fbfbfb 0,#f0f0f0 100%)!important;
    border:1px solid #d7d7d7!important;
}
.reference-home .quick-actions>a>svg{
    background:linear-gradient(145deg,#f2f2f2,#e7e7e7)!important;
    border:1px solid #f2b8be!important;
    color:#eb0a1e!important;
}
.reference-home .plan-card{
    background:linear-gradient(180deg,#fafafa 0,#f2f2f2 100%)!important;
    border-color:#d0d0d0!important;
}
.reference-home .plan-stats>div{
    background:linear-gradient(180deg,#f6f6f6 0,#ebebeb 100%)!important;
    border-color:#dadada!important;
}
.reference-home .plan-stats strong{
    color:#b40013!important;
}
.reference-home .plan-stats span,
.reference-home .purchase-limit{
    color:#b40013!important;
}
.store-page .bottom-nav,
.store-page .bottom-nav a.active:before{
    background:linear-gradient(180deg,#fbfbfb 0,#f2f2f2 100%)!important;
    border-color:#d7d7d7!important;
}
.store-page .bottom-nav a.active{
    color:#eb0a1e!important;
}


/* ================================
   DASHBOARD FINAL MOBILE FINISHING
================================ */

/* Hero Banner */
.reference-home .premium-banner {
    width: 100%;
    margin: 0 0 20px;
    padding: 0;
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: transparent;
    display: block;
    line-height: 0;
}

.reference-home .premium-banner img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    object-fit: contain;
    object-position: center center;
    border-radius: 22px;
}

/* Original image already contains all text/design */
.reference-home .premium-banner .banner-content {
    display: none !important;
}


/* Quick Action Box */
.reference-home .quick-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 12px;
    margin: 0 0 34px;
    background: rgba(255,255,255,.65);
    border: 1px solid #dddddd;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(180,0,19,.08);
}

.reference-home .quick-actions a {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 5px;
    text-decoration: none;
    color: #262626;
    font-weight: 700;
}

.reference-home .quick-actions a > span:first-child {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: #f6f6f6;
    border: 1px solid #d8d8d8;
    color: #b40013;
    font-size: 1.8rem;
}

.reference-home .quick-actions a > span:last-child {
    font-size: .9rem;
}


/* Product Heading */
.reference-home .product-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin: 0 2px 18px;
}

.reference-home .catalog-kicker {
    display: block;
    margin-bottom: 7px;
    color: #b40013;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .13em;
}

.reference-home .product-heading h2 {
    margin: 0;
    color: #242424;
    font-size: clamp(1.7rem, 5vw, 2.3rem);
    font-weight: 800;
}

.reference-home .product-heading p {
    max-width: 360px;
    margin: 0;
    color: #7a7a7a;
    font-size: .85rem;
    line-height: 1.5;
}


/* Product Card */
.reference-home .plan-list {
    display: grid;
    gap: 18px;
}

.reference-home .plan-card {
    width: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dedede;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(180,0,19,.09);
}

.reference-home .plan-image {
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none;
}

.reference-home .plan-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 8;
    object-fit: cover;
}

.reference-home .plan-image h2 {
    position: absolute;
    left: 18px;
    bottom: 14px;
    margin: 0;
    color: #fff;
    font-size: 1.2rem;
    text-shadow: 0 2px 8px rgba(0,0,0,.45);
}

.reference-home .stock-tag,
.reference-home .coming-soon {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 7px 11px;
    border-radius: 10px;
    background: #fff;
    color: #b40013;
    font-size: .72rem;
    font-weight: 800;
}


/* Product Stats */
.reference-home .plan-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid #dedede;
}

.reference-home .plan-stats div {
    min-width: 0;
    padding: 12px 14px;
    border-right: 1px solid #dedede;
    border-bottom: 1px solid #dedede;
}

.reference-home .plan-stats div:nth-child(2n) {
    border-right: 0;
}

.reference-home .plan-stats div:nth-last-child(-n+2) {
    border-bottom: 0;
}

.reference-home .plan-stats strong {
    display: block;
    color: #b40013;
    font-size: 1.05rem;
}

.reference-home .plan-stats span {
    display: block;
    margin-top: 4px;
    color: #797979;
    font-size: .78rem;
}


/* Purchase Progress */
.reference-home .purchase-progress {
    padding: 13px 18px 4px;
}

.reference-home .purchase-limit {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 8px;
    color: #787878;
    font-size: .78rem;
}

.reference-home .purchase-limit b {
    color: #b40013;
}

.reference-home .progress-track {
    display: block;
    width: 100%;
    height: 7px;
    overflow: hidden;
    border-radius: 99px;
    background: #ebebeb;
}

.reference-home .progress-track i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg,#eb0a1e,#eb0a1e);
}


/* Buy Button */
.reference-home .plan-buy {
    min-height: 54px;
    margin: 12px 18px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 14px;
    background: linear-gradient(135deg,#b40013,#eb0a1e);
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 800;
    box-shadow: 0 9px 20px rgba(180,0,19,.20);
}

.reference-home .plan-buy.muted-action {
    background: #f2f2f2;
    color: #b40013;
    box-shadow: none;
}


/* Bottom Navigation — 5 items */
.reference-home ~ .bottom-nav,
body.reference-home .bottom-nav {
    grid-template-columns: repeat(5, 1fr);
}


/* Mobile */
@media (max-width: 600px) {

    .reference-home .store-main {
        padding: 14px 16px 90px;
    }

    .reference-home .premium-banner {
        margin-bottom: 16px;
        border-radius: 20px;
    }

    .reference-home .premium-banner img {
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: center;
        border-radius: 20px;
    }

    .reference-home .quick-actions {
        gap: 4px;
        padding: 9px 5px;
        margin-bottom: 30px;
        border-radius: 20px;
    }

    .reference-home .quick-actions a {
        padding: 8px 2px;
        gap: 7px;
    }

    .reference-home .quick-actions a > span:first-child {
        width: 58px;
        height: 58px;
        border-radius: 16px;
    }

    .reference-home .quick-actions a > span:last-child {
        font-size: .78rem;
    }

    .reference-home .product-heading {
        display: block;
        margin-bottom: 16px;
    }

    .reference-home .product-heading p {
        display: none;
    }

    .reference-home .product-heading h2 {
        font-size: 1.75rem;
    }

    .reference-home .plan-card {
        border-radius: 20px;
    }

    .reference-home .plan-image img {
        aspect-ratio: 16 / 8;
    }

    .reference-home .plan-image h2 {
        left: 16px;
        bottom: 12px;
        font-size: 1.05rem;
    }

    .reference-home .plan-stats strong {
        font-size: .98rem;
    }

    .reference-home .plan-stats span {
        font-size: .72rem;
    }

    .reference-home .purchase-progress {
        padding-left: 15px;
        padding-right: 15px;
    }

    .reference-home .plan-buy {
        margin-left: 15px;
        margin-right: 15px;
    }
}

/* ===== FINAL PRODUCT IMAGE FIX ===== */

.reference-home .plan-image {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden;
    border-radius: 20px;
}

.reference-home .plan-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    object-position: center center !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media (max-width:600px) {
    .reference-home .plan-image {
        aspect-ratio: 1 / 1 !important;
    }

    .reference-home .plan-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
    }
}

/* Daily and VIP plan switcher. */
.reference-home .plan-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 2px 20px;padding:5px;border:1px solid #d7d7d7;border-radius:14px;background:#f6f6f6}
.reference-home .plan-tabs a{min-height:44px;display:grid;place-items:center;border-radius:10px;color:#b40013;font-size:13px;font-weight:800;text-decoration:none}
.reference-home .plan-tabs a.active{background:linear-gradient(100deg,#eb0a1e,#ff4b5b)!important;color:#fff!important;text-shadow:0 1px 1px rgba(180,0,19,.3);box-shadow:0 7px 17px rgba(235,10,30,.23)}
.vip-requirement{margin:-8px 2px 16px;padding:11px 13px;border:1px solid #eb0a1e;border-radius:11px;background:#f6f6f6;color:#b40013;font-size:11px;font-weight:700}
.plan-type-badge{display:inline-flex;padding:5px 8px;border-radius:99px;background:#f2f2f2;color:#b40013;font-size:9px;font-weight:800}.plan-type-badge.vip{background:#f0f0f0;color:#b40013}

/* Locked products must not look purchasable. */
.reference-home .coming-soon{top:12px;right:12px;left:auto;transform:none;padding:7px 10px;border:0;border-radius:8px;background:rgba(41,41,41,.9);color:#fff;font-size:11px;box-shadow:0 5px 12px rgba(50,50,50,.2)}
.reference-home .plan-buy.muted-action{background:#f2f2f2!important;border:1px solid #d7d7d7!important;color:#eb0a1e!important;box-shadow:none!important;animation:none!important}
.reference-home .plan-buy.muted-action:hover{filter:none!important;transform:none!important}

/* Refined account summary card and a focused set of account shortcuts. */
.profile-menu a[href="messages.php"],.profile-menu a[href="about.php"],.profile-menu a[href="download.php"],.profile-menu a[href="language.php"]{display:none!important}
.store-page .profile-head{position:relative;isolation:isolate;min-height:104px;padding:19px 20px!important;overflow:hidden;border:1px solid rgba(235,10,30,.55)!important;border-radius:18px!important;background:linear-gradient(125deg,#a90013 0%,#eb0a1e 58%,#ff4b5b 100%)!important;box-shadow:0 14px 30px rgba(180,0,19,.2)!important}
.store-page .profile-head:after{content:'';position:absolute;z-index:-1;right:-36px;top:-70px;width:185px;height:185px;border:25px solid rgba(255,255,255,.12);border-radius:50%}
.store-page .profile-head img{width:68px!important;height:68px!important;flex:0 0 auto;border:3px solid rgba(255,255,255,.92)!important;border-radius:16px!important;box-shadow:0 6px 17px rgba(38,38,38,.28)}
.store-page .profile-head h1{margin:0 0 7px!important;color:#fff!important;font-size:19px!important;letter-spacing:0!important}
.store-page .profile-head .uid-row{margin:0!important;gap:6px}
.store-page .profile-head code{padding:5px 7px;border-radius:6px;background:rgba(180,0,19,.3);color:#f7f7f7!important;font-size:10px!important}
.store-page .profile-head .vip-badge{padding:5px 8px;border-color:rgba(255,255,255,.5);background:rgba(255,255,255,.17);color:#fff;font-size:10px}
@media(max-width:420px){.store-page .profile-head{min-height:94px;padding:15px!important;gap:11px}.store-page .profile-head img{width:58px!important;height:58px!important}.store-page .profile-head h1{font-size:17px!important}}

/* Team wallet totals and level-by-level activity. */
.team-money-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.team-money-summary article{display:grid;gap:5px;padding:15px;border:1px solid #d7d7d7;border-radius:12px;background:linear-gradient(145deg,#fcfcfc,#f3f3f3);box-shadow:0 8px 20px rgba(180,0,19,.08)}
.team-money-summary small,.team-level-stats small{font-size:10px;color:#b40013;font-weight:700}
.team-money-summary strong{color:#eb0a1e;font-size:18px;overflow-wrap:anywhere}
.team-level-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;border-bottom:1px solid #e6e6e6;background:#e6e6e6}
.team-level-stats span{display:grid;gap:4px;padding:10px 6px;background:#fbfbfb;text-align:center;min-width:0}
.team-level-stats b{color:#b40013;font-size:11px;overflow-wrap:anywhere}
@media(max-width:390px){.team-money-summary strong{font-size:15px}.team-level-stats b{font-size:10px}}


/* Merged theme-v2.css */
:root{--app-bg:#f4f4f4;--app-card:#fbfbfb;--app-blue:#eb0a1e;--app-blue-dark:#a90013;--app-soft:#f3f3f3;--app-line:#f2b8be;--app-text:#272727;--app-muted:#b40013;--app-shadow:0 8px 22px rgba(180,0,19,.1);--app-radius:12px}
html{background:var(--app-bg)!important}body{color:var(--app-text)!important}
body.store-page,body.wallet-page,body.share-page,body.premium-team-page{background:var(--app-bg)!important}
.store-page .store-main,.store-page .page-main,.store-page .wallet-main,.store-page .profile-main,.store-page .referral-shell,.store-page .share-shell{width:min(100%,520px)!important;max-width:520px!important;margin:0 auto!important;padding:14px 14px 88px!important}
.app-page-header{position:sticky!important;top:0!important;z-index:30!important;width:min(100%,520px)!important;min-height:58px!important;margin:0 auto!important;padding:8px 14px!important;grid-template-columns:38px 1fr 38px!important;border:0!important;border-bottom:1px solid var(--app-line)!important;background:#fff!important;box-shadow:none!important}.app-page-header>a{width:36px!important;height:36px!important;border:1px solid #e0e0e0!important;border-radius:9px!important;background:#fff!important;color:var(--app-blue)!important}.app-page-header strong{font:700 16px system-ui,sans-serif!important;color:var(--app-text)!important}
.bottom-nav{left:50%!important;right:auto!important;width:min(100%,520px)!important;transform:translateX(-50%)!important;border:0!important;border-top:1px solid var(--app-line)!important;background:rgba(255,255,255,.98)!important;box-shadow:0 -5px 18px rgba(49,49,49,.08)!important}.bottom-nav a{color:#919191!important}.bottom-nav a.active{color:var(--app-blue)!important}.bottom-nav a.active span{border-radius:8px!important;background:var(--app-soft)!important}.bottom-nav svg{color:currentColor!important;filter:none!important}
/* Home */
.reference-home .store-main{padding-top:14px!important}.reference-home .premium-banner{height:auto!important;aspect-ratio:16/8!important;border:0!important;border-radius:12px!important;box-shadow:var(--app-shadow)!important}.reference-home .premium-banner>img{object-position:center!important}.reference-home .premium-banner:after{background:linear-gradient(90deg,rgba(14,14,14,.72),rgba(14,14,14,.05) 72%)!important}.reference-home .premium-banner .banner-content{left:22px!important;gap:5px!important}.reference-home .premium-banner strong{font-size:29px!important}.reference-home .premium-banner .banner-kicker{font-size:8px!important}.reference-home .premium-banner .banner-content>span:not(.banner-kicker){font-size:10px!important}.reference-home .premium-banner .banner-content>small{margin-top:4px!important;padding:5px 8px!important}
.reference-home .quick-actions{grid-template-columns:repeat(5,1fr)!important;gap:5px!important;margin:12px 0 22px!important;padding:10px 5px!important;border:0!important;border-radius:12px!important;background:#fff!important;box-shadow:var(--app-shadow)!important}.reference-home .quick-actions>a{gap:6px!important;padding:7px 2px!important;border-radius:8px!important;color:var(--app-text)!important;font-size:9px!important}.reference-home .quick-actions svg{width:24px!important;height:24px!important;color:var(--app-blue)!important}.reference-home .quick-actions>a:hover{background:var(--app-soft)!important;transform:none!important}
.reference-home .catalog-heading{display:block!important;margin:0 0 16px!important}.reference-home .catalog-heading>div:first-child{display:none!important}.reference-home .home-wallets{grid-template-columns:1fr 1fr!important;gap:8px!important}.reference-home .wallet-chip{min-height:68px!important;padding:12px 14px!important;border:1px solid var(--app-line)!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important}.reference-home .wallet-chip:before{width:3px!important;background:var(--app-blue)!important}.reference-home .wallet-chip span{font-size:9px!important}.reference-home .wallet-chip b{font-size:17px!important;color:var(--app-text)!important}
.product-heading{display:flex!important;align-items:end!important;margin:24px 2px 12px!important}.product-heading h2{font-size:21px!important}.product-heading p{display:none!important}.catalog-kicker{font-size:8px!important;color:var(--app-blue)!important}
.reference-home .plan-list{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}.reference-home .plan-card{display:grid!important;grid-template-columns:42% 58%!important;gap:0!important;padding:10px!important;border:1px solid var(--app-line)!important;border-radius:12px!important;background:#fff!important;box-shadow:var(--app-shadow)!important;transform:none!important}.reference-home .plan-image{grid-column:1!important;grid-row:1!important;aspect-ratio:1/1!important;border-radius:9px!important}.reference-home .plan-image h2{left:10px!important;bottom:9px!important;font-size:14px!important}.reference-home .stock-tag{top:7px!important;right:7px!important;padding:5px 7px!important;border-radius:6px!important;font-size:8px!important}.reference-home .plan-stats{grid-column:2!important;grid-row:1!important;grid-template-columns:1fr!important;gap:0!important;margin:0 0 0 10px!important}.reference-home .plan-stats>div{min-height:auto!important;padding:7px 8px!important;display:grid!important;grid-template-columns:1fr auto!important;border:0!important;border-bottom:1px dashed #e5e5e5!important;border-radius:0!important;background:#fff!important;text-align:left!important}.reference-home .plan-stats>div:last-child{border-bottom:0!important}.reference-home .plan-stats strong{order:2!important;color:var(--app-blue)!important;font-size:14px!important}.reference-home .plan-stats span{order:1!important;color:var(--app-text)!important;font-size:10px!important}.reference-home .purchase-limit{grid-column:1/-1!important;margin:10px 2px 7px!important;font-size:9px!important}.reference-home .plan-buy{grid-column:1/-1!important;min-height:43px!important;border-radius:9px!important;background:var(--app-blue)!important;box-shadow:none!important;font-size:13px!important}
/* Shared cards and forms */
.store-page .wallet-box,.store-page .wallet-history,.store-page .bank-summary,.store-page .bind-form,.store-page .settings-card,.store-page .empty-card,.store-page .cart-list,.store-page .order-summary,.store-page .checkout-form,.store-page .about-card,.store-page .install-card,.store-page .message-list article,.store-page .purchase-card,.team-rate-grid article,.team-account,.team-level,.qr-card,.share-card{border:1px solid var(--app-line)!important;border-radius:var(--app-radius)!important;background:#fff!important;box-shadow:var(--app-shadow)!important}.store-page input,.store-page textarea,.store-page select{border:1px solid #e2e2e2!important;border-radius:9px!important;background:#fff!important}.store-page .wallet-submit,.store-page .primary-button,.store-page .plan-buy,.store-page .copy-button,.store-page .bind-button,.store-page .section-action a{border-radius:9px!important;background:var(--app-blue)!important;box-shadow:none!important}.store-page .amount-options button,.store-page .payment-channels label,.store-page .money-input,.store-page .withdraw-rules{border-radius:9px!important;background:#fff!important}.store-page .amount-options button.selected{background:var(--app-blue)!important}
/* Profile */
.store-page .profile-head{padding:20px!important;border-radius:12px!important;background:linear-gradient(110deg,var(--app-blue-dark),#eb0a1e)!important;box-shadow:var(--app-shadow)!important}.store-page .profile-head img{width:60px!important;height:60px!important;border-radius:50%!important}.store-page .profile-head h1{font-size:17px!important;color:#fff!important}.store-page .profile-wallets{gap:8px!important}.store-page .profile-wallets article{padding:14px 8px!important;border-radius:9px!important;box-shadow:none!important}.store-page .profile-menu{gap:7px!important}.store-page .profile-menu a{min-height:54px!important;padding:11px 13px!important;border-radius:9px!important;box-shadow:none!important}
/* Team / share */
.premium-team-page .team-hero,.share-page .share-shell>header{padding:20px!important;border-radius:12px!important;background:var(--app-blue)!important;box-shadow:none!important}.team-rate-grid{gap:7px!important}.team-rate-grid article{padding:12px 4px!important;border-radius:9px!important}.team-account,.team-level{border-radius:10px!important}.team-summary span,.team-level>header,.team-avatar,.share-card>div,.share-card>p{border-radius:7px!important;background:var(--app-soft)!important}
/* Popup */
.reference-home .login-popup{background:rgba(34,34,34,.52)!important}.reference-home .login-popup-card{width:min(92%,390px)!important;padding:22px 20px 0!important;border:0!important;border-radius:14px!important;background:#fff!important;box-shadow:0 18px 45px rgba(34,34,34,.22)!important}.reference-home .login-popup-card>img{width:68px!important;height:68px!important}.reference-home .login-popup-card h2{font-size:22px!important}.reference-home .popup-levels article,.reference-home .popup-limits article,.reference-home .popup-daily{border:0!important;border-radius:8px!important;background:var(--app-soft)!important}.reference-home .popup-join{margin:18px -20px 0!important;border-radius:0 0 14px 14px!important;background:var(--app-blue)!important}.reference-home .login-popup-close{border-radius:8px!important}
.reference-home .login-popup-card:before{background:var(--app-blue)!important}.reference-home .popup-levels article:before{background:var(--app-blue)!important}.reference-home .popup-daily>span{border:0!important;border-radius:7px!important;background:var(--app-soft)!important}.reference-home .popup-daily b,.reference-home .popup-daily small{color:var(--app-text)!important}.reference-home .popup-limits article>span{background:#ececec!important;color:var(--app-blue)!important}.reference-home .login-popup-card>a.popup-join{animation:none!important;box-shadow:none!important}.reference-home .login-popup-card>a.popup-join:after{display:none!important}
/* Login / register inspired by the reference structure, kept flat. */
body.auth-page{display:block!important;background:var(--app-bg)!important}.auth-page .auth-shell{width:min(100%,500px)!important;max-width:500px!important;min-height:100vh!important;margin:0 auto!important;background:var(--app-bg)!important;box-shadow:0 0 30px rgba(54,54,54,.08)!important}.auth-page .brand-panel{height:275px!important;min-height:275px!important;padding:0!important;background:#161616!important}.auth-page .hero-product{position:static!important;width:100%!important;height:100%!important;border:0!important;border-radius:0!important;object-fit:cover!important;opacity:1!important;box-shadow:none!important}.auth-floating-logo{bottom:-34px!important;width:76px!important;height:76px!important;border:4px solid #fff!important;border-radius:50%!important}.auth-page .form-panel{padding:0 16px 38px!important;background:var(--app-bg)!important}.auth-page .form-wrap{margin-top:0!important;padding:48px 24px 24px!important;border:0!important;border-radius:0 0 14px 14px!important;background:#fff!important;box-shadow:var(--app-shadow)!important}.auth-page .auth-tabs a{font-size:16px!important}.auth-page .auth-tabs a.active{color:var(--app-blue)!important}.auth-page .auth-form{gap:13px!important}.auth-page .auth-form input{min-height:52px!important;border:1px solid #e2e2e2!important;border-radius:9px!important;background:#fff!important;color:var(--app-text)!important}.auth-page .primary-button{min-height:50px!important;border-radius:9px!important;background:var(--app-blue)!important;box-shadow:none!important}
/* Admin stays desktop-friendly but follows the same flat palette. */
body.admin-page{background:#f4f4f4!important}.admin-page .admin-sidebar{background:#fff!important}.admin-page .admin-sidebar nav a.active,.admin-page .admin-sidebar nav a:hover{border-radius:7px!important;background:var(--app-soft)!important;color:var(--app-blue)!important}.admin-page .table-card,.admin-page .settings-card,.admin-page .admin-form,.admin-page .stat-grid article,.admin-page .finance-card,.admin-page .admin-filter{border-radius:10px!important;background:#fff!important;box-shadow:var(--app-shadow)!important}.admin-page .primary-button,.admin-page .admin-filter button,.admin-page .admin-row-actions a{border-radius:7px!important;background:var(--app-blue)!important;box-shadow:none!important}
@media(max-width:420px){.store-page .store-main,.store-page .page-main,.store-page .wallet-main,.store-page .profile-main,.store-page .referral-shell,.store-page .share-shell{padding-inline:10px!important}.reference-home .plan-card{grid-template-columns:40% 60%!important}.reference-home .plan-stats>div{padding:6px!important}.auth-page .brand-panel{height:235px!important;min-height:235px!important}.auth-page .form-panel{padding-inline:10px!important}.auth-page .form-wrap{padding-inline:18px!important}}


/* Merged theme-complete.css */
/* Final coverage layer for every secondary user and admin screen. */
.store-page{--wine:#eb0a1e!important;--wine-dark:#a90013!important;--saffron:#ff8994!important;--cream:#f8f8f8!important;--ink:#1c1c1c!important;--muted:#868686!important;--line:#e0e0e0!important;--white:#fff!important;--green:#eb0a1e!important;--brand-primary:#eb0a1e!important;--brand-copper:#eb0a1e!important;--brand-gold:#ececec!important;--brand-soft:#f6f6f6!important;--brand-surface:#fff!important;--brand-olive:#eb0a1e!important;--app-green:#eb0a1e!important}
.store-page .eyebrow,.store-page code,.store-page a:not(.plan-image):not(.plan-buy):not(.primary-button):not(.wallet-submit):not(.popup-join){color:#eb0a1e}
.store-page .store-title,.store-page .collection-head,.store-page .history-heading{margin:0 0 14px!important;padding:0 2px!important;background:transparent!important;border:0!important;box-shadow:none!important}.store-page .store-title h1,.store-page .collection-head h1,.store-page .history-heading h2{font:800 23px/1.15 system-ui,sans-serif!important;color:#1c1c1c!important}.store-page .store-title .eyebrow,.store-page .collection-head span{font-size:8px!important;letter-spacing:.14em!important}
.purchase-page{display:grid!important;gap:11px!important}.purchase-page .purchase-card{display:grid!important;grid-template-columns:92px 1fr!important;gap:12px!important;padding:10px!important;border:1px solid #e0e0e0!important;border-radius:10px!important;background:#fff!important;box-shadow:0 6px 16px rgba(58,58,58,.06)!important}.purchase-page .purchase-card img{width:92px!important;height:92px!important;border-radius:8px!important;object-fit:cover!important}.purchase-page .purchase-card h2{margin:2px 0 5px!important;font-size:15px!important}.purchase-page .purchase-card strong{color:#eb0a1e!important}.purchase-page .purchase-card p,.purchase-page .purchase-card small{margin:2px 0!important;font-size:10px!important}
.product-description,.purchase-summary,.purchase-confirm-form{padding:16px!important;border:1px solid #e0e0e0!important;border-radius:10px!important;background:#fff!important;box-shadow:0 6px 16px rgba(58,58,58,.06)!important}.purchase-summary{display:grid!important;gap:8px!important}.purchase-summary>div{display:flex!important;justify-content:space-between!important;padding:9px 0!important;border-bottom:1px solid #e8e8e8!important}.purchase-summary strong{color:#eb0a1e!important}.purchase-note{padding:11px!important;border:1px solid #e3e3e3!important;border-radius:8px!important;background:#f6f6f6!important;color:#b40013!important}.purchase-confirm-form{display:grid!important;gap:12px!important}
.orders-list{display:grid!important;gap:9px!important}.orders-list article{padding:14px!important;border:1px solid #e0e0e0!important;border-radius:10px!important;background:#fff!important;box-shadow:0 6px 16px rgba(58,58,58,.06)!important}.orders-list article header{display:flex!important;justify-content:space-between!important;gap:10px!important}.orders-list article strong{color:#eb0a1e!important}
.wallet-page .wallet-main{display:grid!important;gap:12px!important}.wallet-page .wallet-box,.wallet-page .bank-summary,.wallet-page .wallet-history,.wallet-page .bind-form,.wallet-page .payment-channel-box,.wallet-page .withdraw-rules{padding:16px!important;border:1px solid #e0e0e0!important;border-radius:10px!important;background:#fff!important;box-shadow:0 6px 16px rgba(58,58,58,.06)!important}.wallet-page .amount-options{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:7px!important}.wallet-page .amount-options button{min-height:43px!important;border:1px solid #e2e2e2!important;border-radius:8px!important;background:#fff!important;color:#1c1c1c!important}.wallet-page .amount-options button.selected{background:#eb0a1e!important;color:#fff!important}.wallet-page .payment-channel-box{margin:0!important}.wallet-page .payment-channels{display:grid!important;gap:7px!important}.wallet-page .payment-channels label{padding:11px!important;border:1px solid #e5e5e5!important;border-radius:8px!important;background:#fff!important}.wallet-page .wallet-submit{min-height:48px!important}.wallet-page .wallet-history article{padding:11px 2px!important;border-bottom:1px solid #e8e8e8!important;border-radius:0!important;box-shadow:none!important}.wallet-page .wallet-history article:last-child{border-bottom:0!important}
.account-form,.message-compose{padding:16px!important;border:1px solid #e0e0e0!important;border-radius:10px!important;background:#fff!important;box-shadow:0 6px 16px rgba(58,58,58,.06)!important}.account-form{display:grid!important;gap:12px!important}.message-list{display:grid!important;gap:8px!important}.message-list article{padding:14px!important;border-left:3px solid #eb0a1e!important;border-radius:8px!important}.language-choice{min-height:54px!important;padding:12px!important;border:1px solid #e0e0e0!important;border-radius:9px!important;background:#fff!important}.about-card,.install-card{padding:22px 18px!important}.about-card h1,.install-card h1{font-size:22px!important}
.cart-layout{grid-template-columns:1fr!important;gap:12px!important}.cart-list,.order-summary,.checkout-form{padding:14px!important}.cart-item{grid-template-columns:82px 1fr!important;gap:10px!important;padding:11px 0!important}.cart-item img{width:82px!important;height:82px!important;border-radius:8px!important}.order-summary{position:static!important}.checkout-form textarea{resize:vertical!important}
.share-shell>header{margin-bottom:10px!important}.qr-card,.share-card{padding:17px!important}.qr-card img{width:210px!important;height:210px!important}.share-card>div{padding:10px!important;border-radius:7px!important}.share-card>p{padding:12px!important;border-radius:7px!important}
.premium-team-page .referral-shell{gap:9px!important}.team-hero h1{font-size:22px!important}.team-account{padding:13px!important}.team-level>header{padding:11px 13px!important;border-radius:0!important}.team-member-list article{padding:10px 1px!important}.team-avatar{border-radius:8px!important;background:#f6f6f6!important;color:#eb0a1e!important}
.profile-main{display:grid!important;gap:9px!important}.profile-wallets{margin:0!important}.profile-menu{margin:0!important}.profile-menu a>span{color:#eb0a1e!important}.vip-badge{border-color:rgba(255,255,255,.65)!important;background:rgba(255,255,255,.18)!important;color:#fff!important}
.store-page .alert{border-radius:8px!important}.store-page .alert.error,.wallet-alert.error{border-color:#f2c6c6!important;background:#f4f4f4!important;color:#ad3030!important}.store-page .status,.store-page .state{padding:5px 8px!important;border-radius:6px!important}
/* Remove every remaining brown/green treatment from the user interface. */
.store-page .popup-section-title,.store-page .popup-levels strong,.store-page .popup-limits strong,.store-page .team-rate-grid strong,.store-page .team-level b,.store-page .team-summary b{color:#eb0a1e!important}.store-page .popup-limits article>span,.store-page .team-avatar,.store-page .list-avatar{background:#f3f3f3!important;color:#eb0a1e!important}.store-page .muted-action{background:#f1f1f1!important;color:#767676!important}
/* All admin screens, including standalone editors and tables. */
.admin-page{--wine:#eb0a1e!important;--wine-dark:#a90013!important;--brand-primary:#eb0a1e!important;--brand-soft:#f6f6f6!important;--brand-surface:#fff!important;--line:#e6e6e6!important;--muted:#818181!important;background:#f5f5f5!important;color:#272727!important}.admin-page .admin-main,.admin-page .admin-form-main{background:transparent!important}.admin-page .admin-main h1,.admin-page .admin-form-main h1,.admin-page h2{font-family:system-ui,sans-serif!important;color:#272727!important}.admin-page .eyebrow{color:#eb0a1e!important}.admin-page .admin-sidebar{background:#fff!important}.admin-page .admin-sidebar nav a.active,.admin-page .admin-sidebar nav a:hover{background:#f6f6f6!important;color:#eb0a1e!important}.admin-page .table-card,.admin-page .settings-card,.admin-page .admin-form,.admin-page .admin-filter,.admin-page .stat-grid article,.admin-page .finance-card{border:1px solid #e6e6e6!important;border-radius:9px!important;background:#fff!important;box-shadow:0 6px 18px rgba(180,0,19,.05)!important}.admin-page th{background:#f6f6f6!important;color:#b40013!important}.admin-page td{border-color:#ececec!important}.admin-page input,.admin-page select,.admin-page textarea{border:1px solid #e1e1e1!important;border-radius:7px!important;background:#fff!important;color:#272727!important}.admin-page button,.admin-page .primary-button,.admin-page .admin-row-actions a{border-radius:7px!important}.admin-page .status{border-radius:6px!important}.admin-page .admin-current-image img{border-radius:8px!important}
.setup-page{background:#f8f8f8!important}.setup-card{border:1px solid #e0e0e0!important;border-radius:12px!important;background:#fff!important;box-shadow:0 10px 26px rgba(58,58,58,.08)!important}.setup-card .wordmark strong,.setup-card .eyebrow,.setup-card .setup-link{color:#eb0a1e!important}.setup-card input{border:1px solid #e2e2e2!important;border-radius:8px!important;background:#fff!important}.setup-card .primary-button{border-radius:8px!important;background:#eb0a1e!important;box-shadow:none!important}
@media(max-width:540px){.wallet-page .amount-options{grid-template-columns:repeat(3,1fr)!important}.purchase-page .purchase-card{grid-template-columns:78px 1fr!important}.purchase-page .purchase-card img{width:78px!important;height:78px!important}}

/* Dashboard collection poster: the artwork already contains all product names. */
.reference-home .premium-banner.image-only-banner:after{display:none!important}
.reference-home .premium-banner.image-only-banner>img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;filter:none!important}

/* Global blue user-panel skin. This file loads last, so it covers every page, not just dashboard. */
html,
body.store-page,
body.wallet-page,
body.share-page,
body.premium-team-page,
body.setup-page{
    background:
        radial-gradient(circle at 50% -90px, rgba(235,10,30,.38), transparent 340px),
        linear-gradient(180deg,#e6e6e6 0,#f3f3f3 42%,#ebebeb 100%)!important;
}
.store-page{
    --cream:#f4f4f4!important;
    --brand-soft:#eeeeee!important;
    --brand-surface:#f6f6f6!important;
    --line:#eb0a1e!important;
    --muted:#b40013!important;
    --ink:#272727!important;
}
.store-page .store-main,
.store-page .page-main,
.store-page .profile-main,
.store-page .product-detail,
.store-page .referral-shell,
.store-page .share-shell,
.wallet-page .wallet-main{
    background:transparent!important;
}
.store-page .app-page-header{
    background:linear-gradient(110deg,#eb0a1e,#ff4b5b)!important;
    border-bottom:1px solid #eb0a1e!important;
    box-shadow:0 8px 22px rgba(180,0,19,.1)!important;
}
.store-page :is(
    .quick-actions,
    .plan-card,
    .wallet-box,
    .wallet-history,
    .bank-summary,
    .bind-form,
    .amount-options,
    .pay-method,
    .withdraw-rules,
    .payment-channel-box,
    .settings-card,
    .empty-card,
    .cart-list,
    .order-summary,
    .checkout-form,
    .qr-card,
    .share-card,
    .purchase-card,
    .product-description,
    .purchase-summary,
    .purchase-confirm-form,
    .profile-wallets article,
    .profile-menu a,
    .orders-list article,
    .message-list article,
    .account-form,
    .message-compose,
    .about-card,
    .install-card,
    .team-account,
    .team-level,
    .team-rate-grid article,
    .member-summary,
    .referral-cards article,
    .referral-list article,
    .product-card
){
    border:1px solid #f2b8be!important;
    background:linear-gradient(180deg,#fbfbfb 0,#f1f1f1 100%)!important;
    box-shadow:0 10px 28px rgba(180,0,19,.13)!important;
}
.store-page :is(.plan-stats>div,.amount-options button,.payment-channels label,.money-input,.share-card>div,.share-card>p,.summary-stats,.team-summary span,.team-level>header,.language-choice){
    border:1px solid #d8d8d8!important;
    background:linear-gradient(180deg,#f6f6f6 0,#ebebeb 100%)!important;
}
.store-page :is(.plan-stats strong,.profile-wallets strong,.purchase-summary strong,.orders-list article strong,.team-rate-grid strong,.team-level b,.team-summary b){
    color:#b40013!important;
}
.store-page :is(.plan-stats span,.purchase-limit,.wallet-box p,.wallet-history small,.pay-method small,.profile-menu small,.share-card p){
    color:#b40013!important;
}
.store-page :is(.primary-button,.wallet-submit,.plan-buy,.copy-button,.bind-button,.section-action a){
    background:linear-gradient(110deg,#eb0a1e,#f52b40)!important;
    color:#fff!important;
    box-shadow:0 8px 20px rgba(235,10,30,.2)!important;
}
.store-page .bottom-nav,
.store-page .bottom-nav a.active:before{
    background:linear-gradient(180deg,#fbfbfb 0,#f1f1f1 100%)!important;
    border-color:#f2b8be!important;
}
.store-page .bottom-nav a.active,
.store-page .bottom-nav a.active svg{
    color:#eb0a1e!important;
}
.reference-home .quick-actions>a>svg,
.store-page .profile-menu a>span,
.store-page .team-avatar,
.store-page .list-avatar,
.store-page .popup-limits article>span{
    background:linear-gradient(145deg,#f2f2f2,#e5e5e5)!important;
    border-color:#f2b8be!important;
    color:#eb0a1e!important;
}

/* Clean app header back button across all inner pages. */
.store-page .app-page-header{
    display:grid!important;
    grid-template-columns:42px 1fr 42px!important;
    align-items:center!important;
    width:min(100%,520px)!important;
    min-height:58px!important;
    height:58px!important;
    margin:0 auto!important;
    padding:8px 12px!important;
}
.store-page .app-page-header>a{
    display:grid!important;
    place-items:center!important;
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    min-height:38px!important;
    padding:0!important;
    border:1px solid rgba(255,255,255,.55)!important;
    border-radius:11px!important;
    background:rgba(255,255,255,.96)!important;
    color:#eb0a1e!important;
    font:800 28px/1 system-ui,sans-serif!important;
    text-decoration:none!important;
    box-shadow:0 5px 14px rgba(180,0,19,.12)!important;
}
.store-page .app-page-header strong{
    min-width:0!important;
    color:#212121!important;
    font:800 15px/1.2 system-ui,sans-serif!important;
    text-align:center!important;
}
.store-page .header-spacer{
    display:block!important;
    width:38px!important;
    height:38px!important;
}

/* Brown/orange cleanup: keep the whole site in the blue energy-drink palette. */
html,
body,
body.admin-page,
body.setup-page{
    background:
        radial-gradient(circle at 50% -90px, rgba(235,10,30,.32), transparent 340px),
        linear-gradient(180deg,#eaeaea 0,#f4f4f4 45%,#ededed 100%)!important;
}
.store-page,
.admin-page,
.setup-page{
    --wine:#eb0a1e!important;
    --wine-dark:#a90013!important;
    --saffron:#ff8994!important;
    --cream:#f4f4f4!important;
    --line:#f2b8be!important;
    --green:#eb0a1e!important;
    --brand-primary:#eb0a1e!important;
    --brand-copper:#eb0a1e!important;
    --brand-gold:#ececec!important;
    --brand-soft:#f3f3f3!important;
    --brand-surface:#fbfbfb!important;
    --brand-olive:#eb0a1e!important;
    --app-green:#eb0a1e!important;
}
.store-page :is(
    .profile-head,
    .team-hero,
    .referral-hero,
    .share-shell>header,
    .store-hero
){
    background:linear-gradient(110deg,#eb0a1e,#ff4b5b)!important;
    color:#fff!important;
    box-shadow:0 10px 26px rgba(180,0,19,.16)!important;
}
.store-page :is(
    .amount-options button,
    .payment-channels label,
    .payment-channels label:has(input:checked),
    .money-input,
    .pay-method strong,
    .popup-daily>span,
    .popup-limits article,
    .popup-levels article,
    .team-summary span,
    .team-level>header,
    .team-empty>span,
    .product-facts span,
    .summary-stats,
    .list-avatar,
    .team-avatar,
    .language-choice,
    .code-row
){
    border-color:#d8d8d8!important;
    background:linear-gradient(180deg,#f6f6f6 0,#ebebeb 100%)!important;
    color:#272727!important;
}
.store-page :is(
    .category,
    .detail-price,
    .price-row strong,
    .team-rate-grid strong,
    .team-level>header b,
    .team-summary b,
    .team-account-person h2,
    .team-empty a,
    .popup-limits strong,
    .popup-levels strong,
    .share-card>div span,
    .share-card>div strong,
    .profile-head code,
    .referral-hero .eyebrow
){
    color:#eb0a1e!important;
}
.store-page :is(.profile-head,.team-hero,.referral-hero,.share-shell>header) :is(h1,h2,p,small,code,.eyebrow){
    color:#fff!important;
}
.store-page :is(
    .app-banner,
    .admin-actions a,
    .admin-actions button,
    .status-form button,
    .payment-proceed,
    .add-button,
    .cart-link b
){
    background:#eb0a1e!important;
    color:#fff!important;
}
.store-page :is(
    .bind-form label,
    .payment-channels label,
    .payment-channels label:has(input:checked),
    .team-level,
    .team-account,
    .team-rate-grid article,
    .wallet-box,
    .bank-summary,
    .wallet-history,
    .profile-wallets article,
    .profile-menu a,
    .purchase-card,
    .orders-list article
){
    border-color:#f2b8be!important;
}
body.auth-page .auth-floating-logo{
    background:linear-gradient(145deg,#fff,#f1f1f1)!important;
    box-shadow:0 8px 24px rgba(41,41,41,.22),0 0 0 5px rgba(255,255,255,.18)!important;
}
.admin-page{
    background:#f4f4f4!important;
    color:#272727!important;
}
.admin-page :is(.admin-mobile-header,.admin-sidebar,.table-card,.settings-card,.admin-form,.admin-filter,.stat-grid article,.finance-card,.setup-card){
    border-color:#f2b8be!important;
    background:linear-gradient(180deg,#fbfbfb 0,#f6f6f6 100%)!important;
    color:#272727!important;
    box-shadow:0 10px 28px rgba(180,0,19,.1)!important;
}
.admin-page :is(.admin-sidebar nav a,.admin-mobile-header>strong,.admin-sidebar .wordmark strong,.admin-sidebar .wordmark small){
    color:#272727!important;
}
.admin-page :is(.admin-sidebar nav a.active,.admin-sidebar nav a:hover,.admin-menu-toggle,.admin-menu-close,.admin-row-actions button){
    border-color:#f2b8be!important;
    background:#f3f3f3!important;
    color:#eb0a1e!important;
}
.admin-page .admin-sidebar nav a:before{
    border-color:#eb0a1e!important;
}
.admin-page .admin-sidebar nav a.active:after{
    background:#eb0a1e!important;
}

/* Recharge page polish. */
.wallet-page .wallet-main{
    gap:14px!important;
    padding-top:14px!important;
}
.wallet-page .wallet-form{
    display:grid!important;
    gap:13px!important;
}
.wallet-page .amount-options{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:9px!important;
    padding:12px!important;
    border:1px solid #f2b8be!important;
    border-radius:14px!important;
    background:linear-gradient(180deg,#fbfbfb 0,#f1f1f1 100%)!important;
    box-shadow:0 10px 28px rgba(180,0,19,.1)!important;
}
.wallet-page .amount-options button{
    min-height:48px!important;
    padding:8px 4px!important;
    border:1px solid #f4cbd0!important;
    border-radius:10px!important;
    background:#fff!important;
    color:#eb0a1e!important;
    font:800 15px/1.1 system-ui,sans-serif!important;
    box-shadow:none!important;
}
.wallet-page .amount-options button:before{
    content:"Rs ";
    font-size:11px;
    font-weight:800;
    opacity:.65;
}
.wallet-page .amount-options button.selected{
    border-color:#eb0a1e!important;
    background:linear-gradient(110deg,#eb0a1e,#ff4b5b)!important;
    color:#fff!important;
    box-shadow:0 8px 18px rgba(235,10,30,.2)!important;
}
.wallet-page .wallet-box{
    display:grid!important;
    gap:13px!important;
}
.wallet-page .wallet-box p{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
    margin:0!important;
    padding:12px 13px!important;
    border:1px solid #f4cbd0!important;
    border-radius:11px!important;
    background:#fbfbfb!important;
    color:#b40013!important;
    font-size:12px!important;
}
.wallet-page .wallet-box p b{
    color:#b40013!important;
    font-size:17px!important;
}
.wallet-page .wallet-box label{
    gap:7px!important;
    color:#272727!important;
    font-size:12px!important;
    font-weight:800!important;
}
.wallet-page .money-input{
    min-height:54px!important;
    border:1px solid #f2b8be!important;
    border-radius:11px!important;
    background:#fff!important;
}
.wallet-page .money-input span{
    display:grid!important;
    place-items:center!important;
    width:34px!important;
    height:34px!important;
    margin-right:9px!important;
    border-radius:9px!important;
    background:#f3f3f3!important;
    color:#eb0a1e!important;
    font-size:18px!important;
    font-weight:900!important;
}
.wallet-page .money-input input{
    color:#272727!important;
    font-size:18px!important;
    font-weight:800!important;
}
.wallet-page .payment-channel-box{
    display:grid!important;
    gap:12px!important;
    padding:14px!important;
    border:1px solid #f2b8be!important;
    border-radius:14px!important;
    background:linear-gradient(180deg,#fbfbfb 0,#f1f1f1 100%)!important;
    box-shadow:0 10px 28px rgba(180,0,19,.1)!important;
}
.wallet-page .payment-channel-head{
    display:flex!important;
    justify-content:space-between!important;
    align-items:end!important;
    gap:12px!important;
}
.wallet-page .payment-channel-head span{
    color:#272727!important;
    font-size:14px!important;
    font-weight:900!important;
}
.wallet-page .payment-channel-head small{
    color:#b40013!important;
    font-size:10px!important;
}
.wallet-page .payment-channels{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
}
.wallet-page .payment-channels label{
    position:relative!important;
    min-height:72px!important;
    padding:11px 7px!important;
    border:1px solid #f4cbd0!important;
    border-radius:12px!important;
    background:#fff!important;
    color:#272727!important;
    box-shadow:none!important;
}
.wallet-page .payment-channels label:has(input:checked){
    border-color:#eb0a1e!important;
    background:linear-gradient(180deg,#f6f6f6 0,#eaeaea 100%)!important;
    box-shadow:0 8px 18px rgba(235,10,30,.14)!important;
}
.wallet-page .payment-channels b{
    color:#b40013!important;
    font-size:12px!important;
}
.wallet-page .payment-channels small{
    color:#b40013!important;
    font-size:9px!important;
}
.wallet-page .payment-channels em{
    display:none!important;
    top:7px!important;
    right:7px!important;
    width:18px!important;
    height:18px!important;
    border-radius:50%!important;
    background:#eb0a1e!important;
    color:#fff!important;
    font:800 11px/18px Arial!important;
}
.wallet-page .payment-channels label:has(input:checked) em{
    display:block!important;
}
.wallet-page .payment-proceed{
    min-height:52px!important;
    border-radius:12px!important;
    background:linear-gradient(110deg,#eb0a1e,#f52b40)!important;
    color:#fff!important;
    font-size:16px!important;
    font-weight:900!important;
    box-shadow:0 10px 22px rgba(235,10,30,.22)!important;
}
.wallet-page .availability{
    margin:-3px 2px 0!important;
    color:#b40013!important;
    font-size:12px!important;
    font-weight:700!important;
    text-align:center!important;
}
.wallet-page .payment-unavailable{
    color:#d63b3b!important;
}
.wallet-page .wallet-history h2{
    margin:0 0 10px!important;
    color:#272727!important;
    font-size:17px!important;
}
.wallet-page .wallet-history article{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
    padding:12px 2px!important;
    border-top:1px solid #e0e0e0!important;
}
.wallet-page .wallet-history article b{
    color:#272727!important;
    font-size:12px!important;
}
.wallet-page .wallet-history article>span{
    display:grid!important;
    justify-items:end!important;
    gap:5px!important;
    color:#b40013!important;
    font-weight:900!important;
}
.wallet-page .state{
    border-radius:99px!important;
    background:#f3f3f3!important;
    color:#eb0a1e!important;
}
@media(max-width:370px){
    .wallet-page .payment-channels{grid-template-columns:1fr!important}
    .wallet-page .payment-channels label{min-height:56px!important}
}

/* Withdraw page: simple blue treatment matching the rest of the customer area. */
.wallet-page .withdraw-rules{
    display:grid!important;
    gap:13px!important;
    padding:15px!important;
    border:1px solid #eb0a1e!important;
    border-radius:13px!important;
    background:linear-gradient(135deg,#f6f6f6 0%,#ebebeb 100%)!important;
    box-shadow:0 9px 24px rgba(180,0,19,.1)!important;
}
.wallet-page .withdraw-rules>div:first-child{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
}
.wallet-page .withdraw-rules>div:first-child span{
    color:#272727!important;
    font-size:14px!important;
    font-weight:900!important;
}
.wallet-page .withdraw-rules>div:first-child b{
    padding:6px 9px!important;
    border:1px solid #eb0a1e!important;
    border-radius:7px!important;
    background:#fff!important;
    color:#eb0a1e!important;
    font-size:10px!important;
    font-weight:800!important;
}
.wallet-page .withdraw-rules.is-closed>div:first-child b{
    border-color:#f0b8b8!important;
    background:#f5f5f5!important;
    color:#c83b3b!important;
}
.wallet-page .withdraw-rule-grid{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
}
.wallet-page .withdraw-rule-grid span{
    display:grid!important;
    gap:4px!important;
    min-width:0!important;
    padding:10px 5px!important;
    border:1px solid #f4cbd0!important;
    border-radius:9px!important;
    background:rgba(255,255,255,.82)!important;
    text-align:center!important;
}
.wallet-page .withdraw-rule-grid small{
    color:#b40013!important;
    font-size:9px!important;
}
.wallet-page .withdraw-rule-grid b{
    overflow-wrap:anywhere!important;
    color:#b40013!important;
    font-size:12px!important;
    font-weight:900!important;
}
.wallet-page .withdraw-rules p{
    margin:0!important;
    color:#b40013!important;
    font-size:10px!important;
    line-height:1.55!important;
}
.wallet-page .withdraw-form .wallet-box{
    padding:15px!important;
    border:1px solid #f2b8be!important;
    border-radius:13px!important;
    background:#fbfbfb!important;
    box-shadow:0 9px 24px rgba(180,0,19,.09)!important;
}
.wallet-page .withdraw-form .money-input.pin{
    display:flex!important;
    gap:0!important;
    padding:0 10px!important;
}
.wallet-page .withdraw-form .pin input{
    font-size:14px!important;
    font-weight:700!important;
}
.wallet-page .withdraw-form .wallet-submit{
    min-height:50px!important;
    border:0!important;
    border-radius:10px!important;
    background:linear-gradient(110deg,#eb0a1e,#f52b40)!important;
    color:#fff!important;
    font-size:15px!important;
    font-weight:900!important;
    box-shadow:0 9px 20px rgba(235,10,30,.2)!important;
}
.wallet-page .bank-summary{
    padding:7px 15px!important;
    border:1px solid #f2b8be!important;
    border-radius:13px!important;
    background:#fbfbfb!important;
    box-shadow:0 9px 24px rgba(180,0,19,.08)!important;
}
.wallet-page .bank-summary p{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:14px!important;
    margin:0!important;
    padding:11px 2px!important;
    border-bottom:1px solid #e0e0e0!important;
    color:#b40013!important;
    font-size:11px!important;
}
.wallet-page .bank-summary p:last-of-type{border-bottom:0!important}
.wallet-page .bank-summary b{
    color:#272727!important;
    font-size:12px!important;
    font-weight:800!important;
    text-align:right!important;
}
.wallet-page .bank-summary .bind-button{
    margin:8px 0!important;
    border:0!important;
    border-radius:9px!important;
    background:#eb0a1e!important;
    color:#fff!important;
    font-size:14px!important;
    font-weight:800!important;
}
.wallet-page .wallet-alert{
    border:1px solid #eb0a1e!important;
    border-radius:9px!important;
    background:#f7f7f7!important;
    color:#b40013!important;
    font-size:12px!important;
}
.wallet-page .wallet-history{
    padding:15px!important;
    border:1px solid #f2b8be!important;
    border-radius:13px!important;
    background:#fbfbfb!important;
    box-shadow:0 9px 24px rgba(180,0,19,.08)!important;
}
.wallet-page .wallet-history article>div{
    display:grid!important;
    gap:3px!important;
}
.wallet-page .wallet-history article>div>b{
    color:#b40013!important;
    font-size:14px!important;
}
.wallet-page .wallet-history small{
    color:#eb0a1e!important;
    font-size:9px!important;
}
.wallet-page .wallet-history .state.pending,
.wallet-page .wallet-history .state.processing{
    background:#ececec!important;
    color:#eb0a1e!important;
}
@media(max-width:380px){
    .wallet-page .withdraw-rule-grid{gap:5px!important}
    .wallet-page .withdraw-rule-grid span{padding:9px 3px!important}
    .wallet-page .withdraw-rules>div:first-child{align-items:flex-start!important;flex-direction:column!important}
}

/* Dashboard: four larger quick actions. */
.reference-home .quick-actions{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:10px!important;
    padding:14px 12px!important;
}
.reference-home .quick-actions>a{
    min-height:72px!important;
    justify-content:center!important;
    gap:8px!important;
    padding:8px 5px!important;
    font-size:11px!important;
}
.reference-home .quick-actions>a>svg{
    width:29px!important;
    height:29px!important;
    padding:10px!important;
    border-radius:13px!important;
}
@media(max-width:480px){
    .reference-home .quick-actions{gap:5px!important;padding:11px 6px!important}
    .reference-home .quick-actions>a{min-height:68px!important;font-size:10px!important}
    .reference-home .quick-actions>a>svg{width:26px!important;height:26px!important;padding:9px!important}
}

/* Profile hub and the pages opened from it. */
.store-page .profile-main:has(> .profile-head){
    gap:12px!important;
    padding-top:14px!important;
}
.store-page .profile-main>.profile-head{
    position:relative!important;
    min-height:116px!important;
    padding:20px!important;
    border:1px solid rgba(255,255,255,.55)!important;
    border-radius:16px!important;
    background:
        radial-gradient(circle at 90% 15%,rgba(235,10,30,.7),transparent 34%),
        linear-gradient(125deg,#bd0014 0%,#eb0a1e 56%,#ff4b5b 100%)!important;
    box-shadow:0 14px 32px rgba(180,0,19,.2)!important;
    overflow:hidden!important;
}
.store-page .profile-main>.profile-head:after{
    content:"";
    position:absolute;
    right:-32px;
    bottom:-48px;
    width:135px;
    height:135px;
    border:18px solid rgba(255,255,255,.1);
    border-radius:50%;
    pointer-events:none;
}
.store-page .profile-main>.profile-head img{
    position:relative!important;
    z-index:1!important;
    width:68px!important;
    height:68px!important;
    border:3px solid rgba(255,255,255,.88)!important;
    border-radius:15px!important;
    box-shadow:0 7px 18px rgba(38,38,38,.24)!important;
}
.store-page .profile-main>.profile-head>div{
    position:relative!important;
    z-index:1!important;
    min-width:0!important;
}
.store-page .profile-main>.profile-head h1{
    margin:0 0 7px!important;
    color:#fff!important;
    font-size:18px!important;
    letter-spacing:.01em!important;
}
.store-page .profile-main>.profile-head .uid-row{
    flex-wrap:wrap!important;
    margin:0!important;
}
.store-page .profile-main>.profile-head .uid-row code{
    padding:5px 8px!important;
    border-radius:6px!important;
    background:rgba(48,48,48,.22)!important;
    color:#f6f6f6!important;
    font-size:10px!important;
}
.store-page .profile-main>.profile-head .uid-row button{
    width:29px!important;
    height:29px!important;
    border-radius:7px!important;
}
.store-page .profile-main>.profile-head .vip-badge{
    padding:6px 9px!important;
    border-radius:7px!important;
    background:#fff!important;
    color:#d7071b!important;
    font-size:10px!important;
}
.store-page .profile-main>.profile-wallets{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px!important;
}
.store-page .profile-main>.profile-wallets article{
    position:relative!important;
    min-height:76px!important;
    align-content:center!important;
    gap:6px!important;
    padding:12px!important;
    border:1px solid #f2b8be!important;
    border-radius:12px!important;
    background:linear-gradient(150deg,#fbfbfb,#eeeeee)!important;
    text-align:left!important;
    box-shadow:0 8px 20px rgba(180,0,19,.08)!important;
    overflow:hidden!important;
}
.store-page .profile-main>.profile-wallets article:before{
    content:"";
    position:absolute;
    left:0;
    top:12px;
    bottom:12px;
    width:3px;
    border-radius:0 4px 4px 0;
    background:#eb0a1e;
}
.store-page .profile-main>.profile-wallets span{
    color:#b40013!important;
    font-size:10px!important;
}
.store-page .profile-main>.profile-wallets strong{
    color:#b40013!important;
    font-size:17px!important;
}
.store-page .profile-main>.profile-menu{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px!important;
    padding-top:27px!important;
    position:relative!important;
}
.store-page .profile-main>.profile-menu:before{
    content:"Account services";
    position:absolute;
    top:2px;
    left:2px;
    color:#272727;
    font-size:13px;
    font-weight:900;
}
.store-page .profile-main>.profile-menu a{
    display:grid!important;
    grid-template-columns:42px minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:9px!important;
    min-height:70px!important;
    padding:10px!important;
    border:1px solid #d1d1d1!important;
    border-radius:12px!important;
    background:linear-gradient(145deg,#fbfbfb,#f1f1f1)!important;
    color:#272727!important;
    box-shadow:0 7px 18px rgba(180,0,19,.07)!important;
}
.store-page .profile-main>.profile-menu a:hover{
    border-color:#eb0a1e!important;
    background:#efefef!important;
    transform:translateY(-1px)!important;
}
.store-page .profile-main>.profile-menu a>span{
    display:grid!important;
    place-items:center!important;
    width:42px!important;
    height:42px!important;
    border:1px solid #d7d7d7!important;
    border-radius:10px!important;
    background:#fff!important;
    color:#eb0a1e!important;
}
.store-page .profile-main>.profile-menu a>span svg{
    width:22px!important;
    height:22px!important;
}
.store-page .profile-main>.profile-menu b{
    color:#2f2f2f!important;
    font-size:11px!important;
    line-height:1.25!important;
}
.store-page .profile-main>.profile-menu i{
    color:#eb0a1e!important;
    font-size:20px!important;
}
.store-page .profile-main>.profile-menu em{
    position:absolute!important;
    top:7px!important;
    right:7px!important;
    min-width:18px!important;
    height:18px!important;
    font-size:9px!important;
}
.store-page .profile-main>.profile-menu a:last-child{
    grid-column:1/-1!important;
    min-height:56px!important;
    border-color:#efc5c5!important;
    background:#f6f6f6!important;
}
.store-page .profile-main>.profile-menu a:last-child>span{
    border-color:#f1cece!important;
    background:#fff!important;
    color:#d44747!important;
}
.store-page .profile-main>.profile-menu a:last-child b{color:#b93636!important}

/* Shared cards for profile-linked account pages. */
.store-page .page-main>.section-action,
.store-page .history-heading{
    min-height:70px!important;
    margin:0 0 12px!important;
    padding:13px 15px!important;
    border:1px solid #f2b8be!important;
    border-radius:12px!important;
    background:linear-gradient(135deg,#f6f6f6,#ebebeb)!important;
}
.store-page .page-main>.section-action h2,
.store-page .history-heading h2{
    margin:0!important;
    color:#272727!important;
    font-size:18px!important;
}
.store-page .section-action .text-button,
.store-page .history-heading a{
    padding:8px 10px!important;
    border:1px solid #eb0a1e!important;
    border-radius:8px!important;
    background:#fff!important;
    color:#d7071b!important;
    font-size:11px!important;
    font-weight:800!important;
}
.store-page .message-list article{
    border:1px solid #d6d6d6!important;
    border-left:4px solid #eb0a1e!important;
    border-radius:11px!important;
    background:#fafafa!important;
    box-shadow:0 7px 18px rgba(180,0,19,.07)!important;
}
.store-page .message-list article.unread{
    border-left-color:#eb0a1e!important;
    background:#f6f6f6!important;
}
.store-page .message-list h3{color:#272727!important;font-size:14px!important}
.store-page .message-list p{color:#b40013!important;font-size:12px!important}
.store-page .settings-card{
    padding:16px!important;
    border:1px solid #d1d1d1!important;
    border-radius:13px!important;
    background:#fbfbfb!important;
    box-shadow:0 9px 23px rgba(180,0,19,.08)!important;
}
.store-page .settings-card h2{
    margin:0 0 14px!important;
    color:#272727!important;
    font-size:17px!important;
}
.store-page .settings-card .account-form{
    padding:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
}
.store-page .account-form label{color:#b40013!important}
.store-page .account-form input{
    min-height:47px!important;
    border:1px solid #d3d3d3!important;
    border-radius:9px!important;
    background:#fff!important;
    color:#272727!important;
}
.store-page .account-form input:focus{
    outline:2px solid rgba(235,10,30,.15)!important;
    border-color:#eb0a1e!important;
}
.store-page .language-choice{
    min-height:52px!important;
    border:1px solid #d3d3d3!important;
    border-radius:9px!important;
    background:#fff!important;
    color:#2f2f2f!important;
}
.store-page .page-main>.empty-card:first-child{
    border-color:#eb0a1e!important;
    background:linear-gradient(135deg,#b40013,#eb0a1e)!important;
    color:#fff!important;
    text-align:left!important;
}
.store-page .page-main>.empty-card:first-child :is(h1,h2,p){color:#fff!important}
.store-page .orders-list article{
    border:1px solid #d6d6d6!important;
    border-radius:11px!important;
    background:#fafafa!important;
    box-shadow:0 7px 18px rgba(180,0,19,.07)!important;
}
.store-page .orders-list article strong{color:#d7071b!important}
.store-page .purchase-page .catalog-heading{
    margin:0 0 4px!important;
    padding:14px 15px!important;
    border:1px solid #f2b8be!important;
    border-radius:12px!important;
    background:linear-gradient(135deg,#f6f6f6,#ebebeb)!important;
}
.store-page .purchase-page .catalog-heading h1{font-size:19px!important}
.store-page .purchase-page .catalog-heading>a{
    padding:8px 10px!important;
    border-radius:8px!important;
    background:#fff!important;
    color:#d7071b!important;
    font-size:11px!important;
    font-weight:800!important;
    text-decoration:none!important;
}
.store-page .purchase-page .purchase-card{
    display:block!important;
    padding:13px!important;
    border:1px solid #d1d1d1!important;
    border-radius:13px!important;
    background:#fbfbfb!important;
    box-shadow:0 9px 23px rgba(180,0,19,.08)!important;
}
.store-page .purchase-page .collection-head{
    display:flex!important;
    align-items:center!important;
    gap:12px!important;
    margin:0 0 10px!important;
}
.store-page .purchase-page .purchase-card img{
    flex:0 0 86px!important;
    width:86px!important;
    height:86px!important;
    border-radius:10px!important;
}
.store-page .purchase-page .plan-stats{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
}
.store-page .about-card,
.store-page .install-card{
    padding:28px 20px!important;
    border:1px solid #d1d1d1!important;
    border-radius:15px!important;
    background:linear-gradient(160deg,#fbfbfb,#f2f2f2)!important;
    box-shadow:0 12px 28px rgba(180,0,19,.1)!important;
}
.store-page .about-card img,
.store-page .install-card img{
    width:92px!important;
    height:92px!important;
    border:4px solid #fff!important;
    border-radius:18px!important;
    box-shadow:0 9px 22px rgba(180,0,19,.18)!important;
}
.store-page .about-card h1,
.store-page .install-card h1{color:#272727!important}
.store-page .about-card p,
.store-page .install-card p{color:#b40013!important}
.store-page .install-card #install-help{
    margin-top:17px!important;
    padding:14px!important;
    border:1px solid #d6d6d6!important;
    border-radius:10px!important;
    background:#fff!important;
    text-align:left!important;
}
@media(max-width:390px){
    .store-page .profile-main>.profile-menu{grid-template-columns:1fr!important}
    .store-page .profile-main>.profile-menu a:last-child{grid-column:auto!important}
    .store-page .profile-main>.profile-menu a{min-height:62px!important}
}

/* Team page: complete blue reset over the legacy brown theme. */
.premium-team-page .referral-shell{
    display:grid!important;
    gap:12px!important;
    padding-top:14px!important;
}
.premium-team-page .team-hero{
    position:relative!important;
    display:block!important;
    min-height:190px!important;
    padding:24px 22px!important;
    border:1px solid rgba(255,255,255,.55)!important;
    border-radius:16px!important;
    background:
        radial-gradient(circle at 88% 12%,rgba(235,10,30,.72),transparent 32%),
        linear-gradient(125deg,#bd0014 0%,#eb0a1e 58%,#ff4b5b 100%)!important;
    color:#fff!important;
    box-shadow:0 14px 32px rgba(180,0,19,.2)!important;
    overflow:hidden!important;
}
.premium-team-page .team-hero:before{
    content:"";
    position:absolute;
    right:-35px;
    bottom:-67px;
    width:175px;
    height:175px;
    border:20px solid rgba(255,255,255,.1);
    border-radius:50%;
    pointer-events:none;
}
.premium-team-page .team-hero:after{
    width:95px!important;
    height:95px!important;
    right:27px!important;
    top:17px!important;
    border:1px solid rgba(255,255,255,.18)!important;
}
.premium-team-page .team-hero .eyebrow{
    position:relative!important;
    z-index:1!important;
    color:#ebebeb!important;
    font-size:9px!important;
    font-weight:900!important;
    letter-spacing:.15em!important;
}
.premium-team-page .team-hero h1{
    position:relative!important;
    z-index:1!important;
    max-width:320px!important;
    margin:8px 0 7px!important;
    color:#fff!important;
    font:900 25px/1.08 system-ui,sans-serif!important;
    letter-spacing:-.035em!important;
}
.premium-team-page .team-hero p{
    position:relative!important;
    z-index:1!important;
    max-width:350px!important;
    margin:0!important;
    color:#f4f4f4!important;
    font-size:11px!important;
    line-height:1.55!important;
}
.premium-team-page .team-hero a{
    position:relative!important;
    z-index:1!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:37px!important;
    margin-top:15px!important;
    padding:8px 13px!important;
    border:1px solid rgba(255,255,255,.75)!important;
    border-radius:9px!important;
    background:#fff!important;
    color:#d7071b!important;
    font-size:10px!important;
    font-weight:900!important;
    text-decoration:none!important;
    box-shadow:0 7px 17px rgba(180,0,19,.16)!important;
}
.premium-team-page .team-rate-grid{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
}
.premium-team-page .team-rate-grid article{
    display:grid!important;
    gap:5px!important;
    min-width:0!important;
    padding:13px 5px!important;
    border:1px solid #f2b8be!important;
    border-radius:11px!important;
    background:linear-gradient(150deg,#fbfbfb,#f0f0f0)!important;
    text-align:center!important;
    box-shadow:0 7px 18px rgba(180,0,19,.07)!important;
}
.premium-team-page .team-rate-grid small{
    color:#eb0a1e!important;
    font-size:8px!important;
    font-weight:800!important;
    letter-spacing:.1em!important;
}
.premium-team-page .team-rate-grid strong{
    color:#d7071b!important;
    font:900 21px/1 system-ui,sans-serif!important;
}
.premium-team-page .team-rate-grid span{
    color:#b40013!important;
    font-size:9px!important;
}
.premium-team-page .team-account{
    padding:14px!important;
    border:1px solid #f2b8be!important;
    border-radius:13px!important;
    background:#fbfbfb!important;
    box-shadow:0 9px 23px rgba(180,0,19,.08)!important;
}
.premium-team-page .team-account-person{
    display:flex!important;
    align-items:center!important;
    gap:11px!important;
    padding:1px!important;
}
.premium-team-page .team-account-person img{
    width:54px!important;
    height:54px!important;
    border:3px solid #fff!important;
    border-radius:12px!important;
    box-shadow:0 6px 16px rgba(180,0,19,.16)!important;
}
.premium-team-page .team-account-person small{
    color:#d7071b!important;
    font-size:8px!important;
    font-weight:900!important;
    letter-spacing:.1em!important;
}
.premium-team-page .team-account-person h2{
    margin:3px 0!important;
    color:#272727!important;
    font:900 16px/1.15 system-ui,sans-serif!important;
}
.premium-team-page .team-account-person p{
    margin:0!important;
    color:#b40013!important;
    font-size:9px!important;
}
.premium-team-page .team-account-person code{
    color:#d7071b!important;
    font-size:9px!important;
}
.premium-team-page .team-summary{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:7px!important;
    margin-top:13px!important;
}
.premium-team-page .team-summary span{
    display:grid!important;
    gap:5px!important;
    min-width:0!important;
    padding:10px 4px!important;
    border:1px solid #f4cbd0!important;
    border-radius:9px!important;
    background:#fff!important;
    text-align:center!important;
}
.premium-team-page .team-summary small{
    color:#eb0a1e!important;
    font-size:8px!important;
}
.premium-team-page .team-summary b{
    overflow-wrap:anywhere!important;
    color:#d7071b!important;
    font-size:13px!important;
    font-weight:900!important;
}
.premium-team-page .team-level{
    overflow:hidden!important;
    border:1px solid #f2b8be!important;
    border-radius:13px!important;
    background:#fbfbfb!important;
    box-shadow:0 9px 23px rgba(180,0,19,.08)!important;
}
.premium-team-page .team-level>header{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
    padding:13px 14px!important;
    border-bottom:1px solid #f4cbd0!important;
    border-radius:0!important;
    background:linear-gradient(120deg,#f4f4f4,#fafafa)!important;
}
.premium-team-page .team-level>header span{
    color:#d7071b!important;
    font-size:8px!important;
    font-weight:900!important;
    letter-spacing:.1em!important;
}
.premium-team-page .team-level>header h2{
    margin:3px 0 0!important;
    color:#272727!important;
    font-size:14px!important;
    font-weight:900!important;
}
.premium-team-page .team-level>header>div:last-child{
    display:grid!important;
    gap:3px!important;
    text-align:right!important;
}
.premium-team-page .team-level>header small{
    color:#b40013!important;
    font-size:8px!important;
}
.premium-team-page .team-level>header b{
    color:#d7071b!important;
    font-size:13px!important;
}
.premium-team-page .team-member-list{
    display:grid!important;
    padding:0 13px!important;
}
.premium-team-page .team-member-list article{
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    padding:12px 1px!important;
    border-bottom:1px solid #e6e6e6!important;
}
.premium-team-page .team-member-list article:last-child{border-bottom:0!important}
.premium-team-page .team-avatar{
    display:grid!important;
    place-items:center!important;
    flex:0 0 39px!important;
    width:39px!important;
    height:39px!important;
    border:1px solid #f2b8be!important;
    border-radius:10px!important;
    background:#f4f4f4!important;
    color:#d7071b!important;
    font-size:13px!important;
    font-weight:900!important;
}
.premium-team-page .team-member-list article>div{
    display:grid!important;
    flex:1!important;
    min-width:0!important;
    gap:2px!important;
}
.premium-team-page .team-member-list article b{
    color:#272727!important;
    font-size:11px!important;
}
.premium-team-page .team-member-list article small{
    overflow:hidden!important;
    color:#eb0a1e!important;
    font-size:8px!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
}
.premium-team-page .team-member-list .status{
    padding:5px 7px!important;
    border-radius:6px!important;
    font-size:8px!important;
    font-style:normal!important;
}
.premium-team-page .team-empty{
    display:grid!important;
    place-items:center!important;
    gap:7px!important;
    min-height:125px!important;
    padding:20px!important;
    color:#eb0a1e!important;
    text-align:center!important;
}
.premium-team-page .team-empty>span{
    display:grid!important;
    place-items:center!important;
    width:38px!important;
    height:38px!important;
    border:1px solid #f2b8be!important;
    border-radius:10px!important;
    background:#f4f4f4!important;
    color:#d7071b!important;
    font-weight:900!important;
}
.premium-team-page .team-empty p{margin:0!important;font-size:10px!important}
.premium-team-page .team-empty a{
    padding:7px 10px!important;
    border-radius:7px!important;
    background:#eb0a1e!important;
    color:#fff!important;
    font-size:9px!important;
    font-weight:800!important;
    text-decoration:none!important;
}
@media(max-width:370px){
    .premium-team-page .team-hero{min-height:180px!important;padding:20px 17px!important}
    .premium-team-page .team-rate-grid{gap:5px!important}
    .premium-team-page .team-rate-grid article{padding-inline:3px!important}
    .premium-team-page .team-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
    .premium-team-page .team-summary span:last-child{grid-column:1/-1!important}
}

/* Final profile hub overrides: this stylesheet loads after all user-panel themes. */
.store-page .profile-main>.profile-menu a[href="messages.php"],.store-page .profile-main>.profile-menu a[href="about.php"],.store-page .profile-main>.profile-menu a[href="download.php"],.store-page .profile-main>.profile-menu a[href="language.php"]{display:none!important}
.store-page .profile-main>.profile-head{position:relative!important;isolation:isolate!important;min-height:104px!important;padding:19px 20px!important;overflow:hidden!important;border:1px solid rgba(235,10,30,.55)!important;border-radius:18px!important;background:linear-gradient(125deg,#a90013 0%,#eb0a1e 58%,#ff4b5b 100%)!important;box-shadow:0 14px 30px rgba(180,0,19,.2)!important}
.store-page .profile-main>.profile-head:after{content:""!important;position:absolute!important;z-index:-1!important;right:-36px!important;top:-70px!important;width:185px!important;height:185px!important;border:25px solid rgba(255,255,255,.12)!important;border-radius:50%!important}
.store-page .profile-main>.profile-head img{width:68px!important;height:68px!important;flex:0 0 auto!important;border:3px solid rgba(255,255,255,.92)!important;border-radius:16px!important;box-shadow:0 6px 17px rgba(38,38,38,.28)!important}
.store-page .profile-main>.profile-head h1{margin:0 0 7px!important;color:#fff!important;font-size:19px!important;letter-spacing:0!important}.store-page .profile-main>.profile-head .uid-row{margin:0!important;gap:6px!important}.store-page .profile-main>.profile-head .uid-row code{padding:5px 7px!important;border-radius:6px!important;background:rgba(180,0,19,.3)!important;color:#f7f7f7!important;font-size:10px!important}.store-page .profile-main>.profile-head .vip-badge{padding:5px 8px!important;border-color:rgba(255,255,255,.5)!important;background:rgba(255,255,255,.17)!important;color:#fff!important;font-size:10px!important}
@media(max-width:420px){.store-page .profile-main>.profile-head{min-height:94px!important;padding:15px!important;gap:11px!important}.store-page .profile-main>.profile-head img{width:58px!important;height:58px!important}.store-page .profile-main>.profile-head h1{font-size:17px!important}}

/* Profile and wallet-card refresh. */
.store-page .profile-main>.profile-head{min-height:108px!important;border-color:#eb0a1e!important;border-radius:16px!important;background:linear-gradient(112deg,#880010 0%,#b40013 56%,#f33a4b 100%)!important;box-shadow:0 12px 26px rgba(180,0,19,.24)!important}
.store-page .profile-main>.profile-head:after{display:none!important}
.store-page .profile-main>.profile-head img{border-radius:14px!important;border-color:#f2f2f2!important;box-shadow:0 8px 18px rgba(24,24,24,.32)!important}
.store-page .profile-main>.profile-wallets{gap:10px!important;margin-top:12px!important}
.store-page .profile-main>.profile-wallets article{min-height:82px!important;padding:14px 13px 13px 16px!important;border:1px solid #f4cbd0!important;border-radius:13px!important;background:linear-gradient(145deg,#ffffff,#f6f6f6)!important;box-shadow:0 8px 18px rgba(180,0,19,.1)!important;text-align:left!important}
.store-page .profile-main>.profile-wallets article:before{top:12px!important;bottom:12px!important;width:4px!important;border-radius:0 5px 5px 0!important;background:#eb0a1e!important}
.store-page .profile-main>.profile-wallets article:nth-child(2):before{background:#b40013!important}
.store-page .profile-main>.profile-wallets span{font-size:10px!important;font-weight:700!important;color:#b40013!important}
.store-page .profile-main>.profile-wallets strong{margin-top:3px!important;color:#c90016!important;font-size:18px!important;letter-spacing:0!important}
.store-page .profile-main>.profile-wallets article:nth-child(2) strong{color:#b40013!important}

/* Profile summary card, styled as one focused account surface. */
.profile-page .profile-panel{position:relative;overflow:hidden;margin-top:2px;border:1px solid #f3d6d9;border-radius:16px;background:#fdfdfd;box-shadow:0 14px 28px rgba(180,0,19,.16)}
.profile-page .profile-panel::before{content:"";position:absolute;z-index:0;top:-12px;right:-8px;left:-8px;height:108px;background:linear-gradient(90deg,rgba(180,0,19,.38),rgba(180,0,19,.24)),url('../images/toyota-showroom-hero.png') center/cover;filter:blur(2px) saturate(1.12);transform:scale(1.04)}
.profile-page .profile-head{position:relative!important;z-index:1;display:flex!important;align-items:center;gap:12px!important;min-height:0!important;padding:66px 18px 16px!important;overflow:visible!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.profile-page .profile-head::after{display:none!important}
.profile-page .profile-head img{width:68px!important;height:68px!important;flex:0 0 68px;margin-top:-29px;border:4px solid #fff!important;border-radius:50%!important;background:#fff;box-shadow:0 6px 14px rgba(180,0,19,.22)}
.profile-page .profile-head>div{min-width:0;margin-top:-27px}
.profile-page .profile-head h1{margin:0 0 7px!important;color:#303030!important;font-size:17px!important;font-weight:800!important;letter-spacing:0!important}
.profile-page .uid-row{display:flex;align-items:center;gap:6px;min-width:0}
.profile-page .uid-row code{max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:0!important;border-radius:8px!important;background:#f3f3f3!important;color:#b40013!important;font-size:10px!important;font-weight:800}
.profile-page .uid-row button{width:28px!important;height:28px!important;min-width:28px;padding:6px!important;border-radius:8px!important;border-color:#ed9fa7!important;background:#fff!important;color:#eb0a1e!important}
.profile-page .vip-badge{white-space:nowrap;border:0!important;border-radius:8px!important;background:#eb0a1e!important;color:#fff!important;font-size:10px!important;font-weight:800!important}
.profile-page .profile-wallets{position:relative;z-index:1;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));margin:0!important;padding:0 10px 6px!important;border:0!important;border-top:1px solid #ebebeb!important;border-radius:0!important;background:#fdfdfd!important;box-shadow:none!important}
.profile-page .profile-wallets article{min-width:0;padding:14px 6px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;text-align:center}
.profile-page .profile-wallets article::before{display:none!important}
.profile-page .profile-wallets article+article{border-left:1px solid #e6e6e6!important}
.profile-page .profile-wallets strong{display:block;overflow:hidden;color:#303030!important;font-size:15px!important;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}
.profile-page .profile-wallets span{display:block;margin-top:5px;color:#919191!important;font-size:10px!important;font-weight:700;line-height:1.25}
.profile-page .profile-menu{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.profile-page .profile-menu a:last-child{grid-column:1/-1}
@media(max-width:390px){.profile-page .profile-head{padding-right:14px!important;padding-left:14px!important}.profile-page .profile-wallets{padding-right:6px!important;padding-left:6px!important}.profile-page .profile-wallets article{padding-right:3px!important;padding-left:3px!important}.profile-page .profile-wallets strong{font-size:13px!important}}

.history-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}.history-tabs a{padding:9px 12px;border:1px solid #f3d6d9;border-radius:7px;background:#fbfbfb;color:#b40013;font-size:13px;font-weight:800;text-decoration:none}.history-tabs a.active{border-color:#eb0a1e;background:#eb0a1e;color:#fff}.history-kind{display:inline-block;padding:4px 7px;border-radius:6px;background:#f6f6f6;color:#b40013;font-size:10px;font-weight:800}.history-kind.withdrawal{background:#f3f3f3;color:#cc4949}.history-kind.purchase{background:#f6f6f6;color:#b40013}.history-kind.income{background:#f8f8f8;color:#b40013}.history-filter{grid-template-columns:minmax(220px,1fr) auto auto!important;max-width:620px}@media(max-width:600px){.history-filter{grid-template-columns:1fr auto!important}.history-filter a{grid-column:1/-1}.history-tabs{gap:6px}.history-tabs a{padding:8px 10px;font-size:12px}}

/* Keep the profile title and UID readable above the account card. */
.store-page.profile-page .app-page-header{width:min(100%,520px)!important;max-width:none!important;margin:0 auto 10px!important;border:0!important;border-radius:0!important}
.store-page.profile-page .app-page-header strong{color:#212121!important}

/* Toyota red and white visual system */
:root{
    --wine:#eb0a1e;--wine-dark:#b00012;--saffron:#eb0a1e;--cream:#f7f7f7;
    --ink:#212121;--muted:#6b6b6b;--line:#e5e5e5;--white:#fff;
    --green:#eb0a1e;--shadow:0 16px 40px rgba(33,33,33,.12);
    --brand-primary:#eb0a1e;--brand-copper:#c90016;--brand-gold:#eb0a1e;
    --brand-soft:#f3f3f3;--brand-surface:#fff;--brand-olive:#eb0a1e
}
html,body,.store-page,.dashboard-page,.admin-page{background:#f6f6f6;color:#212121}
a{accent-color:#eb0a1e}.eyebrow,.category,code{color:#eb0a1e}
.primary-button,.wallet-submit,.plan-buy,.copy-button,.status-form button,.section-action a{
    background:#eb0a1e!important;color:#fff!important;box-shadow:0 9px 20px rgba(235,10,30,.22)!important
}
.primary-button:hover,.wallet-submit:hover,.plan-buy:hover{background:#c90016!important}
.bottom-nav a.active,.desktop-nav a.active,.cart-link,.profile-menu a>span{color:#eb0a1e!important}
.bottom-nav,.app-page-header,.dash-header,.product-card,.plan-card,.purchase-card,.empty-card,
.profile-menu a,.settings-card,.table-card,.checkout-form,.order-summary,.orders-list article{background:#fff!important}
.app-page-header{border-bottom-color:#ececec!important}.app-page-header>a{color:#eb0a1e!important}
.profile-head,.store-page .profile-main>.profile-head,.referral-hero,.share-shell>header{
    border-color:#ff8994!important;background:linear-gradient(125deg,#a90013,#eb0a1e 62%,#ff4b5b)!important;
    box-shadow:0 14px 30px rgba(190,0,20,.2)!important
}
.profile-wallets article,.wallet-card,.balance-card{border-color:#f2c4c8!important;background:#fff!important}
.profile-wallets strong,.wallet-card strong,.balance-card strong{color:#c90016!important}
.admin-sidebar{background:#202020!important}.admin-sidebar .wordmark strong{color:#fff!important}
.admin-sidebar nav a.active,.admin-sidebar nav a:hover{background:#eb0a1e!important;color:#fff!important}
.admin-main,.admin-form-main{color:#212121}.admin-main h1,.admin-form-main h1{color:#212121}
input:focus,textarea:focus,select:focus{border-color:#eb0a1e!important;box-shadow:0 0 0 3px rgba(235,10,30,.12)!important;outline:0}
.status.active,.state.approved{background:#f4f4f4!important;color:#b40013!important}

.auth-page{min-height:100vh;background:#ededed;color:#212121}
.auth-shell{width:min(100%,1080px);min-height:720px;margin:auto;background:#fff;box-shadow:0 18px 55px rgba(0,0,0,.14)}
.brand-panel{min-height:720px;padding:0;background:#eb0a1e}
.brand-panel:before{display:none}.hero-product{width:100%;height:100%;max-width:none;aspect-ratio:auto;border-radius:0;object-fit:cover;box-shadow:none}
.form-panel{position:relative;padding:46px clamp(32px,5vw,70px);background:#fff}
.form-wrap{width:min(100%,430px)}.auth-floating-logo{display:none!important}
.auth-brand{display:flex;align-items:center;justify-content:center;gap:11px;margin:0 0 36px}
.auth-brand img{width:58px;height:58px;object-fit:contain}.auth-brand div{display:grid}.auth-brand strong{font-size:1.55rem;color:#212121}
.auth-brand small{font-size:.62rem;font-weight:800;letter-spacing:.13em;color:#eb0a1e}
.auth-tabs{border:1px solid #ececec;border-radius:8px;margin-bottom:26px;overflow:hidden;background:#fafafa}
.auth-tabs a{padding:13px;color:#6b6b6b}.auth-tabs a.active{background:#eb0a1e;color:#fff}
.auth-tabs a.active:after{display:none}.auth-form{gap:15px}.auth-form label{color:#333}
.auth-form input{border:0;border-bottom:1px solid #ddd;border-radius:0;background:#fff;padding:14px 8px}
.auth-form input:focus{border-bottom-color:#eb0a1e!important;box-shadow:0 2px 0 #eb0a1e!important}
.phone-field b{left:8px;color:#212121}.phone-field input{padding-left:48px}.toggle-password{color:#777}
.switch-copy{margin:2px 0;color:#555}.switch-copy a{color:#eb0a1e}.alert{border-radius:7px}

@media(max-width:900px){
    .auth-shell{width:min(100%,430px);min-height:100vh;display:flex;flex-direction:column;box-shadow:0 0 35px rgba(0,0,0,.16)}
    .brand-panel{min-height:270px;height:270px;flex:none;background:#eb0a1e}
    .hero-product{position:static;width:100%;height:100%;opacity:1;border-radius:0;object-fit:cover}
    .form-panel{z-index:2;width:calc(100% - 28px);margin:-24px 14px 24px;padding:26px 22px 30px;border:1px solid #f0d5d8;border-radius:10px;align-items:flex-start;box-shadow:0 12px 30px rgba(125,0,14,.16)}
    .form-wrap{width:100%}.auth-brand{margin-bottom:20px}.auth-brand img{width:48px;height:48px}
}
@media(max-width:560px){
    .auth-shell{background:#eb0a1e}.brand-panel{min-height:240px;height:240px;padding:0;background:#eb0a1e}
    .form-panel{padding:22px 17px 26px;border-radius:10px}.auth-brand strong{font-size:1.3rem}
    .field-grid{grid-template-columns:1fr}.primary-button{border-radius:8px;padding:14px}
}
.store-page.profile-page .profile-main .profile-head .uid-row code{display:inline-block!important;max-width:none!important;padding:6px 8px!important;border:1px solid #ed9fa7!important;border-radius:7px!important;background:#f6f6f6!important;color:#c90016!important;font-size:10px!important;font-weight:900!important;line-height:1!important;text-shadow:none!important}
@media(max-width:390px){
    .store-page.profile-page .profile-main>.profile-menu{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
    .store-page.profile-page .profile-main>.profile-menu a{grid-template-columns:34px minmax(0,1fr) 10px!important;gap:5px!important;min-height:56px!important;padding:7px!important}
    .store-page.profile-page .profile-main>.profile-menu a>span{width:34px!important;height:34px!important;border-radius:8px!important}
    .store-page.profile-page .profile-main>.profile-menu a>span svg{width:17px!important;height:17px!important}
    .store-page.profile-page .profile-main>.profile-menu b{font-size:9px!important;line-height:1.15!important}
    .store-page.profile-page .profile-main>.profile-menu i{font-size:15px!important}
    .store-page.profile-page .profile-main>.profile-menu a:last-child{grid-column:1/-1!important}
}

/* Toyota premium final pass */
:root{
    --toyota-red:#eb0a1e;
    --toyota-red-dark:#b40013;
    --toyota-black:#191919;
    --toyota-ink:#212121;
    --toyota-muted:#6f6f6f;
    --toyota-line:#eeeeee;
    --toyota-soft:#f6f6f6;
    --toyota-bg:#f7f7f7;
    --toyota-card:#ffffff;
    --toyota-shadow:0 16px 42px rgba(24,24,24,.11);
    --wine:#eb0a1e;
    --wine-dark:#b40013;
    --saffron:#eb0a1e;
    --cream:#f7f7f7;
    --ink:#212121;
    --muted:#6f6f6f;
    --line:#eeeeee;
    --green:#eb0a1e;
    --shadow:var(--toyota-shadow);
    --brand-primary:#eb0a1e;
    --brand-copper:#b40013;
    --brand-gold:#eb0a1e;
    --brand-soft:#f6f6f6;
    --brand-surface:#fff;
    --brand-olive:#eb0a1e;
}
html,body{background:var(--toyota-bg)!important;color:var(--toyota-ink)!important;letter-spacing:0;accent-color:#eb0a1e}
body{min-width:320px}
a{color:inherit}
.store-page,.dashboard-page,.admin-page,.setup-page,.auth-page,.wallet-page,.share-page{background:
    radial-gradient(circle at top right,rgba(235,10,30,.08),transparent 280px),
    linear-gradient(180deg,#fff 0,#f7f7f7 260px)!important}
.store-main,.page-main,.wallet-main,.profile-main,.referral-shell,.share-shell{width:min(100%,1180px);margin-inline:auto}
.app-page-header,.dash-header{
    position:sticky;top:0;z-index:30;
    background:rgba(255,255,255,.94)!important;
    border-bottom:1px solid var(--toyota-line)!important;
    box-shadow:0 8px 24px rgba(24,24,24,.05)!important;
    backdrop-filter:blur(14px);
}
.app-page-header strong,.dash-header strong{color:var(--toyota-black)!important;font-weight:900}
.app-page-header>a,.outline-button,.text-button{color:var(--toyota-red)!important}
.wordmark img,.auth-brand img{object-fit:contain!important;background:#fff}
.wordmark strong,.auth-brand strong{color:var(--toyota-black)!important}
.wordmark small,.auth-brand small,.eyebrow,.catalog-kicker,.banner-kicker,.category{color:var(--toyota-red)!important;font-weight:900;letter-spacing:.13em}
.primary-button,.wallet-submit,.plan-buy,.hero-button,.copy-button,.bind-button,.popup-join,.section-action a,.status-form button,.admin-actions button,.admin-actions a{
    border:0!important;
    border-radius:9px!important;
    background:linear-gradient(135deg,var(--toyota-red),var(--toyota-red-dark))!important;
    color:#fff!important;
    box-shadow:0 12px 24px rgba(235,10,30,.22)!important;
    font-weight:900!important;
    text-decoration:none!important;
}
.primary-button:hover,.wallet-submit:hover,.plan-buy:hover,.hero-button:hover,.copy-button:hover,.bind-button:hover{
    transform:translateY(-1px);
    box-shadow:0 16px 30px rgba(235,10,30,.28)!important;
}
input,textarea,select{
    border:1px solid var(--toyota-line)!important;
    border-radius:9px!important;
    background:#fff!important;
    color:var(--toyota-ink)!important;
}
input:focus,textarea:focus,select:focus{
    border-color:var(--toyota-red)!important;
    box-shadow:0 0 0 4px rgba(235,10,30,.12)!important;
    outline:0!important;
}
.auth-page{display:grid;place-items:center;min-height:100vh;padding:24px;background:
    linear-gradient(120deg,rgba(235,10,30,.95),rgba(150,0,17,.9)),
    url('../images/toyota-showroom-hero.png') center/cover!important}
.auth-shell{
    width:min(1100px,100%)!important;
    min-height:min(720px,calc(100vh - 48px))!important;
    display:grid!important;
    grid-template-columns:minmax(360px,1fr) minmax(380px,.82fr)!important;
    overflow:hidden!important;
    border:1px solid rgba(255,255,255,.7)!important;
    border-radius:18px!important;
    background:#fff!important;
    box-shadow:0 28px 80px rgba(0,0,0,.28)!important;
}
.brand-panel{
    position:relative!important;
    min-height:0!important;
    padding:0!important;
    background:#9d0011!important;
}
.brand-panel:after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,rgba(0,0,0,.1),rgba(0,0,0,0) 48%,rgba(235,10,30,.22));
    pointer-events:none;
}
.hero-product{width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;border-radius:0!important;box-shadow:none!important}
.form-panel{padding:clamp(28px,5vw,58px)!important;background:#fff!important}
.form-wrap{width:min(100%,430px)!important;margin:auto!important}
.auth-floating-logo{display:none!important}
.auth-brand{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;margin:0 0 26px!important}
.auth-brand img{width:58px!important;height:58px!important;border-radius:14px!important}
.auth-brand strong{font-size:1.55rem!important;font-weight:900!important}
.auth-title{margin:0 0 22px}
.auth-title span{display:block;margin-bottom:7px;color:var(--toyota-red);font-size:.72rem;font-weight:900;letter-spacing:.16em}
.auth-title h1{margin:0;color:var(--toyota-black);font-size:clamp(2rem,4vw,2.8rem);line-height:1.05;font-weight:900}
.auth-title p{margin:9px 0 0;color:var(--toyota-muted);font-size:.94rem;line-height:1.5}
.auth-tabs{display:grid!important;grid-template-columns:1fr 1fr!important;gap:5px!important;margin:0 0 24px!important;padding:5px!important;border:1px solid var(--toyota-line)!important;border-radius:10px!important;background:#f8f8f8!important}
.auth-tabs a{padding:12px!important;border-radius:7px!important;color:#727272!important;font-weight:900!important;text-decoration:none!important}
.auth-tabs a.active{background:var(--toyota-red)!important;color:#fff!important}
.auth-tabs a:after{display:none!important}
.auth-form{gap:14px!important}
.auth-form label{gap:8px!important;color:var(--toyota-black)!important;font-weight:800!important}
.auth-form input{min-height:48px!important;padding:13px 14px!important}
.auth-form .phone-field input{padding-left:54px!important}
.phone-field b{left:15px!important;color:var(--toyota-red)!important}
.toggle-password{right:8px!important;width:38px!important;height:38px!important;display:grid!important;place-items:center!important;color:var(--toyota-red)!important;font-size:0!important}
.toggle-password svg{width:19px;height:19px}
.switch-copy{margin:2px 0 0!important;color:var(--toyota-muted)!important}
.switch-copy a{color:var(--toyota-red)!important;font-weight:900!important}
.app-banner,.premium-banner,.store-hero{
    position:relative!important;
    overflow:hidden!important;
    border:1px solid rgba(235,10,30,.18)!important;
    border-radius:18px!important;
    background:#111!important;
    box-shadow:var(--toyota-shadow)!important;
}
.app-banner img,.premium-banner img,.store-hero img{filter:saturate(1.05) contrast(1.03)}
.banner-content strong,.store-hero h1{color:#fff!important;text-shadow:0 2px 18px rgba(0,0,0,.35)}
.banner-content span:not(.banner-kicker),.banner-content small,.store-hero p{color:rgba(255,255,255,.88)!important}
.quick-actions,.plan-tabs,.history-tabs{gap:10px!important}
.quick-actions a,.plan-tabs a,.history-tabs a,.language-choice,.amount-options button{
    border:1px solid var(--toyota-line)!important;
    border-radius:10px!important;
    background:#fff!important;
    color:var(--toyota-black)!important;
    box-shadow:0 8px 20px rgba(24,24,24,.05)!important;
    text-decoration:none!important;
}
.quick-actions a svg,.bottom-nav svg,.profile-menu svg{width:22px;height:22px}
.plan-tabs a.active,.history-tabs a.active,.amount-options button.selected{
    border-color:var(--toyota-red)!important;
    background:var(--toyota-red)!important;
    color:#fff!important;
}
.plan-card,.product-card,.purchase-card,.finance-card,.wallet-form,.wallet-history,.wallet-box,.bank-summary,.settings-card,.checkout-form,.order-summary,.cart-list,.empty-card,.about-card,.install-card,.qr-card,.share-card,.table-card,.orders-list article,.referral-cards article,.team-level,.team-account,.profile-menu a,.profile-panel{
    border:1px solid var(--toyota-line)!important;
    border-radius:14px!important;
    background:#fff!important;
    box-shadow:0 12px 28px rgba(24,24,24,.07)!important;
}
.plan-card{overflow:hidden!important}
.plan-image{background:#111!important}
.plan-image img,.product-card img,.admin-product-grid img{transition:transform .24s ease}
.plan-card:hover .plan-image img,.product-card:hover img,.admin-product-grid article:hover img{transform:scale(1.025)}
.stock-tag,.coming-soon,.plan-type-badge,.vip-badge,.status,.state,.history-kind{
    border-radius:999px!important;
    font-weight:900!important;
}
.stock-tag,.status.active,.state.approved{background:#f4f4f4!important;color:#b40013!important}
.coming-soon,.status.blocked,.state.rejected{background:#f3f3f3!important;color:var(--toyota-red-dark)!important}
.plan-stats div,.purchase-summary,.profile-wallets article,.finance-grid article,.summary-stats,.withdraw-rule-grid span{
    border-color:#f1d4d8!important;
    background:linear-gradient(180deg,#fff,#f9f9f9)!important;
}
.plan-stats strong,.finance-card strong,.wallet-history b,.profile-wallets strong,.team-summary b,.team-rate-grid strong{color:var(--toyota-red-dark)!important}
.bottom-nav{
    border-top:1px solid var(--toyota-line)!important;
    background:rgba(255,255,255,.96)!important;
    box-shadow:0 -10px 30px rgba(24,24,24,.08)!important;
    backdrop-filter:blur(14px);
}
.bottom-nav a{color:#8a8a8a!important;font-weight:800!important}
.bottom-nav a.active{color:var(--toyota-red)!important}
.profile-head,.referral-hero,.share-shell>header,.team-hero,.withdraw-rules.is-open{
    border:1px solid rgba(255,255,255,.32)!important;
    background:linear-gradient(135deg,#960010 0%,#eb0a1e 56%,#ff5968 100%)!important;
    color:#fff!important;
    box-shadow:0 16px 36px rgba(235,10,30,.22)!important;
}
.profile-head h1,.referral-hero h1,.share-shell h1,.team-hero h1{color:#fff!important}
.profile-menu a{min-height:66px!important}
.profile-menu a>span{
    display:grid!important;
    place-items:center!important;
    width:42px!important;
    height:42px!important;
    flex:0 0 42px!important;
    border-radius:10px!important;
    background:var(--toyota-soft)!important;
    color:var(--toyota-red)!important;
}
.wallet-alert,.alert{
    border-radius:10px!important;
    font-weight:700!important;
}
.alert.error,.wallet-alert.error{border-color:#ffc8cf!important;background:#f4f4f4!important;color:#9b0011!important}
.alert.success,.wallet-alert.success{border-color:#e6e6e6!important;background:#f7f7f7!important;color:#b40013!important}
.admin-page{background:#f6f6f6!important}
.admin-sidebar{
    background:linear-gradient(180deg,#191919,#2a2a2a)!important;
    box-shadow:8px 0 30px rgba(24,24,24,.12)!important;
}
.admin-sidebar nav a{border-radius:9px!important;color:#d3d3d3!important;font-weight:800!important}
.admin-sidebar nav a.active,.admin-sidebar nav a:hover{background:var(--toyota-red)!important;color:#fff!important}
.admin-main h1,.admin-form-main h1,.section-title h2,.product-heading h2,.wallet-history h2{color:var(--toyota-black)!important;font-weight:900!important}
.stat-grid article,.admin-product-grid article,.admin-form,.admin-edit-grid,.admin-filter{
    border:1px solid var(--toyota-line)!important;
    border-radius:14px!important;
    background:#fff!important;
    box-shadow:0 12px 28px rgba(24,24,24,.07)!important;
}
.stat-grid strong{color:var(--toyota-red-dark)!important}
table{background:#fff!important}
th{color:#818181!important;background:#fbfbfb!important}
td,th{border-color:var(--toyota-line)!important}
.setup-page{display:grid!important;place-items:center!important;min-height:100vh!important;padding:24px!important;background:
    linear-gradient(135deg,rgba(235,10,30,.92),rgba(98,0,11,.9)),
    url('../images/toyota-showroom-hero.png') center/cover!important}
.setup-card{
    width:min(520px,100%)!important;
    border:1px solid rgba(255,255,255,.7)!important;
    border-radius:16px!important;
    background:#fff!important;
    box-shadow:0 28px 70px rgba(0,0,0,.24)!important;
}
.setup-card h1{color:var(--toyota-black)!important;font-weight:900!important}
@media(max-width:900px){
    .auth-page{padding:0!important;place-items:stretch!important}
    .auth-shell{min-height:100vh!important;grid-template-columns:1fr!important;border:0!important;border-radius:0!important}
    .brand-panel{height:245px!important;min-height:245px!important}
    .form-panel{width:calc(100% - 28px)!important;margin:-26px 14px 22px!important;padding:24px 18px 28px!important;border:1px solid #ffd5da!important;border-radius:14px!important;box-shadow:0 18px 38px rgba(78,0,9,.18)!important}
    .auth-brand{margin-bottom:18px!important}
    .auth-title h1{font-size:2rem!important}
    .admin-sidebar{position:static!important;width:auto!important}
    .admin-main{margin-left:0!important}
}
@media(max-width:560px){
    .store-main,.page-main,.wallet-main,.profile-main{padding-inline:14px!important}
    .auth-brand img{width:48px!important;height:48px!important}
    .auth-tabs a{padding:11px 8px!important}
    .primary-button,.wallet-submit,.plan-buy{min-height:46px!important}
    .plan-card,.wallet-form,.wallet-history,.profile-panel{border-radius:12px!important}
}

/* Keep the recovered account screens independent of legacy blue overrides. */
html:has(body.auth-page),body.auth-page{background:#f5f5f5!important}
body.auth-page{padding:24px 0!important;min-width:0!important}
body.auth-page *,body.auth-page *:before,body.auth-page *:after{box-sizing:border-box;letter-spacing:0!important}
body.auth-page .auth-shell{width:100%!important;max-width:500px!important;min-width:0!important;min-height:0!important;background:#fff!important;border:1px solid #e5e5e5!important;border-radius:8px!important;grid-template-columns:minmax(0,1fr)!important}
body.auth-page .auth-shell:before{display:none!important}
body.auth-page .brand-panel{height:220px!important;min-height:220px!important;background:#fff!important}
body.auth-page .form-panel{width:100%!important;min-width:0!important;margin:0!important;padding:0!important;background:#fff!important;border:0!important;border-radius:0!important;box-shadow:none!important}
body.auth-page .form-wrap{width:100%!important;min-width:0!important;max-width:100%!important;padding:26px!important;background:#fff!important;border-radius:0!important;box-shadow:none!important}
body.auth-page .auth-title h1{font-size:30px!important;line-height:1.15!important}
body.auth-page .auth-title p{white-space:normal!important;overflow-wrap:anywhere;line-height:1.5!important}
body.auth-page .auth-brand{margin-bottom:20px!important}
body.auth-page .auth-tabs{background:#f4f4f4!important;border-radius:8px!important;gap:6px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.auth-page .auth-tabs a{min-width:0!important;background:transparent!important;border:0!important;border-radius:6px!important;color:#555!important;font-size:16px!important;box-shadow:none!important}
body.auth-page .auth-tabs a.active{background:#eb0a1e!important;color:#fff!important}
body.auth-page .auth-tabs a:before{display:none!important}
body.auth-page .auth-tabs a:focus-visible{outline-color:#eb0a1e!important}
body.auth-page .auth-form label{font-size:13px!important;color:#333!important}
body.auth-page .auth-form input{border-color:#ddd!important;color:#222!important}
body.auth-page .auth-form input:focus{box-shadow:0 0 0 3px #ffe2e5!important}
body.auth-page .toggle-password{background:#f4f4f4!important}
body.auth-page .field-grid{min-width:0!important;grid-template-columns:minmax(0,1fr)!important}
@media(max-width:560px){
    body.auth-page{padding:0!important}
    body.auth-page .auth-shell{border:0!important;border-radius:0!important}
    body.auth-page .brand-panel{height:180px!important;min-height:180px!important}
    body.auth-page .form-wrap{padding:22px 20px!important}
    body.auth-page .auth-title h1{font-size:28px!important}
}

/* Simple login/register screen. */
body.auth-page{
    display:grid!important;
    place-items:start center!important;
    min-height:100vh!important;
    padding:20px 12px!important;
    background:#f5f5f5!important;
}

body.auth-page .auth-shell{
    width:min(100%,430px)!important;
    max-width:430px!important;
    min-height:0!important;
    display:block!important;
    overflow:visible!important;
    border:1px solid #e5e5e5!important;
    border-radius:10px!important;
    background:#fff!important;
    box-shadow:0 10px 28px rgba(24,24,24,.08)!important;
}

body.auth-page .brand-panel,
body.auth-page .auth-floating-logo,
body.auth-page .auth-title,
body.auth-page .auth-brand small,
body.auth-page .auth-form label small{
    display:none!important;
}

body.auth-page .form-panel{
    width:100%!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:#fff!important;
    box-shadow:none!important;
}

body.auth-page .form-wrap{
    width:100%!important;
    padding:24px!important;
    border:0!important;
    border-radius:10px!important;
    background:#fff!important;
    box-shadow:none!important;
}

body.auth-page .auth-brand{
    display:flex!important;
    justify-content:center!important;
    margin:0 0 18px!important;
}

body.auth-page .auth-brand img{
    width:58px!important;
    height:58px!important;
}

body.auth-page .auth-brand strong{
    display:none!important;
}

body.auth-page .auth-tabs{
    margin:0 0 18px!important;
}

body.auth-page .auth-form{
    gap:12px!important;
}

body.auth-page .auth-form input{
    min-height:48px!important;
}

@media(max-width:560px){
    body.auth-page{
        padding:0!important;
        background:#fff!important;
    }

    body.auth-page .auth-shell{
        max-width:none!important;
        min-height:100vh!important;
        border:0!important;
        border-radius:0!important;
        box-shadow:none!important;
    }

    body.auth-page .form-wrap{
        padding:22px 18px!important;
    }
}

/* Simple auth with image header. */
body.auth-page .brand-panel{
    display:block!important;
    position:relative!important;
    height:210px!important;
    min-height:210px!important;
    padding:0!important;
    overflow:hidden!important;
    border-radius:10px 10px 0 0!important;
    background:#f2f2f2!important;
}

body.auth-page .brand-panel:before,
body.auth-page .brand-panel:after{
    display:none!important;
}

body.auth-page .hero-product{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    object-fit:cover!important;
    object-position:center!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    filter:none!important;
    opacity:1!important;
}

body.auth-page .form-wrap{
    padding:20px 24px 24px!important;
}

body.auth-page .auth-brand{
    justify-content:flex-start!important;
    gap:10px!important;
    margin:0 0 18px!important;
}

body.auth-page .auth-brand strong{
    display:block!important;
    font-size:22px!important;
    line-height:1!important;
}

body.auth-page .auth-tabs{
    padding:4px!important;
    border:0!important;
    border-radius:8px!important;
    background:#f3f3f3!important;
}

body.auth-page .auth-tabs a{
    padding:11px 8px!important;
    border-radius:7px!important;
    font-size:14px!important;
}

body.auth-page .auth-form label{
    font-size:12px!important;
    color:#222!important;
}

body.auth-page .primary-button{
    margin-top:2px!important;
}

body.auth-page .switch-copy{
    display:block!important;
    margin:4px 0 0!important;
    color:#666!important;
    font:500 13px/1.45 "DM Sans",system-ui,sans-serif!important;
    text-align:center!important;
}

body.auth-page .switch-copy a{
    color:#eb0a1e!important;
    font-weight:800!important;
    text-decoration:none!important;
}

@media(max-width:560px){
    body.auth-page .brand-panel{
        height:190px!important;
        min-height:190px!important;
        border-radius:0!important;
    }

    body.auth-page .form-panel{
        width:calc(100% - 24px)!important;
        margin:-18px 12px 0!important;
        position:relative!important;
        z-index:2!important;
    }

    body.auth-page .form-wrap{
        padding:20px 18px 22px!important;
        border-radius:14px!important;
        box-shadow:0 10px 26px rgba(24,24,24,.12)!important;
    }

    body.auth-page .auth-brand img{
        width:46px!important;
        height:46px!important;
    }

    body.auth-page .auth-brand strong{
        font-size:20px!important;
    }
}

/* Let auth card breathe with the available screen width. */
body.auth-page .auth-shell{
    width:min(calc(100vw - 28px),560px)!important;
    max-width:560px!important;
}

body.auth-page .brand-panel{
    height:clamp(210px,32vw,285px)!important;
    min-height:clamp(210px,32vw,285px)!important;
}

body.auth-page .form-wrap{
    padding:clamp(22px,4vw,34px)!important;
}

body.auth-page .auth-form input{
    min-height:52px!important;
}

body.auth-page .auth-tabs a{
    min-height:44px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
}

@media(min-width:640px){
    body.auth-page .field-grid{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }
}

@media(max-width:560px){
    body.auth-page .auth-shell{
        width:100%!important;
        max-width:none!important;
    }

    body.auth-page .brand-panel{
        height:34vh!important;
        min-height:180px!important;
        max-height:240px!important;
    }

    body.auth-page .form-panel{
        width:calc(100% - 18px)!important;
        margin:-16px 9px 0!important;
    }

    body.auth-page .form-wrap{
        padding:20px 16px 22px!important;
    }
}

/* Remove side gutters in responsive auth previews. */
@media(max-width:700px){
    body.auth-page{
        padding:0!important;
        background:#fff!important;
    }

    body.auth-page .auth-shell{
        width:100%!important;
        max-width:none!important;
        min-height:100vh!important;
        border:0!important;
        border-radius:0!important;
        box-shadow:none!important;
        background:#fff!important;
    }

    body.auth-page .brand-panel{
        width:100%!important;
        height:220px!important;
        min-height:220px!important;
        max-height:none!important;
        border-radius:0!important;
    }

    body.auth-page .form-panel{
        width:100%!important;
        margin:0!important;
        padding:0!important;
    }

    body.auth-page .form-wrap{
        width:100%!important;
        max-width:none!important;
        margin:0!important;
        border-radius:0!important;
        box-shadow:none!important;
    }
}

/* Hard reset auth width on mobile/tablet to remove inner white gutters. */
@media(max-width:700px){
    html:has(body.auth-page),
    body.auth-page,
    body.auth-page .auth-shell,
    body.auth-page .brand-panel,
    body.auth-page .form-panel,
    body.auth-page .form-wrap{
        width:100vw!important;
        max-width:100vw!important;
        margin-left:0!important;
        margin-right:0!important;
    }

    body.auth-page .auth-shell{
        display:block!important;
        overflow-x:hidden!important;
    }

    body.auth-page .brand-panel{
        left:50%!important;
        transform:translateX(-50%)!important;
    }

    body.auth-page .hero-product{
        width:100vw!important;
        max-width:100vw!important;
        min-width:100vw!important;
        object-fit:cover!important;
    }

    body.auth-page .form-panel{
        padding:0!important;
    }

    body.auth-page .form-wrap{
        padding:20px 18px 24px!important;
    }
}

/* Cleaner admin navigation and consolidated settings page. */
.admin-page .admin-sidebar{
    background:#fff!important;
    border:1px solid #ececec!important;
    box-shadow:0 18px 50px rgba(24,24,24,.14)!important;
}

.admin-page .admin-sidebar .wordmark{
    border-bottom:1px solid #ececec!important;
    margin-bottom:10px!important;
}

.admin-page .admin-sidebar .wordmark img{
    object-fit:contain!important;
    border:0!important;
    border-radius:0!important;
}

.admin-page .admin-sidebar nav{
    gap:4px!important;
}

.admin-page .admin-sidebar nav a{
    min-height:38px!important;
    border-bottom:0!important;
    border-radius:8px!important;
    color:#242424!important;
    font-weight:800!important;
}

.admin-page .admin-sidebar nav a:before{
    width:7px!important;
    height:7px!important;
    border-color:#eb0a1e!important;
}

.admin-page .admin-sidebar nav a.active,
.admin-page .admin-sidebar nav a:hover{
    background:#f5f5f5!important;
    color:#eb0a1e!important;
}

.admin-page .admin-sidebar nav a.active:after{
    background:#eb0a1e!important;
}

.settings-jump{
    position:sticky;
    top:72px;
    z-index:5;
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin:0 0 18px;
    padding:10px;
    border:1px solid #e6e6e6;
    border-radius:10px;
    background:rgba(255,255,255,.96);
    box-shadow:0 8px 24px rgba(24,24,24,.06);
}

.settings-jump a{
    padding:9px 11px;
    border-radius:7px;
    background:#f6f6f6;
    color:#b40013;
    font-size:12px;
    font-weight:900;
    text-decoration:none;
}

.admin-settings-page .settings-card{
    scroll-margin-top:150px;
}

/* Admin performance mode: system font, flat surfaces, no expensive effects. */
body.admin-page,
body.admin-page *{
    font-family:Arial,Helvetica,sans-serif!important;
    text-shadow:none!important;
    letter-spacing:0!important;
}

body.admin-page{
    background:#f5f5f5!important;
    color:#222!important;
}

.admin-page :is(.admin-sidebar,.admin-mobile-header,.table-card,.settings-card,.admin-form,.admin-filter,.stat-grid article,.finance-card,.admin-product-grid article,.alert,.admin-badge){
    background:#fff!important;
    background-image:none!important;
    box-shadow:none!important;
    filter:none!important;
    backdrop-filter:none!important;
}

.admin-page *,
.admin-page *:before,
.admin-page *:after{
    transition:none!important;
    animation:none!important;
}

.admin-page .admin-sidebar{
    border:1px solid #e7e7e7!important;
}

.admin-page .admin-sidebar .wordmark strong,
.admin-page h1,
.admin-page h2,
.admin-page h3,
.admin-page .stat-grid strong,
.admin-page .finance-card strong{
    font-family:Arial,Helvetica,sans-serif!important;
    font-weight:800!important;
}

.admin-page .admin-sidebar nav a{
    background:#fff!important;
    color:#222!important;
}

.admin-page .admin-sidebar nav a.active,
.admin-page .admin-sidebar nav a:hover{
    background:#f2f2f2!important;
    color:#eb0a1e!important;
    transform:none!important;
}

.admin-page :is(.primary-button,.admin-filter button,.admin-row-actions a,.admin-row-actions button,.status-form button){
    background:#eb0a1e!important;
    background-image:none!important;
    box-shadow:none!important;
}

.admin-page :is(.table-card,.settings-card,.admin-form,.admin-filter,.stat-grid article,.finance-card){
    border:1px solid #e6e6e6!important;
}

.admin-page .admin-menu-overlay{
    backdrop-filter:none!important;
    background:rgba(0,0,0,.45)!important;
}

/* Admin mobile layout fix. */
@media(max-width:760px){
    body.admin-page{
        width:100%!important;
        min-width:0!important;
        overflow-x:hidden!important;
        padding-top:58px!important;
    }

    .admin-mobile-header{
        display:grid!important;
        grid-template-columns:44px minmax(0,1fr) 44px!important;
        height:58px!important;
        padding:0 10px!important;
        background:#fff!important;
        border-bottom:1px solid #e8e8e8!important;
        box-shadow:none!important;
    }

    .admin-mobile-header>strong{
        min-width:0!important;
        overflow:hidden!important;
        text-overflow:ellipsis!important;
        white-space:nowrap!important;
        color:#222!important;
        font:800 15px Arial,Helvetica,sans-serif!important;
    }

    .admin-menu-toggle{
        width:40px!important;
        height:40px!important;
        border:1px solid #e4e4e4!important;
        border-radius:8px!important;
        background:#fff!important;
        box-shadow:none!important;
    }

    .admin-menu-toggle span{
        background:#eb0a1e!important;
    }

    .admin-page .admin-sidebar{
        position:fixed!important;
        top:8px!important;
        bottom:8px!important;
        left:8px!important;
        width:min(86vw,300px)!important;
        height:auto!important;
        max-height:none!important;
        padding:12px!important;
        overflow-y:auto!important;
        border-radius:12px!important;
        transform:translateX(-110%)!important;
        z-index:1002!important;
    }

    .admin-menu-open .admin-sidebar{
        transform:translateX(0)!important;
    }

    .admin-menu-close{
        top:12px!important;
        right:12px!important;
        width:36px!important;
        height:36px!important;
        border:1px solid #e4e4e4!important;
        border-radius:8px!important;
        background:#fff!important;
        color:#eb0a1e!important;
    }

    .admin-page .admin-sidebar .wordmark{
        min-height:52px!important;
        margin:0 44px 8px 0!important;
        padding:4px 0 10px!important;
    }

    .admin-page .admin-sidebar nav{
        display:grid!important;
        gap:3px!important;
        width:100%!important;
        padding:0!important;
    }

    .admin-page .admin-sidebar nav a{
        min-height:42px!important;
        width:100%!important;
        padding:10px 12px 10px 32px!important;
        font-size:13px!important;
    }

    .admin-page .admin-main,
    .admin-page.admin-shell-ready .admin-form-main{
        width:100%!important;
        max-width:none!important;
        margin:0!important;
        padding:14px 10px 88px!important;
    }

    .admin-main>header,
    .admin-editor-head{
        display:grid!important;
        gap:10px!important;
        margin-bottom:14px!important;
    }

    .admin-main header h1,
    .admin-form-main h1{
        font-size:24px!important;
        line-height:1.15!important;
        margin:2px 0!important;
    }

    .admin-main header p,
    .admin-editor-head p{
        font-size:12px!important;
        line-height:1.45!important;
    }

    .admin-head-actions{
        justify-content:flex-start!important;
        flex-wrap:wrap!important;
    }

    .admin-page .stat-grid,
    .finance-grid,
    .admin-product-grid,
    .admin-edit-grid{
        display:grid!important;
        grid-template-columns:1fr!important;
        gap:10px!important;
    }

    .admin-page .stat-grid article,
    .finance-card,
    .admin-page .settings-card,
    .admin-page .admin-form,
    .admin-page .admin-filter,
    .admin-page .table-card{
        width:100%!important;
        min-width:0!important;
        border-radius:10px!important;
    }

    .admin-page .admin-form{
        display:grid!important;
        grid-template-columns:1fr!important;
        gap:12px!important;
        padding:14px!important;
    }

    .admin-page .admin-form .full{
        grid-column:auto!important;
    }

    .admin-filter{
        display:grid!important;
        grid-template-columns:1fr!important;
        gap:8px!important;
        padding:10px!important;
    }

    .admin-filter input,
    .admin-filter select,
    .admin-filter button,
    .admin-filter a{
        width:100%!important;
        min-width:0!important;
    }

    .settings-jump{
        position:sticky!important;
        top:58px!important;
        overflow-x:auto!important;
        flex-wrap:nowrap!important;
        margin:0 -2px 12px!important;
        padding:8px!important;
        scrollbar-width:none!important;
    }

    .settings-jump::-webkit-scrollbar{
        display:none!important;
    }

    .settings-jump a{
        flex:0 0 auto!important;
        white-space:nowrap!important;
    }

    .admin-page .table-card{
        padding:0!important;
        overflow:hidden!important;
    }

    .admin-page .table-scroll{
        width:100%!important;
        overflow-x:auto!important;
        -webkit-overflow-scrolling:touch!important;
    }

    .admin-page table{
        min-width:620px!important;
        font-size:12px!important;
    }

    .admin-page th,
    .admin-page td{
        padding:10px!important;
        white-space:normal!important;
    }

    .admin-row-actions,
    .status-form{
        display:flex!important;
        flex-wrap:wrap!important;
        gap:6px!important;
        white-space:normal!important;
    }

    .admin-row-actions a,
    .admin-row-actions button,
    .status-form button,
    .status-form select,
    .status-form input{
        min-height:38px!important;
    }

    .admin-product-grid article{
        overflow:hidden!important;
    }

    .admin-product-grid img{
        width:100%!important;
        height:auto!important;
    }
}

@media(max-width:420px){
    .admin-page .admin-main,
    .admin-page.admin-shell-ready .admin-form-main{
        padding-inline:8px!important;
    }

    .admin-page table{
        min-width:560px!important;
    }

    .admin-page .primary-button,
    .admin-filter button,
    .admin-row-actions a,
    .admin-row-actions button{
        padding:10px 12px!important;
        font-size:12px!important;
    }
}
