/* Measurements use the application viewport, excluding the remote desktop shell. */
:root{--vp-title:22px;--vp-row:15px;--vp-worktop:74px;--vp-face:#f3f3f1;--vp-grid:#ababaa;--vp-blue:#2168ae;--vp-orange:#ff9000}
.vertex-desktop{font-size:11px!important;color:#111!important}
.vertex-desktop .sidebar{height:39px!important}
.vertex-desktop .brand{height:23px!important;min-height:23px!important}
.vertex-desktop #mainNav{height:16px!important;min-height:16px!important;max-height:16px!important;padding:0 4px!important}
.vertex-desktop .nav-group>summary{font-size:11px!important;line-height:15px!important;padding:0 6px!important}
.vertex-desktop .nav-dropdown,.vertex-desktop .vx-dropdown{overflow:visible!important;max-height:none!important}
.vertex-desktop #desktopToolbar{top:39px!important;height:35px!important;min-height:35px!important}
.vertex-desktop #desktopToolbar .vx-shortcut>.btn{height:31px!important}
.vertex-desktop .main-shell{inset:var(--vp-worktop) 0 20px!important;height:auto!important;min-height:0!important;max-height:calc(100vh - 94px)!important}
.vertex-desktop .main-shell>.topbar,.vertex-desktop .main-shell>.screen-tabs{display:none!important}
.vertex-desktop #content{width:calc(100% - 12px)!important;margin:4px 6px 6px!important;padding:24px 5px 18px!important;background:var(--vp-grid)!important;overflow:auto;height:auto!important;min-height:0!important;max-height:100%!important}
.vertex-desktop #content.vx-home{background:var(--vp-face)!important}
.vertex-desktop #content>.page-head{height:22px!important;min-height:22px!important;margin:-24px -5px 0!important;top:-24px!important;background:linear-gradient(#8dabca,#b7d0e4 55%,#dce7ef)!important}
.vertex-desktop .page-head h1{font-size:11px!important;line-height:18px!important;font-weight:400!important}
.vertex-desktop #content>.page-head>.actions{display:flex;gap:2px}
.vertex-desktop #desktopStatus{height:20px!important;min-height:20px!important;font-size:10px!important}
.vertex-desktop .data-table{color:#111!important;font-size:11px!important}
.vertex-desktop .data-table th{background:var(--vp-blue)!important;height:22px!important;line-height:15px!important;padding:2px 3px!important;color:#fff!important}
.vertex-desktop .data-table td{height:var(--vp-row)!important;line-height:13px!important;padding:0 3px!important;color:#111}
.vertex-desktop .data-table tr:nth-child(even) td{background:#e2e2e1}
.vertex-desktop .data-table tr:nth-child(odd) td{background:#fff}
.vertex-desktop .data-table .month-total td,.vertex-desktop .data-table .month-total th{background:#e4e9a5!important;color:#111!important;font-weight:bold!important}
.vertex-desktop .data-table .period-total td,.vertex-desktop .data-table .period-total th,.vertex-desktop .data-table .trial-total td{background:#ffff00!important;color:#111!important;font-weight:400!important}
.vertex-desktop .data-table .statement-boundary td{background:#d7e7c0!important;color:#111!important}
.vertex-desktop .table-wrap{border-radius:0!important;padding:0!important;background:var(--vp-grid);border:1px inset #dededc}
.vertex-desktop .data-table th,.vertex-desktop .data-table td{border-color:#f0f0ee!important}
.vertex-desktop .data-table tr.vp-selected td,.vertex-desktop .data-table tr.desktop-selected td{background:#1685d4!important;color:#fff!important}
.vertex-desktop .filters,.vertex-desktop .vx-filter{background:var(--vp-face)!important}
.vertex-desktop .vp-workspace{display:grid;grid-template-columns:minmax(0,1fr) 133px;direction:ltr;gap:8px;height:calc(100% - 22px);min-height:220px;padding-top:5px}
.vertex-desktop .vp-main{direction:rtl;min-width:0;min-height:0;overflow:auto;background:var(--vp-grid)}
.vertex-desktop .vp-sidebar{direction:rtl;background:var(--vp-face);display:flex;flex-direction:column;align-items:stretch;gap:5px;padding:12px 3px 3px;overflow:auto}
.vertex-desktop .vp-sidebar>.btn{display:block;width:100%;min-height:20px;height:20px;font-size:11px;line-height:15px;padding:0 3px}
.vertex-desktop .vp-sidebar label{font-size:11px;display:flex;align-items:center;gap:3px}
.vertex-desktop .vp-sidebar input:not([type=checkbox]),.vertex-desktop .vp-sidebar select{width:100%;height:20px;min-height:20px;background:#dceabd}
.vertex-desktop .vp-sidebar kbd{float:left;background:none;border:0;padding:0 4px;font-size:10px}
.vertex-desktop .vp-tree{font:11px Arial!important;direction:ltr;background:#fff;height:100%;overflow:auto;padding:3px 2px;outline:0}
.vertex-desktop .vp-tree details{margin-left:16px;border-left:1px dotted #aaa;padding-left:6px}
.vertex-desktop .vp-tree>details{margin-left:0;border:0;padding-left:0}
.vertex-desktop .vp-tree summary,.vertex-desktop .vp-tree [role=treeitem]{height:15px;line-height:15px;list-style:none;white-space:nowrap;width:max-content;min-width:160px;cursor:default;font-size:11px;outline:0}
.vertex-desktop .vp-tree summary::-webkit-details-marker{display:none}
.vertex-desktop .vp-tree summary:before{content:'+';border:1px solid #777;background:#fff;display:inline-block;width:9px;height:9px;line-height:7px;text-align:center;margin-right:4px;font-size:10px}
.vertex-desktop .vp-tree details[open]>summary:before{content:'−'}
.vertex-desktop .vp-tree .vp-folder{display:inline-block;width:11px;height:8px;border:1px solid #595b25;border-radius:1px;background:linear-gradient(#fffacd,#e3de77);margin:0 5px 0 0;position:relative}
.vertex-desktop .vp-tree .vp-folder:before{content:'';position:absolute;left:0;top:-3px;width:5px;height:3px;border:1px solid #595b25;background:#e8df83}
.vertex-desktop .vp-tree .vp-leaf{margin-left:15px;padding-left:5px;border-left:1px dotted #aaa;display:block}
.vertex-desktop .vp-tree [aria-selected=true]>.vp-tree-label,.vertex-desktop .vp-tree .vp-leaf[aria-selected=true]{background:#167fc3;color:white}
.vertex-desktop .vp-tree-label{display:inline-block;direction:rtl;padding:0 2px}
.vertex-desktop .vp-tree-count{position:absolute;bottom:0;left:0;right:0;background:#f3f3f1;border-top:1px solid #999;height:16px;padding:1px 4px;text-align:right;font-size:10px}
.vertex-desktop #modalBackdrop{background:transparent!important;backdrop-filter:none!important;pointer-events:none!important;padding:0!important;top:var(--vp-worktop)!important;bottom:20px!important;z-index:420!important}
.vertex-desktop #modal{pointer-events:auto;border:1px solid #aaa!important;border-radius:0!important;box-shadow:0 1px 8px #0005!important;background:var(--vp-face)!important;max-height:calc(100vh - 100px)!important}
.vertex-desktop #modalBody>.modal-content{background:var(--vp-face)!important;padding:28px 9px 7px!important;max-height:calc(100vh - 102px);overflow:auto;min-width:300px;color:#111}
.vertex-desktop #modalBody h2:first-child{position:absolute!important;top:0!important;right:0!important;left:0!important;margin:0!important;padding:3px 8px 3px 28px!important;height:23px!important;line-height:17px!important;background:#fff!important;border-bottom:1px solid #ccc;font:11px Arial!important;text-align:right}
.vertex-desktop #modalClose{top:2px!important;left:3px!important;right:auto!important;height:18px!important;width:22px!important;min-height:18px!important;z-index:35!important;border:0!important;background:transparent!important;color:#333!important}
.vertex-desktop #modal.vp-document-window{position:absolute;inset:4px 6px 6px!important;width:auto!important;height:auto!important;max-width:none!important;max-height:none!important;transform:none!important;margin:0!important;border:2px ridge #c6dce8!important;box-shadow:none!important}
.vertex-desktop #modal.vp-document-window #modalBody,.vertex-desktop #modal.vp-document-window #modalBody>.modal-content{height:100%;max-height:none!important}
.vertex-desktop #modal.vp-document-window #modalBody>.modal-content{padding:26px 7px 18px!important;display:flex;flex-direction:column;overflow:hidden}
.vertex-desktop #modal.vp-document-window #modalBody h2:first-child{background:linear-gradient(#8dabca,#b7d0e4 55%,#dce7ef)!important;border-bottom:1px solid #99b4cc!important}
.vertex-desktop #modal.vp-document-window #modalClose{border:1px solid #777!important;background:linear-gradient(#d5998b,#a64d39)!important;color:#fff!important}
.vertex-desktop .vp-document-window #tradeForm,.vertex-desktop .vp-document-window #tradeJournalForm,.vertex-desktop .vp-document-window #vxStockForm,.vertex-desktop .vp-document-window #vxDocumentForm{flex:1;display:flex;flex-direction:column;min-height:0}
.vertex-desktop .vp-document-window .form-grid,.vertex-desktop .vp-document-window .vx-form-grid{width:min(1010px,100%);align-self:flex-end;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px 13px!important;padding:2px 0 8px;margin:0!important;direction:rtl}
.vertex-desktop .vp-document-window .form-group,.vertex-desktop .vp-account-card .form-group{display:flex;flex-direction:row;align-items:center;gap:4px!important}
.vertex-desktop .vp-document-window .form-group label{min-width:75px;width:75px;white-space:nowrap;font-size:11px;line-height:18px}
.vertex-desktop .vp-document-window .form-group>input,.vertex-desktop .vp-document-window .form-group>select,.vertex-desktop .vp-document-window .form-group>.master-combo{flex:1;min-width:0;width:auto}
.vertex-desktop .vp-document-window input{background:#c3e0ec!important;border:1px inset #bbb!important}
.vertex-desktop .vp-document-window input[readonly]{background:#f9f9f7!important}
.vertex-desktop .vp-document-window .table-wrap{flex:1;min-height:120px;max-height:none!important;margin:0!important;overflow:auto!important;background:repeating-linear-gradient(to bottom,#fff 0,#fff 13px,#e2e2e1 13px,#e2e2e1 27px)!important}
.vertex-desktop .vp-document-window .trade-lines th{background:var(--vp-orange)!important}
.vertex-desktop .vp-document-window .data-table tr{height:17px!important}
.vertex-desktop .vp-document-window .data-table td{height:17px!important;padding:0!important}
.vertex-desktop .vp-document-window .data-table td input,.vertex-desktop .vp-document-window .data-table td select,.vertex-desktop .vp-document-window .master-search{min-height:17px!important;height:17px!important;border:0!important;line-height:15px!important;padding:0 3px!important;background:transparent!important}
.vertex-desktop .vp-document-window .data-table input:focus,.vertex-desktop .vp-document-window .master-search:focus{outline:1px solid #2180b8!important;background:#fff!important}
.vertex-desktop .vp-document-window .trade-lines td:first-child{min-width:250px;width:30%}
.vertex-desktop .vp-document-window .data-table .btn{min-height:17px;height:17px;padding:0 4px;line-height:13px;font-size:10px}
.vertex-desktop .vp-document-window #addTradeLine{align-self:flex-end;height:20px;min-height:20px;width:110px;margin:3px 0}
.vertex-desktop .vp-document-window #tradeTotal{background:#ffe1dd!important;margin:0!important;min-height:28px;padding:5px;max-width:450px;align-self:flex-end;width:100%;border:1px inset #ddd}
.vertex-desktop .vp-document-window .invoice-analysis{min-height:23px;margin:5px 0!important;padding:2px 5px!important;border:0!important;background:transparent!important}
.vertex-desktop .vp-document-window .actions,.vertex-desktop .vp-document-window .vx-dialog-footer{margin-top:6px!important;padding:0!important;display:flex;gap:5px;justify-content:flex-start;flex-wrap:wrap;min-height:24px}
.vertex-desktop .vp-document-window .actions .btn{min-width:70px;height:21px;min-height:21px}
.vertex-desktop .vp-document-window .vp-voucher-grid{flex:1;min-height:160px;display:flex;flex-direction:column;margin-top:4px}
.vertex-desktop .vp-voucher-grid .form-group{display:contents}
.vertex-desktop .vp-voucher-grid input,.vertex-desktop .vp-voucher-grid select,.vertex-desktop .vp-voucher-grid .master-combo{width:100%!important;min-width:0!important}
.vertex-desktop .vp-voucher-grid label{display:none!important}
.vertex-desktop #tradeForm .vp-voucher-grid table th{background:var(--vp-blue)!important}
.vertex-desktop .vp-voucher-grid table{table-layout:fixed!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important}
.vertex-desktop .vp-voucher-grid td{overflow:visible;white-space:normal!important}
.vertex-desktop .vp-voucher-grid .master-source{position:absolute!important;width:1px!important;min-width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important}
.vertex-desktop .vp-voucher-cash{max-width:440px;align-self:flex-end;width:100%;padding:4px;border:1px inset #ccc}
.vertex-desktop .vp-account-card{width:476px!important;max-width:96vw!important}
.vertex-desktop .vp-account-card #chartForm .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:5px 10px}
.vertex-desktop .vp-account-card .form-group label{width:83px;min-width:83px;font-size:11px}
.vertex-desktop .vp-account-card .form-group>input,.vertex-desktop .vp-account-card .form-group>select,.vertex-desktop .vp-account-card .form-group>.master-combo{min-width:0;flex:1;width:100px}
.vertex-desktop .vp-account-card input:not([type=checkbox]){background:#c3e0ec}
.vertex-desktop .vp-account-card .vp-dialog-footer{display:flex;gap:4px;border-top:1px solid #ddd;margin-top:9px;padding-top:5px}
.vertex-desktop .vp-account-card .vp-dialog-footer .btn{min-width:78px}
.vertex-desktop .vp-report-window>.vp-workspace{flex:1;min-height:0}
.vertex-desktop .vp-report-window .vp-main>.table-wrap{max-height:none!important;height:100%}
.vertex-desktop .vp-report-window .report-summary{display:flex;gap:1px;background:var(--vp-face);padding:0;margin:0;flex-wrap:wrap}
.vertex-desktop .vp-report-window .mini-stat{padding:2px 8px;min-height:22px;min-width:130px;border:1px inset #ddd;border-radius:0;background:#f0f0ed}
.vertex-desktop .vp-report-window .mini-stat b{font-size:11px!important}
.vertex-desktop .vp-report-window .mini-stat span{font-size:10px!important}
.vertex-desktop .vp-report-window .monthly-statement{height:100%;display:flex;flex-direction:column;min-height:0}
.vertex-desktop .vp-report-window .monthly-statement>.table-wrap{flex:1;max-height:none!important}
.vertex-desktop .vp-report-window .detail-filter,.vertex-desktop .vp-report-window .statement-tools{display:flex;flex-direction:column;gap:5px;padding:0;margin:0;border:0;background:transparent}
.vertex-desktop .vp-report-window .detail-filter label{display:flex;flex-direction:column;gap:2px}
.vertex-desktop .vp-report-window .statement-tools button{width:100%;font-size:10px;padding:1px 2px}
.vertex-desktop .vp-account-card .vp-wide-field{grid-column:1/-1}
.vertex-desktop .vp-sidebar .report-controls{padding:0!important;border:0!important;margin:0!important}
.vertex-desktop .vp-sidebar .report-controls .form-grid{display:flex!important;flex-direction:column!important;gap:5px!important;padding:0!important;width:100%!important}
.vertex-desktop .vp-sidebar .report-controls .form-grid label,.vertex-desktop .vp-sidebar .statement-tools label{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:2px!important;font-size:11px!important;line-height:14px!important}
.vertex-desktop .vp-sidebar .report-controls input,.vertex-desktop .vp-sidebar .report-controls select{height:20px!important;min-height:20px!important;width:100%!important;padding:0 2px!important}
.vertex-desktop .vp-sidebar .statement-tools{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:4px!important}
.vertex-desktop .vp-sidebar .company-picker{padding:0!important;margin:4px 0!important}
.vertex-desktop .vp-sidebar .company-picker input{width:13px!important;height:13px!important;min-height:13px!important}
.vertex-desktop .vp-financial-page .vp-main #reportResults>h2,.vertex-desktop .vp-financial-page .vp-main #reportResults>p{display:none!important}
.vertex-desktop .vp-financial-page .trial-report{padding:0!important;margin:0!important;background:var(--vp-grid)!important;border:0!important}
.vertex-desktop .vp-financial-page .trial-report>h2,.vertex-desktop .vp-financial-page .trial-report>p{font-size:11px!important;margin:1px 3px!important}
.vertex-desktop .vp-financial-page .trial-report>.table-wrap{margin:0!important}
.vertex-desktop .vp-account-card .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.vertex-desktop .vp-document-window #tradeForm>.form-grid{display:grid!important;width:min(1010px,100%)!important;max-width:1010px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-flow:row!important;min-height:100px}
.vertex-desktop .vp-document-window #tradeForm>.form-grid>.form-group{display:flex!important;min-width:0;grid-template-columns:none!important;gap:4px!important}
.vertex-desktop #tradeForm>.form-grid>.form-group[data-field=number]{grid-column:1;grid-row:1}
.vertex-desktop #tradeForm>.form-grid>.form-group[data-field=documentNumber]{grid-column:1;grid-row:2}
.vertex-desktop #tradeForm>.form-grid>.form-group[data-field=referenceNumber]{grid-column:1;grid-row:3}
.vertex-desktop #tradeForm>.form-grid>.form-group[data-field=date]{grid-column:1;grid-row:4}
.vertex-desktop #tradeForm>.form-grid>.form-group[data-field=dueDate]{grid-column:1;grid-row:5}
.vertex-desktop #tradeForm>.form-grid>.form-group[data-field=paymentType]{grid-column:2;grid-row:1}
.vertex-desktop #tradeForm>.form-grid>.form-group[data-field=partyId]{grid-column:2;grid-row:2}
.vertex-desktop #tradeForm>.form-grid>.form-group[data-field=partyTax]{grid-column:2;grid-row:3}
.vertex-desktop #tradeForm>.form-grid>.form-group[data-field=deliveryAddress]{grid-column:2;grid-row:4}
.vertex-desktop #tradeForm>.form-grid>.form-group[data-field=notes]{grid-column:2;grid-row:5}
.vertex-desktop #tradeForm>.form-grid>.form-group[data-field=costCenterId]{grid-column:3;grid-row:1}
.vertex-desktop #tradeForm>.form-grid>.form-group[data-field=branchId]{grid-column:3;grid-row:2}
.vertex-desktop #tradeForm>.form-grid>.form-group[data-field=repId]{grid-column:3;grid-row:3}
.vertex-desktop #tradeForm>.form-grid>.form-group[data-field=user]{grid-column:3;grid-row:4}
.vertex-desktop #tradeForm>.form-grid>.form-group[data-field=warehouseId]{grid-column:3;grid-row:5}
.vertex-desktop #tradeForm>.form-grid>.form-group[data-field=bookId]{grid-column:3;grid-row:6}
.vertex-desktop .vp-document-window #tradeForm.vp-voucher-form>.form-grid{grid-auto-flow:row!important;min-height:80px}
.vertex-desktop #tradeForm.vp-voucher-form>.form-grid>.form-group{grid-column:auto!important;grid-row:auto!important}
.vertex-desktop .vp-invoice-totals{align-self:flex-end;width:470px;max-width:100%;display:grid;grid-template-columns:1fr 1fr;gap:3px 8px;border:1px inset #ddd;padding:5px;margin-top:4px;font-size:11px}
.vertex-desktop .vp-invoice-totals>div{display:flex;gap:5px;align-items:center}.vertex-desktop .vp-invoice-totals label{width:95px}.vertex-desktop .vp-invoice-totals output{background:#ffd8d5;min-width:100px;text-align:right;direction:ltr;padding:1px 5px;flex:1}
.vertex-desktop #modal.vp-document-window:has(.vp-account-card){height:auto}
.vertex-desktop .vp-voucher-grid .master-native{position:absolute!important;width:1px!important;min-width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important}
.vertex-desktop .vp-main>.vx-records-grid{margin:0!important;padding:0!important;width:100%!important;min-height:100%;background:#fff}
.vertex-desktop .vp-sidebar>form,.vertex-desktop .vp-sidebar>form>.form-grid{display:flex!important;flex-direction:column!important;padding:0!important;margin:0!important;gap:4px!important;width:100%!important;border:0!important;background:transparent!important}
.vertex-desktop .vp-sidebar>form .form-group{width:100%!important;margin:0!important}
.vertex-desktop .vp-sidebar>form .btn{width:100%;height:auto;min-height:20px;padding:1px;font-size:11px}
.vertex-desktop .vp-sidebar>form input,.vertex-desktop .vp-sidebar>form select{min-width:0!important;font-size:11px!important}
.vertex-desktop #content.vp-reference-list{position:absolute!important;left:80px;top:4px;right:auto!important;width:220px!important;height:410px!important;min-height:0!important;padding-bottom:18px!important}
.vertex-desktop .vp-reference-list>.page-head>.actions{display:none!important}
.vertex-desktop .vp-reference-list .vp-workspace{display:flex!important;flex-direction:column!important;gap:0;padding-top:0;height:100%!important}
.vertex-desktop .vp-reference-list .vp-sidebar{order:0;flex:none;display:flex;flex-direction:row;gap:1px;padding:2px;overflow:visible;height:25px}
.vertex-desktop .vp-reference-list .vp-sidebar .btn{width:50px!important;min-width:0;font-size:10px!important;height:21px;padding:0!important}
.vertex-desktop .vp-reference-list .vp-sidebar kbd{display:none}
.vertex-desktop .vp-reference-list .vp-main{order:1;flex:1;background:#fff}
.vertex-desktop .vp-reference-list .data-table thead,.vertex-desktop .vp-reference-list .data-table td:not(:nth-child(2)){display:none}
.vertex-desktop .vp-reference-list .table-wrap{height:100%;max-height:none!important}
.vertex-desktop .vp-reference-list .data-table{min-width:0!important;width:100%!important}
.vertex-desktop .vp-reference-list .data-table td{background:#fff!important;height:15px!important;text-align:right}
.vertex-desktop .vp-reference-list .data-table tr.vx-selected td{background:#1685d4!important;color:#fff!important}
.vertex-desktop .vp-reference-list .vx-record-count{position:absolute;bottom:0;left:0;right:0;font-size:10px;height:16px;padding:1px 4px!important}
.vertex-desktop #modal:has(.vp-reference-card){width:310px!important;min-width:0!important}
.vertex-desktop .vp-reference-card{min-width:0!important;width:308px!important}
.vertex-desktop .vp-reference-fields{display:flex!important;flex-direction:column!important;gap:4px!important}
.vertex-desktop .vp-reference-fields>.form-group{display:flex;align-items:center;gap:5px;font-size:11px}
.vertex-desktop .vp-reference-fields>.form-group>label{width:70px;flex:none;font-size:11px}
.vertex-desktop .vp-reference-fields input:not([type=checkbox]),.vertex-desktop .vp-reference-fields select,.vertex-desktop .vp-reference-fields textarea{flex:1;min-width:0;width:100%;background:#c4d4e6!important;height:20px;min-height:20px;font-size:11px}
.vertex-desktop .vp-reference-fields textarea{height:38px!important}
.vertex-desktop .vp-reference-card .vx-dialog-footer{display:flex;gap:8px;justify-content:center;padding-top:6px}
.vertex-desktop #modal:has(.vp-item-card){width:552px!important}
.vertex-desktop .vp-item-card{width:550px!important;min-height:490px;padding-top:60px!important}
.vertex-desktop .vp-item-card .vx-tabs{display:grid;grid-template-columns:repeat(6,1fr)!important;direction:ltr;margin:5px 0 0!important}
.vertex-desktop .vp-item-card .vx-tabs button{font:11px Arial!important;height:20px;min-height:20px;border-radius:3px 3px 0 0}
.vertex-desktop .vp-item-card .vx-tabs button:nth-child(n+7){grid-row:1}
.vertex-desktop .vp-item-card .vx-tabs button:nth-child(-n+6){grid-row:2}
.vertex-desktop .vp-item-card [data-vx-panel]{height:295px!important;min-height:295px!important;max-height:350px;overflow:auto;padding:14px 7px 6px!important}
.vertex-desktop .vp-item-card .vx-form-grid{display:flex!important;flex-direction:column!important;gap:5px!important;max-width:400px;margin-right:0;margin-left:auto}
.vertex-desktop .vp-item-card .form-group{display:flex!important;align-items:center;gap:4px!important;max-width:400px;margin-left:auto;font-size:11px}
.vertex-desktop .vp-item-card .form-group>label{width:84px;min-width:84px;font-size:11px}
.vertex-desktop .vp-item-card .form-group>input,.vertex-desktop .vp-item-card .form-group>select,.vertex-desktop .vp-item-card .form-group>.master-combo{width:100%;flex:1;min-width:0;height:20px;min-height:20px;font-size:11px}
.vertex-desktop .vp-item-card .form-group>input{background:#c3e0ec!important}
.vertex-desktop .vp-item-card .vx-dialog-footer{margin-top:6px;display:flex;gap:5px;padding-top:5px}
.vertex-desktop #modal:has(.vp-party-card){width:674px!important}
.vertex-desktop .vp-party-card{width:672px!important;min-height:460px}
.vertex-desktop .vp-party-card form.form-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:5px 20px!important;padding:5px!important;position:relative}
.vertex-desktop .vp-party-card .form-group{display:flex;flex-direction:row;align-items:center;gap:5px;grid-column:auto!important;margin:0!important}
.vertex-desktop .vp-party-card .form-group>label{width:90px;min-width:90px;font:11px Arial;line-height:12px}
.vertex-desktop .vp-party-card .form-group>input,.vertex-desktop .vp-party-card .form-group>select,.vertex-desktop .vp-party-card .form-group>.master-combo,.vertex-desktop .vp-party-card textarea{flex:1;min-width:0;width:100%;height:20px;min-height:20px;padding:0 3px!important;font:11px Arial}
.vertex-desktop .vp-party-card textarea{height:45px!important}
.vertex-desktop .vp-party-card .form-group[data-field=code]{grid-column:1!important;grid-row:1}.vertex-desktop .vp-party-card .form-group[data-field=name]{grid-column:1!important;grid-row:2}.vertex-desktop .vp-party-card .form-group[data-field=nameEn]{grid-column:1!important;grid-row:3}.vertex-desktop .vp-party-card .form-group[data-field=phone]{grid-column:1!important;grid-row:4}.vertex-desktop .vp-party-card .form-group[data-field=email]{grid-column:1!important;grid-row:5}.vertex-desktop .vp-party-card .form-group[data-field=vatNo]{grid-column:1!important;grid-row:6}.vertex-desktop .vp-party-card .form-group[data-field=address]{grid-column:1!important;grid-row:7}.vertex-desktop .vp-party-card .form-group[data-field=repId]{grid-column:2!important;grid-row:1}.vertex-desktop .vp-party-card .form-group[data-field=creditLimit]{grid-column:2!important;grid-row:2}.vertex-desktop .vp-party-card .form-group[data-field=maxInvoiceAmount]{grid-column:2!important;grid-row:3}.vertex-desktop .vp-party-card .form-group[data-field=paymentTermsDays]{grid-column:2!important;grid-row:4}.vertex-desktop .vp-party-card .form-group[data-field=allowDebit]{grid-column:2!important;grid-row:5}.vertex-desktop .vp-party-card .form-group[data-field=salesBlocked]{grid-column:2!important;grid-row:6}.vertex-desktop .vp-party-card .form-group[data-field=notes]{grid-column:2!important;grid-row:7}
.vertex-desktop .vp-party-card .form-group[data-field=code] input,.vertex-desktop .vp-party-card .form-group[data-field=name] input,.vertex-desktop .vp-party-card .form-group[data-field=nameEn] input,.vertex-desktop .vp-party-card .form-group[data-field=creditLimit] input{background:#c3e0ec!important}
.vertex-desktop .vp-party-card .vp-party-footer{grid-column:1/-1!important;grid-row:20;display:flex;justify-content:flex-start;gap:8px;border-top:1px solid #555;padding-top:7px;margin-top:8px!important}
.vertex-desktop .vp-party-card .vp-party-footer .btn{width:135px;min-height:22px;height:22px}
.vertex-desktop .vp-journal-table .form-group,.vertex-desktop .vp-cheque-grid .form-group{display:contents!important}
.vertex-desktop .vp-journal-table .form-group>label,.vertex-desktop .vp-cheque-grid .form-group>label{display:none!important}
.vertex-desktop .vp-journal-table{table-layout:fixed;width:100%!important}
.vertex-desktop .vp-journal-table td input,.vertex-desktop .vp-journal-table .master-combo,.vertex-desktop .vp-cheque-grid input{width:100%!important;min-width:0!important}
.vertex-desktop .vp-journal-table th:nth-child(1){width:28%}.vertex-desktop .vp-journal-table th:nth-child(2),.vertex-desktop .vp-journal-table th:nth-child(3){width:16%}.vertex-desktop .vp-journal-table th:nth-child(4),.vertex-desktop .vp-journal-table th:nth-child(5){width:9%}.vertex-desktop .vp-journal-table th:last-child{width:36px}
.vertex-desktop .vp-journal-table .master-native{position:absolute!important;opacity:0!important;width:1px!important;min-width:0!important;height:1px!important}
.vertex-desktop .vp-journal-totals{background:#ffffa0;padding:3px;text-align:left;white-space:pre-wrap;min-height:21px;font-size:11px}
.vertex-desktop .vp-document-window .vp-dialog-footer{display:flex;justify-content:flex-start;gap:5px;margin-top:5px}
.vertex-desktop .vp-document-window .vp-dialog-footer .btn{width:100px;height:22px;min-height:22px}
.vertex-desktop .vp-cheque-grid table{table-layout:fixed;width:100%!important}
.vertex-desktop #content:not(.vx-home) .report-totals{display:flex!important;gap:2px!important;padding:0!important;margin:2px 0!important;flex-wrap:wrap}
.vertex-desktop #content:not(.vx-home) .report-totals .kpi-card{padding:2px 8px!important;min-height:34px!important;flex:1;min-width:125px}
.vertex-desktop #content:not(.vx-home) .report-totals .kpi-value{font-size:12px!important;margin:1px 0!important;line-height:16px!important}
.vertex-desktop #content:not(.vx-home) .report-totals .kpi-note{display:none!important}
.vertex-desktop #content:not(.vx-home) .business-section-nav{border-radius:0!important;min-height:24px!important;height:24px!important;padding:2px!important}
@media(max-width:900px){.vertex-desktop .vp-workspace{grid-template-columns:minmax(0,1fr) 118px}.vertex-desktop .vp-document-window .form-grid,.vertex-desktop .vp-document-window .vx-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.vertex-desktop #mainNav{overflow-x:auto!important;overflow-y:visible!important}.vertex-desktop #content.vp-reference-list{left:8px}}
@media print{.vp-sidebar,.vp-tree-count,.vp-dialog-footer{display:none!important}.vp-workspace{display:block!important;height:auto!important}.vp-main{overflow:visible!important;background:white!important}.vertex-desktop .data-table{font-size:10px!important}.vertex-desktop .data-table th{color:#111!important;background:#eee!important}.vertex-desktop .table-wrap{overflow:visible!important;border:0!important;max-height:none!important;height:auto!important}}

/* User preferences preserve the reference defaults. */
.vertex-desktop{--vp-font:11px}
.vertex-desktop .data-table{font-size:var(--vp-font)!important}
.vertex-desktop .data-table td{line-height:calc(var(--vp-row) - 2px)!important}
.vertex-desktop.vp-no-stripes .data-table tr:not(.month-total):not(.period-total):not(.trial-total):not(.statement-boundary):not(.desktop-selected):not(.vp-selected) td{background:white!important}
.vertex-desktop.vp-no-grid .data-table td{border-color:transparent!important}
.vertex-desktop #modal:has(.vp-settings-card){width:852px!important;max-width:calc(100vw - 20px)!important}
.vertex-desktop .vp-settings-card{height:550px!important;min-width:0!important}
.vertex-desktop .vp-preferences{height:100%;display:flex;flex-direction:column}
.vertex-desktop .vp-pref-tabs{display:flex;direction:rtl;justify-content:stretch;height:28px;min-height:28px;gap:0}
.vertex-desktop .vp-pref-tabs button{flex:1;border:1px solid #999;background:#e8e8e6;font:11px Arial;padding:3px;white-space:nowrap}
.vertex-desktop .vp-pref-tabs button[aria-selected=true]{background:#fafaf8;border-bottom-color:#fafaf8}
.vertex-desktop .vp-preferences section{flex:1;padding:18px 15px;overflow:auto;border:1px solid #aaa;background:#fafaf8}
.vertex-desktop .vp-preferences section[hidden]{display:none!important}
.vertex-desktop .vp-preferences fieldset{padding:15px 12px;border:1px solid #aaa;min-height:200px}
.vertex-desktop .vp-preferences .form-group{display:grid;grid-template-columns:250px minmax(80px,1fr);gap:6px;align-items:center;margin-bottom:14px}
.vertex-desktop .vp-preferences input,.vertex-desktop .vp-preferences select{height:22px;min-height:22px;width:100%}
.vertex-desktop .vp-pref-check{display:flex;gap:7px;align-items:center;margin:14px 0}
.vertex-desktop .vp-pref-check input{width:14px;height:14px;min-height:14px}
.vertex-desktop .vp-preferences .vp-dialog-footer{margin-top:12px;justify-content:space-between}
.vertex-desktop .vp-cheque-grid textarea{height:17px!important;min-height:17px!important;max-height:40px!important;resize:vertical;width:100%!important;font:11px Arial;padding:0 3px!important}.vertex-desktop .vp-cheque-grid table{height:auto!important}.vertex-desktop .vp-cheque-grid tbody td{vertical-align:top!important}

/* Readable chart and distinct posting accounts */
.vertex-desktop .vp-tree{font-size:14px!important;min-height:60vh}.vertex-desktop .vp-tree summary,.vertex-desktop .vp-tree [role=treeitem]{height:24px;line-height:24px;font-size:14px}.vp-account-leaf{display:inline-block;width:10px;height:13px;background:#e4f2ff;border:1px solid #4385b6;margin-right:6px;vertical-align:middle}.vp-account-leaf:after{content:"≡";color:#27618d;font-size:10px;line-height:10px}

/* Keep the account number first in an Arabic tree, independent of bidi text order. */
.vertex-desktop .vp-tree-label{display:inline-flex;direction:ltr;align-items:baseline;gap:.45em}
.vertex-desktop .vp-tree-code,.vertex-desktop .vp-tree-name{unicode-bidi:isolate}
