/* COMASA V3.12.13.38 - Ficha 360 is confined to the existing lower CRM pane. */
#brchat.bc37-combined #bc37CrmShell{position:relative;isolation:isolate;}
#brchat #candidateModal.bc38-embedded-ficha{
 position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
 z-index:38!important;padding:0!important;margin:0!important;
 border:0;background:#fff;border-radius:inherit;
 overflow:hidden;display:none;align-items:stretch;justify-content:stretch;
}
#brchat #candidateModal.bc38-embedded-ficha.open{display:flex!important;}
#brchat #candidateModal.bc38-embedded-ficha .modalbox.candidate360{
 flex:1 1 auto;box-sizing:border-box;width:100%!important;max-width:100%!important;
 min-width:0;min-height:0;height:100%!important;max-height:100%!important;
 overflow:auto;overscroll-behavior:contain;margin:0;border:0;border-radius:0;
 padding:14px 16px 24px;background:#fff;scrollbar-width:thin;
}
#brchat #candidateModal.bc38-embedded-ficha .modalhead{
 position:sticky;top:-14px;z-index:4;display:flex;flex-wrap:wrap;gap:8px;
 padding:10px 0 12px;background:#fff;border-bottom:1px solid #dce7ee;
}
#brchat #candidateModal.bc38-embedded-ficha .modalhead .inlineActions{
 display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:5px;
}
#brchat #candidateModal.bc38-embedded-ficha .modalhead button{
 font-size:11px;min-height:30px;padding:6px 9px;
}
#brchat #candidateModal.bc38-embedded-ficha .modalhead button[onclick*="closeModal"]{
 color:#0d6159;border-color:#9dcfc2;background:#eaf7f2;
}
#brchat.bc37-combined.bc38-ficha-visible{
 --bc37-chat-height:clamp(245px,30dvh,430px);
 --bc37-crm-height:clamp(455px,61dvh,900px);
}
@media(max-width:900px){
 #brchat #candidateModal.bc38-embedded-ficha .grid4{grid-template-columns:repeat(2,minmax(0,1fr));}
 #brchat #candidateModal.bc38-embedded-ficha .modalbox.candidate360{padding:10px 12px 20px;}
 #brchat #candidateModal.bc38-embedded-ficha .modalhead{top:-10px;}
}
@media(max-width:600px){
 #brchat.bc37-combined.bc38-ficha-visible{--bc37-chat-height:260px;--bc37-crm-height:clamp(430px,62dvh,730px);}
 #brchat #candidateModal.bc38-embedded-ficha .grid2,
 #brchat #candidateModal.bc38-embedded-ficha .grid4{grid-template-columns:minmax(0,1fr);}
 #brchat #candidateModal.bc38-embedded-ficha .modalhead .profileHead{min-width:0;}
}
