/* All dismiss controls share a reserved top-right corner. */
/* Keep the shared sheet hidden while its closing classes are cleaned up. */
#sheet:not(.on){visibility:hidden;opacity:0;transform:none;transition:none}
.erp-modal-close,#sheet>.sh>#shClose,#fdDlg #fdNo{position:absolute!important;top:12px!important;right:14px!important;bottom:auto!important;left:auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;flex:0 0 32px!important;width:32px!important;min-width:32px!important;max-width:32px!important;height:32px!important;min-height:32px!important;max-height:32px!important;margin:0!important;padding:0!important;border:1px solid #e1e7f0!important;border-radius:9px!important;background:#f5f7fb!important;color:#71829b!important;box-shadow:0 1px 2px #172e5508!important;cursor:pointer;z-index:5;transition:background .15s,border-color .15s,color .15s;line-height:1!important;transform:none!important}
.erp-modal-close svg,#shClose svg,#fdNo svg{display:block;width:17px!important;height:17px!important;pointer-events:none;flex:0 0 17px}
.erp-modal-close:hover,#sheet>.sh>#shClose:hover,#fdDlg #fdNo:hover{background:#fff0f0!important;border-color:#ffd4d4!important;color:#d64b55!important}
.erp-modal-close:focus-visible,#shClose:focus-visible,#fdNo:focus-visible{outline:2px solid #1677ff!important;outline-offset:2px}
#sheet>.sh{min-height:56px;box-sizing:border-box;padding-right:58px!important;flex-shrink:0}
#sheet.order-detail-toolbar>.sh{padding-left:58px!important}
#sheet.noclose>.sh>#shClose{display:inline-flex!important}
#fdDlg .fd-h{padding-right:60px}
#fdDlg .fd-f{justify-content:flex-end}
dialog.erp-modal-frame{box-sizing:border-box}
dialog.erp-modal-frame>form>h3,dialog.erp-modal-frame>h3{padding-right:42px}
dialog.erp-modal-frame .pv-modal-head,dialog.erp-modal-frame .ob-dialog-head{padding-right:58px}
dialog.erp-modal-frame::backdrop{background:rgba(24,33,58,.36)}
.sheet-head{position:relative;padding-right:58px!important;min-height:58px;box-sizing:border-box}
.modal-card{position:relative}
.modal-card>h2{padding-right:40px}.ltl-confirm-head{padding-right:36px}
.image-dialog-card{position:relative;line-height:0;max-width:94vw;max-height:90vh}
.image-dialog-card>.erp-modal-close{background:rgba(255,255,255,.95)!important}
#closeSheetBtn{display:none}
#managementInsightCard>div:first-child{padding-right:40px}
#aiProdClose{position:absolute!important}
#aiProdPanel>div:first-child{position:relative;padding-right:58px!important;min-height:52px;box-sizing:border-box}
@media(max-width:560px){.erp-modal-close,#sheet>.sh>#shClose,#fdDlg #fdNo{top:10px!important;right:10px!important}#sheet>.sh{padding-right:52px!important}#sheet.order-detail-toolbar>.sh{padding-left:52px!important}}
