/* Leads is the canonical FBC page heading. Scope excludes shell, tables,
   dialogs, PDF templates and standalone Members/Product Manager screens; embedded headers share this contract. */
:is(#app #workspace,body.fbc-heading-embedded) .fbc-page-heading{
 display:flex;align-items:center;gap:13px;min-width:0;min-height:0;
 padding:8px 0 0;margin:0 0 calc(15px - var(--fbc-heading-parent-gap,0px));
 border:0;border-radius:0;background:transparent;box-shadow:none;color:#182b45;
 font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:13px;font-weight:400;line-height:1.45;
}
:is(#app #workspace,body.fbc-heading-embedded) .fbc-page-heading .fbc-page-icon{
 display:grid;place-items:center;flex:0 0 35px;width:35px;height:35px;
 padding:0;margin:0;border:0;border-radius:7px;background:#e3efff;color:#006dff;
}
:is(#app #workspace,body.fbc-heading-embedded) .fbc-page-icon .icon{width:17px;height:17px;stroke-width:1.7}
:is(#app #workspace,body.fbc-heading-embedded) .fbc-page-heading .fbc-page-copy{display:block;min-width:0;flex:1;margin:0;padding:0;gap:0}
:is(#app #workspace,body.fbc-heading-embedded) .fbc-page-heading .fbc-page-title{
 font-family:inherit;font-size:21px;font-weight:650;line-height:1.3;letter-spacing:normal;
 color:#182b45;margin:0;padding:0;text-transform:none;overflow-wrap:anywhere;
}
:is(#app #workspace,body.fbc-heading-embedded) .fbc-page-heading .fbc-page-label{
 display:block;font-family:inherit;font-size:9px;font-weight:400;line-height:1.45;
 letter-spacing:.03em;color:#697e9a;margin:0 0 2px;padding:0;text-transform:none;
}
:is(#app #workspace,body.fbc-heading-embedded) .fbc-page-heading .fbc-page-subtitle{
 font-family:inherit;font-size:11px;font-weight:400;line-height:1.5;letter-spacing:normal;
 color:#687b96;margin:3px 0 0;padding:0;max-width:none;text-transform:none;
}
:is(#app #workspace,body.fbc-heading-embedded) .fbc-page-heading .fbc-page-actions{
 display:flex;flex:0 1 auto;align-items:center;justify-content:flex-end;flex-wrap:wrap;
 gap:6px;margin:0 0 0 auto;padding:0;min-width:0;max-width:48%;
}
:is(#app #workspace,body.fbc-heading-embedded) .fbc-page-heading .fbc-page-button{
 display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:33px;height:auto;
 padding:6px 12px;margin:0;border:1px solid #dce5f1;border-radius:5px;
 font-family:inherit;font-size:12px;font-weight:600;line-height:1.45;letter-spacing:normal;
 background:#fff;color:#182b45;box-shadow:none;text-decoration:none;white-space:nowrap;
}
:is(#app #workspace,body.fbc-heading-embedded) .fbc-page-button .icon{width:17px;height:17px;stroke-width:1.7}
:is(#app #workspace,body.fbc-heading-embedded) .fbc-page-heading .fbc-page-primary{background:#006dff;border-color:#006dff;color:#fff}
:is(#app #workspace,body.fbc-heading-embedded) .fbc-page-heading .fbc-page-button:hover{background:#f1f6ff;border-color:#b8cdea}
:is(#app #workspace,body.fbc-heading-embedded) .fbc-page-heading .fbc-page-primary:hover{background:#005bd6;border-color:#005bd6}
:is(#app #workspace,body.fbc-heading-embedded) .fbc-page-heading .fbc-page-button:focus-visible{outline:3px solid #4694ff;outline-offset:2px}
:is(#app #workspace,body.fbc-heading-embedded) .fbc-page-heading .fbc-page-counter{font-size:11px;font-weight:600;line-height:1.45;min-height:33px;padding:6px 10px;border-radius:5px;display:inline-flex;align-items:center;white-space:nowrap}
@media(max-width:650px){
 :is(#app #workspace,body.fbc-heading-embedded) .fbc-page-heading{gap:9px;flex-wrap:wrap;padding-top:4px}
 :is(#app #workspace,body.fbc-heading-embedded) .fbc-page-heading .fbc-page-icon{width:30px;height:30px;flex-basis:30px}
 :is(#app #workspace,body.fbc-heading-embedded) .fbc-page-heading .fbc-page-copy{flex:1;min-width:calc(100% - 39px)}
 :is(#app #workspace,body.fbc-heading-embedded) .fbc-page-heading .fbc-page-title{font-size:18px}
 :is(#app #workspace,body.fbc-heading-embedded) .fbc-page-heading .fbc-page-label{font-size:8px}
 :is(#app #workspace,body.fbc-heading-embedded) .fbc-page-heading .fbc-page-actions{max-width:calc(100% - 39px);width:calc(100% - 39px);margin-left:39px;justify-content:flex-start}
 :is(#app #workspace,body.fbc-heading-embedded) .fbc-page-heading .fbc-page-button{min-height:34px;white-space:normal;text-align:center}
}
/* Embedded legacy modules have historical !important declarations. Override
   only their marked page heading, never their editors, tables or dialogs. */
body.fbc-heading-embedded .fbc-page-heading{flex-direction:row!important;align-items:center!important;gap:13px!important;margin:0 0 15px!important;padding:8px 0 0!important}
body.fbc-heading-embedded .fbc-page-heading .fbc-page-copy{display:block!important;max-width:none!important;gap:0!important}
body.fbc-heading-embedded .fbc-page-heading .fbc-page-title{font-size:21px!important;font-weight:650!important;line-height:1.3!important;letter-spacing:normal!important;margin:0!important;color:#182b45!important}
body.fbc-heading-embedded .fbc-page-heading .fbc-page-label{font-size:9px!important;font-weight:400!important;line-height:1.45!important;letter-spacing:.03em!important;text-transform:none!important;color:#697e9a!important;margin:0 0 2px!important}
body.fbc-heading-embedded .fbc-page-heading .fbc-page-subtitle{font-size:11px!important;font-weight:400!important;line-height:1.5!important;margin:3px 0 0!important;max-width:none!important;color:#687b96!important}
body.fbc-heading-embedded .fbc-page-heading .fbc-page-actions{flex-direction:row!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;padding:0!important}
body.fbc-heading-embedded .fbc-page-heading .fbc-page-actions .fbc-page-button{min-height:33px!important;height:auto!important;padding:6px 12px!important;border-radius:5px!important;font-size:12px!important;font-weight:600!important;line-height:1.45!important;border:1px solid #dce5f1!important;background:#fff!important;color:#182b45!important;box-shadow:none!important;transform:none!important}
body.fbc-heading-embedded .fbc-page-heading .fbc-page-actions .fbc-page-primary{background:#006dff!important;border-color:#006dff!important;color:#fff!important}
body.fbc-heading-embedded .fbc-page-heading .fbc-page-actions .fbc-page-primary:hover{background:#005bd6!important;border-color:#005bd6!important}
:is(#app #workspace,body.fbc-heading-embedded) .fbc-page-button svg{width:17px;height:17px;flex-shrink:0}
@media(max-width:650px){body.fbc-heading-embedded .fbc-page-heading{gap:9px!important;padding-top:4px!important}body.fbc-heading-embedded .fbc-page-heading .fbc-page-title{font-size:18px!important}body.fbc-heading-embedded .fbc-page-heading .fbc-page-label{font-size:8px!important}body.fbc-heading-embedded .fbc-page-heading .fbc-page-actions{justify-content:flex-start!important}body.fbc-heading-embedded .fbc-page-heading .fbc-page-actions .fbc-page-button{min-height:34px!important}}
:is(#app #workspace,body.fbc-heading-embedded) .fbc-page-heading .fbc-page-button{flex:0 0 auto;width:auto;max-width:100%}
body.fbc-heading-embedded .fbc-page-heading .fbc-page-actions .fbc-page-button{flex:0 0 auto!important;width:auto!important;max-width:100%!important}
