/* MAIL V11 — 3768 substantial compose redesign, visual only */
body.mail-app:has(.compose-v41) .main,body.mail-app:has(.compose-v41) main{min-width:0}
.compose.compose-v41{width:min(100%,1100px)!important;max-width:1100px!important;margin:8px auto 30px!important;background:#fff!important;border:1px solid #e2e8f0!important;border-radius:20px!important;box-shadow:0 12px 44px rgba(15,23,42,.09)!important;overflow:hidden!important}
.compose-v41 #composeForm{display:flex;flex-direction:column;min-width:0}
.compose-v41 .toolbar{background:linear-gradient(110deg,#f8fbff,#eff6ff)!important;border-bottom:1px solid #e2e8f0!important;padding:20px 28px!important;min-height:76px!important}
.compose-v41 .toolbar-title{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:16px!important;width:100%}
.compose-v41 .toolbar-title h1{font-size:22px!important;letter-spacing:-.65px!important;font-weight:750!important;color:#10213b!important;margin:0!important}
.compose-v41 #saveState{font-size:12px!important;color:#64748b!important}
.compose-v41 .compose-envelope{padding:18px 28px 10px!important;display:flex!important;flex-direction:column!important;gap:0!important;background:#fff!important}
.compose-v41 .compose-envelope>.field,.compose-v41 .compose-envelope>.more .field{display:grid!important;grid-template-columns:72px minmax(0,1fr)!important;align-items:center!important;gap:12px!important;margin:0!important;padding:12px 0!important;border-bottom:1px solid #edf1f6!important;font-size:13px!important;font-weight:650!important;color:#64748b!important}
.compose-v41 .compose-envelope input{width:100%!important;min-width:0!important;min-height:35px!important;border:0!important;border-radius:7px!important;box-shadow:none!important;background:transparent!important;padding:6px 9px!important;font-size:14px!important;color:#14253e!important;outline-offset:1px!important}
.compose-v41 .compose-envelope input:focus{background:#f5f9ff!important;outline:2px solid #b6d7ff!important}
.compose-v41 .more{padding:0!important;margin:0!important;border:0!important;font-size:13px!important}
.compose-v41 .more summary{width:max-content!important;margin:6px 0!important;color:#2563eb!important;font-size:12px!important;font-weight:650!important;cursor:pointer!important}
.compose-v41 textarea#composeBody{display:block!important;width:calc(100% - 56px)!important;margin:12px 28px 18px!important;padding:22px 20px!important;min-height:310px!important;border:1px solid #e7edf5!important;border-radius:14px!important;background:#fcfdff!important;box-shadow:inset 0 1px 2px rgba(15,23,42,.025)!important;line-height:1.7!important;font-size:15px!important;color:#14253e!important;resize:vertical!important}
.compose-v41 textarea#composeBody:focus{outline:2px solid #bfdbfe!important;border-color:#93c5fd!important;background:#fff!important}
.compose-v41 .files{display:flex!important;flex-direction:column!important;gap:9px!important;margin:0 28px 20px!important;padding:16px 18px!important;border:1px dashed #b9cce5!important;border-radius:14px!important;background:#f8fbff!important;color:#334155!important;font-weight:650!important;font-size:13px!important}
.compose-v41 .files input[type=file]{width:100%!important;max-width:100%!important;font-size:13px!important;color:#475569!important}
.compose-v41 .files input[type=file]::file-selector-button{border:1px solid #bfdbfe!important;background:#eff6ff!important;color:#1d4ed8!important;border-radius:9px!important;padding:9px 13px!important;margin-right:12px!important;cursor:pointer!important;font-weight:650!important}
.compose-v41 .files small{font-weight:400!important;color:#64748b!important}
.compose-v41 .compose-actions{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:12px!important;padding:18px 28px!important;margin:0!important;background:#f8fafc!important;border-top:1px solid #e2e8f0!important}
.compose-v41 .compose-actions .btn{min-height:43px!important;border-radius:10px!important;padding:10px 19px!important;font-weight:700!important;box-shadow:none!important}
.compose-v41 .compose-actions button[value=send]{background:#2563eb!important;color:#fff!important;border:1px solid #2563eb!important;box-shadow:0 4px 12px rgba(37,99,235,.18)!important;min-width:120px!important}
.compose-v41 .compose-actions button[value=send]:hover{background:#1d4ed8!important}
.compose-v41 .compose-actions .ghost{background:#fff!important;border:1px solid #cbd5e1!important;color:#334155!important}
@media(max-width:800px){.compose.compose-v41{width:100%!important;margin:0 auto 18px!important;border-radius:13px!important}.compose-v41 .toolbar{padding:15px 16px!important;min-height:62px!important}.compose-v41 .toolbar-title h1{font-size:19px!important}.compose-v41 .compose-envelope{padding:9px 16px 6px!important}.compose-v41 .compose-envelope>.field,.compose-v41 .compose-envelope>.more .field{grid-template-columns:53px minmax(0,1fr)!important;gap:5px!important;padding:10px 0!important}.compose-v41 textarea#composeBody{width:calc(100% - 32px)!important;margin:10px 16px 14px!important;padding:14px!important;min-height:280px!important;font-size:16px!important}.compose-v41 .files{margin:0 16px 14px!important;padding:13px!important}.compose-v41 .compose-actions{padding:14px 16px!important;gap:8px!important}.compose-v41 .compose-actions .btn{padding:10px 13px!important;font-size:13px!important}}
@media(max-width:380px){.compose-v41 .compose-actions button[value=send]{min-width:90px!important}.compose-v41 .compose-actions{gap:6px!important}}
