/* Preserve RIAYAH's existing visual identity; strengthen section navigation. */
body.rh-dashboard-navigation .workspace { min-width: 0; overflow: visible; }
body.rh-dashboard-navigation .dashboard-jumpbar {
  position: sticky;
  top: var(--rh-section-top, 86px);
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px;
  margin: 20px 0 24px;
  background: #071e32;
  border: 1px solid #24516c;
  border-radius: 12px;
  box-shadow: 0 8px 22px #020e1b40;
}
body.rh-dashboard-navigation .dashboard-jumpbar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #c8e0ef;
  background: transparent;
  font: 600 14px/1.4 Inter, 'Segoe UI', Arial, sans-serif;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
body.rh-dashboard-navigation .dashboard-jumpbar a:hover {
  color: #fff;
  background: #103a54;
  border-color: #35718b;
}
body.rh-dashboard-navigation .dashboard-jumpbar a.is-current {
  color: #effcff;
  background: #123d56;
  border-color: #45ccec;
}
body.rh-dashboard-navigation .dashboard-jumpbar a:focus-visible {
  outline: 3px solid #64dff7;
  outline-offset: 3px;
}
body.rh-dashboard-navigation [id^='dashboard-'][tabindex='-1']:focus {
  outline: none;
}
body.rh-dashboard-navigation [id^='dashboard-'][tabindex='-1']:focus-visible {
  outline: 2px solid #64dff7;
  outline-offset: 6px;
}
@media (max-width: 850px) {
  body.rh-dashboard-navigation .portal { grid-template-columns: minmax(0, 1fr); }
  body.rh-dashboard-navigation .sidebar { position: static; height: auto; width: 100%; overflow: visible; padding: 14px!important; }
  body.rh-dashboard-navigation .portal-brand { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 0 0 12px; margin: 0 0 8px; }
  body.rh-dashboard-navigation .portal-brand .portal-logo { width: 44px; height: 44px; margin: 0; }
  body.rh-dashboard-navigation .portal-brand h3 { margin: 0; font-size: 15px; overflow-wrap: anywhere; }
  body.rh-dashboard-navigation .menu { max-width: 100%; overflow-x: auto; }
  body.rh-dashboard-navigation .menu button { min-width: 165px; }
  body.rh-dashboard-navigation #moduleContent,
  body.rh-dashboard-navigation #moduleContent > * { min-width: 0; max-width: 100%; }
  body.rh-dashboard-navigation .dashboard-visual-grid,
  body.rh-dashboard-navigation .command-grid,
  body.rh-dashboard-navigation .command-bottom { grid-template-columns: minmax(0, 1fr); }
  body.rh-dashboard-navigation .data-panel,
  body.rh-dashboard-navigation .command-panel,
  body.rh-dashboard-navigation .directory-section { min-width: 0; overflow-x: auto; }
  body.rh-dashboard-navigation .topbar { height: auto; min-height: 74px; padding: 10px 14px; flex-wrap: wrap; gap: 8px; }
  body.rh-dashboard-navigation .topbar .brand { flex: 1 1 190px; }
  body.rh-dashboard-navigation .dashboard-section-title { align-items: start; flex-direction: column; gap: 6px; }
}
@media (max-width: 650px) {
  body.rh-dashboard-navigation .dashboard-jumpbar { gap: 4px; }
  body.rh-dashboard-navigation .dashboard-jumpbar a { flex: 1 1 calc(33.333% - 8px); padding: 10px 8px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  body.rh-dashboard-navigation .dashboard-jumpbar a { transition: none; }
}
