.message-viewer{margin:14px 0;border:1px solid #dce4e3;border-radius:12px;overflow:hidden;background:#fff}.message-toolbar{padding:10px 14px;background:#f0f5f3;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px}.message-frame{display:block;width:100%;height:430px;border:0;background:#fff}.message-frame.is-expanded{height:80vh;min-height:500px}.remote-image-options{padding:12px 14px;border-top:1px solid #e3e8e6;font-size:13px}.remote-image-options p{max-width:650px}.message-plain{margin:12px 0}.message-plain summary{font-size:13px;color:#536764;cursor:pointer}.file-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:8px 0;padding:12px;border:1px solid #dce4e3;border-radius:10px}.file-actions .attachment{flex:1;min-width:0;margin:0!important;border:0!important;padding:0!important;overflow-wrap:anywhere}.attachment-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:25px 0}.attachment-heading h1{font-size:clamp(24px,4vw,38px);overflow-wrap:anywhere}.attachment-frame{width:100%;height:72vh;min-height:450px;border:1px solid #dce4e3;background:white}.image-preview{text-align:center;background:#eef2f1;border-radius:12px;padding:16px}.image-preview img{max-width:100%;height:auto}.preview-empty{background:#fff;padding:35px;border:1px solid #dce4e3;border-radius:12px}@media(max-width:600px){.message-frame{height:400px}.message-toolbar{align-items:flex-start}.message-toolbar strong{font-size:12px}.attachment-heading{display:block}.attachment-heading .primary{display:inline-block;margin-top:8px}.file-actions{gap:14px}.file-actions .attachment{flex-basis:100%}}

.image-controls{padding:12px 16px;background:#f0f5f3;border-bottom:1px solid #d6e0db;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.image-controls .remote-image-options{flex-basis:100%;border:0;padding:0}.image-load-button{white-space:nowrap;border-color:#698579!important}.image-controls form{margin:8px 0}.image-controls p{margin:8px 0}
