.rwc-caption{position:relative;display:flex!important;align-items:center!important;direction:rtl;gap:7px;min-height:30px!important;padding:3px 41px!important;background:linear-gradient(#dcebf7,#a9c7df)!important;border:1px solid #8ba9c2!important;color:#172b40!important;font:700 13px Arial,sans-serif!important;box-sizing:border-box;width:100%;min-width:0;}
.rwc-caption>.rwc-close{position:absolute!important;inset:3px auto auto 5px!important;order:-1;display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 29px;width:29px!important;height:23px!important;min-height:23px!important;margin:0!important;padding:0!important;border:1px solid #a95145!important;border-radius:3px!important;background:linear-gradient(#efc5b9,#d68576 48%,#bf6355 49%,#dda08e)!important;color:#fff!important;text-shadow:0 1px #783f37;box-shadow:inset 0 0 0 1px #ffffff72;cursor:pointer;font:bold 23px/1 Arial!important;z-index:2;}
.rwc-caption>.rwc-pin{position:absolute!important;inset:3px 5px auto auto!important;display:inline-flex;align-items:center;justify-content:center;margin:0!important;width:26px;height:24px;flex:0 0 26px;padding:1px;border:0;background:transparent;cursor:pointer;z-index:2;}
.rwc-caption:is(.page-head,.mc-heading,.cw-title){flex-wrap:wrap!important;justify-content:flex-start!important;}
.rwc-caption:is(.page-head,.mc-heading,.cw-title)>div:not(.actions):not(.cw-actions){min-width:0;flex:1 1 auto;}
.rwc-caption:is(.page-head,.mc-heading,.cw-title)>h1,.rwc-caption:is(.page-head,.mc-heading,.cw-title)>h2{min-width:0;flex:1 1 auto;}
.rwc-caption>.actions,.rwc-caption>.cw-actions{max-width:100%;flex-wrap:wrap;}
body.vertex-desktop #content .rwc-caption,body.vertex-desktop #modalBody .rwc-caption{height:auto!important;min-height:30px!important;padding:3px 41px!important;}
.rwc-pin svg{width:22px;height:22px;pointer-events:none}.rwc-caption button:focus-visible{outline:2px solid #145eaa;outline-offset:2px}.rwc-caption>.rwc-close:before,.rwc-caption>.rwc-close:after{content:none!important}.rwc-selected{outline:1px solid #5292bd;outline-offset:-1px}
@media print{.rwc-close,.rwc-pin{display:none!important}.rwc-caption{background:none!important;border:0!important;}.rwc-selected{outline:none}}

@media screen{
 body.vertex-desktop #modal:has(#modalBody .rwc-close)>#modalClose{display:none!important}
 body.vertex-desktop #modal>#modalClose{left:5px!important;right:auto!important;border-radius:3px!important;background:linear-gradient(#efc5b9,#bf6355)!important;color:white!important}
 body.vertex-desktop #modal:not(.vx-modal-wide):not(:has(.ve-window,.invoice-form,.cw-window,#voucherForm,#chequeForm)){width:min(760px,calc(100vw - 32px))!important;max-height:88vh!important;min-width:0!important}
 body.vertex-desktop #modal#modal:has(.cd-choice-dialog,.ccs-window){width:min(580px,calc(100vw - 32px))!important;max-height:80vh!important}
 body.vertex-desktop #modalBody .cd-choice-dialog{width:100%!important;box-sizing:border-box;padding:12px!important}
 body.vertex-desktop .cd-choice-results{max-height:44vh!important;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:6px}
 body.vertex-desktop .cd-choice-item{padding:8px!important;min-height:44px}
 body.vertex-desktop :is(#content,#modalBody,#desktopToolbar,.wu-calendar,#screenTabs,#desktopStatus,.vx-dropdown,.toast-stack,.pc-overlay,.pc-menu-popover,.stock-alert-overlay,.ve-account-picker) button:not(.rwc-close):not(.rwc-pin){border-style:solid!important;border-width:1px!important;border-color:#fff #858585 #858585 #fff!important;border-radius:0!important;background:linear-gradient(#fafaf7,#e4e4df)!important;box-shadow:inset 1px 1px #ffffffb0,inset -1px -1px #c0c0ba!important;font-family:Arial,sans-serif!important;font-weight:600!important;color:#161616!important}
 body.vertex-desktop :is(#content,#modalBody,#desktopToolbar,.wu-calendar,#screenTabs,#desktopStatus,.vx-dropdown,.toast-stack,.pc-overlay,.pc-menu-popover,.stock-alert-overlay,.ve-account-picker) button:not(.rwc-close):not(.rwc-pin):not(:disabled):active{background:linear-gradient(#d6d6d1,#eeeee9)!important;border-color:#858585 #fff #fff #858585!important}
 body.vertex-desktop :is(#content,#modalBody,#desktopToolbar,.wu-calendar,#screenTabs,#desktopStatus,.vx-dropdown,.toast-stack,.pc-overlay,.pc-menu-popover,.stock-alert-overlay,.ve-account-picker) button:disabled{color:#858585!important;cursor:default!important}
}

