@import"https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Noto+Sans+Thai:wght@400;500;600;700&display=swap";:root{font-family:Noto Sans Thai,sans-serif;color:#18231d;background:#f4f6f3;font-synthesis:none;--green:#174f3c;--orange:#e46e3c;--line:#e2e8e3;--muted:#7b8980}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input{font:inherit}button{cursor:pointer}.system-shell{display:grid;grid-template-columns:224px 1fr;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:224px;display:flex;flex-direction:column;padding:24px 14px;background:#133d30;color:#fff;z-index:10}.brand{display:flex;align-items:center;gap:11px;padding:0 10px 27px;border-bottom:1px solid #ffffff1c}.brand>span{display:grid;width:40px;height:40px;place-items:center;border-radius:11px;background:#fff;color:var(--green);font:800 14px Manrope}.brand strong,.brand small{display:block}.brand strong{font:800 17px Manrope}.brand small{color:#94b5a7;font:600 8px Manrope;letter-spacing:.18em}.sidebar nav{display:grid;gap:6px;margin-top:26px}.sidebar nav button,.sidebar-bottom button{position:relative;display:flex;align-items:center;gap:13px;width:100%;padding:12px 14px;border:0;border-radius:10px;color:#b8cec5;background:transparent;text-align:left;font-size:14px}.sidebar nav button:hover,.sidebar nav button.active{color:#fff;background:#ffffff18}.sidebar nav button.active:before{content:"";position:absolute;left:-14px;width:3px;height:25px;background:#ff9669}.sidebar nav i{width:22px;font-style:normal;font-size:20px;text-align:center}.sidebar nav b{display:grid;width:21px;height:21px;margin-left:auto;place-items:center;border-radius:50%;background:var(--orange);font-size:10px}.sidebar-bottom{margin-top:auto}.online{margin:0 10px 13px;padding-bottom:15px;border-bottom:1px solid #ffffff1c;color:#a5c2b6;font-size:11px}.online span{display:inline-block;width:7px;height:7px;margin-right:7px;border-radius:50%;background:#6fd392}.main-area{grid-column:2;min-width:0}.app-header{height:86px;display:flex;align-items:center;justify-content:space-between;padding:0 30px;border-bottom:1px solid var(--line);background:#fff}.app-header p,.app-header h1{margin:0}.app-header p{color:#8a968f;font-size:11px}.app-header h1{font-size:22px}.header-user{display:flex;align-items:center;gap:10px}.header-user strong,.header-user small{display:block}.header-user strong{font-size:12px}.header-user small{color:var(--muted);font-size:10px}.avatar{display:grid;width:36px;height:36px;place-items:center;border-radius:10px;color:#fff;background:#d7774f;font-weight:700}.bell{position:relative;width:36px;height:36px;margin-right:7px;border:1px solid var(--line);border-radius:10px;background:#fff}.bell i{position:absolute;right:7px;top:6px;width:6px;height:6px;border-radius:50%;background:#ec6c42}.toast{position:fixed;top:96px;right:25px;display:flex;gap:20px;align-items:center;padding:12px 16px;border:0;border-radius:10px;color:#fff;background:#174f3c;box-shadow:0 10px 30px #133d3040;z-index:30}.pos-layout{display:grid;grid-template-columns:minmax(500px,1fr) 380px;min-height:calc(100vh - 86px)}.catalog-panel{padding:22px 25px 35px;min-width:0}.search-row{display:flex;gap:10px}.search-row label,.table-search{display:flex;align-items:center;flex:1;gap:10px;padding:0 15px;border:1px solid var(--line);border-radius:11px;background:#fff;color:#8a968f}.search-row input,.table-search input{width:100%;height:44px;border:0;outline:0;background:transparent;font-size:13px}.search-row>button{width:45px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--green);font-size:20px}.category-tabs{display:flex;gap:8px;padding:18px 0 15px;overflow:auto}.category-tabs button{padding:8px 14px;border:1px solid var(--line);border-radius:20px;background:#fff;color:#65736b;font-size:11px;white-space:nowrap}.category-tabs button.active{border-color:var(--green);color:#fff;background:var(--green)}.catalog-title{display:flex;justify-content:space-between;margin:5px 0 12px;font-size:14px}.catalog-title span{color:var(--muted);font-size:11px}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px}.product-card{padding:0;overflow:hidden;border:1px solid var(--line);border-radius:13px;color:inherit;background:#fff;text-align:left;transition:.15s}.product-card:hover:not(:disabled){transform:translateY(-2px);border-color:#a9bdb3;box-shadow:0 8px 22px #173d2e0d}.product-card:disabled{cursor:not-allowed;opacity:.55}.product-visual{position:relative;display:grid;height:88px;place-items:center;background:#e4eee9}.product-visual>span{font-size:35px}.product-visual i{position:absolute;right:7px;top:7px;padding:3px 6px;border-radius:5px;color:#a1482a;background:#fff0e9;font-size:8px;font-style:normal}.tone-1{background:#f2e6dc}.tone-2{background:#e9e3d6}.tone-3{background:#e4e5d8}.tone-4{background:#e8e2eb}.product-info{padding:11px}.product-info small{color:#98a29c;font:500 8px Manrope}.product-info>strong{display:block;min-height:38px;margin:3px 0 9px;font-size:12px}.product-info>div{display:flex;justify-content:space-between}.product-info b{color:#d65f32;font-size:13px}.product-info span{color:#89948e;font-size:8px}.cart-panel{position:sticky;top:0;height:calc(100vh - 86px);display:flex;flex-direction:column;border-left:1px solid var(--line);background:#fff}.cart-head{display:flex;justify-content:space-between;padding:20px;border-bottom:1px solid var(--line)}.cart-head h2{margin:0;font-size:17px}.cart-head small{color:var(--muted);font-size:9px}.cart-head button{border:0;color:#c45a36;background:transparent;font-size:10px}.cart-list{flex:1;padding:4px 19px;overflow:auto}.empty-cart{display:flex;height:100%;min-height:250px;align-items:center;justify-content:center;flex-direction:column;color:#8b9891;text-align:center}.empty-cart>span{display:grid;width:62px;height:62px;margin-bottom:14px;place-items:center;border-radius:50%;background:#eef3ef;font-size:25px}.empty-cart strong{font-size:13px}.empty-cart small{font-size:10px}.cart-line{display:grid;grid-template-columns:48px 1fr auto;gap:10px;padding:14px 0;border-bottom:1px solid #edf0ed}.mini-thumb{display:grid;width:48px;height:48px;place-items:center;border-radius:9px;background:#edf2ee}.line-name>strong,.line-name>small{display:block}.line-name>strong{font-size:11px}.line-name>small{color:var(--muted);font-size:8px}.cart-line>b{font-size:11px}.qty{display:flex;width:max-content;margin-top:7px;border:1px solid var(--line);border-radius:7px;overflow:hidden}.qty button{width:24px;height:22px;border:0;background:#f7f8f7}.qty span{width:27px;text-align:center;font-size:10px}.cart-summary{padding:15px 20px 20px;border-top:1px solid var(--line);background:#fbfcfb}.cart-summary label,.sum-row,.grand-total{display:flex;align-items:center;justify-content:space-between}.cart-summary label{margin-bottom:11px;font-size:10px}.cart-summary label>div{display:flex;border:1px solid var(--line);border-radius:7px;background:#fff}.cart-summary input{width:66px;height:30px;border:0;outline:0;text-align:right;font-size:10px}.cart-summary label b{padding:7px;color:#849088;font-size:9px}.sum-row{margin:7px 0;color:#637169;font-size:10px}.sum-row.discount b{color:#d45c36}.grand-total{margin-top:12px;padding-top:12px;border-top:1px dashed #cfd8d1}.grand-total span{font-size:12px;font-weight:700}.grand-total strong{color:var(--green);font:800 23px Manrope}.checkout{display:flex;width:100%;justify-content:space-between;margin-top:13px;padding:13px 16px;border:0;border-radius:9px;color:#fff;background:var(--orange);font-size:12px;font-weight:700}.checkout:disabled{opacity:.45}.modal-backdrop{position:fixed;inset:0;display:grid;padding:20px;place-items:center;background:#10251fb3;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:50}.payment-modal,.receipt-modal{width:min(440px,100%);padding:24px;border-radius:18px;background:#fff;box-shadow:0 25px 80px #07181266}.modal-head{display:flex;justify-content:space-between}.modal-head small{color:var(--muted)}.modal-head h2{margin:2px 0;color:var(--green);font:800 32px Manrope}.modal-head>button{width:32px;height:32px;border:0;border-radius:50%;background:#f0f3f1;font-size:20px}.field-title{margin:22px 0 9px;font-size:11px;font-weight:700}.payment-methods{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.payment-methods button{display:flex;padding:13px 5px;align-items:center;gap:7px;flex-direction:column;border:1px solid var(--line);border-radius:10px;background:#fff;color:#68756d;font-size:9px}.payment-methods button.active{border-color:var(--green);color:var(--green);background:#eef6f2}.payment-methods i{font-size:21px;font-style:normal}.cash-input{display:block;margin-top:19px;font-size:10px;font-weight:700}.cash-input input{width:100%;margin-top:6px;padding:12px;border:1px solid var(--line);border-radius:9px;outline:0;font:700 19px Manrope;text-align:right}.quick-cash{display:flex;gap:6px;margin-top:8px}.quick-cash button{flex:1;padding:7px 3px;border:1px solid var(--line);border-radius:7px;background:#fff;font-size:9px}.change{display:flex;justify-content:space-between;margin-top:15px;padding:13px;border-radius:9px;background:#eef5f1;font-size:11px}.change strong{color:var(--green);font:800 20px Manrope}.digital-hint{display:flex;margin-top:18px;padding:22px;align-items:center;justify-content:center;gap:12px;border-radius:10px;background:#f1f5f2}.digital-hint span{font-size:35px}.digital-hint p{font-size:10px}.confirm-pay{width:100%;margin-top:18px;padding:13px;border:0;border-radius:9px;color:#fff;background:var(--green);font-weight:700}.confirm-pay:disabled{opacity:.4}.receipt-modal{text-align:center}.success-check{display:grid;width:62px;height:62px;margin:0 auto 12px;place-items:center;border-radius:50%;color:#fff;background:#3b976b;font-size:28px}.receipt-modal h2{margin:0}.receipt-modal>p{color:var(--muted);font-size:11px}.receipt-paper{margin:22px 0;padding:17px;border:1px dashed #c8d1cb;border-radius:9px;background:#fafbfa}.receipt-paper>div{display:flex;justify-content:space-between;margin:8px;font-size:11px}.receipt-paper strong{color:var(--green);font-size:18px}.receipt-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.receipt-actions button{padding:11px;border:1px solid var(--line);border-radius:9px;background:#fff}.receipt-actions .primary{color:#fff;background:var(--green)}.page-content{padding:28px}.welcome,.page-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.welcome p,.welcome h2,.page-toolbar h2,.page-toolbar p{margin:0}.welcome p{color:var(--orange);font-size:11px;font-weight:700}.welcome h2,.page-toolbar h2{font-size:23px}.welcome small,.page-toolbar p{color:var(--muted);font-size:11px}.welcome button{padding:11px 16px;border:0;border-radius:9px;color:#fff;background:var(--green);font-size:11px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.stats article{display:grid;grid-template-columns:40px 1fr;padding:17px;border:1px solid var(--line);border-radius:13px;background:#fff}.stats i{grid-row:1/4;display:grid;width:37px;height:37px;place-items:center;border-radius:9px;color:var(--green);background:#e9f1ed;font-style:normal;font-weight:700}.stats span{color:var(--muted);font-size:9px}.stats strong{font:800 21px Manrope}.stats small{color:var(--muted);font-size:8px}.stats .positive{color:#31805c}.stats .warning{color:#ce633b}.dashboard-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:14px;margin-top:15px}.panel,.table-card{padding:18px;border:1px solid var(--line);border-radius:13px;background:#fff}.panel-title,.stock-alert{display:flex;align-items:center;justify-content:space-between}.panel-title h3{margin:0;font-size:14px}.panel-title span{color:var(--muted);font-size:9px}.recent-row{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #edf0ed}.recent-row i{display:grid;width:30px;height:30px;place-items:center;border-radius:8px;color:#34815e;background:#e9f5ef;font-style:normal}.recent-row strong,.recent-row small,.stock-alert strong,.stock-alert small{display:block}.recent-row strong,.recent-row b,.stock-alert strong{font-size:10px}.recent-row small,.stock-alert small{color:var(--muted);font-size:8px}.stock-alert{padding:13px 0;border-bottom:1px solid #edf0ed}.stock-alert b{padding:5px 8px;border-radius:6px;color:#c85e39;background:#fff0ea;font-size:9px}.panel-empty,.table-empty{padding:45px;text-align:center;color:var(--muted);font-size:11px}.page-toolbar{gap:15px}.toolbar-chip{padding:9px 13px;border-radius:9px;color:var(--green);background:#e9f1ed;font-size:11px;font-weight:700}.table-search{max-width:280px}.table-card{padding:0;overflow:auto}table{width:100%;border-collapse:collapse;font-size:10px}th{padding:12px 15px;color:#78857e;background:#f8faf8;text-align:left;font-size:8px}td{padding:14px 15px;border-top:1px solid #edf0ed;color:#536159;white-space:nowrap}td strong{color:#24352c}td code{padding:4px 7px;border-radius:5px;background:#f1f3f1}.status-paid,.stock-ok,.stock-low{padding:5px 8px;border-radius:12px;font-size:8px}.status-paid,.stock-ok{color:#27714f;background:#e7f4ed}.stock-low{color:#bc542f;background:#fff0e9}.stock-control{display:flex;align-items:center;gap:6px}.stock-control button{height:25px;border:1px solid var(--line);border-radius:6px;background:#fff}.stock-control span{width:25px;text-align:center}.stock-control .add-ten{color:var(--green);background:#eef5f1}.login-page{display:grid;min-height:100vh;grid-template-columns:1.08fr .92fr;background:#173e32}.login-brand{display:flex;padding:clamp(45px,7vw,95px);justify-content:space-between;flex-direction:column;color:#fff;background:radial-gradient(circle at 25% 80%,#e46e3c55,transparent 28%),linear-gradient(145deg,#12382c,#225845)}.eyebrow{color:#ff9368;font:800 11px Manrope;letter-spacing:.2em}.login-brand h1{margin:18px 0;font-size:clamp(40px,5vw,68px);line-height:1.13}.login-brand p{max-width:550px;color:#bad0c6;line-height:1.8}.login-brand small{color:#8daf9f}.login-panel{display:grid;padding:30px;place-items:center;background:#f5f6f3}.login-card{width:min(410px,100%)}.login-mark{display:grid;width:52px;height:52px;margin-bottom:27px;place-items:center;border-radius:14px;color:#fff;background:var(--orange);font:800 17px Manrope}.login-card h2{margin:0;font-size:29px}.login-card>p{margin:5px 0 25px;color:var(--muted);font-size:12px}.login-card label{display:block;margin-top:15px;font-size:11px;font-weight:700}.login-card label input{width:100%;margin-top:6px;padding:12px 13px;border:1px solid #dce2dd;border-radius:9px;background:#fff;outline:0}.login-button{width:100%;margin-top:20px;padding:13px;border:0;border-radius:9px;color:#fff;background:var(--green);font-weight:700}.login-button:disabled{opacity:.5}.login-error{padding:10px;border-radius:8px;color:#a34827;background:#ffede7;font-size:10px}.demo-account{display:flex;justify-content:space-between;margin-top:17px;padding-top:15px;border-top:1px solid var(--line);color:var(--muted);font-size:10px}.demo-account button{border:0;border-radius:6px;color:var(--green);background:#e5eee9;font-weight:700}@media(max-width:1050px){.system-shell{grid-template-columns:76px 1fr}.sidebar{width:76px;padding:20px 10px}.brand>div,.sidebar nav button{font-size:0}.sidebar nav button{justify-content:center}.sidebar nav i{font-size:20px}.sidebar nav b{position:absolute;right:2px;top:3px}.sidebar-bottom .online{font-size:0}.sidebar-bottom button{justify-content:center;font-size:0}.pos-layout{grid-template-columns:minmax(420px,1fr) 350px}.stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:780px){.system-shell{display:block;padding-bottom:64px}.sidebar{inset:auto 0 0;width:100%;height:64px;padding:6px}.brand,.sidebar-bottom{display:none}.sidebar nav{grid-template-columns:repeat(4,1fr);margin:0}.sidebar nav button,.sidebar nav button.active{gap:1px;flex-direction:column;padding:5px;background:transparent;font-size:8px}.sidebar nav i{font-size:17px}.main-area{display:block}.app-header{height:70px;padding:0 16px}.header-user>div:last-child{display:none}.pos-layout{display:block}.catalog-panel{padding:15px}.cart-panel{position:relative;height:auto;min-height:450px;border:1px solid var(--line);margin:0 15px 15px;border-radius:13px;overflow:hidden}.product-grid{grid-template-columns:repeat(2,1fr)}.page-content{padding:18px}.stats{grid-template-columns:1fr 1fr}.dashboard-grid{grid-template-columns:1fr}.page-toolbar{align-items:flex-start;flex-direction:column}.table-search{width:100%;max-width:none}.login-page{grid-template-columns:1fr}.login-brand{display:none}}@media print{body *{visibility:hidden}.receipt-modal,.receipt-modal *{visibility:visible}.receipt-modal{position:absolute;left:0;top:0;box-shadow:none}.receipt-actions{display:none}}
