/* RecruMax Theme Engine — layout harmonization across all modules and legacy controller pages */
body.theme-mockup .content {
  color: var(--rx-text);
}

body.theme-mockup:not(.workspace-professional) > main.content {
  width: min(1680px, calc(100% - 48px)) !important;
  max-width: 1680px !important;
  margin: 0 auto !important;
  padding: 28px 0 44px !important;
}

body.theme-mockup .page-intro,
body.theme-mockup .page-header,
body.theme-mockup .workspace-header {
  margin-bottom: 18px;
}

body.theme-mockup .grid,
body.theme-mockup .dashboard-grid,
body.theme-mockup .workspace-grid,
body.theme-mockup .settings-modern-grid {
  gap: var(--rx-page-gap);
}

body.theme-mockup .card.pad,
body.theme-mockup .card.pad-lg,
body.theme-mockup .panel.pad,
body.theme-mockup .workspace-card {
  padding: var(--rx-card-padding);
}

body.theme-mockup .sidebar {
  width: var(--rx-sidebar-width);
}

@media (max-width: 900px) {
  body.theme-mockup:not(.workspace-professional) > main.content {
    width: min(100% - 24px, 1680px) !important;
    padding-top: 16px !important;
  }
}
