
.user-shell{min-height:100vh;display:flex}.user-sidebar{position:fixed;left:0;top:0;bottom:0;width:236px;background:#111827;color:#d6deea;display:flex;flex-direction:column;z-index:30}.user-brand{height:78px;padding:0 20px;display:flex;gap:12px;align-items:center;border-bottom:1px solid rgba(255,255,255,.08)}.user-brand>span{width:38px;height:38px;border-radius:10px;background:#fff;color:#111827;display:grid;place-items:center;font-weight:800}.user-brand b{display:block;font-size:13px;letter-spacing:.07em;color:#fff}.user-brand small{display:block;color:#8f9caf;margin-top:4px;font-size:11px}.user-sidebar nav{padding:16px 12px;display:flex;flex-direction:column;gap:7px}.user-nav{display:flex;align-items:center;gap:11px;padding:0 14px;min-height:44px;border-radius:9px;color:#aeb9c8;text-decoration:none;font-size:14px;line-height:1.3}.user-nav:hover,.user-nav.active{background:#263244;color:#fff}.user-nav i{font-style:normal;width:22px;text-align:center}.user-side-bottom{margin-top:auto;padding:12px;border-top:1px solid rgba(255,255,255,.08)}.user-main{margin-left:236px;width:calc(100% - 236px);min-height:100vh}.user-top{height:64px;background:#fff;border-bottom:1px solid #e6ebf1;display:flex;align-items:center;gap:12px;padding:0 28px;position:sticky;top:0;z-index:20}.user-top>div:first-of-type{font-size:14px}.user-top>div:first-of-type span{color:#98a2b3}.user-top-right{margin-left:auto;display:flex;gap:15px;font-size:13px}.user-top-right a{text-decoration:none;color:#667085}.user-menu{display:none}.user-page{padding:26px;max-width:1450px;margin:0 auto}.user-footer{padding:18px 26px;color:#98a2b3;font-size:12px}.hero{background:linear-gradient(135deg,#182230,#2f3d51);color:#fff;border-radius:16px;padding:30px;margin-bottom:18px}.hero h1{margin:0;font-size:28px}.hero p{margin:8px 0 0;color:#c8d0dc}.user-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.user-stat{background:#fff;border:1px solid #e5e9ef;border-radius:13px;padding:18px}.user-stat small{color:#8b96a7}.user-stat strong{display:block;font-size:25px;margin-top:7px}.user-grid{display:grid;grid-template-columns:2fr 1fr;gap:18px}.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.product-card{background:#fff;border:1px solid #e5e9ef;border-radius:13px;padding:19px}.product-card h3{margin:0;font-size:17px}.product-card p{color:#7f8b9b;font-size:13px;min-height:44px;line-height:1.7}.price{font-size:25px;font-weight:800;margin:12px 0}.price small{font-size:12px;color:#98a2b3;font-weight:400}.order-contact{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.order-contact .full{grid-column:1/-1}.table-wrap{overflow:auto}.empty{padding:30px;text-align:center;color:#8a95a4}.pill{display:inline-flex;padding:4px 9px;border-radius:999px;background:#eef2f6;font-size:11px}.pill.green{background:#dcfae6;color:#067647}.pill.yellow{background:#fff1cc;color:#9a6700}.pill.red{background:#fee4e2;color:#b42318}.balance{font-size:16px;font-weight:700}.notice{background:#f8fafc;border:1px solid #e5e9ef;padding:14px;border-radius:10px;line-height:1.7;color:#667085;font-size:13px}
.pay-options{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.pay-option{display:inline-flex;align-items:center;gap:8px;padding:11px 16px;border:1px solid #d6dce5;border-radius:9px;cursor:pointer;font-size:14px;color:#344054;background:#fff}.pay-option:hover{border-color:#8492a6}.pay-option input{width:auto;margin:0}.pay-cashier{max-width:520px;margin:0 auto;text-align:center}.pay-amount{font-size:36px;font-weight:800;margin:14px 0}.pay-qrbox{display:flex;justify-content:center;padding:18px;background:#fff;border:1px solid #e5e9ef;border-radius:12px;max-width:300px;margin:16px auto}.pay-qrbox svg{width:100%;height:auto}.pay-status{margin-top:16px;padding:12px;border-radius:9px;background:#f8fafc;border:1px solid #e5e9ef;color:#667085;font-size:13px;line-height:1.7}
@media(max-width:1000px){.user-stats{grid-template-columns:repeat(2,1fr)}.product-grid{grid-template-columns:repeat(2,1fr)}.user-grid{grid-template-columns:1fr}}
@media(max-width:900px){.user-sidebar{transform:translateX(-110%);transition:.2s;box-shadow:12px 0 28px rgba(0,0,0,.2)}body.user-menu-open .user-sidebar{transform:translateX(0)}body.user-menu-open:after{content:"";position:fixed;inset:0;background:rgba(15,23,42,.4);z-index:25}.user-main{width:100%;margin-left:0}.user-menu{display:inline-grid;place-items:center;width:40px;height:40px;border:1px solid #e0e5eb;border-radius:9px;background:#fff;font-size:20px}.user-page{padding:16px}}
@media(max-width:650px){.user-stats,.product-grid,.order-contact{grid-template-columns:1fr}.hero{padding:23px}.hero h1{font-size:23px}.user-top{padding:0 15px}.user-top-right a:first-child{display:none}}

/* Keep checkout fields inside the content area when the sidebar reduces the available width. */
.user-main{min-width:0}
.order-contact{grid-template-columns:repeat(2,minmax(0,1fr))}
.order-contact>*{min-width:0}
@media(max-width:650px){.order-contact{grid-template-columns:1fr}}

/* V0.8 homepage spacing */
.public-hero-v08{padding:56px 42px;min-height:280px;display:flex;flex-direction:column;justify-content:center;gap:14px}
.public-hero-v08 h1{font-size:38px;line-height:1.25;margin:0 0 8px}
.public-hero-v08 p{max-width:720px;font-size:16px;color:#667085}
.public-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:10px}
@media(max-width:680px){.public-hero-v08{padding:32px 20px}.public-hero-v08 h1{font-size:28px}}
