/* Scoped message date editor; no global modal/input overrides */
.modalbox:has(.msg53927-dialog){width:min(470px,100%);padding:0;overflow:hidden;border-radius:18px}
.msg53927-dialog{padding:26px;color:#172033}
.msg53927-heading{display:flex;align-items:center;gap:13px;margin-bottom:24px}
.msg53927-heading-icon{width:42px;height:42px;border-radius:12px;background:rgba(105,15,14,.09);color:#690f0e;display:grid;place-items:center;font-size:25px;flex:none}
.msg53927-heading h2{font-size:21px;line-height:1.2;margin:3px 0 0;color:inherit}
.msg53927-eyebrow{font-size:10px;letter-spacing:.12em;font-weight:800;color:#690f0e}
.msg53927-close{margin-left:auto;align-self:flex-start;width:34px;height:34px;border:1px solid #dce1e9;background:transparent;color:inherit;border-radius:50%;font-size:22px;cursor:pointer}
.msg53927-label{display:block;font-size:13px;font-weight:700;margin-bottom:9px;color:inherit}
.msg53927-input{box-sizing:border-box;width:100%;min-height:46px;border:1px solid #cbd4df;border-radius:10px;padding:10px 13px;background:#fff;color:#172033;font:inherit;color-scheme:light}
.msg53927-input:focus{outline:2px solid rgba(105,15,14,.24);border-color:#690f0e}
.msg53927-hint{margin-top:10px;font-size:12px;line-height:1.5;color:#65758b}
.msg53927-quick{margin-top:17px}
.msg53927-quick button{font-size:12px}
.msg53927-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:25px;padding-top:18px;border-top:1px solid #e5e8ed}
.msg53927-actions button{min-height:40px;padding:0 16px;border-radius:9px}
body.dark .msg53927-dialog,body[data-theme="dark"] .msg53927-dialog,.dark .msg53927-dialog{color:#f2f5fa}
body.dark .modalbox:has(.msg53927-dialog),body[data-theme="dark"] .modalbox:has(.msg53927-dialog),.dark .modalbox:has(.msg53927-dialog){background:#1b2028}
body.dark .msg53927-input,body[data-theme="dark"] .msg53927-input,.dark .msg53927-input{background:#12171e;color:#f2f5fa;border-color:#424b58;color-scheme:dark}
body.dark .msg53927-hint,body[data-theme="dark"] .msg53927-hint,.dark .msg53927-hint{color:#abb8ca}
body.dark .msg53927-actions,body[data-theme="dark"] .msg53927-actions,.dark .msg53927-actions{border-color:#353d48}
@media(max-width:540px){.modalbox:has(.msg53927-dialog){width:100%}.msg53927-dialog{padding:20px}.msg53927-heading h2{font-size:19px}.msg53927-actions button{flex:1}}
