@font-face{font-family:system;src:local('Segoe UI')}*{box-sizing:border-box}body{margin:0;background:#f6f7f8;color:#20272c;font-family:system,Arial,sans-serif;font-size:14px;letter-spacing:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;min-height:44px;border:1px solid #d5dade;background:white;color:inherit;border-radius:6px;padding:10px 14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:600}button:hover{background:#f2f4f5}button:disabled{opacity:.5;cursor:not-allowed}button.primary{background:#ce2865;border-color:#ce2865;color:white}button.primary:hover{background:#b72258}button.danger{color:#b52338;border-color:#efc8cc}button.icon{width:44px;padding:10px;flex-shrink:0}svg{width:19px;height:19px;flex-shrink:0}input,select,textarea{min-height:44px;width:100%;border:1px solid #ccd2d7;border-radius:5px;background:#fff;padding:10px 12px;color:#20272c}input:focus,select:focus,textarea:focus,button:focus-visible,a:focus-visible{outline:3px solid #f3b7ce;outline-offset:2px}label{display:grid;gap:7px;font-size:13px;font-weight:600}h1,h2,h3,p{margin-top:0}h1{font-size:25px;margin-bottom:4px}h2{font-size:19px}h3{font-size:15px}small,.muted{color:#68747d}a{color:#167660}strong{font-weight:700}hr{border:0;border-top:1px solid #e4e7e9;margin:20px 0}.loading{padding:60px;font-size:24px}.app-shell{min-height:100vh;display:grid;grid-template-columns:208px minmax(0,1fr)}.sidebar{background:white;border-right:1px solid #e0e4e7;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;padding:25px 14px 15px;z-index:10}.brand{display:flex;gap:10px;align-items:center;padding:0 7px 28px}.brand-mark{width:39px;height:44px;background:#fceaf1;color:#ce2865;display:grid;place-items:center;border-radius:8px}.brand-mark svg{width:26px;height:26px}.brand b{font-size:22px;display:block;line-height:1.05}.brand small{font-size:11px;color:#68747d}.nav{display:grid;gap:6px}.nav button{justify-content:start;border-color:transparent;background:transparent;font-size:14px}.nav button.active{background:#fbeaf0;color:#b92559;border-color:#f5d1df}.nav button:hover{background:#f6f7f8}.nav label{font-size:10px;color:#8a9197;padding:20px 12px 6px}.account{margin-top:auto;border-top:1px solid #e8e9eb;padding:15px 4px 0;display:flex;align-items:center;gap:10px}.account .identity{flex:1;min-width:0}.account b{display:block;overflow-wrap:anywhere;font-size:13px}.account small{font-size:11px}.account .icon{width:36px;min-height:36px;border:0}.main{min-width:0}.toolbar{height:72px;background:white;border-bottom:1px solid #e2e6e8;padding:0 28px;display:flex;align-items:center;justify-content:space-between;gap:15px}.toolbar .title{font-weight:650}.toolbar-right{display:flex;align-items:center;gap:15px}.status{display:inline-flex;gap:6px;align-items:center;font-size:12px;border-radius:4px;padding:5px 8px;background:#e4f3ed;color:#16745d;white-space:nowrap}.status.closed{background:#edf0f2;color:#69737a}.status.void{background:#fce8eb;color:#b1263b}.status-dot{width:6px;height:6px;border-radius:50%;background:currentColor}.workspace{padding:26px 28px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.section-heading p{margin:7px 0 0;font-size:13px;color:#6e7a82}.actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.pos-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:24px}.catalog-tools{display:flex;gap:10px;align-items:center;margin-bottom:17px}.search{position:relative;flex:1}.search>svg{position:absolute;left:13px;top:13px;color:#7d8790}.search input{padding-left:41px}.categories{display:flex;gap:8px;overflow:auto;padding-bottom:10px;margin-bottom:12px}.categories button{font-size:12px;white-space:nowrap;min-height:35px;padding:7px 12px}.categories .selected{background:#137a61;border-color:#137a61;color:#fff}.products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(148px,1fr));gap:12px}.product{display:flex;flex-direction:column;align-items:stretch;text-align:left;min-height:152px;padding:14px;border-color:#e0e4e7;justify-content:space-between;font-weight:500;gap:14px;position:relative}.product:hover{border-color:#d4437b;background:#fff7fa;transform:translateY(-1px)}.product:active{transform:none}.product .product-top{display:flex;align-items:center;justify-content:space-between}.product-symbol{width:38px;height:38px;border-radius:7px;background:#fcebf2;color:#cf3069;display:grid;place-items:center}.product[data-tone="1"] .product-symbol{background:#e8f4ed;color:#187655}.product[data-tone="2"] .product-symbol{background:#e9effa;color:#4272b1}.product[data-tone="3"] .product-symbol{background:#f5edfc;color:#81549e}.product-name{font-weight:650;line-height:1.4;overflow-wrap:anywhere}.product small{font-size:10px;display:block}.product-price{font-size:16px;font-weight:700}.product-plus{font-size:23px;color:#aeb6bc}.order{background:white;border:1px solid #dce2e5;border-radius:7px;position:sticky;top:24px;align-self:start;min-width:0}.order-header{padding:18px 18px 14px;border-bottom:1px solid #e8ecee;display:flex;align-items:center;justify-content:space-between}.order-header h2{margin:0;font-size:17px}.order-header small{display:block;margin-top:5px}.order-lines{padding:0 18px;max-height:360px;overflow:auto;min-height:170px}.order-empty{text-align:center;padding:40px 12px;color:#8b949b;display:grid;justify-items:center;gap:14px}.order-empty svg{width:38px;height:38px;color:#c5cdd1}.order-line{padding:17px 0;border-bottom:1px solid #edf0f2;display:grid;gap:11px}.line-main{display:flex;align-items:start;justify-content:space-between;gap:12px}.line-main strong{font-size:13px;line-height:1.4}.line-main span{white-space:nowrap}.line-controls{display:flex;align-items:center;gap:8px}.line-controls button{width:32px;min-height:32px;padding:5px}.line-controls input{width:49px;min-height:32px;height:32px;text-align:center;padding:5px}.line-controls small{margin-left:auto}.order-bottom{padding:18px}.order-total{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #e8ecee;padding:18px 0}.order-total span{font-size:13px}.order-total strong{font-size:27px}.order-bottom>.primary{width:100%;min-height:49px}.order-bottom>textarea{min-height:58px;resize:vertical;font-size:12px}.notice{padding:13px 16px;background:#e9f3f0;border-left:3px solid #258569;color:#22644f;margin:0 0 20px;display:flex;align-items:center;justify-content:space-between;gap:12px}.notice button{min-height:36px;padding:7px 10px}.empty{padding:55px 15px;text-align:center;color:#7c858d}.filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap;padding-bottom:20px}.filters label{min-width:140px;flex:1;max-width:210px}.segments{display:flex;border:1px solid #d5dade;border-radius:6px;overflow:hidden;width:max-content}.segments button{border:0;border-radius:0;min-height:42px}.segments button.selected{background:#e4f0eb;color:#146c54}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid #dce2e5;border-bottom:1px solid #dce2e5;margin:0 0 26px}.metric{padding:21px 20px;border-right:1px solid #e0e5e8}.metric:first-child{padding-left:0}.metric:last-child{border-right:0}.metric small{display:block;margin-bottom:9px}.metric strong{font-size:25px;overflow-wrap:anywhere}.metric.positive strong{color:#16775d}.table-wrap{overflow:auto;border:1px solid #e0e4e7;border-radius:6px;background:white}table{border-collapse:collapse;width:100%;font-size:13px;white-space:nowrap}th{text-align:left;font-size:10px;color:#7a838b;text-transform:uppercase;background:#f9fafb;padding:13px 16px;font-weight:650}td{padding:13px 16px;border-top:1px solid #e9edef}td.wrap{white-space:normal;min-width:140px}tbody tr:hover{background:#fffafb}.table-wrap button.icon{width:34px;min-height:34px;padding:6px}.pagination{display:flex;gap:12px;justify-content:flex-end;align-items:center;padding:16px 0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form-grid .full{grid-column:1/-1}.cash-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,360px);gap:32px;margin:0 0 32px}.cash-details{padding-top:5px}.cash-line{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e2e7e9;padding:13px 0}.cash-line span{display:flex;gap:10px;align-items:center}.cash-line svg{color:#6c8580}.cash-form{border-left:1px solid #dde2e6;padding-left:28px;display:grid;align-content:start;gap:16px}.cash-form h2{margin-bottom:2px}.form-error{color:#b42640;background:#ffedf0;padding:10px 12px;border-radius:4px;line-height:1.5}.form-error:empty{display:none}dialog{border:1px solid #dce2e5;padding:0;border-radius:8px;width:min(560px,calc(100% - 28px));max-height:calc(100dvh - 40px);box-shadow:0 12px 65px #15222533;color:inherit}dialog::backdrop{background:#17212577}dialog .dialog-header{position:sticky;top:0;background:white;z-index:1;display:flex;align-items:center;justify-content:space-between;padding:16px 22px;border-bottom:1px solid #e4e8eb}dialog .dialog-header h2{margin:0;font-size:19px}dialog .dialog-body{padding:22px}dialog .dialog-footer{display:flex;justify-content:flex-end;gap:10px;margin-top:23px}dialog form{display:grid;gap:17px}.payment-options{display:grid;grid-template-columns:1fr 1fr;gap:9px}.payment-options label{cursor:pointer;border:1px solid #d8dfe3;border-radius:6px;padding:13px;display:flex;align-items:center;gap:8px;min-height:48px}.payment-options input{width:16px;min-height:16px;height:16px;accent-color:#ce2865}.payment-options label:has(:checked){background:#fff0f6;border-color:#da5888;color:#ba2358}.checkout-total{font-size:34px;margin:5px 0 20px}.checkbox{display:flex;gap:10px;align-items:center;min-height:36px}.checkbox input{width:19px;height:19px;min-height:19px;accent-color:#ce2865}.permission-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px}.team-tabs{margin-bottom:22px}.roles-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:15px}.role{background:white;border:1px solid #e0e5e8;border-radius:6px;padding:20px}.role h3{margin:0}.role .role-head{display:flex;align-items:center;justify-content:space-between}.role ul{color:#64727b;padding-left:17px;font-size:12px;line-height:1.9}.login{min-height:100dvh;display:grid;place-items:center;background:#faf4f7;padding:25px}.login-box{width:min(420px,100%);background:white;padding:35px;border:1px solid #eadde2;border-radius:8px}.login-box .brand{padding:0 0 26px}.login-box h1{font-size:22px;margin-bottom:25px}.login-box form{display:grid;gap:18px}.login-menu{width:100%;margin-top:26px;max-height:185px;object-fit:cover;object-position:top;border-radius:5px;border:1px solid #f3dce6;cursor:zoom-in}.login-box>small{display:block;margin-top:16px;text-align:center}.menu-image{width:100%;display:block;height:auto}.menu-dialog{width:min(680px,calc(100% - 28px))}.receipt{max-width:330px;margin:auto;font-family:monospace;font-size:12px;color:#000}.receipt h2,.receipt p{text-align:center}.receipt table{font:inherit;white-space:normal}.receipt td{padding:7px 2px;border-top:1px dashed #bbb}.receipt th{padding:7px 2px;background:white}.receipt .receipt-total{display:flex;justify-content:space-between;font-size:16px;font-weight:700;padding:16px 0}.receipt .receipt-row{display:flex;justify-content:space-between;gap:12px;padding:4px 0}.receipt .receipt-note{text-align:left;white-space:pre-wrap;overflow-wrap:anywhere}.receipt .fine{font-size:10px;margin-top:20px}.daily-bars{margin-top:25px}.daily-row{display:grid;grid-template-columns:100px 1fr 90px;gap:15px;align-items:center;padding:9px 0;font-size:12px}.daily-row progress{width:100%;height:13px;accent-color:#d43b73}.daily-row strong{text-align:right}.mobile-nav{display:none}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#203930;color:white;padding:13px 20px;border-radius:6px;z-index:100;max-width:calc(100% - 28px);box-shadow:0 5px 25px #0002;display:none}#toast.show{display:block}#toast.error{background:#9c2340}#print-area{display:none}.cart-toggle{display:none}.no-wrap{white-space:nowrap}
@media(min-width:1450px){.products-grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr))}.pos-layout{grid-template-columns:minmax(0,1fr) 380px}}
@media(max-width:1100px){.app-shell{grid-template-columns:175px minmax(0,1fr)}.workspace{padding:22px 20px}.toolbar{padding:0 20px}.pos-layout{grid-template-columns:minmax(0,1fr) 300px;gap:16px}.products-grid{grid-template-columns:repeat(auto-fill,minmax(125px,1fr))}.product{padding:12px}.sidebar{padding-left:9px;padding-right:9px}.brand b{font-size:21px}.cash-layout{grid-template-columns:1fr}.cash-form{border-left:0;border-top:1px solid #dde2e6;padding:24px 0 0}.metrics{grid-template-columns:repeat(2,1fr)}.metric:nth-child(2){border:0}.metric:nth-child(3){padding-left:0}.metric:nth-child(n+3){border-top:1px solid #dde3e6}}
@media(max-width:800px){.app-shell{display:block;padding-bottom:76px}.sidebar{display:none}.toolbar{height:62px;padding:0 18px}.toolbar .title{font-size:15px}.toolbar-right{gap:8px}.toolbar-right .clock-label{display:none}.workspace{padding:21px 17px}.mobile-nav{position:fixed;bottom:0;left:0;right:0;background:white;border-top:1px solid #dce1e5;display:flex;justify-content:space-around;padding:5px 5px max(5px,env(safe-area-inset-bottom));z-index:12}.mobile-nav button{flex:1;flex-direction:column;gap:4px;font-size:10px;border:0;min-width:0;padding:6px 2px;min-height:53px;background:white}.mobile-nav button.active{color:#ce2865;background:#fff1f6}.pos-layout{grid-template-columns:minmax(0,1fr) 300px}.section-heading h1{font-size:23px}.section-heading .actions button{font-size:12px}.status{font-size:11px}.order{top:15px}.account-mobile{display:inline-flex}}
@media(max-width:620px){.pos-layout{display:block}.order{position:static;margin-top:24px}.products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product{min-height:145px}.order-lines{max-height:330px}.section-heading{align-items:start;gap:10px}.section-heading p{font-size:12px}.section-heading .actions{justify-content:end}.section-heading .actions .optional-label{display:none}.form-grid,.permission-grid{grid-template-columns:1fr}.metrics .metric{padding:18px 12px}.metric:nth-child(odd){padding-left:0}.metric strong{font-size:22px}.filters label{max-width:none;min-width:125px}.filters{gap:10px}.cash-layout{gap:22px}.toolbar .status{max-width:145px;overflow:hidden}.toolbar-right>.icon{width:35px;min-height:35px;padding:7px}.cart-toggle{display:flex;position:fixed;bottom:75px;right:18px;z-index:11;box-shadow:0 4px 15px #8b1c4c33;min-height:45px}.catalog-tools .optional-label{display:none}dialog .dialog-body{padding:18px}dialog .dialog-header{padding:13px 18px}.daily-row{grid-template-columns:80px 1fr 70px;gap:8px}.login-box{padding:26px}.cash-form .actions button{flex:1}h1{overflow-wrap:anywhere}}
[hidden]{display:none!important}
@media print{body{background:white}#app,#toast,dialog{display:none!important}#print-area{display:block}#print-area .receipt{width:72mm;max-width:100%}@page{size:80mm auto;margin:4mm}}
