/* Canonical FOA Pro shell. Markup: /opt/foapro-production-control/master/shared/foapro-shell.html */
:root{--foapro-rail-width:196px;--foa-rail-width:196px}
body{padding-left:var(--foapro-rail-width)!important}

#foapro-shell-header{
  position:fixed!important;top:0!important;left:0!important;right:0!important;z-index:190!important;
  box-sizing:border-box!important;height:50px!important;margin:0!important;padding:0 22px!important;
  display:flex!important;align-items:center!important;gap:8px!important;
  background:#fff!important;border:0!important;border-bottom:1px solid rgba(11,29,58,.12)!important;
  color:#0f1830!important;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif!important;
  line-height:1!important;letter-spacing:0!important
}
#foapro-shell-header .foapro-shell-brand{box-sizing:border-box!important;width:196px!important;height:50px!important;margin-left:-22px!important;padding-left:22px!important;display:flex!important;flex:0 0 196px!important;align-items:center!important;gap:9px!important;background:#fbfaf6!important;border-right:1px solid #e3ddcf!important;box-shadow:inset 0 -2px 0 rgba(169,134,29,.5)!important;color:#0f1830!important;text-decoration:none!important}
#foapro-shell-header .foapro-shell-brand img{display:block!important;width:auto!important;height:38px!important;margin:0!important}
#foapro-shell-header .foapro-shell-brand b{color:#987718!important;font-size:20px!important;font-weight:800!important;line-height:1!important}
#foapro-shell-header .ny-fyll{flex:1 1 auto!important}
#foapro-shell-header .foapro-page-examples{box-sizing:border-box!important;height:32px!important;margin:0 6px 0 0!important;padding:0 11px!important;display:inline-flex!important;align-items:center!important;gap:6px!important;border:1px solid #d7c786!important;border-radius:999px!important;background:#fbf7e9!important;color:#66541d!important;font:700 11px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif!important;white-space:nowrap!important;cursor:pointer!important}
#foapro-shell-header .foapro-page-examples:hover{background:#fff!important;border-color:#b6932e!important;color:#0f1830!important}
#foapro-shell-header .foapro-page-examples:focus-visible{outline:2px solid #0f1830!important;outline-offset:2px!important}
#foapro-shell-header .foapro-page-examples-icon{color:#a9861d!important;font-size:14px!important;line-height:1!important}
#foapro-shell-header .foapro-shell-context{margin:0!important;color:#707684!important;font-size:12px!important;font-weight:600!important;white-space:nowrap!important}

#foapro-shell-rail{
  position:fixed!important;left:0!important;top:50px!important;bottom:0!important;z-index:180!important;
  box-sizing:border-box!important;width:var(--foapro-rail-width)!important;height:auto!important;margin:0!important;
  padding:14px 10px!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;
  gap:1px!important;overflow-x:hidden!important;overflow-y:auto!important;background:#f3f0e8!important;
  border-right:1px solid #ddd7c9!important;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif!important;line-height:1.45!important;letter-spacing:0!important
}
#foapro-shell-rail a{position:relative!important;box-sizing:border-box!important;text-decoration:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;transform:none!important}
#foapro-shell-rail a.gi{width:auto!important;height:42px!important;min-height:42px!important;margin:0!important;padding:0 10px!important;display:flex!important;flex:0 0 42px!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;color:#566071!important;font-size:13px!important;font-weight:600!important;line-height:1!important}
#foapro-shell-rail a.gi svg{display:block!important;width:19px!important;height:19px!important;flex:0 0 19px!important;stroke:currentColor!important;stroke-width:1.7!important;fill:none!important;stroke-linecap:round!important;stroke-linejoin:round!important}
#foapro-shell-rail .t2{display:block!important;margin:0!important;padding:0!important;color:inherit!important;font-size:13px!important;font-weight:600!important;line-height:1!important;white-space:nowrap!important}
#foapro-shell-rail a:hover{background:#e8e3d8!important;color:#0f1830!important}
#foapro-shell-rail .fyll{display:block!important;flex:1 1 auto!important;min-height:8px!important}
#foapro-shell-rail a.rail-account{margin-top:6px!important}
#foapro-shell-rail .prof{width:30px!important;height:30px!important;box-sizing:border-box!important;border-radius:50%!important;background:#c9a227!important;color:#0f1830!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 30px!important;font-size:11px!important;font-weight:800!important;line-height:1!important;padding:0!important}
#foapro-shell-rail a.foa-return-rail{margin:0 0 9px!important;background:#fbfaf6!important;color:#8c6c12!important;border:1px solid rgba(169,134,29,.35)!important}
#foapro-shell-rail a.foa-return-rail:hover{background:#fff!important;color:#0f1830!important;border-color:rgba(169,134,29,.65)!important}
#foapro-shell-rail .foa-return-arrow{width:19px!important;flex:0 0 19px!important;text-align:center!important;font-size:20px!important;line-height:1!important}

