:root{--navy:#102a4b;--navy2:#071c36;--purple:#6836d9;--bg:#f1f5fa;--line:#e1e7f0;--txt:#182740;--muted:#738094;--shadow:0 10px 28px rgba(12,37,67,.09)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--txt);font-family:Tahoma,Arial,'Segoe UI',sans-serif;font-size:14px;direction:rtl}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.6;cursor:wait}input,select,textarea{width:100%;min-width:0;border:1px solid #cdd8e6;border-radius:12px;background:#fff;color:#25364d;padding:12px;outline:0}input:focus,select:focus,textarea:focus{border-color:#7956e5;box-shadow:0 0 0 3px #7956e51b}label{font-weight:700;font-size:12px;display:block;margin:0 0 5px}small,.muted{color:var(--muted)}a{color:#593bd0;text-decoration:none}button:focus-visible{outline:3px solid #efb93d}
.hidden{display:none!important}.top{background:linear-gradient(135deg,#071a34,#163e62);color:#fff;min-height:100px;padding:18px clamp(12px,2.3vw,32px);display:flex;align-items:center;gap:15px;justify-content:space-between;border-radius:0 0 32px 32px;position:relative;box-shadow:0 5px 20px #102a4b26}.top:after{content:'';position:absolute;width:150px;height:150px;border:20px solid #ffffff08;border-radius:50%;right:-65px;top:-115px;pointer-events:none}.top .brand{display:flex;align-items:center;gap:12px;min-width:0}.logo{object-fit:contain;max-width:126px;max-height:66px;border-radius:14px;background:#fff;padding:4px}.brandtext{font-size:25px;font-weight:900}.brandtext small{display:block;color:#e4b847;font-size:12px}.topright{display:flex;align-items:center;gap:10px}.top .avatar{height:42px;width:42px;border:2px solid #7fa5d8}.avatar{height:38px;width:38px;object-fit:cover;border-radius:50%;background:#e3eafd;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.round{border:none;border-radius:50%;height:40px;width:40px;background:#ffffff20;color:#fff;font-size:22px;position:relative}.bellcount{position:absolute;top:-6px;left:-7px;min-width:19px;height:19px;border-radius:12px;background:#ef3348;color:#fff;font-weight:800;font-size:11px;padding:3px}.userlabel{font-size:13px;font-weight:bold;max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shell{max-width:1500px;margin:0 auto}.page{padding:20px clamp(12px,3vw,32px) 80px}.heading{display:flex;gap:10px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin:8px 0 17px}.heading h2{margin:0;font-size:22px}.sub{color:var(--muted);font-size:12px;margin:5px 0 0}.btn{border:0;border-radius:12px;padding:11px 18px;font-weight:800;display:inline-flex;justify-content:center;align-items:center;gap:7px;min-height:41px;white-space:nowrap}.btn.primary{background:#5c34d4;color:#fff}.btn.blue{background:#0d76c7;color:white}.btn.good{background:#079968;color:white}.btn.danger{background:#fff0f1;color:#b92340}.btn.light{background:#e8edf6;color:#183252}.btn.outline{background:white;border:1px solid #d6dcea;color:#324765}.btn.sm{padding:7px 10px;font-size:12px;min-height:33px}.btn.install{background:#e32336;color:#fff;animation:blink 1.15s infinite}.btn.install:hover{animation:none}@keyframes blink{50%{background:#f8cbd0;color:#9d192c}}.btnrow{display:flex;gap:7px;flex-wrap:wrap}.gridcards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.tile{border:0;text-align:right;position:relative;overflow:hidden;min-height:184px;color:#fff;border-radius:25px;box-shadow:var(--shadow);padding:25px 23px;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;transition:transform .17s}.tile:hover{transform:translateY(-3px)}.tile:before{content:'';position:absolute;width:70%;height:170%;border-radius:45%;background:#ffffff16;transform:rotate(-30deg);top:-45%;left:-25%}.tile .em{font-size:49px;line-height:1;position:absolute;top:22px;right:25px;filter:drop-shadow(0 4px 6px #0003)}.tile strong{font-size:21px;position:relative}.tile small{color:#fffd;position:relative;margin-top:5px}.tile .arr{position:absolute;bottom:17px;left:19px;border-radius:50%;height:34px;width:34px;background:#ffffff44;display:grid;place-items:center;font-size:24px}.tile.wide{min-height:155px}.tile.wide .em{font-size:55px}.grad-green{background:linear-gradient(130deg,#23ac6d,#007e69)}.grad-pink{background:linear-gradient(130deg,#e834a4,#9a137f)}.grad-orange{background:linear-gradient(130deg,#ffae1b,#ed6600)}.grad-lime{background:linear-gradient(130deg,#a4c52d,#63831a)}.grad-blue{background:linear-gradient(130deg,#168cf0,#0754c8)}.grad-purple{background:linear-gradient(130deg,#b84bea,#6427b6)}.grad-cyan{background:linear-gradient(130deg,#1cc8e9,#028bbd)}.grad-red{background:linear-gradient(130deg,#e32e62,#9c1140)}.grad-teal{background:linear-gradient(130deg,#24beaf,#08798b)}.grad-dark{background:linear-gradient(130deg,#4f75a7,#183456)}
.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:15px 0 19px}.kpi{display:block;background:white;border:1px solid var(--line);border-radius:19px;box-shadow:0 3px 15px #1833530a;padding:17px;text-align:right;min-width:0}.kpi .ki{font-size:25px}.kpi span{display:block;font-size:12px;color:var(--muted);margin:7px 0}.kpi strong{font-size:clamp(16px,1.8vw,26px);color:#123859;overflow-wrap:anywhere}.kpi.action:hover{border-color:#6540d1}.panel{background:#fff;border-radius:20px;padding:18px;box-shadow:var(--shadow);border:1px solid #edf0f5;margin-bottom:18px;min-width:0}.toolbar{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin-bottom:13px}.toolbar .searchbox{flex:1;min-width:170px}.daterow{display:flex;flex-wrap:wrap;align-items:end;gap:8px}.daterow .datefield{width:145px}.daterow select{width:130px}.tablewrap{width:100%;overflow-x:auto;overscroll-behavior-x:contain}.tbl{border-collapse:collapse;width:100%;min-width:610px;font-size:13px;text-align:right}.tbl th{background:#eaf0fa;color:#163252;font-weight:800;padding:12px;white-space:nowrap}.tbl td{padding:11px;border-bottom:1px solid #e7ecf3;vertical-align:middle}.tbl tr:hover td{background:#fafbff}.tbl td .btn{margin:1px}.empty{text-align:center;padding:38px 10px;color:#7d8a9b}.empty span{font-size:35px;display:block;margin-bottom:10px}.pills{display:flex;gap:8px;flex-wrap:wrap}.pill{background:#eff2fa;color:#304967;padding:5px 10px;border-radius:40px;font-weight:bold;font-size:12px}.pill.ok{background:#e1f8ee;color:#00835d}.pill.warn{background:#fff4dc;color:#ac6500}.pill.bad{background:#ffebed;color:#cb3050}.drawerbg,.modalbg{position:fixed;inset:0;background:#071b38a8;z-index:30}.drawer{position:fixed;right:0;top:0;bottom:0;width:min(350px,90vw);background:#fff;z-index:31;overflow-y:auto;padding:20px;box-shadow:0 0 40px #0003}.drawer a{display:block;padding:11px 13px;font-weight:700;border-radius:12px;margin-bottom:3px;color:#1d3857}.drawer a:hover,.drawer a.active{background:#f0eafe;color:#6232c7}.modalbg{z-index:45;display:flex;align-items:center;justify-content:center;padding:14px;overflow:auto}.modal{width:min(740px,100%);max-height:95vh;overflow-y:auto;background:#fff;border-radius:21px;box-shadow:0 20px 65px #0005;padding:20px;align-self:center}.modal.big{width:min(1040px,100%)}.modalhead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}.modalhead h3{margin:0;font-size:19px}.xbtn{border:0;background:#eff2f8;border-radius:50%;height:34px;width:34px;font-size:20px}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.field{min-width:0}.field.full{grid-column:1/-1}.formactions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:18px}.info{background:#f2f5fe;border:1px solid #dce5fc;border-radius:13px;padding:11px;margin:10px 0;color:#395171}.reportview{color:#1d3046;background:white;padding:10px}.reporthead{display:grid;grid-template-columns:1fr 2fr 1fr;align-items:center;padding:10px 4px 16px;border-bottom:2px solid #1a4169;margin-bottom:17px}.reporthead .rlogo{text-align:left}.reporthead .rlogo img{width:98px;max-height:64px;object-fit:contain}.reportuser{text-align:right}.reportuser img{width:53px;height:53px;object-fit:cover;border-radius:50%;display:block}.reporthead h2{text-align:center;font-size:22px;margin:0;color:#132e50}.reportmeta{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0 14px}.reporttable{width:100%;border-collapse:collapse;font-size:12px;direction:rtl}.reporttable th,.reporttable td{border:1px solid #cbd6e4;padding:10px 7px;text-align:right}.reporttable th{background:#e9eff8!important}.reporttotal{margin:14px 0;font-weight:800;font-size:17px;text-align:left}.reportfoot{border-top:1px solid #ddd;padding-top:10px;margin-top:18px;text-align:left;color:#6b43c9;font-weight:bold}.loadingbar{position:fixed;top:0;right:0;left:0;height:3px;background:linear-gradient(90deg,#6e42db,#18bfbd);z-index:100;animation:load 1s linear infinite}@keyframes load{from{transform:translateX(90%)}to{transform:translateX(-90%)}}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#173b5d;color:white;padding:13px 18px;border-radius:14px;z-index:99;box-shadow:0 8px 30px #0003;max-width:min(550px,96vw);text-align:center}.authwrap{min-height:100vh;display:grid;place-items:center;padding:20px;background:radial-gradient(circle at top left,#dbd2ff,transparent 45%),linear-gradient(150deg,#eaf1fa,#fff)}.authbox{width:min(430px,100%);background:#fff;border-radius:26px;padding:30px 23px;box-shadow:0 18px 55px #1e255925}.authbox .logo{display:block;margin:auto auto 16px;max-width:205px;max-height:103px}.authbox h1{text-align:center;color:#1e3153;font-size:25px}.authbox input{margin-bottom:11px}.authbox .btn{width:100%;margin-top:8px}.authlinks{display:flex;justify-content:space-between;margin-top:18px;gap:10px;flex-wrap:wrap}.authlinks a{font-size:12px;font-weight:700}.appfoot{background:#0e2848;color:#eec05a;text-align:center;padding:23px;font-weight:bold;font-size:17px;margin-top:22px;border-top:4px solid #e6ab3f;border-radius:30px 30px 0 0}.notification{padding:13px;border-radius:13px;border:1px solid #dbe5f1;margin-bottom:8px;background:#fff}.notification.unread{border-right:5px solid #d83251;background:#fff9fc}.notification h4{margin:0 0 7px}.notification p{margin:0 0 8px;color:#647287}
@media(max-width:900px){.gridcards{grid-template-columns:repeat(2,minmax(0,1fr))}.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.brandtext{font-size:19px}.tile{min-height:166px}.userlabel{display:none}}
@media(max-width:520px){body{font-size:13px}.top{min-height:83px;border-radius:0 0 22px 22px;padding:10px}.top .logo{max-width:82px;max-height:45px}.brandtext{font-size:16px}.brandtext small{font-size:10px}.topright{gap:4px}.round{height:34px;width:34px;font-size:19px}.top .avatar{width:33px;height:33px}.page{padding:14px 10px 45px}.gridcards{gap:9px}.tile{min-height:138px;border-radius:17px;padding:13px}.tile strong{font-size:15px;padding-left:12px}.tile .em{font-size:38px;top:11px;right:13px}.tile small{font-size:10px;padding-left:20px}.tile .arr{left:8px;bottom:12px;width:25px;height:25px;font-size:18px}.kpis{gap:8px}.kpi{padding:12px;border-radius:14px}.panel{padding:11px;border-radius:15px}.fields{grid-template-columns:1fr}.field.full{grid-column:auto}.modal{padding:13px}.daterow,.daterow .datefield{width:100%}.daterow select{width:100%}.reporttable{font-size:10px}.reporthead h2{font-size:15px}.reporthead .rlogo img{width:66px}.heading h2{font-size:18px}.btn{padding:9px 12px;font-size:12px}.toolbar .searchbox{min-width:100%}}
@media(max-width:520px){.invoiceLine{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}.invoiceLine>div:first-child{grid-column:1/-1}.invoiceLine .itemQty,.invoiceLine .itemPrice{max-width:100%}.invoiceLine>button{grid-column:2;justify-self:end}.invoiceLine>div:last-child{grid-column:1/-1}}
@media print{html,body{background:#fff!important;overflow:visible!important}body>*:not(#printArea){display:none!important}#printArea{display:block!important;position:static!important;width:100%!important;margin:0!important;padding:0!important;overflow:visible!important}#printArea .reportview{padding:0!important}.reporthead{break-inside:avoid}.reporttable tr{break-inside:avoid}.no-print{display:none!important}@page{size:A4;margin:13mm}}
.drawer .navlink{display:block;width:100%;text-align:right;padding:11px 13px;margin:0 0 3px;color:#1d3857;border:0;border-radius:12px;background:transparent;font-weight:700}.drawer .navlink:hover,.drawer .navlink.active{background:#f0eafe;color:#6232c7}
.toolbar2{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}
.toolbar2 .search-primary{min-width:0}.search-primary>label{display:block;margin-bottom:7px;font-weight:800;color:#163c61}
.search-entry{display:flex;gap:7px;align-items:stretch;flex-wrap:wrap}.search-entry input{flex:1;min-width:155px;padding:11px 12px;border:1px solid #ccd7e6;border-radius:11px}
.toolbar2 .biginquiry{font-size:16px;font-weight:900;padding:15px 20px;min-height:48px}
.toolbar2 .filter-note{grid-column:1/-1}.directory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.directory-pane{min-width:0}
.phone-number{display:inline-block;direction:ltr;font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:700}
.invoiceLine .rollCell select{min-width:0}.reportview{direction:rtl;color:#172c46;background:#fff;font-size:12px;border:1px solid #dfe8f3;border-radius:14px;padding:20px;overflow:hidden}
.reportview .reporthead{display:flex;justify-content:space-between;align-items:center;padding:15px;border-radius:13px;background:linear-gradient(135deg,#eff5ff,#f9faff);border-bottom:3px solid #7353d1;margin-bottom:18px;gap:12px}
.reporthead .clientBrand{display:flex;align-items:center;gap:12px;min-width:0}.reporthead .clientBrand img{height:67px;width:67px;object-fit:contain;border-radius:12px;background:#fff}
.reporthead .clientBrand h2{font-size:21px;margin:0;color:#163e61}.report-id{text-align:left}.report-id h2{font-size:17px;margin:0 0 5px}
.reportview .reporttable{border-collapse:collapse;width:100%;font-size:12px;margin:12px 0}.reporttable th{background:#1c476d!important;color:#fff!important;padding:10px;border:1px solid #cadef0}
.reporttable td{padding:8px;border:1px solid #dfebf5}.reporttable tbody tr:nth-child(even){background:#edf4fa}.reportview .reporttotal{background:#eaf2ff;color:#183956;border-radius:10px;padding:16px;font-size:16px;font-weight:bold;margin:15px 0}
.reportview .reportfoot{display:flex;justify-content:flex-end;align-items:center;gap:7px;flex-direction:row-reverse;border-top:1px solid #dce5ee;margin-top:25px;padding:10px 0;color:#6b3ecb}
.reportfoot img{height:30px;max-width:130px;object-fit:contain}
@media(max-width:800px){.toolbar2{grid-template-columns:1fr}.directory-grid{grid-template-columns:1fr}.toolbar2 .biginquiry{width:100%}}
@media(max-width:520px){.search-entry{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.search-entry input{grid-column:1/-1}.reportview{padding:8px}.reportview .reporthead{padding:8px}.reporthead .clientBrand h2{font-size:14px}.report-id h2{font-size:13px}.reporthead .clientBrand img{width:44px;height:44px}}
@media print{.reportview{border:0;padding:0!important}.reportview .reporthead{break-inside:avoid}.reportview .reporttable tr{break-inside:avoid}.reportview .reportfoot{break-inside:avoid} @page{size:A4;margin:12mm}}
html,body{max-width:100%;overflow-x:clip;-webkit-text-size-adjust:100%;text-size-adjust:100%;}
#root,.shell,.page,#content,.panel,.fields,.field,.modal,.modalbg{min-width:0;max-width:100%;}
.page{width:100%;max-width:1440px;margin-inline:auto;}
.tablewrap{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%;}
.tbl{min-width:650px;}
.reportview{max-width:100%;overflow-x:auto;}
.btnrow{flex-wrap:wrap;max-width:100%;}
.weekdays{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:8px;padding:10px;border:1px solid #e1e7f0;border-radius:13px;background:#f6f8fd;}
.weekdays label,.checkinline{display:flex;align-items:center;gap:7px;font-weight:700;padding:7px;cursor:pointer;}
.weekdays input,.checkinline input{width:18px;height:18px;flex:none;margin:0;}
.suggestions{display:grid;gap:4px;max-height:190px;overflow:auto;}
.suggestion{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px;border:1px solid #d8e2f0;border-radius:9px;color:#183b62;background:#f8fbff;text-align:right;}
.suggestion small{color:#546b8b;}
.installments{display:grid;gap:8px;margin-top:12px;}
.installment{display:grid;grid-template-columns:minmax(65px,.6fr) minmax(90px,1fr) minmax(132px,1.4fr);align-items:center;gap:8px;border:1px solid #e4eaf4;padding:8px;border-radius:10px;background:#fff;}
.installment input{min-width:0;}
@media(max-width:600px){
html,body{width:100%;}input,select,textarea{font-size:16px!important;line-height:1.35;min-height:43px;}
.authbox{width:100%;padding:17px 13px;}
.page{padding-inline:8px;}
.panel{padding:10px;}
.top{flex-wrap:wrap;gap:7px;}
.topright{max-width:100%;gap:5px;}
.top .brandtext{font-size:15px;}
.top .install{font-size:12px;padding:7px;}
.modalbg{padding:4px;}
.modal{width:calc(100vw - 8px);max-width:calc(100vw - 8px);padding:11px;max-height:calc(100dvh - 8px);overflow-y:auto;}
.reportview{font-size:12px;}
.weekdays{grid-template-columns:repeat(2,minmax(0,1fr));}
.installment{grid-template-columns:1fr 1fr;}
.installment b{grid-column:1/-1;}
.installment input{font-size:16px!important;}
.fields{grid-template-columns:minmax(0,1fr);}
.btn{max-width:100%;white-space:normal;}
.heading{flex-wrap:wrap;}
}
@media(max-width:360px){.top .brandtext{display:none}.tile{min-height:128px;padding:8px}.tile strong{font-size:13px}.tile .em{font-size:32px}.kpi{padding:8px}}
.invoice-sheet{background:#fff;border:1px solid #d6e2f0;border-radius:24px;padding:24px;color:#163252;overflow:hidden}
.invoice-top{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:8px 0 20px;border-bottom:3px solid #123b66}
.invoice-brand{display:flex;align-items:center;gap:16px;min-width:0}.invoice-brand .shop-logo{width:94px;height:94px;object-fit:contain;border-radius:16px;background:#fff;box-shadow:0 8px 22px #123b6614}.invoice-brand h1{margin:0 0 6px;font-size:30px;color:#123b66}.invoice-brand p{margin:0;color:#3d5d7a;font-weight:700}.invoice-brand small{display:block;margin-top:7px;color:#6b7f95}
.invoice-owner{min-width:180px;text-align:center;background:linear-gradient(180deg,#143b63,#0d2440);color:#fff;border-radius:22px;padding:16px 14px;box-shadow:0 12px 28px #0f315028}.invoice-owner img{width:114px;height:114px;border-radius:50%;object-fit:cover;border:4px solid #fff;display:block;margin:0 auto 12px}.invoice-owner strong{display:block;font-size:18px}.invoice-owner small{display:block;margin-top:6px;color:#d3e5ff}
.invoice-head-cards,.invoice-grid,.invoice-bottom{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}.invoice-card{background:#f8fbff;border:1px solid #dbe6f4;border-radius:18px;padding:16px;min-width:0}.invoice-card h3{margin:0 0 12px;color:#123b66;font-size:20px}.invoice-card-primary{background:linear-gradient(180deg,#f5f9ff,#eef4ff)}.invoice-number{background:linear-gradient(90deg,#11385f,#1a7be1);color:#fff;border-radius:16px;padding:18px;font-size:28px;font-weight:900;text-align:center;letter-spacing:1px}
.invoice-card ul{list-style:none;padding:0;margin:0;display:grid;gap:10px}.invoice-card li{display:flex;justify-content:space-between;gap:12px;border-bottom:1px dashed #c8d7ea;padding-bottom:8px}.invoice-card li:last-child{border-bottom:0;padding-bottom:0}.invoice-card li span{color:#58728c}.invoice-card li b{color:#173455;text-align:left}
.invoice-table-wrap{margin-top:18px;overflow-x:auto}.invoice-table{width:100%;border-collapse:collapse;min-width:620px}.invoice-table th{background:linear-gradient(90deg,#133c65,#1b5fa0);color:#fff;padding:12px;border:1px solid #c2d4e8}.invoice-table td{padding:12px;border:1px solid #d9e6f2}.invoice-table tbody tr:nth-child(even){background:#f7fbff}
.invoice-totals{display:grid;gap:10px;background:#f2f7fe;border:1px solid #d6e3f3;border-radius:18px;padding:16px}.invoice-totals>div{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px dashed #c8d6e6}.invoice-totals>div:last-child{border-bottom:0}.invoice-totals .grand{background:linear-gradient(90deg,#123b65,#1d78db);color:#fff;border-radius:14px;padding:12px 14px;border-bottom:0;font-size:18px}
.invoice-notes{background:#fbfdff;border:1px solid #d8e4f1;border-radius:18px;padding:16px}.invoice-notes h3{margin:0 0 12px;color:#123b66}.invoice-notes p{min-height:90px;white-space:pre-wrap;color:#3f5773}.invoice-signatures{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:28px}.invoice-signatures div{border-top:2px solid #b7c8dc;padding-top:10px;text-align:center;font-weight:700;color:#17395d;min-height:34px}
.invoice-footer{margin-top:22px;padding:18px 12px;border-radius:18px;background:linear-gradient(90deg,#0d2948,#144e8a);color:#fff;text-align:center}.invoice-footer strong{display:block;font-size:23px;margin-bottom:8px}.invoice-footer small{display:block;color:#d4e6ff;margin-bottom:6px}
.reportview.premium{border:1px solid #dce7f4;border-radius:20px;padding:20px;background:#fff}.reporthero{display:grid;grid-template-columns:1.4fr 1.2fr .9fr;gap:16px;align-items:center;padding:16px;border-radius:18px;background:linear-gradient(135deg,#f7fbff,#edf4ff);border:1px solid #dbe5f2;margin-bottom:18px}.hero-brand,.hero-owner{display:flex;align-items:center;gap:12px}.hero-brand img,.hero-owner img{width:84px;height:84px;object-fit:cover;border-radius:18px;background:#fff}.hero-owner{flex-direction:column;justify-self:end;text-align:center;background:linear-gradient(180deg,#0e2c4c,#15558f);padding:14px;border-radius:18px;color:#fff}.hero-owner img{border-radius:50%;border:4px solid #fff}.hero-brand h2{margin:0;font-size:24px;color:#123b66}.hero-center{text-align:center}.hero-center h3{margin:0 0 7px;font-size:24px;color:#0f3152}.ownerline{margin-top:7px;color:#52718b;font-weight:700}.reportview.premium .reporttable th{background:linear-gradient(90deg,#123b65,#1e5c97)!important}.reportview.premium .reportfoot{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:22px;padding-top:14px;border-top:1px solid #d8e3ee}
@media(max-width:900px){.invoice-top,.hero-brand,.hero-owner{align-items:center}.invoice-top{flex-direction:column}.invoice-head-cards,.invoice-grid,.invoice-bottom,.reporthero{grid-template-columns:1fr}.invoice-owner,.hero-owner{justify-self:stretch}.hero-owner{flex-direction:row;justify-content:flex-start}}
@media(max-width:520px){.invoice-sheet{padding:10px;border-radius:14px}.invoice-brand{flex-direction:column;align-items:flex-start}.invoice-brand .shop-logo{width:70px;height:70px}.invoice-brand h1{font-size:22px}.invoice-owner img{width:82px;height:82px}.invoice-card,.invoice-notes,.invoice-totals{padding:12px}.invoice-card h3{font-size:17px}.invoice-number{font-size:22px;padding:14px}.invoice-signatures{grid-template-columns:1fr 1fr;gap:12px}.invoice-footer strong{font-size:18px}.reportview.premium{padding:10px}.hero-brand img,.hero-owner img{width:58px;height:58px}.hero-brand h2,.hero-center h3{font-size:18px}}
.invoice-sheet{padding:15px 18px;border-radius:13px;max-width:960px;margin:auto;overflow:visible;background:#fff}
.invoice-top{display:grid;grid-template-columns:1fr 1.12fr 1fr;gap:12px;align-items:center;border-bottom:2px solid #14416d;padding:0 0 11px;direction:rtl}
.invoice-title-block h1{font-size:20px;margin:0 0 7px;color:#16395f}.invoice-title-block p{font-size:14px;margin:0 0 6px;font-weight:700;color:#173e68}
.invoice-status{display:inline-block;padding:5px 9px;border-radius:8px;background:#e9f2fc;color:#194d80;font-weight:700;font-size:11px}
.invoice-top .invoice-owner{min-width:0;display:flex;align-items:center;flex-direction:column;justify-content:center;justify-self:center;text-align:center;padding:5px;background:none!important;color:#173b62!important;border:0;box-shadow:none}
.invoice-top .invoice-owner img{width:88px;height:88px;object-fit:cover;border:3px solid #d0e1f3;border-radius:50%;margin:0 0 5px}
.invoice-top .invoice-owner strong{font-size:13px;color:#193c61}.invoice-top .invoice-owner span{font-size:10px;color:#6c8197}
.invoice-number-block{display:flex;flex-direction:column;gap:6px;align-items:flex-start;color:#173c62}.invoice-number-block span{font-weight:700}.invoice-number-block strong{font-size:20px;background:#edf5ff;padding:8px 12px;border-radius:9px}.invoice-number-block small{font-size:10px}
.invoice-details{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:11px}.invoice-details-card{border:1px solid #d3e2f1;border-radius:9px;overflow:hidden}.invoice-details-card h3{margin:0;background:#153c63;color:#fff;font-size:13px;padding:8px 12px}.invoice-details-card>div{display:flex;justify-content:space-between;gap:8px;padding:6px 12px;border-bottom:1px dotted #d0dfed;font-size:11px}.invoice-details-card>div:last-child{border-bottom:0}.invoice-details-card span{color:#536d89}.invoice-details-card b{color:#19395e;text-align:left}
.invoice-sheet .invoice-table{margin:12px 0;width:100%;min-width:0;table-layout:auto;font-size:11px}.invoice-sheet .invoice-table th{padding:8px 7px;background:#153d66!important}.invoice-sheet .invoice-table td{padding:7px;border-color:#dce6f0}.invoice-sheet .invoice-table tr{break-inside:avoid;page-break-inside:avoid}
.invoice-sheet .invoice-bottom{grid-template-columns:1fr 1fr;gap:12px;margin-top:9px;align-items:stretch;break-inside:avoid;page-break-inside:avoid}.invoice-sheet .invoice-totals{gap:0;padding:8px 11px;border-radius:9px}.invoice-sheet .invoice-totals>div{padding:5px 0;font-size:11px}.invoice-sheet .invoice-totals .grand{border-radius:7px;padding:7px;font-size:13px}
.invoice-sheet .invoice-notes{padding:10px;border-radius:9px}.invoice-sheet .invoice-notes h3{font-size:13px;margin:0 0 5px}.invoice-sheet .invoice-notes p{min-height:32px;font-size:11px;margin:6px 0}.invoice-sheet .invoice-signatures{display:flex;justify-content:space-between;gap:12px;margin-top:20px}.invoice-sheet .invoice-signatures span{font-size:11px;border-top:1px solid #9db9d5;flex:1;text-align:center;padding-top:7px}
.invoice-sheet .invoice-footer{display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:12px;margin-top:10px;padding:8px 0 0;border-top:1px solid #cbdaeb;border-radius:0;background:#fff!important;color:#16426c;text-align:right;direction:rtl;break-inside:avoid}.invoice-sheet .invoice-footer-right{font-weight:700}.invoice-sheet .invoice-footer-right small{font-size:10px;color:#789;display:block;margin-top:2px}.invoice-sheet .invoice-footer img{height:37px;max-width:100px;object-fit:contain;margin-right:auto}
.reportview.premium{padding:13px;border-radius:12px}.reportview.premium .reporthero{display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:10px;align-items:center;padding:9px 12px;margin-bottom:11px}.reportview.premium .hero-owner{justify-self:center;display:flex;flex-direction:column;align-items:center;gap:2px;padding:3px;background:none!important;color:#173d65;box-shadow:none}.reportview.premium .hero-owner img{width:88px;height:88px;border:3px solid #cddff2;border-radius:50%;margin:0 0 4px}.reportview.premium .hero-owner strong{font-size:13px}.reportview.premium .hero-owner span{font-size:10px;color:#657f9a}.reporthero-side h2,.reporthero-side h3{font-size:16px;margin:0 0 8px;color:#143c65}.reporthero-side span{font-size:10px;color:#65809a}.report-title{text-align:left}
.reportview.premium .reporttable{font-size:10px}.reportview.premium .reporttable th,.reportview.premium .reporttable td{padding:7px 6px;overflow-wrap:anywhere}.reportview.premium .reporttable tr{break-inside:avoid}.reportview.premium .reporttotal{font-size:13px;margin:9px 0;padding:9px}.reportview.premium .reportfoot{display:flex;flex-direction:row;direction:rtl;justify-content:space-between;align-items:center;border-top:1px solid #cddfec;padding:8px 0;margin-top:10px;color:#58718c}.reportview.premium .reportfoot img{width:100px;height:38px;max-width:100px;object-fit:contain;margin-right:auto}
@media(max-width:650px){.invoice-sheet{padding:10px}.invoice-top{grid-template-columns:1fr 1.05fr 1fr}.invoice-title-block h1{font-size:14px}.invoice-title-block p{font-size:12px}.invoice-number-block strong{font-size:13px;padding:5px}.invoice-top .invoice-owner img,.reportview.premium .hero-owner img{width:68px;height:68px}.invoice-details{gap:6px}.invoice-details-card>div{padding:6px;font-size:10px}.invoice-details-card h3{font-size:12px}.invoice-sheet .invoice-bottom{gap:6px}.reportview.premium .reporthero{grid-template-columns:1fr 1fr 1fr}.reporthero-side h2,.reporthero-side h3{font-size:12px}.reportview.premium .reportfoot img,.invoice-sheet .invoice-footer img{width:78px}}
@media print{
@page{size:A4;margin:8mm!important}
html,body,#printArea{width:100%!important;max-width:none!important;padding:0!important;margin:0!important;color-adjust:exact;print-color-adjust:exact;-webkit-print-color-adjust:exact}
#printArea .invoice-sheet,#printArea .reportview.premium{border:0!important;box-shadow:none!important;margin:0!important;max-width:none!important;width:100%!important;padding:0!important;border-radius:0!important;overflow:visible!important}
#printArea .invoice-sheet{font-size:9pt!important}
#printArea .invoice-top{grid-template-columns:1fr 1.12fr 1fr!important;gap:7px!important;padding-bottom:6px!important}
#printArea .invoice-top .invoice-owner img,#printArea .reportview.premium .hero-owner img{width:66px!important;height:66px!important}
#printArea .invoice-details{grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:7px!important}
#printArea .invoice-details-card h3{padding:6px 9px!important}
#printArea .invoice-details-card>div{padding:4px 8px!important}
#printArea .invoice-sheet .invoice-table{margin:7px 0!important;font-size:9pt!important}
#printArea .invoice-sheet .invoice-table th,#printArea .invoice-sheet .invoice-table td{padding:5px!important}
#printArea .invoice-bottom{display:grid!important;grid-template-columns:1fr 1fr!important;margin-top:5px!important;gap:8px!important}
#printArea .invoice-totals>div{padding:3px 0!important}
#printArea .invoice-notes p{min-height:16px!important}
#printArea .invoice-signatures{margin-top:15px!important}
#printArea .invoice-footer,#printArea .reportfoot{padding-top:5px!important;margin-top:7px!important}
#printArea .reporthero{grid-template-columns:1fr 1.2fr 1fr!important;padding:6px!important}
#printArea .reporttable{font-size:8.5pt!important}
#printArea .reporttable th,#printArea .reporttable td{padding:4px!important}
#printArea .reportview .reporttotal{padding:7px!important}
.invoice-sheet .invoice-top,.invoice-details,.invoice-footer,.reporthero,.reportfoot{break-inside:avoid;page-break-inside:avoid}
.invoice-table thead,.reporttable thead{display:table-header-group}
}
.invoiceLine{grid-template-columns:repeat(auto-fit,minmax(110px,1fr))!important;align-items:end!important}
.cp-roll-count input{width:100%}
@media print {.cp-scan-bar,.cpCameraControls{display:none!important}}
.cpCameraControls{margin-top:10px;padding:10px;background:#edf5ff;border-radius:12px}
.cpCameraControls label.btn{cursor:pointer;display:inline-flex;align-items:center}
.cp-meter-only{grid-column:1/-1;display:contents}
.cp-image-hits{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:9px;margin:12px 0}
.cp-photo-candidate-v23{display:flex;align-items:center;gap:10px;text-align:right;border:1px solid #c6d6e7;background:#f7faff;border-radius:12px;padding:8px;min-height:70px;color:#132d49;cursor:pointer;font:inherit}
.cp-photo-candidate-v23 img{width:60px;height:58px;object-fit:contain;flex-shrink:0;border-radius:6px;background:white}
.cp-photo-candidate-v23 span{display:grid;gap:6px;overflow-wrap:anywhere}.cp-photo-candidate-v23 small{font-size:11px;color:#426078}
.cp-search-toolbar{align-items:center}
.cp-search-toggle{width:100%;min-height:45px;display:flex;align-items:center;justify-content:space-between;text-align:right;gap:10px;white-space:normal;font-size:14px;line-height:1.55;padding:10px 13px;background:#f2f6fd;color:#153d63;border:1px solid #d4e0ee}
.cp-search-toggle>span:first-child{flex:1;min-width:0;overflow-wrap:anywhere}
.cp-search-toggle[aria-expanded="true"]{background:#e8f2ff;border-color:#89b8df}
.cp-toggle-arrow{flex-shrink:0;font-size:19px;line-height:1}
.cp-search-fields,.cp-invoice-lookup-fields{padding-top:12px;min-width:0}
.cp-invoice-search-collapse{margin:10px 0;background:white}
@media(max-width:700px){.cp-search-toolbar.toolbar2{grid-template-columns:minmax(0,1fr);gap:9px}.cp-search-toolbar.toolbar2 .biginquiry{width:100%;justify-content:center;min-height:42px;padding:10px}.cp-search-toolbar.toolbar2 .filter-note{grid-column:1/-1}.cp-search-toggle{font-size:13px;min-height:43px}}
.cp-row-results{max-height:180px;overflow:auto}.cp-row-results .cp-quick-hit{display:block;width:100%;text-align:right;margin:3px 0}.cp-row-search{width:100%;box-sizing:border-box;margin-bottom:5px}.cp-wide-invoice{width:min(99vw,1300px)!important;max-width:99vw!important}.cp-wide-invoice table{width:100%;table-layout:auto;font-size:clamp(10px,1.5vw,14px)}.cp-wide-invoice td,.cp-wide-invoice th{white-space:normal!important;overflow-wrap:anywhere;padding:5px!important}.cp-wide-invoice .tablewrap{overflow-x:auto}
@media print{#printArea[data-mode="thermal58"] .cp-receipt{font-size:9px!important}#printArea[data-mode^="thermal"] .cp-receipt table th,#printArea[data-mode^="thermal"] .cp-receipt table td{font-size:9px!important;padding:2px 1px!important;overflow-wrap:anywhere}#printArea[data-mode^="thermal"] .cp-receipt{box-sizing:border-box;width:100%!important;max-width:100%!important}}
.reportview.premium{overflow-x:auto!important;overflow-y:visible!important;}
.reportview.premium .reporttable{min-width:640px!important;table-layout:auto!important;border-collapse:collapse!important;}
.reportview.premium .reporttable th{white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;line-height:1.6!important;}
.reportview.premium .reporttable td{word-break:normal!important;overflow-wrap:normal!important;line-height:1.7!important;min-width:42px!important;}
.reportview.premium .reporttable td:first-child,.reportview.premium .reporttable td:nth-child(2){white-space:nowrap!important;}
@media print{#printArea .reportview.premium{overflow:visible!important;}#printArea .reportview.premium .reporttable{min-width:0!important;width:100%!important;table-layout:auto!important;font-size:8pt!important;}#printArea .reportview.premium .reporttable th,#printArea .reportview.premium .reporttable td{padding:3px 2px!important;font-size:8pt!important;min-width:0!important;line-height:1.35!important;white-space:normal!important;word-break:keep-all!important;overflow-wrap:normal!important;}}
.cp-refresh-symbol{display:inline-block;transform-origin:50% 50%}.cp-refreshing .cp-refresh-symbol{animation:cp-spin .42s linear infinite}.cp-refreshing{opacity:.75;cursor:wait}@keyframes cp-spin{to{transform:rotate(360deg)}}.cp-detail-explainer{padding:12px;margin-top:12px;background:#f0f5ff;border-radius:9px;line-height:1.8;color:#163755}.reportview.premium .reporttable{min-width:max-content;max-width:none}.modal.big .reportview.premium{overflow-x:auto}.reportview.premium .reporttable th,.reportview.premium .reporttable td{white-space:normal;overflow-wrap:normal;word-break:keep-all;min-width:85px}@media print{.reportview.premium .reporttable{min-width:0!important;width:100%!important}.cp-detail-explainer{break-inside:avoid}}
.cp-refresh-toast{position:fixed;z-index:100000;top:18px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:9px;background:#133d5c;color:white;border-radius:30px;padding:10px 18px;box-shadow:0 7px 28px #0004;direction:rtl;font-family:inherit;font-size:14px;pointer-events:none}.cp-refresh-wheel{height:18px;width:18px;display:inline-block;border:3px solid #ffffff60;border-top-color:white;border-radius:50%;animation:cp-spin .4s linear infinite}.reportview .cp-detail-explainer{margin:12px 0}.reportview .reporttable{table-layout:auto;width:100%;font-variant-numeric:tabular-nums}.reportview .reporttable th,.reportview .reporttable td{padding:8px;line-height:1.7;overflow-wrap:anywhere;min-width:90px;white-space:normal}.reportview .reporttable th{font-weight:800}
.cp-home-shell .appfoot{display:block!important}
.cp-home-shell .page{padding-bottom:14px}
.cp-home-shell .page>.heading{margin-top:3px;margin-bottom:9px}
.cp-home-shell .page>.heading .sub{display:none}
.cp-home-shell .gridcards{gap:12px}
.cp-home-shell .gridcards>.tile{min-height:184px}
.cp-home-shell .gridcards>.tile.wide{min-height:155px}
@media (min-width:1150px){.cp-home-shell .gridcards{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (min-width:1500px){.cp-home-shell .gridcards{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media (max-width:640px){.cp-home-shell .gridcards{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.cp-home-shell .tile{padding:18px 12px}.cp-home-shell .tile strong{font-size:clamp(14px,3.5vw,19px)}.cp-home-shell .tile .em{font-size:39px;right:13px}}
@media (max-width:360px){.cp-home-shell .gridcards{grid-template-columns:1fr}}
.invoiceLine .cp-roll-numbers-cell{grid-column:1/-1;min-width:0}
.invoiceLine .cp-roll-numbers{width:100%;min-height:58px;resize:vertical;direction:rtl;font:inherit;font-size:16px;padding:9px;border:1px solid #cbd9e9;border-radius:10px}
.cp-home-shell .gridcards>.tile{overflow:visible}
@media(min-width:900px){.cp-home-shell .gridcards{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}}
@media(max-width:640px){.cp-home-shell .gridcards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:360px){.cp-home-shell .gridcards{grid-template-columns:1fr}}
.cp-journal-balances{grid-template-columns:repeat(2,minmax(0,1fr));margin:12px 0!important}
.cp-journal-secondary{margin-top:8px!important}
.cp-journal-total{margin:10px 0 16px}.cp-journal-total .kpi{width:100%;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 18px}.cp-journal-total .kpi span{flex:1;font-weight:800;font-size:14px}.cp-journal-total .kpi strong{font-size:22px}
@media(max-width:520px){.cp-journal-balances{gap:7px}.cp-journal-total .kpi{padding:10px;flex-wrap:wrap}.cp-journal-total .kpi span{font-size:12px}}
.cp-catalog-simple{display:block;width:100%;grid-column:1/-1}
.cp-catalog-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.cp-catalog-two .field{min-width:0}
.cp-catalog-preview{background:#edf7ff;border:1px solid #c8e2f5;border-radius:12px;padding:12px;font-size:14px;line-height:1.9}
@media(max-width:420px){.cp-catalog-two{gap:8px}.cp-catalog-two input{max-width:100%;font-size:16px}}
.cp-live-view{position:relative;overflow:hidden;border-radius:16px;background:#102a4b;aspect-ratio:4/3;max-height:390px;margin:8px 0;min-height:195px}
.cp-live-view video{display:block;width:100%;height:100%;max-height:390px;object-fit:cover;background:#112c4e;border-radius:16px}
.cp-grid-sight{position:absolute;inset:0;pointer-events:none;display:grid;place-items:center;background:linear-gradient(to right,transparent 49.7%,#d3edff1e 50%,transparent 50.3%),linear-gradient(to bottom,transparent 49.7%,#d3edff1e 50%,transparent 50.3%);background-size:13% 13%;box-shadow:inset 0 0 0 100vw #07172b18}
.cp-target{height:60%;width:83%;border:3px solid #8cf7b3;border-radius:14px;box-shadow:0 0 0 999px #031a3038,inset 0 0 0 1px #ffffff88;outline:1px solid #fff7}
.cp-grid-line{position:absolute;top:23%;height:3px;left:12%;width:76%;background:#63f4c5;box-shadow:0 0 11px #5bffd2;animation:cpScanLine 2s ease-in-out infinite alternate}
@keyframes cpScanLine{to{top:77%}}
@media(prefers-reduced-motion:reduce){.cp-grid-line{animation:none;top:50%}}
.cp-invoice-row{display:grid;grid-template-columns:minmax(160px,2fr) repeat(3,minmax(85px,1fr)) minmax(95px,1fr) 44px;gap:9px;align-items:end;padding:12px;background:#f8fafd;border:1px solid #e1e9f3;border-radius:14px;margin:9px 0}
.cp-invoice-row>div:first-child{min-width:0}
.cp-invoice-row .rollCell,.cp-invoice-row .cp-roll-count{min-width:0}
.cp-invoice-row .itemTotal{display:block;padding:12px 0}
.cp-invoice-row .itemCost{font-weight:400}
.cp-invoice-quick{padding:13px;border:1px solid #d8e4f3;border-radius:14px;background:#fff;margin:10px 0 16px}
.cp-quick-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:6px;margin-top:6px;max-height:212px;overflow-y:auto}
.cp-quick-hit{border:1px solid #e0e7f1;background:#f7faff;border-radius:10px;padding:10px;text-align:right;color:#143a61;cursor:pointer}
.cp-quick-hit strong,.cp-quick-hit small{display:block;margin:2px 0;overflow-wrap:anywhere}
.cp-quick-hit:hover,.cp-quick-hit:focus-visible{background:#e4f0ff;border-color:#447cbd}
.cp-expander{border:1px solid #d8e1ed;border-radius:14px;padding:9px;margin:8px 0;background:#f7faff}
.cp-expander summary{list-style:none;cursor:pointer;font-weight:700;color:#133d68;padding:8px;touch-action:manipulation}
.cp-expander summary::-webkit-details-marker{display:none}
.cp-expander summary:before{content:'＋';padding-inline-end:8px}
.cp-expander[open] summary:before{content:'−'}
.cp-expander .btnrow{margin:9px 0}
.cp-receipt{width:74mm;max-width:100%;margin:0 auto;background:#fff;color:#000;padding:3mm 0;font:11px/1.5 Tahoma,Arial,sans-serif;direction:rtl}
.cp-receipt header,.cp-receipt footer{text-align:center;padding:8px 0}.cp-receipt h2{font-size:15px;margin:0 0 4px}.cp-receipt p{margin:4px}
.cp-receipt table{border-collapse:collapse;width:100%;table-layout:fixed}.cp-receipt th,.cp-receipt td{padding:5px 2px;border-bottom:1px dotted #aaa;font-size:10px;overflow-wrap:anywhere;vertical-align:top;text-align:right}.cp-receipt th:first-child{width:38%}
.cp-receipt-totals{border-top:1px dashed #555;border-bottom:1px dashed #555;padding:8px 0}.cp-receipt-totals div{display:flex;justify-content:space-between;margin:3px 0}
@media(max-width:780px){.cp-invoice-row{grid-template-columns:repeat(2,minmax(0,1fr))}.cp-invoice-row>div:first-child{grid-column:1/-1}.cp-invoice-row>div:last-child{grid-column:1/-1}.cp-invoice-row>button{grid-column:2;justify-self:end}.cp-invoice-quick{padding:10px}}
@media print{
#printArea[data-mode^="thermal"]{width:74mm!important;max-width:74mm!important;margin:0 auto!important;font-size:11px!important}
#printArea[data-mode^="thermal"] .cp-receipt{width:100%!important;padding:0!important;margin:0!important}
#printArea[data-mode="thermal58"]{width:54mm!important;max-width:54mm!important} #printArea[data-mode="a4"]{width:100%!important;max-width:none!important}
.cp-receipt{page-break-inside:auto}
.cp-receipt tr{break-inside:avoid}
}
.cp-pack-card{border:1px solid #bfd9f2;background:#f1f7ff;padding:14px;border-radius:14px;grid-column:1/-1}
.cp-pack-card .fields{margin-top:10px}
.cp-pack-card h4{margin:0 0 7px;color:#114978}
.cp-pack-hint{font-size:13px}
.cp-invoice-row .cp-pack-cell{min-width:0}
.cp-receipt-owner{display:flex;align-items:center;justify-content:center;gap:8px;direction:rtl;margin:2px 0 7px}
.cp-receipt-owner img{width:38px;height:38px;border-radius:50%;border:1px solid #ddd;object-fit:cover}
.cp-receipt-owner div{display:flex;flex-direction:column;align-items:flex-start}
.cp-receipt-owner small{font-size:9px}
#cpLabelSearch{width:100%}
@media(max-width:780px){.cp-invoice-row .cp-pack-cell{grid-column:1/-1}}
@media print{.cp-receipt-owner img{width:32px;height:32px;print-color-adjust:exact;-webkit-print-color-adjust:exact}}
.cp-code-captured{background:#eaf8ee;color:#145633;font-weight:700;padding:10px;border-radius:9px}
.cp-scan-indicators{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin:10px 0;font-size:13px}
.cp-scan-indicators b{background:#e6f5ec;padding:8px 10px;border-radius:9px;color:#194832}
.cp-scanner-top{position:sticky;top:0;z-index:12;background:#eef6ff;box-shadow:0 4px 16px #2045692b}
.cp-scanner-top .cp-live-view{max-height:224px;min-height:165px;aspect-ratio:16/9;margin:4px 0}
.cp-scanner-top .cp-live-view video{max-height:224px}
.cp-scanner-top p{margin:5px 0}
.cp-scanner-top .btnrow{margin:5px 0}
@media(max-width:600px){.cp-scanner-top .cp-live-view{max-height:180px;min-height:140px}.cp-scanner-top .cp-live-view video{max-height:180px}}
.cp-stock-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0}
.cp-stock-toolbar input{flex:1 1 200px;max-width:100%;padding:10px;border:1px solid #cdddeb;border-radius:10px}
.cp-stock-table-wrap{max-height:min(64vh,570px);overflow:auto;border-radius:10px;border:1px solid #d9e4ee}
.cp-stock-table{width:100%;border-collapse:collapse;text-align:right;direction:rtl;font-size:13px;min-width:480px}
.cp-stock-table thead{position:sticky;top:0;background:#eaf2fa;z-index:2}
.cp-stock-table td,.cp-stock-table th{border-bottom:1px solid #e3eaf2;padding:9px;vertical-align:middle}
.cp-stock-table tr[hidden]{display:none!important}
.cp-stock-table tr.cp-stock-counted{background:#f0fff5}
.cp-stock-table input{max-width:112px;width:100%;padding:9px;border:1px solid #bad2e6;border-radius:8px;font-size:15px}
#cpStocktakeCamera .cp-live-view{min-height:160px;max-height:270px;aspect-ratio:16/9;position:relative}
#cpStocktakeCamera video{width:100%;height:100%;object-fit:cover}
@media(max-width:520px){.cp-stock-table-wrap{max-height:50vh}.cp-stock-toolbar input{min-width:0;flex-basis:100%}#cpStocktakeCamera .cp-live-view{max-height:170px}}
.cp-create-invoice-top{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin:0 0 16px;padding:14px;background:#edf6ff;border:1px solid #c7dcef;border-radius:16px}
.cp-new-invoice-btn{font-size:19px!important;font-weight:800!important;padding:17px 26px!important;min-height:62px;box-shadow:0 5px 15px #154b7a20;flex:1 1 290px}
.cp-create-invoice-top span{font-size:13px;color:#34516c;flex:1 1 210px}
.cp-invoice-scan-top{padding:12px;margin:0 0 18px;border:2px solid #73a6dc;background:#f0f7ff;border-radius:14px}
.cp-invoice-scan-top .cp-top-label{font-size:18px;color:#173f66;font-weight:800;margin-bottom:10px}
.cp-invoice-scan-top .cp-scan-bar{margin-top:12px}
.cp-invoice-scan-top .cp-scan-bar .btnrow{display:flex;flex-wrap:wrap;align-items:center}
.cp-invoice-scan-top #cpScanInput{flex:1 1 170px;min-width:120px;font-size:17px;padding:12px;max-width:100%!important}
.cp-invoice-scan-top .btn.blue{font-size:16px;min-height:46px;font-weight:700}
.cp-autocode{background:#ecf6ff!important;color:#11395d!important;font-weight:800!important;letter-spacing:1px;direction:ltr;text-align:center;font-size:18px!important}
.cp-code-preview{grid-column:1/-1;border:1px solid #c7def1;background:#f7fbff;border-radius:14px;padding:12px}
.cp-code-preview h4{margin:0 0 7px;color:#17436d}
.cp-generated-code{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}
.cp-code-tile{padding:10px;border:1px solid #c7d8e7;border-radius:12px;background:#fff;display:flex;gap:6px;flex-direction:column;align-items:center;justify-content:center;min-width:0;color:#14283a;text-align:center}
.cp-code-tile svg{width:100%;max-width:260px;min-height:60px}
.cp-code-tile svg[aria-label="QR Code"]{width:128px!important;height:128px!important;min-height:0}
.cp-code-tile strong,.cp-code-tile b{font-size:13px;overflow-wrap:anywhere}
.cp-code-tile small{font-size:12px;font-weight:700}
@media(max-width:560px){.cp-generated-code{grid-template-columns:1fr 1fr;gap:6px}.cp-code-tile{padding:5px}.cp-code-tile svg[aria-label="QR Code"]{width:104px!important;height:104px!important}}
.cp-photo-option{display:inline-flex!important;align-items:center;justify-content:center;cursor:pointer;min-height:44px;gap:6px;white-space:normal;text-align:center}
.cp-photo-option .cp-photo-file{position:absolute;opacity:0;width:1px;height:1px;overflow:hidden;pointer-events:none}
.cp-photo-option:focus-within{outline:3px solid #2478d3;outline-offset:2px}
.cp-invoice-scan-top .cp-live-view{max-height:255px;min-height:170px;aspect-ratio:16/10}
.cp-invoice-scan-top video{width:100%;height:100%;max-height:255px;object-fit:cover;background:#102a4b}
.cp-invoice-scan-top .cp-grid-line{animation-duration:1.2s}
#cpScanMsg,#cpStocktakeScanMsg{font-weight:650;line-height:1.65;color:#204665;overflow-wrap:anywhere}
@media(max-width:550px){.cp-invoice-scan-top .cp-live-view{min-height:145px;max-height:215px}.cp-invoice-scan-top .btnrow button,.cp-invoice-scan-top .btnrow label{flex:1 1 45%;font-size:14px}.cp-invoice-scan-top{padding:10px}}
.cp-live-view video{position:relative;z-index:1;min-height:100%;object-fit:cover;}
.cp-live-view .cp-grid-sight{z-index:2;}
.cp-invoice-scan-top .cp-live-view video{min-height:170px;}
.cp-invoice-actions{padding:2px 0 9px;margin:0 0 10px}
.cp-code-toolbar{display:flex;gap:7px;align-items:stretch;flex-wrap:wrap;margin:0 0 9px}
.cp-code-toolbar>.btn,.cp-code-toolbar>label.btn{flex:1 1 130px;min-width:0;min-height:42px!important;padding:8px 10px!important;font-size:12px!important;font-weight:700!important;border-radius:10px!important;white-space:normal!important;text-align:center;line-height:1.35}
.cp-sale-actions{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}
.cp-sale-actions>.btn,.cp-sale-actions>label.btn{width:100%;max-width:100%;height:100%}
.cp-invoice-pop{border:1px solid #d8e4f3;border-radius:12px;background:#f8fbff;padding:10px;margin:8px 0}
.cp-invoice-pop input{width:100%;max-width:100%;min-height:40px}
.cp-action-hint{font-size:12px;line-height:1.5;margin:7px 0;color:#476783}
.cp-invoice-row .cp-line-photo{font-size:11px!important;padding:8px 7px!important;min-height:38px!important;align-self:end}
.cp-external-code{background:#f4faff;border:1px solid #d2e5f6;border-radius:13px;padding:12px}
.cp-external-code h4{margin:0 0 4px;color:#17436d}
.cp-external-code .muted{font-size:12px}
.cp-external-code .cp-code-toolbar{margin:12px 0}
@media(max-width:710px){.cp-sale-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.cp-sale-actions>.btn,.cp-sale-actions>label.btn{font-size:11px!important;min-height:43px!important;padding:7px 5px!important}.cp-code-toolbar>.btn,.cp-code-toolbar>label.btn{flex-basis:calc(50% - 6px)}.cp-invoice-row .cp-line-photo{grid-column:1/2;min-width:0}}
@media(max-width:380px){.cp-sale-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.cp-sale-actions>.btn,.cp-sale-actions>label.btn{font-size:10px!important}}
.modal{padding:clamp(10px,1.6vw,17px);max-height:calc(100dvh - 12px)}
.modalhead{margin-bottom:8px}.modalhead h3{font-size:clamp(15px,1.6vw,18px)}
#genericForm>.fields,#invoiceForm>.fields,.modal .fields{gap:8px 10px}
.modal .field label{font-size:11.5px;display:block;margin-bottom:3px}
.modal input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),.modal select,.modal textarea{min-height:35px!important;padding:6px 8px!important;border-radius:8px!important;font-size:14px!important;line-height:1.25!important}
.modal textarea{min-height:52px!important}
.modal .btn{font-size:11.5px!important;padding:6px 9px!important;min-height:34px!important}
.modal .formactions{margin-top:10px}
.cp-invoice-row{gap:6px!important;padding:8px!important;margin:6px 0!important}
.cp-invoice-row .itemTotal{padding:5px 0!important}
.cp-purchase-hidden{display:none!important}
.cp-product-cell{position:relative;min-width:0}
.cp-purchase-results{display:flex;flex-direction:column;gap:3px;max-height:180px;overflow-y:auto}
.cp-purchase-hit{display:flex;justify-content:space-between;flex-wrap:wrap;text-align:right;border:1px solid #dce8f2;border-radius:8px;background:#f6fbff;padding:7px 8px;gap:6px;cursor:pointer}
.cp-purchase-hit span{font-size:11px;color:#1f6f64}
.cp-new-purchase-note{font-size:11px;color:#557089}
.cp-purchase-status{display:block;font-size:11px;line-height:1.45;margin-top:4px}
.cp-photo-card{display:flex;flex-direction:column;gap:5px;align-items:center;min-width:0;padding:7px;border:1px solid #d3dfee;background:#f9fcff;border-radius:10px;text-align:center}
.cp-photo-card img{width:min(100%,240px);height:110px;object-fit:contain;background:#fff;border-radius:6px}
.cp-photo-card small{font-size:11px;word-break:break-word}
.cp-photo-preview,.cp-product-photos{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:8px}
.cp-catalog-thumb{width:43px;height:43px;object-fit:cover;border-radius:7px;vertical-align:middle;margin-inline-end:7px}
@media(max-width:600px){
.modalbg{padding:3px!important}.modal{width:calc(100vw - 6px)!important;max-width:calc(100vw - 6px)!important;padding:8px!important}
.modal .fields{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
.modal .field.full{grid-column:1/-1!important}
.modal .fields>.cp-external-code,.modal .fields>.cp-pack-card{grid-column:1/-1!important}
.modal .fields>.field:has(textarea){grid-column:1/-1}
.modal input,.modal select{min-width:0}
.modal .field label{font-size:10.5px}
.cp-sale-actions{grid-template-columns:repeat(3,minmax(0,1fr))}
.cp-invoice-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.cp-invoice-row .cp-product-cell{grid-column:1/-1}
.cp-invoice-row>div:last-child{grid-column:1/-1}
}
@media(max-width:390px){.modal .fields{gap:5px!important}.modal .btn{padding:5px 6px!important;font-size:10.5px!important}.modal .cp-action-hint{font-size:10px}.modal .field label{font-size:10px}}
@media (pointer:coarse), (max-width:800px) {
.modal input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]),
.modal select,.modal textarea,.modal .cp-purchase-name,
#root input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]),
#root select,#root textarea {font-size:16px!important;line-height:1.25!important}
.modal input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),.modal select{min-height:36px!important;padding:6px 8px!important}
.modal .field label{font-size:11px!important}
}
.cp-purchase-added{outline:2px solid #3b91d9;outline-offset:1px;scroll-margin-block:70px}
.cp-scan-recovery{display:flex;flex-direction:column;gap:8px;border:1px solid #d3e1f0;border-radius:10px;padding:10px;margin:7px 0;background:#fafcff}
.cp-scan-recovery b{font-size:13px}.cp-scan-recovery p{font-size:12px;margin:0}
.cp-scan-recovery small{font-size:11px;color:#536d86}
.cp-scan-recovery input{min-height:38px;padding:6px 9px;border:1px solid #c6d6e6;border-radius:9px;width:100%;font-size:16px!important}
.cp-scan-recovery .btn{white-space:normal;text-align:center}
.cp-invoice-lookup{margin:10px 0;padding:12px;border:1px solid #d3e3f2;border-radius:12px;background:#f8fbff}
.cp-invoice-lookup>label{display:block;margin-bottom:8px}
.cp-lookup-row{display:flex;flex-wrap:wrap;align-items:stretch;gap:8px}
.cp-lookup-row input[type=search]{flex:1 1 185px;min-width:0;font-size:16px;padding:9px 10px;border-radius:9px;border:1px solid #bdcbd9}
.cp-lookup-row .btn{min-width:70px;display:inline-flex;justify-content:center;align-items:center;gap:4px;cursor:pointer;position:relative;overflow:hidden}
.cp-photo-option input[type=file]{position:absolute;inset:0;opacity:0;width:100%;height:100%;font-size:60px;cursor:pointer}
.cp-lookup-status{font-size:12px;color:#526b7c;padding-top:4px}
.cp-invoice-lookup-label{display:flex;align-items:center;flex-direction:column;gap:4px;margin:12px auto 8px;padding:8px 5px 5px;border-top:1px dashed #888;break-inside:avoid;color:#111;max-width:100%;text-align:center;font:11px Tahoma,Arial}
.cp-invoice-symbols{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:12px;width:100%}
.cp-invoice-1d{width:min(65%,62mm);min-width:0;text-align:center}
.cp-invoice-1d svg{width:100%!important;max-height:22mm;object-fit:contain}
.cp-invoice-1d small{display:block;font-size:8px;letter-spacing:.25px;direction:ltr}
.cp-invoice-qr{width:24mm;flex:none}
.cp-invoice-qr svg{width:24mm!important;height:24mm!important;display:block}
.cp-invoice-lookup-label>small{font-size:8px}
@media(max-width:500px){.cp-lookup-row .btn{flex:1 1 65px;font-size:11px}.cp-lookup-row input[type=search]{flex:1 1 100%}}
@media print{.cp-invoice-lookup-label{-webkit-print-color-adjust:exact;print-color-adjust:exact}.cp-invoice-symbols{gap:8px}.cp-invoice-1d svg{height:15mm!important}.cp-invoice-qr,.cp-invoice-qr svg{width:19mm!important;height:19mm!important}}
@media print{
# printArea{overflow:visible!important}
#printArea[data-mode^="thermal"]{margin:0!important;padding:0!important;overflow:visible!important;box-sizing:border-box!important}
#printArea[data-mode="thermal58"]{width:54mm!important;max-width:54mm!important}
#printArea[data-mode="thermal"]{width:74mm!important;max-width:74mm!important}
#printArea[data-mode^="thermal"] *{box-sizing:border-box!important;max-width:100%!important}
#printArea[data-mode^="thermal"] .cp-receipt{width:100%!important;overflow:visible!important;padding:1mm!important}
#printArea[data-mode^="thermal"] .cp-receipt table{table-layout:fixed!important;width:100%!important}
#printArea[data-mode^="thermal"] .cp-receipt td,#printArea[data-mode^="thermal"] .cp-receipt th{font-size:8px!important;padding:2px 1px!important;word-break:break-word!important}
#printArea[data-mode^="thermal"] svg,#printArea[data-mode^="thermal"] canvas,#printArea[data-mode^="thermal"] img{max-width:100%!important;height:auto!important;object-fit:contain!important}
#printArea[data-mode^="thermal"] .cp-invoice-symbols{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:center!important;gap:2mm!important}
#printArea[data-mode^="thermal"] .cp-invoice-1d{width:100%!important;max-width:100%!important;overflow:visible!important}
#printArea[data-mode^="thermal"] .cp-invoice-qr{width:26mm!important;max-width:100%!important;margin:auto!important}
#printArea[data-mode^="thermal"] .cp-receipt-owner img{width:36px!important;height:36px!important;aspect-ratio:1!important;object-fit:contain!important;border-radius:50%!important;flex-shrink:0!important}
#printArea[data-mode^="thermal"] .cp-invoice-lookup-label{width:100%!important;max-width:100%!important;overflow:visible!important}
}
.invoiceLine .itemPrice{width:86px!important;max-width:100%!important}
.invoiceLine .itemQty{width:95px;max-width:100%}
.invoice-owner img,.invoice-top .invoice-owner img{object-fit:contain!important}
html,body{height:100%}
.shell{min-height:100dvh;display:flex;flex-direction:column}
.page{flex:1;padding-bottom:76px!important}
.appfoot{position:fixed;left:0;right:0;bottom:0;z-index:18;margin:0!important;padding:10px 14px!important;font-size:14px!important;border-top-width:3px!important;border-radius:18px 18px 0 0!important;box-shadow:0 -8px 22px #001b3a26}
.appfoot small{margin-top:2px!important;font-size:12px}
.cp-home-shell .appfoot{display:block!important}
.cp-home-shell .page{padding-bottom:76px!important}
.heading{margin-bottom:8px!important}.heading h2,.heading h3{margin-block:0 4px}.heading .sub{display:none!important}
.gridcards{gap:8px!important;grid-template-columns:repeat(auto-fit,minmax(170px,1fr))!important}
.tile{min-height:112px!important;padding:12px!important;border-radius:15px!important}
.tile strong{font-size:15px!important;line-height:1.35!important;padding-left:10px!important}
.tile small{display:none!important}
.tile .em{font-size:31px!important;top:9px!important;right:11px!important}
.tile .arr{width:24px!important;height:24px!important;left:8px!important;bottom:8px!important;font-size:16px!important}
.kpi{padding:10px!important;border-radius:12px!important}
.panel{padding:10px!important;border-radius:14px!important;margin-bottom:8px!important}
.btn{padding:8px 11px!important}.btn.sm{padding:6px 9px!important}
.tbl th,.tbl td{padding:8px 6px!important;font-size:12px!important}
.cp-invoice-row{gap:7px!important;padding:10px!important;grid-template-columns:minmax(145px,1.8fr) minmax(110px,1fr) minmax(82px,.75fr) minmax(82px,.75fr) minmax(82px,.78fr) minmax(82px,.78fr) 42px!important}
.cp-invoice-row textarea,.cp-invoice-row input,.cp-invoice-row select{padding:8px 9px!important}
.cp-invoice-row label{font-size:12px!important}
.cp-fabric-rolls{display:grid;gap:6px;border:1px dashed #c8d6e8;border-radius:10px;padding:8px;background:#fff}
.cp-fabric-roll-row{display:grid;grid-template-columns:minmax(90px,1fr) minmax(80px,.9fr);gap:6px}
.cp-fabric-roll-row .field{margin:0}
.cp-fabric-roll-row input{width:100%}
.cp-fabric-roll-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.cp-fabric-roll-head small{color:#5c7088}
.cp-fabric-roll-add{padding:6px 9px!important;font-size:12px!important}
.cp-fabric-roll-actions{display:flex;justify-content:flex-end}
.cp-fabric-roll-remove{padding:4px 8px!important;font-size:12px!important}
.cp-fabric-rolls.hidden{display:none!important}
.cp-journal-dashboard .kpis{display:grid!important}
.cp-journal-topdash,.cp-journal-total{display:none!important}
.cp-journal-dashboard-wrap{margin-bottom:10px}
.cp-journal-dashboard{display:none}.cp-journal-dashboard.is-visible{display:block}
.cp-create-invoice-top{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.cp-create-invoice-top span{display:none!important}
.cp-home-shell .gridcards>.tile,.cp-home-shell .gridcards>.tile.wide{min-height:112px!important}
@media(min-width:1100px){.cp-home-shell .gridcards{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:700px){.gridcards{grid-template-columns:repeat(2,minmax(0,1fr))!important}.tile{min-height:100px!important}.page{padding-inline:8px!important;padding-bottom:74px!important}.top{padding:9px 10px!important}.cp-invoice-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}.cp-invoice-row>div:first-child,.cp-invoice-row .cp-fabric-rolls,.cp-invoice-row .cp-roll-numbers-cell,.cp-invoice-row .muted,.cp-invoice-row .cp-pack-cell{grid-column:1/-1}.cp-invoice-row>button{grid-column:2;justify-self:end}}
@media(max-width:390px){.gridcards{grid-template-columns:repeat(2,minmax(0,1fr))!important}.tile strong{font-size:13px!important}.tile .em{font-size:26px!important}}
.cp-invoice-lookup-label{padding-top:5px!important;margin-top:8px!important}.cp-invoice-symbols{gap:6px!important}.cp-invoice-1d{width:min(62%,58mm)!important}.cp-invoice-1d svg{max-height:17mm!important}.cp-invoice-qr{width:18mm!important}.cp-invoice-qr svg{width:18mm!important;height:18mm!important}
#printArea[data-mode="thermal58"] .cp-receipt{width:54mm!important;max-width:54mm!important;font-size:10px!important}
#printArea[data-mode="thermal58"] .cp-invoice-1d svg{height:12mm!important}
#printArea[data-mode="thermal58"] .cp-invoice-qr{width:16mm!important}#printArea[data-mode="thermal58"] .cp-invoice-qr svg{width:16mm!important;height:16mm!important}
#printArea[data-mode^="thermal"] .cp-receipt th,#printArea[data-mode^="thermal"] .cp-receipt td{font-size:9px!important;padding:4px 1.5px!important}
#printArea[data-mode^="thermal"] .cp-receipt footer{padding:4px 0!important}
.cp-account-toggle{background:#1478c7!important;color:#fff!important;margin:5px 0 10px!important;min-height:38px}.cp-account-actions{margin:9px 0}.cp-account-kpis{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cp-journal-operations{display:none!important}.cp-roll-status{grid-column:1/-1;font-size:12px;line-height:1.6}.cp-roll-ok{color:#13784e;font-weight:700}.cp-roll-bad{color:#bb233d;font-weight:700}.cp-refresh-done{background:#146d52!important}.cp-refresh-done span:first-child{font-weight:900;font-size:19px}.cp-journal-dashboard .panel.tablewrap{display:none!important}@media(max-width:560px){.cp-account-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
.cp-striped-entry{position:relative;isolation:isolate;min-width:0;width:100%;border:1px solid #ccd8e8;border-radius:10px;overflow:hidden;background:#fff}
.cp-striped-entry .cp-striped-mirror,.cp-striped-entry textarea.cp-roll-numbers{box-sizing:border-box;width:100%;margin:0!important;padding:9px 11px!important;border:0!important;border-radius:0!important;font:500 16px/1.75 system-ui,Tahoma,Arial,sans-serif!important;letter-spacing:normal!important;white-space:pre-wrap;overflow-wrap:anywhere;tab-size:4;direction:rtl;text-align:right}
.cp-striped-entry .cp-striped-mirror{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0;color:#20334a}
.cp-striped-line{display:block;min-height:1.75em;white-space:pre-wrap;overflow-wrap:anywhere;padding-inline:4px;margin-inline:-4px}
.cp-item-line{background:#eaf2ff;color:#194b89}
.cp-meter-line{background:#e8f7ed;color:#17633a}
.cp-striped-entry textarea.cp-roll-numbers{position:relative;z-index:1;background:transparent!important;color:transparent!important;-webkit-text-fill-color:transparent!important;caret-color:#122d50!important;resize:vertical;min-height:108px;display:block}
.cp-striped-entry textarea.cp-roll-numbers::placeholder{color:#697c90!important;-webkit-text-fill-color:#697c90!important}
.cp-striped-entry textarea.cp-roll-numbers::selection{background:rgba(39,110,215,.3)}
.cp-striped-entry:focus-within{outline:2px solid #3c84d3;outline-offset:-2px}
.cp-home-shell .tile:before,.gridcards .tile:before{display:none!important;content:none!important}.tile{transition:none!important}.tile:hover,.tile:active{transform:none!important}.tile:focus-visible{outline:2px solid #143b66;outline-offset:2px}
.cp-roll-summary{display:flex;flex-wrap:wrap;gap:7px;margin-top:5px;font-size:12px}.cp-roll-summary span{background:#eaf4ff;color:#113e61;border-radius:7px;padding:5px 8px}.cp-roll-summary b{font-weight:900}
.cp-invoice-options{border:1px solid #d3e0ec;border-radius:12px;background:#f6f9fd;padding:8px;margin:7px 0}.cp-invoice-options>summary{cursor:pointer;padding:9px;font-weight:800;color:#143e66;list-style:none}.cp-invoice-options>summary::-webkit-details-marker{display:none}.cp-invoice-options>.fields{margin-top:10px}
.cp-invoice-row{gap:6px!important;padding:7px!important;margin:6px 0!important}.cp-invoice-row .cp-product-cell{min-width:0}.cp-invoice-row input,.cp-invoice-row select{max-width:100%}
.cp-home-shell .kpis.cp-dashboard-visible{display:grid!important}
@media(max-width:600px){.modal.big{width:calc(100vw - 8px)!important}.cp-invoice-row{gap:5px!important}.cp-invoice-options>summary{font-size:13px}.cp-roll-summary{gap:4px}}
#overlay:has(#invoiceForm){position:relative;z-index:60}
#overlay .modalbg:has(#invoiceForm){position:fixed!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100vw!important;max-width:none!important;height:100dvh!important;box-sizing:border-box!important;padding:clamp(4px,1vw,12px)!important;overflow:hidden!important}
#overlay .modal:has(#invoiceForm){flex:0 1 940px!important;width:min(940px,100%)!important;max-width:100%!important;min-width:0!important;max-height:calc(100dvh - 12px)!important;overflow-x:hidden!important;overflow-y:auto!important;box-sizing:border-box!important;margin:auto!important;align-self:center!important;padding:clamp(8px,1.5vw,16px)!important;border-radius:15px!important}
#invoiceForm,#invoiceForm *{box-sizing:border-box}
#invoiceForm{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;overflow-wrap:anywhere}
#invoiceForm>*,#invoiceLines,#invoiceLines>*{min-width:0!important;max-width:100%!important}
#invoiceForm .cp-invoice-actions,#invoiceForm .cp-invoice-options,#invoiceForm .cp-code-toolbar{width:100%!important;min-width:0!important;max-width:100%!important}
#invoiceForm .cp-sale-actions{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:6px!important}
#invoiceForm .cp-sale-actions>.btn,#invoiceForm .cp-sale-actions>label{flex:none!important;width:100%!important;min-width:0!important;max-width:100%!important;white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere!important;font-size:11px!important;line-height:1.3!important;padding:7px 4px!important}
#invoiceForm .cp-invoice-row{display:grid!important;grid-template-columns: minmax(0,2fr) repeat(4,minmax(0,1fr))!important;gap:7px!important;width:100%!important;min-width:0!important;max-width:100%!important;align-items:end!important}
#invoiceForm .cp-invoice-row > *{min-width:0!important;max-width:100%!important}
#invoiceForm .cp-invoice-row input,#invoiceForm .cp-invoice-row textarea,#invoiceForm .cp-invoice-row select{width:100%!important;min-width:0!important;max-width:100%!important}
#invoiceForm .cp-roll-numbers-cell{grid-column:1/-1!important}
#invoiceForm .cp-invoice-row .cp-product-cell{min-width:0!important}
#invoiceForm .cp-row-results,#invoiceForm .cp-purchase-results{max-width:100%!important}
#invoiceForm .cp-invoice-options>.fields{width:100%!important;min-width:0!important;max-width:100%!important}
#invoiceForm .formactions{position:static!important;display:flex!important;justify-content:flex-end!important;gap:8px!important;flex-wrap:wrap!important;width:100%!important}
#invoiceForm .info{width:100%!important;max-width:100%!important;white-space:normal!important}
@media(max-width:700px){
#overlay .modalbg:has(#invoiceForm){padding:3px!important}
#overlay .modal:has(#invoiceForm){flex:0 1 auto!important;width:calc(100vw - 6px)!important;max-width:calc(100vw - 6px)!important;max-height:calc(100dvh - 6px)!important;padding:9px!important}
#invoiceForm .cp-sale-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
#invoiceForm .cp-sale-actions>.btn,#invoiceForm .cp-sale-actions>label{font-size:11px!important;padding:6px 4px!important;min-height:38px!important}
#invoiceForm .cp-invoice-row{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;padding:7px!important}
#invoiceForm .cp-invoice-row>.cp-product-cell,#invoiceForm .cp-invoice-row>.cp-roll-numbers-cell,#invoiceForm .cp-invoice-row>.cp-pack-cell{grid-column:1/-1!important}
#invoiceForm .cp-invoice-row>.muted{grid-column:1/-1!important}
#invoiceForm .cp-invoice-row input,#invoiceForm .cp-invoice-row select,#invoiceForm .cp-invoice-row textarea{font-size:16px!important}
#invoiceForm .cp-invoice-options>.fields{grid-template-columns:repeat(2,minmax(0,1fr))!important}
#invoiceForm .cp-invoice-options>.fields>.full{grid-column:1/-1!important}
#invoiceForm .cp-invoice-options{padding:6px!important}
#invoiceForm .cp-action-hint{display:none!important}
}
@media(max-width:360px){#invoiceForm .cp-sale-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}#overlay .modal:has(#invoiceForm){padding:6px!important}}
#overlay .cp-invoice-overlay{position:fixed!important;inset:0!important;width:100%!important;height:100%!important;height:100dvh!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:10px!important;margin:0!important;overflow:hidden!important;z-index:90!important;box-sizing:border-box!important}
#overlay .cp-invoice-dialog{display:block!important;position:relative!important;flex:0 1 940px!important;width:calc(100vw - 20px)!important;min-width:0!important;max-width:940px!important;height:auto!important;max-height:calc(100vh - 20px)!important;max-height:calc(100dvh - 20px)!important;overflow-y:auto!important;overflow-x:hidden!important;margin:0!important;padding:14px!important;box-sizing:border-box!important;border-radius:17px!important}
#overlay .cp-invoice-dialog>.modalhead{position:sticky;top:-14px;background:#fff;z-index:4;padding:8px 0;margin-bottom:8px}
#overlay .cp-invoice-dialog #invoiceForm{width:100%!important;min-width:0!important;max-width:100%!important;display:block!important}
#overlay .cp-invoice-dialog #invoiceForm *,#overlay .cp-invoice-dialog #invoiceForm{box-sizing:border-box!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-sale-actions{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:7px!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-sale-actions>*{min-width:0!important;width:100%!important;white-space:normal!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;min-width:0!important;gap:8px!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row>.cp-product-cell,#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row>.cp-roll-numbers-cell{grid-column:1/-1!important}
#overlay .cp-invoice-dialog #invoiceForm input,#overlay .cp-invoice-dialog #invoiceForm select,#overlay .cp-invoice-dialog #invoiceForm textarea{min-width:0!important;max-width:100%!important;width:100%!important}
#overlay .cp-invoice-dialog #invoiceForm .formactions{position:static!important;display:flex!important;justify-content:flex-end!important;flex-wrap:wrap!important;gap:8px!important}
@media(max-width:700px){
#overlay .cp-invoice-overlay{padding:6px!important}
#overlay .cp-invoice-dialog{flex:0 1 auto!important;width:calc(100vw - 12px)!important;max-width:calc(100vw - 12px)!important;max-height:calc(100vh - 12px)!important;max-height:calc(100dvh - 12px)!important;padding:10px!important;border-radius:14px!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-sale-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-sale-actions>*{font-size:11px!important;padding:7px 3px!important;min-height:40px!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}
#overlay .cp-invoice-dialog #invoiceForm input,#overlay .cp-invoice-dialog #invoiceForm select,#overlay .cp-invoice-dialog #invoiceForm textarea{font-size:16px!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-options>.fields{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:340px){#overlay .cp-invoice-dialog #invoiceForm .cp-sale-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
#overlay .cp-invoice-overlay{padding:8px!important;align-items:flex-start!important;overflow:auto!important}
#overlay .cp-invoice-dialog{display:block!important;position:relative!important;width:min(980px,calc(100vw - 16px))!important;max-width:calc(100vw - 16px)!important;min-width:0!important;max-height:calc(100vh - 16px)!important;max-height:calc(100dvh - 16px)!important;overflow-x:hidden!important;overflow-y:auto!important;margin:0 auto!important;padding:14px!important;border-radius:16px!important;box-sizing:border-box!important;background:#fff!important}
#overlay .cp-invoice-dialog>.modalhead{position:sticky!important;top:0!important;background:#fff!important;z-index:8!important;padding:6px 0 8px!important;margin-bottom:10px!important}
#overlay .cp-invoice-dialog #invoiceForm{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important}
#overlay .cp-invoice-dialog #invoiceForm>*{width:100%!important;max-width:100%!important;min-width:0!important;float:none!important;clear:both!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-actions{display:block!important;margin-bottom:10px!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-code-toolbar,#overlay .cp-invoice-dialog #invoiceForm .cp-sale-actions{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px!important;align-items:stretch!important;width:100%!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-code-toolbar>* ,#overlay .cp-invoice-dialog #invoiceForm .cp-sale-actions>*{width:100%!important;min-width:0!important;max-width:100%!important;white-space:normal!important;text-align:center!important;line-height:1.35!important;writing-mode:horizontal-tb!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-pop{width:100%!important;display:block!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-options{display:block!important;width:100%!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-options>.fields{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-options>.fields>.full{grid-column:1/-1!important}
#overlay .cp-invoice-dialog #invoiceLines{display:flex!important;flex-direction:column!important;gap:10px!important;width:100%!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row{display:grid!important;grid-template-columns:minmax(0,2fr) repeat(4,minmax(0,1fr)) auto!important;gap:8px!important;align-items:end!important;width:100%!important;padding:10px!important;border:1px solid #e6edf5!important;border-radius:12px!important;background:#fbfdff!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row>.cp-product-cell,#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row>.cp-roll-numbers-cell,#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row>.cp-pack-cell,#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row>.muted{grid-column:1/-1!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row input,#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row select,#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row textarea{width:100%!important;max-width:100%!important;min-width:0!important;writing-mode:horizontal-tb!important}
#overlay .cp-invoice-dialog #invoiceForm .btnrow{display:flex!important;gap:8px!important;flex-wrap:wrap!important;width:100%!important}
#overlay .cp-invoice-dialog #invoiceForm .btnrow>.btn,#overlay .cp-invoice-dialog #invoiceForm .btnrow>label{flex:1 1 220px!important;min-width:0!important}
#overlay .cp-invoice-dialog #invoiceForm .info{display:block!important;width:100%!important;padding:11px!important;border-radius:10px!important}
#overlay .cp-invoice-dialog #invoiceForm .formactions{display:flex!important;justify-content:flex-end!important;gap:8px!important;flex-wrap:wrap!important;width:100%!important}
#overlay .cp-invoice-dialog #invoiceForm .formactions .btn{min-width:160px!important}
#overlay .cp-invoice-dialog #invoiceForm h3{margin:8px 0!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-striped-entry{width:100%!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-roll-numbers{min-height:72px!important}
@media (max-width: 900px){
#overlay .cp-invoice-dialog #invoiceForm .cp-code-toolbar,#overlay .cp-invoice-dialog #invoiceForm .cp-sale-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media (max-width: 700px){
#overlay .cp-invoice-overlay{padding:5px!important}
#overlay .cp-invoice-dialog{width:calc(100vw - 10px)!important;max-width:calc(100vw - 10px)!important;max-height:calc(100vh - 10px)!important;max-height:calc(100dvh - 10px)!important;padding:10px!important;border-radius:14px!important}
#overlay .cp-invoice-dialog>.modalhead{padding:4px 0 8px!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-code-toolbar,#overlay .cp-invoice-dialog #invoiceForm .cp-sale-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-sale-actions>*,#overlay .cp-invoice-dialog #invoiceForm .cp-code-toolbar>*{font-size:12px!important;min-height:42px!important;padding:8px 6px!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-options>.fields{grid-template-columns:1fr!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row{grid-template-columns:1fr!important;gap:8px!important;padding:10px!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row>*{grid-column:1/-1!important}
#overlay .cp-invoice-dialog #invoiceForm .btnrow{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
#overlay .cp-invoice-dialog #invoiceForm .btnrow>.btn,#overlay .cp-invoice-dialog #invoiceForm .btnrow>label{flex:none!important;width:100%!important;min-width:0!important}
#overlay .cp-invoice-dialog #invoiceForm .formactions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
#overlay .cp-invoice-dialog #invoiceForm .formactions .btn{width:100%!important;min-width:0!important}
#overlay .cp-invoice-dialog #invoiceForm input,#overlay .cp-invoice-dialog #invoiceForm select,#overlay .cp-invoice-dialog #invoiceForm textarea{font-size:16px!important}
}
@media (max-width: 390px){
#overlay .cp-invoice-dialog #invoiceForm .cp-code-toolbar,#overlay .cp-invoice-dialog #invoiceForm .cp-sale-actions{grid-template-columns:1fr 1fr!important}
#overlay .cp-invoice-dialog #invoiceForm .btnrow{grid-template-columns:1fr!important}
#overlay .cp-invoice-dialog #invoiceForm .formactions{grid-template-columns:1fr!important}
}
.cp-invoice-first-action .cp-new-invoice-btn.btn.primary {
background:#d92d43!important;color:#fff!important;border:1px solid #c6243c!important;
box-shadow:0 4px 12px rgba(184,30,55,.20)!important;
}
.cp-invoice-first-action .cp-new-invoice-btn.btn.primary:hover,
.cp-invoice-first-action .cp-new-invoice-btn.btn.primary:focus-visible {
background:#c7253d!important;color:#fff!important;
}
.cp-invoice-first-action .cp-new-invoice-btn.btn.primary:active {background:#b91d34!important}
.cp-invoice-first-action{display:block!important;width:100%!important;margin:0 0 12px!important;padding:10px!important}
.cp-invoice-first-action .cp-new-invoice-btn{display:block!important;width:100%!important;margin:0!important;min-height:56px!important;text-align:center!important}
@media(max-width:600px){.cp-invoice-first-action .cp-new-invoice-btn{font-size:17px!important;min-height:52px!important;padding:12px 8px!important}}
.cp-search-suggestions{grid-column:1/-1;display:grid;gap:3px;max-height:200px;overflow-y:auto;padding:4px;background:#fff;border:1px solid #cbd9e7;border-radius:9px;box-shadow:0 6px 12px #20395317;z-index:7}
.cp-search-suggestions.hidden{display:none!important}
.cp-search-choice{display:flex;justify-content:space-between;gap:8px;align-items:center;min-width:0;width:100%;padding:8px 10px;background:#f7fbff;color:#153755;border:1px solid #dde8f4;border-radius:7px;text-align:right;font:inherit;cursor:pointer}
.cp-search-choice small{font-size:11px;color:#677d90}
.cp-search-none{padding:9px;color:#b13c42}
#cpCatalogCodePanel.hidden{display:none!important}
#overlay .cp-invoice-dialog .cp-invoice-options[open]{position:relative}
#overlay .cp-invoice-dialog #invoiceForm{float:none!important;position:static!important}
#overlay .cp-invoice-dialog #invoiceForm>.cp-invoice-actions{display:block!important}
#overlay .cp-invoice-dialog #invoiceForm>.formactions{position:static!important}
@media(max-width:700px){#overlay .cp-invoice-dialog{box-sizing:border-box!important;width:calc(100% - 10px)!important;max-width:calc(100% - 10px)!important;flex:none!important}#overlay .cp-invoice-dialog .cp-invoice-options{width:100%!important}}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-pop.hidden,
#overlay .cp-invoice-dialog #invoiceForm .hidden,
#overlay .cp-invoice-dialog #invoiceForm .cp-roll-numbers-cell.hidden,
#overlay .cp-invoice-dialog #invoiceForm .cp-pack-cell.hidden,
#overlay .cp-invoice-dialog #invoiceForm .rollCell.hidden,
#overlay .cp-invoice-dialog #invoiceForm .cp-roll-count.hidden{display:none!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-addrow{display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;align-items:center!important;gap:8px!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-addrow>.btn{flex:0 1 auto!important;width:auto!important;min-width:150px!important;min-height:38px!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-addrow>label.checkinline{flex:0 0 auto!important;min-width:max-content!important;width:auto!important;white-space:nowrap!important;display:inline-flex!important;align-items:center!important;font-size:13px!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-addrow>label.checkinline input{width:18px!important;min-width:18px!important}
@media(max-width:700px){
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-addrow{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-addrow>.btn{width:100%!important;min-width:0!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-addrow>label.checkinline{grid-column:1/-1!important;width:100%!important;min-width:0!important}
}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row{row-gap:5px!important;column-gap:7px!important;padding:8px!important;margin:5px 0!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row label{margin:0 0 3px!important;line-height:1.2!important;font-size:12px!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row input:not([type=file]),#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row select{height:36px!important;min-height:36px!important;padding:4px 8px!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row .itemTotal{padding:7px 4px!important;min-height:30px!important;font-size:16px!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row .cp-line-photo{min-height:36px!important;padding:5px!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row .cp-line-total{min-width:0!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row .itemCost{font-size:11px!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row .muted{margin:0!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row .cp-roll-numbers-cell{margin:0!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row .cp-roll-summary{margin:3px 0!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row .cp-line-qty,#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row .cp-line-price,#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row .cp-line-total{min-width:0!important}
.cp-wa-invoice-dialog{display:grid;gap:10px;direction:rtl}
.cp-wa-invoice-dialog p{margin:4px 0}
.cp-wa-choice{display:flex;align-items:center;gap:8px;padding:11px 10px;border:1px solid #d4dfef;border-radius:10px;cursor:pointer;font-weight:700;min-width:0}
.cp-wa-choice input{width:18px;height:18px;flex:none;accent-color:#1475ba}
.cp-wa-choice span{min-width:0;overflow-wrap:anywhere}
.cp-wa-invoice-dialog #cpWaOther.hidden{display:none!important}
.cp-wa-invoice-dialog #cpWaOther label{display:block;margin:4px 0}
.cp-wa-invoice-dialog #cpWaOtherPhone{width:100%;max-width:100%;padding:10px;min-height:42px;font-size:16px;box-sizing:border-box}
.cp-wa-phone{text-align:center;font-size:23px;font-weight:800;color:#124977;background:#f0f7ff;padding:12px;border-radius:11px}
@media(max-width:700px){
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px 7px!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row>*{grid-column:auto!important;min-width:0!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row>.cp-product-cell,#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row>.cp-roll-numbers-cell,#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row>.cp-pack-cell,#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row>.muted{grid-column:1/-1!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row .rollCell{grid-column:auto!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row .cp-roll-count{grid-column:auto!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row .cp-line-qty{grid-column:1/2!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row .cp-line-price{grid-column:2/3!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row .cp-line-total{grid-column:1/2!important;align-self:center!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row .cp-line-photo{grid-column:2/3!important;width:100%!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row>button.btn.danger{grid-column:2/3!important;justify-self:end!important;width:36px!important;padding:4px!important;min-height:30px!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row input:not([type=file]),#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row select{font-size:16px!important}
}
#cpSearchToggle.btn.cp-search-toggle{
display:flex!important;align-items:center!important;justify-content:space-between!important;
width:100%!important;min-height:46px!important;padding:11px 15px!important;
border:0!important;border-radius:12px!important;
background:#1176c3!important;color:#fff!important;
font-size:14px!important;font-weight:800!important;line-height:1.4!important;
text-align:right!important;box-shadow:0 2px 5px #084a7524!important;
cursor:pointer!important;white-space:normal!important;
}
#cpSearchToggle.btn.cp-search-toggle[aria-expanded="true"]{background:#0e609f!important;color:#fff!important}
#cpSearchToggle .cp-toggle-arrow{font-size:17px!important;flex:none!important;color:#fff!important}
.cp-search-toolbar .search-primary{width:100%;min-width:0!important;display:flex!important;flex-direction:column!important;gap:8px!important}
.cp-search-toolbar .cp-search-sibling.btn.cp-account-toggle{
display:flex!important;justify-content:space-between!important;align-items:center!important;
width:100%!important;min-width:0!important;min-height:46px!important;
margin:0!important;padding:11px 15px!important;
background:#1765a4!important;color:#fff!important;border:0!important;
border-radius:12px!important;font-size:14px!important;font-weight:800!important;
line-height:1.4!important;cursor:pointer!important;
box-shadow:0 2px 5px #084a7524!important;
}
.cp-search-toolbar .cp-search-sibling[aria-expanded="true"]{background:#105687!important}
.cp-journal-dashboard-wrap:not(.is-visible){display:none!important}
.cp-journal-dashboard-wrap.is-visible{margin-top:8px!important}
@media(max-width:520px){#cpSearchToggle.btn.cp-search-toggle,.cp-search-toolbar .cp-search-sibling.btn.cp-account-toggle{min-height:44px!important;padding:10px 12px!important;font-size:13px!important}}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-options{
border:1px solid #df8c22!important;background:#fff8ec!important;border-radius:12px!important;
padding:5px!important;margin:10px 0!important;overflow:hidden!important;
}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-options>summary{
display:flex!important;align-items:center!important;justify-content:space-between!important;
min-height:48px!important;width:100%!important;box-sizing:border-box!important;
padding:11px 14px!important;color:#fff!important;background:#e37a14!important;
border-radius:9px!important;font-weight:800!important;font-size:14px!important;
line-height:1.4!important;list-style:none!important;cursor:pointer!important;
text-align:right!important;white-space:normal!important;
}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-options>summary span{
color:#fff!important;font-size:19px!important;flex:none!important;
}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-options[open]>summary{background:#b95d0a!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-options[open]>.fields{padding:10px 6px 4px!important;}
#cpSearchToggle.btn.cp-search-toggle{background:#087e74!important;color:#fff!important;border:0!important;}
#cpSearchToggle.btn.cp-search-toggle[aria-expanded="true"]{background:#07685f!important;color:#fff!important;}
#cpInvoiceLookupToggle.btn.cp-search-toggle{
background:#7843b7!important;color:#fff!important;border:0!important;
width:100%!important;min-height:46px!important;padding:11px 14px!important;
border-radius:12px!important;font-weight:800!important;font-size:14px!important;
display:flex!important;align-items:center!important;justify-content:space-between!important;
gap:8px!important;text-align:right!important;white-space:normal!important;
}
#cpInvoiceLookupToggle.btn.cp-search-toggle[aria-expanded="true"]{background:#62339d!important;color:#fff!important;}
#cpInvoiceLookupToggle .cp-toggle-arrow{color:#fff!important;flex:none!important;}
@media(max-width:520px){
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-options>summary{font-size:13px!important;min-height:46px!important;padding:10px 12px!important;}
#cpInvoiceLookupToggle.btn.cp-search-toggle{font-size:13px!important;min-height:44px!important;}
}
.cp-search-toolbar .cp-search-sibling.btn.cp-account-toggle,.cp-search-toolbar .cp-search-sibling.btn.cp-account-toggle[aria-expanded="true"]{background:#c62828!important;color:#fff!important;border-color:#c62828!important;}
#cpInstallmentOptions>.fields{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
#cpInstallmentOptions>.fields>.field.full{grid-column:1/-1!important}
#cpInstallmentEquivalence{margin:5px 0!important;font-size:12px!important}
#cpInstallmentsSummary{grid-column:1/-1;font-size:12px!important}
@media(max-width:600px){#cpInstallmentOptions>.fields{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}}
#overlay .cp-invoice-dialog #invoiceForm .cp-specific-rolls{border:1px solid #d3e2f2;border-radius:9px;padding:5px 7px;background:#f9fbff}
#overlay .cp-invoice-dialog #invoiceForm .cp-specific-rolls summary{font-size:12px;font-weight:700;color:#194a78;cursor:pointer;padding:5px}
#overlay .cp-invoice-dialog #invoiceForm .cp-specific-rolls:not([open]){padding:4px 8px}
#overlay .cp-invoice-dialog #invoiceForm .cp-fabric-invoice-row>.cp-product-cell{order:0}
#overlay .cp-invoice-dialog #invoiceForm .cp-fabric-invoice-row>.cp-roll-count{order:2}
#overlay .cp-invoice-dialog #invoiceForm .cp-fabric-invoice-row>.cp-line-qty{order:3}
#overlay .cp-invoice-dialog #invoiceForm .cp-fabric-invoice-row>.cp-line-price{order:4}
#overlay .cp-invoice-dialog #invoiceForm .cp-fabric-invoice-row>.cp-line-total{order:5}
#overlay .cp-invoice-dialog #invoiceForm .cp-fabric-invoice-row>.cp-line-photo{order:6}
#overlay .cp-invoice-dialog #invoiceForm .cp-fabric-invoice-row>.rollCell{order:7}
#overlay .cp-invoice-dialog #invoiceForm .cp-fabric-invoice-row>.cp-roll-numbers-cell{order:8}
#overlay .cp-invoice-dialog #invoiceForm .cp-fabric-invoice-row>.costHint{order:10}
\n#overlay .cp-invoice-dialog #invoiceForm .cp-line-qty{min-width:0!important}\n#overlay .cp-invoice-dialog #invoiceForm .cp-units-count{margin-top:5px;padding:5px 7px;border:1px solid #dce8f4;background:#eff6ff;border-radius:9px}\n#overlay .cp-invoice-dialog #invoiceForm .cp-units-count label{font-size:12px!important;color:#1b4a70!important}\n#overlay .cp-invoice-dialog #invoiceForm .cp-units-count input{background:#fff!important;color:#153b5b!important;font-weight:700!important;min-height:32px!important;height:32px!important;margin:2px 0!important}\n#overlay .cp-invoice-dialog #invoiceForm .cp-units-count .cp-count-hint{display:block;font-size:11px;line-height:1.35;overflow-wrap:break-word}\n#overlay .cp-invoice-dialog #invoiceForm .cp-fabric-group-preview{padding:6px;background:#edf5fb;border-radius:7px;font-size:12px;line-height:1.6;margin-top:5px;font-weight:700;color:#19436a}\n#overlay .cp-invoice-dialog #invoiceForm .cp-roll-count{min-width:0}\n#overlay .cp-invoice-dialog #invoiceForm .cp-fabric-invoice-row{border-color:#c8d9f3!important}\n#overlay .cp-invoice-dialog #invoiceForm .cp-fabric-invoice-row .cp-roll-numbers-cell{border-top:1px dashed #d1e2f4;padding-top:6px}\n#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row .cp-units-count.hidden{display:none!important}\n@media(max-width:700px){\n #overlay .cp-invoice-dialog #invoiceForm .cp-fabric-invoice-row>.cp-roll-count{grid-column:1/2!important}\n #overlay .cp-invoice-dialog #invoiceForm .cp-fabric-invoice-row>.cp-line-qty{grid-column:2/3!important}\n #overlay .cp-invoice-dialog #invoiceForm .cp-fabric-invoice-row>.cp-line-price{grid-column:1/2!important}\n #overlay .cp-invoice-dialog #invoiceForm .cp-fabric-invoice-row>.cp-line-total{grid-column:2/3!important}\n}
#overlay .cp-invoice-row .cp-item-count{cursor:text!important;background:#fff!important;border:1px solid #98b9db!important;font-variant-numeric:tabular-nums}
#overlay .cp-invoice-row .cp-stock-status{display:block;font-size:11px;line-height:1.5;margin-top:5px;white-space:normal;overflow-wrap:anywhere}
#overlay .cp-invoice-row .cp-stock-ok{color:#146537;font-weight:700}
#overlay .cp-invoice-row .cp-stock-error{color:#b4232b;font-weight:800}
#overlay .cp-invoice-row .cp-fabric-invoice-row .cp-units-count{display:block!important}
#overlay .cp-invoice-row.cp-fabric-invoice-row>.cp-roll-count>label,#overlay .cp-invoice-row.cp-fabric-invoice-row .itemTobCount{display:none!important}
#overlay .cp-invoice-row.cp-fabric-invoice-row>.cp-line-qty{order:2!important}
#overlay .cp-invoice-row.cp-fabric-invoice-row>.cp-roll-count{order:3!important}
.cp-invoice-1d .cp-invoice-barcode-128{display:block!important;width:100%!important;height:auto!important;aspect-ratio:2.75;max-height:30mm!important;background:#fff}
.cp-invoice-1d{background:#fff!important;min-width:0!important}
@media print {
#printArea[data-mode="a4"] .invoice-sheet{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;overflow:visible!important;box-sizing:border-box!important}
#printArea[data-mode="a4"] .invoice-table{width:100%!important;min-width:0!important;table-layout:fixed!important}
#printArea[data-mode="a4"] .invoice-table th,#printArea[data-mode="a4"] .invoice-table td{white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;padding:5px 3px!important;box-sizing:border-box!important}
#printArea[data-mode="a4"] .invoice-table th:nth-child(1){width:6%}
#printArea[data-mode="a4"] .invoice-table th:nth-child(2){width:34%}
#printArea[data-mode="a4"] .invoice-table th:nth-child(3){width:16%}
#printArea[data-mode="a4"] .invoice-table th:nth-child(4){width:10%}
#printArea[data-mode="a4"] .invoice-table th:nth-child(5){width:16%}
#printArea[data-mode="a4"] .invoice-table th:nth-child(6){width:18%}
#printArea .invoice-table thead{display:table-header-group}
#printArea .invoice-table tr{break-inside:avoid;page-break-inside:avoid}
#printArea .invoice-bottom{break-inside:auto!important;page-break-inside:auto!important}
#printArea .invoice-totals,#printArea .invoice-notes,#printArea .cp-invoice-lookup-label{break-inside:avoid;page-break-inside:avoid}
#printArea[data-mode^="thermal"]{margin:0!important;overflow:visible!important;padding:0!important}
#printArea[data-mode^="thermal"] .cp-receipt{width:100%!important;overflow:visible!important;box-sizing:border-box!important;margin:0!important;padding:0!important}
#printArea[data-mode^="thermal"] .cp-receipt table{width:100%!important;table-layout:fixed!important}
#printArea[data-mode^="thermal"] .cp-receipt th,#printArea[data-mode^="thermal"] .cp-receipt td{padding:2px 1px!important;font-size:8pt!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important}
#printArea[data-mode^="thermal"] .cp-receipt th:first-child{width:32%!important}
#printArea[data-mode^="thermal"] .cp-receipt th:nth-child(2){width:17%!important}
#printArea[data-mode^="thermal"] .cp-receipt th:nth-child(3){width:12%!important}
#printArea[data-mode^="thermal"] .cp-receipt th:nth-child(4){width:17%!important}
#printArea[data-mode^="thermal"] .cp-receipt th:nth-child(5){width:22%!important}
#printArea[data-mode^="thermal"] .cp-invoice-1d{width:100%!important;max-width:100%!important}
#printArea[data-mode^="thermal"] .cp-invoice-barcode-128{height:auto!important;max-height:19mm!important;aspect-ratio:2.75!important}
#printArea[data-mode^="thermal"] .cp-invoice-symbols{flex-wrap:wrap!important;gap:2mm!important}
#printArea[data-mode^="thermal"] .cp-invoice-qr{max-width:20mm!important;width:20mm!important}
#printArea[data-mode^="thermal"] .cp-invoice-qr svg{width:20mm!important;height:20mm!important}
}
#overlay .cp-invoice-dialog #invoiceForm .cp-fabric-invoice-row>.cp-roll-count{display:none!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-fabric-invoice-row>.cp-line-qty{order:2!important;grid-column:auto!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row .qtyLabel,#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row .cp-count-label{font-size:13px!important;font-weight:700!important}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row .cp-line-qty{display:flex;flex-direction:column;gap:2px}
.cp-receipt .cp-receipt-lines{table-layout:fixed!important;border-collapse:collapse!important;width:100%!important;direction:rtl!important}
.cp-receipt .cp-receipt-lines col{width:25%!important}
.cp-receipt .cp-receipt-lines th,.cp-receipt .cp-receipt-lines td{box-sizing:border-box!important;width:25%;max-width:25%;text-align:center!important;vertical-align:middle!important;overflow-wrap:normal!important;word-break:normal!important;padding:3px 1px!important}
.cp-receipt .cp-receipt-lines .cp-receipt-item-name td{width:100%!important;max-width:none!important;text-align:right!important;font-weight:800!important;padding:8px 3px 4px!important;border-top:1px dashed #333!important;overflow-wrap:anywhere!important}
.cp-receipt .cp-receipt-lines .cp-receipt-item-head th{font-weight:700!important;border:1px solid #999!important;background:#f7f7f7!important;line-height:1.5!important}
.cp-receipt .cp-receipt-lines .cp-receipt-item-numbers td{border:1px solid #999!important;font-weight:700!important;white-space:normal!important;font-variant-numeric:tabular-nums!important}
@media print{
#printArea[data-mode^="thermal"] .cp-receipt .cp-receipt-lines th,
#printArea[data-mode^="thermal"] .cp-receipt .cp-receipt-lines td{width:25%!important;max-width:25%!important;font-size:8pt!important;line-height:1.5!important;padding:2px 1px!important;overflow-wrap:normal!important;word-break:normal!important}
#printArea[data-mode^="thermal"] .cp-receipt .cp-receipt-lines .cp-receipt-item-name td{width:100%!important;max-width:none!important;text-align:right!important;overflow-wrap:anywhere!important}
#printArea[data-mode="thermal58"] .cp-receipt .cp-receipt-lines .cp-receipt-item-head th{font-size:7pt!important}
#printArea[data-mode="thermal58"] .cp-receipt .cp-receipt-lines .cp-receipt-item-numbers td{font-size:8pt!important}
#printArea[data-mode^="thermal"] .cp-receipt .cp-receipt-lines tr{break-inside:avoid!important;page-break-inside:avoid!important}
}
.cp-wa-save-choice{display:flex;gap:10px;align-items:center;padding:11px 5px;margin:8px 0;font-weight:700;cursor:pointer}
.cp-wa-save-choice input{width:19px;height:19px;flex:none;margin:0}
.cp-wa-target-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:14px}
.cp-wa-target-actions button{min-width:0;white-space:normal}
@media(max-width:520px){.cp-wa-target-actions{grid-template-columns:minmax(0,1fr)}}
.cp-page-section #content :is(.cp-square-actions,.btnrow,.formactions,.cp-section-action-bar,.cp-code-toolbar,.cp-sale-actions,.cp-catalog-buttons,.cp-invoice-addrow) > :is(button.btn,label.btn),
#overlay .modal :is(.btnrow,.formactions,.cp-code-toolbar,.cp-sale-actions,.cp-catalog-buttons,.cp-invoice-addrow,.cp-square-actions) > :is(button.btn,label.btn){
border-radius:18px!important;
box-shadow:0 8px 18px rgba(14,39,74,.12)!important;
}
.cp-page-section #content :is(.cp-square-actions,.btnrow,.formactions,.cp-section-action-bar,.cp-code-toolbar,.cp-sale-actions,.cp-catalog-buttons,.cp-invoice-addrow) > :is(button.btn,label.btn):not(.danger):nth-child(8n+1),
#overlay .modal :is(.btnrow,.formactions,.cp-code-toolbar,.cp-sale-actions,.cp-catalog-buttons,.cp-invoice-addrow,.cp-square-actions) > :is(button.btn,label.btn):not(.danger):nth-child(8n+1){background:#0f7ae5!important;border-color:#0f7ae5!important;color:#fff!important}
.cp-page-section #content :is(.cp-square-actions,.btnrow,.formactions,.cp-section-action-bar,.cp-code-toolbar,.cp-sale-actions,.cp-catalog-buttons,.cp-invoice-addrow) > :is(button.btn,label.btn):not(.danger):nth-child(8n+2),
#overlay .modal :is(.btnrow,.formactions,.cp-code-toolbar,.cp-sale-actions,.cp-catalog-buttons,.cp-invoice-addrow,.cp-square-actions) > :is(button.btn,label.btn):not(.danger):nth-child(8n+2){background:#16a34a!important;border-color:#16a34a!important;color:#fff!important}
.cp-page-section #content :is(.cp-square-actions,.btnrow,.formactions,.cp-section-action-bar,.cp-code-toolbar,.cp-sale-actions,.cp-catalog-buttons,.cp-invoice-addrow) > :is(button.btn,label.btn):not(.danger):nth-child(8n+3),
#overlay .modal :is(.btnrow,.formactions,.cp-code-toolbar,.cp-sale-actions,.cp-catalog-buttons,.cp-invoice-addrow,.cp-square-actions) > :is(button.btn,label.btn):not(.danger):nth-child(8n+3){background:#f59e0b!important;border-color:#f59e0b!important;color:#fff!important}
.cp-page-section #content :is(.cp-square-actions,.btnrow,.formactions,.cp-section-action-bar,.cp-code-toolbar,.cp-sale-actions,.cp-catalog-buttons,.cp-invoice-addrow) > :is(button.btn,label.btn):not(.danger):nth-child(8n+4),
#overlay .modal :is(.btnrow,.formactions,.cp-code-toolbar,.cp-sale-actions,.cp-catalog-buttons,.cp-invoice-addrow,.cp-square-actions) > :is(button.btn,label.btn):not(.danger):nth-child(8n+4){background:#9333ea!important;border-color:#9333ea!important;color:#fff!important}
.cp-page-section #content :is(.cp-square-actions,.btnrow,.formactions,.cp-section-action-bar,.cp-code-toolbar,.cp-sale-actions,.cp-catalog-buttons,.cp-invoice-addrow) > :is(button.btn,label.btn):not(.danger):nth-child(8n+5),
#overlay .modal :is(.btnrow,.formactions,.cp-code-toolbar,.cp-sale-actions,.cp-catalog-buttons,.cp-invoice-addrow,.cp-square-actions) > :is(button.btn,label.btn):not(.danger):nth-child(8n+5){background:#06b6d4!important;border-color:#06b6d4!important;color:#fff!important}
.cp-page-section #content :is(.cp-square-actions,.btnrow,.formactions,.cp-section-action-bar,.cp-code-toolbar,.cp-sale-actions,.cp-catalog-buttons,.cp-invoice-addrow) > :is(button.btn,label.btn):not(.danger):nth-child(8n+6),
#overlay .modal :is(.btnrow,.formactions,.cp-code-toolbar,.cp-sale-actions,.cp-catalog-buttons,.cp-invoice-addrow,.cp-square-actions) > :is(button.btn,label.btn):not(.danger):nth-child(8n+6){background:#ef4444!important;border-color:#ef4444!important;color:#fff!important}
.cp-page-section #content :is(.cp-square-actions,.btnrow,.formactions,.cp-section-action-bar,.cp-code-toolbar,.cp-sale-actions,.cp-catalog-buttons,.cp-invoice-addrow) > :is(button.btn,label.btn):not(.danger):nth-child(8n+7),
#overlay .modal :is(.btnrow,.formactions,.cp-code-toolbar,.cp-sale-actions,.cp-catalog-buttons,.cp-invoice-addrow,.cp-square-actions) > :is(button.btn,label.btn):not(.danger):nth-child(8n+7){background:#0f766e!important;border-color:#0f766e!important;color:#fff!important}
.cp-page-section #content :is(.cp-square-actions,.btnrow,.formactions,.cp-section-action-bar,.cp-code-toolbar,.cp-sale-actions,.cp-catalog-buttons,.cp-invoice-addrow) > :is(button.btn,label.btn):not(.danger):nth-child(8n+8),
#overlay .modal :is(.btnrow,.formactions,.cp-code-toolbar,.cp-sale-actions,.cp-catalog-buttons,.cp-invoice-addrow,.cp-square-actions) > :is(button.btn,label.btn):not(.danger):nth-child(8n+8){background:#ec4899!important;border-color:#ec4899!important;color:#fff!important}
.cp-page-section #content :is(.btnrow,.cp-section-action-bar,.cp-square-actions,.formactions,.cp-code-toolbar),
#overlay .modal :is(.btnrow,.formactions,.cp-code-toolbar,.cp-catalog-buttons){
display:flex!important;flex-flow:row wrap!important;gap:5px!important;justify-content:flex-start!important;
align-items:flex-start!important;align-content:flex-start!important;direction:rtl!important;
max-width:100%!important;min-width:0!important;
}
.cp-page-section #content :is(.btnrow,.cp-section-action-bar,.cp-square-actions,.formactions,.cp-code-toolbar)>:is(button.btn,label.btn),
#overlay .modal :is(.btnrow,.formactions,.cp-code-toolbar,.cp-catalog-buttons)>:is(button.btn,label.btn){
box-sizing:border-box!important;flex:0 0 68px!important;width:68px!important;min-width:68px!important;max-width:68px!important;
height:68px!important;min-height:68px!important;max-height:68px!important;
border-radius:13px!important;padding:4px!important;margin:0!important;
display:inline-flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;
font-size:10px!important;line-height:1.35!important;white-space:normal!important;
text-align:center!important;overflow-wrap:anywhere!important;overflow:hidden!important;
box-shadow:0 5px 12px #0e244821!important;vertical-align:top!important;
}
#overlay .modal #genericForm>.fields{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;}
#overlay .modal #genericForm>.fields>.field.full{grid-column:1/-1!important;}
#overlay .modal #genericForm>.fields>.field{min-width:0!important;}
#overlay .modal #genericForm .field>label:not(.btn){font-size:11px!important;margin-bottom:2px!important;}
#overlay .modal #genericForm input:not([type=checkbox]):not([type=radio]):not([type=file]),
#overlay .modal #genericForm select{min-width:0!important;width:100%!important;min-height:39px!important;height:39px!important;padding:5px 7px!important;font-size:16px!important;}
#overlay .modal #genericForm .cp-catalog-scan{margin:0!important;padding:0!important;}
#overlay .modal #genericForm .cp-code-toolbar{margin:4px 0!important;}
#overlay .modal #genericForm .cp-catalog-two{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;}
#overlay .cp-invoice-dialog #invoiceForm>.cp-invoice-actions>.cp-code-toolbar{display:flex!important;flex-flow:row wrap!important;align-items:flex-start!important;gap:5px!important;padding:0!important;}
#overlay .cp-invoice-dialog #invoiceForm>.cp-invoice-actions>.cp-code-toolbar>:is(button.btn,label.btn),
#overlay .cp-invoice-dialog #invoiceForm>.cp-invoice-actions>.cp-code-toolbar>.cp-invoice-options:not([open]),
#overlay .cp-invoice-dialog #invoiceForm>.cp-invoice-actions>.cp-code-toolbar>.cp-invoice-options:not([open])>summary{
box-sizing:border-box!important;flex:0 0 68px!important;width:68px!important;min-width:68px!important;max-width:68px!important;
height:68px!important;min-height:68px!important;max-height:68px!important;margin:0!important;padding:4px!important;border-radius:13px!important;
}
#overlay .cp-invoice-dialog #invoiceForm>.cp-invoice-actions>.cp-code-toolbar>.cp-invoice-options:not([open]){display:inline-flex!important;align-self:flex-start!important;background:transparent!important;border:0!important;}
#overlay .cp-invoice-dialog #invoiceForm>.cp-invoice-actions>.cp-code-toolbar>.cp-invoice-options:not([open])>summary{display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;background:#0891b2!important;color:white!important;list-style:none!important;font-size:10px!important;}
#overlay .cp-invoice-dialog #invoiceForm>.cp-invoice-actions>.cp-code-toolbar>.cp-invoice-options[open]{display:block!important;flex:0 0 100%!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;margin:0!important;}
#overlay .cp-invoice-dialog #invoiceForm>.cp-invoice-actions>.cp-code-toolbar>.cp-invoice-options[open]>summary{margin-bottom:6px!important;}
#overlay .cp-invoice-dialog #invoiceForm>.cp-invoice-actions>.cp-code-toolbar>.cp-invoice-options[open]>.fields{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;}
#overlay .cp-invoice-dialog #invoiceForm>.cp-invoice-actions>.cp-code-toolbar>.cp-invoice-options[open]>.fields>.field.full{grid-column:1/-1!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row>*{min-width:0!important;}
#overlay .cp-invoice-dialog #invoiceForm>.formactions{display:flex!important;gap:5px!important;}
#overlay .cp-invoice-dialog #invoiceForm>.formactions>.btn{flex:0 0 68px!important;width:68px!important;height:68px!important;min-width:68px!important;min-height:68px!important;max-width:68px!important;max-height:68px!important;}
#overlay .modal .cp-code-toolbar>.btn:nth-of-type(1){background:#087ddb!important;color:white!important;}
#overlay .modal .cp-code-toolbar>.btn:nth-of-type(2){background:#16a34a!important;color:white!important;}
#overlay .modal .cp-code-toolbar>.btn:nth-of-type(3){background:#f59e0b!important;color:white!important;}
#overlay .modal .cp-code-toolbar>.btn:nth-of-type(4){background:#7c3aed!important;color:white!important;}
#overlay .modal .cp-code-toolbar>.btn:nth-of-type(5){background:#0891b2!important;color:white!important;}
.cp-page-section,.cp-page-section #content,#overlay .modal,#overlay .modal form{min-width:0!important;max-width:100%!important;}
#overlay .modal :is(.fields,.cp-invoice-row,.cp-invoice-pop),.cp-page-section #content :is(.fields,.panel,.tablewrap){min-width:0!important;max-width:100%!important;}
@media(max-width:360px){
.cp-page-section #content :is(.btnrow,.cp-section-action-bar,.cp-square-actions,.formactions,.cp-code-toolbar)>:is(button.btn,label.btn),
#overlay .modal :is(.btnrow,.formactions,.cp-code-toolbar,.cp-catalog-buttons)>:is(button.btn,label.btn),
#overlay .cp-invoice-dialog #invoiceForm>.cp-invoice-actions>.cp-code-toolbar>:is(button.btn,label.btn),
#overlay .cp-invoice-dialog #invoiceForm>.cp-invoice-actions>.cp-code-toolbar>.cp-invoice-options:not([open]),
#overlay .cp-invoice-dialog #invoiceForm>.cp-invoice-actions>.cp-code-toolbar>.cp-invoice-options:not([open])>summary{flex-basis:62px!important;width:62px!important;min-width:62px!important;max-width:62px!important;height:62px!important;min-height:62px!important;max-height:62px!important;}
}
#overlay .cp-invoice-dialog{width: min(940px,100%)!important;max-width:100%!important;min-width:0!important;overflow-x:hidden!important;box-sizing:border-box!important}
#overlay .cp-invoice-dialog .cp-invoice-row,#overlay .cp-invoice-dialog .cp-line-qty{min-width:0;max-width:100%;box-sizing:border-box}
#overlay .cp-invoice-dialog input,#overlay .cp-invoice-dialog textarea,#overlay .cp-invoice-dialog select{box-sizing:border-box;max-width:100%}
@media(max-width:700px){
html,body{max-width:100%;overflow-x:hidden}
.authwrap,.authbox{max-width:100%;box-sizing:border-box}
#overlay .modalbg{padding:4px!important;box-sizing:border-box!important}
#overlay .cp-invoice-dialog{width:calc(100vw - 8px)!important;max-width:calc(100vw - 8px)!important;max-height:calc(100vh - 8px)!important;overflow:auto!important;-webkit-overflow-scrolling:touch!important;padding:8px!important;box-sizing:border-box!important}
#overlay .cp-invoice-dialog input:not([type=checkbox]):not([type=radio]),#overlay .cp-invoice-dialog select,#overlay .cp-invoice-dialog textarea,.authbox input,.authbox select{font-size:16px!important}
.cp-gate,.cp-gate *{box-sizing:border-box}
#overlay .cp-invoice-dialog .cp-invoice-row{min-width:0!important;max-width:100%!important;overflow:visible!important}
#overlay .cp-invoice-dialog .cp-line-qty{width:100%!important}
}
.page .btn, #overlay .modal .btn, #overlay .modal button.btn {
box-sizing:border-box!important;
flex:0 0 auto!important;
width:auto!important;
max-width:min(100%,156px)!important;
min-width:0!important;
min-height:30px!important;
height:auto!important;
padding:5px 8px!important;
line-height:1.35!important;
font-size:11px!important;
border-radius:7px!important;
white-space:normal!important;
overflow-wrap:anywhere!important;
text-align:center!important;
}
.page .btn.sm, #overlay .modal .btn.sm {padding:4px 7px!important;min-height:27px!important;font-size:10px!important;}
.page .btnrow, #overlay .modal .btnrow, .page .formactions, #overlay .modal .formactions {
display:flex!important;flex-wrap:wrap!important;gap:5px!important;align-items:center!important;
justify-content:flex-start!important;max-width:100%!important;
}
.page .btnrow .btn, #overlay .modal .btnrow .btn{margin:1px!important;}
.page .toolbar2{grid-template-columns:minmax(0,1fr) auto!important;gap:6px!important;}
.page .toolbar2 .biginquiry,.page .cp-search-toggle,.page .cp-account-toggle,
.page .cp-new-invoice-btn,.page .cp-search-sibling{width:auto!important;min-height:31px!important;
max-width:156px!important;padding:5px 8px!important;font-size:11px!important;}
.page .cp-search-toggle{justify-content:center!important;}
.page .search-entry,.page .toolbar,.page .daterow{gap:5px!important;}
.page .fields, #overlay .modal .fields{gap:7px!important;}
.page .field label, #overlay .modal .field label{margin-bottom:3px!important;}
.page .panel{padding:11px!important;margin-bottom:10px!important;}
.page .heading{margin:5px 0 9px!important;gap:6px!important;}
.page .kpis{gap:7px!important;margin:9px 0 12px!important;}
.page .kpi{padding:10px!important;border-radius:12px!important;min-width:0!important;}
.page input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.page select,.page textarea,#overlay .modal input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
#overlay .modal select,#overlay .modal textarea{padding:7px 8px!important;border-radius:7px!important;
min-height:31px!important;max-width:100%!important;font-size:16px!important;}
#overlay .modal{padding:12px!important;}
.page .search-primary,.page .search-entry{min-width:0!important;}
.page .cp-period-chooser{display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px;margin:5px 0 7px;
padding:5px 7px;border:1px solid #dce5f1;border-radius:8px;background:#f8faff;max-width:100%;}
.page .cp-period-chooser label{margin:0!important;white-space:nowrap;font-size:11px;}
.page .cp-period-chooser select{width:auto!important;max-width:calc(100vw - 135px)!important;
font-size:12px!important;padding:4px 7px!important;min-height:29px!important;}
.page .cp-summary-period-label{font-size:11px;color:#536987;margin-bottom:4px;}
.page .cp-customer-groups{grid-template-columns:repeat(3,minmax(0,1fr));}
.page .cp-customer-groups .kpi{display:flex;flex-direction:column;gap:4px;align-items:flex-start;}
.page .cp-customer-groups .kpi strong{font-size:16px;}
.page .cp-customer-groups .kpi small{font-size:10px;line-height:1.3;}
@media(max-width:920px){
.page .cp-table-shell,#overlay .modal .cp-table-shell{max-width:100%!important;
width:100%!important;overflow-x:hidden!important;overflow-y:visible!important;}
.page .cp-compact-table,#overlay .modal .cp-compact-table{
display:block!important;min-width:0!important;width:100%!important;table-layout:fixed!important;}
.cp-compact-table thead{display:none!important;}
.cp-compact-table tbody{display:block!important;min-width:0!important;width:100%!important;}
.cp-compact-table tbody tr{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));
gap:3px 7px!important;padding:7px!important;margin-bottom:7px!important;
border:1px solid #dae3ee;border-radius:9px;background:#fff;min-width:0!important;width:100%!important;}
.cp-compact-table tbody td{display:flex!important;flex-direction:column!important;
align-items:flex-start!important;justify-content:center!important;min-width:0!important;max-width:100%!important;
padding:3px 4px!important;font-size:11px!important;border-bottom:0!important;
white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere!important;}
.cp-compact-table tbody td::before{content:attr(data-label);display:block;color:#698099;
font-size:9px;font-weight:700;margin-bottom:2px;}
.cp-compact-table tbody td:last-child{grid-column:1/-1;display:block!important;}
.cp-compact-table tbody td:last-child .btn{display:inline-flex!important;margin:2px!important;}
.cp-compact-table tbody td.empty{grid-column:1/-1!important;display:block!important;}
.cp-compact-table tbody td.empty::before{display:none;}
.page .toolbar2{display:flex!important;flex-wrap:wrap!important;align-items:center!important;}
.page .toolbar2 .search-primary{flex:1 1 auto;min-width:0;}
.page .toolbar2 .filter-note{flex-basis:100%;}
}
@media(max-width:520px){
.page{padding:10px 8px 40px!important;}
.page .fields,#overlay .modal .fields{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;}
.page .fields>.field.full,#overlay .modal .fields>.field.full{grid-column:1/-1!important;}
.page .fields>.field:has(textarea),#overlay .modal .fields>.field:has(textarea){grid-column:1/-1!important;}
.page .kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
.page .cp-customer-groups{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
.page .toolbar2 .search-primary{flex-basis:100%;}
.page .toolbar2 .biginquiry{margin:2px 0!important;}
.page .tablewrap{padding:7px!important;}
#overlay .modal{max-width:calc(100vw - 12px)!important;padding:9px!important;}
#overlay .modal .cp-compact-table tbody tr{gap:2px!important;padding:5px!important;}
}
@media print{
html,body{max-width:none!important;overflow:visible!important;}
#printArea,#printArea *{box-sizing:border-box!important;}
#printArea .invoice-sheet,#printArea .reportview{max-width:100%!important;
overflow:visible!important;min-width:0!important;}
#printArea .invoice-table,#printArea .reporttable{width:100%!important;
min-width:0!important;max-width:100%!important;table-layout:fixed!important;}
#printArea .invoice-table th,#printArea .invoice-table td,
#printArea .reporttable th,#printArea .reporttable td{overflow-wrap:anywhere!important;
word-wrap:break-word!important;white-space:normal!important;min-width:0!important;
padding:3px 2px!important;}
#printArea .invoice-table thead,#printArea .reporttable thead{display:table-header-group!important;}
#printArea .invoice-table tr,#printArea .reporttable tr{break-inside:avoid-page!important;}
#printArea .invoice-top,#printArea .invoice-details,#printArea .invoice-footer,
#printArea .reporthero,#printArea .reportfoot{break-inside:avoid-page!important;}
#printArea[data-mode^="thermal"]{overflow:visible!important;padding:0!important;
margin:0!important;max-width:100%!important;}
#printArea[data-mode^="thermal"] .cp-receipt{width:100%!important;max-width:100%!important;
min-width:0!important;margin:0!important;padding:0!important;overflow:visible!important;}
#printArea[data-mode^="thermal"] .cp-receipt-lines{width:100%!important;table-layout:fixed!important;}
#printArea[data-mode^="thermal"] .cp-receipt-lines td,
#printArea[data-mode^="thermal"] .cp-receipt-lines th{max-width:25%!important;min-width:0!important;
overflow-wrap:anywhere!important;word-break:break-word!important;white-space:normal!important;
font-size:8px!important;line-height:1.25!important;padding:2px 1px!important;}
#printArea[data-mode="thermal58"] .cp-receipt-lines th{font-size:7px!important;}
#printArea[data-mode^="thermal"] .cp-receipt-lines .cp-receipt-item-name td{max-width:100%!important;}
#printArea[data-mode^="thermal"] .cp-receipt tr{break-inside:avoid-page!important;}
#printArea[data-mode^="thermal"] .cp-invoice-symbols,
#printArea[data-mode^="thermal"] .cp-receipt-totals{break-inside:avoid-page!important;}
#printArea[data-mode^="thermal"] svg,#printArea[data-mode^="thermal"] img{
max-width:100%!important;object-fit:contain!important;}
}
html, body, #root, .shell, .page, #content, #overlay{box-sizing:border-box;max-width:100%;}
.page .panel,.page .tablewrap,.page .heading,#overlay .modal,
#overlay .modal .panel,#invoiceForm,#invoiceLines,#invoiceForm .invoiceLine{min-width:0;max-width:100%;}
.page .heading>* , .page .panel>* , #overlay .modal .fields>* , .page .fields>*{min-width:0;max-width:100%;}
.page button.btn,#overlay .modal button.btn,.page label.btn,#overlay .modal label.btn{
width:auto!important;max-width:142px!important;min-width:0!important;
padding:5px 8px!important;min-height:29px!important;height:auto!important;
border-radius:7px!important;font-size:11px!important;line-height:1.4!important;
white-space:normal!important;overflow-wrap:anywhere!important;flex:0 1 auto!important;
}
.page .btnrow,#overlay .modal .btnrow,#overlay .modal .formactions,.page .formactions{
display:flex!important;flex-wrap:wrap!important;gap:5px!important;
align-items:center!important;justify-content:flex-start!important;
}
.page .btnrow >*,#overlay .modal .btnrow >*{margin:0!important;max-width:142px!important;}
.page .toolbar button.btn,.page .heading button.btn{max-width:125px!important;}
#overlay .modal .formactions .btn{min-width:0!important;width:auto!important;max-width:142px!important;}
#overlay .cp-invoice-dialog #invoiceForm .btnrow{display:flex!important;flex-wrap:wrap!important;gap:5px!important;}
#overlay .cp-invoice-dialog #invoiceForm .btnrow>.btn,
#overlay .cp-invoice-dialog #invoiceForm .btnrow>label{flex:0 1 auto!important;width:auto!important;max-width:138px!important;min-width:0!important;}
#overlay .cp-invoice-dialog #invoiceForm .formactions{display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;gap:6px!important;}
#overlay .cp-invoice-dialog #invoiceForm .formactions .btn{width:auto!important;min-width:0!important;max-width:142px!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-sale-actions,
#overlay .cp-invoice-dialog #invoiceForm .cp-code-toolbar{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-sale-actions>*,
#overlay .cp-invoice-dialog #invoiceForm .cp-code-toolbar>*{width:100%!important;max-width:100%!important;min-width:0!important;
min-height:31px!important;font-size:10px!important;padding:5px 3px!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;padding:6px!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row>*{min-width:0!important;max-width:100%!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row>.cp-product-cell,
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row>.cp-roll-numbers-cell,
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row>.cp-pack-cell,
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row>.muted{grid-column:1/-1!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-options>.fields{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-options>.fields>.full{grid-column:1/-1!important;}
#overlay .modal input:not([type=checkbox]):not([type=radio]):not([type=file]),#overlay .modal select,
#overlay .modal textarea,.page input:not([type=checkbox]):not([type=radio]):not([type=file]),
.page select,.page textarea{min-width:0!important;max-width:100%!important;min-height:30px!important;
padding:5px 6px!important;line-height:1.3!important;font-size:16px!important;}
.page .cp-account-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;}
.cp-inventory-valuation{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:7px 0 3px;max-width:100%;}
.cp-valuation-card{min-width:0;width:100%;display:flex;flex-direction:column;gap:3px;padding:7px 9px;
color:#183c60;text-align:right;background:#f7fbff;border:1px solid #cddfec;border-radius:8px;cursor:pointer;}
.cp-valuation-card span{font-size:10px;line-height:1.4;}.cp-valuation-card strong{font-size:13px;overflow-wrap:anywhere;}
.cp-valuation-caption{font-size:10px!important;color:#60758a;margin:4px 0 7px!important;}
@media(max-width:920px){
.page .tbl,.page .cp-compact-table{min-width:0!important;max-width:100%!important;}
.page .cp-table-shell,.page .tablewrap{overflow-x:hidden!important;}
#overlay .modal .cp-table-shell,#overlay .modal .tablewrap{overflow-x:hidden!important;}
.page .reportview.premium,.modal .reportview.premium{min-width:0!important;max-width:100%!important;overflow-x:hidden!important;}
.modal .reportview.premium .reporttable,.page .reportview.premium .reporttable{table-layout:fixed!important;width:100%!important;min-width:0!important;}
.modal .reportview.premium .reporttable td,.modal .reportview.premium .reporttable th{min-width:0!important;overflow-wrap:anywhere!important;word-break:break-word!important;font-size:10px!important;padding:5px 3px!important;}
#cpStocktakeTable{display:block!important;min-width:0!important;width:100%!important;}
#cpStocktakeTable thead{display:none!important;}
#cpStocktakeTable tbody{display:block!important;}
#cpStocktakeTable tbody tr{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px!important;
margin:5px 0;padding:6px;border:1px solid #dce4ef;border-radius:9px;}
#cpStocktakeTable td{min-width:0!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;padding:4px!important;}
#cpStocktakeTable td:first-child{grid-column:1/-1!important;}
#cpStocktakeTable td:nth-child(2)::before{content:'الرصيد الدفتري';display:block;font-size:10px;color:#526c86;}
#cpStocktakeTable td:nth-child(3)::before{content:'العدد الفعلي';display:block;font-size:10px;color:#526c86;}
#cpStocktakeTable td:nth-child(4)::before{content:'الفرق';display:block;font-size:10px;color:#526c86;}
}
@media(max-width:520px){
.page{padding:7px 7px 32px!important;}
.page .panel{padding:8px!important;margin-bottom:7px!important;}
.page .heading{gap:5px!important;}
.page .kpis{gap:5px!important;margin:7px 0!important;}
.page .kpi{padding:7px!important;}
#overlay .modal{max-width:calc(100vw - 10px)!important;width:calc(100vw - 10px)!important;padding:8px!important;overflow-x:hidden!important;}
#overlay .cp-invoice-dialog #invoiceForm .fields{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important;}
#overlay .cp-invoice-dialog #invoiceForm .fields>.field.full{grid-column:1/-1!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-sale-actions,
#overlay .cp-invoice-dialog #invoiceForm .cp-code-toolbar{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
.page .btnrow>*,#overlay .modal .btnrow>*{max-width:calc(50% - 3px)!important;}
.page button.btn,#overlay .modal button.btn,.page label.btn,#overlay .modal label.btn{max-width:125px!important;min-height:27px!important;}
}
@media(max-width:350px){
#overlay .cp-invoice-dialog #invoiceForm .cp-sale-actions,
#overlay .cp-invoice-dialog #invoiceForm .cp-code-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
.page .cp-customer-groups{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media print {
#printArea .invoice-sheet,#printArea .cp-receipt,#printArea .reportview{overflow:visible!important;min-width:0!important;max-width:100%!important;}
#printArea .cp-receipt,.cp-receipt *{box-sizing:border-box!important;}
#printArea .cp-receipt .cp-receipt-lines td,
#printArea .cp-receipt .cp-receipt-lines th{overflow-wrap:anywhere!important;white-space:normal!important;}
#printArea[data-mode="thermal58"] .cp-receipt .cp-receipt-lines td,
#printArea[data-mode="thermal58"] .cp-receipt .cp-receipt-lines th{font-size:7.5pt!important;padding:2px 1px!important;}
#printArea .invoice-table,#printArea .reporttable{width:100%!important;max-width:100%!important;min-width:0!important;table-layout:fixed!important;}
#printArea .invoice-table td,#printArea .invoice-table th,
#printArea .reporttable td,#printArea .reporttable th{overflow-wrap:anywhere!important;white-space:normal!important;min-width:0!important;}
#printArea .cp-receipt-lines tr,#printArea .invoice-table tr,#printArea .reporttable tr{break-inside:avoid-page!important;page-break-inside:avoid!important;}
}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-options:not([open]){
width:fit-content!important;max-width:100%!important;margin:5px 0 7px!important;
padding:3px!important;display:block!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-options[open]{
width:100%!important;margin:5px 0 7px!important;padding:4px!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-options>summary{
display:inline-flex!important;max-width:100%!important;width:auto!important;
min-height:29px!important;height:auto!important;gap:7px!important;
padding:5px 9px!important;align-items:center!important;justify-content:flex-start!important;
font-size:11px!important;line-height:1.35!important;border-radius:7px!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-options>summary span{font-size:12px!important;}
#cpInvoiceLookupToggle.btn.cp-search-toggle,#cpSearchToggle.btn.cp-search-toggle,
.cp-search-toolbar .cp-search-sibling.btn.cp-account-toggle{
width:auto!important;max-width:142px!important;min-height:29px!important;
padding:5px 8px!important;justify-content:center!important;gap:5px!important;
font-size:11px!important;border-radius:7px!important;flex:0 1 auto!important;}
#cpInvoiceLookupToggle.btn.cp-search-toggle .cp-toggle-arrow{font-size:11px!important;}
.page .cp-search-toolbar{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:5px!important;}
.page .cp-search-toolbar .cp-search-sibling.btn{flex:0 1 auto!important;}
.page .cp-square-actions,#overlay .cp-square-actions{
display:flex!important;flex-flow:row wrap!important;gap:4px!important;justify-content:flex-start!important;
align-items:flex-start!important;align-content:flex-start!important;width:100%!important;margin:4px 0 7px!important;
}
.page .btnrow,#overlay .modal .btnrow{column-gap:4px!important;row-gap:4px!important;align-content:flex-start!important;}
.page .btnrow>.btn,.page .btnrow>label.btn,#overlay .modal .btnrow>.btn,#overlay .modal .btnrow>label.btn,
.page .cp-square-actions>.btn,.page .cp-square-actions>label.btn,
.page .heading .btnrow>.btn,.page .cp-create-invoice-top>.btn,
#overlay .modal .formactions>.btn{
box-sizing:border-box!important;flex:0 0 76px!important;width:76px!important;max-width:76px!important;
min-width:76px!important;height:70px!important;min-height:70px!important;max-height:70px!important;
padding:4px!important;display:inline-flex!important;flex-flow:column nowrap!important;
align-items:center!important;justify-content:center!important;text-align:center!important;
font-size:10.5px!important;line-height:1.35!important;border-radius:9px!important;
overflow-wrap:anywhere!important;white-space:normal!important;overflow:hidden!important;
}
.page .cp-square-actions>.btn{height:76px!important;min-height:76px!important;max-height:76px!important;}
.page .gridcards .tile small{display:none!important;}
.page .panel.tablewrap{padding:5px!important;margin:5px 0!important;}
.page .tablewrap .tbl{margin:0!important;}
.page .panel .tablewrap{padding:4px!important;}
.page .cp-directory-switch{margin-bottom:8px!important;}
#overlay .modal .cp-report-amount,.cp-report-amount{
box-sizing:border-box!important;display:flex!important;flex-direction:column!important;gap:8px!important;
position:relative!important;z-index:1!important;float:none!important;clear:both!important;
width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;
background:#f5f9ff!important;border:1px solid #cdddec!important;border-radius:10px!important;
padding:12px!important;margin:12px 0!important;overflow:visible!important;isolation:isolate!important;
}
.cp-report-amount>span{font-size:12px!important;color:#355a7b!important;line-height:1.5!important;}
.cp-report-amount>strong{display:block!important;position:static!important;clear:both!important;
color:#143c65!important;font-size:clamp(21px,4.4vw,31px)!important;font-weight:850!important;
line-height:1.6!important;height:auto!important;min-height:1.6em!important;overflow-wrap:anywhere!important;
text-align:right!important;direction:ltr!important;unicode-bidi:isolate!important;}
.cp-report-detail-title{clear:both!important;display:block!important;margin:14px 0 7px!important;
font-size:13px!important;font-weight:750!important;color:#204566!important;}
.cp-detail-explainer{position:static!important;clear:both!important;margin:6px 0 12px!important;height:auto!important;}
#overlay .modal .reportview.premium .reporttable{position:relative!important;clear:both!important;margin-top:7px!important;}
.cp-audit-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;}
.cp-audit-result-count{font-size:12px;margin:9px 0;color:#315672;}
.cp-audit-entry{border:1px solid #d9e4ef;background:#fbfdff;padding:8px;margin:6px 0;border-radius:9px;}
.cp-audit-entry>summary{cursor:pointer;font-size:12px;overflow-wrap:anywhere;}
.cp-audit-entry>summary small{display:block;margin-top:3px;color:#56728b;font-size:10px;}
.cp-audit-device{font-size:10px;padding:5px 0;color:#4d6a84;overflow-wrap:anywhere;}
.cp-audit-diff{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;font-size:11px;}
.cp-audit-diff>div{min-width:0;border:1px solid #e1e8f0;border-radius:6px;padding:6px;overflow-wrap:anywhere;}
.cp-audit-diff>div>b{display:block;color:#173e65;margin-bottom:5px;}
.cp-audit-diff>div>div{margin:3px 0;}
.cp-user-open{border:0;background:transparent;color:#145590;cursor:pointer;text-decoration:underline;font-weight:bold;}
.cp-user-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
@media(max-width:360px){.page .btnrow>.btn,.page .btnrow>label.btn,
#overlay .modal .btnrow>.btn,#overlay .modal .formactions>.btn,
.page .cp-square-actions>.btn,.page .heading .btnrow>.btn,
.page .cp-create-invoice-top>.btn{flex-basis:70px!important;width:70px!important;min-width:70px!important;max-width:70px!important;height:70px!important;min-height:70px!important;max-height:70px!important;font-size:10px!important;}}
@media print{#printArea .cp-report-amount{break-inside:avoid!important;page-break-inside:avoid!important;}}
#overlay .cp-invoice-dialog #invoiceForm .btnrow>.btn,
#overlay .cp-invoice-dialog #invoiceForm .btnrow>label.btn,
#overlay .cp-invoice-dialog #invoiceForm .formactions>.btn{
flex:0 0 66px!important;width:66px!important;max-width:66px!important;min-width:66px!important;
height:66px!important;min-height:66px!important;max-height:66px!important;
padding:3px!important;font-size:9.5px!important;line-height:1.3!important;border-radius:8px!important;
display:inline-flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
white-space:normal!important;overflow-wrap:anywhere!important;text-align:center!important;
}
#overlay .cp-invoice-dialog #invoiceForm .cp-sale-actions>* ,
#overlay .cp-invoice-dialog #invoiceForm .cp-code-toolbar>*{
width:72px!important;max-width:72px!important;min-width:0!important;
height:72px!important;min-height:72px!important;max-height:72px!important;
font-size:9.5px!important;margin:0!important;justify-self:start!important;
}
.page .tbl .empty{padding:8px 5px!important;font-size:11px!important;}
.page .tbl .empty span{font-size:19px!important;margin-bottom:3px!important;}
@media(max-width:350px){#overlay .cp-invoice-dialog #invoiceForm .cp-sale-actions>*,#overlay .cp-invoice-dialog #invoiceForm .cp-code-toolbar>*{width:67px!important;height:67px!important;min-height:67px!important;max-height:67px!important;}}
.cp-page-section #content{min-width:0!important;max-width:100%!important;overflow-x:clip!important;}
.cp-page-section #content .cp-section-action-bar,
.cp-page-section #content .cp-square-actions,
.cp-page-section #content .btnrow{
display:flex!important;flex-flow:row wrap!important;align-items:flex-start!important;
align-content:flex-start!important;justify-content:flex-start!important;gap:5px!important;
direction:rtl!important;width:100%!important;max-width:100%!important;margin:4px 0 8px!important;
}
.cp-page-section #content .cp-section-action-bar>.btn,
.cp-page-section #content .cp-square-actions>.btn,
.cp-page-section #content .btnrow>button.btn,
.cp-page-section #content .btnrow>label.btn,
.cp-page-section #content .toolbar button.btn,
.cp-page-section #content .heading button.btn,
.cp-page-section >.heading .btnrow>button.btn,
#overlay .modal .btnrow>button.btn,
#overlay .modal .formactions>button.btn {
display:inline-flex!important;box-sizing:border-box!important;
flex:0 0 66px!important;width:66px!important;min-width:66px!important;max-width:66px!important;
height:66px!important;min-height:66px!important;max-height:66px!important;
margin:0!important;padding:3px!important;border-radius:9px!important;
align-items:center!important;justify-content:center!important;flex-direction:column!important;
text-align:center!important;font-size:10px!important;line-height:1.3!important;
white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;
}
.cp-page-section #content .cp-section-action-bar>.btn:not(.danger):nth-child(7n+1),
.cp-page-section #content .cp-square-actions>.btn:not(.danger):nth-child(7n+1),
.cp-page-section #content .btnrow>button.btn:not(.danger):nth-of-type(7n+1){background:#5b21b6!important;color:#fff!important;border-color:#5b21b6!important;}
.cp-page-section #content .cp-section-action-bar>.btn:not(.danger):nth-child(7n+2),
.cp-page-section #content .cp-square-actions>.btn:not(.danger):nth-child(7n+2),
.cp-page-section #content .btnrow>button.btn:not(.danger):nth-of-type(7n+2){background:#0369a1!important;color:#fff!important;border-color:#0369a1!important;}
.cp-page-section #content .cp-section-action-bar>.btn:not(.danger):nth-child(7n+3),
.cp-page-section #content .cp-square-actions>.btn:not(.danger):nth-child(7n+3),
.cp-page-section #content .btnrow>button.btn:not(.danger):nth-of-type(7n+3){background:#15803d!important;color:#fff!important;border-color:#15803d!important;}
.cp-page-section #content .cp-section-action-bar>.btn:not(.danger):nth-child(7n+4),
.cp-page-section #content .cp-square-actions>.btn:not(.danger):nth-child(7n+4),
.cp-page-section #content .btnrow>button.btn:not(.danger):nth-of-type(7n+4){background:#c2410c!important;color:#fff!important;border-color:#c2410c!important;}
.cp-page-section #content .cp-section-action-bar>.btn:not(.danger):nth-child(7n+5),
.cp-page-section #content .cp-square-actions>.btn:not(.danger):nth-child(7n+5),
.cp-page-section #content .btnrow>button.btn:not(.danger):nth-of-type(7n+5){background:#be185d!important;color:#fff!important;border-color:#be185d!important;}
.cp-page-section #content .cp-section-action-bar>.btn:not(.danger):nth-child(7n+6),
.cp-page-section #content .cp-square-actions>.btn:not(.danger):nth-child(7n+6),
.cp-page-section #content .btnrow>button.btn:not(.danger):nth-of-type(7n+6){background:#0f766e!important;color:#fff!important;border-color:#0f766e!important;}
.cp-page-section #content .cp-section-action-bar>.btn:not(.danger):nth-child(7n+7),
.cp-page-section #content .cp-square-actions>.btn:not(.danger):nth-child(7n+7),
.cp-page-section #content .btnrow>button.btn:not(.danger):nth-of-type(7n+7){background:#a16207!important;color:#fff!important;border-color:#a16207!important;}
.cp-page-section #content .btn.danger{background:#be123c!important;color:#fff!important;}
.cp-page-section .cp-account-toggle .cp-toggle-arrow,
.cp-page-section #content .cp-section-action-bar>.btn .cp-toggle-arrow{display:none!important;}
.cp-page-section #content .panel{padding:8px!important;margin-bottom:8px!important;}
.cp-page-section #content .tablewrap{padding:4px!important;max-width:100%!important;}
.cp-page-section #content .heading{gap:5px!important;margin:5px 0!important;}
.cp-page-section #content .tbl{margin:0!important;}
.cp-page-section #content .fields{gap:6px!important;}
@media screen and (max-width:720px){
#overlay .reportview.premium{max-width:100%!important;overflow-x:hidden!important;}
#overlay .reportview.premium .reporttable{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;}
#overlay .reportview.premium .reporttable thead{display:none!important;}
#overlay .reportview.premium .reporttable tbody{display:block!important;width:100%!important;}
#overlay .reportview.premium .reporttable tbody tr{display:grid!important;
grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important;
border:1px solid #dce6f0!important;border-radius:9px!important;padding:6px!important;
margin:0 0 8px!important;min-width:0!important;max-width:100%!important;}
#overlay .reportview.premium .reporttable tbody td{display:block!important;position:static!important;
min-width:0!important;max-width:100%!important;width:auto!important;height:auto!important;
padding:6px!important;line-height:1.6!important;white-space:normal!important;
overflow-wrap:anywhere!important;word-break:break-word!important;border:0!important;
font-size:11px!important;vertical-align:top!important;}
#overlay .reportview.premium .reporttable tbody td:before{content:attr(data-label)!important;
display:block!important;font-size:10px!important;color:#476987!important;
font-weight:800!important;margin-bottom:2px!important;}
#overlay .reportview.premium .reporttable tbody td:last-child:nth-child(odd){grid-column:1/-1!important;}
#overlay .reportview.premium .reporttable td[dir]{unicode-bidi:isolate!important;}
#overlay .reportview.premium .cp-report-amount{margin:7px 0!important;padding:10px!important;}
#overlay .reportview.premium .reporthero{gap:7px!important;}
}
@media screen and (max-width:350px){
.cp-page-section #content .cp-section-action-bar>.btn,
.cp-page-section #content .cp-square-actions>.btn,
.cp-page-section #content .btnrow>button.btn,
.cp-page-section #content .btnrow>label.btn{flex-basis:62px!important;width:62px!important;min-width:62px!important;max-width:62px!important;height:62px!important;min-height:62px!important;max-height:62px!important;}
}
.cp-page-section{--cp-control-side:68px;--cp-control-gap:5px;}
#overlay{--cp-control-side:68px;--cp-control-gap:5px;}
.cp-page-section .heading .sub{display:none!important;}
.cp-page-section #content :is(.btnrow,.cp-section-action-bar,.cp-square-actions,.formactions,.cp-code-toolbar,.cp-sale-actions,.cp-catalog-buttons){
display:flex!important;flex-flow:row wrap!important;gap:var(--cp-control-gap)!important;
justify-content:flex-start!important;align-items:flex-start!important;align-content:flex-start!important;
max-width:100%!important;min-width:0!important;direction:rtl!important;
}
#overlay .modal :is(.btnrow,.formactions,.cp-code-toolbar,.cp-sale-actions,.cp-catalog-buttons,.cp-invoice-addrow){
display:flex!important;flex-flow:row wrap!important;gap:var(--cp-control-gap)!important;
justify-content:flex-start!important;align-items:flex-start!important;align-content:flex-start!important;
width:100%!important;max-width:100%!important;min-width:0!important;direction:rtl!important;
}
.cp-page-section :is(.btnrow,.formactions,.cp-section-action-bar,.cp-square-actions,.cp-code-toolbar,.cp-sale-actions,.cp-catalog-buttons) > :is(button.btn,label.btn),
#overlay .modal :is(.btnrow,.formactions,.cp-code-toolbar,.cp-sale-actions,.cp-catalog-buttons,.cp-invoice-addrow) > :is(button.btn,label.btn),
.cp-page-section #content .panel > button.btn,
.cp-page-section #content .toolbar > button.btn {
box-sizing:border-box!important;display:inline-flex!important;flex:0 0 var(--cp-control-side)!important;
width:var(--cp-control-side)!important;min-width:var(--cp-control-side)!important;
max-width:var(--cp-control-side)!important;height:var(--cp-control-side)!important;
min-height:var(--cp-control-side)!important;max-height:var(--cp-control-side)!important;
margin:0!important;padding:4px!important;border-radius:10px!important;
justify-content:center!important;align-items:center!important;flex-direction:column!important;
text-align:center!important;vertical-align:top!important;line-height:1.35!important;
font-size:10px!important;font-weight:750!important;white-space:normal!important;
word-break:normal!important;overflow-wrap:anywhere!important;overflow:hidden!important;
}
.cp-page-section #content :is(.cp-square-actions,.btnrow,.formactions) > :is(button.btn,label.btn):not(.danger):nth-of-type(6n+1),
#overlay .modal :is(.btnrow,.formactions,.cp-code-toolbar,.cp-sale-actions,.cp-catalog-buttons) > :is(button.btn,label.btn):not(.danger):nth-child(6n+1){background:#6d28d9!important;border-color:#6d28d9!important;color:#fff!important}
.cp-page-section #content :is(.cp-square-actions,.btnrow,.formactions) > :is(button.btn,label.btn):not(.danger):nth-of-type(6n+2),
#overlay .modal :is(.btnrow,.formactions,.cp-code-toolbar,.cp-sale-actions,.cp-catalog-buttons) > :is(button.btn,label.btn):not(.danger):nth-child(6n+2){background:#0369a1!important;border-color:#0369a1!important;color:#fff!important}
.cp-page-section #content :is(.cp-square-actions,.btnrow,.formactions) > :is(button.btn,label.btn):not(.danger):nth-of-type(6n+3),
#overlay .modal :is(.btnrow,.formactions,.cp-code-toolbar,.cp-sale-actions,.cp-catalog-buttons) > :is(button.btn,label.btn):not(.danger):nth-child(6n+3){background:#15803d!important;border-color:#15803d!important;color:#fff!important}
.cp-page-section #content :is(.cp-square-actions,.btnrow,.formactions) > :is(button.btn,label.btn):not(.danger):nth-of-type(6n+4),
#overlay .modal :is(.btnrow,.formactions,.cp-code-toolbar,.cp-sale-actions,.cp-catalog-buttons) > :is(button.btn,label.btn):not(.danger):nth-child(6n+4){background:#c2410c!important;border-color:#c2410c!important;color:#fff!important}
.cp-page-section #content :is(.cp-square-actions,.btnrow,.formactions) > :is(button.btn,label.btn):not(.danger):nth-of-type(6n+5),
#overlay .modal :is(.btnrow,.formactions,.cp-code-toolbar,.cp-sale-actions,.cp-catalog-buttons) > :is(button.btn,label.btn):not(.danger):nth-child(6n+5){background:#be185d!important;border-color:#be185d!important;color:#fff!important}
.cp-page-section #content :is(.cp-square-actions,.btnrow,.formactions) > :is(button.btn,label.btn):not(.danger):nth-of-type(6n+6),
#overlay .modal :is(.btnrow,.formactions,.cp-code-toolbar,.cp-sale-actions,.cp-catalog-buttons) > :is(button.btn,label.btn):not(.danger):nth-child(6n+6){background:#0f766e!important;border-color:#0f766e!important;color:#fff!important}
.cp-page-section :is(.btn.danger),#overlay .modal .btn.danger{background:#be123c!important;border-color:#be123c!important;color:white!important}
#overlay .modal .cp-invoice-options{display:inline-block!important;vertical-align:top!important;
width:auto!important;max-width:100%!important;min-width:0!important;height:auto!important;
border:0!important;background:none!important;margin:4px 0!important;padding:0!important;}
#overlay .modal .cp-invoice-options[open]{display:block!important;width:100%!important;}
#overlay .modal .cp-invoice-options>summary{display:inline-flex!important;
width:var(--cp-control-side)!important;min-width:var(--cp-control-side)!important;
max-width:var(--cp-control-side)!important;height:var(--cp-control-side)!important;
min-height:var(--cp-control-side)!important;max-height:var(--cp-control-side)!important;
box-sizing:border-box!important;margin:0!important;padding:3px!important;
flex-flow:column!important;justify-content:center!important;align-items:center!important;
text-align:center!important;font-size:10px!important;line-height:1.35!important;
background:#7e22ce!important;color:#fff!important;border-radius:10px!important;
cursor:pointer!important;list-style:none!important;overflow-wrap:anywhere!important;white-space:normal!important;}
#overlay .modal .cp-invoice-options>summary::-webkit-details-marker{display:none!important}
#overlay .modal .cp-invoice-options>summary::marker{content:''!important}
#overlay .modal .cp-invoice-options>summary span{display:none!important;}
#overlay .modal .cp-invoice-options[open]>.fields{display:grid!important;width:100%!important;min-width:0!important;margin:6px 0!important;}
#overlay .modal .btnrow > :is(input,select,textarea),
.cp-page-section #content .btnrow > :is(input,select,textarea){flex:1 1 145px!important;width:auto!important;
max-width:100%!important;min-width:0!important;}
.cp-page-section #content .cp-compact-table td .btn,
.cp-page-section #content .cp-compact-table td button,
.cp-page-section #content .cp-invoice-history .btn{
width:46px!important;min-width:46px!important;max-width:46px!important;
height:46px!important;min-height:46px!important;max-height:46px!important;
flex:0 0 46px!important;padding:2px!important;font-size:9px!important;
border-radius:8px!important;white-space:normal!important;overflow-wrap:anywhere!important;}
.cp-page-section #content :is(.panel,.cp-table-shell,.tablewrap,.cp-invoice-pop,.fields),
#overlay .modal :is(.fields,.cp-invoice-pop,.cp-invoice-row){max-width:100%!important;min-width:0!important;}
.cp-page-section #content .panel.tablewrap{padding:5px!important;margin:5px 0!important;}
.cp-page-section #content .cp-toggle-arrow{display:none!important;}
#overlay .modal :is(.cp-code-toolbar,.cp-sale-actions,.cp-catalog-buttons) > .btn{width:var(--cp-control-side)!important;min-width:var(--cp-control-side)!important;max-width:var(--cp-control-side)!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-sale-actions,
#overlay .cp-invoice-dialog #invoiceForm .cp-code-toolbar,
#overlay .cp-invoice-dialog #invoiceForm .cp-catalog-buttons{
display:flex!important;flex-flow:row wrap!important;gap:var(--cp-control-gap)!important;
justify-content:flex-start!important;align-items:flex-start!important;max-width:100%!important;}
#overlay .cp-invoice-dialog #invoiceForm :is(.cp-sale-actions,.cp-code-toolbar,.btnrow,.formactions)>:is(button.btn,label.btn),
#overlay .modal .cp-code-toolbar.cp-catalog-buttons>:is(button.btn,label.btn),
#overlay .modal .cp-code-toolbar:not(#ignore)>:is(button.btn,label.btn){
box-sizing:border-box!important;display:inline-flex!important;
flex:0 0 var(--cp-control-side)!important;width:var(--cp-control-side)!important;
height:var(--cp-control-side)!important;min-width:var(--cp-control-side)!important;
max-width:var(--cp-control-side)!important;min-height:var(--cp-control-side)!important;
max-height:var(--cp-control-side)!important;margin:0!important;padding:3px!important;
flex-direction:column!important;align-items:center!important;justify-content:center!important;
font-size:10px!important;line-height:1.35!important;border-radius:10px!important;
text-align:center!important;white-space:normal!important;overflow-wrap:anywhere!important;overflow:hidden!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-options:not([open]),
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-options[open]{
display:block!important;width:100%!important;max-width:100%!important;
height:auto!important;padding:0!important;background:none!important;border:0!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-options>summary{
display:inline-flex!important;box-sizing:border-box!important;
flex:0 0 var(--cp-control-side)!important;
width:var(--cp-control-side)!important;min-width:var(--cp-control-side)!important;
max-width:var(--cp-control-side)!important;height:var(--cp-control-side)!important;
min-height:var(--cp-control-side)!important;max-height:var(--cp-control-side)!important;
margin:0!important;padding:3px!important;text-align:center!important;
justify-content:center!important;align-items:center!important;flex-direction:column!important;
color:#fff!important;background:#7e22ce!important;
border-radius:10px!important;font-size:10px!important;line-height:1.35!important;
overflow-wrap:anywhere!important;white-space:normal!important;list-style:none!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-options>summary span{display:none!important;}
@media(max-width:370px){.cp-page-section,#overlay{--cp-control-side:62px;--cp-control-gap:4px;}}
@media print{
#overlay .modal .reportview.premium .reporttable,
#printArea .reportview.premium .reporttable{display:table!important;width:100%!important;table-layout:fixed!important;}
#overlay .modal .reportview.premium .reporttable thead,
#printArea .reportview.premium .reporttable thead{display:table-header-group!important;}
#overlay .modal .reportview.premium .reporttable tbody,
#printArea .reportview.premium .reporttable tbody{display:table-row-group!important;}
#overlay .modal .reportview.premium .reporttable tbody tr,
#printArea .reportview.premium .reporttable tbody tr{display:table-row!important;}
#overlay .modal .reportview.premium .reporttable tbody td,
#printArea .reportview.premium .reporttable tbody td{display:table-cell!important;}
#overlay .modal .reportview.premium .reporttable tbody td::before,
#printArea .reportview.premium .reporttable tbody td::before{display:none!important;}
}
#overlay .modal:not(.reportview){box-sizing:border-box;}
#overlay .modal :is(#genericForm,#invoiceForm){min-width:0!important;max-width:100%!important;}
#overlay .modal #genericForm>.fields,
#overlay .modal #invoiceForm .cp-invoice-options>.fields,
#overlay .modal #invoiceForm #deferredFields .fields {
display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
gap:6px!important;align-items:start!important;margin:4px 0!important;
}
#overlay .modal #genericForm>.fields>.field.full,
#overlay .modal #invoiceForm .cp-invoice-options>.fields>.field.full,
#overlay .modal #invoiceForm #deferredFields .fields>.field.full {grid-column:1/-1!important;}
#overlay .modal :is(#genericForm,#invoiceForm) :is(.field,.cp-catalog-two,.cp-invoice-row) {min-width:0!important;max-width:100%!important;}
#overlay .modal :is(#genericForm,#invoiceForm) .field>label:not(.btn):not(.checkinline),
#overlay .modal #invoiceForm .cp-invoice-row>div>label:not(.btn){
display:block!important;font-size:11px!important;line-height:1.4!important;
padding:0!important;margin:0 0 2px!important;min-height:0!important;
white-space:normal!important;overflow-wrap:anywhere!important;}
#overlay .modal :is(#genericForm,#invoiceForm) :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea){
box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;
min-height:35px!important;height:35px!important;padding:5px 7px!important;
border-radius:6px!important;font-size:16px!important;line-height:1.3!important;margin:0!important;}
#overlay .modal :is(#genericForm,#invoiceForm) textarea{height:auto!important;min-height:62px!important;}
#overlay .modal #genericForm .cp-catalog-two{gap:6px!important;}
#overlay .modal #genericForm .cp-catalog-preview{padding:7px!important;border-radius:8px!important;
font-size:11px!important;line-height:1.5!important;min-height:0!important;}
#overlay .modal #genericForm .cp-catalog-scan .cp-code-toolbar{margin:1px 0 4px!important;}
#overlay .modal #genericForm>.formactions,#overlay .modal #invoiceForm>.formactions{
margin:7px 0 1px!important;gap:5px!important;display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;}
#overlay .modal .modalhead{margin-bottom:7px!important;}
#overlay .cp-invoice-dialog #invoiceForm>.cp-invoice-actions{display:block!important;margin:0 0 4px!important;
padding:0!important;min-height:0!important;max-width:100%!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-actions>.cp-code-toolbar{
display:flex!important;flex-flow:row wrap!important;direction:rtl!important;
gap:5px!important;justify-content:flex-start!important;align-items:flex-start!important;
width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:0!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-actions>.cp-code-toolbar>:is(button.btn,label.btn){
box-sizing:border-box!important;display:inline-flex!important;flex:0 0 64px!important;
width:64px!important;min-width:64px!important;max-width:64px!important;
height:64px!important;min-height:64px!important;max-height:64px!important;
padding:3px!important;font-size:9.5px!important;line-height:1.3!important;
text-align:center!important;border-radius:9px!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-actions>.cp-code-toolbar>.cp-invoice-options{
box-sizing:border-box!important;display:block!important;
flex:0 0 64px!important;width:64px!important;min-width:64px!important;max-width:64px!important;
height:64px!important;min-height:64px!important;max-height:none!important;
margin:0!important;padding:0!important;border:0!important;background:transparent!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-actions>.cp-code-toolbar>.cp-invoice-options>summary{
box-sizing:border-box!important;width:64px!important;min-width:64px!important;max-width:64px!important;
height:64px!important;min-height:64px!important;max-height:64px!important;
border-radius:9px!important;display:flex!important;justify-content:center!important;
align-items:center!important;padding:3px!important;line-height:1.3!important;font-size:9.5px!important;
white-space:normal!important;overflow-wrap:anywhere!important;margin:0!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-actions>.cp-code-toolbar>.cp-invoice-options[open]{
flex-basis:100%!important;width:100%!important;min-width:0!important;max-width:100%!important;
height:auto!important;min-height:0!important;margin:0!important;padding:0!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-options[open]>summary{margin:0 0 4px!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-options[open]>.fields{padding:7px!important;
background:#f7faff!important;border:1px solid #e3ebf6!important;border-radius:9px!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-action-hint:empty{display:none!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-pop.hidden{display:none!important;}
#overlay .cp-invoice-dialog #invoiceForm>.cp-invoice-options{display:none!important;}
#overlay .cp-invoice-dialog #invoiceForm>h3{font-size:12px!important;margin:4px 0!important;
padding:0!important;line-height:1.3!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row{
display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
gap:5px!important;padding:7px!important;margin:5px 0!important;align-items:start!important;
border-radius:10px!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row>.cp-product-cell{grid-column:1/-1!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row>.cp-pack-cell:not(.hidden),
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row>.cp-roll-numbers-cell:not(.hidden){grid-column:1/-1!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row>.cp-line-qty{grid-column:auto!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row>.cp-line-price{grid-column:auto!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row>.cp-line-total{grid-column:auto!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row :is(.cp-count-hint,.cp-purchase-status){display:none!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row .cp-units-count{margin-top:4px!important;padding:3px!important;border-radius:6px!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row .cp-stock-status{font-size:9px!important;margin-top:3px!important;line-height:1.4!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row .cp-line-photo{
box-sizing:border-box!important;width:64px!important;max-width:64px!important;min-width:64px!important;
height:64px!important;min-height:64px!important;max-height:64px!important;
padding:3px!important;margin:0!important;line-height:1.2!important;font-size:9px!important;
border-radius:9px!important;grid-column:auto!important;align-self:start!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row>button.btn.danger{
box-sizing:border-box!important;width:36px!important;min-width:36px!important;max-width:36px!important;
height:36px!important;min-height:36px!important;max-height:36px!important;
padding:2px!important;margin:0!important;align-self:start!important;justify-self:end!important;
grid-column:auto!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row>.muted:last-child{
grid-column:1/-1!important;margin:0!important;font-size:10px!important;}
#overlay .cp-invoice-dialog #invoiceForm #invoiceLines{margin:0!important;}
#overlay .cp-invoice-dialog #invoiceForm>.cp-invoice-addrow{margin:5px 0!important;gap:5px!important;}
#overlay .cp-invoice-dialog #invoiceForm>.cp-invoice-addrow>button.btn{
box-sizing:border-box!important;display:inline-flex!important;flex:0 0 64px!important;
width:64px!important;max-width:64px!important;min-width:64px!important;
height:64px!important;min-height:64px!important;max-height:64px!important;
font-size:9.5px!important;padding:3px!important;border-radius:9px!important;}
#overlay .cp-invoice-dialog #invoiceForm>#invoiceSum{padding:6px!important;margin:4px 0!important;
font-size:11px!important;border-radius:8px!important;line-height:1.4!important;}
#overlay .cp-invoice-dialog #invoiceForm>p.muted{display:none!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-pop{margin:5px 0!important;padding:7px!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-options .field .checkinline{font-size:11px!important;min-height:0!important;}
@media(max-width:350px){
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-actions>.cp-code-toolbar>:is(button.btn,label.btn),
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-actions>.cp-code-toolbar>.cp-invoice-options,
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-actions>.cp-code-toolbar>.cp-invoice-options>summary{
width:60px!important;min-width:60px!important;max-width:60px!important;
height:60px!important;min-height:60px!important;max-height:60px!important;
flex-basis:60px!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-actions>.cp-code-toolbar>.cp-invoice-options[open]{
width:100%!important;max-width:100%!important;flex-basis:100%!important;height:auto!important;max-height:none!important;}
}
<style id="cp-v81-chooser">
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row>.cp-product-cell:has(>.cp-row-search){
display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
gap:4px!important;align-items:start!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row>.cp-product-cell:has(>.cp-row-search)>label{
grid-column:1/-1!important;order:0!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row>.cp-product-cell>.cp-row-search{
grid-column:1!important;order:1!important;margin:0!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row>.cp-product-cell>.productSelect{
grid-column:2!important;order:2!important;margin:0!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row>.cp-product-cell>.cp-row-results{
grid-column:1/-1!important;order:3!important;min-width:0!important;max-width:100%!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row>.cp-line-qty{order:2!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row>.cp-units-count{
order:3!important;grid-column:auto!important;display:block!important;
box-sizing:border-box!important;align-self:start!important;margin:0!important;padding:0!important;
border:0!important;background:transparent!important;min-width:0!important;max-width:100%!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row>.cp-line-price{order:4!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row>.cp-line-total{order:5!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row>.cp-line-photo{order:6!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row>button.btn.danger{order:7!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row>.muted:last-child{order:9!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row>.cp-units-count>.cp-stock-status{display:block!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row>.cp-units-count .cp-count-label{display:block!important;
font-weight:700!important;font-size:11px!important;line-height:1.4!important;margin:0 0 2px!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-row .cp-line-total .itemTotal{padding:4px 0!important;
font-size:15px!important;line-height:1.4!important;min-height:0!important;}
.page.cp-page-section .heading{display:grid!important;grid-template-columns:1fr auto!important;gap:14px!important;align-items:start!important;margin-bottom:16px!important}
.page.cp-page-section .heading h2{font-size:28px!important;line-height:1.25!important;color:#123869!important;margin:0!important;font-weight:900!important}
.page.cp-page-section .heading .sub{display:none!important}
.page.cp-page-section .heading .btnrow{display:grid!important;grid-template-columns:repeat(2,minmax(92px,112px))!important;gap:12px!important;justify-content:start!important;margin:0!important}
.page.cp-page-section .heading .btnrow>.btn{height:86px!important;min-height:86px!important;max-height:86px!important;border-radius:20px!important;background:#f7fbff!important;color:#153864!important;border:1px solid #d8e6f4!important;box-shadow:0 10px 26px rgba(22,57,96,.08)!important;font-size:16px!important;font-weight:800!important}
.page.cp-page-section .heading .btnrow>.btn .cp-refresh-symbol{font-size:23px!important;display:block!important;margin-bottom:5px!important}
.cp-page-section #content .cp-square-actions,.cp-page-section #content .cp-section-action-bar{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(118px,1fr))!important;gap:14px!important;align-items:stretch!important;margin:8px 0 16px!important}
.cp-page-section #content .cp-square-actions>.btn,.cp-page-section #content .cp-square-actions>label.btn,.cp-page-section #content .cp-section-action-bar>.btn,.cp-page-section #content .cp-section-action-bar>label.btn{height:136px!important;min-height:136px!important;max-height:136px!important;border-radius:22px!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;white-space:normal!important;line-height:1.35!important;font-size:17px!important;font-weight:900!important;padding:14px!important;box-shadow:0 14px 28px rgba(18,56,105,.10)!important}
.cp-page-section #content .cp-square-actions>.btn::before,.cp-page-section #content .cp-section-action-bar>.btn::before,.cp-page-section #content .cp-square-actions>label.btn::before,.cp-page-section #content .cp-section-action-bar>label.btn::before{display:block!important;font-size:34px!important;line-height:1!important;margin-bottom:10px!important}
.cp-page-section #content>.muted:has(+ .cp-square-actions), .cp-page-section #content>.info:has(+ .cp-square-actions),
.cp-page-section #content .cp-square-actions + .muted, .cp-page-section #content .cp-square-actions + .info,
.cp-page-section #content .cp-section-action-bar + .muted, .cp-page-section #content .cp-section-action-bar + .info{display:none!important}
.cp-page-section .tbl{min-width:100%!important}
.cp-page-section .panel{border-radius:24px!important;padding:14px!important;border:1px solid #dce8f4!important;box-shadow:0 12px 28px rgba(17,50,84,.06)!important}
.cp-page-section .tablewrap{overflow:visible!important}
.cp-page-section table.tbl tbody tr{background:#fff!important}
.cp-page-section table.tbl tbody tr td{border-color:#e3edf7!important;vertical-align:top!important}
.cp-page-section .invoiceStatus,.cp-page-section .pill{border-radius:999px!important}
.cp-page-section .btn.blue,.cp-page-section .btn.primary,.cp-page-section .btn.good,.cp-page-section .btn.warn,.cp-page-section .btn.outline{color:#fff!important}
.cp-page-section .btn.light{background:#f7fbff!important;color:#153864!important;border-color:#d7e4f3!important}
@media (max-width: 700px){
.page.cp-page-section .heading{grid-template-columns:1fr!important;gap:10px!important}
.page.cp-page-section .heading h2{font-size:24px!important}
.page.cp-page-section .heading .btnrow{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.page.cp-page-section .heading .btnrow>.btn{height:78px!important;font-size:15px!important}
.cp-page-section #content .cp-square-actions,.cp-page-section #content .cp-section-action-bar{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
.cp-page-section #content .cp-square-actions>.btn,.cp-page-section #content .cp-square-actions>label.btn,.cp-page-section #content .cp-section-action-bar>.btn,.cp-page-section #content .cp-section-action-bar>label.btn{height:118px!important;min-height:118px!important;max-height:118px!important;font-size:14px!important;padding:10px!important;border-radius:20px!important}
.cp-page-section #content .cp-square-actions>.btn::before,.cp-page-section #content .cp-section-action-bar>.btn::before,.cp-page-section #content .cp-square-actions>label.btn::before,.cp-page-section #content .cp-section-action-bar>label.btn::before{font-size:28px!important;margin-bottom:8px!important}
}
@media (max-width: 430px){
.cp-page-section #content .cp-square-actions,.cp-page-section #content .cp-section-action-bar{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.cp-page-section #content .cp-square-actions>.btn,.cp-page-section #content .cp-square-actions>label.btn,.cp-page-section #content .cp-section-action-bar>.btn,.cp-page-section #content .cp-section-action-bar>label.btn{height:106px!important;min-height:106px!important;max-height:106px!important;font-size:13px!important}
}
.cp-page-section>.heading{display:flex!important;flex-wrap:wrap!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;padding:5px 0!important;margin:0 0 15px!important}
.cp-page-section>.heading h2{font-size:clamp(19px,5.5vw,28px)!important;line-height:1.35!important;color:#0d2c55!important;font-weight:900!important}
.cp-page-section>.heading>.btnrow{display:flex!important;flex-wrap:wrap!important;gap:8px!important;width:auto!important}
.cp-page-section>.heading>.btnrow>.btn{display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;width:78px!important;min-width:78px!important;max-width:78px!important;height:78px!important;min-height:78px!important;max-height:78px!important;box-sizing:border-box!important;border:1px solid #d1e2f7!important;background:linear-gradient(145deg,#fff,#e7f0ff)!important;color:#123f7a!important;border-radius:17px!important;box-shadow:0 4px 15px #1d4e8620!important;font-size:13px!important;line-height:1.25!important;padding:6px!important}
.cp-page-section #content>.cp-section-action-bar,.cp-page-section #content .cp-section-action-bar{
display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important;margin:5px 0 21px!important;direction:rtl!important;align-items:stretch!important;justify-content:start!important;width:100%!important;max-width:100%!important;
}
.cp-page-section #content .cp-section-action-bar>button.btn{
box-sizing:border-box!important;display:flex!important;flex-direction:column!important;gap:6px!important;align-items:center!important;justify-content:center!important;
width:100%!important;max-width:100%!important;min-width:0!important;height:116px!important;max-height:116px!important;min-height:116px!important;
padding:8px 4px!important;margin:0!important;text-align:center!important;border-radius:19px!important;border:0!important;
box-shadow:0 9px 23px rgba(15,48,88,.14)!important;font-size:13px!important;font-weight:900!important;line-height:1.35!important;
color:#fff!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;
}
.cp-page-section #content .cp-section-action-bar>button.btn:nth-child(5n+1){background:linear-gradient(145deg,#1196fd,#056cde)!important;color:#fff!important}
.cp-page-section #content .cp-section-action-bar>button.btn:nth-child(5n+2){background:linear-gradient(145deg,#30cc65,#0aaa57)!important;color:#fff!important}
.cp-page-section #content .cp-section-action-bar>button.btn:nth-child(5n+3){background:linear-gradient(145deg,#ffc438,#f09311)!important;color:#fff!important}
.cp-page-section #content .cp-section-action-bar>button.btn:nth-child(5n+4){background:linear-gradient(145deg,#a846ee,#7225d9)!important;color:#fff!important}
.cp-page-section #content .cp-section-action-bar>button.btn:nth-child(5n+5){background:linear-gradient(145deg,#10c4d7,#079db6)!important;color:#fff!important}
.cp-page-section #content .cp-section-action-bar>button.btn.danger{background:linear-gradient(145deg,#fa6972,#df224e)!important;color:#fff!important}
.cp-page-section #content .cp-section-action-bar .cp-v85-action-icon{display:block!important;font-size:28px!important;line-height:1!important;flex:none!important;filter:drop-shadow(0 3px 3px #0001)}
.cp-page-section #content .cp-section-action-bar .cp-v85-action-text{display:block!important;text-align:center!important;font-size:inherit!important;line-height:1.34!important;font-weight:900!important;min-width:0!important}
.cp-page-section #content .cp-section-action-bar button .cp-toggle-arrow{display:none!important}
#overlay .modal :is(.cp-code-toolbar,.cp-sale-actions,.formactions,.cp-catalog-buttons,.cp-invoice-addrow) > :is(button.btn,label.btn){border-radius:13px!important;box-shadow:0 5px 14px #183b5920!important}
.cp-page-section #content .cp-v85-invoices{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin:5px 0 12px!important}
.cp-page-section #content .cp-v85-invoice-card{min-width:0!important;background:#fff!important;border:1px solid #cadefb!important;border-radius:19px!important;box-shadow:0 5px 19px rgba(14,50,94,.07)!important;padding:13px!important}
.cp-page-section #content .cp-v85-record-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px 9px!important;align-items:start!important}
.cp-page-section #content .cp-v85-info{display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important;max-width:100%!important;min-height:42px!important}
.cp-page-section #content .cp-v85-info-icon{width:37px!important;height:37px!important;min-width:37px!important;border-radius:50%!important;display:grid!important;place-items:center!important;font-size:20px!important;background:#e5f3ff!important;color:#0d7ad9!important}
.cp-page-section #content .cp-v85-info:nth-child(6n+1) .cp-v85-info-icon{background:#fff0d3!important}
.cp-page-section #content .cp-v85-info:nth-child(6n+2) .cp-v85-info-icon{background:#e7f7f0!important}
.cp-page-section #content .cp-v85-info:nth-child(6n+3) .cp-v85-info-icon{background:#ffe8ed!important}
.cp-page-section #content .cp-v85-info:nth-child(6n+4) .cp-v85-info-icon{background:#e7f1ff!important}
.cp-page-section #content .cp-v85-info:nth-child(6n+5) .cp-v85-info-icon{background:#ebfaed!important}
.cp-page-section #content .cp-v85-info:nth-child(6n+6) .cp-v85-info-icon{background:#f3e8ff!important}
.cp-page-section #content .cp-v85-info-text{display:flex!important;flex-direction:column!important;min-width:0!important;gap:3px!important}
.cp-page-section #content .cp-v85-info-text>span,.cp-page-section #content .cp-v85-status>span{font-size:11px!important;color:#4d739c!important;font-weight:850!important}
.cp-page-section #content .cp-v85-info-text strong{font-size:clamp(12px,1.5vw,16px)!important;line-height:1.45!important;color:#122f5c!important;font-weight:850!important;overflow-wrap:anywhere!important;word-break:normal!important}
.cp-page-section #content .cp-v85-info-text b[dir=ltr]{direction:ltr!important;display:inline-block!important;text-align:left!important;max-width:100%!important;unicode-bidi:isolate!important;font-weight:900!important}
.cp-page-section #content .cp-v85-status{display:flex!important;flex-direction:column!important;gap:5px!important;min-width:0!important;align-items:flex-start!important;grid-column:1/-1!important;margin-top:0!important}
.cp-page-section #content .cp-v85-history-footer{margin-top:9px!important;border-top:1px solid #e8eef8!important;padding-top:8px!important;display:flex!important;justify-content:flex-start!important}
.cp-page-section #content .cp-v85-history-actions{display:flex!important;justify-content:flex-start!important;flex-flow:row wrap!important;gap:6px!important;align-items:center!important;direction:rtl!important}
.cp-page-section #content .cp-v85-history-actions button.btn{box-sizing:border-box!important;display:inline-flex!important;flex:0 0 auto!important;min-width:49px!important;max-width:85px!important;width:auto!important;height:36px!important;min-height:36px!important;max-height:36px!important;padding:4px 10px!important;border-radius:11px!important;font-size:11px!important;line-height:1.1!important;background:#086ddc!important;color:#fff!important;margin:0!important}
.cp-page-section #content .cp-v85-history-actions button.btn:nth-child(2){background:#e9f0fe!important;color:#153f7e!important;border:1px solid #cadbf5!important}
.cp-page-section #content .cp-v85-history-actions button.btn.danger{background:#ffe4e9!important;color:#bd1d37!important;border:1px solid #ffb9c8!important}
.cp-page-section #content .cp-v85-show-more{display:flex!important;justify-content:center!important;margin:10px 0!important}
.cp-page-section #content .cp-v85-show-more>button{height:auto!important;width:auto!important;max-width:90vw!important;min-width:140px!important;min-height:42px!important;padding:8px 14px!important;white-space:normal!important;background:#096fd2!important;color:#fff!important;border-radius:14px!important}
.cp-page-section #content .cp-compact-table tbody td{overflow-wrap:anywhere!important;min-width:0!important}
@media(max-width:850px){.cp-page-section #content .cp-v85-invoices{grid-template-columns:1fr!important}}
@media(max-width:480px){
.cp-page-section #content .cp-section-action-bar{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important}
.cp-page-section #content .cp-section-action-bar>button.btn{height:102px!important;min-height:102px!important;max-height:102px!important;font-size:11px!important;border-radius:14px!important;padding:6px 3px!important;gap:5px!important}
.cp-page-section #content .cp-section-action-bar .cp-v85-action-icon{font-size:24px!important}
.cp-page-section #content .cp-v85-invoice-card{padding:10px!important}
.cp-page-section #content .cp-v85-record-grid{gap:9px 6px!important}
.cp-page-section #content .cp-v85-info-icon{width:31px!important;min-width:31px!important;height:31px!important;font-size:17px!important}
.cp-page-section #content .cp-v85-info{gap:5px!important}
.cp-page-section #content .cp-v85-info-text strong{font-size:12px!important}
}
@media(max-width:340px){.cp-page-section #content .cp-section-action-bar{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(prefers-reduced-motion:reduce){.cp-page-section #content .cp-section-action-bar>button.btn{transition:none!important}}
.page.cp-page-section #content .cp-section-action-bar > button.btn:nth-child(5n+1):not(.danger){background-color:#862de3!important;background-image:linear-gradient(145deg,#a944f2,#7926d7)!important;color:#fff!important}
.page.cp-page-section #content .cp-section-action-bar > button.btn:nth-child(5n+2):not(.danger){background-color:#f69d12!important;background-image:linear-gradient(145deg,#ffbf39,#f49009)!important;color:#fff!important}
.page.cp-page-section #content .cp-section-action-bar > button.btn:nth-child(5n+3):not(.danger){background-color:#0bad53!important;background-image:linear-gradient(145deg,#39d96f,#0aaa56)!important;color:#fff!important}
.page.cp-page-section #content .cp-section-action-bar > button.btn:nth-child(5n+4):not(.danger){background-color:#097be5!important;background-image:linear-gradient(145deg,#189efe,#0468dc)!important;color:#fff!important}
.page.cp-page-section #content .cp-section-action-bar > button.btn:nth-child(5n+5):not(.danger){background-color:#0db6d0!important;background-image:linear-gradient(145deg,#15cadb,#059db8)!important;color:#fff!important}
.page.cp-page-section #content .cp-section-action-bar > button.btn.danger{background-color:#df2755!important;background-image:linear-gradient(145deg,#f86786,#dc2451)!important;color:#fff!important}
html body #root .shell main.page{padding-top:4px!important}
html body #root .shell main.page>.heading{
display:flex!important;flex-direction:column!important;gap:3px!important;
align-items:stretch!important;justify-content:flex-start!important;
margin:0 0 7px!important;padding:0!important;
}
html body #root .shell main.page>.heading>.btnrow{
order:-1!important;display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;
align-self:flex-start!important;justify-content:flex-start!important;
gap:5px!important;width:auto!important;max-width:100%!important;margin:0!important;
padding:0!important;grid-template-columns:none!important;
}
html body #root .shell main.page>.heading>.btnrow>button.btn{
box-sizing:border-box!important;display:inline-flex!important;flex:0 0 70px!important;
width:70px!important;min-width:70px!important;max-width:70px!important;
height:37px!important;min-height:37px!important;max-height:37px!important;
border-radius:10px!important;margin:0!important;padding:3px 4px!important;
font-size:11px!important;line-height:1.1!important;font-weight:900!important;
box-shadow:0 2px 6px #143b6412!important;border:1px solid #d7e4f3!important;
background:#f7fbff!important;color:#173a67!important;white-space:nowrap!important;
text-align:center!important;gap:4px!important;
}
html body #root .shell main.page>.heading>.btnrow>button.btn .cp-refresh-symbol{
display:inline!important;font-size:14px!important;line-height:1!important;margin:0!important;
}
html body #root .shell main.page>.heading>div:first-child{width:100%!important;min-width:0!important;}
html body #root .shell main.page>.heading h2{font-size:clamp(18px,4.4vw,24px)!important;line-height:1.35!important;margin:0!important;}
html body #root .shell main.page>.heading .sub{display:none!important;}
html body #root .shell.cp-home-shell main.page>.heading{margin-bottom:3px!important;}
html body #root .shell.cp-home-shell main.page>.heading h2{font-size:16px!important;}
html body #root .shell.cp-home-shell main.page>#content{padding-top:0!important;margin-top:0!important;}
html body #root .shell.cp-home-shell #content>.gridcards{margin-top:0!important;gap:7px!important;}
html body #root .shell.cp-home-shell #content>.cp-home-accounts-toggle{margin:0 0 5px!important;padding:0!important;}
html body #root .shell.cp-home-shell #content>.cp-home-accounts-toggle .checkinline{
margin:0!important;padding:2px 5px!important;gap:6px!important;min-height:28px!important;
font-size:12px!important;font-weight:850!important;}
html body #root .shell.cp-home-shell #content>.cp-home-accounts-toggle input{width:15px!important;height:15px!important;margin:0!important;}
@media(max-width:430px){
html body #root .shell main.page{padding-top:3px!important;}
html body #root .shell main.page>.heading>.btnrow>button.btn{flex-basis:66px!important;width:66px!important;min-width:66px!important;max-width:66px!important;height:34px!important;min-height:34px!important;max-height:34px!important;font-size:10.5px!important;}
html body #root .shell.cp-home-shell .gridcards>.tile{min-height:104px!important;}
}
html body #root .shell .page.cp-page-section #content button.btn.outline,
html body #root .shell .page.cp-page-section #content label.btn.outline,
html body #root .shell .page.cp-page-section #content a.btn.outline{
color:#153c66!important;background:#fff!important;border:1px solid #aec8eb!important;
-webkit-text-fill-color:#153c66!important;text-shadow:none!important;
}
html body #root .shell .page.cp-page-section #content .cp-square-actions>button.btn.outline,
html body #root .shell .page.cp-page-section #content .cp-section-action-bar>button.btn.outline{
background:#0878d6!important;color:#fff!important;border-color:#0670c9!important;
-webkit-text-fill-color:#fff!important;
}
html body #root .shell .page.cp-page-section #content .cp-compact-table button.btn.outline,
html body #root .shell .page.cp-page-section #content .cp-table-shell button.btn.outline{
color:#173958!important;background:#edf4ff!important;border:1px solid #a8c5ee!important;
-webkit-text-fill-color:#173958!important;
}
html body #root .shell .page.cp-page-section #content .cp-compact-table button.btn,
html body #root .shell .page.cp-page-section #content .cp-table-shell button.btn{
text-indent:0!important;visibility:visible!important;opacity:1!important;font-weight:800!important;
font-size:clamp(10px,2.6vw,12px)!important;line-height:1.3!important;
}
#overlay .modal #genericForm>.fields>.field,
#overlay .modal #invoiceForm .fields>.field,
#overlay .modal #genericForm .cp-catalog-two>.field,
#overlay .modal #invoiceForm .cp-invoice-row>div,
#overlay .modal #invoiceForm .cp-invoice-options .fields>.field{
--cp-v87-tint:#f1f6ff;--cp-v87-border:#82abeb;
}
#overlay .modal #genericForm>.fields>.field:nth-child(6n+2),
#overlay .modal #invoiceForm .fields>.field:nth-child(6n+2),
#overlay .modal #genericForm .cp-catalog-two>.field:nth-child(6n+2),
#overlay .modal #invoiceForm .cp-invoice-row>div:nth-child(6n+2),
#overlay .modal #invoiceForm .cp-invoice-options .fields>.field:nth-child(6n+2){--cp-v87-tint:#effbf5;--cp-v87-border:#76cda0}
#overlay .modal #genericForm>.fields>.field:nth-child(6n+3),
#overlay .modal #invoiceForm .fields>.field:nth-child(6n+3),
#overlay .modal #invoiceForm .cp-invoice-row>div:nth-child(6n+3),
#overlay .modal #invoiceForm .cp-invoice-options .fields>.field:nth-child(6n+3){--cp-v87-tint:#fff5e6;--cp-v87-border:#e2ad5f}
#overlay .modal #genericForm>.fields>.field:nth-child(6n+4),
#overlay .modal #invoiceForm .fields>.field:nth-child(6n+4),
#overlay .modal #invoiceForm .cp-invoice-row>div:nth-child(6n+4),
#overlay .modal #invoiceForm .cp-invoice-options .fields>.field:nth-child(6n+4){--cp-v87-tint:#f7efff;--cp-v87-border:#ba94e9}
#overlay .modal #genericForm>.fields>.field:nth-child(6n+5),
#overlay .modal #invoiceForm .fields>.field:nth-child(6n+5),
#overlay .modal #invoiceForm .cp-invoice-row>div:nth-child(6n+5),
#overlay .modal #invoiceForm .cp-invoice-options .fields>.field:nth-child(6n+5){--cp-v87-tint:#eafafe;--cp-v87-border:#76c7d7}
#overlay .modal #genericForm>.fields>.field:nth-child(6n),
#overlay .modal #invoiceForm .fields>.field:nth-child(6n),
#overlay .modal #invoiceForm .cp-invoice-row>div:nth-child(6n),
#overlay .modal #invoiceForm .cp-invoice-options .fields>.field:nth-child(6n){--cp-v87-tint:#fff0f1;--cp-v87-border:#e7a0aa}
#overlay .modal :is(#genericForm,#invoiceForm) .field > :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),select,textarea),
#overlay .modal #invoiceForm .cp-invoice-row>div > :is(input:not([type=checkbox]),select,textarea){
background:var(--cp-v87-tint,#f1f6ff)!important;
border:1px solid var(--cp-v87-border,#82abeb)!important;
color:#132c43!important;-webkit-text-fill-color:#132c43!important;
}
#overlay .modal :is(#genericForm,#invoiceForm) .field > :is(input,select,textarea):focus,
#overlay .modal #invoiceForm .cp-invoice-row>div > :is(input,select,textarea):focus{
outline:2px solid var(--cp-v87-border,#82abeb)!important;outline-offset:1px!important;
}
#overlay .modal #invoiceForm .cp-invoice-row:nth-child(even){background:#f4f9ff!important;border:1px solid #b6d4f5!important}
#overlay .modal #invoiceForm .cp-invoice-row:nth-child(odd){background:#fff9ed!important;border:1px solid #e4d0a9!important}
#overlay .modal #genericForm .cp-expense-kind input[readonly]{
color:#0b633f!important;-webkit-text-fill-color:#0b633f!important;
background:#e6f7ed!important;border-color:#7cca9c!important;font-weight:900!important;
}
#overlay .modal #genericForm .cp-journal-preview{font-weight:800!important;color:#153959!important;background:#eef6ff!important}
.cp-fast-entry .authbox{box-shadow:none!important;background:transparent!important}
.cp-fast-entry .cp-startup-hint{font-size:12px;color:#526b83;margin:6px 0 0}
@media(max-width:920px){
.cp-page-section.cp-section-customers #content .cp-compact-table tbody td:last-child,
.cp-page-section.cp-section-suppliers #content .cp-compact-table tbody td:last-child{
display:flex!important; flex-flow:row wrap!important; align-content:flex-start!important;
align-items:stretch!important;justify-content:flex-start!important;gap:5px!important;
padding-top:6px!important;
}
.cp-page-section.cp-section-customers #content .cp-compact-table tbody td:last-child::before,
.cp-page-section.cp-section-suppliers #content .cp-compact-table tbody td:last-child::before{
flex:0 0 100%!important; width:100%!important; margin:0 0 4px!important;
}
.cp-page-section.cp-section-customers #content .cp-compact-table tbody td:last-child > .btn,
.cp-page-section.cp-section-suppliers #content .cp-compact-table tbody td:last-child > .btn{
box-sizing:border-box!important;display:inline-flex!important;
flex:0 0 65px!important; width:65px!important;min-width:65px!important;max-width:65px!important;
height:65px!important;min-height:65px!important;max-height:65px!important;
margin:0!important;padding:4px!important;
text-align:center!important;justify-content:center!important;align-items:center!important;
white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.3!important;
font-size:10px!important;border-radius:11px!important;
}
.cp-page-section.cp-section-customers #content .cp-compact-table tbody td:last-child > .btn:nth-of-type(1),
.cp-page-section.cp-section-suppliers #content .cp-compact-table tbody td:last-child > .btn:nth-of-type(1){background:#7c3aed!important;color:white!important;border-color:#7c3aed!important;-webkit-text-fill-color:white!important;}
.cp-page-section.cp-section-customers #content .cp-compact-table tbody td:last-child > .btn:nth-of-type(3),
.cp-page-section.cp-section-suppliers #content .cp-compact-table tbody td:last-child > .btn:nth-of-type(3){background:#0e7490!important;color:white!important;border-color:#0e7490!important;-webkit-text-fill-color:white!important;}
.cp-page-section.cp-section-customers #content .cp-compact-table tbody td:last-child > .btn:nth-of-type(4),
.cp-page-section.cp-section-suppliers #content .cp-compact-table tbody td:last-child > .btn:nth-of-type(4){background:#d97706!important;color:white!important;border-color:#d97706!important;-webkit-text-fill-color:white!important;}
.cp-page-section.cp-section-customers #content .cp-compact-table tbody td:last-child > .btn.danger,
.cp-page-section.cp-section-suppliers #content .cp-compact-table tbody td:last-child > .btn.danger{background:#be123c!important;color:white!important;border-color:#be123c!important;-webkit-text-fill-color:white!important;}
}
.cp-page-section.cp-section-customers #content .cp-customer-groups{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;margin:8px 0 10px!important;}
.cp-page-section.cp-section-customers #content .cp-customer-groups .kpi{padding:9px!important;border-radius:12px!important;min-height:0!important;}
.cp-page-section.cp-section-customers #content .cp-customer-groups .ki{font-size:19px!important;}
.cp-page-section.cp-section-customers #content .cp-customer-groups span{font-size:10px!important;line-height:1.25!important;margin:3px 0!important;}
.cp-page-section.cp-section-customers #content .cp-customer-groups strong{font-size:14px!important;}
.cp-page-section.cp-section-customers #content .cp-customer-groups small{font-size:9px!important;line-height:1.25!important;}
.cp-page-section.cp-section-customers #content > .kpis:not(.cp-customer-groups){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;margin:8px 0 12px!important;}
.cp-page-section.cp-section-customers #content > .kpis:not(.cp-customer-groups) .kpi{padding:9px!important;border-radius:12px!important;}
.cp-page-section.cp-section-customers #content > .kpis:not(.cp-customer-groups) .kpi .ki{font-size:20px!important;}
.cp-page-section.cp-section-customers #content > .kpis:not(.cp-customer-groups) .kpi span{margin:4px 0!important;font-size:10px!important;}
.cp-page-section.cp-section-customers #content > .kpis:not(.cp-customer-groups) .kpi strong{font-size:16px!important;}
@media(min-width:720px){
.cp-page-section.cp-section-customers #content .cp-customer-groups{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
.cp-page-section.cp-section-customers #content > .kpis:not(.cp-customer-groups){grid-template-columns:repeat(3,minmax(0,1fr))!important;}
}
.cp-page-section.cp-section-products #content .cp-catalog-main-actions{
display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
gap:8px!important;align-items:stretch!important;width:100%!important;direction:rtl!important;
margin:0 0 12px!important;
}
.cp-page-section.cp-section-products #content .cp-catalog-main-actions > .btn{
box-sizing:border-box!important;display:flex!important;flex:1 1 auto!important;
width:100%!important;min-width:0!important;max-width:none!important;
height:86px!important;min-height:86px!important;max-height:86px!important;
border-radius:16px!important;font-size:11px!important;line-height:1.3!important;padding:6px!important;
align-items:center!important;justify-content:center!important;white-space:normal!important;text-align:center!important;
overflow-wrap:anywhere!important;word-break:normal!important;
}
.cp-page-section.cp-section-products #content .cp-catalog-main-actions > .btn:nth-child(1){background:#7c3aed!important;border-color:#7c3aed!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
.cp-page-section.cp-section-products #content .cp-catalog-main-actions > .btn:nth-child(2){background:#0369a1!important;border-color:#0369a1!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
.cp-page-section.cp-section-products #content .cp-catalog-main-actions > .btn:nth-child(3){background:#c2410c!important;border-color:#c2410c!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
@media(max-width:360px){
.cp-page-section.cp-section-products #content .cp-catalog-main-actions{gap:6px!important;}
.cp-page-section.cp-section-products #content .cp-catalog-main-actions > .btn{height:82px!important;min-height:82px!important;max-height:82px!important;font-size:10px!important;padding:5px!important;}
}
#overlay .cp-invoice-dialog #invoiceForm .cp-code-toolbar > :is(button.btn,label.btn):nth-child(1){background:#6d28d9!important;border-color:#6d28d9!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-code-toolbar > :is(button.btn,label.btn):nth-child(2){background:#0e7490!important;border-color:#0e7490!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-code-toolbar > :is(button.btn,label.btn):nth-child(3){background:#15803d!important;border-color:#15803d!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-code-toolbar > :is(button.btn,label.btn):nth-child(4){background:#d97706!important;border-color:#d97706!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-code-toolbar > :is(button.btn,label.btn):nth-child(5){background:#be185d!important;border-color:#be185d!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-options > summary{background:#b45309!important;border-color:#b45309!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-line-photo{background:#334155!important;border-color:#334155!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-addrow > :is(button.btn,label.btn):nth-child(1){background:#7c3aed!important;border-color:#7c3aed!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
#overlay .cp-invoice-dialog #invoiceForm .cp-invoice-addrow > :is(button.btn,label.btn):nth-child(2){background:#0369a1!important;border-color:#0369a1!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
#overlay .cp-invoice-dialog #invoiceForm .formactions > .btn.light{background:#a21caf!important;border-color:#a21caf!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
#overlay .cp-invoice-dialog #invoiceForm .formactions > .btn.good,
#overlay .cp-invoice-dialog #invoiceForm .formactions > .btn.primary{background:#0f766e!important;border-color:#0f766e!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
html body #root .shell main.page.cp-page-section.cp-section-products #content .btnrow.cp-catalog-main-actions > button.btn:nth-child(1){background:#7c3aed!important;border-color:#7c3aed!important;color:white!important;-webkit-text-fill-color:white!important;}
html body #root .shell main.page.cp-page-section.cp-section-products #content .btnrow.cp-catalog-main-actions > button.btn:nth-child(2){background:#be185d!important;border-color:#be185d!important;color:white!important;-webkit-text-fill-color:white!important;}
html body #root .shell main.page.cp-page-section.cp-section-products #content .btnrow.cp-catalog-main-actions > button.btn:nth-child(3){background:#0f766e!important;border-color:#0f766e!important;color:white!important;-webkit-text-fill-color:white!important;}
@media(max-width:920px){
html body #root .shell main.page.cp-page-section.cp-section-customers #content .cp-compact-table tbody td:last-child > button.btn:nth-of-type(1),
html body #root .shell main.page.cp-page-section.cp-section-suppliers #content .cp-compact-table tbody td:last-child > button.btn:nth-of-type(1){background:#7c3aed!important;border-color:#7c3aed!important;color:white!important;-webkit-text-fill-color:white!important;}
html body #root .shell main.page.cp-page-section.cp-section-customers #content .cp-compact-table tbody td:last-child > button.btn:nth-of-type(4),
html body #root .shell main.page.cp-page-section.cp-section-suppliers #content .cp-compact-table tbody td:last-child > button.btn:nth-of-type(4){background:#d97706!important;border-color:#d97706!important;color:white!important;-webkit-text-fill-color:white!important;}
}
#overlay .modal #genericForm[data-kind=journal] .cp-expense-kind input[readonly]{background:#ffe9ec!important;border-color:#e3a2aa!important;color:#9f1239!important;-webkit-text-fill-color:#9f1239!important;}
#overlay .modal #genericForm[data-kind=journal] .cp-journal-preview{background:#fff5e8!important;border-color:#edc98e!important;color:#7c2d12!important;}
.cp-page-section.cp-section-customers #content .cp-customer-groups,
.cp-page-section.cp-section-customers #content > .kpis:not(.cp-customer-groups){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;margin:6px 0 10px!important;}
.cp-page-section.cp-section-customers #content .cp-customer-groups .kpi,
.cp-page-section.cp-section-customers #content > .kpis:not(.cp-customer-groups) .kpi{padding:7px!important;border-radius:11px!important;min-height:92px!important;box-shadow:0 2px 10px #18335310!important;}
.cp-page-section.cp-section-customers #content .cp-customer-groups .ki,
.cp-page-section.cp-section-customers #content > .kpis:not(.cp-customer-groups) .ki{font-size:18px!important;}
.cp-page-section.cp-section-customers #content .cp-customer-groups span,
.cp-page-section.cp-section-customers #content > .kpis:not(.cp-customer-groups) span{font-size:9px!important;line-height:1.2!important;margin:2px 0!important;}
.cp-page-section.cp-section-customers #content .cp-customer-groups strong,
.cp-page-section.cp-section-customers #content > .kpis:not(.cp-customer-groups) strong{font-size:13px!important;line-height:1.2!important;}
.cp-page-section.cp-section-customers #content .cp-customer-groups small{font-size:8px!important;line-height:1.2!important;}
@media(max-width:920px){
.cp-page-section.cp-section-customers #content .cp-compact-table tbody td:last-child,
.cp-page-section.cp-section-suppliers #content .cp-compact-table tbody td:last-child{display:block!important;padding-top:6px!important;}
.cp-page-section.cp-section-customers #content .cp-compact-table tbody td:last-child .cp-party-actions,
.cp-page-section.cp-section-suppliers #content .cp-compact-table tbody td:last-child .cp-party-actions{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px!important;align-items:stretch!important;width:100%!important;}
.cp-page-section.cp-section-customers #content .cp-compact-table tbody td:last-child .cp-party-actions .btn,
.cp-page-section.cp-section-suppliers #content .cp-compact-table tbody td:last-child .cp-party-actions .btn{width:100%!important;min-width:0!important;max-width:none!important;height:58px!important;min-height:58px!important;max-height:58px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:4px!important;margin:0!important;border-radius:10px!important;font-size:10px!important;line-height:1.25!important;white-space:normal!important;overflow-wrap:anywhere!important;box-sizing:border-box!important;}
.cp-page-section.cp-section-customers #content .cp-compact-table tbody td:last-child .cp-party-actions .btn:nth-child(1),
.cp-page-section.cp-section-suppliers #content .cp-compact-table tbody td:last-child .cp-party-actions .btn:nth-child(1){background:#eef2ff!important;border-color:#b4bce8!important;color:#1e3a5f!important;-webkit-text-fill-color:#1e3a5f!important;}
.cp-page-section.cp-section-customers #content .cp-compact-table tbody td:last-child .cp-party-actions .btn:nth-child(2),
.cp-page-section.cp-section-suppliers #content .cp-compact-table tbody td:last-child .cp-party-actions .btn:nth-child(2){background:#be123c!important;border-color:#be123c!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
.cp-page-section.cp-section-customers #content .cp-compact-table tbody td:last-child .cp-party-actions .btn:nth-child(3),
.cp-page-section.cp-section-suppliers #content .cp-compact-table tbody td:last-child .cp-party-actions .btn:nth-child(3){background:#0369a1!important;border-color:#0369a1!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
.cp-page-section.cp-section-customers #content .cp-compact-table tbody td:last-child .cp-party-actions .btn:nth-child(4),
.cp-page-section.cp-section-suppliers #content .cp-compact-table tbody td:last-child .cp-party-actions .btn:nth-child(4){background:#e9eef8!important;border-color:#bcc7da!important;color:#173958!important;-webkit-text-fill-color:#173958!important;}
.cp-page-section.cp-section-customers #content .cp-compact-table tbody td:last-child .cp-party-actions .btn:nth-child(5),
.cp-page-section.cp-section-suppliers #content .cp-compact-table tbody td:last-child .cp-party-actions .btn:nth-child(5){background:#0f766e!important;border-color:#0f766e!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
.cp-page-section.cp-section-customers #content .cp-compact-table tbody td:last-child .cp-party-actions .btn:nth-child(6),
.cp-page-section.cp-section-suppliers #content .cp-compact-table tbody td:last-child .cp-party-actions .btn:nth-child(6){background:#15803d!important;border-color:#15803d!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
}
@media(max-width:920px){
.cp-page-section.cp-section-products #content .cp-compact-table tbody td:last-child{display:block!important;padding-top:6px!important;}
.cp-page-section.cp-section-products #content .cp-compact-table tbody td:last-child .cp-product-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;align-items:stretch!important;width:100%!important;}
.cp-page-section.cp-section-products #content .cp-compact-table tbody td:last-child .cp-product-actions .btn{width:100%!important;min-width:0!important;max-width:none!important;height:58px!important;min-height:58px!important;max-height:58px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:4px!important;margin:0!important;border-radius:10px!important;font-size:10px!important;line-height:1.25!important;white-space:normal!important;overflow-wrap:anywhere!important;box-sizing:border-box!important;}
.cp-page-section.cp-section-products #content .cp-compact-table tbody td:last-child .cp-product-actions .btn:nth-child(1){background:#eef2ff!important;border-color:#b4bce8!important;color:#1e3a5f!important;-webkit-text-fill-color:#1e3a5f!important;}
.cp-page-section.cp-section-products #content .cp-compact-table tbody td:last-child .cp-product-actions .btn:nth-child(2){background:#e9eef8!important;border-color:#bcc7da!important;color:#173958!important;-webkit-text-fill-color:#173958!important;}
.cp-page-section.cp-section-products #content .cp-compact-table tbody td:last-child .cp-product-actions .btn:nth-child(3){background:#be123c!important;border-color:#be123c!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
}
html body #root .shell main.page #content .kpis,
html body #overlay .modal .kpis {
grid-template-columns:repeat(auto-fit,minmax(100px,150px))!important;
gap:6px!important;margin:8px 0!important;justify-content:start!important;align-items:stretch!important;
}
html body #root .shell main.page #content .kpis .kpi,
html body #overlay .modal .kpis .kpi {
box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:none!important;
min-height:0!important;height:auto!important;padding:7px!important;border-radius:10px!important;
display:flex!important;flex-direction:column!important;justify-content:center!important;gap:2px!important;
box-shadow:0 2px 8px #1833530a!important;
}
html body #root .shell main.page #content .kpis .kpi .ki,
html body #overlay .modal .kpis .kpi .ki {font-size:17px!important;line-height:1.1!important;}
html body #root .shell main.page #content .kpis .kpi span,
html body #overlay .modal .kpis .kpi span {font-size:10px!important;line-height:1.3!important;margin:1px 0!important;}
html body #root .shell main.page #content .kpis .kpi strong,
html body #overlay .modal .kpis .kpi strong {font-size:14px!important;line-height:1.25!important;overflow-wrap:anywhere!important;}
html body #root .shell main.page #content .kpis .kpi small,
html body #overlay .modal .kpis .kpi small {font-size:9px!important;line-height:1.3!important;overflow-wrap:anywhere!important;}
@media(max-width:600px){
html body #root .shell main.page #content .kpis,
html body #overlay .modal .kpis {grid-template-columns:repeat(3,minmax(0,1fr))!important;}
}
html body #root .shell main.page #content .cp-compact-table td .cp-record-actions,
html body #overlay .modal .cp-compact-table td .cp-record-actions {
display:grid!important;grid-template-columns:repeat(var(--cp-action-columns),minmax(0,1fr))!important;
gap:6px!important;align-items:stretch!important;justify-content:start!important;
width:calc(var(--cp-action-columns) * 58px + (var(--cp-action-columns) - 1) * 6px)!important;
max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;
}
html body #root .shell main.page #content .cp-compact-table td .cp-record-actions > button.btn,
html body #overlay .modal .cp-compact-table td .cp-record-actions > button.btn {
box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;
width:100%!important;min-width:0!important;max-width:none!important;
height:58px!important;min-height:58px!important;max-height:58px!important;
margin:0!important;padding:4px!important;flex:none!important;align-self:stretch!important;
vertical-align:top!important;transform:none!important;position:static!important;
border-radius:10px!important;font-size:11px!important;line-height:1.25!important;
white-space:normal!important;overflow-wrap:anywhere!important;text-align:center!important;
}
html body #overlay .cp-invoice-dialog #invoiceForm .cp-invoice-options{display:block!important;position:static!important;width:100%!important;max-width:none!important;margin:9px 0!important;padding:0!important;min-height:0!important;align-self:stretch!important;grid-column:1/-1!important;border:0!important;background:transparent!important;border-radius:10px!important;}
html body #overlay .cp-invoice-dialog #invoiceForm .cp-invoice-options>summary{display:flex!important;align-items:center!important;justify-content:space-between!important;width:100%!important;min-height:39px!important;max-height:none!important;margin:0!important;padding:9px 12px!important;background:#b45309!important;color:#fff!important;font-size:13px!important;border:1px solid #cedcf1!important;border-radius:9px!important;cursor:pointer!important;}
html body #overlay .cp-invoice-dialog #invoiceForm .cp-invoice-options>.fields{position:static!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;max-height:none!important;margin:0!important;padding:10px 0 3px!important;background:transparent!important;border:0!important;box-shadow:none!important;gap:8px!important;}
html body #overlay .cp-invoice-dialog #invoiceForm .cp-invoice-options:not([open])>.fields{display:none!important}
html body #overlay #invoiceForm .cp-party-phone-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;align-items:end!important;margin:0!important;padding:0!important;}
html body #overlay #invoiceForm .cp-party-phone-row>.field{margin:0!important}
html body #overlay #invoiceForm .cp-party-phone-row>.checkinline{min-height:40px!important;font-size:11px!important;white-space:normal!important;margin:0!important;padding:3px!important;background:transparent!important;}
html body #overlay #invoiceForm #returningCustomer:empty,html body #overlay #invoiceForm #partySuggest:empty{display:none!important;}
html body #overlay #invoiceForm .cp-invoice-options p{margin:3px 0!important;}
html body #overlay #invoiceForm .cp-previous-balance{padding:7px 10px!important;margin:5px 0!important;background:#fff2cc!important;}
.cp-password-layer{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;padding:18px;background:#16263b99;direction:rtl;}
.cp-password-box{width:min(390px,100%);box-sizing:border-box;background:white;border-radius:18px;padding:22px;box-shadow:0 18px 70px #1115;color:#24384f;}
.cp-password-box h3{margin-top:0}.cp-password-box input{width:100%;box-sizing:border-box;padding:12px;border:1px solid #bbcde0;border-radius:10px;font-size:16px;margin:8px 0 16px}.cp-password-box p{line-height:1.7;font-size:13px}
.cp-inline-expander{margin:9px 0;border:1px solid #d6e2ed;border-radius:9px;padding:9px 12px}.cp-inline-expander>summary{cursor:pointer;font-weight:700}
.cp-period-chooser{display:flex!important;flex-wrap:wrap!important;align-items:end!important;gap:8px!important;padding:9px 0!important}.cp-period-chooser>label{display:grid;gap:4px;font-size:12px}.cp-period-chooser input,.cp-period-chooser select{min-height:38px;padding:6px 9px;font-size:16px;max-width:100%;border:1px solid #c7d8e5;border-radius:8px}
html body #overlay #invoiceForm .cp-tax-area{margin:6px 0;padding:8px;background:#f3e8fb;border-radius:9px;color:#583a6d}.cp-tax-area .fields{margin-top:8px}
.cp-balance-print,.cp-tax-print{margin:10px 0;padding:10px;border:1px solid #b9c9d8;border-radius:6px;line-height:1.7;color:#152b40;background:#f8fbff;break-inside:avoid;font-size:12px}.cp-balance-print h3{font-size:13px;margin:0 0 5px}.cp-balance-print p{font-size:11px;margin:4px 0}.cp-tax-print{background:#fcf8ff}
.cp-salary-search{position:relative}.cp-salary-search #cpEmployeeSuggestions:empty{display:none}.cp-salary-search #cpEmployeeSuggestions{position:absolute;top:100%;right:0;left:0;z-index:20;max-height:220px;overflow:auto;background:white;box-shadow:0 5px 15px #26374a25;border:1px solid #ccd9e5;border-radius:9px}.cp-salary-search .suggestion{display:block;width:100%;padding:10px;text-align:right;border:0;border-bottom:1px solid #eef2f7;background:white;color:#24425c}.cp-salary-search .suggestion:hover{background:#e6f4ff}
#cpSalaryPreview small{display:block;margin-top:6px;line-height:1.7}#cpSalaryFields.hidden{display:none!important}.cp-salary-deduction{padding:9px;background:#fff1e1;border-radius:9px}#cpDeductionInputs{margin-top:7px}
.cp-payslip{padding:18px;border:1px solid #cedbe7;background:white;color:#19354b;line-height:1.8;direction:rtl}.cp-payslip h2,.cp-payslip h3{margin:4px 0}.cp-payslip .cp-slip-total{background:#e7f5ed;padding:12px;border:1px solid #bfdccc;border-radius:8px;font-size:17px}
@media(max-width:600px){.cp-password-box{padding:18px}.cp-period-chooser{font-size:12px}.cp-period-chooser label{min-width:0;flex:1}.cp-period-chooser input{width:100%;box-sizing:border-box}.cp-period-chooser select{width:100%}.cp-receipt .cp-balance-print,.cp-receipt .cp-tax-print{font-size:10px;padding:4px}}
@media print{.cp-balance-print,.cp-tax-print{background:white!important;color:black!important;font-size:11px}.cp-receipt .cp-balance-print,.cp-receipt .cp-tax-print{font-size:9px;line-height:1.45}.cp-payslip{border:0;padding:4mm}.cp-password-layer{display:none!important}}
html body #overlay .modal label.checkinline{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important;min-width:0!important;max-width:100%!important;width:auto!important;min-height:28px!important;white-space:normal!important;line-height:1.6!important;}
html body #overlay .modal label.checkinline>input[type=checkbox]{appearance:auto!important;-webkit-appearance:checkbox!important;width:18px!important;min-width:18px!important;max-width:18px!important;height:18px!important;min-height:18px!important;max-height:18px!important;flex:0 0 18px!important;display:inline-block!important;margin:0!important;padding:0!important;}
html body #overlay .cp-invoice-dialog #invoiceForm .cp-invoice-options>summary{min-width:0!important;max-width:none!important;flex-direction:row!important;flex:none!important;overflow-wrap:normal!important;}
html body #overlay .cp-invoice-dialog #invoiceForm .cp-invoice-options>summary span{display:inline!important}
.cp-slip-table{width:100%;border-collapse:collapse;margin:10px 0;font-size:12px;table-layout:fixed}.cp-slip-table th,.cp-slip-table td{padding:6px 8px;border:1px solid #d4dfe8;text-align:right;overflow-wrap:anywhere}.cp-slip-table th{background:#e7eff7}.cp-slip-table th:first-child{width:72%}.cp-slip-table tbody tr:nth-child(even){background:#f6f9fc}.cp-payslip p{font-size:12px;margin:7px 0}.cp-payslip h2{font-size:21px}.cp-payslip h3{font-size:17px}
@media(max-width:600px){.cp-payslip{padding:10px}.cp-slip-table th,.cp-slip-table td{padding:5px;font-size:11px}.cp-slip-table th:first-child{width:66%}}
@media print{.cp-slip-table{display:table!important;font-size:11px}.cp-slip-table thead{display:table-header-group!important}.cp-slip-table tbody{display:table-row-group!important}.cp-slip-table tr{display:table-row!important;break-inside:avoid}.cp-slip-table th,.cp-slip-table td{display:table-cell!important;border:1px solid #aaa!important;padding:5px!important}.cp-slip-table td:before{display:none!important}}
html body #overlay .cp-invoice-dialog #invoiceForm .cp-invoice-options[open]>summary,
html body #overlay .cp-invoice-dialog #invoiceForm .cp-invoice-options:not([open])>summary{background:#b45309!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#b45309!important;height:auto!important;min-height:39px!important;max-height:none!important;}
html body .cp97-colored:focus-visible{outline:2px solid #143b66;outline-offset:2px}
@media print{html body #printArea .cp97-colored{color:#132c43!important;-webkit-text-fill-color:#132c43!important}}
html body #root .cp-page-home .gridcards>.tile.grad-orange{background:linear-gradient(130deg,#ffae1b,#ed6600)!important}
html body #root .cp-page-home .gridcards>.tile.grad-green{background:linear-gradient(130deg,#23ac6d,#007e69)!important}
html body #root .cp-page-home .gridcards>.tile.grad-purple{background:linear-gradient(130deg,#b84bea,#6427b6)!important}
html body #root .cp-page-home .gridcards>.tile.grad-blue{background:linear-gradient(130deg,#168cf0,#0754c8)!important}
html body #root .cp-page-home .gridcards>.tile.grad-cyan{background:linear-gradient(130deg,#1cc8e9,#028bbd)!important}
html body #root .cp-page-home .gridcards>.tile.grad-pink{background:linear-gradient(130deg,#e834a4,#9a137f)!important}
html body #root .cp-page-home .gridcards>.tile.grad-teal{background:linear-gradient(130deg,#24beaf,#08798b)!important}
html body #root .cp-page-home .gridcards>.tile.grad-dark{background:linear-gradient(130deg,#4f75a7,#183456)!important}
html body #root .cp-page-home .gridcards>.tile.grad-lime{background:linear-gradient(130deg,#a4c52d,#63831a)!important}
html body #root .cp-page-home .gridcards>.tile.grad-red{background:linear-gradient(130deg,#e32e62,#9c1140)!important}
html body #root .shell main.page>.heading>.btnrow>button.btn{background:linear-gradient(145deg,#fff,#f5f9ff)!important;color:#153864!important;-webkit-text-fill-color:#153864!important;border-color:#d4e2f1!important}
html body #root .shell main.page>.heading>.btnrow>button.btn span{color:#153864!important;-webkit-text-fill-color:#153864!important}
html body #overlay .modal.cp-invoice-dialog #invoiceForm .invoiceLine.cp-invoice-row>.cp100-line-actions{display:flex!important;flex-wrap:wrap!important;align-items:flex-start!important;justify-content:space-between!important;grid-column:1/-1!important;order:6!important;gap:8px!important;width:100%!important;}
html body #overlay .modal.cp-invoice-dialog #invoiceForm .cp100-line-actions>.cp-line-photo{order:0!important;flex:0 0 64px!important;align-self:flex-start!important;min-width:64px!important;width:64px!important;max-width:64px!important;grid-column:auto!important;}
html body #overlay .modal.cp-invoice-dialog #invoiceForm .cp100-remove-line{order:2!important;flex:0 0 38px!important;align-self:flex-start!important;width:38px!important;min-width:38px!important;max-width:38px!important;}
.cp100-discount{order:1;flex:1;min-width:140px;max-width:460px;align-self:center;}
html body #overlay #invoiceForm .cp100-discount-toggle{display:flex!important;justify-content:center!important;gap:8px!important;margin:0!important;padding:8px!important;background:#f1e4ff!important;border:1px solid #d2b2ee!important;border-radius:9px!important;min-height:38px!important;cursor:pointer!important;color:#4b2373!important;}
.cp100-discount-entry{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:7px;}
.cp100-discount-entry>label{min-width:0;display:grid;gap:5px;font-size:11px;}
html body #overlay #invoiceForm .cp100-discount-entry input,html body #overlay #invoiceForm .cp100-discount-entry select{width:100%!important;max-width:100%!important;min-height:39px!important;box-sizing:border-box!important;font-size:16px!important;}
.cp100-price-summary{display:flex;flex-wrap:wrap;gap:8px 18px;line-height:1.8;}.cp100-price-error{color:#a51b31!important;font-weight:bold;}
.cp100-tax-fields{display:grid;grid-template-columns:minmax(160px,1fr) minmax(160px,1fr) minmax(100px,.6fr) auto;gap:12px;align-items:end;}
.cp100-tax-fields .field{min-width:0;margin:0}.cp100-tax-fields input{width:100%;box-sizing:border-box}.cp100-tax-fields input[readonly]{opacity:1;cursor:default}.cp100-tax-edit{align-self:end;flex-wrap:wrap;margin-bottom:2px;}
html body #root #cp100TaxSettingsForm .btn.hidden{display:none!important;}
html body #root .cp-section-settings #content .cp100-reference-actions{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important;}
html body #root .cp-section-settings #content .cp100-reference-actions>button.btn{width:100%!important;max-width:none!important;min-width:0!important;}
html body #root #content .cp100-reference-journal{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important;}
html body #root #content .cp100-reference-journal>button.btn{width:100%!important;max-width:none!important;min-width:0!important;}
@media(max-width:760px){.cp100-tax-fields{grid-template-columns:1fr 1fr}.cp100-tax-edit{align-self:end;}.cp100-tax-fields input{font-size:16px!important;min-height:42px!important;}}
@media(max-width:420px){html body #overlay #invoiceForm .cp100-line-actions{gap:6px!important}.cp100-discount{min-width:130px}.cp100-discount-entry{grid-template-columns:1fr;}.cp100-tax-fields{gap:8px;}.cp100-tax-edit .btn{padding:8px 12px;}}
html body #root .top .brandtext .cp-client-name{display:block;font-size:11px;line-height:1.5;max-width:min(45vw,340px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#ffe28c;}
html body #root .cp100-tax-settings{margin-top:12px;border:1px solid #cce5e6;background:#f8fdfc;}
html body #root .cp100-tax-settings h3{margin-top:0;font-size:16px;}
html body #root .cp100-tax-settings .cp100-tax-fields{grid-template-columns:repeat(3,minmax(0,1fr));}
html body #root .cp100-tax-settings .cp100-tax-edit{grid-column:1/-1;justify-content:flex-start;}
@media(max-width:760px){html body #root .cp100-tax-settings .cp100-tax-fields{grid-template-columns:1fr 1fr;}html body #root .cp100-tax-settings .field:last-of-type{grid-column:1/-1;}}
@media(max-width:360px){html body #root .top .brandtext{display:block!important;font-size:13px!important;}html body #root .top .logo{max-width:48px;}html body #root .top .brandtext .cp-client-name{max-width:37vw;font-size:10px;}}
.invoice-owner img,.hero-owner img,.cp-receipt-owner img,html body #root .top img.avatar{object-fit:contain!important;border-radius:12px!important;background:#fff;}
#invoiceForm .cp103-money{margin:8px 0;min-width:0}
#invoiceForm .cp103-money-row{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;align-items:start}
#invoiceForm #cp103TaxSlot .cp-tax-area{margin:0!important;padding:10px!important;min-height:44px;border-radius:10px;background:#eaf5ff;border:1px solid #c8dff5}
#invoiceForm #cp103TaxSlot label{margin:0!important;font-size:13px!important;display:flex;gap:6px;align-items:center;line-height:1.6}
#invoiceForm .cp103-payment{padding:0!important;margin:0!important;border:1px solid #bcded3!important;border-radius:10px;background:#e8f7ee;min-width:0}
#invoiceForm .cp103-payment>summary{min-height:44px;padding:10px!important;cursor:pointer;font-weight:bold;font-size:13px;list-style:none}
#invoiceForm .cp103-payment>summary:after{content:' ⌄'}
#invoiceForm .cp103-payment[open]{grid-column:1/-1}
#invoiceForm .cp103-payment[open]>summary{border-bottom:1px solid #c8dfd5}
#invoiceForm #cp103PaymentFields{padding:10px!important;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#invoiceForm #cp103PaymentFields .field{min-width:0;margin:0!important}
#invoiceForm #cp103PaymentFields .field.full{grid-column:1/-1}
#invoiceForm #cp103PaymentFields .fields{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#invoiceForm #cp103PaymentFields :is(label,p){font-size:12px;line-height:1.6}
#invoiceForm #cp103PaymentFields :is(input:not([type=checkbox]),select){min-height:40px!important;height:40px;padding:7px!important;width:100%;font-size:16px!important}
#invoiceForm #cp103DiscountSlot{display:flex;justify-content:flex-start;margin:6px 0;min-width:0}
#invoiceForm #cp103DiscountSlot>.cp100-discount{width:auto!important;min-width:120px;max-width:100%;margin:0!important;padding:8px!important;border-radius:10px;background:#fff0e3}
#invoiceForm #cp103DiscountSlot .cp100-discount-entry{display:flex;flex-wrap:wrap;gap:8px}
#invoiceForm #cp103DiscountSlot .cp100-discount-entry>label{flex:1 1 125px;min-width:0}
#invoiceForm .cp103-purchase-label{display:block;min-height:44px;border-radius:10px;padding:10px;background:#edf2ff;font-weight:bold;font-size:13px}
#invoiceForm .installments{max-height:32vh;max-height:32dvh;overflow:auto;overscroll-behavior:contain;padding:3px}
#invoiceForm .installment{display:grid!important;grid-template-columns:65px minmax(70px,1fr) minmax(125px,1.2fr)!important;gap:5px;align-items:center}
#invoiceForm .installment>b{font-size:11px}
#invoiceForm .cp103-party{margin-bottom:6px!important}
.cp103-catalog-dashboard{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(140px,1fr))!important;gap:8px!important}
.cp103-catalog-card{min-width:0!important;width:100%!important;height:auto!important;min-height:85px!important;max-height:none!important;padding:12px!important;text-align:right;border:1px solid #d3dfef!important;border-radius:14px!important;display:flex!important;flex-direction:column;gap:8px;color:#173450;cursor:pointer}
.cp103-catalog-card>span{font-size:12px!important;line-height:1.6}.cp103-catalog-card>b{font-size:18px!important}
.cp103-catalog-card:nth-child(5n+1){background:#e9f2ff!important}.cp103-catalog-card:nth-child(5n+2){background:#fff1d7!important}.cp103-catalog-card:nth-child(5n+3){background:#e5f6ec!important}.cp103-catalog-card:nth-child(5n+4){background:#f1e9ff!important}.cp103-catalog-card:nth-child(5n+5){background:#ffe9f0!important}
#overlay:has(.cp103-stocktake-modal),#overlay:has(.cp103-stock-modal){overflow:hidden!important}
#overlay .cp103-stocktake-modal,#overlay .cp103-stock-modal{position:fixed!important;inset:12px!important;transform:none!important;max-height:calc(100vh - 24px)!important;max-height:calc(100dvh - 24px)!important;width:auto!important;max-width:1050px!important;margin:0 auto!important;overflow:auto!important;padding:12px!important;border-radius:14px!important}
#overlay .cp103-stock-modal{inset:8vh 10px!important;max-width:600px!important;max-height:84vh!important}
#overlay .cp103-stocktake-modal .cp-stock-table-wrap{max-height:38vh!important;overflow:auto!important;overscroll-behavior:contain}
#overlay .cp103-stocktake-modal .formactions{position:sticky;bottom:0;background:#fff;padding:9px 0!important;z-index:3;display:flex;flex-wrap:wrap;gap:6px}
#overlay .cp103-stocktake-modal .cp-stock-toolbar{display:flex!important;flex-wrap:wrap;gap:6px}
#overlay .cp103-stocktake-modal .cp-stock-toolbar>input{flex:1 1 145px;min-width:0;height:40px;font-size:16px}
#overlay .cp103-stocktake-modal :is(h3,p){margin:5px 0!important}
#overlay .cp103-stocktake-modal :is(th,td){padding:7px!important;font-size:12px}
#overlay .cp103-stocktake-modal .cp-live-view{height:24vh!important;max-height:170px!important}
.cp103-install-steps{text-align:right;padding-inline-start:24px;line-height:1.8;font-size:14px}.cp103-install-steps>li{margin-bottom:10px}
.cp-install-card>a.cp-install-primary{margin-top:10px;text-decoration:none;width:100%}
.cp103-header-install{min-width:0!important;min-height:34px!important;height:auto!important;width:auto!important;max-width:165px!important;padding:7px 10px!important;font-size:11px!important;animation:none!important}
.cp103-device-tools{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.cp103-pay-columns{display:grid;grid-template-columns:1.6fr 1fr;gap:12px}
.cp103-pay-columns>section{border:1px solid #cedbec;border-radius:10px;padding:12px;background:#f8fbff}
.cp103-pay-columns>section:nth-child(2){background:#edf8f1}
.cp103-pay-columns h3{margin:0 0 12px;font-size:16px}
.cp103-pay-columns dl{display:grid;grid-template-columns:1fr auto;gap:10px;margin:0;font-size:13px}
.cp103-pay-columns dt,.cp103-pay-columns dd{margin:0;padding-bottom:6px;border-bottom:1px solid #dbe5ef;line-height:1.6}
.cp103-pay-columns dd{font-weight:bold;white-space:nowrap}
.cp103-pay-total{background:#e7f0ff;padding:14px;border-radius:10px;margin:10px 0;font-size:14px;line-height:1.9}
.cp103-voucher-head{display:flex;align-items:center;gap:15px;margin-bottom:12px}
.cp103-voucher-head>img{width:74px;height:74px;object-fit:contain}.cp103-voucher-head h2,.cp103-voucher-head h3{margin:5px 0}
.cp103-print-brand{display:inline-flex;align-items:center;gap:8px;font-size:12px}.cp103-print-brand>img{width:36px!important;height:36px!important;object-fit:contain}
.cp103-month-statement{border:1px solid #d6e0eb;border-radius:12px;padding:12px;margin-top:15px}.cp103-month-statement>summary{font-weight:bold;cursor:pointer;padding:8px}
@media(max-width:560px){.cp103-catalog-dashboard{grid-template-columns:repeat(2,minmax(0,1fr))!important}.cp103-pay-columns{gap:6px;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}.cp103-pay-columns>section{padding:8px}.cp103-pay-columns dl{font-size:11px;gap:6px}.cp103-pay-columns dd{white-space:normal}.cp103-pay-columns h3{font-size:13px}#invoiceForm #cp103PaymentFields{padding:8px!important}.cp103-header-install{max-width:95px!important;font-size:10px!important}#root .top .topright{gap:5px;flex-wrap:wrap}.cp103-stocktake-modal .formactions>.btn{min-height:40px!important;height:auto!important;max-height:none!important;width:auto!important;flex:1;white-space:normal!important;font-size:11px!important}}
@media print{.cp103-pay-columns{display:grid!important;grid-template-columns:1.6fr 1fr!important;break-inside:avoid}.cp103-voucher-head{break-inside:avoid}.cp103-device-tools,.cp103-header-install{display:none!important}.cp103-print-brand img{object-fit:contain}}
.cp-drive-status{font-size:12px;max-width:240px;overflow-wrap:anywhere}.cp-scan-reader{white-space:normal}.cp-cloud-toast{position:fixed;bottom:16px;left:16px;right:16px;margin:auto;max-width:390px;background:#183c64;color:white;z-index:99000;padding:16px;border-radius:15px;box-shadow:0 6px 30px #1127}.cp-cloud-toast p{line-height:1.7;font-size:13px}.cp-cloud-toast button{min-height:44px;padding:9px 12px;border-radius:9px;border:1px solid #d1def0;background:white;color:#153d69;margin:4px}.cp-cloud-toast [role=status]{display:block;font-size:13px;line-height:1.7}.cp-cloud-toast button:disabled{opacity:.65}@media print{.cp-cloud-toast,.cp-drive-action{display:none!important}}
.cp-drive-action{min-width:0!important;max-width:140px!important;width:auto!important;min-height:34px!important;padding:7px 10px!important;font-size:11px!important;white-space:normal;overflow-wrap:anywhere}@media(max-width:560px){.cp-drive-action{max-width:105px!important;font-size:10px!important}#cpProductScanner .cp-live-view{max-height:36vh}}
