/* SoloMove 2.7 — full viewport layout, clean CRM shell and mobile safety. */
:root,html,body{width:100%;max-width:none!important;min-width:0;margin:0!important;overflow-x:clip}
body{background:#fff!important}
body .sm-ref-header,body .sm-ref-footer,body main.sm-ref-home,body main.sm-v21-fullpage,
body .sm-ref-top,body .sm-ref-home>section,body .sm-v21-home .sm-ref-hero,
body .sm-ref-home .sm-ref-hero,body .sm-ref-fast-quote{width:100%!important;max-width:none!important;margin-inline:0!important}
/* Prevent older 1210/1230/1320px constraints on header, hero and all public sections. */
body .sm-ref-header .site-container,
body .sm-ref-home .site-container,
body .sm-ref-footer .site-container,
body main.sm-v21-fullpage .site-container{
 width:100%!important;max-width:none!important;min-width:0;
 padding-inline:clamp(15px,2.2vw,36px)!important;margin-inline:0!important;
}
body .sm-ref-header .sm-ref-navline{width:100%!important;min-width:0;justify-content:space-between;}
body .sm-ref-home .sm-ref-hero.sm-v22-cover{border-radius:0!important;max-width:none!important}
body .sm-v21-home .sm-ref-hero.sm-v22-cover .sm-ref-hero-layout{width:100%!important;max-width:none!important}
body .sm-ref-home img{max-width:100%;height:auto}
body .sm-ref-home .sm-v22-hero-image{max-width:none;width:100%;height:100%;object-fit:cover}
/* The staff application is a single cohesive screen; do not stack the marketing header/footer around it. */
body.sm-dashboard-page{background:#f3f6f8!important;}
body.sm-dashboard-page .sm-ref-header,
body.sm-dashboard-page .sm-ref-footer,
body.sm-dashboard-page .sm-ref-mobile-nav,
body.sm-dashboard-page .sm-ref-whatsapp,
body.sm-dashboard-page .sm-pwa-install{display:none!important}
body.sm-dashboard-page main.sm-v21-fullpage,
body.sm-dashboard-page .sm-wrap.sm-enterprise,
body.sm-dashboard-page .sm-ws-shell{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;min-width:0}
body.sm-dashboard-page .sm-ws-shell{min-height:100dvh;grid-template-columns:220px minmax(0,1fr)}
body.sm-dashboard-page .sm-ws-content{width:100%;max-width:none;margin:0;padding:clamp(14px,2.1vw,28px);}
body.sm-dashboard-page .sm-ws-main{min-width:0;width:100%}
body.sm-dashboard-page .sm-ws-sidebar{max-height:100dvh;overflow-y:auto}
body.sm-dashboard-page .sm-live-workspace{width:100%;max-width:none;min-width:0}
body.sm-dashboard-page .sm-live-chat-room{min-width:0}
body.sm-dashboard-page .sm-ws-footer{margin-top:16px}
@media(max-width:1180px){body.sm-dashboard-page .sm-ws-shell{display:block}body.sm-dashboard-page .sm-ws-sidebar{width:min(285px,90vw)}body .sm-ref-header .sm-ref-navigation{max-width:100%}}
@media(max-width:700px){
 body .sm-ref-header .site-container,body .sm-ref-home .site-container,body .sm-ref-footer .site-container,body main.sm-v21-fullpage .site-container{padding-inline:16px!important}
 body .sm-ref-header .sm-ref-navline{gap:8px}
 body .sm-ref-home .sm-ref-hero.sm-v22-cover .sm-ref-hero-layout{padding-block:42px 52px}
 body.sm-dashboard-page .sm-ws-content{padding:12px!important}
 body.sm-dashboard-page .sm-live-workspace{min-width:0}
 body.sm-dashboard-page .sm-ws-shell{min-height:100dvh}
}
@media(max-width:420px){
 body.sm-dashboard-page .sm-ws-content{padding:9px!important}
 body.sm-dashboard-page .sm-ws-pageactions{flex-wrap:wrap}
 body.sm-dashboard-page .sm-live-chat-room{min-width:0}
}

/* Remove native admin-bar gap on the front-end operations screen. */
html:has(body.sm-dashboard-page){margin-top:0!important}
body.sm-dashboard-page #wpadminbar{display:none!important}
