.work-app-bar{display:flex;align-items:center;gap:10px;padding:8px 16px;background:#fff0f2;border-bottom:1px solid #edc9cf;min-height:52px;font:14px system-ui}.work-app-bar img{width:66px;height:28px;object-fit:contain}.work-app-bar strong{margin-right:auto;color:#713445}.work-app-bar button{background:#ac2936;color:white;border:0;border-radius:10px;padding:10px 12px;min-height:40px;font:600 12px system-ui}.work-install-dialog{max-width:420px;width:calc(100% - 24px);padding:22px;border:0;border-radius:18px;font:16px/1.5 system-ui}.work-install-dialog::backdrop{background:#18364080}.work-install-dialog button{padding:12px;border-radius:10px;border:0;background:#ac2936;color:white}
@media(max-width:1023px){
 html,body{max-width:100%;overflow-x:hidden}.page{max-width:100%;padding:12px 12px calc(88px + env(safe-area-inset-bottom));gap:12px}.dhead{position:static!important;display:flex;overflow-x:auto;flex-wrap:nowrap!important;justify-content:flex-start;padding:8px;gap:6px}.dhead .hb,.dhead .team-entry{flex:0 0 auto!important;min-width:105px;max-width:150px;min-height:44px;font-size:12px;white-space:normal}.dhead .hb.adv{display:flex!important}.bnav{z-index:30;height:calc(68px + env(safe-area-inset-bottom));font-size:10px}.bnav a{gap:3px;min-width:0;text-align:center;padding:4px 1px}.bnav a.on{background:#fbe7ed;border-radius:10px}.bnav svg{width:21px;height:21px}.helper{bottom:calc(82px + env(safe-area-inset-bottom))!important;right:12px!important}.ptop{gap:8px}.ptop h1{font-size:19px}.ptop .sub{font-size:12px}.in,input:not([type=checkbox]):not([type=radio]),textarea,select{font-size:16px;min-width:0;max-width:100%}.btn,.chip,button{touch-action:manipulation}.page .btn{min-height:42px}.page .grid2,.page .grid3,.client-with-details,.deal-finance-columns{grid-template-columns:minmax(0,1fr)!important}.page .grid3:has(.kpi),.svcnums,.stnums{grid-template-columns:repeat(2,minmax(0,1fr))!important}.client-deal-figures b{font-size:13px!important;white-space:normal}.client-deal-figures small{font-size:11px}.client-main .client-details{padding:12px}.client-main .client-details-title{font-size:16px}.layout-table-scroll{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.page table{font-size:12px}.page dialog,dialog{max-width:calc(100vw - 16px);max-height:calc(100dvh - 24px);overflow:auto}.mapp{height:var(--work-chat-height,65dvh)!important;min-height:320px!important;border-radius:12px}.mhead{padding:8px;height:auto;min-height:54px;gap:8px}.msearch{height:44px}.mtabs button{min-height:40px}.mapp textarea{font-size:16px}.mapp .mwho b{font-size:14px}.team-layout.selected{height:var(--work-chat-height,65dvh)!important;min-height:360px}.team-conversation{min-width:0;min-height:0}.team-head{padding:10px;gap:8px}.team-head small{max-height:36px;overflow:auto;font-size:11px}.team-compose{padding:8px}.team-compose form{flex-wrap:nowrap;gap:6px}.team-compose textarea{min-width:0;flex:1}.team-compose .btn{min-width:75px;white-space:nowrap;padding:8px}.team-tools{gap:6px;overflow-x:auto;flex-wrap:nowrap}.team-tools .btn{font-size:11px;flex-shrink:0}.work-keyboard .bnav,.work-keyboard .helper{display:none!important}.work-keyboard .page{padding-bottom:8px}.page .card{min-width:0}.page .row{overflow-wrap:anywhere}
}
