/* Stabilization for White Label production: no duplicate header, no clipped navigation. */
html,body{max-width:100%;overflow-x:hidden}
body.wl .app-header,body.wl .app-header .header-actions{min-width:0}
body.wl .app-header .header-actions{gap:8px;flex-wrap:wrap}
body.wl .wl-office-control{z-index:1002}
body.wl .wl-office-menu{z-index:1004;max-width:min(280px,94vw)}
body.wl-driven #wlDrivenPortal:not([hidden]){box-sizing:border-box;max-width:100vw;overflow-x:hidden!important}
body.wl-driven .wl-driven-actions,
body.wl-driven .wl-central-actions{display:flex;gap:8px;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding-bottom:12px}
body.wl-driven .wl-driven-actions>*,
body.wl-driven .wl-central-actions>*{flex:0 0 auto;max-width:none}
body.wl-driven .wl-driven-grid,
body.wl-driven .wl-central-grid{max-width:100%;min-width:0}
body.wl-driven .wl-driven-card,
body.wl-driven .wl-central-card{min-width:0;overflow:hidden}
body.wl-driven button,body.wl-driven a{overflow-wrap:break-word}
body.wl-driven .wl-brokers-directory,
body.wl-driven .wl-broker-profile{box-sizing:border-box;max-width:98vw;max-height:95dvh;overscroll-behavior:contain}
body.wl-driven .wl-broker-profile .wl-bp-actions{display:flex;flex-wrap:wrap;gap:8px}
body.wl-driven .wl-broker-profile .wl-bp-actions>*{max-width:100%;white-space:normal}
body.wl-driven .wl-bp-identity>div{min-width:0}
body.wl-driven #wlClubShareNotice{overflow-wrap:anywhere}
body.wl-driven #wlDrivenFooter{overflow-wrap:anywhere}
body.wl-driven :is(.wl-brokers-directory,.wl-broker-profile,.wl-media-dialog,.wl-publishing-studio) button:focus-visible{outline:2px solid #1976a3;outline-offset:3px}
@media(max-width:780px){
 body.wl .app-header .header-actions{gap:5px}
 body.wl-driven .wl-bp-actions>*{font-size:11px}
 body.wl-driven .wl-bp-identity{grid-template-columns:minmax(90px,120px) minmax(0,1fr)}
 body.wl-driven .wl-bp-portrait{width:100%;max-width:120px;height:auto;aspect-ratio:3/4;object-fit:cover}
 body.wl-driven .wl-broker-profile{width:98vw}
}
@media(max-width:420px){
 body.wl-driven .wl-driven-grid,
 body.wl-driven .wl-central-grid{grid-template-columns:1fr}
 body.wl-driven .wl-bpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.wl-driven .wl-bp-identity{gap:8px;padding:10px}
 body.wl-driven .wl-bp-identity h2{font-size:18px}
}
