/* Shared signed-out navigation for marketing, login/signup and legal pages.
   Match navigation.js: the public drawer becomes a horizontal bar at 960px.
   Marketing pages inject this sheet last, so its breakpoint must also agree
   with the public JavaScript breakpoint on every page. */
/* Own the public menu palette at every size, including standalone pages such
   as Nytt and demo which do not load the broader public-clean-look stylesheet. */
html body:is(#vf-app,#vf-public).vf-shell.public-shell :is(.vf-site-header,.vf-navigation) {
  --vf-nav-bg:#fbfbfa;
  --vf-control-bg:#f0f2f6;
  --vf-control-line:#dde2eb;
  --vf-text:#253047;
  --vf-muted:#596579;
  background:#fbfbfa!important;
  color:#253047!important;
  border-color:#dde2eb!important;
  color-scheme:light;
}
html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-nav-heading {
  color:#253047!important;
  -webkit-text-fill-color:#253047!important;
}
html body:is(#vf-app,#vf-public).vf-shell.public-shell :is(.vf-menu-toggle,.vf-nav-heading button) {
  background:#f0f2f6!important;
  color:#253047!important;
  -webkit-text-fill-color:#253047!important;
  border-color:#dde2eb!important;
}
html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-navigation nav a {
  color:#394960!important;
  -webkit-text-fill-color:#394960!important;
}
html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-navigation nav a:hover {
  background:#f0f2f6!important;
}
html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-navigation nav a[aria-current="page"] {
  background:#e7edfb!important;
  border-color:#cfdaee!important;
  color:#315bba!important;
  -webkit-text-fill-color:#315bba!important;
}
html body:is(#vf-app,#vf-public).vf-shell.public-shell :is(.vf-site-header,.vf-navigation) svg.vf-icon {
  color:inherit!important;
}
html body:is(#vf-app,#vf-public).vf-shell.public-shell :is(.vf-site-header,.vf-navigation) :is(a,button):focus-visible {
  outline:3px solid #315bba!important;
  outline-offset:3px!important;
}
html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-nav-scrim {
  background:rgba(37,48,71,.4);
}
html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-site-header {
  width:100%;
  box-sizing:border-box;
  min-height:64px;
  display:flex;
  align-items:center;
  padding-inline:clamp(16px,2.2vw,28px);
  background:#fbfbfa!important;
  border-bottom:1px solid #dde2eb!important;
}
html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-site-header .brand {
  color:#253047!important;
  -webkit-text-fill-color:#253047!important;
}
html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-site-header .brand-icon {
  width:34px;height:34px;object-fit:contain;
}
@media (min-width:960px) {
  html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-menu-toggle {
    display:none!important;
  }
  html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-navigation {
    display:flex!important;
    visibility:visible!important;
    transform:none!important;
    position:relative!important;
    inset:auto!important;
    width:100%!important;
    max-width:none!important;
    height:auto!important;
    min-height:60px!important;
    max-height:none!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    gap:clamp(10px,1.7vw,24px)!important;
    padding:7px clamp(16px,2.2vw,28px)!important;
    margin:0!important;
    background:#fbfbfa!important;
    border:0!important;
    border-bottom:1px solid #dde2eb!important;
    border-radius:0!important;
    overflow:visible!important;
    box-shadow:none!important;
    z-index:90;
    box-sizing:border-box;
  }
  html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-navigation .vf-nav-heading,
  html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-nav-scrim {
    display:none!important;
  }
  html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-navigation nav.vf-nav-primary {
    display:flex!important;
    flex:1 1 auto!important;
    min-width:0!important;
    width:auto!important;
    max-width:100%!important;
    height:auto!important;
    flex-direction:row!important;
    align-items:center!important;
    gap:clamp(2px,.35vw,7px)!important;
    margin:0!important;
    padding:0!important;
    flex-wrap:wrap!important;
    overflow:visible!important;
    scrollbar-width:thin;
    scrollbar-color:#ced6e3 transparent;
  }
  html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-navigation nav.vf-nav-secondary {
    display:flex!important;
    flex:0 0 auto!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    align-items:center!important;
    flex-direction:row!important;
    gap:6px!important;
    border:0!important;
    margin:0 0 0 auto!important;
    padding:0!important;
    overflow:visible!important;
  }
  html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-navigation nav a {
    display:inline-flex!important;
    flex:0 0 auto!important;
    width:auto!important;
    min-width:0!important;
    min-height:44px!important;
    white-space:nowrap!important;
    overflow-wrap:normal!important;
    justify-content:center!important;
    align-items:center!important;
    padding:9px clamp(8px,.7vw,13px)!important;
    border:1px solid transparent!important;
    border-radius:11px!important;
    font-size:clamp(13px,.95vw,15px)!important;
    font-weight:650!important;
    line-height:1.2!important;
    background:transparent!important;
    color:#394960!important;
    -webkit-text-fill-color:#394960!important;
    text-decoration:none!important;
    box-sizing:border-box!important;
  }
  html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-navigation nav a .vf-icon {
    width:18px!important;
    height:18px!important;
    flex:none!important;
  }
  html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-navigation nav a:hover {
    background:#f0f2f6!important;
    color:#253047!important;
    -webkit-text-fill-color:#253047!important;
  }
  html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-navigation nav a[aria-current="page"] {
    background:#e7edfb!important;
    border-color:#cfdaee!important;
    color:#315bba!important;
    -webkit-text-fill-color:#315bba!important;
  }
  html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-navigation nav.vf-nav-secondary a:last-child {
    background:#315bba!important;
    border-color:#315bba!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
  }
  html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-navigation nav.vf-nav-secondary a:last-child svg {
    color:#fff!important;
  }
  html body:is(#vf-app,#vf-public).vf-shell.public-shell.vf-nav-open {
    overflow:auto!important;
  }
}
/* Below the desktop breakpoint, keep the accessible touch/keyboard drawer. */
@media (max-width:959px) {
  html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-site-header .vf-menu-toggle {
    display:inline-flex!important;
  }
  html body:is(#vf-app,#vf-public).vf-shell.public-shell:not(.vf-nav-open) .vf-navigation {
    visibility:hidden;
    transform:translateX(-105%);
  }
  html body:is(#vf-app,#vf-public).vf-shell.public-shell.vf-nav-open .vf-navigation {
    visibility:visible;
    transform:none;
  }
}
@media (max-width:390px) {
  html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-site-header {padding-inline:12px!important;}
  html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-site-header .brand {font-size:18px!important;}
}
/* Keep the full brand, language targets and menu on the narrowest phones. */
@media (max-width:340px) {
  html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-site-header {gap:2px!important;}
  html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-site-header .vf-header-context {gap:2px!important;}
}

