/* Native reference palette and dimensions from venezia-screens.json.
   Five-ID specificity bridges legacy per-screen !important rules. Scoped to
   screen presentation; the custom profile and print/export styles stay separate. */
@media screen {
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"]{--ref-face:#f0f0f0;--ref-font:11px;--ref-row:15px;--ref-header:22px;--ref-accent:#2066b2;--ref-stripe:#e1e1e1;--vn-face:#f0f0f0;--ux-font:Tahoma;--ux-text:#000;--ux-size:11px;--ux-popup-size:11px;--ux-weight:400}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] :is(#modal#modal#modal#modal#modal,#content#content#content#content#content,dialog,.ref-picker,.ve-account-picker,.pc-overlay,.stock-alert-overlay),
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] :is(#modal#modal#modal#modal#modal,#content#content#content#content#content,dialog,.ref-picker,.ve-account-picker,.pc-overlay,.stock-alert-overlay) :is(h1,h2,h3,h4,p,span,strong,b,small,label,input,select,textarea,button,summary,td,th,output,legend,option,.rwc-caption,.ir-amount-words){font-family:Tahoma,"Microsoft Sans Serif",Arial,sans-serif!important;font-size:11px!important;font-weight:400!important;line-height:16px!important;letter-spacing:normal!important;text-shadow:none!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] :is(#modal#modal#modal#modal#modal,#content#content#content#content#content,dialog,.ref-picker,.ve-account-picker,.pc-overlay,.stock-alert-overlay) :is(.card,.section-card,.modal-content,.filters,.vx-filter,.report-controls,fieldset){background:#f0f0f0!important;border-radius:0!important;box-shadow:none!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"][data-button-style="flat"] :is(#modal#modal#modal#modal#modal,#content#content#content#content#content,dialog,.ref-picker,.ve-account-picker,.pc-overlay,.stock-alert-overlay) :is(button,.btn,summary){border-radius:0!important;box-shadow:none!important;background-image:none!important;border:1px solid #a0a0a0!important;color:#000!important;background-color:#f0f0f0!important;min-height:22px!important;padding:1px 7px!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] :is(#modal#modal#modal#modal#modal,#content#content#content#content#content,dialog,.ref-picker,.ve-account-picker,.pc-overlay,.stock-alert-overlay) :is(input,select):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=hidden]){box-sizing:border-box!important;height:21px!important;min-height:21px!important;max-height:none!important;border-radius:0!important;padding:0 3px!important;line-height:19px!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] :is(#modal#modal#modal#modal#modal,#content#content#content#content#content,dialog,.ref-picker,.ve-account-picker,.pc-overlay,.stock-alert-overlay) :is(input[type=checkbox],input[type=radio]){width:13px!important;height:13px!important;min-width:13px!important;min-height:13px!important;margin:0 3px!important;flex:none!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] :is(#modal#modal#modal#modal#modal,#content#content#content#content#content,dialog,.ref-picker,.ve-account-picker,.pc-overlay,.stock-alert-overlay) textarea{border-radius:0!important;min-height:38px!important;padding:2px 4px!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] :is(#modal#modal#modal#modal#modal,#content#content#content#content#content,dialog,.ref-picker,.ve-account-picker,.pc-overlay,.stock-alert-overlay) :is(.page-head,.rwc-caption,.ve-window>h2,.ce-window>h2,.vr-caption){background:linear-gradient(#99b4d1,#d2e2ed)!important;color:#254664!important;min-height:24px!important;padding-block:2px!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] :is(#modal#modal#modal#modal#modal,#content#content#content#content#content,dialog,.ref-picker,.ve-account-picker,.pc-overlay,.stock-alert-overlay) :is(.form-grid,.vx-form-grid){gap:5px 12px!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] :is(#modal#modal#modal#modal#modal,#content#content#content#content#content,dialog,.ref-picker,.ve-account-picker,.pc-overlay,.stock-alert-overlay) .form-group{margin-block:0!important;min-height:0!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] :is(#modal#modal#modal#modal#modal,#content#content#content#content#content,dialog,.ref-picker,.ve-account-picker,.pc-overlay,.stock-alert-overlay) :is(.data-table,.ve-grid,.ir-grid,.vr-grid,.cd-table){border-collapse:collapse!important;border-spacing:0!important;font-variant-numeric:tabular-nums}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] :is(#modal#modal#modal#modal#modal,#content#content#content#content#content,dialog,.ref-picker,.ve-account-picker,.pc-overlay,.stock-alert-overlay) :is(.data-table,.ve-grid,.ir-grid,.vr-grid,.cd-table) th{background:var(--ref-accent,#2066b2)!important;color:#fff!important;border:1px solid #fff!important;height:22px!important;min-height:22px!important;padding:1px 3px!important;line-height:18px!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] :is(#modal#modal#modal#modal#modal,#content#content#content#content#content,dialog,.ref-picker,.ve-account-picker,.pc-overlay,.stock-alert-overlay) :is(.data-table,.ve-grid,.ir-grid,.vr-grid,.cd-table) tbody td{border:1px solid #f6f6f6!important;height:15px!important;min-height:0!important;padding:0 3px!important;line-height:14px!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] :is(#modal#modal#modal#modal#modal,#content#content#content#content#content,dialog,.ref-picker,.ve-account-picker,.pc-overlay,.stock-alert-overlay) :is(.data-table,.ve-grid,.ir-grid,.vr-grid,.cd-table) tbody tr:nth-child(odd)>td{background:#fff!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] :is(#modal#modal#modal#modal#modal,#content#content#content#content#content,dialog,.ref-picker,.ve-account-picker,.pc-overlay,.stock-alert-overlay) :is(.data-table,.ve-grid,.ir-grid,.vr-grid,.cd-table) tbody tr:nth-child(even)>td{background:var(--ref-stripe,#e1e1e1)!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"].ref-no-stripes :is(#modal#modal#modal#modal#modal,#content#content#content#content#content,dialog,.ref-picker,.ve-account-picker,.pc-overlay,.stock-alert-overlay) :is(.data-table,.ve-grid,.ir-grid,.vr-grid,.cd-table) tbody tr>td{background:#fff!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"].ref-hide-grid :is(#modal#modal#modal#modal#modal,#content#content#content#content#content,dialog,.ref-picker,.ve-account-picker,.pc-overlay,.stock-alert-overlay) :is(.data-table,.ve-grid,.ir-grid,.vr-grid,.cd-table) tbody td{border-color:transparent!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] :is(#modal#modal#modal#modal#modal,#content#content#content#content#content,dialog,.ref-picker,.ve-account-picker,.pc-overlay,.stock-alert-overlay) :is(.ve-grid,.ir-grid) td :is(input,select,.master-combo,.master-search,.master-arrow,output){height:15px!important;min-height:15px!important;max-height:15px!important;line-height:14px!important;padding:0 2px!important;margin:0!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] :is(#modal#modal#modal#modal#modal,#content#content#content#content#content,dialog,.ref-picker,.ve-account-picker,.pc-overlay,.stock-alert-overlay) :is(.ve-grid,.ir-grid) td:focus-within{outline:1px solid #0078d7!important;outline-offset:-1px!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] :is(#modal#modal#modal#modal#modal,#content#content#content#content#content,dialog,.ref-picker,.ve-account-picker,.pc-overlay,.stock-alert-overlay) :is(.ve-grid,.ir-grid) td:focus-within :is(input,select,.master-combo){outline:0!important;box-shadow:none!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] :is(#modal#modal#modal#modal#modal,#content#content#content#content#content,dialog,.ref-picker,.ve-account-picker,.pc-overlay,.stock-alert-overlay) :is([data-ref-kind=payment],[data-ref-kind=payment_cheque],[data-ref-kind=sale_return],[data-ref-kind=purchase_return],.vr-payment){--ref-accent:#c00000;--ref-stripe:#fbdde1}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] :is(#modal#modal#modal#modal#modal,#content#content#content#content#content,dialog,.ref-picker,.ve-account-picker,.pc-overlay,.stock-alert-overlay) :is([data-ref-kind=stock_in],[data-ref-kind=stock_out],[data-ref-kind=stock_opening],[data-ref-kind=transfer]){--ref-accent:#008000;--ref-stripe:#e0f7d8}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] :is(#modal#modal#modal#modal#modal,#content#content#content#content#content,dialog,.ref-picker,.ve-account-picker,.pc-overlay,.stock-alert-overlay) [data-ref-kind=sale]{--ref-accent:#ff8500}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] :is(#modal#modal#modal#modal#modal,#content#content#content#content#content,dialog,.ref-picker,.ve-account-picker,.pc-overlay,.stock-alert-overlay) #tradeForm>.ref-header{width:min(1040px,100%)!important;grid-auto-rows:minmax(23px,auto)!important;gap:2px 12px!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] :is(#modal#modal#modal#modal#modal,#content#content#content#content#content,dialog,.ref-picker,.ve-account-picker,.pc-overlay,.stock-alert-overlay) #tradeForm>.ref-header>.form-group{min-height:23px!important;height:auto!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] :is(#modal#modal#modal#modal#modal,#content#content#content#content#content,dialog,.ref-picker,.ve-account-picker,.pc-overlay,.stock-alert-overlay) #tradeForm>.ref-header>.form-group>label{flex-basis:85px!important;width:85px!important;white-space:nowrap!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] :is(#modal#modal#modal#modal#modal,#content#content#content#content#content,dialog,.ref-picker,.ve-account-picker,.pc-overlay,.stock-alert-overlay) #tradeForm>.ref-header :is([data-field=partyId],[data-field=repId],[data-field=partyTax],[data-field=deliveryAddress]) :is(input,.master-search){background:#bde4ef!important;border:1px solid #9f9f9f!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] :is(#modal#modal#modal#modal#modal,#content#content#content#content#content,dialog,.ref-picker,.ve-account-picker,.pc-overlay,.stock-alert-overlay) .ve-header{grid-auto-rows:minmax(23px,auto)!important;gap:3px 12px!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] :is(#modal#modal#modal#modal#modal,#content#content#content#content#content,dialog,.ref-picker,.ve-account-picker,.pc-overlay,.stock-alert-overlay) #tradeForm .ir-payment-footer{display:flex!important;flex-flow:row nowrap!important;overflow-x:auto!important;min-height:28px!important;padding:3px 5px!important;gap:6px 18px!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] :is(#modal#modal#modal#modal#modal,#content#content#content#content#content,dialog,.ref-picker,.ve-account-picker,.pc-overlay,.stock-alert-overlay) #tradeForm .ir-payment-footer>div{display:flex!important;flex-flow:row nowrap!important;flex:0 0 auto!important;width:auto!important;gap:5px!important;white-space:nowrap!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] :is(#modal#modal#modal#modal#modal,#content#content#content#content#content,dialog,.ref-picker,.ve-account-picker,.pc-overlay,.stock-alert-overlay) :is(#tradeForm .ir-payment-footer,.receipt-balance-summary) :is(label,input,output,span,.ir-amount-words),
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] :is(#modal#modal#modal#modal#modal,#content#content#content#content#content,dialog,.ref-picker,.ve-account-picker,.pc-overlay,.stock-alert-overlay) .receipt-balance-summary{font-size:13px!important;font-weight:700!important;color:#bd0000!important;line-height:20px!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] :is(#modal#modal#modal#modal#modal,#content#content#content#content#content,dialog,.ref-picker,.ve-account-picker,.pc-overlay,.stock-alert-overlay) :is(.negative,.numeric-negative,.numeric-negative *,[data-ir-remaining],.ref-warning){color:#bd0000!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] :is(#modal#modal#modal#modal#modal,#content#content#content#content#content,dialog,.ref-picker,.ve-account-picker,.pc-overlay,.stock-alert-overlay) :is([data-owner-hidden="1"],[data-ref-suppressed="1"],[hidden]){display:none!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] dialog.ref-options{width:min(983px,96vw)!important;height:min(606px,92vh)!important;max-height:92vh!important;background:#f0f0f0!important;border-radius:0!important;padding:0!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] dialog.ref-options form{padding:8px!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] dialog.ref-options [role=tabpanel]{padding:12px!important;overflow:auto!important;min-height:0!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] dialog.ref-options :is(.ref-option-group,fieldset){gap:6px!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] dialog.ref-options label{min-height:19px!important;line-height:16px!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] dialog.ref-options [role=tab]{height:22px!important;min-height:22px!important;line-height:18px!important;padding:1px 4px!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] dialog.ref-options [role=tab][aria-selected=true]{font-weight:700!important;background:#f0f0f0!important;border-bottom-color:#f0f0f0!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] dialog.ref-options .ux-appearance-options :is(select,input){width:170px!important;height:21px!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] dialog.ref-options footer{padding-top:6px!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] dialog.ref-options footer button{height:22px!important;min-height:22px!important;line-height:18px!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] dialog.app-choice{border-radius:0!important;min-height:120px!important;padding:14px!important;width:min(460px,92vw)!important;background:white!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] :is(#modal#modal#modal#modal#modal,#content#content#content#content#content,dialog,.ref-picker,.ve-account-picker,.pc-overlay,.stock-alert-overlay) :is(.rwc-caption,.vr-caption) button{width:24px!important;min-width:24px!important;height:20px!important;min-height:20px!important;padding:0!important}
}

