/* 2.7.85.72 – ren headerkontraktfil
   Laddas sist och ersätter äldre headerkedjor.
   Styr bara utility / hero_image / dark_wave via headermatris + komponenter. */
:root{
  --td-header-warm-bg:rgba(255,249,243,.96);
  --td-header-warm-solid:#fff9f3;
  --td-header-text:#2f221b;
  --td-header-dark-top:#5c4233;
  --td-header-dark-bottom:#30221b;
  --td-header-dark-join:#4a3529;
  --td-header-dark-text:#fff7ef;
  --td-header-mobile-topbar:60px;
  --td-header-mobile-hero-topbar:72px;
  --td-header-mobile-wave:32px;
  --td-header-desktop-topbar:70px;
  --td-header-desktop-wave:40px;
}

body.td-header-owner-td_shell.td-header-title-light .td-app-view-header__title,
body.td-header-owner-td_shell.td-header-title-light .td-app-view-header__subtitle,
body.td-header-owner-td_shell.td-header-title-light .td-app-view-header__eyebrow,
body.td-header-owner-td_shell.td-header-title-light .td-app-view-header__copy,
body.td-header-owner-td_shell.td-header-title-light .td-app-view-header__body{
  color:var(--td-header-dark-text) !important;
}

body.td-header-owner-td_shell.td-header-title-dark .td-app-view-header__title,
body.td-header-owner-td_shell.td-header-title-dark .td-app-view-header__subtitle,
body.td-header-owner-td_shell.td-header-title-dark .td-app-view-header__eyebrow,
body.td-header-owner-td_shell.td-header-title-dark .td-app-view-header__copy,
body.td-header-owner-td_shell.td-header-title-dark .td-app-view-header__body{
  color:var(--td-header-text) !important;
}


@media (max-width:781.98px){
  body.td-header-owner-td_shell.td-mobile-topbar-brand{
    --td-mobile-header-height:72px;
    --td-mobile-header-offset:72px;
    --td-header-mobile-topbar:72px;
    --td-header-mobile-hero-topbar:72px;
    --td-matrix-mobile-topbar-height:72px;
    --td-matrix-mobile-hero-topbar-height:72px;
    --td-shell-mobile-topbar:72px;
  }

  body.td-header-owner-td_shell.td-mobile-topbar-app-title{
    --td-mobile-header-height:60px;
    --td-mobile-header-offset:60px;
    --td-header-mobile-topbar:60px;
    --td-matrix-mobile-topbar-height:60px;
    --td-shell-mobile-topbar:60px;
  }
}

body.td-header-owner-td_shell .td-shell__header,
body.td-header-owner-td_shell .td-page-frame__header,
body.td-header-owner-td_shell .td-shell__masthead,
body.td-header-owner-td_shell .td-app-shell__masthead,
body.td-header-owner-td_shell .td-app-shell__chrome,
body.td-header-owner-td_shell .td-main,
body.td-header-owner-td_shell .td-main__body,
body.td-header-owner-td_shell .td-shell__content,
body.td-header-owner-td_shell .td-view-stack,
body.td-header-owner-td_shell .td-page-frame,
body.td-header-owner-td_shell .td-page-frame__stack{
  overflow:visible !important;
  contain:none !important;
  transform:none !important;
  filter:none !important;
}

body.td-header-owner-td_shell .td-shell__header,
body.td-header-owner-td_shell .td-page-frame__header,
body.td-header-owner-td_shell .td-shell__masthead,
body.td-header-owner-td_shell .td-app-shell__masthead{
  margin:0 !important;
  padding-top:0 !important;
  min-height:0 !important;
}

body.td-header-owner-td_shell .td-topbar,
body.td-header-owner-td_shell .td-topbar__slot,
body.td-header-owner-td_shell .td-topbar__slot--actions,
body.td-header-owner-td_shell .td-topbar__slot--right,
body.td-header-owner-td_shell .td-topbar__slot--nav,
body.td-header-owner-td_shell .td-topbar__slot--title{
  box-sizing:border-box !important;
}

body.td-header-owner-td_shell .td-topbar,
body.td-header-owner-td_shell .td-topbar .td-topbar__title,
body.td-header-owner-td_shell .td-topbar .td-topbar__icon,
body.td-header-owner-td_shell .td-topbar .td-topbar__icon svg,
body.td-header-owner-td_shell .td-topbar a,
body.td-header-owner-td_shell .td-topbar button{
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}

body.td-header-owner-td_shell .td-topbar__btn,
body.td-header-owner-td_shell .td-topbar__icon-link{
  width:36px !important;
  height:36px !important;
  min-width:36px !important;
  min-height:36px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:0 !important;
  margin:0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  border-radius:5px !important;
}

body.td-header-owner-td_shell .td-topbar__icon,
body.td-header-owner-td_shell .td-topbar__icon svg{
  width:24px !important;
  height:24px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
}

body.td-header-owner-td_shell .td-topbar__title--sr{
  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;
}

body.td-header-owner-td_shell .td-app-view-header__copy,
body.td-header-owner-td_shell .td-app-view-header__silhouette,
body.td-header-owner-td_shell .td-app-view-header__inner{
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}

body.td-header-owner-td_shell .td-app-view-header__copy{
  background:none !important;
  box-shadow:none !important;
  border:0 !important;
}

