/* CRM adopts the shared Mesper shell; sales workflows and module views stay intact. */
.crm-app-shell .crm-sidebar {
  min-height: 0;
  overflow: hidden;
  padding: 20px 12px 24px !important;
  background: var(--surface-2);
}
.crm-sidebar-scroll { display: flex; flex-direction: column; gap: 4px; }
.crm-app-shell .crm-sidebar[hidden] { display: none !important; }
.crm-app-shell .crm-nav-item {
  min-height: 36px;
  padding: 8px 10px !important;
  gap: 10px !important;
  border-radius: 6px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: var(--ink-3) !important;
  box-shadow: none !important;
}
.crm-app-shell .crm-nav-item:hover { background: var(--paper-2) !important; }
.crm-app-shell .crm-nav-item[aria-current="page"] {
  background: var(--accent-soft) !important;
  color: var(--accent-ink) !important;
  font-weight: 600 !important;
}
.crm-app-shell .crm-nav-item[aria-current="page"] > svg { color: var(--accent-ink) !important; }
.crm-app-shell .crm-main { min-height: 0; scroll-padding-top: 24px; }
.crm-app-shell .crm-main h1 { font-weight: 600; line-height: 1.3; }
.crm-app-shell .crm-main h2,
.crm-app-shell .crm-main h3 { line-height: 1.4; }
.crm-app-shell .crm-mobile-nav { min-height: 60px; }
.crm-app-shell .crm-mobile-nav button { min-height: 56px; }
.crm-app-shell .crm-mobile-nav button[aria-current="page"] { color: var(--accent-ink) !important; }
@media (max-width: 820px) {
  .crm-app-shell .crm-main { padding: 16px 16px 32px !important; }
}