@media screen {
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] :is(#modal#modal#modal#modal#modal#modal#modal,#content#content#content#content#content#content#content,dialog) :is([data-owner-hidden="1"],[data-ref-suppressed="1"],[hidden],.df-hidden,.ref-option-hidden){display:none!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] :is(#modal#modal#modal#modal#modal,#content#content#content#content#content,dialog,.ref-picker,.ve-account-picker,.pc-overlay,.stock-alert-overlay) #tradeForm.ref-large-cells .ir-grid :is(th,td,input,select,.master-search,output){font-size:16px!important;height:26px!important;min-height:26px!important;max-height:none!important;line-height:24px!important}
}

@media screen {
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] :is(#modal#modal#modal#modal#modal,#content#content#content#content#content,dialog,.ref-picker,.ve-account-picker,.pc-overlay,.stock-alert-overlay) #tradeForm .ir-grid :is(td,input,select,.master-search,output){font-size:var(--ref-font,11px)!important;height:var(--ref-row,15px)!important;min-height:var(--ref-row,15px)!important;max-height:none!important;line-height:calc(var(--ref-row,15px) - 1px)!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] :is(#modal#modal#modal#modal#modal,#content#content#content#content#content,dialog,.ref-picker,.ve-account-picker,.pc-overlay,.stock-alert-overlay) #tradeForm.ref-large-cells .ir-grid :is(th,td,input,select,.master-search,output){font-size:16px!important;height:max(26px,var(--ref-row,15px))!important;min-height:26px!important;line-height:24px!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] :is(#modal#modal#modal#modal#modal,#content#content#content#content#content,dialog,.ref-picker,.ve-account-picker,.pc-overlay,.stock-alert-overlay) #tradeForm.ref-hide-middle .ref-header [data-field]:is([data-field=partyTax],[data-field=deliveryAddress],[data-field=referenceNumber],[data-field=notes]){display:none!important}
}

