/* Menu hubs (public/js/hubs.js). The rail links reuse `.rail nav a`; this adds
   the tab strip across the top of the page and the Settings link under the
   person's name. Phone rules are at the end of css/phone.css. */
.hub-tabs {
  flex: none; display: flex; align-items: stretch; gap: 22px; padding: 0 20px;
  background: var(--card); border-bottom: 1px solid var(--border);
  overflow-x: auto; scrollbar-width: none;
}
.hub-tabs::-webkit-scrollbar { display: none; }
.hub-tab {
  display: flex; align-items: center; gap: 6px; padding: 11px 2px; white-space: nowrap;
  color: #475569; font-weight: 600; font-size: 13.5px; border-bottom: 2px solid transparent;
}
.hub-tab:hover { color: var(--text); text-decoration: none; }
.hub-tab.on { color: var(--blue-dark); border-bottom-color: var(--blue); }
.hub-n { font-size: 11px; font-weight: 700; border-radius: 999px; padding: 0 7px; background: #e2e8f0; color: #334155; }
.hub-tab.on .hub-n { background: #dbeafe; color: var(--blue-dark); }
.hub-n.warn { background: #d97706; color: #fff; }
.hub-n.danger { background: #dc2626; color: #fff; }
.rail .me .who .me-settings { color: #cbd5e1; }
.rail .me .who .me-settings:hover, .rail .me .who .me-settings.on { color: #fff; }
.pnav-hub {
  padding: 12px 14px 4px; font-size: 11px; font-weight: 700; letter-spacing: .5px;
  text-transform: uppercase; color: var(--muted);
}

/* Notices in one pill (public/js/noticetray.js). */
.ntray { margin-bottom: 12px; }
.ntray-pill {
  border: 1px solid #fcd34d; background: #fffbeb; color: #92400e; border-radius: 999px;
  padding: 5px 13px; font-weight: 600; font-size: 12.5px; cursor: pointer;
}
.ntray-pill.danger { border-color: #fca5a5; background: #fef2f2; color: #991b1b; }
.ntray-body { margin-top: 10px; }

/* Lead buttons that follow the stage (public/js/leadactions.js). */
.la-up { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.la-more { position: relative; }
.la-more-btn svg { width: 14px; height: 14px; }
.la-menu {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 70; width: 560px; max-width: calc(100vw - 40px);
  background: #fff; color: var(--text); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .18); padding: 12px 14px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px;
}
.la-menu[hidden] { display: none; }
.la-h { font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.la-items { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.la-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
.la-pick .check-row { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.la-pos { margin-left: auto; }
