:root{--ink:#172033;--muted:#677287;--line:#e7ebf2;--paper:#fff;--canvas:#f5f7fb;--brand:#0f766e;--brand2:#115e59;--accent:#f59e0b;--danger:#dc2626;--nav:#18283f;--shadow:0 12px 30px rgba(18,37,63,.09)}*{box-sizing:border-box}html,body,#app{min-height:100%;margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--canvas)}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0;touch-action:manipulation}.hidden{display:none!important}.toast{position:fixed;z-index:90;bottom:88px;left:50%;transform:translateX(-50%) translateY(18px);padding:11px 15px;border-radius:10px;background:#172033;color:#fff;font-size:14px;box-shadow:var(--shadow);opacity:0;pointer-events:none;transition:.22s}.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.auth-bg{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 75% 15%,rgba(29,78,216,.42),transparent 34%),linear-gradient(135deg,#041c30,#0f5560 58%,#1e3a8a)}.auth-card{width:min(100%,400px);padding:30px;border-radius:19px;background:rgba(255,255,255,.97);box-shadow:0 24px 58px rgba(0,0,0,.25)}.brand-row{display:flex;align-items:center;gap:11px;margin-bottom:26px}.brand-mark{display:grid;place-items:center;width:43px;height:43px;border-radius:13px;background:linear-gradient(140deg,#0f766e,#14b8a6);font-size:22px;box-shadow:0 8px 16px rgba(15,118,110,.28)}.brand-row strong{font-size:19px}.brand-row small{display:block;color:var(--muted);font-size:12px;margin-top:2px}.auth-card h1{font-size:25px;margin:0 0 5px}.auth-card>p{color:var(--muted);margin:0 0 20px;font-size:14px}.field{display:grid;gap:7px;margin:13px 0}.field label{font-size:13px;font-weight:650;color:#3d4758}.field input,.field select,.field textarea{width:100%;border:1px solid #dbe2ed;border-radius:10px;padding:12px 13px;outline:none;background:#fff;transition:.18s}.field textarea{min-height:85px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{border-color:#14b8a6;box-shadow:0 0 0 3px rgba(20,184,166,.12)}.primary{border-radius:10px;padding:12px 16px;background:linear-gradient(135deg,#0f766e,#0b9b92);color:#fff;font-weight:750;box-shadow:0 6px 13px rgba(15,118,110,.2)}.primary:hover{filter:brightness(1.04)}.secondary,.ghost,.danger{padding:9px 12px;border-radius:8px;font-weight:650;font-size:13px}.secondary{background:#e6f5f3;color:var(--brand2)}.ghost{background:#f2f5f9;color:#465167}.danger{background:#fee2e2;color:#b91c1c}.auth-hint{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:var(--muted);margin-top:16px}.auth-hint span{background:#f4f7fa;padding:7px 9px;border-radius:7px}.language-select{max-width:112px;border:1px solid #c8ddd9;border-radius:8px;padding:7px 8px;background:#fff;color:#244451;font-size:12px;outline:none}.h5{min-height:100vh;background:#f7f8fb;padding-bottom:77px}.h5-top{height:62px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;color:#fff;background:linear-gradient(105deg,#0f766e,#14b8a6 55%,#0e7490);position:sticky;top:0;z-index:10}.h5-brand{font-weight:850;letter-spacing:.2px;font-size:18px}.h5-brand small{font-size:10px;opacity:.82;margin-left:7px;font-weight:600}.h5-actions{display:flex;align-items:center;gap:7px}.h5-actions .language-select{max-width:88px;background:rgba(255,255,255,.95)}.h5-header{padding:22px 18px 10px;background:linear-gradient(180deg,#dff8f3 0,#f7f8fb 90%)}.welcome{font-size:14px;color:#31635f}.welcome strong{font-size:20px;color:var(--ink);display:block;margin-top:3px}.balance-strip{margin:14px 0 0;padding:13px;border-radius:13px;background:#fff;box-shadow:0 5px 15px rgba(15,118,110,.07);display:flex;align-items:center;justify-content:space-between}.balance-strip small{display:block;color:var(--muted);font-size:12px}.balance-strip b{font-size:18px}.mini-btn{padding:8px 11px;border-radius:8px;background:#e1f7f3;color:#08766d;font-weight:700;font-size:12px}.carousel{margin:16px 18px 12px;padding:20px;border-radius:17px;color:#fff;min-height:120px;background:linear-gradient(130deg,var(--banner,#0f766e),#071e35);position:relative;overflow:hidden}.carousel:after{content:"";position:absolute;right:-27px;bottom:-42px;width:145px;height:145px;border:30px solid rgba(255,255,255,.13);border-radius:50%}.carousel small{opacity:.83}.carousel h2{font-size:21px;margin:7px 0}.carousel p{margin:0;opacity:.9;font-size:13px;max-width:72%}.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;padding:0 18px;margin:13px 0}.quick{background:#fff;border-radius:12px;min-height:77px;padding:9px 5px;text-align:center;box-shadow:0 4px 14px rgba(15,23,42,.06);font-size:11px;color:#485367}.quick span{font-size:25px;display:block;margin-bottom:5px}.notice{margin:0 18px;padding:12px 13px;border-radius:10px;background:#fff9e8;border-left:4px solid #f59e0b;color:#614b1a;font-size:12px;line-height:1.4}.section{padding:8px 18px 0}.section-head{display:flex;justify-content:space-between;align-items:center;margin:15px 0 10px}.section-head h2{font-size:16px;margin:0}.section-head span{font-size:12px;color:var(--muted)}.category-tabs{display:flex;overflow:auto;gap:8px;padding:0 18px 3px}.category-tabs button{white-space:nowrap;padding:8px 10px;border-radius:18px;background:#eef2f7;color:#596476;font-size:12px}.category-tabs button.active{background:var(--brand);color:#fff}.product-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:11px;padding:10px 18px}.product-card{background:#fff;border-radius:13px;overflow:hidden;box-shadow:0 4px 14px rgba(15,23,42,.06);display:flex;flex-direction:column}.product-visual{height:108px;display:flex;align-items:flex-end;padding:12px;color:#fff;position:relative;overflow:hidden;background:linear-gradient(138deg,var(--product,#0f766e),#0b253e)}.product-visual:before{content:"⚙";font-size:86px;line-height:.8;position:absolute;right:-12px;top:13px;opacity:.18}.product-visual b{font-size:11px;position:relative}.product-info{padding:10px;display:flex;flex:1;flex-direction:column}.product-info h3{font-size:13px;line-height:1.3;margin:0 0 6px;height:34px;overflow:hidden}.product-info p{font-size:11px;color:var(--muted);margin:0 0 8px;height:30px;overflow:hidden}.product-foot{display:flex;align-items:center;justify-content:space-between;margin-top:auto}.price{font-size:14px;color:#d97706;font-weight:850}.add-btn{border-radius:8px;width:32px;height:32px;color:#fff;background:var(--brand);font-size:20px}.tabbar{position:fixed;z-index:20;left:0;right:0;bottom:0;height:69px;background:rgba(255,255,255,.98);backdrop-filter:blur(9px);display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line)}.tabbar button{background:transparent;color:#728096;font-size:10px;display:grid;place-items:center;padding:8px 0 7px}.tabbar span{font-size:21px;line-height:1}.tabbar button.active{color:var(--brand);font-weight:800}.screen-title{font-size:20px;margin:17px 18px 10px}.wallet-card{margin:10px 18px;padding:20px;border-radius:16px;color:#fff;background:linear-gradient(135deg,#075d57,#0f8f85);box-shadow:var(--shadow)}.wallet-card small{opacity:.78}.wallet-card b{display:block;font-size:31px;margin:6px 0 14px}.wallet-actions{display:flex;gap:8px}.wallet-actions button{flex:1;padding:10px;border-radius:9px;background:rgba(255,255,255,.17);color:#fff}.list-card{margin:9px 18px;background:#fff;border-radius:13px;box-shadow:0 4px 14px rgba(15,23,42,.05);overflow:hidden}.list-row{display:flex;justify-content:space-between;gap:12px;padding:13px;border-bottom:1px solid var(--line);align-items:center}.list-row:last-child{border:0}.list-row strong{display:block;font-size:13px}.list-row small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.cart-controls{display:flex;align-items:center;gap:8px;margin-top:8px}.cart-controls button{display:grid;place-items:center;width:24px;height:24px;border-radius:6px;background:#e3f4f1;color:#08766d;font-size:16px}.cart-controls .link-danger{background:#fee2e2;color:#b91c1c;margin-left:6px}.status{font-size:11px;font-weight:750;padding:4px 7px;border-radius:999px;display:inline-block}.status.pending{color:#a15c00;background:#fff0cc}.status.finished,.status.approved,.status.repurchased{color:#087d59;background:#dcfce7}.status.cancelled,.status.rejected{color:#b91c1c;background:#fee2e2}.order-tabs{display:flex;gap:7px;padding:0 18px;overflow:auto}.order-tabs button{white-space:nowrap;background:#fff;border:1px solid var(--line);color:#69758b;padding:7px 10px;border-radius:16px;font-size:11px}.order-tabs button.active{background:#e1f7f3;color:var(--brand2);border-color:#9de2d8}.order-card{margin:11px 18px;background:#fff;border-radius:13px;padding:13px;box-shadow:0 4px 14px rgba(15,23,42,.05)}.order-top,.order-foot{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:var(--muted)}.order-mid{margin:12px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:10px 0;display:flex;gap:10px}.order-icon{width:42px;height:42px;border-radius:10px;background:linear-gradient(135deg,#0f766e,#1d4ed8);display:grid;place-items:center;color:#fff;font-size:20px}.order-mid h3{font-size:12px;margin:0;line-height:1.35}.order-mid strong{display:block;font-size:14px;margin-top:5px}.order-foot{align-items:center}.order-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.order-actions button{font-size:11px;padding:6px 7px;border-radius:7px}.cart-total{margin:10px 18px;padding:14px;background:#fff;border-radius:12px;display:flex;justify-content:space-between;align-items:center}.empty{margin:30px 18px;text-align:center;background:#fff;border-radius:14px;padding:32px 15px;color:var(--muted)}.empty span{display:block;font-size:38px;margin-bottom:9px}.account-card{margin:14px 18px;padding:18px;border-radius:16px;color:#fff;background:linear-gradient(135deg,#172f4b,#0f766e)}.avatar{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#fff;color:#0f766e;font-size:20px;font-weight:800}.account-head{display:flex;gap:12px;align-items:center}.account-head b{font-size:18px;display:block}.account-head small{opacity:.78}.account-stats{margin-top:15px;display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.account-stats div{background:rgba(255,255,255,.1);border-radius:9px;padding:8px;font-size:11px}.account-stats b{display:block;font-size:14px;margin-top:3px}.menu-list{margin:12px 18px;background:#fff;border-radius:13px;overflow:hidden}.menu-list button{width:100%;background:#fff;text-align:left;padding:14px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;color:#253148}.menu-list button:last-child{border:0}.menu-list span:first-child{font-size:18px;margin-right:10px}.invite-code{padding:14px;border-radius:10px;background:#eef8f7;display:flex;align-items:center;justify-content:space-between;gap:10px}.invite-code strong{letter-spacing:1px;color:#08766d}.invite-code button{padding:8px 10px;border-radius:7px;background:var(--brand);color:#fff}.admin-shell{min-height:100vh;background:#f5f7fb;display:flex}.admin-side{width:244px;flex:0 0 244px;background:var(--nav);color:#c8d4e5;min-height:100vh;position:sticky;top:0;height:100vh;overflow:auto;z-index:30}.admin-logo{height:68px;display:flex;align-items:center;gap:10px;padding:0 20px;color:#fff;font-weight:780;border-bottom:1px solid rgba(255,255,255,.08)}.admin-logo .brand-mark{width:34px;height:34px;font-size:17px}.admin-logo small{display:block;font-size:10px;opacity:.65;font-weight:500}.admin-nav{padding:14px 10px}.nav-group{margin:5px 0}.nav-group>button,.nav-link{width:100%;display:flex;align-items:center;gap:9px;padding:10px 11px;border-radius:8px;background:transparent;color:#b9c7db;text-align:left;font-size:14px}.nav-group>button:hover,.nav-link:hover{background:rgba(255,255,255,.07);color:#fff}.nav-link.active{background:#0d9488;color:#fff;font-weight:750}.nav-children{display:none;padding:2px 0 4px 13px}.nav-group.open .nav-children{display:block}.nav-child{display:block;width:100%;padding:7px 11px;background:none;color:#aebbd0;text-align:left;border:0;font-size:12px;border-radius:7px}.nav-child.active{color:#fff;background:rgba(45,212,191,.15)}.admin-main{flex:1;min-width:0}.admin-top{height:68px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 27px;position:sticky;z-index:3;top:0}.mobile-menu{display:none}.crumb{font-size:14px;color:var(--muted)}.admin-user{display:flex;align-items:center;gap:8px;font-size:13px}.admin-user .avatar{width:33px;height:33px;font-size:14px;background:#e1f7f3}.admin-page{padding:26px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:19px}.page-heading h1{font-size:23px;margin:0}.page-heading p{margin:5px 0 0;color:var(--muted);font-size:13px}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.metric{background:#fff;border-radius:13px;padding:17px;box-shadow:0 5px 14px rgba(15,23,42,.04);border:1px solid #edf0f4}.metric small{color:var(--muted);font-size:12px}.metric strong{display:block;font-size:27px;margin-top:8px}.metric span{float:right;font-size:19px;background:#e1f7f3;padding:7px;border-radius:10px}.panel{margin-top:16px;background:#fff;border:1px solid #edf0f4;border-radius:13px;padding:17px;box-shadow:0 5px 14px rgba(15,23,42,.04)}.panel h2{font-size:15px;margin:0 0 13px}.trend-chart{height:225px;position:relative;border-bottom:1px solid #e5e7eb;background:repeating-linear-gradient(to bottom,transparent,transparent 44px,#eff3f6 45px)}.trend-line{position:absolute;inset:18px 15px 31px;display:flex;align-items:end;justify-content:space-between}.trend-point{position:relative;width:12px;height:12px;background:#0f766e;border-radius:50%;border:3px solid #d9f4ef}.trend-point:after{content:"";position:absolute;right:8px;bottom:3px;width:120px;height:2px;background:#0f766e;transform-origin:right center;transform:rotate(var(--angle));opacity:.7}.trend-point:last-child:after{display:none}.trend-point button{position:absolute;inset:-12px;background:transparent}.trend-labels{position:absolute;bottom:8px;left:15px;right:15px;display:flex;justify-content:space-between;color:var(--muted);font-size:11px}.admin-table-wrap{overflow:auto}.admin-table{width:100%;border-collapse:collapse;font-size:12px}.admin-table th{text-align:left;background:#f8fafc;color:#5d687a;font-weight:700;white-space:nowrap}.admin-table th,.admin-table td{padding:11px;border-bottom:1px solid var(--line);vertical-align:middle}.admin-table td{color:#324054}.admin-table tr:hover td{background:#fcfdfd}.actions{display:flex;gap:6px;white-space:nowrap}.actions button{font-size:11px;padding:6px 8px;border-radius:6px;background:#edf6f5;color:#08766d}.actions button.warn{background:#fff3d5;color:#aa6800}.actions button.danger{background:#fee2e2;color:#b91c1c}.tree{display:grid;gap:12px}.tree-agent{border:1px solid #d8e6ed;border-radius:11px;padding:13px;background:#fcfefe}.tree-agent>strong{color:#0f766e}.tree-members{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px}.tree-member{background:#eef5fa;border-radius:8px;padding:8px;font-size:12px}.modal-backdrop{position:fixed;inset:0;z-index:80;background:rgba(15,23,42,.55);display:grid;place-items:center;padding:18px}.modal{position:relative;max-height:90vh;overflow:auto;width:min(100%,560px);background:#fff;border-radius:15px;padding:20px;box-shadow:0 25px 60px rgba(0,0,0,.27)}.modal-close{position:absolute;right:12px;top:10px;width:30px;height:30px;border-radius:50%;font-size:22px;line-height:1;background:#f1f5f9;color:#475569}.modal h2{margin:0 32px 4px 0;font-size:20px}.modal p{color:var(--muted);font-size:13px;margin:0 0 14px}.modal-foot{display:flex;justify-content:flex-end;gap:8px;margin-top:17px}.modal-foot button{padding:10px 13px;border-radius:8px}.modal-foot .cancel{background:#f1f5f9;color:#475569}.helper{font-size:11px;color:var(--muted)}[dir="rtl"] .h5-top,[dir="rtl"] .account-head,[dir="rtl"] .order-mid{direction:rtl}@media(max-width:880px){.admin-side{width:62px;flex-basis:62px}.admin-logo{padding:0 14px}.admin-logo span,.nav-group>button span:not(:first-child),.nav-link span:not(:first-child),.nav-children{display:none!important}.nav-group>button,.nav-link{justify-content:center;padding:12px 0;font-size:17px}.metric-grid{grid-template-columns:repeat(2,1fr)}.admin-page{padding:16px}.admin-top{padding:0 16px}}@media(max-width:540px){.auth-card{padding:24px 19px}.h5-top{height:72px;padding:0 12px}.h5-brand{font-size:16px;max-width:118px;line-height:1.18}.h5-brand small{display:block;margin:4px 0 0;font-size:9px}.h5-actions{gap:4px}.h5-actions .language-select{max-width:67px;font-size:10px;padding:6px 3px}.h5-actions .mini-btn{font-size:10px;padding:7px 6px}.h5-header{padding-top:17px}.quick-grid{gap:6px;padding:0 13px}.quick{min-height:73px;font-size:10px}.carousel,.notice,.section,.product-grid,.category-tabs{margin-left:13px;margin-right:13px;padding-left:0;padding-right:0}.product-grid{padding:10px 0}.category-tabs{padding-bottom:3px}.screen-title{margin-left:13px}.wallet-card,.list-card,.order-card,.account-card,.menu-list,.cart-total{margin-left:13px;margin-right:13px}.admin-side{position:fixed;left:0;z-index:30;transform:translateX(-100%);transition:.2s;width:228px;flex-basis:228px;box-shadow:6px 0 20px rgba(0,0,0,.18)}.admin-shell.side-open .admin-side{transform:translateX(0)}.admin-logo span,.nav-group>button span:not(:first-child),.nav-link span:not(:first-child),.nav-children{display:block!important}.nav-group>button,.nav-link{justify-content:flex-start;padding:10px 11px;font-size:14px}.mobile-menu{display:block;background:transparent;color:#0f766e;font-size:23px;padding:6px 8px;margin-right:3px}.admin-top{height:58px;padding:0 10px}.admin-user span{display:none}.admin-page{padding:13px}.page-heading{align-items:flex-start}.page-heading h1{font-size:20px}.metric-grid{gap:9px}.metric{padding:12px}.metric strong{font-size:21px}.metric span{font-size:15px;padding:5px}.actions{flex-wrap:wrap}.admin-table th,.admin-table td{padding:9px}.page-heading>.primary{font-size:12px;padding:10px}.modal{padding:17px}.h5{padding-bottom:69px}.account-stats{font-size:10px}.wallet-card b{font-size:27px}}

/* Product detail interactions */
.product-card{cursor:pointer;transition:transform .16s,box-shadow .16s}.product-card:active{transform:scale(.98)}.product-card:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(15,23,42,.12)}.product-view-hint{position:absolute;right:9px;top:9px;border:1px solid rgba(255,255,255,.45);border-radius:999px;padding:3px 6px;font-size:9px;opacity:.92}.add-btn{position:relative;z-index:2}.product-detail{margin:12px -20px -20px}.product-detail-visual{min-height:125px;padding:18px;color:#fff;display:flex;flex-direction:column;justify-content:end;gap:7px;background:linear-gradient(138deg,var(--product,#0f766e),#0b253e);position:relative;overflow:hidden}.product-detail-visual:after{content:"⚙";position:absolute;right:-9px;top:-17px;font-size:125px;opacity:.16}.product-detail-visual>*{position:relative;z-index:1}.product-detail-visual small{opacity:.82}.product-detail-visual strong{font-size:22px;max-width:80%}.product-detail-body{padding:17px 20px 20px}.product-detail-body h3{margin:0 0 6px;font-size:18px}.detail-price{font-size:24px;font-weight:850;color:#d97706;margin:6px 0 10px}.detail-meta{padding:9px 10px;border-radius:8px;background:#eef8f7;color:#126a63;font-size:12px}.product-detail-body h4{font-size:14px;margin:17px 0 6px}.product-detail-body p{line-height:1.55}.quantity-picker{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}.quantity-picker label{font-weight:700;font-size:13px}.quantity-picker input{width:86px;border:1px solid #dbe2ed;border-radius:8px;padding:9px;text-align:center}


/* Reference-matched commerce routes: dedicated product list and product detail screens. */
.h5.reference-storefront{max-width:430px;margin:0 auto;padding:0;background:#f3f4f7;color:#111;min-height:100vh;font-family:Arial,Helvetica,sans-serif}.reference-storefront .reference-list-page{min-height:100vh;background:#f3f4f7;padding-bottom:28px}.reference-topbar{height:56px;background:#fff;display:grid;grid-template-columns:48px 1fr 48px;align-items:center;border-bottom:1px solid #ececef;position:sticky;top:0;z-index:20}.reference-topbar h1{margin:0;text-align:center;font-size:20px;line-height:1;font-weight:750;color:#050505}.reference-back{height:56px;background:#fff;color:#5260ba;font-size:43px;font-weight:200;line-height:.7;padding:0 0 6px}.reference-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:20px}.reference-product-card{background:#fff;border-radius:6px;min-width:0;overflow:hidden;padding-bottom:12px;cursor:pointer;box-shadow:0 1px 0 rgba(0,0,0,.015)}.reference-product-card:active{transform:scale(.985)}.reference-image{height:212px;background:#fff;display:grid;place-items:center;overflow:hidden}.reference-image img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.reference-product-card h2{height:45px;overflow:hidden;margin:8px 10px 8px;color:#111;font-size:15px;line-height:1.25;font-weight:500;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.reference-product-card strong,.reference-product-card del{display:block;margin:0 10px}.reference-product-card strong{font-size:17px;font-weight:600;color:#111}.reference-product-card del{font-size:14px;color:#a2a2a2;margin-top:3px;text-decoration-thickness:1px}.reference-end{text-align:center;color:#858585;font-size:13px;padding:20px}.reference-storefront .reference-detail-page{min-height:100vh;background:#fff;padding-bottom:83px}.reference-gallery{height:480px;background:#f5f6f8;position:relative;display:grid;place-items:center;border-bottom:1px solid #e9eaec;overflow:hidden}.reference-gallery img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.gallery-dot{position:absolute;bottom:8px;width:6px;height:6px;border-radius:50%;background:#000}.like-button{position:absolute;right:25px;bottom:20px;background:transparent;color:#e7232a;font-size:42px;line-height:1;transform:rotate(-7deg)}.like-button.liked{color:#b90512;transform:scale(1.12) rotate(-7deg)}.reference-price-row{height:67px;padding:12px 20px;display:flex;align-items:center;justify-content:space-between;background:#fff}.reference-price-row div{display:flex;align-items:center;gap:16px}.reference-price-row strong{font-weight:500;font-size:20px}.reference-price-row del{color:#8a8a8a;font-size:15px}.reference-price-row span{font-size:13px;text-align:right;display:grid;gap:3px}.reference-divider{height:12px;background:#f1f2f4;border-top:1px solid #e8e9eb;border-bottom:1px solid #e8e9eb}.reference-quantity-row{min-height:96px;padding:15px 20px;display:flex;align-items:center;justify-content:space-between}.reference-quantity-row h2,.reference-description h2{font-size:18px;font-weight:500;margin:0 0 10px}.reference-stepper{display:flex;align-items:center;height:31px}.reference-stepper button{width:31px;height:31px;background:#f5f5f5;color:#9b9b9b;font-size:22px;line-height:1}.reference-stepper input{height:31px;width:40px;text-align:center;border:0;background:#f7f7f7;color:#222;font-size:16px;outline:none}.detail-cart-icon{font-size:40px;line-height:1;background:transparent;filter:grayscale(1)}.reference-description{padding:18px 20px 30px;font-size:14px;line-height:1.42}.reference-description p{margin:0 0 14px;color:#333}.reference-description dl{display:grid;grid-template-columns:1fr 1fr;margin:0;border-top:1px solid #eeeeee}.reference-description dt,.reference-description dd{padding:8px 0;border-bottom:1px solid #eeeeee;margin:0}.reference-description dt{color:#777}.reference-description dd{text-align:right;color:#161616}.reference-buybar{position:fixed;z-index:30;bottom:0;left:50%;transform:translateX(-50%);width:min(430px,100%);height:76px;padding:9px 12px;background:#fff;border-top:1px solid #e1e2e5;display:grid;grid-template-columns:minmax(102px,1fr) 108px 100px;gap:8px;align-items:center}.reference-buybar>div{display:grid;grid-template-columns:auto 1fr;align-items:baseline;column-gap:5px;line-height:1.1}.reference-buybar small{font-size:13px;color:#171717}.reference-buybar strong{font-size:18px;color:#e12d29}.reference-buybar em{grid-column:1/3;font-style:normal;font-size:12px;color:#222;margin-top:4px}.reference-cart-button,.reference-buy-button{height:47px;border-radius:0;font-size:15px}.reference-cart-button{background:#c6cad6;color:#242424}.reference-buy-button{background:#000;color:#fff;font-weight:700}.reference-storefront .toast{bottom:92px}

/* Reference-matched Chinese administration chrome. Business tables and actions remain unchanged. */
.admin-shell{background:#fff}.admin-side{width:162px;flex-basis:162px;background:#31445d}.admin-logo{height:57px;padding:0 10px;background:#1c8d86;border-bottom:1px solid rgba(255,255,255,.1);gap:7px;font-size:12px}.admin-logo .brand-mark{height:27px;width:27px;border-radius:50%;font-size:13px;background:#f4c542;color:#31445d;box-shadow:none}.admin-logo small{font-size:8px;margin-top:1px}.admin-nav{padding:8px 0}.nav-group{margin:0}.nav-group>button,.nav-link{border-radius:0;padding:11px 14px;gap:8px;font-size:13px;color:#ccd8e7}.nav-group>button:hover,.nav-link:hover{background:#3a526f}.nav-link.active{background:#168c86;color:#fff}.nav-group.open>button{color:#fff;background:#314b67}.nav-children{padding:0;background:rgba(0,0,0,.08)}.nav-child{border-radius:0;padding:8px 16px 8px 38px;color:#b7c7d8;font-size:12px}.nav-child.active{background:#168c86;color:#fff}.admin-top{height:56px;padding:0 20px;box-shadow:0 1px 2px rgba(0,0,0,.04);border-bottom:1px solid #ebedf0}.crumb{font-size:13px;color:#6c7787}.admin-page{padding:22px 26px;background:#f7f8fa;min-height:calc(100vh - 56px)}.page-heading h1{font-size:20px;font-weight:600}.page-heading p{font-size:12px}.metric-grid{gap:12px}.metric{border-radius:3px;box-shadow:0 1px 4px rgba(0,0,0,.04);border:1px solid #edf0f3}.panel{border-radius:3px;box-shadow:0 1px 4px rgba(0,0,0,.04)}
@media(max-width:540px){.h5.reference-storefront{max-width:none}.reference-product-grid{gap:13px;padding:20px}.reference-image{height:202px}.reference-product-card h2{font-size:14px}.reference-product-card strong{font-size:16px}.reference-gallery{height:430px}.reference-buybar{width:100%;grid-template-columns:minmax(100px,1fr) 98px 86px}.reference-cart-button,.reference-buy-button{font-size:14px}.admin-side{width:162px;flex-basis:162px}.admin-logo{padding:0 10px}.admin-logo span,.nav-group>button span:not(:first-child),.nav-link span:not(:first-child),.nav-children{display:block!important}.nav-group>button,.nav-link{justify-content:flex-start;padding:11px 14px;font-size:13px}.nav-child{padding-left:38px}.admin-page{padding:14px}.admin-top{height:52px}.reference-topbar{height:55px}.reference-topbar h1{font-size:19px}}


/* Reference-style member login: full-screen automobile background, dark top bar and large form controls. */
.reference-login{min-height:100svh;background:#70808e url('/assets/login-car-showroom.jpg') center center/cover no-repeat;color:#fff;position:relative;isolation:isolate;font-family:Georgia,"Times New Roman",serif}.reference-login:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,9,12,.57) 0%,rgba(19,30,39,.4) 43%,rgba(220,227,232,.34) 100%);z-index:-1}.reference-login-form{min-height:100svh}.reference-login-top{height:62px;background:rgba(0,0,0,.94);display:flex;justify-content:flex-end;align-items:center;padding:0 max(19px,calc((100vw - 510px)/2 + 19px));gap:8px}.reference-globe{font-family:Arial,sans-serif;font-size:25px;line-height:1;color:#fff}.reference-login-top .language-select{background:transparent;color:#fff;border:0;max-width:132px;padding:8px 0;font-family:Georgia,"Times New Roman",serif;font-size:18px}.reference-login-top .language-select option{color:#111;background:#fff}.reference-login-fields{width:min(100%,520px);margin:0 auto;padding:16vh 30px 48px}.reference-login-fields h1{font-size:31px;line-height:1.2;font-weight:500;margin:0 0 5px;color:#fff}.reference-register{background:transparent;color:#fff;text-decoration:underline;font:inherit;font-size:17px;padding:0;margin:0 0 53px}.reference-login-fields>input,.reference-password-wrap{width:100%;height:64px;border:1px solid rgba(224,228,232,.86);border-radius:8px;background:rgba(255,255,255,.97);box-shadow:0 1px 2px rgba(0,0,0,.16)}.reference-login-fields>input{display:block;padding:0 22px;color:#172033;font-family:Georgia,"Times New Roman",serif;font-size:19px;margin-bottom:23px;outline:none}.reference-login-fields>input:focus,.reference-password-wrap:focus-within{box-shadow:0 0 0 3px rgba(255,255,255,.3);border-color:#fff}.reference-password-wrap{position:relative;display:flex;align-items:center}.reference-password-wrap input{height:100%;width:100%;padding:0 58px 0 22px;border:0;background:transparent;color:#172033;outline:0;font-family:Georgia,"Times New Roman",serif;font-size:19px}.reference-password-wrap span{position:absolute;right:20px;font-size:21px;color:#6f7480;opacity:.7}.reference-login-options{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:21px 0 72px;font-size:17px}.reference-login-options label{display:flex;align-items:center;gap:7px;white-space:nowrap}.reference-login-options input{appearance:none;width:26px;height:26px;border:2px solid rgba(255,255,255,.94);border-radius:50%;margin:0;background:transparent;position:relative}.reference-login-options input:checked:after{content:"";position:absolute;inset:5px;border-radius:50%;background:#fff}.reference-login-options button{padding:0;background:transparent;color:#fff;text-decoration:underline;font:inherit;font-size:17px;white-space:nowrap}.reference-login-submit{display:block;width:100%;height:64px;border:1px solid rgba(255,255,255,.8);background:#050505;color:#fff;border-radius:4px;font-family:Georgia,"Times New Roman",serif;font-size:19px;box-shadow:0 2px 4px rgba(0,0,0,.25)}

/* Reference-style signed-in H5 home. */
.h5.reference-storefront{font-family:Georgia,"Times New Roman",serif;background:#f6f7fa}.reference-home-page{min-height:100svh;padding-bottom:76px;background:#f6f7fa}.reference-home-top{height:68px;color:#fff;background:linear-gradient(104deg,#00a5bf,#298bd3 53%,#274ba3);display:flex;align-items:center;justify-content:space-between;padding:0 17px;box-shadow:inset 0 -1px rgba(255,255,255,.24)}.reference-tunisianet{display:flex;align-items:center;gap:8px;line-height:1}.reference-cart-logo{width:50px;height:50px;border-radius:50%;display:grid;place-items:center;background:#f5ca19;color:#fff;font-size:28px;font-family:Arial,sans-serif;filter:saturate(1.05)}.reference-tunisianet strong{display:block;font-family:Arial,sans-serif;font-size:23px;font-weight:800;letter-spacing:-1px;color:#fff}.reference-tunisianet strong::first-letter{color:#f5ca19}.reference-tunisianet small{display:block;font-family:Arial,sans-serif;font-size:13px;font-weight:700;color:#ffd21c;margin-top:3px;text-align:center;direction:rtl}.reference-home-language{display:flex;align-items:center;gap:7px;font-size:26px}.reference-home-language .language-select{background:transparent;border:0;color:#fff;max-width:100px;font-family:Georgia,"Times New Roman",serif;font-size:19px;padding:8px 0}.reference-home-language .language-select option{background:#fff;color:#111}.reference-home-hero{height:245px;background:linear-gradient(135deg,rgba(243,245,247,.88),rgba(244,246,250,.93)),url('/assets/login-car-showroom.jpg') center/cover;display:grid;place-items:center;color:#d9dde2;position:relative}.reference-home-hero span{font-size:41px;color:#d6d9dd;opacity:.85}.reference-home-notice{height:54px;background:#fff;display:flex;align-items:center;gap:10px;padding:0 18px;border-bottom:1px solid #ededee;box-shadow:0 2px 7px rgba(0,0,0,.06);overflow:hidden}.reference-home-notice span{font-family:Arial,sans-serif;font-size:21px;filter:grayscale(1)}.reference-home-notice p{margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#1e1e1e;font-size:15px}.reference-home-actions{margin:18px 10px 28px;padding:21px 8px;background:#fff;border-radius:8px;box-shadow:0 2px 10px rgba(0,0,0,.11);display:grid;grid-template-columns:repeat(4,1fr);gap:3px}.reference-home-actions button{background:transparent;color:#141414;display:grid;place-items:center;gap:8px;font-family:Georgia,"Times New Roman",serif;font-size:14px;line-height:1.18;padding:0 2px}.reference-home-actions b{font-weight:500;text-align:center}.reference-action-icon{width:50px;height:50px;border-radius:10px;display:grid;place-items:center;color:#fff;font-family:Arial,sans-serif;font-size:34px;line-height:1;box-shadow:0 1px 4px rgba(0,0,0,.14)}.reference-action-icon.upgrade{background:linear-gradient(135deg,#00e60d,#35c800)}.reference-action-icon.group{background:linear-gradient(135deg,#fd8c96,#f14062)}.reference-action-icon.invite{background:linear-gradient(135deg,#ff4aff,#aa27e6)}.reference-action-icon.treasure{background:linear-gradient(135deg,#656aff,#2c57ed);font-family:Georgia,"Times New Roman",serif}.reference-home-categories{padding:0 14px;border-bottom:1px solid #e7e7eb}.reference-category-scroll{display:flex;gap:24px;overflow-x:auto;scrollbar-width:none}.reference-category-scroll::-webkit-scrollbar{display:none}.reference-category-scroll button{white-space:nowrap;background:transparent;color:#777;padding:12px 0 13px;font-family:Georgia,"Times New Roman",serif;font-size:17px;position:relative}.reference-category-scroll button.active{color:#111;font-weight:700}.reference-category-scroll button.active:after{content:"";height:4px;width:66%;position:absolute;bottom:3px;left:17%;border-radius:99px;background:#090909}.reference-home-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:18px 13px}.reference-home-product{min-width:0;background:#fff;border-radius:6px;padding-bottom:13px;overflow:hidden;box-shadow:0 1px 5px rgba(0,0,0,.05);cursor:pointer}.reference-home-product:active{transform:scale(.985)}.reference-home-product-image{height:172px;background:#fff;display:grid;place-items:center;overflow:hidden}.reference-home-product-image img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.reference-home-product h3{height:42px;margin:9px 10px 8px;color:#151515;overflow:hidden;font-size:16px;line-height:1.28;font-weight:500;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.reference-home-product strong,.reference-home-product del{display:block;margin:0 10px}.reference-home-product strong{font-family:Arial,sans-serif;font-size:17px;color:#111}.reference-home-product del{margin-top:3px;color:#999;font-family:Arial,sans-serif;font-size:14px}.reference-home-nav{height:70px;position:fixed;z-index:30;bottom:0;left:50%;transform:translateX(-50%);width:min(430px,100%);background:#fff;border-top:1px solid #e6e7e9;display:grid;grid-template-columns:repeat(4,1fr);box-shadow:0 -2px 10px rgba(0,0,0,.04)}.reference-home-nav button{background:transparent;display:grid;place-items:center;gap:3px;padding:7px 0;color:#252525;font-family:Georgia,"Times New Roman",serif;font-size:13px}.reference-home-nav button span{font-family:Arial,sans-serif;font-size:24px;line-height:1}.reference-home-nav button b{font-weight:500}.reference-home-nav button.active{color:#111}.reference-home-nav button.active span{filter:contrast(1.4)}.status.repurchase_requested{color:#7c3aed;background:#f3e8ff}
@media(max-width:540px){.reference-login-fields{padding:17vh 30px 42px}.reference-login-top{height:58px}.reference-home-top{height:65px}.reference-home-hero{height:230px}.reference-home-actions{margin-top:16px}.reference-home-product-image{height:168px}.reference-home-nav{width:100%}}
@media(min-width:541px){.reference-login-fields{padding-top:19vh}.reference-home-page{max-width:430px;margin:0 auto;box-shadow:0 0 0 1px rgba(0,0,0,.03)}.reference-home-nav{width:430px}}

/* Product likes are empty until this member explicitly selects them. */
.like-button{color:#1c1c1c;font-family:Arial,sans-serif;font-size:44px}.like-button.liked{color:#cf0614;transform:scale(1.12) rotate(-7deg)}


/* Storefront identity, editable announcement marquee, and product image controls. */
.reference-tunisianet strong{letter-spacing:-.35px;text-transform:none}.reference-tunisianet strong::first-letter{color:inherit}.reference-tunisianet small{direction:ltr;text-align:left;font-size:10px;letter-spacing:.1px;color:rgba(255,255,255,.78);margin-top:4px}.reference-home-notice{gap:11px}.reference-home-notice>span{flex:0 0 auto}.reference-notice-marquee{flex:1;min-width:0;overflow:hidden;white-space:nowrap}.reference-home-notice .reference-notice-marquee p{display:inline-block;margin:0;padding-left:100%;overflow:visible;text-overflow:clip;white-space:nowrap;color:#1e1e1e;font-size:15px;animation:amz-notice-marquee 18s linear infinite;will-change:transform}.reference-home-notice:hover .reference-notice-marquee p{animation-play-state:paused}@keyframes amz-notice-marquee{from{transform:translateX(0)}to{transform:translateX(-100%)}}.product-image-field{padding:12px;border:1px dashed #b8d7d3;border-radius:10px;background:#f6fcfb}.product-image-field>label{margin-top:8px}.product-image-field>label:first-child{margin-top:0}.product-image-field input[type="file"]{padding:8px;background:#fff}.product-image-field input[type="url"]{font-size:12px}.product-image-clear{display:flex;align-items:center;gap:8px;font-size:12px!important;color:#5d687a}.product-image-clear input{width:auto!important}.product-image-preview{display:flex;align-items:center;gap:10px;min-height:40px;margin-top:8px;font-size:11px;color:#677287;overflow:hidden}.product-image-preview img{width:76px;height:58px;border:1px solid #dbe7e5;border-radius:6px;object-fit:contain;background:#fff}.product-image-preview .image-error{color:#b91c1c}.storefront-panel textarea{min-height:118px}

/* Recharge requests use administrator-configured packages only. */
.recharge-package-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.recharge-package{position:relative;cursor:pointer}.recharge-package input{position:absolute;opacity:0;pointer-events:none}.recharge-package span{min-height:76px;padding:12px;border:1px solid #dbe4e8;border-radius:10px;background:#f9fbfc;display:flex;flex-direction:column;justify-content:space-between;gap:5px;color:#314154;transition:.16s}.recharge-package b{font-size:13px}.recharge-package strong{font-size:18px;color:#08766d}.recharge-package input:checked+span{border-color:#0f9f91;background:#e7f8f5;box-shadow:0 0 0 3px rgba(15,159,145,.13)}.recharge-package input:focus-visible+span{outline:3px solid rgba(15,159,145,.25);outline-offset:2px}@media(max-width:370px){.recharge-package-grid{grid-template-columns:1fr}}


/* Visible H5 carousel and reference-style wallet pages. */
.reference-home-hero{height:245px;background:#122230;display:block;position:relative;overflow:hidden;color:#fff}.reference-home-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:1;filter:none}.reference-home-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,15,27,.62),rgba(5,17,29,.19) 65%,rgba(5,17,29,.08));pointer-events:none}.reference-home-hero-overlay{position:absolute;z-index:1;inset:auto 22px 21px;color:#fff;text-shadow:0 2px 8px rgba(0,0,0,.75)}.reference-home-hero-overlay small{font:700 10px Arial,sans-serif;letter-spacing:1.3px;color:#ffd21c}.reference-home-hero-overlay h1{margin:6px 0 5px;font:700 25px/1.08 Arial,sans-serif}.reference-home-hero-overlay p{margin:0;max-width:88%;font:14px/1.25 Arial,sans-serif}.hero-arrow{position:absolute;z-index:2;top:50%;transform:translateY(-50%);width:32px;height:46px;background:rgba(1,9,18,.36);color:#fff;font-size:35px;line-height:1}.hero-arrow.left{left:0}.hero-arrow.right{right:0}.hero-dots{position:absolute;z-index:2;right:16px;bottom:12px;display:flex;gap:5px}.hero-dots button{width:7px;height:7px;padding:0;border-radius:99px;background:rgba(255,255,255,.56)}.hero-dots button.active{width:20px;background:#fff}.finance-page{min-height:100svh;background:#f3f4f8;color:#080808;padding-bottom:34px;font-family:Arial,Helvetica,sans-serif}.finance-topbar{height:56px;background:#fff;display:grid;grid-template-columns:48px 1fr 48px;align-items:center;border-bottom:1px solid #eee}.finance-topbar h1{margin:0;text-align:center;font-size:20px;font-weight:700}.finance-back{height:56px;color:#5060bd;background:#fff;font-size:41px;line-height:.7;font-weight:200;padding:0 0 6px}.finance-balance-card{margin:12px 22px 20px;min-height:140px;padding:19px 21px;border-radius:8px;background:linear-gradient(132deg,#151515 0%,#2d2d2d 44%,#121212 44%,#383838 100%);color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.15)}.finance-balance-card small{display:block;font-size:16px}.finance-balance-card strong{display:block;margin-top:12px;font-size:28px;font-weight:500}.finance-info-card,.finance-form-card{margin:0 22px 18px;border-radius:8px;background:#fff;box-shadow:0 1px 6px rgba(0,0,0,.04)}.finance-info-card{display:grid;grid-template-columns:1fr auto;align-items:center;gap:0;padding:17px 18px}.finance-info-card div{min-width:0;padding:8px 0}.finance-info-card strong{display:block;font-size:16px;font-weight:500;word-break:break-word}.finance-info-card span{display:block;margin-top:9px;color:#aaa;text-align:center;font-size:16px}.finance-info-card button{min-width:108px;margin-left:14px;border-radius:24px;background:#ededed;color:#111;font-size:16px;padding:6px 12px}.finance-form-card{padding:20px 18px}.finance-form-card h2{margin:0 0 18px;text-align:center;font-size:20px;font-weight:500}.finance-form-card>label{display:block;margin:16px 0 7px;font-size:16px}.finance-form-card>input{width:100%;border:0;border-radius:22px;background:#f0f0f0;padding:12px 17px;outline:0;font-size:15px}.finance-form-card>input[type=file]{border-radius:8px;background:#f7f7f7;font-size:12px}.finance-form-card>small{display:block;color:#858585;font-size:11px;margin-top:5px}.finance-package-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.finance-package{position:relative}.finance-package input{position:absolute;opacity:0;pointer-events:none}.finance-package span{min-height:74px;padding:12px;border:1px solid #e1e4e7;border-radius:8px;background:#f9fafb;display:flex;flex-direction:column;justify-content:space-between;color:#283444;font-size:13px}.finance-package b{font-size:17px;color:#176d65}.finance-package input:checked+span{border-color:#55b951;background:#f0faed;box-shadow:0 0 0 2px rgba(85,185,81,.17)}.finance-qr{display:flex;align-items:center;justify-content:center;gap:15px;padding:14px;background:#f8f8f8;margin:16px auto 12px;border-radius:7px}.finance-qr img{width:86px;height:86px;background:#fff;padding:5px}.finance-qr span{font-size:13px;color:#777}.finance-form-card h3{font-size:16px;margin:17px 0 9px}.finance-form-card ol{margin:0;padding-left:20px;color:#555;font-size:12px;line-height:1.65}.finance-confirm{width:100%;margin-top:18px;border-radius:8px;padding:13px;background:#82c86e;color:#fff;font-size:18px;font-weight:600}.withdraw-page{min-height:100svh;background:#2b4256 url('/assets/login-car-showroom.jpg') center/cover fixed;color:#fff}.withdraw-page .finance-topbar{color:#fff;background:rgba(12,35,57,.62);border-bottom:0}.withdraw-page .finance-topbar h1,.withdraw-page .finance-back{color:#fff;background:transparent}.withdraw-overlay{min-height:calc(100svh - 56px);padding:26px 22px 38px;background:linear-gradient(180deg,rgba(13,37,58,.43),rgba(15,35,47,.7))}.withdraw-profile-form,.withdraw-request-form{display:grid;gap:7px}.withdraw-profile-form{padding-bottom:26px}.withdraw-profile-form label,.withdraw-request-form label{font-size:17px;font-weight:600}.withdraw-profile-form input,.withdraw-request-form input{width:100%;border:0;border-bottom:1px solid rgba(255,255,255,.63);outline:0;background:transparent;color:#fff;padding:8px 0 7px;font-size:16px}.withdraw-profile-form input::placeholder,.withdraw-request-form input::placeholder{color:rgba(255,255,255,.63)}.withdraw-profile-form button{margin-top:13px;height:43px;border:1px solid rgba(255,255,255,.75);border-radius:8px;background:rgba(255,255,255,.06);color:#fff;font-size:18px}.withdraw-request-form{padding-top:10px}.withdraw-amount-row{display:grid;grid-template-columns:1fr auto;align-items:center}.withdraw-amount-row input{grid-column:1/3;grid-row:1}.withdraw-amount-row button{grid-column:2;grid-row:1;background:transparent;color:#fff;padding:8px 0 8px 12px;font-size:16px}.withdraw-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:7px 0 5px}.withdraw-summary div{padding:7px 0}.withdraw-summary span{display:block;font-size:14px}.withdraw-summary b{display:block;font-size:16px;word-break:break-word}.withdraw-submit{height:45px;border-radius:5px;background:rgba(29,29,29,.72);color:#fff;font-size:18px;margin-top:6px}.withdraw-notes{margin-top:10px;padding-top:7px;border-top:1px solid rgba(255,255,255,.15)}.withdraw-notes h3{font-size:15px;margin:5px 0}.withdraw-notes ol{padding-left:18px;margin:0;font-size:12px;line-height:1.5}.records-page{background:#f3f4f8}.records-table{margin-top:10px;background:#fff;border-top:8px solid #eef0f3}.records-head,.records-table article{display:grid;grid-template-columns:1fr .9fr 1.15fr;align-items:center;gap:7px;padding:17px 19px;border-bottom:1px solid #e7e7e7}.records-head{color:#818181;font-size:15px}.records-table article strong{font-size:15px;font-weight:500}.records-table article time{text-align:right;font-size:13px;line-height:1.25}.records-table article .status{justify-self:center}.records-empty,.records-end{text-align:center;color:#999;padding:18px;font-size:14px}.invite-page{padding:0 0 35px;background:#f5f6f9}.invite-lead{margin:22px 23px 25px;font-size:16px;line-height:1.45}.invite-panel{margin:0 22px 18px;padding:21px;border-radius:7px;background:#fff;box-shadow:0 1px 6px rgba(0,0,0,.06)}.invite-panel h2{margin:0 0 20px;font-size:18px;font-weight:500}.invite-qr{display:block;width:200px;height:200px;margin:0 auto;background:#fff;padding:7px}.invite-panel output{display:block;width:100%;min-height:32px;padding:7px 10px;background:#e9e9e9;text-align:center;font:15px Arial,sans-serif;word-break:break-all}.invite-panel .invite-link{font-size:12px}.invite-panel button{display:block;margin:15px auto 0;border-radius:6px;background:#2f84e8;color:#fff;padding:7px 22px;font-size:16px}@media(max-width:370px){.finance-balance-card,.finance-info-card,.finance-form-card{margin-left:14px;margin-right:14px}.withdraw-overlay{padding-left:18px;padding-right:18px}.finance-package-grid{grid-template-columns:1fr}.reference-home-hero-overlay h1{font-size:21px}}

/* Reference finance artwork: dedicated deposit card and full-height withdrawal background. */
.recharge-page .finance-balance-card{background:#202020 url('/assets/recharge-voucher.png') center/100% 100% no-repeat}.withdraw-page{background:#2b4256 url('/assets/withdraw-cars.png') center top/100% auto no-repeat fixed}.withdraw-overlay{background:linear-gradient(180deg,rgba(13,37,58,.15),rgba(15,35,47,.28))}

.receipt-preview{display:grid;gap:10px}.receipt-preview img{display:block;width:100%;max-height:60vh;object-fit:contain;border:1px solid #e6e8ee;border-radius:8px;background:#f7f8fa}.receipt-preview small{color:#687386;text-align:center}

.withdraw-page{background-size:100% 100%;background-attachment:scroll}


/* Finance v14 — structured mobile payment, withdrawal, and record screens. */
.finance-page{--finance-ink:#18233a;--finance-muted:#738098;--finance-line:#e7ebf2;--finance-green:#167f73;--finance-blue:#234b70;background:#f3f6fa;color:var(--finance-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;padding-bottom:32px}
.finance-content,.records-content{width:min(100%,470px);margin:0 auto;padding:14px 16px 34px}.finance-topbar{position:sticky;top:0;z-index:24;height:62px;grid-template-columns:52px 1fr 52px;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid rgba(217,225,234,.84);box-shadow:0 1px 10px rgba(21,37,62,.035)}.finance-topbar h1{font-size:19px;font-weight:800;letter-spacing:-.25px}.finance-back{height:62px;font-size:36px;font-family:Arial,sans-serif;font-weight:300;color:#1d7391;background:transparent;transition:transform .15s}.finance-back:active{transform:translateX(-3px)}
.finance-balance-card{position:relative;isolation:isolate;margin:0 0 15px;min-height:132px;padding:22px 23px;border-radius:18px;overflow:hidden;background:linear-gradient(135deg,#111f38,#153d51 58%,#0d786f);box-shadow:0 16px 32px rgba(15,47,65,.2)}.recharge-page .finance-balance-card{background:linear-gradient(135deg,rgba(13,26,46,.94),rgba(20,62,76,.88)),url('/assets/recharge-voucher.png') center/cover no-repeat}.finance-balance-card:after{content:"";position:absolute;z-index:-1;right:-42px;bottom:-54px;width:184px;height:184px;border:32px solid rgba(255,255,255,.09);border-radius:50%}.finance-balance-card:before{content:"";position:absolute;z-index:-1;right:38px;top:-55px;width:112px;height:112px;border-radius:50%;background:rgba(84,224,198,.18);filter:blur(2px)}.finance-balance-card small{display:flex;align-items:center;gap:7px;font-size:13px;letter-spacing:.25px;color:rgba(255,255,255,.76)}.finance-balance-card small:before{content:"●";color:#75e7bd;font-size:8px}.finance-balance-card strong{margin-top:11px;font-size:30px;line-height:1.05;letter-spacing:-1.1px;font-weight:800}.finance-balance-card>span{position:absolute;right:23px;top:24px;border:1px solid rgba(255,255,255,.21);border-radius:999px;padding:5px 9px;color:rgba(255,255,255,.86);font-size:10px;letter-spacing:.8px}
.finance-info-card,.finance-form-card{margin:0 0 15px;border:1px solid rgba(224,230,238,.95);border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(20,39,69,.055)}.finance-info-card{display:block;padding:5px 16px}.finance-account-row{display:flex;align-items:center;gap:12px;min-height:76px;border-bottom:1px solid var(--finance-line)}.finance-account-row:last-child{border-bottom:0}.finance-account-row>div{min-width:0;flex:1}.finance-account-row span{display:block;margin:0;color:var(--finance-muted);font-size:11px;font-weight:650;letter-spacing:.1px;text-align:left}.finance-account-row strong{display:block;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#2d3b54;font-size:15px;font-weight:750}.finance-account-row button{min-width:66px;margin:0;border:1px solid #cce8e3;border-radius:999px;background:#effaf8;color:#13766d;padding:8px 11px;font-size:12px;font-weight:750;transition:.16s}.finance-account-row button:active{background:#daf4ee;transform:scale(.96)}
.finance-form-card{padding:20px}.finance-card-heading{display:flex;align-items:center;gap:10px;margin:0 0 20px}.finance-card-heading>span,.withdraw-card-heading>span{display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:linear-gradient(135deg,#087f75,#2bbca8);color:#fff;font:800 11px/1 Inter,Arial,sans-serif;box-shadow:0 4px 9px rgba(15,118,110,.2)}.finance-card-heading h2{margin:0;text-align:left;color:#1d2b43;font-size:18px;font-weight:800}.finance-field{margin-top:17px}.finance-field:first-of-type{margin-top:0}.finance-field>label{display:block;margin:0 0 9px;color:#435069;font-size:12px;font-weight:750}.finance-field>input{width:100%;min-height:46px;border:1px solid #dfe6ee;border-radius:11px;background:#fafbfd;padding:11px 13px;color:#25344c;font-size:14px;outline:0;transition:.18s}.finance-field>input:focus{border-color:#35b4a4;background:#fff;box-shadow:0 0 0 3px rgba(45,184,164,.13)}.finance-field>input[type=file]{padding:9px;font-size:12px;background:#f8fafc}.finance-field>small{display:block;margin-top:6px;color:#8b96a6;font-size:11px;line-height:1.35}
.finance-package-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.finance-package span{min-height:80px;padding:12px;border:1px solid #e0e7ee;border-radius:12px;background:linear-gradient(145deg,#fff,#f8fbfc);font-size:12px;font-weight:700;box-shadow:0 2px 5px rgba(29,44,71,.025)}.finance-package span:before{content:"";display:block;width:7px;height:7px;margin-bottom:10px;border:1.5px solid #cad4df;border-radius:50%;background:#fff}.finance-package b{font-size:16px;font-weight:850;color:#167f73;letter-spacing:-.2px}.finance-package input:checked+span{border-color:#3dbba8;background:linear-gradient(145deg,#f3fffc,#e7f8f4);box-shadow:0 0 0 3px rgba(53,182,161,.14)}.finance-package input:checked+span:before{border-color:#22a892;background:#22a892;box-shadow:inset 0 0 0 2px #effdf9}
.finance-qr{justify-content:flex-start;gap:15px;margin:19px 0 5px;padding:12px;border:1px solid #e7edf1;border-radius:13px;background:linear-gradient(135deg,#f7fbfb,#f7f9fc)}.finance-qr>div{display:grid;place-items:center;width:82px;height:82px;border:1px solid #e4e9ed;border-radius:9px;background:#fff}.finance-qr img{width:72px;height:72px;padding:0}.finance-qr p{display:grid;gap:5px;margin:0;line-height:1.38}.finance-qr b{color:#34425b;font-size:13px}.finance-qr p span{color:#7a8798;font-size:11px}.finance-instructions{margin-top:20px;border-top:1px dashed #dbe4ec;padding-top:15px}.finance-instructions h3{display:flex;align-items:center;gap:7px;margin:0 0 8px;color:#34425b;font-size:13px}.finance-instructions h3:before{content:"i";display:grid;place-items:center;width:16px;height:16px;border-radius:50%;background:#e5f8f4;color:#158478;font:800 11px/1 Arial}.finance-instructions ol{display:grid;gap:4px;margin:0;padding-left:18px;color:#778497;font-size:11px;line-height:1.5}.finance-confirm{display:flex;align-items:center;justify-content:center;gap:14px;width:100%;margin-top:19px;border-radius:12px;padding:14px 16px;background:linear-gradient(105deg,#137e73,#20a891);box-shadow:0 9px 16px rgba(19,126,115,.2);font-size:15px;font-weight:800;transition:.18s}.finance-confirm span{font-size:21px;line-height:.5}.finance-confirm:active{transform:translateY(1px);box-shadow:0 4px 9px rgba(19,126,115,.2)}
.withdraw-page{min-height:100svh;background:#132e43 url('/assets/withdraw-cars.png') center top/cover no-repeat fixed;color:#fff}.withdraw-page .finance-topbar{background:rgba(7,28,48,.72);border-color:rgba(255,255,255,.08)}.withdraw-page .finance-topbar h1,.withdraw-page .finance-back{color:#fff}.withdraw-overlay{width:min(100%,470px);min-height:calc(100svh - 62px);margin:0 auto;padding:20px 16px 36px;background:linear-gradient(180deg,rgba(5,31,52,.26),rgba(9,27,46,.53) 92%)}.withdraw-intro{display:grid;grid-template-columns:auto 1fr;column-gap:10px;align-items:center;margin-bottom:15px;padding:15px 16px;border:1px solid rgba(255,255,255,.16);border-radius:15px;background:rgba(7,24,41,.54);backdrop-filter:blur(7px);box-shadow:0 12px 22px rgba(0,0,0,.1)}.withdraw-intro>span{grid-row:1/3;display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:rgba(92,218,198,.21);color:#9af4e4;font-size:10px;font-weight:800;letter-spacing:.6px}.withdraw-intro strong{font-size:15px}.withdraw-intro small{margin-top:3px;color:rgba(255,255,255,.7);font-size:11px;line-height:1.3}.withdraw-profile-form,.withdraw-request-form{display:block;padding:17px;border:1px solid rgba(255,255,255,.16);border-radius:16px;background:rgba(9,34,53,.7);backdrop-filter:blur(8px);box-shadow:0 12px 26px rgba(0,0,0,.13)}.withdraw-profile-form{margin-bottom:14px}.withdraw-card-heading{display:flex;align-items:center;gap:9px;margin-bottom:15px}.withdraw-card-heading b{font-size:14px}.withdraw-fields{display:grid;gap:12px}.withdraw-profile-form label,.withdraw-request-form>label{display:grid;gap:6px;margin:0;color:rgba(255,255,255,.93);font-size:12px;font-weight:700}.withdraw-profile-form input,.withdraw-request-form input{min-height:37px;border:1px solid rgba(255,255,255,.24);border-radius:8px;background:rgba(255,255,255,.085);padding:8px 10px;color:#fff;font-size:14px}.withdraw-profile-form input:focus,.withdraw-request-form input:focus{border-color:rgba(121,244,217,.86);box-shadow:0 0 0 3px rgba(74,231,203,.12)}.withdraw-profile-form button{height:40px;margin-top:16px;border:1px solid rgba(194,255,242,.4);border-radius:9px;background:rgba(46,178,157,.24);color:#fff;font-size:13px;font-weight:750}.withdraw-request-form>label{margin-top:14px}.withdraw-request-form>label:first-of-type{margin-top:0}.withdraw-amount-row{margin-top:0}.withdraw-amount-row input{padding-right:59px}.withdraw-amount-row button{right:9px;background:rgba(128,244,220,.14);border-radius:7px;color:#bffff0;padding:6px 8px;font-size:11px;font-weight:750}.withdraw-summary{gap:6px;margin:16px 0 9px;padding:11px 0;border-top:1px solid rgba(255,255,255,.13);border-bottom:1px solid rgba(255,255,255,.13)}.withdraw-summary div{padding:0}.withdraw-summary span{color:rgba(255,255,255,.68);font-size:10px}.withdraw-summary b{margin-top:5px;color:#fff;font-size:12px;letter-spacing:-.2px}.withdraw-submit{display:flex;align-items:center;justify-content:center;gap:13px;height:45px;margin-top:14px;border-radius:10px;background:linear-gradient(105deg,#15a58f,#5abd76);box-shadow:0 8px 16px rgba(8,106,90,.26);font-size:14px;font-weight:800}.withdraw-submit span{font-size:20px;line-height:.5}.withdraw-notes{margin-top:18px;padding:13px 0 0;border-top:1px solid rgba(255,255,255,.17)}.withdraw-notes h3{font-size:12px;letter-spacing:.2px;margin:0 0 7px;color:#fff}.withdraw-notes ol{display:grid;gap:3px;padding-left:17px;color:rgba(255,255,255,.75);font-size:10.5px;line-height:1.42}
.records-page{background:linear-gradient(180deg,#f7fafb,#eef2f8)}.records-content{padding-top:18px}.records-hero{display:flex;align-items:center;gap:12px;margin-bottom:14px;padding:16px;border-radius:16px;background:linear-gradient(120deg,#18385a,#206d78);color:#fff;box-shadow:0 12px 23px rgba(23,55,84,.18)}.records-hero>span{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:rgba(255,255,255,.14);font-size:24px}.records-hero div{display:grid;gap:2px}.records-hero small{color:rgba(255,255,255,.72);font-size:11px}.records-hero strong{font-size:22px;line-height:1}.records-table{margin:0;border:1px solid #e4e9ef;border-top:0;border-radius:15px;background:#fff;overflow:hidden;box-shadow:0 8px 22px rgba(22,46,74,.05)}.records-head,.records-table article{grid-template-columns:1.18fr .83fr 1.18fr;gap:8px;padding:15px 16px}.records-head{border-bottom:1px solid #e8edf3;background:#f7fafb;color:#8591a1;font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.35px}.records-table article{min-height:67px}.records-table article strong{font-size:13px;font-weight:800;color:#283852}.records-table article time{color:#6f7d8f;font-size:11px}.records-table article .status{font-size:10px;padding:5px 7px}.records-end{display:flex;align-items:center;justify-content:center;gap:8px;padding:16px;color:#a0aab6;font-size:11px}.records-end span{width:25px;height:1px;background:#dfe5eb}.records-empty{padding:45px 15px;color:#9ca7b4;font-size:13px}
.finance-amount-input{position:relative}.finance-amount-input input{padding-right:62px!important}.finance-amount-input span{position:absolute;right:12px;top:50%;transform:translateY(-50%);padding:4px 7px;border-radius:7px;background:#e9f7f4;color:#167f73;font-size:10px;font-weight:850;letter-spacing:.5px;pointer-events:none}.finance-file-picker{display:flex;align-items:center;gap:9px;min-height:48px;border:1px solid #dfe6ee;border-radius:11px;background:#fafbfd;padding:6px 8px}.finance-file-input{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important}.finance-file-trigger{display:inline-flex!important;align-items:center;gap:6px;flex:0 0 auto!important;margin:0!important;border:1px solid #b9e0d9;border-radius:8px;background:#edf9f6;color:#14776e;padding:8px 10px!important;font-size:11px!important;font-weight:800!important;line-height:1;cursor:pointer;transition:.16s}.finance-file-trigger:hover,.finance-file-trigger:focus{background:#dff4ef;border-color:#71c8ba}.finance-file-trigger span{font-size:16px;line-height:.7}.finance-file-picker output{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#7b8797;font-size:11px}.finance-file-picker:focus-within{border-color:#35b4a4;box-shadow:0 0 0 3px rgba(45,184,164,.13)}
@media(max-width:370px){.finance-content,.records-content{padding-left:12px;padding-right:12px}.finance-form-card{padding:16px}.finance-balance-card{padding:20px}.finance-balance-card strong{font-size:25px}.finance-package-grid{grid-template-columns:1fr}.withdraw-overlay{padding-left:12px;padding-right:12px}.withdraw-profile-form,.withdraw-request-form{padding:14px}.withdraw-summary b{font-size:11px}.records-head,.records-table article{padding-left:12px;padding-right:12px;gap:4px}}

/* Member-facing alert delivered when staff creates an assigned pending order. */
.assisted-order-popup{text-align:center;padding:5px 2px 0}.assisted-order-popup .gift{width:70px;height:70px;margin:0 auto 13px;border-radius:22px;display:grid;place-items:center;font-size:36px;background:linear-gradient(135deg,#fbbf24,#f97316);box-shadow:0 12px 25px rgba(234,88,12,.25)}.assisted-order-popup .announcement{margin:0;color:#172033;font-size:18px;font-weight:800;line-height:1.45}.assisted-order-popup .order-note{margin:10px 3px 2px;color:#64748b;font-size:13px;line-height:1.45}.assisted-order-popup .popup-order{display:inline-block;margin-top:11px;padding:6px 10px;border-radius:999px;background:#e5f7f4;color:#08766d;font-size:12px;font-weight:750}.assisted-order-popup .modal-foot{justify-content:center;flex-wrap:wrap}.assisted-order-popup .modal-foot button{min-width:122px}.assisted-order-popup .primary{background:linear-gradient(135deg,#f97316,#ef4444)}
