/* Reflective Time Model Navigation V6 — presentation only. Loaded last. */
:root{--nav6-ink:#0a1321;--nav6-muted:#65758a;--nav6-line:#d9e3ee;--nav6-blue:#4f67f2;--nav6-teal:#10aeb2;--nav6-dark:#08131f;--nav6-gold:#f2c46d}

/* Utility strip: external research profiles only. */
.research-strip,
.rtm-research-strip{
  position:sticky!important;top:0!important;z-index:140!important;
  min-height:32px!important;height:32px!important;
  background:linear-gradient(90deg,#07111c 0%,#0a1a28 52%,#07111c 100%)!important;
  border:0!important;border-bottom:1px solid rgba(134,164,195,.14)!important;
  box-shadow:none!important;backdrop-filter:blur(18px)!important;
  color:#c9d7e6!important;
}
.research-strip-inner,
.rtm-research-strip-inner{
  width:min(1380px,calc(100% - 32px))!important;margin:0 auto!important;
  height:32px!important;min-height:32px!important;padding:0!important;
  display:flex!important;align-items:center!important;gap:0!important;
  overflow-x:auto!important;scrollbar-width:none!important;
}
.research-strip-inner::-webkit-scrollbar,.rtm-research-strip-inner::-webkit-scrollbar{display:none}
.research-strip-label,.rtm-research-label{
  display:inline-flex!important;align-items:center!important;gap:7px!important;
  height:32px!important;min-height:32px!important;padding:0 12px!important;margin:0!important;
  border:0!important;border-inline-end:1px solid rgba(179,199,220,.16)!important;
  color:#8296ad!important;font-size:9px!important;font-weight:900!important;
  letter-spacing:.11em!important;text-transform:uppercase!important;white-space:nowrap!important;
  background:transparent!important;box-shadow:none!important;border-radius:0!important;
}
.research-strip-label::before,.rtm-research-label::before{
  content:""!important;width:5px!important;height:5px!important;border-radius:50%!important;
  background:#45dfd2!important;box-shadow:0 0 12px rgba(69,223,210,.55)!important;
}
.research-link,.rtm-research-link{
  display:inline-flex!important;align-items:center!important;gap:5px!important;
  height:32px!important;min-height:32px!important;padding:0 13px!important;margin:0!important;
  border:0!important;border-inline-end:1px solid rgba(179,199,220,.10)!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;transform:none!important;
  color:#c9d6e4!important;font-size:10px!important;font-weight:820!important;white-space:nowrap!important;
}
.research-link:hover,.rtm-research-link:hover{background:rgba(107,151,205,.08)!important;color:#fff!important;transform:none!important}
.research-link.external::after,.rtm-research-link.external::after{content:"↗"!important;font-size:8px!important;color:#71869e!important}
.research-link.gold,.rtm-research-link.gold{color:var(--nav6-gold)!important}

/* Main site navigation: single source of internal navigation. */
body:not(.rtm-lab-page) .header{top:32px!important;z-index:125!important;background:rgba(255,255,255,.965)!important;border-bottom:1px solid #dfe7f0!important;box-shadow:0 5px 18px rgba(12,31,52,.035)!important;backdrop-filter:blur(20px)!important}
html[data-theme="dark"] body:not(.rtm-lab-page) .header,body[data-theme="dark"]:not(.rtm-lab-page) .header{background:rgba(9,17,28,.965)!important;border-bottom-color:#223247!important}
body:not(.rtm-lab-page) .header-inner{height:70px!important;min-height:70px!important;gap:18px!important;width:min(1380px,calc(100% - 32px))!important}
body:not(.rtm-lab-page) .brand{gap:10px!important;margin-inline-end:10px!important;flex:0 0 auto!important}
body:not(.rtm-lab-page) .brand img{width:39px!important;height:39px!important}
body:not(.rtm-lab-page) .brand strong{font-size:16px!important;font-weight:950!important;letter-spacing:-.025em!important;color:var(--nav6-ink)!important}
body:not(.rtm-lab-page) .brand small{font-size:8px!important;letter-spacing:.075em!important;color:#718198!important;margin-top:1px!important}
html[data-theme="dark"] body:not(.rtm-lab-page) .brand strong,body[data-theme="dark"]:not(.rtm-lab-page) .brand strong{color:#f3f7fc!important}

body:not(.rtm-lab-page) .nav{display:flex!important;align-items:center!important;justify-content:center!important;gap:3px!important;overflow:visible!important;flex:1 1 auto!important;color:#5f6f84!important;font-size:11px!important;font-weight:830!important}
body:not(.rtm-lab-page) .nav a{position:relative!important;display:inline-flex!important;align-items:center!important;height:38px!important;padding:0 11px!important;border:1px solid transparent!important;border-radius:10px!important;background:transparent!important;color:inherit!important;white-space:nowrap!important;transition:.16s ease!important}
body:not(.rtm-lab-page) .nav a:hover{background:#f3f7fb!important;color:#14233a!important}
body:not(.rtm-lab-page) .nav a.nav-current{background:#f2f5ff!important;color:#4058dd!important}
body:not(.rtm-lab-page) .nav a.nav-current::after{content:"";position:absolute;inset-inline:11px;bottom:3px;height:2px;border-radius:99px;background:#586ff4}
body:not(.rtm-lab-page) .nav a[href$="/rtm-lab/"],body:not(.rtm-lab-page) .nav a[href$="/en/rtm-lab/"]{
  color:#fff!important;background:linear-gradient(135deg,#405ff2,#6857e8)!important;
  border-color:rgba(68,83,221,.25)!important;box-shadow:0 7px 18px rgba(72,73,205,.15)!important;font-weight:930!important;
}
body:not(.rtm-lab-page) .nav a[href$="/rtm-lab/"]::before,body:not(.rtm-lab-page) .nav a[href$="/en/rtm-lab/"]::before{content:"◆";font-size:6px;margin-inline-end:6px;color:#70eee3}
body:not(.rtm-lab-page) .nav a[href$="/rtm-lab/"].nav-current::after,body:not(.rtm-lab-page) .nav a[href$="/en/rtm-lab/"].nav-current::after{display:none!important}
body:not(.rtm-lab-page) .nav a[href$="/tanakh/"],body:not(.rtm-lab-page) .nav a[href$="/en/tanakh/"]{color:#087b80!important}

body:not(.rtm-lab-page) .header-actions{gap:7px!important;margin-inline-start:0!important}
.v13-command-btn,.v13-lang-btn,.v13-menu-btn,body:not(.rtm-lab-page) .icon-btn{height:36px!important;border-radius:10px!important;border-color:#d8e2ec!important;background:#fff!important;box-shadow:none!important}
.v13-command-btn{padding:0 10px!important;font-size:10px!important}.v13-lang-btn{font-size:10px!important}.v13-command-btn kbd{font-size:8px!important}

/* RTM Lab keeps its own console header; only the utility strip is standardized. */
body:has(.console) .rtm-research-strip{position:relative!important;top:auto!important}

@media(max-width:1100px){
 body:not(.rtm-lab-page) .nav{gap:0!important;font-size:10px!important}
 body:not(.rtm-lab-page) .nav a{padding-inline:8px!important}
 body:not(.rtm-lab-page) .brand small{display:none!important}
}
@media(max-width:860px){
 .research-strip,.rtm-research-strip{height:30px!important;min-height:30px!important}
 .research-strip-inner,.rtm-research-strip-inner{height:30px!important;min-height:30px!important;width:100%!important;padding-inline:8px!important}
 .research-strip-label,.rtm-research-label{height:30px!important;min-height:30px!important;padding-inline:9px!important;font-size:8px!important}
 .research-link,.rtm-research-link{height:30px!important;min-height:30px!important;padding-inline:10px!important;font-size:9px!important}
 body:not(.rtm-lab-page) .header{top:30px!important}
 body:not(.rtm-lab-page) .header-inner{height:62px!important;min-height:62px!important;width:min(100% - 20px,1380px)!important}
 body:not(.rtm-lab-page) .nav{display:none!important}
 .v13-menu-btn{display:grid!important;place-items:center!important}
}
@media(max-width:520px){
 .research-strip-label,.rtm-research-label{font-size:0!important;width:24px!important;padding:0!important;border-inline-end:0!important}
 .research-strip-label::before,.rtm-research-label::before{margin:auto!important}
 .research-link,.rtm-research-link{font-size:9px!important;padding-inline:9px!important}
 body:not(.rtm-lab-page) .brand img{width:34px!important;height:34px!important}
 body:not(.rtm-lab-page) .brand strong{font-size:14px!important}
 .v13-command-btn{display:none!important}
}
