:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#182027;background:#edf0f2;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select{font:inherit}button{cursor:pointer}.desktop-shell{height:100vh;min-height:560px;overflow:hidden;background:#193048}.desktop-workspace{--desktop-icon-size: 35px;position:relative;height:calc(100vh - 36px);min-height:524px;overflow:hidden;background:#945d35 url(/wjm-desktop.jpg) center / cover no-repeat}.desktop-shortcuts{position:absolute;inset:8px auto 8px 8px;z-index:1;width:max-content;max-width:calc(100% - 16px);display:grid;grid-auto-flow:column;grid-template-rows:repeat(auto-fill,calc(var(--desktop-icon-size) + 41px));grid-auto-columns:calc(var(--desktop-icon-size) + 67px);align-content:start;justify-content:start;gap:2px;overflow-x:auto;overflow-y:hidden}.desktop-shortcuts button{width:calc(var(--desktop-icon-size) + 59px);min-height:calc(var(--desktop-icon-size) + 37px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid transparent;border-radius:3px;background:transparent;color:#fff;text-shadow:0 1px 2px rgb(0 0 0 / 80%);font-size:10px;line-height:1.15}.desktop-shortcuts button:hover,.desktop-shortcuts button:focus{background:#c8e1f638;border-color:#e1f0fc8c;outline:0}.desktop-shortcuts svg{width:var(--desktop-icon-size);height:var(--desktop-icon-size);padding:clamp(4px,calc(var(--desktop-icon-size) / 6),8px);border-radius:7px;color:#fff;background:#164869e0;filter:drop-shadow(0 2px 2px rgb(0 0 0 / 35%))}.desktop-window{position:absolute;z-index:5;width:calc(100vw - 150px);min-width:820px;height:calc(100vh - 84px);min-height:500px;display:flex;flex-direction:column;overflow:hidden;background:#edf0f2;border:1px solid #315873;border-radius:5px 5px 2px 2px;box-shadow:0 13px 35px #0000006b}.desktop-window:not(.maximized){min-width:min(560px,calc(100vw - 12px));min-height:min(360px,calc(100vh - 48px));max-width:calc(100vw - 6px);max-height:calc(100vh - 42px);resize:both}.desktop-window.maximized{top:0;right:0;bottom:0;left:0;width:100%!important;height:100%!important;min-width:0;max-width:none;max-height:none;resize:none;border-radius:0}.window-titlebar{flex:0 0 31px;display:flex;align-items:center;justify-content:space-between;padding-left:8px;color:#fff;background:linear-gradient(#477d9f,#285873);border-bottom:1px solid #173b50;-webkit-user-select:none;user-select:none;touch-action:none}.window-titlebar>div:first-child{display:flex;align-items:center;gap:6px;font-size:12px}.window-actions{align-self:stretch;display:flex}.window-actions button{width:38px;height:100%;display:grid;place-items:center;border:0;border-left:1px solid rgb(255 255 255 / 16%);background:transparent;color:#fff}.window-actions button:hover{background:#ffffff2e}.window-actions button:last-child:hover{background:#b83b34}.taskbar{position:relative;z-index:20;height:36px;display:flex;align-items:center;gap:5px;padding:3px 6px;color:#fff;background:linear-gradient(#28475f,#142d41);border-top:1px solid #6f8798}.start-button,.task-button{height:29px;display:flex;align-items:center;gap:6px;color:#fff;border:1px solid #58748a;border-radius:4px;background:linear-gradient(#3a617d,#24475f);font-size:11px}.start-button{min-width:120px;padding:0 11px 0 5px;font-weight:700;border-radius:7px}.start-button:hover,.task-button:hover,.task-button.active{background:linear-gradient(#5a87a5,#386782)}.start-logo{width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:#e2a529;color:#183047;font-size:9px}.taskbar-divider{width:1px;height:24px;background:#668095}.task-button{min-width:180px;padding:0 10px;justify-content:flex-start}.taskbar-tray{margin-left:auto;display:flex;align-items:center;gap:12px;padding:0 9px;font-size:10px}.start-menu{position:fixed;z-index:30;left:5px;bottom:36px;width:360px;overflow:hidden;border:1px solid #274d69;border-radius:6px 6px 0 0;background:#f5f7f8;box-shadow:4px -5px 20px #00000061}.start-menu-user{height:58px;display:flex;align-items:center;gap:10px;padding:8px 12px;color:#fff;background:linear-gradient(#477d9f,#285873)}.start-menu-user>div{display:flex;flex-direction:column}.start-menu-user span{font-size:10px;color:#d8e4eb}.start-menu-grid{display:grid;grid-template-columns:1fr 1fr;padding:8px;gap:3px}.start-menu-grid button{min-height:40px;display:flex;align-items:center;gap:8px;text-align:left;padding:0 9px;border:1px solid transparent;border-radius:3px;background:transparent;color:#263943;font-size:11px}.start-menu-grid button:hover{border-color:#b7cad7;background:#e4f0f7}.start-menu-grid svg{color:#2c6f8f}.start-menu-footer{display:flex;justify-content:flex-end;padding:7px 9px;border-top:1px solid #b8c5cd;background:#e4e9ec}.start-menu-footer button{min-height:34px;display:flex;align-items:center;gap:7px;padding:0 11px;border:1px solid #9baab3;border-radius:3px;background:#f8fafb;color:#263943;font-size:11px;font-weight:700}.start-menu-footer button:hover{border-color:#9c4038;background:#fff0ee;color:#812f28}.start-menu-footer svg{color:#a33d35}.customer-window{z-index:9;left:80px;top:38px;width:min(1500px,calc(100vw - 110px));height:min(820px,calc(100vh - 92px));background:#eef1f3}.customer-toolbar{flex:0 0 auto;min-height:46px;display:flex;align-items:center;gap:6px;padding:7px;border-bottom:1px solid #b9c4cb;background:#dfe5e9}.customer-toolbar>button,.customer-search button,.customer-form-footer button{min-height:31px;display:flex;align-items:center;gap:5px;padding:0 10px;border:1px solid #aeb9c2;border-radius:3px;background:#fafbfc;color:#263943;font-size:11px}.customer-toolbar button:disabled,.customer-form-footer button:disabled{cursor:not-allowed;color:#89949b}.customer-search{position:relative;margin-left:auto;width:min(540px,55%);height:32px;display:grid;grid-template-columns:24px 1fr auto;align-items:center;padding-left:7px;border:1px solid #aeb9c2;border-radius:3px;background:#fff}.customer-search input{min-width:0;border:0;outline:0}.customer-search button{height:30px;border-width:0 0 0 1px}.customer-manager-search-results{position:absolute;z-index:30;top:calc(100% + 3px);left:-1px;right:-1px;max-height:260px;overflow-y:auto;padding:3px;border:1px solid #8ea5b4;border-radius:3px;background:#fff;box-shadow:0 8px 20px #0f1b2447}.customer-manager-search-results button{width:100%;min-height:45px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:6px 9px;text-align:left;border:1px solid transparent;border-radius:2px;background:#fff;color:#182027}.customer-manager-search-results button:hover,.customer-manager-search-results button[aria-selected=true]{border-color:#b4cfdf;background:#e5f1f8}.customer-manager-search-results button strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-manager-search-results button span{flex:0 0 auto;color:#667680;font-size:11px}.customer-manager{flex:1;min-height:0;display:grid;grid-template-columns:minmax(390px,var(--customer-editor-width, 36%)) 7px minmax(560px,1fr)}.customer-list-view{flex:1;min-height:0;overflow:hidden;background:#fff}.customer-list-view .customer-table-wrap{height:100%;border-right:0}.customer-name-link{display:flex;align-items:baseline;gap:8px;padding:0;border:0;background:transparent;color:#155a80;font:inherit;text-align:left;cursor:pointer}.customer-name-link:hover strong{text-decoration:underline}.customer-name-link span{color:#687780;font-size:10px}.customer-table th.number,.customer-table td.number{text-align:right;font-variant-numeric:tabular-nums}.customer-table td.account-balance{color:#17643d;font-weight:700}.customer-table td.amount-due{color:#a12f28;font-weight:700}.customer-table-wrap{overflow:auto;border-right:1px solid #b9c4cb;background:#fff}.customer-table{width:100%;border-collapse:collapse;font-size:11px}.customer-table col.customer-column{width:33%}.customer-table col.phone-column{width:16%}.customer-table col.money-column{width:17%}.customer-table th{position:sticky;top:0;z-index:1;padding:8px;text-align:left;background:#e7ecef;border-bottom:1px solid #aeb9c2}.customer-table td{padding:8px;border-bottom:1px solid #dde2e5}.customer-table tbody tr{cursor:pointer}.customer-table tbody tr:hover{background:#eef6fb}.customer-table tbody tr.selected{background:#cfe5f3;outline:1px solid #6fa1bf}.customer-form{min-width:0;overflow:auto;padding:14px}.customer-form h2{margin-bottom:15px}.customer-form-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:15px}.customer-form-heading h2{margin:0}.customer-form-heading .danger-button{min-height:31px;display:flex;align-items:center;gap:5px;padding:0 10px;border:1px solid #b94943;border-radius:3px;background:#fff3f2;color:#9f2f2a;font-size:11px}.customer-form-heading .danger-button:hover:not(:disabled){background:#b43d37;color:#fff}.customer-form-heading .danger-button:disabled{cursor:not-allowed;opacity:.55}.customer-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px 14px}.customer-form-grid label{display:flex;flex-direction:column;gap:4px;color:#52616b;font-size:11px}.customer-form-grid label.wide{grid-column:1 / -1}.customer-form-grid input{width:100%;height:33px;padding:0 8px;color:#17212a;border:1px solid #aeb9c2;border-radius:3px;background:#fff}.customer-form-grid input:focus{outline:2px solid rgb(44 111 143 / 18%);border-color:#2c6f8f}.deposit-balance-button{width:100%;height:33px;display:flex;align-items:center;justify-content:space-between;padding:0 8px;color:#17212a;border:1px solid #2c6f8f;border-radius:3px;background:#fff}.deposit-balance-button:hover:not(:disabled){background:#edf6fb}.deposit-balance-button:disabled{cursor:not-allowed;color:#89949b;border-color:#c2cbd0;background:#f3f5f6}.deposit-balance-button svg{color:#2c6f8f}.amount-due-button{width:100%;height:33px;display:flex;align-items:center;justify-content:space-between;padding:0 8px;color:#17212a;border:1px solid #9b5b55;border-radius:3px;background:#fff}.amount-due-button:hover:not(:disabled){background:#fff4f2}.amount-due-button:disabled{cursor:not-allowed;color:#89949b;border-color:#c2cbd0;background:#f3f5f6}.amount-due-button svg{color:#9b5b55}.customer-form fieldset{margin:18px 0;padding:12px;border:1px solid #b9c4cb}.customer-form legend{padding:0 6px;color:#344b5a;font-size:11px;font-weight:700}.customer-form-grid.financial{grid-template-columns:repeat(3,1fr)}.customer-account-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid #c6d0d6}.customer-account-summary span{min-width:0;display:flex;flex-direction:column;gap:4px;padding:8px;color:#65737c;background:#f7f9fa;border:1px solid #d2d9dd;font-size:10px}.customer-account-summary strong{color:#1f5d3d;font-size:15px}.customer-form-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#697680;font-size:10px}.customer-form-footer button{border-color:#245f40;background:#246a45;color:#fff}.customer-panel-resizer{position:relative;z-index:5;display:grid;place-items:center;cursor:col-resize;touch-action:none;background:#d5dde2;border-right:1px solid #a8b5bd;border-left:1px solid #a8b5bd}.customer-panel-resizer span{width:2px;height:38px;background:#71838e}.customer-panel-resizer:hover,.customer-panel-resizer:focus-visible{outline:0;background:#9ec4da}.customer-panel-resizer:hover span,.customer-panel-resizer:focus-visible span{background:#245f7e}.layout-divider{position:relative;z-index:5;display:grid;place-items:center;touch-action:none;background:#d5dde2}.layout-divider.vertical{width:7px;cursor:col-resize;border-right:1px solid #a8b5bd;border-left:1px solid #a8b5bd}.layout-divider.horizontal{height:7px;cursor:row-resize;border-top:1px solid #9fadb6;border-bottom:1px solid #9fadb6}.layout-divider.vertical span{width:2px;height:38px;background:#71838e}.layout-divider.horizontal span{width:38px;height:2px;background:#71838e}.layout-divider:hover,.layout-divider:focus-visible{outline:0;background:#9ec4da}.layout-divider:hover span,.layout-divider:focus-visible span{background:#245f7e}.customer-statement-panel{min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden;background:#d2d9dd}.customer-statement-panel-heading{flex:0 0 35px;display:flex;align-items:center;padding:0 12px;border-bottom:1px solid #b9c4cb;background:#e7ecef;color:#263943}.customer-statement-panel .statement-toolbar{flex-wrap:wrap;padding:7px 9px}.customer-statement-panel .statement-document-wrap{padding:12px}.customer-statement-panel .customer-statement-document{min-width:720px;min-height:620px;padding:20px}.sold-product-search{flex:0 0 auto;padding:8px 9px;border-bottom:1px solid #b9c4cb;background:#f7f9fa}.sold-product-search>label{display:block;margin-bottom:4px;color:#52616b;font-size:10px;font-weight:700}.sold-product-search-input{height:32px;display:flex;align-items:center;gap:7px;padding:0 8px;border:1px solid #aeb9c2;background:#fff}.sold-product-search-input:focus-within{border-color:#2c6f8f;box-shadow:0 0 0 2px #2c6f8f1f}.sold-product-search-input input{flex:1;min-width:0;height:30px;border:0;outline:0;background:transparent}.sold-product-results{max-height:190px;margin-top:7px;overflow:auto;border:1px solid #b9c4cb;background:#fff}.sold-product-results-heading,.sold-product-result{display:grid;grid-template-columns:145px 90px minmax(250px,1fr) 70px 90px;align-items:center;gap:8px;min-width:720px}.sold-product-results-heading{position:sticky;top:0;z-index:1;min-height:28px;padding:0 8px;background:#e7ecef;color:#42545e;font-size:10px;font-weight:700}.sold-product-result{min-height:34px;padding:4px 8px;border-top:1px solid #d9e0e4;font-size:10px}.sold-product-result button{justify-self:start;padding:0;border:0;background:none;color:#17658d;font:inherit;font-weight:700;text-decoration:underline}.sold-product-result .number{text-align:right;font-variant-numeric:tabular-nums}.sold-product-empty{padding:16px;color:#74818a;text-align:center;font-size:11px}.product-window{width:min(1240px,calc(100vw - 200px));height:min(760px,calc(100vh - 120px));background:#eef1f3}.product-toolbar{flex:0 0 auto;min-height:46px;display:flex;flex-wrap:wrap;align-items:center;gap:7px;padding:7px;border-bottom:1px solid #b9c4cb;background:#dfe5e9}.product-toolbar>button,.product-form-footer button{min-height:31px;display:flex;align-items:center;gap:5px;padding:0 10px;border:1px solid #aeb9c2;border-radius:3px;background:#fafbfc;color:#263943;font-size:11px}.product-toolbar button:disabled,.product-form-footer button:disabled{cursor:not-allowed;color:#89949b}.product-search-row{flex:1 0 100%;display:grid;grid-template-columns:minmax(180px,.7fr) minmax(240px,1.3fr);gap:7px}.product-manager-search{width:100%;height:32px;display:grid;grid-template-columns:25px 1fr;align-items:center;padding:0 8px;border:1px solid #aeb9c2;border-radius:3px;background:#fff}.product-manager-search input{min-width:0;border:0;outline:0}.product-manager{position:relative;flex:1;min-height:0;display:grid;grid-template-columns:minmax(170px,var(--product-category-width, 20%)) 7px minmax(260px,1fr)}.product-category-panel{min-width:0;min-height:0;display:flex;flex-direction:column;border-right:1px solid #b9c4cb;background:#f8fafb}.product-category-heading{min-height:37px;display:flex;align-items:center;justify-content:space-between;padding:5px 8px;border-bottom:1px solid #c7d0d5;font-size:11px}.product-category-heading button{width:27px;height:27px;display:grid;place-items:center;border:1px solid #aeb9c2;background:#fff}.category-search{height:33px;display:grid;grid-template-columns:23px 1fr;align-items:center;margin:7px;padding:0 6px;border:1px solid #aeb9c2;background:#fff}.category-search input{min-width:0;border:0;outline:0;font-size:11px}.category-tree{flex:1;min-height:100px;overflow:auto;border-top:1px solid #d7dde1;border-bottom:1px solid #c7d0d5}.category-tree>button{width:100%;min-height:34px;display:flex;align-items:center;gap:4px;padding:4px 8px;border:0;border-bottom:1px solid #e2e6e9;background:transparent;text-align:left;font-size:11px}.category-tree>button:hover{background:#eaf3f8}.category-tree>button.selected{background:#cfe5f3;box-shadow:inset 3px 0 #287697}.category-tree-row{min-height:34px;display:grid;grid-template-columns:minmax(0,1fr) 30px;align-items:stretch;border-bottom:1px solid #e2e6e9}.category-tree-row:hover{background:#eaf3f8}.category-tree-row.selected{background:#cfe5f3;box-shadow:inset 3px 0 #287697}.category-select-button{min-width:0;display:flex;align-items:center;gap:4px;padding-top:4px;padding-right:2px;padding-bottom:4px;border:0;background:transparent;text-align:left;font-size:11px}.category-select-button>span:last-child{min-width:0}.category-edit-button{width:26px;height:26px;align-self:center;display:grid;place-items:center;border:1px solid transparent;background:transparent;color:#426273}.category-edit-button:hover{border-color:#9eb1bd;background:#fff;color:#145f8a}.category-toggle{flex:0 0 17px;width:17px;height:22px;display:grid;place-items:center}.category-toggle:focus-visible{outline:1px solid #287697;outline-offset:-1px}.category-toggle-spacer{flex:0 0 17px;width:17px}.category-tree span{min-width:0;overflow-wrap:anywhere}.category-tree small{display:block;color:#77848c;font-size:9px}.category-editor{display:flex;flex-direction:column;gap:5px;padding:8px;font-size:10px}.category-editor input,.category-editor select{width:100%;min-height:28px;padding:4px 6px;border:1px solid #aeb9c2;background:#fff;font-size:10px}.category-editor label{display:flex;align-items:center;gap:5px}.category-editor label input{width:14px;min-height:14px}.category-editor button{min-height:29px;display:flex;align-items:center;justify-content:center;gap:5px;border:1px solid #245f40;background:#246a45;color:#fff}.category-editor-window{position:fixed;z-index:103;width:min(390px,calc(100vw - 16px));height:min(360px,calc(100vh - 16px));min-width:300px;min-height:300px;max-width:100vw;max-height:100vh;overflow:auto;resize:both;padding:0 14px 14px;border:1px solid #315873;border-radius:4px;background:#eef1f3;box-shadow:0 18px 55px #0000007a}.category-editor-window .product-editor-titlebar{margin:0 -14px 9px;padding-left:14px}.category-editor-backdrop{z-index:102}.product-table-wrap{min-width:0;overflow:auto;border-right:1px solid #b9c4cb;background:#fff}.product-table{width:100%;min-width:1060px;border-collapse:collapse;font-size:11px}.product-table th{position:sticky;top:0;z-index:1;padding:8px;text-align:left;white-space:nowrap;background:#e7ecef;border-bottom:1px solid #aeb9c2}.product-table td{padding:8px;border-bottom:1px solid #dde2e5}.product-table td span{color:#72808a;font-size:10px}.product-table tbody tr{cursor:pointer}.product-table tbody tr:hover{background:#eef6fb}.product-table tbody tr.selected{background:#cfe5f3;outline:1px solid #6fa1bf}.product-table .low-stock{color:#a33f37;font-weight:700}.product-vendor-cell{min-width:150px;max-width:240px;white-space:normal;overflow-wrap:anywhere}.product-editor-backdrop{position:fixed;z-index:100;top:0;right:0;bottom:0;left:0;border:0;background:#14242e40;cursor:default}.product-form{position:fixed;z-index:101;width:min(560px,calc(100vw - 16px));height:min(690px,calc(100vh - 16px));min-width:390px;min-height:430px;max-width:100vw;max-height:100vh;overflow:auto;resize:both;padding:0 16px 16px;border:1px solid #315873;border-radius:4px;background:#eef1f3;box-shadow:0 18px 55px #0000007a}.product-editor-titlebar{position:sticky;z-index:1;top:0;min-height:42px;display:flex;align-items:center;justify-content:space-between;margin:0 -16px 13px;padding:0 10px 0 16px;border-bottom:1px solid #9dabb4;background:#dfe5e9;color:#1f3542;cursor:move;-webkit-user-select:none;user-select:none;touch-action:none}.product-editor-titlebar button{width:29px;height:29px;display:grid;place-items:center;border:1px solid transparent;background:transparent;color:#344b5a}.product-editor-titlebar button:hover{border-color:#aeb9c2;background:#f8fafb}.product-form fieldset{margin:0 0 13px;padding:11px;border:1px solid #b9c4cb}.product-form legend{padding:0 6px;color:#344b5a;font-size:11px;font-weight:700}.product-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px}.product-form-grid.three-columns{grid-template-columns:repeat(3,1fr)}.product-form-grid label,.product-memo{display:flex;flex-direction:column;gap:4px;color:#52616b;font-size:10px;font-weight:700}.product-form-grid label.wide{grid-column:1 / -1}.product-form-grid input,.product-form-grid select,.product-memo textarea{width:100%;min-height:32px;padding:5px 7px;border:1px solid #aeb9c2;border-radius:3px;background:#fff}.product-form-grid .active-toggle{flex-direction:row;align-items:center;align-self:end;min-height:32px}.product-form-grid .active-toggle input{width:16px;min-height:16px}.product-memo{margin-bottom:13px}.product-memo textarea{resize:vertical}.product-form-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#697680;font-size:10px}.product-form-footer button{border-color:#245f40;background:#246a45;color:#fff}.inventory-window{width:min(1280px,calc(100vw - 180px));height:min(780px,calc(100vh - 100px));background:#eef1f3}.inventory-toolbar{flex:0 0 auto;min-height:46px;display:flex;align-items:center;gap:7px;padding:7px;border-bottom:1px solid #b9c4cb;background:#dfe5e9}.inventory-toolbar>button{min-height:31px;display:flex;align-items:center;gap:5px;padding:0 10px;border:1px solid #aeb9c2;border-radius:3px;background:#fafbfc;color:#263943;font-size:11px}.inventory-toolbar button:disabled{cursor:not-allowed;color:#89949b}.inventory-search{margin-left:auto;width:min(500px,50%);height:32px;display:grid;grid-template-columns:25px 1fr;align-items:center;padding:0 8px;border:1px solid #aeb9c2;border-radius:3px;background:#fff}.inventory-search input{min-width:0;border:0;outline:0}.inventory-content{flex:1;min-height:0;display:grid;grid-template-columns:minmax(300px,var(--inventory-left-width, 40%)) 7px minmax(380px,1fr);grid-template-rows:minmax(260px,var(--inventory-top-height, 70%)) 7px minmax(130px,1fr)}.inventory-products{grid-column:1;grid-row:1}.inventory-content>.layout-divider.vertical{grid-column:2;grid-row:1}.inventory-receipt{grid-column:3;grid-row:1}.inventory-content>.layout-divider.horizontal{grid-column:1 / -1;grid-row:2}.inventory-history{grid-column:1 / -1;grid-row:3}.inventory-products,.inventory-receipt,.inventory-history{min-width:0;min-height:0;background:#fff}.inventory-products{overflow:auto;border-right:1px solid #aeb9c2}.inventory-receipt{display:flex;flex-direction:column;background:#f6f8f9}.inventory-history{grid-column:1 / -1;overflow:auto;border-top:1px solid #9fadb6}.inventory-content h3{margin:0;padding:9px 10px;color:#263943;background:#dfe5e9;border-bottom:1px solid #aeb9c2;font-size:12px}.inventory-content h3 span{float:right;color:#667680;font-weight:500}.inventory-content table{width:100%;border-collapse:collapse;font-size:11px}.inventory-content th{position:sticky;top:0;z-index:1;padding:7px;text-align:left;white-space:nowrap;background:#e7ecef;border-bottom:1px solid #aeb9c2}.inventory-content td{padding:7px;border-bottom:1px solid #dde2e5}.inventory-content td span{color:#72808a;font-size:10px}.inventory-content td button{width:27px;height:27px;display:grid;place-items:center;border:1px solid #aeb9c2;border-radius:3px;background:#fff;color:#2c6f8f}.inventory-header-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:9px 10px}.inventory-header-fields label,.inventory-remark{display:flex;flex-direction:column;gap:3px;color:#52616b;font-size:10px;font-weight:700}.inventory-header-fields input,.inventory-lines input,.inventory-remark textarea{min-width:0;min-height:30px;padding:4px 6px;border:1px solid #aeb9c2;border-radius:3px;background:#fff}.inventory-lines{flex:1;min-height:0;overflow:auto;background:#fff}.inventory-lines input{width:85px}.inventory-remark{margin:8px 10px 0}.inventory-remark textarea{resize:vertical}.inventory-total{display:flex;align-items:center;justify-content:space-between;padding:8px 10px 10px;font-size:12px}.inventory-total strong{font-size:18px}.purchase-window{width:min(1280px,calc(100vw - 180px));height:min(780px,calc(100vh - 100px));background:#eef1f3}.purchase-toolbar{flex:0 0 auto;min-height:46px;display:flex;align-items:center;gap:7px;padding:7px;border-bottom:1px solid #b9c4cb;background:#dfe5e9}.purchase-toolbar>button,.purchase-history-title button{min-height:31px;display:flex;align-items:center;gap:5px;padding:0 10px;border:1px solid #aeb9c2;border-radius:3px;background:#fafbfc;color:#263943;font-size:11px}.purchase-toolbar button:disabled{cursor:not-allowed;color:#89949b}.purchase-search{margin-left:auto;width:min(440px,42%);height:32px;display:grid;grid-template-columns:25px 1fr;align-items:center;padding:0 8px;border:1px solid #aeb9c2;border-radius:3px;background:#fff}.purchase-search input{min-width:0;border:0;outline:0}.purchase-content{flex:1;min-height:0;display:grid;grid-template-columns:minmax(300px,var(--purchase-left-width, 40%)) 7px minmax(380px,1fr);grid-template-rows:minmax(260px,var(--purchase-top-height, 70%)) 7px minmax(140px,1fr)}.purchase-products{grid-column:1;grid-row:1}.purchase-content>.layout-divider.vertical{grid-column:2;grid-row:1}.purchase-draft{grid-column:3;grid-row:1}.purchase-content>.layout-divider.horizontal{grid-column:1 / -1;grid-row:2}.purchase-history{grid-column:1 / -1;grid-row:3}.purchase-products,.purchase-draft,.purchase-history{min-width:0;min-height:0;background:#fff}.purchase-products{overflow:auto;border-right:1px solid #aeb9c2}.purchase-draft{display:flex;flex-direction:column;background:#f6f8f9}.purchase-history{grid-column:1 / -1;overflow:auto;border-top:1px solid #9fadb6}.purchase-content h3{margin:0;padding:9px 10px;color:#263943;background:#dfe5e9;border-bottom:1px solid #aeb9c2;font-size:12px}.purchase-content h3 span{float:right;color:#667680;font-weight:500}.purchase-content table{width:100%;border-collapse:collapse;font-size:11px}.purchase-content th{position:sticky;top:0;z-index:1;padding:7px;text-align:left;white-space:nowrap;background:#e7ecef;border-bottom:1px solid #aeb9c2}.purchase-content td{padding:7px;border-bottom:1px solid #dde2e5}.purchase-content td span{color:#72808a;font-size:10px}.purchase-content tbody tr.selected{background:#cfe5f3;outline:1px solid #6fa1bf}.purchase-content td button{width:27px;height:27px;display:grid;place-items:center;border:1px solid #aeb9c2;border-radius:3px;background:#fff;color:#2c6f8f}.purchase-header-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:9px 10px}.purchase-header-fields label,.purchase-remark{display:flex;flex-direction:column;gap:3px;color:#52616b;font-size:10px;font-weight:700}.purchase-header-fields input,.purchase-lines input,.purchase-remark textarea{min-width:0;min-height:30px;padding:4px 6px;border:1px solid #aeb9c2;border-radius:3px;background:#fff}.purchase-lines{flex:1;min-height:0;overflow:auto;background:#fff}.purchase-lines input{width:85px}.purchase-remark{margin:8px 10px 0}.purchase-remark textarea{resize:vertical}.purchase-total{display:flex;align-items:center;justify-content:space-between;padding:8px 10px 10px;font-size:12px}.purchase-total strong{font-size:18px}.purchase-history-title{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;background:#dfe5e9;border-bottom:1px solid #aeb9c2}.purchase-history-title h3{border-bottom:0}.purchase-history-title label{display:flex;align-items:center;gap:5px;padding-right:7px}.purchase-history-title input{width:250px;height:29px;padding:0 7px;border:1px solid #aeb9c2}.purchase-history-title button{min-height:29px}.vendor-window{width:min(1200px,calc(100vw - 190px));height:min(760px,calc(100vh - 110px));background:#eef1f3}.vendor-toolbar{flex:0 0 auto;min-height:46px;display:flex;align-items:center;gap:7px;padding:7px;border-bottom:1px solid #b9c4cb;background:#dfe5e9}.vendor-toolbar>button,.vendor-form-footer button{min-height:31px;display:flex;align-items:center;gap:5px;padding:0 10px;border:1px solid #aeb9c2;border-radius:3px;background:#fafbfc;color:#263943;font-size:11px}.vendor-toolbar button:disabled,.vendor-form-footer button:disabled{cursor:not-allowed;color:#89949b}.vendor-search{margin-left:auto;width:min(540px,55%);height:32px;display:grid;grid-template-columns:25px 1fr;align-items:center;padding:0 8px;border:1px solid #aeb9c2;border-radius:3px;background:#fff}.vendor-search input{min-width:0;border:0;outline:0}.vendor-manager{flex:1;min-height:0;display:grid;grid-template-columns:minmax(320px,var(--vendor-list-width, 45%)) 7px minmax(380px,1fr)}.vendor-table-wrap{min-width:0;overflow:auto;border-right:1px solid #b9c4cb;background:#fff}.vendor-table{width:100%;border-collapse:collapse;font-size:11px}.vendor-table th{position:sticky;top:0;z-index:1;padding:8px;text-align:left;white-space:nowrap;background:#e7ecef;border-bottom:1px solid #aeb9c2}.vendor-table td{padding:8px;border-bottom:1px solid #dde2e5}.vendor-table td span{color:#72808a;font-size:10px}.vendor-table tbody tr{cursor:pointer}.vendor-table tbody tr:hover{background:#eef6fb}.vendor-table tbody tr.selected{background:#cfe5f3;outline:1px solid #6fa1bf}.vendor-form{min-width:0;overflow:auto;padding:16px}.vendor-form h2{margin:0 0 12px}.vendor-form fieldset{margin:0 0 13px;padding:11px;border:1px solid #b9c4cb}.vendor-form legend{padding:0 6px;color:#344b5a;font-size:11px;font-weight:700}.vendor-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px}.vendor-form-grid label,.vendor-memo{display:flex;flex-direction:column;gap:4px;color:#52616b;font-size:10px;font-weight:700}.vendor-form-grid label.wide{grid-column:1 / -1}.vendor-form-grid input,.vendor-memo textarea{width:100%;min-height:32px;padding:5px 7px;border:1px solid #aeb9c2;border-radius:3px;background:#fff}.vendor-form-grid .active-toggle{flex-direction:row;align-items:center;align-self:end;min-height:32px}.vendor-form-grid .active-toggle input{width:16px;min-height:16px}.vendor-memo{margin-bottom:12px}.vendor-account-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:12px}.vendor-account-summary span{display:flex;flex-direction:column;gap:4px;padding:8px;color:#65737c;background:#f7f9fa;border:1px solid #d2d9dd;font-size:10px}.vendor-account-summary strong{color:#1f5d3d;font-size:14px}.vendor-form-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#697680;font-size:10px}.vendor-form-footer button{border-color:#245f40;background:#246a45;color:#fff}.reports-window{width:min(1300px,calc(100vw - 160px));height:min(800px,calc(100vh - 90px));background:#eef1f3}.reports-toolbar{flex:0 0 auto;min-height:54px;display:flex;align-items:end;gap:8px;padding:7px 9px;border-bottom:1px solid #b9c4cb;background:#dfe5e9}.reports-toolbar label{display:flex;flex-direction:column;gap:3px;color:#52616b;font-size:10px;font-weight:700}.reports-toolbar input,.reports-toolbar select{height:31px;padding:0 7px;border:1px solid #aeb9c2;background:#fff}.reports-toolbar button{min-height:31px;display:flex;align-items:center;gap:5px;padding:0 10px;border:1px solid #aeb9c2;border-radius:3px;background:#fafbfc;color:#263943;font-size:11px}.reports-toolbar button:disabled{color:#89949b}.reports-toolbar>span{margin-left:auto;align-self:center;color:#667680;font-size:10px}.report-tabs{flex:0 0 auto;display:flex;min-height:38px;padding:5px 8px 0;gap:2px;border-bottom:1px solid #9fadb6;background:#eef1f3}.report-tabs button{padding:0 14px;border:1px solid transparent;border-bottom:0;background:transparent;color:#52616b;font-size:11px;font-weight:700}.report-tabs button[aria-selected=true]{border-color:#9fadb6;background:#fff;color:#1f536e}.report-view{flex:1;min-height:0;overflow:auto;padding:14px;background:#fff}.report-view h2{margin:0 0 12px;font-size:19px}.report-kpis{display:grid;grid-template-columns:repeat(4,minmax(140px,1fr));gap:9px;margin-bottom:13px}.report-kpis span{min-width:0;display:flex;flex-direction:column;gap:5px;padding:10px;color:#65737c;border:1px solid #cbd4da;background:#f6f8f9;font-size:10px}.report-kpis strong{color:#1d2d37;font-size:18px}.report-view table{width:100%;border-collapse:collapse;font-size:11px}.report-view th{position:sticky;top:0;z-index:1;padding:8px;text-align:left;white-space:nowrap;background:#e7ecef;border-bottom:1px solid #aeb9c2}.report-view td{padding:8px;border-bottom:1px solid #dde2e5}.report-alert{display:flex;align-items:center;gap:6px;margin-bottom:10px;padding:8px;color:#963d35;background:#fff1f0;border:1px solid #dfb7b3;font-size:11px}.report-view tr.warning-row{background:#fff1f0;color:#8f3730}.report-item-search{display:flex;align-items:center;gap:8px;margin:12px 0;max-width:680px}.report-item-search input{flex:1;min-width:180px;height:34px;padding:0 10px;border:1px solid #aebbc4}.report-item-search button{min-height:34px}.settings-window{width:min(1180px,calc(100vw - 24px));height:min(760px,calc(100vh - 64px))}.settings-toolbar{flex:0 0 auto;padding:8px 12px;border-bottom:1px solid #b7c2c9;background:#e7ecef}.settings-content{display:grid;grid-template-columns:minmax(420px,var(--settings-main-width, 78%)) 7px minmax(180px,1fr);flex:1;min-height:0;overflow:auto;background:#f4f6f7}.settings-form-section{padding:18px}.settings-form-section h2,.settings-preview h2{margin:0 0 16px;font-size:17px}.settings-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.settings-form-grid label{display:grid;gap:5px;color:#53636e;font-size:11px;font-weight:700}.settings-form-grid label.wide{grid-column:1 / -1}.settings-form-grid input,.settings-form-grid textarea{width:100%;padding:9px 10px;border:1px solid #afbdc6;background:#fff;color:#17212a;font:inherit;font-weight:400}.settings-preview{display:flex;flex-direction:column;gap:8px;padding:18px;border-left:1px solid #c2ccd2;background:#fff;color:#52616b}.settings-preview>strong{color:#17212a;font-size:18px}.company-preview-logo{display:grid;place-items:center;height:120px;border:1px solid #c5ced4;background:#f6f8f9;color:#2c6b87;overflow:hidden}.company-preview-logo img{max-width:100%;max-height:100%;object-fit:contain}.settings-tabs{display:flex;flex:0 0 auto;gap:2px;padding:5px 8px 0;border-bottom:1px solid #9fadb6;background:#eef1f3}.settings-tabs button{min-height:34px;padding:0 14px;border:1px solid transparent;border-bottom:0;background:transparent;font-weight:700;color:#52616b}.settings-tabs button[aria-selected=true]{border-color:#9fadb6;background:#fff;color:#1f536e}.desktop-settings{display:grid;grid-template-columns:minmax(260px,var(--settings-desktop-width, 36%)) 7px minmax(0,1fr);flex:1;min-height:0;overflow:hidden;background:#f4f6f7}.desktop-settings-controls{display:flex;flex-direction:column;align-items:stretch;gap:18px;padding:18px;overflow:auto;border-right:1px solid #bdc7cd}.desktop-size-control{display:grid;gap:10px;color:#52616b;font-size:11px;font-weight:700}.desktop-size-control>span{display:flex;justify-content:space-between}.desktop-size-control input{width:100%;accent-color:#216b8d}.desktop-background-control{display:flex;flex-direction:column;align-items:flex-start;gap:9px;padding-top:16px;border-top:1px solid #c5ced4;color:#52616b;font-size:11px}.desktop-background-control>span{max-width:100%;overflow-wrap:anywhere;color:#263943}.desktop-background-control button,.file-picker>span{min-height:32px;display:flex;align-items:center;gap:6px;padding:0 10px;border:1px solid #aebbc4;border-radius:3px;background:#fff;color:#263943;cursor:pointer}.file-picker input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.desktop-settings-controls>.primary{align-self:flex-start}.desktop-settings-preview{min-width:0;padding:18px;overflow:auto}.desktop-settings-preview h2{margin:0 0 12px;font-size:15px}.desktop-preview-surface{position:relative;min-height:540px;overflow:hidden;border:1px solid #8798a3;background:#945d35 center / cover no-repeat}.desktop-preview-surface .preview-shortcuts{inset:8px auto 8px 8px}.access-settings{display:grid;grid-template-columns:minmax(300px,var(--settings-users-width, 42%)) 7px minmax(380px,1fr);flex:1;min-height:0;overflow:hidden;background:#f4f6f7}.access-settings>section{display:flex;flex-direction:column;min-height:0;padding:12px}.access-users{border-right:1px solid #bdc7cd}.access-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.access-heading h2{margin:0;font-size:15px}.access-list{display:flex;gap:5px;min-height:74px;max-height:112px;overflow:auto;padding:5px;border:1px solid #bcc7ce;background:#fff}.access-list button{display:grid;align-content:center;min-width:150px;padding:7px 9px;text-align:left;border:1px solid #c6d0d6;background:#f7f9fa}.access-list button.selected{border-color:#287599;background:#e3f0f6}.access-list span{margin-top:3px;font-size:10px;color:#64727c}.access-editor{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;min-height:0;margin-top:10px;overflow:auto}.access-editor>label{display:grid;gap:4px;font-size:11px;font-weight:700;color:#52616b}.access-editor input[type=text],.access-editor label>input:not([type]){width:100%}.access-editor>label input{min-height:32px;padding:6px 8px;border:1px solid #aebbc4}.access-editor fieldset{grid-column:1 / -1;display:flex;flex-wrap:wrap;gap:8px 14px;margin:0;padding:10px;border:1px solid #b9c4ca;background:#fff}.access-editor fieldset label,.access-options label{display:flex;align-items:center;gap:6px;font-size:11px}.access-options{grid-column:1 / -1;display:flex;gap:18px}.access-editor>button{justify-self:start}.role-editor{grid-template-columns:1fr}.permission-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))}.print-template-settings{display:grid;grid-template-columns:minmax(270px,var(--settings-print-width, 32%)) 7px minmax(500px,1fr);flex:1;min-height:0;overflow:hidden}.print-template-editor{display:flex;flex-direction:column;gap:10px;padding:14px;overflow:auto;border-right:1px solid #bbc6cc;background:#f2f5f6}.print-template-editor>label{display:grid;gap:4px;font-size:11px;font-weight:700;color:#52616b}.print-template-editor input,.print-template-editor textarea,.print-template-editor select{width:100%;padding:7px 8px;border:1px solid #aebbc4;background:#fff}.template-options{display:grid;gap:7px;padding:9px;border:1px solid #bec8ce;background:#fff}.template-options label{display:flex;align-items:center;gap:7px;font-size:11px}.print-template-editor .template-font-control{gap:6px;padding:8px;border:1px solid #bec8ce;background:#fff}.template-font-control>span{display:flex;justify-content:space-between;align-items:center}.template-font-control output{color:#185f7f;font-weight:700}.print-template-editor .template-font-control input[type=range]{height:24px;padding:0;border:0;accent-color:#2c6f8f}.template-actions{display:flex;gap:8px;flex-wrap:wrap}.print-template-preview{overflow:auto;padding:18px;background:#cbd1d5}.print-template-page{width:100%;max-width:880px;min-height:740px;margin:auto;padding:22px;background:#fff;color:#111;box-shadow:0 2px 8px #0003;font-family:Arial,Microsoft YaHei,sans-serif}.template-header{position:relative;text-align:center;border-bottom:2px solid #222;padding:28px 0 12px}.template-header h1{margin:0;font-size:29px;font-weight:500;white-space:nowrap}.template-acknowledgment{margin-bottom:4px;font-size:15px;font-weight:700}.template-header h2{margin:2px 0;font-family:Georgia,serif;font-size:26px;white-space:nowrap}.template-header>div:not(.template-address){white-space:nowrap}.template-invoice{position:absolute;right:0;top:0;white-space:nowrap}.template-address{display:flex;justify-content:center;gap:18px;margin-top:4px;white-space:nowrap}.template-address-boxes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;margin:18px 0 12px}.template-address-boxes>div{min-height:95px;padding:7px;border:2px solid #333}.template-items{width:100%;border-collapse:collapse}.template-items th,.template-items td{padding:9px;border:1px solid #333;font-size:var(--template-product-font-size, 12px)}.template-items th{background:#ccc}.template-bottom{display:grid;grid-template-columns:1fr 205px;gap:28px;margin-top:16px}.template-bottom h3{margin:24px 0 8px;font-size:17px}.packing-template-bottom p{font-size:17px}.template-terms{white-space:pre-line;font-size:9px}.template-summary{border:1px solid #333}.template-summary div{display:flex;justify-content:space-between;padding:6px;border-bottom:1px solid #333}.template-signatures{display:grid;align-content:end;gap:28px;min-height:88px;margin-top:28px}.template-signatures span{display:block;border-bottom:2px solid #333}.compact-document-title,.compact-meta{display:none}.compact-template{min-height:520px}.compact-template .compact-document-title{display:block;position:relative;min-height:72px;margin-top:18px;border-bottom:3px solid #222}.compact-template .compact-document-title h1{margin:0 0 8px;font-size:26px}.compact-template .compact-meta{display:grid;grid-template-columns:1fr 1fr;gap:12px 40px;margin:22px 0}.compact-template .template-items th{background:#f1f1f1}.compact-template .template-bottom{grid-template-columns:minmax(0,1fr) 370px}.compact-template .template-bottom>div:first-child p{display:none}.compact-template .template-summary{width:auto;margin-left:0;border:0}.compact-template .template-summary div{border-bottom:1px solid #333}.report-loading{min-height:280px;display:grid;place-items:center;color:#667680}.rma-window{width:min(1320px,calc(100vw - 150px));height:min(800px,calc(100vh - 85px));background:#eef1f3}.rma-toolbar{flex:0 0 auto;min-height:46px;display:flex;align-items:center;gap:7px;padding:7px;border-bottom:1px solid #b9c4cb;background:#dfe5e9}.rma-toolbar button{min-height:31px;display:flex;align-items:center;gap:5px;padding:0 10px;border:1px solid #aeb9c2;border-radius:3px;background:#fafbfc;color:#263943;font-size:11px}.rma-toolbar button:disabled{color:#89949b}.rma-search{flex:1;height:32px;display:grid;grid-template-columns:25px 1fr;align-items:center;padding:0 8px;border:1px solid #aeb9c2;background:#fff}.rma-search input{min-width:0;border:0;outline:0}.rma-content{flex:1;min-height:0;display:grid;grid-template-columns:minmax(300px,var(--rma-left-width, 33%)) 7px minmax(480px,1fr);grid-template-rows:minmax(300px,var(--rma-top-height, 70%)) 7px minmax(140px,1fr)}.rma-sales{grid-column:1;grid-row:1}.rma-content>.layout-divider.vertical{grid-column:2;grid-row:1}.rma-form{grid-column:3;grid-row:1}.rma-content>.layout-divider.horizontal{grid-column:1 / -1;grid-row:2}.rma-history{grid-column:1 / -1;grid-row:3}.rma-sales,.rma-form,.rma-history{min-width:0;min-height:0;background:#fff}.rma-sales{overflow:auto;border-right:1px solid #aeb9c2}.rma-form{display:flex;flex-direction:column;background:#f6f8f9}.rma-history{grid-column:1 / -1;overflow:auto;border-top:1px solid #9fadb6}.rma-content h3{margin:0;padding:9px 10px;color:#263943;background:#dfe5e9;border-bottom:1px solid #aeb9c2;font-size:12px}.rma-content h3 span{float:right;color:#667680}.rma-content table{width:100%;border-collapse:collapse;font-size:11px}.rma-content th{position:sticky;top:0;z-index:1;padding:7px;text-align:left;white-space:nowrap;background:#e7ecef;border-bottom:1px solid #aeb9c2}.rma-content td{padding:7px;border-bottom:1px solid #dde2e5}.rma-content tbody tr.selected{background:#cfe5f3;outline:1px solid #6fa1bf}.rma-sales tbody tr{cursor:pointer}.rma-lines{flex:1;min-height:0;overflow:auto;background:#fff}.rma-lines input{width:68px;height:29px;padding:3px 5px;border:1px solid #aeb9c2}.rma-fields{display:grid;grid-template-columns:1fr 1fr;gap:7px 10px;padding:9px 10px 3px}.rma-fields label{display:flex;flex-direction:column;gap:3px;color:#52616b;font-size:10px;font-weight:700}.rma-fields label.wide{grid-column:1 / -1}.rma-fields input,.rma-fields select,.rma-fields textarea{min-height:30px;padding:4px 6px;border:1px solid #aeb9c2;background:#fff}.rma-total{display:flex;align-items:center;justify-content:space-between;padding:6px 10px 9px}.rma-total strong{color:#246a45;font-size:19px}.rma-history td button{width:27px;height:27px;display:grid;place-items:center;border:1px solid #aeb9c2;background:#fff}.my-sales-window{width:min(1600px,calc(100vw - 40px));height:min(760px,calc(100vh - 110px));background:#eef1f3}.my-sales-toolbar{flex:0 0 auto;min-height:46px;display:flex;align-items:center;gap:6px;padding:7px;border-bottom:1px solid #b9c4cb;background:#dfe5e9}.my-sales-toolbar button{min-height:31px;display:flex;align-items:center;gap:5px;padding:0 10px;border:1px solid #aeb9c2;border-radius:3px;background:#fafbfc;color:#263943;font-size:11px}.my-sales-toolbar button:disabled{cursor:not-allowed;color:#89949b}.my-sales-filters{flex:0 0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;padding:10px 12px;border-bottom:1px solid #b9c4cb;background:#f6f8f9}.my-sales-filters label{display:flex;flex-direction:column;gap:4px;color:#52616b;font-size:10px;font-weight:700}.my-sales-filters input,.my-sales-filters select{height:31px;min-width:0;padding:0 7px;border:1px solid #aeb9c2;border-radius:3px;background:#fff}.my-sales-content{flex:1;min-height:0;display:grid;grid-template-rows:minmax(120px,var(--my-sales-list-height, 240px)) 7px minmax(230px,1fr)}.my-sales-list,.my-sales-lines{min-width:0;overflow:auto;background:#fff}.my-sales-list{border-bottom:1px solid #9fadb6}.my-sales-section-resizer{position:relative;z-index:3;display:grid;place-items:center;cursor:row-resize;touch-action:none;background:#cbd4da;border-top:1px solid #9fadb6;border-bottom:1px solid #9fadb6}.my-sales-section-resizer span{width:38px;height:2px;background:#71838e}.my-sales-section-resizer:hover,.my-sales-section-resizer:focus-visible{outline:0;background:#9ec4da}.my-sales-section-resizer:hover span,.my-sales-section-resizer:focus-visible span{background:#245f7e}.my-sales-list table,.my-sales-lines table{width:100%;border-collapse:collapse;font-size:11px}.my-sales-list th,.my-sales-lines th{position:sticky;top:0;z-index:1;padding:8px;text-align:left;white-space:nowrap;background:#e7ecef;border-bottom:1px solid #aeb9c2}.my-sales-list th>button{width:100%;min-height:20px;display:flex;align-items:center;justify-content:space-between;gap:6px;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:700;text-align:left;cursor:pointer}.my-sales-list th>button:hover,.my-sales-list th>button.active{color:#155a80}.my-sales-list th>button svg{flex:0 0 auto}.my-sales-list td,.my-sales-lines td{padding:8px;border-bottom:1px solid #dde2e5}.my-sales-lines th:first-child,.my-sales-lines td:first-child,.cashier-sale-lines th:first-child,.cashier-sale-lines td:first-child,.rma-lines th:first-child,.rma-lines td:first-child,.statement-detail-table-wrap th:first-child,.statement-detail-table-wrap td:first-child{width:34px;text-align:center;font-variant-numeric:tabular-nums}.my-sales-list tbody tr{cursor:pointer}.my-sales-list tbody tr:hover{background:#eef6fb}.my-sales-list tbody tr.selected{background:#cfe5f3;outline:1px solid #6fa1bf}.my-sales-details{min-height:0;display:grid;grid-template-columns:minmax(420px,var(--my-sales-details-width, 78%)) 7px minmax(190px,1fr)}.my-sales-lines h3{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;margin:0;padding:9px 10px;color:#263943;background:#dfe5e9;border-bottom:1px solid #aeb9c2;font-size:12px}.my-sales-lines h3 span{color:#52616b;font-weight:500}.my-sales-summary{min-height:0;display:flex;flex-direction:column;gap:11px;padding:16px;overflow:auto;border-left:1px solid #aeb9c2;background:#f6f8f9;font-size:11px}.my-sales-summary>*{flex:0 0 auto}.my-sales-summary>span{display:flex;justify-content:space-between;gap:8px}.my-sales-summary hr{width:100%;border:0;border-top:1px solid #b9c4cb}.empty-cell{height:80px;text-align:center;color:#77848d}.cashier-window{width:min(1220px,calc(100vw - 220px));height:min(750px,calc(100vh - 140px));background:#eef1f3}.customer-window,.product-window,.inventory-window,.purchase-window,.vendor-window,.reports-window,.settings-window,.rma-window,.cashier-window{width:min(1600px,calc(100vw - 40px))}.cashier-toolbar{flex:0 0 auto;min-height:46px;display:flex;align-items:center;gap:6px;padding:7px;border-bottom:1px solid #b9c4cb;background:#dfe5e9}.cashier-toolbar>button{min-height:31px;display:flex;align-items:center;gap:5px;padding:0 10px;border:1px solid #aeb9c2;border-radius:3px;background:#fafbfc;color:#263943;font-size:11px}.cashier-toolbar>button:disabled{cursor:not-allowed;color:#89949b}.cashier-search{margin-left:auto;width:min(390px,38%);height:32px;display:grid;grid-template-columns:25px 1fr;align-items:center;padding:0 7px;border:1px solid #aeb9c2;border-radius:3px;background:#fff}.cashier-search input{min-width:0;border:0;outline:0}.cashier-toolbar>select{height:32px;padding:0 7px;border:1px solid #aeb9c2;border-radius:3px;background:#fff}.cashier-content{flex:1;min-height:0;display:grid;grid-template-rows:minmax(100px,var(--cashier-orders-height, 170px)) 7px minmax(360px,1fr)}.cashier-orders,.cashier-sale-lines,.payment-history{min-width:0;overflow:auto;background:#fff}.cashier-section-resizer{position:relative;z-index:3;display:grid;place-items:center;cursor:row-resize;touch-action:none;background:#cbd4da;border-top:1px solid #9fadb6;border-bottom:1px solid #9fadb6}.cashier-section-resizer span{width:38px;height:2px;background:#71838e}.cashier-section-resizer:hover,.cashier-section-resizer:focus-visible{outline:0;background:#9ec4da}.cashier-section-resizer:hover span,.cashier-section-resizer:focus-visible span{background:#245f7e}.cashier-orders table,.cashier-sale-lines table,.payment-history table{width:100%;border-collapse:collapse;font-size:11px}.cashier-orders th,.cashier-sale-lines th,.payment-history th{position:sticky;top:0;z-index:1;padding:8px;text-align:left;white-space:nowrap;background:#e7ecef;border-bottom:1px solid #aeb9c2}.cashier-orders td,.cashier-sale-lines td,.payment-history td{padding:8px;border-bottom:1px solid #dde2e5}.cashier-orders tbody tr{cursor:pointer}.cashier-orders tbody tr:hover{background:#eef6fb}.cashier-orders tbody tr.selected{background:#cfe5f3;outline:1px solid #6fa1bf}.cashier-bottom{min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 340px}.cashier-details{min-width:0;min-height:0;display:grid;grid-template-rows:minmax(110px,var(--cashier-items-height, 55%)) 7px minmax(100px,1fr);overflow:hidden}.cashier-sale-lines{border-bottom:1px solid #aeb9c2}.cashier-sale-lines h3,.payment-history h3,.payment-form h3{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;margin:0;padding:9px 10px;color:#263943;background:#dfe5e9;border-bottom:1px solid #aeb9c2;font-size:12px}.cashier-sale-lines h3 span{color:#52616b;font-weight:500}.payment-form{min-width:0;overflow:auto;padding-bottom:12px;border-left:1px solid #aeb9c2;background:#f6f8f9}.payment-form>label{display:flex;flex-direction:column;gap:3px;margin:8px 12px;color:#52616b;font-size:10px;font-weight:700}.payment-form input,.payment-form select,.payment-form textarea{min-height:31px;padding:5px 7px;border:1px solid #aeb9c2;border-radius:3px;background:#fff}.payment-form textarea{resize:vertical}.payment-balance{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:10px 12px 2px}.payment-balance span{display:flex;flex-direction:column;gap:3px;color:#65737c;font-size:10px}.payment-balance b,.payment-balance strong{color:#1d2d37;font-size:13px}.payment-balance strong{color:#246a45}.payment-balance span:nth-child(4){background:#edf8f1;border-left:3px solid #3b8a5b;padding:5px 7px}.payment-form>button{min-height:36px;display:flex;align-items:center;justify-content:center;gap:7px;margin:10px 12px 0;width:calc(100% - 24px);border:0;border-radius:3px;background:#246a45;color:#fff;font-weight:700}.payment-form>button:disabled{cursor:not-allowed;background:#aeb8b2}.account-credit-status{margin:8px 12px 0;padding:7px 8px;border:1px solid;border-radius:3px;font-size:11px}.account-credit-status.available{color:#246a45;border-color:#8fbea2;background:#edf8f1}.account-credit-status.insufficient{color:#9b3d37;border-color:#ddb0ac;background:#fff1f0}.payment-signature-control{margin:8px 12px 0;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px;border:1px solid;border-radius:3px}.payment-signature-control.required{border-color:#d39b3f;background:#fff8e8}.payment-signature-control.captured{border-color:#78ad8d;background:#edf8f1}.payment-signature-control>div{min-width:0;display:flex;flex-direction:column;gap:2px}.payment-signature-control strong{color:#263943;font-size:11px}.payment-signature-control span{color:#65737c;font-size:9px}.payment-signature-control button{flex:0 0 auto;min-height:31px;display:flex;align-items:center;gap:5px;padding:0 9px;border:1px solid #557d94;border-radius:3px;background:#fff;color:#245f7e;font-size:10px;font-weight:700}.save-dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;display:grid;place-items:center;background:#0f1b246b}.save-dialog-backdrop>section,.save-dialog-backdrop>form{max-width:calc(100vw - 8px);max-height:calc(100vh - 8px)}.statement-detail-backdrop{z-index:80}.save-dialog{position:relative;width:min(520px,calc(100vw - 24px));min-width:320px;min-height:170px;overflow:auto;resize:both;border:1px solid #315873;border-radius:5px;background:#f7f9fa;box-shadow:0 18px 55px #0000007a}.save-dialog-titlebar{flex:0 0 34px;height:34px;display:flex;align-items:center;justify-content:space-between;padding-left:10px;color:#fff;background:linear-gradient(#477d9f,#285873);font-size:12px;cursor:move;-webkit-user-select:none;user-select:none;touch-action:none}.save-dialog-titlebar button{width:38px;height:100%;border:0;color:#fff;background:transparent}.save-dialog-titlebar button:hover{background:#b83b34}.store-credit-dialog{position:fixed;z-index:61;width:min(720px,calc(100vw - 16px));height:min(330px,calc(100vh - 16px));min-width:480px;min-height:280px;max-width:100vw;max-height:100vh;display:flex;flex-direction:column;overflow:auto;resize:both;border:1px solid #315873;border-radius:5px;background:#f7f9fa;box-shadow:0 18px 55px #0000007a}.store-credit-dialog-titlebar{flex:0 0 34px;cursor:move;-webkit-user-select:none;user-select:none;touch-action:none}.store-credit-dialog-body{flex:1;min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:18px 22px;overflow:auto;padding:24px;color:#246a45}.store-credit-dialog-body label{min-width:0;display:flex;flex-direction:column;gap:6px;font-size:12px;line-height:1.35}.store-credit-dialog-body input:not([type=checkbox]){width:100%;min-width:0;height:34px;padding:5px 7px;border:1px solid #9fadb6;background:#fff}.store-credit-dialog-body input:disabled{background:#e8ecef;color:#6c7880}.store-credit-dialog-body .store-credit-custom-toggle{flex-direction:row;align-items:center;align-self:end;min-height:34px}.store-credit-custom-toggle input{flex:0 0 auto;width:15px;height:15px}.store-credit-dialog>.save-dialog-actions{flex:0 0 auto}.save-dialog-body{display:flex;align-items:center;gap:16px;padding:24px;color:#246a45}.save-dialog-body>div{display:flex;flex-direction:column;gap:5px;color:#4f5b64;font-size:12px}.save-dialog-body strong{color:#17212a;font-size:21px}.save-dialog-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:7px;padding:12px;border-top:1px solid #ccd3d8;background:#e9eef1}.save-dialog-actions button{min-height:34px;display:flex;align-items:center;gap:6px;padding:0 11px;border:1px solid #aeb9c2;border-radius:3px;background:#fff;color:#263943;font-size:11px}.save-dialog-actions button.primary{border-color:#245f40;background:#246a45;color:#fff}.signature-link{padding:2px 6px;border:1px solid #87a9bc;border-radius:3px;background:#f7fbfd;color:#245f7e;font-size:10px}.signature-dialog{position:relative;width:min(680px,calc(100vw - 24px));min-width:420px;min-height:300px;max-height:calc(100vh - 24px);overflow:auto;resize:both;border:1px solid #315873;border-radius:5px;background:#f7f9fa;box-shadow:0 18px 55px #0000007a}.signature-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;padding:14px 16px;border-bottom:1px solid #ccd3d8;background:#edf2f5}.signature-summary span{display:flex;flex-direction:column;gap:2px;color:#65737c;font-size:10px}.signature-summary strong{color:#17212a;font-size:13px}.signature-authorization{margin:12px 16px 8px;color:#263943;font-size:12px;line-height:1.45}.signature-input-modes{display:flex;gap:0;margin:8px 16px}.signature-input-modes button{min-height:32px;padding:0 12px;border:1px solid #9babb5;background:#fff;color:#314751;font-size:11px}.signature-input-modes button+button{border-left:0}.signature-input-modes button.active{background:#285f7d;color:#fff;font-weight:700}.topaz-signature-status{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:8px 16px;padding:8px 10px;border:1px solid #c3cdd3;background:#edf2f5;font-size:10px}.topaz-signature-status span{color:#9b332d}.topaz-signature-status span.connected{color:#246a45;font-weight:700}.topaz-signature-status button{min-height:30px;flex:0 0 auto;border:1px solid #6f8b9b;border-radius:3px;background:#fff;color:#245f7e;font-weight:700}.signature-pad-label{display:flex;flex-direction:column;gap:5px;margin:8px 16px 16px;color:#52616b;font-size:11px;font-weight:700}.signature-pad{width:100%;height:190px;border:1px solid #8094a0;border-radius:3px;background-color:#fff;background-image:linear-gradient(transparent calc(100% - 38px),#b5c0c7 calc(100% - 37px),#b5c0c7 calc(100% - 36px),transparent calc(100% - 35px));cursor:crosshair;touch-action:none}.signature-view-body{display:flex;flex-direction:column;gap:7px;padding:16px;color:#52616b;font-size:11px}.signature-view-body img{width:100%;max-height:240px;object-fit:contain;border:1px solid #aeb9c2;background:#fff}@media(max-width:600px){.signature-summary{grid-template-columns:1fr}.signature-pad{height:150px}}.deposit-dialog{position:relative;width:min(920px,calc(100vw - 8px));height:calc(100vh - 8px);min-width:480px;min-height:420px;max-width:calc(100vw - 8px);max-height:calc(100vh - 8px);display:flex;flex-direction:column;overflow-x:hidden;overflow-y:auto;resize:both;border:1px solid #315873;border-radius:5px;background:#f7f9fa;box-shadow:0 18px 55px #0000007a}.deposit-dialog>.save-dialog-titlebar{position:sticky;top:0;z-index:4;flex:0 0 auto}.deposit-dialog-header{display:grid;grid-template-columns:1fr auto;gap:24px;padding:14px 16px;border-bottom:1px solid #ccd3d8;background:#edf2f5}.deposit-dialog-header div{display:flex;flex-direction:column;gap:4px;color:#697680;font-size:10px}.deposit-dialog-header strong{color:#17212a;font-size:15px}.deposit-dialog-header div:last-child strong{color:#246a45;font-size:20px;text-align:right}.deposit-form{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px;padding:14px 16px;border-bottom:1px solid #ccd3d8}.deposit-form label{display:flex;flex-direction:column;gap:4px;color:#52616b;font-size:10px;font-weight:700}.deposit-form label.wide{grid-column:1 / -1}.deposit-form input,.deposit-form select,.deposit-form textarea{min-height:33px;padding:5px 8px;border:1px solid #aeb9c2;border-radius:3px;background:#fff}.deposit-form textarea{resize:vertical}.deposit-form>button{grid-column:1 / -1;min-height:36px;display:flex;align-items:center;justify-content:center;gap:6px;border:0;border-radius:3px;background:#246a45;color:#fff;font-weight:700}.deposit-form>button:disabled{cursor:not-allowed;background:#aeb8b2}.deposit-image-control{grid-column:1 / -1;display:grid;gap:8px;padding:10px;border:1px solid #b9c4cb;background:#f8fafb}.payment-image-control{margin:8px 12px}.deposit-image-actions{display:flex;flex-wrap:wrap;gap:7px}.deposit-image-actions button,.deposit-image-picker{min-height:31px;display:flex;align-items:center;gap:5px;padding:0 9px;border:1px solid #8fa5b2;border-radius:3px;background:#fff;color:#245f7e;cursor:pointer;font-size:10px;font-weight:700}.deposit-image-picker input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.deposit-image-workspace{min-height:76px;display:flex;align-items:center;gap:12px;padding:8px;border:1px dashed #aeb9c2;background:#fff}.deposit-image-workspace img{flex:0 0 auto;width:96px;height:72px;object-fit:contain;background:#eef1f3}.deposit-image-workspace img.deposit-qr{width:120px;height:120px;image-rendering:pixelated}.deposit-image-workspace>div{min-width:0;display:flex;flex-direction:column;gap:4px;color:#65737c;font-size:10px}.deposit-image-workspace strong{color:#263943;font-size:11px}.deposit-image-workspace small{color:#9a5d13;line-height:1.35}.deposit-history{flex:1 0 240px;min-height:240px;display:flex;flex-direction:column}.deposit-history h3{flex:0 0 auto;margin:0;padding:9px 16px;color:#263943;background:#dfe5e9;border-bottom:1px solid #aeb9c2;font-size:12px}.deposit-history-table{flex:1;min-height:190px;overflow:auto;background:#fff}.deposit-history table{width:100%;border-collapse:collapse;font-size:11px}.deposit-history th{position:sticky;top:0;padding:8px;text-align:left;background:#e7ecef;border-bottom:1px solid #aeb9c2}.deposit-history td{padding:8px;border-bottom:1px solid #dde2e5}.deposit-receipt-button{min-height:28px;display:flex;align-items:center;gap:5px;padding:0 8px;white-space:nowrap;border:1px solid #8fa5b2;border-radius:3px;background:#f8fafb;color:#245f7e;font-size:10px}.deposit-record-actions{display:flex;flex-wrap:wrap;gap:5px}.deposit-receipt-button.danger{border-color:#bd7771;color:#9b332d}.deposit-image-dialog{position:relative;width:min(820px,calc(100vw - 24px));height:min(720px,calc(100vh - 24px));min-width:420px;min-height:300px;display:flex;flex-direction:column;overflow:hidden;resize:both;border:1px solid #315873;border-radius:5px;background:#f7f9fa;box-shadow:0 18px 55px #0000007a}.deposit-image-dialog>img{min-height:0;max-height:calc(100vh - 180px);margin:12px;object-fit:contain;background:#e5eaed}.deposit-image-details{display:flex;flex-wrap:wrap;gap:8px 20px;padding:0 12px 12px;color:#52616b;font-size:11px}.account-dialog{position:relative;width:min(1180px,calc(100vw - 24px));height:min(820px,calc(100vh - 24px));min-width:620px;min-height:480px;display:flex;flex-direction:column;overflow:hidden;resize:both;border:1px solid #315873;border-radius:5px;background:#f7f9fa;box-shadow:0 18px 55px #0000007a}.account-dialog-header{display:grid;grid-template-columns:1fr auto auto;gap:28px;padding:12px 16px;border-bottom:1px solid #ccd3d8;background:#edf2f5}.account-dialog-header div{display:flex;flex-direction:column;gap:3px;color:#697680;font-size:10px}.account-dialog-header strong{color:#17212a;font-size:15px}.account-dialog-header div:nth-child(2) strong{color:#246a45}.account-dialog-header div:nth-child(3) strong{color:#9b3d37}.account-debts{flex:0 1 260px;min-height:130px;display:flex;flex-direction:column;border-bottom:1px solid #aeb9c2;background:#fff}.account-debt-heading{min-height:38px;display:flex;align-items:center;gap:24px;padding:7px 16px;background:#dfe5e9;border-bottom:1px solid #aeb9c2}.account-debt-heading h3{margin:0 auto 0 0;font-size:12px}.account-debt-heading span{font-size:11px}.account-debt-heading strong{margin-left:5px;color:#96372f}.account-debt-table{min-height:0;overflow:auto}.account-debt-table table{width:100%;border-collapse:collapse;font-size:10px}.account-debt-table th{position:sticky;z-index:1;top:0;padding:7px;text-align:left;white-space:nowrap;background:#edf1f3;border-bottom:1px solid #aeb9c2}.account-debt-table td{padding:6px 7px;white-space:nowrap;border-bottom:1px solid #dde2e5}.account-debt-table .number{text-align:right}.account-pay-button{display:inline-flex;align-items:center;gap:4px;min-height:25px;padding:3px 8px;border:1px solid #2d7650;border-radius:3px;color:#fff;background:#246a45}.account-pay-owner{color:#77848d}.deposit-allocation-preview{display:grid;grid-template-columns:repeat(3,1fr);gap:8px 14px;padding:9px 11px;border:1px solid #a9c7b5;background:#f0f8f3}.deposit-allocation-preview div{display:flex;justify-content:space-between;gap:8px}.deposit-allocation-preview span{color:#52616b;font-size:10px}.deposit-allocation-preview strong{color:#246a45;white-space:nowrap}.deposit-allocation-preview small{grid-column:1 / -1;color:#6a5a3d}.account-actions{flex:0 0 auto;display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #aeb9c2}.account-actions form{display:grid;grid-template-columns:1fr 1fr;gap:8px 10px;padding:12px 16px}.account-actions form+form{border-left:1px solid #aeb9c2}.account-actions h3{grid-column:1 / -1;margin:0 0 3px;font-size:12px}.account-actions h3 span{float:right;color:#96372f}.account-actions label{display:flex;flex-direction:column;gap:3px;color:#52616b;font-size:10px;font-weight:700}.account-actions label:nth-of-type(3),.account-actions .adjustment-form label{grid-column:1 / -1}.account-actions input,.account-actions select,.account-actions textarea{min-height:32px;padding:5px 7px;border:1px solid #aeb9c2;border-radius:3px;background:#fff}.account-actions textarea{resize:vertical}.account-actions button{grid-column:1 / -1;min-height:35px;display:flex;align-items:center;justify-content:center;gap:6px;border:0;border-radius:3px;background:#246a45;color:#fff;font-weight:700}.account-actions .adjustment-form button{background:#7b514b}.account-actions button:disabled{cursor:not-allowed;background:#aeb8b2}.account-history{min-height:0;display:flex;flex-direction:column}.account-history h3{flex:0 0 auto;margin:0;padding:9px 16px;color:#263943;background:#dfe5e9;border-bottom:1px solid #aeb9c2;font-size:12px}.account-history>div{min-height:140px;overflow:auto;background:#fff}.account-history table{width:100%;border-collapse:collapse;font-size:10px}.account-history th{position:sticky;top:0;padding:7px;text-align:left;white-space:nowrap;background:#e7ecef;border-bottom:1px solid #aeb9c2}.account-history td{padding:7px;white-space:nowrap;border-bottom:1px solid #dde2e5}.statement-backdrop{display:block}.statement-dialog{position:absolute;width:min(1320px,calc(100vw - 24px));height:min(880px,calc(100vh - 24px));min-width:620px;min-height:420px;display:flex;flex-direction:column;overflow:hidden;resize:both;border:1px solid #315873;border-radius:5px;background:#e6ebee;box-shadow:0 18px 55px #0000007a}.statement-dialog.maximized{top:0;right:0;bottom:0;left:0;width:100%;height:100%;border-radius:0}.statement-dialog.maximized{resize:none}.statement-titlebar{-webkit-user-select:none;user-select:none;touch-action:none}.statement-window-actions{align-self:stretch;display:flex}.statement-window-actions button{border-left:1px solid rgb(255 255 255 / 16%)}.statement-toolbar{flex:0 0 auto;display:flex;align-items:end;gap:8px;padding:9px 12px;border-bottom:1px solid #b9c4cb;background:#edf1f3}.statement-toolbar label{display:flex;flex-direction:column;gap:3px;color:#52616b;font-size:10px;font-weight:700}.statement-toolbar input{height:32px;padding:0 7px;border:1px solid #aeb9c2;background:#fff}.statement-toolbar button{min-height:32px;display:flex;align-items:center;gap:6px;padding:0 10px;border:1px solid #aeb9c2;border-radius:3px;background:#fff;color:#263943;font-size:11px}.statement-toolbar button:disabled{cursor:not-allowed;color:#89949b}.statement-document-wrap{flex:1;min-height:0;overflow:auto;padding:18px}.customer-statement-document{width:min(1050px,100%);min-height:700px;margin:0 auto;padding:28px;background:#fff;color:#17212a;box-shadow:0 2px 9px #0003;font:11px Arial,Microsoft YaHei,sans-serif}.statement-heading{display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:baseline;gap:18px;padding-bottom:12px;border-bottom:2px solid #1d465e;white-space:nowrap}.statement-heading h2{margin:0;font-size:17px}.statement-heading>span{min-width:0;text-align:right}.statement-customer,.statement-account{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}.statement-customer span,.statement-account span{min-width:0;display:flex;flex-direction:column;gap:3px;padding:7px;color:#65737c;border:1px solid #c5ced4;overflow-wrap:anywhere}.statement-customer strong{color:#17212a}.statement-account strong{color:#1f5d3d;font-size:15px}.statement-section h3{margin:16px 0 6px;font-size:14px}.statement-section table{width:100%;border-collapse:collapse;font-size:10px}.statement-section th,.statement-section td{padding:6px;text-align:left;border:1px solid #c5ced4}.statement-reference-button{padding:0;border:0;background:transparent;color:#145f8a;font:inherit;font-weight:700;text-decoration:underline;text-underline-offset:2px;cursor:pointer}.statement-reference-button:hover{color:#0b3f60}.statement-reference-button:focus-visible{outline:2px solid #67a5c7;outline-offset:2px}.statement-detail-dialog{position:absolute;width:min(980px,calc(100vw - 30px));height:min(780px,calc(100vh - 30px));min-width:480px;min-height:320px;display:flex;flex-direction:column;overflow:hidden;resize:both;border:1px solid #315873;border-radius:5px;background:#f7f9fa;box-shadow:0 18px 55px #0000007a}.statement-detail-titlebar{cursor:move;-webkit-user-select:none;user-select:none;touch-action:none}.statement-invoice-detail,.statement-transaction-detail{min-height:0;overflow:auto}.statement-invoice-detail>header{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;padding:14px 16px;border-bottom:1px solid #c5ced4;background:#edf2f5}.statement-invoice-detail>header div{display:flex;flex-direction:column;gap:3px;color:#667680;font-size:10px}.statement-invoice-detail>header .wide{grid-column:1 / -1}.statement-invoice-detail>header .wide strong{white-space:pre-wrap;overflow-wrap:anywhere}.statement-invoice-detail>header strong{color:#17212a;font-size:12px}.statement-detail-table-wrap{overflow:auto;padding:12px 16px}.statement-detail-table-wrap table{width:100%;border-collapse:collapse;font-size:11px}.statement-detail-table-wrap th,.statement-detail-table-wrap td{padding:7px;border:1px solid #c5ced4;text-align:left}.statement-detail-table-wrap th{background:#e7ecef}.statement-detail-table-wrap .number{text-align:right}.statement-detail-totals{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:16px;padding:0 16px 12px}.statement-detail-totals span{display:flex;gap:7px}.statement-detail-actions{display:flex;justify-content:flex-end;gap:7px;padding:11px 16px;border-top:1px solid #c5ced4;background:#e9eef1}.statement-detail-actions button{min-height:32px;display:flex;align-items:center;gap:5px;padding:0 10px;border:1px solid #aeb9c2;border-radius:3px;background:#fff;color:#263943}.statement-transaction-detail dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0;padding:16px}.statement-transaction-detail dl div{min-width:0;padding:9px;border:1px solid #c5ced4;background:#fff}.statement-transaction-detail dl div.wide{grid-column:1 / -1}.statement-transaction-detail dt{color:#667680;font-size:10px}.statement-transaction-detail dd{margin:4px 0 0;color:#17212a;font-size:13px;font-weight:700;overflow-wrap:anywhere}.deposit-correction-form{display:grid;grid-template-columns:170px 170px minmax(240px,1fr);gap:9px 12px;margin:0 16px 14px;padding:12px;border:1px solid #d39a36;background:#fff9ed}.deposit-correction-form>strong,.deposit-correction-form>small{grid-column:1 / -1}.deposit-correction-form label{display:grid;gap:4px;color:#52616b;font-size:11px;font-weight:700}.deposit-correction-form input,.deposit-correction-form select{width:100%;min-height:34px;padding:5px 8px;border:1px solid #aeb9c2;background:#fff;color:#17212a}.deposit-correction-form small{color:#6f5b31}.corrected-deposit-audit dd span{display:inline-block;margin-left:8px;padding:2px 5px;background:#fff0c7;color:#7a5710;font-size:10px}.corrected-amount-note{display:block;margin-top:2px;color:#7a5710;font-size:9px;white-space:nowrap}.statement-section th{white-space:nowrap;background:#e9eef1}.statement-section .number{text-align:right;white-space:nowrap}.statement-totals{display:flex;justify-content:flex-end;gap:20px;margin-top:8px;font-weight:700}.app-shell{min-height:100vh;display:flex;flex-direction:column}.topbar{height:64px;background:#17212a;color:#f8fafb;display:grid;grid-template-columns:250px 1fr auto;align-items:center;padding:0 20px;border-bottom:3px solid #e2a529}.brand,.operator,.nav-item{display:flex;align-items:center}.brand{gap:10px}.brand-mark{width:34px;height:34px;display:grid;place-items:center;background:#e2a529;color:#17212a;font-weight:800;border-radius:4px}.brand div{display:flex;flex-direction:column;line-height:1.15}.brand span,.operator span{color:#aeb9c2;font-size:12px}nav{display:flex;align-self:stretch;justify-content:center}.nav-item{gap:6px;padding:0 10px;border:0;color:#b8c2ca;background:transparent;font-size:12px;border-bottom:3px solid transparent}.nav-item.active{color:#fff;border-bottom-color:#e2a529}.operator{gap:9px}.operator span{margin-right:7px}.error-banner{display:flex;gap:8px;align-items:center;padding:10px 20px;background:#fff1f0;color:#a5322c;border-bottom:1px solid #e7b4b0}.pos-layout{flex:1;min-height:0;overflow:hidden;display:grid;grid-template-columns:minmax(420px,var(--invoice-left, 32%)) 7px minmax(400px,1fr)}.catalog-panel{min-width:0;overflow:auto;padding:18px 20px}.invoice-panel-resizer{position:relative;z-index:5;display:grid;place-items:center;cursor:col-resize;touch-action:none;background:#d5dde2;border-right:1px solid #a8b5bd;border-left:1px solid #a8b5bd}.invoice-panel-resizer span{width:2px;height:38px;background:#71838e}.invoice-panel-resizer:hover,.invoice-panel-resizer:focus-visible{outline:0;background:#9ec4da}.invoice-panel-resizer:hover span,.invoice-panel-resizer:focus-visible span{background:#245f7e}.cart-panel{min-width:0;min-height:0;overflow-y:auto;background:#fff;display:flex;flex-direction:column}.section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:18px}.eyebrow{color:#697680;font-size:12px;text-transform:uppercase;font-weight:700}h1{margin:3px 0 0;font-size:26px;letter-spacing:0}h2{margin:0;font-size:18px;letter-spacing:0}.sale-number{color:#697680;font-size:13px}.search-row{display:grid;grid-template-columns:1fr 44px;gap:8px;margin-bottom:16px}.search-box{height:46px;display:flex;align-items:center;gap:10px;padding:0 12px;background:#fff;border:1px solid #aeb9c2;border-radius:5px}.search-box:focus-within{border-color:#2c6f8f;box-shadow:0 0 0 2px #2c6f8f26}.search-box input{flex:1;min-width:0;border:0;outline:0;color:#182027}kbd{font-size:11px;background:#edf0f2;border:1px solid #ccd3d8;border-radius:3px;padding:3px 6px;color:#697680}.icon-button,.add-button,.remove-button,.stepper button{border:0;display:grid;place-items:center}.icon-button{background:#2c6f8f;color:#fff;border-radius:5px}.product-list{background:#fff;border:1px solid #ccd3d8;border-radius:6px;overflow:hidden}.list-header,.product-row{display:grid;grid-template-columns:minmax(240px,1fr) 100px 90px 38px;gap:12px;align-items:center}.list-header{min-height:34px;padding:0 14px;background:#f5f7f8;border-bottom:1px solid #dbe0e3;color:#697680;text-transform:uppercase;font-size:11px;font-weight:700}.product-row{min-height:66px;padding:8px 14px;border-bottom:1px solid #e4e8ea}.product-row:last-child{border-bottom:0}.product-row:hover{background:#f9fbfc}.invoice-product-search .product-row.keyboard-selected{background:#cfe5f3;outline:1px solid #6fa1bf;outline-offset:-1px}.product-name{min-width:0;display:flex;flex-direction:column;gap:4px}.product-name strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px}.product-name span,.cart-line span{color:#697680;font-size:12px}.stock{color:#48724e;font-size:12px;font-weight:700}.stock.low{color:#9a6500}.stock.out{color:#9b3d37}.add-button{width:30px;height:30px;border-radius:4px;color:#fff;background:#2c6f8f}.add-button:disabled{cursor:not-allowed;background:#c9d0d5}.customer-section{position:relative;z-index:4;padding:20px 22px 16px;background:#f8fafb;border-bottom:1px solid #dbe0e3}.invoice-customer-panel{margin:0 -4px;padding:14px 4px;border:0;background:transparent}.invoice-customer-toolbar{display:flex;align-items:end;gap:10px;margin-bottom:9px}.invoice-customer-quick-search{position:relative;flex:1 1 420px;min-width:240px}.invoice-customer-quick-search>label{display:block;margin-bottom:4px;color:#52616b;font-size:10px;font-weight:700}.invoice-customer-panel .customer-details{grid-template-columns:1fr}.invoice-customer-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:12px;padding-top:10px;border-top:1px solid #d2dadd}.invoice-customer-actions button{min-width:0;min-height:31px;display:flex;align-items:center;justify-content:center;gap:5px;padding:0 7px;border:1px solid #aeb9c2;border-radius:3px;background:#fff;color:#273b47;font-size:10px}.invoice-customer-actions button:hover:not(:disabled){border-color:#2c6f8f;color:#205c78;background:#eef6fa}.invoice-customer-actions button:disabled{cursor:not-allowed;color:#929da4;background:#edf0f2}.invoice-deposit-checkout{display:grid;grid-template-columns:minmax(270px,1fr) minmax(310px,.8fr);gap:8px 18px;margin-top:8px;padding:9px 11px;border:1px solid #b9c7d0;border-left:3px solid #83939d;background:#f8fafb}.invoice-deposit-checkout.enabled{border-left-color:#247448;background:#f3faf6}.deposit-checkout-toggle{display:flex;align-items:center;gap:9px;cursor:pointer}.deposit-checkout-toggle input{width:16px;height:16px;accent-color:#247448}.deposit-checkout-toggle span{display:flex;flex-direction:column;gap:2px}.deposit-checkout-toggle strong{color:#1d2a32;font-size:12px}.deposit-checkout-toggle small{color:#4f6a5a;font-size:11px}.deposit-checkout-options{display:flex;flex-wrap:wrap;gap:6px 16px;grid-column:1}.deposit-checkout-options>label{display:flex;align-items:center;gap:6px;min-height:30px;color:#31434d;font-size:11px;cursor:pointer}.deposit-checkout-options input[type=radio]{accent-color:#247448}.deposit-custom-amount{display:flex;align-items:center;height:29px;padding-left:7px;border:1px solid #9fafb8;background:#fff;color:#26353d}.deposit-custom-amount input{width:82px;height:27px;padding:0 6px;border:0;outline:0;text-align:right;background:transparent}.deposit-custom-amount:focus-within{border-color:#247448;box-shadow:0 0 0 2px #24744821}.deposit-custom-amount:has(input:disabled){color:#929da4;background:#edf0f2}.deposit-checkout-summary{grid-column:2;grid-row:1 / span 2;display:grid;gap:3px;margin:0;align-content:center}.deposit-checkout-summary>div{display:flex;justify-content:space-between;gap:18px;padding:2px 0;font-size:11px}.deposit-checkout-summary dt{color:#55666f}.deposit-checkout-summary dd{margin:0;font-weight:700}.deposit-checkout-summary>div:last-child{margin-top:2px;padding-top:5px;border-top:1px solid #9fb2a7;font-size:13px}.deposit-checkout-summary>div:last-child dd{color:#19643b}.invoice-deposit-checkout>p{grid-column:1 / -1;margin:0;color:#4f6a5a;font-size:10px}.payment-form .cashier-deposit-checkout{grid-template-columns:1fr;margin:0;padding:8px;gap:7px}.payment-form .cashier-deposit-checkout .deposit-checkout-options{grid-column:1;display:grid;gap:3px}.payment-form .cashier-deposit-checkout .deposit-checkout-options>label{flex-wrap:wrap}.payment-form .cashier-deposit-checkout .deposit-checkout-summary{grid-column:1;grid-row:auto}.payment-form .cashier-deposit-checkout .deposit-custom-amount input{width:72px}.payment-form input[readonly]{color:#31434d;background:#eef2f4;cursor:default}.invoice-order-controls{margin-top:12px;padding-top:12px;border-top:1px solid #cbd4d9}.invoice-order-controls .checkout-fields{grid-template-columns:1fr}.invoice-order-controls .delivery-contact-fields{margin-bottom:0}.invoice-order-controls .delivery-contact-inputs{grid-template-columns:1fr}.invoice-product-search{flex:0 0 auto;min-height:104px;max-height:310px;overflow:auto;padding:16px 22px;border-bottom:1px solid #dbe0e3;background:#f8fafb}.invoice-product-search .search-row{position:sticky;z-index:3;top:0;margin-bottom:10px;background:#f8fafb}.invoice-product-search .product-list{max-height:220px;overflow-y:auto}.product-search-idle{min-height:32px}.product-search-empty{padding:18px;text-align:center;color:#77848d;font-size:12px}.customer-section>label{display:block;color:#697680;font-size:12px;font-weight:700;margin-bottom:6px}.select-wrap{height:42px;display:grid;grid-template-columns:24px 1fr 20px;align-items:center;padding:0 10px;background:#fff;border:1px solid #aeb9c2;border-radius:5px}.select-wrap select,.checkout-fields select{min-width:0;border:0;outline:0;background:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none;color:#182027}.customer-combobox{position:relative;height:42px;display:grid;grid-template-columns:24px minmax(0,1fr) 30px;align-items:center;padding:0 5px 0 10px;background:#fff;border:1px solid #aeb9c2;border-radius:5px}.customer-combobox.open,.customer-combobox:focus-within{border-color:#2c6f8f;box-shadow:0 0 0 2px #2c6f8f26}.customer-combobox>input{min-width:0;height:38px;padding:0 7px;border:0;outline:0;color:#182027;background:transparent}.customer-combobox>button{width:30px;height:30px;display:grid;place-items:center;border:0;border-radius:3px;color:#40515c;background:transparent}.customer-combobox>button:hover{background:#e8eef2}.customer-search-results{position:absolute;z-index:20;top:calc(100% + 3px);left:-1px;right:-1px;max-height:240px;overflow-y:auto;padding:3px;border:1px solid #8ea5b4;border-radius:3px;background:#fff;box-shadow:0 8px 20px #0f1b2447}.customer-search-results button{width:100%;min-height:45px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:6px 9px;text-align:left;border:1px solid transparent;border-radius:2px;background:#fff;color:#182027}.customer-search-results button:hover,.customer-search-results button[aria-selected=true]{border-color:#b4cfdf;background:#e5f1f8}.customer-search-results button strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-search-results button span{flex:0 0 auto;color:#667680;font-size:11px}.customer-search-empty{padding:14px 9px;text-align:center;color:#77848d;font-size:12px}.customer-details{display:grid;grid-template-columns:1fr 1.4fr;gap:5px 16px;margin-top:9px;padding-top:8px;border-top:1px solid #dbe0e3;font-size:11px;color:#4f5b64}.customer-details span{display:flex;justify-content:space-between;gap:8px;min-width:0}.customer-details b{color:#697680;font-weight:600}.credit-line{display:flex;justify-content:space-between;font-size:11px;color:#697680}.credit-line strong{color:#2f6840}.amount-due-line strong{color:#9a302a}.available-spend-line strong{color:#246a45}.available-spend-line.negative strong{color:#a12f28}.invoice-deposit-balance{align-items:center}.invoice-deposit-balance>button{min-width:112px;height:27px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 7px;border:1px solid #2c6f8f;border-radius:3px;background:#fff;color:#17212a}.invoice-deposit-balance>button:hover{background:#edf6fb}.invoice-deposit-balance>button strong{color:#246a45}.invoice-deposit-balance>button svg{color:#2c6f8f}.cart-heading{display:flex;justify-content:space-between;align-items:center;padding:16px 22px 10px}.cart-heading span{font-size:12px;color:#697680}.cart-lines{flex:1 0 210px;min-height:210px;overflow:auto;padding:0 22px}.empty-cart{height:100%;min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#87939c;gap:8px}.empty-cart strong{color:#4f5b64}.empty-cart span{font-size:13px}.cart-line{min-width:872px;min-height:45px;display:grid;grid-template-columns:36px minmax(180px,1fr) var(--invoice-quantity-width, 120px) 128px 128px 112px 92px 30px;align-items:center;gap:8px;padding:6px 0;border-bottom:1px solid #e4e8ea}.cart-line-top,.line-controls{display:contents}.cart-line-number{grid-column:1;grid-row:1;text-align:center;color:#52616b;font-size:12px;font-weight:700;font-variant-numeric:tabular-nums}.cart-line-top>div{min-width:0;grid-column:2;grid-row:1;display:flex;align-items:center;gap:8px;overflow:hidden}.cart-line-top strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cart-line-top>div>span{flex:0 1 auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#182027;font-size:13px}.cart-line .cart-product-meta,.cart-line .cart-product-meta .cart-unit-price{color:#182027!important;font-size:13px;opacity:1}.cart-line .cart-product-meta .cart-unit-price{font-weight:600}.cart-line-top>div>.store-credit-code{flex:0 0 auto;padding:4px 8px;border:1px solid #2c6f8f;border-radius:3px;background:#e5f2f9;color:#174f70!important;font-size:12px;font-weight:700}.store-credit-code b{color:#9a302a;font-size:14px}.locked-sale-line{background:#f6f8f9}.locked-sale-line input,.locked-sale-line button:disabled{cursor:not-allowed}.locked-line-label{color:#52616c!important;font-size:11px!important;font-weight:700;white-space:nowrap}.settings-checkbox-option{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:9px;padding:10px;border:1px solid #b8c7d1;background:#f4f8fa}.settings-checkbox-option input{width:auto!important;margin-top:2px}.settings-checkbox-option span{display:grid;gap:3px}.settings-checkbox-option small{color:#596b77;line-height:1.35}.remove-button{width:30px;height:30px;grid-column:8;grid-row:1;background:transparent;color:#8a969f;border-radius:4px}.remove-button:hover{color:#a5322c;background:#fff1f0}.line-controls .stepper{grid-column:3;grid-row:1}.line-controls .discount-field{grid-column:4;grid-row:1;font-size:0}.line-controls .markup-field{grid-column:5;grid-row:1;font-size:0}.line-controls .price-mode,.line-controls .temporary-price-field{grid-column:6;grid-row:1}.line-controls>strong{grid-column:7;grid-row:1;text-align:right;font-size:14px}.stepper{height:32px;display:grid;grid-template-columns:32px 1fr 32px;border:1px solid #bac3c9;border-radius:4px;overflow:hidden}.stepper button{background:#f3f5f6;color:#39464f}.stepper input,.discount-field input,.markup-field input,.checkout-fields input{width:100%;min-width:0;border:0;outline:0;text-align:center;background:#fff}.discount-field,.markup-field{color:#697680;font-size:10px;text-transform:uppercase;font-weight:700}.discount-field span,.markup-field span{height:32px;display:grid;grid-template-columns:62px 1fr 18px;align-items:center;margin-top:0;border:1px solid #c68c88;border-radius:4px;color:#39464f;font-size:13px;overflow:hidden}.discount-field b,.markup-field b{align-self:stretch;display:flex;flex-direction:column;justify-content:center;padding:0 5px;background:#fff0ef;color:#9a302a;font-size:9px;line-height:10px;text-align:center;text-transform:none}.discount-field i,.markup-field i{font-style:normal}.markup-field span{border-color:#73a186;background:#f3fbf6}.markup-field b{background:#e8f6ed;color:#246b43}.price-mode{height:32px;border:1px solid #b7c1c7;border-radius:4px;background:#f5f7f8;color:#345567;font-size:10px;line-height:1.1}.price-mode.wholesale{background:#fff6df;border-color:#d9b96b;color:#765613}.temporary-price-field{height:32px;display:grid;grid-template-columns:24px 1fr;align-items:center;overflow:hidden;border:1px solid #4f8bab;border-radius:3px;background:#fff;color:#205c78;font-size:13px;font-weight:700}.temporary-price-field span{align-self:stretch;display:grid;place-items:center;background:#e7f2f8;color:#205c78}.temporary-price-field input{width:100%;min-width:0;height:30px;padding:0 5px;border:0;outline:0;text-align:right;color:#17212a;background:#fff;font-weight:700}.temporary-price-field:focus-within{border-color:#185f7f;box-shadow:0 0 0 2px #2c6f8f26}.temporary-name{width:min(100%,260px);height:28px;padding:0 7px;border:1px solid #b7c1c7;border-radius:3px;font-size:13px;font-weight:700}.checkout{border-top:1px solid #ccd3d8;padding:15px 22px 20px;box-shadow:0 -6px 18px #19242c0f}.checkout-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px;margin-bottom:10px}.checkout-fields label{display:flex;justify-content:space-between;align-items:center;min-height:36px;padding:0 10px;background:#f5f7f8;border:1px solid #d4dade;border-radius:4px;font-size:12px;color:#4f5b64}.checkout-fields label span{display:grid;grid-template-columns:46px 12px;align-items:center}.checkout-fields select{text-align:right}.checkout-fields .choice-field{position:relative;min-height:39px;overflow:hidden;cursor:pointer;background:#fff}.checkout-fields .choice-field:hover{border-color:#6f94a8;background:#eef6fa}.checkout-fields .choice-field:focus-within{border-color:#2c6f8f;box-shadow:0 0 0 2px #2c6f8f29}.checkout-fields .choice-field .choice-label{position:relative;z-index:2;display:flex;grid-template-columns:none;align-items:center;gap:7px;color:#314957;font-weight:700;pointer-events:none}.checkout-fields .choice-field select{position:absolute;z-index:1;top:0;right:0;bottom:0;left:0;width:100%;height:100%;padding:0 34px 0 155px;cursor:pointer;color:#17212a;background:transparent;font-weight:700}.checkout-fields .choice-field .choice-chevron{position:absolute;z-index:2;right:9px;color:#2c6f8f;pointer-events:none}.checkout-fields .payment-choice{border-left:3px solid #2c6f8f}.checkout-fields .delivery-choice{border-left:3px solid #3d7a55}.checkout-fields .delivery-choice .choice-chevron,.checkout-fields .delivery-choice .choice-label svg{color:#3d7a55}.checkout-fields .payment-choice .choice-label svg{color:#2c6f8f}.delivery-contact-fields{margin-bottom:10px;padding:8px 10px;border:1px solid #c4ccd1;background:#f5f7f8}.use-customer-contact{display:flex;align-items:center;gap:7px;margin-bottom:8px;color:#344b5a;font-size:11px;font-weight:700}.use-customer-contact input{width:15px;height:15px;margin:0}.delivery-contact-inputs{display:grid;grid-template-columns:minmax(150px,.65fr) minmax(240px,1.35fr);gap:10px}.delivery-contact-inputs.pickup{grid-template-columns:minmax(180px,1fr)}.delivery-contact-inputs label{display:grid;gap:4px;color:#4f5b64;font-size:11px}.delivery-contact-inputs input,.delivery-contact-inputs textarea{width:100%;min-height:32px;padding:6px 8px;border:1px solid #c4ccd1;border-radius:3px;background:#fff}.delivery-contact-inputs textarea{resize:vertical}.remark-field{display:grid;grid-template-columns:100px 1fr;align-items:start;gap:8px;margin-bottom:10px;color:#4f5b64;font-size:12px}.remark-field textarea{width:100%;resize:vertical;min-height:44px;border:1px solid #c4ccd1;border-radius:4px;padding:6px 8px}.invoice-items-remark{flex:0 0 auto;margin:0;padding:7px 8px;border-top:1px solid #b8c5cc;border-bottom:1px solid #b8c5cc;background:#f4f7f8}.legacy-invoice-layout .invoice-items-remark{order:4}.totals{margin:0}.totals div{display:flex;justify-content:space-between;padding:4px 0;font-size:13px}.totals dt,.totals dd{margin:0}.totals .subtotal-highlight{margin-bottom:4px;padding:7px 8px;border:1px solid #d3aa38;border-left:4px solid #b98500;background:#fff4c7;color:#3b310f;font-weight:800}.totals .subtotal-highlight dd{font-size:15px;font-variant-numeric:tabular-nums}.grand-total{margin-top:5px;padding-top:10px!important;border-top:1px solid #ccd3d8;font-size:21px!important;font-weight:800}.credit-warning{display:flex;align-items:center;gap:7px;margin-top:10px;padding:9px;background:#fff1f0;color:#9b3d37;font-size:12px;border-radius:4px}.pay-button{width:100%;min-height:48px;display:grid;grid-template-columns:24px 1fr auto;align-items:center;gap:10px;margin-top:13px;padding:0 16px;border:0;border-radius:5px;background:#246a45;color:#fff;font-weight:700}.pay-button strong{font-size:17px}.pay-button:disabled{cursor:not-allowed;background:#aeb8b2}@media(max-width:980px){.desktop-workspace{height:calc(100vh - 42px)}.taskbar{height:42px}.desktop-shortcuts{display:none}.desktop-window,.desktop-window.maximized{top:0!important;right:0!important;bottom:0!important;left:0!important;width:100%!important;height:100%!important;min-width:0;max-width:none;max-height:none;resize:none;border-radius:0}.customer-manager{grid-template-columns:1fr;overflow:auto}.customer-panel-resizer,.layout-divider{display:none}.statement-detail-dialog{top:8px!important;right:8px!important;bottom:8px!important;left:8px!important;width:auto;max-height:none}.statement-detail-titlebar{cursor:default}.store-credit-dialog{min-width:0}.product-manager{grid-template-columns:1fr;overflow:auto}.product-search-row{grid-template-columns:1fr}.product-form,.category-editor-window{top:8px!important;right:8px!important;bottom:8px!important;left:8px!important;width:auto;height:auto;min-width:0;min-height:0;max-width:none;max-height:none;resize:none}.product-editor-titlebar{cursor:default}.inventory-content{overflow:auto;grid-template-columns:1fr;grid-template-rows:minmax(280px,auto) minmax(380px,auto) minmax(220px,auto)}.purchase-content{overflow:auto;grid-template-columns:1fr;grid-template-rows:minmax(280px,auto) minmax(380px,auto) minmax(240px,auto)}.vendor-manager{grid-template-columns:1fr;overflow:auto}.reports-toolbar{flex-wrap:wrap;align-items:end}.rma-content{overflow:auto;grid-template-columns:1fr;grid-template-rows:minmax(260px,auto) minmax(440px,auto) minmax(240px,auto)}.inventory-content>*,.purchase-content>*,.rma-content>*{grid-column:auto;grid-row:auto}.rma-sales{border-right:0;border-bottom:1px solid #aeb9c2}.rma-history{grid-column:auto}.reports-toolbar>span{width:100%;margin-left:0}.report-tabs{overflow-x:auto}.report-tabs button{flex:0 0 auto;min-height:34px}.settings-window{width:calc(100vw - 12px);height:calc(100vh - 58px)}.settings-content{grid-template-columns:1fr}.desktop-settings{grid-template-columns:1fr;overflow:auto}.desktop-settings-controls{border-right:0;border-bottom:1px solid #bdc7cd}.settings-preview{border-left:0;border-top:1px solid #c2ccd2}.settings-form-grid{grid-template-columns:1fr}.settings-form-grid label.wide{grid-column:auto}.access-settings{grid-template-columns:1fr;overflow:auto}.access-users{border-right:0;border-bottom:1px solid #bdc7cd}.access-settings>section{min-height:440px}.print-template-settings{grid-template-columns:1fr;overflow:auto}.print-template-editor{border-right:0;border-bottom:1px solid #bbc6cc}.print-template-preview{min-height:620px}.print-template-page{min-width:720px}.report-kpis{grid-template-columns:1fr 1fr}.vendor-table-wrap{max-height:280px;border-right:0;border-bottom:1px solid #b9c4cb}.inventory-products,.purchase-products{border-right:0;border-bottom:1px solid #aeb9c2}.inventory-history,.purchase-history{grid-column:auto}.product-table-wrap{max-height:280px;border-right:0;border-bottom:1px solid #b9c4cb}.my-sales-filters{grid-template-columns:1fr 1fr}.my-sales-content{overflow:auto;grid-template-rows:minmax(260px,auto) minmax(250px,auto)}.my-sales-section-resizer{display:none}.my-sales-details{grid-template-columns:1fr}.my-sales-summary{border-left:0;border-top:1px solid #aeb9c2}.cashier-toolbar{flex-wrap:wrap}.cashier-search{order:3;width:calc(100% - 130px);margin-left:0}.cashier-content{overflow:auto;grid-template-rows:minmax(280px,auto) minmax(300px,auto)}.cashier-section-resizer{display:none}.cashier-bottom{grid-template-columns:1fr}.cashier-details{grid-template-rows:minmax(220px,auto) minmax(180px,auto);overflow:visible}.payment-form{border-left:0;border-top:1px solid #aeb9c2}.customer-table-wrap{max-height:260px;border-right:0;border-bottom:1px solid #b9c4cb}.topbar{grid-template-columns:1fr auto}nav{display:none}.pos-layout{grid-template-columns:1fr;overflow:auto}.invoice-panel-resizer{display:none}.catalog-panel{border-right:0;border-bottom:1px solid #ccd3d8}.legacy-invoice-layout .invoice-product-search .product-list{width:calc(100% - 20px)}.cart-panel{min-height:680px}.taskbar-tray span{display:none}}@media(max-width:600px){.store-credit-dialog{top:8px!important;right:8px!important;bottom:8px!important;left:8px!important;width:auto;height:auto;min-height:0;max-width:none;max-height:none;resize:none}.store-credit-dialog-titlebar{cursor:default}.store-credit-dialog-body{grid-template-columns:1fr;padding:16px}}@media(max-width:620px){.start-menu{width:calc(100vw - 10px)}.task-button{min-width:0;flex:1}.taskbar-tray{display:none}.topbar{height:auto;min-height:60px;padding:10px 14px}.operator span{display:none}.operator strong{max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.catalog-panel{padding:18px 14px}.list-header{display:none}.product-row{grid-template-columns:1fr auto 34px}.product-row .stock{display:none}.customer-section,.cart-heading,.checkout{padding-left:14px;padding-right:14px}.cart-lines{padding:0 14px}.checkout-fields,.delivery-contact-inputs{grid-template-columns:1fr}.line-controls{grid-template-columns:100px 100px 1fr;gap:8px}.price-mode,.temporary-price-field{grid-column:span 2}.customer-details{grid-template-columns:1fr}.customer-toolbar{flex-wrap:wrap}.customer-search{order:3;width:100%;margin-left:0}.customer-form-grid,.customer-form-grid.financial,.product-form-grid,.product-form-grid.three-columns,.vendor-form-grid{grid-template-columns:1fr}.vendor-form-grid label.wide{grid-column:auto}.vendor-account-summary{grid-template-columns:1fr}.product-form-grid label.wide{grid-column:auto}.customer-account-summary{grid-template-columns:1fr}.customer-form-grid label.wide{grid-column:auto}.deposit-form{grid-template-columns:1fr}.deposit-dialog{width:calc(100vw - 8px);height:calc(100vh - 8px);min-width:0;min-height:0;resize:none}.deposit-form label.wide,.deposit-form>button{grid-column:auto}.deposit-dialog-header{grid-template-columns:1fr}.deposit-dialog-header div:last-child strong{text-align:left}.account-dialog-header{grid-template-columns:1fr}.statement-toolbar{flex-wrap:wrap}.statement-customer,.statement-account{grid-template-columns:1fr}.customer-statement-document{min-width:760px}.account-actions{grid-template-columns:1fr;overflow-y:auto}.account-actions form{grid-template-columns:1fr}.account-actions form+form{border-left:0;border-top:1px solid #aeb9c2}.account-actions h3,.account-actions label:nth-of-type(3),.account-actions .adjustment-form label,.account-actions button{grid-column:auto}}.legacy-toolbar{display:flex;flex-wrap:wrap;gap:5px;margin:-10px 0 16px;padding:7px;background:#dfe5e9;border:1px solid #bdc7cd;border-radius:4px}.legacy-toolbar button{display:flex;align-items:center;gap:5px;min-height:31px;padding:0 9px;border:1px solid #aeb9c2;border-radius:3px;background:#f9fafb;color:#27343d;font-size:11px}.legacy-toolbar button:hover:not(:disabled){border-color:#2c6f8f;color:#205c78}.legacy-toolbar button:disabled{cursor:not-allowed;color:#89949b;background:#edf0f2}.legacy-invoice-layout{display:grid;grid-template-columns:minmax(0,1fr);grid-auto-rows:max-content;align-content:start;overflow:auto;background:#f3f6f8}.legacy-invoice-layout .catalog-panel,.legacy-invoice-layout .cart-panel{display:contents}.legacy-invoice-layout .invoice-panel-resizer{display:none}.legacy-invoice-layout .legacy-toolbar{order:1;margin:0;padding:5px 8px;border-width:0 0 1px;border-radius:0}.legacy-invoice-layout .section-heading{order:2;align-items:center;margin:0;padding:5px 12px;background:#edf2f5;border-bottom:1px solid #b9c7d0}.legacy-invoice-layout .section-heading .eyebrow{display:none}.legacy-invoice-layout .section-heading h1{margin:0;font-size:16px}.legacy-invoice-layout .invoice-product-search{position:relative;z-index:12;order:3;min-height:0;max-height:none;overflow:visible;padding:8px 10px 6px;background:#fff}.invoice-search-strip{display:grid;grid-template-columns:minmax(260px,var(--invoice-search-width, 50%)) 7px minmax(260px,1fr);gap:6px}.invoice-search-field{min-width:0}.invoice-search-field>label{display:block;margin-bottom:4px;color:#314957;font-size:11px;font-weight:700}.legacy-invoice-layout .invoice-product-search .search-row{position:static;margin:0;background:transparent}.legacy-invoice-layout .search-box,.legacy-invoice-layout .customer-combobox{height:34px;border-radius:2px}.legacy-invoice-layout .customer-combobox>input{height:31px}.legacy-invoice-layout .invoice-product-search .product-list{position:absolute;z-index:20;top:63px;left:10px;width:calc(var(--invoice-search-width, 50%) - 12px);max-height:250px;margin:0;border:1px solid #7795a7;border-radius:2px;overflow-y:auto;box-shadow:0 5px 14px #1426313d}.legacy-invoice-layout .invoice-product-search .list-header{min-height:27px;padding:0 10px;font-size:10px}.legacy-invoice-layout .product-row{min-height:42px;padding-top:4px;padding-bottom:4px}.legacy-invoice-layout .product-search-idle{min-height:0}.legacy-invoice-layout .cart-heading{order:4;display:block;padding:5px 10px 0;background:#e6edf2;border-bottom:1px solid #aebdc7}.legacy-invoice-layout .cart-heading>div:first-child{display:flex;justify-content:space-between;align-items:center;padding:0 2px 5px}.legacy-invoice-layout .cart-heading h2{font-size:13px}.legacy-cart-columns{min-width:872px;display:grid;grid-template-columns:36px minmax(180px,1fr) var(--invoice-quantity-width, 120px) 128px 128px 112px 92px 30px;gap:8px;min-height:25px;align-items:center;padding:0;color:#314957;font-size:10px;font-weight:700}.legacy-cart-columns span:not(:nth-child(2)){text-align:center}.legacy-invoice-layout .cart-lines{order:5;min-height:230px;max-height:38vh;overflow:auto;padding:0 10px;background:#fff;border-bottom:1px solid #9fb1bd}.legacy-invoice-layout .empty-cart{min-height:225px}.legacy-invoice-layout .cart-line{padding:4px 0}.legacy-invoice-layout .invoice-customer-panel{order:6;z-index:4;margin:8px 10px 0;padding:14px 10px 9px;background:#fff;border:1px solid #aebdc7}.legacy-invoice-layout .invoice-customer-quick-search{width:auto}.legacy-invoice-layout .invoice-customer-toolbar .invoice-customer-actions{flex:0 0 auto;margin:0;padding:0;border:0}.legacy-fieldset-title{position:absolute;top:-9px;left:10px;padding:0 5px;background:#fff;color:#245b78;font-size:11px;font-weight:700}.legacy-invoice-layout .invoice-customer-panel .customer-details{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px 22px;margin-top:0;padding-top:0;border-top:0}.legacy-invoice-layout .invoice-customer-actions{grid-template-columns:repeat(3,max-content);justify-content:end;margin-top:8px;padding-top:7px}.legacy-invoice-layout .invoice-order-controls{margin-top:8px;padding-top:8px}.legacy-invoice-layout .invoice-order-controls .checkout-fields{grid-template-columns:minmax(180px,var(--invoice-controls-width, 50%)) 7px minmax(220px,1fr);gap:0 6px}.legacy-invoice-layout .invoice-order-controls .delivery-contact-inputs{grid-template-columns:minmax(180px,var(--invoice-delivery-width, 35%)) 7px minmax(280px,1fr);gap:0 6px}.legacy-invoice-layout .invoice-order-controls .delivery-contact-inputs.pickup{grid-template-columns:1fr}.legacy-invoice-layout .checkout{order:7;display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:8px 24px;padding:9px 10px 12px;background:#fff;box-shadow:none}.legacy-invoice-layout .checkout .remark-field{grid-column:1;margin:0}.legacy-invoice-layout .checkout .totals{grid-column:2;grid-row:1}.legacy-invoice-layout .checkout .credit-warning,.legacy-invoice-layout .checkout .pay-button{grid-column:1 / -1}.legacy-invoice-layout .pay-button{min-height:42px}@media(max-width:900px){.invoice-customer-toolbar{align-items:stretch;flex-direction:column}.invoice-customer-quick-search{flex-basis:auto;width:100%}.invoice-search-strip{grid-template-columns:1fr}.legacy-invoice-layout .invoice-customer-panel .customer-details{grid-template-columns:1fr 1fr}.legacy-invoice-layout .invoice-order-controls .checkout-fields,.legacy-invoice-layout .invoice-order-controls .delivery-contact-inputs,.legacy-invoice-layout .checkout{grid-template-columns:1fr}.legacy-invoice-layout .checkout .totals{grid-column:1;grid-row:auto}.invoice-deposit-checkout{grid-template-columns:1fr}.deposit-checkout-summary{grid-column:1;grid-row:auto}}.auth-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(#133242d1,#133242d1),url(/assets/legacy-wallpaper.jpg) center / cover}.auth-panel{width:min(420px,100%);display:grid;gap:16px;padding:28px;border:1px solid #7e929e;border-radius:6px;background:#f1f4f6;box-shadow:0 18px 50px #00000059;color:#263943}.auth-brand{display:flex;align-items:center;gap:13px;padding-bottom:15px;border-bottom:1px solid #b8c4ca}.auth-brand svg{color:#1e6584}.auth-brand h1{margin:0 0 3px;font-size:22px;letter-spacing:0}.auth-brand span{color:#536873}.auth-panel label{display:grid;gap:6px;font-weight:700;font-size:13px}.auth-panel input{width:100%;height:42px;padding:0 11px;border:1px solid #9fafb8;border-radius:3px;background:#fff;font:inherit}.auth-panel input:focus{outline:2px solid #2b7899;outline-offset:1px}.auth-submit{min-height:43px;border:1px solid #145c78;border-radius:3px;background:#1f6e8e;color:#fff;font-weight:700}.auth-submit:disabled{opacity:.65}.auth-error{display:flex;gap:8px;align-items:flex-start;padding:10px;border:1px solid #b34d43;background:#fff0ee;color:#842b24}.auth-notice{margin:0;padding:10px;border-left:3px solid #2b7899;background:#e4edf1;line-height:1.5;font-size:12px}.auth-loading{color:#fff;font-weight:700}.logout-button{min-height:25px;padding:0 8px;border:1px solid #91a1aa;border-radius:2px;background:#edf1f3;color:#263943;font-size:11px}.statement-template-preview{color:#111}.statement-template-preview>header{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:24px;padding-bottom:12px;border-bottom:2px solid #222}.statement-template-company,.statement-template-title{min-width:0;display:flex;flex-direction:column}.statement-template-company{align-items:flex-start}.statement-template-company h1{max-width:100%;margin:0 0 3px;font-size:1.8em;line-height:1.05;white-space:nowrap}.statement-template-company span,.statement-template-title span{font-size:.85em}.statement-template-title{align-items:flex-end;text-align:right}.statement-template-title h2{margin:0 0 3px;font-size:1.55em;line-height:1.1;white-space:nowrap}.statement-template-customer{display:flex;justify-content:space-between;gap:20px;margin:14px 0 18px}.statement-template-preview section h3{margin:18px 0 6px}.statement-template-preview table{width:100%;border-collapse:collapse}.statement-template-preview th,.statement-template-preview td{padding:7px 6px;font-size:var(--template-product-font-size, 10px);text-align:left}.statement-template-preview th{border-bottom:2px solid #222}.statement-template-preview td{border-bottom:1px solid #ccc}.statement-template-preview .number{text-align:right}.statement-template-balance{display:flex;align-items:baseline;justify-content:flex-end;gap:12px;width:min(360px,100%);margin:24px 0 0 auto;padding-top:10px;border-top:2px solid #222;text-align:right;font-weight:700;white-space:nowrap}.refresh-icon.spinning{animation:refresh-spin .75s linear infinite}@keyframes refresh-spin{to{transform:rotate(360deg)}}.delivery-window{width:min(1380px,calc(100vw - 90px));height:min(760px,calc(100vh - 90px));min-width:min(680px,calc(100vw - 12px));min-height:min(420px,calc(100vh - 48px))}.delivery-toolbar{display:flex;align-items:end;gap:10px;padding:10px;border-bottom:1px solid #9fb0ba;background:#e7edf0}.delivery-toolbar label{display:grid;gap:3px;font-weight:700}.delivery-toolbar input{min-width:150px}.delivery-toolbar strong{margin-left:auto;padding-bottom:7px}.delivery-list{height:calc(100% - 83px);overflow:auto;background:#fff}.delivery-list table{width:100%;min-width:1250px;border-collapse:collapse}.delivery-list th,.delivery-list td{padding:6px;border:1px solid #c6d0d5;vertical-align:middle;text-align:left}.delivery-list th{position:sticky;top:0;z-index:1;background:#dfe7eb;white-space:nowrap}.delivery-list td.number{text-align:right;white-space:nowrap}.delivery-list input,.delivery-list textarea{width:100%;min-width:105px}.delivery-list textarea{min-width:150px;resize:vertical}.delivery-list td:last-child{width:110px}
