
:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:#1f2937;background:#f5f6f8;--ink:#1c2928;--muted:#7d8987;--green:#176c55;--green2:#e8f4ee;--line:#e9eeeb;--surface:#fff;--orange:#dc8855}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #a8d3c1;outline-offset:2px}.app{display:flex;min-height:100vh}.sidebar{width:248px;flex-shrink:0;background:#fff;border-right:1px solid #e9eeec;display:flex;flex-direction:column;padding:22px 14px;position:sticky;top:0;height:100vh}.brand{padding:11px 14px 26px;display:flex;align-items:center;gap:11px}.brand-icon{width:40px;height:40px;border-radius:13px;background:#176c55;color:white;display:grid;place-items:center;font-weight:800;font-size:22px;letter-spacing:-2px}.brand b{display:block;font-size:17px;letter-spacing:.6px}.brand small{color:#81908b;font-size:10px;letter-spacing:1.5px}.nav-label{font-size:10px;color:#a4afaa;padding:6px 14px;margin:8px 0;text-transform:uppercase;font-weight:800;letter-spacing:1.4px}.nav{display:flex;flex-direction:column;gap:4px}.nav button{border:0;background:transparent;text-align:left;display:flex;gap:12px;align-items:center;color:#677670;padding:13px 15px;border-radius:12px;font-weight:650;font-size:13px}.nav button.active{background:#eaf5ef;color:#14674f}.nav button:hover:not(.active){background:#f7f8f8}.nav svg{width:19px;height:19px;stroke-width:1.8}.side-foot{margin-top:auto;padding:13px;border-radius:14px;background:#f6f7f5}.side-foot strong{font-size:12px}.side-foot p{font-size:11px;color:#87918d;margin:6px 0 0;line-height:1.6}.side-foot .dot{height:7px;width:7px;background:#31ae74;border-radius:50%;display:inline-block;margin-right:6px}.main{flex:1;min-width:0;padding:26px 30px 70px;max-width:1800px}.topbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:24px}.eyebrow{font-size:10px;letter-spacing:1.6px;color:#8d9a94;text-transform:uppercase;font-weight:800}.topbar h1{font-size:27px;letter-spacing:-.9px;margin:3px 0 0;font-weight:790;color:#1d302a}.top-actions{display:flex;align-items:center;gap:10px}.pill{background:white;border:1px solid var(--line);border-radius:999px;padding:9px 12px;font-size:11px;font-weight:700;color:#62746c}.pill.green{color:var(--green);background:#eaf5ef;border-color:#deeee5}.avatar{width:39px;height:39px;display:grid;place-items:center;border-radius:50%;background:#e9ede9;color:#3b6454;font-weight:800}.page{display:none}.page.active{display:block}.banner{border-radius:20px;background:linear-gradient(115deg,#174b41,#146a53 64%,#238064);padding:25px 29px;color:white;display:flex;align-items:center;justify-content:space-between;gap:16px;overflow:hidden;position:relative}.banner:after{content:"";position:absolute;right:-65px;top:-110px;height:300px;width:300px;border-radius:50%;border:55px solid #ffffff0c}.banner h2{font-size:24px;margin:6px 0;letter-spacing:-.6px}.banner p{font-size:12px;line-height:1.6;opacity:.8;margin:0;max-width:620px}.banner button{white-space:nowrap;background:#fff;color:#176c55;border:0;border-radius:11px;padding:13px 18px;font-size:12px;font-weight:800;z-index:1}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:20px 0}.stat{background:#fff;border:1px solid #edf0ee;border-radius:17px;padding:19px}.stat .statcap{color:#8b9791;font-size:11px;display:flex;justify-content:space-between}.stat strong{font-size:24px;letter-spacing:-.8px;display:block;margin:13px 0 5px;color:#20362d}.stat small{color:#778780;font-size:10px}.section{background:white;border:1px solid #ecf0ee;border-radius:18px;padding:20px;margin-bottom:18px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.section-title h3{font-size:16px;letter-spacing:-.3px;margin:0}.muted{color:#85928b;font-size:12px}.btn{border:1px solid #dfe7e1;background:#fff;color:#3d554c;padding:11px 14px;border-radius:10px;font-size:12px;font-weight:750;display:inline-flex;align-items:center;justify-content:center;gap:7px}.btn.primary{background:var(--green);color:white;border-color:var(--green)}.btn.danger{border-color:#f4d4d1;color:#bf493e}.btn.soft{background:var(--green2);color:var(--green);border-color:var(--green2)}.btn:hover{filter:brightness(.97)}.btn.sm{padding:8px 11px;font-size:11px}.btn.full{width:100%}.twocol{display:grid;grid-template-columns:1.35fr 1fr;gap:18px}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px;min-width:530px}th{text-align:left;font-size:10px;text-transform:uppercase;letter-spacing:.6px;color:#98a39d;padding:12px 10px;border-bottom:1px solid var(--line)}td{padding:13px 10px;border-bottom:1px solid #f0f2f1;color:#4c6057}td b{color:#2c3e35}.tag{padding:5px 8px;border-radius:7px;background:#e8f7ed;color:#1b865e;font-size:10px;font-weight:750;display:inline-block}.tag.yellow{background:#fff3dd;color:#a46b15}.tag.blue{background:#eaf3fb;color:#34699f}.tag.grey{background:#f1f2f2;color:#7a8780}.simple-bars{height:160px;display:flex;align-items:end;gap:13px;padding-top:8px}.barcol{flex:1;display:flex;align-items:center;justify-content:end;flex-direction:column;gap:9px}.bar{background:#b6d8c7;border-radius:7px 7px 3px 3px;width:100%;min-height:5px;max-width:40px}.barcol:last-child .bar{background:#1d785c}.barcol span{font-size:10px;color:#92a198}.point-note{display:flex;align-items:flex-start;gap:11px;background:#f6f9f6;border-radius:12px;padding:13px;margin-top:13px;color:#668074;font-size:11px;line-height:1.6}.pos-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:18px}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;flex-wrap:wrap}.search{padding:11px 13px;border:1px solid #e2e8e3;border-radius:11px;background:white;min-width:210px;width:100%;color:#31493d;font-size:12px}.categories{display:flex;gap:7px;overflow:auto;padding-bottom:10px}.cat{white-space:nowrap;border:1px solid #e8ece9;border-radius:9px;background:white;padding:9px 13px;font-size:11px;color:#7c8d83;font-weight:750}.cat.selected{background:#1a7056;border-color:#1a7056;color:white}.productgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.product{border:1px solid #e9eeea;border-radius:15px;background:white;overflow:hidden;text-align:left;padding:0;transition:.15s}.product:hover{transform:translateY(-2px);box-shadow:0 8px 18px #183c2611}.product:disabled{opacity:.45}.prodart{height:125px;background:linear-gradient(130deg,#e9d6be,#a78360);display:grid;place-items:center;font-size:50px;position:relative}.prodart.c2{background:linear-gradient(135deg,#e0ede3,#9dc4a7)}.prodart.c3{background:linear-gradient(135deg,#f6debb,#dcab7e)}.prodart.c4{background:linear-gradient(135deg,#eadfea,#b9a2be)}.prodart:after{content:"";position:absolute;inset:12px;border:1px solid #ffffff44;border-radius:9px}.prodinfo{padding:13px}.prodinfo strong{font-size:12px;display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.prodinfo small{display:block;margin-top:4px;color:#92a199;font-size:10px}.prodinfo b{color:#176c55;font-size:13px;display:block;margin-top:10px}.cart{background:white;border:1px solid #e9eeeb;border-radius:18px;display:flex;flex-direction:column;min-height:620px;position:sticky;top:15px;max-height:calc(100vh - 40px)}.carthead{padding:20px;border-bottom:1px solid #eef2ef}.carthead h3{margin:0;font-size:16px}.carthead p{margin:6px 0 0;color:#8b9a92;font-size:11px}.cartbody{padding:12px 18px;flex:1;overflow:auto;min-height:150px}.cartitem{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #f1f3f1}.cartemoji{width:40px;height:40px;display:grid;place-items:center;background:#f2f1e8;border-radius:9px;font-size:23px}.cartdesc{flex:1;min-width:0}.cartdesc strong{font-size:11px;display:block}.cartdesc small{font-size:10px;color:#7f9185;display:block;margin-top:5px}.qty{display:flex;align-items:center;gap:8px;margin-top:7px}.qty button{width:23px;height:23px;background:#eef4ee;border:0;border-radius:6px;font-size:14px;color:#326e55}.qty b{font-size:11px}.cartitem>strong{font-size:11px;white-space:nowrap}.cartfoot{border-top:1px solid #e8eee9;padding:18px}.totalrow{display:flex;justify-content:space-between;font-size:12px;color:#8a968e;margin-bottom:10px}.totalrow.final{color:#1a3526;font-weight:850;font-size:19px;margin-top:14px;margin-bottom:18px}.cartbuttons{display:grid;grid-template-columns:1fr 1fr;gap:9px}.empty{color:#a0aba4;text-align:center;padding:45px 12px;font-size:12px;line-height:1.6}.empty .symbol{font-size:36px;display:block;margin-bottom:10px}.tabs{display:flex;align-items:center;gap:7px;margin-bottom:18px;flex-wrap:wrap}.tabs button{border:1px solid #e5ebe7;border-radius:10px;background:white;padding:11px 13px;font-size:12px;font-weight:700;color:#77867c}.tabs button.active{color:#176c55;background:#eaf5ee;border-color:#cce5d6}.billgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.billcard{border:1px solid #e9eeeb;border-radius:15px;background:white;padding:17px}.billcard .billtop{display:flex;align-items:center;justify-content:space-between}.billcard h4{margin:14px 0 6px;font-size:15px}.billcard p{margin:0 0 12px;font-size:11px;color:#829189}.billcard strong{font-size:18px;color:#176c55}.billcard .actions{display:flex;gap:8px;margin-top:14px}.filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-bottom:14px}.field{display:flex;flex-direction:column;gap:7px;min-width:150px;flex:1}.field label{font-size:11px;font-weight:750;color:#607469}.field input,.field select,.field textarea{border:1px solid #e1e8e2;background:#fff;padding:11px 12px;border-radius:10px;font-size:12px;width:100%;color:#345043}.field textarea{resize:vertical;min-height:76px}.mini-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:17px 0}.mini-stats>div{padding:17px;background:#f7f9f7;border-radius:12px}.mini-stats span{color:#91a098;display:block;font-size:11px}.mini-stats b{display:block;font-size:20px;margin-top:7px;color:#254c3b}.formrow{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.modal-cover{display:none;position:fixed;inset:0;z-index:80;background:#1d302a88;align-items:center;justify-content:center;padding:15px}.modal-cover.show{display:flex}.modal{background:#fff;border-radius:20px;padding:24px;width:min(560px,100%);max-height:93vh;overflow:auto;box-shadow:0 30px 100px #0003}.modal h3{font-size:20px;margin:0 0 6px}.modal .subtitle{font-size:12px;color:#8d9a92;margin:0 0 22px;line-height:1.5}.modalactions{display:flex;gap:10px;justify-content:end;margin-top:22px}.payment-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.payment-options button{border:1px solid #e6ede7;border-radius:11px;background:white;padding:18px 8px;color:#637b6d;font-weight:750;font-size:12px}.payment-options button.active{background:#e7f5ed;border-color:#1c805d;color:#126f50}.check-list{display:grid;gap:9px}.check-list>div{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid #edf1ed;font-size:12px}.toast{position:fixed;bottom:25px;right:25px;z-index:100;background:#203c30;color:white;padding:14px 20px;border-radius:11px;box-shadow:0 9px 25px #0002;font-size:12px;max-width:380px;display:none}.toast.show{display:block}.notice{padding:13px;border-radius:10px;background:#fff8e7;color:#986a2b;font-size:11px;line-height:1.6}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.footer-mark{text-align:center;color:#a2ada6;font-size:10px;margin-top:34px}.warnlink{font-size:11px;border:0;background:transparent;color:#b26846;font-weight:750}.label-inline{display:inline-flex;gap:6px;align-items:center}.mobilebar{display:none}.receipt{width:280px;font-family:monospace;color:#222;padding:12px;margin:0 auto}.receipt hr{border:0;border-top:1px dashed #888}.receipt .center{text-align:center}.report-actions{display:flex;gap:8px;flex-wrap:wrap}.helpbox{background:#f4f8f5;padding:16px;border-radius:13px;font-size:12px;line-height:1.8;color:#62796c}.desktop-only{}@media(max-width:1150px){.sidebar{width:210px}.main{padding:20px}.pos-layout{grid-template-columns:minmax(0,1fr) 315px}.productgrid{grid-template-columns:repeat(2,1fr)}}@media(max-width:820px){.sidebar{display:none}.main{padding:19px 13px 95px}.topbar h1{font-size:23px}.topbar{margin-bottom:18px}.top-actions .pill:nth-child(1){display:none}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.stat{padding:14px}.stat strong{font-size:20px}.twocol{grid-template-columns:1fr}.pos-layout{grid-template-columns:1fr}.cart{position:static;max-height:none;min-height:0}.cartbody{max-height:280px}.productgrid{grid-template-columns:repeat(3,1fr)}.billgrid{grid-template-columns:repeat(2,1fr)}.mobilebar{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:40;background:#fff;border-top:1px solid #e1e8e2;justify-content:space-around;padding:8px 5px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -8px 30px #183a2710}.mobilebar button{border:0;background:transparent;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:9px;color:#87948b;font-weight:700;min-width:54px}.mobilebar button.active{color:#146c50}.mobilebar svg{height:20px;width:20px}.banner h2{font-size:20px}.banner button{padding:11px 13px}}@media(max-width:500px){.productgrid{grid-template-columns:repeat(2,1fr);gap:9px}.prodart{height:98px;font-size:40px}.billgrid{grid-template-columns:1fr}.settings-grid{grid-template-columns:1fr}.mini-stats{grid-template-columns:1fr 1fr}.formrow{grid-template-columns:1fr}.banner{padding:20px}.banner button{display:none}.top-actions .pill{font-size:10px;padding:7px}.topbar h1{font-size:21px}.section{padding:15px}.modal{padding:18px}.stat strong{font-size:19px}}


