@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{--bg:#f6f7f4;--paper:#fff;--ink:#22352d;--muted:#7a857e;--green:#205c46;--lime:#d9edc4;--line:#e6eae3;--red:#b44c42;--amber:#a47824}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px 'DM Sans',Arial,sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer;min-height:44px;border:1px solid var(--line);border-radius:9px;background:white;color:var(--ink);padding:10px 15px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:9px}button:hover{background:#f1f5ed}button:disabled{opacity:.45;cursor:not-allowed}.primary{background:var(--green);color:white;border-color:var(--green)}.primary:hover{background:#164735}.danger{color:var(--red)}.ghost{background:transparent;border:0}.icon{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.sidebar{width:236px;background:#fff;position:fixed;inset:0 auto 0 0;border-right:1px solid var(--line);padding:33px 21px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;gap:10px;font:800 32px Manrope,Arial;letter-spacing:-1.5px;padding:0 12px}.brandmark{width:35px;height:35px;background:var(--green);border-radius:10px;display:grid;place-content:center;color:var(--lime)}.brandmark .icon{width:23px;height:23px}.brand span:last-child{color:#93b369}.store{margin:30px 0 28px;padding:13px 11px;background:#f7f8f5;border:1px solid var(--line);border-radius:9px;display:flex;align-items:center;gap:10px}.store small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.navlabel{font-size:10px;letter-spacing:1.6px;font-weight:700;color:#949b94;margin:0 13px 10px}.nav{display:flex;flex-direction:column;gap:5px}.nav button{justify-content:flex-start;background:none;border:0;padding:12px 14px;color:#738078;font-weight:500}.nav button.active{background:#eaf1e6;color:var(--green);font-weight:700}.nav button.active:before{content:'';width:3px;height:19px;border-radius:2px;background:var(--green);position:absolute;left:21px}.nav .badge{margin-left:auto;background:#e6ebe0;font-size:11px;padding:2px 6px;border-radius:5px}.sidebottom{margin-top:auto}.helpbox{background:#f6f8f1;border-radius:10px;padding:15px;font-size:12px;line-height:1.6}.helpbox strong{display:block;margin-bottom:4px}.helpbox p{color:var(--muted);margin:0 0 12px}.helpbox button{font-size:12px;min-height:35px;width:100%}.profile{margin:20px 0 0;display:flex;align-items:center;gap:10px;padding:14px 5px 0;border-top:1px solid var(--line)}.avatar{background:#ece6d9;border-radius:50%;width:33px;height:33px;display:grid;place-content:center;font-weight:700;font-size:11px}.profile small{color:var(--muted);display:block;font-size:11px;margin-top:3px}.main{margin-left:236px}.topbar{height:83px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;background:#ffffffb3;gap:15px}.breadcrumb{font-size:12px;color:var(--muted);display:flex;gap:10px;align-items:center}.breadcrumb b{color:var(--ink);font-weight:500}.topright{display:flex;align-items:center;gap:18px}.online{font-size:11px;display:flex;align-items:center;gap:6px}.dot{width:6px;height:6px;background:#5d9a60;border-radius:50%;display:inline-block}.offline .dot{background:#bd822a}.separator{width:1px;height:22px;background:var(--line)}.date{font-size:12px;color:var(--muted)}main{padding:34px 38px;max-width:1640px;margin:auto}.pagehead{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:28px}h1{font:750 30px Manrope,Arial;margin:0 0 9px;letter-spacing:-1px}h2{font:750 17px Manrope,Arial;letter-spacing:-.3px;margin:0}h3{font:700 15px Manrope,Arial;margin:0}.subtitle{color:var(--muted);margin:0;font-size:12px;line-height:1.6}.headtools{display:flex;gap:8px}.headtools button{font-size:12px}.eyebrow{font-size:10px;letter-spacing:1.4px;color:var(--muted);font-weight:600;text-transform:uppercase}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:26px}.stat{background:white;border:1px solid var(--line);border-radius:12px;padding:20px}.statline{display:flex;justify-content:space-between;align-items:center;gap:5px;color:var(--muted);font-size:12px}.statline .icon{width:18px}.statvalue{font:750 29px Manrope;margin:18px 0 8px;letter-spacing:-.8px}.statfoot{font-size:10px;color:var(--muted)}.statfoot span{color:var(--green);font-weight:600}.stat.alert{background:#fffdf7}.stat.alert .statvalue{color:var(--amber)}.sectionhead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 17px}.sectionhead .ghost{font-size:11px;min-height:28px;padding:0;color:var(--muted)}.quickactions{display:grid;grid-template-columns:1.18fr 1fr 1fr;gap:16px;margin-bottom:29px}.actioncard{padding:21px;min-height:123px;background:#fff;border:1px solid var(--line);border-radius:12px;display:flex;align-items:flex-start;gap:15px;text-align:left;justify-content:flex-start;position:relative}.actioncard .bubble{width:42px;height:42px;display:grid;place-content:center;background:#f2f5ed;border-radius:12px;color:var(--green)}.actioncard h3{margin:3px 0 9px}.actioncard p{margin:0;color:var(--muted);font-size:11px;font-weight:400;line-height:1.6}.actioncard .arrow{position:absolute;right:16px;bottom:15px;color:#9caaa0}.actioncard.featured{background:var(--green);color:white;border-color:var(--green)}.actioncard.featured .bubble{background:#ffffff1a;color:#d6ebc4}.actioncard.featured p{color:#c1d6c8}.actioncard.featured .arrow{color:#bfd6c5}.twocol{display:grid;grid-template-columns:1.3fr 1fr;gap:21px;margin-bottom:24px}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.panelhead{display:flex;justify-content:space-between;align-items:center;padding:21px 22px;border-bottom:1px solid var(--line)}.panelhead small{color:var(--muted);display:block;font-size:11px;margin-top:6px}.panelhead button{font-size:11px;min-height:30px;padding:4px 0}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:10px;letter-spacing:.4px;font-weight:500;color:var(--muted);padding:13px 20px;background:#fbfcf9}td{padding:16px 20px;font-size:12px;border-top:1px solid #f0f2ed}td small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.prodcell{display:flex;align-items:center;gap:10px}.producticon{width:34px;height:38px;border-radius:8px;background:#f1f4e9;display:grid;place-content:center;font-size:21px;flex-shrink:0}.pill{font-size:10px;font-weight:600;display:inline-flex;align-items:center;gap:6px;border-radius:5px;padding:5px 7px;background:#edf3e8;color:#4e724d}.pill.red{background:#faece8;color:#b14d41}.pill.amber{background:#fbf1db;color:#a17a2a}.pill.gray{background:#f0f2ed;color:#7a857e}.orderrow{padding:18px 22px;border-bottom:1px solid var(--line);cursor:pointer}.orderrow:hover{background:#fafbf7}.rowflex{display:flex;align-items:center;justify-content:space-between;gap:10px}.orderrow h3{font-size:12px}.orderrow p{font-size:11px;color:var(--muted);margin:7px 0 13px}.progress{height:5px;background:#eef1e9;border-radius:4px;overflow:hidden}.progress i{display:block;height:100%;background:#7da269;border-radius:4px}.progresslabel{font-size:10px;color:var(--muted);margin-top:7px;display:flex;justify-content:space-between}.empty{padding:30px;text-align:center;color:var(--muted);line-height:1.8;font-size:12px}.empty .icon{width:30px;height:30px;display:block;margin:0 auto 13px;color:#8fa486}.notice{padding:17px 21px;background:#edf2e6;display:flex;gap:13px;border-radius:10px;color:#5a7055;font-size:11px;line-height:1.7}.notice strong{display:block;color:#3e5b38;font-size:12px}.footer{display:flex;justify-content:space-between;font-size:10px;color:#9ba399;margin-top:28px}.toolbar{display:flex;gap:10px;align-items:center;margin-bottom:20px;flex-wrap:wrap}.searchbox{position:relative;flex:1;min-width:180px}.searchbox .icon{position:absolute;left:14px;top:13px;color:#8f9a91}.searchbox input{padding-left:42px}input,select,textarea{padding:12px;border:1px solid #dde3d9;border-radius:8px;background:#fff;color:var(--ink);width:100%;min-height:44px}input:focus,select:focus,textarea:focus{outline:2px solid #8dad75;outline-offset:1px}.toolbar select{width:auto}.scanbar{display:flex;gap:9px;padding:18px;background:#edf2e8;border:1px solid #e1e8d9;border-radius:11px;margin-bottom:20px;align-items:center}.scanbar .icon{color:var(--green)}.scanbar input{flex:1;min-width:40px}.scanbar button{white-space:nowrap}.workspace{display:grid;grid-template-columns:1fr 350px;gap:22px}.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.tile{padding:20px 13px;min-height:127px;flex-direction:column;justify-content:flex-start;text-align:center}.tile .emoji{font-size:29px;margin-bottom:5px}.tile span{font-size:11px}.tile small{font-size:12px;color:var(--green);margin-top:3px}.cart{padding:22px}.cartline{display:flex;align-items:center;gap:8px;padding:13px 0;border-bottom:1px solid var(--line)}.cartline .name{flex:1;font-size:12px}.cartline small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.qty{display:flex;align-items:center;gap:7px}.qty button{min-height:29px;width:29px;padding:0}.carttotal{padding:22px 0;display:flex;justify-content:space-between;align-items:center;font-size:12px}.carttotal b{font:750 25px Manrope}.cart .primary{width:100%;margin-top:12px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:15px}label{display:block;color:#607166;font-size:12px;line-height:1.6}label input,label select,label textarea{margin-top:5px}.full{grid-column:1/-1}.muted{color:var(--muted)}dialog{border:1px solid var(--line);border-radius:16px;padding:28px;width:min(600px,94vw);max-height:90vh;color:var(--ink);box-shadow:0 24px 100px #1d322c28}dialog::backdrop{background:#142b245c;backdrop-filter:blur(3px)}.modalhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px}.modalhead button{min-height:30px;padding:4px;border:0}.modalfoot{display:flex;justify-content:flex-end;gap:9px;margin-top:24px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#223f31;color:white;padding:14px 24px;border-radius:10px;box-shadow:0 7px 40px #172b2933;z-index:30;display:none;max-width:90vw}.tabs{display:flex;gap:6px;margin:18px 0}.tabs button{font-size:12px}.tabs .selected{background:#eaf1e2;color:var(--green)}.checkrow{padding:18px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px}.checkrow.done{background:#f0f6eb}.countinput{width:100px}.mobilebrand{display:none}.key{font-size:9px;color:#b6c5b5;background:#ffffff12;padding:2px 4px;border:1px solid #ffffff25;border-radius:4px;margin-left:5px}.localbanner{padding:11px 20px;margin-bottom:17px;background:#fff2d8;color:#8c672a;border-radius:8px;font-size:12px}.camvideo{width:100%;border-radius:10px;background:#11291e;max-height:310px}.actions{display:flex;gap:8px}.smallbtn{padding:4px 8px;min-height:32px;font-size:11px}.dashboardend{display:flex;gap:10px;align-items:center}.dashboardend .icon{width:15px}.movtag{font-size:10px;color:var(--green);font-weight:700}.shelf{font-family:monospace;color:#8a9689}.labelprint{display:none}
@media(min-width:1500px){main{padding-top:42px}.stats{gap:22px}.quickactions{gap:22px}.stat{padding:25px}.actioncard{padding:25px;min-height:140px}}
@media(max-width:1150px){.sidebar{width:205px;padding:28px 14px}.main{margin-left:205px}main{padding:28px 24px}.topbar{padding:0 24px}.twocol{grid-template-columns:1fr}.quickactions{gap:10px}.actioncard{padding:16px;gap:10px}.actioncard .bubble{width:33px;height:33px}.actioncard h3{font-size:13px}.stats{gap:10px}.stat{padding:16px}.statvalue{font-size:24px}.workspace{grid-template-columns:1fr 310px}.tiles{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.sidebar{inset:auto 0 0;width:100%;height:71px;padding:4px 3px;border-top:1px solid var(--line);border-right:0}.sidebar .brand,.store,.navlabel,.sidebottom{display:none}.nav{flex-direction:row;justify-content:space-around;gap:0}.nav button{flex:1;min-width:0;padding:7px 2px;font-size:9px;flex-direction:column;gap:4px}.nav .badge{display:none}.nav button.active:before{display:none}.main{margin-left:0;padding-bottom:70px}.topbar{height:62px;padding:0 18px}.breadcrumb{display:none}.mobilebrand{display:block;font:800 23px Manrope}.topright{gap:10px}.date{display:none}main{padding:24px 16px}.pagehead{align-items:flex-start;margin-bottom:22px}h1{font-size:25px}.headtools button{font-size:0;padding:10px}.headtools button .icon{width:19px}.stats{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:24px}.statvalue{font-size:26px;margin-top:14px}.statfoot{font-size:9px}.quickactions{grid-template-columns:1fr;gap:9px}.actioncard{min-height:85px;align-items:center;padding:15px}.actioncard h3{font-size:14px;margin-bottom:5px}.actioncard .bubble{width:39px;height:39px}.actioncard .arrow{bottom:33px}.twocol{gap:18px}.panelhead{padding:18px}td,th{padding-left:15px;padding-right:15px}.workspace{grid-template-columns:1fr}.tiles{grid-template-columns:repeat(3,1fr);gap:8px}.tile{padding:13px 6px;min-height:117px}.tile span{font-size:10px}.scanbar{padding:12px;gap:6px}.scanbar>.icon{display:none}.scanbar button{padding:9px;font-size:11px}.scanbar input{font-size:12px}.formgrid{gap:10px}.footer{font-size:9px}.notice{padding:15px}.toolbar{gap:8px}.toolbar button{font-size:11px}}
@media print{body>*{display:none!important}.labelprint{display:block!important;color:#000}.labelprint svg{width:55mm;height:22mm}.labelprint h3{font:12pt Arial}.labelprint p{font:10pt monospace}}
.brand{font-size:22px;letter-spacing:-1px;padding:0 3px}.brandmark{width:31px;height:31px;flex-shrink:0}.mobilebrand{font-size:21px}.productphoto{object-fit:cover}.editorphoto{width:92px;height:92px;background:#f0f4e9;border-radius:12px;display:grid;place-content:center;font-size:38px}.photoeditor{display:flex;gap:17px;align-items:center;padding:15px;background:#f6f8f2;border-radius:11px}.photoeditor .actions{flex-wrap:wrap;gap:7px}.filebutton,.signinbutton{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:9px 13px;border:1px solid var(--line);border-radius:8px;background:#fff;font:600 12px 'DM Sans',Arial;color:var(--ink);text-decoration:none}.filebutton input[hidden]{display:none}.filebutton:hover,.signinbutton:hover{background:#eef3e9}.settingsgrid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.settingsgrid .actioncard{min-height:126px}.backupactions{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0}.scanhelp{display:flex;align-items:center;gap:8px;margin:-8px 0 22px}.scanhelp .icon{width:17px}.lastreceived{background:#f3f8ed;border-radius:7px;padding:13px 9px}.qty input{width:78px;min-height:35px;padding:5px;text-align:center}.qty>span{font-size:10px;color:var(--muted)}.qty{flex-wrap:nowrap}.tilephoto{width:53px;height:53px;border-radius:10px;object-fit:cover;display:grid;place-content:center;font-size:30px}.reportfilters{display:flex;gap:13px;align-items:flex-end;flex-wrap:wrap;padding:20px;background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:21px}.reportfilters label{flex:1;min-width:150px}.reportfilters button{margin-bottom:1px}.reportheading{display:flex;justify-content:space-between;align-items:center;margin:23px 0}.reportheading h2{font-size:23px;margin:9px 0}.reportstats .statvalue{font-size:24px}.backup-panel .panelhead small{line-height:1.7}.settingsgrid button{text-align:left}.receiptprint{width:72mm}.reportprint{width:100%}
.paymentchoices{border:0;padding:0;margin:10px 0;display:grid;grid-template-columns:1fr 1fr;gap:12px}.paymentchoices legend{font-size:12px;color:var(--muted);margin-bottom:12px}.paymentchoice{display:flex;align-items:center;gap:10px;border:1px solid var(--line);padding:17px;border-radius:10px;font-size:14px;cursor:pointer}.paymentchoice:has(input:checked){background:#edf5e5;border-color:#85a36b;color:var(--green);font-weight:700}.paymentchoice input{width:19px;min-height:19px;height:19px;margin:0;accent-color:var(--green)}.paymenttotals{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:0 0 24px}.paymenttotals>div{background:#eaf2e3;border:1px solid #dde7d5;padding:19px 22px;border-radius:11px;display:flex;justify-content:space-between;gap:15px;align-items:center}.paymenttotals span{font-size:12px;color:#5c7054}.paymenttotals b{font:750 22px Manrope,Arial;white-space:nowrap}.margincontrols{display:flex;align-items:center;gap:22px;padding:19px 21px;border:1px solid var(--line);border-radius:11px;background:#fff;margin-bottom:22px}.margincontrols>label{width:140px;flex-shrink:0}.margincontrols strong{display:block;font-size:13px;margin-bottom:6px}.receiptline{flex-wrap:wrap}.priceproposal{flex-basis:100%;display:flex;align-items:center;gap:20px;padding:13px 0 0;border-top:1px dashed #dbe4d4;margin-top:11px;flex-wrap:wrap}.priceproposal>div{display:flex;flex-direction:column;gap:4px}.priceproposal small{font-size:10px!important;margin:0!important}.priceproposal b{font-size:13px;color:var(--green)}.priceproposal label{display:flex;align-items:center;gap:7px;font-size:11px;margin-left:auto;cursor:pointer}.priceproposal input{width:18px;min-height:18px;height:18px;accent-color:var(--green);margin:0}
@media(max-width:760px){.margincontrols{align-items:flex-start;gap:13px;padding:15px}.margincontrols>label{width:100px}.margincontrols strong{font-size:12px}.margincontrols .subtitle{font-size:10px}.paymenttotals{gap:10px}.paymenttotals>div{padding:15px;flex-direction:column;align-items:flex-start;gap:10px}.paymenttotals b{font-size:20px}.priceproposal{gap:15px}.priceproposal label{margin-left:0;width:100%}.headtools{flex-wrap:wrap;justify-content:flex-end}}
@media(max-width:760px){.pagehead:has([data-action="reorder"]){flex-wrap:wrap}.pagehead:has([data-action="reorder"]) .headtools{justify-content:flex-start}.headtools [data-action="reorder"]{font-size:12px}}
@media print{.reportprint .paymenttotals{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:15px}.reportprint .paymenttotals>div{background:#fff;border:1px solid #aaa;padding:10px;flex-wrap:wrap}.reportprint .paymenttotals span{color:#000;font-size:9pt}.reportprint .paymenttotals b{font:700 12pt Arial}.receiptprint .paymenttotals{grid-template-columns:1fr}.receiptprint .paymenttotals b{font-size:11pt}}
.barcodefield{display:flex;gap:6px;align-items:flex-end}.barcodefield input{flex:1;min-width:0}.barcodefield button{width:44px;flex-shrink:0;padding:10px}.barcodefield+small{display:block;color:var(--muted);font-size:10px;margin-top:6px}.recent-sales{margin-bottom:22px}.recent-sales summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 20px;cursor:pointer;list-style:none}.recent-sales summary::-webkit-details-marker{display:none}.recent-sales summary>span{display:flex;align-items:center;gap:9px;font-weight:700}.recent-sales summary>small{font-size:10px;color:var(--muted)}.recent-sales summary:after{content:'⌄';font-size:20px;color:var(--green)}.recent-sales[open] summary{border-bottom:1px solid var(--line)}button[data-action="countercancel"],button[data-cancel-sale],.confirmcancel{background:#a63c35;color:#fff;border-color:#a63c35}button[data-action="countercancel"]:hover,button[data-cancel-sale]:hover,.confirmcancel:hover{background:#852d28}.cancelnotice{background:#f9ece8;color:#8e4840}.cancelnotice strong{color:#9a3931}.sale-detail td{white-space:normal}.cancelprint h2{border-top:2px solid #000;border-bottom:2px solid #000;padding:9px 0}.cancelprint p{overflow-wrap:anywhere}
.pin-screen{min-height:100vh;display:grid;place-items:center;padding:24px}.pin-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:34px;width:min(460px,95vw)}.pin-card .brand{margin-bottom:30px}.pin-card h1{font-size:25px}.pin-card label{margin-top:16px}.checkline{display:flex;align-items:center;gap:9px;margin-top:14px}.checkline input{width:18px;height:18px;min-height:18px;margin:0;accent-color:var(--green)}.category-letter{color:var(--green);font:750 22px Manrope,Arial;display:grid;place-content:center;background:#edf2e7}.tilephoto.category-letter{font-size:30px}.shopreceiptline,.shopcartline{padding:16px 0;border-bottom:1px solid var(--line)}.shopreceiptline:first-child,.shopcartline:first-child{padding-top:0}.shopreceiptline .formgrid{gap:10px}.shopreceiptline small{color:var(--muted)}.shopcartline label{margin-top:8px}.discountrow{display:flex;gap:7px;margin-top:8px}.discountrow select{flex:1;min-width:0}.discountrow input{width:95px}.ro-document{font:13px Arial,sans-serif;line-height:1.6}.ro-document h1{font:750 25px Manrope,Arial;margin-bottom:12px}.ro-document h2{font-size:20px;margin:18px 0 10px}.ro-document th,.ro-document td{font-size:11px;padding:10px;white-space:normal}.ro-document p{overflow-wrap:anywhere}.document-totals{text-align:right;font-size:15px}.panel.cart label{margin-bottom:12px}.shopreceiptline .priceproposal span{font-size:11px}hr{border:0;border-top:1px solid var(--line);margin:17px 0}.nav{overflow-y:auto}.sidebar .profile strong{font-size:12px}.sidebar .profile small{font-size:11px}
@media(max-width:760px){.nav{overflow-x:auto;overflow-y:hidden;justify-content:flex-start}.nav button{min-width:57px;flex-shrink:0}.pin-card{padding:25px}.reportstats .statvalue,.statvalue{overflow-wrap:anywhere}.formgrid .full .barcodefield input{width:50px;flex:1}.ro-document .document-totals{text-align:left}}
@media print{.reportprint .ro-document,.reportprint{font:10pt Arial}.reportprint h1{font-size:18pt}.reportprint h2{margin:15px 0 10px}.reportprint .document-totals{text-align:right}.reportprint p{overflow-wrap:anywhere}.receiptprint table{table-layout:fixed;max-width:72mm}.receiptprint table th,.receiptprint table td{overflow-wrap:anywhere}}
@media(max-width:760px){.recent-sales summary{flex-wrap:wrap;padding:14px}.recent-sales summary>small{font-size:9px}.headtools [data-action="countercancel"],.headtools [data-action="recent-sales"]{font-size:11px}.pagehead:has([data-action="countercancel"]){flex-wrap:wrap}.pagehead:has([data-action="countercancel"]) .headtools{justify-content:flex-start}.modalfoot{flex-wrap:wrap}.sale-detail .carttotal b{font-size:21px}}
@media(max-width:760px){.settingsgrid{grid-template-columns:1fr;gap:10px}.settingsgrid .actioncard{min-height:90px}.photoeditor{align-items:flex-start;gap:10px}.editorphoto{width:65px;height:65px}.photoeditor .filebutton{font-size:10px;padding:7px}.qty input{width:65px}.cartline{flex-wrap:wrap}.cartline .name{min-width:150px}.cartline .qty{margin-left:auto}.reportfilters{padding:15px;gap:10px}.reportfilters label{min-width:130px}.reportheading{gap:12px}.reportheading h2{font-size:18px}.reportheading>.pill{display:none}.nav button{font-size:8px}.reportbuttons button{font-size:11px}.backupactions{flex-direction:column}.backupactions>*{width:100%}}
@media print{.reportprint{font:10pt Arial;display:block!important}.reportprint h1{font-size:20pt}.reportprint h2{font-size:13pt}.reportprint p{font:9pt Arial}.reportprint .reportheading{display:block}.reportprint .stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.reportprint .stat{padding:10px;border:1px solid #bbb}.reportprint .statvalue{font:700 15pt Arial;margin:10px 0}.reportprint .statline{font-size:9pt;color:#000}.reportprint .twocol{display:block}.reportprint .panel{margin:14px 0;border:1px solid #bbb;break-inside:avoid}.reportprint .panelhead{padding:10px}.reportprint table{white-space:normal}.reportprint td,.reportprint th{padding:8px;font-size:9pt;color:#000}.reportprint .pill,.reportprint .subtitle,.reportprint .eyebrow{color:#000}.reportprint .notice{border:1px solid #999}.reportprint .tablewrap{overflow:visible}.receiptprint{width:72mm}.receiptprint .stats{grid-template-columns:1fr 1fr}.receiptprint .statvalue{font-size:11pt}.receiptprint .reportheading h2{font-size:11pt}.receiptprint h1{font-size:15pt}.receiptprint td,.receiptprint th{font-size:8pt;padding:5px}.receiptprint .stat{padding:5px}.receiptprint .statline{font-size:8pt}}

.quickbar{position:sticky;top:0;z-index:4;display:flex;align-items:center;gap:10px;overflow-x:auto;background:#f6f7f4f5;border:1px solid var(--line);border-radius:12px;padding:10px;margin-bottom:18px;backdrop-filter:blur(8px)}.quickbar>b{font-size:12px;white-space:nowrap}.quickbar button{flex-shrink:0;flex-direction:column;gap:2px;background:#eaf1e6;min-width:100px}.quickbar small{font-size:11px;font-weight:400}.sgr-cart-row{display:flex;align-items:center;gap:9px;justify-content:space-between;background:#edf3e8;padding:10px;border-radius:7px;margin-top:8px;font-size:12px}.sgr-cart-row.refund{background:#fff0e7}.shift-users{display:grid;gap:12px;margin-top:22px}.shift-users button{min-height:54px}.manager-approval{max-width:440px;width:calc(100% - 32px);padding:28px;border:1px solid var(--line);border-radius:16px}.manager-approval::backdrop{background:#10251ec2}.manager-approval label{margin-top:18px}.approval-error{color:var(--red)}.quick-settings{padding:16px;background:#f6f8f3;border:1px solid var(--line);border-radius:10px}.quick-settings .rowflex select{min-width:0;flex:1}.missing-bons{margin:20px 0}.missing-bons small{display:block;color:var(--muted)}input[data-label-select],#labelselectall{width:20px;min-height:20px;height:20px;accent-color:var(--green)}.price-labels{display:none}.price-label{padding:2mm;text-align:center;color:#000;overflow:hidden;break-inside:avoid}.price-label h3{font:700 12pt Arial;line-height:1.15;margin:0 0 1mm;max-height:10mm;overflow:hidden}.price-label .label-price{font:800 17pt Arial;display:block}.price-label small{font:8pt Arial;display:block}.price-label svg{width:100%;max-height:18mm}.price-labels.labels-a4{grid-template-columns:repeat(3,62mm);gap:1mm}.labels-a4 .price-label{width:62mm;height:38mm;border:.2mm solid #ddd}.labels-58 .price-label{width:58mm;min-height:32mm;padding:2mm;break-after:page}.labels-58 .price-label:last-child{break-after:auto}@media print{.labelprint.price-labels.labels-a4{display:grid!important;width:188mm;padding:0;margin:0;max-width:none}.labelprint.price-labels.labels-58{display:block!important;width:58mm;padding:0;margin:0;max-width:none}.price-labels .price-label svg{width:100%;height:17mm}.price-labels .price-label h3{font-size:12pt}.quickbar,.manager-approval{display:none!important}.missing-bons button{display:none!important}}

.label-preview-scroll{max-height:65vh;overflow:auto;background:#eee;padding:12px}.label-preview{background:white;display:grid;width:max-content;gap:1mm}.label-preview.labels-58{display:block}.label-preview .price-label{border:1px solid #ccc}.label-preview .price-label svg{display:block}.label-preview .price-label h3{white-space:normal}

.label-preview.labels-a4{grid-template-columns:repeat(3,62mm)}#modal:has(.label-preview){width:min(940px,96vw);max-width:940px}