body.td-header-owner-td_shell .td-wave-divider,
body.td-header-owner-td_shell .td-wave-divider__svg,
body.td-header-owner-td_shell .td-wave-divider__fill{
  background:transparent !important;
  box-shadow:none !important;
}
body.td-header-owner-td_shell .td-wave-divider__fill{fill:var(--td-page-bg-app, #f6f1eb) !important;}

/* Utility ska inte reservera egen tom yta */
body.td-header-variant-utility .td-app-view-header[data-td-surface-component="utility"],
body.td-header-variant-utility .td-app-view-header--surface-utility,
body.td-header-variant-utility .td-shell__header--surface-utility{
  display:none !important;
  min-height:0 !important;
  height:0 !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
  background:none !important;
}

body.td-header-variant-utility .td-shell__header,
body.td-header-variant-utility .td-page-frame__header,
body.td-header-variant-utility .td-shell__masthead,
body.td-header-variant-utility .td-app-shell__masthead,
body.td-header-variant-utility .td-main__body,
body.td-header-variant-utility .td-shell__content{
  min-height:0 !important;
  padding-top:0 !important;
  margin-top:0 !important;
  background:transparent !important;
}

/* Mobil */
@media (max-width:781.98px){
  body:not(.td-shell-route-unified).td-header-owner-td_shell .td-topbar[data-td-topbar-component]{
    position:sticky !important;
    top:0 !important;
    left:0 !important;
    right:0 !important;
    width:100% !important;
    z-index:2000 !important;
    margin:0 !important;
  }
  body.admin-bar:not(.td-shell-route-unified).td-header-owner-td_shell .td-topbar[data-td-topbar-component]{top:46px !important;}

  body:not(.td-shell-route-unified).td-header-owner-td_shell .td-topbar[data-td-topbar-component="app-title"]{
    display:grid !important;
    grid-template-columns:72px minmax(0,1fr) 112px !important;
    grid-template-rows:var(--td-header-mobile-topbar) !important;
    row-gap:0 !important;
    column-gap:10px !important;
    align-items:center !important;
    height:var(--td-header-mobile-topbar) !important;
    min-height:var(--td-header-mobile-topbar) !important;
    padding:0 16px !important;
    background:var(--td-header-warm-bg) !important;
    color:var(--td-header-text) !important;
    box-shadow:0 10px 24px rgba(47,34,27,.08) !important;
  }

  body:not(.td-shell-route-unified).td-header-owner-td_shell .td-topbar[data-td-topbar-component="app-title"] .td-topbar__slot--nav{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    width:72px !important;
    min-width:72px !important;
  }

  body:not(.td-shell-route-unified).td-header-owner-td_shell .td-topbar[data-td-topbar-component="app-title"] .td-topbar__slot--title{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-width:0 !important;
    width:100% !important;
    text-align:center !important;
  }

  body:not(.td-shell-route-unified).td-header-owner-td_shell .td-topbar[data-td-topbar-component="app-title"] .td-topbar__title{
    display:block !important;
    margin:0 !important;
    font-size:clamp(1.35rem,7vw,1.9rem) !important;
    line-height:1 !important;
    font-weight:700 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    text-align:center !important;
  }

  body:not(.td-shell-route-unified).td-header-owner-td_shell .td-topbar[data-td-topbar-component="app-title"] .td-topbar__slot--actions,
  body:not(.td-shell-route-unified).td-header-owner-td_shell .td-topbar[data-td-topbar-component="app-title"] .td-topbar__slot--right{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:8px !important;
    width:112px !important;
    min-width:112px !important;
    height:100% !important;
  }

  body:not(.td-shell-route-unified).td-header-owner-td_shell .td-topbar[data-td-topbar-component="brand"]{
    display:grid !important;
    grid-template-columns:auto minmax(0,1fr) auto !important;
    align-items:center !important;
    gap:12px !important;
    height:var(--td-header-mobile-hero-topbar) !important;
    min-height:var(--td-header-mobile-hero-topbar) !important;
    padding:0 16px !important;
    background:var(--td-header-warm-bg) !important;
    color:var(--td-header-text) !important;
    box-shadow:0 10px 24px rgba(47,34,27,.08) !important;
  }

  body:not(.td-shell-route-unified).td-header-owner-td_shell .td-topbar[data-td-topbar-component="brand"] .td-topbar__slot--nav,
  body:not(.td-shell-route-unified).td-header-owner-td_shell .td-topbar[data-td-topbar-component="brand"] .td-topbar__slot--title{
    display:none !important;
  }

  body:not(.td-shell-route-unified).td-header-owner-td_shell .td-topbar[data-td-topbar-component="brand"] .td-topbar__slot--brand{
    display:flex !important;
    align-items:center !important;
    min-width:0 !important;
  }

  body:not(.td-shell-route-unified).td-header-owner-td_shell .td-topbar[data-td-topbar-component="brand"] .td-topbar__brand-logo{
    height:38px !important;
    width:auto !important;
    max-width:180px !important;
  }

  body:not(.td-shell-route-unified).td-header-owner-td_shell .td-topbar[data-td-topbar-component="brand"] .td-topbar__slot--actions,
  body:not(.td-shell-route-unified).td-header-owner-td_shell .td-topbar[data-td-topbar-component="brand"] .td-topbar__slot--right{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:8px !important;
  }

  body:not(.td-shell-route-unified).td-header-variant-utility .td-topbar[data-td-topbar-component="app-title"]{
    color:var(--td-header-text) !important;
  }
  body:not(.td-shell-route-unified).td-header-variant-utility .td-topbar[data-td-topbar-component="app-title"] .td-topbar__title,
  body:not(.td-shell-route-unified).td-header-variant-utility .td-topbar[data-td-topbar-component="app-title"] .td-topbar__icon,
  body:not(.td-shell-route-unified).td-header-variant-utility .td-topbar[data-td-topbar-component="app-title"] a,
  body:not(.td-shell-route-unified).td-header-variant-utility .td-topbar[data-td-topbar-component="app-title"] button{
    color:var(--td-header-text) !important;
  }

  body:not(.td-shell-route-unified).td-header-variant-dark_wave .td-topbar[data-td-topbar-component="app-title"]{
    background:linear-gradient(180deg, var(--td-header-dark-top) 0%, var(--td-header-dark-bottom) 100%) !important;
    color:var(--td-header-dark-text) !important;
    box-shadow:none !important;
  }
  body:not(.td-shell-route-unified).td-header-variant-dark_wave .td-topbar[data-td-topbar-component="app-title"] .td-topbar__title,
  body:not(.td-shell-route-unified).td-header-variant-dark_wave .td-topbar[data-td-topbar-component="app-title"] .td-topbar__icon,
  body:not(.td-shell-route-unified).td-header-variant-dark_wave .td-topbar[data-td-topbar-component="app-title"] a,
  body:not(.td-shell-route-unified).td-header-variant-dark_wave .td-topbar[data-td-topbar-component="app-title"] button{
    color:var(--td-header-dark-text) !important;
  }

  body:not(.td-shell-route-unified).td-header-variant-hero_image .td-app-view-header[data-td-surface-component="hero"],
  body:not(.td-shell-route-unified).td-header-variant-hero_image .td-app-view-header--surface-hero{
    display:block !important;
    position:relative !important;
    top:auto !important;
    margin:0 !important;
    margin-top:var(--td-mobile-header-offset, var(--td-header-mobile-topbar)) !important;
    min-height:190px !important;
    background-color:transparent !important;
    background-image:var(--td-shell-header-image) !important;
    background-repeat:no-repeat !important;
    background-size:cover !important;
    background-position:center center !important;
  }
  body:not(.td-shell-route-unified).td-header-variant-hero_image .td-app-view-header[data-td-surface-component="hero"]::before,
  body:not(.td-shell-route-unified).td-header-variant-hero_image .td-app-view-header--surface-hero::before,
  body:not(.td-shell-route-unified).td-header-variant-hero_image .td-app-view-header[data-td-surface-component="hero"]::after,
  body:not(.td-shell-route-unified).td-header-variant-hero_image .td-app-view-header--surface-hero::after{
    display:none !important;
    content:none !important;
  }
  body:not(.td-shell-route-unified).td-header-variant-hero_image .td-app-view-header[data-td-surface-component="hero"] .td-app-view-header__inner,
  body:not(.td-shell-route-unified).td-header-variant-hero_image .td-app-view-header--surface-hero .td-app-view-header__inner{
    display:flex !important;
    align-items:flex-end !important;
    min-height:190px !important;
    padding:20px 18px calc(var(--td-header-mobile-wave) + 14px) !important;
    background:none !important;
    box-shadow:none !important;
    border:0 !important;
  }
  body:not(.td-shell-route-unified).td-header-variant-hero_image .td-app-view-header[data-td-surface-component="hero"] .td-wave-divider__svg,
  body:not(.td-shell-route-unified).td-header-variant-hero_image .td-app-view-header--surface-hero .td-wave-divider__svg{
    height:var(--td-header-mobile-wave) !important;
    transform:scaleY(-1) !important;
    transform-origin:center center !important;
  }

  body:not(.td-shell-route-unified).td-header-variant-dark_wave .td-app-view-header[data-td-surface-component="dark_wave"],
  body:not(.td-shell-route-unified).td-header-variant-dark_wave .td-app-view-header--surface-dark_wave,
  body:not(.td-shell-route-unified).td-header-variant-dark_wave .td-app-view-header--dark_wave{
    display:block !important;
    position:sticky !important;
    top:var(--td-header-mobile-topbar) !important;
    z-index:1900 !important;
    margin:0 !important;
    min-height:var(--td-header-mobile-wave) !important;
    height:var(--td-header-mobile-wave) !important;
    padding:0 !important;
    background:linear-gradient(180deg, var(--td-header-dark-top) 0%, var(--td-header-dark-bottom) 100%) !important;
    overflow:visible !important;
  }
  body.admin-bar:not(.td-shell-route-unified).td-header-variant-dark_wave .td-app-view-header[data-td-surface-component="dark_wave"],
  body.admin-bar:not(.td-shell-route-unified).td-header-variant-dark_wave .td-app-view-header--surface-dark_wave,
  body.admin-bar:not(.td-shell-route-unified).td-header-variant-dark_wave .td-app-view-header--dark_wave{top:calc(var(--td-header-mobile-topbar) + 46px) !important;}
  body:not(.td-shell-route-unified).td-header-variant-dark_wave .td-app-view-header[data-td-surface-component="dark_wave"] .td-app-view-header__inner,
  body:not(.td-shell-route-unified).td-header-variant-dark_wave .td-app-view-header[data-td-surface-component="dark_wave"] .td-app-view-header__copy,
  body:not(.td-shell-route-unified).td-header-variant-dark_wave .td-app-view-header[data-td-surface-component="dark_wave"] .td-app-view-header__silhouette,
  body:not(.td-shell-route-unified).td-header-variant-dark_wave .td-app-view-header--surface-dark_wave .td-app-view-header__inner,
  body:not(.td-shell-route-unified).td-header-variant-dark_wave .td-app-view-header--surface-dark_wave .td-app-view-header__copy,
  body:not(.td-shell-route-unified).td-header-variant-dark_wave .td-app-view-header--surface-dark_wave .td-app-view-header__silhouette,
  body:not(.td-shell-route-unified).td-header-variant-dark_wave .td-app-view-header--dark_wave .td-app-view-header__inner,
  body:not(.td-shell-route-unified).td-header-variant-dark_wave .td-app-view-header--dark_wave .td-app-view-header__copy,
  body:not(.td-shell-route-unified).td-header-variant-dark_wave .td-app-view-header--dark_wave .td-app-view-header__silhouette{
    display:none !important;
  }
  body:not(.td-shell-route-unified).td-header-variant-dark_wave .td-app-view-header[data-td-surface-component="dark_wave"] .td-wave-divider__svg,
  body:not(.td-shell-route-unified).td-header-variant-dark_wave .td-app-view-header--surface-dark_wave .td-wave-divider__svg,
  body:not(.td-shell-route-unified).td-header-variant-dark_wave .td-app-view-header--dark_wave .td-wave-divider__svg{
    height:var(--td-header-mobile-wave) !important;
    transform:scaleY(-1) !important;
    transform-origin:center center !important;
  }

  body:not(.td-shell-route-unified).td-header-variant-utility .td-main__body,
  body:not(.td-shell-route-unified).td-header-variant-utility .td-shell__content,
  body:not(.td-shell-route-unified).td-header-variant-hero_image .td-main__body,
  body:not(.td-shell-route-unified).td-header-variant-hero_image .td-shell__content,
  body:not(.td-shell-route-unified).td-header-variant-dark_wave .td-main__body,
  body:not(.td-shell-route-unified).td-header-variant-dark_wave .td-shell__content{
    padding-top:0 !important;
  }
}


/* 2.7.85.72 – mobilkontrakt steg 2: fast toppnav + stabil bottomnav */

/* removed legacy block: body:not(.td-shell-route-unified).td-hea */


/* Desktop */
@media (min-width:782px){
  body.td-header-owner-td_shell .td-topbar--mobile{display:none !important;}
  body.td-header-owner-td_shell .td-topbar--desktop-app{
    position:sticky !important;
    top:0 !important;
    z-index:2000 !important;
    display:grid !important;
    grid-template-columns:auto minmax(0,1fr) auto !important;
    align-items:center !important;
    gap:24px !important;
    min-height:var(--td-header-desktop-topbar) !important;
    height:var(--td-header-desktop-topbar) !important;
    padding:0 24px !important;
    margin:0 !important;
    width:100% !important;
    max-width:none !important;
    background:var(--td-header-warm-bg) !important;
    color:var(--td-header-text) !important;
    box-shadow:0 10px 24px rgba(47,34,27,.08) !important;
  }
  body.admin-bar.td-header-owner-td_shell .td-topbar--desktop-app{top:32px !important;}
  body.td-header-owner-td_shell .td-topbar__desktop-brand,
  body.td-header-owner-td_shell .td-topbar__desktop-nav,
  body.td-header-owner-td_shell .td-topbar__slot--desktop-right{
    display:flex !important;
    align-items:center !important;
  }
  body.td-header-owner-td_shell .td-topbar__desktop-nav{justify-content:center !important; gap:18px !important;}
  body.td-header-owner-td_shell .td-topbar__slot--desktop-right{justify-content:flex-end !important; gap:10px !important;}
  body.td-header-owner-td_shell .td-topbar__desktop-brand-logo{height:50px !important; width:auto !important;}
  body.td-header-owner-td_shell .td-topbar__desktop-brand-text,
  body.td-header-owner-td_shell .td-topbar__desktop-link,
  body.td-header-owner-td_shell .td-topbar__icon,
  body.td-header-owner-td_shell .td-topbar__icon svg{
    color:inherit !important;
  }

  body.td-header-variant-dark_wave .td-topbar--desktop-app{
    background:linear-gradient(180deg, var(--td-header-dark-top) 0%, var(--td-header-dark-bottom) 100%) !important;
    color:var(--td-header-dark-text) !important;
    box-shadow:none !important;
  }
  body.td-header-variant-dark_wave .td-topbar--desktop-app .td-topbar__icon-link:hover,
  body.td-header-variant-dark_wave .td-topbar--desktop-app .td-topbar__btn:hover{
    background:rgba(255,247,239,.14) !important;
  }

  body.td-header-variant-hero_image .td-app-view-header[data-td-surface-component="hero"],
  body.td-header-variant-hero_image .td-app-view-header--surface-hero{
    position:sticky !important;
    top:var(--td-header-desktop-topbar) !important;
    z-index:1500 !important;
    min-height:320px !important;
    margin:0 !important;
    background-color:transparent !important;
    background-image:var(--td-shell-header-image) !important;
    background-repeat:no-repeat !important;
    background-size:cover !important;
    background-position:center center !important;
  }
  body.td-header-variant-hero_image .td-app-view-header[data-td-surface-component="hero"]::before,
  body.td-header-variant-hero_image .td-app-view-header--surface-hero::before,
  body.td-header-variant-hero_image .td-app-view-header[data-td-surface-component="hero"]::after,
  body.td-header-variant-hero_image .td-app-view-header--surface-hero::after{display:none !important;content:none !important;}
  body.td-header-variant-hero_image .td-app-view-header[data-td-surface-component="hero"] .td-app-view-header__inner,
  body.td-header-variant-hero_image .td-app-view-header--surface-hero .td-app-view-header__inner{
    max-width:1240px !important;
    min-height:320px !important;
    margin:0 auto !important;
    padding:40px 24px calc(var(--td-header-desktop-wave) + 26px) !important;
    display:flex !important;
    align-items:flex-end !important;
    background:none !important;
    box-shadow:none !important;
    border:0 !important;
  }
  body.td-header-variant-hero_image .td-app-view-header[data-td-surface-component="hero"] .td-wave-divider__svg,
  body.td-header-variant-hero_image .td-app-view-header--surface-hero .td-wave-divider__svg{
    height:var(--td-header-desktop-wave) !important;
    transform:scaleY(-1) !important;
    transform-origin:center center !important;
  }

  body.td-header-variant-dark_wave .td-app-view-header[data-td-surface-component="dark_wave"],
  body.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave,
  body.td-header-variant-dark_wave .td-app-view-header--dark_wave{
    position:sticky !important;
    top:var(--td-header-desktop-topbar) !important;
    z-index:1500 !important;
    min-height:170px !important;
    margin:0 !important;
    background:linear-gradient(180deg, var(--td-header-dark-top) 0%, var(--td-header-dark-bottom) 100%) !important;
    color:var(--td-header-dark-text) !important;
  }
  body.td-header-variant-dark_wave .td-app-view-header[data-td-surface-component="dark_wave"] .td-app-view-header__inner,
  body.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave .td-app-view-header__inner,
  body.td-header-variant-dark_wave .td-app-view-header--dark_wave .td-app-view-header__inner{
    max-width:1240px !important;
    margin:0 auto !important;
    min-height:170px !important;
    padding:28px 24px calc(var(--td-header-desktop-wave) + 24px) !important;
    display:flex !important;
    align-items:flex-end !important;
  }
  body.td-header-variant-dark_wave .td-app-view-header[data-td-surface-component="dark_wave"] .td-app-view-header__title,
  body.td-header-variant-dark_wave .td-app-view-header[data-td-surface-component="dark_wave"] .td-app-view-header__subtitle,
  body.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave .td-app-view-header__title,
  body.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave .td-app-view-header__subtitle,
  body.td-header-variant-dark_wave .td-app-view-header--dark_wave .td-app-view-header__title,
  body.td-header-variant-dark_wave .td-app-view-header--dark_wave .td-app-view-header__subtitle{
    color:var(--td-header-dark-text) !important;
  }
  body.td-header-variant-dark_wave .td-app-view-header[data-td-surface-component="dark_wave"] .td-app-view-header__title,
  body.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave .td-app-view-header__title,
  body.td-header-variant-dark_wave .td-app-view-header--dark_wave .td-app-view-header__title{
    font-size:clamp(2.2rem, 4vw, 3.6rem) !important;
    line-height:1.02 !important;
  }
  body.td-header-variant-dark_wave .td-app-view-header[data-td-surface-component="hero"] .td-wave-divider,
  body.td-header-variant-hero_image .td-app-view-header--surface-hero .td-wave-divider,
  body.td-header-variant-hero_image .td-app-view-header--hero .td-wave-divider,
  body.td-header-variant-dark_wave .td-app-view-header[data-td-surface-component="dark_wave"] .td-wave-divider,
  body.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave .td-wave-divider,
  body.td-header-variant-dark_wave .td-app-view-header--dark_wave .td-wave-divider{
    position:absolute !important;
    left:0 !important;
    right:0 !important;
    bottom:-1px !important;
    z-index:3 !important;
    display:block !important;
    width:100% !important;
    line-height:0 !important;
    margin:0 !important;
    pointer-events:none !important;
  }
  body.td-header-variant-dark_wave .td-app-view-header[data-td-surface-component="dark_wave"] .td-wave-divider__svg,
  body.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave .td-wave-divider__svg,
  body.td-header-variant-dark_wave .td-app-view-header--dark_wave .td-wave-divider__svg{
    height:var(--td-header-desktop-wave) !important;
    transform:scaleY(-1) !important;
    transform-origin:center center !important;
  }
  body.td-header-variant-hero_image .td-app-view-header[data-td-surface-component="hero"] .td-wave-divider__svg,
  body.td-header-variant-hero_image .td-app-view-header--surface-hero .td-wave-divider__svg,
  body.td-header-variant-hero_image .td-app-view-header--hero .td-wave-divider__svg,
  body.td-header-variant-dark_wave .td-app-view-header[data-td-surface-component="dark_wave"] .td-wave-divider__svg,
  body.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave .td-wave-divider__svg,
  body.td-header-variant-dark_wave .td-app-view-header--dark_wave .td-wave-divider__svg{
    display:block !important;
    width:100% !important;
  }

  body.td-header-variant-utility .td-main__body,
  body.td-header-variant-utility .td-shell__content,
  body.td-header-variant-hero_image .td-main__body,
  body.td-header-variant-hero_image .td-shell__content,
  body.td-header-variant-dark_wave .td-main__body,
  body.td-header-variant-dark_wave .td-shell__content{
    padding-top:0 !important;
  }
}


/* 2.7.85.73 – mobil rescue: CPT hjälp utility + mörk våg-offset */
@media (max-width:781.98px){
  body.single-td_help.td-header-variant-utility .td-shell__masthead,
  body.single-td_help.td-header-variant-utility .td-shell__header,
  body.single-td_help.td-header-variant-utility .td-shell__masthead--utility,
  body.single-td_help.td-header-variant-utility .td-shell__header--utility,
  body.single-td_help.td-header-variant-utility .td-shell__masthead--surface-utility,
  body.single-td_help.td-header-variant-utility .td-shell__header--surface-utility,
  body:not(.td-shell-route-unified).td-help-single.td-header-variant-utility .td-shell__masthead,
  body:not(.td-shell-route-unified).td-help-single.td-header-variant-utility .td-shell__header,
  body:not(.td-shell-route-unified).td-help-single.td-header-variant-utility .td-shell__masthead--utility,
  body:not(.td-shell-route-unified).td-help-single.td-header-variant-utility .td-shell__header--utility,
  body:not(.td-shell-route-unified).td-help-single.td-header-variant-utility .td-shell__masthead--surface-utility,
  body:not(.td-shell-route-unified).td-help-single.td-header-variant-utility .td-shell__header--surface-utility{
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
    height:0 !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    overflow:visible !important;
    background:transparent !important;
  }

  body.single-td_help.td-header-variant-utility .td-shell__chrome,
  body.single-td_help.td-header-variant-utility .td-app-shell__chrome,
  body.td-help-single.td-header-variant-utility .td-shell__chrome,
  body.td-help-single.td-header-variant-utility .td-app-shell__chrome{
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
    overflow:visible !important;
  }

  body.single-td_help.td-header-variant-utility .td-topbar[data-td-topbar-component="app-title"],
  body:not(.td-shell-route-unified).td-help-single.td-header-variant-utility .td-topbar[data-td-topbar-component="app-title"]{
    display:grid !important;
    visibility:visible !important;
    opacity:1 !important;
  }

  /* 2.7.95.27: content-start för utility/dark wave ägs av td-content-compat.css. */
}

/* 2.7.85.74 – hjälparkiv hero ska följa varm brand-topbar, inte äldre mörk gradient */
@media (max-width:781.98px){
  body:not(.td-shell-route-unified).td-view-help.td-header-variant-hero_image .td-topbar[data-td-topbar-component="brand"],
  body.td-pagetype-td_view_help_index.td-header-variant-hero_image .td-topbar[data-td-topbar-component="brand"]{
    background:var(--td-header-warm-bg) !important;
    background-image:none !important;
    color:var(--td-header-text) !important;
    box-shadow:0 10px 24px rgba(47,34,27,.08) !important;
  }

  body:not(.td-shell-route-unified).td-view-help.td-header-variant-hero_image .td-topbar[data-td-topbar-component="brand"] .td-topbar__icon,
  body:not(.td-shell-route-unified).td-view-help.td-header-variant-hero_image .td-topbar[data-td-topbar-component="brand"] .td-topbar__icon svg,
  body:not(.td-shell-route-unified).td-view-help.td-header-variant-hero_image .td-topbar[data-td-topbar-component="brand"] a,
  body:not(.td-shell-route-unified).td-view-help.td-header-variant-hero_image .td-topbar[data-td-topbar-component="brand"] button,
  body.td-pagetype-td_view_help_index.td-header-variant-hero_image .td-topbar[data-td-topbar-component="brand"] .td-topbar__icon,
  body.td-pagetype-td_view_help_index.td-header-variant-hero_image .td-topbar[data-td-topbar-component="brand"] .td-topbar__icon svg,
  body.td-pagetype-td_view_help_index.td-header-variant-hero_image .td-topbar[data-td-topbar-component="brand"] a,
  body.td-pagetype-td_view_help_index.td-header-variant-hero_image .td-topbar[data-td-topbar-component="brand"] button{
    color:var(--td-header-text) !important;
  }
}


/* 2.7.85.78 – hem mobil: hero-kontrakt endast för mobil och fullbredd i theme-template */
@media (max-width:781.98px){
  body:not(.td-shell-route-unified).td-page.td-view-home.td-header-variant-hero_image:not(.td-shell-standalone) .td-page-frame__header{
    overflow:visible !important;
  }
  body:not(.td-shell-route-unified).td-page.td-view-home.td-header-variant-hero_image:not(.td-shell-standalone) .td-app-view-header[data-td-surface-component="hero"],
  body:not(.td-shell-route-unified).td-page.td-view-home.td-header-variant-hero_image:not(.td-shell-standalone) .td-app-view-header--surface-hero{
    margin-left:calc(50% - 50vw) !important;
    margin-right:calc(50% - 50vw) !important;
    width:auto !important;
    max-width:none !important;
    border-radius:0 !important;
  }
  body.td-page.td-view-home.td-header-variant-hero_image .td-app-view-header[data-td-surface-component="hero"] .td-app-view-header__inner,
  body.td-page.td-view-home.td-header-variant-hero_image .td-app-view-header--surface-hero .td-app-view-header__inner{
    min-height:190px !important;
    padding-top:24px !important;
    padding-right:18px !important;
    padding-bottom:calc(var(--td-header-mobile-wave) + 16px) !important;
    padding-left:18px !important;
  }
}


/* 2.7.85.82 – rikta utility-offset utan att slå sönder hero/dark-wave på desktop */
@media (min-width:782px){
  body.td-header-variant-utility .td-page-frame__main,
  body.td-header-variant-utility .td-main,
  body.td-header-variant-utility .td-page-frame__content,
  body.td-header-variant-utility .td-main__body,
  body.td-header-variant-utility .td-shell__content,
  body.td-header-variant-utility .td-view-stack,
  body.td-header-variant-utility .td-page-frame__stack{
    padding-top:calc(var(--td-header-desktop-topbar) + 16px) !important;
  }

  body.td-header-variant-utility .td-page-frame__header,
  body.td-header-variant-utility .td-shell__header,
  body.td-header-variant-utility .td-shell__masthead,
  body.td-header-variant-utility .td-app-shell__masthead{
    display:block !important;
    min-height:0 !important;
    height:0 !important;
    margin:0 !important;
    padding:0 !important;
    overflow:visible !important;
    background:transparent !important;
  }
}

@media (max-width:781.98px){
  body:not(.td-shell-route-unified).td-page.td-view-home.td-header-variant-hero_image:not(.td-shell-standalone) .td-page-frame__header{
    padding-top:61px !important;
    overflow:visible !important;
  }

  body:not(.td-shell-route-unified).td-page.td-view-home.td-header-variant-hero_image:not(.td-shell-standalone) .td-app-view-header[data-td-surface-component="hero"],
  body:not(.td-shell-route-unified).td-page.td-view-home.td-header-variant-hero_image:not(.td-shell-standalone) .td-app-view-header--surface-hero{
    margin-top:0 !important;
  }

  body.td-page.td-view-home.td-hide-theme-chrome:not(.td-shell-standalone) main#content.site-main,
  body.td-page.td-view-home.td-hide-theme-chrome:not(.td-shell-standalone) .page-content{
    padding-left:0 !important;
    padding-right:0 !important;
  }

  body.td-page.td-view-home .td-page-frame__content.td-main__body{
    padding-left:14px !important;
    padding-right:14px !important;
  }
}


/* 2.7.85.83 – desktop parity: hero/dark-wave under topbar, utility tighter offset, courseware topbar synlig */
@media (min-width:782px){
  body:not(.td-shell-route-unified).td-page.td-header-owner-td_shell:not(.td-courseware-app):not(.td-shell-standalone).td-header-variant-hero_image .td-page-frame__header,
  body:not(.td-shell-route-unified).td-page.td-header-owner-td_shell:not(.td-courseware-app):not(.td-shell-standalone).td-header-variant-dark_wave .td-page-frame__header{
    width:100vw !important;
    max-width:100vw !important;
    margin-left:calc(50% - 50vw) !important;
    margin-right:calc(50% - 50vw) !important;
    padding-top:var(--td-header-desktop-topbar) !important;
    overflow:visible !important;
    background:transparent !important;
  }

  body:not(.td-shell-route-unified).td-page.td-header-owner-td_shell:not(.td-courseware-app):not(.td-shell-standalone).td-header-variant-hero_image .td-app-view-header[data-td-surface-component="hero"],
  body:not(.td-shell-route-unified).td-page.td-header-owner-td_shell:not(.td-courseware-app):not(.td-shell-standalone).td-header-variant-hero_image .td-app-view-header--surface-hero,
  body:not(.td-shell-route-unified).td-page.td-header-owner-td_shell:not(.td-courseware-app):not(.td-shell-standalone).td-header-variant-dark_wave .td-app-view-header[data-td-surface-component="dark_wave"],
  body:not(.td-shell-route-unified).td-page.td-header-owner-td_shell:not(.td-courseware-app):not(.td-shell-standalone).td-header-variant-dark_wave .td-app-view-header--surface-dark_wave,
  body:not(.td-shell-route-unified).td-page.td-header-owner-td_shell:not(.td-courseware-app):not(.td-shell-standalone).td-header-variant-dark_wave .td-app-view-header--dark_wave{
    position:relative !important;
    top:auto !important;
    left:auto !important;
    right:auto !important;
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    z-index:1 !important;
  }

  body.td-page.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar--desktop-app,
  body:not(.td-shell-route-unified).td-courseware-app.td-header-variant-dark_wave .td-topbar--desktop-app,
  body:not(.td-shell-route-unified).single-course.td-header-variant-dark_wave .td-topbar--desktop-app,
  body:not(.td-shell-route-unified).single-course_unit.td-header-variant-dark_wave .td-topbar--desktop-app{
    background:linear-gradient(180deg, var(--td-header-dark-top) 0%, var(--td-header-dark-bottom) 100%) !important;
    background-image:linear-gradient(180deg, var(--td-header-dark-top) 0%, var(--td-header-dark-bottom) 100%) !important;
    color:var(--td-header-dark-text) !important;
    box-shadow:none !important;
    z-index:2100 !important;
  }

  body:not(.td-shell-route-unified).td-courseware-app.td-header-variant-hero_image .td-topbar--desktop-app,
  body:not(.td-shell-route-unified).single-course.td-header-variant-hero_image .td-topbar--desktop-app,
  body:not(.td-shell-route-unified).single-course_unit.td-header-variant-hero_image .td-topbar--desktop-app{
    background:var(--td-header-warm-bg) !important;
    background-image:none !important;
    color:var(--td-header-text) !important;
    box-shadow:0 10px 24px rgba(47,34,27,.08) !important;
    z-index:2100 !important;
  }

  body.td-page.td-header-owner-td_shell.td-header-variant-utility .td-page-frame__main,
  body.td-page.td-header-owner-td_shell.td-header-variant-utility .td-main,
  body.td-page.td-header-owner-td_shell.td-header-variant-utility .td-page-frame__content,
  body.td-page.td-header-owner-td_shell.td-header-variant-utility .td-main__body,
  body.td-page.td-header-owner-td_shell.td-header-variant-utility .td-shell__content,
  body.td-page.td-header-owner-td_shell.td-header-variant-utility .td-view-stack,
  body.td-page.td-header-owner-td_shell.td-header-variant-utility .td-page-frame__stack{
    padding-top:18px !important;
  }
}

/* 2.7.85.83 – hem mobil: lås most-important-spåret till full kortbredd */
@media (max-width:781.98px){
  body.td-page.td-view-home .td-dashboard,
  body.td-page.td-view-home .td-dashboard-layout,
  body.td-page.td-view-home .td-dashboard-layout__hero,
  body.td-page.td-view-home .td-dashboard-layout__hero-main,
  body.td-page.td-view-home .td-dashboard-layout__hero > *,
  body.td-page.td-view-home .td-dashboard-layout__hero-main > *,
  body.td-page.td-view-home .td-dashboard > .td-dash-card--most-important{
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
  }

  body.td-page.td-view-home .td-dashboard-layout,
  body.td-page.td-view-home .td-dashboard-layout__hero{
    display:block !important;
    grid-template-columns:minmax(0,1fr) !important;
  }
}

/* 2.7.85.84 – riktade parity-fixar: hem mobil, utility desktop, courseware desktop */
@media (max-width:781.98px){
  body.td-page.td-view-home.td-hide-theme-chrome main#content .elementor-widget-wrap.elementor-element-populated,
  body.td-page.td-view-home.td-hide-theme-chrome .page-content .elementor-widget-wrap.elementor-element-populated{
    padding-left:0 !important;
    padding-right:0 !important;
  }

  body.td-page.td-view-home .td-page-frame__content.td-main__body{
    width:100% !important;
    max-width:none !important;
  }
}

@media (min-width:782px){
  body:not(.td-shell-route-unified).td-page.td-header-owner-td_shell:not(.td-courseware-app):not(.td-shell-standalone).td-header-variant-dark_wave .td-page-frame__header{
    background:linear-gradient(180deg, var(--td-header-dark-top) 0%, var(--td-header-dark-bottom) 100%) !important;
  }

  body:not(.td-shell-route-unified).td-page.td-header-owner-td_shell:not(.td-courseware-app):not(.td-shell-standalone).td-header-variant-dark_wave .td-topbar--desktop-app{
    background:transparent !important;
    background-image:none !important;
    border-radius:0 !important;
    box-shadow:none !important;
  }

  body.td-page.td-header-owner-td_shell.td-header-variant-utility .td-page-frame__main,
  body.td-page.td-header-owner-td_shell.td-header-variant-utility .td-main{
    padding-top:var(--td-header-desktop-topbar) !important;
  }

  body.td-page.td-header-owner-td_shell.td-header-variant-utility .td-page-frame__content,
  body.td-page.td-header-owner-td_shell.td-header-variant-utility .td-main__body,
  body.td-page.td-header-owner-td_shell.td-header-variant-utility .td-shell__content,
  body.td-page.td-header-owner-td_shell.td-header-variant-utility .td-view-stack,
  body.td-page.td-header-owner-td_shell.td-header-variant-utility .td-page-frame__stack{
    padding-top:18px !important;
  }

  body:not(.td-shell-route-unified).td-courseware-app.td-header-owner-td_shell.td-header-variant-hero_image .td-page-frame__header,
  body:not(.td-shell-route-unified).td-courseware-app.td-header-owner-td_shell.td-header-variant-dark_wave .td-page-frame__header,
  body:not(.td-shell-route-unified).td-courseware-app.td-header-owner-td_shell.td-header-variant-hero_image .td-shell__header,
  body:not(.td-shell-route-unified).td-courseware-app.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell__header,
  body:not(.td-shell-route-unified).td-courseware-app.td-header-owner-td_shell.td-header-variant-hero_image .td-shell__masthead,
  body:not(.td-shell-route-unified).td-courseware-app.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell__masthead,
  body:not(.td-shell-route-unified).td-wpcw-course.td-header-owner-td_shell.td-header-variant-hero_image .td-page-frame__header,
  body:not(.td-shell-route-unified).td-wpcw-course.td-header-owner-td_shell.td-header-variant-dark_wave .td-page-frame__header,
  body:not(.td-shell-route-unified).td-wpcw-unit.td-header-owner-td_shell.td-header-variant-hero_image .td-page-frame__header,
  body:not(.td-shell-route-unified).td-wpcw-unit.td-header-owner-td_shell.td-header-variant-dark_wave .td-page-frame__header,
  body:not(.td-shell-route-unified).single-course.td-header-owner-td_shell.td-header-variant-hero_image .td-page-frame__header,
  body:not(.td-shell-route-unified).single-course.td-header-owner-td_shell.td-header-variant-dark_wave .td-page-frame__header,
  body:not(.td-shell-route-unified).single-course_unit.td-header-owner-td_shell.td-header-variant-hero_image .td-page-frame__header,
  body:not(.td-shell-route-unified).single-course_unit.td-header-owner-td_shell.td-header-variant-dark_wave .td-page-frame__header{
    width:100vw !important;
    max-width:100vw !important;
    margin-left:calc(50% - 50vw) !important;
    margin-right:calc(50% - 50vw) !important;
    padding-top:var(--td-header-desktop-topbar) !important;
    overflow:visible !important;
    background:transparent !important;
  }

  body:not(.td-shell-route-unified).td-courseware-app.td-header-owner-td_shell.td-header-variant-hero_image .td-shell__masthead--surface-hero,
  body:not(.td-shell-route-unified).td-courseware-app.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell__masthead--surface-dark_wave,
  body:not(.td-shell-route-unified).td-courseware-app.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell__masthead--dark_wave,
  body:not(.td-shell-route-unified).td-wpcw-course.td-header-owner-td_shell.td-header-variant-hero_image .td-shell__masthead--surface-hero,
  body:not(.td-shell-route-unified).td-wpcw-course.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell__masthead--surface-dark_wave,
  body:not(.td-shell-route-unified).td-wpcw-course.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell__masthead--dark_wave,
  body:not(.td-shell-route-unified).td-wpcw-unit.td-header-owner-td_shell.td-header-variant-hero_image .td-shell__masthead--surface-hero,
  body:not(.td-shell-route-unified).td-wpcw-unit.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell__masthead--surface-dark_wave,
  body:not(.td-shell-route-unified).td-wpcw-unit.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell__masthead--dark_wave,
  body:not(.td-shell-route-unified).single-course.td-header-owner-td_shell.td-header-variant-hero_image .td-shell__masthead--surface-hero,
  body:not(.td-shell-route-unified).single-course.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell__masthead--surface-dark_wave,
  body:not(.td-shell-route-unified).single-course.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell__masthead--dark_wave,
  body:not(.td-shell-route-unified).single-course_unit.td-header-owner-td_shell.td-header-variant-hero_image .td-shell__masthead--surface-hero,
  body:not(.td-shell-route-unified).single-course_unit.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell__masthead--surface-dark_wave,
  body:not(.td-shell-route-unified).single-course_unit.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell__masthead--dark_wave{
    position:relative !important;
    top:auto !important;
    left:auto !important;
    right:auto !important;
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    z-index:1 !important;
  }
}

/* 2.7.85.86 – home mobile width + desktop courseware/header parity */
@media (max-width:781.98px){
  body.td-page.td-view-home .td-page-frame__stack--dashboard,
  body.td-page.td-view-home .td-view-stack--dashboard{
    padding-left:0 !important;
    padding-right:0 !important;
    grid-template-columns:minmax(0,1fr) !important;
  }

  body.td-page.td-view-home .td-page-frame__stack--dashboard > .td-dashboard,
  body.td-page.td-view-home .td-view-stack--dashboard > .td-dashboard{
    width:100% !important;
    max-width:none !important;
  }
}

@media (min-width:782px){
  body.td-header-owner-td_shell .td-topbar__desktop-brand-text{
    font-family:"Rainier", serif !important;
    font-style:normal !important;
    font-weight:700 !important;
    text-transform:uppercase !important;
    letter-spacing:0 !important;
    font-variant-ligatures:common-ligatures discretionary-ligatures contextual !important;
    font-feature-settings:"liga" 1, "clig" 1, "calt" 1, "dlig" 1, "salt" 1, "swsh" 1, "ss01" 1, "ss02" 1 !important;
    line-height:1 !important;
  }

  body.td-header-variant-dark_wave .td-topbar--desktop-app .td-topbar__desktop-brand-logo,
  body:not(.td-shell-route-unified).td-courseware-app.td-header-variant-dark_wave .td-topbar--desktop-app .td-topbar__desktop-brand-logo,
  body:not(.td-shell-route-unified).single-course.td-header-variant-dark_wave .td-topbar--desktop-app .td-topbar__desktop-brand-logo,
  body:not(.td-shell-route-unified).single-course_unit.td-header-variant-dark_wave .td-topbar--desktop-app .td-topbar__desktop-brand-logo{
    filter:brightness(0) invert(1) saturate(0) brightness(1.9) !important;
  }

  body:not(.td-shell-route-unified).td-page.td-header-owner-td_shell:not(.td-courseware-app):not(.td-shell-standalone).td-header-variant-dark_wave .td-topbar--desktop-app{
    background:linear-gradient(180deg, var(--td-header-dark-top) 0%, var(--td-header-dark-bottom) 100%) !important;
    background-image:linear-gradient(180deg, var(--td-header-dark-top) 0%, var(--td-header-dark-bottom) 100%) !important;
    border-radius:0 !important;
    margin-bottom:-1px !important;
  }

  body:not(.td-shell-route-unified).td-page.td-header-owner-td_shell:not(.td-courseware-app):not(.td-shell-standalone).td-header-variant-dark_wave .td-page-frame__header,
  body:not(.td-shell-route-unified).td-page.td-header-owner-td_shell:not(.td-courseware-app):not(.td-shell-standalone).td-header-variant-dark_wave .td-page-frame__header .td-app-view-header--surface-dark_wave,
  body:not(.td-shell-route-unified).td-page.td-header-owner-td_shell:not(.td-courseware-app):not(.td-shell-standalone).td-header-variant-dark_wave .td-page-frame__header .td-app-view-header--dark_wave{
    background:linear-gradient(180deg, var(--td-header-dark-top) 0%, var(--td-header-dark-bottom) 100%) !important;
  }

  body:not(.td-shell-route-unified).td-courseware-app.td-header-owner-td_shell .td-topbar--desktop-app,
  body:not(.td-shell-route-unified).td-wpcw-course.td-header-owner-td_shell .td-topbar--desktop-app,
  body:not(.td-shell-route-unified).td-wpcw-unit.td-header-owner-td_shell .td-topbar--desktop-app,
  body:not(.td-shell-route-unified).single-course.td-header-owner-td_shell .td-topbar--desktop-app,
  body:not(.td-shell-route-unified).single-course_unit.td-header-owner-td_shell .td-topbar--desktop-app{
    border-radius:0 !important;
    box-shadow:none !important;
  }

  body:not(.td-shell-route-unified).td-courseware-app.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar--desktop-app,
  body:not(.td-shell-route-unified).td-wpcw-course.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar--desktop-app,
  body:not(.td-shell-route-unified).td-wpcw-unit.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar--desktop-app,
  body:not(.td-shell-route-unified).single-course.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar--desktop-app,
  body:not(.td-shell-route-unified).single-course_unit.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar--desktop-app{
    background:linear-gradient(180deg, var(--td-header-dark-top) 0%, var(--td-header-dark-bottom) 100%) !important;
    background-image:linear-gradient(180deg, var(--td-header-dark-top) 0%, var(--td-header-dark-bottom) 100%) !important;
    color:var(--td-header-dark-text) !important;
  }

  body:not(.td-shell-route-unified).td-courseware-app.td-header-owner-td_shell.td-header-variant-hero_image .td-topbar--desktop-app,
  body:not(.td-shell-route-unified).td-wpcw-course.td-header-owner-td_shell.td-header-variant-hero_image .td-topbar--desktop-app,
  body:not(.td-shell-route-unified).td-wpcw-unit.td-header-owner-td_shell.td-header-variant-hero_image .td-topbar--desktop-app,
  body:not(.td-shell-route-unified).single-course.td-header-owner-td_shell.td-header-variant-hero_image .td-topbar--desktop-app,
  body:not(.td-shell-route-unified).single-course_unit.td-header-owner-td_shell.td-header-variant-hero_image .td-topbar--desktop-app{
    background:var(--td-header-warm-bg) !important;
    background-image:none !important;
    color:var(--td-header-text) !important;
  }

  body:not(.td-shell-route-unified).td-courseware-app.td-header-owner-td_shell .td-shell__masthead,
  body:not(.td-shell-route-unified).td-wpcw-course.td-header-owner-td_shell .td-shell__masthead,
  body:not(.td-shell-route-unified).td-wpcw-unit.td-header-owner-td_shell .td-shell__masthead,
  body:not(.td-shell-route-unified).single-course.td-header-owner-td_shell .td-shell__masthead,
  body:not(.td-shell-route-unified).single-course_unit.td-header-owner-td_shell .td-shell__masthead{
    padding-top:0 !important;
  }

  body:not(.td-shell-route-unified).td-courseware-app.td-header-owner-td_shell .td-shell__masthead--surface-hero,
  body:not(.td-shell-route-unified).td-courseware-app.td-header-owner-td_shell .td-shell__masthead--surface-dark_wave,
  body:not(.td-shell-route-unified).td-courseware-app.td-header-owner-td_shell .td-shell__masthead--dark_wave,
  body:not(.td-shell-route-unified).td-wpcw-course.td-header-owner-td_shell .td-shell__masthead--surface-hero,
  body:not(.td-shell-route-unified).td-wpcw-course.td-header-owner-td_shell .td-shell__masthead--surface-dark_wave,
  body:not(.td-shell-route-unified).td-wpcw-course.td-header-owner-td_shell .td-shell__masthead--dark_wave,
  body:not(.td-shell-route-unified).td-wpcw-unit.td-header-owner-td_shell .td-shell__masthead--surface-hero,
  body:not(.td-shell-route-unified).td-wpcw-unit.td-header-owner-td_shell .td-shell__masthead--surface-dark_wave,
  body:not(.td-shell-route-unified).td-wpcw-unit.td-header-owner-td_shell .td-shell__masthead--dark_wave,
  body:not(.td-shell-route-unified).single-course.td-header-owner-td_shell .td-shell__masthead--surface-hero,
  body:not(.td-shell-route-unified).single-course.td-header-owner-td_shell .td-shell__masthead--surface-dark_wave,
  body:not(.td-shell-route-unified).single-course.td-header-owner-td_shell .td-shell__masthead--dark_wave,
  body:not(.td-shell-route-unified).single-course_unit.td-header-owner-td_shell .td-shell__masthead--surface-hero,
  body:not(.td-shell-route-unified).single-course_unit.td-header-owner-td_shell .td-shell__masthead--surface-dark_wave,
  body:not(.td-shell-route-unified).single-course_unit.td-header-owner-td_shell .td-shell__masthead--dark_wave{
    top:0 !important;
    margin-top:0 !important;
  }
}


/* 2.7.85.87 – stabiliseringspass: hem mobil + dark-wave desktop + courseware desktop */
@media (max-width:781.98px){
  body.td-page.td-view-home .td-page-frame__content.td-main__body{
    padding-left:8px !important;
    padding-right:8px !important;
  }

  body.td-page.td-view-home .td-page-frame__stack.td-page-frame__stack--dashboard.td-view-stack.td-view-stack--dashboard.td-stack,
  body.td-page.td-view-home .td-page-frame__stack--dashboard.td-view-stack--dashboard,
  body.td-page.td-view-home .td-view-stack.td-view-stack--dashboard,
  body.td-page.td-view-home .td-view-stack--dashboard{
    padding-left:0 !important;
    padding-right:0 !important;
    width:100% !important;
    max-width:none !important;
    grid-template-columns:minmax(0,1fr) !important;
  }

  body.td-page.td-view-home section.td-dashboard,
  body.td-page.td-view-home .td-dashboard{
    width:100% !important;
    max-width:none !important;
    grid-template-columns:minmax(0,1fr) !important;
  }
}

@media (min-width:782px){
  body:not(.td-shell-route-unified).td-page.td-header-owner-td_shell:not(.td-courseware-app):not(.td-shell-standalone).td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app{
    background:linear-gradient(180deg, var(--td-header-dark-top) 0%, var(--td-header-dark-bottom) 100%) !important;
    background-image:linear-gradient(180deg, var(--td-header-dark-top) 0%, var(--td-header-dark-bottom) 100%) !important;
    border-radius:0 !important;
    box-shadow:none !important;
    margin-bottom:-2px !important;
  }

  body:not(.td-shell-route-unified).td-page.td-header-owner-td_shell:not(.td-courseware-app):not(.td-shell-standalone).td-header-variant-dark_wave .td-page-frame__header,
  body:not(.td-shell-route-unified).td-page.td-header-owner-td_shell:not(.td-courseware-app):not(.td-shell-standalone).td-header-variant-dark_wave .td-page-frame__header .td-app-view-header--surface-dark_wave,
  body:not(.td-shell-route-unified).td-page.td-header-owner-td_shell:not(.td-courseware-app):not(.td-shell-standalone).td-header-variant-dark_wave .td-page-frame__header .td-app-view-header--dark_wave{
    background:linear-gradient(180deg, var(--td-header-dark-top) 0%, var(--td-header-dark-bottom) 100%) !important;
    margin-top:-2px !important;
  }

  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-courseware-app.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-wpcw-course.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-wpcw-unit.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app,
  body.single-wpcw_course.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app,
  body.single-wpcw_course_unit.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app{
    border-radius:0 !important;
    border-bottom-left-radius:0 !important;
    border-bottom-right-radius:0 !important;
    box-shadow:none !important;
    margin-bottom:0 !important;
  }

  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-courseware-app.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-wpcw-course.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-wpcw-unit.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app,
  body.single-wpcw_course.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app,
  body.single-wpcw_course_unit.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app{
    background:linear-gradient(180deg, var(--td-header-dark-top) 0%, var(--td-header-dark-bottom) 100%) !important;
    background-image:linear-gradient(180deg, var(--td-header-dark-top) 0%, var(--td-header-dark-bottom) 100%) !important;
    color:var(--td-header-dark-text) !important;
  }

  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-courseware-app.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app .td-topbar__desktop-brand-logo,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-wpcw-course.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app .td-topbar__desktop-brand-logo,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-wpcw-unit.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app .td-topbar__desktop-brand-logo,
  body.single-wpcw_course.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app .td-topbar__desktop-brand-logo,
  body.single-wpcw_course_unit.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app .td-topbar__desktop-brand-logo{
    filter:brightness(0) invert(1) saturate(0) brightness(1.9) !important;
  }

  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-courseware-app.td-header-owner-td_shell .td-page-frame__header,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-courseware-app.td-header-owner-td_shell .td-shell__header,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-wpcw-course.td-header-owner-td_shell .td-page-frame__header,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-wpcw-unit.td-header-owner-td_shell .td-page-frame__header,
  body.single-wpcw_course.td-header-owner-td_shell .td-page-frame__header,
  body.single-wpcw_course_unit.td-header-owner-td_shell .td-page-frame__header{
    padding-top:0 !important;
    background:transparent !important;
  }

  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-courseware-app.td-header-owner-td_shell .td-shell__masthead,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-wpcw-course.td-header-owner-td_shell .td-shell__masthead,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-wpcw-unit.td-header-owner-td_shell .td-shell__masthead,
  body.single-wpcw_course.td-header-owner-td_shell .td-shell__masthead,
  body.single-wpcw_course_unit.td-header-owner-td_shell .td-shell__masthead{
    padding-top:var(--td-header-desktop-topbar) !important;
    margin-top:0 !important;
  }

  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-courseware-app.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell__masthead--dark_wave,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-courseware-app.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell__masthead--surface-dark_wave,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-wpcw-course.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell__masthead--dark_wave,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-wpcw-course.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell__masthead--surface-dark_wave,
  body.single-wpcw_course.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell__masthead--dark_wave,
  body.single-wpcw_course.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell__masthead--surface-dark_wave{
    background:linear-gradient(180deg, var(--td-header-dark-top) 0%, var(--td-header-dark-bottom) 100%) !important;
  }

  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-courseware-app.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--dark_wave,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-courseware-app.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-wpcw-course.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--dark_wave,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-wpcw-course.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave,
  body.single-wpcw_course.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--dark_wave,
  body.single-wpcw_course.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-courseware-app.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--hero,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-courseware-app.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--surface-hero,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-wpcw-unit.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--hero,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-wpcw-unit.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--surface-hero,
  body.single-wpcw_course_unit.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--hero,
  body.single-wpcw_course_unit.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--surface-hero{
    margin-top:0 !important;
    top:auto !important;
  }
}


/* 2.7.85.88 – desktop topbar/surface cleanup for dark-wave and courseware */

/* removed legacy block: /* 2.7.85.89 – mobil bottomnav anti-glap */




/* removed legacy block: 2.7.85.89 mobil bottomnav anti-glapp */



/* 2.7.85.90 – desktop header cleanup: align standalone courseware with TD variants */
@media (min-width:782px){
  body.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app,
  body.single-wpcw_course.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app,
  body.single-wpcw_course_unit.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app{
    background:linear-gradient(180deg, var(--td-header-dark-top) 0%, var(--td-header-dark-join) 100%) !important;
    background-image:linear-gradient(180deg, var(--td-header-dark-top) 0%, var(--td-header-dark-join) 100%) !important;
    color:var(--td-header-dark-text) !important;
    box-shadow:none !important;
    border-radius:0 !important;
    margin:0 !important;
  }

  body:not(.td-shell-route-unified).td-page.td-header-owner-td_shell:not(.td-courseware-app):not(.td-shell-standalone).td-header-variant-dark_wave .td-page-frame__header,
  body:not(.td-shell-route-unified).td-page.td-header-owner-td_shell:not(.td-courseware-app):not(.td-shell-standalone).td-header-variant-dark_wave .td-page-frame__header .td-app-view-header--surface-dark_wave,
  body:not(.td-shell-route-unified).td-page.td-header-owner-td_shell:not(.td-courseware-app):not(.td-shell-standalone).td-header-variant-dark_wave .td-page-frame__header .td-app-view-header--dark_wave,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell__masthead--surface-dark_wave,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell__masthead--dark_wave,
  body.single-wpcw_course.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell__masthead--surface-dark_wave,
  body.single-wpcw_course.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell__masthead--dark_wave{
    background:linear-gradient(180deg, var(--td-header-dark-join) 0%, var(--td-header-dark-bottom) 100%) !important;
    background-image:linear-gradient(180deg, var(--td-header-dark-join) 0%, var(--td-header-dark-bottom) 100%) !important;
    margin-top:0 !important;
  }

  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app,
  body.single-wpcw_course.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app,
  body.single-wpcw_course_unit.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app{
    position:sticky !important;
    top:0 !important;
    z-index:2000 !important;
    padding:12px 24px !important;
    min-height:var(--td-header-desktop-topbar) !important;
    height:var(--td-header-desktop-topbar) !important;
    border-radius:0 !important;
    box-shadow:none !important;
  }

  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app,
  body.admin-bar.single-wpcw_course.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app,
  body.admin-bar.single-wpcw_course_unit.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app{
    top:32px !important;
  }

  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-header-owner-td_shell .td-topbar__desktop-link.is-active,
  body.single-wpcw_course.td-header-owner-td_shell .td-topbar__desktop-link.is-active,
  body.single-wpcw_course_unit.td-header-owner-td_shell .td-topbar__desktop-link.is-active{
    background:transparent !important;
    border-color:transparent !important;
    box-shadow:none !important;
    color:inherit !important;
  }

  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-header-owner-td_shell .td-topbar__desktop-link.is-active::after,
  body.single-wpcw_course.td-header-owner-td_shell .td-topbar__desktop-link.is-active::after,
  body.single-wpcw_course_unit.td-header-owner-td_shell .td-topbar__desktop-link.is-active::after{
    background:var(--td-shell-primary, #d36a24) !important;
  }

  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar__desktop-brand-text,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar__desktop-link,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar__icon,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar__icon svg,
  body.single-wpcw_course.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar__desktop-brand-text,
  body.single-wpcw_course.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar__desktop-link,
  body.single-wpcw_course.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar__icon,
  body.single-wpcw_course.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar__icon svg,
  body.single-wpcw_course_unit.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar__desktop-brand-text,
  body.single-wpcw_course_unit.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar__desktop-link,
  body.single-wpcw_course_unit.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar__icon,
  body.single-wpcw_course_unit.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar__icon svg{
    color:var(--td-header-dark-text) !important;
    fill:currentColor !important;
  }

  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-header-owner-td_shell.td-header-variant-hero_image .td-topbar.td-topbar--desktop-app,
  body.single-wpcw_course_unit.td-header-owner-td_shell.td-header-variant-hero_image .td-topbar.td-topbar--desktop-app{
    position:sticky !important;
    top:0 !important;
    z-index:2000 !important;
    padding:12px 24px !important;
    border-radius:0 !important;
    box-shadow:0 10px 24px rgba(47,34,27,.08) !important;
  }

  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-header-owner-td_shell.td-header-variant-hero_image .td-topbar.td-topbar--desktop-app,
  body.admin-bar.single-wpcw_course_unit.td-header-owner-td_shell.td-header-variant-hero_image .td-topbar.td-topbar--desktop-app{
    top:32px !important;
  }
}


/* 2.7.85.91 – standalone/share/entry/courseware header parity + global focuspoint */
:root{
  --td-header-dark-topbar-top:#6a4a38;
  --td-header-dark-topbar-bottom:#30221b;
  --td-header-dark-surface-top:#30221b;
  --td-header-dark-surface-bottom:#4a3529;
}

body.td-header-owner-td_shell .td-app-view-header[data-td-surface-component="hero"],
body.td-header-owner-td_shell .td-app-view-header--surface-hero,
body.td-header-owner-td_shell .td-shell__masthead--surface-hero{
  background-position:var(--td-shell-header-position-x, 50%) var(--td-shell-header-position-y, 50%) !important;
}

@media (min-width:782px){
  body.td-header-variant-dark_wave .td-topbar--desktop-app{
    background:linear-gradient(180deg, var(--td-header-dark-topbar-top) 0%, var(--td-header-dark-topbar-bottom) 100%) !important;
    background-image:linear-gradient(180deg, var(--td-header-dark-topbar-top) 0%, var(--td-header-dark-surface-top) 100%) !important;
  }

  body.td-header-variant-dark_wave .td-app-view-header[data-td-surface-component="dark_wave"],
  body.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave,
  body.td-header-variant-dark_wave .td-app-view-header--dark_wave,
  body.td-header-variant-dark_wave .td-shell__masthead--surface-dark_wave,
  body.td-header-variant-dark_wave .td-shell__masthead--dark_wave{
    background:linear-gradient(180deg, var(--td-header-dark-surface-top) 0%, var(--td-header-dark-surface-bottom) 100%) !important;
    background-image:linear-gradient(180deg, var(--td-header-dark-surface-top) 0%, var(--td-header-dark-surface-bottom) 100%) !important;
  }

  body.td-header-variant-dark_wave .td-topbar--desktop-app,
  body.td-header-variant-dark_wave .td-topbar--desktop-app .td-topbar__desktop-link,
  body.td-header-variant-dark_wave .td-topbar--desktop-app .td-topbar__desktop-brand-text,
  body.td-header-variant-dark_wave .td-topbar--desktop-app .td-topbar__icon,
  body.td-header-variant-dark_wave .td-topbar--desktop-app .td-topbar__icon svg,
  body.td-header-variant-dark_wave .td-topbar--desktop-app a,
  body.td-header-variant-dark_wave .td-topbar--desktop-app button{
    color:var(--td-header-dark-text) !important;
  }

  body.td-header-owner-td_shell .td-topbar__desktop-brand-logo{
    height:46px !important;
  }

  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-courseware-app.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-wpcw-course.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-wpcw-unit.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app,
  body:not(.td-shell-route-unified).single-course.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app,
  body:not(.td-shell-route-unified).single-course_unit.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app,
  body.single-wpcw_course.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app,
  body.single-wpcw_course_unit.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-entry-app.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-share-single.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app{
    position:fixed !important;
    top:0 !important;
    left:0 !important;
    right:0 !important;
    width:100% !important;
    z-index:2400 !important;
    border-radius:0 !important;
  }

  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-courseware-app.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app,
  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-wpcw-course.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app,
  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-wpcw-unit.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app,
  body:not(.td-shell-route-unified).admin-bar.single-course.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app,
  body:not(.td-shell-route-unified).admin-bar.single-course_unit.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app,
  body.admin-bar.single-wpcw_course.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app,
  body.admin-bar.single-wpcw_course_unit.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app,
  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-entry-app.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app,
  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-share-single.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app{
    top:32px !important;
  }

  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-courseware-app.td-header-owner-td_shell .td-shell__masthead,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-wpcw-course.td-header-owner-td_shell .td-shell__masthead,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-wpcw-unit.td-header-owner-td_shell .td-shell__masthead,
  body:not(.td-shell-route-unified).single-course.td-header-owner-td_shell .td-shell__masthead,
  body:not(.td-shell-route-unified).single-course_unit.td-header-owner-td_shell .td-shell__masthead,
  body.single-wpcw_course.td-header-owner-td_shell .td-shell__masthead,
  body.single-wpcw_course_unit.td-header-owner-td_shell .td-shell__masthead,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-entry-app.td-header-owner-td_shell .td-shell__masthead,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-share-single.td-header-owner-td_shell .td-shell__masthead{
    padding-top:var(--td-header-desktop-topbar) !important;
  }

  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-entry-app.td-header-owner-td_shell .td-shell__masthead,
  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-share-single.td-header-owner-td_shell .td-shell__masthead{
    padding-top:calc(var(--td-header-desktop-topbar) + 32px) !important;
  }

  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-entry-app.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--hero,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-entry-app.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--surface-hero,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-share-single.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--hero,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-share-single.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--surface-hero,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-courseware-app.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--hero,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-courseware-app.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--surface-hero,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-wpcw-unit.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--hero,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-wpcw-unit.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--surface-hero,
  body:not(.td-shell-route-unified).single-course_unit.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--hero,
  body:not(.td-shell-route-unified).single-course_unit.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--surface-hero,
  body.single-wpcw_course_unit.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--hero,
  body.single-wpcw_course_unit.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--surface-hero{
    top:var(--td-header-desktop-topbar) !important;
    z-index:1400 !important;
  }

  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-entry-app.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--hero,
  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-entry-app.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--surface-hero,
  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-share-single.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--hero,
  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-share-single.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--surface-hero,
  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-courseware-app.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--hero,
  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-courseware-app.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--surface-hero,
  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-wpcw-unit.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--hero,
  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-wpcw-unit.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--surface-hero,
  body:not(.td-shell-route-unified).admin-bar.single-course_unit.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--hero,
  body:not(.td-shell-route-unified).admin-bar.single-course_unit.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--surface-hero,
  body.admin-bar.single-wpcw_course_unit.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--hero,
  body.admin-bar.single-wpcw_course_unit.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--surface-hero{
    top:calc(var(--td-header-desktop-topbar) + 32px) !important;
  }

  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-courseware-app.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--dark_wave,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-courseware-app.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-wpcw-course.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--dark_wave,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-wpcw-course.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave,
  body.single-wpcw_course.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--dark_wave,
  body.single-wpcw_course.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave{
    top:var(--td-header-desktop-topbar) !important;
    z-index:1400 !important;
  }

  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-courseware-app.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--dark_wave,
  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-courseware-app.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave,
  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-wpcw-course.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--dark_wave,
  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-wpcw-course.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave,
  body.admin-bar.single-wpcw_course.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--dark_wave,
  body.admin-bar.single-wpcw_course.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave{
    top:calc(var(--td-header-desktop-topbar) + 32px) !important;
  }

  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-courseware-app.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-wpcw-course.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app,
  body.single-wpcw_course.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app{
    background:linear-gradient(180deg, var(--td-header-dark-topbar-top) 0%, var(--td-header-dark-topbar-bottom) 100%) !important;
    background-image:linear-gradient(180deg, var(--td-header-dark-topbar-top) 0%, var(--td-header-dark-topbar-bottom) 100%) !important;
  }

  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-courseware-app.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app .td-topbar__desktop-link,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-courseware-app.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app .td-topbar__desktop-brand-text,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-courseware-app.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app .td-topbar__icon,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-courseware-app.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app .td-topbar__icon svg,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-courseware-app.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app a,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-courseware-app.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app button,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-wpcw-course.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app .td-topbar__desktop-link,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-wpcw-course.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app .td-topbar__desktop-brand-text,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-wpcw-course.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app .td-topbar__icon,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-wpcw-course.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app .td-topbar__icon svg,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-wpcw-course.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app a,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-wpcw-course.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app button,
  body.single-wpcw_course.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app .td-topbar__desktop-link,
  body.single-wpcw_course.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app .td-topbar__desktop-brand-text,
  body.single-wpcw_course.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app .td-topbar__icon,
  body.single-wpcw_course.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app .td-topbar__icon svg,
  body.single-wpcw_course.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app a,
  body.single-wpcw_course.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app button{
    color:var(--td-header-dark-text) !important;
  }
}


/* 2.7.85.91 – final desktop parity: td dark-wave + course/courseunit sticky + share/entry hero offsets */
@media (min-width:782px){
  body.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app{
    background:linear-gradient(180deg, var(--td-header-dark-topbar-top) 0%, var(--td-header-dark-topbar-bottom) 100%) !important;
    background-image:linear-gradient(180deg, var(--td-header-dark-topbar-top) 0%, var(--td-header-dark-topbar-bottom) 100%) !important;
    margin-bottom:-1px !important;
    border-radius:0 !important;
    box-shadow:none !important;
  }

  body.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header[data-td-surface-component="dark_wave"],
  body.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave,
  body.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--dark_wave,
  body.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell__masthead--surface-dark_wave,
  body.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell__masthead--dark_wave{
    background:linear-gradient(180deg, var(--td-header-dark-surface-top) 0%, var(--td-header-dark-surface-bottom) 100%) !important;
    background-image:linear-gradient(180deg, var(--td-header-dark-surface-top) 0%, var(--td-header-dark-surface-bottom) 100%) !important;
    margin-top:-1px !important;
  }

  body.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app,
  body.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app .td-topbar__desktop-link,
  body.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app .td-topbar__desktop-brand-text,
  body.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app .td-topbar__icon,
  body.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app .td-topbar__icon svg,
  body.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app a,
  body.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app button{
    color:var(--td-header-dark-text) !important;
    fill:currentColor !important;
  }

  body.single-wpcw_course.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app,
  body.single-wpcw_course_unit.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app,
  body:not(.td-shell-route-unified).single-course.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app,
  body:not(.td-shell-route-unified).single-course_unit.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-courseware-app.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-wpcw-course.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-wpcw-unit.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-entry-app.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-share-single.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app{
    position:fixed !important;
    top:0 !important;
    left:0 !important;
    right:0 !important;
    width:100% !important;
    z-index:2600 !important;
  }

  body.admin-bar.single-wpcw_course.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app,
  body.admin-bar.single-wpcw_course_unit.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app,
  body:not(.td-shell-route-unified).admin-bar.single-course.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app,
  body:not(.td-shell-route-unified).admin-bar.single-course_unit.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app,
  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-courseware-app.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app,
  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-wpcw-course.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app,
  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-wpcw-unit.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app,
  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-entry-app.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app,
  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-share-single.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app{
    top:32px !important;
  }

  body.single-wpcw_course.td-header-owner-td_shell .td-topbar__desktop-brand-logo,
  body.single-wpcw_course_unit.td-header-owner-td_shell .td-topbar__desktop-brand-logo,
  body:not(.td-shell-route-unified).single-course.td-header-owner-td_shell .td-topbar__desktop-brand-logo,
  body:not(.td-shell-route-unified).single-course_unit.td-header-owner-td_shell .td-topbar__desktop-brand-logo,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-courseware-app.td-header-owner-td_shell .td-topbar__desktop-brand-logo,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-wpcw-course.td-header-owner-td_shell .td-topbar__desktop-brand-logo,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-wpcw-unit.td-header-owner-td_shell .td-topbar__desktop-brand-logo{
    height:42px !important;
    width:auto !important;
  }

  body.single-wpcw_course.td-header-owner-td_shell .td-shell__masthead,
  body.single-wpcw_course_unit.td-header-owner-td_shell .td-shell__masthead,
  body:not(.td-shell-route-unified).single-course.td-header-owner-td_shell .td-shell__masthead,
  body:not(.td-shell-route-unified).single-course_unit.td-header-owner-td_shell .td-shell__masthead,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-courseware-app.td-header-owner-td_shell .td-shell__masthead,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-wpcw-course.td-header-owner-td_shell .td-shell__masthead,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-wpcw-unit.td-header-owner-td_shell .td-shell__masthead,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-entry-app.td-header-owner-td_shell .td-shell__masthead,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-share-single.td-header-owner-td_shell .td-shell__masthead{
    padding-top:var(--td-header-desktop-topbar) !important;
  }

  body.admin-bar.single-wpcw_course.td-header-owner-td_shell .td-shell__masthead,
  body.admin-bar.single-wpcw_course_unit.td-header-owner-td_shell .td-shell__masthead,
  body:not(.td-shell-route-unified).admin-bar.single-course.td-header-owner-td_shell .td-shell__masthead,
  body:not(.td-shell-route-unified).admin-bar.single-course_unit.td-header-owner-td_shell .td-shell__masthead,
  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-courseware-app.td-header-owner-td_shell .td-shell__masthead,
  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-wpcw-course.td-header-owner-td_shell .td-shell__masthead,
  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-wpcw-unit.td-header-owner-td_shell .td-shell__masthead,
  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-entry-app.td-header-owner-td_shell .td-shell__masthead,
  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-share-single.td-header-owner-td_shell .td-shell__masthead{
    padding-top:calc(var(--td-header-desktop-topbar) + 32px) !important;
  }

  body.single-wpcw_course.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--dark_wave,
  body.single-wpcw_course.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave,
  body.single-wpcw_course_unit.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--dark_wave,
  body.single-wpcw_course_unit.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave,
  body:not(.td-shell-route-unified).single-course.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--dark_wave,
  body:not(.td-shell-route-unified).single-course.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave,
  body:not(.td-shell-route-unified).single-course_unit.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--dark_wave,
  body:not(.td-shell-route-unified).single-course_unit.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-courseware-app.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--dark_wave,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-courseware-app.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-wpcw-course.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--dark_wave,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-wpcw-course.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-wpcw-unit.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--dark_wave,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-wpcw-unit.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-entry-app.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--hero,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-entry-app.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--surface-hero,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-share-single.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--hero,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-share-single.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--surface-hero,
  body.single-wpcw_course_unit.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--hero,
  body.single-wpcw_course_unit.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--surface-hero,
  body:not(.td-shell-route-unified).single-course_unit.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--hero,
  body:not(.td-shell-route-unified).single-course_unit.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--surface-hero{
    top:var(--td-header-desktop-topbar) !important;
    z-index:1400 !important;
  }

  body.admin-bar.single-wpcw_course.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--dark_wave,
  body.admin-bar.single-wpcw_course.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave,
  body.admin-bar.single-wpcw_course_unit.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--dark_wave,
  body.admin-bar.single-wpcw_course_unit.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave,
  body:not(.td-shell-route-unified).admin-bar.single-course.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--dark_wave,
  body:not(.td-shell-route-unified).admin-bar.single-course.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave,
  body:not(.td-shell-route-unified).admin-bar.single-course_unit.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--dark_wave,
  body:not(.td-shell-route-unified).admin-bar.single-course_unit.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave,
  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-courseware-app.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--dark_wave,
  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-courseware-app.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave,
  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-wpcw-course.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--dark_wave,
  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-wpcw-course.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave,
  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-wpcw-unit.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--dark_wave,
  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-wpcw-unit.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave,
  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-entry-app.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--hero,
  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-entry-app.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--surface-hero,
  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-share-single.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--hero,
  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-share-single.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--surface-hero,
  body.admin-bar.single-wpcw_course_unit.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--hero,
  body.admin-bar.single-wpcw_course_unit.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--surface-hero,
  body:not(.td-shell-route-unified).admin-bar.single-course_unit.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--hero,
  body:not(.td-shell-route-unified).admin-bar.single-course_unit.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--surface-hero{
    top:calc(var(--td-header-desktop-topbar) + 32px) !important;
  }
}


/* 2.7.91.1 – dashboard-/td_view-spåret använder nu standalone-shell och ska följa samma sticky masthead-kontrakt som CPT-spåren. */
@media (min-width:782px){
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-dash-shell-host.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app{
    position:fixed !important;
    top:0 !important;
    left:0 !important;
    right:0 !important;
    z-index:1500 !important;
  }

  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-dash-shell-host.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app{
    top:32px !important;
  }

  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-dash-shell-host.td-header-owner-td_shell .td-shell__masthead{
    padding-top:var(--td-header-desktop-topbar) !important;
    margin-top:0 !important;
  }

  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-dash-shell-host.td-header-owner-td_shell .td-shell__masthead{
    padding-top:calc(var(--td-header-desktop-topbar) + 32px) !important;
  }

  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-dash-shell-host.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--dark_wave,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-dash-shell-host.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-dash-shell-host.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--hero,
  body:not(.td-shell-route-unified).traningsdagbok.td-shell-standalone.td-dash-shell-host.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--surface-hero{
    top:var(--td-header-desktop-topbar) !important;
    z-index:1400 !important;
    margin-top:0 !important;
  }

  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-dash-shell-host.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--dark_wave,
  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-dash-shell-host.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave,
  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-dash-shell-host.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--hero,
  body:not(.td-shell-route-unified).admin-bar.traningsdagbok.td-shell-standalone.td-dash-shell-host.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--surface-hero{
    top:calc(var(--td-header-desktop-topbar) + 32px) !important;
  }
}


/* 2.7.94 – unified shell header owns geometry regardless of former route family. */
@media (min-width:782px){
  body.td-shell-route-unified.td-device-desktop.td-header-owner-td_shell:not(.td-shell-chrome-none){
    --td-shell-desktop-fixed-offset:var(--td-header-desktop-topbar);
  }

  body.admin-bar.td-shell-route-unified.td-device-desktop.td-header-owner-td_shell:not(.td-shell-chrome-none){
    --td-shell-desktop-fixed-offset:calc(var(--td-header-desktop-topbar) + 32px);
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app{
    position:fixed !important;
    top:0 !important;
    left:0 !important;
    right:0 !important;
    width:100% !important;
    z-index:2600 !important;
    border-radius:0 !important;
    box-shadow:none !important;
  }

  body.admin-bar.td-shell-route-unified.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app{
    top:32px !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-shell__masthead,
  body.td-shell-route-unified.td-header-owner-td_shell .td-app-shell__masthead,
  body.td-shell-route-unified.td-header-owner-td_shell .td-shell__header,
  body.td-shell-route-unified.td-header-owner-td_shell .td-page-frame__header{
    padding-top:0 !important;
    margin-top:0 !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app{
    background:linear-gradient(180deg, var(--td-header-dark-topbar-top) 0%, var(--td-header-dark-topbar-bottom) 100%) !important;
    background-image:linear-gradient(180deg, var(--td-header-dark-topbar-top) 0%, var(--td-header-dark-topbar-bottom) 100%) !important;
    margin-bottom:-1px !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app .td-topbar__desktop-link,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app .td-topbar__desktop-brand-text,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app .td-topbar__icon,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app .td-topbar__icon svg,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app a,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app button{
    color:var(--td-header-dark-text) !important;
    fill:currentColor !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header[data-td-surface-component="dark_wave"],
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--dark_wave,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell__masthead--surface-dark_wave,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell__masthead--dark_wave{
    top:0 !important;
    z-index:1400 !important;
    margin-top:-1px !important;
    background:linear-gradient(180deg, var(--td-header-dark-surface-top) 0%, var(--td-header-dark-surface-bottom) 100%) !important;
    background-image:linear-gradient(180deg, var(--td-header-dark-surface-top) 0%, var(--td-header-dark-surface-bottom) 100%) !important;
  }

  body.admin-bar.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header[data-td-surface-component="dark_wave"],
  body.admin-bar.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave,
  body.admin-bar.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--dark_wave,
  body.admin-bar.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell__masthead--surface-dark_wave,
  body.admin-bar.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell__masthead--dark_wave{
    top:0 !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--hero,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--surface-hero{
    top:0 !important;
    z-index:1400 !important;
    margin-top:0 !important;
  }

  body.admin-bar.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--hero,
  body.admin-bar.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--surface-hero{
    top:0 !important;
  }
}

body.td-shell-route-unified.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app .td-topbar__desktop-nav,
body.td-shell-route-unified.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app .td-topbar__slot--desktop-right,
body.td-shell-route-unified.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app .td-topbar__slot--desktop-left{
  display:flex !important;
}


/* 2.7.94.2 – unified utility ska visa chrome/nav; dölj bara själva utility-surface. */
@media (max-width:781.98px){
  body.td-shell-route-unified.td-header-variant-utility .td-shell__masthead,
  body.td-shell-route-unified.td-header-variant-utility .td-shell__masthead--surface-utility,
  body.td-shell-route-unified.td-header-variant-utility .td-shell__chrome,
  body.td-shell-route-unified.td-header-variant-utility .td-app-shell__chrome{
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
    height:auto !important;
    min-height:0 !important;
    overflow:visible !important;
  }

  body.td-shell-route-unified.td-header-variant-utility .td-topbar.td-topbar--mobile-app-title,
  body.td-shell-route-unified.td-header-variant-utility .td-topbar[data-td-topbar-component="app-title"]{
    display:grid !important;
    visibility:visible !important;
    opacity:1 !important;
  }

/* removed legacy rule: body.td-shell-route-unified.td-header-va */

}


/* 2.7.94.6 – unified shell CSS-pass: mobil dark_wave/help/courseware ska följa samma headergeometri. */
@media (max-width:781.98px){
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar[data-td-topbar-component="app-title"]{
    grid-template-columns:72px minmax(0,1fr) 112px !important;
    grid-template-rows:var(--td-header-mobile-topbar) !important;
    column-gap:10px !important;
    padding:0 16px !important;
    height:var(--td-header-mobile-topbar) !important;
    min-height:var(--td-header-mobile-topbar) !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar[data-td-topbar-component="app-title"] .td-topbar__slot--nav{
    width:72px !important;
    min-width:72px !important;
    justify-content:flex-start !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar[data-td-topbar-component="app-title"] .td-topbar__slot--title{
    justify-content:center !important;
    text-align:center !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar[data-td-topbar-component="app-title"] .td-topbar__slot--actions,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar[data-td-topbar-component="app-title"] .td-topbar__slot--right{
    gap:8px !important;
    width:112px !important;
    min-width:112px !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header[data-td-surface-component="dark_wave"] .td-app-view-header__inner,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave .td-app-view-header__inner,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--dark_wave .td-app-view-header__inner{
    max-width:none !important;
    min-height:156px !important;
    padding:24px 20px calc(var(--td-header-mobile-wave) + 20px) !important;
    display:flex !important;
    align-items:flex-end !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header__copy{
    width:100% !important;
    text-align:left !important;
    align-items:flex-start !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header__title,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header__subtitle,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header__eyebrow{
    text-align:left !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header__title{
    font-family:"Rainier", serif !important;
    font-style:normal !important;
    text-transform:uppercase !important;
    line-height:1.02 !important;
    font-size:clamp(2rem, 9vw, 2.8rem) !important;
    margin:0 !important;
  }
}


/* 2.7.94.6 – Hem desktop: när start-tiles-grid byggs ska källkolumnen inte visas parallellt. */
body.td-view-home .td-desktop-home--embedded .td-start-tiles-host > .td-start-tiles-source,
body.td-view-dashboard .td-desktop-home--embedded .td-start-tiles-host > .td-start-tiles-source{
  display:none !important;
}


/* 2.7.94.24 – 2083 B-pass: unified header återbyggs centralt härifrån.
   Ägarskap: td-header-contracts.css + td-debug-panel.css.
   Fokus: offsetlogik, drawer/notifications, dark_wave/hero/utility i unified shell. */
body.td-shell-route-unified.td-header-owner-td_shell{
  --td-unified-mobile-top-offset:var(--td-header-mobile-topbar);
  --td-unified-desktop-top-offset:var(--td-header-desktop-topbar);
}

body.td-shell-route-unified.td-header-owner-td_shell.td-mobile-topbar-brand{
  --td-unified-mobile-top-offset:72px;
}

body.td-shell-route-unified.td-header-owner-td_shell.td-mobile-topbar-app-title{
  --td-unified-mobile-top-offset:60px;
}

body.td-shell-route-unified.td-header-owner-td_shell.td-mobile-topbar-none,
body.td-shell-route-unified.td-header-owner-td_shell.td-shell-chrome-none{
  --td-unified-mobile-top-offset:0px;
  --td-unified-desktop-top-offset:0px;
}

body.td-shell-route-unified.td-header-owner-td_shell .td-shell,
body.td-shell-route-unified.td-header-owner-td_shell .td-app-shell,
body.td-shell-route-unified.td-header-owner-td_shell .td-shell__chrome,
body.td-shell-route-unified.td-header-owner-td_shell .td-app-shell__chrome,
body.td-shell-route-unified.td-header-owner-td_shell .td-chrome,
body.td-shell-route-unified.td-header-owner-td_shell .td-shell__masthead,
body.td-shell-route-unified.td-header-owner-td_shell .td-shell__header,
body.td-shell-route-unified.td-header-owner-td_shell .td-app-view-header{
  overflow:visible !important;
  transform:none !important;
  filter:none !important;
  isolation:auto !important;
}

body.td-shell-route-unified.td-header-owner-td_shell .td-shell__chrome,
body.td-shell-route-unified.td-header-owner-td_shell .td-app-shell__chrome,
body.td-shell-route-unified.td-header-owner-td_shell .td-chrome{
  z-index:3400 !important;
}

body.td-shell-route-unified.td-header-owner-td_shell .td-shell__header,
body.td-shell-route-unified.td-header-owner-td_shell .td-page-frame__header,
body.td-shell-route-unified.td-header-owner-td_shell .td-shell__masthead,
body.td-shell-route-unified.td-header-owner-td_shell .td-app-shell__masthead{
  margin-top:0 !important;
}

body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image .td-wave-divider{
  height:var(--td-header-desktop-wave, 40px) !important;
}

body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-wave-divider{
  height:var(--td-header-mobile-wave, 32px) !important;
}

body.td-shell-route-unified.td-header-owner-td_shell .td-wave-divider__svg{
  pointer-events:none !important;
}

body.td-shell-route-unified.td-header-owner-td_shell .td-topbar,
body.td-shell-route-unified.td-header-owner-td_shell .td-topbar *,
body.td-shell-route-unified.td-header-owner-td_shell .td-drawer,
body.td-shell-route-unified.td-header-owner-td_shell .td-drawer *,
body.td-shell-route-unified.td-header-owner-td_shell .td-notification-center,
body.td-shell-route-unified.td-header-owner-td_shell .td-notification-center *{
  pointer-events:auto !important;
}

body.td-shell-route-unified.td-header-owner-td_shell .td-wave-divider{
  position:absolute !important;
  left:0 !important;
  right:0 !important;
  bottom:0 !important;
  width:100% !important;
  height:var(--td-header-mobile-wave, 32px) !important;
  overflow:hidden !important;
  z-index:1 !important;
}

body.td-shell-route-unified.td-header-owner-td_shell .td-wave-divider__svg{
  display:block !important;
  width:100% !important;
  min-width:100% !important;
}

body.td-shell-route-unified.td-header-owner-td_shell .td-app-view-header__inner{
  position:relative !important;
  z-index:2 !important;
}

@media (min-width:782px){
  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar--mobile{
    display:none !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app{
    position:fixed !important;
    top:0 !important;
    left:0 !important;
    right:0 !important;
    z-index:9000 !important;
    display:grid !important;
    grid-template-columns:auto minmax(0,1fr) auto !important;
    align-items:center !important;
    gap:18px !important;
    width:100% !important;
    min-height:var(--td-header-desktop-topbar) !important;
    height:var(--td-header-desktop-topbar) !important;
    padding:0 18px !important;
    margin:0 !important;
    border-radius:0 !important;
    background:var(--td-header-warm-solid) !important;
    background-image:none !important;
    background-color:var(--td-header-warm-solid) !important;
    box-shadow:none !important;
    isolation:isolate !important;
    overflow:visible !important;
  }

  body.admin-bar.td-shell-route-unified.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app{
    top:32px !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app,
  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app .td-topbar__btn,
  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app .td-topbar__icon-link,
  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app .td-topbar__btn:hover,
  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app .td-topbar__btn:focus-visible,
  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app .td-topbar__icon-link:hover,
  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app .td-topbar__icon-link:focus-visible,
  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app .td-topbar__btn[aria-expanded="true"],
  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app .td-topbar__icon-link[aria-expanded="true"],
  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app .td-topbar__btn.is-active,
  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app .td-topbar__icon-link.is-active{
    background:transparent !important;
    background-image:none !important;
    background-color:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    outline:0 !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app .td-topbar__desktop-brand,
  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app .td-topbar__desktop-nav,
  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app .td-topbar__slot--desktop-right{
    display:flex !important;
    align-items:center !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app .td-topbar__desktop-brand{
    gap:12px !important;
    min-width:0 !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app .td-topbar__desktop-brand-logo{
    width:auto !important;
    height:48px !important;
    flex:0 0 auto !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app .td-topbar__desktop-nav{
    justify-content:center !important;
    gap:18px !important;
    min-width:0 !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app .td-topbar__desktop-link{
    position:relative !important;
    padding:8px 2px 14px !important;
    line-height:1.2 !important;
    color:inherit !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app .td-topbar__desktop-link.is-active{
    color:var(--e-global-color-primary, #cf641d) !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app .td-topbar__desktop-link.is-active::after{
    content:"" !important;
    position:absolute !important;
    left:0 !important;
    right:0 !important;
    bottom:6px !important;
    height:2px !important;
    border-radius:999px !important;
    background:var(--e-global-color-primary, #cf641d) !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app .td-topbar__slot--desktop-right{
    justify-content:flex-end !important;
    gap:10px !important;
    min-width:max-content !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app .td-topbar__btn,
  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app .td-topbar__icon-link{
    width:28px !important;
    min-width:28px !important;
    height:28px !important;
    min-height:28px !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app .td-topbar__title,
  body.td-shell-route-unified.td-header-owner-td_shell .td-app-view-header__title,
  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar__desktop-brand-text{
    font-family:"Rainier", serif !important;
    font-style:normal !important;
    font-weight:500 !important;
    letter-spacing:0 !important;
    text-transform:uppercase !important;
    line-height:1 !important;
  }

  body.td-shell-route-unified.td-device-desktop.td-pagetype-td_course_single.td-header-owner-td_shell .td-app-view-header__title,
  body.td-shell-route-unified.td-device-desktop.td-pagetype-td_course_unit_single.td-header-owner-td_shell .td-app-view-header__title{
    font-size:clamp(3rem, 4.8vw, 4.5rem) !important;
    line-height:.96 !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-shell__header,
  body.td-shell-route-unified.td-header-owner-td_shell .td-page-frame__header,
  body.td-shell-route-unified.td-header-owner-td_shell .td-shell__masthead,
  body.td-shell-route-unified.td-header-owner-td_shell .td-app-shell__masthead{
    margin-top:0 !important;
    overflow:visible !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-mobile-topbar-none .td-shell__masthead,
  body.td-shell-route-unified.td-header-owner-td_shell.td-shell-chrome-none .td-shell__masthead,
  body.td-shell-route-unified.td-header-owner-td_shell.td-mobile-topbar-none .td-app-shell__masthead,
  body.td-shell-route-unified.td-header-owner-td_shell.td-shell-chrome-none .td-app-shell__masthead,
  body.td-shell-route-unified.td-header-owner-td_shell.td-mobile-topbar-none .td-page-frame__masthead,
  body.td-shell-route-unified.td-header-owner-td_shell.td-shell-chrome-none .td-page-frame__masthead{
    min-height:0 !important;
    height:0 !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-notification-center,
  body.td-shell-route-unified.td-header-owner-td_shell .td-notification-center--portal{
    position:fixed !important;
    top:calc(var(--td-header-desktop-topbar) + 12px) !important;
    right:18px !important;
    left:auto !important;
    z-index:9100 !important;
    display:none !important;
    pointer-events:none !important;
  }

  body.admin-bar.td-shell-route-unified.td-header-owner-td_shell .td-notification-center,
  body.admin-bar.td-shell-route-unified.td-header-owner-td_shell .td-notification-center--portal{
    top:calc(32px + var(--td-header-desktop-topbar) + 12px) !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-notification-center.is-open,
  body.td-shell-route-unified.td-header-owner-td_shell .td-notification-center--portal.is-open{
    display:block !important;
    pointer-events:auto !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-notification-center__card{
    width:360px !important;
    max-width:calc(100vw - 36px) !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image .td-topbar.td-topbar--desktop-app,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-topbar.td-topbar--desktop-app{
    background:var(--td-header-warm-solid) !important;
    background-image:none !important;
    background-color:var(--td-header-warm-solid) !important;
    color:var(--td-header-text) !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app{
    background:linear-gradient(180deg, var(--td-header-dark-topbar-top) 0%, var(--td-header-dark-topbar-bottom) 100%) !important;
    background-image:linear-gradient(180deg, var(--td-header-dark-topbar-top) 0%, var(--td-header-dark-topbar-bottom) 100%) !important;
    background-color:var(--td-header-dark-top) !important;
    color:var(--td-header-dark-text) !important;
    box-shadow:none !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app .td-topbar__desktop-link,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app .td-topbar__desktop-brand-text,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app .td-topbar__icon,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app .td-topbar__icon svg,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app a,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app button{
    color:var(--td-header-dark-text) !important;
    fill:currentColor !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image .td-page-frame__header,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image .td-shell__header,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image .td-shell__masthead,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image .td-app-shell__masthead,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-page-frame__header,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell__header,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell__masthead,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-shell__masthead,
  body.td-shell-route-unified.td-header-owner-td_shell.td-mobile-topbar-none .td-page-frame__header,
  body.td-shell-route-unified.td-header-owner-td_shell.td-mobile-topbar-none .td-shell__header,
  body.td-shell-route-unified.td-header-owner-td_shell.td-mobile-topbar-none .td-shell__masthead,
  body.td-shell-route-unified.td-header-owner-td_shell.td-mobile-topbar-none .td-app-shell__masthead,
  body.td-shell-route-unified.td-header-owner-td_shell.td-shell-chrome-none .td-page-frame__header,
  body.td-shell-route-unified.td-header-owner-td_shell.td-shell-chrome-none .td-shell__header,
  body.td-shell-route-unified.td-header-owner-td_shell.td-shell-chrome-none .td-shell__masthead,
  body.td-shell-route-unified.td-header-owner-td_shell.td-shell-chrome-none .td-app-shell__masthead{
    padding-top:0 !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--hero,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--surface-hero,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image .td-shell__masthead--surface-hero{
    position:relative !important;
    top:auto !important;
    z-index:1 !important;
    margin-top:0 !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image:not(.td-mobile-topbar-none):not(.td-shell-chrome-none) .td-app-view-header--hero .td-app-view-header__inner,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image:not(.td-mobile-topbar-none):not(.td-shell-chrome-none) .td-app-view-header--surface-hero .td-app-view-header__inner{
    padding-top:calc(var(--td-header-desktop-topbar) + 38px) !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image.td-mobile-topbar-none .td-app-view-header--hero .td-app-view-header__inner,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image.td-mobile-topbar-none .td-app-view-header--surface-hero .td-app-view-header__inner,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image.td-shell-chrome-none .td-app-view-header--hero .td-app-view-header__inner,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image.td-shell-chrome-none .td-app-view-header--surface-hero .td-app-view-header__inner{
    padding-top:38px !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header[data-td-surface-component="dark_wave"],
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--dark_wave,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell__masthead--surface-dark_wave,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell__masthead--dark_wave{
    position:relative !important;
    top:auto !important;
    z-index:1 !important;
    min-height:176px !important;
    height:176px !important;
    margin-top:0 !important;
    background:linear-gradient(180deg, var(--td-header-dark-surface-top) 0%, var(--td-header-dark-surface-bottom) 100%) !important;
    background-image:linear-gradient(180deg, var(--td-header-dark-surface-top) 0%, var(--td-header-dark-surface-bottom) 100%) !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave:not(.td-mobile-topbar-none):not(.td-shell-chrome-none) .td-app-view-header__inner{
    min-height:176px !important;
    height:176px !important;
    padding-top:calc(var(--td-header-desktop-topbar) + 22px) !important;
    padding-bottom:24px !important;
    align-items:flex-end !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave.td-mobile-topbar-none .td-app-view-header__inner,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave.td-shell-chrome-none .td-app-view-header__inner{
    min-height:176px !important;
    height:176px !important;
    padding-top:22px !important;
    padding-bottom:24px !important;
    align-items:flex-end !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header .td-wave-divider__svg,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell__masthead .td-wave-divider__svg{
    height:30px !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-main,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-main__body,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell__content,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-page-frame__content.td-main__body,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell-content{
    margin-top:0 !important;
    padding-top:0 !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-app-view-header,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-app-view-header[data-td-surface-component="utility"],
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-app-view-header--surface-utility,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-shell__masthead,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-app-shell__masthead{
    display:block !important;
    min-height:0 !important;
    height:0 !important;
    margin:0 !important;
    padding:0 !important;
    overflow:hidden !important;
    background:transparent !important;
    background-image:none !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-app-view-header__inner,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-app-view-header__title,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-app-view-header__subtitle,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-app-view-header__copy,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-app-view-header__body{
    display:none !important;
    height:0 !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    overflow:hidden !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-main,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-main__body,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-shell__content,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-page-frame__content.td-main__body{
    padding-top:var(--td-header-desktop-topbar) !important;
    margin-top:0 !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-mobile-topbar-none .td-app-view-header--guest-shell,
  body.td-shell-route-unified.td-header-owner-td_shell.td-shell-chrome-none .td-app-view-header--guest-shell,
  body.td-shell-route-unified.td-header-owner-td_shell.td-mobile-topbar-none .td-shell__masthead--guest,
  body.td-shell-route-unified.td-header-owner-td_shell.td-shell-chrome-none .td-shell__masthead--guest{
    top:0 !important;
    margin-top:0 !important;
  }

}


@media (max-width:781.98px){
  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar--desktop-app{
    display:none !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-shell__header,
  body.td-shell-route-unified.td-header-owner-td_shell .td-page-frame__header,
  body.td-shell-route-unified.td-header-owner-td_shell .td-shell__masthead,
  body.td-shell-route-unified.td-header-owner-td_shell .td-app-shell__masthead{
    padding-top:0 !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar[data-td-topbar-component="app-title"]{
    position:fixed !important;
    top:0 !important;
    left:0 !important;
    right:0 !important;
    z-index:7200 !important;
    display:grid !important;
    grid-template-columns:44px minmax(0,1fr) auto !important;
    grid-template-rows:60px !important;
    column-gap:12px !important;
    align-items:center !important;
    width:100% !important;
    min-height:60px !important;
    height:60px !important;
    padding:0 16px !important;
    margin:0 !important;
    overflow:hidden !important;
    border-radius:0 !important;
  }

  body.admin-bar.td-shell-route-unified.td-header-owner-td_shell .td-topbar[data-td-topbar-component="app-title"]{
    top:46px !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar[data-td-topbar-component="app-title"] .td-topbar__slot--nav{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    width:44px !important;
    min-width:44px !important;
    height:100% !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar[data-td-topbar-component="app-title"] .td-topbar__slot--title{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    min-width:0 !important;
    width:100% !important;
    height:100% !important;
    text-align:left !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar[data-td-topbar-component="app-title"] .td-topbar__title{
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    padding:2px 0 0 !important;
    line-height:1 !important;
    text-align:left !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar[data-td-topbar-component="app-title"] .td-topbar__slot--actions,
  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar[data-td-topbar-component="app-title"] .td-topbar__slot--right{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:8px !important;
    width:auto !important;
    min-width:max-content !important;
    height:100% !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar[data-td-topbar-component="brand"]{
    position:fixed !important;
    top:0 !important;
    left:0 !important;
    right:0 !important;
    z-index:7200 !important;
    display:grid !important;
    grid-template-columns:44px auto minmax(0,1fr) auto !important;
    grid-template-rows:72px !important;
    column-gap:10px !important;
    align-items:center !important;
    width:100% !important;
    min-height:72px !important;
    height:72px !important;
    padding:0 16px !important;
    margin:0 !important;
    overflow:hidden !important;
    border-radius:0 !important;
  }

  body.admin-bar.td-shell-route-unified.td-header-owner-td_shell .td-topbar[data-td-topbar-component="brand"]{
    top:46px !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar[data-td-topbar-component="brand"] .td-topbar__slot--nav{
    width:44px !important;
    min-width:44px !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar[data-td-topbar-component="brand"] .td-topbar__slot--brand,
  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar[data-td-topbar-component="brand"] .td-topbar__brand{
    display:flex !important;
    align-items:center !important;
    min-width:0 !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar[data-td-topbar-component="brand"] .td-topbar__brand-logo{
    width:auto !important;
    height:48px !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar[data-td-topbar-component="brand"] .td-topbar__slot--title{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    min-width:0 !important;
    width:100% !important;
    height:100% !important;
    text-align:left !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar[data-td-topbar-component="brand"] .td-topbar__title{
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    line-height:1 !important;
    text-align:left !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar[data-td-topbar-component="brand"] .td-topbar__slot--actions,
  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar[data-td-topbar-component="brand"] .td-topbar__slot--right{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:8px !important;
    width:auto !important;
    min-width:max-content !important;
    height:100% !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar[data-td-topbar-component] .td-topbar__btn,
  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar[data-td-topbar-component] .td-topbar__icon-link{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:36px !important;
    min-width:36px !important;
    height:36px !important;
    min-height:36px !important;
    margin:0 !important;
    background:transparent !important;
    box-shadow:none !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar[data-td-topbar-component] .td-topbar__btn,
  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar[data-td-topbar-component] .td-topbar__icon-link,
  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar[data-td-topbar-component] .td-topbar__btn:hover,
  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar[data-td-topbar-component] .td-topbar__btn:focus-visible,
  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar[data-td-topbar-component] .td-topbar__icon-link:hover,
  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar[data-td-topbar-component] .td-topbar__icon-link:focus-visible,
  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar[data-td-topbar-component] .td-topbar__btn[aria-expanded="true"],
  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar[data-td-topbar-component] .td-topbar__icon-link[aria-expanded="true"],
  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar[data-td-topbar-component] .td-topbar__btn.is-active,
  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar[data-td-topbar-component] .td-topbar__icon-link.is-active{
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    outline:0 !important;
    border-radius:0 !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-mobile-topbar-none .td-topbar,
  body.td-shell-route-unified.td-header-owner-td_shell.td-shell-chrome-none .td-topbar{
    display:none !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-topbar[data-td-topbar-component="app-title"],
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image .td-topbar[data-td-topbar-component="brand"]{
    background:var(--td-header-warm-bg) !important;
    color:var(--td-header-text) !important;
    box-shadow:0 10px 24px rgba(47,34,27,.08) !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image .td-topbar[data-td-topbar-component="brand"]{
    grid-template-columns:auto minmax(0,1fr) auto !important;
    column-gap:12px !important;
    padding:0 18px !important;
    box-shadow:none !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image .td-topbar[data-td-topbar-component="brand"] .td-topbar__slot--nav,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image .td-topbar[data-td-topbar-component="brand"] .td-topbar__slot--title,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image .td-topbar[data-td-topbar-component="brand"] .td-topbar__title{
    display:none !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image .td-topbar[data-td-topbar-component="brand"] .td-topbar__slot--brand,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image .td-topbar[data-td-topbar-component="brand"] .td-topbar__brand{
    justify-content:flex-start !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image .td-topbar[data-td-topbar-component="brand"] .td-topbar__brand-logo{
    height:44px !important;
    margin-left:2px !important;
  }

  body.td-shell-route-unified.td-device-mobile.td-header-owner-td_shell.td-mobile-topbar-brand:not(.td-shell-chrome-none).td-header-variant-hero_image .td-shell__masthead,
  body.td-shell-route-unified.td-device-mobile.td-header-owner-td_shell.td-mobile-topbar-brand:not(.td-shell-chrome-none).td-header-variant-hero_image .td-app-shell__masthead,
  body.td-shell-route-unified.td-device-mobile.td-header-owner-td_shell.td-mobile-topbar-brand:not(.td-shell-chrome-none).td-header-variant-hero_image .td-page-frame__masthead{
    min-height:calc(190px + var(--td-unified-mobile-top-offset, var(--td-header-mobile-topbar))) !important;
    height:auto !important;
  }

  body.td-shell-route-unified.td-device-mobile.td-header-owner-td_shell.td-mobile-topbar-brand:not(.td-shell-chrome-none).td-header-variant-hero_image .td-app-view-header[data-td-surface-component="hero"],
  body.td-shell-route-unified.td-device-mobile.td-header-owner-td_shell.td-mobile-topbar-brand:not(.td-shell-chrome-none).td-header-variant-hero_image .td-app-view-header--surface-hero,
  body.td-shell-route-unified.td-device-mobile.td-header-owner-td_shell.td-mobile-topbar-brand:not(.td-shell-chrome-none).td-header-variant-hero_image .td-app-view-header--hero{
    margin-top:var(--td-unified-mobile-top-offset, var(--td-header-mobile-topbar)) !important;
  }

  body.td-shell-route-unified.td-device-mobile.td-pagetype-td_course_single.td-header-owner-td_shell .td-app-view-header__title,
  body.td-shell-route-unified.td-device-mobile.td-pagetype-td_course_unit_single.td-header-owner-td_shell .td-app-view-header__title{
    font-size:clamp(2.15rem, 9vw, 3rem) !important;
    line-height:.98 !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar[data-td-topbar-component="app-title"]{
    background:linear-gradient(180deg, var(--td-header-dark-topbar-top) 0%, var(--td-header-dark-surface-top) 100%) !important;
    color:var(--td-header-dark-text) !important;
    box-shadow:none !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar[data-td-topbar-component="app-title"],
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar[data-td-topbar-component="app-title"] .td-topbar__title,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar[data-td-topbar-component="app-title"] .td-topbar__icon,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar[data-td-topbar-component="app-title"] .td-topbar__icon svg,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar[data-td-topbar-component="app-title"] a,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar[data-td-topbar-component="app-title"] button{
    color:var(--td-header-dark-text) !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar[data-td-topbar-component="app-title"] .td-topbar__btn:hover,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar[data-td-topbar-component="app-title"] .td-topbar__btn:focus-visible,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar[data-td-topbar-component="app-title"] .td-topbar__icon-link:hover,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar[data-td-topbar-component="app-title"] .td-topbar__icon-link:focus-visible,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar[data-td-topbar-component="app-title"] .td-topbar__btn[aria-expanded="true"],
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar[data-td-topbar-component="app-title"] .td-topbar__icon-link[aria-expanded="true"],
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar[data-td-topbar-component="app-title"] .td-topbar__btn.is-active,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar[data-td-topbar-component="app-title"] .td-topbar__icon-link.is-active{
    background:transparent !important;
    box-shadow:none !important;
    border-color:transparent !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar[data-td-topbar-component] .td-topbar__title,
  body.td-shell-route-unified.td-header-owner-td_shell .td-app-view-header__title,
  body.td-shell-route-unified.td-header-owner-td_shell .td-app-view-header__subtitle,
  body.td-shell-route-unified.td-header-owner-td_shell .td-app-view-header__eyebrow,
  body.td-shell-route-unified.td-header-owner-td_shell .td-app-view-header__copy,
  body.td-shell-route-unified.td-header-owner-td_shell .td-app-view-header__body{
    text-align:left !important;
  }
  body.td-shell-route-unified.td-header-owner-td_shell .td-app-view-header__title{
    margin:0 !important;
  }


  body.td-shell-route-unified.td-header-owner-td_shell .td-app-view-header__copy,
  body.td-shell-route-unified.td-header-owner-td_shell .td-app-view-header__body{
    align-items:flex-start !important;
    justify-content:flex-end !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar[data-td-topbar-component] .td-topbar__title,
  body.td-shell-route-unified.td-header-owner-td_shell .td-app-view-header__title{
    font-family:"Rainier", serif !important;
    font-style:normal !important;
    font-weight:500 !important;
    letter-spacing:0 !important;
    text-transform:uppercase !important;
    font-variant-ligatures:common-ligatures discretionary-ligatures contextual !important;
    font-feature-settings:"liga" 1, "clig" 1, "calt" 1, "dlig" 1, "salt" 1, "swsh" 1, "ss01" 1, "ss02" 1 !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-app-view-header[data-td-surface-component="utility"],
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-app-view-header--surface-utility{
    display:block !important;
    min-height:0 !important;
    height:0 !important;
    margin:0 !important;
    padding:0 !important;
    overflow:visible !important;
    background:transparent !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-shell__masthead,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-app-shell__masthead,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-page-frame__masthead{
    display:block !important;
    min-height:var(--td-header-mobile-topbar) !important;
    height:var(--td-header-mobile-topbar) !important;
    margin:0 !important;
    padding:0 !important;
    overflow:visible !important;
    background:transparent !important;
  }

  /* 2.7.95.34: utility-vyns content-start reserveras nu av masthead/header-kontraktet. */

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header[data-td-surface-component="hero"],
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--surface-hero{
    display:block !important;
    position:relative !important;
    top:auto !important;
    margin:0 !important;
    min-height:190px !important;
    background-color:transparent !important;
    background-image:var(--td-shell-header-image) !important;
    background-repeat:no-repeat !important;
    background-size:cover !important;
    background-position:center center !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header[data-td-surface-component="hero"]::before,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--surface-hero::before,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header[data-td-surface-component="hero"]::after,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--surface-hero::after{
    display:none !important;
    content:none !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header[data-td-surface-component="hero"] .td-app-view-header__inner,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--surface-hero .td-app-view-header__inner{
    display:flex !important;
    align-items:flex-end !important;
    min-height:190px !important;
    padding:20px 18px calc(var(--td-header-mobile-wave) + 14px) !important;
    background:none !important;
    box-shadow:none !important;
    border:0 !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header[data-td-surface-component="hero"] .td-wave-divider__svg,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--surface-hero .td-wave-divider__svg{
    height:var(--td-header-mobile-wave) !important;
    transform:scaleY(-1) !important;
    transform-origin:center center !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-mobile-topbar-none.td-header-variant-hero_image .td-app-view-header[data-td-surface-component="hero"],
  body.td-shell-route-unified.td-header-owner-td_shell.td-shell-chrome-none.td-header-variant-hero_image .td-app-view-header[data-td-surface-component="hero"],
  body.td-shell-route-unified.td-header-owner-td_shell.td-mobile-topbar-none.td-header-variant-hero_image .td-app-view-header--surface-hero,
  body.td-shell-route-unified.td-header-owner-td_shell.td-shell-chrome-none.td-header-variant-hero_image .td-app-view-header--surface-hero{
    margin-top:0 !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-mobile-topbar-none.td-header-variant-hero_image .td-app-view-header[data-td-surface-component="hero"] .td-app-view-header__inner,
  body.td-shell-route-unified.td-header-owner-td_shell.td-shell-chrome-none.td-header-variant-hero_image .td-app-view-header[data-td-surface-component="hero"] .td-app-view-header__inner,
  body.td-shell-route-unified.td-header-owner-td_shell.td-mobile-topbar-none.td-header-variant-hero_image .td-app-view-header--surface-hero .td-app-view-header__inner,
  body.td-shell-route-unified.td-header-owner-td_shell.td-shell-chrome-none.td-header-variant-hero_image .td-app-view-header--surface-hero .td-app-view-header__inner{
    margin-top:0 !important;
    padding-top:20px !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell__masthead,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-shell__masthead,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-page-frame__masthead{
    display:block !important;
    min-height:calc(var(--td-header-mobile-topbar) + var(--td-header-mobile-wave)) !important;
    height:calc(var(--td-header-mobile-topbar) + var(--td-header-mobile-wave)) !important;
    margin:0 !important;
    padding:0 !important;
    overflow:visible !important;
    background:transparent !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header[data-td-surface-component="dark_wave"],
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--dark_wave{
    display:block !important;
    position:fixed !important;
    top:var(--td-unified-mobile-top-offset) !important;
    left:0 !important;
    right:0 !important;
    z-index:7100 !important;
    min-height:var(--td-header-mobile-wave) !important;
    height:var(--td-header-mobile-wave) !important;
    margin:0 !important;
    padding:0 !important;
    background:linear-gradient(180deg, var(--td-header-dark-bottom) 0%, var(--td-header-dark-top) 100%) !important;
    overflow:visible !important;
  }

  body.admin-bar.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header[data-td-surface-component="dark_wave"],
  body.admin-bar.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave,
  body.admin-bar.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--dark_wave{
    top:calc(var(--td-unified-mobile-top-offset) + 46px) !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header[data-td-surface-component="dark_wave"] .td-app-view-header__inner,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header[data-td-surface-component="dark_wave"] .td-app-view-header__copy,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header[data-td-surface-component="dark_wave"] .td-app-view-header__silhouette,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave .td-app-view-header__inner,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave .td-app-view-header__copy,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave .td-app-view-header__silhouette,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--dark_wave .td-app-view-header__inner,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--dark_wave .td-app-view-header__copy,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--dark_wave .td-app-view-header__silhouette{
    display:none !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header[data-td-surface-component="dark_wave"] .td-wave-divider__svg,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave .td-wave-divider__svg,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--dark_wave .td-wave-divider__svg{
    height:var(--td-header-mobile-wave) !important;
    transform:scaleY(-1) !important;
    transform-origin:center center !important;
  }

  /* 2.7.95.34: dark-wave-vyns content-start reserveras nu av masthead/header-kontraktet. */

  body.td-shell-route-unified.td-header-owner-td_shell.td-mobile-topbar-none.td-header-variant-dark_wave .td-app-view-header[data-td-surface-component="dark_wave"],
  body.td-shell-route-unified.td-header-owner-td_shell.td-shell-chrome-none.td-header-variant-dark_wave .td-app-view-header[data-td-surface-component="dark_wave"],
  body.td-shell-route-unified.td-header-owner-td_shell.td-mobile-topbar-none.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave,
  body.td-shell-route-unified.td-header-owner-td_shell.td-shell-chrome-none.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave,
  body.td-shell-route-unified.td-header-owner-td_shell.td-mobile-topbar-none.td-header-variant-dark_wave .td-app-view-header--dark_wave,
  body.td-shell-route-unified.td-header-owner-td_shell.td-shell-chrome-none.td-header-variant-dark_wave .td-app-view-header--dark_wave{
    top:0 !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-notification-center,
  body.td-shell-route-unified.td-header-owner-td_shell .td-notification-center--portal{
    position:fixed !important;
    right:12px !important;
    left:auto !important;
    z-index:7500 !important;
    display:none !important;
    pointer-events:none !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-notification-center.is-open,
  body.td-shell-route-unified.td-header-owner-td_shell .td-notification-center--portal.is-open{
    display:block !important;
    pointer-events:auto !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-notification-center__card{
    width:320px !important;
    max-width:calc(100vw - 24px) !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-notification-center,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-notification-center--portal{
    top:calc(var(--td-unified-mobile-top-offset) + 8px) !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image .td-notification-center,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image .td-notification-center--portal{
    top:calc(var(--td-unified-mobile-top-offset) + 8px) !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-notification-center,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-notification-center--portal{
    top:calc(var(--td-unified-mobile-top-offset) + var(--td-header-mobile-wave) + 8px) !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-mobile-topbar-none.td-header-variant-dark_wave .td-notification-center,
  body.td-shell-route-unified.td-header-owner-td_shell.td-shell-chrome-none.td-header-variant-dark_wave .td-notification-center,
  body.td-shell-route-unified.td-header-owner-td_shell.td-mobile-topbar-none.td-header-variant-dark_wave .td-notification-center--portal,
  body.td-shell-route-unified.td-header-owner-td_shell.td-shell-chrome-none.td-header-variant-dark_wave .td-notification-center--portal{
    top:calc(var(--td-header-mobile-wave) + 8px) !important;
  }
}



@media (max-width:781.98px){
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-main__body,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-shell__content,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-shell-content{
    margin-top:0 !important;
    padding-top:0 !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-main__body,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell__content,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell-content,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell-content--courseware,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-content--view-exercises{
    margin-top:0 !important;
    padding-top:0 !important;
  }
}

@media (max-width:781.98px){
  body.td-shell-route-unified.td-device-mobile.td-mobile-topbar-none.td-shell-chrome-none.td-header-variant-hero_image .td-app-view-header--guest-shell,
  body.td-shell-route-unified.td-device-mobile.td-mobile-topbar-none.td-shell-chrome-none.td-header-variant-hero_image .td-shell__masthead--guest,
  body.td-shell-route-unified.td-device-mobile.td-mobile-topbar-none.td-shell-chrome-none.td-header-variant-hero_image .td-app-shell__masthead--guest{
    margin-top:0 !important;
    padding-top:0 !important;
    top:0 !important;
    min-height:190px !important;
    height:auto !important;
    background-position:var(--td-shell-header-position-x, 50%) var(--td-shell-header-position-y, 50%) !important;
    background-size:cover !important;
  }

  body.td-shell-route-unified.td-device-mobile.td-mobile-topbar-none.td-shell-chrome-none.td-header-variant-hero_image .td-app-view-header--guest-shell .td-app-view-header__inner,
  body.td-shell-route-unified.td-device-mobile.td-mobile-topbar-none.td-shell-chrome-none.td-header-variant-hero_image .td-app-view-header--surface-hero .td-app-view-header__inner{
    padding-top:18px !important;
    padding-bottom:calc(var(--td-header-mobile-wave) + 18px) !important;
  }

  body.td-shell-route-unified.td-device-mobile.td-mobile-topbar-none.td-shell-chrome-none.td-header-variant-dark_wave .td-app-view-header--guest-shell,
  body.td-shell-route-unified.td-device-mobile.td-mobile-topbar-none.td-shell-chrome-none.td-header-variant-dark_wave .td-shell__masthead--guest,
  body.td-shell-route-unified.td-device-mobile.td-mobile-topbar-none.td-shell-chrome-none.td-header-variant-dark_wave .td-app-shell__masthead--guest{
    top:0 !important;
    margin-top:0 !important;
    padding-top:0 !important;
  }
}

body.td-shell-route-unified,
html.td-shell-standalone.td-drawer-open,
body.td-shell-route-unified.td-drawer-open{
  overscroll-behavior:contain !important;
}

body.td-shell-route-unified.td-drawer-open{
  overflow:hidden !important;
}

body.td-shell-route-unified .td-drawer,
body.td-shell-route-unified .td-drawer--portal{
  position:fixed !important;
  inset:0 !important;
  z-index:7600 !important;
  visibility:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
  transition:opacity .2s ease, visibility 0s linear .2s !important;
}

body.td-shell-route-unified.td-drawer-open .td-drawer,
body.td-shell-route-unified.td-drawer-open .td-drawer--portal{
  visibility:visible !important;
  opacity:1 !important;
  pointer-events:auto !important;
  transition-delay:0s !important;
}

body.td-shell-route-unified .td-drawer__overlay{
  position:absolute !important;
  inset:0 !important;
  background:rgba(31, 24, 19, .28) !important;
  backdrop-filter:blur(2px) !important;
  -webkit-backdrop-filter:blur(2px) !important;
}

body.td-shell-route-unified .td-drawer__panel{
  position:absolute !important;
  top:0 !important;
  right:0 !important;
  bottom:0 !important;
  left:auto !important;
  z-index:7601 !important;
  display:flex !important;
  flex-direction:column !important;
  width:min(360px, 92vw) !important;
  max-width:100vw !important;
  height:100% !important;
  max-height:100vh !important;
  background:var(--td-header-warm-solid) !important;
  color:var(--td-header-text) !important;
  box-shadow:-24px 0 48px rgba(31, 24, 19, .18) !important;
  transform:translateX(100%) !important;
  transition:transform .22s ease !important;
  overflow:hidden !important;
}

body.td-shell-route-unified.td-drawer-open .td-drawer__panel{
  transform:translateX(0) !important;
}

body.td-shell-route-unified .td-drawer__header{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:10px !important;
  padding:12px 16px 10px !important;
  border-bottom:1px solid rgba(47, 34, 27, .10) !important;
  background:var(--td-header-warm-solid) !important;
}

body.td-shell-route-unified .td-drawer__title{
  font-size:1.6rem !important;
  line-height:.92 !important;
  font-family:"Rainier", serif !important;
  font-style:normal !important;
  font-weight:500 !important;
  text-transform:uppercase !important;
  color:var(--td-header-text) !important;
}

body.td-shell-route-unified .td-drawer__close{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:40px !important;
  min-width:40px !important;
  height:40px !important;
  min-height:40px !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:5px !important;
  background:transparent !important;
  background-image:none !important;
  color:var(--td-header-text) !important;
  font-size:1.9rem !important;
  line-height:1 !important;
  box-shadow:none !important;
}


body.td-shell-route-unified .td-drawer__close:hover,
body.td-shell-route-unified .td-drawer__close:focus-visible,
body.td-shell-route-unified .td-drawer__close[aria-expanded="true"]{
  background:transparent !important;
  background-image:none !important;
  color:var(--td-header-text) !important;
}

body.td-shell-route-unified .td-drawer__nav{
  display:flex !important;
  flex-direction:column !important;
  gap:1px !important;
  padding:8px 10px 12px !important;
  overflow:auto !important;
  -webkit-overflow-scrolling:touch !important;
}

body.td-shell-route-unified .td-drawer__link{
  display:flex !important;
  align-items:flex-start !important;
  justify-content:space-between !important;
  gap:12px !important;
  padding:10px 12px !important;
  border-radius:10px !important;
  color:var(--td-header-text) !important;
  text-decoration:none !important;
  background:transparent !important;
  line-height:1.2 !important;
}

body.td-shell-route-unified .td-drawer__linkText{
  display:flex !important;
  flex-direction:column !important;
  gap:2px !important;
  min-width:0 !important;
}

body.td-shell-route-unified .td-drawer__label{
  display:block !important;
  font-weight:400 !important;
  color:inherit !important;
}

body.td-shell-route-unified .td-drawer__sub{
  display:block !important;
  font-size:.88rem !important;
  color:rgba(47, 34, 27, .72) !important;
}

body.td-shell-route-unified .td-drawer__ext{
  flex:0 0 auto !important;
  color:rgba(47, 34, 27, .72) !important;
}

body.td-shell-route-unified .td-drawer__link--active,
body.td-shell-route-unified .td-drawer__link[aria-current="page"],
body.td-shell-route-unified .td-drawer__link:hover,
body.td-shell-route-unified .td-drawer__link:focus-visible{
  background:rgba(209, 106, 26, .10) !important;
  color:var(--td-header-text) !important;
}

body.td-shell-route-unified .td-drawer__sep{
  height:1px !important;
  margin:6px 12px !important;
  background:rgba(47, 34, 27, .10) !important;
}

@media (max-width:781.98px){
  body.td-shell-route-unified .td-drawer__panel{
    width:min(320px, 90vw) !important;
  }

  body.td-shell-route-unified.td-drawer-open .td-app-view-header[data-td-surface-component="hero"],
  body.td-shell-route-unified.td-drawer-open .td-app-view-header--surface-hero,
  body.td-shell-route-unified.td-drawer-open .td-app-view-header--hero,
  body.td-shell-route-unified.td-drawer-open .td-app-view-header[data-td-surface-component="dark_wave"],
  body.td-shell-route-unified.td-drawer-open .td-app-view-header--surface-dark_wave,
  body.td-shell-route-unified.td-drawer-open .td-app-view-header--dark_wave,
  body.td-shell-route-unified.td-drawer-open .td-wave-divider,
  body.td-shell-route-unified.td-drawer-open .td-wave-divider__svg{
    visibility:hidden !important;
    opacity:0 !important;
    pointer-events:none !important;
  }
}



/* 2.7.94.27 – unified mobil followup: dark-wave-gap, aviseringar, klickbar bottomnav */
@media (max-width:781.98px){
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-view-stack--exercises,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-view-stack--family-courseware,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-view-stack--quickpass,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-view-stack--settings,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-stack.td-view-stack--exercises,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-stack.td-view-stack--quickpass,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-stack.td-view-stack--settings,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-content--view-exercises .td-view-stack,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-content--view-exercises .td-view-stack--exercises,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-content--view-quickpass .td-view-stack,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-content--view-settings .td-view-stack{
    padding-top:0 !important;
    margin-top:0 !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-notification-center,
  body.td-shell-route-unified.td-header-owner-td_shell .td-notification-center--portal{
    z-index:7500 !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-notification-center__card{
    width:320px !important;
    max-width:calc(100vw - 24px) !important;
    background:#fffaf4 !important;
    background-image:none !important;
    border:1px solid rgba(47,34,27,.10) !important;
    border-radius:24px !important;
    box-shadow:0 20px 44px rgba(31,24,19,.18) !important;
    overflow:hidden !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-notification-center__header{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:10px !important;
    padding:12px 16px 10px !important;
    background:var(--td-header-warm-solid) !important;
    background-image:none !important;
    border-bottom:1px solid rgba(47,34,27,.10) !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-notification-center__header{
    background:linear-gradient(180deg, var(--td-header-dark-topbar-top) 0%, var(--td-header-dark-surface-top) 100%) !important;
    background-image:linear-gradient(180deg, var(--td-header-dark-topbar-top) 0%, var(--td-header-dark-surface-top) 100%) !important;
    color:var(--td-header-dark-text) !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-notification-center__title{
    margin:0 !important;
    font-family:"Rainier", serif !important;
    font-style:normal !important;
    font-weight:500 !important;
    text-transform:uppercase !important;
    letter-spacing:0 !important;
    font-size:1.6rem !important;
    line-height:.92 !important;
    color:inherit !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-notification-center__body{
    padding:18px !important;
    background:#fffaf4 !important;
    background-image:none !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-notification-center__empty,
  body.td-shell-route-unified.td-header-owner-td_shell .td-notification-center__item-title,
  body.td-shell-route-unified.td-header-owner-td_shell .td-notification-center__item-text,
  body.td-shell-route-unified.td-header-owner-td_shell .td-notification-center__link{
    color:var(--td-header-text) !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-notification-center__empty{
    margin:0 !important;
    font-size:1.1rem !important;
    line-height:1.55 !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-notification-center__close{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:40px !important;
    min-width:40px !important;
    height:40px !important;
    min-height:40px !important;
    padding:0 !important;
    border:0 !important;
    border-radius:5px !important;
    background:transparent !important;
    background-image:none !important;
    color:inherit !important;
    box-shadow:none !important;
    font-size:1.9rem !important;
    line-height:1 !important;
  }


  body.td-shell-route-unified.td-header-owner-td_shell .td-notification-center__close:hover,
  body.td-shell-route-unified.td-header-owner-td_shell .td-notification-center__close:focus-visible,
  body.td-shell-route-unified.td-header-owner-td_shell .td-notification-center__close[aria-expanded="true"]{
    background:transparent !important;
    background-image:none !important;
    color:inherit !important;
  }

  /* 2.7.95.26: route-unified bottomnav-interaktion/geometri ägs av td-mobile.css. */

  body.td-shell-route-unified.td-header-owner-td_shell .td-bottom-nav__item{
    position:relative !important;
    z-index:1 !important;
    pointer-events:auto !important;
    touch-action:manipulation !important;
    -webkit-tap-highlight-color:transparent !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-bottom-nav__icon,
  body.td-shell-route-unified.td-header-owner-td_shell .td-bottom-nav__label{
    pointer-events:none !important;
  }
}

@media (min-width:782px){
  body.td-shell-route-unified.td-device-desktop.td-header-owner-td_shell:not(.td-shell-chrome-none){
    --td-shell-desktop-fixed-offset:var(--td-header-desktop-topbar);
  }

  body.admin-bar.td-shell-route-unified.td-device-desktop.td-header-owner-td_shell:not(.td-shell-chrome-none){
    --td-shell-desktop-fixed-offset:calc(var(--td-header-desktop-topbar) + 32px);
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app{
    background:var(--td-header-warm-solid) !important;
    background-image:none !important;
    background-color:var(--td-header-warm-solid) !important;
    box-shadow:0 1px 0 rgba(47,34,27,.08), 0 8px 18px rgba(47,34,27,.06) !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell .td-topbar.td-topbar--desktop-app::before{
    content:"" !important;
    position:absolute !important;
    inset:0 !important;
    z-index:-1 !important;
    pointer-events:none !important;
    background:var(--td-header-warm-solid) !important;
    background-image:none !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image .td-topbar.td-topbar--desktop-app,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image .td-topbar.td-topbar--desktop-app::before{
    background:var(--td-header-warm-solid) !important;
    background-image:none !important;
    background-color:var(--td-header-warm-solid) !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-topbar.td-topbar--desktop-app,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-topbar.td-topbar--desktop-app::before{
    background:var(--td-header-warm-solid) !important;
    background-image:none !important;
    background-color:var(--td-header-warm-solid) !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app::before{
    background:linear-gradient(180deg, var(--td-header-dark-topbar-top) 0%, var(--td-header-dark-surface-top) 100%) !important;
    background-color:var(--td-header-dark-top) !important;
    background-image:linear-gradient(180deg, var(--td-header-dark-topbar-top) 0%, var(--td-header-dark-surface-top) 100%) !important;
    box-shadow:none !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-topbar.td-topbar--desktop-app::after{
    content:"" !important;
    position:absolute !important;
    left:0 !important;
    right:0 !important;
    bottom:-2px !important;
    height:3px !important;
    background:var(--td-header-dark-surface-top) !important;
    background-image:none !important;
    pointer-events:none !important;
    z-index:-1 !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-app-view-header,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-app-view-header__inner,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-app-view-header__title,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-app-view-header__subtitle,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-app-view-header__copy,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-app-view-header__body{
    display:none !important;
    height:0 !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    overflow:hidden !important;
  }

  body.td-shell-route-unified.td-device-desktop.td-header-owner-td_shell:not(.td-shell-chrome-none).td-header-variant-utility .td-main,
  body.td-shell-route-unified.td-device-desktop.td-header-owner-td_shell:not(.td-shell-chrome-none).td-header-variant-utility .td-page-frame__main{
    padding-top:calc(var(--td-shell-desktop-fixed-offset, var(--td-header-desktop-topbar)) + 12px) !important;
    margin-top:0 !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-main__body,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-shell__content,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-page-frame__content.td-main__body,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-view-stack,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-page-frame__stack{
    padding-top:0 !important;
    margin-top:0 !important;
  }

  body.td-shell-route-unified.td-device-desktop.td-header-owner-td_shell:not(.td-shell-chrome-none):not(.td-mobile-topbar-none).td-header-variant-hero_image .td-page-frame__header,
  body.td-shell-route-unified.td-device-desktop.td-header-owner-td_shell:not(.td-shell-chrome-none):not(.td-mobile-topbar-none).td-header-variant-hero_image .td-shell__masthead,
  body.td-shell-route-unified.td-device-desktop.td-header-owner-td_shell:not(.td-shell-chrome-none):not(.td-mobile-topbar-none).td-header-variant-hero_image .td-app-shell__masthead,
  body.td-shell-route-unified.td-device-desktop.td-header-owner-td_shell:not(.td-shell-chrome-none).td-header-variant-dark_wave .td-page-frame__header,
  body.td-shell-route-unified.td-device-desktop.td-header-owner-td_shell:not(.td-shell-chrome-none).td-header-variant-dark_wave .td-shell__masthead,
  body.td-shell-route-unified.td-device-desktop.td-header-owner-td_shell:not(.td-shell-chrome-none).td-header-variant-dark_wave .td-app-shell__masthead{
    padding-top:var(--td-shell-desktop-fixed-offset, var(--td-header-desktop-topbar)) !important;
    box-sizing:border-box !important;
  }

  body.td-shell-route-unified.td-device-desktop.td-header-owner-td_shell:not(.td-shell-chrome-none):not(.td-mobile-topbar-none).td-header-variant-hero_image .td-page-frame__header,
  body.td-shell-route-unified.td-device-desktop.td-header-owner-td_shell:not(.td-shell-chrome-none):not(.td-mobile-topbar-none).td-header-variant-hero_image .td-shell__masthead,
  body.td-shell-route-unified.td-device-desktop.td-header-owner-td_shell:not(.td-shell-chrome-none):not(.td-mobile-topbar-none).td-header-variant-hero_image .td-app-shell__masthead{
    min-height:calc(220px + var(--td-shell-desktop-fixed-offset, var(--td-header-desktop-topbar))) !important;
    height:auto !important;
  }

  body.td-shell-route-unified.td-device-desktop.td-header-owner-td_shell:not(.td-shell-chrome-none).td-header-variant-dark_wave .td-page-frame__header,
  body.td-shell-route-unified.td-device-desktop.td-header-owner-td_shell:not(.td-shell-chrome-none).td-header-variant-dark_wave .td-shell__masthead,
  body.td-shell-route-unified.td-device-desktop.td-header-owner-td_shell:not(.td-shell-chrome-none).td-header-variant-dark_wave .td-app-shell__masthead{
    min-height:calc(176px + var(--td-shell-desktop-fixed-offset, var(--td-header-desktop-topbar))) !important;
    height:auto !important;
  }

  body.td-shell-route-unified.td-device-desktop.td-header-owner-td_shell:not(.td-shell-chrome-none):not(.td-mobile-topbar-none).td-header-variant-hero_image .td-shell__header{
    padding-top:0 !important;
    min-height:220px !important;
    height:auto !important;
    box-sizing:border-box !important;
  }


  body.td-shell-route-unified.td-device-desktop.td-header-owner-td_shell.td-shell-chrome-none.td-header-variant-hero_image .td-app-view-header--guest-shell,
  body.td-shell-route-unified.td-device-desktop.td-header-owner-td_shell.td-shell-chrome-none.td-header-variant-hero_image .td-shell__masthead--guest,
  body.td-shell-route-unified.td-device-desktop.td-header-owner-td_shell.td-shell-chrome-none.td-header-variant-hero_image .td-app-shell__masthead--guest{
    position:relative !important;
    top:auto !important;
    display:block !important;
    min-height:320px !important;
    height:auto !important;
    margin-top:0 !important;
    padding-top:0 !important;
    background-position:var(--td-shell-header-position-x, 50%) var(--td-shell-header-position-y, 50%) !important;
    background-size:cover !important;
  }

  body.td-shell-route-unified.td-device-desktop.td-header-owner-td_shell.td-shell-chrome-none.td-header-variant-dark_wave .td-app-view-header--guest-shell,
  body.td-shell-route-unified.td-device-desktop.td-header-owner-td_shell.td-shell-chrome-none.td-header-variant-dark_wave .td-shell__masthead--guest,
  body.td-shell-route-unified.td-device-desktop.td-header-owner-td_shell.td-shell-chrome-none.td-header-variant-dark_wave .td-app-shell__masthead--guest{
    position:relative !important;
    top:auto !important;
    display:block !important;
    min-height:176px !important;
    height:auto !important;
    margin-top:0 !important;
    padding-top:0 !important;
  }

  body.td-shell-route-unified.td-device-desktop.td-header-owner-td_shell:not(.td-shell-chrome-none).td-header-variant-dark_wave .td-shell__header{
    padding-top:0 !important;
    min-height:176px !important;
    height:auto !important;
    box-sizing:border-box !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header[data-td-surface-component="dark_wave"],
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--dark_wave,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell__masthead--surface-dark_wave,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell__masthead--dark_wave{
    min-height:176px !important;
    height:176px !important;
    margin-top:0 !important;
    background-image:linear-gradient(180deg, var(--td-header-dark-surface-top) 0%, var(--td-header-dark-surface-bottom) 88%) !important;
  }

  body.td-shell-route-unified.td-device-desktop.td-header-owner-td_shell:not(.td-shell-chrome-none):not(.td-mobile-topbar-none).td-header-variant-hero_image .td-app-view-header--hero .td-app-view-header__inner,
  body.td-shell-route-unified.td-device-desktop.td-header-owner-td_shell:not(.td-shell-chrome-none):not(.td-mobile-topbar-none).td-header-variant-hero_image .td-app-view-header--surface-hero .td-app-view-header__inner{
    padding-top:38px !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header__inner{
    min-height:176px !important;
    height:176px !important;
    padding-top:96px !important;
    padding-bottom:18px !important;
  }
}

/* 2.7.95.21 – route-unified mobil header cleanup: offset bara en gång på main-nivå */
@media (max-width:781.98px){
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-main__body,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-shell__content,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-shell-content,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-view-stack,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-stack,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-page-frame__stack,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-page-frame__content.td-main__body,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-utility .td-content,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-main__body,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell__content,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell-content,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-view-stack,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-stack,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-page-frame__stack,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-page-frame__content.td-main__body,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-content{
    padding-top:0 !important;
    margin-top:0 !important;
  }
}

@media (min-width:782px){
  body.td-shell-route-unified.td-device-desktop.td-pagetype-td_share_template.td-header-owner-td_shell.td-shell-chrome-none.td-header-variant-hero_image .td-main,
  body.td-shell-route-unified.td-device-desktop.td-pagetype-td_share_template.td-header-owner-td_shell.td-shell-chrome-none.td-header-variant-hero_image .td-page-frame__main{
    padding-top:24px !important;
    margin-top:0 !important;
  }
}


/* 2.7.95.39 – desktop hero headers följer samma dekorativa Rainier-kontrakt som mobil/courseware. */
@media (min-width:782px){
  body.td-shell-route-unified.td-device-desktop.td-header-owner-td_shell .td-app-view-header__title,
  body.td-shell-route-unified.td-device-desktop.td-header-owner-td_shell .td-app-view-header__copy h1,
  body.td-shell-route-unified.td-device-desktop.td-header-owner-td_shell .td-app-view-header__copy .td-app-view-header__title{
    font-family:"Rainier", serif !important;
    font-style:normal !important;
    font-weight:500 !important;
    text-transform:uppercase !important;
    letter-spacing:0 !important;
    line-height:.94 !important;
    font-variant-ligatures:common-ligatures discretionary-ligatures contextual !important;
    font-feature-settings:"liga" 1, "clig" 1, "calt" 1, "dlig" 1, "salt" 1, "swsh" 1, "ss01" 1, "ss02" 1 !important;
  }

  body.td-shell-route-unified.td-device-desktop.td-header-owner-td_shell .td-app-view-header__title{
    font-size:clamp(3.5rem, 4.8vw, 5rem) !important;
  }
}


/* 2.7.96.25 / 2110 – unified header owner repair
   Säkrar wave-geometri för route-unified dark wave på mobil och hero på desktop utan view-specifika nödlösningar. */
@media (max-width:781.98px){
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell__masthead,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-shell__masthead,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-page-frame__masthead{
    min-height:calc(var(--td-header-mobile-topbar) + var(--td-header-mobile-wave)) !important;
    height:calc(var(--td-header-mobile-topbar) + var(--td-header-mobile-wave)) !important;
    overflow:visible !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header[data-td-surface-component="dark_wave"],
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--dark_wave{
    overflow:visible !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-wave-divider,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-wave-divider__svg{
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-wave-divider{
    bottom:-1px !important;
    z-index:2 !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-wave-divider__svg{
    height:var(--td-header-mobile-wave) !important;
    transform:scaleY(-1) !important;
    transform-origin:center center !important;
  }
}

@media (min-width:782px){
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header[data-td-surface-component="hero"],
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--surface-hero,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image .td-app-view-header--hero{
    overflow:visible !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image .td-wave-divider,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image .td-wave-divider__svg{
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image .td-wave-divider{
    bottom:-1px !important;
    z-index:3 !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image .td-wave-divider__svg{
    height:var(--td-header-desktop-wave) !important;
    transform:scaleY(-1) !important;
    transform-origin:center center !important;
  }
}

/* 2.7.96.29 / 2110 – hero edit wave: samma våg, säkrare visuell integration utan fallback-wave */
@media (min-width:782px){
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image.td-view-edit .td-app-view-header,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image.td-view-edit .td-app-view-header--surface-hero,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image.td-view-edit .td-shell__masthead,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image.td-view-edit .td-shell__masthead--surface-hero{
    overflow:visible !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image.td-view-edit .td-wave-divider{
    z-index:4 !important;
    bottom:-1px !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image.td-view-edit .td-shell__content,
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image.td-view-edit .td-main__body{
    margin-top:0 !important;
    padding-top:0 !important;
  }
}


/* 2.7.96.32 / 2110 – vågen ska faktiskt synas i både dark wave och hero */
body.td-header-owner-td_shell .td-wave-divider,
body.td-header-owner-td_shell .td-wave-divider__svg{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
}

body.td-header-owner-td_shell .td-wave-divider__fill,
body.td-header-owner-td_shell .td-wave-divider svg path{
  fill:var(--td-page-bg-app, #f6f1eb) !important;
}


/* 2.7.96.33 / 2110 – gör vågkanten tydligare utan ny variant */
body.td-header-owner-td_shell .td-wave-divider{
  overflow:visible !important;
}

body.td-header-owner-td_shell .td-wave-divider__svg{
  overflow:visible !important;
  filter:drop-shadow(0 -1px 0 rgba(0,0,0,0.10)) !important;
}

body.td-header-owner-td_shell .td-wave-divider__fill,
body.td-header-owner-td_shell .td-wave-divider svg path{
  fill:var(--td-page-bg-app, #f6f1eb) !important;
}


/* 2.7.96.35 / 2110 – central dark-wave surface ska faktiskt ha bakgrund i route-unified */
body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell__masthead,
body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-shell__masthead,
body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-page-frame__masthead,
body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-shell__masthead--surface-dark_wave,
body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-app-view-header--surface-dark_wave{
  background:none !important;
  background-image:linear-gradient(180deg, var(--td-header-dark-surface-top) 0%, var(--td-header-dark-surface-bottom) 100%) !important;
}


/* 2.7.96.41 / 2110 – mobil hero-våg: samma höjd på divider och svg så bild inte syns under vågen */
@media (max-width:781.98px){
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image .td-wave-divider{
    height:var(--td-header-mobile-wave, 32px) !important;
    bottom:0 !important;
    z-index:3 !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-hero_image .td-wave-divider__svg{
    height:var(--td-header-mobile-wave, 32px) !important;
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
  }
}


/* 2.7.96.42 / 2110 – desktop dark-wave: samma höjd på divider och svg så ingen brun linje syns under vågen */
@media (min-width:782px){
  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-wave-divider{
    height:var(--td-header-desktop-wave, 30px) !important;
    bottom:0 !important;
    z-index:3 !important;
  }

  body.td-shell-route-unified.td-header-owner-td_shell.td-header-variant-dark_wave .td-wave-divider__svg{
    height:var(--td-header-desktop-wave, 30px) !important;
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
  }
}
