/* MAIL 3775 — focused P1 usability, loaded after all earlier styles */
@media (min-width:769px){
 body .rb3774-layout{height:calc(100dvh - 90px)!important;max-height:calc(100dvh - 90px)!important;min-height:0!important;align-items:stretch!important;margin:12px auto!important;overflow:visible!important}
 body .rb3774-panel,body .rb3774-options{height:100%!important;min-height:0!important}
 body .rb3774-panel #composeForm{height:100%!important;max-height:100%!important;min-height:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}
 body #composeForm .rb3774-content{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain;padding-bottom:12px!important}
 body #composeForm .rb3774-editor{flex:1 0 180px!important;min-height:180px!important}
 body #composeForm #composeBody{min-height:180px!important;height:100%!important;resize:none!important}
 body #composeForm .rb3774-footer{flex:0 0 auto!important;position:relative!important;bottom:auto!important;z-index:6!important;min-height:68px!important;padding:10px 22px!important}
}
body .rb3774-tools .rb3774-tool,body .rb3774-tools .rb3774-bar{display:none!important}
body .rb3774-tools .rb3774-tool-label{border:0!important;padding:4px 8px!important;min-width:0!important;cursor:default!important;background:transparent!important;color:#52657e!important;font-weight:600!important}
body .rb3774-footer button[disabled],body .rb3774-footer .btn[disabled]{display:none!important}
body .rb3774-footer-left{display:none!important}
body .rb3774-footer-right>a[href='/']{display:none!important}
body .rb3774-attachments{padding-top:8px!important;padding-bottom:8px!important}
body .rb3774-attachments .rb3774-attachlabel{cursor:pointer}
body #composeForm .rb3775-recipient-error{display:none;padding:7px 10px;color:#ad2337;background:#fff2f3;border:1px solid #ffd0d5;border-radius:7px;font-size:12px;font-weight:600;margin:4px 0 8px 76px}
body #composeForm .rb3775-recipient-error.is-visible{display:block!important}
body #composeForm input[name='to'][aria-invalid='true']{border-color:#d83349!important;box-shadow:0 0 0 3px rgba(216,51,73,.12)!important}
body #composeForm :is(button,input,summary,a):focus-visible{outline:3px solid #1f70d8!important;outline-offset:2px!important}
body .rb3774-tools .rb3774-tool-label{font-size:12px!important}
body .rb3774-layout .rb3774-coming{color:#596c85!important}
@media(max-width:768px){
 body .rb3774-layout{display:block!important;margin:0!important;width:100%!important;max-width:100%!important;padding:0!important}
 body .rb3774-panel{width:100%!important;border-radius:0!important;box-shadow:none!important}
 body .rb3774-options{display:none!important}
 body .rb3774-panel #composeForm{display:flex!important;flex-direction:column!important;height:calc(100dvh - 74px)!important;min-height:0!important;overflow:hidden!important}
 body #composeForm .rb3774-content{flex:1 1 auto!important;overflow-y:auto!important;min-height:0!important;padding:10px 14px!important}
 body #composeForm .rb3774-editor{min-height:180px!important;flex:1 0 190px!important}
 body #composeForm #composeBody{min-height:175px!important;height:100%!important;resize:none!important}
 body #composeForm .rb3774-footer{flex:0 0 auto!important;position:relative!important;bottom:auto!important;min-height:64px!important;padding:8px 12px!important;z-index:6!important}
 body #composeForm .rb3775-recipient-error{margin-left:0!important}
}
