:root{--wine:#8b4529;--wine-dark:#63301e;--saffron:#d9a363;--cream:#faf2e7;--ink:#30251d;--muted:#746354;--line:#e6d3bc;--white:#fffdf9;--green:#485426;--shadow:0 24px 60px rgba(93,57,29,.12);--brand-primary:#8b4529;--brand-copper:#a55732;--brand-gold:#dfb277;--brand-soft:#f3e4d1;--brand-surface:#fffdf9;--brand-olive:#485426}
*{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%,#ffd85d 0,transparent 35%),linear-gradient(145deg,#f2a719,#ffd65c 60%,#f8bf35)}.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(92,39,11,.28)}.form-panel{display:flex;align-items:center;justify-content:center;padding:48px 7vw;background:linear-gradient(#fff,#fffcf8)}.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:#958881;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:#fffdf9;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(245,166,35,.13)}.auth-form input[readonly]{background:#f5eee7;color:#6d625d}.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:#fff0ee;color:#9b251a;border:1px solid #f1cac5}.alert.success{background:#edf8f1;color:#226b42;border:1px solid #cce8d6}.setup-link{display:block;text-align:center;margin:12px 0;color:var(--wine);font-size:.82rem}.secure-note{text-align:center;color:#8f847e;font-size:.76rem;margin-top:22px}.setup-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(135deg,#fff7e3,#f3b836)}.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:#f8f1e8;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:#f7f4ef;min-height:100vh}.admin-sidebar{position:fixed;inset:0 auto 0 0;width:250px;padding:28px;background:#271b18;color:white}.admin-sidebar .wordmark strong{color:#ffc95a}.admin-sidebar nav{display:grid;gap:8px;margin-top:50px}.admin-sidebar nav a{padding:13px 14px;text-decoration:none;color:#d9cbc5;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:#e6f4eb;color:#247a49;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:#e8f5ec;color:#247a49}.status.blocked{background:#ffebe7;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(#f5ae27 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:#f7f3ed;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,#f8b42f,#ffdc74);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:#9b918c}.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,#246a39,#55a45d);color:#fff;padding:28px;border-radius:22px 22px 0 0;text-align:center}.referral-hero .eyebrow{color:#ffe28e}.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:#e6f2e6;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:#e4f1e5;color:var(--green);font-weight:800}.referral-list article div{display:grid;flex:1}.referral-list small{color:var(--muted)}.share-page{background:#e9f3e8}.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:#f3f5f1;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:#e6f2e6;padding:16px;border-radius:10px;line-height:1.6;font-size:.85rem;color:#46604a}
@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:#8e8884;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:#fff2cf;color:#8a6100}.status.confirmed,.status.shipped{background:#e7f1ff;color:#235b9b}.status.delivered{background:#e8f5ec;color:#247a49}.status.cancelled{background:#ffebe7;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:#ffe29b}.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:#f0e7df;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:#197b08;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}.app-page-header .header-brand{display:flex;align-items:center;gap:8px}.app-page-header .header-brand img{width:28px;height:28px;object-fit:cover;border-radius:7px;background:#fff;border:1px solid rgba(255,255,255,.7)}.app-page-header .header-brand strong{font-size:inherit}.app-page-header .header-spacer{min-width:36px}
.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:#e6b26f}.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:#70aa67}
.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:#e9d5b4;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:#252925}.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 #72ae67;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(22,84,12,.86),rgba(71,120,35,.72)),url('../images/dal-makhani.webp') center/cover}.store-page .profile-menu a{background:#f3f7f1}.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:#f2f6f1;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,#17850d,#65ad60);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:#e5f5e7;color:#176921}.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:#fff1c9;color:#815a00}.state.approved{background:#e2f5e5;color:#146a21}.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%,#f5d7ac 0,transparent 40%),linear-gradient(145deg,var(--brand-gold),#cf9156)}
.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:#fffdf9;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(165,87,50,.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:#30251d}
.admin-sidebar .wordmark strong{color:#efc796}
.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:#fffdf9}
.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:#fffdf9}
.store-page .profile-head{background:linear-gradient(110deg,rgba(74,37,22,.94),rgba(139,69,41,.84)),url('../images/too-yumm-logo.png') center/cover}
.profile-head code,.referral-hero .eyebrow{color:#f5d7ac}
.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(255,253,249,.94);color:var(--wine-dark)}
.plan-image{background:var(--brand-soft)}
.plan-stats>div,.money-input,.bind-button,.amount-options button{background:#f7ecdf}
.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:#fffdf9}
.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(93,57,29,.18)}
.alert.success,.wallet-alert.success,.state.approved,.status.active,.status.delivered,.admin-badge{background:#e9eddb;color:#3f4c23;border-color:#ced7b4}
.state.pending,.state.processing,.status.pending{background:#f5e3c6;color:#765025}
.status.confirmed,.status.shipped{background:#ede2d7;color:#67452d}
.alert.error,.wallet-alert.error,.state.rejected,.status.blocked,.status.cancelled{background:#f7e4df;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 #eed6b4;border-radius:999px;background:rgba(48,37,29,.88);color:#fff7ec;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:#e8f5ec;color:#247a49}.status.rejected{background:#ffebe7;color:#a1261c}.status.processing{background:#e7f1ff;color:#235b9b}
.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:#171d16}.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:#172018;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(12,23,15,.12) 0%,rgba(12,23,15,.22) 35%,rgba(12,19,13,.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:#fffaf0;text-shadow:0 2px 18px rgba(0,0,0,.25)}
.auth-page .brand-copy .eyebrow{color:#efc98d}.auth-page .brand-copy h1{color:#fffaf0;font-size:clamp(2.8rem,5vw,5rem);margin:13px 0}.auth-page .brand-copy h1 em{color:#f2b464}.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(24,31,22,.48);backdrop-filter:blur(8px)}
.auth-page .form-panel{background:linear-gradient(145deg,#fffdf8,#f6ecdd);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:#f6ecdd}.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:#eee4e2;box-shadow:0 0 30px rgba(44,37,31,.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%,#eee4e2 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(35,29,23,.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:#1f1a16}.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:#94a0aa;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:#17120f}.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,#faf5eb 0,#dedbd5 48%,#c8c7c3 100%)}
.auth-page .auth-shell{position:relative;background:linear-gradient(180deg,#e7d9d3 0,#f7f0e8 62%);box-shadow:0 24px 70px rgba(67,38,25,.22),0 0 0 1px rgba(113,80,53,.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(247,240,232,.42) 84%,#f7f0e8 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,#ead5b5);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(177,139,91,.28);border-radius:18px;background:linear-gradient(150deg,rgba(255,255,255,.98),rgba(255,252,246,.96));box-shadow:0 18px 38px rgba(99,48,30,.18),0 4px 12px rgba(85,55,30,.08)}
.auth-page .form-wrap:before{content:"";position:absolute;left:20%;right:20%;top:0;height:1px;background:linear-gradient(90deg,transparent,#c99a58,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:#52483f;font-weight:600;letter-spacing:.015em}.auth-page .auth-form input{color:#251f1a;border-bottom-color:#e7ded2;transition:border-color .2s,background .2s}.auth-page .auth-form input::placeholder{color:#a59d94}.auth-page .auth-form input:focus{border-bottom-color:var(--wine);background:#fffefb}.auth-page .phone-field b{color:#67492d;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:#f1eadf;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,#f4eee5 0,#fbf7f0 45%,#f6efe6 100%)}
.reference-home .store-main{padding-top:14px}
.premium-banner{aspect-ratio:16/7;height:auto;border-radius:16px;background:#14271d;box-shadow:0 14px 30px rgba(29,45,31,.2);border:1px solid rgba(203,163,105,.25)}
.premium-banner:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(9,25,16,.9) 0,rgba(9,25,16,.65) 38%,rgba(9,25,16,.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:#fff8e9;border-radius:0}
.premium-banner .banner-kicker{font-size:8px;letter-spacing:.18em;color:#d9b572;font-weight:800}.premium-banner strong{font:700 21px/1.1 Georgia,serif;color:#fffaf0}.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(226,191,137,.4);border-radius:99px;color:#e9c991;font-size:8px;letter-spacing:.08em}
.reference-home .quick-actions{gap:7px;margin:11px 0 15px;padding:10px 7px;border:1px solid rgba(179,139,89,.18);border-radius:15px;box-shadow:0 8px 20px rgba(76,54,34,.07)}
.reference-home .quick-actions>a{gap:6px;color:#453c32;font-weight:600;font-size:10px}.reference-home .quick-actions>a svg{width:21px;height:21px;color:#8c4c2e}.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,#fff8ee,#eadbc9);border:1px solid rgba(184,135,77,.2)}
.reference-home .catalog-heading{margin:16px 1px 11px}.reference-home .catalog-heading .eyebrow{color:#8a5834}.reference-home .catalog-heading h1{font:700 19px Georgia,serif}.reference-home .wallet-chip{border-color:rgba(164,119,70,.25);background:linear-gradient(145deg,#fffdf9,#f2e5d6);box-shadow:0 5px 13px rgba(78,55,33,.06)}
.reference-home .plan-card{border:1px solid rgba(168,123,75,.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,#c18a4a 0,#9a5b2f 52%,#6d351f 100%);border:1px solid rgba(105,51,29,.28);box-shadow:0 8px 18px rgba(116,66,35,.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(255,245,216,.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(116,66,35,.24),inset 0 1px rgba(255,255,255,.3)}50%{box-shadow:0 10px 24px rgba(143,82,38,.38),0 0 0 3px rgba(193,138,74,.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(15,22,17,.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,#fffdf8,#f7ecdd);border:1px solid rgba(204,159,96,.45);border-radius:20px;box-shadow:0 28px 70px rgba(0,0,0,.34);font-family:"Segoe UI",Arial,sans-serif}
.login-popup-card:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,#225f31,#c59453,#225f31)}
.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:#a06936;letter-spacing:.16em}.login-popup-card h2{margin:7px 0 12px;font:700 24px/1.2 "Trebuchet MS","Segoe UI",Arial,sans-serif;letter-spacing:-.02em;color:#43271b}.login-popup-card p{white-space:normal;margin:0 0 23px;color:#594d43;font-size:13px;line-height:1.75}.login-popup-card>a{display:block;margin:0 -25px;padding:14px;background:linear-gradient(135deg,#2f843a,#176225);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:#3e693d;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,#fffaf1,#eee0ca);border:1px solid rgba(188,143,84,.25);border-radius:11px}.popup-levels article:before{content:"";position:absolute;left:25%;right:25%;top:0;height:2px;background:#b78345;border-radius:5px}.popup-levels small,.popup-limits small{color:#857466;font-size:9px}.popup-levels strong{color:#764322;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:#f5f0e7;border:1px solid rgba(48,101,53,.16);border-radius:11px}.popup-limits article>span{width:28px;height:28px;padding:6px;border-radius:50%;background:#e4eddf;color:#397041;flex:0 0 auto}.popup-limits svg{width:100%;height:100%}.popup-limits article>div{display:grid;gap:2px}.popup-limits strong{color:#345d37;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 popup theme matching the Too Yumm palette. */
.login-popup-card:before{background:linear-gradient(90deg,#6f3824,#d0a15f,#6f3824)}
.popup-section-title{color:#75472f}
.popup-levels strong{color:#7b4228}
.popup-first-bonus{display:grid;grid-template-columns:1fr auto;align-items:center;gap:2px 10px;padding:10px 12px;border:1px solid rgba(156,101,55,.24);border-radius:10px;background:linear-gradient(135deg,#fff4d7,#f0d2aa);text-align:left}
.popup-first-bonus b{color:#714129;font-size:11px}
.popup-first-bonus strong{grid-row:span 2;color:#8b3f24;font-size:18px}
.popup-first-bonus small{color:#8d7867;font-size:8px}
.popup-limits article{border-color:rgba(145,91,51,.18);background:#f6ede2}
.popup-limits article>span{background:#ead9c7;color:#8a4c2d}
.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(156,101,55,.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,#a6613d,#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:#c79552;--admin-cream:#f8f2e9;--admin-line:#e5d6c4;min-height:100vh;background:linear-gradient(145deg,#f5efe7,#fbf8f3);color:#332820;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:#e7c79d}
.admin-sidebar nav{display:grid;gap:4px}.admin-sidebar nav a{padding:10px 12px;border-radius:9px;color:#eaded5;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,#fff8ee,#e9cfad);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 #dcc7ac;border-radius:99px;background:#fff9f0;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,#9b5b39,#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 #eee3d5}.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:#f5eadc;color:#775844;font-size:10px;letter-spacing:.04em;text-transform:uppercase}.admin-page th,.admin-page td{padding:12px 14px;border-bottom:1px solid #eee5da;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:#754229}.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:#e5f3e7;color:#287139}.admin-page .status.blocked,.admin-page .status.rejected{background:#fae6e3;color:#a13a2e}.admin-page .status.pending,.admin-page .status.processing{background:#fff1d7;color:#936018}
.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:#fffdf9;color:#30271f;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(166,101,59,.18);border-color:#a6653f}.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}
.history-quick-filters{display:flex;gap:8px;margin:0 0 15px;overflow-x:auto;padding:2px;scrollbar-width:none}.history-quick-filters::-webkit-scrollbar{display:none}.history-quick-filters a{flex:0 0 auto;padding:9px 15px;border:1px solid #dfcfbd;border-radius:99px;background:#fffaf4;color:#775844;font-size:11px;font-weight:700;text-decoration:none}.history-quick-filters a:hover,.history-quick-filters a.active{border-color:#9b5b39;background:#9b5b39;color:#fff}.history-filter{grid-template-columns:minmax(220px,1fr) auto auto}.history-amount{font-weight:800;white-space:nowrap}.history-amount.credit{color:#287139}.history-amount.debit{color:#a13a2e}
@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,#f8f0e6);color:#34281f;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:#98603e}.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:#408453}.finance-card.incoming>strong{color:#28683a}.finance-card.outgoing:before{background:#aa5542}.finance-card.outgoing>strong{color:#8f3f31}.finance-card.wallet:before{background:#b88946}.finance-card.sales:before{background:#795039}.finance-card.income:before{background:#8a7042}
@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(154,94,54,.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,#fffdf9,#f5eadc);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:#955333;background:linear-gradient(145deg,#f9ead8,#edcfad);box-shadow:0 6px 15px rgba(116,61,36,.13);transform:translateY(-1px)}.payment-channels label:has(input:checked) em{display:block}.payment-channels label:focus-within{outline:3px solid rgba(149,83,51,.2);outline-offset:2px}.payment-proceed{position:relative;overflow:hidden;background:linear-gradient(135deg,#9a5634,#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}
.payment-channels.single-channel{grid-template-columns:minmax(0,1fr)}.payment-channels.single-channel label{width:100%;min-height:58px}
@keyframes paymentButtonShine{0%,45%{transform:translateX(-120%)}72%,100%{transform:translateX(120%)}}
@media(max-width:370px){.payment-channels{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.payment-channels label{min-width:0;min-height:56px;padding:8px 2px}.payment-channels label>span{display:block}.payment-channels b{font-size:10px;white-space:nowrap}.payment-channels em{top:4px;right:4px;width:14px;height:14px;font-size:9px;line-height:14px}}
@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(28,17,12,.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,#fff8ee,#e9cfad)}.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(128,76,45,.2);border-radius:10px;background:linear-gradient(145deg,#fffaf2,#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(31,21,16,.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}}

/* Yellow and red site theme with black text. */
:root{
  --wine:#d62828;
  --wine-dark:#a61e1e;
  --saffron:#f4c400;
  --cream:#fff8d6;
  --ink:#111111;
  --muted:#333333;
  --line:#e3c84a;
  --white:#ffffff;
  --brand-primary:#d62828;
  --brand-copper:#b51f1f;
  --brand-gold:#f4c400;
  --brand-soft:#fff1a8;
  --brand-surface:#fffdf0;
}

html,
body{color:var(--ink)}
body,
.store-page,
.dashboard-page,
.admin-page,
.share-page{background:#fff8d6}
p,
small,
label,
span,
li,
td,
th,
.welcome p,
.account-card p,
.product-detail p,
.section-title p,
.weight,
.invite-url,
.switch-copy,
.setup-card>p,
.stat-grid span,
.section-title p{color:#111111}

a,
code,
.category,
.wordmark strong,
.desktop-nav a.active,
.cart-link,
.outline-button,
.switch-copy a,
.setup-link,
.product-info .price-row strong,
.detail-price,
.profile-menu a>span{color:var(--wine)}

.brand-panel,
.store-hero,
.setup-page{background:linear-gradient(135deg,#f4c400 0%,#ffe86b 58%,#fff8d6 100%)}
.brand-copy h1,
.store-hero h1{color:#111111}
.brand-copy h1 em{color:var(--wine)}
.form-panel{background:#fffdf0}
.primary-button,
.copy-button,
.add-button,
.status-form button,
.payment-proceed,
.section-action a{background:var(--wine)!important;color:#ffffff}
.primary-button:hover,
.copy-button:hover,
.add-button:hover{background:var(--wine-dark)!important}
.auth-form input,
.auth-form textarea,
.admin-form input,
.admin-form textarea,
.admin-form select,
.status-form select{border-color:#e3c84a;background:#fffdf0;color:#111111}
.auth-form input:focus,
.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus{border-color:var(--wine);box-shadow:0 0 0 4px rgba(214,40,40,.14)}
.dash-header,
.account-card,
.invite-card,
.table-card,
.stat-grid article,
.checkout-form,
.settings-card,
.cart-list,
.order-summary,
.empty-card,
.product-card,
.profile-menu a{background:#ffffff}
.code-row,
.product-facts span{background:#fff1a8}
.admin-sidebar{background:var(--wine)}
.admin-sidebar nav a.active,
.admin-sidebar nav a:hover{background:var(--saffron);color:#111111}
.admin-main h1,
.admin-main header h1,
.admin-form-main h1,
.admin-page .section-title h2,
.admin-form h2{color:#111111}
.admin-badge{background:#fff1a8;color:#111111}
.status.pending{background:#fff1a8;color:#111111}
.status.confirmed,
.status.shipped{background:#ffe1e1;color:#111111}
.status.active,
.status.delivered{background:#fff1a8;color:#111111}
.status.blocked,
.status.cancelled{background:#ffd6d6;color:#111111}
.store-title h1,
.store-title h2,
.product-detail h1,
.referral-hero h1,
.share-shell h1{color:#111111}
.benefits{color:#111111}
.referral-hero,
.share-shell>header,
.profile-head{background:linear-gradient(135deg,var(--wine),#ef5350);color:#ffffff}
.referral-hero .eyebrow{color:#fff1a8}
.summary-stats{background:#fff1a8}
.summary-stats strong,
.referral-cards strong{color:var(--wine)}
.payment-channels label:has(input:checked){border-color:var(--wine);background:#fff1a8}

@media(max-width:850px){
  .admin-mobile-header{background:#fffdf0;border-color:#e3c84a}
  .admin-page .admin-sidebar{background:#fffdf0;border-color:#e3c84a}
  .admin-page .admin-sidebar nav a{color:#111111;border-color:#eadbca}
  .admin-page .admin-sidebar nav a:hover,
  .admin-page .admin-sidebar nav a.active{background:#fff1a8;color:#111111}
  .admin-menu-toggle{background:#fff1a8;border-color:#e3c84a}
  .admin-menu-toggle span{background:var(--wine)}
}

/* 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:#f6f1e9}.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(255,253,248,.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:#fffaf1;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,#fffefb,#f8efe3);box-shadow:18px 0 50px rgba(36,24,17,.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:#d6b68e}.admin-sidebar .wordmark strong{font-size:17px}.admin-sidebar .wordmark small{color:#9b704b}.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:#51433a;font-size:12px}.admin-page .admin-sidebar nav a:before{content:"";position:absolute;left:13px;width:8px;height:8px;border:2px solid #9a5b38;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,#f1dbc1);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:#9b5432}.admin-menu-close{top:15px;right:14px;border:1px solid #c8874f;background:#fff9ef;color:#854525;box-shadow:none}.admin-menu-overlay{background:rgba(37,28,22,.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(255,253,248,.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(128,76,45,.2);border-radius:10px;background:#fffaf1;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,#fffefb,#f8efe3);transform:translateX(-106%);transition:transform .25s ease;box-shadow:18px 0 50px rgba(36,24,17,.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:#9b704b}.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:#51433a}.admin-page .admin-sidebar nav a:before{content:"";position:absolute;left:12px;top:50%;width:7px;height:7px;border:2px solid #9a5b38;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 #c8874f;background:#fff9ef;color:#854525}.admin-menu-overlay{position:fixed;z-index:1001;display:block;inset:0;border:0;background:rgba(37,28,22,.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,#f5eee5,#fbf8f2)}.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,#9a5533);color:#fff7ec;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(255,220,173,.25);border-radius:50%}.team-hero .eyebrow{color:#e8bc7d;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:#fff8ec;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:#fffdf9;text-align:center;box-shadow:0 6px 15px rgba(75,48,29,.05)}.team-rate-grid small{font-size:8px;color:#9a7458;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 #e5c79f;border-radius:13px}.team-account-person small{font-size:8px;color:#9a704f;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,#fffaf4)}.team-level>header span,.team-level>header small{font-size:8px;color:#9b704e}.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 #eee4d8}.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,#eacdad,#f9eee0);color:#7c432a;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:#8b4c2f;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}}
.team-rate-grid article small:nth-last-child(-n+2){font-size:7px;color:#8b6c59;line-height:1.25}.team-level header>div:last-child{display:grid;gap:2px;text-align:right}.team-level header>div:last-child small:last-child{font-size:8px;color:#8b6c59}.team-member-list article>div{min-width:0}.team-member-list article>div small:last-child{color:#8b6c59}
.withdraw-rules{display:grid;gap:10px;padding:14px;border:1px solid #e4d2bd;border-radius:13px;background:linear-gradient(145deg,#fffdf8,#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:#e6f3e7;color:#2f7440;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:#dfc3a5;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)}
.bank-summary .bank-support{display:block;justify-content:flex-start;color:#69727c;font-weight:400}
.income-history-page{display:grid}.income-summary{display:grid;gap:8px}.income-summary span{color:#8b7564;font-size:12px;font-weight:700}.income-summary h2{margin:0;font-size:22px}.income-summary h1{margin:10px 0 0;color:#2b211a;font-size:30px}.income-list .income-item{position:relative;align-items:flex-start;border:1px solid #eadbca;box-shadow:0 8px 18px rgba(83,48,30,.05)}.income-list .income-item:before{content:"";position:absolute;left:0;top:13px;bottom:13px;width:4px;border-radius:0 4px 4px 0;background:#91492d}.income-list .income-item>div{display:grid;gap:4px;min-width:0;padding-left:8px}.income-list .income-item b{font-size:14px;color:#251a14;overflow-wrap:anywhere}.income-list .income-item small{width:max-content;max-width:100%;padding:4px 8px;border-radius:99px;background:#f7ecdf;color:#7b543c;font-size:10px;font-weight:700}.income-list .income-item p{margin:2px 0 0;color:#76685f;font-size:12px}.income-list .income-item strong{white-space:nowrap;color:#111;font-size:14px}
.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:#fff6e8;font-size:10px;letter-spacing:.04em}
.store-page .wallet-history .state.success,.store-page .wallet-history .state.approved{background:#e4f3e6;color:#24723a}
.store-page .wallet-history .state.rejected{background:#fbe7e4;color:#a1261c}
.store-page .wallet-history .state.processing{background:#f1eee9;color:#756b62;font-size:10px}
.withdrawal-status-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 12px}.withdrawal-status-tabs a{padding:9px 14px;border:1px solid var(--admin-line);border-radius:999px;background:#fff;color:var(--admin-brown);font-size:12px;font-weight:700;text-decoration:none}.withdrawal-status-tabs a.active{border-color:var(--admin-brown);background:var(--admin-brown);color:#fff}.withdrawal-search{display:flex;gap:8px;margin:0 0 8px}.withdrawal-search input{flex:1;min-width:0;border:1px solid var(--admin-line);border-radius:9px;padding:11px 12px;font:inherit}.withdrawal-search button,.withdrawal-search>a{display:grid;place-items:center;padding:0 15px;border:0;border-radius:9px;background:var(--admin-brown);color:#fff;font:700 12px Arial,sans-serif;text-decoration:none}.withdrawal-search>a{background:#f1e7db;color:var(--admin-brown)}.withdrawal-results{margin:6px 0 12px;color:var(--muted);font-size:12px}@media(max-width:480px){.withdrawal-status-tabs{gap:6px}.withdrawal-status-tabs a{padding:8px 10px;font-size:11px}.withdrawal-search{flex-wrap:wrap}.withdrawal-search input{flex-basis:100%}.withdrawal-search button,.withdrawal-search>a{min-height:38px;flex:1}}
@media(min-width:851px){.admin-page .table-card{contain:layout paint}.admin-page .table-scroll{content-visibility:auto;contain-intrinsic-size:auto 520px}}

/* Final color pass: keep the requested palette active after all component rules. */
html,
body{background:#fff8d6!important;color:#111111!important}
body *{color:#111111}
body a,
body a *{color:#111111}
body button,
body input,
body textarea,
body select{color:#111111}
body input,
body textarea,
body select{background:#fffdf0;border-color:#e3c84a}
.brand-panel,
.store-hero,
.setup-page{background:linear-gradient(135deg,#f4c400 0%,#ffe86b 58%,#fff8d6 100%)!important}
.form-panel{background:#fffdf0!important}
.primary-button,
.copy-button,
.add-button,
.status-form button,
.payment-proceed,
.section-action a{background:#d62828!important;color:#111111!important}
.admin-sidebar{background:#d62828!important}
.admin-sidebar nav a.active,
.admin-sidebar nav a:hover{background:#f4c400!important;color:#111111!important}
.referral-hero,
.share-shell>header,
.profile-head{background:linear-gradient(135deg,#d62828,#ef5350)!important}
.dash-header,
.account-card,
.invite-card,
.table-card,
.stat-grid article,
.checkout-form,
.settings-card,
.cart-list,
.order-summary,
.empty-card,
.product-card,
.profile-menu a{background:#ffffff!important}
.code-row,
.product-facts span,
.summary-stats,
.admin-badge{background:#fff1a8!important}
@media(max-width:850px){
  .admin-mobile-header{background:#fffdf0!important;border-color:#e3c84a!important}
  .admin-page .admin-sidebar{background:#fffdf0!important;border-color:#e3c84a!important}
  .admin-menu-toggle{background:#fff1a8!important;border-color:#e3c84a!important}
}

/* Dashboard refresh: a focused wallet-first home experience. */
.reference-home{background:linear-gradient(180deg,#f8f1e8 0,#f4eee6 58%,#efe8de 100%)!important}
.reference-home .dashboard-shell{max-width:760px;padding:0 18px 26px!important}
.dashboard-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0 14px}
.dashboard-brand{display:flex;align-items:center;gap:10px;text-decoration:none}.dashboard-brand img{width:42px;height:42px;object-fit:cover;border-radius:13px;background:#fff;border:1px solid rgba(126,78,44,.18);box-shadow:0 5px 12px rgba(88,54,32,.12)}.dashboard-brand span{display:grid;gap:1px}.dashboard-brand small{color:#97745d;font-size:8px;font-weight:800;letter-spacing:.14em}.dashboard-brand strong{color:#422a20;font:700 18px Georgia,serif}.dashboard-top-actions{display:flex;align-items:center;gap:9px}.dashboard-icon-link,.dashboard-avatar{display:grid;place-items:center;width:38px;height:38px;border:1px solid rgba(130,83,50,.15);border-radius:12px;background:rgba(255,253,248,.78);color:#7e4a2e;text-decoration:none;box-shadow:0 4px 10px rgba(89,55,31,.06)}.dashboard-icon-link svg{width:18px;height:18px}.dashboard-avatar{border:0;background:linear-gradient(135deg,#713c27,#b06b42);color:#fff;font-size:13px;font-weight:800;box-shadow:0 5px 12px rgba(100,53,31,.22)}
.dashboard-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 180px;min-height:240px;margin:2px 0 14px;padding:29px 24px 20px;overflow:hidden;border-radius:24px;background:radial-gradient(circle at 85% 12%,rgba(230,178,106,.35),transparent 32%),linear-gradient(135deg,#4b291e,#7b3f28 62%,#9b5d38);color:#fff8ef;box-shadow:0 18px 35px rgba(81,45,27,.22)}.dashboard-hero:after{content:"";position:absolute;right:-54px;bottom:-100px;width:260px;height:260px;border:1px solid rgba(255,235,203,.2);border-radius:50%;box-shadow:0 0 0 18px rgba(255,235,203,.04),0 0 0 38px rgba(255,235,203,.035)}.dashboard-hero-copy{position:relative;z-index:2}.dashboard-hero .eyebrow{color:#f3cc9e;font-size:9px}.dashboard-hero h1{margin:8px 0 9px;font:700 clamp(27px,5vw,42px)/1.02 Georgia,serif;letter-spacing:-.03em}.dashboard-hero h1 em{color:#f1bf78;font-style:normal}.dashboard-hero p{max-width:270px;margin:0;color:#f1dfcf;font-size:11px;line-height:1.55}.hero-cta{display:inline-flex;align-items:center;gap:12px;margin-top:17px;padding:10px 13px;border-radius:9px;background:#f9e1b7;color:#5b301f;text-decoration:none;font-size:11px;font-weight:800;box-shadow:0 7px 15px rgba(49,25,15,.16)}.hero-cta span{font-size:16px;line-height:10px}.hero-logo-orb{position:absolute;z-index:1;right:27px;top:42px;display:grid;place-items:center;width:142px;height:142px;border-radius:50%;background:rgba(255,241,214,.12);border:1px solid rgba(255,237,201,.45);box-shadow:0 0 0 14px rgba(255,224,179,.05),0 20px 35px rgba(41,19,11,.18)}.hero-logo-orb:before,.hero-logo-orb:after{content:"";position:absolute;border:1px solid rgba(255,234,196,.2);border-radius:50%}.hero-logo-orb:before{inset:-17px}.hero-logo-orb:after{inset:-31px}.hero-logo-orb img{position:relative;z-index:1;width:102px;height:102px;object-fit:cover;border-radius:30px;background:#fff;box-shadow:0 10px 25px rgba(48,25,15,.2)}.dashboard-hero-meta{position:absolute;z-index:3;right:27px;bottom:17px;display:grid;gap:2px;text-align:right}.dashboard-hero-meta span{font-size:7px;letter-spacing:.15em;color:#e9c7a2}.dashboard-hero-meta strong{font-size:10px;letter-spacing:.08em;color:#fff}
.dashboard-balance-card{position:relative;z-index:4;margin:-1px 10px 15px;padding:16px;border:1px solid rgba(166,119,70,.22);border-radius:18px;background:#fffdf9;box-shadow:0 12px 25px rgba(76,47,27,.12)}.balance-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.balance-card-head>div{display:grid;gap:3px}.balance-card-head span:first-child,.balance-split span{color:#9a8170;font-size:8px;font-weight:800;letter-spacing:.1em}.balance-card-head strong{color:#3d281f;font:700 26px Georgia,serif}.balance-status{display:inline-flex;align-items:center;gap:5px;padding:5px 7px;border-radius:99px;background:#edf3e7;color:#507038;font-size:8px;font-weight:800;text-transform:uppercase}.balance-status i{width:6px;height:6px;border-radius:50%;background:#6b9b4b}.balance-split{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:13px 0}.balance-split>div{display:grid;gap:3px;padding:9px 10px;border-radius:10px;background:#f7eee3}.balance-split span{letter-spacing:0;font-weight:600;text-transform:none}.balance-split b{color:#704027;font-size:14px}.balance-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.balance-actions a{display:flex;align-items:center;justify-content:center;gap:8px;min-height:38px;border-radius:9px;background:#8c4e31;color:#fff;text-decoration:none;font-size:11px;font-weight:800}.balance-actions a+a{border:1px solid #d7b58e;background:#fff8ef;color:#7a482e}.balance-actions span{font-size:17px;line-height:10px}
.reference-home .quick-actions{margin:0 0 19px;padding:9px 6px;border:1px solid rgba(166,119,70,.17);border-radius:16px;background:rgba(255,253,249,.9);box-shadow:0 8px 18px rgba(83,52,30,.07)}.reference-home .quick-actions>a{gap:6px;color:#5a4537;font-size:9px;font-weight:800}.reference-home .quick-actions>a>svg{width:19px;height:19px;padding:7px;box-sizing:content-box;border:1px solid rgba(184,135,77,.18);border-radius:12px;background:#fbf0e2;color:#8e502f}.dashboard-section-heading{align-items:center!important;margin:0 2px 11px!important}.dashboard-section-heading>div{display:grid;gap:1px}.dashboard-section-heading .eyebrow{color:#9a745b;font-size:8px}.dashboard-section-heading h1{margin:0;color:#41291f;font:700 21px Georgia,serif}.dashboard-section-heading>a{display:flex;align-items:center;gap:5px;color:#8a4d30;font-size:10px;font-weight:800;text-decoration:none}.dashboard-section-heading>a span{font-size:16px}
.plan-tabs{display:flex;gap:8px;margin:0 0 13px;padding:4px;border:1px solid rgba(214,40,40,.16);border-radius:13px;background:#fffdf0}.plan-tab{flex:1;display:flex;align-items:center;justify-content:center;border:0;border-radius:9px;padding:10px 12px;background:transparent;color:#8a5834;font:800 11px Arial,sans-serif;text-decoration:none;cursor:pointer;transition:background .2s ease,color .2s ease,box-shadow .2s ease}.plan-tab.is-active{background:linear-gradient(135deg,#d62828,#b51f1f);color:#fff;box-shadow:0 5px 12px rgba(181,31,31,.2)}.plan-tab:focus-visible{outline:2px solid #e3a600;outline-offset:2px}.plan-panel[hidden]{display:none}
.reference-home .plan-list{gap:13px}.reference-home .plan-card{padding:10px;border:1px solid rgba(160,115,67,.16);border-radius:17px;background:#fffdf9;box-shadow:0 9px 22px rgba(73,47,29,.07)}.reference-home .plan-image{aspect-ratio:2.35/1;border-radius:12px;background:#ead9c2}.reference-home .plan-image h2{bottom:11px;font-size:17px;font-weight:700;text-shadow:0 2px 8px rgba(0,0,0,.28)}.reference-home .plan-stats{gap:8px;margin:10px 0}.reference-home .plan-stats>div{min-height:63px;padding:8px 5px;border:1px solid #f0e4d5;border-radius:10px;background:#fcf8f2;gap:4px}.reference-home .plan-stats strong{font-size:16px;color:#724127}.reference-home .plan-stats span{font-size:9px;color:#9a8676}.reference-home .purchase-limit{margin:7px 2px 10px;font-size:10px}.reference-home .plan-buy{min-height:41px;border-radius:10px;font-size:12px}
@media(max-width:520px){.reference-home .dashboard-shell{padding-inline:12px!important}.dashboard-topbar{padding-top:13px}.dashboard-hero{grid-template-columns:1fr;min-height:265px;padding:24px 18px}.hero-logo-orb{right:19px;top:30px;transform:scale(.82);transform-origin:top right}.dashboard-hero-copy{max-width:63%}.dashboard-hero-meta{left:18px;right:auto;bottom:17px;text-align:left}.dashboard-balance-card{margin-inline:4px;padding:14px}.balance-card-head strong{font-size:23px}.balance-status{font-size:7px}.reference-home .quick-actions>a{font-size:8px}.reference-home .quick-actions>a>svg{padding:6px}.reference-home .plan-image{aspect-ratio:2/1}}
@media(max-width:370px){.dashboard-hero-copy{max-width:100%}.hero-logo-orb{opacity:.28;right:-6px}.dashboard-hero h1{font-size:30px}.balance-split{gap:6px}.balance-split>div{padding-inline:7px}.balance-split b{font-size:12px}}

/* Too Yumm logo palette: red, yellow and confident black. */
.reference-home{background:linear-gradient(180deg,#fff8d6 0,#fff1a8 62%,#ffe77a 100%)!important}
.reference-home .dashboard-brand small{color:#b51f1f}.reference-home .dashboard-brand strong{color:#111}
.reference-home .dashboard-icon-link{border-color:rgba(214,40,40,.18);background:#fffdf0;color:#d62828}.reference-home .dashboard-avatar{background:linear-gradient(135deg,#d62828,#a91616);box-shadow:0 5px 12px rgba(172,20,20,.25)}
.reference-home .dashboard-hero{background:radial-gradient(circle at 86% 10%,rgba(244,196,0,.55),transparent 31%),linear-gradient(135deg,#a91616,#d62828 62%,#ef5350);box-shadow:0 18px 35px rgba(169,22,22,.24)}
.reference-home .dashboard-hero .eyebrow{color:#fff1a8}.reference-home .dashboard-hero h1{color:#fff}.reference-home .dashboard-hero h1 em{color:#fff1a8}.reference-home .dashboard-hero p{color:#fff8d6}
.reference-home .hero-cta{background:#f4c400;color:#111;box-shadow:0 7px 15px rgba(111,35,22,.2)}.reference-home .hero-logo-orb{background:rgba(255,241,168,.2);border-color:rgba(255,244,171,.65);box-shadow:0 0 0 14px rgba(255,234,100,.12),0 20px 35px rgba(111,20,20,.2)}.reference-home .hero-logo-orb:before,.reference-home .hero-logo-orb:after{border-color:rgba(255,239,123,.36)}.reference-home .dashboard-hero-meta span{color:#fff1a8}
.reference-home .dashboard-balance-card{border-color:rgba(214,40,40,.2);box-shadow:0 12px 25px rgba(152,62,23,.13)}.reference-home .balance-card-head strong{color:#111}.reference-home .balance-split>div{background:#fff8d6}.reference-home .balance-split b{color:#b51f1f}.reference-home .balance-actions a{background:#d62828}.reference-home .balance-actions a+a{border-color:#e3c84a;background:#fff1a8;color:#111}
.reference-home .quick-actions{border-color:rgba(214,40,40,.18);background:#fffdf0}.reference-home .quick-actions>a{color:#111}.reference-home .quick-actions>a>svg{border-color:rgba(214,40,40,.18);background:#fff1a8;color:#d62828}
.reference-home .dashboard-section-heading .eyebrow{color:#b51f1f}.reference-home .dashboard-section-heading h1{color:#111}.reference-home .dashboard-section-heading>a{color:#d62828}
.reference-home .plan-card{border-color:rgba(214,40,40,.16);background:#fffdf0}.reference-home .plan-stats>div{border-color:#f0d85d;background:#fff8d6}.reference-home .plan-stats strong{color:#b51f1f}.reference-home .plan-buy{background:linear-gradient(135deg,#d62828,#b51f1f);border-color:#a91616;box-shadow:0 8px 18px rgba(176,25,25,.22)}.reference-home .plan-buy.muted-action{background:#fff1a8;color:#111;border-color:#e3c84a}
.vip-section-heading{margin-top:26px!important}.vip-section-badge{padding:6px 9px;border:1px solid #e3b21a;border-radius:99px;background:#f4c400;color:#111;font-size:8px;font-weight:900;letter-spacing:.08em}.vip-plan-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.vip-plan-card{position:relative;border-color:#e1b528!important;background:linear-gradient(145deg,#fffdf0,#fff4a8)!important;box-shadow:0 12px 24px rgba(160,100,15,.13)!important}.vip-plan-card .plan-image{aspect-ratio:1.35/1}.vip-plan-card .plan-stats{grid-template-columns:1fr 1fr}.vip-plan-card .plan-stats>div{min-height:55px}.vip-plan-card .plan-stats strong{font-size:14px}.vip-plan-card .plan-buy{background:linear-gradient(135deg,#f4c400,#e5a900);border-color:#c78e00;color:#111;box-shadow:0 8px 17px rgba(172,113,0,.24)}.vip-ribbon{position:absolute;z-index:4;left:0;top:0;padding:7px 10px;border-radius:11px 0 11px 0;background:#111;color:#f4c400;font-size:9px;font-weight:900;letter-spacing:.12em}.vip-plan-card .stock-tag{background:#111;color:#f4c400}.vip-plan-card .plan-image h2{font-size:14px}.vip-plan-card .purchase-limit{font-size:9px}.vip-plan-card .purchase-limit b{color:#111}
@media(max-width:700px){.vip-plan-list{grid-template-columns:repeat(2,minmax(0,1fr))}.vip-plan-card .plan-image{aspect-ratio:1.7/1}.vip-plan-card .plan-stats strong{font-size:13px}}
@media(max-width:440px){.vip-plan-list{grid-template-columns:1fr}.vip-plan-card .plan-image{aspect-ratio:2.1/1}}

/* Too Yumm brand typography: warm, rounded and easy to read across every page. */
html,body,body *{font-family:"Trebuchet MS","Segoe UI",Arial,sans-serif!important}

/* Keep Daily and VIP plan cards on the same visual system. */
.reference-home .vip-plan-list{grid-template-columns:1fr;gap:13px}
.reference-home .vip-plan-card{border:1px solid rgba(214,40,40,.16)!important;border-radius:17px;background:#fffdf0!important;box-shadow:0 9px 22px rgba(73,47,29,.07)!important}
.reference-home .vip-plan-card .plan-image{aspect-ratio:2.35/1;border-radius:12px}
.reference-home .vip-plan-card .plan-image h2{font-size:17px}
.reference-home .vip-plan-card .plan-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0}
.reference-home .vip-plan-card .plan-stats>div{min-height:63px;padding:8px 5px;border:1px solid #f0d85d;background:#fff8d6;gap:4px}
.reference-home .vip-plan-card .plan-stats strong{font-size:16px;color:#b51f1f}
.reference-home .vip-plan-card .plan-buy{background:linear-gradient(135deg,#d62828,#b51f1f);border-color:#a91616;color:#fff;box-shadow:0 8px 18px rgba(176,25,25,.22)}
.reference-home .vip-plan-card .purchase-limit{font-size:10px}.reference-home .vip-plan-card .purchase-limit b{color:#b51f1f}
.reference-home .vip-plan-card .stock-tag{background:var(--app-green);color:#fff}
@media(max-width:440px){.reference-home .vip-plan-card .plan-image{aspect-ratio:2/1}}

.poster-admin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}.poster-admin-grid article{overflow:hidden;border:1px solid var(--admin-line);border-radius:15px;background:#fff;box-shadow:0 9px 24px rgba(76,52,34,.07)}.poster-admin-grid img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}.poster-admin-grid article>div{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px}.poster-admin-grid small{color:var(--muted);font-size:10px}.poster-delete{border:0;border-radius:7px;padding:6px 8px;background:#fff0ee;color:#a1261c;font:700 10px inherit;cursor:pointer}.poster-upload-form{margin-top:18px}@media(max-width:700px){.poster-admin-grid{grid-template-columns:1fr 1fr}}@media(max-width:430px){.poster-admin-grid{grid-template-columns:1fr}}

.poster-carousel{position:relative;isolation:isolate;width:100%;aspect-ratio:2.2/1;margin:0 0 15px;overflow:hidden;border:1px solid rgba(214,40,40,.18);border-radius:20px;background:#8f1b15;box-shadow:0 14px 28px rgba(99,36,20,.16)}.poster-slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transform:scale(1.025);transition:opacity .8s ease,transform 5s ease}.poster-slide.is-active{opacity:1;transform:scale(1)}.poster-dots{position:absolute;z-index:2;bottom:10px;left:50%;display:flex;gap:5px;transform:translateX(-50%)}.poster-dots span{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.55);box-shadow:0 1px 4px rgba(0,0,0,.25);transition:.2s}.poster-dots span.is-active{width:20px;border-radius:99px;background:#f4c400}@media(max-width:520px){.poster-carousel{aspect-ratio:1.75/1;border-radius:16px}}
.reference-home .dashboard-balance-card{width:100%;margin-left:0;margin-right:0}

/* Bright Too Yumm navigation treatment. */
.reference-home .quick-actions{gap:8px;margin:0 0 18px;padding:9px 8px;border:2px solid #f4c400;border-radius:19px;background:linear-gradient(145deg,#fffdf0,#fff0a8);box-shadow:0 10px 22px rgba(163,91,17,.15)}
.reference-home .quick-actions>a{gap:5px;min-height:51px;padding:5px 2px;border:1px solid rgba(214,40,40,.12);border-radius:13px;color:#6d291d;font-size:9px;font-weight:900;transition:transform .2s ease,background .2s ease}
.reference-home .quick-actions>a:hover{transform:translateY(-2px);background:#fff8d6}
.reference-home .quick-actions>a>svg{width:20px;height:20px;padding:8px;border:1px solid #d59b00;border-radius:12px;background:linear-gradient(145deg,#ffe86b,#f4c400);color:#6d291d;box-shadow:0 4px 8px rgba(157,92,0,.18)}
.store-page .bottom-nav{border-top:2px solid #f4c400;background:linear-gradient(180deg,#fffdf0,#fff0a8);box-shadow:0 -8px 22px rgba(133,70,19,.16)}
.store-page .bottom-nav a{color:#704333;font-weight:800}
.store-page .bottom-nav a>span{border-radius:13px}
.store-page .bottom-nav a.active{color:#fff}
.store-page .bottom-nav a.active:before{background:#d62828;border-color:#d62828;box-shadow:0 -4px 12px rgba(176,25,25,.2)}
.store-page .bottom-nav a.active>span{background:#f4c400;color:#6d291d;box-shadow:0 4px 10px rgba(157,92,0,.25)}
.store-page .bottom-nav svg{stroke-width:2}
/* Income wallet: compact red-yellow dashboard history. */
.income-dashboard{display:grid;gap:14px}.income-hero{position:relative;overflow:hidden;padding:20px;border-radius:20px;background:linear-gradient(135deg,#a91616,#d62828 62%,#ef5350);color:#fff;box-shadow:0 12px 24px rgba(120,34,20,.2)}.income-hero:after{content:"";position:absolute;right:-52px;top:-70px;width:190px;height:190px;border:1px solid rgba(255,241,168,.38);border-radius:50%;box-shadow:0 0 0 17px rgba(255,241,168,.1),0 0 0 35px rgba(255,241,168,.06)}.income-hero-copy{position:relative;z-index:1}.income-eyebrow{display:block;color:#fff1a8;font-size:9px;font-weight:900;letter-spacing:.14em}.income-hero h1{margin:7px 0 6px;color:#fff;font-size:28px}.income-hero p{max-width:330px;margin:0;color:#fff8d6;font-size:12px;line-height:1.5}.income-balance{position:relative;z-index:1;display:grid;gap:3px;margin-top:19px}.income-balance span,.income-metrics span{font-size:9px;font-weight:800;letter-spacing:.08em;color:#fff1a8}.income-balance strong{font-size:30px;color:#fff}.income-metrics{position:relative;z-index:1;display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:16px}.income-metrics>div{display:grid;gap:4px;padding:10px;border:1px solid rgba(255,241,168,.45);border-radius:11px;background:rgba(255,241,168,.18)}.income-metrics span{letter-spacing:0}.income-metrics b{font-size:15px;color:#fff}.income-history-card{overflow:hidden;border:2px solid #d8aa00;border-radius:18px;background:#fff3a3;box-shadow:0 10px 22px rgba(120,70,0,.12)}.income-history-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px;border-bottom:1px solid #d8aa00}.income-history-head h2{margin:4px 0 0;color:#111;font-size:21px}.income-count{padding:6px 9px;border-radius:99px;background:#d62828;color:#fff;font-size:10px;font-weight:800;white-space:nowrap}.income-list{display:grid;padding:0 12px}.income-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:14px 4px;border-bottom:1px solid rgba(216,170,0,.55)}.income-item:last-child{border-bottom:0}.income-item-icon,.income-empty-icon{display:grid;place-items:center;width:37px;height:37px;border-radius:12px;background:#f4c400;color:#6d291d}.income-item-icon svg{width:19px;height:19px}.income-item-copy{min-width:0;display:grid;gap:5px}.income-item-copy b{overflow-wrap:anywhere;color:#111;font-size:13px}.income-item-meta{display:flex;align-items:center;gap:7px;min-width:0}.income-item-meta small{padding:4px 7px;border-radius:99px;background:#ffe66b;color:#6d291d;font-size:9px;font-weight:800;white-space:nowrap}.income-item-meta time{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#735f3b;font-size:10px}.income-item strong{white-space:nowrap;font-size:14px}.income-item.is-positive>strong{color:#137333}.income-item.is-negative>strong{color:#b51f1f}.income-empty{padding:28px 15px;text-align:center}.income-empty-icon{margin:0 auto 10px}.income-empty-icon svg{width:22px;height:22px}.income-empty h3{margin:0;color:#111;font-size:17px}.income-empty p{max-width:300px;margin:7px auto 15px;color:#735f3b;font-size:11px;line-height:1.5}.income-action{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:10px;background:#d62828;color:#fff;text-decoration:none;font-size:11px;font-weight:800}.income-action span{font-size:16px}@media(max-width:420px){.income-hero{padding:17px}.income-hero h1{font-size:25px}.income-balance strong{font-size:27px}.income-item{gap:8px}.income-item-icon{width:33px;height:33px}.income-item-meta{display:grid;gap:3px}.income-item strong{font-size:13px}}
@media(max-width:420px){.reference-home .quick-actions{gap:4px;padding:7px 4px}.reference-home .quick-actions>a{font-size:8px}.reference-home .quick-actions>a>svg{padding:7px}}

/* Full-site Too Yumm yellow palette. */
:root{--cream:#f4c400;--line:#d8aa00;--brand-gold:#f4c400;--brand-soft:#ffe45c;--brand-surface:#fff3a3;--admin-cream:#fff3a3;--admin-line:#d8aa00}
html,body,.store-page,.dashboard-page,.admin-page,.share-page,.wallet-page,.premium-team-page{background:linear-gradient(145deg,#f4c400 0%,#ffe45c 52%,#fff1a8 100%) fixed!important}
.form-panel,.store-main,.page-main,.profile-main,.admin-main,.admin-form-main{background:transparent!important}
.dashboard-balance-card,.quick-actions,.plan-tabs,.plan-card,.account-card,.invite-card,.table-card,.stat-grid article,.checkout-form,.settings-card,.cart-list,.order-summary,.empty-card,.product-card,.profile-menu a,.wallet-box,.wallet-history,.bind-form,.bank-summary,.amount-options,.pay-method,.member-summary,.referral-cards article,.team-account,.team-level,.poster-admin-grid article,.admin-form{background:#fff3a3!important;border-color:#d8aa00!important}
.balance-split>div,.plan-stats>div,.code-row,.product-facts span,.summary-stats,.admin-badge,.team-summary span,.team-level>header,.amount-options button,.payment-channels label{background:#ffe66b!important;border-color:#d8aa00!important}
.auth-form input,.auth-form textarea,.admin-form input,.admin-form textarea,.admin-form select,.status-form select,.money-input,.withdrawal-search input{background:#fff8c9!important;border-color:#d8aa00!important}
.app-page-header,.admin-mobile-header,.store-page .bottom-nav{background:linear-gradient(180deg,#ffe45c,#f4c400)!important;border-color:#c99400!important}
.admin-page .admin-sidebar{background:linear-gradient(180deg,#f4c400,#e7ad00)!important;border-color:#c99400!important}
.admin-page .admin-sidebar nav a{color:#111!important;border-color:rgba(120,68,0,.2)!important}.admin-page .admin-sidebar nav a:hover,.admin-page .admin-sidebar nav a.active{background:#d62828!important;color:#fff!important}
.primary-button,.copy-button,.add-button,.status-form button,.payment-proceed,.section-action a,.wallet-submit{background:linear-gradient(135deg,#d62828,#a91616)!important;color:#fff!important}
.reference-home .dashboard-balance-card,.reference-home .quick-actions,.reference-home .plan-tabs,.reference-home .plan-card{background:#fff3a3!important}

/* Bring every logged-in user page into the dashboard layout language. */
.store-page:not(.reference-home) .app-page-header{width:min(var(--ui-width),100%);margin:0 auto;padding:14px 16px;background:linear-gradient(135deg,#d62828,#b51f1f);border:0;border-radius:0 0 18px 18px;color:#fff;box-shadow:0 8px 18px rgba(120,34,20,.18)}
.store-page:not(.reference-home) .app-page-header a,.store-page:not(.reference-home) .app-page-header strong{color:#fff}
.store-page:not(.reference-home) .page-main,.store-page:not(.reference-home) .wallet-main,.store-page:not(.reference-home) .profile-main,.store-page:not(.reference-home) .referral-shell,.store-page:not(.reference-home) .share-shell{width:min(var(--ui-width),100%);margin:0 auto;padding:16px 14px 88px}
.store-page:not(.reference-home) .store-title{margin:4px 2px 14px;padding:14px 16px;border:2px solid #d8aa00;border-radius:16px;background:#fff3a3;box-shadow:0 8px 18px rgba(120,70,0,.1)}
.store-page:not(.reference-home) .store-title h1,.store-page:not(.reference-home) .store-title h2{margin:0;color:#111;font-size:22px}
.store-page:not(.reference-home) .store-title .eyebrow{color:#b51f1f}
.store-page:not(.reference-home) .cart-list,.store-page:not(.reference-home) .order-summary,.store-page:not(.reference-home) .settings-card,.store-page:not(.reference-home) .share-card,.store-page:not(.reference-home) .qr-card,.store-page:not(.reference-home) .orders-list,.store-page:not(.reference-home) .message-list,.store-page:not(.reference-home) .product-detail,.store-page:not(.reference-home) .member-summary{border:2px solid #d8aa00;border-radius:18px;background:#fff3a3!important;box-shadow:0 10px 22px rgba(120,70,0,.12)}
.store-page:not(.reference-home) .product-detail{margin:16px auto;padding:14px;gap:16px}
.store-page:not(.reference-home) .product-detail .detail-image,.store-page:not(.reference-home) .cart-item img{border:1px solid #d8aa00;border-radius:14px}
.store-page:not(.reference-home) .wallet-submit,.store-page:not(.reference-home) .primary-button,.store-page:not(.reference-home) .copy-button,.store-page:not(.reference-home) .section-action a{border-radius:11px;background:linear-gradient(135deg,#d62828,#a91616)!important;color:#fff!important}
.store-page:not(.reference-home) .referral-hero,.store-page:not(.reference-home) .share-shell>header,.store-page:not(.reference-home) .profile-head{border-radius:18px;background:linear-gradient(135deg,#d62828,#ef5350)!important;box-shadow:0 10px 22px rgba(120,34,20,.17)}
.store-page:not(.reference-home) .profile-wallets article,.store-page:not(.reference-home) .profile-menu a,.store-page:not(.reference-home) .income-item,.store-page:not(.reference-home) .team-account,.store-page:not(.reference-home) .team-level{border-color:#d8aa00;background:#ffe66b!important}
/* Team page refresh: clear referral dashboard cards in the Too Yumm palette. */
.premium-team-page .referral-shell{gap:14px}.premium-team-page .team-hero{padding:21px;border-radius:20px;background:linear-gradient(135deg,#a91616,#d62828 62%,#ef5350);box-shadow:0 12px 24px rgba(120,34,20,.2)}.premium-team-page .team-hero .eyebrow{color:#fff1a8}.premium-team-page .team-hero h1{color:#fff;font-family:"Trebuchet MS","Segoe UI",Arial,sans-serif}.premium-team-page .team-hero p{color:#fff8d6}.premium-team-page .team-hero a{background:#f4c400;color:#111;border-radius:10px}.premium-team-page .team-rate-grid{gap:9px}.premium-team-page .team-rate-grid article{border:2px solid #d8aa00;border-radius:15px;background:#fff3a3;box-shadow:0 8px 17px rgba(120,70,0,.1)}.premium-team-page .team-rate-grid strong{color:#b51f1f;font-family:"Trebuchet MS","Segoe UI",Arial,sans-serif}.premium-team-page .team-rate-grid small,.premium-team-page .team-rate-grid span{color:#735f3b}.premium-team-page .team-account{border:2px solid #d8aa00;border-radius:18px;background:#fff3a3!important;box-shadow:0 10px 22px rgba(120,70,0,.12)}.premium-team-page .team-account-person img{border-color:#d8aa00;border-radius:50%}.premium-team-page .team-account-person h2{color:#111;font-family:"Trebuchet MS","Segoe UI",Arial,sans-serif}.premium-team-page .team-summary{gap:8px}.premium-team-page .team-summary span{background:#ffe66b;border:1px solid #d8aa00}.premium-team-page .team-summary small{color:#735f3b}.premium-team-page .team-summary b{color:#b51f1f}.premium-team-page .team-level{border:2px solid #d8aa00;border-radius:18px;background:#fff3a3!important;box-shadow:0 10px 22px rgba(120,70,0,.12)}.premium-team-page .team-level>header{background:#ffe66b;border-bottom:1px solid #d8aa00}.premium-team-page .team-level>header span,.premium-team-page .team-level>header small{color:#b51f1f}.premium-team-page .team-level>header h2,.premium-team-page .team-level>header b{color:#111}.premium-team-page .team-member-list article{border-color:#d8aa00}.premium-team-page .team-avatar{background:linear-gradient(145deg,#f4c400,#ffe66b);color:#6d291d}.premium-team-page .team-member-list article b{color:#111}.premium-team-page .team-member-list article small{color:#735f3b}.premium-team-page .team-member-list .status.active{color:#137333}.premium-team-page .team-member-list .status.inactive{color:#b51f1f}.premium-team-page .team-empty>span{background:#f4c400;color:#6d291d}.premium-team-page .team-empty p{color:#735f3b}.premium-team-page .team-empty a{color:#d62828}
@media(max-width:520px){.premium-team-page .team-rate-grid article{padding:10px 5px}.premium-team-page .team-rate-grid strong{font-size:18px}.premium-team-page .team-summary{grid-template-columns:1fr 1fr}.premium-team-page .team-summary span:last-child{grid-column:1/-1}}
/* Keep team text readable on the bright palette. */
.premium-team-page .team-hero h1,.premium-team-page .team-hero p,.premium-team-page .team-hero .eyebrow,.premium-team-page .team-level>header span,.premium-team-page .team-level>header small,.premium-team-page .team-level>header h2,.premium-team-page .team-level>header b,.premium-team-page .team-level>header>div:last-child small:last-child{color:#111!important}.premium-team-page .team-hero a{color:#111!important}.premium-team-page .team-account-person h2,.premium-team-page .team-member-list article b,.premium-team-page .team-summary b{color:#111!important}
/* Final team layout fix for the narrow dashboard viewport. */
.premium-team-page .team-hero{grid-template-columns:1fr!important;align-items:start!important;min-height:0!important}.premium-team-page .team-hero .eyebrow{max-width:180px;line-height:1.3}.premium-team-page .team-hero h1{max-width:100%!important;margin-top:9px;font-size:26px;line-height:1.1}.premium-team-page .team-hero p{max-width:270px!important;margin-top:5px}.premium-team-page .team-hero a{justify-self:start!important;margin-top:15px!important}.premium-team-page .team-rate-grid article,.premium-team-page .team-account,.premium-team-page .team-level{border-color:#d62828!important}.premium-team-page .team-account-person{border-color:#d62828}.premium-team-page .team-summary span{border-color:#d62828}.premium-team-page .team-level>header{border-bottom-color:#d62828}.premium-team-page .team-member-list article{border-color:rgba(214,40,40,.45)}
/* Final readability and red-outline correction. */
.profile-page .profile-main{display:grid;gap:14px;width:min(var(--ui-width),100%);margin:0 auto;padding:16px 14px 96px;box-sizing:border-box}.profile-page .profile-head{position:relative;overflow:hidden;display:flex;align-items:center;gap:13px;padding:18px;border:0;border-radius:20px;background:radial-gradient(circle at 92% 10%,rgba(244,196,0,.5),transparent 30%),linear-gradient(135deg,#a91616,#d62828 62%,#ef5350)!important;box-shadow:0 12px 24px rgba(120,34,20,.2)}.profile-page .profile-head:after{content:"";position:absolute;right:-45px;top:-65px;width:170px;height:170px;border:1px solid rgba(255,241,168,.45);border-radius:50%;box-shadow:0 0 0 16px rgba(255,241,168,.1)}.profile-page .profile-head img{position:relative;z-index:1;width:62px;height:62px;border:3px solid #fff;border-radius:18px;object-fit:cover;background:#fff}.profile-page .profile-identity{position:relative;z-index:1;min-width:0}.profile-page .profile-eyebrow{color:#fff1a8;font-size:9px;font-weight:900;letter-spacing:.14em}.profile-page .profile-head h1{margin:5px 0;color:#fff;font-size:21px}.profile-page .profile-uid-label{color:#fff8d6;font-size:9px}.profile-page .profile-head code{color:#fff;font-size:11px}.profile-page .uid-row{flex-wrap:wrap;margin:3px 0 0}.profile-page .uid-row button{width:25px;height:25px;background:rgba(255,255,255,.18);color:#fff}.profile-page .vip-badge{position:relative;z-index:1;margin-left:auto;align-self:flex-start;padding:6px 8px;border-radius:99px;background:#f4c400;color:#111;font-size:9px;white-space:nowrap}.profile-page .profile-section-heading{display:flex;align-items:end;justify-content:space-between;margin:2px 2px 9px}.profile-page .profile-section-heading span{color:#b51f1f;font-size:9px;font-weight:900;letter-spacing:.13em}.profile-page .profile-section-heading h2{margin:3px 0 0;color:#111;font-size:20px}.profile-page .profile-wallets{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0}.profile-page .profile-wallet-card{display:flex;align-items:center;gap:9px;padding:13px;border:2px solid #d62828;border-radius:16px;background:#fff3a3!important;text-decoration:none}.profile-page .profile-wallet-icon{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:11px;background:#f4c400;color:#111}.profile-page .profile-wallet-icon svg{width:18px;height:18px}.profile-page .profile-wallet-copy{display:grid;gap:3px;min-width:0}.profile-page .profile-wallet-copy small{color:#735f3b;font-size:9px}.profile-page .profile-wallet-copy strong{color:#b51f1f;font-size:15px}.profile-page .profile-wallet-copy em{color:#111;font-size:9px;font-style:normal;font-weight:800}.profile-page .profile-links-section{padding:15px;border:2px solid #d62828;border-radius:18px;background:#fff3a3;box-shadow:0 10px 22px rgba(120,70,0,.12)}.profile-page .profile-links-section+.profile-links-section{margin-top:0}.profile-page .profile-menu{gap:8px;margin:0}.profile-page .profile-menu a{display:flex;align-items:center;gap:10px;padding:11px 10px;border:1px solid rgba(214,40,40,.45);border-radius:12px;background:#ffe66b!important;text-decoration:none}.profile-page .profile-menu a>span{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:10px;background:#f4c400;color:#111}.profile-page .profile-menu a>span svg{width:18px;height:18px}.profile-page .profile-menu div{gap:2px;min-width:0}.profile-page .profile-menu b{color:#111;font-size:12px}.profile-page .profile-menu small{color:#735f3b;font-size:9px}.profile-page .profile-menu i{margin-left:auto;color:#b51f1f;font-size:22px;font-style:normal}.profile-page .profile-menu em{background:#d62828;color:#fff}.profile-page .profile-menu .profile-logout{background:#ffe0db!important}.profile-page .profile-menu .profile-logout b{color:#b51f1f}@media(max-width:420px){.profile-page .profile-head{padding:15px}.profile-page .profile-head img{width:54px;height:54px}.profile-page .profile-head h1{font-size:18px}.profile-page .vip-badge{font-size:8px}.profile-page .profile-wallet-card{padding:10px 8px}.profile-page .profile-wallet-icon{width:30px;height:30px;flex-basis:30px}.profile-page .profile-links-section{padding:12px}.profile-page .profile-menu a{padding:9px 8px}}
.share-page .share-shell{display:grid;gap:14px;max-width:760px!important;padding-top:18px!important}.share-page .share-shell>header{position:relative;overflow:hidden;padding:24px 21px;border:0;border-radius:22px;background:radial-gradient(circle at 90% 12%,rgba(244,196,0,.5),transparent 30%),linear-gradient(135deg,#a91616,#d62828 62%,#ef5350)!important;box-shadow:0 12px 24px rgba(120,34,20,.2);text-align:left}.share-page .share-shell>header:after{content:"";position:absolute;right:-45px;top:-62px;width:160px;height:160px;border:1px solid rgba(255,241,168,.45);border-radius:50%;box-shadow:0 0 0 16px rgba(255,241,168,.1)}.share-page .share-eyebrow{position:relative;z-index:1;color:#fff1a8;font-size:9px;font-weight:900;letter-spacing:.14em}.share-page .share-shell h1{position:relative;z-index:1;margin:8px 0;color:#fff!important;font-size:28px}.share-page .share-shell>header p{position:relative;z-index:1;max-width:320px;margin:0;color:#fff8d6;font-size:12px;line-height:1.5}.share-page .qr-card,.share-page .share-card{margin:0;border:2px solid #d62828;border-radius:18px;background:#fff3a3!important;box-shadow:0 10px 22px rgba(120,70,0,.12)}.share-page .qr-card{padding:18px;text-align:center}.share-page .qr-card h2,.share-page .share-card h2{margin:3px 0 12px;color:#111;font-size:20px}.share-page .share-card-icon{display:grid;place-items:center;width:38px;height:38px;margin:0 auto 6px;border-radius:12px;background:#f4c400;color:#111;font-size:25px;font-weight:900}.share-page .qr-card img{width:min(250px,100%);padding:10px;border:2px solid #d62828;border-radius:14px;background:#fff;margin:8px auto 10px}.share-page .qr-card small{color:#735f3b}.share-page .share-card{text-align:left}.share-page .share-card label{color:#111;margin:13px 0 6px}.share-page .share-card>div{border:1px solid #d62828;border-radius:11px;background:#ffe66b;padding:10px}.share-page .share-card>div span,.share-page .share-card>div strong{color:#111}.share-page .share-card .copy-button{border:0;border-radius:8px;background:#d62828!important;color:#fff!important;padding:9px 12px;font-weight:800}.share-page .share-card>p{border:1px solid #d62828;background:#fff!important;color:#111!important;margin-bottom:0}.share-page .bottom-nav a.active:before{background:#d62828!important}
/* Fit share content inside the same header/footer viewport. */
.share-page .share-shell{width:100%;max-width:500px!important;padding:14px 14px 105px!important;box-sizing:border-box}.share-page .share-shell>header{padding:19px 18px;border-radius:18px}.share-page .share-shell h1{font-size:24px}.share-page .qr-card{padding:14px}.share-page .qr-card img{width:min(190px,100%);padding:7px;margin:6px auto 8px}.share-page .share-card{padding:16px}.share-page .share-card>div{min-width:0}.share-page .share-card>div span{min-width:0;font-size:11px}.share-page .share-card .copy-button{flex:0 0 auto;padding:8px 10px}
body.share-page{width:100%;max-width:100vw;overflow-x:hidden}body.share-page .app-page-header,body.share-page .share-shell,body.share-page .bottom-nav{width:100%!important;max-width:100vw!important;min-width:0!important;box-sizing:border-box}body.share-page .share-shell{margin-left:auto!important;margin-right:auto!important;padding-left:14px!important;padding-right:14px!important}body.share-page .share-card>div{max-width:100%;overflow:hidden}body.share-page .share-card>div span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* Use the same 480px centered shell as every other logged-in page. */
body.share-page .app-page-header,body.share-page .share-shell,body.share-page .bottom-nav{width:min(480px,100%)!important;max-width:480px!important;margin-left:auto!important;margin-right:auto!important}body.share-page .share-shell{padding-left:14px!important;padding-right:14px!important}
/* Force the share page to follow the real browser viewport on small screens. */
body.share-page .app-page-header,body.share-page .bottom-nav{width:100vw!important;max-width:100vw!important}body.share-page .share-shell{width:calc(100vw - 28px)!important;max-width:calc(100vw - 28px)!important;margin-left:14px!important;margin-right:14px!important;overflow:hidden}
/* Override the older shared shell rule so Share matches Team exactly. */
body.store-page.share-page .share-shell{width:100%!important;max-width:480px!important;min-width:0!important;box-sizing:border-box;margin-left:auto!important;margin-right:auto!important;padding-left:14px!important;padding-right:14px!important}
/* Share and Team use the exact same centered mobile shell. */
body.store-page.share-page .app-page-header,body.store-page.share-page .bottom-nav{width:100%!important;max-width:480px!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box}
/* Final mobile correction: never let Share exceed the visible viewport. */
body.store-page.share-page .app-page-header,body.store-page.share-page .bottom-nav{width:100%!important;max-width:100vw!important}body.store-page.share-page .share-shell{width:calc(100vw - 28px)!important;max-width:calc(100vw - 28px)!important;margin-left:14px!important;margin-right:14px!important;padding-left:14px!important;padding-right:14px!important;box-sizing:border-box}
body.premium-team-page .team-hero h1,body.premium-team-page .team-hero p,body.premium-team-page .team-hero .eyebrow,body.premium-team-page .team-level>header span,body.premium-team-page .team-level>header small,body.premium-team-page .team-level>header h2,body.premium-team-page .team-level>header b,body.premium-team-page .team-level>header>div:last-child small:last-child{color:#111!important}body.premium-team-page .team-hero a{color:#111!important}body.premium-team-page .team-rate-grid article,body.premium-team-page .team-account,body.premium-team-page .team-level{border-color:#d62828!important}body.premium-team-page .team-account-person,body.premium-team-page .team-summary span,body.premium-team-page .team-level>header,body.premium-team-page .team-member-list article{border-color:#d62828!important}
/* Match team cards to the income-history card style. */
body.premium-team-page .team-rate-grid article,body.premium-team-page .team-account,body.premium-team-page .team-level{background:#fff!important}body.premium-team-page .team-member-list{background:#fff!important}body.premium-team-page .team-summary span{background:#fff!important}
body.premium-team-page .team-hero h1,body.premium-team-page .team-hero p,body.premium-team-page .team-hero .eyebrow{color:#fff!important}body.premium-team-page .team-hero .eyebrow{color:#fff1a8!important}
body.premium-team-page .team-rate-grid article,body.premium-team-page .team-account,body.premium-team-page .team-level{background:#fff3a3!important}body.premium-team-page .team-member-list{background:#ffe66b!important}body.premium-team-page .team-summary span{background:#ffe66b!important}
body.premium-team-page .team-rate-grid article,body.premium-team-page .team-account,body.premium-team-page .team-level{border:2px solid #d62828!important;border-radius:18px;background:#fff3a3!important;box-shadow:0 10px 22px rgba(120,70,0,.12)}body.premium-team-page .team-rate-grid article{border-radius:15px;box-shadow:0 7px 15px rgba(120,70,0,.1)}body.premium-team-page .team-account{padding:16px}body.premium-team-page .team-level{overflow:hidden}body.premium-team-page .team-level>header{background:#fff3a3!important;border-bottom:2px solid #d62828!important}body.premium-team-page .team-level>header span,body.premium-team-page .team-level>header small,body.premium-team-page .team-level>header h2,body.premium-team-page .team-level>header b,body.premium-team-page .team-level>header>div:last-child small:last-child{color:#111!important}body.premium-team-page .team-member-list{background:#ffe66b}body.premium-team-page .team-member-list article{border-color:rgba(214,40,40,.55)!important}body.premium-team-page .team-summary span{border-color:#d62828!important;background:#ffe66b!important}
/* Share uses the same outer viewport width as Team. */
body.store-page.share-page .app-page-header,
body.store-page.share-page .bottom-nav{width:100%!important;max-width:var(--ui-width)!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box}
body.store-page.share-page .share-shell{width:min(var(--ui-width),100%)!important;max-width:var(--ui-width)!important;margin-left:auto!important;margin-right:auto!important;padding:18px 14px 88px!important;box-sizing:border-box}
body.store-page.share-page .share-card>div span{display:block;flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.store-page.share-page .share-card>div .copy-button{flex:0 0 auto;white-space:nowrap}

/* Final Share viewport guard: keep every shell inside narrow phone widths. */
body.store-page.share-page{width:100%;max-width:100%;overflow-x:hidden}
body.store-page.share-page .app-page-header,
body.store-page.share-page .share-shell,
body.store-page.share-page .bottom-nav{width:min(480px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;min-width:0;box-sizing:border-box}
body.store-page.share-page .app-page-header,
body.store-page.share-page .share-shell{margin-left:auto!important;margin-right:auto!important}
body.store-page.share-page .share-shell{padding-left:12px!important;padding-right:12px!important;overflow:hidden}
body.store-page.share-page .share-card>div span,
body.store-page.share-page .share-card>div strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Final profile alignment after the shared page rules. */
body.store-page.profile-page.premium-profile-page .profile-head{background:radial-gradient(circle at 92% 10%,rgba(244,196,0,.5),transparent 30%),linear-gradient(135deg,#a91616,#d62828 62%,#ef5350)!important;border-radius:20px;box-shadow:0 12px 24px rgba(120,34,20,.2)}
body.store-page.profile-page.premium-profile-page .profile-head>img{border-radius:50%;border:3px solid #fff;box-shadow:0 5px 10px rgba(120,34,20,.18)}
body.store-page.profile-page.premium-profile-page .profile-wallet-card{border:2px solid #d62828;background:linear-gradient(145deg,#fff3a3,#ffe66b)!important;box-shadow:0 8px 17px rgba(120,70,0,.1)}
body.store-page.profile-page.premium-profile-page .profile-wallet-icon{background:#f4c400;color:#111}
body.store-page.profile-page.premium-profile-page .profile-links-section{border:2px solid #d62828;background:linear-gradient(145deg,#fff3a3,#ffe66b);box-shadow:0 10px 22px rgba(120,70,0,.12)}
body.store-page.profile-page.premium-profile-page .profile-menu a{border-color:rgba(214,40,40,.55);background:#ffe66b!important}
body.store-page.profile-page.premium-profile-page .profile-menu a>span{background:#f4c400;color:#111}
body.store-page.profile-page.premium-profile-page .profile-menu i{color:#b51f1f}
body.store-page.profile-page.premium-profile-page .profile-menu .profile-logout{background:#ffe0db!important}

/* Keep admin sidebar labels readable against the dark navigation background. */
html body.admin-page .admin-sidebar .admin-nav-group>a,
html body.admin-page .admin-sidebar .admin-nav-group>a:link,
html body.admin-page .admin-sidebar .admin-nav-group>a:visited{color:#dce5f2!important}
html body.admin-page .admin-sidebar .admin-nav-group>a>span{color:inherit!important}
html body.admin-page .admin-sidebar .admin-nav-group>a>svg{color:#b8c7dc!important}
html body.admin-page .admin-sidebar .admin-nav-group>a:hover,
html body.admin-page .admin-sidebar .admin-nav-group>a:hover>span{color:#fff!important}
html body.admin-page .admin-sidebar .admin-nav-group>a:hover>svg{color:#ffd369!important}
html body.admin-page .admin-sidebar .admin-nav-group>a.active,
html body.admin-page .admin-sidebar .admin-nav-group>a.active:link,
html body.admin-page .admin-sidebar .admin-nav-group>a.active:visited,
html body.admin-page .admin-sidebar .admin-nav-group>a.active>span,
html body.admin-page .admin-sidebar .admin-nav-group>a.active>svg{color:#fff!important}
html body.admin-page .admin-sidebar .admin-nav-label{color:#aebbd0!important}
html body.admin-page .admin-sidebar .admin-sidebar-note{color:#c1ccdc!important}
html body.admin-page .admin-sidebar .admin-sidebar-note>span{background:#47c98a!important}
@media(max-width:850px){
 html body.admin-page .admin-sidebar{background:#172235!important}
 html body.admin-page .admin-sidebar .admin-nav-group>a{color:#dce5f2!important}
}

/* Admin workspace refresh: persistent desktop navigation and an accessible mobile drawer. */
body.admin-page{
 --admin-sidebar-width:258px;
 --admin-ink:#202a3b;
 --admin-muted:#738096;
 --admin-surface:#fff;
 --admin-border:#e5eaf1;
 --admin-accent:#d62828;
 min-height:100vh;
 padding-top:0!important;
 background:#f4f6fa!important;
 color:var(--admin-ink);
 font-family:"DM Sans",Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
}
body.admin-page.admin-shell-ready{padding-top:0!important}
body.admin-page .admin-sidebar{
 position:fixed;
 z-index:1002;
 inset:0 auto 0 0;
 display:flex;
 flex-direction:column;
 width:var(--admin-sidebar-width);
 padding:22px 14px 14px;
 overflow-x:hidden;
 overflow-y:auto;
 border:0;
 border-right:1px solid rgba(255,255,255,.08);
 border-radius:0;
 background:#172235!important;
 box-shadow:8px 0 28px rgba(18,31,50,.12);
 transform:none;
 transition:transform .24s ease;
}
body.admin-page .admin-sidebar .wordmark{
 flex:0 0 auto;
 gap:12px;
 margin:0 0 20px;
 padding:0 8px 18px;
 border-bottom:1px solid rgba(255,255,255,.12);
 color:#fff;
 text-decoration:none;
}
body.admin-page .admin-sidebar .wordmark img{
 width:44px;
 height:44px;
 flex:0 0 44px;
 border:2px solid rgba(255,255,255,.75);
 border-radius:13px;
 background:#fff;
 object-fit:contain;
}
body.admin-page .admin-sidebar .wordmark span{display:grid;gap:3px}
body.admin-page .admin-sidebar .wordmark strong{font:700 17px/1.1 "DM Sans",Inter,system-ui,sans-serif;color:#fff}
body.admin-page .admin-sidebar .wordmark small{font-size:9px;font-weight:800;letter-spacing:.16em;color:#ffc95b}
body.admin-page .admin-sidebar nav{display:grid;gap:15px;width:100%;margin:0}
body.admin-page .admin-nav-group{display:grid;gap:3px;min-width:0}
body.admin-page .admin-nav-label{
 padding:0 11px 5px;
 color:#8e9bb0;
 font-size:9px;
 font-weight:800;
 letter-spacing:.13em;
 text-transform:uppercase;
}
body.admin-page .admin-sidebar nav a{
 position:relative;
 display:flex;
 align-items:center;
 gap:11px;
 width:100%;
 min-width:0;
 min-height:42px;
 padding:9px 11px;
 border:0;
 border-radius:10px;
 background:transparent!important;
 color:#c0c9d7!important;
 text-decoration:none;
 font-size:12px;
 font-weight:600;
 line-height:1.35;
 transition:background .16s ease,color .16s ease,transform .16s ease;
}
body.admin-page .admin-sidebar nav a svg{width:18px;height:18px;flex:0 0 18px;color:#99a8bc}
body.admin-page .admin-sidebar nav a span{min-width:0}
body.admin-page .admin-sidebar nav a:hover{transform:translateX(2px);background:rgba(255,255,255,.07)!important;color:#fff!important}
body.admin-page .admin-sidebar nav a:hover svg{color:#ffd369}
body.admin-page .admin-sidebar nav a.active,
body.admin-page .admin-sidebar nav a.active:hover{
 transform:none;
 background:linear-gradient(100deg,#d62828,#b91f28)!important;
 color:#fff!important;
 box-shadow:0 6px 15px rgba(214,40,40,.24);
}
body.admin-page .admin-sidebar nav a.active svg{color:#fff}
body.admin-page .admin-sidebar nav a.active:after{position:absolute;right:9px;width:5px;height:5px;border-radius:50%;background:#ffd369;content:""}
body.admin-page .admin-nav-quick{padding-top:12px;border-top:1px solid rgba(255,255,255,.12)}
body.admin-page .admin-sidebar-note{display:flex;align-items:center;gap:8px;flex:0 0 auto;margin:18px 6px 0;padding:12px 10px;border:1px solid rgba(255,255,255,.1);border-radius:10px;color:#9eabc0;font-size:10px}
body.admin-page .admin-sidebar-note>span{width:7px;height:7px;border-radius:50%;background:#47c98a;box-shadow:0 0 0 4px rgba(71,201,138,.12)}
body.admin-page .admin-menu-close,
body.admin-page .admin-menu-overlay{display:none}
body.admin-page .admin-mobile-header{display:none}
body.admin-page .admin-main{
 width:auto;
 max-width:none;
 min-width:0;
 min-height:100vh;
 margin:0 0 0 var(--admin-sidebar-width);
 padding:30px clamp(20px,3vw,42px);
 background:transparent!important;
}
body.admin-page .admin-main>header,
body.admin-page .admin-editor-head{align-items:center;gap:16px;margin-bottom:22px}
body.admin-page .admin-main .eyebrow{color:#b51f1f;font-size:10px;font-weight:800;letter-spacing:.12em}
body.admin-page .admin-main header h1,
body.admin-page .admin-form-main h1{color:#1d293c;font-family:"DM Sans",Inter,system-ui,sans-serif;font-size:clamp(23px,2.5vw,31px);font-weight:800;letter-spacing:-.035em}
body.admin-page .admin-main header p,
body.admin-page .admin-editor-head p{color:var(--admin-muted);font-size:12px}
body.admin-page .admin-page .admin-badge,
body.admin-page .admin-badge{border:1px solid var(--admin-border);border-radius:999px;background:#fff!important;color:#56647a!important}
body.admin-page .admin-main .admin-head-actions .primary-button,
body.admin-page .admin-main .primary-button,
body.admin-page .admin-filter button,
body.admin-page .admin-row-actions a,
body.admin-page .admin-row-actions button{
 min-height:40px;
 border:0;
 border-radius:10px;
 background:linear-gradient(135deg,#d62828,#ad1e24)!important;
 color:#fff!important;
 font:700 12px/1.2 "DM Sans",Inter,system-ui,sans-serif;
 box-shadow:0 5px 12px rgba(173,30,36,.15);
}
body.admin-page .admin-main .primary-button,
body.admin-page .admin-filter button{padding:10px 14px}
body.admin-page .stat-grid{gap:13px}
body.admin-page .stat-grid article,
body.admin-page .finance-card,
body.admin-page .table-card,
body.admin-page .settings-card,
body.admin-page .admin-form,
body.admin-page .admin-filter,
body.admin-page .poster-admin-grid article{
 border:1px solid var(--admin-border)!important;
 border-radius:15px;
 background:#fff!important;
 box-shadow:0 5px 18px rgba(30,46,69,.045);
}
body.admin-page .stat-grid article{padding:18px}
body.admin-page .stat-grid span{color:#758197;font-size:11px}
body.admin-page .stat-grid strong{color:#1d293c;font-family:"DM Sans",Inter,system-ui,sans-serif;font-size:28px;font-weight:800}
body.admin-page .stat-grid small{color:#77849a;line-height:1.5}
body.admin-page .section-title{padding:16px 18px;border-bottom:1px solid var(--admin-border)}
body.admin-page .section-title h2,
body.admin-page .admin-section-heading h2{color:#1d293c;font-family:"DM Sans",Inter,system-ui,sans-serif;font-size:16px;font-weight:800}
body.admin-page .section-title p,
body.admin-page .admin-section-heading small{color:#77849a}
body.admin-page .table-scroll{border-radius:0 0 15px 15px}
body.admin-page th{background:#f7f8fb!important;color:#6f7b90}
body.admin-page th,body.admin-page td{border-color:#edf0f5}
body.admin-page td{color:#344156}
body.admin-page .admin-filter{padding:12px}
body.admin-page .admin-form{padding:20px}
body.admin-page .admin-form input,
body.admin-page .admin-form select,
body.admin-page .admin-form textarea,
body.admin-page .admin-filter input,
body.admin-page .admin-filter select,
body.admin-page .status-form select{
 min-height:42px;
 border:1px solid #dce2eb!important;
 border-radius:9px;
 background:#fff!important;
 color:#273348!important;
 font:inherit;
}
body.admin-page .admin-form label{color:#4d5b70}
body.admin-page .admin-form input:focus,
body.admin-page .admin-form select:focus,
body.admin-page .admin-form textarea:focus,
body.admin-page .admin-filter input:focus{
 outline:0;
 border-color:#d62828!important;
 box-shadow:0 0 0 3px rgba(214,40,40,.11);
}
body.admin-page .admin-form-main>a{color:#b51f1f}
body.admin-page .admin-menu-toggle{display:none}
body.admin-page .status.pending,
body.admin-page .status.processing{background:#fff4d8!important;color:#98620c!important}
body.admin-page .status.active,
body.admin-page .status.approved{background:#e7f7ee!important;color:#21804b!important}
body.admin-page .status.blocked,
body.admin-page .status.rejected{background:#ffebeb!important;color:#b5232a!important}
body.admin-page .admin-sidebar :focus-visible,
body.admin-page .admin-main :focus-visible{outline:3px solid rgba(255,201,91,.8);outline-offset:2px}

@media(max-width:1100px) and (min-width:851px){
 body.admin-page{--admin-sidebar-width:236px}
 body.admin-page .admin-sidebar{padding-right:11px;padding-left:11px}
 body.admin-page .admin-main{padding-right:22px;padding-left:22px}
 body.admin-page .admin-head-actions{flex-wrap:wrap;justify-content:flex-end}
}
@media(max-width:850px){
 body.admin-page{--admin-sidebar-width:300px;padding-top:68px!important}
 body.admin-page.admin-shell-ready{padding-top:68px!important}
 body.admin-page .admin-mobile-header{
  position:fixed;
  z-index:1000;
  inset:0 0 auto;
  display:grid;
  grid-template-columns:44px minmax(0,1fr) 44px;
  align-items:center;
  height:60px;
  padding:0 14px;
  border:0;
  border-bottom:1px solid #e5eaf1;
  background:rgba(255,255,255,.96)!important;
  box-shadow:0 4px 16px rgba(30,46,69,.08);
  backdrop-filter:blur(12px);
 }
 body.admin-page .admin-mobile-header>strong{overflow:hidden;color:#1d293c;font:800 14px/1.2 "DM Sans",Inter,system-ui,sans-serif;text-align:center;text-overflow:ellipsis;white-space:nowrap}
 body.admin-page .admin-mobile-spacer{width:44px}
 body.admin-page .admin-menu-toggle{
  position:static;
  display:grid;
  align-content:center;
  gap:4px;
  width:40px;
  height:40px;
  padding:10px;
  border:1px solid #e4e8ef;
  border-radius:11px;
  background:#fff!important;
  box-shadow:0 2px 5px rgba(30,46,69,.06);
  cursor:pointer;
 }
 body.admin-page .admin-menu-toggle span{display:block;width:100%;height:2px;border-radius:2px;background:#26344a!important}
 body.admin-page .admin-sidebar{
  inset:8px auto 8px 8px;
  width:min(86vw,310px);
  padding:18px 13px 14px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:18px;
  background:#172235!important;
  box-shadow:16px 0 46px rgba(16,27,43,.3);
  transform:translateX(calc(-100% - 12px));
 }
 body.admin-page.admin-menu-open .admin-sidebar{transform:translateX(0)}
 body.admin-page .admin-sidebar .wordmark{margin-right:42px;padding:2px 6px 15px}
 body.admin-page .admin-sidebar nav{gap:12px}
 body.admin-page .admin-nav-label{padding-bottom:4px}
 body.admin-page .admin-sidebar nav a{min-height:43px;font-size:12px}
 body.admin-page .admin-menu-close{
  position:absolute;
  z-index:3;
  top:17px;
  right:14px;
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  padding:0;
  border:1px solid rgba(255,255,255,.17);
  border-radius:50%;
  background:rgba(255,255,255,.08)!important;
  color:#fff!important;
  font:300 25px/1 Arial,sans-serif;
  cursor:pointer;
 }
 body.admin-page .admin-menu-overlay{
  position:fixed;
  z-index:1001;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  padding:0;
  border:0;
  background:rgba(17,26,41,.55);
  opacity:0;
  visibility:hidden;
  transition:opacity .2s ease,visibility .2s ease;
 }
 body.admin-page.admin-menu-open .admin-menu-overlay{opacity:1;visibility:visible}
 body.admin-page.admin-menu-open{overflow:hidden}
 body.admin-page .admin-main{width:auto;max-width:none;min-height:calc(100vh - 68px);margin:0;padding:18px 16px 28px}
 body.admin-page .admin-main>header,
 body.admin-page .admin-editor-head{align-items:flex-start;flex-direction:column;gap:12px}
 body.admin-page .admin-head-actions{justify-content:flex-start}
 body.admin-page.admin-shell-ready .admin-form-main{width:min(calc(100% - 28px),1100px);max-width:1100px;margin:14px auto 24px}
}
@media(max-width:560px){
 body.admin-page .admin-main{padding-right:12px;padding-left:12px}
 body.admin-page .admin-main>header{margin-bottom:16px}
 body.admin-page .admin-head-actions{gap:7px}
 body.admin-page .admin-head-actions .primary-button{min-height:38px;padding:9px 11px;font-size:11px}
 body.admin-page .stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 body.admin-page .stat-grid article{min-width:0;padding:13px}
 body.admin-page .stat-grid strong{font-size:22px;overflow-wrap:anywhere}
 body.admin-page .admin-filter{grid-template-columns:minmax(0,1fr) auto auto;gap:7px;padding:9px}
 body.admin-page .admin-filter input:first-child{grid-column:1/-1}
 body.admin-page .admin-filter input,
 body.admin-page .admin-filter select{min-width:0}
 body.admin-page .admin-filter button,
 body.admin-page .admin-filter a{min-height:40px;padding:9px 10px}
 body.admin-page .admin-form{grid-template-columns:minmax(0,1fr);padding:15px}
 body.admin-page .admin-form .full{grid-column:auto}
 body.admin-page .admin-edit-grid{grid-template-columns:minmax(0,1fr)}
 body.admin-page .admin-edit-grid .admin-bank-editor{grid-column:auto}
 body.admin-page .admin-main .admin-badge{white-space:nowrap}
}
@media(max-width:380px){
 body.admin-page .admin-mobile-header{grid-template-columns:40px minmax(0,1fr) 40px;padding:0 10px}
 body.admin-page .admin-mobile-header>strong{font-size:13px}
 body.admin-page .admin-main{padding-right:10px;padding-left:10px}
 body.admin-page .admin-head-actions{width:100%}
 body.admin-page .admin-head-actions .primary-button{flex:1}
 body.admin-page .admin-filter{grid-template-columns:minmax(0,1fr) auto}
 body.admin-page .admin-filter input:first-child{grid-column:1/-1}
 body.admin-page .admin-filter a{grid-column:2}
}
@media(prefers-reduced-motion:reduce){
 body.admin-page .admin-sidebar,
 body.admin-page .admin-menu-overlay,
 body.admin-page .admin-sidebar nav a{transition:none}
}

/* Profile page: align the account overview with the dashboard cards. */
body.store-page.profile-page .profile-main{display:grid;gap:18px;padding-top:18px!important}
body.store-page.profile-page .profile-head{position:relative;min-width:0;padding:20px!important;gap:13px;border-radius:20px;background:linear-gradient(135deg,#b51f1f,#d62828 62%,#ef5350)!important;box-shadow:0 12px 24px rgba(120,34,20,.2)}
body.store-page.profile-page .profile-head>img{flex:0 0 62px;width:62px;height:62px;border:2px solid rgba(255,255,255,.8);background:#fff;object-fit:contain}
body.store-page.profile-page .profile-identity{min-width:0;flex:1}
body.store-page.profile-page .profile-eyebrow{font-size:10px;font-weight:800;letter-spacing:.11em;color:#ffe9a3}
body.store-page.profile-page .profile-head h1{margin:3px 0 6px;font-size:20px;line-height:1.2;overflow-wrap:anywhere}
body.store-page.profile-page .uid-row{min-width:0;flex-wrap:wrap;gap:6px;margin:0}
body.store-page.profile-page .profile-uid-label{font-size:11px;color:rgba(255,255,255,.8)}
body.store-page.profile-page .uid-row code{min-width:0;color:#fff;font-size:12px;overflow-wrap:anywhere}
body.store-page.profile-page .uid-row button{flex:0 0 28px;width:28px;height:28px}
body.store-page.profile-page .vip-badge{align-self:flex-start;flex:0 0 auto;padding:6px 9px;border:1px solid rgba(255,255,255,.45);border-radius:999px;background:#f4c400;color:#4b210f;font-size:11px;white-space:nowrap}
body.store-page.profile-page .profile-section-heading{display:flex;align-items:end;justify-content:space-between;margin:0 2px 9px}
body.store-page.profile-page .profile-section-heading>div>span{font-size:10px;font-weight:800;letter-spacing:.1em;color:#b51f1f}
body.store-page.profile-page .profile-section-heading h2{margin:2px 0 0;color:#211a16;font-size:18px;line-height:1.25}
body.store-page.profile-page .profile-wallets{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}
body.store-page.profile-page .profile-wallet-card{display:flex;align-items:flex-start;min-width:0;gap:10px;padding:14px 12px;border:1px solid #f0d5a0;border-radius:16px;background:#fff!important;box-shadow:0 7px 18px rgba(120,70,0,.09);text-align:left;text-decoration:none;transition:transform .18s ease,box-shadow .18s ease}
body.store-page.profile-page .profile-wallet-card:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(120,70,0,.14)}
body.store-page.profile-page .profile-wallet-icon{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:11px;background:#fff3a3;color:#b51f1f}
body.store-page.profile-page .profile-wallet-icon svg{width:19px;height:19px}
body.store-page.profile-page .profile-wallet-copy{display:grid;min-width:0;gap:3px}
body.store-page.profile-page .profile-wallet-copy small{color:#735f3b;font-size:11px}
body.store-page.profile-page .profile-wallet-copy strong{color:#211a16;font-size:17px;overflow-wrap:anywhere}
body.store-page.profile-page .profile-wallet-copy em{display:flex;justify-content:space-between;align-items:center;margin-top:2px;color:#b51f1f;font-size:11px;font-style:normal;font-weight:700}
body.store-page.profile-page .profile-wallet-copy em span{font-size:17px;line-height:12px}
body.store-page.profile-page .profile-links-section{min-width:0}
body.store-page.profile-page .profile-menu{gap:0;margin:0;overflow:hidden;border:1px solid #f0d5a0;border-radius:17px;background:#fff;box-shadow:0 8px 20px rgba(120,70,0,.08)}
body.store-page.profile-page .profile-menu a{min-width:0;min-height:61px;gap:11px;padding:10px 13px;border:0;border-bottom:1px solid #f3ead8;border-radius:0;background:#fff!important}
body.store-page.profile-page .profile-menu a:last-child{border-bottom:0}
body.store-page.profile-page .profile-menu a>span{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:12px;background:#fff3a3;color:#b51f1f}
body.store-page.profile-page .profile-menu a>span svg{width:20px;height:20px}
body.store-page.profile-page .profile-menu a>div{min-width:0;gap:2px}
body.store-page.profile-page .profile-menu b{color:#211a16;font-size:13px}
body.store-page.profile-page .profile-menu small{font-size:11px;line-height:1.3}
body.store-page.profile-page .profile-menu i{font-size:23px;line-height:1;color:#b59a78}
body.store-page.profile-page .profile-menu em{flex:0 0 auto}
body.store-page.profile-page .profile-menu .profile-logout b,
body.store-page.profile-page .profile-menu .profile-logout i{color:#b51f1f}
@media(max-width:360px){
 body.store-page.profile-page .profile-head{gap:9px;padding:16px!important}
 body.store-page.profile-page .profile-head>img{flex-basis:50px;width:50px;height:50px}
 body.store-page.profile-page .profile-head h1{font-size:17px}
 body.store-page.profile-page .vip-badge{padding:5px 7px;font-size:10px}
 body.store-page.profile-page .profile-wallet-card{gap:7px;padding:12px 9px}
 body.store-page.profile-page .profile-wallet-icon{flex-basis:30px;width:30px;height:30px}
 body.store-page.profile-page .profile-wallet-copy strong{font-size:15px}
}
/* Final Share viewport guard: keep every shell inside narrow phone widths. */
body.store-page.share-page{width:100%;max-width:100%;overflow-x:hidden}
body.store-page.share-page .app-page-header,
body.store-page.share-page .share-shell,
body.store-page.share-page .bottom-nav{width:min(480px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;min-width:0;box-sizing:border-box}
body.store-page.share-page .app-page-header,
body.store-page.share-page .share-shell{margin-left:auto!important;margin-right:auto!important}
body.store-page.share-page .share-shell{padding-left:12px!important;padding-right:12px!important;overflow:hidden}
body.store-page.share-page .share-card>div span,
body.store-page.share-page .share-card>div strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:480px){
 body.store-page.share-page .app-page-header,
 body.store-page.share-page .share-shell,
 body.store-page.share-page .bottom-nav{max-width:100%!important}
}
/* Keep Share aligned with the centered Team shell on every viewport. */
body.store-page.share-page .app-page-header,
body.store-page.share-page .bottom-nav{width:min(var(--ui-width),100%)!important;max-width:var(--ui-width)!important;box-sizing:border-box}
body.store-page.share-page .app-page-header{margin-left:auto!important;margin-right:auto!important}
body.store-page.share-page .bottom-nav{left:50%!important;right:auto!important;transform:translateX(-50%)!important}
body.store-page.share-page .share-shell{width:min(var(--ui-width),100%)!important;max-width:var(--ui-width)!important;min-width:0!important;margin-left:auto!important;margin-right:auto!important;padding:18px 14px 88px!important;box-sizing:border-box;overflow:hidden}
body.store-page.share-page .share-card>div{min-width:0;max-width:100%;overflow:hidden}
body.store-page.share-page .share-card>div span{display:block;flex:1 1 0%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.store-page.share-page .share-card>div .copy-button{flex:0 0 auto;white-space:nowrap}
/* Second team-page visual pass. */
.premium-team-page .referral-shell{max-width:760px!important;padding-top:18px!important}.premium-team-page .team-hero{display:grid;grid-template-columns:1fr auto;align-items:end;min-height:175px;padding:24px 22px;background:radial-gradient(circle at 90% 18%,rgba(244,196,0,.55),transparent 30%),linear-gradient(135deg,#b51f1f,#d62828 58%,#ef5350);border-radius:24px}.premium-team-page .team-hero h1{font-size:29px;max-width:330px}.premium-team-page .team-hero p{max-width:320px}.premium-team-page .team-hero a{align-self:end;margin:0;padding:11px 14px;box-shadow:0 7px 14px rgba(111,35,22,.2)}.premium-team-page .team-rate-grid{grid-template-columns:repeat(3,1fr)}.premium-team-page .team-rate-grid article{position:relative;overflow:hidden;padding:14px 8px;border-radius:18px;background:linear-gradient(145deg,#fff3a3,#ffe66b)}.premium-team-page .team-rate-grid article:before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:#d62828}.premium-team-page .team-rate-grid article strong{font-size:24px}.premium-team-page .team-account{padding:18px;border-radius:22px;background:linear-gradient(145deg,#fff3a3,#ffe66b)!important}.premium-team-page .team-account-person{padding-bottom:14px;border-bottom:1px solid #d8aa00}.premium-team-page .team-account-person img{width:54px;height:54px;box-shadow:0 5px 10px rgba(120,70,0,.15)}.premium-team-page .team-summary{grid-template-columns:repeat(5,1fr);margin-top:14px}.premium-team-page .team-summary span{min-height:58px;align-content:center;border-radius:12px;background:#fff3a3}.premium-team-page .team-summary b{font-size:14px}.premium-team-page .team-level{border-radius:22px}.premium-team-page .team-level>header{padding:15px 17px;background:linear-gradient(135deg,#d62828,#b51f1f)}.premium-team-page .team-level>header span,.premium-team-page .team-level>header small,.premium-team-page .team-level>header h2,.premium-team-page .team-level>header b,.premium-team-page .team-level>header>div:last-child small:last-child{color:#fff!important}.premium-team-page .team-member-list{padding:4px 14px}.premium-team-page .team-member-list article{margin:0;padding:13px 3px}.premium-team-page .team-member-list article:last-child{padding-bottom:14px}.premium-team-page .team-avatar{width:42px;height:42px;flex-basis:42px;border-radius:13px;font-size:15px}.premium-team-page .team-member-list article>div{gap:3px}.premium-team-page .team-member-list article b{font-size:12px}.premium-team-page .team-member-list .status{padding:5px 7px;border-radius:99px;background:#fff3a3;font-weight:800}.premium-team-page .team-member-list .status.active{background:#dff2df}.premium-team-page .team-member-list .status.inactive{background:#ffe0db}@media(max-width:600px){.premium-team-page .team-hero{grid-template-columns:1fr;min-height:0}.premium-team-page .team-hero a{justify-self:start;margin-top:15px}.premium-team-page .team-summary{grid-template-columns:repeat(2,1fr)}.premium-team-page .team-summary span:last-child{grid-column:auto}}@media(max-width:380px){.premium-team-page .team-rate-grid article strong{font-size:20px}.premium-team-page .team-member-list article{gap:7px}}

/* Match Share to the centered 480px shell used by the Income page. */
body.store-page.share-page .app-page-header,
body.store-page.share-page .share-shell,
body.store-page.share-page .bottom-nav{width:min(var(--ui-width),100%)!important;max-width:var(--ui-width)!important;min-width:0!important;box-sizing:border-box}
body.store-page.share-page .app-page-header,
body.store-page.share-page .share-shell{margin-left:auto!important;margin-right:auto!important}
body.store-page.share-page .share-shell{padding:16px 14px 88px!important;overflow:hidden}
body.store-page.share-page .bottom-nav{left:50%!important;right:auto!important;transform:translateX(-50%)!important}
body.store-page.share-page .share-card>div{min-width:0;max-width:100%;overflow:hidden}
body.store-page.share-page .share-card>div span{display:block;flex:1 1 0%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.store-page.share-page .share-card>div .copy-button{flex:0 0 auto;white-space:nowrap}

/* Final Share viewport guard: keep every shell inside narrow phone widths. */
body.store-page.share-page{width:100%;max-width:100%;overflow-x:hidden}
body.store-page.share-page .app-page-header,
body.store-page.share-page .share-shell,
body.store-page.share-page .bottom-nav{width:min(480px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;min-width:0;box-sizing:border-box}
body.store-page.share-page .app-page-header,
body.store-page.share-page .share-shell{margin-left:auto!important;margin-right:auto!important}
body.store-page.share-page .share-shell{padding-left:12px!important;padding-right:12px!important;overflow:hidden}
body.store-page.share-page .share-card>div span,
body.store-page.share-page .share-card>div strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* Keep Profile visually in the same family as Team: one centered shell,
   red hero treatment, yellow cards, and simple red dividers. */
body.store-page.profile-page.premium-profile-page .profile-main{
  width:min(var(--ui-width),100%);
  max-width:var(--ui-width);
  margin:0 auto;
  padding:16px 14px 96px;
  gap:14px;
}
body.store-page.profile-page.premium-profile-page .profile-head{
  border-radius:20px;
  background:radial-gradient(circle at 92% 10%,rgba(244,196,0,.5),transparent 30%),linear-gradient(135deg,#a91616,#d62828 62%,#ef5350)!important;
}
body.store-page.profile-page.premium-profile-page .profile-head>img{
  width:54px;
  height:54px;
  flex-basis:54px;
  border-radius:50%;
  object-fit:contain;
}
body.store-page.profile-page.premium-profile-page .profile-wallet-section,
body.store-page.profile-page.premium-profile-page .profile-links-section{
  min-width:0;
  overflow:hidden;
  padding:15px;
  border:2px solid #d62828;
  border-radius:18px;
  background:#fff3a3;
  box-shadow:0 10px 22px rgba(120,70,0,.12);
}
body.store-page.profile-page.premium-profile-page .profile-section-heading{margin:0 2px 10px}
body.store-page.profile-page.premium-profile-page .profile-wallets{gap:8px}
body.store-page.profile-page.premium-profile-page .profile-wallet-card{
  min-width:0;
  border:1px solid rgba(214,40,40,.55);
  border-radius:12px;
  background:#ffe66b!important;
  box-shadow:none;
}
body.store-page.profile-page.premium-profile-page .profile-menu{
  gap:0;
  margin:0;
  overflow:hidden;
  border:1px solid rgba(214,40,40,.55);
  border-radius:12px;
  background:#ffe66b;
  box-shadow:none;
}
body.store-page.profile-page.premium-profile-page .profile-menu a{
  min-height:56px;
  padding:10px 9px;
  border:0;
  border-bottom:1px solid rgba(214,40,40,.45);
  border-radius:0;
  background:transparent!important;
}
body.store-page.profile-page.premium-profile-page .profile-menu a:last-child{border-bottom:0}
body.store-page.profile-page.premium-profile-page .profile-menu a>span{
  width:32px;
  height:32px;
  flex-basis:32px;
  border-radius:10px;
  background:#f4c400;
  color:#111;
}
body.store-page.profile-page.premium-profile-page .profile-menu i{color:#b51f1f}
body.store-page.profile-page.premium-profile-page .profile-menu .profile-logout{background:#ffe0db!important}
@media(max-width:420px){
  body.store-page.profile-page.premium-profile-page .profile-main{padding-left:12px;padding-right:12px}
  body.store-page.profile-page.premium-profile-page .profile-wallet-section,
  body.store-page.profile-page.premium-profile-page .profile-links-section{padding:12px}
}

  /* Shared customer-page design system: warm yellow surfaces, red accents, one shell. */
  body.store-page{
    --brand-primary:#d62828;
    --brand-copper:#b51f1f;
    --brand-gold:#f4c400;
    --brand-soft:#fff3a3;
    --brand-surface:#fff3a3;
    --app-green:#d62828;
    --green:#d62828;
    min-height:100vh;
    overflow-x:hidden;
    background:linear-gradient(180deg,#fff9e5 0,#fff3c4 58%,#fff8e8 100%)!important;
    color:#111;
  }
  body.store-page .app-page-header{
    position:relative;
    left:auto;
    width:min(var(--ui-width),100%);
    max-width:var(--ui-width);
    height:48px;
    margin:0 auto;
    padding:0 14px;
    border:0;
    border-bottom:2px solid #d62828;
    border-radius:0 0 18px 18px;
    background:linear-gradient(180deg,#ffe45c,#f4c400)!important;
    color:#111;
    box-shadow:0 8px 18px rgba(120,70,0,.14);
  }
  body.store-page .app-page-header>a,
  body.store-page .app-page-header strong{color:#111!important}
  body.store-page .app-page-header>a{font-size:26px}
  body.store-page .header-brand{display:flex;align-items:center;justify-content:center;gap:8px}
  body.store-page .header-brand img{width:29px;height:29px;object-fit:cover;border-radius:9px;background:#fff}
  body.store-page .header-brand strong{font-size:16px;font-weight:900}
  body.store-page .bottom-nav{
    left:50%;
    right:auto;
    width:min(var(--ui-width),100%);
    max-width:var(--ui-width);
    height:calc(64px + env(safe-area-inset-bottom));
    transform:translateX(-50%);
    border-top:2px solid #d62828;
    background:linear-gradient(180deg,#fff3a3,#ffe45c)!important;
    box-shadow:0 -8px 22px rgba(120,70,0,.14);
  }
  body.store-page .bottom-nav a{color:#6d4b31}
  body.store-page .bottom-nav a.active{color:#111}
  body.store-page .bottom-nav a.active:before{
    top:-9px;
    width:50px;
    height:32px;
    border:0;
    border-radius:50% 50% 0 0;
    background:#d62828;
  }
  body.store-page .bottom-nav a.active>span{
    border-radius:11px;
    background:#f4c400;
    color:#111;
  }
  body.store-page .bottom-nav svg{stroke-width:2}
  body.store-page .page-main,
  body.store-page .wallet-main,
  body.store-page .profile-main,
  body.store-page .referral-shell,
  body.store-page .share-shell,
  body.store-page .purchase-page{
    width:min(var(--ui-width),100%);
    max-width:var(--ui-width);
    min-width:0;
    margin:0 auto;
    padding:16px 14px 96px;
    box-sizing:border-box;
  }
  body.store-page .store-title{
    margin:4px 0 14px;
    padding:14px 16px;
    border:2px solid #d62828;
    border-radius:16px;
    background:#fff3a3;
    box-shadow:0 8px 18px rgba(120,70,0,.1);
  }
  body.store-page .store-title h1,
  body.store-page .store-title h2{margin:0;color:#111;font-size:22px}
  body.store-page .store-title .eyebrow{color:#b51f1f}
  body.store-page .cart-list,
  body.store-page .order-summary,
  body.store-page .settings-card,
  body.store-page .share-card,
  body.store-page .qr-card,
  body.store-page .orders-list,
  body.store-page .message-list,
  body.store-page .product-detail,
  body.store-page .member-summary,
  body.store-page .wallet-box,
  body.store-page .wallet-history,
  body.store-page .bank-summary,
  body.store-page .amount-options,
  body.store-page .pay-method,
  body.store-page .checkout-form,
  body.store-page .about-card,
  body.store-page .income-history-card,
  body.store-page .income-summary,
  body.store-page .purchase-card{
    border:2px solid #d62828;
    border-radius:18px;
    background:#fff3a3!important;
    box-shadow:0 10px 22px rgba(120,70,0,.1);
  }
  body.store-page .cart-item,
  body.store-page .wallet-history article,
  body.store-page .bank-summary p,
  body.store-page .team-member-list article{border-color:rgba(214,40,40,.38)}
  body.store-page .money-input,
  body.store-page .wallet-page input,
  body.store-page input,
  body.store-page select,
  body.store-page textarea{
    border-color:#d62828;
    border-radius:10px;
  }
  body.store-page input:focus-visible,
  body.store-page select:focus-visible,
  body.store-page textarea:focus-visible,
  body.store-page button:focus-visible,
  body.store-page a:focus-visible{
    outline:2px solid #d62828;
    outline-offset:3px;
  }
  body.store-page .wallet-submit,
  body.store-page .primary-button,
  body.store-page .copy-button,
  body.store-page .section-action a,
  body.store-page .add-button,
  body.store-page .payment-proceed,
  body.store-page .plan-buy{
    border-color:#a91616;
    border-radius:11px;
    background:linear-gradient(135deg,#d62828,#a91616)!important;
    color:#fff!important;
  }
  body.store-page .bind-button,
  body.store-page .amount-options button,
  body.store-page .profile-wallets article{
    border-color:#d62828;
    background:#ffe66b!important;
    color:#111;
  }
  body.store-page .profile-wallets article,
  body.store-page .profile-menu a,
  body.store-page .income-item{border-color:#d62828}
  body.store-page .state.pending,
  body.store-page .state.processing{border:1px solid #d62828;background:#fff8d6;color:#6d291d}
  @media(max-width:520px){
    body.store-page .page-main,
    body.store-page .wallet-main,
    body.store-page .profile-main,
    body.store-page .referral-shell,
    body.store-page .share-shell,
    body.store-page .purchase-page{padding:14px 12px 96px}
  }

  body.store-page .bottom-nav{
    height:calc(72px + env(safe-area-inset-bottom));
    padding:6px 8px calc(6px + env(safe-area-inset-bottom));
    border:1px solid rgba(214,40,40,.22);
    border-bottom:0;
    border-radius:18px 18px 0 0;
    background:linear-gradient(180deg,#fff9d8,#ffe875)!important;
    box-shadow:0 -8px 24px rgba(110,45,20,.16);
  }
  body.store-page .bottom-nav a{
    gap:2px;
    border-radius:12px;
    color:#75533d;
    font-size:10px;
    font-weight:700;
    line-height:1;
    transition:color .18s ease,background-color .18s ease;
  }
  body.store-page .bottom-nav a:before,
  body.store-page .bottom-nav a.active:before{display:none}
  body.store-page .bottom-nav a>span{
    width:38px;
    height:34px;
    border-radius:11px;
    color:inherit;
    transition:background-color .18s ease,color .18s ease,transform .18s ease;
  }
  body.store-page .bottom-nav svg{width:22px;height:22px;stroke-width:2}
  body.store-page .bottom-nav a.active{
    color:#b51f1f;
    background:rgba(255,255,255,.52);
  }
  body.store-page .bottom-nav a.active>span{
    transform:none;
    background:#d62828;
    color:#fff3a3;
  }
  body.store-page .bottom-nav a:focus-visible{
    outline:2px solid #a91616;
    outline-offset:-2px;
  }
  @media(max-width:360px){
    body.store-page .bottom-nav a{font-size:9px}
    body.store-page .bottom-nav a>span{width:34px;height:32px}
    body.store-page .bottom-nav svg{width:20px;height:20px}
  }

  /* Shared system-font admin styling; page-specific adjustments stay in this file. */
  body.admin-page{
    font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
  }
  body.admin-page.admin-fee-page{
    background:#f5f6f8!important;
    color:#252a32;
  }
  body.admin-page.admin-fee-page .admin-main{
    width:min(calc(100% - 40px),1100px);
    max-width:1100px;
    margin:0 auto;
    padding:30px 0;
    font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
  }
  body.admin-page.admin-fee-page .admin-main>header{
    margin-bottom:18px;
    padding-bottom:14px;
    border-bottom:1px solid #dfe2e7;
  }
  body.admin-page.admin-fee-page .admin-main .eyebrow{
    color:#b51f1f;
    font-family:inherit;
    font-size:10px;
    font-weight:700;
    letter-spacing:.08em;
  }
  body.admin-page.admin-fee-page .admin-main header h1{
    margin:4px 0;
    color:#242830;
    font-family:inherit;
    font-size:26px;
    font-weight:700;
    letter-spacing:0;
  }
  body.admin-page.admin-fee-page .admin-main header p{
    margin:0;
    color:#626975;
    font-size:13px;
  }
  body.admin-page.admin-fee-page .admin-filter{
    grid-template-columns:minmax(0,1fr) auto auto;
    align-items:center;
    gap:8px;
    padding:12px;
    border:1px solid #dfe2e7!important;
    border-radius:10px;
    background:#fff!important;
    box-shadow:none;
  }
  body.admin-page.admin-fee-page .admin-filter input{
    min-width:0;
    border-color:#cfd4dc!important;
    border-radius:7px;
    background:#fff!important;
    color:#252a32!important;
    font:inherit;
  }
  body.admin-page.admin-fee-page .admin-filter button{
    min-height:42px;
    padding:10px 15px;
    border:0;
    border-radius:7px;
    background:#b51f1f!important;
    box-shadow:none;
    color:#fff!important;
    font-family:inherit;
    font-size:13px;
    font-weight:600;
    line-height:1.2;
  }
  body.admin-page.admin-fee-page .admin-filter a{
    min-height:42px;
    padding:10px 13px;
    border:1px solid #cfd4dc;
    border-radius:7px;
    color:#454b55;
    font-size:13px;
    font-weight:600;
  }
  body.admin-page.admin-fee-page .settings-card,
  body.admin-page.admin-fee-page .table-card{
    margin:0 0 16px;
    border:1px solid #dfe2e7!important;
    border-radius:10px;
    background:#fff!important;
    box-shadow:0 2px 8px rgba(25,32,44,.04);
  }
  body.admin-page.admin-fee-page .settings-card{
    padding:18px;
  }
  body.admin-page.admin-fee-page .settings-card h2{
    margin:0 0 5px;
    color:#252a32;
    font-family:inherit;
    font-size:16px;
    font-weight:650;
  }
  body.admin-page.admin-fee-page .settings-card>p{
    margin:0;
    color:#626975;
    font-size:12px;
    line-height:1.5;
  }
  body.admin-page.admin-fee-page .admin-form{
    gap:12px;
    margin:14px 0 0;
    padding:14px;
    border:1px solid #e4e6ea!important;
    border-radius:8px;
    background:#fafbfc!important;
    box-shadow:none;
  }
  body.admin-page.admin-fee-page .admin-form label{
    color:#353a43;
    font-size:12px;
    font-weight:650;
  }
  body.admin-page.admin-fee-page .admin-form input{
    border-color:#cfd4dc!important;
    border-radius:7px;
    font:inherit;
  }
  body.admin-page.admin-fee-page .admin-form input:focus,
  body.admin-page.admin-fee-page .admin-filter input:focus{
    border-color:#b51f1f!important;
    box-shadow:0 0 0 2px rgba(181,31,31,.12);
  }
  body.admin-page.admin-fee-page .admin-form .admin-help{
    margin:0;
    color:#626975;
    font-size:12px;
    line-height:1.5;
  }
  body.admin-page.admin-fee-page .admin-form .primary-button{
    justify-self:start;
    min-height:40px;
    padding:10px 16px;
    border-radius:7px;
    background:#b51f1f!important;
    box-shadow:none;
    font-family:inherit;
    font-size:13px;
    font-weight:600;
    line-height:1.2;
  }
  body.admin-page.admin-fee-page .section-title{
    padding:14px 16px;
    border-bottom:1px solid #e4e6ea;
  }
  body.admin-page.admin-fee-page .section-title h2{
    margin:0;
    color:#252a32;
    font-family:inherit;
    font-size:15px;
    font-weight:650;
  }
  body.admin-page.admin-fee-page .section-title p{
    margin:3px 0 0;
    color:#626975;
    font-size:12px;
  }
  body.admin-page.admin-fee-page table{
    min-width:560px;
    font-family:inherit;
  }
  body.admin-page.admin-fee-page th{
    background:#f4f5f7!important;
    color:#535a65;
    font-family:inherit;
    font-size:10px;
    font-weight:700;
  }
  body.admin-page.admin-fee-page td{
    color:#353a43;
    font-size:12px;
  }
  body.admin-page.admin-fee-page td code{
    background:#f1f2f4;
    color:#a51f1f;
    font-family:inherit;
  }
  body.admin-page.admin-fee-page .alert{
    margin:0 0 12px;
    border-radius:8px;
    font-family:inherit;
  }
  @media(max-width:850px){
    body.admin-page.admin-fee-page .admin-main{
      width:min(calc(100% - 28px),700px);
      min-height:0;
      padding:20px 0 28px;
    }
  }
  @media(max-width:560px){
    body.admin-page.admin-fee-page .admin-main{
      width:calc(100% - 24px);
      padding-top:16px;
    }
    body.admin-page.admin-fee-page .admin-main header h1{font-size:23px}
    body.admin-page.admin-fee-page .admin-filter{
      grid-template-columns:minmax(0,1fr) auto;
      padding:10px;
    }
    body.admin-page.admin-fee-page .admin-filter input{grid-column:1/-1}
    body.admin-page.admin-fee-page .admin-filter button,
    body.admin-page.admin-fee-page .admin-filter a{min-height:40px}
    body.admin-page.admin-fee-page .settings-card{padding:14px}
    body.admin-page.admin-fee-page .admin-form{padding:12px}
    body.admin-page.admin-fee-page .section-title{padding:12px}
    body.admin-page.admin-fee-page .table-scroll{overflow-x:auto    }
  }

  /* Fast-loading, responsive customer login and registration. */
  body.auth-page{
    display:grid;
    min-height:100vh;
    min-height:100svh;
    place-items:center;
    padding:24px;
    background:#f5f2ec!important;
    color:#252a32;
    font-family:system-ui,-apple-system,"Segoe UI",sans-serif!important;
  }
  body.auth-page *,
  body.auth-page *::before,
  body.auth-page *::after{
    font-family:system-ui,-apple-system,"Segoe UI",sans-serif!important;
  }
  body.auth-page .auth-shell{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,.94fr);
    width:min(100%,1020px);
    min-height:620px;
    overflow:hidden;
    border:1px solid #e2ded6;
    border-radius:20px;
    background:#fff;
    box-shadow:0 14px 38px rgba(41,35,26,.12);
  }
  body.auth-page .brand-panel{
    position:relative;
    display:flex;
    min-width:0;
    min-height:620px;
    align-items:flex-start;
    justify-content:flex-end;
    overflow:hidden;
    padding:clamp(26px,4vw,48px);
    background:#5d1715!important;
  }
  body.auth-page .brand-panel::before{
    z-index:1;
    background:linear-gradient(180deg,rgba(32,12,8,.05) 15%,rgba(32,12,8,.18) 42%,rgba(32,12,8,.86) 100%);
  }
  body.auth-page .hero-product{
    position:absolute;
    z-index:0;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
  }
  body.auth-page .auth-brand-copy{
    position:relative;
    z-index:2;
    max-width:440px;
    color:#fff;
  }
  body.auth-page .auth-floating-logo{
    position:static;
    display:block;
    width:48px;
    height:48px;
    margin:0 0 14px;
    transform:none;
    border:2px solid rgba(255,255,255,.85);
    border-radius:13px;
    background:#fff;
    box-shadow:0 4px 12px rgba(0,0,0,.2);
    object-fit:cover;
  }
  body.auth-page .auth-brand-copy > span{
    color:#ffe66b;
    font-size:10px;
    font-weight:800;
    letter-spacing:.12em;
  }
  body.auth-page .auth-brand-copy h1{
    margin:8px 0;
    color:#fff;
    font-size:clamp(30px,4vw,42px);
    font-weight:750;
    line-height:1.08;
    letter-spacing:-.035em;
  }
  body.auth-page .auth-brand-copy p{
    max-width:360px;
    margin:0;
    color:rgba(255,255,255,.88);
    font-size:13px;
    line-height:1.6;
  }
  body.auth-page .form-panel{
    display:grid;
    min-width:0;
    align-content:center;
    justify-items:center;
    margin:0;
    padding:36px clamp(24px,4vw,52px);
    border-radius:0;
    background:#fff!important;
  }
  body.auth-page .form-wrap{
    width:min(100%,420px);
    max-width:420px;
    margin:0;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
  }
  body.auth-page .auth-tabs{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:4px;
    margin:0 0 20px;
    padding:4px;
    border:1px solid #e5e1da;
    border-radius:10px;
    background:#f6f5f2;
  }
  body.auth-page .auth-tabs::after{display:none}
  body.auth-page .auth-tabs a{
    display:grid;
    min-height:38px;
    place-items:center;
    padding:8px 12px;
    border-radius:7px;
    color:#626975;
    font-size:13px;
    font-weight:650;
    text-decoration:none;
  }
  body.auth-page .auth-tabs a.active{
    background:#fff;
    color:#a91616;
    box-shadow:0 1px 4px rgba(25,32,44,.12);
  }
  body.auth-page .auth-tabs a.active::after{display:none}
  body.auth-page .auth-intro{
    margin:0 0 18px;
  }
  body.auth-page .auth-intro h2{
    margin:0;
    color:#252a32;
    font-size:24px;
    font-weight:700;
    letter-spacing:-.025em;
  }
  body.auth-page .auth-intro p{
    margin:5px 0 0;
    color:#69717d;
    font-size:12px;
    line-height:1.5;
  }
  body.auth-page .auth-form{
    display:grid;
    gap:14px;
  }
  body.auth-page .auth-form label{
    display:grid;
    min-width:0;
    gap:6px;
    color:#363b44;
    font-size:12px;
    font-weight:650;
    letter-spacing:0;
  }
  body.auth-page .auth-form label > small{
    margin:0;
    color:#737b86;
    font-size:10px;
    font-weight:400;
  }
  body.auth-page .auth-form input:not([type="hidden"]){
    width:100%;
    min-width:0;
    min-height:46px;
    padding:11px 12px;
    border:1px solid #d7dbe1!important;
    border-radius:8px;
    outline:0;
    background:#fff!important;
    color:#252a32!important;
    font-size:13px;
    box-shadow:none;
    transition:border-color .15s ease,box-shadow .15s ease;
  }
  body.auth-page .auth-form input:not([type="hidden"])::placeholder{color:#9ba1a9}
  body.auth-page .auth-form input:not([type="hidden"]):focus{
    border-color:#b51f1f!important;
    background:#fff!important;
    box-shadow:0 0 0 3px rgba(181,31,31,.1);
  }
  body.auth-page .auth-form input[readonly]{background:#f4f5f7;color:#5b616b}
  body.auth-page .phone-field,
  body.auth-page .password-field{
    display:flex;
    min-width:0;
    align-items:center;
  }
  body.auth-page .phone-field b{
    left:12px;
    color:#454b55;
    font-size:12px;
  }
  body.auth-page .phone-field input{padding-left:48px!important}
  body.auth-page .password-field input{padding-right:46px!important}
  body.auth-page .toggle-password{
    right:4px;
    display:grid;
    width:36px;
    height:36px;
    place-items:center;
    padding:8px;
    border:0;
    border-radius:7px;
    background:transparent;
    color:#68717e;
    cursor:pointer;
  }
  body.auth-page .toggle-password:hover,
  body.auth-page .toggle-password:focus-visible{
    outline:0;
    background:#f2f3f5;
    color:#a91616;
  }
  body.auth-page .toggle-password svg{width:19px;height:19px}
  body.auth-page .field-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }
  body.auth-page .primary-button{
    display:flex;
    min-height:46px;
    align-items:center;
    justify-content:center;
    gap:9px;
    margin-top:2px;
    padding:11px 16px;
    border:1px solid #a91616;
    border-radius:8px;
    background:#b51f1f!important;
    box-shadow:0 4px 9px rgba(120,25,25,.16);
    color:#fff!important;
    font-size:13px;
    font-weight:700;
    cursor:pointer;
    transition:background .15s ease,transform .15s ease;
  }
  body.auth-page .primary-button:hover{
    transform:translateY(-1px);
    background:#991818!important;
  }
  body.auth-page .primary-button span{color:#fff}
  body.auth-page .switch-copy{
    margin:2px 0 0;
    color:#626975;
    font-size:12px;
    text-align:center;
  }
  body.auth-page .switch-copy a{
    color:#a91616;
    font-weight:700;
    text-underline-offset:3px;
  }
  body.auth-page .alert{
    margin:0 0 14px;
    border-radius:8px;
    font-size:12px;
  }
  body.auth-page .auth-form :focus-visible,
  body.auth-page .auth-tabs a:focus-visible{
    outline:2px solid #b51f1f;
    outline-offset:2px;
  }
  @media(max-width:760px){
    body.auth-page{display:block;padding:0;background:#f5f2ec!important}
    body.auth-page .auth-shell{
      display:flex;
      flex-direction:column;
      width:min(100%,520px);
      min-height:100vh;
      min-height:100svh;
      margin:0 auto;
      border:0;
      border-radius:0;
      box-shadow:none;
    }
    body.auth-page .brand-panel{
      flex:0 0 auto;
      min-height:0;
      height:190px;
      justify-content:flex-end;
      padding:17px 20px;
    }
    body.auth-page .hero-product{object-position:center 64%}
    body.auth-page .auth-brand-copy{
      display:grid;
      grid-template-columns:auto 1fr;
      align-items:center;
      column-gap:11px;
    }
    body.auth-page .auth-floating-logo{
      grid-row:1/3;
      width:42px;
      height:42px;
      margin:0;
      border-radius:11px;
    }
    body.auth-page .auth-brand-copy > span{font-size:9px}
    body.auth-page .auth-brand-copy h1{
      margin:3px 0 0;
      font-size:23px;
    }
    body.auth-page .auth-brand-copy p{display:none}
    body.auth-page .form-panel{
      flex:1;
      align-content:start;
      padding:22px 20px 30px;
      border-radius:18px 18px 0 0;
    }
    body.auth-page .form-wrap{width:min(100%,440px)}
  }
  @media(max-width:420px){
    body.auth-page .brand-panel{height:170px}
    body.auth-page .form-panel{padding:18px 16px 26px}
    body.auth-page .auth-intro h2{font-size:22px}
    body.auth-page .field-grid{grid-template-columns:minmax(0,1fr)}
  }
  @media(prefers-reduced-motion:reduce){
    body.auth-page *,
    body.auth-page *::before,
    body.auth-page *::after{transition:none!important}
  }

  /* Keep account access inside the same compact red-yellow shell as the user panel. */
  body.auth-page{
    display:grid;
    min-height:100vh;
    min-height:100svh;
    place-items:center;
    padding:14px;
    background:linear-gradient(180deg,#fff9e5 0,#fff3c4 58%,#fff8e8 100%)!important;
    color:#111;
    font-family:system-ui,-apple-system,"Segoe UI",sans-serif!important;
  }
  body.auth-page .auth-shell{
    display:block;
    width:min(var(--ui-width),100%);
    min-height:0;
    overflow:visible;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
  }
  body.auth-page .brand-panel{
    display:block;
    width:100%;
    min-height:0;
    height:auto;
    aspect-ratio:2.2/1;
    margin:0 0 13px;
    padding:0;
    overflow:hidden;
    border:2px solid #d62828;
    border-radius:18px;
    background:#8f1b15!important;
    box-shadow:0 10px 22px rgba(120,34,20,.16);
  }
  body.auth-page .brand-panel::before{display:none}
  body.auth-page .hero-product{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    opacity:1;
  }
  body.auth-page .form-panel{
    display:block;
    min-width:0;
    margin:0;
    padding:0;
    border-radius:0;
    background:transparent!important;
  }
  body.auth-page .form-wrap{
    width:100%;
    max-width:none;
    margin:0;
    padding:16px;
    border:2px solid #d62828;
    border-radius:18px;
    background:linear-gradient(145deg,#fff3a3,#ffe66b);
    box-shadow:0 10px 22px rgba(120,70,0,.12);
  }
  body.auth-page .auth-tabs{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:4px;
    margin:0 0 14px;
    padding:4px;
    border:1px solid rgba(214,40,40,.45);
    border-radius:11px;
    background:#fff9dc;
  }
  body.auth-page .auth-tabs::after,
  body.auth-page .auth-tabs a.active::after{display:none}
  body.auth-page .auth-tabs a{
    display:grid;
    min-height:38px;
    place-items:center;
    padding:8px 12px;
    border-radius:8px;
    color:#735f3b;
    font-size:13px;
    font-weight:700;
    text-decoration:none;
  }
  body.auth-page .auth-tabs a.active{
    background:linear-gradient(135deg,#d62828,#a91616);
    color:#fff;
    box-shadow:0 4px 9px rgba(120,25,25,.16);
  }
  body.auth-page .auth-form{
    display:grid;
    gap:12px;
  }
  body.auth-page .auth-form label{
    display:grid;
    min-width:0;
    gap:5px;
    color:#382a21;
    font-size:12px;
    font-weight:700;
  }
  body.auth-page .auth-form label>small{
    margin:0;
    color:#735f3b;
    font-size:10px;
    font-weight:400;
  }
  body.auth-page .auth-form input:not([type="hidden"]){
    width:100%;
    min-width:0;
    min-height:44px;
    padding:10px 12px;
    border:1px solid rgba(214,40,40,.48)!important;
    border-radius:10px;
    outline:0;
    background:#fff9dc!important;
    color:#211a16!important;
    font-size:13px;
    box-shadow:none;
  }
  body.auth-page .auth-form input:not([type="hidden"])::placeholder{color:#897b68}
  body.auth-page .auth-form input:not([type="hidden"]):focus{
    border-color:#a91616!important;
    background:#fffdf2!important;
    box-shadow:0 0 0 3px rgba(181,31,31,.12);
  }
  body.auth-page .auth-form input[readonly]{
    background:#fff3bf!important;
    color:#5b5145!important;
  }
  body.auth-page .phone-field,
  body.auth-page .password-field{
    display:flex;
    min-width:0;
    align-items:center;
  }
  body.auth-page .phone-field b{left:12px;color:#6d291d;font-size:12px}
  body.auth-page .phone-field input{padding-left:48px!important}
  body.auth-page .password-field input{padding-right:46px!important}
  body.auth-page .toggle-password{
    right:4px;
    display:grid;
    width:36px;
    height:36px;
    place-items:center;
    padding:8px;
    border:0;
    border-radius:8px;
    background:transparent;
    color:#735f3b;
    cursor:pointer;
  }
  body.auth-page .toggle-password:hover,
  body.auth-page .toggle-password:focus-visible{
    outline:0;
    background:#fff3bf;
    color:#a91616;
  }
  body.auth-page .toggle-password svg{width:19px;height:19px}
  body.auth-page .field-grid{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:10px;
  }
  body.auth-page .primary-button{
    display:flex;
    min-height:44px;
    align-items:center;
    justify-content:center;
    gap:8px;
    margin-top:2px;
    padding:11px 16px;
    border:1px solid #a91616;
    border-radius:10px;
    background:linear-gradient(135deg,#d62828,#a91616)!important;
    box-shadow:0 5px 12px rgba(120,25,25,.2);
    color:#fff!important;
    font-size:13px;
    font-weight:800;
    cursor:pointer;
  }
  body.auth-page .primary-button:hover{background:#991818!important}
  body.auth-page .primary-button span{color:#fff}
  body.auth-page .switch-copy{
    margin:2px 0 0;
    color:#594d43;
    font-size:12px;
    text-align:center;
  }
  body.auth-page .switch-copy a{
    color:#a91616;
    font-weight:800;
    text-underline-offset:3px;
  }
  body.auth-page .alert{
    margin:0 0 12px;
    border-radius:9px;
    font-size:12px;
  }
  body.auth-page .auth-form :focus-visible,
  body.auth-page .auth-tabs a:focus-visible{
    outline:2px solid #a91616;
    outline-offset:2px;
  }
  @media(max-width:420px){
    body.auth-page{padding:10px}
    body.auth-page .form-wrap{padding:13px}
    body.auth-page .auth-form input:not([type="hidden"]){font-size:16px}
  }

/* Final Too Yumm login/register layout matching the user panel. */
body.auth-page{display:block;min-height:100svh;padding:0 12px 28px;background:linear-gradient(145deg,#f4c400 0%,#ffe45c 52%,#fff1a8 100%) fixed!important;color:#111;overflow-x:hidden}
body.auth-page .auth-shell{display:grid;grid-template-columns:minmax(0,1fr)!important;grid-auto-flow:row;gap:13px;width:min(480px,100%);min-height:0;margin:0 auto;padding:0 0 20px;background:transparent}
body.auth-page .auth-page-header,body.auth-page .brand-panel,body.auth-page .form-panel{grid-column:1!important;width:100%;min-width:0}
body.auth-page .auth-page-header{display:flex;align-items:center;justify-content:center;gap:9px;min-height:58px;padding:9px 15px;border-radius:0 0 18px 18px;background:linear-gradient(180deg,#ffe45c,#f4c400);box-shadow:0 8px 18px rgba(120,70,0,.14)}
body.auth-page .auth-page-header img{width:36px;height:36px;border:2px solid #fff;border-radius:11px;object-fit:cover;background:#fff}
body.auth-page .auth-page-header span{display:grid;gap:0}
body.auth-page .auth-page-header small{color:#b51f1f;font-size:8px;font-weight:900;letter-spacing:.13em}
body.auth-page .auth-page-header strong{color:#111;font-size:17px}
body.auth-page .brand-panel{position:relative;width:100%;height:auto;min-height:0;aspect-ratio:2.05/1;margin:0;overflow:hidden;border:2px solid #d62828;border-radius:20px;background:#a91616!important;box-shadow:0 11px 23px rgba(120,34,20,.19)}
body.auth-page .brand-panel::after{content:"";position:absolute;z-index:1;inset:0;background:linear-gradient(90deg,rgba(77,5,5,.76) 0%,rgba(110,8,8,.35) 48%,rgba(90,5,5,.06) 76%),linear-gradient(0deg,rgba(25,0,0,.28),transparent 55%);pointer-events:none}
body.auth-page .hero-product{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 61%;filter:saturate(1.06) contrast(1.03)}
body.auth-page .auth-hero-copy{position:absolute;z-index:2;left:19px;top:50%;max-width:55%;transform:translateY(-50%)}
body.auth-page .auth-hero-copy span{color:#fff1a8;font-size:8px;font-weight:900;letter-spacing:.14em}
body.auth-page .auth-hero-copy h1{margin:7px 0 0;color:#fff;font-size:clamp(22px,6vw,31px);line-height:1.03;letter-spacing:-.035em}
body.auth-page .form-panel{display:block;margin:0;padding:0;background:transparent!important}
body.auth-page .form-wrap{width:100%;max-width:none;margin:0;padding:17px;border:2px solid #d62828;border-radius:20px;background:#fff3a3;box-shadow:0 10px 22px rgba(120,70,0,.13)}
body.auth-page .auth-card-heading{margin:0 2px 14px;text-align:center}
body.auth-page .auth-card-heading>span{color:#b51f1f;font-size:8px;font-weight:900;letter-spacing:.13em}
body.auth-page .auth-card-heading h2{margin:4px 0 3px;color:#111;font-size:22px;line-height:1.15}
body.auth-page .auth-card-heading p{margin:0;color:#735f3b;font-size:11px;line-height:1.45}
body.auth-page .auth-tabs{margin-bottom:15px;border:1px solid #d8aa00;background:#ffe66b}
body.auth-page .auth-tabs a{color:#6d291d;font-weight:800}
body.auth-page .auth-tabs a.active{background:linear-gradient(135deg,#d62828,#a91616);color:#fff}
body.auth-page .auth-form input:not([type="hidden"]){border:1px solid #d8aa00!important;background:#fff8c9!important}
body.auth-page .auth-form input:not([type="hidden"]):focus{border-color:#d62828!important;background:#fffdf2!important}
body.auth-page .primary-button{border-color:#a91616;border-radius:11px;background:linear-gradient(135deg,#d62828,#a91616)!important}
@media(max-width:420px){body.auth-page{padding-inline:8px}body.auth-page .auth-shell{gap:10px}body.auth-page .auth-page-header{min-height:54px}body.auth-page .brand-panel{aspect-ratio:1.8/1;border-radius:17px}body.auth-page .auth-hero-copy{left:15px;max-width:62%}body.auth-page .auth-hero-copy h1{font-size:23px}body.auth-page .form-wrap{padding:14px;border-radius:17px}body.auth-page .auth-card-heading h2{font-size:20px}}

/* Reference layout: image first, centered logo, form below. */
body.auth-page{padding-top:12px}
body.auth-page .auth-shell{gap:0}
body.auth-page .auth-page-header,body.auth-page .auth-hero-copy{display:none!important}
body.auth-page .brand-panel{position:relative;z-index:auto;grid-row:auto;aspect-ratio:1.58/1;margin:0 0 -54px;border:0;border-radius:0;overflow:visible}
body.auth-page .brand-panel::after{background:linear-gradient(0deg,#fff3a3 0%,rgba(255,243,163,.96) 18%,rgba(255,243,163,.72) 34%,rgba(255,243,163,.34) 49%,rgba(255,243,163,0) 66%)}
body.auth-page .hero-product{object-position:center 64%}
body.auth-page .auth-floating-brand{position:absolute;z-index:6;left:50%;top:0;display:grid;width:88px;height:88px;place-items:center;margin:0;padding:5px;transform:translate(-50%,-50%);border:2px solid #d62828;border-radius:50%;background:#fff3a3;box-shadow:0 9px 22px rgba(120,34,20,.27)}
body.auth-page .auth-floating-brand img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
body.auth-page .form-panel{position:relative;z-index:4}
body.auth-page .form-wrap{padding-top:76px;background:linear-gradient(180deg,rgba(255,243,163,.86) 0%,rgba(255,243,163,.94) 38%,rgba(255,243,163,.99) 76%,#fff3a3 100%),url("../images/too-yumm-five-pack-auth-poster.png") center top/cover no-repeat}
@media(max-width:420px){body.auth-page{padding-top:8px}body.auth-page .brand-panel{aspect-ratio:1.5/1;margin-bottom:-48px}body.auth-page .auth-floating-brand{top:0;width:78px;height:78px}body.auth-page .form-wrap{padding-top:69px}}

/* Shared, low-noise admin theme. */
body.admin-page{
 --admin-ink:#252525;
 --admin-muted:#707070;
 --admin-border:#e7e4df;
 --admin-accent:#b51f1f;
 font-family:system-ui,-apple-system,"Segoe UI",sans-serif!important;
 background:#f7f7f5!important;
 color:var(--admin-ink);
}
body.admin-page .admin-sidebar{
 background:#252525!important;
 border-right:1px solid #3a3a3a;
 box-shadow:4px 0 18px rgba(0,0,0,.08);
}
body.admin-page .admin-sidebar .wordmark small{color:#f4c400}
body.admin-page .admin-nav-label{color:#bdbdbd}
body.admin-page .admin-sidebar nav a,
body.admin-page .admin-sidebar .admin-nav-group>a{color:#e5e5e5!important}
body.admin-page .admin-sidebar nav a svg,
body.admin-page .admin-sidebar .admin-nav-group>a>svg{color:#c4c4c4!important}
body.admin-page .admin-sidebar nav a:hover,
body.admin-page .admin-sidebar .admin-nav-group>a:hover{background:#3b3b3b!important;color:#fff!important}
body.admin-page .admin-sidebar nav a.active,
body.admin-page .admin-sidebar nav a.active:hover,
body.admin-page .admin-sidebar .admin-nav-group>a.active{
 background:#b51f1f!important;
 color:#fff!important;
 box-shadow:none;
}
body.admin-page .admin-sidebar nav a.active:after{background:#f4c400}
body.admin-page .admin-main header h1,
body.admin-page .admin-form-main h1,
body.admin-page .admin-section-heading h2,
body.admin-page .section-title h2,
body.admin-page .admin-form h2{
 color:#252525;
 font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
}
body.admin-page .admin-main .eyebrow{color:#a51d1d}
body.admin-page .admin-main header p,
body.admin-page .admin-editor-head p,
body.admin-page .admin-section-heading small,
body.admin-page .section-title p{color:var(--admin-muted)}
body.admin-page .stat-grid article,
body.admin-page .finance-card,
body.admin-page .table-card,
body.admin-page .settings-card,
body.admin-page .admin-form,
body.admin-page .admin-filter,
body.admin-page .poster-admin-grid article{
 border-color:var(--admin-border)!important;
 border-radius:12px;
 background:#fff!important;
 box-shadow:0 2px 9px rgba(0,0,0,.035);
}
body.admin-page .stat-grid article{padding:17px}
body.admin-page .stat-grid span,
body.admin-page .finance-card>span{color:#686868}
body.admin-page .stat-grid strong,
body.admin-page .finance-card>strong{
 color:#262626;
 font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
 font-weight:700;
}
body.admin-page .finance-card:before,
body.admin-page .finance-card.incoming:before,
body.admin-page .finance-card.outgoing:before,
body.admin-page .finance-card.wallet:before,
body.admin-page .finance-card.sales:before,
body.admin-page .finance-card.income:before{background:#b51f1f}
body.admin-page .finance-card.incoming>strong,
body.admin-page .finance-card.outgoing>strong{color:#262626}
body.admin-page .finance-card>small,
body.admin-page .stat-grid small{color:#777}
body.admin-page .admin-page .admin-badge,
body.admin-page .admin-badge{border-color:var(--admin-border);background:#fff!important;color:#555!important}
body.admin-page .admin-main .primary-button,
body.admin-page .admin-filter button,
body.admin-page .admin-row-actions a,
body.admin-page .admin-row-actions button{
 border-radius:8px;
 background:#b51f1f!important;
 color:#fff!important;
 font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
 box-shadow:none;
}
body.admin-page .admin-filter a{color:#555}
body.admin-page .section-title{border-color:var(--admin-border)}
body.admin-page th{background:#f4f4f2!important;color:#555}
body.admin-page th,
body.admin-page td{border-color:#eceae6}
body.admin-page td{color:#333}
body.admin-page code{background:#fff3a3;color:#5b2424}
body.admin-page .admin-form label{color:#444}
body.admin-page .admin-form input,
body.admin-page .admin-form select,
body.admin-page .admin-form textarea,
body.admin-page .admin-filter input,
body.admin-page .admin-filter select,
body.admin-page .status-form select{
 border-color:#d8d6d1!important;
 border-radius:8px;
 background:#fff!important;
 color:#252525!important;
 font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
}
body.admin-page .admin-form input:focus,
body.admin-page .admin-form select:focus,
body.admin-page .admin-form textarea:focus,
body.admin-page .admin-filter input:focus{
 border-color:#b51f1f!important;
 box-shadow:0 0 0 2px rgba(181,31,31,.1);
}
body.admin-page .admin-mobile-header{background:#fff!important;border-color:var(--admin-border)!important}
body.admin-page .admin-mobile-header>strong{color:#252525;font-family:system-ui,-apple-system,"Segoe UI",sans-serif}
body.admin-page .admin-menu-toggle{border-color:#dedbd5;background:#fff!important}
body.admin-page .admin-menu-toggle span{background:#252525!important}
body.admin-page .admin-sidebar-note{color:#c8c8c8}
@media(max-width:850px){
 body.admin-page .admin-sidebar{
  background:#252525!important;
  border-color:#3a3a3a;
 }
 body.admin-page .admin-sidebar .admin-nav-group>a{color:#e5e5e5!important}
}
body.admin-page.admin-network-controls-page .admin-form-main{
 width:min(calc(100% - 40px),1100px);
 max-width:1100px;
 margin:24px auto;
 padding:0 0 30px;
}
body.admin-page.admin-network-controls-page .admin-form-main>a{
 display:inline-flex;
 align-items:center;
 min-height:36px;
 margin:0 0 12px;
 padding:7px 11px;
 border:1px solid #e2dfd9;
 border-radius:8px;
 background:#fff;
 color:#555;
 text-decoration:none;
}
body.admin-page.admin-network-controls-page .admin-editor-head{
 margin:0 0 18px;
 padding:20px 22px;
 border:1px solid #e7e4df;
 border-left:4px solid #b51f1f;
 border-radius:12px;
 background:#fff;
 box-shadow:0 2px 9px rgba(0,0,0,.035);
}
body.admin-page.admin-network-controls-page .admin-editor-head .eyebrow{
 color:#a51d1d;
 font-size:10px;
 font-weight:800;
 letter-spacing:.1em;
}
body.admin-page.admin-network-controls-page .admin-editor-head h1{
 margin:4px 0;
 color:#252525;
 font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
 font-size:clamp(22px,3vw,29px);
 font-weight:750;
}
body.admin-page.admin-network-controls-page .admin-editor-head p{
 margin:0;
 color:#707070;
 font-size:12px;
 line-height:1.55;
}
body.admin-page.admin-network-controls-page .network-search{
 grid-template-columns:minmax(0,1fr) auto auto;
 align-items:center;
 gap:9px;
 margin-bottom:14px;
 padding:12px;
}
body.admin-page.admin-network-controls-page .network-search input{min-width:0}
body.admin-page.admin-network-controls-page .network-search button,
body.admin-page.admin-network-controls-page .network-search a{
 display:grid;
 min-height:42px;
 place-items:center;
 padding:9px 14px;
}
body.admin-page.admin-network-controls-page .network-search a{
 color:#555;
 font-size:12px;
 font-weight:650;
 text-decoration:none;
}
body.admin-page.admin-network-controls-page .table-card{
 margin:0 0 16px;
 overflow:hidden;
}
body.admin-page.admin-network-controls-page .table-card .primary-button{
 display:inline-flex;
 min-height:36px;
 align-items:center;
 justify-content:center;
 padding:8px 11px;
 text-decoration:none;
 white-space:nowrap;
}
body.admin-page.admin-network-controls-page .network-control-form{
 gap:14px;
 margin:0 0 16px;
 padding:18px;
}
body.admin-page.admin-network-controls-page .network-member-card{
 display:grid;
 gap:5px;
 padding:13px 15px;
 border:1px solid #ead47a;
 border-radius:9px;
 background:#fff9dc;
}
body.admin-page.admin-network-controls-page .network-member-card b{
 color:#252525;
 font-size:14px;
}
body.admin-page.admin-network-controls-page .network-member-card span{
 color:#686868;
 font-size:12px;
}
body.admin-page.admin-network-controls-page .network-control-form .check-label{
 min-height:48px;
 padding:10px 12px;
 border:1px solid #e7e4df;
 border-radius:9px;
 background:#fafaf8;
 color:#333;
 line-height:1.45;
}
body.admin-page.admin-network-controls-page .network-control-form .check-label input{
 width:18px;
 min-height:18px;
 accent-color:#b51f1f;
}
body.admin-page.admin-network-controls-page .network-control-form label>small,
body.admin-page.admin-network-controls-page .network-control-form .admin-help{
 color:#707070;
 font-size:11px;
 font-weight:400;
 line-height:1.5;
}
body.admin-page.admin-network-controls-page .network-control-form .admin-help{margin:0}
body.admin-page.admin-network-controls-page .network-control-form .primary-button.full{
 justify-self:start;
 min-width:200px;
}
body.admin-page.admin-network-controls-page .network-active .section-title{
 padding:15px 17px;
}
@media(max-width:850px){
 body.admin-page.admin-network-controls-page .admin-form-main{
  width:min(calc(100% - 28px),700px);
  margin:18px auto;
 }
}
@media(max-width:560px){
 body.admin-page.admin-network-controls-page .admin-form-main{width:calc(100% - 24px);margin:12px auto}
 body.admin-page.admin-network-controls-page .admin-editor-head{padding:16px}
 body.admin-page.admin-network-controls-page .network-search{grid-template-columns:minmax(0,1fr) auto}
 body.admin-page.admin-network-controls-page .network-search input{grid-column:1/-1}
 body.admin-page.admin-network-controls-page .network-search button,
 body.admin-page.admin-network-controls-page .network-search a{min-height:40px}
 body.admin-page.admin-network-controls-page .network-control-form{padding:13px}
 body.admin-page.admin-network-controls-page .network-control-form .primary-button.full{width:100%}
}
body.admin-page,
body.admin-page *{
 font-family:Arial,Helvetica,sans-serif!important;
}
 body.admin-page .admin-sidebar{
  height:100vh;
  height:100dvh;
  max-height:100vh;
  max-height:100dvh;
  overflow:hidden;
 }
 body.admin-page .admin-sidebar .wordmark{
  margin-bottom:10px;
  padding-bottom:12px;
 }
 body.admin-page .admin-sidebar nav{
  flex:1 1 auto;
  min-height:0;
  gap:8px;
  overflow-x:hidden;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-color:#777 #252525;
 }
 body.admin-page .admin-sidebar nav::-webkit-scrollbar{width:6px}
 body.admin-page .admin-sidebar nav::-webkit-scrollbar-thumb{border-radius:6px;background:#777}
 body.admin-page .admin-sidebar nav::-webkit-scrollbar-track{background:#252525}
 body.admin-page .admin-nav-label{padding:0 10px 3px;font-size:8px}
 body.admin-page .admin-nav-group{gap:2px}
 body.admin-page .admin-sidebar nav a{
  min-height:34px;
  gap:9px;
  padding:6px 9px;
  border-radius:8px;
  font-size:11px;
 }
 body.admin-page .admin-sidebar nav a svg{width:16px;height:16px;flex-basis:16px}
 body.admin-page .admin-nav-quick{padding-top:8px}
 body.admin-page .admin-sidebar-note{margin:8px 4px 0;padding:8px}
 @media(min-width:851px){
  body.admin-page.admin-withdrawals-page.admin-shell-ready .admin-form-main{
   width:auto;
   max-width:none;
   margin:24px 28px 30px calc(var(--admin-sidebar-width,258px) + 28px);
  }
 }
 @media(max-width:850px){
  body.admin-page.admin-withdrawals-page.admin-shell-ready .admin-form-main{
   width:min(calc(100% - 28px),1050px);
   max-width:1050px;
   margin:14px auto 24px;
  }
 }
