/* CRM Central phone layout polish. Desktop styles remain unchanged. */
.dashboard-quick-actions{display:none}
@media(max-width:900px){
 .sidebar nav#nav{display:none!important}
 .sidebar{position:relative!important;top:auto!important;inset:auto!important;z-index:20}
 .topbar{position:sticky!important;top:0!important;z-index:90}
 body{padding-bottom:calc(80px + env(safe-area-inset-bottom))!important}
 .mobile-app-nav{
  height:calc(72px + env(safe-area-inset-bottom))!important;
  padding:5px max(8px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))!important;
  align-items:center!important;gap:3px;
  border-top:1px solid #cadcd3;background:rgba(255,255,255,.98);
 }
 .mobile-app-nav button{
  width:100%;min-width:0;height:61px!important;min-height:61px;
  display:flex!important;flex-direction:column;align-items:center;justify-content:center;
  gap:5px!important;padding:5px 2px!important;border-radius:13px!important;
 }
 .mobile-app-nav button .mobile-nav-icon{width:27px;height:27px;display:grid;place-items:center;font-size:initial;line-height:1}
 .mobile-app-nav button .mobile-nav-icon svg{display:block;width:25px;height:25px}
 .mobile-app-nav button b{display:block;font-size:12px!important;line-height:1.1!important;font-weight:750;letter-spacing:0!important;white-space:nowrap}
 .mobile-app-nav button.active{color:var(--summit-green-dark);background:var(--summit-green-soft);box-shadow:inset 0 0 0 1px rgba(33,140,78,.13)}
 .mobile-app-nav .mobile-capture{
  width:100%!important;height:61px!important;min-height:61px!important;margin:0!important;
  border-radius:13px!important;background:linear-gradient(155deg,var(--summit-green),var(--summit-green-dark))!important;
  box-shadow:none!important;border:0!important;
 }
 .mobile-app-nav .mobile-capture .mobile-crm-chat{
  display:grid!important;place-items:center;width:29px!important;height:29px!important;
  border-radius:50%!important;background:#fff!important;
 }
 .mobile-app-nav .mobile-capture .mobile-crm-chat img{display:block;width:28px!important;height:28px!important}
 .mobile-app-nav .mobile-capture b{font-size:12px!important;color:#fff!important}
 .mobile-more-sheet{bottom:calc(80px + env(safe-area-inset-bottom))!important;max-height:65dvh;overflow-y:auto;overscroll-behavior:contain}
 .mobile-more-sheet button{font-size:14px;line-height:1.25;min-height:44px}
 .mobile-more-sheet button[hidden]{display:none!important}
 #summitBrainBubble .sib-launch{width:52px!important;height:52px!important;bottom:calc(85px + env(safe-area-inset-bottom))!important;right:12px!important;padding:4px!important}
 #summitBrainBubble .sib-chat-logo{width:39px;height:39px}
 #summitBrainBubble .sib-chat-logo img{width:38px;height:38px}
 body[data-workspace-view="Overview"] .command-actions{display:none}
 body[data-workspace-view="Overview"] .command-head-simple{margin-bottom:12px!important}
 body[data-workspace-view="Overview"] .command-head p{margin-bottom:5px}
 .dashboard-quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:-1px 0 14px}
 .dashboard-quick-actions button{min-width:0;min-height:48px;display:flex;align-items:center;justify-content:center;gap:5px;padding:9px 6px;border:1px solid #cadfd4;border-radius:12px;background:#fff;color:#266447;font-size:12px;line-height:1.2;font-weight:800;text-align:center;cursor:pointer}
 .dashboard-quick-actions button span{font-size:18px;line-height:1}
 .dashboard-quick-actions button:active{background:var(--summit-green-soft)}
}
@media(max-width:720px){
 .sidebar{padding:0 13px 5px!important;border-bottom:1px solid #e0e8e3!important}
 .sidebar:before{height:4px;margin:0 -13px 5px}
 #homeLogo{min-height:60px;gap:10px!important;padding:1px 0 5px!important}
 #homeLogo .brand-logo{width:52px!important;height:50px!important;flex:0 0 52px!important}
 #homeLogo .mobile-crm-title{font-size:21px!important;line-height:1.1!important}
 .topbar{min-height:80px!important;height:auto!important;padding:10px 13px!important;gap:8px!important;align-items:flex-start}
 .topbar .topbar-identity{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:7px!important;min-width:0;flex:1}
 .topbar .main-brand-lockup{display:none!important}
 .topbar .page-heading{grid-row:1}
 .topbar .page-heading h1{font-size:22px!important;color:var(--summit-green)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .topbar .business-switcher{grid-row:2;width:100%;min-width:0!important;max-width:100%!important}
 .topbar .business-switcher select{width:100%!important;min-width:0!important;max-width:100%!important;height:34px!important;min-height:34px!important;font-size:13px!important;padding:0 28px 0 10px!important}
 .topbar .actions{align-self:flex-start;padding-top:0!important;gap:7px!important}
 .topbar .icon-action-btn,.topbar .search-icon-btn{width:38px!important;height:38px!important;min-height:38px!important;border-radius:10px!important}
 .topbar .global-search-wrap{width:38px!important;height:38px;min-width:38px;position:relative}
 .topbar .search-icon-btn{position:static!important;display:grid!important;place-items:center!important;border:1px solid var(--line-strong)!important;background:#fff}
 body[data-workspace-view="Overview"] #addBtn{display:none!important}
 body[data-workspace-view="Overview"] #app{padding:16px 13px 30px!important}
 body[data-workspace-view="Overview"] .command-head h2{font-size:23px!important;line-height:1.15!important;margin:4px 0 6px!important}
 body[data-workspace-view="Overview"] .eyebrow{font-size:11px!important;letter-spacing:.08em}
 body[data-workspace-view="Overview"] .command-head p{font-size:14px!important;line-height:1.4!important}
 body[data-workspace-view="Overview"] .dashboard-freshness{font-size:11px!important;margin-top:5px}
 body[data-workspace-view="Overview"] .command-metrics.command-metrics-four{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;margin:0 0 12px!important}
 body[data-workspace-view="Overview"] .command-metric{min-width:0;min-height:113px!important;padding:12px 12px!important;border-radius:13px!important;text-align:left}
 body[data-workspace-view="Overview"] .command-metric span{font-size:11px!important;line-height:1.2;letter-spacing:.04em}
 body[data-workspace-view="Overview"] .command-metric strong{font-size:29px!important;line-height:1.15!important;margin:8px 0 4px!important}
 body[data-workspace-view="Overview"] .command-metric small{font-size:11px!important;line-height:1.35!important;overflow-wrap:anywhere}
 body[data-workspace-view="Overview"] .command-grid-home{gap:12px}
 body[data-workspace-view="Overview"] .command-card-head{padding:13px 14px}
 body[data-workspace-view="Overview"] .command-card-head h3{font-size:17px}
 body[data-workspace-view="Overview"] .command-empty{padding:15px!important}
 .mobile-search-open .topbar .global-search-wrap{position:absolute;left:10px;right:10px;top:7px;width:auto!important;min-width:0!important;height:47px;z-index:200;background:#fff}
 .mobile-search-open .topbar .global-search-wrap input{display:block!important;width:100%!important;min-width:0!important;height:47px!important;font-size:16px!important;padding:0 52px 0 12px!important;background:#fff}
 .mobile-search-open .topbar .search-icon-btn{position:absolute!important;right:4px;top:4px;width:39px!important;height:39px!important;background:#eff7f1}
 .mobile-search-open .global-search-results{left:0;right:0;top:calc(100% + 5px);width:100%!important;max-height:55dvh}
}
@media(max-width:360px){
 .mobile-app-nav button b{font-size:11px!important}
 .dashboard-quick-actions button{font-size:11px;padding:7px 3px}
 body[data-workspace-view="Overview"] .command-metric{padding:11px 9px!important}
}