/* A white masthead, navy photographic mounts, and consistent native controls. */
:root {
  --np-ink: #14394c;
  --np-deep: #103144;
  --np-sage: #c3dec8;
  --np-focus: #28698d;
}
body[data-nx-page] ::selection {color:#102f40;background:#cbe3d3;}
.np-top-marker {position:absolute;inset:0 auto auto 0;width:1px;height:1px;pointer-events:none;}

@media screen and (min-height:530px) {
  /* Older templates size the body to one viewport, which also bounds sticky children. */
  html[data-np-polish] body[data-nx-page] {height:auto;min-height:100vh;}
  html[data-np-polish] {scroll-padding-top:calc(var(--np-mast,85px) + 10px);}
  html[data-np-polish] body[data-nx-page] :is(#nexus-site-header,.nexus-header-shell)[data-np-masthead] {
    position:sticky;
    top:calc(0px - var(--np-utility,0px));
    z-index:1000;
  }
  html[data-np-polish] body[data-nx-page] :is(#nexus-site-header,.nexus-header-shell)[data-np-masthead]:has(.nh-utility:focus-within) {top:0;}
  html[data-np-polish] #nexus-site-header {box-shadow:none;}
  html[data-np-reading] #nexus-site-header {
    border-bottom-color:#a8bdbb;
    box-shadow:0 5px 16px -11px rgb(16 49 68 / .45);
  }
  html[data-np-polish] body[data-nx-page] main [id] {scroll-margin-top:8px;}
}
@media (max-width:1099px) and (min-height:530px) {
  html[data-np-polish] #nexus-site-header[data-nh-open] [data-nh-nav] {
    max-height:calc(100vh - var(--np-mast,85px) - 24px);
    max-height:calc(100dvh - var(--np-mast,85px) - 24px);
    overflow-y:auto;
    overscroll-behavior-y:contain;
  }
}
@media (min-width:1100px) {
  body[data-nx-page] #nexus-site-header .nh-main {padding-block:13px;}
  body[data-nx-page] #nexus-site-header .nh-list > li > a,
  body[data-nx-page] #nexus-site-header .nh-list summary {text-decoration:none;}
  body[data-nx-page] #nexus-site-header .nh-list > li > a::before,
  body[data-nx-page] #nexus-site-header .nh-list summary::before {
    content:"";position:absolute;inset:auto 0 5px;height:2px;pointer-events:none;
    background:#58776a;transform:scaleX(0);transform-origin:left center;
  }
  body[data-nx-page] #nexus-site-header .nh-list > li > a:is(:hover,:focus-visible,[aria-current="page"])::before,
  body[data-nx-page] #nexus-site-header .nh-list summary:is(:hover,:focus-visible)::before,
  body[data-nx-page] #nexus-site-header .nh-list details:is([open],.nh-current) > summary::before {transform:scaleX(1);}
  body[data-nx-page] #nexus-site-header .nh-drop {border-top-width:2px;border-radius:0 0 4px 4px;}
}
body[data-nx-page="home"] main .nexus-hero__image-wrap {
  padding:clamp(8px,1.9vw,26px);
  background:var(--np-ink);
  border:0;
  border-radius:3px;
  box-shadow:inset 0 0 0 1px #20465a;
}
body[data-nx-page="home"] main .nexus-hero__image-wrap > img {display:block;width:100%;height:auto;background:#fff;}
body[data-nx-page] .nx-content a[class*="button"], body[data-nx-page] .nx-content a.btn,
body[data-nx-page] .nh-book, body[data-nx-page] .nf-book {
  -webkit-tap-highlight-color:rgba(129,175,149,.25);
}
body[data-nx-page] .nx-content a.np-fee-route {
  display:inline-flex;align-items:center;gap:8px;min-height:44px;
  color:inherit !important;font:inherit;
  text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.24em;
}
body[data-nx-page] .nx-content a.np-fee-route::after {
  content:"";width:6px;height:6px;flex:none;
  border-style:solid;border-color:currentColor;border-width:0 1.5px 1.5px 0;
  transform:rotate(45deg);
}
body[data-nx-page] .nx-content a.np-fee-route:is(:hover,:focus-visible) {text-decoration-thickness:2px;}
body[data-nx-page="assessments"] main .nexus-assessments-summary-list dt {min-width:0;}
body[data-nx-page="assessments"] main .nexus-assessments-summary-list > div {align-items:center;}
body[data-nx-page="assessments"] :is(article,section):target :is(h2,h3):first-of-type {
  text-decoration:underline;text-decoration-thickness:2px;text-decoration-color:#739a87;text-underline-offset:.16em;
}
body[data-nx-page="home"] .nexus-hero__portal-links a,
body[data-nx-page] main .nexus-portal-links a {min-height:44px;}
body[data-nx-page] main a[data-portal-action], body[data-nx-page] #nexus-site-footer .nf-links a {text-underline-offset:.24em;}
@media (min-width:1000px) and (min-height:680px) {
  body[data-nx-page="mission"] main .nexus-faq-section__heading {
    position:sticky;top:calc(var(--np-mast,90px) + 28px);align-self:start;
  }
}
body[data-nx-page] .scroll-to-top {
  width:46px;height:46px;min-width:46px;min-height:46px;
  background:var(--np-deep);color:white;
  border:1px solid #9ab4b4;border-radius:50%;box-shadow:0 4px 12px rgb(16 49 68 / .17);
  bottom: max(18px,env(safe-area-inset-bottom));right:max(18px,env(safe-area-inset-right));
}
body[data-nx-page] .scroll-to-top i {visibility:hidden;}
body[data-nx-page] .scroll-to-top::after {
  position:absolute;content:"";width:10px;height:10px;left:50%;top:53%;
  border:solid #fff;border-width:2px 2px 0 0;transform:translate(-50%,-35%) rotate(-45deg);
}
body[data-nx-page] .scroll-to-top:focus-visible,
body[data-nx-page] :is(.np-photo-open,.np-photo-close):focus-visible {outline:3px solid #f4c987;outline-offset:2px;}
body[data-nx-page] .np-photo-frame {position:relative;}
body[data-nx-page] :is(.np-photo-open,.np-photo-close) {
  position:absolute;display:grid;place-items:center;width:46px;height:46px;min-width:46px;
  padding:0;margin:0;z-index:2;
  background:var(--np-deep);border:1px solid rgb(255 255 255 / .8);border-radius:50%;
  color:white;box-shadow:0 2px 10px rgb(16 49 68 / .16);cursor:pointer;
}
body[data-nx-page] .np-photo-open {right:12px;bottom:12px;}
.np-photo-open::before,.np-photo-open::after {
  content:"";position:absolute;width:8px;height:8px;border-style:solid;border-color:currentColor;
}
.np-photo-open::before {left:14px;bottom:14px;border-width:0 0 2px 2px;}
.np-photo-open::after {right:14px;top:14px;border-width:2px 2px 0 0;}
html[data-np-polish] {scrollbar-gutter:stable;}
html[data-np-photo] {overflow:hidden;}
body[data-nx-page] dialog.np-viewer {
  position:fixed;inset:0;width:fit-content;height:fit-content;max-width:calc(100vw - 32px);
  max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);margin:auto;
  padding:0;border:1px solid #77918f;border-radius:3px;background:var(--np-deep);overflow:visible;
}
.np-viewer:not([open]) {display:none;}
.np-viewer::backdrop {background:rgb(10 30 42 / .91);}
body[data-nx-page] .np-viewer img {
  display:block;width:auto;height:auto;max-width:min(1280px,calc(100vw - 36px));max-height:calc(100vh - 36px);
  max-height:calc(100dvh - 36px);object-fit:contain;
}
body[data-nx-page] .np-photo-close {top:9px;right:9px;}
.np-photo-close::before,.np-photo-close::after {
  content:"";position:absolute;width:18px;height:2px;background:currentColor;transform:rotate(45deg);
}
.np-photo-close::after {transform:rotate(-45deg);}
@media (hover:hover) and (pointer:fine) {
  body[data-nx-page] :is(.np-photo-open,.np-photo-close,.scroll-to-top):hover {background:#285769;}
}
@media (prefers-reduced-motion:no-preference) {
  #nexus-site-header .nh-list > li > a::before,#nexus-site-header .nh-list summary::before,
  .np-photo-open::before,.np-photo-open::after {transition:transform 160ms ease-out;}
  .np-photo-open:hover::before {transform:translate(-1px,1px);}
  .np-photo-open:hover::after {transform:translate(1px,-1px);}
  @keyframes np-open-menu {from {opacity:.65;transform:translateY(-3px);} to {opacity:1;transform:none;}}
  @media (min-width:1100px) {
    #nexus-site-header details[open] > .nh-drop {animation:np-open-menu 135ms ease-out;}
  }
}
@media (prefers-reduced-motion:reduce) {
  body[data-nx-page] :is(.nh-drop,.np-photo-open,.np-photo-close,.scroll-to-top),
  #nexus-site-header .nh-list > li > a::before,#nexus-site-header .nh-list summary::before {animation:none;transition:none;}
}
@media print {
  body[data-nx-page] :is(.np-photo-open,.np-viewer,.scroll-to-top) {display:none !important;}
  body[data-nx-page] #nexus-site-header {box-shadow:none;}
}