@media screen {
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] :is(#modal#modal#modal#modal#modal,#content#content#content#content#content,dialog,.ref-picker,.ve-account-picker,.pc-overlay,.stock-alert-overlay) :is(.data-table,.ve-grid,.ir-grid,.vr-grid,.cd-table) tbody tr:is(.vr-selected,.wu-current-row,.selected,[aria-selected="true"])>td{background:#0078d7!important;color:white!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] :is(#modal#modal#modal#modal#modal,#content#content#content#content#content,dialog,.ref-picker,.ve-account-picker,.pc-overlay,.stock-alert-overlay) :is(.data-table,.vr-grid,.cd-table) tbody tr:is(.vr-selected,.wu-current-row,.selected,[aria-selected="true"])>td :is(span,a){color:inherit!important}
}

/* Keep resize handles inside the first/last header: negative offsets caused RTL overflow and a two-pixel opening shift. */
@media screen {
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] :is(#modal#modal#modal#modal#modal,#content#content#content#content#content,dialog,.ref-picker,.ve-account-picker,.pc-overlay,.stock-alert-overlay) .ve-resize{left:0!important}
}

/* Account reference and document header: compact, aligned labels, scalable with the selected font. */
@media screen {
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] #modal#modal#modal#modal#modal .vp-account-card {width:590px!important;max-width:calc(100vw - 28px)!important;box-sizing:border-box!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] #modal#modal#modal#modal#modal #chartForm {width:100%!important;padding:8px!important;box-sizing:border-box!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] #modal#modal#modal#modal#modal .account-card-grid {display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:5px 14px!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] #modal#modal#modal#modal#modal #chartForm .form-group {display:grid!important;grid-template-columns:96px minmax(0,1fr)!important;align-items:center!important;gap:4px!important;margin:0!important;min-width:0!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] #modal#modal#modal#modal#modal #chartForm .form-group>label {width:auto!important;min-width:0!important;white-space:nowrap!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] #modal#modal#modal#modal#modal #chartForm .form-group>:is(input,select,.master-combo){width:100%!important;min-width:0!important;max-width:100%!important;height:23px!important;background:#c3e0ec!important;box-sizing:border-box!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] #modal#modal#modal#modal#modal #chartForm :is([name=creditLimit],[name=childCount]){background:#ffffb0!important}
#chartForm .account-check{display:flex;align-items:center;justify-content:flex-start;gap:4px;min-height:22px}#chartForm .account-check input{width:13px!important;height:13px!important}#chartForm .account-stop{color:#a51e22}#chartForm .account-extra{grid-column:1 / -1}#chartForm .account-extra summary{cursor:pointer;font-size:11px}#chartForm .account-nav{display:flex;gap:3px;margin-right:auto}#chartForm .account-nav button{min-width:36px!important;padding:2px 6px!important}#chartForm .vp-dialog-footer{display:flex;flex-wrap:wrap}#chartForm .account-extra .form-group{max-width:265px}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] #modal#modal#modal#modal#modal .ve-header {display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px 14px!important;direction:rtl!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] #modal#modal#modal#modal#modal .ve-header>label {display:grid!important;grid-template-columns:max-content minmax(0,1fr)!important;gap:8px!important;align-items:center!important;min-width:0!important;white-space:nowrap!important;direction:rtl!important;grid-column:auto!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] #modal#modal#modal#modal#modal .ve-header>label:has([name=notes]){grid-column:span 2!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] #modal#modal#modal#modal#modal .ve-header>label>:is(input,select,.master-combo){min-width:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] #modal#modal#modal#modal#modal .ve-header>label>:is(input,select){position:static!important}
/* Keep absolute picker arrows anchored to their own field, never the shared header. */
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] #modal#modal#modal#modal#modal .ve-header>label>.master-combo{position:relative!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] #modal#modal#modal#modal#modal .ve-header>label.df-hidden{display:none!important}
.login-art svg[role=button]{cursor:pointer}.login-art svg[role=button]:focus-visible{outline:2px solid #2686cb}
}

