#workspace .mail-message-more[open]{z-index:40}
#workspace .mail-message-menu{max-height:min(500px,60dvh);overflow-y:auto;overscroll-behavior:contain}
#workspace .mail-message-menu>.mail-action-delete{color:#913d35}
.mail-markers{display:flex;gap:8px;color:#815d12!important;font-size:12px!important}
.mail-markers span{white-space:nowrap}
.mail-source-text{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;font:12px/1.5 Consolas,monospace;max-height:60dvh;overflow:auto;user-select:text;background:#f4f6f8;padding:12px;border-radius:5px}
.mail-extra-dialog:has(.mail-source-text){width:min(960px,calc(100vw - 32px))}
.mail-extra-dialog>button{margin-top:12px}.mail-extra-dialog>a{display:block;margin:12px 0;color:#185b91;text-decoration:underline}
.mail-marker-status{padding:8px 14px;font-size:12px;color:#815d12}
@media(max-width:760px){
 #workspace .mail-message-toolbar{flex-wrap:wrap}
 #workspace .mail-message-toolbar:has(.mail-message-more[open])>.mail-message-more[open]{flex:1 1 100%!important;width:100%!important;height:auto!important;max-height:none!important}
 #workspace .mail-message-more[open]>.mail-message-menu{position:static;max-width:100%;width:100%!important;margin-top:8px;max-height:55dvh}
}
