/* Tryckkollen shared navbar v6 — hard reset against legacy page styles */
:root{--tk-nav-h:76px}
html{scroll-padding-top:calc(var(--tk-nav-h) + 12px)!important}
html,body{margin-top:0!important}
body{padding-top:0!important}
/* Home used to place the sticky header inside a padded wrapper. This was the main source of the large gap. */
.content-wrapper,#main-content.content-wrapper{padding-top:0!important;margin-top:0!important}
/* Some AFS/SEO pages explicitly hid their own header. Override that legacy rule. */
body.afs-section-page>header.site-header,body>header.site-header,header.site-header{display:block!important;visibility:visible!important;opacity:1!important}
.site-header{box-sizing:border-box!important;position:sticky!important;top:0!important;left:auto!important;right:auto!important;bottom:auto!important;width:100%!important;height:var(--tk-nav-h)!important;min-height:var(--tk-nav-h)!important;max-height:var(--tk-nav-h)!important;z-index:2147482000!important;background:#071426!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.12)!important;box-shadow:0 4px 16px rgba(0,0,0,.14)!important;padding:0!important;margin:0!important;overflow:visible!important;transform:none!important;float:none!important}
.site-header *{box-sizing:border-box}
.site-header>.container.launch-header{position:relative!important;width:min(1760px,calc(100% - 36px))!important;max-width:none!important;height:100%!important;min-height:0!important;max-height:none!important;margin:0 auto!important;padding:0!important;display:flex!important;flex-flow:row nowrap!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;transform:none!important}
.site-header .launch-logo{display:inline-flex!important;align-items:center!important;gap:8px!important;flex:0 0 auto!important;color:#fff!important;text-decoration:none!important;background:none!important;border:0!important;margin:0!important;padding:0!important}
.site-header .launch-logo .logo-gauge,.site-header .launch-logo svg{width:46px!important;height:46px!important;min-width:46px!important;max-width:46px!important;min-height:46px!important;max-height:46px!important;display:block!important;flex:0 0 46px!important;margin:0!important}
.site-header .logo-wordmark{display:inline-flex!important;font:900 20px/1 Inter,system-ui,sans-serif!important;letter-spacing:.02em!important;white-space:nowrap!important;text-decoration:none!important}.site-header .logo-tryck{color:#fff!important}.site-header .logo-kollen{color:#2f8cff!important}
.site-header .tk-navbar-question{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:46px!important;padding:0 24px!important;margin:0!important;border:1px solid rgba(255,255,255,.22)!important;border-radius:999px!important;background:rgba(255,255,255,.09)!important;color:#fff!important;font:800 16px/1 Inter,system-ui,sans-serif!important;white-space:nowrap!important;cursor:pointer!important;z-index:2147482010!important}.site-header .tk-navbar-question i{color:#70b7ff!important}
.site-header .tk-language{position:relative!important;margin-left:auto!important;margin-right:0!important;flex:0 0 auto!important;z-index:2147482020!important}.site-header .tk-language-button{height:42px!important;display:flex!important;align-items:center!important;gap:7px!important;padding:0 10px!important;margin:0!important;border:1px solid rgba(255,255,255,.22)!important;border-radius:10px!important;background:#142338!important;color:#fff!important;font:900 13px/1 Inter,system-ui,sans-serif!important;cursor:pointer!important}.site-header .tk-lang-flag-img{width:22px!important;height:16px!important;min-width:22px!important;max-width:22px!important;object-fit:cover!important;border-radius:2px!important}.site-header .tk-language-menu{position:absolute!important;right:0!important;top:50px!important;width:min(560px,calc(100vw - 20px))!important;max-height:72vh!important;overflow:auto!important;background:#fff!important;color:#0a294d!important;border:1px solid #d8e3ef!important;border-radius:14px!important;box-shadow:0 20px 55px rgba(0,0,0,.28)!important;padding:14px!important;z-index:2147482040!important}.site-header .tk-language-menu[hidden]{display:none!important}.site-header .tk-language-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important}.site-header .tk-lang-option{display:grid!important;grid-template-columns:22px 42px 1fr!important;align-items:center!important;gap:8px!important;border:0!important;background:#f2f6fa!important;color:#123b66!important;padding:9px 10px!important;border-radius:8px!important;cursor:pointer!important;text-align:left!important}.site-header .tk-lang-option-flag{width:22px!important;height:16px!important;object-fit:cover!important;border-radius:2px!important}.site-header .tk-lang-code{font-weight:900!important}.site-header .tk-lang-name{font-size:11px!important;color:#617386!important}
.site-header .menu-toggle{position:relative!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:5px!important;width:44px!important;height:44px!important;min-width:44px!important;max-width:44px!important;flex:0 0 44px!important;margin:0!important;margin-left:0!important;padding:0!important;border:1px solid rgba(255,255,255,.22)!important;border-radius:11px!important;background:#142338!important;cursor:pointer!important;z-index:2147482050!important;pointer-events:auto!important}.site-header .menu-toggle span{display:block!important;position:static!important;width:21px!important;height:2px!important;min-height:2px!important;flex:0 0 2px!important;margin:0!important;padding:0!important;background:#fff!important;border:0!important;border-radius:2px!important;opacity:1!important;visibility:visible!important;transition:.2s!important}.site-header .menu-toggle[aria-expanded=true] span:nth-child(1){transform:translateY(7px) rotate(45deg)!important}.site-header .menu-toggle[aria-expanded=true] span:nth-child(2){opacity:0!important}.site-header .menu-toggle[aria-expanded=true] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)!important}
.site-header .launch-nav{position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:auto!important;width:min(92vw,430px)!important;height:100dvh!important;min-height:0!important;max-height:100dvh!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:8px!important;margin:0!important;padding:86px 16px 24px!important;background:#071426!important;overflow-y:auto!important;overflow-x:hidden!important;transform:translate3d(105%,0,0)!important;transition:transform .24s ease!important;z-index:2147482030!important;box-shadow:-18px 0 45px rgba(0,0,0,.38)!important;opacity:1!important;visibility:visible!important;pointer-events:none!important}.site-header .launch-nav.open{transform:translate3d(0,0,0)!important;pointer-events:auto!important}
.site-header .nav-menu-card,.site-header .nav-dropdown{display:block!important;width:100%!important;flex:0 0 auto!important;margin:0!important;padding:0!important;position:relative!important;overflow:visible!important}.site-header .nav-menu-card>a,.site-header .nav-dropdown-toggle,.site-header .mobile-nav-actions .nav-question{width:100%!important;min-height:52px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:11px!important;padding:13px 14px!important;margin:0!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:12px!important;background:rgba(255,255,255,.055)!important;color:#fff!important;text-decoration:none!important;font:750 15px/1.25 Inter,system-ui,sans-serif!important;text-align:left!important;cursor:pointer!important;pointer-events:auto!important}.site-header .nav-menu-card i,.site-header .nav-dropdown-toggle>i:not(.dropdown-chevron),.site-header .mobile-nav-actions i{width:23px!important;flex:0 0 23px!important;color:#70b7ff!important;text-align:center!important}.site-header .dropdown-chevron{margin-left:auto!important;color:#fff!important}.site-header .nav-dropdown-menu{position:static!important;display:none!important;width:100%!important;margin:6px 0 0!important;padding:6px!important;background:#0b1c31!important;border:1px solid rgba(255,255,255,.10)!important;border-radius:12px!important;opacity:1!important;visibility:visible!important;transform:none!important;pointer-events:auto!important}.site-header .nav-dropdown.open .nav-dropdown-menu{display:grid!important;grid-template-columns:1fr!important;gap:4px!important}.site-header .nav-dropdown-menu a{display:flex!important;align-items:center!important;gap:9px!important;padding:10px 11px!important;border-radius:9px!important;color:#eaf4ff!important;text-decoration:none!important;pointer-events:auto!important}.site-header .mobile-nav-actions{display:grid!important;gap:8px!important;margin-top:8px!important;padding-top:12px!important;border-top:1px solid rgba(255,255,255,.13)!important}
.nav-backdrop{position:fixed!important;inset:0!important;display:block!important;background:rgba(0,0,0,.58)!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;z-index:2147482025!important}.nav-backdrop.open{opacity:1!important;visibility:visible!important;pointer-events:auto!important}body.nav-open{overflow:hidden!important}
.classifier-mobile-continue{display:none!important}body.classifier-continue-visible{padding-bottom:0!important}
@media(max-width:820px){:root{--tk-nav-h:64px}.site-header>.container.launch-header{width:100%!important;padding:0 8px!important;gap:6px!important}.site-header .launch-logo .logo-gauge,.site-header .launch-logo svg{width:36px!important;height:36px!important;min-width:36px!important;max-width:36px!important;min-height:36px!important;max-height:36px!important;flex-basis:36px!important}.site-header .logo-wordmark{font-size:14px!important}.site-header .tk-navbar-question{position:static!important;transform:none!important;margin-left:auto!important;min-height:38px!important;padding:0 10px!important}.site-header .tk-navbar-question span{display:none!important}.site-header .tk-language{margin:0!important}.site-header .tk-language-button{height:38px!important;padding:0 7px!important}.site-header #tkLanguageLabel{font-size:11px!important}.site-header .tk-language-menu{position:fixed!important;right:8px!important;top:62px!important;width:calc(100vw - 16px)!important;max-height:calc(100dvh - 72px)!important}.site-header .menu-toggle{width:40px!important;height:40px!important;min-width:40px!important;max-width:40px!important;flex-basis:40px!important}.site-header .launch-nav{width:min(94vw,390px)!important;padding:72px 12px 20px!important}}
@media(max-width:480px){.site-header .logo-wordmark{font-size:12px!important}.site-header .launch-logo{gap:5px!important}.site-header .tk-navbar-question{padding:0 8px!important}.site-header .tk-language-button{padding:0 6px!important;gap:5px!important}.site-header .tk-lang-flag-img{width:20px!important;height:14px!important;min-width:20px!important}.site-header #tkLanguageLabel{font-size:10px!important}.site-header .tk-language-grid{grid-template-columns:1fr!important}.site-header .menu-toggle{width:38px!important;height:38px!important;min-width:38px!important;max-width:38px!important;flex-basis:38px!important}}
/* v6.1 final placement guard: this stylesheet is loaded last on every page */
body > .content-wrapper{padding-top:0!important;margin-top:0!important}
body > .content-wrapper > header.site-header:first-child{margin-top:0!important;top:0!important}
header.site-header:first-child{margin-top:0!important}

/* v6.2: keep the dimming layer behind the complete header/menu stacking context. */
.nav-backdrop,
.nav-backdrop.open{
  z-index:2147481000!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  filter:none!important;
}
.site-header{
  z-index:2147482000!important;
  filter:none!important;
  opacity:1!important;
}
.site-header .launch-nav,
.site-header .launch-nav.open{
  z-index:2147482030!important;
  opacity:1!important;
  filter:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  pointer-events:auto!important;
}
.site-header .launch-nav:not(.open){pointer-events:none!important;}
.site-header .launch-nav.open *,
.site-header .launch-nav.open button,
.site-header .launch-nav.open a{
  pointer-events:auto!important;
}

/* v6.3 — mobile header cleanup + AFS 2023:11 sticky guarantee */
@media (max-width:820px){
  /* Fråga Tryckkollen ska inte visas i själva navbaren på mobil/surfplatta. */
  .site-header .tk-navbar-question{
    display:none!important;
  }
  /* Språkvalet tar över det frigjorda utrymmet och ligger före hamburgermenyn. */
  .site-header .tk-language{
    margin-left:auto!important;
    margin-right:0!important;
  }
}

/* AFS 2023:11-guiden ska alltid ligga kvar i överkant när sidan scrollas. */
body.afs-ruleguide-page > header.site-header,
body.afs-ruleguide-page header.site-header{
  position:sticky!important;
  top:0!important;
  inset-block-start:0!important;
  z-index:2147482000!important;
  margin-top:0!important;
  transform:none!important;
}

/* v6.4 — global fixed navbar on desktop, tablet and mobile. */
html{scroll-padding-top:calc(var(--tk-nav-h) + 12px)!important;}
body{padding-top:var(--tk-nav-h)!important;margin-top:0!important;}
header.site-header,
body>header.site-header,
body.afs-section-page>header.site-header,
body.afs-ruleguide-page>header.site-header,
body.afs-ruleguide-page header.site-header,
body>.content-wrapper>header.site-header:first-child{
  position:fixed!important;
  top:0!important;
  left:0!important;
  right:0!important;
  bottom:auto!important;
  inset-block-start:0!important;
  width:100%!important;
  margin:0!important;
  transform:none!important;
  z-index:2147482000!important;
}
/* The header is removed from document flow when fixed; this is the one and only offset. */
.content-wrapper,#main-content.content-wrapper,body>.content-wrapper{padding-top:0!important;margin-top:0!important;}
@media(max-width:820px){body{padding-top:64px!important;}}
@media print{body{padding-top:0!important;}header.site-header{display:none!important;}}
