html.hub-design-tokens-v1 .hub-menu-category {
  min-width: 0;
  border-bottom: 1px solid var(--hub-color-border);
}

html.hub-design-tokens-v1 .hub-menu-category > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 8px;
  list-style: none;
  font-size: .78rem;
  font-weight: 600;
  color: var(--hub-color-text-muted);
  cursor: pointer;
}

html.hub-design-tokens-v1 .hub-menu-category > summary::-webkit-details-marker { display: none; }
html.hub-design-tokens-v1 .hub-menu-category > summary:hover { color: var(--hub-color-primary); }
html.hub-design-tokens-v1 .hub-menu-category > summary:focus-visible {
  outline: 2px solid var(--hub-color-primary);
  outline-offset: -2px;
  border-radius: 6px;
}
html.hub-design-tokens-v1 .hub-menu-category-label { flex: 1; min-width: 0; }
html.hub-design-tokens-v1 [data-menu-category-count] { font-weight: 400; }
html.hub-design-tokens-v1 .hub-menu-category-arrow { font-size: .65rem; }
html.hub-design-tokens-v1 .hub-menu-category[open] .hub-menu-category-arrow { transform: rotate(90deg); }
html.hub-design-tokens-v1 .hub-menu-category-items { display: flex; flex-direction: column; gap: 2px; padding-bottom: 6px; }

html.hub-design-tokens-v1 .marketing-overview-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px;
  margin: 0;
  border: 1px solid var(--hub-color-border);
  border-radius: 9px;
  background: var(--hub-color-surface);
}
html.hub-design-tokens-v1 .marketing-overview-tabs .nav-link {
  color: var(--hub-color-text-muted);
  border-radius: 6px;
  font-size: .86rem;
  font-weight: 500;
  padding: 9px 14px;
}
html.hub-design-tokens-v1 .marketing-overview-tabs .nav-link.active { background: var(--hub-color-primary-soft); color: var(--hub-color-primary-strong); }
html.hub-design-tokens-v1 .marketing-overview-tabs .nav-link:focus-visible { outline: 2px solid var(--hub-color-primary); outline-offset: 2px; }
html.hub-design-tokens-v1 .marketing-overview-section { margin: 20px 0 12px; }
html.hub-design-tokens-v1 .marketing-overview-section h3 { font-size: 1rem; margin: 0 0 4px; }
html.hub-design-tokens-v1 .marketing-overview-section p { margin: 0; font-size: .85rem; color: var(--hub-color-text-muted); }
html.hub-design-tokens-v1 .marketing-overview-context { font-size: .82rem; color: var(--hub-color-text-muted); }
html.hub-design-tokens-v1 #viewMarketingExecutive > .d-flex > div { min-width: 0; max-width: 100%; }
html.hub-design-tokens-v1 #viewMarketingExecutive .hub-page-copy { white-space: normal; overflow-wrap: anywhere; }
html.hub-design-tokens-v1 .marketing-overview-content, html.hub-design-tokens-v1 .marketing-overview-content > .tab-pane { min-width: 0; }
html.hub-design-tokens-v1 .marketing-overview-content .marketing-overview-section:first-child { margin-top: 0; }
html.hub-design-tokens-v1 .marketing-overview-content .hub-kpi-grid { margin-bottom: 16px; }
html.hub-design-tokens-v1 #viewMarketingExecutive .marketing-overview-content .hub-kpi-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (min-width: 1200px) {
  html.hub-design-tokens-v1 #appSection.is-sidebar-collapsed:not(.is-sidebar-peeking) .hub-menu-category-label,
  html.hub-design-tokens-v1 #appSection.is-sidebar-collapsed:not(.is-sidebar-peeking) [data-menu-category-count],
  html.hub-design-tokens-v1 #appSection.is-sidebar-collapsed:not(.is-sidebar-peeking) .hub-menu-category-arrow { display: none; }
}

@media (max-width: 575.98px) {
  html.hub-design-tokens-v1 .marketing-overview-tabs .nav-item { flex: 1 1 100%; }
  html.hub-design-tokens-v1 .marketing-overview-tabs .nav-link { width: 100%; text-align: left; }
  html.hub-design-tokens-v1 #viewMarketingExecutive .marketing-overview-content .hub-kpi-grid--three { grid-template-columns: 1fr; }
}

@media print {
  .marketing-overview-tabs { display: none !important; }
  .marketing-overview-content > .tab-pane { display: block !important; opacity: 1 !important; }
}
