html.rhm-modal-open{overflow:hidden}
.rhm-modal{--modal-accent:#087f66;--modal-tint:#e8f7f1;padding:0;border:1px solid #e3eae7;border-radius:24px;width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 32px);margin:auto;overflow:auto;color:#142d26;background:#fff;box-shadow:0 28px 100px #062b3640;font-family:inherit;text-align:left}
.rhm-modal:not([open]){display:none}
.rhm-modal::backdrop{background:#071c32a6;backdrop-filter:blur(5px)}
.rhm-modal[open]{animation:rhm-modal-enter .18s ease-out}
.rhm-modal[data-tone=danger]{--modal-accent:#c62547;--modal-tint:#fff0f3}
.rhm-modal .rhm-modal__content{position:relative;padding:30px}
.rhm-modal .rhm-modal__close{position:absolute;right:16px;top:14px;display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:#f1f5f4;color:#52645e;font:26px/1 sans-serif;cursor:pointer}
.rhm-modal .rhm-modal__icon{width:56px;height:56px;display:grid;place-items:center;border-radius:18px;background:var(--modal-tint);color:var(--modal-accent);margin-bottom:20px}
.rhm-modal__icon svg{width:28px;height:28px}
.rhm-modal #rhm-modal-title{font-family:inherit;font-size:23px;font-weight:700;line-height:1.35;letter-spacing:-.4px;margin:0 28px 10px 0;color:#142d26}
.rhm-modal #rhm-modal-message{font-size:15px;line-height:1.7;color:#65736f;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.rhm-modal .rhm-modal__actions{display:flex;gap:10px;justify-content:flex-end;margin-top:26px}
.rhm-modal .rhm-modal__button{min-height:46px;padding:12px 20px;border:1px solid transparent;border-radius:12px;font-size:14px;line-height:1.4;font-family:inherit;font-weight:600;cursor:pointer;box-shadow:none}
.rhm-modal .rhm-modal__button--cancel{background:#fff;border-color:#dbe4e0;color:#354d44}
.rhm-modal .rhm-modal__button--confirm{background:var(--modal-accent);color:#fff}
.rhm-modal button:hover{filter:brightness(.96)}
.rhm-modal button:focus-visible,.rhm-modal input:focus-visible{outline:3px solid #53b8a5;outline-offset:3px}
.rhm-modal .rhm-modal__field{display:block;margin-top:20px;font-size:14px;font-weight:600}
.rhm-modal .rhm-modal__field[hidden],.rhm-modal [hidden]{display:none!important}
.rhm-modal .rhm-modal__field input{box-sizing:border-box;width:100%;min-height:46px;margin-top:8px;padding:10px 12px;border:1px solid #cdded7;border-radius:10px;font:inherit}
@media(max-width:480px){.rhm-modal{border-radius:20px}.rhm-modal .rhm-modal__content{padding:24px}.rhm-modal .rhm-modal__actions{display:grid;grid-template-columns:1fr 1fr}.rhm-modal .rhm-modal__button{padding:12px 10px}}
@media(prefers-reduced-motion:reduce){.rhm-modal[open]{animation:none}}
@keyframes rhm-modal-enter{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}