/* Shared wide header for marketing, legal and authentication pages. */
@media(min-width:1200px){
 html body:is(#vf-app,#vf-public).vf-shell.public-shell>.vf-site-header{height:72px;min-height:72px!important;padding-block:10px!important}
 html body:is(#vf-app,#vf-public).vf-shell.public-shell>.vf-navigation{position:sticky!important;top:0!important;height:72px!important;width:calc(100% - 176px)!important;margin-top:-72px!important;margin-left:176px!important;padding:12px 24px 12px 8px!important;z-index:101!important;gap:8px!important}
 html body:is(#vf-app,#vf-public).vf-shell.public-shell>.vf-navigation .vf-nav-primary svg,html body:is(#vf-app,#vf-public).vf-shell.public-shell>.vf-navigation .vf-nav-primary img{display:none}
 html body:is(#vf-app,#vf-public).vf-shell.public-shell>.vf-navigation nav a{font-size:14px;padding-inline:10px}
}

/* A single public disclosure works at every width. Family and staff menus
   keep their existing desktop behavior and breakpoints. */
html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-site-header .vf-menu-toggle {display:inline-flex!important;}
html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-site-header .vf-public-login {display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;border:1px solid var(--vf-control-line);border-radius:12px;color:#253047;text-decoration:none;font-weight:700;white-space:nowrap;}
html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-site-header .vf-public-login:focus-visible {outline:3px solid var(--vf-focus,#315bba);outline-offset:3px;}
html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-site-header .vf-header-context > .vf-menu-toggle {order:0!important;}
html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-site-header .vf-header-context > .language-toolbar {order:1!important;}
html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-site-header .vf-header-context > .vf-appearance-control {order:2!important;}
html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-site-header .vf-header-context > .vf-public-login {order:3!important;}
html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-site-header .vf-appearance-control {flex-wrap:nowrap;align-items:center;gap:4px;}
html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-site-header .vf-appearance-control label {min-width:0;}
html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-site-header .vf-appearance-control label span {font-size:12px;line-height:1.1;}
html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-site-header .vf-appearance-control :is(select,button) {min-width:0;padding:5px 7px!important;font-size:13px;}
html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-site-header .vf-appearance-toggle button {display:inline-flex;align-items:center;gap:6px;min-height:44px!important;padding:7px 10px!important;font-weight:700;white-space:nowrap;cursor:pointer;}
html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-site-header .vf-appearance-toggle button span[aria-hidden] {font-size:21px;line-height:1;}
html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-navigation {
  display:flex!important;position:fixed!important;inset:0 auto 0 0!important;
  width:min(360px,calc(100vw - 24px))!important;max-width:none!important;
  height:100dvh!important;max-height:100dvh!important;margin:0!important;
  padding:calc(16px + env(safe-area-inset-top)) 14px calc(16px + env(safe-area-inset-bottom))!important;
  flex-direction:column!important;align-items:stretch!important;gap:0!important;
  overflow-y:auto!important;border-right:1px solid #dde2eb!important;
  border-radius:0!important;box-shadow:0 12px 40px #172a4b33!important;
  z-index:2147483641!important;
}
html body:is(#vf-app,#vf-public).vf-shell.public-shell:not(.vf-nav-open) .vf-navigation {visibility:hidden!important;transform:translateX(-105%)!important;}
html body:is(#vf-app,#vf-public).vf-shell.public-shell.vf-nav-open .vf-navigation {visibility:visible!important;transform:none!important;}
html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-navigation .vf-nav-heading {display:flex!important;}
html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-navigation :is(nav.vf-nav-primary,nav.vf-nav-secondary) {display:grid!important;width:100%!important;max-width:none!important;grid-template-columns:minmax(0,1fr);align-items:stretch!important;gap:4px!important;margin:0!important;padding:0!important;border:0!important;}
html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-navigation nav.vf-nav-secondary {border-top:1px solid #dde2eb!important;margin-top:12px!important;padding-top:12px!important;}
html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-navigation nav a {display:flex!important;justify-content:flex-start!important;white-space:normal!important;min-height:44px!important;width:100%!important;}
html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-navigation {
  inset:76px 16px auto auto!important;width:min(450px,calc(100% - 32px))!important;
  height:auto!important;max-height:calc(100dvh - 92px)!important;
  border:1px solid #dde2eb!important;border-radius:18px!important;
  padding:16px!important;
}
html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-navigation .vf-public-nav-copy {display:grid;gap:2px;text-align:left;min-width:0;}
html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-navigation .vf-public-nav-copy strong {font-size:15px;line-height:1.25;}
html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-navigation .vf-public-nav-copy small {font-size:12px;line-height:1.3;color:#596579;-webkit-text-fill-color:#596579;white-space:normal;}
html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-navigation nav.vf-nav-primary a {padding-block:10px!important;align-items:flex-start!important;}
@media(max-width:700px){
 html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-site-header {flex-wrap:wrap!important;gap:4px!important;padding-block:8px!important;}
 html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-site-header .vf-header-context {width:100%;margin:0;justify-content:space-between;gap:4px;}
 html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-site-header .vf-menu-toggle {padding-inline:7px;font-size:13px;}
 html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-site-header .vf-menu-toggle svg {display:none;}
 html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-site-header .vf-appearance-toggle button span:not([aria-hidden]) {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
 html body:is(#vf-app,#vf-public).vf-shell.public-shell .vf-navigation {inset:104px 12px auto auto!important;width:calc(100% - 24px)!important;max-height:calc(100dvh - 116px)!important;}
}
