.wn-reminder{position:fixed;right:20px;top:12px;z-index:65;max-width:calc(100vw - 40px);border:1px solid #a91636;border-radius:14px;padding:12px 18px;background:#b51f3c;color:white;font:750 14px/1.4 system-ui;box-shadow:0 6px 24px #6f142b30;cursor:pointer}.wn-reminder[hidden]{display:none}
.wn-dialog{box-sizing:border-box;border:1px solid #e6a2ae;border-radius:24px;padding:0;color:#193c32;background:#fffafa;font:16px/1.5 system-ui;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto;box-shadow:0 25px 100px #4e061d60}.wn-dialog::backdrop{background:rgba(99,9,34,.88);backdrop-filter:blur(7px)}.wn-dialog-head{display:flex;gap:20px;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:2;padding:18px 24px;background:#fff5f6;border-bottom:1px solid #efd0d6}.wn-dialog-head h2{font-size:1.3rem;margin:0}.wn-close,.wn-button,.wn-small{border:1px solid #d5b4bc;background:#fff;color:#6b1730;padding:10px 14px;border-radius:12px;cursor:pointer;font:650 .95rem/1.4 system-ui}.wn-close:hover,.wn-button:hover,.wn-small:hover{background:#ffebef}.wn-primary{border:0;border-radius:14px;background:#ba1f40;color:white;padding:14px 22px;cursor:pointer;font:750 1rem/1.4 system-ui;box-shadow:0 5px 18px #971b3525}.wn-primary:hover{background:#97142f}.wn-dialog button:disabled{opacity:.45;cursor:default;box-shadow:none}.wn-alert{width:760px}.wn-alert-body{padding:36px;background:radial-gradient(circle at top right,#ffe0e6,transparent 60%)}.wn-alert-body h1{font-size:clamp(1.7rem,4vw,2.5rem);line-height:1.2;color:#9e1838;margin:18px 0}.wn-alert-body p{font-size:1.1rem;color:#673946}.wn-eyebrow{font-weight:750;font-size:.9rem;letter-spacing:.08em;color:#a11a38}.wn-alert-count{display:inline-block;padding:10px 16px;background:#ffdee6;color:#8e1532;border-radius:12px}.wn-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}.wn-composer{width:1360px}.wn-status{margin:0;padding:12px 24px;background:#fff0f3;color:#8e1c3a}.wn-grid{display:grid;grid-template-columns:minmax(290px,.8fr) minmax(400px,1.3fr);gap:24px;padding:22px}.wn-grid h3{margin:0 0 10px}.wn-hint{font-size:.9rem;color:#6c5560}.wn-grid input[type=search]{width:100%;box-sizing:border-box;padding:12px;border:1px solid #d4b7bd;border-radius:12px;background:white;color:#193c32;font:inherit}.wn-tools{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.wn-tools button{font-size:.8rem}.wn-recipients{max-height:55dvh;overflow:auto;padding:2px;scrollbar-color:#d49aa8 #fff4f6}.wn-recipient{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;margin-bottom:9px;background:white;border:1px solid #e4d4d9;border-radius:14px}.wn-recipient.is-selected{border-color:#bd2c4c;background:#fff0f4}.wn-recipient label{display:flex;gap:12px;align-items:center;min-width:0;cursor:pointer}.wn-recipient input{width:20px;height:20px;accent-color:#b61e3e;flex:none}.wn-recipient span{display:grid;min-width:0;gap:3px}.wn-recipient b{overflow-wrap:anywhere;font-size:.95rem}.wn-recipient small{font-size:.82rem;color:#725d66;overflow-wrap:anywhere}.wn-small{font-size:.8rem;padding:8px}.wn-preview-info{font-size:.88rem;padding:12px;background:#f4f7f4;border:1px solid #d9e5dd;border-radius:12px;margin-bottom:12px}.wn-preview-info p{margin:5px 0;overflow-wrap:anywhere}.wn-email-frame{width:100%;height:65dvh;border:1px solid #d8e0db;border-radius:14px;background:#eef3ef}.wn-footer{position:sticky;bottom:0;padding:16px 24px;background:#fff6f7;border-top:1px solid #efd0d6;display:flex;gap:14px;justify-content:flex-end;flex-wrap:wrap}.wn-dialog :focus-visible,.wn-reminder:focus-visible{outline:3px solid #dca318;outline-offset:3px}
@media(max-width:750px){.wn-dialog{max-width:calc(100vw - 14px);max-height:calc(100dvh - 14px);border-radius:18px}.wn-alert-body{padding:24px}.wn-dialog-head{padding:14px}.wn-grid{grid-template-columns:1fr;padding:14px;gap:16px}.wn-recipients{max-height:40dvh}.wn-footer{padding:12px}.wn-footer button{width:100%}.wn-reminder{right:10px;top:8px;max-width:calc(100vw - 20px);font-size:12px}.wn-email-frame{height:75dvh}.wn-dialog-head h2{font-size:1.1rem}}
@media(prefers-reduced-motion:no-preference){.wn-alert[open]{animation:wn-appear .25s ease-out}@keyframes wn-appear{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}}
/* Keep the alert independent of inherited admin headings and wide form controls. */
.wn-dialog .wn-dialog-head h2{color:#8e1835!important;font:750 1.3rem/1.35 system-ui!important;letter-spacing:normal!important;text-transform:none!important}
.wn-dialog .wn-recipient label{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;width:auto!important;min-width:0;margin:0!important;gap:12px!important;text-align:left!important;flex:1}
.wn-dialog .wn-recipient input[type=checkbox]{width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;max-width:20px!important;max-height:20px!important;padding:0!important;margin:0!important;border-radius:4px!important;flex:0 0 20px!important}
.wn-dialog .wn-recipient label>span{display:grid!important;gap:3px!important;text-align:left!important}

/* Acknowledgment is distinct from confirmed delivery. This widget stays fixed while scrolling. */
.wn-reminder-panel{position:fixed;right:16px;bottom:100px;z-index:70;max-width:min(350px,calc(100vw - 24px));border:1px solid #a91636;border-radius:16px;background:#fff1f4;box-shadow:0 8px 28px #75152e30;padding:8px}
.wn-reminder-panel[hidden]{display:none}.wn-reminder-panel .wn-reminder{position:static;max-width:100%;box-shadow:none;width:100%;box-sizing:border-box;text-align:left;font-size:14px}
.wn-read-label{display:flex!important;align-items:center!important;flex-direction:row!important;gap:8px!important;margin:8px 4px 2px!important;color:#831c36;font:650 13px/1.4 system-ui!important;width:auto!important}
.wn-read-label input[type=checkbox]{width:18px!important;height:18px!important;min-height:18px!important;min-width:18px!important;margin:0!important;padding:0!important;accent-color:#aa1f40;flex:0 0 18px}
@media(max-width:750px){.wn-reminder-panel{right:10px;bottom:90px;max-width:calc(100vw - 24px)}}

.wn-language-controls{display:grid;gap:10px;padding:14px;margin-bottom:12px;background:white;border:1px solid #e4d4d9;border-radius:14px}.wn-language-tabs{display:flex;flex-wrap:wrap;gap:6px}.wn-language-tabs button[aria-pressed=true]{background:#8e1835;color:white;border-color:#8e1835}.wn-language-controls label{display:grid!important;gap:6px!important;font-size:.9rem!important;margin:0!important}.wn-language-controls select{box-sizing:border-box;width:100%;max-width:100%;border:1px solid #d4b7bd;border-radius:10px;background:white;color:#193c32;padding:10px;font:inherit;color-scheme:light}.wn-language-controls small{font-size:.8rem;color:#725d66}.wn-language-controls .rich-select{max-width:100%}
