:root{--bg:#f6f7fb;--surface:#fff;--ink:#111a24;--muted:#7c8798;--line:#e9edf2;--teal:#0c9b92;--teal-dark:#08766f;--orange:#ff6b35;--navy:#16243a;--danger:#e95464;--shadow:0 18px 48px rgba(21,33,48,.1);--radius:22px;font-family:"Be Vietnam Pro",sans-serif;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 50% -20%,#dff7f3 0,transparent 35%),var(--bg);min-height:100vh}button,input{font:inherit}button{border:0;cursor:pointer}.app-shell{width:min(100%,1100px);min-height:100vh;margin:auto;background:rgba(246,247,251,.88);position:relative;padding-bottom:110px}.topbar{height:78px;padding:0 28px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;background:rgba(246,247,251,.88);backdrop-filter:blur(18px);z-index:20;border-bottom:1px solid rgba(224,230,237,.75)}.brand{display:flex;align-items:center;gap:11px;background:none;color:var(--ink);text-align:left}.brand-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:linear-gradient(145deg,#12b5aa,#087e76);color:white;font-weight:800;box-shadow:0 8px 18px rgba(12,155,146,.25)}.brand b{display:block;font-size:15px}.brand small{font-size:10px;color:var(--muted);letter-spacing:.12em;text-transform:uppercase}.top-actions{display:flex;align-items:center;gap:10px}.balance-pill{border-radius:15px;background:#e7f7f4;padding:8px 13px;color:var(--teal-dark);display:flex;flex-direction:column;align-items:flex-start}.balance-pill span{font-size:9px;text-transform:uppercase;letter-spacing:.08em}.balance-pill b{font-size:13px}.icon-button{width:42px;height:42px;background:white;border-radius:14px;display:grid;place-items:center;box-shadow:0 4px 16px rgba(18,30,42,.06);position:relative}.icon-button svg,.bottom-nav svg{width:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.notification i{width:7px;height:7px;background:var(--orange);border:2px solid white;border-radius:50%;position:absolute;right:8px;top:8px}.view{display:none;padding:27px 28px 0}.view.active{display:block;animation:viewIn .28s ease}.welcome-row,.page-title{display:flex;align-items:flex-end;justify-content:space-between}.eyebrow{margin:0 0 6px;font-size:10px;font-weight:800;letter-spacing:.14em;color:var(--teal);text-transform:uppercase}.welcome-row h1,.page-title h1,.admin-header h1{font-size:28px;line-height:1.15;margin:0;letter-spacing:-.035em}.avatar{width:44px;height:44px;border-radius:50%;background:linear-gradient(145deg,#ffd7c8,#ff996f);color:#7d2c12;font-weight:800;box-shadow:0 6px 14px rgba(255,107,53,.18)}.search-box{height:54px;background:white;border:1px solid var(--line);border-radius:17px;margin:24px 0 20px;padding:0 15px;display:flex;align-items:center;gap:10px;box-shadow:0 5px 20px rgba(21,33,48,.035)}.search-box svg{width:20px;fill:none;stroke:#7c8798;stroke-width:2}.search-box input{border:0;outline:0;flex:1;color:var(--ink);min-width:0}.search-box input::placeholder{color:#a0a8b3}.search-box kbd{font:600 10px inherit;background:#f1f3f6;color:#8e98a5;border-radius:7px;padding:5px 7px}.promo-card{min-height:218px;border-radius:27px;background:linear-gradient(120deg,#0d2737,#145065);color:white;position:relative;overflow:hidden;padding:26px;display:flex;box-shadow:0 18px 35px rgba(13,39,55,.18)}.promo-copy{position:relative;z-index:3;width:65%}.promo-badge{font-size:9px;letter-spacing:.1em;font-weight:800;color:#a7fff4;background:rgba(46,211,192,.14);border:1px solid rgba(111,255,236,.16);padding:6px 9px;border-radius:999px}.promo-copy h2{font-size:30px;line-height:1.1;margin:15px 0 9px;letter-spacing:-.045em}.promo-copy p{font-size:12px;color:#b8ced6;margin:0 0 18px}.promo-copy button{background:white;color:#153848;border-radius:12px;padding:11px 14px;font-size:11px;font-weight:800}.promo-copy button span{margin-left:8px}.promo-art{position:absolute;right:0;top:0;width:46%;height:100%}.orb{position:absolute;border-radius:50%;filter:blur(1px)}.orb-a{width:170px;height:170px;background:linear-gradient(145deg,#2addc5,#087f9d);right:-35px;top:-30px;opacity:.58}.orb-b{width:110px;height:110px;background:#ff8b4c;right:10px;bottom:-43px;opacity:.45}.gift{position:absolute;width:93px;height:93px;border-radius:25px;background:linear-gradient(145deg,#ff895c,#ff4e3b);right:28px;top:67px;transform:rotate(-10deg);box-shadow:0 22px 34px rgba(0,0,0,.23);display:grid;place-items:center;border:1px solid rgba(255,255,255,.25)}.gift:before,.gift:after{content:"";position:absolute;background:#ffd2a6}.gift:before{width:14px;height:100%;left:39px}.gift:after{height:14px;width:100%;top:26px}.gift span{position:relative;z-index:2;font-size:32px;color:white}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;margin:32px 0 15px}.section-heading h2{font-size:19px;margin:0;letter-spacing:-.025em}.section-heading button,.admin-section-title button{background:none;color:var(--teal);font-size:11px;font-weight:700}.category-heading{margin-top:25px}.categories{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.category{background:none;color:var(--muted);display:flex;align-items:center;gap:8px;flex-direction:column;font-size:10px;font-weight:600}.category i{width:50px;height:50px;border-radius:17px;background:white;border:1px solid var(--line);display:grid;place-items:center;font-style:normal;font-size:22px;transition:.2s}.category.active{color:var(--teal-dark)}.category.active i{background:#dff6f2;border-color:#c7eee8;transform:translateY(-2px)}.filter-row{display:flex;gap:8px;overflow:auto;padding-bottom:3px;scrollbar-width:none;margin-bottom:16px}.filter-chip{white-space:nowrap;border:1px solid var(--line);background:white;border-radius:999px;padding:8px 12px;font-size:10px;font-weight:600;color:#748091}.filter-chip.active{background:var(--navy);color:white;border-color:var(--navy)}.product-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}.product-card{background:white;border-radius:20px;border:1px solid var(--line);padding:13px;position:relative;transition:.2s;box-shadow:0 6px 24px rgba(20,35,49,.035)}.product-card:active{transform:scale(.98)}.product-visual{height:118px;border-radius:16px;background:var(--product-bg,#edf8f7);display:grid;place-items:center;font-size:45px;position:relative;overflow:hidden}.product-visual:after{content:"";width:80px;height:80px;border:18px solid rgba(255,255,255,.25);border-radius:50%;position:absolute;right:-33px;top:-33px}.source-tag{position:absolute;left:8px;top:8px;background:rgba(255,255,255,.87);backdrop-filter:blur(8px);font-size:8px;font-weight:800;padding:5px 7px;border-radius:999px;color:#536171;z-index:2}.stock-tag{position:absolute;right:8px;bottom:8px;font-size:8px;color:#2c675a;background:rgba(239,255,250,.9);padding:4px 6px;border-radius:7px;z-index:2}.stock-tag.low{color:#b6631d;background:#fff5e8}.product-info{padding:12px 2px 2px}.product-info h3{font-size:12px;line-height:1.45;min-height:35px;margin:0 0 7px;font-weight:700}.product-meta{display:flex;align-items:flex-end;justify-content:space-between;gap:8px}.price strong{font-size:14px;color:var(--teal-dark)}.price del{font-size:9px;color:#a1a9b2;display:block;margin-top:2px}.add-button{width:34px;height:34px;border-radius:11px;background:var(--navy);color:white;font-size:20px;line-height:1}.empty-state{text-align:center;padding:50px 0;color:var(--muted)}.empty-state span{font-size:40px}.empty-state h3{color:var(--ink);margin:10px 0 5px}.empty-state p{font-size:12px}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);z-index:30;width:min(100%,1100px);height:82px;padding:9px 20px max(11px,env(safe-area-inset-bottom));background:rgba(255,255,255,.95);backdrop-filter:blur(18px);border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(5,1fr);box-shadow:0 -10px 30px rgba(20,30,40,.06)}.bottom-nav button{background:none;color:#9aa3af;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:9px;font-weight:600;position:relative}.bottom-nav button.active{color:var(--teal)}.cart-nav{transform:translateY(-14px)}.cart-circle{width:52px;height:52px;border-radius:18px;background:var(--navy);color:white;display:grid;place-items:center;box-shadow:0 10px 20px rgba(22,36,58,.25)}.cart-circle svg{width:23px}.cart-nav i{position:absolute;top:-3px;right:calc(50% - 30px);z-index:2;min-width:19px;height:19px;padding:0 4px;border-radius:10px;background:var(--orange);color:white;border:2px solid white;font-size:9px;line-height:15px;font-style:normal}.scrim{position:fixed;inset:0;background:rgba(10,19,27,.45);backdrop-filter:blur(3px);z-index:40;opacity:0;pointer-events:none;transition:.25s}.scrim.open{opacity:1;pointer-events:auto}.cart-drawer{position:fixed;z-index:50;left:50%;bottom:0;transform:translate(-50%,105%);width:min(100%,640px);max-height:88vh;background:white;border-radius:28px 28px 0 0;box-shadow:0 -25px 70px rgba(0,0,0,.2);padding:9px 22px max(24px,env(safe-area-inset-bottom));transition:.32s cubic-bezier(.22,.8,.25,1);display:flex;flex-direction:column}.cart-drawer.open{transform:translate(-50%,0)}.drawer-handle{width:42px;height:4px;border-radius:4px;background:#d8dde3;margin:2px auto 16px}.drawer-head{display:flex;align-items:center;justify-content:space-between}.drawer-head h2{margin:0;font-size:23px}.drawer-head h2 span{font-size:11px;color:white;background:var(--orange);padding:3px 7px;border-radius:9px;vertical-align:middle}.close-button,.modal-close{width:38px;height:38px;border-radius:12px;background:#f1f3f6;color:#6f7a88;font-size:24px}.cart-items{overflow:auto}.cart-item{display:grid;grid-template-columns:58px 1fr auto;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}.cart-item-icon{height:58px;border-radius:14px;background:var(--item-bg,#edf8f7);display:grid;place-items:center;font-size:25px}.cart-item h3{font-size:12px;margin:0 0 5px}.cart-item strong{font-size:12px;color:var(--teal-dark)}.qty-control{display:flex;align-items:center;gap:7px}.qty-control button{width:25px;height:25px;border-radius:8px;background:#f0f3f6}.qty-control span{font-size:11px;font-weight:700}.cart-empty{text-align:center;padding:40px 0}.cart-empty span{font-size:44px}.cart-empty h3{font-size:15px;margin:10px 0 5px}.cart-empty p{font-size:11px;color:var(--muted);margin:0}.cart-footer{border-top:1px solid var(--line);padding-top:16px}.cart-total{display:flex;justify-content:space-between;align-items:center}.cart-total span{font-size:12px;color:var(--muted)}.cart-total strong{font-size:20px}.cart-footer>p{font-size:9px;color:var(--muted);margin:4px 0 13px}.primary-button{width:100%;height:50px;border-radius:15px;background:linear-gradient(135deg,#0da59b,#07736c);color:white;font-size:12px;font-weight:800;box-shadow:0 10px 23px rgba(12,155,146,.22)}.primary-button span{float:right;margin-right:5px}.page-title{margin-bottom:24px}.round-action,.back-button{width:42px;height:42px;border-radius:14px;background:white;border:1px solid var(--line);font-size:20px}.order-tabs{display:flex;background:#e9edf1;padding:4px;border-radius:14px;margin-bottom:17px}.order-tabs button{flex:1;background:transparent;padding:10px 5px;border-radius:11px;font-size:10px;color:#7d8794}.order-tabs button.active{background:white;color:var(--ink);font-weight:700;box-shadow:0 3px 9px rgba(20,30,40,.07)}.order-list{display:flex;flex-direction:column;gap:12px}.order-card{background:white;border:1px solid var(--line);border-radius:20px;padding:16px}.order-top,.order-product,.order-bottom{display:flex;align-items:center;justify-content:space-between}.order-top{padding-bottom:12px;border-bottom:1px solid var(--line)}.order-top b{font-size:11px}.order-top span{font-size:9px;color:var(--teal-dark);background:#def5f0;padding:5px 8px;border-radius:999px}.order-product{justify-content:flex-start;gap:12px;padding:15px 0}.order-product i{width:50px;height:50px;border-radius:14px;background:#eef6f5;display:grid;place-items:center;font-style:normal;font-size:23px}.order-product h3{font-size:12px;margin:0 0 3px}.order-product p{font-size:10px;color:var(--muted);margin:0}.order-bottom span{font-size:10px;color:var(--muted)}.order-bottom strong{font-size:13px}.wallet-card{height:210px;border-radius:28px;background:linear-gradient(135deg,#113d47,#08252f);color:white;padding:25px;position:relative;overflow:hidden;box-shadow:0 20px 40px rgba(8,37,47,.22)}.wallet-card:after{content:"";position:absolute;width:230px;height:230px;border:45px solid rgba(56,211,194,.09);border-radius:50%;right:-80px;top:-110px}.wallet-card span{font-size:10px;color:#b3cbc9}.wallet-card strong{font-size:34px;display:block;margin-top:8px}.wallet-card strong small{font-size:16px}.wallet-logo{position:absolute;right:24px;top:25px;width:42px;height:42px;border-radius:14px;background:#26c5b5;display:grid;place-items:center;font-weight:800}.wallet-card p{position:absolute;bottom:21px;left:25px;right:25px;font-size:11px;letter-spacing:.12em}.wallet-card p span{float:right;color:#89e8db;letter-spacing:0}.quick-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.quick-actions button{background:white;border:1px solid var(--line);border-radius:17px;padding:15px 5px;color:var(--ink)}.quick-actions i{width:34px;height:34px;border-radius:12px;background:#e2f6f3;color:var(--teal-dark);display:grid;place-items:center;margin:auto auto 7px;font-style:normal;font-size:18px}.quick-actions span{font-size:10px;font-weight:600}.info-card,.demo-notice{background:#edf8f7;border:1px solid #d6f0ed;border-radius:18px;padding:16px;display:flex;gap:12px}.info-icon,.demo-notice>span{flex:0 0 30px;width:30px;height:30px;border-radius:10px;background:var(--teal);color:white;display:grid;place-items:center;font-size:12px;font-weight:700}.info-card b,.demo-notice b{font-size:12px}.info-card p,.demo-notice p{font-size:10px;line-height:1.6;color:#607176;margin:3px 0 0}.profile-card{text-align:center;padding:15px 0 23px}.avatar.large{width:82px;height:82px;font-size:22px}.profile-card h1{font-size:22px;margin:12px 0 4px}.profile-card p{font-size:10px;color:var(--muted);margin:0 0 11px}.profile-card>span{font-size:8px;letter-spacing:.1em;background:#e4f5f2;color:var(--teal-dark);padding:6px 9px;border-radius:999px;font-weight:800}.menu-card{background:white;border:1px solid var(--line);border-radius:22px;overflow:hidden}.menu-card button{width:100%;background:white;display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:11px;text-align:left;padding:14px 16px;border-bottom:1px solid var(--line)}.menu-card button:last-child{border-bottom:0}.menu-card i{width:36px;height:36px;border-radius:11px;background:#edf7f5;color:var(--teal-dark);display:grid;place-items:center;font-style:normal}.menu-card span b,.menu-card span small{display:block}.menu-card span b{font-size:11px}.menu-card span small{font-size:9px;color:var(--muted);margin-top:2px}.menu-card em{font-style:normal;color:#9ba4af;font-size:20px}.version{text-align:center;color:#a5adb6;font-size:9px;margin-top:22px}.admin-view{padding-bottom:20px}.admin-header{display:flex;align-items:center;gap:12px;margin-bottom:18px}.admin-header>div{flex:1}.admin-header h1{font-size:23px}.sync-button{background:var(--navy);color:white;padding:11px 13px;border-radius:12px;font-size:10px;font-weight:700}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;margin:16px 0 28px}.stat-grid article{background:white;border:1px solid var(--line);border-radius:18px;padding:15px}.stat-grid span{display:block;color:var(--muted);font-size:9px;margin-bottom:9px}.stat-grid strong{display:block;font-size:20px}.stat-grid small{font-size:8px;color:var(--muted)}.stat-grid .positive{color:#159373}.stat-grid .warning{color:#d57b27}.admin-section-title,.inventory-toolbar{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:13px}.admin-section-title h2,.inventory-toolbar h2{font-size:18px;margin:0}.admin-section-title p,.inventory-toolbar p{font-size:9px;color:var(--muted);margin:4px 0 0}.supplier-admin-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;margin-bottom:30px}.supplier-admin{background:white;border:1px solid var(--line);border-radius:18px;padding:15px}.supplier-admin-head{display:flex;align-items:center;gap:9px}.supplier-logo{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;background:#eef6f5;font-weight:800;font-size:11px;color:var(--teal-dark)}.supplier-admin-head div{flex:1}.supplier-admin h3{font-size:11px;margin:0 0 2px}.supplier-admin p{font-size:8px;color:var(--muted);margin:0}.toggle{width:38px;height:22px;border-radius:20px;background:#d5dbe1;padding:3px;transition:.2s}.toggle:before{content:"";display:block;width:16px;height:16px;background:white;border-radius:50%;transition:.2s;box-shadow:0 2px 5px rgba(0,0,0,.18)}.toggle.on{background:var(--teal)}.toggle.on:before{transform:translateX(16px)}.supplier-status{display:flex;justify-content:space-between;align-items:center;margin-top:14px;padding-top:11px;border-top:1px solid var(--line)}.supplier-status span{font-size:8px;color:#b46f26;background:#fff3e3;padding:5px 7px;border-radius:8px}.supplier-status button{background:none;color:var(--teal);font-size:8px;font-weight:700}.segmented{display:flex;background:#e9edf1;padding:3px;border-radius:10px}.segmented button{font-size:8px;padding:7px 9px;background:transparent;color:#7c8692;border-radius:8px}.segmented button.active{background:white;color:var(--ink);font-weight:700}.inventory-list{display:flex;flex-direction:column;gap:8px}.inventory-item{background:white;border:1px solid var(--line);border-radius:16px;padding:11px;display:grid;grid-template-columns:44px 1fr auto auto;align-items:center;gap:10px}.inventory-item-icon{height:44px;border-radius:12px;background:var(--item-bg);display:grid;place-items:center;font-size:20px}.inventory-item h3{font-size:10px;margin:0 0 3px}.inventory-item p{font-size:8px;color:var(--muted);margin:0}.inventory-stock{text-align:right}.inventory-stock b{display:block;font-size:10px}.inventory-stock small{font-size:8px;color:var(--muted)}.inventory-item.off{opacity:.62}.modal{position:fixed;inset:0;background:rgba(10,19,27,.5);backdrop-filter:blur(4px);z-index:60;display:grid;place-items:end center;padding:16px;opacity:0;pointer-events:none;transition:.2s}.modal.open{opacity:1;pointer-events:auto}.modal-panel{width:min(100%,520px);background:white;border-radius:25px;padding:23px;position:relative;transform:translateY(20px);transition:.25s}.modal.open .modal-panel{transform:none}.modal-close{position:absolute;right:17px;top:17px}.modal-kicker{font-size:9px;font-weight:800;letter-spacing:.14em;color:var(--teal)}.api-panel h2{font-size:21px;margin:8px 45px 8px 0}.api-panel>p{font-size:10px;line-height:1.6;color:var(--muted)}.api-steps{margin:17px 0}.api-steps>div{display:flex;gap:10px;align-items:center;margin:11px 0}.api-steps i{width:28px;height:28px;border-radius:9px;background:#e4f6f3;color:var(--teal-dark);font-style:normal;font-size:10px;font-weight:800;display:grid;place-items:center}.api-steps b,.api-steps small{display:block}.api-steps b{font-size:10px}.api-steps small{font-size:8px;color:var(--muted);margin-top:2px}.endpoint-list{display:flex;flex-direction:column;gap:6px;margin-bottom:15px}.endpoint-list code{font-size:8px;background:#f1f3f6;padding:9px;border-radius:8px;overflow:auto;color:#566372}.detail-hero{height:145px;border-radius:18px;background:var(--detail-bg,#e9f8f6);display:grid;place-items:center;font-size:65px;margin-bottom:18px}.detail-panel h2{font-size:19px;margin:0 40px 6px 0}.detail-panel .detail-source{font-size:9px;color:var(--teal);font-weight:700}.detail-panel .detail-desc{font-size:10px;color:var(--muted);line-height:1.7}.detail-price{display:flex;justify-content:space-between;align-items:center;margin:17px 0}.detail-price strong{font-size:22px}.detail-price span{font-size:9px;color:#2d806e;background:#e8f8f4;padding:6px 8px;border-radius:9px}.udid-field{display:block;margin:12px 0}.udid-field span{font-size:9px;font-weight:700}.udid-field input{width:100%;height:44px;border:1px solid var(--line);border-radius:12px;padding:0 12px;outline:0;margin-top:6px;font-size:10px}.toast{position:fixed;z-index:80;top:18px;left:50%;transform:translate(-50%,-120px);min-width:240px;max-width:calc(100% - 32px);background:#122632;color:white;border-radius:15px;padding:11px 15px;display:flex;align-items:center;gap:10px;box-shadow:var(--shadow);transition:.3s}.toast.show{transform:translate(-50%,0)}.toast span{width:23px;height:23px;border-radius:8px;background:var(--teal);display:grid;place-items:center;font-size:10px}.toast p{font-size:10px;margin:0}@keyframes viewIn{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}@media(min-width:760px){.app-shell{box-shadow:0 0 80px rgba(23,43,58,.08)}.view{padding-left:50px;padding-right:50px}.product-grid{grid-template-columns:repeat(4,1fr)}.categories{max-width:650px}.promo-card{min-height:250px}.promo-copy h2{font-size:38px}.product-visual{height:145px}.modal{place-items:center}.cart-drawer{border-radius:28px 28px 0 0}.inventory-item h3{font-size:11px}}@media(max-width:600px){.topbar{padding:0 18px;height:70px}.view{padding:23px 18px 0}.balance-pill span{display:none}.balance-pill{padding:10px 12px}.categories{grid-template-columns:repeat(6,64px);overflow-x:auto;margin-right:-18px;padding-right:18px;scrollbar-width:none}.category i{width:47px;height:47px}.stat-grid{grid-template-columns:repeat(2,1fr)}.supplier-admin-grid{grid-template-columns:1fr}.inventory-toolbar{align-items:flex-start;gap:12px;flex-direction:column}.admin-header{align-items:flex-start}.admin-header .sync-button{margin-left:auto}.bottom-nav{padding-left:7px;padding-right:7px}.inventory-item{grid-template-columns:42px 1fr auto auto}.promo-copy{width:70%}.promo-art{width:43%}.gift{right:14px;transform:scale(.8) rotate(-10deg)}}
