/* BML Compact Workspace: presentation only; all measurements inherit user preferences. */
html body [data-bml-layout]:not([data-bml-layout="public"]){--bml-compact-small:max(11px,calc(var(--bml-layout-text,13px) - 1px));line-height:1.35}
html body [data-bml-layout]:not([data-bml-layout="public"]) :is(h1,h2){font-size:calc(var(--bml-layout-text,13px) + 2px)!important;line-height:1.3!important;font-weight:600!important;margin-block:0 8px!important}
html body [data-bml-layout]:not([data-bml-layout="public"]) :is(h3,h4){font-size:calc(var(--bml-layout-text,13px) + 1px)!important;line-height:1.35!important;margin-block:8px 6px!important}
html body [data-bml-layout]:not([data-bml-layout="public"]) :is(p,label,li,dt,dd,button,input,select,textarea){font-size:var(--bml-layout-text,13px)!important}
html body [data-bml-layout]:not([data-bml-layout="public"]) :is(small,.bmluc-hint,.bmluc-muted,.bmlwp-help){font-size:var(--bml-compact-small)!important;line-height:1.4!important;overflow-wrap:anywhere}
html body [data-bml-layout]:not([data-bml-layout="public"]) :is(p,dl){margin-block:6px 10px}
html body [data-bml-layout]:not([data-bml-layout="public"]) :is(td,th){line-height:1.35!important;overflow-wrap:anywhere}
html body [data-bml-layout]:not([data-bml-layout="public"]) :is(.bmluc-heading,.bmlwp-heading,.bmlbo-page-head){margin-block:0 8px!important;padding-block:6px!important;min-height:0!important}
html body [data-bml-layout]:not([data-bml-layout="public"]) :is(.bmluc-filters,.bmluc-client-filter,.bmlwp-form-grid){gap:var(--bml-layout-pad,6px)!important}
html body [data-bml-layout]:not([data-bml-layout="public"]) :is(input,select,textarea){max-width:100%;min-width:0;box-sizing:border-box}
html body [data-bml-layout]:not([data-bml-layout="public"]) :is(.bmluc-panel,.bmlwp-card,.bmlbo-panel){overflow-wrap:anywhere}
html body [data-bml-layout]:not([data-bml-layout="public"]) :is(.bmluc-table-wrap,.bmlwp-table-wrap,.bmlbo-table-wrap){min-width:0;max-width:100%}
.bml-compact-menu{flex:none;white-space:nowrap}
html body [data-bml-compact-navigation] [data-bml-layout-nav],html body #bmluc-app[data-bml-compact-navigation] .bmluc-menu-toggle{display:none!important}
html body [data-bml-compact-navigation] [data-bml-layout-side] a{overflow-wrap:anywhere}
html body #bmluc-app[data-bml-compact-navigation] .bmluc-registration-share{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:6px 8px;margin-bottom:8px;min-height:0}
html body #bmluc-app[data-bml-compact-navigation] .bmluc-registration-share label{font-size:var(--bml-compact-small);margin:0}
html body #bmluc-app[data-bml-compact-navigation] .bmluc-registration-copy{max-width:430px;min-width:0;flex:1}
html body #bmluc-app[data-bml-compact-navigation] .bmluc-registration-copy input{min-width:0;font-size:var(--bml-compact-small)}
@media(min-width:901px){
 html body #lcos-page-root #bmluc-app[data-bml-compact-nav="closed"] .bmluc-shell,html body #bmluc-app[data-bml-compact-nav="closed"] .bmluc-shell{display:grid!important;grid-template-columns:56px minmax(0,1fr)!important}
 html body #lcos-page-root #bmluc-app[data-bml-compact-nav="open"] .bmluc-shell,html body #bmluc-app[data-bml-compact-nav="open"] .bmluc-shell{grid-template-columns:var(--bml-layout-sidebar,220px) minmax(0,1fr)!important}
 html body #bmluc-app[data-bml-compact-navigation] .bmluc-sidebar{display:block!important;width:auto!important;position:static!important;min-width:0;overflow:auto!important;background:#193245!important;color:#e8f1f5}
 html body #bmluc-app[data-bml-compact-nav="closed"] .bmluc-sidebar{padding:6px!important}
 html body #bmluc-app[data-bml-compact-nav="closed"] .bmluc-sidebar :is(.bmluc-nav-label,.bmluc-quick>p){display:none!important}
 html body #bmluc-app[data-bml-compact-nav="closed"] .bmluc-sidebar a{display:flex!important;justify-content:center;gap:0!important;font-size:0!important;padding:10px 4px!important;min-height:36px}
 html body #bmluc-app[data-bml-compact-nav="closed"] .bmluc-sidebar a svg{width:18px!important;height:18px!important;flex:none}
 html body #bmluc-app[data-bml-compact-nav="closed"] .bmluc-sidebar a:not(:has(svg))::before{content:attr(data-bml-short);font-size:11px;color:inherit}
 html body #bmluc-app[data-bml-compact-nav="open"] .bmluc-sidebar a{font-size:var(--bml-compact-small)!important;padding-block:8px!important;white-space:normal!important}
 html body #bml-admin-app[data-bml-compact-nav="closed"],html body .bml-workspace[data-bml-compact-nav="closed"]{grid-template-columns:0 minmax(0,1fr)!important}
 html body #bml-admin-app[data-bml-compact-nav="closed"] .bmlbo-sidebar,html body .bml-workspace[data-bml-compact-nav="closed"] .bml-sidebar{display:none!important}
 html body #bml-admin-app[data-bml-compact-nav="open"],html body .bml-workspace[data-bml-compact-nav="open"]{grid-template-columns:var(--bml-layout-sidebar,220px) minmax(0,1fr)!important}
 html body #bml-admin-app[data-bml-compact-nav="open"] .bmlbo-sidebar,html body .bml-workspace[data-bml-compact-nav="open"] .bml-sidebar{display:block!important}
}
@media(max-width:900px){
 html body [data-bml-compact-navigation] [data-bml-layout-side]{display:none!important}
 html body [data-bml-compact-nav="open"] [data-bml-layout-side]{display:block!important;position:absolute!important;inset:48px auto auto 0!important;width:min(var(--bml-layout-sidebar,220px),85vw)!important;max-height:75dvh!important;height:auto!important;overflow:auto!important;z-index:80!important;background:#193245!important;color:#e8f1f5!important;box-shadow:4px 4px 16px #19324540}
 html body [data-bml-compact-nav="open"] [data-bml-layout-side] a{white-space:normal!important;font-size:var(--bml-layout-text,13px)!important}
 html body #bmluc-app[data-bml-compact-navigation] .bmluc-shell{grid-template-columns:minmax(0,1fr)!important}
}
.bml-cw-tools{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-bottom:8px}
.bml-cw-tools button,.bml-cw-details button,.bml-cw-list button,.bml-cw-record{border:1px solid #cddfe6;background:#fff;color:#193b4d;border-radius:5px;padding:5px 8px;cursor:pointer;line-height:1.35}
.bml-cw-tools button[aria-pressed="true"]{background:#087f59;color:#fff;border-color:#087f59}
.bml-cw-workspace{--bml-cw-left:150px;--bml-cw-right:250px;display:grid;grid-template-columns:minmax(0,1fr);min-width:0;position:relative;gap:0;isolation:isolate;align-items:stretch}
.bml-cw-list,.bml-cw-main,.bml-cw-details{min-width:0;overflow:auto;overflow-wrap:anywhere;scrollbar-width:thin;scroll-padding:10px}
.bml-cw-list{background:#f5fafc;border-right:1px solid #dce8ed;padding:8px}
.bml-cw-list>a{display:block;padding:8px 2px;border-bottom:1px solid #dce8ed;text-decoration:none;color:#193b4d;white-space:normal!important;font-size:var(--bml-compact-small,12px)!important;line-height:1.4}
.bml-cw-list>a[aria-current]{background:#e5f4ed;box-shadow:inset 2px 0 #07825d;padding-left:6px}
.bml-cw-list a strong,.bml-cw-list a small{display:block;white-space:normal;overflow-wrap:anywhere}
.bml-cw-list a small{font-size:max(11px,calc(var(--bml-layout-text,13px) - 2px))!important;color:#526c7b}
.bml-cw-list label{display:block;margin-bottom:8px}
.bml-cw-list input{width:100%;padding:5px;font-size:var(--bml-compact-small)}
.bml-cw-main{padding:0 10px}
.bml-cw-main>.bmluc-client-detail{margin:0!important;padding:0!important;border:0!important;min-width:0!important;max-width:100%!important;background:transparent}
.bml-cw-main .bmluc-client-detail>header{padding:4px 0!important;gap:8px;flex-wrap:wrap}
.bml-cw-main .bmluc-client-detail>header p{font-size:var(--bml-compact-small)!important;overflow-wrap:anywhere}
.bml-cw-main .bmluc-client-tabs{padding-block:5px!important;gap:4px!important;flex-wrap:wrap!important}
.bml-cw-main .bmluc-client-filter{display:flex!important;flex-wrap:wrap!important;margin-block:6px!important}
.bml-cw-main .bmluc-client-filter label{flex:1 1 120px;min-width:0!important}
.bml-cw-main .bmluc-client-filter label:first-of-type{flex-basis:200px}
.bml-cw-main .bmluc-client-filter input,.bml-cw-main .bmluc-client-filter select{width:100%!important;min-width:0!important}
.bml-cw-main .bmluc-client-conversation-link{margin-block:4px!important}
.bml-cw-main .bmluc-table-wrap{max-height:none!important;overflow:visible!important}
.bml-cw-main table{table-layout:fixed!important;min-width:0!important;width:100%!important;font-size:var(--bml-layout-text)!important}
.bml-cw-main :is(th,td){white-space:normal!important;min-width:0!important;max-width:none!important;padding:var(--bml-layout-pad,6px)!important}
.bml-cw-main td :is(a,button,summary){white-space:normal!important;overflow-wrap:anywhere}
.bml-cw-main tr.is-cw-selected{background:#e7f5ee}
.bml-cw-main td small{display:block}
.bml-cw-workspace.has-details .bml-cw-main :is(th,td):is(:nth-child(2),:nth-child(5),:nth-child(6)){display:none}
.bml-cw-workspace.has-details .bml-cw-main th:first-child{width:30%}
.bml-cw-main .bmluc-credit-action form{min-width:0!important;max-width:100%;padding:6px!important}
.bml-cw-main .bmluc-credit-action textarea{width:100%!important;min-width:0!important}
.bml-cw-details{border-left:1px solid #dce8ed;padding:10px;background:#f7fafc}
.bml-cw-details header{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:8px}
.bml-cw-details dl{margin:0}.bml-cw-details dt{font-size:var(--bml-compact-small);color:#526c7b;margin-top:10px}.bml-cw-details dd{margin:3px 0 6px}
.bml-cw-grip{border:0;background:#e8f1f5;width:6px;min-width:6px;padding:0;cursor:col-resize;touch-action:none;position:relative}
.bml-cw-grip::after{content:'';display:block;position:absolute;top:40%;height:36px;width:2px;left:2px;background:#bcd2dd}
.bml-cw-list[hidden],.bml-cw-details[hidden],.bml-cw-grip[hidden]{display:none!important}
.bml-cw-workspace.list-drawer .bml-cw-list{position:absolute;inset:0 auto auto 0;width:var(--bml-cw-left);min-width:150px;max-width:85%;max-height:70dvh;z-index:8;box-shadow:4px 2px 12px #193b4d30}
.bml-cw-workspace.details-drawer .bml-cw-details{position:absolute;inset:0 0 auto auto;width:min(var(--bml-cw-right),90%);min-width:min(230px,90%);max-height:70dvh;z-index:9;box-shadow:-4px 2px 12px #193b4d30}
html body #bmluc-app[data-bml-fit="1"] .bmluc-client-leads{display:flex;flex-direction:column;min-height:100%;height:100%;gap:0}
html body #bmluc-app[data-bml-fit="1"] .bml-cw-workspace{flex:1;min-height:260px;overflow:hidden}
.bml-cw-report{margin-block:5px 8px}.bml-cw-report>summary{cursor:pointer;padding:5px 0;color:#235a71}
html body #bmluc-app[data-bml-fit="1"] .bml-cw-report[open]{max-height:45dvh;overflow:auto;flex:none}
.bml-cw-main{container-type:inline-size;container-name:bml-cw-main}
@container bml-cw-main (max-width:430px){
 .bml-cw-main table,.bml-cw-main tbody{display:block}.bml-cw-main thead{display:none}.bml-cw-main tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border-bottom:1px solid #dce8ed;padding-block:5px}.bml-cw-main td{display:block;height:auto!important;border:0!important}.bml-cw-main td:first-child,.bml-cw-main td:last-child{grid-column:1/-1}.bml-cw-main td::before{content:attr(data-label);display:block;font-size:var(--bml-compact-small);color:#526c7b;margin-bottom:3px}
}
@media(max-width:900px){.bml-cw-workspace{min-height:260px}.bml-cw-main{overflow:visible;padding:0 4px}.bml-cw-list,.bml-cw-details{max-height:70dvh}.bml-cw-tools button{min-height:36px}}
@media(pointer:coarse){html body [data-bml-layout]:not([data-bml-layout="public"]) :is(input,select,textarea){font-size:max(16px,var(--bml-layout-text,13px))!important}.bml-cw-tools button,.bml-cw-list a,.bml-cw-record{min-height:44px}}
@media print{.bml-cw-tools,.bml-cw-grip,.bml-compact-menu{display:none!important}.bml-cw-workspace{display:block!important;height:auto!important}.bml-cw-main{overflow:visible!important}.bml-cw-details{position:static!important;width:auto!important}.bml-cw-main :is(th,td){display:table-cell!important}}

.bml-cw-list a[hidden]{display:none!important}
/* Page-family adapters keep existing forms and their handlers in their original DOM. */
html body #bmluc-app[data-bml-compact-crm] .bmluc-main{container-type:inline-size;container-name:bml-cw-page}
html body #bmluc-app[data-bml-compact-crm] .bmluc-dashboard-stats{grid-template-columns:repeat(auto-fit,minmax(115px,1fr))!important;gap:6px!important;margin-bottom:8px!important}
html body #bmluc-app[data-bml-compact-crm] .bmluc-dashboard-stat{padding:8px!important;min-height:0!important}
html body #bmluc-app[data-bml-compact-crm] .bmluc-dashboard-stat strong{font-size:calc(var(--bml-layout-text,13px) + 3px)!important}
.bml-cw-dashboard-panels{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr));gap:var(--bml-layout-gap,10px);align-items:start}
html body #bmluc-app[data-bml-compact-crm] .bml-cw-dashboard-panels .bmluc-dashboard-grid{display:contents}
html body #bmluc-app[data-bml-compact-crm] .bml-cw-dashboard-panels :is(table,.bmluc-panel){min-width:0!important;max-width:100%;white-space:normal!important}
html body #bmluc-app[data-bml-compact-crm] .bml-cw-dashboard-panels td{white-space:normal!important}
html body #bmluc-app[data-bml-crm-page="settings"] .bmlwp{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:var(--bml-layout-gap,10px);align-items:start}
html body #bmluc-app[data-bml-crm-page="settings"] .bmlwp>.bmlwp-heading{grid-column:1/-1}
html body #bmluc-app[data-bml-crm-page="support"] .bmlwp{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:var(--bml-layout-gap,10px);align-items:start}
html body #bmluc-app[data-bml-crm-page="support"] .bmlwp>.bmlwp-heading{grid-column:1/-1}
html body #bmluc-app[data-bml-crm-page="support"] .bmlwp-help-grid{display:grid;grid-template-columns:1fr;gap:6px}
@container bml-cw-page (min-width:1000px){
 .bml-cw-company-workspace:has(>.bmluc-profile-drawer){display:grid;grid-template-columns:minmax(360px,.9fr) minmax(420px,1.1fr);gap:var(--bml-layout-gap,10px);align-items:start}
 html body #bmluc-app[data-bml-compact-crm] .bml-cw-company-workspace>.bmluc-profile-drawer{position:static!important;inset:auto!important;display:block!important;width:auto!important;max-width:100%!important;background:transparent!important;z-index:auto!important}
 html body #bmluc-app[data-bml-compact-crm] .bml-cw-company-workspace>.bmluc-profile-drawer>.bmluc-overlay{display:none!important}
 html body #bmluc-app[data-bml-compact-crm] .bml-cw-company-workspace .bmluc-drawer-body{position:static!important;inset:auto!important;width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;overflow:visible!important;box-shadow:none!important;padding:var(--bml-layout-pad,6px)!important}
 html body #bmluc-app[data-bml-compact-crm] .bml-cw-company-workspace:has(>.bmluc-profile-drawer) .bmluc-pipeline-table{min-width:0!important;table-layout:fixed!important;width:100%!important}
 .bml-cw-company-workspace:has(>.bmluc-profile-drawer) .bmluc-pipeline-table :is(th,td):is(:nth-child(3),:nth-child(5),:nth-child(6),:nth-child(8)){display:none}
 .bml-cw-company-workspace:has(>.bmluc-profile-drawer) .bmluc-pipeline-table :is(th,td){white-space:normal!important;overflow-wrap:anywhere}
}
@container bml-cw-page (max-width:600px){html body #bmluc-app[data-bml-compact-crm] .bmluc-dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
.bml-cw-details header>button{flex:none;white-space:nowrap}.bml-cw-details header>strong{min-width:0}
html body #bml-admin-app[data-bml-compact-navigation],html body .bml-workspace[data-bml-compact-navigation]{display:grid!important;min-width:0}
html body #bml-admin-app[data-bml-compact-navigation]>.bmlbo-main,html body .bml-workspace[data-bml-compact-navigation]>.bml-work-main{min-width:0!important;width:auto!important;margin-left:0!important;margin-right:0!important}
@media(max-width:900px){html body #bml-admin-app[data-bml-compact-navigation],html body .bml-workspace[data-bml-compact-navigation]{grid-template-columns:minmax(0,1fr)!important;position:relative}}
@media(min-width:901px){html body #bml-admin-app[data-bml-compact-navigation]>.bmlbo-main,html body .bml-workspace[data-bml-compact-navigation]>.bml-work-main{grid-column:2;grid-row:1}}
@media(max-width:900px){html body #bml-admin-app[data-bml-compact-navigation]>.bmlbo-main,html body .bml-workspace[data-bml-compact-navigation]>.bml-work-main{grid-column:1;grid-row:1}}
/* 34.12.422: one persistent rail at every size; expansion is an explicit action. */
html body :is(#bml-admin-app,.bml-workspace)[data-bml-compact-navigation][data-bml-compact-nav="closed"]{grid-template-columns:56px minmax(0,1fr)!important}
html body #bmluc-app[data-bml-compact-navigation][data-bml-compact-nav="closed"] .bmluc-shell{display:grid!important;grid-template-columns:56px minmax(0,1fr)!important}
html body [data-bml-compact-navigation] [data-bml-layout-side]{display:block!important;position:relative!important;inset:auto!important;min-width:0!important;max-width:none!important;width:auto!important;height:100%!important;overflow-y:auto!important;overflow-x:hidden!important;background:#153247!important;color:#e8f1f5!important;box-sizing:border-box}
html body [data-bml-compact-nav="closed"] [data-bml-layout-side]{padding:5px!important}
html body [data-bml-compact-nav="closed"] [data-bml-layout-side] :is(.bml19-subnav,.bmluc-nav-label,.bmluc-quick>p,.bml15-brand-wordmark,.bml16-nav-bottom>small,.bml-sidebar-footer,.bml-sidebar-brand span){display:none!important}
html body [data-bml-compact-nav="closed"] [data-bml-layout-side] a{display:flex!important;align-items:center;justify-content:center!important;gap:0!important;min-height:40px;padding:8px 4px!important;font-size:0!important;line-height:1!important;white-space:normal!important;overflow:hidden}
html body [data-bml-compact-nav="closed"] [data-bml-layout-side] a>span{display:none!important}
html body [data-bml-compact-nav="closed"] [data-bml-layout-side] a svg{display:block!important;width:18px!important;height:18px!important;flex:none!important}
html body [data-bml-compact-nav="closed"] [data-bml-layout-side] a img{width:34px!important;height:34px!important;object-fit:contain}
html body [data-bml-compact-nav="closed"] [data-bml-layout-side] a:not(:has(svg,img))::before{content:attr(data-bml-short);font-size:11px!important;color:inherit}
html body [data-bml-compact-navigation] :is(.bmlbo-mobile-menu,.bmlbo-sidebar-close,.bmluc-menu-toggle,[data-bml-layout-nav]){display:none!important}
html body [data-bml-compact-navigation] [data-bml-layout-side] a:not(.active):not([aria-current]):hover{background:transparent!important;color:inherit!important;box-shadow:none!important;transform:none!important}
html body [data-bml-compact-navigation] [data-bml-layout-side] a:hover{transform:none!important;box-shadow:none!important}
html body [data-bml-compact-navigation] [data-bml-layout-side] .bml-compact-menu{display:flex!important;position:sticky!important;top:3px!important;align-items:center;justify-content:center;width:30px!important;height:30px!important;min-width:30px!important;margin:3px auto 10px!important;padding:0!important;border-radius:50%!important;background:#00865f!important;color:white!important;border:1px solid #49ba98!important;font:24px/1 Arial!important;z-index:50}
.bml-nav-tooltip{position:fixed;max-width:min(240px,70vw);padding:7px 10px;border-radius:6px;background:#153247;color:#fff;font:12px/1.4 system-ui;box-shadow:0 3px 12px #132f4430;pointer-events:none;z-index:100050;overflow-wrap:anywhere}
.bml-standard-worktools{display:flex;justify-content:flex-end;gap:5px;flex-wrap:wrap;margin:0 0 8px}.bml-standard-worktools button{background:#fff;color:#153247;border:1px solid #d7e3e9;border-radius:5px;padding:5px 8px}.bml-standard-worktools button[aria-pressed="true"]{background:#00865f;color:#fff}
html body [data-bml-focus="1"] :is(.bml-rd-detail,.bml-rd-grip,.bml-cw-list,.bml-cw-details,.bml-cw-grip,.bml-rd-settings-preview){display:none!important}
html body [data-bml-focus="1"] :is(.bml-rd-split,.bml-cw-workspace,.bml-rd-settings-grid){grid-template-columns:minmax(0,1fr)!important}
@media(max-width:900px){
 html body :is(#bml-admin-app,.bml-workspace)[data-bml-compact-navigation]>.bmlbo-main,html body .bml-workspace[data-bml-compact-navigation]>.bml-work-main{grid-column:2!important;grid-row:1!important}
 html body :is(#bml-admin-app,.bml-workspace)[data-bml-compact-navigation]{grid-template-columns:56px minmax(0,1fr)!important}
 html body [data-bml-compact-nav="open"] [data-bml-layout-side]{position:absolute!important;inset:0 auto auto 0!important;width:min(var(--bml-layout-sidebar,220px),85vw)!important;height:auto!important;min-height:100%!important;max-height:100dvh!important;z-index:90!important;box-shadow:4px 4px 16px #19324540}
 html body #bmluc-app[data-bml-compact-navigation] .bmluc-shell{grid-template-columns:56px minmax(0,1fr)!important}
 html body [data-bml-compact-nav="closed"] [data-bml-layout-side]{position:relative!important;inset:auto!important;width:auto!important;height:100%!important}
}
html body :is(#bml-admin-app,#bmluc-app,.bml-workspace)[data-bml-compact-navigation][data-bml-compact-nav] [data-bml-layout-side]{display:block!important}
html body :is(#bml-admin-app,#bmluc-app,.bml-workspace)[data-bml-compact-navigation][data-bml-compact-nav] [data-bml-layout-side]{transform:none!important;visibility:visible!important;opacity:1!important}

/* 34.12.423: fixed rail geometry, compact top stack and direct width presets. */
html body :is(#bml-admin-app,.bml-workspace)[data-bml-compact-navigation][data-bml-compact-nav="closed"]{grid-template-columns:var(--bml-rail-width,56px) minmax(0,1fr)!important}
html body #bmluc-app[data-bml-compact-navigation][data-bml-compact-nav="closed"] .bmluc-shell{grid-template-columns:var(--bml-rail-width,56px) minmax(0,1fr)!important}
html body :is(#bml-admin-app,#bmluc-app,.bml-workspace)[data-bml-compact-navigation][data-bml-compact-nav="closed"] [data-bml-layout-side]{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-items:stretch!important;gap:0!important;min-height:0!important;height:var(--bml-layout-height,calc(100dvh - 40px))!important;max-height:var(--bml-layout-height,calc(100dvh - 40px))!important;padding:5px!important;overflow:hidden!important;align-self:start!important}
html body :is(#bml-admin-app,#bmluc-app,.bml-workspace)[data-bml-compact-nav="closed"] [data-bml-layout-side]>.bml-compact-menu{flex:0 0 30px!important;position:relative!important;top:auto!important;margin:3px auto 6px!important}
html body :is(#bml-admin-app,#bmluc-app,.bml-workspace)[data-bml-compact-nav="closed"] [data-bml-layout-side]>.bmlbo-brand{flex:0 0 42px!important;height:42px!important;min-height:42px!important;padding:4px!important;margin:0 0 6px!important}
html body :is(#bml-admin-app,#bmluc-app,.bml-workspace)[data-bml-compact-nav="closed"] [data-bml-layout-side]>nav{display:flex!important;flex:1 1 auto!important;flex-direction:column!important;justify-content:flex-start!important;align-content:flex-start!important;gap:2px!important;min-height:0!important;height:auto!important;padding:0!important;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-width:none}
html body :is(#bml-admin-app,#bmluc-app,.bml-workspace)[data-bml-compact-nav="closed"] [data-bml-layout-side]>nav>div{flex:none!important;min-height:0!important}
html body :is(#bml-admin-app,#bmluc-app,.bml-workspace)[data-bml-compact-nav="closed"] [data-bml-layout-side] a{box-sizing:border-box!important;font-size:0!important;line-height:0!important;white-space:nowrap!important;max-width:100%!important;min-width:0!important;flex:none!important;height:38px!important;min-height:38px!important;padding:8px 4px!important;overflow:hidden!important}
html body :is(#bml-admin-app,#bmluc-app,.bml-workspace)[data-bml-compact-nav="closed"] [data-bml-layout-side] :is(.bml16-nav-bottom,.bml-sidebar-footer){display:flex!important;flex:none!important;flex-direction:column!important;gap:2px!important;max-width:100%!important;min-width:0!important;margin:6px 0 0!important;padding:6px 0 0!important;border-top:1px solid #365363!important}
html body :is(#bml-admin-app,#bmluc-app,.bml-workspace)[data-bml-compact-nav="closed"] [data-bml-layout-side] :is(.bml15-brand-wordmark,.bml16-nav-bottom>small,.bmluc-quick){display:none!important}
html body [data-bml-compact-nav="closed"] .bml16-wordpress::before{content:'W'!important;font:600 17px/1 system-ui!important}
html body [data-bml-compact-nav="closed"] .bml34-sidebar-logout::before{content:'↪'!important;font:20px/1 system-ui!important}
.bml-rail-width{display:none}
html body [data-bml-compact-nav="closed"] .bml-rail-width{display:flex!important;flex:none!important;flex-direction:column;align-items:center;gap:4px;padding:4px 0 6px;margin-top:auto}
html body [data-bml-compact-nav="closed"] .bml-rail-width button{display:flex!important;align-items:center;justify-content:center;flex:none!important;width:30px!important;height:28px!important;min-height:28px!important;padding:0!important;border:1px solid #476478!important;border-radius:5px;background:#254558;color:#edf6fa;font:600 12px/1 system-ui!important;cursor:pointer}
html body [data-bml-compact-nav="closed"] .bml-rail-width button[aria-pressed="true"]{background:#00865f!important;border-color:#42bb98!important;color:#fff!important}
html body [data-bml-compact-navigation] .bml-rail-width button:focus-visible{outline:2px solid #63e4bd;outline-offset:2px}
@media(max-width:900px){html body :is(#bml-admin-app,.bml-workspace)[data-bml-compact-navigation][data-bml-compact-nav="closed"]{grid-template-columns:var(--bml-rail-width,56px) minmax(0,1fr)!important}html body #bmluc-app[data-bml-compact-navigation][data-bml-compact-nav="closed"] .bmluc-shell{grid-template-columns:var(--bml-rail-width,56px) minmax(0,1fr)!important}}
/* Natural page scrolling keeps the rail and its controls within reach. */
html body :is(#bml-admin-app,#bmluc-app,.bml-workspace)[data-bml-compact-navigation][data-bml-compact-nav="closed"]:not([data-bml-fit="1"]) [data-bml-layout-side]{position:sticky!important;top:var(--wp-admin--admin-bar--height,0px)!important;height:min(var(--bml-layout-height,100dvh),calc(100dvh - var(--wp-admin--admin-bar--height,0px)))!important;max-height:min(var(--bml-layout-height,100dvh),calc(100dvh - var(--wp-admin--admin-bar--height,0px)))!important}

html body [data-bml-compact-nav="closed"] [data-bml-layout-side] .bml-sidebar-footer{font-size:0!important;line-height:0!important}
html body [data-bml-compact-nav="closed"] [data-bml-layout-side] .bml-sidebar-footer>:not(.bml-rail-width):not(a){display:none!important}

/* 34.12.425: manual navigation, accessible in-place sections and independent icon sizing. */
html body :is(#bml-admin-app,#bmluc-app,.bml-workspace)[data-bml-compact-navigation] [data-bml-layout-side] a svg{width:var(--bml-nav-icon,24px)!important;height:var(--bml-nav-icon,24px)!important;flex-shrink:0!important}
html body :is(#bml-admin-app,#bmluc-app,.bml-workspace)[data-bml-compact-navigation] [data-bml-layout-side]>.bml-compact-menu{margin-bottom:20px!important}
html body [data-bml-compact-navigation] [data-sidebar-submenu]{display:none!important}
html body [data-bml-compact-navigation] [data-sidebar-section][data-bml-section-open="1"]>[data-sidebar-submenu]:not([hidden]){display:flex!important;position:static!important;flex-direction:column!important;inset:auto!important;transform:none!important;width:auto!important;max-height:none!important;opacity:1!important;visibility:visible!important;padding:4px 0 6px 12px!important;box-shadow:none!important;background:transparent!important}
html body [data-bml-compact-navigation][data-bml-compact-nav="open"] [data-sidebar-submenu] a{font-size:12px!important;line-height:1.3!important;white-space:normal!important;overflow-wrap:anywhere!important;height:auto!important;min-height:30px!important;padding:6px 8px!important}
.bml-nav-icon-tools{display:flex;align-items:center;justify-content:center;gap:4px;padding:6px 0;flex:none}
.bml-nav-icon-tools button{width:30px;height:28px;padding:0;border:1px solid #476478;border-radius:5px;background:#254558;color:#fff;font:18px/1 system-ui;cursor:pointer}
.bml-nav-icon-tools button:disabled{opacity:.45;cursor:default}
.bml-nav-icon-tools button:focus-visible{outline:2px solid #63e4bd;outline-offset:2px}
.bml-nav-icon-value{min-width:34px;color:#edf6fa;font:11px/1.2 system-ui;text-align:center}
html body [data-bml-compact-nav="closed"] .bml-nav-icon-tools{flex-direction:column;gap:3px}
html body [data-bml-compact-nav="closed"] [data-bml-layout-side] .bml-sidebar-footer>.bml-nav-icon-tools{display:flex!important}
html body [data-bml-compact-nav="closed"] [data-bml-layout-side]>.bml-nav-icon-tools{margin-top:auto}
/* Head-applied state uses the same geometry before the footer controllers run. */
html body :is(#bml-admin-app,.bml-workspace)[data-bml-compact-navigation][data-bml-compact-nav="open"]{display:grid!important;grid-template-columns:var(--bml-layout-sidebar,220px) minmax(0,1fr)!important}
@media(max-width:900px){html body [data-bml-compact-navigation][data-bml-compact-nav="open"] [data-bml-layout-side]{position:relative!important;inset:auto!important;width:auto!important;max-height:none!important;box-shadow:none!important}html body :is(#bml-admin-app,.bml-workspace)[data-bml-compact-navigation][data-bml-compact-nav="open"]>.bmlbo-main,html body .bml-workspace[data-bml-compact-navigation][data-bml-compact-nav="open"]>.bml-work-main{grid-column:2!important;grid-row:1!important}}
@media(max-width:900px){
 html body :is(#bml-admin-app,.bml-workspace)[data-bml-compact-navigation][data-bml-compact-nav="open"],html body #bmluc-app[data-bml-compact-navigation][data-bml-compact-nav="open"] .bmluc-shell{grid-template-columns:var(--bml-rail-width,56px) minmax(0,1fr)!important}
 html body [data-bml-compact-navigation][data-bml-compact-nav="open"] [data-bml-layout-side]{position:absolute!important;inset:0 auto auto 0!important;width:min(var(--bml-layout-sidebar,220px),85vw)!important;max-height:calc(100dvh - var(--wp-admin--admin-bar--height,0px))!important;overflow-y:auto!important;z-index:90!important;box-shadow:4px 4px 16px #19324540!important}
}
html body :is(#bml-admin-app,#bmluc-app,.bml-workspace)[data-bml-compact-nav="closed"] :is(.bml16-wordpress,.bml34-sidebar-logout)::before{font-size:var(--bml-nav-icon,24px)!important}

/* 34.12.525: one CRM phone drawer, isolated from other private portals. */
html body #bmluc-app .bml-crm-mobile-open,html body #bmluc-app .bml-crm-mobile-close,html body #bmluc-app .bml-crm-mobile-backdrop{display:none!important}
@media(max-width:900px){
 html body #bmluc-app[data-crm-mobile="1"] .bmluc-shell{display:block!important;grid-template-columns:minmax(0,1fr)!important}
 html body #bmluc-app[data-crm-mobile="1"] .bmluc-main{width:100%!important;min-width:0!important;margin-inline:0!important}
 html body #bmluc-app[data-crm-mobile="1"] .bml-crm-mobile-open,html body #bmluc-app[data-crm-mobile="1"] .bml-crm-mobile-close{display:inline-flex!important;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;border:1px solid #75a897;border-radius:7px;background:#087e5b;color:#fff;font:inherit;cursor:pointer}
 html body #bmluc-app[data-crm-mobile="1"] .bmluc-sidebar[data-bml-layout-side]{display:none!important}
 html body #bmluc-app[data-crm-mobile="1"][data-crm-menu="open"] .bmluc-sidebar[data-bml-layout-side]{display:flex!important;flex-direction:column!important;position:fixed!important;inset:0 auto 0 0!important;width:min(280px,calc(100vw - 32px))!important;height:100dvh!important;min-height:0!important;max-height:100dvh!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;z-index:10002!important;padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))!important;box-shadow:5px 0 24px #102d4055}
 html body #bmluc-app[data-crm-mobile="1"][data-crm-menu="open"] .bml-crm-mobile-backdrop{display:block!important;position:fixed;inset:0;z-index:10001;background:#071e31a6;border:0;width:100%;height:100dvh;margin:0;padding:0}
 html body #bmluc-app[data-crm-mobile="1"] .bmluc-sidebar nav{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;flex:0 0 auto!important;height:auto!important;max-height:none!important;gap:4px!important;overflow:visible!important}
 html body #bmluc-app[data-crm-mobile="1"] .bmluc-sidebar :is(nav a,.bmluc-quick>a,.bmluc-bottom a){display:flex!important;align-items:center;flex:none!important;gap:10px!important;width:100%!important;min-height:44px!important;height:auto!important;padding:10px!important;font-size:max(14px,var(--bml-layout-text,14px))!important;line-height:1.4!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;text-align:left!important}
 html body #bmluc-app[data-crm-mobile="1"] .bmluc-sidebar :is(.bmluc-nav-label,.bmluc-quick,.bmluc-quick>p,.bmluc-bottom){display:block!important}
 html body #bmluc-app[data-crm-mobile="1"] .bmluc-sidebar :is(.bml-compact-menu,.bml-rail-width){display:none!important}
 html body #bmluc-app[data-crm-mobile="1"] .bmluc-menu-toggle{display:none!important}
 html body #bmluc-app[data-crm-mobile="1"] .bml-crm-mobile-close{position:sticky;top:0;z-index:1;align-self:stretch}
 html body #bmluc-app[data-crm-mobile="1"] .bml-nav-icon-tools{display:flex!important;justify-content:center;align-items:center;gap:8px}
 html body #bmluc-app[data-crm-mobile="1"] .bmluc-sidebar>*{flex-shrink:0!important}
}

/* 798: phone Team CRM. The hidden sidebar left the page in the 56px rail column (a one-letter-wide strip). On a phone the shell is one full-width column. */
html body #lcos-page-root #bmluc-app[data-crm-mobile="1"][data-bml-compact-navigation][data-bml-compact-nav] .bmluc-shell,
html body #bmluc-app[data-crm-mobile="1"][data-bml-compact-navigation][data-bml-compact-nav] .bmluc-shell,
html body #lcos-page-root #bmluc-app[data-crm-mobile="1"] .bmluc-shell,
html body #bmluc-app[data-crm-mobile="1"][data-bml-compact-nav] .bmluc-shell{display:block!important;grid-template-columns:minmax(0,1fr)!important}
html body #bmluc-app[data-crm-mobile="1"][data-bml-compact-nav] .bmluc-main{grid-column:1/-1!important;width:100%!important;min-width:0!important;max-width:100%!important}
