/* md-alt-mail-v1 */
.md-altmail-primary{background:#f5a400!important;color:#17112f!important;border-color:#e09600!important;font-weight:700}
.md-altmail-badge{margin:6px 0 10px;font-size:13px;color:#6b6f76}
.md-altmail-badge.is-sent{color:#1f7a3a;font-weight:600}
.md-altmail-subject-label input{width:100%}
.md-altmail-dialog{width:min(760px,96vw);max-height:94vh;padding:0;border:0;border-radius:14px;box-shadow:0 20px 60px rgba(0,0,0,.35)}
.md-altmail-dialog::backdrop{background:rgba(23,17,47,.45)}
.md-altmail-form{display:flex;flex-direction:column;gap:10px;padding:16px 18px 18px}
.md-altmail-form header{display:flex;align-items:center;justify-content:space-between}
.md-altmail-form h3{margin:0;font-size:18px}
.md-altmail-x{background:none;border:0;font-size:26px;line-height:1;cursor:pointer;padding:0 6px}
.md-altmail-to{margin:0;font-size:14px}
.md-altmail-form label input{width:100%;box-sizing:border-box}
.md-altmail-frame{width:100%;height:min(52vh,560px);border:1px solid #dcdfe4;border-radius:10px;background:#f3f4f6}
.md-altmail-sent{margin:0;padding:8px 10px;border-radius:8px;background:#fff4cc;color:#6a4b00;font-size:13px}
.md-altmail-resend{display:flex;gap:8px;align-items:center;font-size:13px}
.md-altmail-resend input{width:auto}
.md-altmail-actions{display:flex;flex-wrap:wrap;gap:8px}
.md-altmail-actions button{min-height:42px}
.md-altmail-test summary{cursor:pointer;font-size:13px;color:#6b6f76}
.md-altmail-test div{display:flex;gap:8px;margin-top:8px}
.md-altmail-test input{flex:1;min-width:0}
.md-altmail-status{margin:0;font-size:13px;color:#17112f;min-height:1em}
@media (max-width:600px){.md-altmail-dialog{width:100vw;max-width:100vw;max-height:100vh;height:100vh;border-radius:0}.md-altmail-frame{height:46vh}.md-altmail-actions button{flex:1 1 100%}}
.md-altmail-err{margin:6px 0 10px;padding:10px 12px;border-radius:10px;background:#fdeaea;color:#8a1010;font-weight:600;font-size:14px}
