.modal-bg.modal-leave-layer{z-index:220;background:rgba(12,28,54,.4);backdrop-filter:blur(4px)}
.modal-leave-layer>.modal-leave-dialog{width:min(510px,calc(100vw - 32px));padding:38px 30px 30px;background:linear-gradient(180deg,#f7faff,#fff 170px);text-align:center;border:1px solid #e4ecfa}
.modal-leave-symbol{display:grid;place-items:center;width:74px;height:74px;margin:6px auto 22px;border:1px solid #ffe0e5;border-radius:23px;background:#fff0f3;color:#df4056}
.modal-leave-symbol svg{width:35px;height:35px}
.modal-leave-dialog>h2{font-size:23px;line-height:1.45;color:#183255;margin:0 12px 12px}
.modal-leave-dialog>p{font-size:14px;line-height:1.8;color:#7486a0;margin:0 auto;max-width:370px}
.modal-leave-actions{display:flex;align-items:center;justify-content:center;gap:12px;margin:26px auto 0;padding-top:23px;border-top:1px solid #edf1f7}
.modal-leave-actions button{display:inline-flex;justify-content:center;align-items:center;flex:0 1 185px;min-height:48px;margin:0;padding:12px 16px;border:1px solid #dce5f3;border-radius:12px;background:#fff;color:#536e96;font:inherit;font-size:14px;font-weight:650;cursor:pointer}
.modal-leave-actions [data-leave=discard]{border-color:#e64158;background:#e64158;color:#fff;box-shadow:0 6px 15px #e6415821}
.modal-leave-actions [data-leave=stay]:hover{background:#f1f6ff}.modal-leave-actions [data-leave=discard]:hover{background:#d7384f}
.modal-leave-dialog button:focus-visible{outline:3px solid #a9c6ff;outline-offset:3px}
@media(max-width:480px){.modal-leave-layer>.modal-leave-dialog{padding:32px 20px 24px}.modal-leave-dialog>h2{font-size:21px}.modal-leave-actions{gap:10px}.modal-leave-actions button{padding:12px 10px;font-size:13px}}
