/* Portfolio 5.3.9.28: only the message-date modal and message composer on small screens. */
#modalRoot:has(.msg53927-dialog){position:fixed!important;inset:0!important;z-index:2147483000!important;width:100vw!important;width:100dvw!important;height:100vh!important;height:100dvh!important;margin:0!important;padding:0!important;transform:none!important;overflow:visible!important;pointer-events:none}
#modalRoot .modal:has(.msg53927-dialog){position:fixed!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;width:100%!important;height:100%!important;margin:0!important;padding:16px!important;overflow-y:auto!important;overscroll-behavior:contain!important;pointer-events:auto}
#modalRoot .modalbox:has(.msg53927-dialog){box-sizing:border-box!important;flex:0 1 470px!important;width:min(470px,100%)!important;max-width:calc(100dvw - 32px)!important;max-height:calc(100dvh - 32px)!important;margin:auto!important;overflow-x:hidden!important;overflow-y:auto!important;position:relative!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;transform:none!important}
#modalRoot .msg53927-dialog{box-sizing:border-box!important;min-width:0!important;max-width:100%!important}
#modalRoot .msg53927-input{display:block!important;box-sizing:border-box!important;min-width:0!important;max-width:100%!important;width:100%!important;font-size:16px!important}
@media(max-width:600px){
 #modalRoot .modal:has(.msg53927-dialog){padding:12px!important;align-items:center!important}
 #modalRoot .modalbox:has(.msg53927-dialog){flex-basis:auto!important;width:100%!important;max-width:calc(100dvw - 24px)!important;max-height:calc(100dvh - 24px)!important;border-radius:16px!important}
 #modalRoot .msg53927-dialog{padding:18px!important}
 #modalRoot .msg53927-heading{gap:10px!important;margin-bottom:16px!important}
 #modalRoot .msg53927-heading h2{font-size:18px!important}
 #modalRoot .msg53927-actions{display:flex!important;flex-direction:row!important;justify-content:flex-end!important;gap:8px!important;flex-wrap:wrap!important}
 #modalRoot .msg53927-actions button{flex:1 1 120px!important;min-height:44px!important;width:auto!important}
 .v24-messages .msg53925-date-panel{box-sizing:border-box!important;max-width:calc(100dvw - 36px)!important;width:min(320px,calc(100dvw - 36px))!important;left:0!important;right:auto!important;transform:none!important}
 .v24-messages .v538-compose .msg53925-date-panel{left:0!important;right:auto!important}
 .v24-messages .msg53925-date-panel input{font-size:16px!important;min-width:0!important;max-width:100%!important}
}
