.businessMailboxPreview{margin-top:10px;padding:13px 14px;border:1px solid #bfe9e6;border-radius:10px;background:#effafa;color:#087d7a;font-size:13px;font-weight:850;overflow-wrap:anywhere}.mailboxHeadActions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.mailboxIdentity{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:14px;align-items:center;margin:-2px 0 14px;padding:15px 17px;border:1px solid #cdeae8;background:linear-gradient(135deg,#effafa,#fff)}.mailboxIdentityIcon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#082d63;color:#fff;font-size:19px}.mailboxIdentity small,.mailboxIdentity b,.mailboxIdentity span{display:block}.mailboxIdentity small{font-size:8px;font-weight:900;letter-spacing:.1em;color:#087d7a}.mailboxIdentity b{margin-top:3px;color:#082d63;font-size:15px;overflow-wrap:anywhere}.mailboxIdentity span{margin-top:4px;color:#667085;font-size:10px}.mailboxIdentityActions{display:flex;gap:7px}.mailboxOverlay{z-index:4100}.mailboxCompose{width:min(820px,96vw);max-height:94vh}.mailboxCompose .modalbody,.mailboxSent .modalbody{overflow:auto}.mailboxSourceCard{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.8fr);gap:14px;align-items:end;padding:15px;border:1px solid #cdeae8;border-radius:13px;background:#f1fbfa}.mailboxSourceCard label,.mailboxRecipientGrid label,.mailboxField{display:block;color:#344054;font-size:11px;font-weight:850}.mailboxSourceCard select,.mailboxRecipientGrid input,.mailboxField input,.mailboxField textarea{display:block;width:100%;margin-top:6px;border:1px solid #cfd8e3;border-radius:10px;padding:11px 12px;background:#fff;color:#172033;font:inherit}.mailboxField{margin-top:14px}.mailboxField textarea{resize:vertical;line-height:1.55}.mailboxRecipientGrid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.mailboxRecipientGrid label span{color:#98a2b3;font-weight:600}.mailboxFromPreview{padding:10px 12px;border-radius:9px;background:#fff}.mailboxFromPreview small,.mailboxFromPreview b{display:block}.mailboxFromPreview small{font-size:8px;letter-spacing:.08em;color:#087d7a}.mailboxFromPreview b{margin-top:4px;color:#082d63;font-size:11px;overflow-wrap:anywhere}.mailboxDocuments{margin-top:16px;border:1px solid #e1e8ef;border-radius:13px;overflow:hidden}.mailboxDocHead{display:flex;justify-content:space-between;gap:12px;padding:13px 15px;background:#f8fafc;border-bottom:1px solid #e1e8ef}.mailboxDocHead b,.mailboxDocHead span{display:block}.mailboxDocHead b{font-size:12px;color:#082d63}.mailboxDocHead span{margin-top:3px;font-size:9px;color:#667085}.mailboxDocHead strong{font-size:10px;color:#087d7a}.mailboxDocList{max-height:220px;overflow:auto}.mailboxDocList label{display:flex;gap:10px;align-items:flex-start;padding:11px 14px;border-bottom:1px solid #edf1f5;cursor:pointer}.mailboxDocList label:hover{background:#f5fbfb}.mailboxDocList input{margin-top:3px}.mailboxDocList b,.mailboxDocList small{display:block}.mailboxDocList b{font-size:11px;color:#25364d}.mailboxDocList small{margin-top:3px;color:#667085;font-size:9px}.mailboxAttachmentSummary{padding:9px 14px;background:#effafa;color:#087d7a;font-size:10px;font-weight:800}.mailboxDocEmpty,.mailboxLoading{padding:24px;text-align:center;color:#667085;font-size:11px}.mailboxDocEmpty.error{color:#b42318}.mailboxSent{width:min(760px,96vw);max-height:90vh}.mailboxSentRow{display:grid;grid-template-columns:38px 1fr;gap:12px;padding:15px 2px;border-bottom:1px solid #e5e7eb}.mailboxSentIcon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#eafafa;color:#087d7a;font-weight:900}.mailboxSentRow small,.mailboxSentRow b,.mailboxSentRow span{display:block}.mailboxSentRow small{color:#087d7a;font-size:8px;font-weight:900;letter-spacing:.06em}.mailboxSentRow b{margin-top:4px;color:#082d63;font-size:13px}.mailboxSentRow span{margin-top:4px;color:#98a2b3;font-size:9px}.mailboxSentRow p{margin:8px 0 0;color:#667085;font-size:10px;line-height:1.45}.mailboxSendBtn[disabled]{opacity:.6}
@media(max-width:760px){.mailboxHeadActions{width:100%}.mailboxHeadActions button{flex:1}.mailboxIdentity{grid-template-columns:42px 1fr}.mailboxIdentityActions{grid-column:1/-1}.mailboxIdentityActions button{width:100%}.mailboxSourceCard,.mailboxRecipientGrid{grid-template-columns:1fr}.mailboxCompose{width:100%;max-height:100vh;border-radius:0}}

/* Keep the composer action bar visible while its form scrolls. */
.mailboxCompose{display:flex;flex-direction:column;height:min(900px,94vh);max-height:94vh;overflow:hidden}
.mailboxCompose .modalhead,.mailboxCompose .modalfoot{flex:0 0 auto}
.mailboxCompose .modalbody{flex:1 1 auto;min-height:0;overflow-y:auto}
.mailboxCompose .modalfoot{position:relative;z-index:2;background:#fff;border-top:1px solid #e5e7eb}
@media(max-width:760px){.mailboxCompose{height:100vh;max-height:100vh}}

/* Build 125: transaction-aware multi-recipient composer. */
.mailboxRecipientInput{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-height:43px;margin-top:6px;padding:5px 7px;border:1px solid #cfd8e3;border-radius:10px;background:#fff;cursor:text}.mailboxRecipientInput:focus-within{border-color:#10b7b4;box-shadow:0 0 0 3px rgba(16,183,180,.12)}.mailboxRecipientGrid .mailboxRecipientInput input{flex:1 1 180px;width:auto;min-width:150px;margin:0;padding:6px 5px;border:0;outline:0;box-shadow:none}.mailboxRecipientChips{display:contents}.mailboxRecipientChip{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:5px 6px 5px 9px;border:1px solid #bfe9e6;border-radius:999px;background:#effafa;color:#075f5d;font-size:10px}.mailboxRecipientChip b,.mailboxRecipientChip small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mailboxRecipientChip small{color:#667085;font-weight:600}.mailboxRecipientChip button{padding:0 2px;background:transparent;color:#667085;font-size:16px;line-height:1}.mailboxContactPicker{margin-top:10px;border:1px solid #e1e8ef;border-radius:11px;background:#fbfcfe;overflow:hidden}.mailboxContactPicker>span{display:block;padding:11px 13px;color:#667085;font-size:10px}.mailboxContactPickerHead{display:flex;justify-content:space-between;gap:10px;padding:9px 12px;background:#f3f7fa;color:#344054;font-size:10px}.mailboxContactPickerHead span{color:#667085;font-weight:500}.mailboxContactList{display:grid;grid-template-columns:1fr 1fr;max-height:160px;overflow:auto}.mailboxContactRow{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:9px 11px;border-top:1px solid #edf1f5}.mailboxContactRow:nth-child(odd){border-right:1px solid #edf1f5}.mailboxContactRow b,.mailboxContactRow span{display:block}.mailboxContactRow b{color:#25364d;font-size:10px}.mailboxContactRow span{margin-top:2px;color:#667085;font-size:8px}.mailboxContactRow>div:last-child{display:flex;gap:4px}.mailboxContactRow button{padding:5px 7px;border:1px solid #d8e0e8;background:#fff;color:#344054;font-size:9px}.mailboxContactRow button.selected{border-color:#10b7b4;background:#10b7b4;color:#fff}@media(max-width:760px){.mailboxContactList{grid-template-columns:1fr}.mailboxContactRow:nth-child(odd){border-right:0}.mailboxContactPickerHead{display:block}.mailboxContactPickerHead span{display:block;margin-top:3px}.mailboxRecipientChip small{display:none}}

/* Build 225: the message being replied to, shown above the Message field so the agent
   can read what the client wrote while answering. Display only - it is never sent. */
.mailboxReplyNote{margin:0 0 12px;padding:11px 13px;border-left:3px solid #10B7B4;border-radius:0 9px 9px 0;background:#f4fbfb;color:#17283d}
.mailboxReplyNoteHead{font-size:13px;font-weight:850;color:#0b5c59;margin-bottom:7px}
.mailboxReplyNoteHead b{color:#082D63}
.mailboxReplyNoteTag{display:inline-block;margin-left:6px;padding:2px 8px;border-radius:999px;background:#e6f8f7;color:#087d7a;font-size:10px;font-weight:900;vertical-align:middle}
.mailboxReplyNoteBody{max-height:200px;overflow-y:auto;font-size:15px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;color:#31445b}
.mailboxReplyNoteBody i{color:#667085}

/* Build 256: when and where each document came from, and the latest copy. */
.mailboxDocList .mailboxDocSource{display:block;margin-top:2px;color:#475467;font-size:13px}
.mailboxDocList .mailboxDocLatest{display:inline-block;margin-left:6px;padding:1px 8px;border-radius:999px;background:#e9f9f8;color:#087d7a;font-size:13px;font-style:normal;font-weight:800;vertical-align:middle}
/* Build 383: the chosen deal's own email address, with Copy */
.mailboxDealAddress{display:flex;align-items:center;gap:10px;margin-top:10px;padding:9px 12px;border:1px solid #bfe9e6;border-radius:10px;background:#effafa;color:#082d63}
.mailboxDealAddressIcon{font-size:18px;color:#087d7a}
.mailboxDealAddressText{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.mailboxDealAddressText small{font-size:9px;font-weight:800;letter-spacing:.06em;color:#087d7a}
.mailboxDealAddressText b{font-size:13px;overflow-wrap:anywhere;user-select:all;-webkit-user-select:all}
.mailboxDealAddressText em{font-style:normal;font-size:11px;color:#667085}
.mailboxDealAddress button{flex:0 0 auto}
