.yose-mail-preview{width:min(700px,calc(100% - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #deded8;border-radius:12px;background:#fff;color:#252525;font-family:inherit;box-sizing:border-box;overflow:auto;box-shadow:0 20px 80px #0003}.yose-mail-preview::backdrop{background:#151a18a6}.yose-mail-header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 22px;border-bottom:1px solid #e8e8e3;position:sticky;top:0;background:#fff;z-index:1}.yose-mail-header h2{font-family:inherit;font-weight:600;font-size:20px;line-height:1.3;margin:0}.yose-mail-close{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;border:0;background:transparent;border-radius:6px;font-size:31px;line-height:1;color:inherit;cursor:pointer}.yose-mail-close:hover{background:#f4f4ef}.yose-mail-meta{display:grid;grid-template-columns:50px minmax(0,1fr);gap:8px 12px;padding:19px 22px;margin:0;font-size:13px;line-height:1.5;border-bottom:1px solid #e8e8e3}.yose-mail-meta dt{color:#81817b}.yose-mail-meta dd{margin:0;overflow-wrap:anywhere}.yose-mail-body{padding:22px;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:13px;line-height:1.8;tab-size:2}.yose-mail-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 22px;background:#f6f6f2;border-top:1px solid #e8e8e3}.yose-mail-footer p{font-size:11px;color:#6e716b;margin:0}.yose-mail-footer button{border:1px solid #b7bdb7;border-radius:6px;padding:10px 14px;background:#fff;color:#194e45;font:inherit;font-size:12px;cursor:pointer;white-space:nowrap}.yose-mail-preview button:focus-visible{outline:2px solid #06463f;outline-offset:2px}@media(max-width:480px){.yose-mail-header{padding:10px 14px}.yose-mail-meta{padding:15px 16px;font-size:12px;grid-template-columns:40px minmax(0,1fr)}.yose-mail-body{padding:17px 16px;font-size:12px}.yose-mail-footer{padding:12px 16px}.yose-mail-footer p{max-width:130px}.yose-mail-header h2{font-size:18px}}
/* The preview uses the same escaped email HTML as the outgoing messages. */
.yose-mail-html{width:100%;max-width:100%;overflow-wrap:anywhere}.yose-mail-html *{box-sizing:border-box}.yose-mail-html table{table-layout:fixed}.yose-mail-html a{overflow-wrap:anywhere}.yose-mail-html h1,.yose-mail-html h2{max-width:none}.yose-mail-preview .yose-mail-footer p{line-height:1.5}@media(max-width:380px){.yose-mail-html>div{padding:8px 4px!important}.yose-mail-html>div>table>tbody>tr>td{padding-left:16px!important;padding-right:16px!important}.yose-mail-footer{gap:8px}.yose-mail-footer button{padding:10px}}

/* Anti-spam controls preserve the existing form layout. */
.yose-honeypot{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;white-space:nowrap!important;pointer-events:none!important}.yose-honeypot input{width:1px!important;min-width:0!important;height:1px!important;padding:0!important;border:0!important}.yose-turnstile{display:flex;justify-content:center;width:100%;max-width:100%;min-width:0;box-sizing:border-box}.yose-turnstile iframe{max-width:100%}
