/* Resume Review · SUB-MENU (tabs + live visitors). Every selector is prefixed r4p-rrsm__ (or the shared .r4p-rrb root), so it cannot clash with the rest of the site.
   Colour tokens, icons and the reveal animation come from shared/base.css. */
.r4p-rrsm__sub{box-sizing:border-box;width:100%;max-width:1160px;margin-inline:auto;display:none;padding-left:max(clamp(16px,4vw,32px),env(safe-area-inset-left));padding-right:max(clamp(16px,4vw,32px),env(safe-area-inset-right));background:var(--r4pm-nav-bg, var(--r4prr-card));border-bottom:1px solid var(--r4pm-nav-line, var(--r4prr-border))}
.r4p-rrsm__sub--fixed{position:fixed;top:var(--r4prsm-top,0px);left:0;right:0;z-index:999;transition:transform .3s var(--r4pm-ease, cubic-bezier(.22,1,.36,1))}
.r4p-rrsm__sub--fixed.is-scrolled{transform:translateY(calc(var(--r4prsm-strip,0px) * -1));box-shadow:var(--r4pm-bar-shadow, var(--r4prr-shadow))}
.r4p-rrsm__sub-in{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:var(--r4pm-container, 1160px);min-height:44px;margin:0 auto}
.r4p-rrsm__tabs{display:flex;flex-wrap:wrap;gap:4px}
.r4p-rrsm__tab{display:inline-flex;align-items:center;min-height:36px;padding:0 12px;border-radius:8px;color:var(--r4pm-nav-sub, var(--r4prr-muted));font:500 13px/20px var(--r4pm-font, "Sora",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif);text-decoration:none;transition:background .15s var(--r4pm-ease, cubic-bezier(.22,1,.36,1)),color .15s var(--r4pm-ease, cubic-bezier(.22,1,.36,1))}
.r4p-rrsm__space{display:none}
.r4p-rrsm__live{display:inline-flex;flex:none;align-items:center;gap:8px;min-height:30px;margin:0;padding:0 12px;border:1px solid var(--r4pm-nav-line, var(--r4prr-border));border-radius:999px;color:var(--r4pm-nav-sub, var(--r4prr-muted));font:600 12.5px/1.3 var(--r4pm-font, "Sora",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif)}
.r4p-rrsm__live-num{color:var(--r4pm-nav-text, var(--r4prr-ink))}
.r4p-rrsm__live--wait{visibility:hidden}
.r4p-rrsm__dot{position:relative;flex:none;width:8px;height:8px;border-radius:50%;background:var(--r4prr-live)}
.r4p-rrsm__dot::after{content:"";position:absolute;inset:0;border-radius:50%;background:var(--r4prr-live);animation:r4prr-pulse 1.8s ease-out infinite}
@media (min-width:1024px){
  .r4p-rrsm__sub{display:block}
  .r4p-rrsm__space{display:block}
}
@media (hover:hover){
  .r4p-rrsm__tab:hover{background:var(--r4pm-nav-hover, var(--r4prr-tile));color:var(--r4pm-nav-text, var(--r4prr-ink))}
}
@media (prefers-reduced-motion:reduce){
  .r4p-rrsm__sub{transition:none!important;animation:none!important}
}

/* no main menu found: a plain sticky row */
.r4p-rrsm__sub--static{position:sticky;top:0;z-index:50}

/* classes for the small tags */
.r4p-rrsm{display:block}
.r4p-rrsm__live-text,.r4p-rrsm__live-noun{display:inline}