@media screen {
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] #modal#modal#modal#modal#modal:has(#chartForm){width:590px!important;min-width:0!important;max-width:calc(100vw - 28px)!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] #modal#modal#modal#modal#modal #chartForm .form-group>input:is([name=childCount],[name=creditLimit]){background:#ffffb0!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] #modal#modal#modal#modal#modal .ve-header{width:min(1040px,100%)!important;max-width:100%!important;margin-right:0!important;margin-left:auto!important;align-self:flex-start!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] #modal#modal#modal#modal#modal .ve-header>label{width:auto!important;max-width:none!important;justify-self:stretch!important;grid-row:auto!important;display:flex!important;flex-direction:row!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] #modal#modal#modal#modal#modal .ve-header>label>.vn-field-label{position:static!important;width:75px!important;min-width:75px!important;flex:0 0 75px!important;text-align:right!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] #modal#modal#modal#modal#modal .ve-header>label>:is(input,select,.master-combo,.vn-date-control):not(.master-native){flex:1 1 0!important;min-width:0!important;width:0!important;max-width:100%!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] #modal#modal#modal#modal#modal .ve-header>label>.master-native{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] #modal#modal#modal#modal#modal .ve-header>label>.vn-date-control{display:flex!important}.ve-header .vn-date-control .vn-date-display{width:0!important;flex:1 1 0!important;min-width:0!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] #content#content#content#content#content .vp-tree :is(summary,[role=treeitem]){height:17px!important;min-height:17px!important;line-height:17px!important;min-width:0!important;width:max-content!important;border:0!important;background:transparent!important;padding:0!important;font-size:11px!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] #content#content#content#content#content .vp-tree .vp-leaf{padding-left:5px!important;border-left:1px dotted #aaa!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] #content#content#content#content#content .vp-tree{padding:3px 2px!important;font-size:11px!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] #content#content#content#content#content .vp-sidebar{background:#f0f0f0!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] #content#content#content#content#content .vp-tree [aria-selected=true]>.vp-tree-label{background:#0078d7!important;color:#fff!important}
body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style="venicia"] #content#content#content#content#content .vp-tree .vp-account-leaf{width:10px!important;height:13px!important;background:#fff!important;border:1px solid #6e7a89!important}
}

@media screen {body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style=venicia] #modal#modal#modal#modal#modal .ve-header {height:auto!important;min-height:0!important;position:relative!important}body.vertex-desktop.vn-interface.ref-single-preview.ux-readable[data-interface-style=venicia] #modal#modal#modal#modal#modal .ve-header>label{position:static!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;height:23px!important}}
