/* Desktop dimensions follow the captured 1664px Venicia work area; content remains live HTML. */
:root{--vx-face:#f2f2f0;--vx-edge:#a4a4a4;--vx-blue:#246db1;--vx-title:#bdd3e7;--vx-input:#c5e2ec;--vx-yellow:#ffffc5;--vx-row:17px}
.vertex-desktop #desktopToolbar svg.vx-whatsapp-icon{width:18px!important;height:18px!important;stroke:none!important}
.vertex-desktop #desktopToolbar .vx-wa-bubble{fill:#25d366;stroke:none}
.vertex-desktop #desktopToolbar .vx-wa-phone{fill:#fff;stroke:none}
html,body,button,input,select,textarea,table,kbd,output{font-family:Arial,sans-serif!important}
body.vertex-desktop{background:#a6a6a6;color:#111;font-size:12px;margin:0;overflow:hidden}
.vertex-desktop *{box-sizing:border-box}
.vertex-desktop .sidebar{display:block!important;position:fixed!important;inset:0 0 auto!important;width:100%!important;height:47px!important;padding:0!important;background:var(--vx-face)!important;border:0!important;overflow:visible!important;z-index:500!important;color:#111!important;transform:none!important}
.vertex-desktop .brand{height:23px!important;min-height:23px!important;margin:0!important;padding:2px 5px!important;display:flex!important;flex-direction:row-reverse;justify-content:flex-start;gap:6px;background:#fff!important;color:#111!important;border:0!important;border-radius:0!important;font-size:12px!important}
.vertex-desktop .brand strong{font-size:12px!important;font-weight:400}.vx-brand-icon{font-weight:bold;color:#136379;font-size:15px}.vertex-desktop .brand .vx-brand-caption{display:inline!important;margin-inline-start:auto;font-size:10px;color:#555}
.vertex-desktop .brand-mark,.vertex-desktop .nav-title,.vertex-desktop .system-state,.vertex-desktop .mobile-app-link{display:none!important}
.vertex-desktop #mainNav{display:flex!important;flex-wrap:nowrap!important;gap:0!important;align-items:center;padding:0 5px!important;margin:0!important;height:24px;direction:rtl;background:#f5f5f5;border-bottom:1px solid #b1b1b1}
.vertex-desktop .nav-group{margin:0!important;border:0!important;padding:0!important;position:relative}.vertex-desktop .nav-group>summary{font-size:12px!important;font-weight:400!important;line-height:20px;padding:1px 7px!important;list-style:none;cursor:default;color:#111!important;white-space:nowrap;outline-offset:-2px}.vx-menu>summary::-webkit-details-marker,.vx-submenu>summary::-webkit-details-marker,.vx-toolbar-menu>summary::-webkit-details-marker{display:none}
.vx-menu[open]>summary,.vx-menu>summary:hover,.vx-submenu[open]>summary{background:#afd9f7!important}
.vertex-desktop .vx-dropdown{position:absolute!important;right:0;left:auto;top:100%;min-width:228px;width:max-content;max-width:340px;padding:2px!important;background:#f1f1ef!important;box-shadow:2px 2px 3px #0006!important;border:1px solid #aaa!important;z-index:600!important;color:#111;direction:rtl}
.vertex-desktop .vx-dropdown button,.vx-submenu>summary{display:flex!important;justify-content:space-between;gap:20px;width:100%;min-height:24px;height:auto;padding:3px 15px!important;border:0;background:transparent;color:#111;border-radius:0;font:12px Arial!important;text-align:right;cursor:default;white-space:nowrap;list-style:none}
.vertex-desktop .vx-dropdown button[hidden]{display:none!important}.vx-dropdown button:hover,.vx-dropdown button:focus-visible,.vx-submenu>summary:hover{background:#acd7f6!important;outline:0}.vx-dropdown kbd{background:transparent;border:0;box-shadow:none;font:11px Arial!important;direction:ltr}.vx-submenu{position:relative}.vertex-desktop .vx-submenu>.vx-dropdown{right:calc(100% - 2px);top:-3px;left:auto}
.vertex-desktop #desktopToolbar{position:fixed!important;left:0!important;right:0!important;top:47px!important;bottom:auto!important;width:100%!important;height:37px!important;min-height:37px!important;display:flex!important;flex-direction:row!important;justify-content:flex-start!important;gap:0!important;padding:1px 0!important;overflow:visible!important;transform:none!important;background:#f2f2f0!important;border-bottom:2px groove #ddd!important;z-index:450!important;direction:ltr}
.vx-shortcut{position:relative;display:flex;direction:ltr;height:33px;border-right:1px solid #d5d5d5}.vertex-desktop #desktopToolbar .vx-shortcut>.btn{width:43px!important;height:33px!important;min-height:33px!important;min-width:0!important;padding:0!important;gap:0!important;display:flex!important;flex-direction:column!important;border:0!important;background:transparent!important;color:#111!important;box-shadow:none!important;border-radius:0!important;outline-offset:-2px}
.vertex-desktop #desktopToolbar .vx-shortcut>.btn:hover{background:#d4e8f4!important;outline:1px solid #8da7b6}.vertex-desktop #desktopToolbar svg{height:15px!important;width:17px!important;fill:#d9e6a3!important;stroke:#294959!important;stroke-width:1.7!important;display:block!important;opacity:1!important;visibility:visible!important}.vertex-desktop #desktopToolbar .shortcut-label{font:11px Arial!important;line-height:14px!important;color:#111!important}.vx-toolbar-menu>summary{font:10px Arial;list-style:none;line-height:33px;padding:0 2px;cursor:default}.vx-toolbar-menu{position:relative}.vertex-desktop .vx-toolbar-menu .vx-dropdown{left:0;right:auto;direction:rtl;top:33px}
.vertex-desktop .main-shell{position:fixed!important;inset:84px 0 23px!important;margin:0!important;padding:0!important;width:100%!important;display:flex;flex-direction:column;min-width:0;background:#a6a6a6}
.vertex-desktop .topbar{height:25px!important;min-height:25px!important;flex:0 0 25px!important;padding:1px 8px!important;gap:8px;background:#ededeb!important;border:0!important;box-shadow:none!important;position:relative!important;display:flex}.vertex-desktop .topbar .search-box{height:22px;max-width:270px;min-width:100px;padding:0 3px;background:white;border:1px solid #aaa;border-radius:0}.vertex-desktop .topbar .search-box input{font-size:11px;padding:1px;height:20px;min-height:20px}.vertex-desktop .company-control{gap:4px;display:flex;align-items:center;flex-direction:row}.vertex-desktop .company-control label{font-size:10px}.vertex-desktop .company-control select{height:21px;min-height:21px;max-width:280px;padding:0 2px}.vertex-desktop .user-chip{font-size:11px;padding:0;margin-inline-start:auto}.vertex-desktop .avatar,.vertex-desktop .topbar .menu-button{display:none}.vertex-desktop .user-chip>div{display:flex;align-items:center;gap:8px}.vertex-desktop .topbar .icon-button{height:22px;width:23px;min-height:22px;border-radius:0}.vertex-desktop #logoutButton{font-size:10px;min-height:20px;padding:1px 5px}
.vertex-desktop .screen-tabs{min-height:23px;max-height:46px;flex:0 0 auto;padding:1px 6px;gap:1px;flex-wrap:nowrap;overflow-x:auto;border:0;background:#e6e6e3}.vertex-desktop .screen-tab{border:1px solid #aaa;border-radius:0}.vertex-desktop .screen-tab button{padding:2px 7px;font-size:10px;white-space:nowrap}.vertex-desktop .screen-tab.active{background:#d3e5f5;color:#111}.vertex-desktop .screen-tab [data-close-screen]{padding:0 5px}
.vertex-desktop .content{position:relative;flex:1;min-height:0;max-width:none!important;width:calc(100% - 12px);margin:3px 6px 6px;padding:25px 7px 22px!important;overflow:auto;background:#f4f4f2;border:2px ridge #cee0ea;border-radius:0;box-shadow:none;font-size:12px}
.vertex-desktop .page-head{position:sticky;top:-25px;z-index:25;min-height:23px!important;height:23px!important;margin:-25px -7px 7px!important;padding:2px 6px!important;background:linear-gradient(#99b7d2,#d0e0ee)!important;border:0!important;border-bottom:1px solid #9bb8ce!important;display:flex;align-items:center;gap:3px;color:#111!important;box-shadow:none;border-radius:0}.vertex-desktop .page-head h1{font:12px Arial!important;margin:0!important;line-height:18px!important;color:#111!important}.vertex-desktop .page-head p{display:none!important}.vertex-desktop .page-head>.actions{margin-inline-start:auto;gap:3px}.vertex-desktop .page-head .btn{height:19px;min-height:19px;font:10px Arial!important;padding:0 5px}.vx-window-close{order:-1;width:22px;height:17px;min-width:22px;border:1px solid #777;background:linear-gradient(#d5998b,#a64d39);color:white;font-weight:bold;line-height:12px;padding:0}.vertex-desktop .page-head>div:first-of-type{margin-inline-start:0}
.vertex-desktop .btn,.vertex-desktop button:not(.month-toggle):not(.master-arrow){border-radius:0;box-shadow:none}.vertex-desktop .btn{min-height:22px;height:auto;line-height:18px;font-size:11px;padding:1px 9px;border:1px solid #aaa;border-top-color:#fff;border-left-color:#fff;background:#f6f6f4;color:#111}.vertex-desktop .btn-primary{background:#eaf0f0;color:#111;border:1px solid #728d9c}.vertex-desktop .btn:hover{background:#d7eaf6}.vertex-desktop .btn:disabled{color:#999;cursor:default}.vertex-desktop .card,.vertex-desktop .section-card{border-radius:0;box-shadow:none;background:#f4f4f2;border:1px solid #bbb}.vertex-desktop .card-header{padding:5px 7px;min-height:25px;border-bottom:1px solid #bbb}.vertex-desktop .card-header h2,.vertex-desktop h3{font-size:12px;margin:3px 0}.vertex-desktop .card-header p{font-size:10px;margin:2px 0}
.vertex-desktop input,.vertex-desktop select,.vertex-desktop textarea{border:1px inset #bbb;border-radius:0;min-height:20px;height:20px;padding:1px 4px;background:#fff;color:#111;font-size:11px;box-shadow:none}.vertex-desktop textarea{height:50px;min-height:40px;resize:vertical}.vertex-desktop input:focus,.vertex-desktop select:focus,.vertex-desktop textarea:focus{background:var(--vx-input);outline:1px solid #5693b2}.vertex-desktop input[type=checkbox],.vertex-desktop input[type=radio]{height:13px;min-height:13px;width:13px;padding:0;flex:none}.vertex-desktop .form-group{gap:2px;margin:0;min-width:0}.vertex-desktop .form-group label{font-size:11px;margin:0}.vertex-desktop .form-grid{gap:6px 13px}
.vertex-desktop .data-table{font-size:11px;min-width:0;border-collapse:collapse;width:100%;background:white}.vertex-desktop .data-table th{position:sticky;top:0;z-index:3;background:var(--vx-blue)!important;color:white!important;border:1px solid #eee;font:11px Arial!important;height:22px;padding:2px 4px;white-space:nowrap}.vertex-desktop .data-table td{height:var(--vx-row);padding:1px 4px;border:1px solid #efefef;line-height:14px;white-space:nowrap;color:#111;font:11px Arial!important}.vertex-desktop .data-table tbody tr:nth-child(even){background:#e5e5e3}.vertex-desktop .data-table tbody tr:nth-child(odd){background:white}.vertex-desktop .data-table tbody tr:hover,.vertex-desktop .data-table tr.vx-selected,.vertex-desktop .data-table tr.desktop-selected{background:#cbe7f8!important}.vertex-desktop .data-table .btn{min-height:18px;height:18px;padding:0 5px;font-size:10px}.vertex-desktop .table-wrap{border:0;border-radius:0;max-height:calc(100vh - 280px);overflow:auto;background:white}.vertex-desktop .month-total,.vertex-desktop .month-total td,.vertex-desktop .month-total th{background:#fffda1!important;color:#111!important;font-weight:bold!important}.vertex-desktop .statement-boundary td,.vertex-desktop .period-total td,.vertex-desktop .period-total th{background:#bcf1ee!important;color:#111!important}.vertex-desktop .report-summary{display:flex;gap:4px;margin:4px 0}.vertex-desktop .mini-stat{padding:5px;background:#fffecb;border:1px solid #c8c5a6;border-radius:0;flex:1;font-size:11px}.vertex-desktop .mini-stat b{font-size:12px}.vertex-desktop .statement-tools{gap:4px;padding:3px 0}.vertex-desktop .window-tools{display:none!important}
.vx-report-tools{width:130px;float:right;display:flex;flex-direction:column;gap:7px;padding:10px 3px;background:#f3f3f1;position:sticky;top:0}.vx-records-grid{margin-right:137px;min-height:calc(100vh - 235px);background:#fff}.vx-records-grid .table-wrap{max-height:calc(100vh - 218px)}.vx-record-count{position:sticky;bottom:-22px;font:10px Arial;padding:3px 6px;border-top:1px solid #aaa;background:#f4f4f2;min-height:17px}.vx-filter{display:flex;align-items:end;gap:8px;flex-wrap:wrap;padding:4px 0 8px}.vx-filter .form-group{display:flex;gap:4px;align-items:center}.vx-filter input{width:125px}.vx-filter [type=search]{width:200px}.vx-filter label{font-size:11px}.vx-annual table{min-width:3200px}.vx-annual th:first-child,.vx-annual td:first-child{position:sticky;right:0;z-index:4;min-width:95px;background:#f4f4f2}.vx-annual th:nth-child(2),.vx-annual td:nth-child(2){position:sticky;right:95px;z-index:4;min-width:230px;background:#f4f4f2}.vx-annual thead tr:nth-child(2) th{position:sticky;right:auto;top:22px;z-index:3;min-width:80px}.vx-annual thead tr:first-child th:nth-child(-n+2){z-index:6}
.vertex-desktop .modal-backdrop{z-index:9000;background:#0000000a;padding:4px;overflow:auto}.vertex-desktop .modal{width:550px;max-width:calc(100vw - 20px);max-height:calc(100vh - 60px);padding:0;border:2px ridge #bbb;border-radius:0;box-shadow:0 2px 10px #0005;background:#f2f2f0}.vertex-desktop .modal-content{padding:30px 9px 9px!important;font-size:11px;background:#f2f2f0}.vertex-desktop .modal-content>h2{position:sticky;top:-30px;z-index:20;margin:-30px -9px 10px!important;height:24px;line-height:23px!important;padding:0 7px 0 30px!important;font:12px Arial!important;background:linear-gradient(#fdfdfd,#e4e4e2);border-bottom:1px solid #bbb;color:#111}.vertex-desktop .modal-close{position:absolute;top:1px;left:1px;right:auto;width:22px;height:20px;min-height:20px;padding:0;border:0;border-radius:0;background:transparent;font-size:19px;line-height:18px;z-index:35}.vertex-desktop .vx-modal-wide{width:calc(100vw - 14px)!important;height:calc(100vh - 159px);max-width:none!important;max-height:none!important;margin-top:130px}.vertex-desktop .vx-modal-wide .modal-content{height:100%;display:flex;flex-direction:column}.vertex-desktop .vx-modal-wide form{display:flex;flex-direction:column;flex:1;min-height:0}.vx-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:5px 18px;align-items:start}.vx-field,.vx-form-grid>.form-group{display:grid!important;grid-template-columns:106px minmax(0,1fr);align-items:center;gap:5px!important}.vx-form-grid>.form-group input,.vx-form-grid>.form-group select{width:100%}.vx-field textarea{width:100%}.vx-check{display:flex;align-items:center;gap:6px;margin:8px 0}.vx-dialog-footer{display:flex;gap:5px;align-items:center;justify-content:flex-start;margin-top:auto;padding-top:10px}.vx-dialog-footer output{margin-inline-end:auto}.vx-document-header{max-width:1070px;grid-template-columns:repeat(3,minmax(0,1fr));padding-bottom:10px}.vx-document>.table-wrap,.vx-document form>.table-wrap,#vxDocumentLines,#vxPayrollLines{flex:1;min-height:120px;overflow:auto}.vx-document .table-wrap{max-height:none}.vx-document tbody:after{content:'';display:table-row;height:230px;background:repeating-linear-gradient(white 0,white 16px,#e5e5e3 16px,#e5e5e3 32px)}
.vertex-desktop .vx-modal-wide:has(#tradeForm){margin-top:105px;height:calc(100vh - 120px)}.vertex-desktop .modal:has(#tradeForm),.vertex-desktop .modal:has(#journalForm){width:calc(100vw - 14px)!important;height:calc(100vh - 158px);max-width:none!important;max-height:none!important}.vertex-desktop .modal:has(#tradeForm) .modal-content{height:100%;display:flex;flex-direction:column}.vertex-desktop #tradeForm{height:100%;display:flex;flex-direction:column;min-height:0}.vertex-desktop #tradeForm>.form-grid{width:min(1080px,100%);grid-template-columns:repeat(4,minmax(0,1fr));padding:2px 0 8px}.vertex-desktop #tradeForm>.form-grid>.form-group{display:grid;grid-template-columns:75px minmax(0,1fr);align-items:center}.vertex-desktop #tradeForm>.form-grid>.form-group input{background:#c6e6ed}.vertex-desktop #tradeForm>.table-wrap{flex:1;min-height:160px;max-height:none}.vertex-desktop #tradeForm table th{background:#ff8b00!important}.vertex-desktop #tradeLines td{padding:0 2px;height:24px}.vertex-desktop #tradeLines input{height:22px;padding:1px 3px}.vertex-desktop .master-combo{min-width:0}.vertex-desktop .master-search{font-size:11px!important;min-height:20px;height:20px}.vertex-desktop .trade-lines td:first-child .master-combo{min-width:190px}.vertex-desktop .invoice-live-strip{min-height:28px;gap:5px}.vertex-desktop .invoice-profit-square{height:22px;width:30px;min-width:30px}.vertex-desktop .invoice-live-strip [data-active-stock]{padding:3px 7px;font-size:11px}.vertex-desktop .master-options{font-size:12px;max-height:260px}.vertex-desktop .master-options [role=option]{padding:4px 6px}.vertex-desktop .customer-context{position:absolute;top:80px;left:30%;right:12%;z-index:80;max-height:280px;margin:0;background:#f6fbff}.vertex-desktop .line-profit{position:absolute;z-index:15;padding:3px;background:#fffeb1}
.vertex-desktop #desktopStatus{position:fixed;bottom:0;left:0;right:0;height:23px;background:#f2f2f0;border-top:2px groove #ddd;display:flex;gap:0;direction:ltr;padding:1px 3px;font:10px Arial;z-index:400}.vertex-desktop #desktopStatus span{padding:2px 12px;border-right:1px solid #bbb;white-space:nowrap}.vertex-desktop #desktopStatus span:last-child{margin-left:auto}.vx-tabs{display:flex;flex-wrap:wrap;gap:1px;margin-bottom:8px;flex-direction:row-reverse}.vx-tabs button{border:1px solid #aaa;padding:3px 10px;background:#e9e9e6;font-size:11px}.vx-tabs button.active{background:#fff;border-bottom-color:#fff;font-weight:bold}
.vertex-desktop .vx-home{background:#f1f4f6}.vertex-desktop .home-kpis{gap:6px}.vertex-desktop .kpi-card{padding:9px;border:1px solid #bac5ce;border-radius:0;background:#fff}.vertex-desktop .kpi-value{font-size:22px!important}.vertex-desktop .home-module-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:7px}.vertex-desktop .home-module{padding:7px}.vertex-desktop .home-period{padding:4px;gap:5px}.vertex-desktop .home-analysis{gap:7px}.vertex-desktop .business-filter{padding:5px}.vertex-desktop .business-filter .form-grid{grid-template-columns:repeat(4,minmax(150px,1fr))}.vertex-desktop .report-totals{display:flex;gap:4px}.vertex-desktop .report-totals .kpi-card{padding:5px;flex:1}.vertex-desktop .report-totals .kpi-value{font-size:15px!important}
.vertex-desktop #loginOverlay{background:#a6a6a6!important;padding:12px!important}.vertex-desktop #loginForm{width:430px!important;padding:10px 16px 16px!important;background:#f3f3f1!important;border:2px ridge #ccc!important;box-shadow:0 2px 9px #0005!important}.vertex-desktop #loginForm h1{font-size:20px!important;margin:8px 0 15px}.vertex-desktop #loginForm .eyebrow{font-size:12px;color:#164973}.vertex-desktop #loginForm .form-group{display:grid;grid-template-columns:90px minmax(0,1fr);align-items:center;margin:10px 0}.vertex-desktop #loginForm input,.vertex-desktop #loginForm select{height:27px}.vertex-desktop #loginForm .btn{height:29px}.vertex-desktop #loginForm>p{font-size:12px}
@media(max-width:1000px){.vertex-desktop #mainNav{overflow:visible}.vertex-desktop .nav-group>summary{font-size:10px!important;padding-inline:3px!important}.vertex-desktop #desktopToolbar .vx-shortcut>.btn{width:37px!important}.vertex-desktop #desktopToolbar{overflow-x:auto!important;overflow-y:hidden!important}.vertex-desktop .vx-dropdown{position:fixed!important;top:47px;right:4px;max-height:70vh;overflow:auto}.vertex-desktop .vx-submenu>.vx-dropdown{position:relative!important;right:auto;top:auto;box-shadow:none!important;border:0!important;padding-right:10px!important}.vx-form-grid{grid-template-columns:1fr}.vx-document-header{grid-template-columns:1fr 1fr}.vertex-desktop .business-filter .form-grid{grid-template-columns:1fr 1fr}.vertex-desktop .topbar .user-chip b{display:none}.vertex-desktop .content{padding-inline:4px!important}.vertex-desktop .home-analysis{grid-template-columns:1fr}.vertex-desktop .vx-modal-wide{margin-top:90px;height:calc(100vh - 100px)}}
@media print{body.vertex-desktop{overflow:visible;background:white}.vertex-desktop .sidebar,.vertex-desktop #desktopToolbar,.vertex-desktop #desktopStatus,.vertex-desktop .topbar,.vertex-desktop #screenTabs,.vx-report-tools,.vx-filter,.vx-dialog-footer,.vx-window-close{display:none!important}.vertex-desktop .main-shell{position:static!important;margin:0!important;inset:auto!important;display:block!important}.vertex-desktop .content{border:0!important;overflow:visible!important;margin:0!important;padding:0!important;width:100%!important}.vertex-desktop .data-table th{position:static;background:#eee!important;color:#111!important}.vertex-desktop .table-wrap{max-height:none!important;overflow:visible!important}.vx-records-grid{margin:0}.vx-document tbody:after{display:none}}

.vertex-desktop .vx-item-card{width:520px;max-width:100%;min-height:430px}.vertex-desktop .vx-item-card [data-vx-panel]{height:340px;overflow:auto;padding:8px;border:1px solid #bbb;background:#f4f4f1}.vertex-desktop .vx-item-card .vx-tabs{display:grid;grid-template-columns:repeat(6,1fr);gap:1px;direction:rtl}.vertex-desktop .vx-item-card .vx-tabs button{padding:3px 1px;font-size:11px;height:24px;white-space:nowrap}.vertex-desktop .vx-item-card .vx-dialog-footer{margin-top:8px}.vertex-desktop .vx-item-card .vx-tabs{margin-bottom:0}.vertex-desktop .vx-item-card .form-group{margin:5px 0}.vertex-desktop .vx-item-card [data-vx-panel][hidden]{display:none!important}

.vertex-desktop .vx-annual thead tr:nth-child(2) th{top:22px}.vertex-desktop .vx-annual thead tr:first-child th{z-index:6}.vertex-desktop .vx-annual th:first-child,.vertex-desktop .vx-annual th:nth-child(2){z-index:8}.vertex-desktop #desktopToolbar svg{width:19px!important;height:17px!important}
