:root{color-scheme:dark;--bg:#101716;--panel:#18211f;--panel2:#1d2824;--line:#2b3831;--text:#edf2e9;--muted:#91a294;--green:#bad7a9;--gold:#dfc695;--red:#ee9e92}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:var(--green)}h1,h2,h3,p{margin:0}h1{font-size:30px;letter-spacing:-1px;font-weight:600}h2{font-size:18px;font-weight:600}h3{font-size:15px}small,.muted{color:var(--muted)}button{border:0;color:inherit;background:none}svg{width:20px;height:20px;flex-shrink:0;vertical-align:middle;stroke:currentColor;stroke-width:1.7;fill:none}.shell{display:grid;grid-template-columns:232px minmax(0,1fr);min-height:100vh}.sidebar{border-right:1px solid var(--line);padding:30px 17px;display:flex;flex-direction:column;gap:30px;position:fixed;width:232px;height:100vh;background:#111b17;z-index:10}.brand{display:flex;align-items:center;gap:12px;padding:0 10px}.brand img{width:39px;height:39px}.brand b{font-size:23px;font-weight:600;letter-spacing:1px}.brand small{display:block;font-size:10px;letter-spacing:2px;margin-top:-5px}.nav-label{font-size:10px;letter-spacing:2px;padding:0 14px;margin-bottom:12px;color:#738579}.nav{display:flex;flex-direction:column;gap:6px}.nav button{display:flex;gap:13px;padding:13px 14px;border-radius:9px;color:#a5b4a7;text-align:left}.nav button.active{background:var(--green);color:#1d2c21;font-weight:650}.nav button:not(.active):hover{background:#202d25}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding:20px 8px 0}.workspace{grid-column:2;min-width:0}.topbar{height:78px;border-bottom:1px solid var(--line);padding:0 36px;display:flex;align-items:center;justify-content:space-between;gap:16px}.crumb{color:var(--muted);font-size:12px}.crumb b{color:#d8e2d4;font-weight:500}.userbadge{display:flex;align-items:center;gap:12px}.avatar{width:34px;height:34px;border-radius:50%;background:#314437;color:var(--green);display:grid;place-items:center;font-size:12px;font-weight:700}.status-dot{width:6px;height:6px;border-radius:50%;background:var(--green);display:inline-block;margin-right:5px}.content{padding:30px 36px 44px;max-width:1900px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px}.page-head p{color:var(--muted);margin-top:5px}.eyebrow{color:var(--green);font-size:10px;letter-spacing:2px;margin-bottom:7px}.actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 15px;border-radius:8px;background:#25322b;border:1px solid #344338;font-weight:500;white-space:nowrap;text-decoration:none;color:var(--text)}.btn:hover{filter:brightness(1.12)}.primary{background:var(--green);color:#1b2e1b;border-color:var(--green);font-weight:650}.gold{background:#3a3427;color:var(--gold);border-color:#5a5036}.danger{color:var(--red);border-color:#5b3d34;background:#312620}.ghost{background:transparent;border:1px solid var(--line)}.small{font-size:12px;padding:6px 10px}.icon-btn{display:inline-grid;place-items:center;padding:7px;border-radius:6px;color:var(--muted)}.icon-btn:hover{background:var(--panel2);color:white}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.metric{border:1px solid var(--line);border-radius:12px;padding:20px;background:var(--panel)}.metric .label{display:flex;justify-content:space-between;color:var(--muted);font-size:12px}.metric strong{display:block;font-size:28px;letter-spacing:-.7px;margin:12px 0 7px;font-weight:500;font-variant-numeric:tabular-nums}.metric em{font-style:normal;font-size:11px;color:var(--muted)}.metric.highlight{background:linear-gradient(135deg,#2c3d2b,#1d2c23);border-color:#506344}.metric.highlight strong{color:var(--green)}.panel{background:var(--panel);border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-bottom:20px}.panel-header{padding:20px 22px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-body{padding:22px}.grid2{display:grid;grid-template-columns:1.45fr 1fr;gap:22px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}th{font-size:10px;letter-spacing:1px;text-transform:uppercase;color:#8c9e90;font-weight:500;padding:14px 20px;background:#15201a}td{padding:16px 20px;border-bottom:1px solid #29352e;font-size:13px}tr:last-child td{border-bottom:0}tbody tr:hover{background:#1d2a22}td small{display:block}td.number,th.number{text-align:right;font-variant-numeric:tabular-nums}.badge{display:inline-flex;font-size:10px;padding:3px 8px;border-radius:5px;background:#293c2e;color:var(--green)}.badge.gold{background:#393424;color:var(--gold)}.badge.red{background:#3e2b26;color:var(--red)}.empty{text-align:center;padding:48px 20px;color:var(--muted)}.empty svg{width:36px;height:36px;margin-bottom:13px}.empty h3{color:var(--text);margin-bottom:6px}.empty .btn{margin-top:18px}.search{position:relative;min-width:240px}.search svg{position:absolute;left:13px;top:12px;width:17px;color:var(--muted)}.search input{padding-left:40px}.input,input,select,textarea{border:1px solid #354438;border-radius:7px;background:#101b15;color:var(--text);padding:10px 12px;width:100%;min-width:0}input::placeholder,textarea::placeholder{color:#697d6e}input:focus,select:focus,textarea:focus{border-color:var(--green);outline:1px solid var(--green)}input[type=date]{width:145px;font-size:12px;padding:8px}label{font-size:12px;color:#b4c3b6;display:flex;flex-direction:column;gap:7px}label small{font-size:10px}input[type=checkbox]{width:auto;accent-color:var(--green)}.filters{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:20px}.filters .search{flex:1}.tabs{display:flex;gap:6px;flex-wrap:wrap}.tab{padding:8px 13px;color:var(--muted);border-radius:6px;font-size:12px;border:1px solid var(--line)}.tab.active{color:var(--green);background:#28392b;border-color:#43583e}.pos{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:22px;align-items:start}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.product-card{text-align:left;background:var(--panel);border:1px solid var(--line);padding:17px;border-radius:10px;min-height:150px;display:flex;flex-direction:column;gap:8px}.product-card:hover{border-color:#718865;background:#202f24}.product-card:disabled{opacity:.42;cursor:not-allowed}.product-top{display:flex;justify-content:space-between;align-items:center}.product-icon{border-radius:9px;padding:10px;color:var(--green);background:#2c3d2d}.product-card .price{margin-top:auto;font-size:20px;color:#e8efdf}.product-card .meta{font-size:10px;color:var(--muted)}.cart{position:sticky;top:20px}.cart .panel-header{background:#243328}.cart-items{padding:4px 18px;max-height:360px;overflow:auto}.cart-line{padding:16px 0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:1fr auto;gap:7px}.cart-line small{display:block}.qty{display:inline-flex;align-items:center;gap:12px;border:1px solid #3c4b3f;border-radius:6px;padding:2px 4px}.qty button{padding:2px 5px}.qty span{min-width:16px;text-align:center;font-size:12px}.cart-footer{padding:20px;background:#1c2921}.total-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.total-row strong{font-size:30px;font-weight:500;letter-spacing:-1px}.pay-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0 10px}.quick-pay{display:flex;gap:8px;margin-bottom:18px}.quick-pay button{flex:1}.debt-row{display:flex;justify-content:space-between;padding:10px 0 18px;color:var(--gold)}.wide{width:100%;margin-top:8px}.hint{font-size:11px;color:var(--muted);margin-top:12px;line-height:1.65}.banner{border:1px solid #576443;border-radius:9px;padding:16px 18px;background:#293423;display:flex;gap:13px;align-items:center;margin-bottom:22px}.banner p{font-size:12px;color:#b6c5a8;margin-top:3px}.positive{color:var(--green)}.negative{color:var(--red)}.bar-row{display:grid;grid-template-columns:110px 1fr 100px;gap:12px;align-items:center;margin:16px 0;font-size:12px}.bar-track{height:7px;background:#2b3b2f;border-radius:10px;overflow:hidden}.bar-track span{display:block;height:100%;background:var(--green);border-radius:10px}.flow-row{display:flex;justify-content:space-between;align-items:center;padding:13px 0;border-bottom:1px solid var(--line)}.flow-row:last-child{border:0}.flow-row p{font-size:12px;color:var(--muted)}.flow-icon{display:flex;gap:13px;align-items:center}.footnote{margin:12px 2px;color:var(--muted);font-size:11px}.login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-art{padding:60px;display:flex;flex-direction:column;justify-content:space-between;background:radial-gradient(ellipse at 30% 80%,#355436,transparent 65%),#15241b;border-right:1px solid var(--line)}.login-art h1{font-size:58px;line-height:1.15;max-width:470px;font-weight:450}.login-art h1 span{color:var(--green)}.login-art p{margin-top:22px;color:#9eaf9e;font-size:16px;max-width:360px}.login-form{padding:40px;display:grid;place-items:center}.login-box{width:100%;max-width:360px}.login-box form{display:flex;flex-direction:column;gap:20px;margin-top:30px}.login-box h2{font-size:28px}.login-box>p{color:var(--muted);margin-top:9px}.loading{height:100vh;display:grid;place-content:center;gap:12px;text-align:center;font-size:30px;letter-spacing:5px;color:var(--green)}.loading span{font-size:12px;letter-spacing:0;color:var(--muted)}dialog{background:#1a261e;color:var(--text);border:1px solid #4b5c47;border-radius:14px;padding:0;width:min(680px,94vw);max-height:90vh;box-shadow:0 30px 100px #0008}dialog::backdrop{background:#080e0bc9;backdrop-filter:blur(5px)}dialog.large{width:min(1120px,96vw)}.modal-head{display:flex;justify-content:space-between;align-items:center;padding:22px 25px;border-bottom:1px solid var(--line)}.modal-body{padding:24px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.span2{grid-column:span 2}.modal-foot{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.error{color:var(--red);font-size:12px;white-space:pre-line}.form-error{margin-top:16px}.customer-option{display:flex;justify-content:space-between;width:100%;padding:15px;border:1px solid var(--line);border-radius:8px;text-align:left;margin-top:9px}.customer-option:hover{border-color:var(--green)}.customer-options{max-height:290px;overflow:auto;margin-top:15px}.customer-option small{display:block}.invoice-zone{border:1px dashed #58694f;border-radius:9px;text-align:center;padding:28px;margin:18px 0;background:#202e23}.invoice-zone input{margin:15px auto;max-width:400px}.purchase-lines{display:flex;flex-direction:column;gap:15px;margin-top:15px}.purchase-line{background:#142017;border:1px solid #3b4c39;border-radius:8px;padding:15px}.purchase-line .form-grid{grid-template-columns:2fr 1fr 1fr 1fr;gap:12px}.purchase-line label{font-size:10px}.purchase-line input,.purchase-line select{padding:8px;font-size:12px}.purchase-line .new-fields{display:flex;gap:10px;margin-top:10px}.purchase-line .new-fields>*{flex:1}.invoice-preview{max-width:100%;max-height:230px;border-radius:8px;margin:15px 0}.invoice-warnings{color:var(--gold);font-size:12px;margin:12px 0;white-space:pre-line}.scan-video{width:100%;background:#0a100c;border-radius:10px;max-height:340px;object-fit:cover}.scan-result{padding:15px;border:1px solid #485d40;margin-top:12px;border-radius:8px}.receipt{background:#fff;color:#111;padding:25px;border-radius:4px}.receipt table th,.receipt table td{background:white;color:#111;border-color:#ddd}.receipt .total-row{margin-top:18px}.mobile-menu{display:none}.report-controls{display:flex;gap:8px;align-items:center}.receipt small{color:#666}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%) translateY(100px);opacity:0;z-index:100;max-width:90vw;background:#c9dfb9;color:#183016;padding:14px 22px;border-radius:9px;box-shadow:0 8px 40px #0006;transition:.2s;pointer-events:none}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}#toast.bad{background:#edb5a4;color:#482117}.checkbox-row{display:flex;flex-direction:row;align-items:center;gap:10px}.customer-title{display:flex;align-items:center;gap:12px}.subtle-card{border:1px solid var(--line);border-radius:8px;padding:16px}.report-note{font-size:12px;color:var(--muted);line-height:1.7;margin-bottom:18px}
@media(min-width:1550px){.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1200px){.sidebar{width:200px;padding:25px 12px}.shell{grid-template-columns:200px 1fr}.content{padding:25px 22px}.topbar{padding:0 22px}.pos{grid-template-columns:1fr 340px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metric strong{font-size:23px}.cards{gap:10px}.metric{padding:17px}}@media(max-width:950px){.cards{grid-template-columns:repeat(2,1fr)}.grid2{grid-template-columns:1fr}.sidebar{transform:translateX(-100%);width:232px;transition:.2s}.sidebar.open{transform:translateX(0);box-shadow:0 0 0 100vmax #0009}.shell{display:block}.mobile-menu{display:block}.pos{grid-template-columns:1fr 340px}.login-art{padding:35px}.login-art h1{font-size:44px}.page-head{align-items:flex-start}}@media(max-width:700px){.topbar{height:65px;padding:0 16px}.content{padding:22px 16px}.crumb{display:none}.page-head{flex-direction:column;gap:14px}.page-head h1{font-size:27px}.pos{grid-template-columns:1fr}.cart{position:static}.product-grid{grid-template-columns:repeat(2,1fr)}.product-card{min-height:140px}.cards{gap:9px}.metric{padding:15px}.metric strong{font-size:23px}.metric .label{font-size:10px}.metric em{font-size:10px}.panel-header{padding:17px}.panel-body{padding:17px}.login{display:block}.login-art{padding:25px;min-height:200px;border:0}.login-art h1{font-size:30px;margin-top:35px}.login-art p,.login-art .hint{display:none}.login-form{padding:35px 25px}.form-grid{grid-template-columns:1fr}.span2{grid-column:span 1}.modal-body{padding:18px}.modal-head{padding:18px}.purchase-line .form-grid{grid-template-columns:1fr 1fr}.purchase-line .new-fields{flex-wrap:wrap}.purchase-line .new-fields>*{flex:1 1 45%}.search{min-width:190px}.report-controls{flex-wrap:wrap}.bar-row{grid-template-columns:90px 1fr 80px}.userbadge small{display:none}.filters .tabs{width:100%}}
@media print{body{background:white!important;color:black!important}.shell,#toast{display:none!important}dialog{display:block!important;position:static;width:100%;max-height:none;border:0;box-shadow:none;background:white}dialog .modal-head,.modal-foot,.hint,.form-error{display:none}dialog::backdrop{display:none}.receipt{padding:0}td,th{padding:7px!important}}

/* RENOPOS MANUAL SEARCH 1 */
.pos-barcode-label{margin-bottom:7px;color:var(--muted)}.pos-search-panel{padding:18px;border:1px solid #526548;background:linear-gradient(135deg,#233524,#19281e);border-radius:11px;margin-bottom:20px}.pos-search-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:13px}.pos-search-heading h2{font-size:16px;display:flex;align-items:center;gap:9px}.pos-search-heading small{font-size:11px}.pos-search-form{display:flex;gap:9px;flex-wrap:wrap}.pos-search-form .search{flex:1 1 240px;min-width:0}.pos-search-form input{padding-right:12px}.pos-search-panel .hint{margin-top:11px}.pos-search-status{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:11px;color:var(--muted);margin:0 0 12px;overflow-wrap:anywhere}.pos-search-status b{color:var(--text)}.pos-add{display:flex;align-items:center;gap:6px;border-top:1px solid var(--line);padding-top:10px;margin-top:4px;font-size:11px;color:var(--green)}.pos-add.negative{color:var(--red)}.pos-add svg{width:14px;height:14px}@media(max-width:700px){.pos-search-panel{padding:15px}.pos-search-heading{align-items:flex-start;flex-direction:column;gap:4px}.pos-search-form .search{flex-basis:100%}.pos-search-form .btn{flex:1}.pos-search-status{font-size:10px}}

/* RENOPOS PREMIUM 1 */
:root{color-scheme:light;--bg:#f3f5f7;--panel:#fff;--panel2:#f4f7f8;--line:#e4e9ed;--text:#202e3b;--muted:#73828e;--green:#13806b;--gold:#a36c20;--red:#c64c55;--field:#fff;--hover:#f3f7f7;--soft:#eaf5f0;--nav:#111e29;--shadow:0 4px 20px #172a3810;--focus:#168872;--faint:#f8fafb}
:root[data-theme=dark]{color-scheme:dark;--bg:#0f171e;--panel:#17222c;--panel2:#1d2b36;--line:#2a3945;--text:#e7edf2;--muted:#93a6b5;--green:#75d4b4;--gold:#e4bc76;--red:#f18c95;--field:#121d26;--hover:#202f3a;--soft:#1a3933;--nav:#0c141c;--shadow:0 4px 20px #0002;--focus:#75d4b4;--faint:#14202a}
body{font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;background:var(--bg);color:var(--text);font-size:13px;line-height:1.55;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button:disabled{cursor:not-allowed}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible{outline:3px solid var(--focus);outline-offset:3px}button,a,input,select{transition:background .16s,border-color .16s,box-shadow .16s}svg{width:19px;height:19px;stroke-width:1.65}h1{font-size:31px;line-height:1.25;letter-spacing:-1.15px;font-weight:680}h2{font-size:15px;font-weight:650;letter-spacing:-.25px}h3{font-weight:650}.shell{grid-template-columns:242px minmax(0,1fr)}.sidebar{width:242px;background:var(--nav);color:#eff5f8;border:0;padding:31px 18px 18px;gap:0;z-index:40;overflow-y:auto;height:100dvh}.brand{padding:0 12px;gap:11px}.brand img{width:38px;height:38px;border-radius:11px;box-shadow:0 5px 17px #0002}.brand b{font-size:25px;font-weight:750;letter-spacing:-1px}.brand small{font-size:8px;color:#9aaebd;letter-spacing:2.5px;margin-top:-3px}.workspace-label{font-size:10px;color:#849aa9;margin:23px 12px 12px;padding-bottom:22px;border-bottom:1px solid #ffffff0b}.status-dot{background:#5ed1a9;width:5px;height:5px}.nav{gap:22px;margin-top:5px}.nav-group{display:flex;flex-direction:column;gap:4px}.nav-label{font-size:9px;letter-spacing:1.7px;color:#657e90;padding:0 14px;margin:0 0 7px}.nav button{align-items:center;gap:12px;padding:11px 13px;color:#a9bac6;font-size:12px;border-radius:9px;min-height:42px;position:relative}.nav button span{flex:1}.nav button.active{background:#223b40;color:#a1ebcd;font-weight:600;box-shadow:inset 3px 0 #86dab9}.nav button:not(.active):hover{background:#ffffff09;color:white}.nav button em{font-style:normal;font-size:10px;min-width:20px;padding:1px 5px;background:#ffffff0c;border-radius:5px;text-align:center}.sidebar-bottom{border-color:#ffffff0b;padding:16px 5px 0;margin-top:auto}.command-side{display:flex;align-items:center;width:100%;gap:9px;color:#839cac;font-size:11px;padding:12px 5px 17px}.command-side span{flex:1;text-align:left}.side-user{display:flex;align-items:center;gap:9px;border-top:1px solid #ffffff0b;padding-top:17px}.side-user>div:nth-child(2){flex:1;min-width:0}.side-user b{font-size:12px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.side-user small{font-size:10px;color:#829cab;display:block}.side-user .icon-btn{color:#9eb0bd}.avatar{width:34px;height:34px;background:#29444c;color:#b5e8d8;border-radius:10px}.workspace{min-height:100vh;display:flex;flex-direction:column}.topbar{height:76px;padding:0 34px;background:var(--panel);border-color:var(--line);gap:12px}.crumb{font-size:11px;display:flex;align-items:center;gap:13px}.crumb span{color:#b7c2ca}.crumb b{color:var(--text);font-weight:550}.top-tools{display:flex;align-items:center;gap:10px}.sync-label{font-size:10px;color:var(--muted);margin-right:5px}.icon-btn{color:var(--muted);border:1px solid transparent;padding:8px;border-radius:8px;min-width:34px;min-height:34px}.icon-btn:hover{background:var(--panel2);color:var(--text);border-color:var(--line)}.side-user .icon-btn:hover{background:#ffffff10;color:white}.content{padding:31px 34px 32px;width:100%;max-width:1800px;flex:1}.workspace-footer{display:flex;align-items:center;justify-content:space-between;padding:0 34px 24px;color:var(--muted);font-size:10px;letter-spacing:.15px}.workspace-footer b{font-weight:400;opacity:.6;margin-left:5px}.page-head{margin-bottom:25px;gap:20px;align-items:center}.page-head p{font-size:12px;margin-top:9px;color:var(--muted)}.eyebrow{font-size:9px;letter-spacing:1.8px;color:var(--green);font-weight:650;margin-bottom:8px}.date-caption{display:flex;gap:8px;align-items:center;font-size:11px;color:var(--muted)}.btn{padding:10px 15px;min-height:40px;background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:8px;font-weight:600;font-size:12px;box-shadow:0 2px 2px #162c3a03;line-height:1.35}.btn:hover{filter:none;background:var(--hover);border-color:#bbc9c8}.btn.primary{background:#147c66;border-color:#147c66;color:#fff;box-shadow:0 3px 8px #10735e20}.btn.primary:hover{background:#0e6956;border-color:#0e6956}.btn.gold{color:var(--gold);border-color:#d7aa6550;background:#dcab6510}.btn.danger{color:var(--red);background:#c64c5510;border-color:#c64c5540}.btn.small{padding:7px 11px;min-height:32px;font-size:11px}.btn.wide{min-height:46px}.btn.ghost{background:transparent}.btn.ghost:hover{background:var(--hover)}kbd{border:1px solid var(--line);border-radius:4px;padding:1px 5px;font-family:inherit;font-size:9px;line-height:1.6;color:var(--muted);background:var(--faint)}.command-side kbd{border-color:#ffffff15;background:#ffffff06;color:#78919f}.command-top kbd{margin-left:8px}.cards{gap:16px;margin-bottom:22px}.metric{padding:21px 21px 18px;border:1px solid var(--line);border-radius:12px;background:var(--panel);box-shadow:0 2px 3px #172a3803;min-width:0;position:relative}.metric .label{font-size:11px;color:var(--muted);gap:12px;align-items:center;line-height:1.4}.metric .label svg{width:19px;height:19px;color:#88a49a}.metric strong{font-size:29px;letter-spacing:-1px;font-weight:680;margin:13px 0 8px;line-height:1.15;white-space:nowrap}.metric em{font-size:10px;line-height:1.5;display:block}.metric.highlight{background:linear-gradient(120deg,#183d3b,#102e32);border-color:#183d3b}.metric.highlight strong{color:#effbf6}.metric.highlight .label{color:#b5d7ca}.metric.highlight .label svg{color:#a7dccc}.metric.highlight em{color:#83b6a7}.panel{border:1px solid var(--line);border-radius:12px;box-shadow:0 3px 5px #172a3803;background:var(--panel);margin-bottom:22px}.panel-header{padding:19px 22px;min-height:64px;background:transparent;border-color:var(--line)}.panel-subtitle{color:var(--muted);font-size:10px}.panel-body{padding:19px 22px}.quick-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:26px}.quick-actions>button{display:flex;gap:11px;align-items:center;text-align:left;background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:15px;min-width:0}.quick-actions>button:hover{border-color:#95b8ab;box-shadow:var(--shadow)}.quick-icon{display:grid;place-items:center;background:var(--soft);border:1px solid #6aa78c16;border-radius:9px;color:var(--green);width:36px;height:36px;flex-shrink:0}.quick-actions>button>span:nth-child(2){flex:1;min-width:0}.quick-actions b{font-size:12px;font-weight:600;display:block}.quick-actions small{font-size:9px;color:var(--muted);display:block;margin-top:3px}.quick-actions>button>svg{width:13px;color:var(--muted);flex-shrink:0}.dashboard-charts{display:grid;grid-template-columns:1fr 1.15fr;gap:22px}.dashboard-operations{display:grid;grid-template-columns:1fr 1.15fr;gap:22px}.dashboard-charts>.panel,.dashboard-operations>.panel{min-width:0}.payment-chart{padding:24px;display:grid;grid-template-columns:168px 1fr;gap:20px;align-items:center}.donut{width:168px;height:168px;border-radius:50%;background:conic-gradient(#198771 0% var(--cash),#7c99b8 var(--cash) var(--card),#d9b477 var(--card) 100%);display:grid;place-items:center;position:relative}.donut.empty-donut{background:var(--line)}.donut:before{content:'';position:absolute;inset:13px;background:var(--panel);border-radius:50%}.donut>div{position:relative;text-align:center}.donut small{display:block;font-size:9px}.donut strong{display:block;font-size:20px;font-weight:680;letter-spacing:-.7px;margin:5px 0}.donut span{font-size:10px;color:var(--muted)}.chart-legend{min-width:0}.chart-legend>div{display:grid;grid-template-columns:1fr auto;gap:4px 8px;padding:11px 0;border-bottom:1px solid var(--line);font-size:11px}.chart-legend>div:last-child{border:0}.chart-legend span{display:flex;align-items:center;gap:7px}.chart-legend b{font-size:12px;font-weight:650;white-space:nowrap}.chart-legend small{grid-column:2;text-align:right;font-size:9px}.legend-dot{width:7px;height:7px;border-radius:50%;background:#198771;display:inline-block}.legend-dot.card{background:#7c99b8}.legend-dot.debt{background:#d9b477}.payment-chart .hint{grid-column:1/-1;font-size:10px;margin:0}.ranking{padding:9px 22px 18px}.rank-row{display:flex;align-items:flex-start;gap:13px;padding:12px 0}.rank-number{font-size:11px;font-variant-numeric:tabular-nums;color:#9aacb7;margin-top:1px}.rank-detail{flex:1;min-width:0}.rank-detail>div:first-child{display:flex;justify-content:space-between;gap:15px;font-size:11px;margin-bottom:8px}.rank-detail b{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rank-detail strong{white-space:nowrap;font-weight:600}.rank-detail small{font-size:9px;display:block;margin-top:5px}.bar-track{height:5px;background:var(--panel2)}.bar-track span{background:#62aa90}.watchlist{padding:8px 22px}.watchlist>button{display:flex;gap:13px;align-items:center;padding:17px 0;text-align:left;width:100%;border-bottom:1px solid var(--line)}.watchlist>button:last-child{border:0}.watchlist>button>span:nth-child(2){flex:1}.watchlist b{font-size:12px;font-weight:550;display:block}.watchlist small{font-size:10px;display:block;margin-top:4px}.watchlist strong{font-size:17px;font-weight:650}.watchlist>button>svg{width:13px;color:var(--muted)}.watch-icon{width:37px;height:37px;display:grid;place-items:center;background:var(--soft);border-radius:10px;color:var(--green)}.watch-icon.attention{background:#cfad6e15;color:var(--gold)}.flow-row{padding:12px 0;border-color:var(--line);font-size:12px;gap:15px}.flow-row b{font-weight:600;white-space:nowrap}.flow-row p{font-size:10px}.flow-icon{gap:12px}.flow-icon svg{color:var(--muted);width:17px}.hint{font-size:10px;line-height:1.75;color:var(--muted)}.banner{background:var(--soft);border-color:#58a38735;padding:17px 20px;border-radius:10px}.banner>div{flex:1}.banner p{color:var(--muted);font-size:11px}.banner>svg{color:var(--green)}.grid2{grid-template-columns:1fr 1fr;gap:22px}.date-toolbar{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:0 0 23px;flex-wrap:wrap}.date-presets{display:flex;border:1px solid var(--line);background:var(--panel);border-radius:8px;padding:3px;gap:3px}.date-presets button{border-radius:5px;padding:6px 14px;color:var(--muted);font-size:11px}.date-presets button.active{background:var(--soft);color:var(--green);font-weight:600}.date-presets button:hover{background:var(--panel2)}.report-controls{gap:7px}.report-controls input[type=date]{width:133px;padding:7px 9px;height:34px;font-size:11px}.report-controls .btn{height:34px}.page-head .date-toolbar{margin-bottom:0;justify-content:flex-end}.page-head .date-toolbar .date-presets{order:1}.list-toolbar{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin-bottom:18px}.list-toolbar .search{flex:1;min-width:210px}.filter-pills{display:flex;gap:5px;flex-wrap:wrap}.filter-pills button{padding:8px 11px;font-size:11px;border:1px solid var(--line);background:var(--panel);border-radius:7px;color:var(--muted);min-height:37px}.filter-pills button.active{color:var(--green);background:var(--soft);border-color:#7ab09b55}.list-toolbar select{width:auto;max-width:160px;font-size:11px;height:39px}.table-caption{display:flex;justify-content:space-between;padding:13px 21px;border-bottom:1px solid var(--line);font-size:11px;color:var(--muted);gap:15px}.table-caption b{color:var(--text)}.table-caption small{font-size:10px}.table-wrap{max-width:100%;overscroll-behavior-x:contain}table{font-variant-numeric:tabular-nums}th{font-size:9px;letter-spacing:.7px;padding:13px 20px;background:var(--faint);color:var(--muted);font-weight:600;border-bottom:1px solid var(--line)}td{font-size:12px;padding:15px 20px;border-color:var(--line)}td b{font-weight:600}td small{font-size:10px;margin-top:3px}tbody tr:hover{background:var(--hover)}.item-cell{display:flex;align-items:center;gap:11px}.item-avatar{display:grid;place-items:center;background:var(--panel2);color:var(--green);width:34px;height:34px;border-radius:8px;font-weight:650;font-size:11px;flex-shrink:0}.barcode-text{font-size:11px;color:var(--muted);font-family:ui-monospace,SFMono-Regular,monospace}.badge{font-size:9px;letter-spacing:.1px;font-weight:550;padding:4px 8px;background:var(--soft);color:var(--green);border:1px solid #7aa99220;border-radius:5px;white-space:nowrap}.badge:before{content:'';width:4px;height:4px;background:currentColor;align-self:center;margin-right:5px;border-radius:50%;opacity:.65}.badge.gold{color:var(--gold);background:#dbb06413;border-color:#dbb06420}.badge.red{color:var(--red);background:#d7616e12;border-color:#d7616e20}.badge.neutral{color:var(--muted);background:var(--panel2);border-color:var(--line)}.positive{color:var(--green)}.negative{color:var(--red)}.empty{padding:45px 20px;font-size:12px;color:var(--muted)}.empty>svg{color:#9eafa8;width:34px;margin-bottom:13px}.empty h3{color:var(--text);font-size:14px;margin-bottom:6px;font-weight:600}.empty p{font-size:11px;max-width:370px;margin:auto}.sales-summary{display:flex;align-items:center;gap:20px;border-top:1px solid var(--line);padding:16px 0 22px;font-size:12px}.sales-summary small{margin-left:auto;font-size:10px}.sales-summary b{color:var(--green)}
input,select,textarea,.input{background:var(--field);border-color:var(--line);color:var(--text);border-radius:7px;padding:11px 12px;min-height:41px;box-shadow:0 1px 2px #172a3803}input::placeholder,textarea::placeholder{color:#94a3af;font-size:11px}input:focus,select:focus,textarea:focus{outline:0;border-color:#5f9f89;box-shadow:0 0 0 3px #26987b13}input[type=checkbox]{accent-color:#147c66;min-height:0;width:16px;height:16px;flex-shrink:0}input[type=date]{color-scheme:inherit}label{font-size:11px;font-weight:550;color:var(--text);gap:7px}.search svg{left:13px;top:13px;width:16px;height:16px}.search input{padding-left:39px}.search{min-width:210px}.form-grid{gap:21px 19px}.form-grid .hint{font-weight:400}.form-grid label>.actions{flex-wrap:nowrap}.form-grid label>.actions>input{flex:1}.form-grid label>.actions>button{flex-shrink:0}.pos{grid-template-columns:minmax(0,1fr) 365px;gap:24px}.pos-catalog{min-width:0}.pos-search-panel{padding:20px;background:var(--panel);border:1px solid var(--line);border-radius:12px;box-shadow:0 3px 5px #172a3803;margin-bottom:23px}.pos-search-heading{align-items:center;margin-bottom:16px}.pos-search-heading h2{font-size:14px;gap:9px}.pos-search-heading h2 svg{color:var(--green);width:17px}.key-hint{font-size:9px;color:var(--muted);display:flex;align-items:center;gap:6px}.pos-search-form{display:flex;flex-wrap:nowrap;gap:8px}.pos-search-form .search{flex:1;min-width:0}.pos-search-form input{min-height:44px;background:var(--faint);border-color:#8cb9a560}.pos-search-form input:focus{border-color:var(--green)}.pos-search-form .icon-btn{padding:6px}.pos-search-form .btn{font-size:11px}.scan-divider{display:flex;justify-content:space-between;margin:18px 0 9px;color:var(--muted);font-size:10px}.scan-divider span:last-child{font-size:9px;opacity:.8}.barcode-inline{display:flex;gap:8px}.barcode-inline .search{flex:1;min-width:0}.barcode-inline input{min-height:38px;height:38px;font-size:11px}.barcode-inline .search svg{top:11px}.barcode-inline .btn{min-height:38px;font-size:11px}.catalog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.catalog-head h2{font-size:14px}.catalog-head>span{font-size:10px}.category-tabs{margin-bottom:15px;flex-wrap:nowrap;overflow:auto;padding:0 0 5px;scrollbar-width:thin;scrollbar-color:var(--line) transparent}.tab{font-size:10px;padding:8px 14px;border:1px solid var(--line);background:var(--panel);border-radius:7px;white-space:nowrap;flex-shrink:0}.tab.active{background:#163e38;color:#cdf1df;border-color:#163e38}.pos-search-status{font-size:10px;margin-bottom:13px;gap:10px}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.product-card{background:var(--panel);border:1px solid var(--line);padding:16px 15px 13px;border-radius:11px;gap:0;min-height:188px;box-shadow:0 2px 3px #172a3803;transition:border-color .12s,box-shadow .12s,transform .12s}.product-card:hover{border-color:#69a58e;background:var(--panel);box-shadow:0 5px 15px #15352b0d;transform:translateY(-2px)}.product-card:active{transform:translateY(0)}.product-card:disabled{opacity:.55;transform:none;box-shadow:none}.product-top{margin-bottom:14px}.product-icon{display:grid;place-items:center;width:33px;height:33px;border-radius:9px;background:var(--soft);color:var(--green);padding:8px}.product-icon svg{width:17px;height:17px}.stock-pill{font-size:8px;color:var(--muted);background:var(--panel2);padding:3px 6px;border-radius:5px;white-space:nowrap}.stock-pill.low{color:var(--gold);background:#c89b4813}.product-category{font-size:8px;color:var(--muted);margin-bottom:3px}.product-card>b{font-size:12px;line-height:1.45;font-weight:600;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:35px}.product-code{font-size:8px;color:var(--muted);margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.product-bottom{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-top:auto;padding-top:13px}.product-bottom strong{font-size:19px;letter-spacing:-.6px;font-weight:650;white-space:nowrap}.add-circle{display:grid;place-items:center;width:25px;height:25px;border:1px solid var(--line);border-radius:6px;color:var(--green);background:var(--panel2)}.add-circle svg{width:14px;height:14px}.cart{top:18px;box-shadow:0 7px 25px #24353d09;border-color:#c7d8d0}.cart .panel-header{background:var(--panel);padding:18px 19px}.cart-heading{display:flex;gap:11px;align-items:center}.cart-icon{width:35px;height:35px;display:grid;place-items:center;border-radius:9px;background:var(--soft);color:var(--green)}.cart-heading small{font-size:10px;display:block;margin-top:3px}.cart-items{padding:0 19px;max-height:320px;min-height:200px}.cart-items .empty{padding:38px 10px}.cart-items .empty h3{font-size:13px}.cart-line{padding:15px 0;gap:9px;border-color:var(--line);font-size:11px;grid-template-columns:minmax(0,1fr) auto}.cart-line>div>b{font-size:11px;font-weight:600;display:block;overflow-wrap:anywhere}.cart-line>div>small{font-size:9px;margin-top:3px}.cart-line>b{text-align:right;font-size:12px;font-weight:650}.cart-line .icon-btn{justify-self:end;padding:1px;min-height:28px;width:28px;min-width:0}.cart-line .icon-btn svg{width:14px}.qty{justify-self:start;gap:0;border-color:var(--line);background:var(--faint);padding:0;min-height:29px}.qty button{width:30px;min-height:29px;font-size:16px;color:var(--muted)}.qty button:hover{background:var(--line)}.qty span{font-size:11px;min-width:24px}.cart-footer{background:var(--faint);padding:21px 19px 19px;border-top:1px solid var(--line)}.total-row{font-size:11px;gap:12px;flex-wrap:wrap;margin-bottom:14px}.total-row strong{font-size:30px;font-weight:700;letter-spacing:-1px;font-variant-numeric:tabular-nums}.pay-grid{gap:10px;margin:20px 0 9px}.pay-grid label{font-size:10px;display:block}.pay-grid label svg{width:14px;height:14px;margin-right:3px;color:var(--muted)}.pay-grid input{display:block;margin-top:8px;min-height:45px;font-size:16px;font-weight:600;letter-spacing:-.4px}.quick-pay{gap:10px;margin-bottom:18px}.quick-pay .btn{font-size:10px;min-height:29px;padding:6px;background:var(--panel)}.payment-progress{height:3px;background:var(--line);border-radius:10px;overflow:hidden}.payment-progress span{height:100%;display:block;background:#28a580;transition:width .15s}.debt-row{font-size:11px;padding:13px 0;color:var(--gold)}.debt-row b{font-size:13px}.debt-row.settled{color:var(--green)}.cart-footer .primary{font-size:13px;justify-content:space-between;padding:13px 16px;margin-top:3px}.cart-footer .gold{font-size:11px;min-height:39px}.cart-footer .hint{font-size:9px;text-align:center;margin:14px 9px 0}.mobile-cart-jump{display:none}.error{font-size:11px}.form-error:empty,.error:empty{display:none}.report-note{font-size:11px}.bar-row{grid-template-columns:minmax(80px,1fr) 1fr auto;font-size:11px}.bar-row>span{overflow-wrap:anywhere}.bar-row b{white-space:nowrap;font-weight:600}
dialog{background:var(--panel);color:var(--text);border:1px solid var(--line);box-shadow:0 30px 100px #07192440;border-radius:14px;width:min(660px,94vw);max-height:90dvh}dialog::backdrop{background:#07131c99;backdrop-filter:blur(5px)}dialog.large{width:min(1080px,96vw)}.modal-head{position:sticky;top:0;z-index:2;background:var(--panel);padding:20px 24px;border-color:var(--line)}.modal-head h2{font-size:17px}.modal-body{padding:25px}.modal-foot{padding-top:20px;margin-top:23px;border-top:1px solid var(--line);gap:9px}.modal-foot .btn{min-width:90px}.subtle-card{border-color:var(--line);background:var(--faint)}.customer-option{background:var(--panel);border-color:var(--line);padding:14px;gap:20px}.customer-option:hover{background:var(--soft);border-color:#76ab94}.customer-option small{font-size:10px}.customer-option span:last-child{white-space:nowrap;text-align:right}.customer-title{color:var(--text)}.invoice-zone{background:var(--faint);border-color:#93b2a755;padding:22px}.invoice-zone h3{margin-top:10px}.purchase-line{background:var(--faint);border:1px solid var(--line);border-radius:10px;padding:17px}.purchase-line .new-fields{gap:10px}.purchase-line .form-grid{gap:13px}.purchase-line input,.purchase-line select{font-size:12px;min-height:38px}.purchase-line .form-grid label{font-size:10px}.scan-video{background:#0b161b}.scan-result{border-color:var(--line);background:var(--soft);font-size:12px}.command-results{margin-top:16px;max-height:48dvh;overflow:auto}.command-option{display:flex;align-items:center;gap:13px;text-align:left;width:100%;padding:12px;border-radius:8px}.command-option:hover,.command-option:focus-visible{background:var(--soft)}.command-option>svg:first-child{color:var(--green);width:18px}.command-option>span{flex:1}.command-option b{display:block;font-size:12px;font-weight:550}.command-option small{display:block;font-size:10px;margin-top:2px}.command-option>svg:last-child{width:12px;color:var(--muted)}.login{background:var(--bg)}.login-art{background:radial-gradient(ellipse at 10% 90%,#254e4a,transparent 65%),#12242f;padding:50px 60px;color:#f0f8f5;min-height:100vh}.login-art h1{font-size:62px;line-height:1.12;letter-spacing:-2.5px;font-weight:600;max-width:530px}.login-art h1 span{color:#9ae0bd}.login-art .eyebrow{color:#75b69e;font-size:9px}.login-art p{color:#93adad;font-size:14px;max-width:340px;line-height:1.9}.login-art>small{font-size:10px;color:#759092}.login-art .brand{padding:0}.login-box{max-width:360px}.login-box h2{font-size:32px;letter-spacing:-1px}.login-box>p{font-size:12px}.login-box form{gap:20px}.login-box input{min-height:47px}.login-box .primary{min-height:47px;margin-top:5px;justify-content:space-between}.login-box .hint{margin-top:24px;font-size:10px}.loading{color:var(--green);letter-spacing:-1px;font-weight:700}.loading span{font-weight:400}.receipt{background:#fff;color:#111}.receipt th,.receipt td{background:#fff;color:#111}.receipt .table-wrap{overflow:visible}.receipt .muted,.receipt small{color:#666}.receipt h2{font-size:23px}.receipt .total-row b{font-size:18px}#toast{background:#163f35;color:#ebfff7;border:1px solid #56948155;box-shadow:0 8px 32px #0d30232a;font-size:12px;border-radius:10px;padding:14px 21px}#toast.bad{background:#6e2934;color:#fff0f1;border-color:#c9738555}.footnote{font-size:10px}.offline-banner{padding:10px 30px;color:var(--gold);background:#d5a44b15;border-bottom:1px solid #d5a44b20;text-align:center;font-size:11px}.offline-banner[hidden]{display:none}.mobile-brand,.mobile-bottom,.sidebar-scrim{display:none}.skip-link{position:fixed;left:260px;top:-80px;z-index:100;padding:10px 20px;background:var(--panel);border:2px solid var(--green);border-radius:8px}.skip-link:focus{top:15px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(min-width:1700px){.content{padding:38px 45px}.topbar{padding:0 45px}.pos{grid-template-columns:minmax(0,1fr) 410px}.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.product-card{min-height:208px}.cart-items{max-height:380px}.metric strong{font-size:34px}}
@media(max-width:1350px){.shell{grid-template-columns:220px minmax(0,1fr)}.sidebar{width:220px;padding-left:13px;padding-right:13px}.content{padding:27px 25px}.topbar{padding:0 25px}.metric{padding:19px 17px}.metric strong{font-size:25px}.quick-actions{gap:10px}.quick-actions>button{padding:13px 11px;gap:8px}.quick-actions small{font-size:8px}.quick-actions>button>svg{display:none}.quick-icon{width:30px;height:30px}.payment-chart{grid-template-columns:140px 1fr;gap:16px;padding:20px}.donut{width:140px;height:140px}.donut strong{font-size:17px}.donut:before{inset:11px}.chart-legend b{font-size:11px}.pos{grid-template-columns:minmax(0,1fr) 335px;gap:20px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sync-label{display:none}.topbar{height:70px}.brand b{font-size:24px}.page-head h1{font-size:29px}}
@media(max-width:1100px){.dashboard-charts,.dashboard-operations{gap:16px;grid-template-columns:1fr 1fr}.payment-chart{grid-template-columns:1fr;justify-items:center}.chart-legend{width:100%}.chart-legend>div{grid-template-columns:1fr auto 30px;padding:8px 0}.chart-legend small{grid-column:auto}.payment-chart .hint{grid-column:1}.quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-actions>button{padding:13px 16px}.quick-actions small{font-size:10px}.quick-actions>button>svg{display:block}.metric strong{font-size:23px}.cards{gap:10px}.metric .label{font-size:10px}.metric em{font-size:9px}.command-top{display:none}.grid2{grid-template-columns:1fr}.panel-header{padding:17px}.panel-body{padding:17px}.date-toolbar{gap:10px}.pos-search-panel{padding:16px}.key-hint{display:none}.list-toolbar .filter-pills{order:2;width:100%}.page-head .date-toolbar{max-width:310px}}
@media(max-width:950px){.shell{display:block}.sidebar{width:242px;transform:translateX(-100%);transition:transform .2s;z-index:50;box-shadow:none;padding:28px 18px 18px}.sidebar.open{transform:translateX(0);box-shadow:10px 0 30px #0003}.shell:has(.sidebar.open)>.sidebar-scrim{display:block;position:fixed;inset:0;background:#09192680;backdrop-filter:blur(2px);z-index:45;width:100%;height:100dvh}.mobile-menu{display:grid}.cards{grid-template-columns:repeat(4,minmax(0,1fr))}.content{padding:28px 24px}.workspace-footer{padding:0 24px 25px}.pos{grid-template-columns:minmax(0,1fr) 340px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.payment-chart{grid-template-columns:140px 1fr}.chart-legend>div{grid-template-columns:1fr auto}.chart-legend small{grid-column:2}.payment-chart .hint{grid-column:1/-1}.page-head{align-items:flex-start}.skip-link{left:20px}.login-art{padding:35px}.login-art h1{font-size:47px}.login-form{padding:35px}.brand b{font-size:25px}}
@media(max-width:780px){.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.metric strong{font-size:27px}.metric .label{font-size:11px}.metric em{font-size:10px}.dashboard-charts,.dashboard-operations{grid-template-columns:1fr}.payment-chart{grid-template-columns:168px 1fr;justify-items:stretch;padding:25px}.donut{width:168px;height:168px}.donut strong{font-size:22px}.chart-legend b{font-size:13px}.pos{grid-template-columns:minmax(0,1fr) 315px;gap:15px}.content{padding:25px 18px}.topbar{padding:0 18px}.product-card{padding:13px 11px;min-height:179px}.product-bottom strong{font-size:17px}.stock-pill{font-size:7px}.product-icon{width:27px;height:27px;padding:6px}.pos-search-heading h2{font-size:12px}.pos-search-panel{padding:14px}.pos-search-form .btn{padding:8px}.page-head h1{font-size:27px}.page-head p{font-size:11px}.top-tools{gap:5px}.cart-footer{padding:17px}.cart-items{padding:0 16px}.cart .panel-header{padding:16px}.total-row strong{font-size:28px}}
@media(max-width:700px){body{font-size:13px}.topbar{height:62px;position:sticky;top:0;z-index:30;padding:0 15px}.crumb{display:none}.mobile-brand{display:block;font-weight:750;font-size:19px;letter-spacing:-.6px}.top-tools>[data-view=pos]{display:none}.top-tools .icon-btn{min-width:35px;min-height:37px}.mobile-bottom{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:35;background:var(--panel);border-top:1px solid var(--line);padding:7px 10px calc(7px + env(safe-area-inset-bottom));box-shadow:0 -5px 24px #142e3d06}.mobile-bottom>button{flex:1;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;color:var(--muted);font-size:9px;min-height:42px;position:relative}.mobile-bottom>button svg{width:20px;height:20px}.mobile-bottom>button.active{color:var(--green);font-weight:600}.mobile-bottom>button.active:after{content:'';width:18px;height:2px;position:absolute;top:-8px;border-radius:0 0 6px 6px;background:var(--green)}.content{padding:25px 16px 24px}.workspace{padding-bottom:calc(64px + env(safe-area-inset-bottom))}.workspace-footer{padding:0 18px 20px;font-size:9px}.page-head{gap:14px;margin-bottom:21px;flex-direction:column;align-items:stretch}.page-head h1{font-size:27px;letter-spacing:-.8px}.page-head p{font-size:11px;margin-top:8px}.eyebrow{font-size:8px;letter-spacing:1.4px}.page-head>.actions{gap:8px}.page-head>.actions:empty{display:none}.page-head>.actions>.btn{min-height:40px;flex:1}.date-caption{font-size:10px}.cards{gap:10px;margin-bottom:20px}.metric{padding:17px 14px}.metric strong{font-size:25px;margin:12px 0 8px;letter-spacing:-.9px}.metric .label{font-size:10px;gap:5px}.metric .label svg{width:15px;height:15px}.metric em{font-size:9px}.quick-actions{gap:10px;margin-bottom:22px}.quick-actions>button{padding:13px 11px;gap:9px}.quick-actions>button>svg{display:none}.quick-actions b{font-size:11px}.quick-actions small{font-size:8px;line-height:1.4;margin-top:3px}.quick-icon{width:30px;height:30px;border-radius:8px}.quick-icon svg{width:16px;height:16px}.panel{border-radius:11px;margin-bottom:18px}.panel-header{padding:16px;min-height:58px}.panel-header h2{font-size:13px}.panel-header .btn.small{font-size:10px;padding:7px 8px}.panel-subtitle{font-size:9px}.panel-body{padding:16px}.dashboard-charts,.dashboard-operations{gap:0}.payment-chart{padding:21px 17px;grid-template-columns:140px 1fr;gap:18px}.donut{width:140px;height:140px}.donut strong{font-size:18px}.chart-legend b{font-size:11px}.chart-legend>div{font-size:10px}.payment-chart .hint{font-size:9px}.ranking{padding:8px 17px 15px}.rank-row{padding:12px 0}.rank-detail>div:first-child{font-size:11px}.watchlist{padding:3px 16px}.watchlist b{font-size:11px}.watchlist small{font-size:9px}.watchlist>button{gap:10px;padding:17px 0;min-height:77px}.watch-icon{width:33px;height:33px}.watchlist strong{font-size:16px}.flow-row{font-size:11px;padding:12px 0}.flow-icon{gap:9px}.date-toolbar{align-items:stretch;margin-bottom:20px;gap:10px}.date-presets{flex:1;justify-content:center}.date-presets button{flex:1;padding:7px 10px;font-size:10px;min-height:31px}.report-controls{width:100%;gap:7px}.report-controls input[type=date]{flex:1;width:0;min-width:0;font-size:11px;min-height:37px}.report-controls .btn{min-height:37px;flex:0 0 38px}.page-head .date-toolbar{max-width:none;width:100%;margin:0}.page-head .date-toolbar .date-presets{order:0}.page-head .actions:has(.date-toolbar){width:100%}.list-toolbar{gap:10px}.list-toolbar .search{min-width:0;flex:1}.list-toolbar select{width:125px;max-width:125px;font-size:10px;padding:8px}.filter-pills{gap:5px;width:100%}.filter-pills button{font-size:10px;padding:7px 10px;min-height:36px}.table-caption{font-size:10px;padding:12px 15px;align-items:flex-start}.table-caption small{font-size:9px}.table-caption small{max-width:160px;text-align:right}th{padding:12px 15px;font-size:9px}td{padding:14px 15px;font-size:11px}td small{font-size:9px}.item-avatar{width:29px;height:29px;font-size:10px}.item-cell{gap:9px}.list-toolbar input{min-height:41px}.pos{grid-template-columns:1fr;gap:22px}.pos-search-panel{padding:17px;margin-bottom:22px}.pos-search-heading{flex-direction:row;align-items:center;margin-bottom:14px}.pos-search-heading h2{font-size:14px}.pos-search-form{flex-wrap:nowrap}.pos-search-form .search{flex:1 1 auto;min-width:0}.pos-search-form .btn{flex:none;padding:10px 12px}.pos-search-form .icon-btn{flex:none}.pos-search-form input{font-size:16px}.barcode-inline input{font-size:14px;height:39px;min-height:39px}.barcode-inline input::placeholder{font-size:10px}.scan-divider{font-size:10px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.product-card{padding:15px 14px 13px;min-height:191px}.product-icon{width:32px;height:32px}.product-top{margin-bottom:13px}.stock-pill{font-size:8px}.product-card>b{font-size:12px}.product-bottom strong{font-size:21px}.product-code{font-size:8px}.add-circle{width:28px;height:28px}.catalog-head h2{font-size:14px}.catalog-head>span{font-size:10px}.pos-search-status{font-size:9px}.category-tabs{margin-bottom:11px}.tab{font-size:10px;padding:8px 13px}.cart{position:static;scroll-margin-top:76px}.cart .panel-header{padding:18px}.cart-items{max-height:340px;min-height:150px;padding:0 19px}.cart-line{font-size:12px;padding:17px 0}.cart-line>div>b{font-size:12px}.cart-line>b{font-size:13px}.qty{min-height:33px}.qty button{width:36px;min-height:33px}.cart-footer{padding:20px}.total-row strong{font-size:33px}.pay-grid input{font-size:18px;min-height:48px}.pay-grid label{font-size:11px}.quick-pay .btn{min-height:35px;font-size:11px}.cart-footer .primary{min-height:48px}.cart-footer .gold{min-height:42px}.mobile-cart-jump.has-items{display:flex;align-items:center;gap:12px;position:fixed;left:13px;right:13px;bottom:calc(76px + env(safe-area-inset-bottom));z-index:32;background:#153e35;color:#effff6;padding:13px 16px;border-radius:10px;box-shadow:0 6px 25px #061d3540}.mobile-cart-jump>span{flex:1;text-align:left;font-size:11px}.mobile-cart-jump b{display:block;color:#9ad0bb;font-size:9px;font-weight:400}.mobile-cart-jump strong{font-size:15px}.mobile-cart-jump>svg:last-child{width:13px}.view-pos{padding-bottom:84px}.mobile-cart-jump:has(~*){display:flex}.form-grid{grid-template-columns:1fr;gap:18px}.span2{grid-column:span 1}dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 40px);margin:auto;border-radius:13px}dialog.large{width:calc(100vw - 20px)}.modal-head{padding:16px 18px}.modal-head h2{font-size:16px}.modal-body{padding:20px 18px}.modal-body input,.modal-body textarea,.modal-body select{font-size:16px}.modal-body label{font-size:11px}.modal-foot{margin-top:23px;position:sticky;bottom:-20px;background:var(--panel);padding:15px 0 2px;z-index:1}.modal-foot .btn{min-height:43px;flex:1;font-size:12px}.purchase-line{padding:14px}.purchase-line .form-grid{grid-template-columns:1fr 1fr;gap:13px}.purchase-line .new-fields{flex-direction:column;gap:13px}.purchase-line .new-fields>*{flex:auto}.purchase-line input,.purchase-line select{font-size:14px}.purchase-line .form-grid>label:first-child{grid-column:1/-1}.purchase-line .form-grid>button{align-self:end}.invoice-zone{padding:20px 12px}.banner{gap:10px;padding:15px;flex-wrap:wrap}.banner h3{font-size:12px}.banner p{font-size:10px}.banner>.btn{margin-left:29px}.bar-row{grid-template-columns:85px 1fr auto;font-size:10px;gap:10px}.bar-row b{font-size:10px}.sales-summary{flex-wrap:wrap;gap:6px 15px;font-size:11px}.sales-summary small{width:100%;margin-left:0;font-size:10px}.login{display:block}.login-art{min-height:280px;padding:27px;gap:35px;border:0}.login-art h1{font-size:38px;letter-spacing:-1.3px;margin-top:10px}.login-art p{display:none}.login-art>small{display:none}.login-art .eyebrow{font-size:8px}.login-form{padding:38px 27px}.login-box h2{font-size:28px}.login-box input{font-size:16px}.login-box{max-width:440px}.login-art .brand small{display:block}.offline-banner{font-size:10px;padding:9px 15px}#toast{bottom:calc(82px + env(safe-area-inset-bottom));max-width:calc(100vw - 26px);font-size:11px;width:max-content}.skip-link{left:10px}.customer-option{min-height:63px}.command-option{padding:13px 9px;min-height:60px}.report-note{font-size:10px}.footnote{font-size:9px}}
@media(max-width:370px){.content{padding-left:12px;padding-right:12px}.metric{padding:15px 12px}.metric strong{font-size:22px}.metric .label{font-size:9px}.metric em{font-size:8px}.payment-chart{grid-template-columns:115px 1fr;gap:12px;padding:18px 14px}.donut{width:115px;height:115px}.donut:before{inset:9px}.donut strong{font-size:15px}.donut small,.donut span{font-size:8px}.product-card{padding:13px 11px}.product-bottom strong{font-size:19px}.quick-icon{display:none}.quick-actions small{font-size:9px}.filter-pills button{font-size:9px;padding:6px 8px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{.mobile-bottom,.mobile-cart-jump,.workspace-footer,.sidebar-scrim,.offline-banner{display:none!important}dialog{position:static!important;max-height:none!important;overflow:visible!important;border:0!important;box-shadow:none!important;background:white!important;color:black!important}dialog .modal-body{padding:0}.receipt .table-wrap{overflow:visible!important}.receipt th,.receipt td{white-space:normal!important}.receipt{border:0}body{background:white!important}}
@media(max-width:700px){.modal-foot{bottom:0;padding-bottom:12px}.mobile-cart-jump.has-items{transition:opacity .15s}}
@media(max-width:700px){body:has(.mobile-cart-jump.has-items) #toast{bottom:calc(145px + env(safe-area-inset-bottom))}}

/* RENOPOS KASA DEBT PICKER 1 */
.kasa-option{width:100%;margin:0 0 24px;padding:19px;gap:14px;border:1px solid rgba(237,185,94,.5);border-radius:12px;background:rgba(237,185,94,.07);color:var(--text);text-align:left}
.kasa-option:hover{background:rgba(237,185,94,.13);border-color:var(--gold)}
.kasa-option:focus-visible{outline:3px solid #edb95e;outline-offset:3px}
.kasa-choice-label{display:flex;align-items:center;gap:13px;min-width:0}
.kasa-choice-label b{font-size:17px}.kasa-choice-label small{display:block;line-height:1.5;margin-top:4px}
.kasa-symbol{display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex:0 0 44px;border-radius:12px;background:rgba(237,185,94,.1);color:var(--gold)}
.kasa-symbol svg{width:24px;height:24px}.kasa-amount{margin-left:auto;text-align:right;white-space:nowrap}.kasa-amount b{color:var(--gold)}
.kasa-option>svg{width:19px;flex-shrink:0}.debt-picker-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px}.debt-picker-heading h3{font-size:15px}.debt-picker-heading small{color:var(--muted);font-size:11px}
.debt-picker-options{max-height:38vh;overflow-y:auto}.debt-picker-options .customer-option{gap:12px;width:100%;text-align:left}.debt-picker-options .customer-option>span:first-child{min-width:0;overflow-wrap:anywhere}.debt-picker-options .customer-option>span:last-child{white-space:nowrap;text-align:right}.debt-picker-empty{padding:16px 0;line-height:1.6}
.kasa-summary{padding:22px;display:flex;align-items:center;gap:20px;margin-bottom:24px;border-color:rgba(237,185,94,.35)}.kasa-summary h2{font-size:18px}.kasa-summary p{margin:5px 0 0;font-size:12px}.kasa-summary-balance{margin-left:auto;text-align:right}.kasa-summary-balance small{display:block;color:var(--muted)}.kasa-summary-balance strong{display:block;margin-top:5px;font-size:25px;color:var(--gold);white-space:nowrap}
@media(max-width:560px){.kasa-option{flex-wrap:wrap;padding:15px;gap:12px}.kasa-choice-label{flex:1 1 100%}.kasa-option>svg{display:none}.kasa-amount{margin-left:57px;text-align:left}.debt-picker-heading{align-items:flex-start;flex-direction:column}.kasa-summary{flex-wrap:wrap;padding:18px}.kasa-summary-balance{margin:0 auto 0 57px;text-align:left}.kasa-summary .btn{margin-left:57px}.debt-picker-options{max-height:32vh}}

.kasa-option .kasa-choice-label>span:last-child{white-space:normal;text-align:left}

/* RENOPOS SALE STUDIO 2 — scoped to the sales workspace */
.sale-studio{--sale-accent:#147864;--sale-accent-soft:#eef7f3;--sale-surface:var(--panel);--sale-border:var(--line);max-width:1560px;margin:0 auto}
:root[data-theme=dark] .sale-studio{--sale-accent:#8ad8bf;--sale-accent-soft:#203a34;--sale-surface:#17232a;--sale-border:#2b3a42}
.sale-page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 28px}
.sale-eyebrow{font-size:9px;font-weight:650;letter-spacing:2.2px;color:var(--muted);margin-bottom:7px}
.sale-page-heading h1{font-size:30px;font-weight:600;letter-spacing:-1.1px;line-height:1.2}
.sale-page-heading h1>span{color:var(--sale-accent);margin-left:2px}
.sale-page-heading p{font-size:12px;color:var(--muted);margin-top:9px}
.sale-camera.btn{font-size:11px;padding:10px 15px;border-radius:10px;min-height:40px;background:var(--panel);border-color:var(--line);box-shadow:none}
.sale-camera svg{width:15px;height:15px}
.sale-layout.pos{grid-template-columns:minmax(0,1fr) 365px;gap:26px;align-items:start}
.sale-find{background:var(--sale-surface);border:1px solid var(--sale-border);border-radius:16px;padding:21px 22px 15px;margin-bottom:30px}
.sale-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}
.sale-section-heading h2{font-size:14px;font-weight:600;letter-spacing:-.2px}
.sale-key{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:7px}
.sale-key kbd{font-size:9px;border:1px solid var(--line);background:var(--field);box-shadow:none;border-radius:5px;padding:2px 5px;color:var(--muted)}
.sale-search-form.pos-search-form{display:flex;gap:0;flex-wrap:nowrap;align-items:center;border:1px solid var(--line);border-radius:10px;background:var(--field);overflow:hidden}
.sale-search-form:focus-within{border-color:var(--sale-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--sale-accent) 9%,transparent)}
.sale-search-form .search{flex:1 1 auto;min-width:0}
.sale-search-form .search input{height:49px;min-height:49px;border:0;background:transparent;padding:0 8px 0 41px;box-shadow:none;outline:none;font-size:13px}
.sale-search-form .search>svg{left:15px;top:17px;width:16px;height:16px;color:var(--muted)}
.sale-search-form .search input::placeholder{font-size:12px;color:var(--muted)}
.sale-search-form .sale-search-clear{min-width:34px;width:34px;min-height:36px;height:36px;padding:8px;margin:0 4px 0 0;color:var(--muted);border-radius:8px}
.sale-search-form .sale-search-clear svg{width:14px;height:14px}
.sale-search-add.btn{border:0;border-left:1px solid var(--line);border-radius:0;min-height:49px;padding:0 16px;background:var(--sale-accent-soft);color:var(--sale-accent);font-size:11px;font-weight:600;box-shadow:none;flex-shrink:0}
.sale-search-add.btn:hover{filter:brightness(.97)}.sale-search-add svg{width:14px;height:14px}
.sale-barcode-form{display:flex;align-items:center;gap:11px;margin-top:13px;padding-top:13px;border-top:1px solid var(--line)}
.sale-barcode-form label{display:flex;flex-direction:row;align-items:center;gap:7px;color:var(--muted);font-size:10px;white-space:nowrap;font-weight:500}
.sale-barcode-form label svg{width:14px;height:14px}
.sale-barcode-form input{flex:1;min-width:0;border:0;background:transparent;box-shadow:none;border-radius:6px;font-size:11px;min-height:34px;padding:7px 2px;color:var(--text)}
.sale-barcode-form input::placeholder{font-size:10px;color:var(--muted)}
.sale-barcode-form input:focus{box-shadow:none;outline:1px solid var(--sale-accent);outline-offset:3px}
.sale-barcode-form>.icon-btn{width:32px;min-width:32px;min-height:32px;padding:7px;background:var(--faint);border:1px solid var(--line);border-radius:8px}
.sale-barcode-form>.icon-btn svg{width:14px;height:14px}
.sale-studio .catalog-head{margin-bottom:15px}.sale-studio .catalog-head h2{font-size:16px;font-weight:550;letter-spacing:-.3px}.sale-studio .catalog-head>span{color:var(--muted);font-size:10px}
.sale-studio .category-tabs{gap:7px;margin-bottom:11px;padding-bottom:5px;scrollbar-width:none;max-width:100%}
.sale-studio .category-tabs::-webkit-scrollbar{display:none}
.sale-studio .category-tabs .tab{flex:0 0 auto;padding:7px 13px;min-height:33px;border-radius:8px;font-size:11px;border:1px solid var(--line);background:transparent;color:var(--muted);font-weight:500;transition:background .15s,border-color .15s}
.sale-studio .category-tabs .tab:hover{color:var(--text);background:var(--hover)}
.sale-studio .category-tabs .tab.active{color:var(--sale-accent);background:var(--sale-accent-soft);border-color:color-mix(in srgb,var(--sale-accent) 28%,transparent)}
.sale-studio .pos-search-status{font-size:10px;line-height:1.6;gap:8px;margin-bottom:17px;color:var(--muted)}
.sale-studio .pos-search-status b{font-weight:500;color:var(--muted)}
.sale-studio .product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.sale-studio .product-card{padding:15px 16px 14px;min-height:209px;border-radius:13px;border:1px solid var(--sale-border);background:var(--sale-surface);text-align:left;box-shadow:none;gap:0;transition:transform .15s,border-color .15s,box-shadow .15s;position:relative;overflow:hidden}
.sale-studio .product-card:hover{background:var(--sale-surface);border-color:color-mix(in srgb,var(--sale-accent) 55%,var(--sale-border));box-shadow:0 6px 18px #0b22180b;transform:translateY(-2px)}
.sale-studio .product-card:active{transform:translateY(0)}
.sale-studio .product-card:disabled{opacity:.48;transform:none;box-shadow:none}
.sale-studio .product-top{display:flex;align-items:center;justify-content:space-between;gap:5px;width:100%;margin-bottom:15px}
.sale-studio .product-category{margin:0;font-size:8px;letter-spacing:.7px;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--muted)}
.sale-studio .stock-pill{font-size:8px;white-space:nowrap;display:flex;align-items:center;gap:4px;background:transparent;padding:0;border:0;border-radius:0;color:var(--muted);font-weight:400;flex-shrink:0}
.sale-studio .stock-pill i{width:4px;height:4px;border-radius:50%;background:var(--sale-accent);display:block;opacity:.75}
.sale-studio .stock-pill.low{color:var(--gold);background:transparent}.sale-studio .stock-pill.low i{background:var(--gold)}
.sale-product-mark{display:grid;place-items:center;width:32px;height:32px;background:var(--faint);color:var(--muted);border-radius:9px;margin-bottom:13px;border:1px solid var(--line)}
.sale-product-mark svg{width:17px;height:17px;stroke-width:1.3}
.sale-studio .product-card>b{font-size:13px;line-height:1.45;font-weight:550;min-height:38px;letter-spacing:-.15px;color:var(--text);margin-bottom:3px}
.sale-studio .product-code{font-size:9px;color:var(--muted);opacity:.85;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.sale-studio .product-bottom{margin-top:auto;padding-top:15px;gap:5px}
.sale-studio .product-bottom strong{font-size:20px;font-weight:550;letter-spacing:-.65px;font-variant-numeric:tabular-nums;line-height:1.2;color:var(--text)}
.sale-studio .add-circle{width:27px;height:27px;border-radius:8px;border:1px solid var(--line);background:transparent;color:var(--sale-accent);display:grid;place-items:center;flex-shrink:0}
.sale-studio .add-circle svg{width:14px;height:14px}.sale-studio .product-card:hover .add-circle{background:var(--sale-accent-soft);border-color:transparent}
.sale-cart.cart{border:1px solid var(--sale-border);border-radius:17px;overflow:hidden;box-shadow:0 8px 32px #08271e08;top:20px;background:var(--sale-surface)}
.sale-cart .panel-header{padding:20px 21px;background:transparent;border-bottom:1px solid var(--sale-border)}
.sale-cart .cart-heading{gap:12px}.sale-cart .cart-heading h2{font-size:15px;font-weight:550;letter-spacing:-.25px}.sale-cart .cart-heading small{font-size:10px;margin-top:3px;color:var(--muted)}
.sale-cart .cart-icon{width:35px;height:35px;border-radius:10px;background:var(--sale-accent-soft);color:var(--sale-accent)}.sale-cart .cart-icon svg{width:19px;height:19px;stroke-width:1.5}
.sale-cart .sale-clear-cart{width:32px;min-width:32px;min-height:34px;border:0;color:var(--muted);padding:7px}.sale-cart .sale-clear-cart svg{width:16px;height:16px}
.sale-cart .cart-items{min-height:150px;max-height:clamp(150px,calc(100dvh - 765px),290px);overflow-y:auto;padding:0 21px;scrollbar-width:thin;scrollbar-color:var(--line) transparent}
.sale-cart .cart-line{padding:17px 0;grid-template-columns:minmax(0,1fr) auto;gap:11px 10px;border-bottom:1px solid var(--line)}
.sale-cart .cart-line:last-child{border-bottom:0}.sale-cart .cart-line .cart-product-info>b{font-size:12px;font-weight:500;line-height:1.45;letter-spacing:-.1px}.sale-cart .cart-line .cart-product-info>small{font-size:10px;margin-top:4px;color:var(--muted)}
.sale-cart .cart-line .cart-line-price{font-size:13px;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums;letter-spacing:-.3px}
.sale-cart .qty{display:inline-flex;align-items:center;justify-content:space-between;gap:0;width:102px;border-radius:8px;background:var(--field);border:1px solid var(--line);height:33px;overflow:hidden;box-shadow:none}
.sale-cart .qty button{width:33px;min-width:33px;height:31px;min-height:31px;padding:0;border:0;background:transparent;color:var(--muted);font-size:18px;display:grid;place-items:center;line-height:1}
.sale-cart .qty button:hover{background:var(--hover);color:var(--sale-accent)}.sale-cart .qty span{font-size:12px;min-width:22px;text-align:center;color:var(--text)}
.sale-cart .cart-line>.icon-btn{width:33px;height:33px;min-height:33px;border:0;padding:8px}.sale-cart .cart-line>.icon-btn svg{width:13px;height:13px}
.sale-empty-cart{min-height:185px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:25px 10px;color:var(--muted)}
.sale-empty-cart>span{display:grid;place-items:center;width:43px;height:43px;border:1px dashed var(--line);border-radius:13px;margin-bottom:12px}.sale-empty-cart svg{width:22px;height:22px;stroke-width:1.2}.sale-empty-cart h3{font-size:12px;font-weight:500;color:var(--text)}.sale-empty-cart p{font-size:10px;margin-top:5px}
.sale-cart .cart-footer{padding:22px 21px 19px;background:var(--faint);border-top:1px solid var(--sale-border)}
.sale-cart .total-row{align-items:center;flex-wrap:nowrap;gap:10px;margin:0 0 22px}.sale-cart .total-row>div{flex-shrink:0}.sale-cart .total-row span{font-size:11px;color:var(--text);font-weight:500}.sale-cart .total-row small{font-size:9px;display:block;margin-top:4px;color:var(--muted)}
.sale-cart .total-row strong{font-size:31px;font-weight:600;line-height:1.2;letter-spacing:-1.2px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;text-align:right}
.sale-payment-heading{display:flex;justify-content:space-between;gap:8px;border-top:1px solid var(--line);padding-top:18px}.sale-payment-heading>span{font-size:10px;color:var(--text);font-weight:500}.sale-payment-heading small{font-size:9px;color:var(--muted)}
.sale-cart .pay-grid{margin:13px 0 7px;gap:10px}.sale-cart .sale-payment-field>span{display:block;font-size:10px;font-weight:400;color:var(--muted);margin-bottom:7px}
.sale-money-input{display:flex;align-items:center;gap:7px;background:var(--field);border:1px solid var(--line);border-radius:9px;padding:0 12px;min-width:0;height:47px}
.sale-money-input:focus-within{border-color:var(--sale-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--sale-accent) 8%,transparent)}
.sale-money-input>span{font-size:14px;color:var(--muted);font-weight:400}
.sale-cart .sale-money-input input{display:block;min-width:0;width:100%;min-height:43px;height:43px;font-size:17px;font-weight:500;letter-spacing:-.3px;margin:0;padding:0;background:transparent;border:0;outline:0;box-shadow:none;color:var(--text)}
.sale-cart .sale-money-input input::placeholder{color:var(--muted);opacity:.8;font-weight:400}
.sale-cart .quick-pay{margin-bottom:18px;gap:10px}.sale-cart .quick-pay .btn{min-height:28px;padding:4px 8px;border:0;background:transparent;font-size:10px;color:var(--muted);font-weight:400;box-shadow:none}.sale-cart .quick-pay .btn:hover{background:var(--panel);color:var(--sale-accent)}
.sale-cart .payment-progress{height:2px;background:var(--line);opacity:.8}.sale-cart .payment-progress span{background:var(--sale-accent)}
.sale-cart .debt-row{font-size:11px;padding:13px 0 17px;color:var(--muted)}.sale-cart .debt-row b{font-size:13px;font-weight:500;color:var(--gold)}.sale-cart .debt-row.settled b{color:var(--sale-accent)}
.sale-cart .cart-footer>.primary{min-height:47px;padding:12px 15px;border-radius:10px;margin:0;font-size:13px;font-weight:550;box-shadow:0 3px 8px #073f2d15;justify-content:space-between;background:#147a66;border:1px solid #147a66;color:#fff}.sale-cart .cart-footer>.primary:hover{background:#116c5a;border-color:#116c5a}.sale-cart .cart-footer>.primary svg{width:17px;height:17px}
.sale-cart .cart-footer>.gold{min-height:42px;padding:10px 12px;border-radius:10px;margin-top:9px;color:var(--text);border:1px solid var(--line);background:transparent;font-size:11px;font-weight:450;box-shadow:none}.sale-cart .cart-footer>.gold:hover{border-color:var(--gold);background:color-mix(in srgb,var(--gold) 5%,transparent)}.sale-cart .cart-footer>.gold svg{width:16px;height:16px;color:var(--muted)}
.sale-cart .cart-footer>.hint{font-size:9px;font-weight:400;line-height:1.6;max-width:275px;margin:13px auto 0;color:var(--muted)}
.sale-cart #sale-error:empty{display:none}.sale-cart #sale-error:not(:empty){margin-top:12px}
@media(min-width:1680px){.sale-layout.pos{grid-template-columns:minmax(0,1fr) 390px;gap:32px}.sale-studio .product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.sale-studio .product-card{min-height:218px}.sale-cart .cart-items{min-height:220px}}
@media(max-width:1320px) and (min-width:951px){.sale-layout.pos{grid-template-columns:minmax(0,1fr) 330px;gap:20px}.sale-studio .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sale-find{padding:18px}.sale-cart .panel-header,.sale-cart .cart-footer{padding-left:18px;padding-right:18px}.sale-cart .cart-items{padding-left:18px;padding-right:18px}.sale-cart .total-row strong{font-size:28px}.sale-barcode-form label{font-size:9px}.sale-barcode-form{gap:7px}.sale-barcode-form input::placeholder{font-size:9px}}
@media(max-width:950px) and (min-width:761px){.sale-layout.pos{grid-template-columns:minmax(0,1fr) 325px;gap:20px}.sale-studio .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sale-find{padding:17px}.sale-cart .total-row strong{font-size:28px}.sale-barcode-form label{font-size:9px}.sale-barcode-form{gap:7px}}
@media(max-width:760px){.sale-page-heading{margin-bottom:22px;align-items:flex-start}.sale-page-heading h1{font-size:27px}.sale-page-heading p{font-size:11px}.sale-eyebrow{font-size:8px;letter-spacing:1.7px}.sale-camera.btn{padding:9px 10px;min-height:37px;font-size:10px;gap:6px;white-space:nowrap;margin-top:12px}.sale-camera svg{width:14px;height:14px}.sale-layout.pos{grid-template-columns:minmax(0,1fr);gap:27px}.sale-find{padding:17px 16px 12px;margin-bottom:24px;border-radius:14px}.sale-search-form .search input{font-size:16px}.sale-search-form .search input::placeholder{font-size:11px}.sale-search-add.btn{font-size:11px;padding:0 12px}.sale-search-form .sale-search-clear{width:28px;min-width:28px;margin-right:1px}.sale-key{font-size:9px}.sale-studio .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.sale-studio .product-card{min-height:205px;padding:14px 14px 13px}.sale-studio .product-card>b{font-size:13px}.sale-studio .product-bottom strong{font-size:21px}.sale-barcode-form{gap:9px}.sale-barcode-form input{font-size:16px}.sale-barcode-form input::placeholder{font-size:10px}.sale-barcode-form label{font-size:9px}.sale-studio .pos-search-status{font-size:9px;margin-bottom:14px}.sale-cart.cart{position:static;border-radius:15px;scroll-margin-top:77px}.sale-cart .cart-items{min-height:145px;max-height:340px}.sale-empty-cart{min-height:145px}.sale-cart .panel-header{padding:19px 20px}.sale-cart .cart-footer{padding:22px 20px 19px}.sale-cart .total-row strong{font-size:32px}.sale-cart .qty{width:114px;height:39px}.sale-cart .qty button{width:38px;height:37px;min-height:37px}.sale-cart .cart-line>.icon-btn{width:38px;min-height:38px}.sale-cart .sale-money-input{height:49px}.sale-cart .sale-money-input input{font-size:18px}.sale-cart .quick-pay .btn{min-height:35px;font-size:11px}.sale-cart .cart-footer>.primary{min-height:49px}.sale-cart .cart-footer>.gold{min-height:44px}.sale-cart .cart-footer>.hint{font-size:10px}}
@media(max-width:380px){.sale-page-heading{gap:8px}.sale-camera.btn{font-size:9px;padding:8px}.sale-page-heading h1{font-size:25px}.sale-page-heading p{font-size:10px}.sale-studio .product-card{padding:12px;min-height:202px}.sale-studio .product-bottom strong{font-size:19px}.sale-studio .product-top{gap:3px}.sale-studio .stock-pill{font-size:7px}.sale-barcode-form label{font-size:8px;gap:5px}.sale-barcode-form input::placeholder{font-size:9px}.sale-search-add.btn{padding:0 9px}.sale-search-form .sale-search-clear{display:none}}
@media(prefers-reduced-motion:reduce){.sale-studio *{scroll-behavior:auto!important;transition:none!important}}

/* RenoPOS supplier accounts: quiet summaries and a dated payment ledger. */
.supplier-name{display:flex;align-items:center;gap:13px;text-align:left;background:none;border:0;padding:4px 0;color:var(--text);cursor:pointer;max-width:340px;white-space:normal}
.supplier-name>span:nth-child(2){min-width:0}.supplier-name b{font-size:13px;font-weight:550}.supplier-name small{line-height:1.6;font-size:11px}.supplier-name>svg{width:14px;height:14px;flex-shrink:0;color:var(--muted);margin-left:7px}.supplier-name:hover b,.supplier-inline:hover{color:var(--green)}
.supplier-avatar{display:grid;place-items:center;flex-shrink:0;width:40px;height:40px;border:1px solid var(--line);border-radius:12px;background:var(--faint);color:var(--muted);font-weight:500;font-size:16px}
.supplier-inline{background:none;border:0;color:var(--text);font:inherit;font-weight:550;padding:0;cursor:pointer;text-align:left}.supplier-balance{display:inline-block;font-size:14px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}.supplier-balance.owing{color:var(--gold)}.supplier-balance.settled,.supplier-paid{color:var(--green)}
.supplier-history-heading{margin-top:32px;margin-bottom:18px}.supplier-history-heading h2{font-size:18px;font-weight:550}.supplier-history-heading p{font-size:12px;color:var(--muted);margin-top:7px}
.supplier-account-head{display:flex;align-items:center;gap:15px;margin:3px 0 24px}.supplier-account-head .supplier-avatar{width:48px;height:48px;font-size:20px}.supplier-account-head h3{font-size:22px;font-weight:550;letter-spacing:-.4px}.supplier-account-head p{margin:6px 0 0;color:var(--muted);font-size:12px;overflow-wrap:anywhere}
.supplier-account-totals,.purchase-payment-summary{display:grid;grid-template-columns:1fr 1fr 1fr;border:1px solid var(--line);border-radius:13px;overflow:hidden;margin:18px 0 24px;background:var(--faint)}
.supplier-account-totals>div,.purchase-payment-summary>div{padding:20px;min-width:0}.supplier-account-totals>div+div,.purchase-payment-summary>div+div{border-left:1px solid var(--line)}
.supplier-account-totals span,.purchase-payment-summary span{display:block;font-size:11px;color:var(--muted);margin-bottom:10px}.supplier-account-totals strong,.purchase-payment-summary strong{display:block;font-size:25px;letter-spacing:-.7px;font-weight:550;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.supplier-account-totals small,.purchase-payment-summary small{display:block;font-size:10px;color:var(--muted);line-height:1.6;margin-top:7px}
.supplier-due{background:color-mix(in srgb,var(--gold) 5%,transparent)}.supplier-due>strong{color:var(--gold)}.supplier-ledger-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.supplier-ledger-tools .tabs{gap:4px}.supplier-ledger-tools .hint{margin:0;font-size:10px}.supplier-ledger-tools .tab{font-size:12px;min-height:36px}
#supplier-events .table-wrap{border:1px solid var(--line);border-radius:11px}#supplier-events table{min-width:690px}#supplier-events th{font-size:10px}#supplier-events td{font-size:12px;padding:15px 13px;vertical-align:top}#supplier-events td:first-child{white-space:nowrap}#supplier-events td small{font-size:10px;line-height:1.6;max-width:260px;white-space:normal;overflow-wrap:anywhere}.supplier-document{display:inline-block;margin-top:5px;font-size:10px;color:var(--green)}
#supplier-more:not(:empty){margin-top:16px}.supplier-date-note{font-size:10px;line-height:1.7;margin-top:15px}.supplier-warning{display:flex;align-items:flex-start;gap:8px;padding:12px 14px;border-radius:9px;background:color-mix(in srgb,var(--gold) 8%,transparent);color:var(--gold);font-size:12px;line-height:1.7;margin-bottom:20px}.supplier-warning svg{width:17px;height:17px;flex-shrink:0;margin-top:1px}
.supplier-loading{padding:40px 0;text-align:center;color:var(--muted)}.supplier-pay-summary{border:1px solid var(--line);border-radius:12px;background:var(--faint);padding:18px}.supplier-pay-summary span{display:block;font-size:15px;font-weight:550}.supplier-pay-summary small{display:block;color:var(--muted);font-size:11px;margin:12px 0 5px}.supplier-pay-summary strong{font-size:27px;font-weight:550;color:var(--gold)}
.purchase-payment-summary{margin:18px 0 0}.purchase-payment-summary strong{font-size:24px}.purchase-payment-summary small{min-height:32px}.purchase-payment-hint{font-size:12px;line-height:1.7;margin-top:12px}#purchase-difference:empty{display:none}
@media(max-width:600px){.supplier-account-totals,.purchase-payment-summary{grid-template-columns:1fr}.supplier-account-totals>div,.purchase-payment-summary>div{padding:14px 16px}.supplier-account-totals>div+div,.purchase-payment-summary>div+div{border-left:0;border-top:1px solid var(--line)}.supplier-account-totals strong,.purchase-payment-summary strong{font-size:25px}.supplier-account-totals span,.purchase-payment-summary span{margin-bottom:6px}.purchase-payment-summary small{min-height:0}.supplier-account-head h3{font-size:19px}.supplier-ledger-tools{align-items:flex-start;flex-direction:column}.supplier-overview .metric strong{font-size:25px}.supplier-date-note{font-size:11px}#supplier-account .modal-foot{flex-wrap:wrap}.supplier-name{min-width:210px}.supplier-name>svg{margin-left:auto}}

@media(max-width:600px){#supplier-events .table-wrap{overflow:visible;border:0}#supplier-events table,#supplier-events tbody{display:block;min-width:0;width:100%}#supplier-events thead{display:none}#supplier-events tr{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line);border-radius:11px;margin-bottom:12px;padding:8px;overflow:hidden}#supplier-events td{display:block;border:0;padding:8px;font-size:12px;min-width:0;white-space:normal;overflow-wrap:anywhere}#supplier-events td::before{content:attr(data-label);display:block;font-size:9px;color:var(--muted);font-weight:500;margin-bottom:4px}#supplier-events td:nth-child(1),#supplier-events td:nth-child(2){grid-column:1/-1}#supplier-events td:nth-child(2){padding-bottom:12px;border-bottom:1px solid var(--line);margin-bottom:4px}#supplier-events td:first-child{white-space:normal;color:var(--muted)}#supplier-events td:first-child::before{display:none}#supplier-events td:first-child small{display:inline;margin-left:8px}#supplier-events td:nth-child(5){grid-column:1/-1;border-top:1px solid var(--line);margin-top:4px;padding-top:10px;font-weight:550}#supplier-events td:nth-child(5)::before{display:inline;margin-right:12px}#supplier-events td:nth-child(5) small{display:inline;margin-left:8px;font-weight:400}}

/* RenoPOS invoice-first goods receipt. */
.purchase-steps{display:flex;align-items:center;gap:17px;margin:0 0 30px}.purchase-steps>span:not(.purchase-step-line){display:flex;align-items:center;gap:9px;font-size:11px;color:var(--muted);white-space:nowrap}.purchase-steps i{display:grid;place-items:center;width:25px;height:25px;border:1px solid var(--line);border-radius:50%;font-style:normal;font-size:10px}.purchase-steps i svg{width:14px;height:14px}.purchase-steps .active{color:var(--text)!important;font-weight:600}.purchase-steps .active i,.purchase-steps .done i{background:var(--green);border-color:var(--green);color:var(--panel)}.purchase-step-line{height:1px;background:var(--line);flex:1}
.purchase-upload-intro{text-align:center;padding:9px 0 23px}.purchase-upload-intro .eyebrow{font-size:9px;letter-spacing:1.8px;color:var(--green)}.purchase-upload-intro h3{font-size:31px;line-height:1.24;letter-spacing:-1px;font-weight:550;margin:13px 0}.purchase-upload-intro p{font-size:12px;line-height:1.9;color:var(--muted)}.purchase-upload-supplier{max-width:550px;margin:0 auto 18px}.purchase-drop{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:206px;border:1px dashed color-mix(in srgb,var(--green) 45%,var(--line));border-radius:15px;background:color-mix(in srgb,var(--green) 3%,var(--panel));cursor:pointer;text-align:center;padding:25px}.purchase-drop>svg{height:33px;width:33px;color:var(--green);margin-bottom:3px}.purchase-drop strong{font-size:16px;font-weight:550}.purchase-drop span{font-size:11px;color:var(--muted);line-height:1.8}.purchase-drop input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.purchase-drop:focus-within{outline:2px solid var(--green);outline-offset:3px}.purchase-drop:hover{border-color:var(--green)}.purchase-drop.is-loading{cursor:wait;opacity:.7}.purchase-drop.is-loading>svg{animation:invoice-pulse 1.4s ease-in-out infinite}@keyframes invoice-pulse{50%{opacity:.35;transform:scale(.94)}}
.purchase-document{display:flex;align-items:center;gap:13px;padding:13px 15px;border:1px solid var(--line);border-radius:11px;margin:16px 0;color:var(--text);text-decoration:none;background:var(--faint)}.purchase-document>svg:first-child{width:26px;height:26px;color:var(--muted)}.purchase-document img{width:35px;height:42px;object-fit:cover;border-radius:4px}.purchase-document>span{flex:1;min-width:0}.purchase-document b{display:block;font-size:11px;font-weight:550;overflow-wrap:anywhere}.purchase-document small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.purchase-document>svg:last-child{width:15px;height:15px;color:var(--muted)}.purchase-upload-note{font-size:10px;text-align:center;margin:17px auto;line-height:1.8;max-width:550px}.purchase-scan-error{background:color-mix(in srgb,var(--red) 7%,transparent);border:1px solid color-mix(in srgb,var(--red) 30%,var(--line));padding:16px;border-radius:11px;margin:17px 0}.purchase-scan-error b{font-size:13px;color:var(--red)}.purchase-scan-error p{font-size:12px;line-height:1.7;margin:8px 0 12px}
.purchase-review-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.purchase-review-head h3{font-size:23px;font-weight:550;letter-spacing:-.5px}.purchase-review-head p{font-size:11px;color:var(--muted);margin-top:7px}.purchase-review-head p span{color:var(--green)}.purchase-review-hint{font-size:12px;line-height:1.7}.purchase-document-fields{grid-template-columns:1.2fr 1fr 1fr;margin:24px 0}.purchase-warnings{font-size:12px;color:var(--gold);border:1px solid color-mix(in srgb,var(--gold) 30%,var(--line));border-radius:10px;padding:13px 16px;margin:20px 0}.purchase-warnings summary{cursor:pointer;font-weight:550}.purchase-warnings p{margin:10px 0 0;line-height:1.7}
.purchase-lines{margin-top:21px}.purchase-line.invoice-product{padding:19px;margin:0 0 14px;border:1px solid var(--line);border-radius:13px;background:var(--panel)}.invoice-product-head{display:flex;align-items:center;gap:12px}.invoice-product-number{font-size:10px;color:var(--muted);width:25px;height:25px;display:grid;place-items:center;border:1px solid var(--line);border-radius:8px;flex-shrink:0}.invoice-product-title{flex:1;min-width:0}.invoice-product-title>b{display:block;font-size:14px;font-weight:550;overflow-wrap:anywhere}.invoice-product-title small{display:block;font-size:10px;margin-top:5px;color:var(--muted)}.invoice-product-status{font-size:9px;font-weight:500;color:var(--gold);white-space:nowrap;padding:4px 8px;border:1px solid color-mix(in srgb,var(--gold) 20%,transparent);border-radius:6px}.is-known .invoice-product-status{color:var(--green);border-color:color-mix(in srgb,var(--green) 20%,transparent)}.invoice-product-status svg{width:12px;height:12px}.invoice-product-head>.btn{min-height:30px;width:30px;padding:6px;flex-shrink:0}.invoice-product-head>.btn svg{width:14px;height:14px}.invoice-price-row{display:flex;align-items:center;gap:19px;margin:19px 0 13px}.invoice-price-row>label{width:255px;max-width:100%;font-size:11px}.invoice-price-row input{margin-top:7px;min-height:43px;font-size:16px;font-weight:500}.invoice-price-row>.hint{font-size:10px}.invoice-price-kept{display:flex;align-items:center;gap:9px;padding:2px 0;color:var(--muted);font-size:11px}.invoice-price-kept svg{height:15px;width:15px;color:var(--green)}.invoice-price-kept b{font-weight:550;color:var(--text);margin-left:10px}
.purchase-edit{border-top:1px solid var(--line);padding-top:12px;margin-top:14px}.purchase-edit summary{display:flex;justify-content:space-between;cursor:pointer;color:var(--muted);font-size:10px;list-style:none}.purchase-edit summary::-webkit-details-marker{display:none}.purchase-edit summary>svg{width:13px;height:13px}.purchase-edit[open] summary>svg{transform:rotate(90deg)}.purchase-edit .form-grid{margin-top:17px;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.purchase-edit input,.purchase-edit select{margin-top:7px}.invoice-candidates{font-size:11px;line-height:1.8;margin:12px 0;color:var(--gold)}.invoice-candidates .btn{font-size:10px;margin:7px 6px 0 0}.purchase-add-line{display:flex;justify-content:flex-start;margin:6px 0 26px}.purchase-payment-heading{border-top:1px solid var(--line);padding-top:22px;margin-bottom:18px}.purchase-payment-heading h3{font-size:16px;font-weight:550}.purchase-payment-heading p{font-size:11px;color:var(--muted);margin-top:7px;line-height:1.8}
@media(max-width:600px){.purchase-steps{gap:8px;margin-bottom:23px}.purchase-steps>span:not(.purchase-step-line){font-size:9px;gap:5px}.purchase-steps i{width:22px;height:22px}.purchase-upload-intro h3{font-size:25px}.purchase-upload-intro p{font-size:11px}.purchase-upload-intro p br{display:none}.purchase-drop{min-height:190px;padding:20px 12px}.purchase-drop strong{font-size:14px}.purchase-drop span{font-size:10px}.purchase-review-head h3{font-size:20px}.purchase-review-head>.btn{font-size:9px;padding:8px}.purchase-document-fields{grid-template-columns:1fr 1fr;gap:13px}.purchase-document-fields>label:first-child{grid-column:1/-1}.purchase-line.invoice-product{padding:14px}.invoice-product-head{gap:8px;flex-wrap:wrap}.invoice-product-title{flex-basis:calc(100% - 38px)}.invoice-product-status{margin-left:33px}.invoice-product-head>.btn{margin-left:auto}.invoice-product-title>b{font-size:13px}.invoice-price-row{align-items:flex-start;flex-direction:column;gap:8px;margin-top:14px}.invoice-price-row>label{width:100%}.purchase-edit .form-grid{grid-template-columns:1fr 1fr;gap:12px}.purchase-edit .form-grid>label:first-child,.purchase-edit .form-grid>label:nth-child(5),.purchase-edit .form-grid>label:nth-child(6){grid-column:1/-1}.invoice-price-kept{font-size:10px}.invoice-price-kept b{display:block;margin:4px 0 0}.purchase-upload-note{font-size:10px}}
@media(prefers-reduced-motion:reduce){.purchase-drop.is-loading>svg{animation:none}}

/* RenoPOS practical receipt and product editor — scoped to these two dialogs. */
#modal.receipt-workspace{width:min(1360px,97vw);height:min(940px,94dvh);max-height:94dvh;overflow:hidden;border-radius:18px}
.receipt-workspace .modal-head{padding:18px 28px;height:66px;position:relative;box-sizing:border-box;background:var(--panel)}.receipt-workspace .modal-head h2{font-size:16px;font-weight:560;letter-spacing:-.3px}.receipt-workspace>.modal-body{padding:0;height:calc(100% - 66px);overflow:hidden}
.receipt-form{height:100%;display:flex;flex-direction:column}.receipt-scroll{flex:1;min-height:0;overflow-y:auto;padding:25px 28px 30px;scroll-behavior:smooth}.receipt-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:22px}.receipt-eyebrow{font-size:9px;letter-spacing:1.65px;color:var(--muted);font-weight:600}.receipt-heading h3{font-size:25px;font-weight:540;letter-spacing:-.9px;line-height:1.3;margin:7px 0}.receipt-heading p{font-size:12px;color:var(--muted);margin:0}.receipt-local{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--green);white-space:nowrap}.receipt-local svg{height:15px;width:15px}
.receipt-context{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:25px;padding:18px 20px;border:1px solid var(--line);border-radius:12px;background:var(--faint);margin-bottom:23px;align-items:center}.receipt-context label{font-size:10px;color:var(--muted)}.receipt-context select{margin-top:7px;min-height:39px;font-size:12px;background:var(--panel)}.receipt-date{padding-left:18px;border-left:1px solid var(--line)}.receipt-date span{display:block;font-size:10px;color:var(--muted)}.receipt-date b{display:block;font-weight:540;font-size:14px;margin:6px 0}.receipt-date small{font-size:9px;color:var(--muted)}
.receipt-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:25px;align-items:start}.receipt-main{min-width:0}.receipt-drop{display:flex;align-items:center;gap:13px;position:relative;border:1px dashed color-mix(in srgb,var(--green) 40%,var(--line));background:color-mix(in srgb,var(--green) 3%,var(--panel));border-radius:11px;padding:17px 18px;cursor:pointer;transition:border-color .15s,background .15s}.receipt-drop>svg{height:27px;width:27px;color:var(--green);flex-shrink:0}.receipt-drop>span{flex:1;min-width:0}.receipt-drop b{font-size:12px;font-weight:550;display:block}.receipt-drop small{font-size:10px;color:var(--muted);display:block;margin-top:5px;line-height:1.6}.receipt-drop em{font-size:10px;font-style:normal;border:1px solid var(--line);padding:7px 10px;border-radius:6px;background:var(--panel);white-space:nowrap}.receipt-drop input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.receipt-drop:hover,.receipt-drop.is-dragging{border-color:var(--green);background:var(--soft)}.receipt-drop:focus-within{outline:2px solid var(--focus);outline-offset:3px}.receipt-drop.is-loading>svg{animation:invoice-pulse 1.4s ease-in-out infinite}.receipt-drop.is-loading{cursor:wait}.receipt-file{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:10px;margin:10px 2px 0;text-decoration:none;max-width:100%}.receipt-file>svg{width:13px;height:13px;flex-shrink:0}.receipt-file>span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.receipt-file:hover{color:var(--green)}
.receipt-add-bar{display:flex;gap:9px;margin:22px 0;align-items:flex-start}.receipt-add-bar>.btn{font-size:11px;min-height:43px;padding:10px 13px;white-space:nowrap;border:1px solid var(--line);background:var(--panel)}.receipt-lookup{position:relative;flex:1;min-width:0}.receipt-lookup .search{margin:0;background:var(--field);width:100%;border:1px solid var(--line);border-radius:9px;padding:0 12px;box-sizing:border-box}.receipt-lookup input{min-height:42px;font-size:12px;border:0!important;box-shadow:none!important;background:transparent;padding:9px 0;width:100%;outline:none}.receipt-lookup .search:focus-within{border-color:var(--focus);box-shadow:0 0 0 3px color-mix(in srgb,var(--green) 9%,transparent)}
.receipt-search-results{position:absolute;top:calc(100% + 7px);left:0;right:-130px;border:1px solid var(--line);background:var(--panel);z-index:6;border-radius:11px;box-shadow:0 12px 35px #07192425;max-height:340px;overflow:auto;padding:5px}.receipt-search-results[hidden]{display:none}.receipt-search-results button,.receipt-match-results button{display:flex;align-items:center;gap:10px;text-align:left;width:100%;padding:12px 10px;border-radius:7px;background:transparent;border:0;color:var(--text)}.receipt-search-results button:hover,.receipt-search-results button:focus-visible,.receipt-match-results button:hover{background:var(--soft);outline:1px solid var(--green)}.receipt-search-results button>span:nth-child(2),.receipt-match-results button>span:nth-child(2){flex:1;min-width:0}.receipt-search-results button>span:nth-child(3),.receipt-match-results button>span:nth-child(3){text-align:right}.receipt-search-results b,.receipt-match-results b{display:block;font-size:12px;font-weight:550;overflow-wrap:anywhere}.receipt-search-results small,.receipt-match-results small{display:block;font-size:9px;margin-top:4px;color:var(--muted)}.receipt-result-icon{display:grid;place-items:center;width:32px;height:32px;background:var(--faint);border-radius:7px;flex-shrink:0}.receipt-result-icon svg{width:17px;height:17px;color:var(--muted)}.receipt-search-results button>svg,.receipt-match-results button>svg{width:14px;height:14px;flex-shrink:0;color:var(--green)}
.receipt-list-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 11px}.receipt-list-heading h4{font-size:12px;font-weight:550;margin:0}.receipt-list-heading h4>span{display:inline-block;font-size:9px;background:var(--faint);padding:3px 6px;border-radius:5px;margin-left:6px;color:var(--muted)}.receipt-list-heading>small{font-size:9px;color:var(--muted)}.receipt-lines{margin:0}.receipt-empty{text-align:center;padding:50px 12px;background:var(--faint);border:1px solid var(--line);border-radius:11px}.receipt-empty>svg{width:35px;height:35px;color:var(--muted);opacity:.65;margin-bottom:13px}.receipt-empty h4{font-weight:550;font-size:14px;margin:0 0 7px}.receipt-empty p{font-size:11px;color:var(--muted);line-height:1.9;margin:0}
.receipt-workspace .receipt-item{border:1px solid var(--line);border-radius:10px;padding:13px 12px 8px;margin:0 0 9px;background:var(--panel)}.receipt-row{display:grid;grid-template-columns:20px minmax(135px,1fr) 62px 93px 99px 94px 27px;gap:9px;align-items:start}.receipt-number{font-size:10px;color:var(--muted);padding-top:31px}.receipt-workspace .receipt-row label{font-size:9px;color:var(--muted);min-width:0}.receipt-workspace .receipt-row input{width:100%;box-sizing:border-box;min-height:36px;height:36px;margin-top:7px;padding:8px;font-size:12px;border-radius:7px;color:var(--text);font-variant-numeric:tabular-nums}.receipt-workspace .receipt-product-cell label input{font-weight:550;font-size:12px}.receipt-workspace .is-known .receipt-product-cell input{border-color:transparent;background:transparent;padding-left:0;box-shadow:none;cursor:default}.receipt-item-state{display:flex;align-items:center;gap:4px;font-size:8px;color:var(--gold);margin-top:4px;line-height:1.4;overflow-wrap:anywhere}.receipt-item-state.known{color:var(--muted)}.receipt-item-state svg{width:10px;height:10px;color:var(--green);flex-shrink:0}.receipt-workspace .receipt-row .receipt-new-price{border-color:color-mix(in srgb,var(--green) 40%,var(--line));background:color-mix(in srgb,var(--green) 4%,var(--field))}.receipt-kept>span,.receipt-line-sum>span{display:block;font-size:9px;color:var(--muted)}.receipt-kept>b,.receipt-line-sum>b{font-size:12px;font-weight:550;display:block;margin-top:17px;white-space:nowrap;font-variant-numeric:tabular-nums}.receipt-kept>small{display:flex;align-items:center;gap:4px;font-size:8px;color:var(--muted);margin-top:10px}.receipt-kept svg{width:10px;height:10px;color:var(--green)}.receipt-line-sum{text-align:right}.receipt-workspace .receipt-remove{padding:0;width:27px;height:32px;min-height:32px;margin-top:21px;color:var(--muted);border:0}.receipt-remove svg{width:14px;height:14px}.receipt-remove:hover{color:var(--red)}
.receipt-row-details{margin:8px 0 0 29px}.receipt-row-details summary{font-size:9px;display:flex;align-items:center;gap:4px;color:var(--muted);cursor:pointer;width:max-content;list-style:none;padding:4px 0}.receipt-row-details summary::-webkit-details-marker{display:none}.receipt-row-details summary svg{width:11px;height:11px}.receipt-row-details[open] summary svg{transform:rotate(90deg)}.receipt-details-grid{display:grid;grid-template-columns:1.3fr .8fr 1fr;gap:14px;padding:13px 0 7px}.receipt-workspace .receipt-details-grid label{font-size:10px}.receipt-workspace .receipt-details-grid input,.receipt-workspace .receipt-details-grid select{font-size:12px;min-height:37px;margin-top:7px}.receipt-row-match{grid-column:1/-1}.receipt-match-results:empty{display:none}.receipt-match-results{max-height:235px;overflow:auto}.receipt-row-match>.btn{margin-top:9px;font-size:10px}.receipt-candidates{display:flex;align-items:center;flex-wrap:wrap;gap:5px;font-size:9px;color:var(--muted);margin:5px 0 0 29px}.receipt-candidates .btn{font-size:9px;min-height:29px;padding:6px 8px;border:1px solid var(--line)}.receipt-line-note{color:var(--gold);font-size:10px;line-height:1.6;margin:9px 0 5px 29px}.receipt-confirm{display:flex;align-items:flex-start;gap:9px;font-size:11px!important;font-weight:400;margin-top:18px;color:var(--muted);line-height:1.6}.receipt-confirm input{flex:0 0 15px;width:15px;height:15px;min-height:15px;margin:2px 0 0;accent-color:var(--green)}
.receipt-summary{border:1px solid var(--line);border-radius:13px;padding:21px;background:var(--faint)}.receipt-grand{margin:20px 0 23px}.receipt-grand>span{font-size:11px;color:var(--muted)}.receipt-grand strong{font-size:30px;line-height:1.2;font-weight:550;letter-spacing:-1.1px;display:block;margin:8px 0}.receipt-grand small{display:block;font-size:10px;color:var(--muted)}.receipt-payment-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px;gap:8px}.receipt-payment-title h4{font-size:11px;font-weight:550;margin:0}.receipt-payment-title>span{font-size:9px;color:var(--muted)}.receipt-pay-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.receipt-workspace .receipt-pay-fields label{font-size:10px;color:var(--muted)}.receipt-workspace .receipt-pay-fields input{margin-top:7px;font-size:14px;background:var(--panel);min-height:42px;padding:10px;width:100%;box-sizing:border-box}.receipt-pay-shortcuts{display:flex;gap:5px;flex-wrap:wrap;margin:10px 0 21px}.receipt-pay-shortcuts .btn{font-size:9px;padding:5px 6px;min-height:28px;color:var(--muted)}.receipt-pay-shortcuts .btn:hover{color:var(--green);background:var(--soft)}.receipt-paid{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);gap:10px;padding-bottom:15px;border-bottom:1px solid var(--line)}.receipt-paid b{font-weight:550;color:var(--text)}.receipt-balance{padding-top:17px;display:grid;grid-template-columns:1fr auto;gap:9px;align-items:center}.receipt-balance>span{font-size:11px}.receipt-balance strong{font-size:20px;font-weight:550;letter-spacing:-.4px;color:var(--gold)}.receipt-balance small{grid-column:1/-1;font-size:9px;line-height:1.65;color:var(--muted)}.receipt-invoice-total{border-top:1px solid var(--line);margin-top:15px;padding-top:14px;display:flex;gap:8px;justify-content:space-between;color:var(--muted);font-size:10px}.receipt-invoice-total b{font-weight:500}.receipt-warning{font-size:10px;color:var(--gold);line-height:1.7;margin:13px 0 0}.receipt-warning:empty{display:none}
.receipt-document-details{border:1px solid var(--line);border-radius:11px;margin-top:13px}.receipt-document-details summary{display:flex;gap:7px;align-items:center;cursor:pointer;padding:15px 13px;list-style:none;font-size:10px}.receipt-document-details summary::-webkit-details-marker{display:none}.receipt-document-details summary>svg{width:13px;height:13px;flex-shrink:0;color:var(--muted)}.receipt-document-details summary>span{margin-left:auto;color:var(--muted);font-size:9px}.receipt-document-details[open] summary>svg:last-child{transform:rotate(90deg)}.receipt-document-details>div{padding:0 14px 16px;display:grid;gap:14px}.receipt-workspace .receipt-document-details label{font-size:10px}.receipt-workspace .receipt-document-details input{margin-top:7px;min-height:38px;font-size:12px}.receipt-side-note{display:flex;gap:7px;color:var(--muted);font-size:10px;line-height:1.7;padding:0 4px;margin-top:16px}.receipt-side-note svg{width:14px;height:14px;flex-shrink:0;margin-top:2px;color:var(--green)}.receipt-notes{margin-top:13px;font-size:10px;border:1px solid color-mix(in srgb,var(--gold) 25%,var(--line));padding:12px 14px;border-radius:9px;color:var(--gold);line-height:1.7}.receipt-notes summary{display:flex;align-items:center;gap:6px;cursor:pointer;font-weight:500;list-style:none}.receipt-notes summary svg{width:14px;height:14px}.receipt-notes p{margin:8px 0 0}
.receipt-footer{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);background:var(--panel);padding:16px 28px;box-shadow:0 -5px 20px #06182204}.receipt-footer>div:first-child b{display:block;font-size:11px;font-weight:550}.receipt-footer small{display:block;font-size:9px;color:var(--muted);margin-top:5px}.receipt-footer-actions{display:flex;gap:9px;flex-shrink:0}.receipt-footer .btn{font-size:11px;min-height:42px}.receipt-footer .form-error{font-size:10px;max-width:300px;margin:0}.receipt-footer .form-error:empty{display:none}
#modal.product-workspace{width:min(620px,95vw);border-radius:17px}.product-workspace .modal-head{padding:19px 26px}.product-workspace .modal-head h2{font-size:16px;font-weight:550}.product-workspace .modal-body{padding:25px 27px}.product-editor-intro{display:flex;gap:13px;align-items:center;margin-bottom:25px}.product-editor-intro>span{display:grid;place-items:center;height:44px;width:44px;flex-shrink:0;background:var(--soft);border-radius:12px;color:var(--green)}.product-editor-intro svg{height:23px;width:23px}.product-editor-intro h3{font-size:20px;font-weight:550;letter-spacing:-.6px;margin:0}.product-editor-intro p{font-size:11px;color:var(--muted);margin:7px 0 0;line-height:1.6}.product-main-fields{display:flex;flex-direction:column;gap:19px}.product-workspace label{font-size:11px;color:var(--muted);font-weight:450}.product-workspace input,.product-workspace select{font-size:14px;min-height:43px;margin-top:7px;border-radius:8px;color:var(--text)}.product-workspace [name=name]{font-size:15px;min-height:46px}.product-price-pair{display:grid;grid-template-columns:1fr 1fr;gap:15px}.product-price-pair input{font-size:20px;min-height:52px;font-weight:500}.product-price-pair small{display:block;font-size:9px;color:var(--muted);margin-top:6px}.product-selling input{background:color-mix(in srgb,var(--green) 4%,var(--field));border-color:color-mix(in srgb,var(--green) 35%,var(--line))}.product-price-difference{font-size:10px;color:var(--green);margin-top:-7px}.product-price-difference:empty,.product-duplicate:empty{display:none}.product-price-difference.negative{color:var(--red)}.product-workspace .optional{font-size:9px;font-weight:400;margin-left:5px;opacity:.8}.product-barcode-field{display:flex;border:1px solid var(--line);border-radius:8px;align-items:center;padding-right:5px;margin-top:7px}.product-barcode-field:focus-within{border-color:var(--focus);box-shadow:0 0 0 3px color-mix(in srgb,var(--green) 9%,transparent)}.product-workspace .product-barcode-field input{border:0;box-shadow:none;margin:0;flex:1;min-width:0;background:transparent;outline:none}.product-barcode-field>.btn{height:34px;min-height:34px;width:37px;padding:7px;flex-shrink:0}.product-duplicate{display:flex;align-items:center;gap:8px;background:color-mix(in srgb,var(--gold) 7%,transparent);padding:11px;border-radius:8px;color:var(--gold);font-size:10px;line-height:1.6;margin-top:-8px}.product-duplicate>svg{width:16px;flex-shrink:0}.product-duplicate .btn{font-size:9px;min-height:30px;white-space:nowrap;margin-left:auto}
.product-opening{border:1px solid var(--line);border-radius:10px;background:var(--faint);padding:15px;display:flex;align-items:center;gap:20px}.product-opening>div:first-child{flex:1}.product-opening h4{font-size:12px;font-weight:550;margin:0 0 6px}.product-opening small{font-size:9px;color:var(--muted);line-height:1.6}.product-opening>div:last-child{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:220px}.product-opening input{background:var(--panel);width:100%;box-sizing:border-box}.product-stock-current{display:flex;flex-wrap:wrap;gap:12px 23px;padding:15px;background:var(--faint);border:1px solid var(--line);border-radius:10px;font-size:11px}.product-stock-current>span{display:flex;align-items:center;gap:7px;color:var(--muted)}.product-stock-current b{font-weight:550;color:var(--text)}.product-stock-current svg{width:15px;height:15px}.product-stock-current small{width:100%;font-size:9px;color:var(--muted)}.product-options{border-top:1px solid var(--line);padding-top:16px}.product-options summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none;font-size:11px;color:var(--muted)}.product-options summary::-webkit-details-marker{display:none}.product-options summary svg{width:13px;height:13px}.product-options[open] summary svg{transform:rotate(90deg)}.product-options .form-grid{margin-top:16px;grid-template-columns:1fr 1fr;gap:16px}.product-editor-footer{display:flex;justify-content:flex-end;gap:9px;padding-top:20px;margin-top:22px;border-top:1px solid var(--line);position:sticky;bottom:-25px;background:var(--panel);padding-bottom:2px;z-index:1}.product-editor-footer .btn{font-size:11px;min-height:43px}.product-editor>.form-error{font-size:11px;margin:15px 0 0}.product-editor>.form-error:empty{display:none}
@media(max-width:1100px){.receipt-layout{grid-template-columns:1fr;gap:22px}.receipt-aside{display:grid;grid-template-columns:1fr 1fr;gap:0 20px;align-items:start}.receipt-summary{grid-row:1/3}.receipt-document-details{margin:0}.receipt-side-note{grid-column:2}.receipt-local{font-size:9px}.receipt-context{gap:17px}.receipt-context-location label{font-size:9px}}
@media(max-width:760px){#modal.receipt-workspace{width:calc(100vw - 12px);max-height:calc(100dvh - 12px);height:calc(100dvh - 12px);border-radius:12px}.receipt-workspace .modal-head{height:58px;padding:14px 18px}.receipt-workspace>.modal-body{height:calc(100% - 58px)}.receipt-scroll{padding:20px 16px}.receipt-heading{margin-bottom:18px}.receipt-heading h3{font-size:22px;letter-spacing:-.7px}.receipt-heading p{font-size:11px;line-height:1.7}.receipt-local{display:none}.receipt-context{grid-template-columns:1fr 1fr;gap:13px;padding:14px;margin-bottom:18px}.receipt-context>label{grid-column:1/-1}.receipt-date{padding-left:13px}.receipt-date small{display:none}.receipt-context select{font-size:13px}.receipt-date b{font-size:12px}.receipt-drop{padding:14px 12px;gap:9px}.receipt-drop>svg{width:23px;height:23px}.receipt-drop b{font-size:11px}.receipt-drop small{font-size:9px;line-height:1.7}.receipt-drop em{font-size:9px;padding:6px}.receipt-add-bar{gap:7px;margin:18px 0}.receipt-add-bar>.btn{font-size:10px;padding:9px;min-height:43px}.receipt-add-bar>.btn svg{width:14px;height:14px}.receipt-lookup input{font-size:14px;min-height:43px}.receipt-lookup input::placeholder{font-size:10px}.receipt-lookup .search{padding:0 9px;gap:7px}.receipt-lookup .search svg{width:15px;height:15px}.receipt-search-results{right:-107px}.receipt-list-heading small{max-width:145px;text-align:right;font-size:8px;line-height:1.5}.receipt-workspace .receipt-item{padding:12px 12px 8px}.receipt-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px 9px;position:relative}.receipt-number{display:none}.receipt-product-cell{grid-column:1/-1;padding-right:29px}.receipt-workspace .receipt-product-cell label{font-size:9px}.receipt-workspace .receipt-product-cell input{font-size:14px!important}.receipt-workspace .receipt-row input{min-height:39px;height:39px;font-size:14px;margin-top:5px}.receipt-workspace .receipt-row label{font-size:9px}.receipt-kept b{font-size:12px;margin-top:14px}.receipt-kept small{font-size:8px;margin-top:7px}.receipt-line-sum{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:10px}.receipt-line-sum>span{font-size:10px}.receipt-line-sum>b{margin:0;font-size:13px}.receipt-workspace .receipt-remove{position:absolute;right:-3px;top:20px;margin:0;width:30px;min-height:33px}.receipt-item-state{font-size:9px}.receipt-row-details{margin-left:0;margin-top:6px}.receipt-row-details summary{font-size:10px;min-height:28px}.receipt-details-grid{grid-template-columns:1fr 1fr;gap:13px}.receipt-details-grid>label:first-child{grid-column:1/-1}.receipt-candidates{margin-left:0}.receipt-line-note{margin-left:0}.receipt-aside{grid-template-columns:1fr;gap:13px}.receipt-summary{grid-row:auto;padding:20px}.receipt-side-note{grid-column:auto;margin:0}.receipt-document-details{margin:0}.receipt-footer{padding:12px 15px calc(12px + env(safe-area-inset-bottom));gap:10px;flex-wrap:wrap}.receipt-footer>div:first-child{display:none}.receipt-footer .form-error{max-width:100%;width:100%;font-size:10px}.receipt-footer-actions{width:100%;gap:9px}.receipt-footer-actions .primary{flex:1}.receipt-footer .btn{font-size:11px;min-height:43px}.receipt-grand strong{font-size:31px}.receipt-pay-shortcuts .btn{font-size:10px;min-height:33px;padding:6px 9px}.receipt-confirm{font-size:10px!important}.receipt-file{font-size:9px}.receipt-notes{font-size:10px}.product-workspace .modal-head{padding:16px 19px}.product-workspace .modal-body{padding:21px 19px}.product-editor-intro h3{font-size:19px}.product-editor-intro p{font-size:10px}.product-opening{flex-direction:column;align-items:stretch;gap:13px}.product-opening>div:last-child{width:100%}.product-main-fields{gap:17px}.product-price-pair{gap:11px}.product-price-pair input{font-size:21px}.product-workspace input,.product-workspace select{font-size:16px}.product-workspace [name=name]{font-size:16px}.product-editor-footer{bottom:-21px;padding-bottom:14px;gap:7px;margin-top:20px}.product-editor-footer .btn{font-size:10px;flex:1;padding:9px;min-height:44px}.product-editor-footer .btn svg{width:14px;height:14px}.product-stock-current{gap:11px;font-size:10px}.product-options .form-grid{gap:12px}.product-duplicate{flex-wrap:wrap}.product-duplicate .btn{margin-left:0}}
@media(prefers-reduced-motion:reduce){.receipt-scroll{scroll-behavior:auto}.receipt-drop.is-loading>svg{animation:none}}
/* Normalize inherited form layout and keep product actions visible. */
.receipt-workspace label,.product-workspace label{gap:0;font-weight:450}
.receipt-workspace .receipt-drop{flex-direction:row;gap:13px;text-align:left}
.receipt-workspace .receipt-lookup .search{flex-direction:row;align-items:center;gap:8px;min-width:0}
.receipt-lookup .search svg{position:static;flex:0 0 16px;width:16px;height:16px}
.receipt-workspace .receipt-confirm{flex-direction:row;gap:9px}
#modal.product-workspace{height:min(810px,92dvh);max-height:92dvh;overflow:hidden}
.product-workspace .modal-head{height:66px;box-sizing:border-box;position:relative}
.product-workspace>.modal-body{padding:0;height:calc(100% - 66px);overflow:hidden}
.product-editor{height:100%;display:flex;flex-direction:column}
.product-editor-scroll{padding:25px 27px;overflow-y:auto;flex:1;min-height:0}
.product-editor-footer{position:static;flex-shrink:0;margin:0;padding:16px 27px;background:var(--panel);border-top:1px solid var(--line)}
.product-workspace .optional{font-style:normal}
.product-editor-scroll>.form-error:empty{display:none}.product-editor-scroll>.form-error{font-size:11px;margin:15px 0 0}
@media(max-width:760px){.receipt-workspace .receipt-drop{gap:10px}.receipt-drop em{display:none}#modal.product-workspace{height:calc(100dvh - 24px);max-height:calc(100dvh - 24px)}.product-workspace .modal-head{height:60px}.product-workspace>.modal-body{height:calc(100% - 60px)}.product-editor-scroll{padding:22px 19px}.product-editor-footer{padding:12px 16px calc(12px + env(safe-area-inset-bottom));gap:7px}.receipt-workspace .receipt-row input{margin-top:7px}}

/* RENOPOS MANUAL SUPPLIER DEBT 1 */
.supplier-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.supplier-row-actions .btn{white-space:nowrap}
.supplier-account-totals.supplier-debt-totals{grid-template-columns:repeat(4,minmax(0,1fr))}
.supplier-debt-totals>div{padding:17px 14px}.supplier-debt-totals strong{font-size:23px}
.supplier-debt-preview{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px;border:1px solid var(--line);background:var(--faint);border-radius:12px}
.supplier-debt-preview span{color:var(--muted);font-size:12px}.supplier-debt-preview strong{font-size:23px;color:var(--gold);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#supplier-debt-form textarea{width:100%;resize:vertical;min-height:75px;font:inherit}
#supplier-debt-form label small{display:inline;color:var(--muted);font-size:11px;font-weight:400}
@media(max-width:600px){.supplier-account-totals.supplier-debt-totals{grid-template-columns:repeat(2,minmax(0,1fr))}.supplier-debt-totals>div+div{border-top:0}.supplier-debt-totals>div:nth-child(even){border-left:1px solid var(--line)}.supplier-debt-totals>div:nth-child(n+3){border-top:1px solid var(--line)}.supplier-debt-totals strong{font-size:22px}.supplier-row-actions{justify-content:flex-start}.supplier-debt-preview{align-items:flex-start;flex-direction:column}}

/* RenoPOS receipt line discounts */
.receipt-row{grid-template-columns:18px minmax(130px,1fr) 56px 86px 70px 90px 96px 25px;gap:8px}
.receipt-line-sum>small{display:block;font-size:9px;color:var(--green);margin-top:7px;line-height:1.4}.receipt-line-sum>small:empty{display:none}
.receipt-discount-summary{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px 0;margin:-6px 0 19px;font-size:11px;color:var(--muted)}
.receipt-discount-summary>div{display:flex;justify-content:space-between;gap:10px;line-height:1.7}.receipt-discount-summary>div+div{margin-top:7px}.receipt-discount-summary b{font-weight:550;color:var(--text);font-variant-numeric:tabular-nums}.receipt-discount-summary>div:last-child b{color:var(--green)}
@media(max-width:760px){.receipt-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 10px}.receipt-line-sum{flex-wrap:wrap}.receipt-line-sum>small{width:100%;text-align:right;margin-top:0}.receipt-workspace .receipt-row [name=discount]{font-size:14px}}

/* Per-line VAT and included/excluded purchase price mode. */
.receipt-row{grid-template-columns:18px minmax(120px,1fr) 52px 94px 65px 65px 86px 103px 25px;gap:8px}
.receipt-cost-cell{min-width:0}.receipt-workspace .receipt-vat-mode{width:100%;min-height:25px;height:25px;margin-top:5px;padding:3px 4px;font-size:9px;color:var(--muted);border:1px solid var(--line);border-radius:5px;background:var(--faint)}
.receipt-line-sum [data-line-vat]{color:var(--muted)}.receipt-discount-summary>div:nth-child(2) b{color:var(--green)}.receipt-discount-summary>div:last-child b{color:var(--text)}
@media(min-width:761px) and (max-width:1250px){.receipt-layout{grid-template-columns:1fr}.receipt-aside{display:grid;grid-template-columns:1fr 1fr;gap:16px}.receipt-summary{grid-row:span 2}.receipt-side-note,.receipt-document-details{margin-top:0}}
@media(max-width:760px){.receipt-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 10px}.receipt-workspace .receipt-vat-mode{height:31px;min-height:31px;font-size:11px}.receipt-line-sum>small{width:100%;text-align:right}.receipt-workspace .receipt-row [name=vat]{font-size:14px}}

/* RENOPOS PRODUCT DELETE 1 */
.product-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;white-space:nowrap}
.btn.product-delete-button{color:var(--red,#b94b4b);border:1px solid color-mix(in srgb,var(--red,#b94b4b) 25%,transparent)}
.btn.product-delete-button:hover{background:color-mix(in srgb,var(--red,#b94b4b) 10%,transparent)}
.product-delete-summary{display:flex;align-items:center;gap:14px;padding:4px 0 14px}
.product-delete-summary b{display:block;font-size:18px;overflow-wrap:anywhere}
.product-delete-summary small{display:block;margin-top:5px;color:var(--muted,#7a817c)}
.product-delete-icon{width:48px;height:48px;flex-shrink:0;border-radius:15px;display:grid;place-items:center;background:#b94b4b14;color:#c65b5b}
.product-delete-stock{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:8px}
.product-delete-stock span{padding:12px 16px;border:1px solid var(--line,#dce2db);border-radius:12px;flex:1;white-space:nowrap}
.product-delete-stock b{margin-left:12px}
.product-delete-ack{display:flex;align-items:center;gap:10px;cursor:pointer;padding:12px 0}
.product-delete-ack input{width:18px;height:18px;accent-color:#b94b4b;flex-shrink:0}
.btn.product-delete-danger{background:#b73f48;color:#fff;border:1px solid #b73f48}
.btn.product-delete-danger:hover{background:#9f3039}
.product-delete-modal .hint{line-height:1.65;margin:0}
.product-delete-modal .form-grid{gap:12px}
@media(max-width:600px){.product-row-actions{gap:4px}.product-row-actions .btn{padding:9px}.product-delete-modal .modal-foot .btn{flex:1}}

/* RENOPOS SINGLE STOCK 1 */
.simple-stock-modal{max-width:540px}
.simple-stock-form{display:flex;flex-direction:column;gap:18px}
.simple-stock-modes{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:5px;border:1px solid var(--line,#dce2db);border-radius:14px}
.simple-stock-modes .btn{border:0;background:transparent;justify-content:center;border-radius:10px;min-height:48px;color:var(--muted,#83949d)}
.simple-stock-modes .btn.selected{background:#147e6b;color:#fff}
.simple-stock-modes .btn[data-mode="stock_remove"].selected{background:#ad4e53;color:#fff}
.simple-stock-current,.simple-stock-after{display:flex;justify-content:space-between;gap:16px;align-items:center}
.simple-stock-current{font-size:14px;color:var(--muted,#83949d);margin-top:-7px}
.simple-stock-after{background:color-mix(in srgb,#147e6b 8%,transparent);border:1px solid color-mix(in srgb,#147e6b 20%,transparent);border-radius:12px;padding:16px}
.simple-stock-after strong{font-size:21px}
.simple-stock-details{border-top:1px solid var(--line,#dce2db);padding-top:16px}
.simple-stock-details summary{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:14px;list-style:none}
.simple-stock-details summary::-webkit-details-marker{display:none}
.simple-stock-details summary span{color:var(--muted,#83949d);font-size:12px;margin-left:auto}
.simple-stock-details summary svg{width:16px;height:16px}
.simple-stock-details>div{display:grid;gap:14px;margin-top:16px}
.simple-stock-details [hidden]{display:none!important}
.simple-stock-form .form-error:empty{display:none}
.simple-stock-form .modal-foot{margin-top:0;padding-top:18px}
.simple-stock-form .stock-remove-submit{background:#ad4e53;color:white;border-color:#ad4e53}
.simple-stock-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
.view-stock .product-row-actions{flex-wrap:wrap}
.receipt-context{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}
@media(max-width:700px){.simple-stock-cards{grid-template-columns:1fr}.simple-stock-modes .btn{padding:10px;font-size:14px}.simple-stock-form .modal-foot .btn{flex:1}.receipt-context{grid-template-columns:1fr}}

/* RENOPOS NOTES 1 */
.notes-overview{grid-template-columns:repeat(3,minmax(0,1fr))}
.notes-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px;border-bottom:1px solid var(--line,#dce2db);flex-wrap:wrap}
.notes-filters{display:flex;gap:4px;flex-wrap:wrap}
.notes-filters .selected{background:#147e6b;color:#fff;border-color:#147e6b}
.notes-search{display:flex;align-items:center;gap:9px;min-width:220px;margin:0}
.notes-search svg{width:18px;height:18px;flex-shrink:0;color:var(--muted,#83949d)}
.notes-search input{min-width:0;width:100%;margin:0}
.note-actions{display:flex;gap:6px;flex-wrap:wrap}
.note-status{display:inline-flex;align-items:center;padding:6px 10px;border-radius:8px;font-size:12px;font-weight:700;white-space:nowrap;background:rgba(131,148,157,.12);color:var(--muted,#83949d)}
.note-status.paid{color:#147e6b;background:rgba(20,126,107,.12)}
.note-status.overdue{color:#c14d54;background:rgba(193,77,84,.12)}
.note-status.today{color:#a7731a;background:rgba(167,115,26,.12)}
.note-text{max-width:320px;white-space:normal;overflow-wrap:anywhere}
.note-confirm{display:flex;flex-direction:column;gap:8px;padding:16px;border:1px solid var(--line,#dce2db);border-radius:12px}
.note-confirm strong{font-size:26px}.note-confirm span{color:var(--muted,#83949d);font-size:13px}
.note-confirm-check{display:flex;align-items:center;gap:10px;cursor:pointer}
.note-confirm-check input{width:18px;height:18px;flex-shrink:0}
@media(max-width:700px){.notes-overview{grid-template-columns:1fr}.notes-toolbar{gap:12px}.notes-search{width:100%}.notes-panel .table-wrap{overflow:visible}.notes-panel table,.notes-panel tbody{display:block;width:100%}.notes-panel thead{display:none}.notes-panel tr{display:block;padding:14px;border-bottom:1px solid var(--line,#dce2db)}.notes-panel td{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:8px 0;border:0;white-space:normal;text-align:right}.notes-panel td:first-child{display:block;text-align:left}.notes-panel td:first-child:before{display:none}.notes-panel td:before{content:attr(data-label);font-size:12px;color:var(--muted,#83949d);text-align:left;flex-shrink:0}.notes-panel td:nth-child(2){flex-wrap:wrap}.notes-panel td:nth-child(2) small{flex-basis:100%}.note-actions{justify-content:flex-end}.note-text{max-width:none}}

/* RENOPOS PURCHASE DETAIL 1 */
.purchase-detail-link{display:inline-flex;align-items:flex-start;flex-direction:column;gap:3px;padding:3px 0;text-align:left;color:var(--text);border-radius:5px;max-width:100%}
.purchase-detail-link span{display:flex;gap:4px;align-items:center;font-size:11px;color:var(--green)}
.purchase-detail-link span svg{width:14px;height:14px}
.purchase-detail-link:hover b{text-decoration:underline;text-underline-offset:4px}
.purchase-detail-link:focus-visible{outline:2px solid var(--green);outline-offset:5px}
#modal.purchase-detail-modal{width:min(1120px,96vw)}
.purchase-detail-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:20px;flex-wrap:wrap}
.purchase-detail-heading h3{font-size:26px;font-weight:600;letter-spacing:-.5px;overflow-wrap:anywhere}
.purchase-detail-heading p:not(.eyebrow){color:var(--muted);font-size:12px;margin-top:6px;overflow-wrap:anywhere}
.purchase-detail-meta{display:flex;flex-wrap:wrap;gap:14px 32px;margin-bottom:24px;font-size:11px;color:var(--muted)}
.purchase-detail-meta b{display:block;color:var(--text);font-size:12px;font-weight:500;margin-top:5px}
.purchase-detail-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--line);border-radius:14px;overflow:hidden;margin-bottom:25px}
.purchase-detail-totals>div{padding:20px;min-width:0}.purchase-detail-totals>div+div{border-left:1px solid var(--line)}
.purchase-detail-totals span,.purchase-detail-totals small{display:block;font-size:11px;color:var(--muted)}
.purchase-detail-totals strong{display:block;font-size:27px;font-weight:500;letter-spacing:-.5px;margin:12px 0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.purchase-detail-totals>div:last-child strong{color:var(--gold)}
.purchase-detail-products{border:1px solid var(--line);border-radius:12px;overflow:hidden}
.purchase-detail-products h4{margin:0;padding:16px 18px;border-bottom:1px solid var(--line);font-size:13px;font-weight:600}
.purchase-detail-products th,.purchase-detail-products td{padding:14px 16px}.purchase-detail-products td:first-child{display:flex;gap:10px;min-width:210px;white-space:normal;max-width:350px;overflow-wrap:anywhere}.purchase-detail-products td:not(:first-child){text-align:right}.purchase-detail-products th:not(:first-child){text-align:right}
.purchase-detail-products td small{font-size:10px}.purchase-detail-item-no{font-size:10px;color:var(--muted);padding-top:2px}
.purchase-detail-tax{display:flex;justify-content:flex-end;gap:16px 28px;flex-wrap:wrap;margin-top:16px;color:var(--muted);font-size:11px}
.purchase-detail-tax b{display:block;color:var(--text);font-size:14px;font-weight:500;margin-top:5px}
.purchase-detail-note{border-top:1px solid var(--line);margin-top:24px;padding-top:16px;font-size:12px}.purchase-detail-note p{color:var(--muted);margin-top:7px;white-space:pre-wrap;overflow-wrap:anywhere}
.purchase-detail-warning{padding:12px 16px;border-radius:8px;color:var(--gold);background:color-mix(in srgb,var(--gold) 8%,transparent);font-size:12px;margin-bottom:14px}
.purchase-detail-explanation{margin-top:22px;line-height:1.7;font-size:11px}
.purchase-detail-error{display:grid;gap:18px;justify-items:start;padding:20px 0}
@media(max-width:700px){.purchase-detail-heading h3{font-size:22px}.purchase-detail-totals{grid-template-columns:1fr}.purchase-detail-totals>div{padding:16px}.purchase-detail-totals>div+div{border-left:0;border-top:1px solid var(--line)}.purchase-detail-totals strong{font-size:25px;margin:8px 0}.purchase-detail-meta{gap:14px 20px}.purchase-detail-products table,.purchase-detail-products tbody{display:block}.purchase-detail-products thead{display:none}.purchase-detail-products tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;padding:16px;border-bottom:1px solid var(--line)}.purchase-detail-products tr:last-child{border-bottom:0}.purchase-detail-products td,.purchase-detail-products td:not(:first-child){padding:0;border:0;text-align:left;white-space:normal}.purchase-detail-products td:first-child{grid-column:1/-1;min-width:0;max-width:none;border-bottom:1px solid var(--line);padding-bottom:12px}.purchase-detail-products td:not(:first-child):before{content:attr(data-label);display:block;font-size:10px;color:var(--muted);margin-bottom:4px}.purchase-detail-products td:last-child{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:12px}.purchase-detail-products td:last-child small{width:100%;text-align:right}.purchase-detail-products td:last-child:before{margin-bottom:0}.purchase-detail-tax{justify-content:flex-start}.purchase-detail-footer{flex-wrap:wrap}.purchase-detail-footer .btn{flex:1;font-size:12px}}

/* RENOPOS WEIGHTED 1 */
#modal.weight-cart-modal{max-width:460px}
.weight-cart-form{display:flex;flex-direction:column;gap:18px}
.weight-cart-heading{display:flex;flex-direction:column;gap:8px;padding-bottom:16px;border-bottom:1px solid var(--line)}
.weight-cart-heading>b{font-size:22px;font-weight:600;overflow-wrap:anywhere}.weight-cart-heading>span{font-size:16px;color:var(--green)}.weight-cart-heading small{font-size:12px;color:var(--muted)}
.weight-cart-form [name=grams]{font-size:32px;min-height:70px;text-align:center;font-weight:600;font-variant-numeric:tabular-nums}
.weight-presets{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.weight-presets .btn{min-height:40px}
.weight-total{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px;border-radius:12px;background:var(--soft,var(--panel2));border:1px solid var(--line)}
.weight-total span,.weight-total small{display:block}.weight-total span{font-size:12px;color:var(--muted)}.weight-total small{font-size:14px;color:var(--text);margin-top:5px}.weight-total strong{font-size:28px;letter-spacing:-.6px;font-weight:600;color:var(--green)}
.weight-cart-form .modal-foot{margin-top:0}.weight-cart-form .form-error:empty{display:none}.weight-cart-form .modal-foot .btn{flex:1}
.weight-edit{display:flex;align-items:center;justify-content:center;gap:8px;padding:8px 12px;border:1px solid var(--line);border-radius:8px;font-size:13px;white-space:nowrap}.weight-edit:hover{border-color:var(--green)}.weight-edit svg{width:15px;height:15px}
.weight-product-intro{display:flex;align-items:center;gap:14px;margin-bottom:8px}.weight-product-intro>span{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:var(--soft,var(--panel2));color:var(--green)}.weight-product-intro b{font-size:16px}.weight-product-intro p{font-size:12px;color:var(--muted);margin-top:5px}
.weight-extra{border-top:1px solid var(--line);padding-top:16px}.weight-extra summary{font-size:12px;cursor:pointer;color:var(--muted)}.weight-extra>.form-grid{margin-top:16px}.weight-current{display:flex;flex-wrap:wrap;gap:6px 16px;padding:12px 0;font-size:13px}.weight-current small{width:100%;color:var(--muted);font-size:11px}
.weight-invoice-confirm{margin:12px 16px}.product-bottom strong small{font-size:11px;font-weight:500;color:var(--muted)}
@media(max-width:600px){.weight-cart-form .modal-foot{gap:8px}.weight-total strong{font-size:25px}.weight-product-intro b{font-size:14px}.weight-presets{gap:6px}.weight-presets .btn{padding:8px}.weight-product-modal .form-grid{grid-template-columns:1fr}.weight-product-modal .span2{grid-column:auto}.weight-edit{font-size:12px}}

/* RENOPOS COMPACT PRODUCT CARDS 1 BEGIN */
.sale-studio #product-grid .product-grid{
  grid-template-columns:repeat(auto-fill,minmax(150px,1fr));
  gap:9px;
  align-items:stretch;
}
.sale-studio #product-grid .product-card{
  min-height:108px;
  padding:10px 11px;
  border-radius:9px;
  gap:0;
  box-shadow:none;
}
.sale-studio #product-grid .product-card:hover{
  transform:none;
  box-shadow:none;
  background:var(--sale-accent-soft);
}
.sale-studio #product-grid .product-card:disabled:hover{
  background:var(--sale-surface);
}
.sale-studio #product-grid .product-top{
  gap:6px;
  margin-bottom:6px;
  min-height:12px;
}
.sale-studio #product-grid .product-category{
  min-width:0;
  font-size:8px;
  letter-spacing:.25px;
}
.sale-studio #product-grid .stock-pill{
  font-size:9px;
  gap:4px;
}
.sale-studio #product-grid .sale-product-mark,
.sale-studio #product-grid .product-code{display:none}
.sale-studio #product-grid .product-card>b{
  min-height:0;
  font-size:12px;
  line-height:1.4;
  font-weight:550;
  letter-spacing:0;
  margin:0;
  -webkit-line-clamp:2;
}
.sale-studio #product-grid .product-bottom{
  margin-top:auto;
  padding-top:7px;
  gap:5px;
  flex-wrap:wrap;
}
.sale-studio #product-grid .product-bottom strong{
  min-width:0;
  max-width:100%;
  font-size:17px;
  line-height:1.25;
  font-weight:600;
  letter-spacing:-.3px;
  white-space:normal;
  overflow-wrap:anywhere;
}
.sale-studio #product-grid .product-bottom strong small{
  font-size:10px;
  font-weight:400;
  white-space:nowrap;
}
.sale-studio #product-grid .add-circle{
  width:23px;
  height:23px;
  border-radius:6px;
  margin-left:auto;
}
.sale-studio #product-grid .add-circle svg{width:13px;height:13px}
@media(max-width:600px){
  .sale-studio #product-grid .product-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
  }
  .sale-studio #product-grid .product-card{
    min-height:106px;
    padding:9px 10px;
  }
  .sale-studio #product-grid .product-top{gap:4px}
  .sale-studio #product-grid .product-bottom strong{font-size:16px}
}
/* RENOPOS COMPACT PRODUCT CARDS 1 END */
