/* JW MailMap clean mobile shell; desktop unaffected. */
#jw-mobile-search-close{display:none}
@media(max-width:760px),(max-width:950px) and (max-height:500px){
 body{padding-bottom:calc(82px + env(safe-area-inset-bottom))!important}
 .app{display:block!important;min-width:0!important}
 .app>aside{display:none!important}
 .app>main{padding:12px 14px 24px!important;min-width:0!important;width:100%!important;max-width:100vw!important}
 .app>main>.top{display:flex!important;flex-wrap:wrap;gap:8px;margin:0 0 14px!important}
 .app>main>.top .lookupbar{flex:1 1 100%;min-width:0}
 .app>main>.top .lookupbar input{min-height:44px;width:100%}
 .app>main>.top .top-action-group{display:none!important}
 .panel{max-width:100%;min-width:0}
 .dashboard-page-head{display:block!important;padding:12px 2px!important}
 .dashboard-page-title{font-size:28px!important;line-height:1.15!important}
 .dashboard-page-sub{font-size:13px!important}
 .dashboard-page-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:14px!important}
 .dashboard-page-actions button{font-size:12px!important;min-height:46px!important;padding:8px 5px!important;white-space:normal!important}
 .card{border-radius:16px!important}
 button,input,select,textarea{max-width:100%}
 button{touch-action:manipulation}
 #jw-mobile-bar{position:fixed;z-index:10050;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:7px 7px calc(8px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e6e9e5;box-shadow:0 -5px 24px #16251c14}
 #jw-mobile-bar button{border:0;background:transparent;color:#6d746e;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:52px;padding:5px 0;border-radius:12px;font:600 10px/1.2 system-ui,sans-serif}
 #jw-mobile-bar button svg{width:22px;height:22px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}
 #jw-mobile-bar button[aria-current=page]{background:#edf2e9;color:#2f5638}
 #jw-mobile-more{position:fixed;z-index:10051;bottom:calc(76px + env(safe-area-inset-bottom));left:12px;right:12px;background:#fff;border:1px solid #dfe5dc;border-radius:18px;padding:14px;box-shadow:0 14px 45px #14221c35;max-height:65vh;overflow:auto}
 #jw-mobile-more[hidden],#jw-mobile-bar[hidden]{display:none!important}
 #jw-mobile-more button{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid #edf0eb;background:#fff;padding:13px;font-size:15px;color:#26352c}
 #jw-mobile-bar{z-index:1000}
 #jw-mobile-more{z-index:1001}
 .app>main>.top .lookupbar input{font-size:16px!important;min-height:44px!important}
 .top.mobile-search-active .lookupbar{display:flex!important;gap:8px;align-items:center;padding-top:calc(10px + env(safe-area-inset-top))!important}
 .top.mobile-search-active .autowrap{flex:1;min-width:0}
 .top.mobile-search-active #jw-mobile-search-close{display:block;flex:0 0 auto;border:0;background:transparent;color:#235b3a;font-size:16px;min-height:44px;padding:8px}
 /* The shell's more-specific flex rule used to center the search header behind results. */
 .app>main>.top.mobile-search-active{display:block!important;height:100dvh!important;bottom:auto!important;margin:0!important;align-items:initial!important}
 .app>main>.top.mobile-search-active .lookupbar{position:static!important;max-width:none!important;margin:0!important;flex:none!important}
 .app>main>.top.mobile-search-active #topAddress{font-size:16px!important;min-height:48px!important;padding-right:14px!important}
 .app>main>.top.mobile-search-active #jw-mobile-search-close{display:block!important;position:static!important;min-width:60px;min-height:48px!important}
 .top.mobile-search-active #topSuggestions{top:calc(76px + env(safe-area-inset-top))!important;z-index:1;padding-bottom:calc(24px + env(safe-area-inset-bottom))!important}
 #jw-mobile-estimator{display:flex;align-items:center;justify-content:center;min-height:52px;margin:12px 0;padding:12px;border-radius:12px;background:#173f2b;color:#fff;text-decoration:none;font:700 16px/1.3 system-ui,sans-serif}
 #jw-mobile-more a{display:block;padding:13px;color:#173f2b;font-size:16px;font-weight:700;text-decoration:none;border-bottom:1px solid #edf0eb}
 #clients .client-filter-bar,#clients .client-filters{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
 #clients input,#clients select{font-size:16px!important;min-height:44px}
 #activeclients.jw-job-management{padding:12px!important}
 #activeclients .jw-ws-front h3{font-size:18px;line-height:1.3;margin:0 0 8px}
 #activeclients .jw-ws-front .jw-ws-actions{display:flex;flex-wrap:wrap;gap:8px}
 #activeclients .jw-ws-front .jw-ws-actions>.btn{min-height:44px}
 #activeclients .jw-ws-front .quo-last-communication{flex-basis:100%;margin-top:4px}
 #activeclients .jw-ws-job>summary{flex-wrap:wrap;padding:12px 0}
 #activeclients .jw-ws-summary-right{max-width:100%;text-align:left}
}
@media(min-width:761px) and (min-height:501px),(min-width:951px){#jw-mobile-bar,#jw-mobile-more,#jw-mobile-estimator{display:none!important}}


