/* MAIL-072 — message-first reading, Figma 14:23 / 14:68. */
.reader-focus-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:4px 0 10px}.reader-focus-actions>span{font-size:12px;color:var(--muted);margin-left:auto}
.reader-message-first .reader-focus-actions .primary,.reader-message-first .reader-focus-actions .small-button{font-size:14px;min-height:40px;padding:9px 16px;border-radius:10px}
.reader-message-first .reader-heading h1{font-size:26px!important;line-height:1.35!important}.reader-message-first .reader-message-pane{border-radius:14px;background:white}.reader-message-first .reader-current>.email-card{border-radius:14px;background:white}.reader-message-first .reader-current>.email-card>.email-body{font-size:16px;line-height:1.7;padding:22px}
.reader-message-first .email-top{padding:16px 20px!important}.reader-message-first .email-top strong{font-size:16px}.reader-message-first .email-top small,.reader-message-first .email-top time{font-size:12px}.reader-message-first .message-addresses{font-size:13px;line-height:1.5}
.reader-attachments{flex-shrink:0;background:var(--lilac);padding:10px 14px;border-block:1px solid var(--line);max-height:210px;overflow:auto;display:flex;flex-wrap:wrap;gap:8px;align-items:center}.reader-attachments>strong{width:100%;font-size:13px}.reader-attachments .file-actions{padding:0!important;flex:1 1 240px;min-width:0}.reader-attachments .attachment{background:white;font-size:13px!important;overflow-wrap:anywhere}.reader-attachments .small-button{white-space:nowrap}.reader-attachments .attachment span{font-size:11px}.reader-attachments .attachment-bundle{margin:0}
.reader-history-search{display:block;margin:12px 0 18px;font-size:14px}.reader-history-search input{display:block;width:100%;margin-top:6px;min-height:44px}.reader-conversation-dialog .reader-previous>summary{display:flex;flex-direction:column;gap:6px;padding:14px;font-size:14px;background:var(--lilac);border-radius:10px;overflow-wrap:anywhere}.reader-conversation-dialog .reader-previous>summary strong{font-size:16px}.reader-conversation-dialog .reader-previous>summary small{font-size:13px;color:var(--muted)}.reader-conversation-dialog .reader-previous{margin-bottom:12px}.reader-conversation-dialog .reader-previous>a{margin:12px}.reader-reply-reference{font-size:13px;line-height:1.5;margin:0;padding:10px 14px;background:var(--lilac)}
@media(min-width:951px){.reader-message-first.reader-wide .reader-columns{grid-template-columns:minmax(0,1fr)}.reader-message-first.reader-wide .reader-reply-pane{display:none}.reader-message-first.reader-wide .reader-workbar .reader-wide-button{display:none}.reader-message-first.reader-wide .reader-message-pane{max-width:1200px;width:100%;margin-inline:auto}.reader-message-first .reader-current .message-frame{min-height:240px}.reader-message-first .reader-current>.email-card>.email-body{min-height:240px}.reader-message-first .reader-workbar{font-size:12px}.reader-message-first .reader-workbar .small-button{font-size:12px}}
@media(max-width:950px){.reader-message-first .reader-focus-actions{gap:8px;padding-bottom:4px}.reader-message-first .reader-focus-actions>span,.reader-message-first .reader-focus-actions>[data-focus-reply]{display:none}.reader-message-first .reader-focus-actions .small-button{font-size:14px;min-height:44px}.reader-message-first .reader-heading h1{font-size:23px!important}.reader-message-first .email-top{padding:14px!important;flex-wrap:wrap}.reader-message-first .email-top time{white-space:normal}.reader-attachments{max-height:230px;padding:12px}.reader-attachments .file-actions{flex-basis:100%}.reader-attachments .small-button{min-height:44px;font-size:14px}.reader-conversation-dialog{width:calc(100% - 20px);max-height:90dvh}.reader-conversation-dialog>header h2{font-size:20px}.reader-conversation-dialog .reader-dialog-body{padding:12px}.reader-message-first.phone-writing .reader-focus-actions{display:none}}

@media(max-width:950px){.reader-message-first .reader-focus-back{display:none}}

@media(max-width:950px){.reader-message-first .reader-attachments{max-height:none;overflow:visible}.reader-message-first .reader-attachments .file-actions{flex-wrap:nowrap;gap:6px;align-items:center}.reader-message-first .reader-attachments .attachment{flex:1 1 auto;min-width:0;width:auto;font-size:14px!important;padding:9px}.reader-message-first .reader-attachments .file-actions>.small-button{flex:0 0 auto;width:auto;padding:8px}.reader-message-first .reader-attachments .attachment-bundle{width:100%;font-size:12px}.reader-message-first .reader-attachments .attachment-bundle .small-button{font-size:13px}}
