/* Grouped navigation: top-bar group menus, page search, and the grouped phone "more" sheet. */
.ng-bar { display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; }
.ng-wrap { position: relative; flex: none; }
.ng-caret { font-size: 0.6rem; opacity: 0.85; margin-inline-start: 2px; }
.ng-scrim { position: fixed; inset: 0; z-index: 60; background: transparent; }
.ng-menu, .ng-results {
  position: absolute; inset-inline-start: 0; top: 100%; margin-top: 0.5rem; min-width: 15rem; max-height: 70vh; overflow-y: auto;
  background: #fff; color: #1e293b; border: 1px solid #e2e8f0; border-radius: 12px; padding: 0.4rem; box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25); z-index: 70;
}
.ng-item {
  display: flex; align-items: center; gap: 0.5rem; width: 100%; min-height: 40px; padding: 0.5rem 0.75rem; border: 0; border-radius: 8px;
  background: transparent; color: #1e293b; font-size: 0.875rem; font-weight: 600; text-align: right; cursor: pointer;
}
.ng-item:hover { background: #f1f5f9; }
.ng-item.active { background: #eff6ff; color: var(--gedo-blue); }
.ng-item small { margin-inline-start: auto; color: #64748b; font-size: 0.72rem; font-weight: 500; }
.ng-search { position: relative; flex: none; margin-inline-start: auto; }
.ng-search input {
  width: 13rem; min-height: 36px; padding: 0.35rem 0.8rem; border: 1px solid #334155; border-radius: 0.5rem;
  background: #1e293b; color: #fff; font: inherit; font-size: 0.8rem;
}
.ng-search input::placeholder { color: #94a3b8; }
.ng-search input:focus { outline: 2px solid var(--gedo-blue); outline-offset: 1px; }
.ng-results { inset-inline-start: auto; inset-inline-end: 0; min-width: 18rem; }
.ng-empty { padding: 0.6rem 0.75rem; font-size: 0.82rem; color: #64748b; }

/* Phone "more" sheet: group titles span the whole grid, a search box sits on top. */
.bottom-nav-more .ng-sheet-title { grid-column: 1 / -1; padding: 8px 4px 0; font-size: 0.72rem; font-weight: 800; color: #b45309; text-align: right; }
.bottom-nav-more .ng-sheet-search { grid-column: 1 / -1; }
.bottom-nav-more .ng-sheet-search input {
  width: 100%; box-sizing: border-box; min-height: 44px; padding: 8px 14px; border: 1px solid #d2dae6; border-radius: 12px;
  background: #fff; color: #13233b; font: inherit; font-size: 0.95rem;
}

/* Smart Ricoh: the primary tabs stay as they are, so only the "more" menu is grouped. */
.ng-menu.ng-menu-left { inset-inline-start: auto; left: 0; min-width: 16rem; }
.ng-group-title { padding: 8px 12px 2px; font-size: 0.72rem; font-weight: 800; color: #b45309; }
.ng-menu-search { display: block; padding: 2px 2px 6px; }
.ng-menu-search input {
  width: 100%; box-sizing: border-box; min-height: 40px; padding: 6px 12px; border: 1px solid #d2dae6; border-radius: 10px;
  background: #fff; color: #13233b; font: inherit; font-size: 0.875rem;
}
