/* rmt-nav.css: the one stylesheet of the one agent nav (2026-10-08,
   PROMPT_RMT_ONE_AGENT_NAV_AND_SIGNIN_20261008.md). The markup is
   _brand.rmtNav; the browser half is rmt-nav.js.

   Loaded by every agent page of registermytour.com: the site's own pages (next
   to rmt.css) and the skinned ones (next to rmt-skin.css). Both carry the
   Blueprint tokens in :root (rmt.css's block), so this sheet holds no color of
   its own. Every class here starts with .rn-, so it never touches a page.

   Phone: the logo, a Menu button and the chip (or Sign in). The menu is the ONE
   list, opened under the band, 48 px rows. From 1024 px: the same list inline. */

.rn-bar, .rn-bar * { box-sizing: border-box; }
.rn-bar {
  --rn-h: 64px;
  position: relative; z-index: 40; width: 100%;
  background-color: var(--rmt-brand);
  background-image: radial-gradient(var(--rmt-brand-dots) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  color: #fff; font-family: var(--rmt-font-ui);
}
.rn-in { max-width: 1160px; height: var(--rn-h); margin: 0 auto; padding: 0 16px; display: flex; align-items: center; gap: 8px; }

.rn-logo { display: inline-flex; align-items: center; gap: 10px; min-height: var(--rmt-tap); margin-right: auto; color: #fff; text-decoration: none; }
.rn-logo svg, .rn-logo img { width: 34px; height: 34px; flex: none; display: block; }
.rn-logo span { font: 800 18px/1 var(--rmt-font-display); letter-spacing: -0.03em; color: #fff; white-space: nowrap; }
.rn-logo b { font-weight: inherit; color: var(--rmt-accent); }

.rn-menu {
  flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: var(--rmt-tap); height: var(--rmt-tap); padding: 0 12px; margin: 0;
  border: 1px solid var(--rmt-brand-edge); border-radius: var(--rmt-r-pill);
  background: none; color: #fff; font: 700 15px/1 var(--rmt-font-ui); cursor: pointer;
}
.rn-menu svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.rn-open .rn-menu { background: rgba(255, 255, 255, .14); }

.rn-signin {
  flex: none; display: inline-flex; align-items: center; height: var(--rmt-tap); padding: 0 16px;
  border: 1px solid var(--rmt-brand-edge); border-radius: var(--rmt-r-pill);
  color: #fff; font: 700 15.5px/1 var(--rmt-font-ui); text-decoration: none; white-space: nowrap;
}
.rn-acct { flex: none; display: inline-flex; align-items: center; gap: 10px; min-height: var(--rmt-tap); color: #fff; text-decoration: none; font: 600 15.5px/1 var(--rmt-font-ui); }
.rn-acct-name { display: none; }
.rn-acct-init {
  display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--rmt-accent); color: var(--rmt-ink); font: 700 15px/1 var(--rmt-font-display);
}
.rn-acct[aria-current="page"] .rn-acct-init { box-shadow: 0 0 0 3px #fff; }

/* phone and tablet: the list is the menu, under the band */
.rn-nav { display: none; }
.rn-open .rn-nav {
  display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%;
  padding: 6px 16px 12px; background: var(--rmt-surface); box-shadow: var(--rmt-shadow-pop);
}
.rn-link {
  display: flex; align-items: center; min-height: 48px; padding: 0 4px;
  border-bottom: 1px solid var(--rmt-line); color: var(--rmt-ink); text-decoration: none;
  font: 700 16px/1.2 var(--rmt-font-ui);
}
.rn-link:last-child { border-bottom: 0; }
.rn-link[aria-current="page"] { color: var(--rmt-brand); box-shadow: inset 4px 0 0 var(--rmt-accent); padding-left: 12px; }

/* signed in or not (rmt-nav.js): the agent's links and the chip only while signed in */
.rn-bar[data-rn-state="out"] .rn-agent, .rn-bar[data-rn-state="in"] .rn-guest,
.rn-bar[data-rn-state="wait"] .rn-agent, .rn-bar[data-rn-state="wait"] .rn-guest { display: none !important; }

.rn-bar :focus-visible { outline: 3px solid var(--rmt-ink); box-shadow: 0 0 0 7px var(--rmt-accent); outline-offset: 0; }
.rn-nav .rn-link:focus-visible { outline: 3px solid var(--rmt-brand); box-shadow: none; }

/* small phones (375 px and the like): the Menu button is its icon (its name stays, aria-label), tighter sides */
@media (max-width: 399px) {
  .rn-in { padding: 0 12px; gap: 6px; }
  .rn-menu { width: var(--rmt-tap); padding: 0; }
  .rn-menu span { display: none; }
}
/* the narrowest phones: the mark carries the logo */
@media (max-width: 359px) { .rn-logo span { display: none; } }

@media (min-width: 1024px) {
  .rn-bar { --rn-h: 68px; }
  .rn-in { padding: 0 clamp(20px, 4vw, 40px); gap: 12px; }
  .rn-logo { margin-right: 8px; }
  .rn-logo svg, .rn-logo img { width: 38px; height: 38px; }
  .rn-menu { display: none; }
  .rn-nav, .rn-open .rn-nav {
    display: flex; flex-direction: row; align-items: center; gap: 2px; position: static;
    margin-right: auto; padding: 0; background: none; box-shadow: none;
  }
  .rn-link {
    min-height: var(--rmt-tap); padding: 0 12px; border: 0; border-radius: var(--rmt-r-pill);
    color: #fff; font: 700 15.5px/1 var(--rmt-font-ui); white-space: nowrap;
  }
  .rn-link:hover { background: rgba(255, 255, 255, .12); color: #fff; }
  .rn-link[aria-current="page"] {
    color: #fff; box-shadow: none; padding-left: 12px;
    text-decoration: underline; text-decoration-color: var(--rmt-accent); text-decoration-thickness: 3px; text-underline-offset: 8px;
  }
  .rn-acct { padding: 0 6px 0 14px; border: 1px solid var(--rmt-brand-edge); border-radius: var(--rmt-r-pill); }
  .rn-acct-name { display: inline; max-width: 14em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .rn-acct-init { width: 34px; height: 34px; font-size: 13px; }
}

/* a skinned page whose app fills the screen (the assistant) leaves room for the band */
body[data-rmt-skin="index"] .app { height: calc(100vh - var(--rn-h, 64px)); height: calc(100dvh - 64px); }
@media (min-width: 1024px) { body[data-rmt-skin="index"] .app { height: calc(100vh - 68px); height: calc(100dvh - 68px); } }
/* the skinned pages' own small header held only the old wordmark (and My tours' link): the band replaces it */
body[data-rmt-skin] #app > .hdr { display: none !important; }
body[data-rmt-skin="my-tours"] .top .hi { padding-top: 12px; }
