/* The app's frame (UI-3, #506): five top tabs and More ▾, and Opportunities' Sites · Map · Cities and More ▾.
   With six items the rows fit at every width above a phone (where web/phone-nav.css hides them for the bottom bar),
   so they stop scrolling sideways and More's menu can open below its button. */
@media (min-width: 601px) {
  .tabs, .subtabs { overflow: visible; }
}
.nav-more { position: relative; display: flex; }
.nav-more-btn { background: none; border: none; font-family: inherit; font-weight: 600; cursor: pointer; white-space: nowrap;
  border-bottom: 3px solid transparent; transition: color .15s; }
.tabs .nav-more-btn { color: #b8bcc2; font-size: 13px; padding: 12px 16px; }
.subtabs .nav-more-btn { color: #c4c8ce; font-size: 14px; padding: 9px 18px; }
.nav-more-btn:hover, .nav-more-btn[aria-expanded="true"] { color: #fff; }
.nav-more-btn.active { color: #fff; border-bottom-color: var(--gold); }
.nav-more-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.nav-more-menu { position: absolute; top: 100%; left: 0; z-index: 40; min-width: 200px; display: flex; flex-direction: column;
  padding: 6px; background: var(--ink); border: 1px solid #3a3f46; border-radius: 0 0 10px 10px; box-shadow: 0 10px 24px rgba(0, 0, 0, .3); }
.nav-more-menu[hidden] { display: none; }
.nav-more-menu .tab, .nav-more-menu .subtab { text-align: left; border-bottom: 0; border-left: 3px solid transparent; border-radius: 6px;
  padding: 10px 12px; min-height: 40px; color: #d6d9de; }
.nav-more-menu .tab:hover, .nav-more-menu .subtab:hover { background: #2c3036; color: #fff; }
.nav-more-menu .tab.active, .nav-more-menu .subtab.active { border-left-color: var(--gold); color: #fff; }

/* Today's by-stage bars (UI-8, #506): one board per pipeline, side by side when there is room. */
.dash-stage-boards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 14px; margin: 14px 0; }
.dash-stage-boards .card { margin: 0; cursor: pointer; }
.dash-stage-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.dash-stage { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr) 3ch; gap: 10px; align-items: center; font-size: 13px; }
.dash-stage-k { color: var(--ink); overflow-wrap: anywhere; }
.dash-stage-closed .dash-stage-k { color: var(--muted-ink); }
.dash-stage-bar { display: block; height: 12px; background: var(--muted-bg); border-radius: 3px; overflow: hidden; }
.dash-stage-bar > span { display: block; height: 100%; background: var(--gold); border-radius: 3px; }
.dash-stage-closed .dash-stage-bar > span { background: #c7ccd3; }
.dash-stage-win .dash-stage-bar > span { background: var(--go); }
.dash-stage-n { text-align: right; font-variant-numeric: tabular-nums; }
