/* Integro + manager: shared product palette and typography, owner scope only. */
@font-face{font-family:Onest;src:url('./assets/fonts/onest/font.woff') format('woff');font-weight:100 900;font-display:swap}
@font-face{font-family:Raleway;src:url('./assets/fonts/raleway/font.woff') format('woff');font-weight:100 900;font-display:swap}
html[data-brand=living-frame][data-lf-world=operational]{
 --mfb-bg:#f7fafa;--mfb-surface:#fff;--mfb-soft:#e2eff4;--mfb-text:#102f34;--mfb-muted:#496670;--mfb-line:#c7dbe1;--mfb-accent:#116a7c;--mfb-focus:#7357d6;--mfb-tint:#e8f8f5;--mfb-lavender:#eee8ff;--mfb-danger:#a82844;--mfb-warning:#965719;--mfb-success:#177252;
 --lf-action:linear-gradient(145deg,#9073f7,#00bbdd 57%,#00eeca);
 --app-font-sans:Onest,'Segoe UI',sans-serif;--app-font-display:Raleway,Onest,sans-serif;
 --app-border:var(--mfb-line);--app-border-strong:var(--mfb-line);--app-panel:var(--mfb-surface);--app-surface:var(--mfb-surface);--app-surface-muted:var(--mfb-soft);--app-surface-soft:var(--mfb-bg);--app-text:var(--mfb-text);--app-text-muted:var(--mfb-muted);--app-accent:var(--mfb-accent);--app-success:var(--mfb-success);--app-danger:var(--mfb-danger);--app-warning:var(--mfb-warning);
 --ui-bg:var(--mfb-bg);--ui-bg-raised:var(--mfb-surface);--ui-surface:var(--mfb-surface);--ui-surface-strong:var(--mfb-surface);--ui-surface-soft:var(--mfb-soft);--ui-line:var(--mfb-line);--ui-line-strong:var(--mfb-line);--ui-text:var(--mfb-text);--ui-muted:var(--mfb-muted);--ui-faint:var(--mfb-muted);--ui-primary:var(--mfb-accent);--ui-primary-soft:color-mix(in srgb,var(--mfb-accent),transparent 86%);--ui-success:var(--mfb-success);--ui-success-soft:color-mix(in srgb,var(--mfb-success),transparent 86%);--ui-warning:var(--mfb-warning);--ui-warning-soft:color-mix(in srgb,var(--mfb-warning),transparent 86%);--ui-danger:var(--mfb-danger);--ui-danger-soft:color-mix(in srgb,var(--mfb-danger),transparent 86%);--ui-violet:var(--mfb-focus);--ui-violet-soft:color-mix(in srgb,var(--mfb-focus),transparent 86%);--ui-shadow:none;--ui-shadow-soft:none;--ui-border:var(--mfb-line);
 --bs-body-bg:var(--mfb-bg);--bs-body-color:var(--mfb-text);--bs-secondary-color:var(--mfb-muted);--bs-tertiary-bg:var(--mfb-bg);--bs-border-color:var(--mfb-line);--bs-emphasis-color:var(--mfb-text);
 --app-shadow-sm:0 2px 8px #102f3405;--app-shadow-md:0 12px 36px #102f3410;
 color-scheme:light;background:var(--mfb-bg);scroll-padding-top:100px;
}
html[data-brand=living-frame][data-lf-world=operational][data-theme=dark]{
 --mfb-bg:#081d23;--mfb-surface:#102f34;--mfb-soft:#173c43;--mfb-text:#f7fafa;--mfb-muted:#b4cdd5;--mfb-line:#31535c;--mfb-accent:#62dfe7;--mfb-focus:#b3a0ff;--mfb-tint:#16413f;--mfb-lavender:#302e50;--mfb-danger:#ff9ab0;--mfb-warning:#ffc17c;--mfb-success:#75e6bb;color-scheme:dark;
}
html[data-brand][data-lf-world][data-theme] body{margin:0!important;background:var(--mfb-bg)!important;color:var(--mfb-text)!important;font-family:var(--app-font-sans)!important;font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased;color-scheme:inherit}
html[data-brand][data-lf-world][data-theme] :is(button,input,select,textarea,table){font-family:var(--app-font-sans);letter-spacing:normal}
html[data-brand][data-lf-world][data-theme] :is(h1,h2,h3,h4,.display-6){font-family:var(--app-font-display)!important;color:var(--mfb-text)!important;font-weight:650!important;line-height:1.24;letter-spacing:-.02em;text-shadow:none!important}
html[data-brand][data-lf-world][data-theme] main h1{font-size:clamp(27px,2.5vw,34px)!important;line-height:1.2!important}
html[data-brand][data-lf-world][data-theme] main h2{font-size:22px}
html[data-brand][data-lf-world][data-theme] main h3{font-size:17px}
html[data-brand][data-lf-world][data-theme] :is(p,label,.form-label,.card-title,.control-section-head strong,.table){color:var(--mfb-text)}
html[data-brand][data-lf-world][data-theme] :is(.text-muted,.text-body-secondary,.text-secondary,.small.text-muted,.empty-copy,[class$="-hint"],[class$="-subtitle"],[class$="-description"],[class$="-help"],[class$="-note"],.control-eyebrow,.oc-heading p,.oc-filters>label>span,.oc-caption,.oc-weekdays,.oc-legend,.oc-more,.oc-options p){color:var(--mfb-muted)!important}
html[data-brand][data-lf-world][data-theme] :is([class$="-eyebrow"],[class$="-kicker"],.control-eyebrow){font-size:11px!important;font-weight:650;letter-spacing:.06em;line-height:1.5;color:var(--mfb-muted)!important}
html[data-brand][data-lf-world][data-theme] :is(.fw-semibold,strong,b){color:inherit}
html[data-brand][data-lf-world][data-theme] a:not(.btn):not(.nav-link):not(.mfb-product-brand):not(.owner-dock-link){color:var(--mfb-accent)}
html[data-brand][data-lf-world][data-theme] :is(.card,.app-hero-card,.leads-header,.leads-live-panel,.leads-summary-card,.leads-health-card,.leads-recommendations,.ai-rop-head,.ai-rop-summary-card,.ai-rop-card,.ai-rop-panel,.inspector-panel,.inspector-card,.settings-panel,.settings-section,.integration-card,.account-card,.connect-card,.crosspost-card,.crosspost-panel,.crosspost-hero,.max-invite-card,.max-invite-panel,.max-invite-hero,.mail-commandbar,.mail-kpis>div,.mail-workspace,.mail-compose-dialog,.mail-message,.oc-shell,.oc-options>div,.oc-event,.sa-panel,.sa-filters,.sa-totals>article,.sa-insight,.sa-profile,.elba-hero,.elba-status-card,.elba-kpi-card,.elba-workspace,.elba-card,.elba-flow-card,.elba-finance-card,.elba-integro-panel,.elba-integro-hero,.elba-integro-kpis article,.elba-integro-subpanel,.elba-balance-card,.elba-mini-doc-grid article,.elba-notifications-panel){background:var(--mfb-surface)!important;border:1px solid var(--mfb-line)!important;border-radius:14px!important;box-shadow:none!important;backdrop-filter:none!important;color:var(--mfb-text)!important}
html[data-brand][data-lf-world][data-theme] :is(.card-header,.card-footer,.modal-header,.modal-footer,.accordion-item,.accordion-button,.list-group-item,.dropdown-menu,.modal-content,.offcanvas,.popover,.toast,.mail-thread,.mail-inbox,.mail-thread-head,.mail-accounts,.crosspost-sidebar,.elba-real-sidebar,.elba-real-main,.elba-real-topbar,.elba-real-app,.elba-sidebar,.elba-integro-tabs){background:var(--mfb-surface)!important;border-color:var(--mfb-line)!important;color:var(--mfb-text)!important;box-shadow:none!important}
html[data-brand][data-lf-world][data-theme] :is(.control-summary-card,.control-summary-item,.control-kpi,.control-stat,.control-summary-strip>div,.control-summary-strip>article,.control-summary-metric,.deal-month-chart,.manager-activity-stage,.control-inline-empty,.control-timeline-empty,.sa-note,.sa-section-nav,.sa-insight-detail,.sa-page-kpis,.mail-kpis,.mail-searchbar,.mail-account,.mail-conversation,.mail-compose-fields,.client-inspector-card,.inspector-grid,.crosspost-preview,.max-invite-preview,.oc-blank){background:var(--mfb-bg)!important;border-color:var(--mfb-line)!important;border-radius:10px;color:var(--mfb-text)!important;box-shadow:none!important}
html[data-brand][data-lf-world][data-theme] :is(.card-body,.card-body>section,.inspector-card-head){color:var(--mfb-text);border-color:var(--mfb-line)}
html[data-brand][data-lf-world][data-theme] .card-body{padding:22px}
html[data-brand][data-lf-world][data-theme] :is(.table,table){--bs-table-bg:var(--mfb-surface);--bs-table-color:var(--mfb-text);--bs-table-border-color:var(--mfb-line);--bs-table-striped-bg:var(--mfb-bg);--bs-table-striped-color:var(--mfb-text);--bs-table-hover-bg:var(--mfb-tint);--bs-table-hover-color:var(--mfb-text);color:var(--mfb-text)!important;background:var(--mfb-surface)!important}
html[data-brand][data-lf-world][data-theme] :is(th,td){border-color:var(--mfb-line)!important;color:var(--mfb-text)!important;box-shadow:none!important}
html[data-brand][data-lf-world][data-theme] :is(thead th,.table-light){background:var(--mfb-bg)!important;color:var(--mfb-muted)!important}
html[data-brand][data-lf-world][data-theme] tbody tr{background:var(--mfb-surface)!important}
html[data-brand][data-lf-world][data-theme] tbody tr:hover{background:var(--mfb-tint)!important}
html[data-brand][data-lf-world][data-theme] :is(.form-control,.form-select,input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=hidden]),select,textarea){background-color:var(--mfb-surface)!important;color:var(--mfb-text)!important;border:1px solid var(--mfb-line)!important;border-radius:8px!important;min-height:40px;box-shadow:none!important;font-size:14px;color-scheme:inherit}
html[data-brand][data-lf-world][data-theme] :is(input,textarea)::placeholder{color:var(--mfb-muted)!important;opacity:.8}
html[data-brand][data-lf-world][data-theme] :is(input,select,textarea):focus{border-color:var(--mfb-focus)!important;outline:2px solid color-mix(in srgb,var(--mfb-focus),transparent 72%);outline-offset:1px}
html[data-brand][data-lf-world][data-theme] :focus-visible{outline:2px solid var(--mfb-focus)!important;outline-offset:3px}
html[data-brand][data-lf-world][data-theme] :is(button,.btn,a){-webkit-tap-highlight-color:transparent}
html[data-brand][data-lf-world][data-theme] :is(.btn,.oc-button,.oc-icon-button,.sa-button,.elba-topbar-button,.elba-action-button,.elba-settings-link,.mail-close,.owner-secondary){font-size:13px;font-weight:550;border-radius:8px!important;min-height:36px;line-height:1.4;padding:9px 13px;transition:background-color 150ms,border-color 150ms,box-shadow 150ms,color 150ms;transform:none!important;text-shadow:none!important}
html[data-brand][data-lf-world][data-theme] :is(.btn-outline-secondary,.btn-light,.btn-secondary,.btn-outline-primary,.oc-button,.oc-icon-button,.owner-secondary,.elba-topbar-button,.elba-settings-link,.mail-close){background:var(--mfb-surface)!important;color:var(--mfb-text)!important;border:1px solid var(--mfb-line)!important;box-shadow:none!important}
html[data-brand][data-lf-world][data-theme] :is(.btn-primary,.owner-primary,.sa-button:not(.sa-secondary),.elba-action-button){background:var(--lf-action)!important;color:#082a31!important;border:1px solid transparent!important;box-shadow:none!important;font-weight:650}
html[data-brand][data-lf-world][data-theme] :is(.btn-outline-secondary,.btn-light,.btn-secondary,.btn-outline-primary,.oc-button,.oc-icon-button,.owner-secondary):hover{background:var(--mfb-soft)!important;border-color:var(--mfb-focus)!important}
html[data-brand][data-lf-world][data-theme] :is(.btn-primary,.owner-primary,.sa-button:not(.sa-secondary)):hover{filter:brightness(1.07);box-shadow:0 3px 12px #00bbdd26!important}
html[data-brand][data-lf-world][data-theme] .btn::before,html[data-brand][data-lf-world][data-theme] .btn::after{display:none!important}
html[data-brand][data-lf-world][data-theme] .btn-check:checked+.btn{background:var(--mfb-lavender)!important;color:var(--mfb-text)!important;border-color:var(--mfb-focus)!important}
html[data-brand][data-lf-world][data-theme] :is(.badge.text-bg-light,.badge.bg-light,.text-bg-light,.bg-white,.bg-light,.bg-body-tertiary,.input-group-text){background:var(--mfb-bg)!important;color:var(--mfb-text)!important;border-color:var(--mfb-line)!important}
html[data-brand][data-lf-world][data-theme] :is(.badge,.status-badge){border-radius:6px;box-shadow:none;font-weight:550}
html[data-brand][data-lf-world][data-theme] :is(.alert-danger,.text-danger){color:var(--mfb-danger)!important}
html[data-brand][data-lf-world][data-theme] :is(.alert-warning,.text-warning){color:var(--mfb-warning)!important}
html[data-brand][data-lf-world][data-theme] :is(.alert-success,.text-success){color:var(--mfb-success)!important}
html[data-brand][data-lf-world][data-theme] :is(.alert,.empty-state){border:1px solid var(--mfb-line);border-radius:10px;background:var(--mfb-bg)!important}
html[data-brand][data-lf-world][data-theme] :is(.nav-tabs,.nav-pills){gap:6px;border-color:var(--mfb-line)}
html[data-brand][data-lf-world][data-theme] :is(.nav-tabs,.nav-pills) .nav-link{border-radius:8px;color:var(--mfb-muted)!important;background:transparent;border:1px solid transparent}
html[data-brand][data-lf-world][data-theme] :is(.nav-tabs,.nav-pills) .nav-link.active{color:var(--mfb-text)!important;background:var(--mfb-lavender)!important;border-color:var(--mfb-line)}
html[data-brand][data-lf-world][data-theme] :is(.accordion-button:not(.collapsed),.dropdown-item:hover,.dropdown-item:focus,.list-group-item.active,.mail-conversation.active,.mail-account.active){background:var(--mfb-soft)!important;color:var(--mfb-text)!important;border-color:var(--mfb-focus)!important}
html[data-brand][data-lf-world][data-theme] .dropdown-item{color:var(--mfb-text)}
html[data-brand][data-lf-world][data-theme] .accordion-item{border:1px solid var(--mfb-line)!important;border-radius:10px!important;overflow:clip;margin-bottom:8px}
html[data-brand][data-lf-world][data-theme] .modal-content{border:1px solid var(--mfb-line)!important;border-radius:14px!important}
html[data-brand][data-lf-world][data-theme] :is(.oc-grid,.oc-options summary,.oc-event,.oc-event-meta){border-color:var(--mfb-line)!important}
html[data-brand][data-lf-world][data-theme] .oc-grid{background:var(--mfb-line)!important}
html[data-brand][data-lf-world][data-theme] .oc-day{background:var(--mfb-surface)!important;color:var(--mfb-text)!important}
html[data-brand][data-lf-world][data-theme] :is(.oc-day:hover,.oc-day[aria-pressed=true]){background:var(--mfb-lavender)!important}
html[data-brand][data-lf-world][data-theme] :is(.oc-chip,.oc-options>div){background:var(--mfb-soft)!important;color:var(--mfb-text)!important}
html[data-brand][data-lf-world][data-theme] :is(.oc-day-count,.oc-event-meta,.oc-caption b){color:var(--mfb-muted)!important}
html[data-brand][data-lf-world][data-theme] :is(.oc-text-button,.sa-page-path,.sa-landing){color:var(--mfb-accent)!important}
html[data-brand][data-lf-world][data-theme] :is(.oc-period input,.oc-filters input,.oc-filters select){color-scheme:inherit}
html[data-brand][data-lf-world][data-theme] .sa-page{color-scheme:inherit}
html[data-brand][data-lf-world][data-theme] .sa-page :is(label,small,.sa-help,.sa-axis-note,.sa-status,.sa-subtitle,.sa-conversion-row,.sa-legend,.sa-insight p){color:var(--mfb-muted)!important}
html[data-brand][data-lf-world][data-theme] .sa-page label{font-size:12px}
html[data-brand][data-lf-world][data-theme] .sa-page .sa-section-nav a{color:var(--mfb-accent)!important}
html[data-brand][data-lf-world][data-theme] :is(.app-hero-card,.control-ops-head,.ai-rop-head,.leads-header){background:var(--mfb-surface)!important;box-shadow:none!important}
html[data-brand][data-lf-world][data-theme] :is(.app-hero-card,.control-ops-head,.ai-rop-head,.leads-header)::before,
html[data-brand][data-lf-world][data-theme] :is(.app-hero-card,.control-ops-head,.ai-rop-head,.leads-header)::after{display:none!important}
html[data-brand][data-lf-world][data-theme] .control-center-page .control-ops-title h1{font-size:30px!important}
html[data-brand][data-lf-world][data-theme] .control-center-page .control-section-head h3{font-size:18px!important}
html[data-brand][data-lf-world][data-theme] .control-center-page .control-ops-title p{font-size:14px!important;color:var(--mfb-muted)!important;line-height:1.55}
html[data-brand][data-lf-world][data-theme] .control-center-page .card-body{padding:22px!important}
html[data-brand][data-lf-world][data-theme] .control-center-page .control-analytics-grid{gap:20px}
html[data-brand][data-lf-world][data-theme] .control-center-page .control-summary-strip{gap:10px;margin:20px 0}
html[data-brand][data-lf-world][data-theme] .control-center-page .control-summary-strip strong{font-size:25px}
html[data-brand][data-lf-world][data-theme] .lf-workspace-scene{display:none}
/* The former control-room density and neumorphic chat sidebar were separate
   hardcoded themes. Explicit component adapters keep both themes readable. */
html[data-brand][data-lf-world][data-theme] .app-shell-page :is(.app-topbar,.app-shell-main>*){animation:none!important;opacity:1!important}
html[data-brand][data-lf-world][data-theme] .control-center-page.app-shell-page .control-panel-card>.card-body{padding:22px!important}
html[data-brand][data-lf-world][data-theme] :is(.deal-position-chart,.ai-header-pill.neutral){background:var(--mfb-bg)!important;color:var(--mfb-muted)!important;border-color:var(--mfb-line)!important}
html[data-brand][data-lf-world][data-theme] .control-summary-strip{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(130px,1fr))!important}
html[data-brand][data-lf-world][data-theme] .control-summary-strip>.col-6{width:100%!important;max-width:100%;padding:0!important}
html[data-brand][data-lf-world][data-theme] .control-summary-strip .summary-card{padding:14px!important;border-radius:10px!important;background:var(--mfb-bg)!important}
html[data-brand][data-lf-world][data-theme] .control-summary-strip .summary-card :is(.small,.text-secondary){font-size:12px!important;line-height:1.4!important}
html[data-brand][data-lf-world][data-theme] .control-summary-strip .summary-card :is(.h4,.h5,.summary-value){font-size:27px!important;font-weight:600!important;margin-top:9px}
html[data-brand][data-lf-world][data-theme] .messenger-page .messenger-sidebar-column[data-sidebar-neu=v1]{--neu-bg:var(--mfb-surface);--neu-text:var(--mfb-text);background:var(--mfb-surface)!important;color:var(--mfb-text)!important;border:1px solid var(--mfb-line);border-radius:14px;padding:0;box-shadow:none!important}
html[data-brand][data-lf-world][data-theme] .messenger-page .messenger-sidebar-column[data-sidebar-neu=v1] *{font-family:var(--app-font-sans)!important;text-shadow:none!important;box-shadow:none!important}
html[data-brand][data-lf-world][data-theme] .messenger-page .messenger-sidebar-column[data-sidebar-neu=v1] :is(.card,.card-body,.drawer-toolbar,.drawer-list-stage,.conversation-list,.incident-queue,.empty-state,.drawer-count-badge,.drawer-mode-switch){background:var(--mfb-surface)!important;color:var(--mfb-text)!important}
html[data-brand][data-lf-world][data-theme] .messenger-page .messenger-sidebar-column[data-sidebar-neu=v1] :is(input,select,.form-control,.form-select){background:var(--mfb-surface)!important;color:var(--mfb-text)!important;border:1px solid var(--mfb-line)!important;min-height:40px}
html[data-brand][data-lf-world][data-theme] :is(.chat-mode-chip,.filter-chip,.drawer-inline-count,.manager-filter-chip,.conversation-item){background:var(--mfb-bg)!important;color:var(--mfb-muted)!important;border:1px solid var(--mfb-line)!important;border-radius:8px!important;box-shadow:none!important;font-size:12px}
html[data-brand][data-lf-world][data-theme] :is(.chat-mode-chip.active,.filter-chip.active,.manager-filter-chip.active,.conversation-item.active){background:var(--mfb-lavender)!important;color:var(--mfb-text)!important;border-color:var(--mfb-focus)!important}
html[data-brand][data-lf-world][data-theme] .messenger-page .messenger-sidebar-column[data-sidebar-neu=v1] :is(.chat-mode-chip,.filter-chip,.drawer-count-badge,.empty-copy){color:var(--mfb-text)!important}
@media(max-width:760px){html[data-brand][data-lf-world][data-theme] .control-summary-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}html[data-brand][data-lf-world][data-theme] .control-center-page.app-shell-page .control-panel-card>.card-body{padding:18px!important}}
html[data-brand][data-lf-world][data-theme] [hidden]{display:none!important}
@media(prefers-reduced-motion:reduce){html[data-brand][data-lf-world][data-theme] *,html[data-brand][data-lf-world][data-theme] *::before,html[data-brand][data-lf-world][data-theme] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Map the remaining page modules to the same semantic tokens. */
html[data-brand][data-lf-world][data-theme] body{min-width:0!important;width:auto!important}
html[data-brand][data-lf-world][data-theme] .elba-finance-page{--ef-bg:var(--mfb-bg);--ef-bg-deep:var(--mfb-bg);--ef-sidebar:var(--mfb-surface);--ef-surface:var(--mfb-surface);--ef-surface-2:var(--mfb-bg);--ef-surface-3:var(--mfb-soft);--ef-line:var(--mfb-line);--ef-line-strong:var(--mfb-line);--ef-text:var(--mfb-text);--ef-muted:var(--mfb-muted);--ef-subtle:var(--mfb-muted);--ef-blue:var(--mfb-accent);--ef-cyan:var(--mfb-accent);--ef-green:var(--mfb-success);--ef-amber:var(--mfb-warning);--ef-red:var(--mfb-danger);--ef-shadow:none}
html[data-brand][data-lf-world][data-theme] .cross-posting-page{--cp-bg:var(--mfb-bg);--cp-panel:var(--mfb-surface);--cp-panel-soft:var(--mfb-bg);--cp-line:var(--mfb-line);--cp-line-soft:var(--mfb-line);--cp-text:var(--mfb-text);--cp-muted:var(--mfb-muted);--cp-blue:var(--mfb-accent);--cp-cyan:var(--mfb-accent);--cp-green:var(--mfb-success);--cp-amber:var(--mfb-warning);--cp-red:var(--mfb-danger)}
html[data-brand][data-lf-world][data-theme] .max-invite-page{--max-bg:var(--mfb-bg);--max-panel:var(--mfb-surface);--max-panel-soft:var(--mfb-bg);--max-line:var(--mfb-line);--max-muted:var(--mfb-muted);--max-text:var(--mfb-text);--max-accent:var(--mfb-accent)}
html[data-brand][data-lf-world][data-theme] .mail-page{--mail-bg:var(--mfb-bg);--mail-panel:var(--mfb-surface);--mail-panel-2:var(--mfb-soft);--mail-line:var(--mfb-line);--mail-muted:var(--mfb-muted);--mail-text:var(--mfb-text);--mail-accent:var(--mfb-accent);overflow:auto}
html[data-brand][data-lf-world][data-theme] :is(.elba-finance-layout,.elba-finance-topbar,.elba-finance-sidebar,.elba-finance-section,.elba-finance-rail-card,.stories-command,.stories-tabs,.stories-panel,.stories-panel__head,.story-library-card,.crosspost-commandbar,.crosspost-sourcebar,.crosspost-view,.max-invite-commandbar,.max-invite-operations,.max-invite-sender-limits,.max-invite-day,.max-invite-policy,.max-invite-settings,.max-invite-workbench,.sa-total,.sa-step,.sa-insight,.sa-journey,.scope-list){background:var(--mfb-surface)!important;color:var(--mfb-text)!important;border-color:var(--mfb-line)!important;border-radius:14px;box-shadow:none!important}
html[data-brand][data-lf-world][data-theme] :is(.elba-finance-content,.elba-finance-menu,.elba-finance-kpi-strip,.elba-finance-mini-stats,.elba-finance-submenu,.elba-finance-menu-item,.elba-finance-menu-child,.elba-finance-menu-group,.elba-finance-brand,.stories-tab,.story-library-card__body,.story-assign-bar,.crosspost-tabs,.crosspost-kpi,.crosspost-filterset,.crm-offline-sheet-meta,.ai-rop-log-window,.ai-rop-queue,.sa-note,.sa-period-totals,.sa-profile,.sa-trace,.sa-node,.scope-list li,.connect-card .status,.mail-migration-note){background:var(--mfb-bg)!important;color:var(--mfb-text)!important;border-color:var(--mfb-line)!important;box-shadow:none!important}
html[data-brand][data-lf-world][data-theme] :is(.elba-finance-menu-item,.elba-finance-menu-child,.stories-tab,.crosspost-tabs button,.crosspost-filterset button,.max-invite-toolbar button,.max-invite-footer button){background:transparent!important;color:var(--mfb-muted)!important;border:1px solid var(--mfb-line)!important;border-radius:8px;min-height:38px}
html[data-brand][data-lf-world][data-theme] :is(.elba-finance-menu-item.active,.elba-finance-menu-child.active,.stories-tab.is-active,.stories-tab.active,.crosspost-tabs button.active,.crosspost-filterset button.active){background:var(--mfb-lavender)!important;color:var(--mfb-text)!important;border-color:var(--mfb-focus)!important}
html[data-brand][data-lf-world][data-theme] :is(.stories-command,.stories-panel,.stories-tabs){border:1px solid var(--mfb-line)!important}
html[data-brand][data-lf-world][data-theme] :is(.stories-panel,.crosspost-view){padding:20px}
html[data-brand][data-lf-world][data-theme] :is(.stories-panel__head,.crosspost-viewhead){border-bottom-color:var(--mfb-line)}
html[data-brand][data-lf-world][data-theme] :is(.stories-command__subtitle,.stories-command__metrics small,.story-library-meta,.story-library-name,.story-library-card__head,.story-library-summary,.stories-muted,.sa-total>span,.sa-step-name,.sa-time,.sa-loss,.sa-period-totals small,.sa-insight p,.scope-list li,.scope-list small){color:var(--mfb-muted)!important}
html[data-brand][data-lf-world][data-theme] .story-library-preview{background:#081d23!important}
html[data-brand][data-lf-world][data-theme] .story-badge.success{background:var(--mfb-tint)!important;color:var(--mfb-success)!important}
html[data-brand][data-lf-world][data-theme] :is(.btn-outline-dark,.btn-outline-info,.btn-outline-success,.btn-outline-danger,.btn-outline-warning,.ai-rop-live){background:var(--mfb-surface)!important;color:var(--mfb-accent)!important;border-color:var(--mfb-line)!important}
html[data-brand][data-lf-world][data-theme] .btn-outline-danger{color:var(--mfb-danger)!important}.btn-outline-danger:hover{background:var(--mfb-lavender)!important}
html[data-brand][data-lf-world][data-theme] .btn-outline-warning{color:var(--mfb-warning)!important}
html[data-brand][data-lf-world][data-theme] .ai-rop-head h1{white-space:nowrap}
html[data-brand][data-lf-world][data-theme] main :is(small,.small){font-size:12px}
html[data-brand][data-lf-world][data-theme] .control-summary-strip .stat-card{padding:14px!important;border-radius:10px!important;min-height:98px;background:var(--mfb-bg)!important}
html[data-brand][data-lf-world][data-theme] .control-summary-strip .stat-label{font-size:12px!important;line-height:1.4!important;white-space:normal!important;overflow:visible!important;color:var(--mfb-muted)!important}
html[data-brand][data-lf-world][data-theme] .control-summary-strip .stat-value{font-size:27px!important;font-weight:600!important;margin-top:10px;color:var(--mfb-text)!important}
html[data-brand][data-lf-world][data-theme] .max-invite-shell{gap:18px}
html[data-brand][data-lf-world][data-theme] :is(.max-invite-commandbar,.max-invite-settings){grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:20px}
html[data-brand][data-lf-world][data-theme] :is(.max-invite-commandbar,.max-invite-settings,.max-invite-workbench,.max-invite-operations)>*{min-width:0}
html[data-brand][data-lf-world][data-theme] .max-invite-table-wrap{max-width:100%;overflow:auto}
html[data-brand][data-lf-world][data-theme] .max-invite-toolbar{display:flex;flex-wrap:wrap;gap:10px}
html[data-brand][data-lf-world][data-theme] .max-invite-search{min-width:0;max-width:100%;flex:1 1 240px}
html[data-brand][data-lf-world][data-theme] .max-invite-page :is(.max-invite-title span,.max-invite-growth-foot span,.max-invite-growth-foot b,.max-invite-sender-copy>span){color:var(--mfb-muted)!important}
html[data-brand][data-lf-world][data-theme] .mail-shell{height:auto;grid-template-rows:auto minmax(500px,1fr);min-height:calc(100dvh - 84px)!important}
html[data-brand][data-lf-world][data-theme] .mail-commandbar{grid-template-columns:minmax(0,1fr) auto;gap:16px;padding:20px}
html[data-brand][data-lf-world][data-theme] .mail-commandbar>*{min-width:0}.mail-workspace{min-width:0}
@media(max-width:1400px){html[data-brand][data-lf-world][data-theme] .elba-finance-layout{grid-template-columns:190px minmax(0,1fr)}html[data-brand][data-lf-world][data-theme] .elba-finance-rail{grid-column:1/-1}}
@media(max-width:1200px){html[data-brand][data-lf-world][data-theme] .mail-workspace{grid-template-columns:minmax(170px,1fr) minmax(0,2fr)}html[data-brand][data-lf-world][data-theme] .mail-thread{grid-column:1/-1;min-height:420px}html[data-brand][data-lf-world][data-theme] .mail-commandbar{grid-template-columns:minmax(0,1fr)}html[data-brand][data-lf-world][data-theme] .mail-commandbar>*{flex-wrap:wrap}html[data-brand][data-lf-world][data-theme] .mail-kpis{width:100%;display:flex;flex-wrap:wrap}html[data-brand][data-lf-world][data-theme] .elba-finance-layout{display:block}}
@media(max-width:760px){
 html[data-brand][data-lf-world][data-theme] :is(.max-invite-commandbar,.max-invite-settings,.max-invite-operations,.max-invite-day){grid-template-columns:minmax(0,1fr)!important;gap:16px}
 html[data-brand][data-lf-world][data-theme] .max-invite-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
 html[data-brand][data-lf-world][data-theme] .max-invite-actions{flex-wrap:wrap}
 html[data-brand][data-lf-world][data-theme] .max-invite-settings :is(input,select){max-width:100%;width:100%}
 html[data-brand][data-lf-world][data-theme] .max-invite-page :is(small,p,dt,dd,label,summary,.max-invite-growth-foot span,.max-invite-table th){font-size:12px!important;line-height:1.5!important}
 html[data-brand][data-lf-world][data-theme] :is(.max-invite-day-panel,.max-invite-activity,.max-invite-log){min-width:0;padding:16px;border-left:0}
 html[data-brand][data-lf-world][data-theme] .max-invite-schedule{grid-template-columns:1fr 1fr;gap:12px}
 html[data-brand][data-lf-world][data-theme] .max-invite-footer{flex-wrap:wrap;gap:12px}
 html[data-brand][data-lf-world][data-theme] :is(.mail-workspace,.mail-commandbar){grid-template-columns:minmax(0,1fr)}
 html[data-brand][data-lf-world][data-theme] .mail-inbox{max-height:360px;min-height:180px}
 html[data-brand][data-lf-world][data-theme] .mail-accounts{max-height:220px;overflow:auto}
 html[data-brand][data-lf-world][data-theme] .mail-thread{min-height:420px}
 html[data-brand][data-lf-world][data-theme] .elba-finance-sidebar{padding:16px}
 html[data-brand][data-lf-world][data-theme] .elba-finance-menu{display:flex;gap:8px;overflow:auto;max-width:100%}
 html[data-brand][data-lf-world][data-theme] .elba-finance-menu-group{flex:0 0 auto}
 html[data-brand][data-lf-world][data-theme] :is(.stories-panel,.crosspost-view){padding:16px}
}
html[data-brand][data-lf-world][data-theme] :is(.elba-finance-main,.elba-finance-rail,.elba-finance-empty,.elba-finance-kpi-strip>article,.elba-finance-mini-stats>div,.elba-finance-connection,.max-invite-live-status,.max-invite-summary>div,.max-invite-bulkbar){background:var(--mfb-bg)!important;color:var(--mfb-text)!important;box-shadow:none!important;border-color:var(--mfb-line)!important;border-radius:10px}
html[data-brand][data-lf-world][data-theme] :is(.elba-finance-empty span,.elba-finance-kpi-strip small,.elba-finance-connection p,.elba-finance-connection span,.elba-finance-mini-stats span,.max-invite-schedule dt,.max-invite-schedule dd,.max-invite-policy summary,.max-invite-summary small,.max-invite-summary span,.max-invite-panel-heading>span,.max-invite-day-panel>span,.max-invite-growth-heading>span,.oc-event-date small,.oc-event-copy small){color:var(--mfb-muted)!important}
html[data-brand][data-lf-world][data-theme] :is(.max-invite-bulkbar button,.story-summary-pill,.story-badge.neutral,.elba-finance-content .btn-outline-info){background:var(--mfb-soft)!important;color:var(--mfb-text)!important;border-color:var(--mfb-line)!important}
html[data-brand][data-lf-world][data-theme] :is(.oc-status-active,.story-summary-pill.success){background:var(--mfb-tint)!important;color:var(--mfb-success)!important}
html[data-brand][data-lf-world][data-theme] :is(.oc-status-cancelled,.story-summary-pill.danger){background:var(--mfb-lavender)!important;color:var(--mfb-danger)!important}
html[data-brand][data-lf-world][data-theme] .story-summary-pill.warning{background:var(--mfb-lavender)!important;color:var(--mfb-warning)!important}
html[data-brand][data-lf-world][data-theme] .oc-sync{border-color:var(--mfb-line);color:var(--mfb-muted)}
html[data-brand][data-lf-world][data-theme] .elba-finance-layout{min-height:calc(100dvh - 160px)}
html[data-brand][data-lf-world][data-theme] .elba-finance-sidebar{max-height:none;position:static}
html[data-brand][data-lf-world][data-theme] .elba-finance-rail-card{min-height:0}
html[data-brand][data-lf-world][data-theme] .max-invite-workbench{min-height:420px}
html[data-brand][data-lf-world][data-theme] .max-invite-policy summary{padding:12px;min-height:44px}
html[data-brand][data-lf-world][data-theme] .max-invite-bulkbar{flex-wrap:wrap;gap:8px;padding:12px}
.owner-chat-tabs{display:none}
@media(max-width:760px){
 html[data-brand][data-lf-world][data-theme] .messenger-page main.owner-main{display:flex!important;flex-direction:column!important;gap:16px}
 .owner-chat-tabs{display:flex;gap:4px;padding:4px;border:1px solid var(--mfb-line);border-radius:10px;background:var(--mfb-surface);position:sticky;top:76px;z-index:15}
 .owner-chat-tabs button{flex:1;min-width:0;min-height:44px;border:0;border-radius:7px;color:var(--mfb-muted);background:transparent;font:500 13px Onest,sans-serif}
 .owner-chat-tabs button[aria-pressed=true]{background:var(--mfb-lavender);color:var(--mfb-text)}
 html[data-brand][data-lf-world][data-theme] .messenger-page .messenger-sidebar-column[data-sidebar-neu=v1]{display:block!important;width:100%!important;position:static!important;height:auto!important;max-height:none!important;min-height:480px;transform:none!important}
 html[data-brand][data-lf-world][data-theme] .messenger-page .messenger-content-column{width:100%!important;min-width:0;overflow:visible}
 html[data-brand][data-lf-world][data-theme] .messenger-page[data-owner-chat=list] .messenger-content-column{display:none!important}
 html[data-brand][data-lf-world][data-theme] .messenger-page:not([data-owner-chat=list]) .messenger-sidebar-column{display:none!important}
 html[data-brand][data-lf-world][data-theme] .messenger-page .dashboard-topbar{display:none!important}
 html[data-brand][data-lf-world][data-theme] .messenger-page .dashboard-workspace{display:flex!important;flex-direction:column!important;height:auto!important;min-height:0!important;margin:0!important;gap:16px}
 html[data-brand][data-lf-world][data-theme] .messenger-page .dashboard-workspace>:is(section,aside){padding:0!important;width:100%!important;max-width:100%!important;flex:0 0 auto;min-height:0!important}
 html[data-brand][data-lf-world][data-theme] .messenger-page[data-owner-chat=thread] .dashboard-workspace>aside:has(.inspector-card){display:none!important}
 html[data-brand][data-lf-world][data-theme] .messenger-page[data-owner-chat=details] .dashboard-workspace>section:has(.dashboard-thread){display:none!important}
 html[data-brand][data-lf-world][data-theme] .messenger-page .dashboard-thread{min-height:calc(var(--owner-visible-height,100dvh) - 240px);height:auto!important;overflow:visible!important}
 html[data-brand][data-lf-world][data-theme] .messenger-page #emptyState{padding:40px 24px!important;min-height:360px}
 html[data-brand][data-lf-world][data-theme] .messenger-page .drawer-list-stage{max-height:none;height:auto;min-height:240px}
 html[data-brand][data-lf-world][data-theme] .messenger-page .messenger-sidebar-column[data-sidebar-neu=v1] :is(.chat-mode-chip,.filter-chip,input,select){min-height:44px;font-size:13px!important}
}
html[data-brand][data-lf-world][data-theme] .live-indicator{color:var(--mfb-success)!important}
html[data-brand][data-lf-world][data-theme] .elba-finance-link-button{background:var(--mfb-soft)!important;color:var(--mfb-accent)!important;border-color:var(--mfb-line)!important}
html[data-brand][data-lf-world][data-theme] :is(.ai-rop-queue-freshness,.ai-rop-freshness,.ai-rop-send-group){background:var(--mfb-bg)!important;border-color:var(--mfb-line)!important;color:var(--mfb-muted)!important}
html[data-brand][data-lf-world][data-theme] :is(.story-summary-pill>span,.story-summary-pill>small,.story-library-card__head small,.story-assign-bar__label){color:var(--mfb-muted)!important}
html[data-brand][data-lf-world][data-theme] .stories-quick-status{background:var(--mfb-bg)!important;color:var(--mfb-text)!important;border-color:var(--mfb-line)!important}
html[data-brand][data-lf-world][data-theme] .stories-quick-status :is(span,a){color:var(--mfb-danger)!important}
html[data-brand][data-lf-world][data-theme] :is(.crosspost-source-mark,.vk-mark){background:#116a7c!important;color:white!important}
html[data-brand][data-lf-world][data-theme] .max-invite-page main :is(small,.max-invite-log-empty,.max-invite-panel-empty,dt,dd,summary,.max-invite-operation-copy>span,.max-invite-panel-heading>div>span,.max-invite-day-panel>div>span,.max-invite-panel-heading>span,.max-invite-chart-legend span){color:var(--mfb-muted)!important}
html[data-brand][data-lf-world][data-theme] :is(.settings-platform-mark,.max-web-mode-badge,.max-web-owner-label,.max-web-owner-policy strong,.max-web-owner-chat>code){color:var(--mfb-accent)!important;background:var(--mfb-tint)!important;border-color:var(--mfb-line)!important}
html[data-brand][data-lf-world][data-theme] :is(.max-web-session-card,.max-web-metrics,.max-web-owner-chat,.max-web-owner-policy,.max-web-owner-selector,.max-web-control-intro){background:var(--mfb-bg)!important;border-color:var(--mfb-line)!important;color:var(--mfb-text)!important}
html[data-brand][data-lf-world][data-theme] .max-web-state.success{background:var(--mfb-tint)!important;color:var(--mfb-success)!important}
html[data-brand][data-lf-world][data-theme] :is(.max-web-state.warning,.max-web-policy-lock){background:var(--mfb-lavender)!important;color:var(--mfb-warning)!important}
html[data-brand][data-lf-world][data-theme] .max-web-state.error{background:var(--mfb-lavender)!important;color:var(--mfb-danger)!important}
@media(max-width:760px){
 html[data-brand][data-lf-world][data-theme] .messenger-page main.owner-main{height:auto!important;overflow:visible!important;min-height:calc(100dvh - 60px)!important}
 .owner-chat-tabs{position:static;flex-shrink:0}
 html[data-brand][data-lf-world][data-theme] .messenger-page .messenger-sidebar-column[data-sidebar-neu=v1]{flex:none!important;height:auto!important;overflow:visible!important}
 html[data-brand][data-lf-world][data-theme] .messenger-page .messenger-sidebar-column[data-sidebar-neu=v1] .dashboard-drawer{height:auto!important;min-height:480px;overflow:visible!important}
 html[data-brand][data-lf-world][data-theme] .messenger-page .messenger-sidebar-column[data-sidebar-neu=v1] .card-body{display:flex!important;flex-direction:column!important;gap:16px;height:auto!important;overflow:visible!important;padding:16px!important}
 html[data-brand][data-lf-world][data-theme] .messenger-page .messenger-sidebar-column[data-sidebar-neu=v1] .drawer-toolbar{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;max-height:none}
 html[data-brand][data-lf-world][data-theme] .messenger-page .messenger-sidebar-column[data-sidebar-neu=v1] .drawer-toolbar-head{display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:0}
 html[data-brand][data-lf-world][data-theme] .messenger-page .messenger-sidebar-column[data-sidebar-neu=v1] .drawer-mode-switch{display:flex;flex-direction:row;gap:6px;max-width:100%;padding:0}
 html[data-brand][data-lf-world][data-theme] .messenger-page .messenger-sidebar-column[data-sidebar-neu=v1] .drawer-mode-switch button{flex:1;min-width:0}
 html[data-brand][data-lf-world][data-theme] .messenger-page .messenger-sidebar-column[data-sidebar-neu=v1] .drawer-platforms{display:flex;flex-direction:row;flex-wrap:wrap;gap:6px;padding:0}
 html[data-brand][data-lf-world][data-theme] .messenger-page .messenger-sidebar-column[data-sidebar-neu=v1] :is(.drawer-search-block,.drawer-sort-block){grid-column:1/-1;min-width:0}
 html[data-brand][data-lf-world][data-theme] .messenger-page .messenger-sidebar-column[data-sidebar-neu=v1] :is(input.form-control,select.form-select){font-size:16px!important;box-shadow:none!important;min-height:44px!important}
 html[data-brand][data-lf-world][data-theme] .messenger-page .messenger-sidebar-column[data-sidebar-neu=v1] :is(.drawer-list-stage,.conversation-list){max-height:none;min-height:160px;overflow:visible}
}
html[data-brand][data-lf-world][data-theme] #aiRopQueueFreshness{background:var(--mfb-bg)!important;color:var(--mfb-muted)!important;border-color:var(--mfb-line)!important}
html[data-brand][data-lf-world][data-theme] .story-library-card__meta span{color:var(--mfb-muted)!important}
html[data-brand][data-lf-world][data-theme] .stories-command__metrics .story-summary-pill span{color:var(--mfb-muted)!important}
@media(max-width:760px){
 html[data-brand][data-lf-world][data-theme] .messenger-page .messenger-sidebar-column[data-sidebar-neu=v1] .drawer-platforms .filter-chip{width:auto!important;max-width:100%;flex:1 1 auto!important;padding:8px!important;min-width:48px}
 html[data-brand][data-lf-world][data-theme] .messenger-page .messenger-sidebar-column[data-sidebar-neu=v1] .drawer-platforms .drawer-inline-count{display:none}
 html[data-brand][data-lf-world][data-theme] .messenger-page .messenger-sidebar-column[data-sidebar-neu=v1] :is(.drawer-search-block,.drawer-sort-block){box-shadow:none!important;background:transparent!important;filter:none!important;padding:0!important}
 html[data-brand][data-lf-world][data-theme] .messenger-page .messenger-sidebar-column[data-sidebar-neu=v1] :is(.drawer-search-block,.drawer-sort-block)::before,html[data-brand][data-lf-world][data-theme] .messenger-page .messenger-sidebar-column[data-sidebar-neu=v1] :is(.drawer-search-block,.drawer-sort-block)::after{display:none!important}
}
html[data-brand][data-lf-world][data-theme] .manager-activity-labels text{fill:var(--mfb-muted)!important}
html[data-brand][data-lf-world][data-theme] .sa-page :is(.sa-chart text,.sa-axis text){fill:var(--mfb-muted)!important}

/* Explicit IDs supersede the retired chat sidebar inset treatment. */
html[data-brand][data-lf-world][data-theme] .messenger-page .messenger-sidebar-column[data-sidebar-neu=v1] :is(#searchInput,#sortSelect){box-shadow:none!important;border:1px solid var(--mfb-line)!important;background:var(--mfb-surface)!important;color:var(--mfb-text)!important}

html[data-brand][data-lf-world][data-theme] .messenger-page :is(.thread-header,.thread-composer,.capability-note){background:var(--mfb-bg)!important;color:var(--mfb-muted)!important;border-color:var(--mfb-line)!important;box-shadow:none!important}
html[data-brand][data-lf-world][data-theme] .messenger-page .thread-header{border-radius:13px 13px 0 0}
html[data-brand][data-lf-world][data-theme] .messenger-page .thread-composer{border-radius:0 0 13px 13px}
@media(max-width:760px){
 html[data-brand][data-lf-world][data-theme] .messenger-page .thread-header{padding:18px!important;display:flex!important;flex-direction:column;gap:12px}
 html[data-brand][data-lf-world][data-theme] .messenger-page .thread-title-row{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
 html[data-brand][data-lf-world][data-theme] .messenger-page #threadTitle{font-size:22px!important;max-width:100%}
 html[data-brand][data-lf-world][data-theme] .messenger-page .thread-header .platform-badge{width:auto!important;flex:none;padding:5px 10px}
 html[data-brand][data-lf-world][data-theme] .messenger-page .thread-header>.d-flex{flex-wrap:wrap}
}
html[data-brand][data-lf-world][data-theme] .messenger-page .thread-view-shell:not([hidden]){display:flex!important;flex-direction:column!important;flex:1;min-height:0;overflow:hidden;border-radius:13px}
html[data-brand][data-lf-world][data-theme] .messenger-page :is(.thread-header,.capability-note,.thread-composer){position:static!important;flex:none!important;max-width:100%;min-width:0}
html[data-brand][data-lf-world][data-theme] .messenger-page .message-list{flex:1 1 auto!important;min-height:180px;overflow-y:auto!important;max-height:none;padding:16px!important}
html[data-brand][data-lf-world][data-theme] .messenger-page .composer-form{display:flex!important;flex-direction:column!important;gap:12px;align-items:stretch!important;width:100%;min-width:0}
html[data-brand][data-lf-world][data-theme] .messenger-page .composer-input{width:100%!important;min-width:0;min-height:84px!important;max-height:180px;resize:vertical}
html[data-brand][data-lf-world][data-theme] .messenger-page .composer-actions{display:flex!important;flex-wrap:wrap;justify-content:space-between;gap:10px}
html[data-brand][data-lf-world][data-theme] .messenger-page .composer-actions-start{display:flex;flex-wrap:wrap;align-items:center;gap:8px;flex:1;min-width:0}
html[data-brand][data-lf-world][data-theme] .messenger-page .composer-actions-start>span{font-size:11px!important;line-height:1.4}
html[data-brand][data-lf-world][data-theme] .messenger-page .dashboard-thread>.card-body{padding:0!important;min-height:0;display:flex;flex-direction:column;flex:1}
html[data-brand][data-lf-world][data-theme] .messenger-page .messenger-sidebar-column #conversationList .conversation-item{box-shadow:none!important;background:var(--mfb-surface)!important;border:1px solid var(--mfb-line)!important}
html[data-brand][data-lf-world][data-theme] .messenger-page .messenger-sidebar-column #conversationList .conversation-item.active{box-shadow:inset 3px 0 #9073f7!important;background:var(--mfb-soft)!important}
@media(min-width:1201px){
 html[data-brand][data-lf-world][data-theme] .messenger-page main.messenger-shell{display:grid!important;grid-template-columns:272px minmax(0,1fr)!important;gap:16px!important;height:auto!important;overflow:visible!important}
 html[data-brand][data-lf-world][data-theme] .messenger-page .messenger-content-column{min-width:0;overflow:visible}
 html[data-brand][data-lf-world][data-theme] .messenger-page .dashboard-workspace{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important;height:auto!important;margin:0!important}
 html[data-brand][data-lf-world][data-theme] .messenger-page .dashboard-workspace>:is(section,aside){width:100%!important;max-width:100%!important;padding:0!important;min-width:0}
 html[data-brand][data-lf-world][data-theme] .messenger-page .dashboard-thread{height:720px!important;max-height:none;min-height:600px}
 html[data-brand][data-lf-world][data-theme] .messenger-page .dashboard-inspector{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px!important}
 html[data-brand][data-lf-world][data-theme] .messenger-page .dashboard-inspector>.inspector-card:first-child{grid-column:1/-1}
 html[data-brand][data-lf-world][data-theme] .messenger-page .messenger-sidebar-column{align-self:start;height:calc(100dvh - 152px)!important;min-height:620px;position:sticky!important;top:112px}
}
@media(min-width:761px) and (max-width:1200px){
 html[data-brand][data-lf-world][data-theme] .messenger-page main.messenger-shell{display:flex!important;flex-direction:column!important;height:auto!important;overflow:visible!important;gap:20px}
 html[data-brand][data-lf-world][data-theme] .messenger-page .messenger-sidebar-column{order:-1;width:100%!important;height:450px!important;min-height:0;position:static!important}
 html[data-brand][data-lf-world][data-theme] .messenger-page .messenger-content-column{width:100%!important;overflow:visible}
 html[data-brand][data-lf-world][data-theme] .messenger-page .dashboard-workspace{display:flex!important;flex-direction:column!important;gap:16px!important;height:auto!important;margin:0!important}
 html[data-brand][data-lf-world][data-theme] .messenger-page .dashboard-workspace>:is(section,aside){width:100%!important;max-width:100%!important;padding:0!important}
 html[data-brand][data-lf-world][data-theme] .messenger-page .dashboard-thread{height:720px!important}
}
@media(max-width:760px){
 html[data-brand][data-lf-world][data-theme] .messenger-page .message-list{flex:none!important;max-height:55dvh!important;min-height:180px}
 html[data-brand][data-lf-world][data-theme] .messenger-page .thread-view-shell:not([hidden]){overflow:visible}
}
@media(min-width:1201px){
 html[data-brand][data-lf-world][data-theme] .messenger-page main.messenger-shell{grid-template-columns:320px minmax(0,1fr)!important}
 html[data-brand][data-lf-world][data-theme] .messenger-page .messenger-sidebar-column[data-sidebar-neu=v1]{width:100%!important;min-width:0!important;max-width:100%!important;flex:none!important}
}
@media(max-width:760px){
 html[data-brand][data-lf-world][data-theme] .messenger-page .dashboard-thread{height:auto!important;max-height:none!important}
 html[data-brand][data-lf-world][data-theme] .messenger-page .dashboard-thread>.card-body{height:auto!important;max-height:none!important;overflow:visible!important;flex:none!important}
 html[data-brand][data-lf-world][data-theme] .messenger-page .thread-view-shell:not([hidden]){height:auto!important;max-height:none!important;min-height:0!important;flex:none!important;overflow:visible!important}
 html[data-brand][data-lf-world][data-theme] .messenger-page .message-list{height:auto!important;min-height:0!important;max-height:55dvh!important}
}

/* Inspector pass 22.09.2026: readable type floor, light-theme leftovers and
   the action columns that squeezed their own copy into a strip.
   Contract sizes: card text 14px, controls 13px, short labels 12px. */

html[data-brand][data-lf-world][data-theme] main :is(label,.form-label){font-size:12.5px!important;line-height:1.4!important}
html[data-brand][data-lf-world][data-theme] main label>:is(span,small,b,strong){font-size:12px!important;line-height:1.4!important;letter-spacing:0}
html[data-brand][data-lf-world][data-theme] :is([class*=kpi],[class*=summary-card],[class*=summary-grid]) :is(span,small){font-size:12px!important;line-height:1.35!important}
html[data-brand][data-lf-world][data-theme] main :is(small,.small){font-size:12px!important;line-height:1.45!important}
html[data-brand][data-lf-world][data-theme] main dt{font-size:12px!important;line-height:1.4!important}
html[data-brand][data-lf-world][data-theme] main dd{font-size:12.5px!important;line-height:1.45!important}
html[data-brand][data-lf-world][data-theme] main :is(th,summary){font-size:12px!important;line-height:1.4!important;letter-spacing:.02em!important}
html[data-brand][data-lf-world][data-theme] :is(.badge,.status-badge,[class*=-chip],[class*=-pill],[class*=-badge],[class*=-live],[class*=-meta],[class*=__label]){font-size:12px!important;line-height:1.35!important;letter-spacing:0}
html[data-brand][data-lf-world][data-theme] [class*=-pill] :is(span,small){font-size:12px!important;line-height:1.35!important}
html[data-brand][data-lf-world][data-theme] :is([class*=-kicker],[class*=-eyebrow]){font-size:11.5px!important;line-height:1.45!important}
html[data-brand][data-lf-world][data-theme] main :is(.btn-sm,.form-select-sm,.form-control-sm){font-size:12.5px!important}
html[data-brand][data-lf-world][data-theme] main button:not(.btn):not(.filter-chip):not(.chat-mode-chip){font-size:12.5px!important;line-height:1.4!important}
html[data-brand][data-lf-world][data-theme] .app-hero-card :is(p,.text-body-secondary){font-size:13px!important;line-height:1.55!important}
html[data-brand][data-lf-world][data-theme] .messenger-page .composer-actions-start>span{font-size:12px!important;line-height:1.45!important}

/* Technical labels use the product typeface, not a stray mono stack. */
html[data-brand][data-lf-world][data-theme]{--app-font-mono:var(--app-font-sans);--neu-font-mono:var(--app-font-sans);--neu-font-display:var(--app-font-display)}
html[data-brand][data-lf-world][data-theme] .messenger-sidebar-column[data-sidebar-neu=v1]{--neu-font-mono:var(--app-font-sans);--neu-font-display:var(--app-font-display)}
html[data-brand][data-lf-world][data-theme] :is(.max-web-kicker,.max-web-mode-badge,.max-web-session-role){font-size:12px!important;letter-spacing:.02em!important;line-height:1.4!important}
html[data-brand][data-lf-world][data-theme] :is(.max-web-state,.max-web-state-copy,.max-web-session-card :is(span,strong,small),.max-web-metrics :is(span,small)){font-size:12px!important;line-height:1.4!important}

/* Page-local captions that stayed below the floor. */
html[data-brand][data-lf-world][data-theme] .leads-live-panel :is(span,small,p){font-size:12px!important;line-height:1.4!important}
html[data-brand][data-lf-world][data-theme] :is(.leads-health-card,.leads-summary-card) :is(p,span,small){font-size:12px!important;line-height:1.4!important}
html[data-brand][data-lf-world][data-theme] :is(.ai-rop-summary,.ai-rop-summary-card) :is(span,small,p){font-size:12px!important;line-height:1.4!important}
html[data-brand][data-lf-world][data-theme] .max-invite-page p{font-size:12.5px!important;line-height:1.5!important}
html[data-brand][data-lf-world][data-theme] .elba-finance-page :is(.elba-finance-mini-stats,.elba-finance-kpi-strip,.elba-finance-menu-group,.elba-finance-menu) :is(span,small,p){font-size:12px!important;line-height:1.4!important}
html[data-brand][data-lf-world][data-theme] :is(.crosspost-viewhead,.crosspost-title,.crosspost-commandbar) p{font-size:12.5px!important;line-height:1.5!important}
html[data-brand][data-lf-world][data-theme] .clients-active-view{font-size:12px!important;line-height:1.4!important}
html[data-brand][data-lf-world][data-theme] .settings-status-strip .settings-status-item :is(span,small,strong,b){font-size:12px!important;line-height:1.4!important}
html[data-brand][data-lf-world][data-theme] .story-library-card__body :is(span,small,strong,b){font-size:12px!important;line-height:1.4!important}
html[data-brand][data-lf-world][data-theme] .story-library-card__head strong{font-size:12.5px!important;line-height:1.35!important}
html[data-brand][data-lf-world][data-theme] .story-library-preview span{font-size:11.5px!important;line-height:1.4!important}
html[data-brand][data-lf-world][data-theme] .max-invite-page :is(.max-invite-title,.max-invite-operation-copy,.max-invite-panel-heading,.max-invite-growth-heading) :is(span,small,strong,b){font-size:11.5px!important;line-height:1.45!important}
html[data-brand][data-lf-world][data-theme] .elba-finance-page :is(.elba-finance-section-head,.elba-finance-brand,.elba-finance-rail-card>header) :is(span,small,strong,b){font-size:11.5px!important;line-height:1.45!important}
html[data-brand][data-lf-world][data-theme] .ai-rop-log-summary :is(span,small){font-size:12px!important;line-height:1.4!important}
html[data-brand][data-lf-world][data-theme] .max-invite-chart-legend :is(span,small,strong,b){font-size:11.5px!important;line-height:1.45!important}
html[data-brand][data-lf-world][data-theme] .crosspost-shell p{font-size:12.5px!important;line-height:1.5!important}
html[data-brand][data-lf-world][data-theme] :is(.ai-rop-log-panel,.ai-rop-log-window) :is(span,small,strong,b){font-size:12px!important;line-height:1.4!important}

/* Leads KPI strip: two readable lines per card instead of nine cards per row. */
html[data-brand][data-lf-world][data-theme] .app-shell-page--leads .leads-summary-grid{grid-template-columns:repeat(auto-fit,minmax(9.75rem,1fr))!important;gap:8px!important}
html[data-brand][data-lf-world][data-theme] .app-shell-page--leads .leads-health-grid{grid-template-columns:repeat(auto-fit,minmax(10.5rem,1fr))!important;gap:8px!important}
html[data-brand][data-lf-world][data-theme] .app-shell-page--leads :is(.leads-summary-card,.leads-health-card){min-height:62px!important;align-items:center!important;padding:10px 12px!important}
html[data-brand][data-lf-world][data-theme] .app-shell-page--leads :is(.leads-summary-card,.leads-health-card) :is(span,small){font-size:12px!important;line-height:1.3!important}
html[data-brand][data-lf-world][data-theme] .app-shell-page--leads :is(.leads-summary-card,.leads-health-card) strong{font-size:17px!important;line-height:1.15!important}

/* Hero actions: 58/42 keeps the copy wide and the badges on one row. */
@media(min-width:1200px){
 html[data-brand][data-lf-world][data-theme] .app-hero-card .row:has(>.col-xl-8:first-child)>.col-xl-8{flex:0 0 58.333333%!important;max-width:58.333333%!important}
 html[data-brand][data-lf-world][data-theme] .app-hero-card .row:has(>.col-xl-8:first-child)>.col-xl-4{flex:0 0 41.666667%!important;max-width:41.666667%!important}
}
html[data-brand][data-lf-world][data-theme] .app-hero-card :is(.badge,.status-badge){white-space:nowrap}
@media(max-width:760px){html[data-brand][data-lf-world][data-theme] .app-hero-card :is(.badge,.status-badge){white-space:normal}}

/* Stories command band and the AI-ROP head: text first, controls after. */
html[data-brand][data-lf-world][data-theme] .stories-command__title h1{font-size:22px!important;line-height:1.2!important}
html[data-brand][data-lf-world][data-theme] .stories-command__status{font-size:12.5px!important;line-height:1.45!important}
@media(min-width:1201px){
 html[data-brand][data-lf-world][data-theme] .stories-command{grid-template-columns:minmax(15rem,1fr) minmax(0,1.4fr) auto!important;gap:12px!important}
 html[data-brand][data-lf-world][data-theme] .stories-command__metrics{display:flex!important;flex-wrap:wrap;gap:8px;min-width:0}
 html[data-brand][data-lf-world][data-theme] .stories-command__metrics>*{flex:1 1 104px;min-width:104px}
}
@media(min-width:1400px){
 html[data-brand][data-lf-world][data-theme] .ai-rop-head{grid-template-columns:auto minmax(240px,1fr) minmax(280px,540px)!important}
}

/* Max-invite labels: wrap instead of truncating at 9.6px. */
html[data-brand][data-lf-world][data-theme] .max-invite-page :is(.max-invite-summary span,.max-invite-summary small,.max-invite-panel-heading>small,.max-invite-log span,.max-invite-schedule dd small){font-size:12px!important;line-height:1.4!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;max-width:none!important}

/* Light theme leftovers of the retired dark product palette. */
html[data-brand][data-lf-world][data-theme] :is(.mail-cutover,.mail-cutover.migration){background:var(--mfb-lavender)!important;border-color:var(--mfb-line)!important;color:var(--mfb-warning)!important;font-size:12px!important}
html[data-brand][data-lf-world][data-theme] .mail-cutover.ready{background:var(--mfb-tint)!important;border-color:var(--mfb-line)!important;color:var(--mfb-success)!important}
html[data-brand][data-lf-world][data-theme] .mail-migration-note{background:var(--mfb-soft)!important;border-color:var(--mfb-line)!important}
html[data-brand][data-lf-world][data-theme] .mail-migration-note :is(strong,span){color:var(--mfb-muted)!important;font-size:12px!important;line-height:1.45!important}
html[data-brand][data-lf-world][data-theme] :is(.mail-account-mark,.mail-account-mark.all){background:var(--mfb-soft)!important;color:var(--mfb-text)!important;font-size:12px!important}
html[data-brand][data-lf-world][data-theme] .form-check-input{background-color:var(--mfb-surface)!important;border-color:var(--mfb-line)!important}
html[data-brand][data-lf-world][data-theme] .form-check-input:checked{background-color:var(--mfb-accent)!important;border-color:var(--mfb-accent)!important}
html[data-brand][data-lf-world][data-theme] .form-check-input:focus{box-shadow:0 0 0 3px color-mix(in srgb,var(--mfb-focus),transparent 78%)!important}

/* Elba: flat navigation rows instead of a bordered card per item. */
html[data-brand][data-lf-world][data-theme] :is(.elba-finance-menu-item,.elba-finance-menu-child){border-color:transparent!important;background:transparent!important}
html[data-brand][data-lf-world][data-theme] :is(.elba-finance-menu-item,.elba-finance-menu-child):hover{background:var(--mfb-tint)!important;color:var(--mfb-text)!important}
html[data-brand][data-lf-world][data-theme] :is(.elba-finance-menu-item.active,.elba-finance-menu-child.active){background:var(--mfb-lavender)!important;color:var(--mfb-text)!important;border-color:var(--mfb-line)!important}

/* The control page inside the shell: same card language as the rest. */
html[data-brand][data-lf-world][data-theme] .owner-main .stat-card{border-radius:12px!important;background:var(--mfb-bg)!important;border:1px solid var(--mfb-line)!important;box-shadow:none!important}
html[data-brand][data-lf-world][data-theme] .owner-main .stat-card :is(span,small){font-size:12px!important;line-height:1.35!important}
html[data-brand][data-lf-world][data-theme] .owner-main .stat-card strong{font-size:19px!important;line-height:1.15!important}

/* Pulse card: the last hardcoded dark surfaces of the retired dark baseline. */
html[data-brand][data-lf-world][data-theme] .app-shell-page--overview :is(.event-pulse-total,.event-pulse-mini){background:var(--mfb-bg)!important;border-color:var(--mfb-line)!important;color:var(--mfb-text)!important}
html[data-brand][data-lf-world][data-theme] .app-shell-page--overview .event-pulse-mini span{background:var(--mfb-soft)!important;color:var(--mfb-muted)!important}
html[data-brand][data-lf-world][data-theme] .app-shell-page--overview .event-pulse-dialog{background:var(--mfb-bg)!important;border-color:var(--mfb-line)!important}
html[data-brand][data-lf-world][data-theme] .app-shell-page--overview .event-pulse-dialog:hover{background:var(--mfb-tint)!important;border-color:var(--mfb-focus)!important}
html[data-brand][data-lf-world][data-theme] .app-shell-page--overview .event-pulse-dialog__counts :is(b,em){background:var(--mfb-soft)!important;border-color:var(--mfb-line)!important;color:var(--mfb-text)!important}
html[data-brand][data-lf-world][data-theme] .app-shell-page--overview .event-pulse-bar-row i{background:var(--mfb-soft)!important;box-shadow:inset 0 0 0 1px var(--mfb-line)!important}
html[data-brand][data-lf-world][data-theme] .app-shell-page--overview .event-pulse-bar-row :is(span,strong,.event-pulse-subhead em){color:var(--mfb-muted)!important}
html[data-brand][data-lf-world][data-theme] .app-shell-page--overview .event-pulse-subhead{color:var(--mfb-text)!important}

/* Production contrast pass, 22.09.2026: real-data findings from the live panel.
   Every surface below kept a literal from the retired dark baseline, so the
   text on it disappeared in one of the two themes. */
html[data-brand][data-lf-world][data-theme] :is(.leads-recommendations,.leads-status-pill,.leads-id-badge,.leads-contact-pill,.crm-offline-system-badge,.ai-rop-badge,.ai-rop-alert-card header strong,.ai-rop-alert-head,.max-invite-bulkbar){background:var(--mfb-soft)!important;color:var(--mfb-text)!important;border-color:var(--mfb-line)!important}
html[data-brand][data-lf-world][data-theme] :is(.leads-recommendations,.ai-rop-alert-card header,.ai-rop-alert-head) :is(span,strong,b,small,em){color:var(--mfb-text)!important}
html[data-brand][data-lf-world][data-theme] .client-finance-chip.warning{background:var(--mfb-lavender)!important;color:var(--mfb-warning)!important;border-color:var(--mfb-line)!important}
html[data-brand][data-lf-world][data-theme] .client-dossier-chip{background:var(--mfb-tint)!important;border-color:var(--mfb-line)!important}
html[data-brand][data-lf-world][data-theme] .client-dossier-chip :is(small,span,strong,b){color:var(--mfb-success)!important}
html[data-brand][data-lf-world][data-theme] :is(.oc-agenda-heading,.oc-undated summary,.oc-hidden summary) :is(span,strong,small,em){color:var(--mfb-muted)!important}
html[data-brand][data-lf-world][data-theme] :is(.elba-finance-bank-list,.elba-finance-template-list) article{background:var(--mfb-bg)!important;border-color:var(--mfb-line)!important}
html[data-brand][data-lf-world][data-theme] :is(.elba-finance-bank-list,.elba-finance-template-list) article :is(span,strong,small,em){color:var(--mfb-muted)!important}
html[data-brand][data-lf-world][data-theme] .stories-quick-status__link{color:var(--mfb-danger)!important}
html[data-brand][data-lf-world][data-theme] .stories-command__status :is(span,em){color:var(--mfb-danger)!important}
html[data-brand][data-lf-world][data-theme] .mail-conversation-copy :is(em,small){color:var(--mfb-muted)!important}
html[data-brand][data-lf-world][data-theme] .crosspost-post-origin code{color:var(--mfb-muted)!important;font-size:11.5px!important}
html[data-brand][data-lf-world][data-theme] .max-status.max-invite-invited{background:var(--mfb-tint)!important;color:var(--mfb-success)!important;border-color:var(--mfb-line)!important}
html[data-brand][data-lf-world][data-theme] .max-web-inline-alert{background:var(--mfb-lavender)!important;border-color:var(--mfb-line)!important}
html[data-brand][data-lf-world][data-theme] .max-web-inline-alert :is(code,span,strong){color:var(--mfb-danger)!important}
html[data-brand][data-lf-world][data-theme] .flow-note{background:var(--mfb-soft)!important;border-color:var(--mfb-line)!important}
html[data-brand][data-lf-world][data-theme] .flow-note :is(strong,span,em,code){color:var(--mfb-text)!important}
html[data-brand][data-lf-world][data-theme] .oc-day.oc-today strong{color:var(--mfb-text)!important}
html[data-brand][data-lf-world][data-theme] .live-updated-at{color:var(--mfb-muted)!important}
html[data-brand][data-lf-world][data-theme] .crm-offline-manager-badge{background:var(--mfb-soft)!important;color:var(--mfb-text)!important;border-color:var(--mfb-line)!important}
html[data-brand][data-lf-world][data-theme] .message-edit-link{color:var(--mfb-muted)!important}
html[data-brand][data-lf-world][data-theme] .app-shell-page--leads :is(.leads-card-muted,.leads-count-caption,.leads-card-next,[class*=leads-] small){color:var(--mfb-muted)!important}
html[data-brand][data-lf-world][data-theme] .avatar-initials{background:var(--mfb-soft)!important;color:var(--mfb-text)!important}

/* Second production contrast pass: literal blues, blacks and pale inks that the
   first pass did not own yet. */
html[data-brand][data-lf-world][data-theme] :is(.conversation-meta,.crm-offline-tab.active,.crm-offline-formula,.ai-rop-log-message,.elba-finance-capabilities article,.max-invite-chart-column span){background:var(--mfb-bg)!important;border-color:var(--mfb-line)!important}
html[data-brand][data-lf-world][data-theme] :is(.conversation-meta,.crm-offline-tab.active,.crm-offline-formula,.ai-rop-log-message,.elba-finance-capabilities article) :is(span,strong,b,small,em,code,pre,time){color:var(--mfb-text)!important}
html[data-brand][data-lf-world][data-theme] .leads-source-sender em{color:var(--mfb-muted)!important;font-size:11px!important}
html[data-brand][data-lf-world][data-theme] .client-dossier-chip.muted{background:var(--mfb-soft)!important;border-color:var(--mfb-line)!important;color:var(--mfb-muted)!important}
html[data-brand][data-lf-world][data-theme] .client-dossier-chip.muted :is(span,small,strong,b){color:var(--mfb-muted)!important}
html[data-brand][data-lf-world][data-theme] .app-shell-page--leads :is(.leads-live-panel,.leads-card-status,.leads-card-manager,.leads-work-cell) :is(span,em,small,strong){color:var(--mfb-muted)!important}
html[data-brand][data-lf-world][data-theme] .crm-offline-formula code{font-size:11px!important}
html[data-brand][data-lf-world][data-theme] .mail-conversation time{color:var(--mfb-muted)!important;font-size:11px!important}
html[data-brand][data-lf-world][data-theme] .max-invite-bulkbar :is(span,strong,em,b,small){color:var(--mfb-text)!important}
html[data-brand][data-lf-world][data-theme] .max-status.max-invite-left{background:var(--mfb-lavender)!important;color:var(--mfb-warning)!important;border-color:var(--mfb-line)!important}
html[data-brand][data-lf-world][data-theme] .max-invite-chart-column span{color:var(--mfb-muted)!important;font-size:11px!important}
html[data-brand][data-lf-world][data-theme] .ai-rop-log-item header mark{background:var(--mfb-tint)!important;color:var(--mfb-success)!important}
html[data-brand][data-lf-world][data-theme] .leads-offline-match :is(span,em,small){color:var(--mfb-muted)!important}
html[data-brand][data-lf-world][data-theme] .sa-hour :is(span,small,em,strong){color:var(--mfb-text)!important}
html[data-brand][data-lf-world][data-theme] main .sa-page .sa-hours .sa-hour *{color:var(--mfb-text)!important}
html[data-brand][data-lf-world][data-theme] main :is(.sa-journey-map,.sa-journey-canvas){background:var(--mfb-surface)!important}
html[data-brand][data-lf-world][data-theme] main :is(.sa-journey-map,.sa-journey-canvas) :is(text,tspan){fill:var(--mfb-text)!important}
html[data-brand][data-lf-world][data-theme] .max-note-cell button{color:var(--mfb-text)!important}
html[data-brand][data-lf-world][data-theme] .max-status.max-consent-owner_provide{background:var(--mfb-lavender)!important;color:var(--mfb-warning)!important;border-color:var(--mfb-line)!important}
html[data-brand][data-lf-world][data-theme] .max-link-pills :is(em,span,small){color:var(--mfb-muted)!important}
html[data-brand][data-lf-world][data-theme] .max-web-owner-policy small{color:var(--mfb-muted)!important}
html[data-brand][data-lf-world][data-theme] .app-shell-page--leads :is(.leads-voice-context,.leads-offline-match) :is(span,em,small){color:var(--mfb-muted)!important}
html[data-brand][data-lf-world][data-theme] .oc-today .oc-day-top strong{color:#121c30!important}
html[data-brand][data-lf-world][data-theme] .leads-direct-empty{color:var(--mfb-danger)!important}
html[data-brand][data-lf-world][data-theme] .max-invite-page .max-status.max-consent-owner_provide{background:var(--mfb-lavender)!important;color:var(--mfb-warning)!important;border-color:var(--mfb-line)!important}
html[data-brand][data-lf-world][data-theme] .app-shell-page--leads :is(.leads-sla-chip,.leads-next-action,.leads-priority-meter,.leads-offline-badge,.leads-source-sender) :is(span,em,small,strong){color:var(--mfb-muted)!important;font-size:11px!important}
html[data-brand][data-lf-world][data-theme] .ai-rop-manager-context :is(span,em,small){color:var(--mfb-warning)!important}
html[data-brand][data-lf-world][data-theme] .max-invite-page :is(.max-consent-owner_provided_id,.max-consent-requested){background:var(--mfb-lavender)!important;color:var(--mfb-warning)!important;border-color:var(--mfb-line)!important}
html[data-brand][data-lf-world][data-theme] .max-invite-page :is(.max-consent-unknown,.max-invite-not_queued){background:var(--mfb-soft)!important;color:var(--mfb-muted)!important;border-color:var(--mfb-line)!important}
html[data-brand][data-lf-world][data-theme] .max-invite-page :is(.max-consent-confirmed,.max-consent-consent_confirmed,.max-invite-invited){background:var(--mfb-tint)!important;color:var(--mfb-success)!important;border-color:var(--mfb-line)!important}
html[data-brand][data-lf-world][data-theme] .clients-finance-unmatched-item{background:var(--mfb-bg)!important;border-color:var(--mfb-line)!important}
html[data-brand][data-lf-world][data-theme] .clients-finance-unmatched-item :is(span,p,strong,small,em){color:var(--mfb-muted)!important}
html[data-brand][data-lf-world][data-theme] .clients-finance-unmatched-item strong{color:var(--mfb-text)!important}
html[data-brand][data-lf-world][data-theme] .client-dossier-managers{color:var(--mfb-muted)!important}
html[data-brand][data-lf-world][data-theme] .max-invite-page .max-link-pills :is(span,em,small){background:var(--mfb-soft)!important;color:var(--mfb-muted)!important;border-color:var(--mfb-line)!important}
html[data-brand][data-lf-world][data-theme] .max-invite-page .max-status.max-invite-failed{background:var(--mfb-lavender)!important;color:var(--mfb-danger)!important;border-color:var(--mfb-line)!important}
html[data-brand][data-lf-world][data-theme] .leads-direct-link :is(span,em,small){color:var(--mfb-muted)!important}
html[data-brand][data-lf-world][data-theme] .max-invite-page :is(.max-invite-settings-copy,.max-invite-table) :is(span,code,small,em){color:var(--mfb-muted)!important}
html[data-brand][data-lf-world][data-theme] .leads-load-more :is(span,small,em){color:var(--mfb-muted)!important}
html[data-brand][data-lf-world][data-theme] .sa-hours .sa-hour small{color:var(--mfb-text)!important}
html[data-brand][data-lf-world][data-theme] .max-invite-page :is(.max-invite-live-status,li) :is(span,small,em,strong){color:var(--mfb-muted)!important}
html[data-brand][data-lf-world][data-theme] .max-invite-page :is(.max-invite-footer,.max-invite-log) :is(span,time,small,em){color:var(--mfb-muted)!important}

/* Empty deals card: the message owns the card instead of three blank boxes. */
html[data-brand][data-lf-world][data-theme] .control-panel-card--deals .card-body:has(>.deal-month-kpis>.empty-copy:only-child){display:block!important}
html[data-brand][data-lf-world][data-theme] .control-panel-card--deals .card-body:has(>.deal-month-kpis>.empty-copy:only-child) :is(.deal-month-visuals,.deal-position-chart){display:none!important}
html[data-brand][data-lf-world][data-theme] .control-panel-card--deals .deal-month-kpis>.empty-copy{font-size:13px!important;line-height:1.55!important;padding:12px 0 2px}

/* Mail: the search column gets a readable width before the thread. */
@media(min-width:1201px){
 html[data-brand][data-lf-world][data-theme] .mail-workspace{grid-template-columns:238px 340px minmax(0,1fr)!important}
}

/* Conversation list: bounded window with an explicit grow action. */
html[data-brand][data-lf-world][data-theme] .conversation-list>.conversation-more{display:block;width:100%;margin:10px 0 4px;padding:10px 12px;border:1px solid var(--mfb-line);border-radius:9px;background:var(--mfb-surface);color:var(--mfb-text);font:550 12.5px/1.4 var(--app-font-sans);cursor:pointer}
html[data-brand][data-lf-world][data-theme] .conversation-list>.conversation-more:hover{background:var(--mfb-soft);border-color:var(--mfb-focus)}

/* Client card: per-network contacts block. */
html[data-brand][data-lf-world][data-theme] .client-channel{display:flex;gap:12px;align-items:flex-start;justify-content:space-between;padding:10px 12px;border:1px solid var(--mfb-line);border-radius:10px;background:var(--mfb-bg)}
html[data-brand][data-lf-world][data-theme] .client-channel>div:first-child{min-width:0}
html[data-brand][data-lf-world][data-theme] .client-channel strong{display:block;color:var(--mfb-text);font-size:13px;line-height:1.35}
html[data-brand][data-lf-world][data-theme] .client-channel span{display:block;margin-top:2px;color:var(--mfb-muted);font-size:12px;line-height:1.4}
html[data-brand][data-lf-world][data-theme] .client-channel p{margin:6px 0 0;color:var(--mfb-muted);font-size:12px;line-height:1.45;overflow-wrap:anywhere}
html[data-brand][data-lf-world][data-theme] .client-channel+.client-channel{margin-top:8px}
