.bulk-mail-panel{max-width:1050px}.bulk-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:24px}.bulk-steps button{padding:12px 6px;background:#f2f5fa;color:#43536a;border-radius:9px}.bulk-steps button.active{background:#173d75;color:#fff}.bulk-page{min-height:250px}.bulk-page>label{display:block;margin:12px 0}.bulk-page label input[type=text],.bulk-page label input:not([type]),.bulk-page label select,.bulk-page label textarea{display:block;width:100%;margin-top:6px}.bulk-client-list{max-height:280px;overflow:auto;border:1px solid #d8e0e9;border-radius:10px;padding:10px;margin-top:10px}.bulk-client-list label{display:flex;align-items:center;gap:10px;padding:8px;border-bottom:1px solid #eee}.bulk-client-list small{color:#68778a}.bulk-inline,.bulk-controls{display:flex;align-items:center;gap:12px;margin-top:20px;flex-wrap:wrap}.bulk-controls{justify-content:flex-end}.bulk-preview{background:#f7f9fc;border:1px solid #dce5ef;padding:18px;border-radius:12px}.bulk-preview pre{white-space:pre-wrap;font:inherit;max-height:320px;overflow:auto}.bulk-confirm{font-weight:600}.bulk-history-row{display:flex;justify-content:space-between;gap:12px;padding:12px 4px;border-bottom:1px solid #eee}.bulk-history-row span{color:#63748a}@media(max-width:650px){.bulk-steps{grid-template-columns:repeat(2,1fr)}.bulk-history-row{flex-direction:column}}
/* v4.8.56: centered, stable workspace */
#view-bulk-mail>.panel{width:min(100%,1050px);max-width:1050px;margin:0 auto 16px;box-sizing:border-box;}
#view-bulk-mail .bulk-mail-panel{max-width:1050px;}
#view-bulk-mail{overflow-anchor:auto;}
.bulk-editor-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:9px;background:#f3f6fa;border:1px solid #d9e1eb;border-radius:9px;margin:10px 0 4px;}
.bulk-editor-tools button{min-width:38px;padding:7px 10px;}
.bulk-editor-tools label{display:flex;align-items:center;gap:5px;margin:0;}
.bulk-editor-tools select{width:auto;min-width:90px;margin:0;}
#bulkBody{width:100%;box-sizing:border-box;line-height:1.6;min-height:220px;}
.bulk-format-hint{font-size:12px;}
.bulk-mail-preview-letter{background:white;color:#202b3b;max-width:740px;margin:0 auto;padding:24px;border:1px solid #dce5ef;border-radius:10px;overflow-wrap:anywhere;}
.bulk-mail-preview-letter .bulk-letter-logo{max-height:76px;max-width:220px;object-fit:contain;margin-bottom:16px;}
.bulk-mail-preview-letter .bulk-letter-body{white-space:normal;line-height:1.65;}
@media(max-width:700px){#view-bulk-mail>.panel{width:100%;}.bulk-mail-preview-letter{padding:14px;}}