body[data-foapro-active="assistant"] #foapro-shell-rail [data-nav-key="assistant"],
body[data-foapro-active="examples"] #foapro-shell-rail [data-nav-key="examples"],
body[data-foapro-active="sources"] #foapro-shell-rail [data-nav-key="sources"],
body[data-foapro-active="tools"] #foapro-shell-rail [data-nav-key="tools"],
body[data-foapro-active="work"] #foapro-shell-rail [data-nav-key="work"],
body[data-foapro-active="contact"] #foapro-shell-rail [data-nav-key="contact"],
body[data-foapro-active="account"] #foapro-shell-rail [data-nav-key="account"]{background:#fff!important;color:#0f1830!important;box-shadow:0 1px 4px rgba(15,24,48,.08)!important}
body[data-foapro-active] #foapro-shell-rail [data-nav-key]::before{content:none!important}
body[data-foapro-active="assistant"] #foapro-shell-rail [data-nav-key="assistant"]::before,
body[data-foapro-active="examples"] #foapro-shell-rail [data-nav-key="examples"]::before,
body[data-foapro-active="sources"] #foapro-shell-rail [data-nav-key="sources"]::before,
body[data-foapro-active="tools"] #foapro-shell-rail [data-nav-key="tools"]::before,
body[data-foapro-active="work"] #foapro-shell-rail [data-nav-key="work"]::before,
body[data-foapro-active="contact"] #foapro-shell-rail [data-nav-key="contact"]::before,
body[data-foapro-active="account"] #foapro-shell-rail [data-nav-key="account"]::before{content:""!important;position:absolute!important;left:-4px!important;top:8px!important;bottom:8px!important;width:3px!important;background:#c9a227!important}
/* Minimeny: alle flatene i seksjonen, som ord i toppen (jf. anbudsradar). */
#foapro-shell-header .foapro-minimeny{display:flex!important;align-items:center!important;gap:0!important;margin-left:12px!important;min-width:0!important;overflow:hidden!important}
#foapro-shell-header .foapro-minimeny a{position:relative!important;display:inline-flex!important;align-items:center!important;height:50px!important;padding:0 7px!important;color:#5a6273!important;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif!important;font-size:13px!important;font-weight:600!important;line-height:1!important;text-decoration:none!important;white-space:nowrap!important}
#foapro-shell-header .foapro-minimeny a:hover{color:#0f1830!important}
#foapro-shell-header .foapro-minimeny a[aria-current="page"]{color:#0f1830!important}
#foapro-shell-header .foapro-minimeny a[aria-current="page"]::after{content:""!important;position:absolute!important;left:7px!important;right:7px!important;bottom:0!important;height:2px!important;background:#c9a227!important}
#foapro-shell-header .foapro-minimeny a:focus-visible{outline:2px solid #0f1830!important;outline-offset:-4px!important}
@media(max-width:1600px){#foapro-shell-header .foapro-shell-context{display:none!important}}
@media(max-width:1520px){#foapro-shell-header .foapro-minimeny a{padding:0 5px!important;font-size:12.5px!important}#foapro-shell-header .foapro-minimeny a[aria-current="page"]::after{left:5px!important;right:5px!important}}
@media(max-width:1000px){#foapro-shell-header .foapro-minimeny{display:none!important}}
#foapro-nav-toggle,#foapro-nav-backdrop{display:none!important}
html.foa-pro-to-foa{overflow:hidden}
html.foa-pro-to-foa body{pointer-events:none;animation:foapro-page-out-right .48s cubic-bezier(.55,.02,.28,1) both}
html.foa-pro-to-foa::after{content:"";position:fixed;inset:0;z-index:2147483647;background:#fff url('/images/foa-header/logo-merke.png') no-repeat center/160px auto;box-shadow:24px 0 70px rgba(15,24,48,.12);animation:foapro-site-panel-in .48s cubic-bezier(.55,.02,.28,1) both}
@keyframes foapro-page-out-right{from{transform:translateX(0)}to{transform:translateX(100vw)}}
@keyframes foapro-site-panel-in{from{transform:translateX(-100vw)}to{transform:translateX(0)}}

@media(prefers-reduced-motion:reduce){html.foa-pro-to-foa body,html.foa-pro-to-foa::after{animation:none!important}}
@media(max-width:760px){
  :root{--foapro-rail-width:0px;--foa-rail-width:0px}
  body{padding-left:0!important}
  #foapro-shell-header{padding-left:54px!important}
  #foapro-shell-header .foapro-shell-brand{width:auto!important;height:50px!important;margin-left:0!important;padding-left:0!important;flex:0 0 auto!important;background:transparent!important;border-right:0!important;box-shadow:none!important}
  #foapro-shell-header .foapro-page-examples{width:34px!important;height:34px!important;margin-right:0!important;padding:0!important;justify-content:center!important}
  #foapro-shell-header .foapro-page-examples>span:last-child{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
  #foapro-nav-toggle{display:grid!important;place-items:center!important;position:fixed!important;left:10px!important;top:8px!important;z-index:205!important;width:34px!important;height:34px!important;margin:0!important;padding:0!important;border:1px solid rgba(15,24,48,.22)!important;border-radius:0!important;background:#fff!important;color:#0f1830!important;font-size:21px!important;line-height:1!important;cursor:pointer!important}
  #foapro-shell-rail{display:none!important;width:min(82vw,280px)!important;z-index:200!important;box-shadow:12px 0 36px rgba(0,0,0,.28)!important}
  body.foa-nav-open{overflow:hidden!important}
  body.foa-nav-open #foapro-shell-rail{display:flex!important}
  body.foa-nav-open #foapro-nav-backdrop{display:block!important;position:fixed!important;inset:50px 0 0!important;z-index:190!important;background:rgba(5,12,26,.48)!important}
  #foapro-shell-header .foapro-shell-context{display:none!important}
}
/* Globalt, vedvarende varsel fra sentrale FOA Pro-tjenester. */
.foapro-global-notice{position:fixed;right:22px;bottom:22px;z-index:160;display:flex;flex-direction:column;gap:2px;max-width:360px;padding:13px 16px;border:1px solid #c9b56e;border-radius:10px;background:#fff;color:#17213a;text-decoration:none;box-shadow:0 14px 40px rgba(17,26,53,.18)}
.foapro-global-notice strong{color:#111a35;font-size:13px}.foapro-global-notice span{color:#667085;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:650px){.foapro-global-notice{left:14px;right:14px;bottom:14px;max-width:none}}