/* PACE by ADIX design system — reference: soft peach / warm-white POS */
:root{--ink:#34302f;--muted:#918a87;--green:#f7a473;--green2:#fff0e6;--line:#eeeae7;--surface:#fff;--orange:#ffa674;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#302e2e;background:#fff8f4}
body{background:linear-gradient(135deg,#ffebe2 0,#fff8f4 33%,#fff 80%)}
.app{max-width:1900px;margin:0 auto;background:transparent}
.sidebar{width:236px;background:#fff;border-right:1px solid #f0ece9;transition:width .22s ease;padding:29px 14px 14px;z-index:7}
.brand{position:relative;margin:0 8px 45px;gap:10px}
.brand-icon{background:#ffad80;color:white;border-radius:18px;font-weight:900;font-size:23px;box-shadow:0 8px 20px #fbb98b44}
.brand-icon span{font-size:13px}.brand-name b{font-size:22px;letter-spacing:-1.2px}.brand-name em{font-size:12px;font-style:normal;color:#f69a68;letter-spacing:0}
.brand-name small{font-size:9px;letter-spacing:1.3px;color:#9d9996}
.collapse-btn{position:absolute;top:96px;left:17px;width:36px;height:34px;border:1px solid #f0e8e4;border-radius:10px;background:#fff;color:#e39267;cursor:pointer;z-index:9}
.nav-label{color:#bdb0a9;font-size:10px;letter-spacing:1.2px}.nav button{border-radius:13px;font-weight:550;color:#78726f;min-height:46px;gap:12px;white-space:nowrap}
.nav button:hover{background:#fff6f0}.nav button.active{background:#fff0e5;color:#f49c69}.nav button.active::before{background:#ffa674;border-radius:4px}
.nav-icon{font-size:21px;display:inline-flex;align-items:center;justify-content:center;width:23px;min-width:23px}
.sidebar-mini .sidebar{width:80px;padding-inline:12px}.sidebar-mini .brand{margin-inline:0}.sidebar-mini .brand-name,.sidebar-mini .nav-label,.sidebar-mini .nav-text,.sidebar-mini .side-foot{display:none}
.sidebar-mini .nav button{justify-content:center;padding:11px 6px}.sidebar-mini .nav-icon{margin:0}.sidebar-mini .collapse-btn{left:22px}
.main{min-width:0;background:#fcfbfa}.topbar{background:#fff;border-bottom:1px solid #f2eeeb;padding:19px 28px}.topbar h1{color:#35302d}.eyebrow{color:#f4a171;letter-spacing:1.7px;font-weight:700}
.page{padding:26px 27px 70px}.section,.cart,.billcard{border:1px solid #f0edeb;box-shadow:0 4px 16px rgba(82,65,55,.025);border-radius:19px}
.banner{background:linear-gradient(115deg,#fff0e7,#fffaf5);color:#38312e;border:1px solid #ffeadc;border-radius:22px}
.banner .eyebrow{color:#d98756!important}.banner h2{color:#302d2d}.banner p{color:#8d7770}.banner button,.btn.primary{background:#ffa674;color:#fff;border-color:#ffa674;border-radius:13px;box-shadow:0 6px 15px #f5a36d26}
.banner button:hover,.btn.primary:hover{background:#f19561;border-color:#f19561}.btn{border-radius:12px;border-color:#f1eae5}.btn:hover{border-color:#ffbd95;color:#e9874f}
.pill.green,.tag{background:#fff3e9;color:#e99560}.tag.yellow{background:#fff0d7;color:#a8742f}.dot{background:#ffa674}.avatar{background:#fff1e9;color:#e89765}
.section-title h3,.orders-head h3{color:#342d29}.stats>div,.mini-stats>div{border-color:#f0eae5}.stat b,.mini-stats b{color:#4c3c35}
.pos-layout{grid-template-columns:minmax(0,1fr) minmax(315px,340px);gap:18px}.pos-layout .section{background:#fcfbfa;border:0;box-shadow:none;padding:0!important}
.categories,.subcategories{display:flex;gap:9px;overflow-x:auto;padding:4px 0 10px}.cat,.subcat{border:1px solid #f0e9e5;background:#fff;border-radius:30px;white-space:nowrap;color:#625c58;padding:11px 17px}.cat.selected,.subcat.selected,.variant-select button.selected{background:#ffa674;color:#fff;border-color:#ffa674}.subcat{padding:7px 13px;font-size:12px}.subcat.selected{background:#fff0e4;color:#e9905c;border-color:#ffcfb1}
.productgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:13px}
.product{border:1px solid #f4eee9;background:white;border-radius:20px;display:grid;grid-template-columns:96px minmax(0,1fr);column-gap:12px;row-gap:13px;padding:13px;text-align:left;align-items:start;min-height:188px;cursor:default;box-shadow:0 2px 12px #a98e7b0b}
.product:hover{border-color:#ffd9bf;transform:translateY(-1px)}.product:disabled{opacity:.65}.prodart{width:96px;height:115px;border-radius:15px;display:flex;align-items:center;justify-content:center;background:#fff8f2}.product-emoji{font-size:55px;filter:drop-shadow(0 5px 2px #e1a78320)}
.prodart.c1{background:#fbf4ed}.prodart.c2{background:#fff4ed}.prodart.c3{background:#f8f5ed}.prodart.c4{background:#fff7f4}
.prodinfo{min-width:0;display:flex;flex-direction:column;gap:6px}.prod-head{display:flex;flex-wrap:wrap;column-gap:8px;justify-content:space-between}.prod-head strong{font-size:14px;color:#383230;line-height:1.4}.prod-head b{font-size:13px;color:#f59e6b;white-space:nowrap}.prodinfo small{color:#a49a95;font-size:11px}.prod-desc{font-size:11px;color:#aaa19d;line-height:1.35}.variant-hint{display:flex;flex-wrap:wrap;gap:5px;margin-top:3px}.variant-hint span{font-size:10px;background:#faf7f5;border:1px solid #f0ebe8;color:#938783;padding:4px 9px;border-radius:20px}
.add-to-cart{grid-column:1/-1;justify-self:stretch;width:100%;padding:10px 9px!important}.product.inactive{opacity:.5}.product.inactive button{cursor:not-allowed}
.cart{background:#fff;border-radius:20px;position:sticky;top:93px}.carthead{border-bottom:1px solid #f4f0ed}.carthead h3{font-weight:700}.cartitem{border-bottom:1px solid #f5f1ee}.cartemoji{background:#fff7f0}.cartfoot{border-top:1px solid #f2ece8}.totalrow.final b{color:#ef9663}
.orders-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:22px}.orders-head h3{font-size:21px;margin:0 0 4px}.orders-head p{margin:0}.orders-tabs{display:flex;border-bottom:1px solid #f0e7e1;gap:7px;margin-bottom:18px;overflow:auto}.orders-tabs button{border:0;background:none;color:#9b918b;font-weight:600;padding:13px 18px;cursor:pointer;white-space:nowrap;border-bottom:3px solid transparent}.orders-tabs button.selected{color:#eb9462;border-color:#ffa674}.orders-pane{display:none}.orders-pane.selected{display:block}.billcard{background:#fff}.billcard strong{color:#e8915d}
.variant-modal{display:flex;gap:17px;align-items:center;margin-bottom:20px}.variant-art{min-width:83px;height:83px;display:grid;place-items:center;font-size:46px;border-radius:16px;background:#fff3ea}.variant-modal h3{margin:5px 0}.variant-select{display:flex;gap:9px}.variant-select button{padding:12px 27px;border:1px solid #eaded8;background:white;border-radius:13px;color:#544b46;cursor:pointer}.modal{border-radius:20px}.modalactions .btn.primary{min-width:180px}
input:focus,select:focus,textarea:focus{border-color:#ffaf81;outline-color:#ffcfb0}.search{border-radius:25px;background:#fff}
@media(max-width:1200px){.productgrid{grid-template-columns:1fr}.pos-layout{grid-template-columns:minmax(0,1fr) minmax(285px,330px)}}
@media(max-width:760px){.sidebar{display:none}.topbar{padding:15px 17px}.page{padding:16px 13px 98px}.pos-layout{grid-template-columns:1fr}.productgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.cart{position:static}.orders-head{align-items:start;flex-direction:column}.product{grid-template-columns:1fr;min-height:0}.prodart{width:100%;height:85px}.product-emoji{font-size:44px}.prod-desc{display:none}.add-to-cart{font-size:11px}}
@media(max-width:390px){.productgrid{grid-template-columns:1fr}.top-actions .pill{display:none}}
